6 lines
204 KiB
JavaScript
6 lines
204 KiB
JavaScript
import{a as W,b as J}from"./chunk-DAQOROHW.js";function T(e){return typeof e=="function"}function ku(e){return e&&T(e.schedule)}function Fu(e){return e[e.length-1]}function zr(e){return T(Fu(e))?e.pop():void 0}function at(e){return ku(Fu(e))?e.pop():void 0}function Lu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Pu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function bt(e){return this instanceof bt?(this.v=e,this):new bt(e)}function ju(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(y,g){i.push([f,v,y,g])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(v){p(i[0][3],v)}}function u(f){f.value instanceof bt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Bu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Pu=="function"?Pu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wr(e){return T(e?.then)}function nn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var qr=nn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Fn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var re=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){t=i instanceof qr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vu(i)}catch(s){t=t??[],s instanceof qr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new qr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Fn(n,t)}remove(t){let{_finalizers:n}=this;n&&Fn(n,t),t instanceof e&&t._removeParent(this)}};re.EMPTY=(()=>{let e=new re;return e.closed=!0,e})();var rs=re.EMPTY;function Zr(e){return e instanceof re||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Vu(e){T(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rn={setTimeout(e,t,...n){let{delegate:r}=rn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=rn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yr(e){rn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function Pn(){}var Hu=os("C",void 0,void 0);function $u(e){return os("E",void 0,e)}function Uu(e){return os("N",e,void 0)}function os(e,t,n){return{kind:e,value:t,error:n}}var Tt=null;function on(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!Tt;if(t&&(Tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Tt;if(Tt=null,n)throw r}}else e()}function zu(e){Ce.useDeprecatedSynchronousErrorHandling&&Tt&&(Tt.errorThrown=!0,Tt.error=e)}var _t=class extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zr(t)&&t.add(this)):this.destination=_g}static create(t,n,r){return new We(t,n,r)}next(t){this.isStopped?ss(Uu(t),this):this._next(t)}error(t){this.isStopped?ss($u(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ss(Hu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},bg=Function.prototype.bind;function is(e,t){return bg.call(e,t)}var as=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Qr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Qr(r)}else Qr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Qr(n)}}},We=class extends _t{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&is(t.next,i),error:t.error&&is(t.error,i),complete:t.complete&&is(t.complete,i)}):o=t}this.destination=new as(o)}};function Qr(e){Ce.useDeprecatedSynchronousErrorHandling?zu(e):Yr(e)}function Tg(e){throw e}function ss(e,t){let{onStoppedNotification:n}=Ce;n&&rn.setTimeout(()=>n(e,t))}var _g={closed:!0,next:Pn,error:Tg,complete:Pn};var sn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Mg(...e){return cs(e)}function cs(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Ng(n)?n:new We(n,r,o);return on(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Gu(r),new r((o,i)=>{let s=new We({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[sn](){return this}pipe(...n){return cs(n)(this)}toPromise(n){return n=Gu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Gu(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function Sg(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Ng(e){return e&&e instanceof _t||Sg(e)&&Zr(e)}function Kr(e){return T(e[sn])}function Jr(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Xr(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 Ag(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var eo=Ag();function to(e){return T(e?.[eo])}function no(e){return ju(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield bt(n.read());if(o)return yield bt(void 0);yield yield bt(r)}}finally{n.releaseLock()}})}function ro(e){return T(e?.getReader)}function B(e){if(e instanceof S)return e;if(e!=null){if(Kr(e))return xg(e);if(Gr(e))return Rg(e);if(Wr(e))return Og(e);if(Jr(e))return Wu(e);if(to(e))return kg(e);if(ro(e))return Fg(e)}throw Xr(e)}function xg(e){return new S(t=>{let n=e[sn]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Rg(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Og(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yr)})}function kg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Wu(e){return new S(t=>{Pg(e,t).catch(n=>t.error(n))})}function Fg(e){return Wu(no(e))}function Pg(e,t){var n,r,o,i;return Lu(this,void 0,void 0,function*(){try{for(n=Bu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function de(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Lg(e){return T(e?.lift)}function A(e){return t=>{if(Lg(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(e,t,n,r,o){return new us(e,t,n,r,o)}var us=class extends _t{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function oo(e,t=0){return A((n,r)=>{n.subscribe(x(r,o=>de(r,e,()=>r.next(o),t),()=>de(r,e,()=>r.complete(),t),o=>de(r,e,()=>r.error(o),t)))})}function io(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function qu(e,t){return B(e).pipe(io(t),oo(t))}function Zu(e,t){return B(e).pipe(io(t),oo(t))}function Yu(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Qu(e,t){return new S(n=>{let r;return de(n,t,()=>{r=e[eo](),de(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function so(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{de(n,t,()=>{let r=e[Symbol.asyncIterator]();de(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ku(e,t){return so(no(e),t)}function Ju(e,t){if(e!=null){if(Kr(e))return qu(e,t);if(Gr(e))return Yu(e,t);if(Wr(e))return Zu(e,t);if(Jr(e))return so(e,t);if(to(e))return Qu(e,t);if(ro(e))return Ku(e,t)}throw Xr(e)}function ct(e,t){return t?Ju(e,t):B(e)}function ao(...e){let t=at(e);return ct(e,t)}function pe(e,t){return A((n,r)=>{let o=0;n.subscribe(x(r,i=>{r.next(e.call(t,i,o++))}))})}function ls(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(x(n,void 0,void 0,s=>{i=B(e(s,ls(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function co(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(x(r,c=>{o?.unsubscribe();let u=0,l=i++;B(e(c,l)).subscribe(o=x(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Xu(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(x(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}var el=nn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var oe=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new uo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new el}next(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?rs:(this.currentObservers=null,i.push(n),new re(()=>{this.currentObservers=null,Fn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new uo(t,n),e})(),uo=class extends oe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:rs}};var Ln=class extends oe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ds={now(){return(ds.delegate||Date).now()},delegate:void 0};var lo=class extends oe{constructor(t=1/0,n=1/0,r=ds){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var jn=new S(e=>e.complete());function jg(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Bg(e){return!!e&&(e instanceof S||T(e.lift)&&T(e.subscribe))}var Bn=nn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:Vg}=Array;function Hg(e,t){return Vg(t)?e(...t):e(t)}function fo(e){return pe(t=>Hg(e,t))}var{isArray:$g}=Array,{getPrototypeOf:Ug,prototype:zg,keys:Gg}=Object;function po(e){if(e.length===1){let t=e[0];if($g(t))return{args:t,keys:null};if(Wg(t)){let n=Gg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Wg(e){return e&&typeof e=="object"&&Ug(e)===zg}function ho(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function qg(...e){let t=at(e),n=zr(e),{args:r,keys:o}=po(e);if(r.length===0)return ct([],t);let i=new S(Zg(r,t,o?s=>ho(o,s):we));return n?i.pipe(fo(n)):i}function Zg(e,t,n=we){return r=>{tl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)tl(t,()=>{let u=ct(e[c],t),l=!1;u.subscribe(x(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function tl(e,t,n){e?de(n,e,t):t()}function nl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=v=>u<r?h(v):c.push(v),h=v=>{i&&t.next(v),u++;let y=!1;B(n(v,l++)).subscribe(x(t,g=>{o?.(g),i?f(g):t.next(g)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let g=c.shift();s?de(t,s,()=>h(g)):h(g)}p()}catch(g){t.error(g)}}))};return e.subscribe(x(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Mt(e,t,n=1/0){return T(t)?Mt((r,o)=>pe((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>nl(r,o,e,n)))}function fs(e=1/0){return Mt(we,e)}function rl(){return fs(1)}function go(...e){return rl()(ct(e,at(e)))}function Yg(e){return new S(t=>{B(e()).subscribe(t)})}function Qg(...e){let t=zr(e),{args:n,keys:r}=po(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;B(n[l]).subscribe(x(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ho(r,a):a),i.complete())}))}});return t?o.pipe(fo(t)):o}function Vn(e,t){return A((n,r)=>{let o=0;n.subscribe(x(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ps(e,t){return T(t)?Mt(e,t,1):Mt(e,1)}function ol(e){return A((t,n)=>{let r=!1;t.subscribe(x(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function hs(e){return e<=0?()=>jn:A((t,n)=>{let r=0;t.subscribe(x(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function il(e=Kg){return A((t,n)=>{let r=!1;t.subscribe(x(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Kg(){return new Bn}function gs(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Jg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):we,hs(1),n?ol(t):il(()=>new Bn))}function Xg(e){return e<=0?()=>jn:A((t,n)=>{let r=[];t.subscribe(x(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function sl(e={}){let{connector:t=()=>new oe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return A((v,y)=>{u++,!d&&!l&&p();let g=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=ms(h,o))}),g.subscribe(y),!s&&u>0&&(s=new We({next:U=>g.next(U),error:U=>{d=!0,p(),a=ms(f,n,U),g.error(U)},complete:()=>{l=!0,p(),a=ms(f,r),g.complete()}}),B(v).subscribe(s))})(i)}}function ms(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new We({next:()=>{r.unsubscribe(),e()}});return B(t(...n)).subscribe(r)}function em(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,sl({connector:()=>new lo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function tm(...e){let t=at(e);return A((n,r)=>{(t?go(e,n,t):go(e,n)).subscribe(r)})}function nm(e){return A((t,n)=>{B(e).subscribe(x(n,()=>n.complete(),Pn)),!n.closed&&t.subscribe(n)})}var te=null,mo=!1,Es=1,rm=null,ie=Symbol("SIGNAL");function C(e){let t=te;return te=e,t}function vo(){return te}var an={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 Hn(e){if(mo)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let t=te.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=te.recomputing;if(r&&(n=t!==void 0?t.nextProducer:te.producers,n!==void 0&&n.producer===e)){te.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===te&&(!r||im(o,te)))return;let i=un(te),s={producer:e,consumer:te,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};te.producersTail=s,t!==void 0?t.nextProducer=s:te.producers=s,i&&ll(e,s)}function al(){Es++}function Is(e){if(!(un(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Es)){if(!e.producerMustRecompute(e)&&!Un(e)){Ds(e);return}e.producerRecomputeValue(e),Ds(e)}}function Cs(e){if(e.consumers===void 0)return;let t=mo;mo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||om(r)}}finally{mo=t}}function ws(){return te?.consumerAllowSignalWrites!==!1}function om(e){e.dirty=!0,Cs(e),e.consumerMarkedDirty?.(e)}function Ds(e){e.dirty=!1,e.lastCleanEpoch=Es}function cn(e){return e&&cl(e),C(e)}function cl(e){e.producersTail=void 0,e.recomputing=!0}function $n(e,t){C(t),e&&ul(e)}function ul(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(un(e))do n=bs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Un(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Is(n),r!==n.version))return!0}return!1}function St(e){if(un(e)){let t=e.producers;for(;t!==void 0;)t=bs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ll(e,t){let n=e.consumersTail,r=un(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ll(o.producer,o)}function bs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!un(t)){let i=t.producers;for(;i!==void 0;)i=bs(i)}return n}function un(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ts(e){rm?.(e)}function im(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function _s(e,t){return Object.is(e,t)}function Do(e,t){let n=Object.create(sm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Is(n),Hn(n),n.value===yo)throw n.error;return n.value};return r[ie]=n,Ts(n),r}var ys=Symbol("UNSET"),vs=Symbol("COMPUTING"),yo=Symbol("ERRORED"),sm=J(W({},an),{value:ys,dirty:!0,error:null,equal:_s,kind:"computed",producerMustRecompute(e){return e.value===ys||e.value===vs},producerRecomputeValue(e){if(e.value===vs)throw new Error("");let t=e.value;e.value=vs;let n=cn(e),r,o=!1;try{r=e.computation(),C(null),o=t!==ys&&t!==yo&&r!==yo&&e.equal(t,r)}catch(i){r=yo,e.error=i}finally{$n(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function am(){throw new Error}var dl=am;function fl(e){dl(e)}function Ms(e){dl=e}var cm=null;function Ss(e,t){let n=Object.create(Eo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pl(n);return r[ie]=n,Ts(n),[r,s=>zn(n,s),s=>hl(n,s)]}function pl(e){return Hn(e),e.value}function zn(e,t){ws()||fl(e),e.equal(e.value,t)||(e.value=t,um(e))}function hl(e,t){ws()||fl(e),zn(e,t(e.value))}var Eo=J(W({},an),{equal:_s,value:void 0,kind:"signal"});function um(e){e.version++,al(),Cs(e),cm?.(e)}function Ns(e){let t=C(null);try{return e()}finally{C(t)}}var As=J(W({},an),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xs(e){if(e.dirty=!1,e.version>0&&!Un(e))return;e.version++;let t=cn(e);try{e.cleanup(),e.fn()}finally{$n(e,t)}}var Rs;function Io(){return Rs}function Pe(e){let t=Rs;return Rs=e,t}var gl=Symbol("NotFound");function ln(e){return e===gl||e?.name==="\u0275NotFound"}var So="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(kt(t,n)),this.code=t}};function lm(e){return`NG0${Math.abs(e)}`}function kt(e,t){return`${lm(e)}${t?": "+t:""}`}var je=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function El(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ye(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ye).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
`);return r>=0?n.slice(0,r):n}function No(e,t){return e?t?`${e} ${t}`:e:t||""}var dm=R({__forward_ref__:R});function Ao(e){return e.__forward_ref__=Ao,e.toString=function(){return Ye(this())},e}function Z(e){return Gs(e)?e():e}function Gs(e){return typeof e=="function"&&e.hasOwnProperty(dm)&&e.__forward_ref__===Ao}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Jn(e){return pm(e,xo)}function fm(e){return Jn(e)!==null}function pm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function hm(e){let t=e?.[xo]??null;return t||null}function ks(e){return e&&e.hasOwnProperty(wo)?e[wo]:null}var xo=R({\u0275prov:R}),wo=R({\u0275inj:R}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ws(e){return e&&!!e.\u0275providers}var qs=R({\u0275cmp:R}),Zs=R({\u0275dir:R}),Ys=R({\u0275pipe:R}),Qs=R({\u0275mod:R}),Wn=R({\u0275fac:R}),Ft=R({__NG_ELEMENT_ID__:R}),ml=R({__NG_ENV_ID__:R});function Ks(e){return Oo(e,"@NgModule"),e[Qs]||null}function Ke(e){return Oo(e,"@Component"),e[qs]||null}function Ro(e){return Oo(e,"@Directive"),e[Zs]||null}function Il(e){return Oo(e,"@Pipe"),e[Ys]||null}function Oo(e,t){if(e==null)throw new D(-919,!1)}function Te(e){return typeof e=="string"?e:e==null?"":String(e)}function Cl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Te(e)}var wl=R({ngErrorCode:R}),gm=R({ngErrorMessage:R}),mm=R({ngTokenPath:R});function Js(e,t){return bl("",-200,t)}function ko(e,t){throw new D(-201,!1)}function bl(e,t,n){let r=new D(t,e);return r[wl]=t,r[gm]=e,n&&(r[mm]=n),r}function ym(e){return e[wl]}var Fs;function Tl(){return Fs}function se(e){let t=Fs;return Fs=e,t}function Xs(e,t,n){let r=Jn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;ko(e,"")}var vm={},Nt=vm,Dm="__NG_DI_FLAG__",Ps=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=At(n)||0;try{return this.injector.get(t,r&8?null:Nt,r)}catch(o){if(ln(o))return o;throw o}}};function Em(e,t=0){let n=Io();if(n===void 0)throw new D(-203,!1);if(n===null)return Xs(e,void 0,t);{let r=Im(t),o=n.retrieve(e,r);if(ln(o)){if(r.optional)return null;throw o}return o}}function F(e,t=0){return(Tl()||Em)(Z(e),t)}function m(e,t){return F(e,At(t))}function At(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Im(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ls(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Cm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(F(o,i))}else t.push(F(r))}return t}function Cm(e){return e[Dm]}function ut(e,t){let n=e.hasOwnProperty(Wn);return n?e[Wn]:null}function _l(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Ml(e){return e.flat(Number.POSITIVE_INFINITY)}function Fo(e,t){e.forEach(n=>Array.isArray(n)?Fo(n,t):t(n))}function ea(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Nl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function er(e,t,n){let r=fn(e,t);return r>=0?e[r|1]=n:(r=~r,Nl(e,r,t,n)),r}function Po(e,t){let n=fn(e,t);if(n>=0)return e[n|1]}function fn(e,t){return wm(e,t,1)}function wm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var _e={},ae=[],pn=new b(""),ta=new b("",-1),na=new b(""),qn=class{get(t,n=Nt){if(n===Nt){let o=bl("",-201);throw o.name="\u0275NotFound",o}return n}};function Pt(e){return{\u0275providers:e}}function Al(e){return Pt([{provide:pn,multi:!0,useValue:e}])}function xl(...e){return{\u0275providers:ra(!0,e),\u0275fromNgModule:!0}}function ra(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Fo(t,s=>{let a=s;bo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Rl(o,i),n}function Rl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];oa(o,i=>{t(i,r)})}}function bo(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=ks(e),s=!i&&Ke(e);if(!i&&!s){let c=e.ngModule;if(i=ks(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 u of c)bo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Fo(i.imports,l=>{bo(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Rl(u,t)}if(!a){let u=ut(o)||(()=>new o);t({provide:o,useFactory:u,deps:ae},o),t({provide:na,useValue:o,multi:!0},o),t({provide:pn,useValue:()=>F(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;oa(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function oa(e,t){for(let n of e)Ws(n)&&(n=n.\u0275providers),Array.isArray(n)?oa(n,t):t(n)}var bm=R({provide:String,useValue:R});function Ol(e){return e!==null&&typeof e=="object"&&bm in e}function Tm(e){return!!(e&&e.useExisting)}function _m(e){return!!(e&&e.useFactory)}function xt(e){return typeof e=="function"}function kl(e){return!!e.useClass}var ia=new b(""),Co={},yl={},Os;function tr(){return Os===void 0&&(Os=new qn),Os}var ce=class{},Rt=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Bs(t,s=>this.processProvider(s)),this.records.set(ta,dn(void 0,this)),o.has("environment")&&this.records.set(ce,dn(void 0,this));let i=this.records.get(ia);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(na,ae,{self:!0}))}retrieve(t,n){let r=At(n)||0;try{return this.get(t,Nt,r)}catch(o){if(ln(o))return o;throw o}}destroy(){Gn(this),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return Gn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Gn(this);let n=Pe(this),r=se(void 0),o;try{return t()}finally{Pe(n),se(r)}}get(t,n=Nt,r){if(Gn(this),t.hasOwnProperty(ml))return t[ml](this);let o=At(r),i,s=Pe(this),a=se(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=xm(t)&&Jn(t);l&&this.injectableDefInScope(l)?u=dn(js(t),Co):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?tr():this.parent;return n=o&8&&n===Nt?null:n,c.get(t,n)}catch(c){let u=ym(c);throw u===-200||u===-201?new D(u,null):c}finally{se(a),Pe(s)}}resolveInjectorInitializers(){let t=C(null),n=Pe(this),r=se(void 0),o;try{let i=this.get(pn,ae,{self:!0});for(let s of i)s()}finally{Pe(n),se(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Ye(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Z(t);let n=xt(t)?t:Z(t&&t.provide),r=Sm(t);if(!xt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=dn(void 0,Co,!0),o.factory=()=>Ls(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{if(n.value===yl)throw Js(Ye(t));return n.value===Co&&(n.value=yl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Am(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function js(e){let t=Jn(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof b)throw new D(204,!1);if(e instanceof Function)return Mm(e);throw new D(204,!1)}function Mm(e){if(e.length>0)throw new D(204,!1);let n=hm(e);return n!==null?()=>n.factory(e):()=>new e}function Sm(e){if(Ol(e))return dn(void 0,e.useValue);{let t=sa(e);return dn(t,Co)}}function sa(e,t,n){let r;if(xt(e)){let o=Z(e);return ut(o)||js(o)}else if(Ol(e))r=()=>Z(e.useValue);else if(_m(e))r=()=>e.useFactory(...Ls(e.deps||[]));else if(Tm(e))r=(o,i)=>F(Z(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Z(e&&(e.useClass||e.provide));if(Nm(e))r=()=>new o(...Ls(e.deps));else return ut(o)||js(o)}return r}function Gn(e){if(e.destroyed)throw new D(205,!1)}function dn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nm(e){return!!e.deps}function Am(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function xm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Bs(e,t){for(let n of e)Array.isArray(n)?Bs(n,t):n&&Ws(n)?Bs(n.\u0275providers,t):t(n)}function hn(e,t){let n;e instanceof Rt?(Gn(e),n=e):n=new Ps(e);let r,o=Pe(n),i=se(void 0);try{return t()}finally{Pe(o),se(i)}}function Fl(){return Tl()!==void 0||Io()!=null}var Me=0,I=1,w=2,Y=3,ye=4,ue=5,Lt=6,gn=7,z=8,Je=9,Be=10,P=11,mn=12,aa=13,jt=14,le=15,ft=16,Bt=17,Ve=18,Xe=19,ca=20,Ze=21,Lo=22,lt=23,he=24,Vt=25,Ht=26,L=27,Pl=1,ua=6,pt=7,nr=8,$t=9,$=10;function He(e){return Array.isArray(e)&&typeof e[Pl]=="object"}function Se(e){return Array.isArray(e)&&e[Pl]===!0}function la(e){return(e.flags&4)!==0}function ht(e){return e.componentOffset>-1}function yn(e){return(e.flags&1)===1}function Ne(e){return!!e.template}function vn(e){return(e[w]&512)!==0}function Ut(e){return(e[w]&256)===256}var da="svg",Ll="math";function ve(e){for(;Array.isArray(e);)e=e[Me];return e}function fa(e,t){return ve(t[e])}function Ae(e,t){return ve(t[e.index])}function rr(e,t){return e.data[t]}function Dn(e,t){return e[t]}function pa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function De(e,t){let n=t[e];return He(n)?n:n[Me]}function jl(e){return(e[w]&4)===4}function jo(e){return(e[w]&128)===128}function Bl(e){return Se(e[Y])}function $e(e,t){return t==null?null:e[t]}function ha(e){e[Bt]=0}function ga(e){e[w]&1024||(e[w]|=1024,jo(e)&&zt(e))}function Vl(e,t){for(;e>0;)t=t[jt],e--;return t}function or(e){return!!(e[w]&9216||e[he]?.dirty)}function Bo(e){e[Be].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),or(e)&&zt(e)}function zt(e){e[Be].changeDetectionScheduler?.notify(0);let t=dt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!jo(t)));)t=dt(t)}function ma(e,t){if(Ut(e))throw new D(911,!1);e[Ze]===null&&(e[Ze]=[]),e[Ze].push(t)}function Hl(e,t){if(e[Ze]===null)return;let n=e[Ze].indexOf(t);n!==-1&&e[Ze].splice(n,1)}function dt(e){let t=e[Y];return Se(t)?t[Y]:t}function ya(e){return e[gn]??=[]}function va(e){return e.cleanup??=[]}function $l(e,t,n,r){let o=ya(t);o.push(n),e.firstCreatePass&&va(e).push(r,o.length-1)}var _={lFrame:od(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Vs=!1;function Ul(){return _.lFrame.elementDepthCount}function zl(){_.lFrame.elementDepthCount++}function Gl(){_.lFrame.elementDepthCount--}function Vo(){return _.bindingsEnabled}function Da(){return _.skipHydrationRootTNode!==null}function Wl(e){return _.skipHydrationRootTNode===e}function ql(){_.skipHydrationRootTNode=null}function E(){return _.lFrame.lView}function V(){return _.lFrame.tView}function Zl(e){return _.lFrame.contextLView=e,e[z]}function Yl(e){return _.lFrame.contextLView=null,e}function X(){let e=Ea();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ea(){return _.lFrame.currentTNode}function Ql(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function En(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Ia(){return _.lFrame.isParent}function Ca(){_.lFrame.isParent=!1}function Kl(){return _.lFrame.contextLView}function wa(){return Vs}function Zn(e){let t=Vs;return Vs=e,t}function Ue(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ba(){return _.lFrame.bindingIndex}function Jl(e){return _.lFrame.bindingIndex=e}function Gt(){return _.lFrame.bindingIndex++}function ir(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xl(){return _.lFrame.inI18n}function ed(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ho(t)}function td(){return _.lFrame.currentDirectiveIndex}function Ho(e){_.lFrame.currentDirectiveIndex=e}function nd(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ta(){return _.lFrame.currentQueryIndex}function $o(e){_.lFrame.currentQueryIndex=e}function Rm(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ue]:null}function _a(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Rm(i),o===null||(i=i[jt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=rd();return r.currentTNode=t,r.lView=e,!0}function Uo(e){let t=rd(),n=e[I];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rd(){let e=_.lFrame,t=e===null?null:e.child;return t===null?od(e):t}function od(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function id(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ma=id;function zo(){let e=id();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 sd(e){return(_.lFrame.contextLView=Vl(e,_.lFrame.contextLView))[z]}function xe(){return _.lFrame.selectedIndex}function gt(e){_.lFrame.selectedIndex=e}function Go(){let e=_.lFrame;return rr(e.tView,e.selectedIndex)}function ad(){_.lFrame.currentNamespace=da}function cd(){Om()}function Om(){_.lFrame.currentNamespace=null}function ud(){return _.lFrame.currentNamespace}var ld=!0;function Wo(){return ld}function sr(e){ld=e}function Hs(e,t=null,n=null,r){let o=Sa(e,t,n,r);return o.resolveInjectorInitializers(),o}function Sa(e,t=null,n=null,r,o=new Set){let i=[n||ae,xl(e)];return r=r||(typeof e=="object"?void 0:Ye(e)),new Rt(i,t||tr(),r||null,o)}var Le=class e{static THROW_IF_NOT_FOUND=Nt;static NULL=new qn;static create(t,n){if(Array.isArray(t))return Hs({name:""},n,t,"");{let r=t.name??"";return Hs({name:r},t.parent,t.providers,r)}}static \u0275prov=M({token:e,providedIn:"any",factory:()=>F(ta)});static __NG_ELEMENT_ID__=-1},ge=new b(""),et=(()=>{class e{static __NG_ELEMENT_ID__=km;static __NG_ENV_ID__=n=>n}return e})(),To=class extends et{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ut(this._lView)}onDestroy(t){let n=this._lView;return ma(n,t),()=>Hl(n,t)}};function km(){return new To(E())}var dd=!1,fd=new b(""),Wt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ln(!1);debugTaskTracker=m(fd,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),$s=class extends oe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Fl()&&(this.destroyRef=m(et,{optional:!0})??void 0,this.pendingTasks=m(Wt,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof re&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},qe=$s;function _o(...e){}function Na(e){let t,n;function r(){e=_o;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function pd(e){return queueMicrotask(()=>e()),()=>{e=_o}}var Aa="isAngularZone",Yn=Aa+"_ID",Fm=0,be=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=dd}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,jm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Aa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Pm,_o,_o);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Pm={};function xa(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 Lm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Na(()=>{e.callbackScheduled=!1,Us(e),e.isCheckStableRunning=!0,xa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Us(e)}function jm(e){let t=()=>{Lm(e)},n=Fm++;e._inner=e._inner.fork({name:"angular",properties:{[Aa]:!0,[Yn]:n,[Yn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Bm(c))return r.invokeTask(i,s,a,c);try{return vl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Dl(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return vl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Vm(c)&&t(),Dl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Us(e),xa(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 Us(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function vl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dl(e){e._nesting--,xa(e)}var Qn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Bm(e){return hd(e,"__ignore_ng_zone__")}function Vm(e){return hd(e,"__scheduler_tick__")}function hd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ot=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ze=new b("",{factory:()=>{let e=m(be),t=m(ce),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ot),n.handleError(r))})}}}),gd={provide:pn,useValue:()=>{let e=m(Ot,{optional:!0})},multi:!0},Hm=new b("",{factory:()=>{let e=m(ge).defaultView;if(!e)return;let t=m(ze),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),m(et).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function $m(){return Pt([Al(()=>{m(Hm)})])}function md(e,t){let[n,r,o]=Ss(e,t?.equal),i=n,s=i[ie];return i.set=r,i.update=o,i.asReadonly=yd.bind(i),i}function yd(){let e=this[ie];if(e.readonlyFn===void 0){let t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}var ar=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Um}return e})();function Um(){return new ar(E(),X())}var Qe=class{},cr=new b("",{factory:()=>!0});var Ra=new b(""),qo=(()=>{class e{internalPendingTasks=m(Wt);scheduler=m(Qe);errorHandler=m(ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zo=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>new zs})}return e})(),zs=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Mo=class{[ie];constructor(t){this[ie]=t}destroy(){this[ie].destroy()}};function zm(e,t){let n=t?.injector??m(Le),r=t?.manualCleanup!==!0?n.get(et):null,o,i=n.get(ar,null,{optional:!0}),s=n.get(Qe);return i!==null?(o=qm(i.view,s,e),r instanceof To&&r._lView===i.view&&(r=null)):o=Zm(e,n.get(Zo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Mo(o)}var vd=J(W({},As),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Zn(!1);try{xs(this)}finally{Zn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),Gm=J(W({},vd),{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)}}),Wm=J(W({},vd),{consumerMarkedDirty(){this.view[w]|=8192,zt(this.view),this.notifier.notify(13)},destroy(){if(St(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[lt]?.delete(this)}});function qm(e,t,n){let r=Object.create(Wm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Dd(r,n),e[lt]??=new Set,e[lt].add(r),r.consumerMarkedDirty(r),r}function Zm(e,t,n){let r=Object.create(Gm);return r.fn=Dd(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Dd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function ur(e){return Ns(e)}function br(e){return{toString:e}.toString()}function ty(e){return typeof e=="function"}function rf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ri=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},_c=(()=>{let e=()=>of;return e.ngInherit=!0,e})();function of(e){return e.type.prototype.ngOnChanges&&(e.setInput=ry),ny}function ny(){let e=af(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ry(e,t,n,r,o){let i=this.declaredInputs[r],s=af(e)||oy(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ri(u&&u.currentValue,n,c===_e),rf(e,t,o,n)}var sf="__ngSimpleChanges__";function af(e){return e[sf]||null}function oy(e,t){return e[sf]=t}var Ed=[];var O=function(e,t=null,n){for(let r=0;r<Ed.length;r++){let o=Ed[r];o(e,t,n)}},N=(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})(N||{});function iy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=of(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function cf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Xo(e,t,n){uf(e,t,3,n)}function ei(e,t,n,r){(e[w]&3)===n&&uf(e,t,n,r)}function Oa(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function uf(e,t,n,r){let o=r!==void 0?e[Bt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Bt]+=65536),(a<i||i==-1)&&(sy(e,n,t,c),e[Bt]=(e[Bt]&4294901760)+c+2),c++}function Id(e,t){O(N.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),O(N.LifecycleHookEnd,e,t)}}function sy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[Bt]>>16&&(e[w]&3)===t&&(e[w]+=16384,Id(a,i)):Id(a,i)}var Cn=-1,Zt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function ay(e){return(e.flags&8)!==0}function cy(e){return(e.flags&16)!==0}function uy(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ly(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function lf(e){return e===3||e===4||e===6}function ly(e){return e.charCodeAt(0)===64}function hr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Cd(e,n,o,null,t[++r]):Cd(e,n,o,null,null))}}return e}function Cd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function df(e){return e!==Cn}function oi(e){return e&32767}function dy(e){return e>>16}function ii(e,t){let n=dy(e),r=t;for(;n>0;)r=r[jt],n--;return r}var za=!0;function si(e){let t=za;return za=e,t}var fy=256,ff=fy-1,pf=5,py=0,Ge={};function hy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ft)&&(r=n[Ft]),r==null&&(r=n[Ft]=py++);let o=r&ff,i=1<<o;t.data[e+(o>>pf)]|=i}function ai(e,t){let n=hf(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,ka(r.data,e),ka(t,null),ka(r.blueprint,null));let o=Mc(e,t),i=e.injectorIndex;if(df(o)){let s=oi(o),a=ii(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Mc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Df(o),r===null)return Cn;if(n++,o=o[jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Cn}function Ga(e,t,n){hy(e,t,n)}function gy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(lf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function gf(e,t,n){if(n&8||e!==void 0)return e;ko(t,"NodeInjector")}function mf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Je],i=se(void 0);try{return o?o.get(t,r,n&8):Xs(t,r,n&8)}finally{se(i)}}return gf(r,t,n)}function yf(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Ey(e,t,n,r,Ge);if(s!==Ge)return s}let i=vf(e,t,n,r,Ge);if(i!==Ge)return i}return mf(t,n,r,o)}function vf(e,t,n,r,o){let i=yy(n);if(typeof i=="function"){if(!_a(t,e,r))return r&1?gf(o,n,r):mf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ko(n);else return s}finally{Ma()}}else if(typeof i=="number"){let s=null,a=hf(e,t),c=Cn,u=r&1?t[le][ue]:null;for((a===-1||r&4)&&(c=a===-1?Mc(e,t):t[a+8],c===Cn||!bd(r,!1)?a=-1:(s=t[I],a=oi(c),t=ii(c,t)));a!==-1;){let l=t[I];if(wd(i,a,l.data)){let d=my(a,t,n,s,r,u);if(d!==Ge)return d}c=t[a+8],c!==Cn&&bd(r,t[I].data[a+8]===u)&&wd(i,a,t)?(s=l,a=oi(c),t=ii(c,t)):a=-1}}return o}function my(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?ht(a)&&za:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ti(a,s,n,c,u);return l!==null?gr(t,s,l,a,o):Ge}function ti(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ne(f)&&f.type===n)return c}return null}function gr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zt){let a=i;if(a.resolving){let f=Cl(s[n]);throw Js(f)}let c=si(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?se(a.injectImpl):null,p=_a(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&iy(n,s[n],t)}finally{d!==null&&se(d),si(c),a.resolving=!1,Ma()}}return i}function yy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ft)?e[Ft]:void 0;return typeof t=="number"?t>=0?t&ff:vy:t}function wd(e,t,n){let r=1<<e;return!!(n[t+(e>>pf)]&r)}function bd(e,t){return!(e&2)&&!(e&1&&t)}var qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yf(this._tNode,this._lView,t,At(r),n)}};function vy(){return new qt(X(),E())}function Dy(e){return br(()=>{let t=e.prototype.constructor,n=t[Wn]||Wa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wn]||Wa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wa(e){return Gs(e)?()=>{let t=Wa(Z(e));return t&&t()}:ut(e)}function Ey(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!vn(s);){let a=vf(i,s,n,r|2,Ge);if(a!==Ge)return a;let c=i.parent;if(!c){let u=s[ca];if(u){let l=u.get(n,Ge,r);if(l!==Ge)return l}c=Df(s),s=s[jt]}i=c}return o}function Df(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function Sc(e){return gy(X(),e)}function Iy(){return Sn(X(),E())}function Sn(e,t){return new nt(Ae(e,t))}var nt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Iy}return e})();function Cy(e){return e instanceof nt?e.nativeElement:e}function wy(){return this._results[Symbol.iterator]()}var ci=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 oe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Ml(t);(this._changesDetected=!_l(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=wy};function Ef(e){return(e.flags&128)===128}var Nc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Nc||{}),If=new Map,by=0;function Ty(){return by++}function _y(e){If.set(e[Xe],e)}function qa(e){If.delete(e[Xe])}var Td="__ngContext__";function wn(e,t){He(t)?(e[Td]=t[Xe],_y(t)):e[Td]=t}function Cf(e){return bf(e[mn])}function wf(e){return bf(e[ye])}function bf(e){for(;e!==null&&!Se(e);)e=e[ye];return e}var Za;function My(e){Za=e}function Tf(){if(Za!==void 0)return Za;if(typeof document<"u")return document;throw new D(210,!1)}var Sy=new b("",{factory:()=>Ny}),Ny="ng";var _f=new b(""),Ay=new b("",{providedIn:"platform",factory:()=>"unknown"});var xy=new b("",{factory:()=>m(ge).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Mf="r";var Sf="di";var Nf=!1,Af=new b("",{factory:()=>Nf});var Ry=new b("");var Oy=(e,t,n,r)=>{};function ky(e,t,n,r){Oy(e,t,n,r)}function Ii(e){return(e.flags&32)===32}var Fy=()=>null;function xf(e,t,n=!1){return Fy(e,t,n)}function Rf(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];$o(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Ya(e,t,n){$o(0);let r=C(null);try{t(e,n)}finally{C(r)}}function Ac(e,t,n){if(la(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{C(r)}}}var Yt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Yt||{});var Yo;function Py(){if(Yo===void 0&&(Yo=null,je.trustedTypes))try{Yo=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yo}function Ci(e){return Py()?.createHTML(e)||e}var Qo;function Of(){if(Qo===void 0&&(Qo=null,je.trustedTypes))try{Qo=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qo}function _d(e){return Of()?.createHTML(e)||e}function Md(e){return Of()?.createScriptURL(e)||e}var tt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${So})`}},Qa=class extends tt{getTypeName(){return"HTML"}},Ka=class extends tt{getTypeName(){return"Style"}},Ja=class extends tt{getTypeName(){return"Script"}},Xa=class extends tt{getTypeName(){return"URL"}},ec=class extends tt{getTypeName(){return"ResourceURL"}};function vt(e){return e instanceof tt?e.changingThisBreaksApplicationSecurity:e}function wi(e,t){let n=kf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${So})`)}return n===t}function kf(e){return e instanceof tt&&e.getTypeName()||null}function Ly(e){return new Qa(e)}function jy(e){return new Ka(e)}function By(e){return new Ja(e)}function Vy(e){return new Xa(e)}function Hy(e){return new ec(e)}function $y(e){let t=new nc(e);return Uy()?new tc(t):t}var tc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ci(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},nc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ci(t),n}};function Uy(){try{return!!new window.DOMParser().parseFromString(Ci(""),"text/html")}catch{return!1}}var zy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xc(e){return e=String(e),e.match(zy)?e:"unsafe:"+e}function rt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ff=rt("area,br,col,hr,img,wbr"),Pf=rt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lf=rt("rp,rt"),Gy=Tr(Lf,Pf),Wy=Tr(Pf,rt("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")),qy=Tr(Lf,rt("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")),Sd=Tr(Ff,Wy,qy,Gy),jf=rt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zy=rt("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"),Yy=rt("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"),Qy=Tr(jf,Zy,Yy),Ky=rt("script,style,template"),rc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=ev(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Xy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Nd(t).toLowerCase();if(!Sd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ky.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Qy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;jf[a]&&(c=xc(c)),this.buf.push(" ",s,'="',Ad(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Nd(t).toLowerCase();Sd.hasOwnProperty(n)&&!Ff.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ad(t))}};function Jy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Xy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Bf(t);return t}function ev(e){let t=e.firstChild;if(t&&Jy(e,t))throw Bf(t);return t}function Nd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Bf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var tv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nv=/([^\#-~ |!])/g;function Ad(e){return e.replace(/&/g,"&").replace(tv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(nv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ko;function Vf(e,t){let n=null;try{Ko=Ko||$y(e);let r=t?String(t):"";n=Ko.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ko.getInertBodyElement(r)}while(r!==i);let a=new rc().sanitizeChildren(xd(n)||n);return Ci(a)}finally{if(n){let r=xd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function xd(e){return"content"in e&&rv(e)?e.content:null}function rv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ov=/^>|^->|<!--|-->|--!>|<!-$/g,iv=/(<|>)/g,sv="\u200B$1\u200B";function av(e){return e.replace(ov,t=>t.replace(iv,sv))}function cv(e,t){return e.createText(t)}function uv(e,t,n){e.setValue(t,n)}function lv(e,t){return e.createComment(av(t))}function Hf(e,t,n){return e.createElement(t,n)}function ui(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $f(e,t,n){e.appendChild(t,n)}function Rd(e,t,n,r,o){r!==null?ui(e,t,n,r,o):$f(e,t,n)}function Uf(e,t,n,r){e.removeChild(null,t,n,r)}function dv(e,t,n){e.setAttribute(t,"style",n)}function fv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&uy(e,t,r),o!==null&&fv(e,t,o),i!==null&&dv(e,t,i)}var _r=(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})(_r||{});function pv(e){let t=Rc();return t?_d(t.sanitize(_r.HTML,e)||""):wi(e,"HTML")?_d(vt(e)):Vf(Tf(),Te(e))}function Gf(e){let t=Rc();return t?t.sanitize(_r.URL,e)||"":wi(e,"URL")?vt(e):xc(Te(e))}function Wf(e){let t=Rc();if(t)return Md(t.sanitize(_r.RESOURCE_URL,e)||"");if(wi(e,"ResourceURL"))return Md(vt(e));throw new D(904,!1)}var hv=new Set(["embed","frame","iframe","media","script"]),gv=new Set(["base","link","script"]);function mv(e,t){return t==="src"&&hv.has(e)||t==="href"&&gv.has(e)||t==="xlink:href"&&e==="script"?Wf:Gf}function yv(e,t,n){return mv(t,n)(e)}function Rc(){let e=E();return e&&e[Be].sanitizer}function vv(e){return e.ownerDocument.defaultView}function qf(e){return e instanceof Function?e():e}function Dv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Zf="ng-template";function Ev(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Dv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Oc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Oc(e){return e.type===4&&e.value!==Zf}function Iv(e,t,n){let r=e.type===4&&!n?Zf:e.value;return t===r}function Cv(e,t,n){let r=4,o=e.attrs,i=o!==null?Tv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(r)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Iv(e,c,n)||c===""&&t.length===1){if(Re(r))return!1;s=!0}}else if(r&8){if(o===null||!Ev(e,o,c,n)){if(Re(r))return!1;s=!0}}else{let u=t[++a],l=wv(c,o,Oc(e),n);if(l===-1){if(Re(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Re(r))return!1;s=!0}}}}return Re(r)||s}function Re(e){return(e&1)===0}function wv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return _v(t,e)}function Yf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Cv(e,t[r],n))return!0;return!1}function bv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Tv(e){for(let t=0;t<e.length;t++){let n=e[t];if(lf(n))return t}return e.length}function _v(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Mv(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Od(e,t){return e?":not("+t.trim()+")":t}function Sv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Re(s)&&(t+=Od(i,o),o=""),r=s,i=i||!Re(r);n++}return o!==""&&(t+=Od(i,o)),t}function Nv(e){return e.map(Sv).join(",")}function Av(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Re(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ee={};function kc(e,t,n,r,o,i,s,a,c,u,l){let d=L+r,p=d+o,f=xv(d,p),h=typeof u=="function"?u():u;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function xv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ee);return n}function Rv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=kc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Fc(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Me]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),ha(d),d[Y]=d[jt]=e,d[z]=n,d[Be]=s||e&&e[Be],d[P]=a||e&&e[P],d[Je]=c||e&&e[Je]||null,d[ue]=i,d[Xe]=Ty(),d[Lt]=l,d[ca]=u,d[le]=t.type==2?e[le]:d,d}function Ov(e,t,n){let r=Ae(t,e),o=Rv(n),i=e[Be].rendererFactory,s=Pc(e,Fc(e,o,null,Qf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Qf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kf(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Pc(e,t){return e[mn]?e[aa][ye]=t:e[mn]=t,e[aa]=t,t}function kv(e=1){Jf(V(),E(),xe()+e,!1)}function Jf(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ei(t,i,0,n)}gt(n)}var bi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(bi||{});function oc(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&bi.SignalBased)!==0&&(c=t[i][ie]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):rf(t,c,i,r)}finally{C(o)}}var bn=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(bn||{}),Fv;function Lc(e,t){return Fv(e,t)}var mr=new Set,Ti=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ti||{}),Xt=new b(""),kd=new Set;function Dt(e){kd.has(e)||(kd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var jc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xf=[0,1,2,3],ep=(()=>{class e{ngZone=m(be);scheduler=m(Qe);errorHandler=m(Ot,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Xt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(N.AfterRenderHooksStart),this.executing=!0;for(let r of Xf)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(N.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Vt]??=[]).push(n),zt(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ti.AFTER_NEXT_RENDER,n):n()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),li=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Vt];t&&(this.view[Vt]=t.filter(n=>n!==this))}};function Pv(e,t){let n=t?.injector??m(Le);return Dt("NgAfterNextRender"),jv(e,n,t,!0)}function Lv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function jv(e,t,n,r){let o=t.get(jc);o.impl??=t.get(ep);let i=t.get(Xt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(et):null,a=t.get(ar,null,{optional:!0}),c=new li(o.impl,Lv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var tp=new b("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(ce)})});function np(e,t,n){let r=e.get(tp);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Bv(e,t){let n=e.get(tp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Vv(e,t){for(let[n,r]of t)np(e,r.animateFns)}function Fd(e,t,n,r){let o=e?.[Ht]?.enter;t!==null&&o&&o.has(n.index)&&Vv(r,o)}function In(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Se(o)?c=o:He(o)&&(u=!0,o=o[Me]);let l=ve(o);e===0&&r!==null?(Fd(a,r,i,n),s==null?$f(t,r,l):ui(t,r,l,s||null,!0)):e===1&&r!==null?(Fd(a,r,i,n),ui(t,r,l,s||null,!0)):e===2?Pd(a,i,n,d=>{Uf(t,l,u,d)}):e===3&&Pd(a,i,n,()=>{t.destroyNode(l)}),c!=null&&Kv(t,e,n,c,i,r,s)}}function Hv(e,t){rp(e,t),t[Me]=null,t[ue]=null}function $v(e,t,n,r,o,i){r[Me]=o,r[ue]=t,Mi(e,r,n,1,o,i)}function rp(e,t){t[Be].changeDetectionScheduler?.notify(9),Mi(e,t,t[P],2,null,null)}function Uv(e){let t=e[mn];if(!t)return Fa(e[I],e);for(;t;){let n=null;if(He(t))n=t[mn];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)He(t)&&Fa(t[I],t),t=t[Y];t===null&&(t=e),He(t)&&Fa(t[I],t),n=t&&t[ye]}t=n}}function Bc(e,t){let n=e[$t],r=n.indexOf(t);n.splice(r,1)}function _i(e,t){if(Ut(t))return;let n=t[P];n.destroyNode&&Mi(e,t,n,3,null,null),Uv(t)}function Fa(e,t){if(Ut(t))return;let n=C(null);try{t[w]&=-129,t[w]|=256,t[he]&&St(t[he]),Wv(e,t),Gv(e,t),t[I].type===1&&t[P].destroy();let r=t[ft];if(r!==null&&Se(t[Y])){r!==t[Y]&&Bc(r,t);let o=t[Ve];o!==null&&o.detachView(e)}qa(t)}finally{C(n)}}function Pd(e,t,n,r){let o=e?.[Ht];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&mr.add(e[Xe]),np(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),zv(e,r)}else e&&mr.delete(e[Xe]),r(!1)},o)}function zv(e,t){let n=e[Ht]?.running;if(n){n.then(()=>{e[Ht].running=void 0,mr.delete(e[Xe]),t(!0)});return}t(!1)}function Gv(e,t){let n=e.cleanup,r=t[gn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[gn]=null);let o=t[Ze];if(o!==null){t[Ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[lt];if(i!==null){t[lt]=null;for(let s of i)s.destroy()}}function Wv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Zt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(N.LifecycleHookStart,a,c);try{c.call(a)}finally{O(N.LifecycleHookEnd,a,c)}}else{O(N.LifecycleHookStart,o,i);try{i.call(o)}finally{O(N.LifecycleHookEnd,o,i)}}}}}function op(e,t,n){return qv(e,t.parent,n)}function qv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Me];if(ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Yt.None||o===Yt.Emulated)return null}return Ae(r,n)}function ip(e,t,n){return Yv(e,t,n)}function Zv(e,t,n){return e.type&40?Ae(e,n):null}var Yv=Zv,Ld;function Vc(e,t,n,r){let o=op(e,r,t),i=t[P],s=r.parent||t[ue],a=ip(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Rd(i,o,n[c],a,!1);else Rd(i,o,n,a,!1);Ld!==void 0&&Ld(i,r,t,n,o)}function dr(e,t){if(t!==null){let n=t.type;if(n&3)return Ae(t,e);if(n&4)return ic(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return dr(e,r);{let o=e[t.index];return Se(o)?ic(-1,o):ve(o)}}else{if(n&128)return dr(e,t.next);if(n&32)return Lc(t,e)()||ve(e[t.index]);{let r=sp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=dt(e[le]);return dr(o,r)}else return dr(e,t.next)}}}return null}function sp(e,t){if(t!==null){let r=e[le][ue],o=t.projection;return r.projection[o]}return null}function ic(e,t){let n=$+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return dr(r,o)}return t[pt]}function Hc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Je];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&wn(ve(c),r),n.flags|=2),!Ii(n))if(u&8)Hc(e,t,n.child,r,o,i,!1),In(t,e,a,o,c,n,i,r);else if(u&32){let l=Lc(n,r),d;for(;d=l();)In(t,e,a,o,d,n,i,r);In(t,e,a,o,c,n,i,r)}else u&16?ap(e,t,r,n,o,i):In(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Mi(e,t,n,r,o,i){Hc(n,r,e.firstChild,t,o,i,!1)}function Qv(e,t,n){let r=t[P],o=op(e,n,t),i=n.parent||t[ue],s=ip(i,n,t);ap(r,0,t,n,o,s)}function ap(e,t,n,r,o,i){let s=n[le],c=s[ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];In(t,e,n[Je],o,l,r,i,n)}else{let u=c,l=s[Y];Ef(r)&&(u.flags|=128),Hc(e,t,u,l,o,i,!0)}}function Kv(e,t,n,r,o,i,s){let a=r[pt],c=ve(r);a!==c&&In(t,e,n,i,a,o,s);for(let u=$;u<r.length;u++){let l=r[u];Mi(l[I],l,e,t,i,a)}}function Jv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:bn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=bn.Important),e.setStyle(n,r,o,i))}}function cp(e,t,n,r,o){let i=xe(),s=r&2;try{gt(-1),s&&t.length>L&&Jf(e,t,L,!1);let a=s?N.TemplateUpdateStart:N.TemplateCreateStart;O(a,o,n),n(r,o)}finally{gt(i);let a=s?N.TemplateUpdateEnd:N.TemplateCreateEnd;O(a,o,n)}}function Si(e,t,n){iD(e,t,n),(n.flags&64)===64&&sD(e,t,n)}function Ni(e,t,n=Ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Xv(e,t,n,r){let i=r.get(Af,Nf)||n===Yt.ShadowDom||n===Yt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return eD(s),s}function eD(e){tD(e)}var tD=()=>null;function nD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function up(e,t,n,r,o,i){let s=t[I];if(Uc(e,s,t,n,r)){ht(e)&&oD(t,e.index);return}e.type&3&&(n=nD(n)),rD(e,t,n,r,o,i)}function rD(e,t,n,r,o,i){if(e.type&3){let s=Ae(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function oD(e,t){let n=De(t,e);n[w]&16||(n[w]|=64)}function iD(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ht(n)&&Ov(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ai(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=gr(t,e,s,n);if(wn(c,t),i!==null&&lD(t,s-r,c,a,n,i),Ne(a)){let u=De(n.index,t);u[z]=gr(t,e,s,n)}}}function sD(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=td();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ho(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&aD(c,u)}}finally{gt(-1),Ho(s)}}function aD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function $c(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Yf(t,i.selectors,!1)&&(r??=[],Ne(i)?r.unshift(i):r.push(i))}return r}function cD(e,t,n,r,o,i){let s=Ae(e,t);uD(t[P],s,i,e.value,n,r,o)}function uD(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Te(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function lD(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];oc(r,n,c,u)}}function lp(e,t,n,r,o){let i=L+n,s=t[I],a=o(s,t,e,r,n);t[i]=a,En(e,!0);let c=e.type===2;return c?(zf(t[P],a,e),(Ul()===0||yn(e))&&wn(a,t),zl()):wn(a,t),Wo()&&(!c||!Ii(e))&&Vc(s,t,a,e),e}function dp(e){let t=e;return Ia()?Ca():(t=t.parent,En(t,!1)),t}function dD(e,t){let n=e[Je];if(!n)return;let r;try{r=n.get(ze,null)}catch{r=null}r?.(t)}function Uc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];oc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];oc(l,u,r,o),a=!0}return a}function fD(e,t){let n=De(t,e),r=n[I];pD(r,n);let o=n[Me];o!==null&&n[Lt]===null&&(n[Lt]=xf(o,n[Je])),O(N.ComponentStart);try{zc(r,n,n[z])}finally{O(N.ComponentEnd,n[z])}}function pD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function zc(e,t,n){Uo(t);try{let r=e.viewQuery;r!==null&&Ya(1,r,n);let o=e.template;o!==null&&cp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ve]?.finishViewCreation(e),e.staticContentQueries&&Rf(e,t),e.staticViewQueries&&Ya(2,e.viewQuery,n);let i=e.components;i!==null&&hD(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,zo()}}function hD(e,t){for(let n=0;n<t.length;n++)fD(e,t[n])}function Mr(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=Fc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[ft]=u;let l=e[Ve];return l!==null&&(c[Ve]=l.createEmbeddedView(i)),zc(i,c,n),c}finally{C(o)}}function Tn(e,t){return!t||t.firstChild===null||Ef(e)}function yr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ve(i)),Se(i)&&fp(i,r);let s=n.type;if(s&8)yr(e,t,n.child,r);else if(s&32){let a=Lc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=sp(t,n);if(Array.isArray(a))r.push(...a);else{let c=dt(t[le]);yr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function fp(e,t){for(let n=$;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&yr(r[I],r,o,t)}e[pt]!==e[Me]&&t.push(e[pt])}function pp(e){if(e[Vt]!==null){for(let t of e[Vt])t.impl.addSequence(t);e[Vt].length=0}}var hp=[];function gD(e){return e[he]??mD(e)}function mD(e){let t=hp.pop()??Object.create(vD);return t.lView=e,t}function yD(e){e.lView[he]!==e&&(e.lView=null,hp.push(e))}var vD=J(W({},an),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zt(e.lView)},consumerOnSignalRead(){this.lView[he]=this}});function DD(e){let t=e[he]??Object.create(ED);return t.lView=e,t}var ED=J(W({},an),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=dt(e.lView);for(;t&&!gp(t[I]);)t=dt(t);t&&ga(t)},consumerOnSignalRead(){this.lView[he]=this}});function gp(e){return e.type!==2}function mp(e){if(e[lt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[lt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var ID=100;function yp(e,t=0){let r=e[Be].rendererFactory,o=!1;o||r.begin?.();try{CD(e,t)}finally{o||r.end?.()}}function CD(e,t){let n=wa();try{Zn(!0),sc(e,t);let r=0;for(;or(e);){if(r===ID)throw new D(103,!1);r++,sc(e,1)}}finally{Zn(n)}}function wD(e,t,n,r){if(Ut(t))return;let o=t[w],i=!1,s=!1;Uo(t);let a=!0,c=null,u=null;i||(gp(e)?(u=gD(t),c=cn(u)):vo()===null?(a=!1,u=DD(t),c=cn(u)):t[he]&&(St(t[he]),t[he]=null));try{ha(t),Jl(e.bindingStartIndex),n!==null&&cp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Xo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ei(t,f,0,null),Oa(t,0)}if(s||bD(t),mp(t),vp(t,0),e.contentQueries!==null&&Rf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Xo(t,f)}else{let f=e.contentHooks;f!==null&&ei(t,f,1),Oa(t,1)}_D(e,t);let d=e.components;d!==null&&Ep(t,d,0);let p=e.viewQuery;if(p!==null&&Ya(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Xo(t,f)}else{let f=e.viewHooks;f!==null&&ei(t,f,2),Oa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Lo]){for(let f of t[Lo])f();t[Lo]=null}i||(pp(t),t[w]&=-73)}catch(l){throw i||zt(t),l}finally{u!==null&&($n(u,c),a&&yD(u)),zo()}}function vp(e,t){for(let n=Cf(e);n!==null;n=wf(n))for(let r=$;r<n.length;r++){let o=n[r];Dp(o,t)}}function bD(e){for(let t=Cf(e);t!==null;t=wf(t)){if(!(t[w]&2))continue;let n=t[$t];for(let r=0;r<n.length;r++){let o=n[r];ga(o)}}}function TD(e,t,n){O(N.ComponentStart);let r=De(t,e);try{Dp(r,n)}finally{O(N.ComponentEnd,r[z])}}function Dp(e,t){jo(e)&&sc(e,t)}function sc(e,t){let r=e[I],o=e[w],i=e[he],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Un(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)wD(r,e,r.template,e[z]);else if(o&8192){let a=C(null);try{mp(e),vp(e,1);let c=r.components;c!==null&&Ep(e,c,1),pp(e)}finally{C(a)}}}function Ep(e,t,n){for(let r=0;r<t.length;r++)TD(e,t[r],n)}function _D(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)gt(~o);else{let i=o,s=n[++r],a=n[++r];ed(s,i);let c=t[i];O(N.HostBindingsUpdateStart,c);try{a(2,c)}finally{O(N.HostBindingsUpdateEnd,c)}}}}finally{gt(-1)}}function Gc(e,t){let n=wa()?64:1088;for(e[Be].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=dt(e);if(vn(e)&&!r)return e;e=r}return null}function Ip(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Cp(e,t){let n=$+t;if(n<e.length)return e[n]}function Sr(e,t,n,r=!0){let o=t[I];if(MD(o,t,e,n),r){let s=ic(n,e),a=t[P],c=a.parentNode(e[pt]);c!==null&&$v(o,e[ue],a,t,c,s)}let i=t[Lt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function wp(e,t){let n=vr(e,t);return n!==void 0&&_i(n[I],n),n}function vr(e,t){if(e.length<=$)return;let n=$+t,r=e[n];if(r){let o=r[ft];o!==null&&o!==e&&Bc(o,r),t>0&&(e[n-1][ye]=r[ye]);let i=Xn(e,$+t);Hv(r[I],r);let s=i[Ve];s!==null&&s.detachView(i[I]),r[Y]=null,r[ye]=null,r[w]&=-129}return r}function MD(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][ye]=t),r<i-$?(t[ye]=n[o],ea(n,$+r,t)):(n.push(t),t[ye]=null),t[Y]=n;let s=t[ft];s!==null&&n!==s&&bp(s,t);let a=t[Ve];a!==null&&a.insertView(e),Bo(t),t[w]|=128}function bp(e,t){let n=e[$t],r=t[Y];if(He(r))e[w]|=2;else{let o=r[Y][le];t[le]!==o&&(e[w]|=2)}n===null?e[$t]=[t]:n.push(t)}var mt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[z]}set context(t){this._lView[z]=t}get destroyed(){return Ut(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Y];if(Se(t)){let n=t[nr],r=n?n.indexOf(this):-1;r>-1&&(vr(t,r),Xn(n,r))}this._attachedToViewContainer=!1}_i(this._lView[I],this._lView)}onDestroy(t){ma(this._lView,t)}markForCheck(){Gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){Bo(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,yp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vn(this._lView),n=this._lView[ft];n!==null&&!t&&Bc(n,this._lView),rp(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=vn(this._lView),r=this._lView[ft];r!==null&&!n&&bp(r,this._lView),Bo(this._lView)}};var yt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=SD;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Mr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new mt(i)}}return e})();function SD(){return Ai(X(),E())}function Ai(e,t){return e.type&4?new yt(t,e,Sn(e,t)):null}function Nr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ND(e,t,n,r,o),Xl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Ql();i.injectorIndex=s===null?-1:s.injectorIndex}return En(i,!0),i}function ND(e,t,n,r,o){let i=Ea(),s=Ia(),a=s?i:i&&i.parent,c=e.data[t]=xD(e,a,n,t,r,o);return AD(e,c,i,s),c}function AD(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function xD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Da()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value: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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function RD(e){let t=e[ua]??[],r=e[Y][P],o=[];for(let i of t)i.data[Sf]!==void 0?o.push(i):OD(i,r);e[ua]=o}function OD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Mf];for(;n<o;){let i=r.nextSibling;Uf(t,r,!1),r=i,n++}}}var kD=()=>null,FD=()=>null;function di(e,t){return kD(e,t)}function Tp(e,t,n){return FD(e,t,n)}var _p=class{},xi=class{},ac=class{resolveComponentFactory(t){throw new D(917,!1)}},Ar=class{static NULL=new ac},Dr=class{},xr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>PD()}return e})();function PD(){let e=E(),t=X(),n=De(t.index,e);return(He(n)?n:e)[P]}var Mp=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();var ni={},cc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ni,r);return o!==ni||n===ni?o:this.parentInjector.get(t,n,r)}};function jd(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=No(o,a);else if(i==2){let c=a,u=t[++s];r=No(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function G(e,t=0){let n=E();if(n===null)return F(e,t);let r=X();return yf(r,n,Z(e),t)}function LD(){let e="invalid";throw new Error(e)}function Sp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}VD(e,t,n,a,i,c,u)}i!==null&&r!==null&&jD(n,r,i)}function jD(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new D(-301,!1);r.push(t[o],i)}}function BD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function VD(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Ne(f)&&(c=f,BD(e,n,p)),Ga(ai(n,t),e,f.type)}WD(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Kf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=hr(n.mergedAttrs,f.hostAttrs),$D(e,n,t,d,f),GD(d,f,o),s!==null&&s.has(f)){let[v,y]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}HD(e,n,i)}function HD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Bd(0,t,o,r),Bd(1,t,o,r),Hd(t,r,!1);else{let i=n.get(o);Vd(0,t,i,r),Vd(1,t,i,r),Hd(t,r,!0)}}}function Bd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Np(t,i)}}function Vd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Np(t,s)}}function Np(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Oc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function $D(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ut(o.type,!0)),s=new Zt(i,Ne(o),G,null);e.blueprint[r]=s,n[r]=s,UD(e,t,r,Kf(e,n,o.hostVars,ee),o)}function UD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;zD(s)!=a&&s.push(a),s.push(n,r,i)}}function zD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function GD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ne(t)&&(n[""]=e)}}function WD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wc(e,t,n,r,o,i,s,a){let c=t[I],u=c.consts,l=$e(u,s),d=Nr(c,e,n,r,l);return i&&Sp(c,t,d,$e(u,a),o),d.mergedAttrs=hr(d.mergedAttrs,d.attrs),d.attrs!==null&&jd(d,d.attrs,!1),d.mergedAttrs!==null&&jd(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function qc(e,t){cf(e,t),la(t)&&e.queries.elementEnd(t)}function Zc(e){return Ri(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ap(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Ri(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Rr(e,t,n){return e[t]=n}function qD(e,t){return e[t]}function Ee(e,t,n){if(n===ee)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Er(e,t,n,r){let o=Ee(e,t,n);return Ee(e,t+1,r)||o}function xp(e,t,n,r,o){let i=Er(e,t,n,r);return Ee(e,t+2,o)||i}function ZD(e,t,n,r,o,i){let s=Er(e,t,n,r);return Er(e,t+2,o,i)||s}function Pa(e,t,n){return function r(o){let i=ht(e)?De(e.index,t):t;Gc(i,5);let s=t[z],a=$d(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=$d(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function $d(e,t,n,r){let o=C(null);try{return O(N.OutputStart,t,n),n(r)!==!1}catch(i){return dD(e,i),!1}finally{O(N.OutputEnd,t,n),C(o)}}function YD(e,t,n,r,o,i,s,a){let c=yn(e),u=!1,l=null;if(!r&&c&&(l=KD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ae(e,n),p=r?r(d):d;ky(n,p,i,a);let f=o.listen(p,i,a);if(!QD(i)){let h=r?v=>r(ve(v[e.index])):e.index;Rp(h,t,n,i,a,f,!1)}}return u}function QD(e){return e.startsWith("animation")||e.startsWith("transition")}function KD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[gn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Rp(e,t,n,r,o,i,s){let a=t.firstCreatePass?va(t):null,c=ya(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Ud(e,t,n,r,o,i){let s=t[n],a=t[I],u=a.data[n].outputs[r],d=s[u].subscribe(i);Rp(e.index,a,t,o,i,d,!0)}var uc=Symbol("BINDING");var fi=class extends Ar{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ke(t);return new Qt(n,this.ngModule)}};function JD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&bi.SignalBased)!==0};return o&&(i.transform=o),i})}function XD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function eE(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new cc(n,r):n}function tE(e){let t=e.get(Dr,null);if(t===null)throw new D(407,!1);let n=e.get(Mp,null),r=e.get(Qe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function nE(e,t){let n=Op(e);return Hf(t,n,n==="svg"?da:n==="math"?Ll:null)}function Op(e){return(e.selectors[0][0]||"div").toLowerCase()}var Qt=class extends xi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=JD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=XD(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Nv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(N.DynamicComponentStart);let a=C(null);try{let c=this.componentDef,u=rE(r,c,s,i),l=eE(c,o||this.ngModule,t),d=tE(l),p=d.rendererFactory.createRenderer(null,c),f=r?Xv(p,r,c.encapsulation,l):nE(c,p),h=s?.some(zd)||i?.some(g=>typeof g!="function"&&g.bindings.some(zd)),v=Fc(null,u,null,512|Qf(c),null,null,d,p,l,null,xf(f,l,!0));v[L]=f,Uo(v);let y=null;try{let g=Wc(L,v,2,"#host",()=>u.directiveRegistry,!0,0);zf(p,f,g),wn(f,v),Si(u,v,g),Ac(u,g,v),qc(u,g),n!==void 0&&iE(g,this.ngContentSelectors,n),y=De(g.index,v),v[z]=y[z],zc(u,v,null)}catch(g){throw y!==null&&qa(y),qa(v),g}finally{O(N.DynamicComponentEnd),zo()}return new pi(this.componentType,v,!!h)}finally{C(a)}}};function rE(e,t,n,r){let o=e?["ng-version","21.1.1"]:Av(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[uc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[uc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Ro(d);c.push(p)}return kc(0,null,oE(i,s),1,a,c,null,null,null,[o],null)}function oE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function zd(e){let t=e[uc].kind;return t==="input"||t==="twoWay"}var pi=class extends _p{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=rr(n[I],L),this.location=Sn(this._tNode,n),this.instance=De(this._tNode.index,n)[z],this.hostView=this.changeDetectorRef=new mt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Uc(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);Gc(s,1)}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function iE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Et=(()=>{class e{static __NG_ELEMENT_ID__=sE}return e})();function sE(){let e=X();return Fp(e,E())}var aE=Et,kp=class extends aE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Sn(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Mc(this._hostTNode,this._hostLView);if(df(t)){let n=ii(t,this._hostLView),r=oi(t),o=n[I].data[r+8];return new qt(o,n)}else return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Gd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=di(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Tn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ty(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Qt(Ke(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let g=(c?d:this.parentInjector).get(ce,null);g&&(i=g)}let p=Ke(l.componentType??{}),f=di(this._lContainer,p?.id??null),h=f?.firstChild??null,v=l.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,u,Tn(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Bl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Y],u=new kp(c,c[ue],c[Y]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Sr(s,o,i,r),t.attachToViewContainerRef(),ea(La(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Gd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);r&&(Xn(La(this._lContainer),n),_i(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);return r&&Xn(La(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Gd(e){return e[nr]}function La(e){return e[nr]||(e[nr]=[])}function Fp(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=Ip(r,t,null,e),t[e.index]=n,Pc(t,n)),uE(n,t,e,r),new kp(n,e,t)}function cE(e,t){let n=e[P],r=n.createComment(""),o=Ae(t,e),i=n.parentNode(o);return ui(n,i,r,n.nextSibling(o),!1),r}var uE=fE,lE=()=>!1;function dE(e,t,n){return lE(e,t,n)}function fE(e,t,n,r){if(e[pt])return;let o;n.type&8?o=ve(r):o=cE(t,n),e[pt]=o}var lc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},dc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Yc(t,n).matches!==null&&this.queries[n].setDirty()}},hi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=EE(t):this.predicate=t}},fc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},pc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,pE(n,i)),this.matchTNodeWithReadOption(t,n,ti(n,t,i,!1,!1))}else r===yt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===nt||o===Et||o===yt&&n.type&4)this.addMatch(n.index,-2);else{let i=ti(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function pE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function hE(e,t){return e.type&11?Sn(e,t):e.type&4?Ai(e,t):null}function gE(e,t,n,r){return n===-1?hE(t,e):n===-2?mE(e,t,r):gr(e,e[I],n,t)}function mE(e,t,n){if(n===nt)return Sn(t,e);if(n===yt)return Ai(t,e);if(n===Et)return Fp(t,e)}function Pp(e,t,n,r){let o=t[Ve].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(gE(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function hc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Pp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=$;d<l.length;d++){let p=l[d];p[ft]===p[Y]&&hc(p[I],p,u,r)}if(l[$t]!==null){let d=l[$t];for(let p=0;p<d.length;p++){let f=d[p];hc(f[I],f,u,r)}}}}}return r}function yE(e,t){return e[Ve].queries[t].queryList}function Lp(e,t,n){let r=new ci((n&4)===4);return $l(e,t,r,r.destroy),(t[Ve]??=new dc).queries.push(new lc(r))-1}function vE(e,t,n){let r=V();return r.firstCreatePass&&(jp(r,new hi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Lp(r,E(),t)}function DE(e,t,n,r){let o=V();if(o.firstCreatePass){let i=X();jp(o,new hi(t,n,r),i.index),IE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Lp(o,E(),n)}function EE(e){return e.split(",").map(t=>t.trim())}function jp(e,t,n){e.queries===null&&(e.queries=new fc),e.queries.track(new pc(t,n))}function IE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Yc(e,t){return e.queries.getByIndex(t)}function CE(e,t){let n=e[I],r=Yc(n,t);return r.crossesNgTemplate?hc(n,e,t,[]):Pp(n,e,r,t)}var Kt=class{},Bp=class{};var gi=class extends Kt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ks(t);this._bootstrapComponents=qf(i.bootstrap),this._r3Injector=Sa(t,n,[{provide:Kt,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver},...r],Ye(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},mi=class extends Bp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new gi(this.moduleType,t,[])}};var Ir=class extends Kt{injector;componentFactoryResolver=new fi(this);instance=null;constructor(t){super();let n=new Rt([...t.providers,{provide:Kt,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver}],t.parent||tr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Vp(e,t,n=null){return new Ir({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var wE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ra(!1,n.type),o=r.length>0?Vp([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(F(ce))})}return e})();function bE(e){return br(()=>{let t=Hp(e),n=J(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(wE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Yt.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Dt("NgStandalone"),$p(n);let r=e.dependencies;return n.directiveDefs=Wd(r,TE),n.pipeDefs=Wd(r,Il),n.id=SE(n),n})}function TE(e){return Ke(e)||Ro(e)}function Oi(e){return br(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _E(e,t){if(e==null)return _e;let n={};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=bi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function ME(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function en(e){return br(()=>{let t=Hp(e);return $p(t),t})}function Or(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 Hp(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:_E(e.inputs,t),outputs:ME(e.outputs),debugInfo:null}}function $p(e){e.features?.forEach(t=>t(e))}function Wd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function SE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function NE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=AE,n.hostDirectives=r?e.map(gc):[e]):r?n.hostDirectives.unshift(...e.map(gc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function AE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Up(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ne(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Up(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)qd(gc(i),t,n)}else qd(r,t,n)}function qd(e,t,n){let r=Ro(e.directive);xE(r.declaredInputs,e.inputs),Up(r,t,n),n.set(r,e),t.push(r)}function gc(e){return typeof e=="function"?{directive:Z(e),inputs:_e,outputs:_e}:{directive:Z(e.directive),inputs:Zd(e.inputs),outputs:Zd(e.outputs)}}function Zd(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function xE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function RE(e){return Object.getPrototypeOf(e.prototype).constructor}function zp(e){let t=RE(e.type),n=!0,r=[e];for(;t;){let o;if(Ne(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ja(e.inputs),s.declaredInputs=ja(e.declaredInputs),s.outputs=ja(e.outputs);let a=o.hostBindings;a&&LE(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&FE(e,c),u&&PE(e,u),OE(e,o),El(e.outputs,o.outputs),Ne(o)&&o.data.animation){let l=e.data;l.animation=(l.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===zp&&(n=!1)}}t=Object.getPrototypeOf(t)}kE(r)}function OE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function kE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=hr(o.hostAttrs,n=hr(n,o.hostAttrs))}}function ja(e){return e===_e?{}:e===ae?[]:e}function FE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function PE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function LE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Gp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=hr(e.mergedAttrs,e.attrs);let l=e.tView=kc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),En(e,!1);let c=BE(n,t,e,r);Wo()&&Vc(n,t,c,e),wn(c,t);let u=Ip(c,t,c,e);t[r+L]=u,Pc(t,u),dE(u,e,t)}function jE(e,t,n,r,o,i,s,a,c,u,l){let d=n+L,p;return t.firstCreatePass?(p=Nr(t,d,4,s||null,a||null),Vo()&&Sp(t,e,p,$e(t.consts,u),$c),cf(t,p)):p=t.data[d],Gp(p,e,t,n,r,o,i,c),yn(p)&&Si(t,e,p),u!=null&&Ni(e,p,l),p}function Cr(e,t,n,r,o,i,s,a,c,u,l){let d=n+L,p;if(t.firstCreatePass){if(p=Nr(t,d,4,s||null,a||null),u!=null){let f=$e(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Gp(p,e,t,n,r,o,i,c),u!=null&&Ni(e,p,l),p}function Wp(e,t,n,r,o,i,s,a){let c=E(),u=V(),l=$e(u.consts,i);return jE(c,u,e,t,n,r,o,l,void 0,s,a),Wp}var BE=VE;function VE(e,t,n,r){return sr(!0),t[P].createComment("")}var HE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function qp(e){return typeof e=="function"&&e[ie]!==void 0}function Qc(e){return qp(e)&&typeof e.set=="function"}var Zp=new b("");function kr(e){return!!e&&typeof e.then=="function"}function ki(e){return!!e&&typeof e.subscribe=="function"}var Kc=new b("");function $E(e){return Pt([{provide:Kc,multi:!0,useValue:e}])}var Jc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(Kc,{optional:!0})??[];injector=m(Le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=hn(this.injector,o);if(kr(i))n.push(i);else if(ki(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yp=new b("");function Qp(){Ms(()=>{let e="";throw new D(600,e)})}function Kp(e){return e.isBoundToModule}var UE=10;var Fi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(ze);afterRenderManager=m(jc);zonelessEnabled=m(cr);rootEffectScheduler=m(Zo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new oe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(Wt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(pe(n=>!n))}constructor(){m(Xt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Le.NULL){return this._injector.get(be).run(()=>{O(N.BootstrapComponentStart);let s=n instanceof xi;if(!this._injector.get(Jc).done){let h="";throw new D(405,h)}let c;s?c=n:c=this._injector.get(Ar).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Kp(c)?void 0:this._injector.get(Kt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Zp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),fr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(N.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(N.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ti.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw O(N.ChangeDetectionEnd),new D(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),O(N.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<UE;){O(N.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{O(N.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!or(o))continue;let i=r&&!this.zonelessEnabled?0:1;yp(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>or(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;fr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Yp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Jp(e,t,n,r){let o=E(),i=Gt();if(Ee(o,i,t)){let s=V(),a=Go();cD(a,o,e,t,n,r)}return Jp}var $A=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var mc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ba(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function zE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){C(r);let u=t.length-1;for(C(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Ba(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],v=Ba(a,f,u,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),g=n(a,f),U=n(s,d);if(Object.is(U,g)){let Fe=n(u,h);Object.is(Fe,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new yi,i??=Qd(e,s,a,n),yc(e,o,s,U))e.updateValue(s,d),s++,a++;else if(i.has(U))o.set(y,e.detach(s)),a--;else{let Fe=e.create(s,t[s]);e.attach(s,Fe),s++,a++}}for(;s<=u;)Yd(e,o,n,s,t[s]),s++}else if(t!=null){C(r);let u=t[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Ba(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new yi,i??=Qd(e,s,a,n);let h=n(s,p);if(yc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!l.done;)Yd(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function yc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Yd(e,t,n,r,o){if(yc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Qd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var yi=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function GE(e,t,n,r,o,i,s,a){Dt("NgControlFlow");let c=E(),u=V(),l=$e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,256,s,a),Xc}function Xc(e,t,n,r,o,i,s,a){Dt("NgControlFlow");let c=E(),u=V(),l=$e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,512,s,a),Xc}function WE(e,t){Dt("NgControlFlow");let n=E(),r=Gt(),o=n[r]!==ee?n[r]:-1,i=o!==-1?vi(n,L+o):void 0,s=0;if(Ee(n,r,e)){let a=C(null);try{if(i!==void 0&&wp(i,s),e!==-1){let c=L+e,u=vi(n,c),l=Ic(n[I],c),d=Tp(u,l,n),p=Mr(n,l,t,{dehydratedView:d});Sr(u,p,s,Tn(l,d))}}finally{C(a)}}else if(i!==void 0){let a=Cp(i,s);a!==void 0&&(a[z]=t)}}var vc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function qE(e,t){return t}var Dc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ZE(e,t,n,r,o,i,s,a,c,u,l,d,p){Dt("NgControlFlow");let f=E(),h=V(),v=c!==void 0,y=E(),g=a?s.bind(y[le][z]):s,U=new Dc(v,g);y[L+e]=U,Cr(f,h,e+1,t,n,r,o,$e(h.consts,i),256),v&&Cr(f,h,e+2,c,u,l,d,$e(h.consts,p),512)}var Ec=class extends mc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-$}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Lt];this.needsIndexUpdate||=t!==this.length,Sr(this.lContainer,n,t,Tn(this.templateTNode,r)),QE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,KE(this.lContainer,t),JE(this.lContainer,t)}create(t,n){let r=di(this.lContainer,this.templateTNode.tView.ssrId);return Mr(this.hostLView,this.templateTNode,new vc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){_i(t[I],t)}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[z].$index=t}getLView(t){return XE(this.lContainer,t)}};function YE(e){let t=C(null),n=xe();try{let r=E(),o=r[I],i=r[n],s=n+1,a=vi(r,s);if(i.liveCollection===void 0){let u=Ic(o,s);i.liveCollection=new Ec(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(zE(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Gt(),l=c.length===0;if(Ee(r,u,l)){let d=n+2,p=vi(r,d);if(l){let f=Ic(o,d),h=Tp(p,f,r),v=Mr(r,f,void 0,{dehydratedView:h});Sr(p,v,0,Tn(f,h))}else o.firstUpdatePass&&RD(p),wp(p,0)}}}finally{C(t)}}function vi(e,t){return e[t]}function QE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[Ht]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Je];Bv(i,o),mr.delete(r[Xe]),o.detachedLeaveAnimationFns=void 0}}function KE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[Ht]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function JE(e,t){return vr(e,t)}function XE(e,t){return Cp(e,t)}function Ic(e,t){return rr(e,t)}function Xp(e,t,n){let r=E(),o=Gt();if(Ee(r,o,t)){let i=V(),s=Go();up(s,r,e,t,r[P],n)}return Xp}function Cc(e,t,n,r,o){Uc(t,e,n,o?"class":"style",r)}function eu(e,t,n,r){let o=E(),i=o[I],s=e+L,a=i.firstCreatePass?Wc(s,o,2,t,$c,Vo(),n,r):i.data[s];if(lp(a,o,e,t,eI),yn(a)){let c=o[I];Si(c,o,a),Ac(c,a,o)}return r!=null&&Ni(o,a),eu}function tu(){let e=V(),t=X(),n=dp(t);return e.firstCreatePass&&qc(e,n),Wl(n)&&ql(),Gl(),n.classesWithoutHost!=null&&ay(n)&&Cc(e,n,E(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&cy(n)&&Cc(e,n,E(),n.stylesWithoutHost,!1),tu}function eh(e,t,n,r){return eu(e,t,n,r),tu(),eh}var eI=(e,t,n,r,o)=>(sr(!0),Hf(t[P],r,ud()));function nu(e,t,n){let r=E(),o=r[I],i=e+L,s=o.firstCreatePass?Wc(i,r,8,"ng-container",$c,Vo(),t,n):o.data[i];if(lp(s,r,e,"ng-container",tI),yn(s)){let a=r[I];Si(a,r,s),Ac(a,s,r)}return n!=null&&Ni(r,s),nu}function ru(){let e=V(),t=X(),n=dp(t);return e.firstCreatePass&&qc(e,n),ru}function th(e,t,n){return nu(e,t,n),ru(),th}var tI=(e,t,n,r,o)=>(sr(!0),lv(t[P],""));function nI(){return E()}var lr=void 0;function rI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var oI=["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"]],lr,[["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"]],lr,[["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}",lr,lr,lr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",rI],pr={};function ou(e,t,n){typeof t!="string"&&(n=t,t=e[H.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),pr[t]=e,n&&(pr[t][H.ExtraData]=n)}function me(e){let t=iI(e),n=Kd(t);if(n)return n;let r=t.split("-")[0];if(n=Kd(r),n)return n;if(r==="en")return oI;throw new D(701,!1)}function Kd(e){return e in pr||(pr[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),pr[e]}var H=(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})(H||{});function iI(e){return e.toLowerCase().replace(/_/g,"-")}var Fr="en-US";var sI=Fr;function nh(e){typeof e=="string"&&(sI=e.toLowerCase().replace(/_/g,"-"))}function rh(e,t,n){let r=E(),o=V(),i=X();return oh(o,r,r[P],i,e,t,n),rh}function oh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Pa(r,t,i),YD(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Pa(r,t,i),Ud(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Pa(r,t,i),Ud(r,t,d,o,o,c)}}function aI(e=1){return sd(e)}function cI(e,t){let n=null,r=bv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Yf(e,i,!0):Mv(r,i))return o}return n}function uI(e){let t=E()[le][ue];if(!t.projection){let n=e?e.length:1,r=t.projection=Sl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?cI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function lI(e,t=0,n,r,o,i){let s=E(),a=V(),c=r?e+1:null;c!==null&&Cr(s,a,c,r,o,i,null,n);let u=Nr(a,L+e,16,null,n||null);u.projection===null&&(u.projection=t),Ca();let d=!s[Lt]||Da();s[le][ue].projection[u.projection]===null&&c!==null?dI(s,a,c):d&&!Ii(u)&&Qv(a,s,u)}function dI(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=di(i,o.tView.ssrId),a=Mr(e,o,void 0,{dehydratedView:s});Sr(i,a,0,Tn(o,s))}function ih(e,t,n,r){return DE(e,t,n,r),ih}function sh(e,t,n){return vE(e,t,n),sh}function fI(e){let t=E(),n=V(),r=Ta();$o(r+1);let o=Yc(n,r);if(e.dirty&&jl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=CE(t,r);e.reset(i,Cy),e.notifyOnChanges()}return!0}return!1}function pI(){return yE(E(),Ta())}function hI(e){let t=Kl();return Dn(t,L+e)}function Jo(e,t){return e<<17|t<<2}function Jt(e){return e>>17&32767}function gI(e){return(e&2)==2}function mI(e,t){return e&131071|t<<17}function wc(e){return e|2}function _n(e){return(e&131068)>>2}function Va(e,t){return e&-131069|t<<2}function yI(e){return(e&1)===1}function bc(e){return e|1}function vI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Jt(s),c=_n(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||fn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Jt(e[a+1]);e[r+1]=Jo(p,a),p!==0&&(e[p+1]=Va(e[p+1],r)),e[a+1]=mI(e[a+1],r)}else e[r+1]=Jo(a,0),a!==0&&(e[a+1]=Va(e[a+1],r)),a=r;else e[r+1]=Jo(c,0),a===0?a=r:e[c+1]=Va(e[c+1],r),c=r;u&&(e[r+1]=wc(e[r+1])),Jd(e,l,r,!0),Jd(e,l,r,!1),DI(t,l,e,r,i),s=Jo(a,c),i?t.classBindings=s:t.styleBindings=s}function DI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&fn(i,t)>=0&&(n[r+1]=bc(n[r+1]))}function Jd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Jt(o):_n(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];EI(c,t)&&(a=!0,e[s+1]=r?bc(u):wc(u)),s=r?Jt(u):_n(u)}a&&(e[n+1]=r?wc(o):bc(o))}function EI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?fn(e,t)>=0:!1}var Q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ah(e){return e.substring(Q.key,Q.keyEnd)}function II(e){return e.substring(Q.value,Q.valueEnd)}function CI(e){return lh(e),ch(e,Mn(e,0,Q.textEnd))}function ch(e,t){let n=Q.textEnd;return n===t?-1:(t=Q.keyEnd=bI(e,Q.key=t,n),Mn(e,t,n))}function wI(e){return lh(e),uh(e,Mn(e,0,Q.textEnd))}function uh(e,t){let n=Q.textEnd,r=Q.key=Mn(e,t,n);return n===r?-1:(r=Q.keyEnd=TI(e,r,n),r=Xd(e,r,n,58),r=Q.value=Mn(e,r,n),r=Q.valueEnd=_I(e,r,n),Xd(e,r,n,59))}function lh(e){Q.key=0,Q.keyEnd=0,Q.value=0,Q.valueEnd=0,Q.textEnd=e.length}function Mn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function TI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Xd(e,t,n,r){return t=Mn(e,t,n),t<n&&t++,t}function _I(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ef(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ef(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ef(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function dh(e,t,n){return ph(e,t,n,!1),dh}function fh(e,t){return ph(e,t,null,!0),fh}function MI(e){hh(yh,SI,e,!1)}function SI(e,t){for(let n=wI(t);n>=0;n=uh(t,n))yh(e,ah(t),II(t))}function NI(e){hh(PI,AI,e,!0)}function AI(e,t){for(let n=CI(t);n>=0;n=ch(t,n))er(e,ah(t),!0)}function ph(e,t,n,r){let o=E(),i=V(),s=ir(2);if(i.firstUpdatePass&&mh(i,e,s,r),t!==ee&&Ee(o,s,t)){let a=i.data[xe()];vh(i,a,o,o[P],e,o[s+1]=jI(t,n),r,s)}}function hh(e,t,n,r){let o=V(),i=ir(2);o.firstUpdatePass&&mh(o,null,i,r);let s=E();if(n!==ee&&Ee(s,i,n)){let a=o.data[xe()];if(Dh(a,r)&&!gh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=No(c,n||"")),Cc(o,a,s,n,r)}else LI(o,a,s,s[P],s[i+1],s[i+1]=FI(e,t,n),r,i)}}function gh(e,t){return t>=e.expandoStartIndex}function mh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xe()],s=gh(e,n);Dh(i,r)&&t===null&&!s&&(t=!1),t=xI(o,i,t,r),vI(o,i,t,n,s,r)}}function xI(e,t,n,r){let o=nd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ha(null,e,t,n,r),n=wr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ha(o,e,t,n,r),i===null){let c=RI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ha(null,e,t,c[1],r),c=wr(c,t.attrs,r),OI(e,t,r,c))}else i=kI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function RI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_n(r)!==0)return e[Jt(r)]}function OI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Jt(o)]=r}function kI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=wr(r,s,n)}return wr(r,t.attrs,n)}function Ha(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=wr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function wr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),er(e,s,n?!0:t[++i]))}return e===void 0?null:e}function FI(e,t,n){if(n==null||n==="")return ae;let r=[],o=vt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function yh(e,t,n){er(e,t,vt(n))}function PI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&er(e,r,n)}function LI(e,t,n,r,o,i,s,a){o===ee&&(o=ae);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,v;l===d?(c+=2,u+=2,p!==f&&(h=d,v=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,v=f),h!==null&&vh(e,t,n,r,h,v,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function vh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=yI(u)?tf(c,t,n,o,_n(u),s):void 0;if(!Di(l)){Di(i)||gI(u)&&(i=tf(c,null,n,o,a,s));let d=fa(xe(),n);Jv(r,s,d,o,i)}}function tf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ee&&(p=d?ae:void 0);let f=d?Po(p,r):l===r?p:void 0;if(u&&!Di(f)&&(f=Po(c,r)),Di(f)&&(a=f,s))return a;let h=e[o+1];o=s?Jt(h):_n(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Po(c,r))}return a}function Di(e){return e!==void 0}function jI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ye(vt(e)))),e}function Dh(e,t){return(e.flags&(t?8:16))!==0}function BI(e,t=""){let n=E(),r=V(),o=e+L,i=r.firstCreatePass?Nr(r,o,1,t,null):r.data[o],s=VI(r,n,i,t,e);n[o]=s,Wo()&&Vc(r,n,s,i),En(i,!1)}var VI=(e,t,n,r,o)=>(sr(!0),cv(t[P],r));function Eh(e,t,n,r=""){return Ee(e,Gt(),n)?t+Te(n)+r:ee}function HI(e,t,n,r,o,i=""){let s=ba(),a=Er(e,s,n,o);return ir(2),a?t+Te(n)+r+Te(o)+i:ee}function $I(e,t,n,r,o,i,s,a=""){let c=ba(),u=xp(e,c,n,o,s);return ir(3),u?t+Te(n)+r+Te(o)+i+Te(s)+a:ee}function Ih(e){return iu("",e),Ih}function iu(e,t,n){let r=E(),o=Eh(r,e,t,n);return o!==ee&&su(r,xe(),o),iu}function Ch(e,t,n,r,o){let i=E(),s=HI(i,e,t,n,r,o);return s!==ee&&su(i,xe(),s),Ch}function wh(e,t,n,r,o,i,s){let a=E(),c=$I(a,e,t,n,r,o,i,s);return c!==ee&&su(a,xe(),c),wh}function su(e,t,n){let r=fa(t,e);uv(e[P],r,n)}function bh(e,t,n){Qc(t)&&(t=t());let r=E(),o=Gt();if(Ee(r,o,t)){let i=V(),s=Go();up(s,r,e,t,r[P],n)}return bh}function UI(e,t){let n=Qc(e);return n&&e.set(t),n}function Th(e,t){let n=E(),r=V(),o=X();return oh(r,n,n[P],o,e,t),Th}function zI(e,t,n=""){return Eh(E(),e,t,n)}function nf(e,t,n){let r=V();r.firstCreatePass&&_h(t,r.data,r.blueprint,Ne(e),n)}function _h(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)_h(e[i],t,n,r,o);else{let i=V(),s=E(),a=X(),c=xt(e)?e:Z(e.provide),u=sa(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(xt(e)||!e.multi){let f=new Zt(u,o,G,null),h=Ua(c,t,o?l:l+p,d);h===-1?(Ga(ai(a,s),i,c),$a(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ua(c,t,l+p,d),h=Ua(c,t,l,l+p),v=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!v){Ga(ai(a,s),i,c);let g=qI(o?WI:GI,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=g),$a(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)}else{let g=Mh(n[o?h:f],u,!o&&r);$a(i,e,f>-1?f:h,g)}!o&&r&&y&&n[h].componentProviders++}}}function $a(e,t,n,r){let o=xt(t),i=kl(t);if(o||i){let c=(i?Z(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Mh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ua(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function GI(e,t,n,r,o){return Tc(this.multi,[])}function WI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=gr(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),Tc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Tc(i,s);return s}function Tc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function qI(e,t,n,r,o,i){let s=new Zt(e,n,G,null);return s.multi=[],s.index=t,s.componentProviders=0,Mh(s,o,r&&!n),s}function ZI(e,t){return n=>{n.providersResolver=(r,o)=>nf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>nf(r,o?o(t):t,!0))}}function YI(e,t){let n=Ue()+e,r=E();return r[n]===ee?Rr(r,n,t()):qD(r,n)}function QI(e,t,n){return Sh(E(),Ue(),e,t,n)}function KI(e,t,n,r){return Nh(E(),Ue(),e,t,n,r)}function JI(e,t,n,r,o){return Ah(E(),Ue(),e,t,n,r,o)}function XI(e,t,n,r,o,i,s){return xh(E(),Ue(),e,t,n,r,o,i)}function Pi(e,t){let n=e[t];return n===ee?void 0:n}function Sh(e,t,n,r,o,i){let s=t+n;return Ee(e,s,o)?Rr(e,s+1,i?r.call(i,o):r(o)):Pi(e,s+1)}function Nh(e,t,n,r,o,i,s){let a=t+n;return Er(e,a,o,i)?Rr(e,a+2,s?r.call(s,o,i):r(o,i)):Pi(e,a+2)}function Ah(e,t,n,r,o,i,s,a){let c=t+n;return xp(e,c,o,i,s)?Rr(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Pi(e,c+3)}function xh(e,t,n,r,o,i,s,a,c){let u=t+n;return ZD(e,u,o,i,s,a)?Rr(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Pi(e,u+4)}function eC(e,t){let n=V(),r,o=e+L;n.firstCreatePass?(r=tC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ut(r.type,!0)),s,a=se(G);try{let c=si(!1),u=i();return si(c),pa(n,E(),o,u),u}finally{se(a)}}function tC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function nC(e,t,n){let r=e+L,o=E(),i=Dn(o,r);return Li(o,r)?Sh(o,Ue(),t,i.transform,n,i):i.transform(n)}function rC(e,t,n,r){let o=e+L,i=E(),s=Dn(i,o);return Li(i,o)?Nh(i,Ue(),t,s.transform,n,r,s):s.transform(n,r)}function oC(e,t,n,r,o){let i=e+L,s=E(),a=Dn(s,i);return Li(s,i)?Ah(s,Ue(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function iC(e,t,n,r,o,i){let s=e+L,a=E(),c=Dn(a,s);return Li(a,s)?xh(a,Ue(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function Li(e,t){return e[I].data[t].pure}function sC(e,t){return Ai(e,t)}var Ei=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},aC=(()=>{class e{compileModuleSync(n){return new mi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ks(n),i=qf(o.declarations).reduce((s,a)=>{let c=Ke(a);return c&&s.push(new Qt(c)),s},[]);return new Ei(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Rh=(()=>{class e{applicationErrorHandler=m(ze);appRef=m(Fi);taskService=m(Wt);ngZone=m(be);zonelessEnabled=m(cr);tracing=m(Xt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Ra,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{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?pd:Na;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(Yn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Oh(){return[{provide:Qe,useExisting:Rh},{provide:be,useClass:Qn},{provide:cr,useValue:!0}]}function cC(){return typeof $localize<"u"&&$localize.locale||Fr}var Pr=new b("",{factory:()=>m(Pr,{optional:!0,skipSelf:!0})||cC()});function uC(e,t){return Do(e,t?.equal)}var Vh=Symbol("InputSignalNode#UNSET"),yC=J(W({},Eo),{transformFn:void 0,applyValueToInputSignal(e,t){zn(e,t)}});function Hh(e,t){let n=Object.create(yC);n.value=e,n.transformFn=t?.transform;function r(){if(Hn(n),n.value===Vh){let o=null;throw new D(-950,o)}return n.value}return r[ie]=n,r}var kh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Sc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Fh(e,t){return Hh(e,t)}function vC(e){return Hh(Vh,e)}var NF=(Fh.required=vC,Fh);var au=new b(""),DC=new b("");function Lr(e){return!e.moduleRef}function EC(e){let t=Lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(be);return n.run(()=>{Lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(au);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(au);s.add(i),e.moduleRef.onDestroy(()=>{fr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return CC(r,n,()=>{let i=t.get(Wt),s=i.add(),a=t.get(Jc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Pr,Fr);if(nh(c||Fr),!t.get(DC,!0))return Lr(e)?t.get(Fi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lr(e)){let l=t.get(Fi);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return IC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var IC;function CC(e,t,n){try{let r=n();return kr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ji=null;function wC(e=[],t){return Le.create({name:t,providers:[{provide:ia,useValue:"platform"},{provide:au,useValue:new Set([()=>ji=null])},...e]})}function bC(e=[]){if(ji)return ji;let t=wC(e);return ji=t,Qp(),TC(t),t}function TC(e){let t=e.get(_f,null);hn(e,()=>{t?.forEach(n=>n())})}var _C=1e4;var AF=_C-1e3;var gu=(()=>{class e{static __NG_ELEMENT_ID__=MC}return e})();function MC(e){return SC(X(),E(),(e&16)===16)}function SC(e,t,n){if(ht(e)&&!n){let r=De(e.index,t);return new mt(r,r)}else if(e.type&175){let r=t[le];return new mt(r,t)}return null}var cu=class{constructor(){}supports(t){return Zc(t)}create(t){return new uu(t)}},NC=(e,t)=>t,uu=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||NC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ph(r,o,i)?n:r,a=Ph(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Zc(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Ap(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new lu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Bi),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Bi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},lu=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},du=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Bi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new du,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ph(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var fu=class{constructor(){}supports(t){return t instanceof Map||Ri(t)}create(){return new pu}},pu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ri(t)))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new hu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},hu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Lh(){return new mu([new cu])}var mu=(()=>{class e{factories;static \u0275prov=M({token:e,providedIn:"root",factory:Lh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||Lh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function jh(){return new yu([new fu])}var yu=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:jh});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||jh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D(901,!1)}}return e})();function xF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(N.BootstrapApplicationStart);try{let i=o?.injector??bC(r),s=[Oh(),gd,...n||[]],a=new Ir({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return EC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(N.BootstrapApplicationEnd)}}function AC(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function xC(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function RF(e){let t=Ke(e);if(!t)return null;let n=new Qt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var $h=null;function Hi(){return $h}function RC(e){$h??=e}var vu=class{},It=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>m(Uh),providedIn:"platform"})}return e})(),OC=new b(""),Uh=(()=>{class e extends It{_location;_history;_doc=m(ge);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hi().getBaseHref(this._doc)}onPopState(n){let r=Hi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Hi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function $i(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function zh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Oe(e){return e&&e[0]!=="?"?`?${e}`:e}var Nn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>m(Wh),providedIn:"root"})}return e})(),Ui=new b(""),Wh=(()=>{class e extends Nn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(ge).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return $i(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Oe(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Oe(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Oe(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(F(It),F(Ui,8))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qh=(()=>{class e{_subject=new oe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=PC(zh(Gh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Oe(r))}normalize(n){return e.stripTrailingSlash(FC(this._basePath,Gh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Oe(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Oe(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Oe;static joinWithSlash=$i;static stripTrailingSlash=zh;static \u0275fac=function(r){return new(r||e)(F(Nn))};static \u0275prov=M({token:e,factory:()=>kC(),providedIn:"root"})}return e})();function kC(){return new qh(F(Nn))}function FC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Gh(e){return e.replace(/\/index.html$/,"")}function PC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var LC=(()=>{class e extends Nn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=$i(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Oe(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Oe(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(F(It),F(Ui,8))};static \u0275prov=M({token:e,factory:e.\u0275fac})}return e})();var ne=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ne||{}),k=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(k||{}),fe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(fe||{}),it={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 Jh(e){return me(e)[H.LocaleId]}function Xh(e,t,n){let r=me(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function eg(e,t,n){let r=me(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function tg(e,t,n){let r=me(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function ng(e,t){let r=me(e)[H.Eras];return Ie(r,t)}function jr(e,t){let n=me(e);return Ie(n[H.DateFormat],t)}function Br(e,t){let n=me(e);return Ie(n[H.TimeFormat],t)}function Vr(e,t){let r=me(e)[H.DateTimeFormat];return Ie(r,t)}function Hr(e,t){let n=me(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===it.CurrencyDecimal)return n[H.NumberSymbols][it.Decimal];if(t===it.CurrencyGroup)return n[H.NumberSymbols][it.Group]}return r}function rg(e){if(!e[H.ExtraData])throw new D(2303,!1)}function og(e){let t=me(e);return rg(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Du(r):[Du(r[0]),Du(r[1])])}function ig(e,t,n){let r=me(e);rg(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new D(2304,!1)}function Du(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var jC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,zi={},BC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function sg(e,t,n,r){let o=ZC(e);t=ot(n,t)||t;let s=[],a;for(;t;)if(a=BC.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=cg(r,c),o=qC(o,r));let u="";return s.forEach(l=>{let d=GC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Yi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function ot(e,t){let n=Jh(e);if(zi[n]??={},zi[n][t])return zi[n][t];let r="";switch(t){case"shortDate":r=jr(e,fe.Short);break;case"mediumDate":r=jr(e,fe.Medium);break;case"longDate":r=jr(e,fe.Long);break;case"fullDate":r=jr(e,fe.Full);break;case"shortTime":r=Br(e,fe.Short);break;case"mediumTime":r=Br(e,fe.Medium);break;case"longTime":r=Br(e,fe.Long);break;case"fullTime":r=Br(e,fe.Full);break;case"short":let o=ot(e,"shortTime"),i=ot(e,"shortDate");r=Gi(Vr(e,fe.Short),[o,i]);break;case"medium":let s=ot(e,"mediumTime"),a=ot(e,"mediumDate");r=Gi(Vr(e,fe.Medium),[s,a]);break;case"long":let c=ot(e,"longTime"),u=ot(e,"longDate");r=Gi(Vr(e,fe.Long),[c,u]);break;case"full":let l=ot(e,"fullTime"),d=ot(e,"fullDate");r=Gi(Vr(e,fe.Full),[l,d]);break}return r&&(zi[n][t]=r),r}function Gi(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ke(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function VC(e,t){return ke(e,3).substring(0,t)}function q(e,t,n=0,r=!1,o=!1){return function(i,s){let a=HC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return VC(a,t);let c=Hr(s,it.MinusSign);return ke(a,t,c,r,o)}}function HC(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new D(2301,!1)}}function j(e,t,n=ne.Format,r=!1){return function(o,i){return $C(o,i,e,t,n,r)}}function $C(e,t,n,r,o,i){switch(n){case 2:return tg(t,o,r)[e.getMonth()];case 1:return eg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=og(t),l=ig(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,v=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(v&&y)return!0}else if(v||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Xh(t,o,r)[s<12?0:1];case 3:return ng(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new D(2302,!1)}}function Wi(e){return function(t,n,r){let o=-1*r,i=Hr(n,it.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ke(s,2,i)+ke(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ke(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ke(s,2,i)+":"+ke(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ke(s,2,i)+":"+ke(Math.abs(o%60),2,i);default:throw new D(2310,!1)}}}var UC=0,Zi=4;function zC(e){let t=Yi(e,UC,1).getDay();return Yi(e,0,1+(t<=Zi?Zi:Zi+7)-t)}function ag(e){let t=e.getDay(),n=t===0?-3:Zi-t;return Yi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Eu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=ag(n),s=zC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ke(o,e,Hr(r,it.MinusSign))}}function qi(e,t=!1){return function(n,r){let i=ag(n).getFullYear();return ke(i,e,Hr(r,it.MinusSign),t)}}var Iu={};function GC(e){if(Iu[e])return Iu[e];let t;switch(e){case"G":case"GG":case"GGG":t=j(3,k.Abbreviated);break;case"GGGG":t=j(3,k.Wide);break;case"GGGGG":t=j(3,k.Narrow);break;case"y":t=q(0,1,0,!1,!0);break;case"yy":t=q(0,2,0,!0,!0);break;case"yyy":t=q(0,3,0,!1,!0);break;case"yyyy":t=q(0,4,0,!1,!0);break;case"Y":t=qi(1);break;case"YY":t=qi(2,!0);break;case"YYY":t=qi(3);break;case"YYYY":t=qi(4);break;case"M":case"L":t=q(1,1,1);break;case"MM":case"LL":t=q(1,2,1);break;case"MMM":t=j(2,k.Abbreviated);break;case"MMMM":t=j(2,k.Wide);break;case"MMMMM":t=j(2,k.Narrow);break;case"LLL":t=j(2,k.Abbreviated,ne.Standalone);break;case"LLLL":t=j(2,k.Wide,ne.Standalone);break;case"LLLLL":t=j(2,k.Narrow,ne.Standalone);break;case"w":t=Eu(1);break;case"ww":t=Eu(2);break;case"W":t=Eu(1,!0);break;case"d":t=q(2,1);break;case"dd":t=q(2,2);break;case"c":case"cc":t=q(7,1);break;case"ccc":t=j(1,k.Abbreviated,ne.Standalone);break;case"cccc":t=j(1,k.Wide,ne.Standalone);break;case"ccccc":t=j(1,k.Narrow,ne.Standalone);break;case"cccccc":t=j(1,k.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=j(1,k.Abbreviated);break;case"EEEE":t=j(1,k.Wide);break;case"EEEEE":t=j(1,k.Narrow);break;case"EEEEEE":t=j(1,k.Short);break;case"a":case"aa":case"aaa":t=j(0,k.Abbreviated);break;case"aaaa":t=j(0,k.Wide);break;case"aaaaa":t=j(0,k.Narrow);break;case"b":case"bb":case"bbb":t=j(0,k.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=j(0,k.Wide,ne.Standalone,!0);break;case"bbbbb":t=j(0,k.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=j(0,k.Abbreviated,ne.Format,!0);break;case"BBBB":t=j(0,k.Wide,ne.Format,!0);break;case"BBBBB":t=j(0,k.Narrow,ne.Format,!0);break;case"h":t=q(3,1,-12);break;case"hh":t=q(3,2,-12);break;case"H":t=q(3,1);break;case"HH":t=q(3,2);break;case"m":t=q(4,1);break;case"mm":t=q(4,2);break;case"s":t=q(5,1);break;case"ss":t=q(5,2);break;case"S":t=q(6,1);break;case"SS":t=q(6,2);break;case"SSS":t=q(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Wi(0);break;case"ZZZZZ":t=Wi(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Wi(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Wi(2);break;default:return null}return Iu[e]=t,t}function cg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function WC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function qC(e,t,n){let o=e.getTimezoneOffset(),i=cg(t,o);return WC(e,-1*(i-o))}function ZC(e){if(Zh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Yi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(jC))return YC(r)}let t=new Date(e);if(!Zh(t))throw new D(2311,!1);return t}function YC(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Zh(e){return e instanceof Date&&!isNaN(e.valueOf())}var Cu=/\s+/,Yh=[],QC=(()=>{class e{_ngEl;_renderer;initialClasses=Yh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Cu):Yh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Cu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(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)(G(nt),G(xr))};static \u0275dir=en({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Qi=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ug=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Qi(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Qh(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Qh(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(G(Et),G(yt),G(mu))};static \u0275dir=en({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Qh(e,t){e.context.$implicit=t.item}var KC=(()=>{class e{_viewContainer;_context=new Ki;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Kh(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Kh(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(G(Et),G(yt))};static \u0275dir=en({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ki=class{$implicit=null;ngIf=null};function Kh(e,t){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}var JC=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:bn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(G(nt),G(yu),G(xr))};static \u0275dir=en({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),XC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(G(Et))};static \u0275dir=en({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[_c]})}return e})();function Tu(e,t){return new D(2100,!1)}var wu=class{createSubscription(t,n,r){return ur(()=>t.subscribe({next:n,error:r}))}dispose(t){ur(()=>t.unsubscribe())}},bu=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},ew=new bu,tw=new wu,nw=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=m(ze);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(kr(n))return ew;if(ki(n))return tw;throw Tu(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(G(gu,16))};static \u0275pipe=Or({name:"async",type:e,pure:!1})}return e})();var rw="mediumDate",lg=new b(""),dg=new b(""),ow=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??rw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sg(n,s,i||this.locale,a)}catch(s){throw Tu(e,s.message)}}static \u0275fac=function(r){return new(r||e)(G(Pr,16),G(lg,24),G(dg,24))};static \u0275pipe=Or({name:"date",type:e,pure:!0})}return e})();var iw=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Tu(e,n);return n.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Or({name:"slice",type:e,pure:!1})}return e})();var sw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Oi({type:e});static \u0275inj=Kn({})}return e})();function _u(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $r=class{};function YP(e,t,n){return ou(e,t,n)}var aw="browser",cw="server";function QP(e){return e===aw}function KP(e){return e===cw}var JP=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>new Mu(m(ge),window)})}return e})(),Mu=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(J(W({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=uw(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(kt(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(J(W({},n),{left:o-s[0],top:i-s[1]}))}};function uw(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Ct=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Xi=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},es=class{encodeKey(t){return fg(t)}encodeValue(t){return fg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function lw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var dw=/%(\d[a-f0-9])/gi,fw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fg(e){return encodeURIComponent(e).replace(dw,(t,n)=>fw[n]??t)}function Ji(e){return`${e}`}var st=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new es,t.fromString){if(t.fromObject)throw new D(2805,!1);this.map=lw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Ji):[Ji(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ji(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Ji(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function pw(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function hg(e){return typeof Blob<"u"&&e instanceof Blob}function gg(e){return typeof FormData<"u"&&e instanceof FormData}function hw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var mg="Content-Type",yg="Accept",vg="text/plain",Dg="application/json",gw=`${Dg}, ${vg}, */*`,An=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(pw(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new D(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ct,this.context??=new Xi,!this.params)this.params=new st,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||pg(this.body)||hg(this.body)||gg(this.body)||hw(this.body)?this.body:this.body instanceof st?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||gg(this.body)?null:hg(this.body)?this.body.type||null:pg(this.body)?null:typeof this.body=="string"?vg:this.body instanceof st?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Dg:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,v=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,g=t.withCredentials??this.withCredentials,U=t.reportProgress??this.reportProgress,Fe=t.headers||this.headers,K=t.params||this.params,On=t.context??this.context;return t.setHeaders!==void 0&&(Fe=Object.keys(t.setHeaders).reduce((kn,wt)=>kn.set(wt,t.setHeaders[wt]),Fe)),t.setParams&&(K=Object.keys(t.setParams).reduce((kn,wt)=>kn.set(wt,t.setParams[wt]),K)),new e(n,r,y,{params:K,headers:Fe,context:On,reportProgress:U,responseType:o,withCredentials:g,transferCache:h,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},tn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(tn||{}),Rn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ct,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},ts=class e extends Rn{constructor(t={}){super(t)}type=tn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ur=class e extends Rn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=tn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},xn=class extends Rn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},mw=200,yw=204;var vw=new b("");var Dw=/^\)\]\}',?\n/;var Nu=(()=>{class e{xhrFactory;tracingService=m(Xt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return ao(null).pipe(co(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,g)=>s.setRequestHeader(y,g.join(","))),n.headers.has(yg)||s.setRequestHeader(yg,gw),!n.headers.has(mg)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(mg,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",g=new Ct(s.getAllResponseHeaders()),U=s.responseURL||n.url;return c=new ts({headers:g,status:s.status,statusText:y,url:U}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:g,statusText:U,url:Fe}=u(),K=null;g!==yw&&(K=typeof s.response>"u"?s.responseText:s.response),g===0&&(g=K?mw:0);let On=g>=200&&g<300;if(n.responseType==="json"&&typeof K=="string"){let kn=K;K=K.replace(Dw,"");try{K=K!==""?JSON.parse(K):null}catch(wt){K=kn,On&&(On=!1,K={error:wt,text:K})}}On?(i.next(new Ur({body:K,headers:y,status:g,statusText:U,url:Fe||void 0})),i.complete()):i.error(new xn({error:K,headers:y,status:g,statusText:U,url:Fe||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:g}=u(),U=new xn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});i.error(U)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:g}=u(),U=new xn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:g||void 0});i.error(U)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let g={type:tn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(g.total=y.total),n.responseType==="text"&&s.responseText&&(g.partialText=s.responseText),i.next(g)}),v=this.maybePropagateTrace(y=>{let g={type:tn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(g.total=y.total),i.next(g)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:tn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(F($r))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ew(e,t){return t(e)}function Iw(e,t,n){return(r,o)=>hn(n,()=>t(r,i=>e(i,o)))}var Au=new b("",{factory:()=>[]}),Eg=new b(""),Ig=new b("",{factory:()=>!0});var xu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=F(Nu),o},providedIn:"root"})}return e})();var ns=(()=>{class e{backend;injector;chain=null;pendingTasks=m(qo);contributeToStability=m(Ig);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Au),...this.injector.get(Eg,[])]));this.chain=r.reduceRight((o,i)=>Iw(o,i,this.injector),Ew)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(gs(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(F(xu),F(ce))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ru=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=F(ns),o},providedIn:"root"})}return e})();function Su(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Cg=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof An)i=n;else{let c;o.headers instanceof Ct?c=o.headers:c=new Ct(o.headers);let u;o.params&&(o.params instanceof st?u=o.params:u=new st({fromObject:o.params})),i=new An(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=ao(i).pipe(ps(c=>this.handler.handle(c)));if(n instanceof An||o.observe==="events")return s;let a=s.pipe(Vn(c=>c instanceof Ur));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(pe(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new D(2806,!1);return c.body}));case"blob":return a.pipe(pe(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new D(2807,!1);return c.body}));case"text":return a.pipe(pe(c=>{if(c.body!==null&&typeof c.body!="string")throw new D(2808,!1);return c.body}));default:return a.pipe(pe(c=>c.body))}case"response":return a;default:throw new D(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new st().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Su(o,r))}post(n,r,o={}){return this.request("POST",n,Su(o,r))}put(n,r,o={}){return this.request("PUT",n,Su(o,r))}static \u0275fac=function(r){return new(r||e)(F(Ru))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cw=new b("",{factory:()=>!0}),ww="XSRF-TOKEN",bw=new b("",{factory:()=>ww}),Tw="X-XSRF-TOKEN",_w=new b("",{factory:()=>Tw}),Mw=(()=>{class e{cookieName=m(bw);doc=m(ge);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=_u(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=F(Mw),o},providedIn:"root"})}return e})();function Sw(e,t){if(!m(Cw)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=m(It).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}let n=m(wg).getToken(),r=m(_w);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var Ou=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(Ou||{});function Nw(e,t){return{\u0275kind:e,\u0275providers:t}}function Aw(...e){let t=[Cg,ns,{provide:Ru,useExisting:ns},{provide:xu,useFactory:()=>m(vw,{optional:!0})??m(Nu)},{provide:Au,useValue:Sw,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Pt(t)}function xw(e){return Nw(Ou.Interceptors,e.map(t=>({provide:Au,useValue:t,multi:!0})))}export{re as a,Mg as b,S as c,oe as d,Ln as e,jn as f,ct as g,ao as h,jg as i,Bg as j,Bn as k,pe as l,qg as m,Mt as n,fs as o,go as p,Yg as q,Qg as r,Vn as s,ls as t,ps as u,hs as v,gs as w,Jg as x,Xg as y,em as z,tm as A,co as B,nm as C,Xu as D,D as E,kt as F,Ao as G,M as H,Kn as I,fm as J,b as K,F as L,m as M,Pt as N,ia as O,ce as P,hn as Q,Zl as R,Yl as S,ad as T,cd as U,Le as V,ge as W,et as X,Wt as Y,qe as Z,be as _,Ot as $,ze as aa,$m as ba,md as ca,zm as da,ur as ea,_c as fa,Dy as ga,Sc as ha,nt as ia,My as ja,Sy as ka,_f as la,Ay as ma,xy as na,Ry as oa,Yt as pa,vt as qa,wi as ra,Ly as sa,jy as ta,By as ua,Vy as va,Hy as wa,xc as xa,Vf as ya,_r as za,pv as Aa,Gf as Ba,Wf as Ca,yv as Da,vv as Ea,kv as Fa,bn as Ga,mr as Ha,Xt as Ia,Dt as Ja,Pv as Ka,yt as La,Dr as Ma,xr as Na,G as Oa,LD as Pa,Et as Qa,Bp as Ra,Vp as Sa,bE as Ta,Oi as Ua,en as Va,NE as Wa,zp as Xa,Wp as Ya,HE as Za,kr as _a,$E as $a,Yp as ab,Fi as bb,Jp as cb,GE as db,Xc as eb,WE as fb,qE as gb,ZE as hb,YE as ib,Xp as jb,eu as kb,tu as lb,eh as mb,nu as nb,ru as ob,th as pb,nI as qb,rh as rb,aI as sb,uI as tb,lI as ub,ih as vb,sh as wb,fI as xb,pI as yb,hI as zb,dh as Ab,fh as Bb,MI as Cb,NI as Db,BI as Eb,Ih as Fb,iu as Gb,Ch as Hb,wh as Ib,bh as Jb,UI as Kb,Th as Lb,zI as Mb,ZI as Nb,YI as Ob,QI as Pb,KI as Qb,JI as Rb,XI as Sb,eC as Tb,nC as Ub,rC as Vb,oC as Wb,iC as Xb,sC as Yb,aC as Zb,Pr as _b,uC as $b,kh as ac,NF as bc,gu as cc,xF as dc,AC as ec,xC as fc,RF as gc,Hi as hc,RC as ic,vu as jc,OC as kc,Nn as lc,Wh as mc,qh as nc,LC as oc,QC as pc,ug as qc,KC as rc,JC as sc,XC as tc,nw as uc,ow as vc,iw as wc,sw as xc,_u as yc,$r as zc,YP as Ac,aw as Bc,QP as Cc,KP as Dc,JP as Ec,Ct as Fc,st as Gc,Cg as Hc,Aw as Ic,xw as Jc};
|