@skill-map/cli 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1031 +0,0 @@
1
- import{a as m,b as P,c as yu}from"./chunk-Q7L6LLAK.js";function R(e){return typeof e=="function"}function hw(e){return R(e?.lift)}function j(e){return n=>{if(hw(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function co(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var sa=co(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
2
- ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function yi(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Ne=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){n=i instanceof sa?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lg(i)}catch(s){n=n??[],s instanceof sa?n=[...n,...s.errors]:n.push(s)}}if(n)throw new sa(n)}}add(n){var t;if(n&&n!==this)if(this.closed)lg(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&yi(t,n)}remove(n){let{_finalizers:t}=this;t&&yi(t,n),n instanceof e&&n._removeParent(this)}};Ne.EMPTY=(()=>{let e=new Ne;return e.closed=!0,e})();var vu=Ne.EMPTY;function aa(e){return e instanceof Ne||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function lg(e){R(e)?e():e.unsubscribe()}var _t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var lo={setTimeout(e,n,...t){let{delegate:r}=lo;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=lo;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ca(e){lo.setTimeout(()=>{let{onUnhandledError:n}=_t;if(n)n(e);else throw e})}function vi(){}var ug=bu("C",void 0,void 0);function dg(e){return bu("E",void 0,e)}function fg(e){return bu("N",e,void 0)}function bu(e,n,t){return{kind:e,value:n,error:t}}var hr=null;function uo(e){if(_t.useDeprecatedSynchronousErrorHandling){let n=!hr;if(n&&(hr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=hr;if(hr=null,t)throw r}}else e()}function pg(e){_t.useDeprecatedSynchronousErrorHandling&&hr&&(hr.errorThrown=!0,hr.error=e)}var gr=class extends Ne{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,aa(n)&&n.add(this)):this.destination=yw}static create(n,t,r){return new Mt(n,t,r)}next(n){this.isStopped?Du(fg(n),this):this._next(n)}error(n){this.isStopped?Du(dg(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Du(ug,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},gw=Function.prototype.bind;function Eu(e,n){return gw.call(e,n)}var Cu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){la(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){la(r)}else la(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){la(t)}}},Mt=class extends gr{constructor(n,t,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&_t.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Eu(n.next,i),error:n.error&&Eu(n.error,i),complete:n.complete&&Eu(n.complete,i)}):o=n}this.destination=new Cu(o)}};function la(e){_t.useDeprecatedSynchronousErrorHandling?pg(e):ca(e)}function mw(e){throw e}function Du(e,n){let{onStoppedNotification:t}=_t;t&&lo.setTimeout(()=>t(e,n))}var yw={closed:!0,next:vi,error:mw,complete:vi};function $(e,n,t,r,o){return new wu(e,n,t,r,o)}var wu=class extends gr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Z(e,n){return j((t,r)=>{let o=0;t.subscribe($(r,i=>{r.next(e.call(n,i,o++))}))})}var Pe=null,ua=!1,Iu=1,vw=null,ce=Symbol("SIGNAL");function I(e){let n=Pe;return Pe=e,n}function da(){return Pe}var Bn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pn(e){if(ua)throw new Error("");if(Pe===null)return;Pe.consumerOnSignalRead(e);let n=Pe.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Pe.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Pe.producers,t!==void 0&&t.producer===e)){Pe.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Pe&&(!r||Ew(o,Pe)))return;let i=ho(Pe),s={producer:e,consumer:Pe,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Pe.producersTail=s,n!==void 0?n.nextProducer=s:Pe.producers=s,i&&yg(e,s)}function hg(){Iu++}function vr(e){if(!(ho(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Iu)){if(!e.producerMustRecompute(e)&&!po(e)){fo(e);return}e.producerRecomputeValue(e),fo(e)}}function Su(e){if(e.consumers===void 0)return;let n=ua;ua=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||bw(r)}}finally{ua=n}}function Tu(){return Pe?.consumerAllowSignalWrites!==!1}function bw(e){e.dirty=!0,Su(e),e.consumerMarkedDirty?.(e)}function fo(e){e.dirty=!1,e.lastCleanEpoch=Iu}function hn(e){return e&&gg(e),I(e)}function gg(e){e.producersTail=void 0,e.recomputing=!0}function Un(e,n){I(n),e&&mg(e)}function mg(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(ho(e))do t=_u(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function po(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(vr(t),r!==t.version))return!0}return!1}function $n(e){if(ho(e)){let n=e.producers;for(;n!==void 0;)n=_u(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function yg(e,n){let t=e.consumersTail,r=ho(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)yg(o.producer,o)}function _u(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!ho(n)){let i=n.producers;for(;i!==void 0;)i=_u(i)}return t}function ho(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function bi(e){vw?.(e)}function Ew(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ei(e,n){return Object.is(e,n)}function Di(e,n){let t=Object.create(Dw);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(vr(t),pn(t),t.value===Zt)throw t.error;return t.value};return r[ce]=t,bi(t),r}var mr=Symbol("UNSET"),yr=Symbol("COMPUTING"),Zt=Symbol("ERRORED"),Dw=P(m({},Bn),{value:mr,dirty:!0,error:null,equal:Ei,kind:"computed",producerMustRecompute(e){return e.value===mr||e.value===yr},producerRecomputeValue(e){if(e.value===yr)throw new Error("");let n=e.value;e.value=yr;let t=hn(e),r,o=!1;try{r=e.computation(),I(null),o=n!==mr&&n!==Zt&&r!==Zt&&e.equal(n,r)}catch(i){r=Zt,e.error=i}finally{Un(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Cw(){throw new Error}var vg=Cw;function bg(e){vg(e)}function Mu(e){vg=e}var ww=null;function Nu(e,n){let t=Object.create(Ci);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Eg(t);return r[ce]=t,bi(t),[r,s=>Hn(t,s),s=>fa(t,s)]}function Eg(e){return pn(e),e.value}function Hn(e,n){Tu()||bg(e),e.equal(e.value,n)||(e.value=n,Iw(e))}function fa(e,n){Tu()||bg(e),Hn(e,n(e.value))}var Ci=P(m({},Bn),{equal:Ei,value:void 0,kind:"signal"});function Iw(e){e.version++,hg(),Su(e),ww?.(e)}var Au=P(m({},Bn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ru(e){if(e.dirty=!1,e.version>0&&!po(e))return;e.version++;let n=hn(e);try{e.cleanup(),e.fn()}finally{Un(e,n)}}var go=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Nt(e){return e}function xu(...e){return Ou(e)}function Ou(e){return e.length===0?Nt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var k=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Tw(t)?t:new Mt(t,r,o);return uo(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Dg(r),new r((o,i)=>{let s=new Mt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[go](){return this}pipe(...t){return Ou(t)(this)}toPromise(t){return t=Dg(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Dg(e){var n;return(n=e??_t.Promise)!==null&&n!==void 0?n:Promise}function Sw(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function Tw(e){return e&&e instanceof gr||Sw(e)&&aa(e)}var Cg=co(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new pa(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Cg}next(t){uo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){uo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){uo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?vu:(this.currentObservers=null,i.push(t),new Ne(()=>{this.currentObservers=null,yi(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new k;return t.source=this,t}}return e.create=(n,t)=>new pa(n,t),e})(),pa=class extends X{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:vu}};var Ae=class extends X{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Re=new k(e=>e.complete());function wg(e){return e&&R(e.schedule)}function Ig(e){return e[e.length-1]}function ha(e){return R(Ig(e))?e.pop():void 0}function Vn(e){return wg(Ig(e))?e.pop():void 0}function JO(e,n,t,r){var o=arguments.length,i=o<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,t):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,n,t,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(n,t,i):s(n,t))||i);return o>3&&i&&Object.defineProperty(n,t,i),i}function Tg(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Sg(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function br(e){return this instanceof br?(this.v=e,this):new br(e)}function _g(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(g){return Promise.resolve(g).then(p,d)}}function a(p,g){r[p]&&(o[p]=function(y){return new Promise(function(b,E){i.push([p,y,b,E])>1||c(p,y)})},g&&(o[p]=g(o[p])))}function c(p,g){try{l(r[p](g))}catch(y){f(i[0][3],y)}}function l(p){p.value instanceof br?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function f(p,g){p(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Mg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Sg=="function"?Sg(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ga=e=>e&&typeof e.length=="number"&&typeof e!="function";function ma(e){return R(e?.then)}function ya(e){return R(e[go])}function va(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function ba(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 _w(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ea=_w();function Da(e){return R(e?.[Ea])}function Ca(e){return _g(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield br(t.read());if(o)return yield br(void 0);yield yield br(r)}}finally{t.releaseLock()}})}function wa(e){return R(e?.getReader)}function ie(e){if(e instanceof k)return e;if(e!=null){if(ya(e))return Mw(e);if(ga(e))return Nw(e);if(ma(e))return Aw(e);if(va(e))return Ng(e);if(Da(e))return Rw(e);if(wa(e))return xw(e)}throw ba(e)}function Mw(e){return new k(n=>{let t=e[go]();if(R(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Nw(e){return new k(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Aw(e){return new k(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ca)})}function Rw(e){return new k(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Ng(e){return new k(n=>{Ow(e,n).catch(t=>n.error(t))})}function xw(e){return Ng(Ca(e))}function Ow(e,n){var t,r,o,i;return Tg(this,void 0,void 0,function*(){try{for(t=Mg(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Ke(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ia(e,n=0){return j((t,r)=>{t.subscribe($(r,o=>Ke(r,e,()=>r.next(o),n),()=>Ke(r,e,()=>r.complete(),n),o=>Ke(r,e,()=>r.error(o),n)))})}function Sa(e,n=0){return j((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Ag(e,n){return ie(e).pipe(Sa(n),Ia(n))}function Rg(e,n){return ie(e).pipe(Sa(n),Ia(n))}function xg(e,n){return new k(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Og(e,n){return new k(t=>{let r;return Ke(t,n,()=>{r=e[Ea](),Ke(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>R(r?.return)&&r.return()})}function Ta(e,n){if(!e)throw new Error("Iterable cannot be null");return new k(t=>{Ke(t,n,()=>{let r=e[Symbol.asyncIterator]();Ke(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function kg(e,n){return Ta(Ca(e),n)}function Pg(e,n){if(e!=null){if(ya(e))return Ag(e,n);if(ga(e))return xg(e,n);if(ma(e))return Rg(e,n);if(va(e))return Ta(e,n);if(Da(e))return Og(e,n);if(wa(e))return kg(e,n)}throw ba(e)}function fe(e,n){return n?Pg(e,n):ie(e)}function x(...e){let n=Vn(e);return fe(e,n)}function ku(e,n){let t=R(e)?e:()=>e,r=o=>o.error(t());return new k(n?o=>n.schedule(r,0,o):r)}function _a(e){return!!e&&(e instanceof k||R(e.lift)&&R(e.subscribe))}var gn=co(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function kw(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Mt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new gn)}});e.subscribe(i)})}var{isArray:Pw}=Array;function Lw(e,n){return Pw(n)?e(...n):e(n)}function Ma(e){return Z(n=>Lw(e,n))}var{isArray:Fw}=Array,{getPrototypeOf:jw,prototype:Bw,keys:Uw}=Object;function Na(e){if(e.length===1){let n=e[0];if(Fw(n))return{args:n,keys:null};if($w(n)){let t=Uw(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function $w(e){return e&&typeof e=="object"&&jw(e)===Bw}function Aa(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Ra(...e){let n=Vn(e),t=ha(e),{args:r,keys:o}=Na(e);if(r.length===0)return fe([],n);let i=new k(Hw(r,n,o?s=>Aa(o,s):Nt));return t?i.pipe(Ma(t)):i}function Hw(e,n,t=Nt){return r=>{Lg(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Lg(n,()=>{let l=fe(e[c],n),u=!1;l.subscribe($(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Lg(e,n,t){e?Ke(t,e,n):n()}function Fg(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&n.complete()},p=y=>l<r?g(y):c.push(y),g=y=>{i&&n.next(y),l++;let b=!1;ie(t(y,u++)).subscribe($(n,E=>{o?.(E),i?p(E):n.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&l<r;){let E=c.shift();s?Ke(n,s,()=>g(E)):g(E)}f()}catch(E){n.error(E)}}))};return e.subscribe($(n,p,()=>{d=!0,f()})),()=>{a?.()}}function Le(e,n,t=1/0){return R(n)?Le((r,o)=>Z((i,s)=>n(r,i,o,s))(ie(e(r,o))),t):(typeof n=="number"&&(t=n),j((r,o)=>Fg(r,o,e,t)))}function mo(e=1/0){return Le(Nt,e)}function jg(){return mo(1)}function yo(...e){return jg()(fe(e,Vn(e)))}function wi(e){return new k(n=>{ie(e()).subscribe(n)})}function Vw(...e){let n=ha(e),{args:t,keys:r}=Na(e),o=new k(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ie(t[u]).subscribe($(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Aa(r,a):a),i.complete())}))}});return n?o.pipe(Ma(n)):o}function Ze(e,n){return j((t,r)=>{let o=0;t.subscribe($(r,i=>e.call(n,i,o++)&&r.next(i)))})}function vo(e){return j((n,t)=>{let r=null,o=!1,i;r=n.subscribe($(t,void 0,void 0,s=>{i=ie(e(s,vo(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Er(e,n){return R(n)?Le(e,n,1):Le(e,1)}function Bg(e){return j((n,t)=>{let r=!1;n.subscribe($(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function mn(e){return e<=0?()=>Re:j((n,t)=>{let r=0;n.subscribe($(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Ug(e=zw){return j((n,t)=>{let r=!1;n.subscribe($(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function zw(){return new gn}function Ii(e){return j((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function yn(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ze((o,i)=>e(o,i,r)):Nt,mn(1),t?Bg(n):Ug(()=>new gn))}function xa(e){return e<=0?()=>Re:j((n,t)=>{let r=[];n.subscribe($(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Ww(e={}){let{connector:n=()=>new X,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},g=()=>{let y=s;p(),y?.unsubscribe()};return j((y,b)=>{l++,!d&&!u&&f();let E=c=c??n();b.add(()=>{l--,l===0&&!d&&!u&&(a=Pu(g,o))}),E.subscribe(b),!s&&l>0&&(s=new Mt({next:_=>E.next(_),error:_=>{d=!0,f(),a=Pu(p,t,_),E.error(_)},complete:()=>{u=!0,f(),a=Pu(p,r),E.complete()}}),ie(y).subscribe(s))})(i)}}function Pu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Mt({next:()=>{r.unsubscribe(),e()}});return ie(n(...t)).subscribe(r)}function Lu(...e){let n=Vn(e);return j((t,r)=>{(n?yo(e,t,n):yo(e,t)).subscribe(r)})}function Ye(e,n){return j((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe($(r,c=>{o?.unsubscribe();let l=0,u=i++;ie(e(c,u)).subscribe(o=$(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Dr(e){return j((n,t)=>{ie(e).subscribe($(t,()=>t.complete(),vi)),!t.closed&&n.subscribe(t)})}function ft(e,n,t){let r=R(e)||n||t?{next:e,error:n,complete:t}:e;return r?j((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe($(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Nt}var Fu;function Oa(){return Fu}function Yt(e){let n=Fu;return Fu=e,n}var $g=Symbol("NotFound");function bo(e){return e===$g||e?.name==="\u0275NotFound"}function ju(e,n,t){let r=Object.create(Gw);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(vr(r),pn(r),r.value===Zt)throw r.error;return r.value};return i[ce]=r,bi(r),i}function Hg(e,n){vr(e),Hn(e,n),fo(e)}function Vg(e,n){if(vr(e),e.value===Zt)throw e.error;fa(e,n),fo(e)}var Gw=P(m({},Bn),{value:mr,dirty:!0,error:null,equal:Ei,kind:"linkedSignal",producerMustRecompute(e){return e.value===mr||e.value===yr},producerRecomputeValue(e){if(e.value===yr)throw new Error("");let n=e.value;e.value=yr;let t=hn(e),r,o=!1;try{let i=e.source(),s=n!==mr&&n!==Zt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,I(null),o=s&&r!==Zt&&e.equal(n,r)}catch(i){r=Zt,e.error=i}finally{Un(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function zg(e){let n=I(null);try{return e()}finally{I(n)}}var Ua="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,t){super(Jt(n,t)),this.code=n}};function qw(e){return`NG0${Math.abs(e)}`}function Jt(e,n){return`${qw(e)}${n?": "+n:""}`}var Gn=globalThis;function H(e){for(let n in e)if(e[n]===H)return n;throw Error("")}function Zg(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ri(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ri).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
4
- `);return r>=0?t.slice(0,r):t}function $a(e,n){return e?n?`${e} ${n}`:e:n||""}var Kw=H({__forward_ref__:H});function Ha(e){return e.__forward_ref__=Ha,e}function Ee(e){return Qu(e)?e():e}function Qu(e){return typeof e=="function"&&e.hasOwnProperty(Kw)&&e.__forward_ref__===Ha}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pe(e){return{providers:e.providers||[],imports:e.imports||[]}}function xi(e){return Zw(e,Va)}function Ju(e){return xi(e)!==null}function Zw(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Yw(e){let n=e?.[Va]??null;return n||null}function Uu(e){return e&&e.hasOwnProperty(Pa)?e[Pa]:null}var Va=H({\u0275prov:H}),Pa=H({\u0275inj:H}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xu(e){return e&&!!e.\u0275providers}var ed=H({\u0275cmp:H}),td=H({\u0275dir:H}),nd=H({\u0275pipe:H}),rd=H({\u0275mod:H}),Ti=H({\u0275fac:H}),_r=H({__NG_ELEMENT_ID__:H}),Wg=H({__NG_ENV_ID__:H});function od(e){return Wa(e,"@NgModule"),e[rd]||null}function bn(e){return Wa(e,"@Component"),e[ed]||null}function za(e){return Wa(e,"@Directive"),e[td]||null}function Yg(e){return Wa(e,"@Pipe"),e[nd]||null}function Wa(e,n){if(e==null)throw new D(-919,!1)}function Xt(e){return typeof e=="string"?e:e==null?"":String(e)}var Qg=H({ngErrorCode:H}),Qw=H({ngErrorMessage:H}),Jw=H({ngTokenPath:H});function id(e,n){return Jg("",-200,n)}function Ga(e,n){throw new D(-201,!1)}function Jg(e,n,t){let r=new D(n,e);return r[Qg]=n,r[Qw]=e,t&&(r[Jw]=t),r}function Xw(e){return e[Qg]}var $u;function Xg(){return $u}function nt(e){let n=$u;return $u=e,n}function sd(e,n,t){let r=xi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ga(e,"")}var eI={},Cr=eI,tI="__NG_DI_FLAG__",Hu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=wr(t)||0;try{return this.injector.get(n,r&8?null:Cr,r)}catch(o){if(bo(o))return o;throw o}}};function nI(e,n=0){let t=Oa();if(t===void 0)throw new D(-203,!1);if(t===null)return sd(e,void 0,n);{let r=rI(n),o=t.retrieve(e,r);if(bo(o)){if(r.optional)return null;throw o}return o}}function M(e,n=0){return(Xg()||nI)(Ee(e),n)}function h(e,n){return M(e,wr(n))}function wr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Vu(e){let n=[];for(let t=0;t<e.length;t++){let r=Ee(e[t]);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=oI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(M(o,i))}else n.push(M(r))}return n}function oI(e){return e[tI]}function Ir(e,n){let t=e.hasOwnProperty(Ti);return t?e[Ti]:null}function em(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function tm(e){return e.flat(Number.POSITIVE_INFINITY)}function qa(e,n){e.forEach(t=>Array.isArray(t)?qa(t,n):n(t))}function ad(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Oi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function nm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function rm(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function ki(e,n,t){let r=Do(e,n);return r>=0?e[r|1]=t:(r=~r,rm(e,r,n,t)),r}function Ka(e,n){let t=Do(e,n);if(t>=0)return e[t|1]}function Do(e,n){return iI(e,n,1)}function iI(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var At={},Fe=[],qn=new C(""),cd=new C("",-1),ld=new C(""),_i=class{get(n,t=Cr){if(t===Cr){let o=Jg("",-201);throw o.name="\u0275NotFound",o}return t}};function ht(e){return{\u0275providers:e}}function om(e){return ht([{provide:qn,multi:!0,useValue:e}])}function im(...e){return{\u0275providers:ud(!0,e),\u0275fromNgModule:!0}}function ud(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return qa(n,s=>{let a=s;La(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&sm(o,i),t}function sm(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];dd(o,i=>{n(i,r)})}}function La(e,n,t,r){if(e=Ee(e),!e)return!1;let o=null,i=Uu(e),s=!i&&bn(e);if(!i&&!s){let c=e.ngModule;if(i=Uu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)La(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;qa(i.imports,u=>{La(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&sm(l,n)}if(!a){let l=Ir(o)||(()=>new o);n({provide:o,useFactory:l,deps:Fe},o),n({provide:ld,useValue:o,multi:!0},o),n({provide:qn,useValue:()=>M(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;dd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function dd(e,n){for(let t of e)Xu(t)&&(t=t.\u0275providers),Array.isArray(t)?dd(t,n):n(t)}var sI=H({provide:String,useValue:H});function am(e){return e!==null&&typeof e=="object"&&sI in e}function aI(e){return!!(e&&e.useExisting)}function cI(e){return!!(e&&e.useFactory)}function Sr(e){return typeof e=="function"}function cm(e){return!!e.useClass}var Pi=new C(""),ka={},Gg={},Bu;function Li(){return Bu===void 0&&(Bu=new _i),Bu}var se=class{},Tr=class extends se{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Wu(n,s=>this.processProvider(s)),this.records.set(cd,Eo(void 0,this)),o.has("environment")&&this.records.set(se,Eo(void 0,this));let i=this.records.get(Pi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ld,Fe,{self:!0}))}retrieve(n,t){let r=wr(t)||0;try{return this.get(n,Cr,r)}catch(o){if(bo(o))return o;throw o}}destroy(){Si(this),this._destroyed=!0;let n=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(n)}}onDestroy(n){return Si(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Si(this);let t=Yt(this),r=nt(void 0),o;try{return n()}finally{Yt(t),nt(r)}}get(n,t=Cr,r){if(Si(this),n.hasOwnProperty(Wg))return n[Wg](this);let o=wr(r),i,s=Yt(this),a=nt(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=pI(n)&&xi(n);u&&this.injectableDefInScope(u)?l=Eo(zu(n),ka):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Li():this.parent;return t=o&8&&t===Cr?null:t,c.get(n,t)}catch(c){let l=Xw(c);throw l===-200||l===-201?new D(l,null):c}finally{nt(a),Yt(s)}}resolveInjectorInitializers(){let n=I(null),t=Yt(this),r=nt(void 0),o;try{let i=this.get(qn,Fe,{self:!0});for(let s of i)s()}finally{Yt(t),nt(r),I(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=Ee(n);let t=Sr(n)?n:Ee(n&&n.provide),r=uI(n);if(!Sr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Eo(void 0,ka,!0),o.factory=()=>Vu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=I(null);try{if(t.value===Gg)throw id("");return t.value===ka&&(t.value=Gg,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&fI(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{I(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Ee(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function zu(e){let n=xi(e),t=n!==null?n.factory:Ir(e);if(t!==null)return t;if(e instanceof C)throw new D(-204,!1);if(e instanceof Function)return lI(e);throw new D(-204,!1)}function lI(e){if(e.length>0)throw new D(-204,!1);let t=Yw(e);return t!==null?()=>t.factory(e):()=>new e}function uI(e){if(am(e))return Eo(void 0,e.useValue);{let n=fd(e);return Eo(n,ka)}}function fd(e,n,t){let r;if(Sr(e)){let o=Ee(e);return Ir(o)||zu(o)}else if(am(e))r=()=>Ee(e.useValue);else if(cI(e))r=()=>e.useFactory(...Vu(e.deps||[]));else if(aI(e))r=(o,i)=>M(Ee(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Ee(e&&(e.useClass||e.provide));if(dI(e))r=()=>new o(...Vu(e.deps));else return Ir(o)||zu(o)}return r}function Si(e){if(e.destroyed)throw new D(-205,!1)}function Eo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function dI(e){return!!e.deps}function fI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wu(e,n){for(let t of e)Array.isArray(t)?Wu(t,n):t&&Xu(t)?Wu(t.\u0275providers,n):n(t)}function we(e,n){let t;e instanceof Tr?(Si(e),t=e):t=new Hu(e);let r,o=Yt(t),i=nt(void 0);try{return n()}finally{Yt(o),nt(i)}}function lm(){return Xg()!==void 0||Oa()!=null}var Rt=0,S=1,N=2,De=3,gt=4,$e=5,Mr=6,Co=7,he=8,He=9,xt=10,W=11,wo=12,pd=13,Nr=14,Ve=15,Kn=16,Ar=17,en=18,tn=19,hd=20,vn=21,Za=22,zn=23,rt=24,Rr=25,nn=26,ee=27,um=1,gd=6,Zn=7,Fi=8,xr=9,ue=10;function En(e){return Array.isArray(e)&&typeof e[um]=="object"}function Ot(e){return Array.isArray(e)&&e[um]===!0}function md(e){return(e.flags&4)!==0}function Dn(e){return e.componentOffset>-1}function Io(e){return(e.flags&1)===1}function kt(e){return!!e.template}function So(e){return(e[N]&512)!==0}function Or(e){return(e[N]&256)===256}var yd="svg",dm="math";function mt(e){for(;Array.isArray(e);)e=e[Rt];return e}function vd(e,n){return mt(n[e])}function ot(e,n){return mt(n[e.index])}function Ya(e,n){return e.data[n]}function bd(e,n){return e[n]}function Qa(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function yt(e,n){let t=n[e];return En(t)?t:t[Rt]}function fm(e){return(e[N]&4)===4}function Ja(e){return(e[N]&128)===128}function pm(e){return Ot(e[De])}function vt(e,n){return n==null?null:e[n]}function Ed(e){e[Ar]=0}function Dd(e){e[N]&1024||(e[N]|=1024,Ja(e)&&kr(e))}function hm(e,n){for(;e>0;)n=n[Nr],e--;return n}function ji(e){return!!(e[N]&9216||e[rt]?.dirty)}function Xa(e){e[xt].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),ji(e)&&kr(e)}function kr(e){e[xt].changeDetectionScheduler?.notify(0);let n=Wn(e);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!Ja(n)));)n=Wn(n)}function Cd(e,n){if(Or(e))throw new D(911,!1);e[vn]===null&&(e[vn]=[]),e[vn].push(n)}function gm(e,n){if(e[vn]===null)return;let t=e[vn].indexOf(n);t!==-1&&e[vn].splice(t,1)}function Wn(e){let n=e[De];return Ot(n)?n[De]:n}function wd(e){return e[Co]??=[]}function Id(e){return e.cleanup??=[]}function mm(e,n,t,r){let o=wd(n);o.push(t),e.firstCreatePass&&Id(e).push(r,o.length-1)}var O={lFrame:Mm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Gu=!1;function ym(){return O.lFrame.elementDepthCount}function vm(){O.lFrame.elementDepthCount++}function Sd(){O.lFrame.elementDepthCount--}function ec(){return O.bindingsEnabled}function Td(){return O.skipHydrationRootTNode!==null}function _d(e){return O.skipHydrationRootTNode===e}function Md(){O.skipHydrationRootTNode=null}function w(){return O.lFrame.lView}function te(){return O.lFrame.tView}function bm(e){return O.lFrame.contextLView=e,e[he]}function Em(e){return O.lFrame.contextLView=null,e}function ge(){let e=Nd();for(;e!==null&&e.type===64;)e=e.parent;return e}function Nd(){return O.lFrame.currentTNode}function Dm(){let e=O.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Pr(e,n){let t=O.lFrame;t.currentTNode=e,t.isParent=n}function Ad(){return O.lFrame.isParent}function Rd(){O.lFrame.isParent=!1}function xd(){return O.lFrame.contextLView}function Od(){return Gu}function Mi(e){let n=Gu;return Gu=e,n}function Cn(){let e=O.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function kd(){return O.lFrame.bindingIndex}function Cm(e){return O.lFrame.bindingIndex=e}function Yn(){return O.lFrame.bindingIndex++}function Bi(e){let n=O.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function wm(){return O.lFrame.inI18n}function Im(e,n){let t=O.lFrame;t.bindingIndex=t.bindingRootIndex=e,tc(n)}function Sm(){return O.lFrame.currentDirectiveIndex}function tc(e){O.lFrame.currentDirectiveIndex=e}function Tm(e){let n=O.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function nc(){return O.lFrame.currentQueryIndex}function Ui(e){O.lFrame.currentQueryIndex=e}function hI(e){let n=e[S];return n.type===2?n.declTNode:n.type===1?e[$e]:null}function Pd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=hI(i),o===null||(i=i[Nr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=O.lFrame=_m();return r.currentTNode=n,r.lView=e,!0}function rc(e){let n=_m(),t=e[S];O.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function _m(){let e=O.lFrame,n=e===null?null:e.child;return n===null?Mm(e):n}function Mm(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Nm(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ld=Nm;function oc(){let e=Nm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Am(e){return(O.lFrame.contextLView=hm(e,O.lFrame.contextLView))[he]}function bt(){return O.lFrame.selectedIndex}function Qn(e){O.lFrame.selectedIndex=e}function $i(){let e=O.lFrame;return Ya(e.tView,e.selectedIndex)}function To(){O.lFrame.currentNamespace=yd}function Rm(){return O.lFrame.currentNamespace}var xm=!0;function ic(){return xm}function Hi(e){xm=e}function qu(e,n=null,t=null,r){let o=Fd(e,n,t,r);return o.resolveInjectorInitializers(),o}function Fd(e,n=null,t=null,r,o=new Set){let i=[t||Fe,im(e)],s;return new Tr(i,n||Li(),s||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Cr;static NULL=new _i;static create(n,t){if(Array.isArray(n))return qu({name:""},t,n,"");{let r=n.name??"";return qu({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>M(cd)});static __NG_ELEMENT_ID__=-1},V=new C(""),me=(()=>{class e{static __NG_ELEMENT_ID__=gI;static __NG_ENV_ID__=t=>t}return e})(),Fa=class extends me{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Or(this._lView)}onDestroy(n){let t=this._lView;return Cd(t,n),()=>gm(t,n)}};function gI(){return new Fa(w())}var Om=!1,km=new C(""),wn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ae(!1);debugTaskTracker=h(km,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ku=class extends X{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,lm()&&(this.destroyRef=h(me,{optional:!0})??void 0,this.pendingTasks=h(wn,{optional:!0})??void 0)}emit(n){let t=I(null);try{super.next(n)}finally{I(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Ne&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ye=Ku;function ja(...e){}function jd(e){let n,t;function r(){e=ja;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Pm(e){return queueMicrotask(()=>e()),()=>{e=ja}}var Bd="isAngularZone",Ni=Bd+"_ID",mI=0,le=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ye(!1);onMicrotaskEmpty=new ye(!1);onStable=new ye(!1);onError=new ye(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Om}=n;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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,bI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Bd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,yI,ja,ja);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},yI={};function Ud(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 vI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){jd(()=>{e.callbackScheduled=!1,Zu(e),e.isCheckStableRunning=!0,Ud(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Zu(e)}function bI(e){let n=()=>{vI(e)},t=mI++;e._inner=e._inner.fork({name:"angular",properties:{[Bd]:!0,[Ni]:t,[Ni+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(EI(c))return r.invokeTask(i,s,a,c);try{return qg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Kg(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return qg(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!DI(c)&&n(),Kg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Zu(e),Ud(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 Zu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kg(e){e._nesting--,Ud(e)}var Ai=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ye;onMicrotaskEmpty=new ye;onStable=new ye;onError=new ye;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function EI(e){return Lm(e,"__ignore_ng_zone__")}function DI(e){return Lm(e,"__scheduler_tick__")}function Lm(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var pt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},it=new C("",{factory:()=>{let e=h(le),n=h(se),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(pt),t.handleError(r))})}}}),Fm={provide:qn,useValue:()=>{let e=h(pt,{optional:!0})},multi:!0},CI=new C("",{factory:()=>{let e=h(V).defaultView;if(!e)return;let n=h(it),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(me).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function wI(){return ht([om(()=>{h(CI)})])}function T(e,n){let[t,r,o]=Nu(e,n?.equal),i=t,s=i[ce];return i.set=r,i.update=o,i.asReadonly=Vi.bind(i),i}function Vi(){let e=this[ce];if(e.readonlyFn===void 0){let n=()=>this();n[ce]=e,e.readonlyFn=n}return e.readonlyFn}var _o=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=II}return e})();function II(){return new _o(w(),ge())}var Qt=class{},zi=new C("",{factory:()=>!0});var $d=new C(""),Mo=(()=>{class e{internalPendingTasks=h(wn);scheduler=h(Qt);errorHandler=h(it);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),sc=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Yu})}return e})(),Yu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Ba=class{[ce];constructor(n){this[ce]=n}destroy(){this[ce].destroy()}};function Ie(e,n){let t=n?.injector??h(ve),r=n?.manualCleanup!==!0?t.get(me):null,o,i=t.get(_o,null,{optional:!0}),s=t.get(Qt);return i!==null?(o=_I(i.view,s,e),r instanceof Fa&&r._lView===i.view&&(r=null)):o=MI(e,t.get(sc),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ba(o)}var jm=P(m({},Au),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Mi(!1);try{Ru(this)}finally{Mi(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),SI=P(m({},jm),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if($n(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),TI=P(m({},jm),{consumerMarkedDirty(){this.view[N]|=8192,kr(this.view),this.notifier.notify(13)},destroy(){if($n(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[zn]?.delete(this)}});function _I(e,n,t){let r=Object.create(TI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Bm(r,t),e[zn]??=new Set,e[zn].add(r),r.consumerMarkedDirty(r),r}function MI(e,n,t){let r=Object.create(SI);return r.fn=Bm(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Bm(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function rs(e){return{toString:e}.toString()}function PI(e){return typeof e=="function"}function My(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var yc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},sn=(()=>{let e=()=>Ny;return e.ngInherit=!0,e})();function Ny(e){return e.type.prototype.ngOnChanges&&(e.setInput=FI),LI}function LI(){let e=Ry(this),n=e?.current;if(n){let t=e.previous;if(t===At)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function FI(e,n,t,r,o){let i=this.declaredInputs[r],s=Ry(e)||jI(e,{previous:At,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new yc(l&&l.currentValue,t,c===At),My(e,n,o,t)}var Ay="__ngSimpleChanges__";function Ry(e){return e[Ay]||null}function jI(e,n){return e[Ay]=n}var Um=[];var z=function(e,n=null,t){for(let r=0;r<Um.length;r++){let o=Um[r];o(e,n,t)}},F=(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})(F||{});function BI(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Ny(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function xy(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function dc(e,n,t){Oy(e,n,3,t)}function fc(e,n,t,r){(e[N]&3)===t&&Oy(e,n,t,r)}function Hd(e,n){let t=e[N];(t&3)===n&&(t&=16383,t+=1,e[N]=t)}function Oy(e,n,t,r){let o=r!==void 0?e[Ar]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Ar]+=65536),(a<i||i==-1)&&(UI(e,t,n,c),e[Ar]=(e[Ar]&4294901760)+c+2),c++}function $m(e,n){z(F.LifecycleHookStart,e,n);let t=I(null);try{n.call(e)}finally{I(t),z(F.LifecycleHookEnd,e,n)}}function UI(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[N]>>14<e[Ar]>>16&&(e[N]&3)===n&&(e[N]+=16384,$m(a,i)):$m(a,i)}var Ao=-1,Br=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function $I(e){return(e.flags&8)!==0}function HI(e){return(e.flags&16)!==0}function VI(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];zI(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function ky(e){return e===3||e===4||e===6}function zI(e){return e.charCodeAt(0)===64}function Ro(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Hm(e,t,o,null,n[++r]):Hm(e,t,o,null,null))}}return e}function Hm(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Py(e){return e!==Ao}function vc(e){return e&32767}function WI(e){return e>>16}function bc(e,n){let t=WI(e),r=n;for(;t>0;)r=r[Nr],t--;return r}var Xd=!0;function Vm(e){let n=Xd;return Xd=e,n}var GI=256,Ly=GI-1,Fy=5,qI=0,rn={};function KI(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(_r)&&(r=t[_r]),r==null&&(r=t[_r]=qI++);let o=r&Ly,i=1<<o;n.data[e+(o>>Fy)]|=i}function Ec(e,n){let t=jy(e,n);if(t!==-1)return t;let r=n[S];r.firstCreatePass&&(e.injectorIndex=n.length,Vd(r.data,e),Vd(n,null),Vd(r.blueprint,null));let o=Ff(e,n),i=e.injectorIndex;if(Py(o)){let s=vc(o),a=bc(o,n),c=a[S].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Vd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function jy(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ff(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Vy(o),r===null)return Ao;if(t++,o=o[Nr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Ao}function ef(e,n,t){KI(e,n,t)}function ZI(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(ky(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function By(e,n,t){if(t&8||e!==void 0)return e;Ga(n,"NodeInjector")}function Uy(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[He],i=nt(void 0);try{return o?o.get(n,r,t&8):sd(n,r,t&8)}finally{nt(i)}}return By(r,n,t)}function $y(e,n,t,r=0,o){if(e!==null){if(n[N]&2048&&!(r&2)){let s=XI(e,n,t,r,rn);if(s!==rn)return s}let i=Hy(e,n,t,r,rn);if(i!==rn)return i}return Uy(n,t,r,o)}function Hy(e,n,t,r,o){let i=QI(t);if(typeof i=="function"){if(!Pd(n,e,r))return r&1?By(o,t,r):Uy(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ga(t);else return s}finally{Ld()}}else if(typeof i=="number"){let s=null,a=jy(e,n),c=Ao,l=r&1?n[Ve][$e]:null;for((a===-1||r&4)&&(c=a===-1?Ff(e,n):n[a+8],c===Ao||!Wm(r,!1)?a=-1:(s=n[S],a=vc(c),n=bc(c,n)));a!==-1;){let u=n[S];if(zm(i,a,u.data)){let d=YI(a,n,t,s,r,l);if(d!==rn)return d}c=n[a+8],c!==Ao&&Wm(r,n[S].data[a+8]===l)&&zm(i,a,n)?(s=u,a=vc(c),n=bc(c,n)):a=-1}}return o}function YI(e,n,t,r,o,i){let s=n[S],a=s.data[e+8],c=r==null?Dn(a)&&Xd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=pc(a,s,t,c,l);return u!==null?Ki(n,s,u,a,o):rn}function pc(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let g=s[p];if(p<c&&t===g||p>=c&&g.type===t)return p}if(o){let p=s[c];if(p&&kt(p)&&p.type===t)return c}return null}function Ki(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Br){let a=i;if(a.resolving)throw id("");let c=Vm(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?nt(a.injectImpl):null,f=Pd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&BI(t,s[t],n)}finally{d!==null&&nt(d),Vm(c),a.resolving=!1,Ld()}}return i}function QI(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(_r)?e[_r]:void 0;return typeof n=="number"?n>=0?n&Ly:JI:n}function zm(e,n,t){let r=1<<e;return!!(t[n+(e>>Fy)]&r)}function Wm(e,n){return!(e&2)&&!(e&1&&n)}var Fr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return $y(this._tNode,this._lView,n,wr(r),t)}};function JI(){return new Fr(ge(),w())}function G(e){return rs(()=>{let n=e.prototype.constructor,t=n[Ti]||tf(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ti]||tf(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function tf(e){return Qu(e)?()=>{let n=tf(Ee(e));return n&&n()}:Ir(e)}function XI(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!So(s);){let a=Hy(i,s,t,r|2,rn);if(a!==rn)return a;let c=i.parent;if(!c){let l=s[hd];if(l){let u=l.get(t,rn,r&-5);if(u!==rn)return u}c=Vy(s),s=s[Nr]}i=c}return o}function Vy(e){let n=e[S],t=n.type;return t===2?n.declTNode:t===1?e[$e]:null}function os(e){return ZI(ge(),e)}function eS(){return jo(ge(),w())}function jo(e,n){return new xe(ot(e,n))}var xe=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=eS}return e})();function zy(e){return e instanceof xe?e.nativeElement:e}function tS(){return this._results[Symbol.iterator]()}var Dc=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new X}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=tm(n);(this._changesDetected=!em(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=tS};function Wy(e){return(e.flags&128)===128}var jf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(jf||{}),Gy=new Map,nS=0;function rS(){return nS++}function oS(e){Gy.set(e[tn],e)}function nf(e){Gy.delete(e[tn])}var Gm="__ngContext__";function xo(e,n){En(n)?(e[Gm]=n[tn],oS(n)):e[Gm]=n}function qy(e){return Zy(e[wo])}function Ky(e){return Zy(e[gt])}function Zy(e){for(;e!==null&&!Ot(e);)e=e[gt];return e}var rf;function Bf(e){rf=e}function Yy(){if(rf!==void 0)return rf;if(typeof document<"u")return document;throw new D(210,!1)}var Pc=new C("",{factory:()=>iS}),iS="ng";var Lc=new C(""),jt=new C("",{providedIn:"platform",factory:()=>"unknown"});var is=new C("",{factory:()=>h(V).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Qy="r";var Jy="di";var Xy=!1,ev=new C("",{factory:()=>Xy});var sS=(e,n,t,r)=>{};function aS(e,n,t,r){sS(e,n,t,r)}function Fc(e){return(e.flags&32)===32}var cS=()=>null;function tv(e,n,t=!1){return cS(e,n,t)}function nv(e,n){let t=e.contentQueries;if(t!==null){let r=I(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Ui(i),a.contentQueries(2,n[s],s)}}}finally{I(r)}}}function of(e,n,t){Ui(0);let r=I(null);try{n(e,t)}finally{I(r)}}function Uf(e,n,t){if(md(n)){let r=I(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{I(r)}}}var Lt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Lt||{});var ac;function lS(){if(ac===void 0&&(ac=null,Gn.trustedTypes))try{ac=Gn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ac}function jc(e){return lS()?.createHTML(e)||e}var cc;function rv(){if(cc===void 0&&(cc=null,Gn.trustedTypes))try{cc=Gn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cc}function qm(e){return rv()?.createHTML(e)||e}function Km(e){return rv()?.createScriptURL(e)||e}var In=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ua})`}},sf=class extends In{getTypeName(){return"HTML"}},af=class extends In{getTypeName(){return"Style"}},cf=class extends In{getTypeName(){return"Script"}},lf=class extends In{getTypeName(){return"URL"}},uf=class extends In{getTypeName(){return"ResourceURL"}};function st(e){return e instanceof In?e.changingThisBreaksApplicationSecurity:e}function an(e,n){let t=ov(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Ua})`)}return t===n}function ov(e){return e instanceof In&&e.getTypeName()||null}function $f(e){return new sf(e)}function Hf(e){return new af(e)}function Vf(e){return new cf(e)}function zf(e){return new lf(e)}function Wf(e){return new uf(e)}function uS(e){let n=new ff(e);return dS()?new df(n):n}var df=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(jc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ff=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=jc(n),t}};function dS(){try{return!!new window.DOMParser().parseFromString(jc(""),"text/html")}catch{return!1}}var fS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ss(e){return e=String(e),e.match(fS)?e:"unsafe:"+e}function Sn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function as(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var iv=Sn("area,br,col,hr,img,wbr"),sv=Sn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),av=Sn("rp,rt"),pS=as(av,sv),hS=as(sv,Sn("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")),gS=as(av,Sn("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")),Zm=as(iv,hS,gS,pS),cv=Sn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mS=Sn("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"),yS=Sn("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"),vS=as(cv,mS,yS),bS=Sn("script,style,template");var pf=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=CS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=DS(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=Ym(n).toLowerCase();if(!Zm.hasOwnProperty(t))return this.sanitizedSomething=!0,!bS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!vS.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;cv[a]&&(c=ss(c)),this.buf.push(" ",s,'="',Qm(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=Ym(n).toLowerCase();Zm.hasOwnProperty(t)&&!iv.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Qm(n))}};function ES(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DS(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw lv(n);return n}function CS(e){let n=e.firstChild;if(n&&ES(e,n))throw lv(n);return n}function Ym(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function lv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var wS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,IS=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(wS,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(IS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var lc;function Bc(e,n){let t=null;try{lc=lc||uS(e);let r=n?String(n):"";t=lc.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=lc.getInertBodyElement(r)}while(r!==i);let a=new pf().sanitizeChildren(Jm(t)||t);return jc(a)}finally{if(t){let r=Jm(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Jm(e){return"content"in e&&SS(e)?e.content:null}function SS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var TS=/^>|^->|<!--|-->|--!>|<!-$/g,_S=/(<|>)/g,MS="\u200B$1\u200B";function NS(e){return e.replace(TS,n=>n.replace(_S,MS))}function AS(e,n){return e.createText(n)}function RS(e,n,t){e.setValue(n,t)}function xS(e,n){return e.createComment(NS(n))}function uv(e,n,t){return e.createElement(n,t)}function Cc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function dv(e,n,t){e.appendChild(n,t)}function Xm(e,n,t,r,o){r!==null?Cc(e,n,t,r,o):dv(e,n,t)}function fv(e,n,t,r){e.removeChild(null,n,t,r)}function OS(e,n,t){e.setAttribute(n,"style",t)}function kS(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function pv(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&VI(e,n,r),o!==null&&kS(e,n,o),i!==null&&OS(e,n,i)}var Et=(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})(Et||{});function PS(e){let n=qf();return n?qm(n.sanitize(Et.HTML,e)||""):an(e,"HTML")?qm(st(e)):Bc(Yy(),Xt(e))}function hv(e){let n=qf();return n?n.sanitize(Et.URL,e)||"":an(e,"URL")?st(e):ss(Xt(e))}function gv(e){let n=qf();if(n)return Km(n.sanitize(Et.RESOURCE_URL,e)||"");if(an(e,"ResourceURL"))return Km(st(e));throw new D(904,!1)}var LS={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function FS(e,n){return LS[e]?.[n]===!0?gv:hv}function Gf(e,n,t){return FS(n,t)(e)}function qf(){let e=w();return e&&e[xt].sanitizer}function jS(e){return e.ownerDocument}function mv(e){return e instanceof Function?e():e}function BS(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var yv="ng-template";function US(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&BS(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Kf(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Kf(e){return e.type===4&&e.value!==yv}function $S(e,n,t){let r=e.type===4&&!t?yv:e.value;return n===r}function HS(e,n,t){let r=4,o=e.attrs,i=o!==null?WS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Pt(r)&&!Pt(c))return!1;if(s&&Pt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!$S(e,c,t)||c===""&&n.length===1){if(Pt(r))return!1;s=!0}}else if(r&8){if(o===null||!US(e,o,c,t)){if(Pt(r))return!1;s=!0}}else{let l=n[++a],u=VS(c,o,Kf(e),t);if(u===-1){if(Pt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Pt(r))return!1;s=!0}}}}return Pt(r)||s}function Pt(e){return(e&1)===0}function VS(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return GS(n,e)}function vv(e,n,t=!1){for(let r=0;r<n.length;r++)if(HS(e,n[r],t))return!0;return!1}function zS(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function WS(e){for(let n=0;n<e.length;n++){let t=e[n];if(ky(t))return n}return e.length}function GS(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function qS(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ey(e,n){return e?":not("+n.trim()+")":n}function KS(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Pt(s)&&(n+=ey(i,o),o=""),r=s,i=i||!Pt(r);t++}return o!==""&&(n+=ey(i,o)),n}function ZS(e){return e.map(KS).join(",")}function YS(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Pt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Oe={};function Zf(e,n,t,r,o,i,s,a,c,l,u){let d=ee+r,f=d+o,p=QS(d,f),g=typeof l=="function"?l():l;return p[S]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:g,incompleteFirstPass:!1,ssrId:u}}function QS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Oe);return t}function JS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Zf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Yf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[Rt]=o,d[N]=r|4|128|8|64|1024,(l!==null||e&&e[N]&2048)&&(d[N]|=2048),Ed(d),d[De]=d[Nr]=e,d[he]=t,d[xt]=s||e&&e[xt],d[W]=a||e&&e[W],d[He]=c||e&&e[He]||null,d[$e]=i,d[tn]=rS(),d[Mr]=u,d[hd]=l,d[Ve]=n.type==2?e[Ve]:d,d}function XS(e,n,t){let r=ot(n,e),o=JS(t),i=e[xt].rendererFactory,s=Qf(e,Yf(e,o,null,bv(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function bv(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Ev(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Qf(e,n){return e[wo]?e[pd][gt]=n:e[wo]=n,e[pd]=n,n}function je(e=1){Dv(te(),w(),bt()+e,!1)}function Dv(e,n,t,r){if(!r)if((n[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&dc(n,i,t)}else{let i=e.preOrderHooks;i!==null&&fc(n,i,0,t)}Qn(t)}var Uc=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Uc||{});function hf(e,n,t,r){let o=I(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Uc.SignalBased)!==0&&(c=n[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):My(n,c,i,r)}finally{I(o)}}var Ft=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ft||{}),eT;function Jf(e,n){return eT(e,n)}var Cv=new C("",{factory:()=>!1});var tT=!1,cs=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function wv(e){return e[He].get(Cv,tT)}function nT(e,n,t){let r=Oo.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Oo.set(e,{classList:n,cleanupFns:t})}function Xf(e){let n=Oo.get(e);if(n){for(let t of n.cleanupFns)t();Oo.delete(e)}jr.delete(e)}var Oo=new WeakMap,jr=new WeakMap,Zi=new WeakMap,Wi=new WeakSet;function ty(e,n){let t=Zi.get(e);if(t&&t.length>0){let r=t.findIndex(o=>o===n);r>-1&&t.splice(r,1)}t?.length===0&&Zi.delete(e)}function rT(e,n){let t=Zi.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),Wi.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Iv(e,n){let t=Zi.get(e);t?t.includes(n)||t.push(n):Zi.set(e,[n])}function ny(e){let n=e[nn]??={};return n.enter??=new Map}function $c(e){let n=e[nn]??={};return n.leave??=new Map}function Sv(e){let n=typeof e=="function"?e():e,t=Array.isArray(n)?n:null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(r=>r)),t}function oT(e,n){if(!cs)return;let t=Oo.get(e);if(t&&t.classList.length>0&&iT(e,t.classList))for(let r of t.classList)n.removeClass(e,r);Xf(e)}function iT(e,n){for(let t of n)if(e.classList.contains(t))return!0;return!1}function Yi(e){return e.composedPath?e.composedPath()[0]:e.target}function ep(e,n){let t=jr.get(n);return t===void 0?!0:n===Yi(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function Tv(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function ry(e,n){if(e)for(let t of e)t();for(let t of n)t()}function oy(e,n){let t=$c(e).get(n.index);t&&(t.resolvers=void 0)}function wc(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Lr(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function sT(e){let n=Lr(e,"transition-property"),t=Lr(e,"transition-duration"),r=Lr(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=wc(r[i])+wc(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function aT(e){let n=Lr(e,"animation-name"),t=Lr(e,"animation-delay"),r=Lr(e,"animation-duration"),o=Lr(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=wc(t[s])+wc(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function _v(e,n){return e!==void 0&&e.duration>n.duration}function Mv(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function cT(e,n){let t=getComputedStyle(e),r=aT(t),o=sT(t),i=r.duration>o.duration?r:o;_v(n.get(e),i)||Mv(i)&&n.set(e,i)}function Nv(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?cT(e,n):lT(e,n,r)}function lT(e,n,t){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of t){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let l,u;o.animationName?u=o.animationName:l=o.transitionProperty,a>=r.duration&&(r={animationName:u,propertyName:l,duration:a})}_v(n.get(e),r)||Mv(r)&&n.set(e,r)}var Jn=new Set,Hc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Hc||{}),Bt=new C(""),iy=new Set;function Ut(e){iy.has(e)||(iy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Vc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),tp=[0,1,2,3],np=(()=>{class e{ngZone=h(le);scheduler=h(Qt);errorHandler=h(pt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(Bt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&z(F.AfterRenderHooksStart),this.executing=!0;for(let r of tp)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&z(F.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Rr]??=[]).push(t),kr(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Hc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Qi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Rr];n&&(this.view[Rr]=n.filter(t=>t!==this))}};function zc(e,n){let t=n?.injector??h(ve);return Ut("NgAfterNextRender"),dT(e,t,n,!0)}function uT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function dT(e,n,t,r){let o=n.get(Vc);o.impl??=n.get(np);let i=n.get(Bt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(me):null,a=n.get(_o,null,{optional:!0}),c=new Qi(o.impl,uT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Wc=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:h(se)})});function Av(e,n,t){let r=e.get(Wc);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function fT(e,n){let t=e.get(Wc);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function pT(e){let n=e.get(Wc);n.isScheduled||(zc(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function Rv(e){let n=e.get(Wc);n.scheduler=pT,n.scheduler(e)}function xv(e,n){for(let[t,r]of n)Av(e,r.animateFns)}function sy(e,n,t,r){let o=e?.[nn]?.enter;n!==null&&o&&o.has(t.index)&&xv(r,o)}function No(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;Ot(o)?c=o:En(o)&&(l=!0,o=o[Rt]);let u=mt(o);e===0&&r!==null?(sy(a,r,i,t),s==null?dv(n,r,u):Cc(n,r,u,s||null,!0)):e===1&&r!==null?(sy(a,r,i,t),Cc(n,r,u,s||null,!0),rT(i,u)):e===2?(a?.[nn]?.leave?.has(i.index)&&Iv(i,u),Wi.delete(u),ay(a,i,t,d=>{if(Wi.has(u)){Wi.delete(u);return}fv(n,u,l,d)})):e===3&&(Wi.delete(u),ay(a,i,t,()=>{n.destroyNode(u)})),c!=null&&IT(n,e,t,c,i,r,s)}}function hT(e,n){Ov(e,n),n[Rt]=null,n[$e]=null}function gT(e,n,t,r,o,i){r[Rt]=o,r[$e]=n,qc(e,r,t,1,o,i)}function Ov(e,n){n[xt].changeDetectionScheduler?.notify(9),qc(e,n,n[W],2,null,null)}function mT(e){let n=e[wo];if(!n)return zd(e[S],e);for(;n;){let t=null;if(En(n))t=n[wo];else{let r=n[ue];r&&(t=r)}if(!t){for(;n&&!n[gt]&&n!==e;)En(n)&&zd(n[S],n),n=n[De];n===null&&(n=e),En(n)&&zd(n[S],n),t=n&&n[gt]}n=t}}function rp(e,n){let t=e[xr],r=t.indexOf(n);t.splice(r,1)}function Gc(e,n){if(Or(n))return;let t=n[W];t.destroyNode&&qc(e,n,t,3,null,null),mT(n)}function zd(e,n){if(Or(n))return;let t=I(null);try{n[N]&=-129,n[N]|=256,n[rt]&&$n(n[rt]),bT(e,n),vT(e,n),n[S].type===1&&n[W].destroy();let r=n[Kn];if(r!==null&&Ot(n[De])){r!==n[De]&&rp(r,n);let o=n[en];o!==null&&o.detachView(e)}nf(n)}finally{I(t)}}function ay(e,n,t,r){let o=e?.[nn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Jn.add(e[tn]),Av(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),yT(e,r)}else e&&Jn.delete(e[tn]),r(!1)},o)}function yT(e,n){let t=e[nn]?.running;if(t){t.then(()=>{e[nn].running=void 0,Jn.delete(e[tn]),n(!0)});return}n(!1)}function vT(e,n){let t=e.cleanup,r=n[Co];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Co]=null);let o=n[vn];if(o!==null){n[vn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[zn];if(i!==null){n[zn]=null;for(let s of i)s.destroy()}}function bT(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Br)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];z(F.LifecycleHookStart,a,c);try{c.call(a)}finally{z(F.LifecycleHookEnd,a,c)}}else{z(F.LifecycleHookStart,o,i);try{i.call(o)}finally{z(F.LifecycleHookEnd,o,i)}}}}}function kv(e,n,t){return ET(e,n.parent,t)}function ET(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Rt];if(Dn(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Lt.None||o===Lt.Emulated)return null}return ot(r,t)}function Pv(e,n,t){return CT(e,n,t)}function DT(e,n,t){return e.type&40?ot(e,t):null}var CT=DT,cy;function op(e,n,t,r){let o=kv(e,r,n),i=n[W],s=r.parent||n[$e],a=Pv(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Xm(i,o,t[c],a,!1);else Xm(i,o,t,a,!1);cy!==void 0&&cy(i,r,n,t,o)}function Gi(e,n){if(n!==null){let t=n.type;if(t&3)return ot(n,e);if(t&4)return gf(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Gi(e,r);{let o=e[n.index];return Ot(o)?gf(-1,o):mt(o)}}else{if(t&128)return Gi(e,n.next);if(t&32)return Jf(n,e)()||mt(e[n.index]);{let r=Lv(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Wn(e[Ve]);return Gi(o,r)}else return Gi(e,n.next)}}}return null}function Lv(e,n){if(n!==null){let r=e[Ve][$e],o=n.projection;return r.projection[o]}return null}function gf(e,n){let t=ue+e+1;if(t<n.length){let r=n[t],o=r[S].firstChild;if(o!==null)return Gi(r,o)}return n[Zn]}function ip(e,n,t,r,o,i,s){for(;t!=null;){let a=r[He];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&xo(mt(c),r),t.flags|=2),!Fc(t))if(l&8)ip(e,n,t.child,r,o,i,!1),No(n,e,a,o,c,t,i,r);else if(l&32){let u=Jf(t,r),d;for(;d=u();)No(n,e,a,o,d,t,i,r);No(n,e,a,o,c,t,i,r)}else l&16?Fv(e,n,r,t,o,i):No(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function qc(e,n,t,r,o,i){ip(t,r,e.firstChild,n,o,i,!1)}function wT(e,n,t){let r=n[W],o=kv(e,t,n),i=t.parent||n[$e],s=Pv(i,t,n);Fv(r,0,n,t,o,s)}function Fv(e,n,t,r,o,i){let s=t[Ve],c=s[$e].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];No(n,e,t[He],o,u,r,i,t)}else{let l=c,u=s[De];Wy(r)&&(l.flags|=128),ip(e,n,l,u,o,i,!0)}}function IT(e,n,t,r,o,i,s){let a=r[Zn],c=mt(r);a!==c&&No(n,e,t,i,a,o,s);for(let l=ue;l<r.length;l++){let u=r[l];qc(u[S],u,e,n,i,a)}}function ST(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Ft.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ft.Important),e.setStyle(t,r,o,i))}}function jv(e,n,t,r,o){let i=bt(),s=r&2;try{Qn(-1),s&&n.length>ee&&Dv(e,n,ee,!1);let a=s?F.TemplateUpdateStart:F.TemplateCreateStart;z(a,o,t),t(r,o)}finally{Qn(i);let a=s?F.TemplateUpdateEnd:F.TemplateCreateEnd;z(a,o,t)}}function Kc(e,n,t){RT(e,n,t),(t.flags&64)===64&&xT(e,n,t)}function Bo(e,n,t=ot){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function TT(e,n,t,r){let i=r.get(ev,Xy)||t===Lt.ShadowDom||t===Lt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return _T(s),s}function _T(e){MT(e)}var MT=()=>null;function NT(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Bv(e,n,t,r,o,i){let s=n[S];if(ap(e,s,n,t,r)){Dn(e)&&AT(n,e.index);return}e.type&3&&(t=NT(t)),Uv(e,n,t,r,o,i)}function Uv(e,n,t,r,o,i){if(e.type&3){let s=ot(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function AT(e,n){let t=yt(n,e);t[N]&16||(t[N]|=64)}function RT(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Dn(t)&&XS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Ec(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ki(n,e,s,t);if(xo(c,n),i!==null&&LT(n,s-r,c,a,t,i),kt(a)){let l=yt(t.index,n);l[he]=Ki(n,e,s,t)}}}function xT(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Sm();try{Qn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];tc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&OT(c,l)}}finally{Qn(-1),tc(s)}}function OT(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function sp(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];vv(n,i.selectors,!1)&&(r??=[],kt(i)?r.unshift(i):r.push(i))}return r}function kT(e,n,t,r,o,i){let s=ot(e,n);PT(n[W],s,i,e.value,t,r,o)}function PT(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Xt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function LT(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];hf(r,t,c,l)}}function Zc(e,n,t,r,o){let i=ee+t,s=n[S],a=o(s,n,e,r,t);n[i]=a,Pr(e,!0);let c=e.type===2;return c?(pv(n[W],a,e),(ym()===0||Io(e))&&xo(a,n),vm()):xo(a,n),ic()&&(!c||!Fc(e))&&op(s,n,a,e),e}function Yc(e){let n=e;return Ad()?Rd():(n=n.parent,Pr(n,!1)),n}function FT(e,n){let t=e[He];if(!t)return;let r;try{r=t.get(it,null)}catch{r=null}r?.(n)}function ap(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];hf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];hf(u,l,r,o),a=!0}return a}function jT(e,n){let t=yt(n,e),r=t[S];BT(r,t);let o=t[Rt];o!==null&&t[Mr]===null&&(t[Mr]=tv(o,t[He])),z(F.ComponentStart);try{cp(r,t,t[he])}finally{z(F.ComponentEnd,t[he])}}function BT(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function cp(e,n,t){rc(n);try{let r=e.viewQuery;r!==null&&of(1,r,t);let o=e.template;o!==null&&jv(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[en]?.finishViewCreation(e),e.staticContentQueries&&nv(e,n),e.staticViewQueries&&of(2,e.viewQuery,t);let i=e.components;i!==null&&UT(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[N]&=-5,oc()}}function UT(e,n){for(let t=0;t<n.length;t++)jT(e,n[t])}function ls(e,n,t,r){let o=I(null);try{let i=n.tView,a=e[N]&4096?4096:16,c=Yf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Kn]=l;let u=e[en];return u!==null&&(c[en]=u.createEmbeddedView(i)),cp(i,c,t),c}finally{I(o)}}function ko(e,n){return!n||n.firstChild===null||Wy(e)}function Ji(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(mt(i)),Ot(i)&&$v(i,r);let s=t.type;if(s&8)Ji(e,n,t.child,r);else if(s&32){let a=Jf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Lv(n,t);if(Array.isArray(a))r.push(...a);else{let c=Wn(n[Ve]);Ji(c[S],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function $v(e,n){for(let t=ue;t<e.length;t++){let r=e[t],o=r[S].firstChild;o!==null&&Ji(r[S],r,o,n)}e[Zn]!==e[Rt]&&n.push(e[Zn])}function Hv(e){if(e[Rr]!==null){for(let n of e[Rr])n.impl.addSequence(n);e[Rr].length=0}}var Vv=[];function $T(e){return e[rt]??HT(e)}function HT(e){let n=Vv.pop()??Object.create(zT);return n.lView=e,n}function VT(e){e.lView[rt]!==e&&(e.lView=null,Vv.push(e))}var zT=P(m({},Bn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{kr(e.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function WT(e){let n=e[rt]??Object.create(GT);return n.lView=e,n}var GT=P(m({},Bn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Wn(e.lView);for(;n&&!zv(n[S]);)n=Wn(n);n&&Dd(n)},consumerOnSignalRead(){this.lView[rt]=this}});function zv(e){return e.type!==2}function Wv(e){if(e[zn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[zn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[N]&8192)}}var qT=100;function Gv(e,n=0){let r=e[xt].rendererFactory,o=!1;o||r.begin?.();try{KT(e,n)}finally{o||r.end?.()}}function KT(e,n){let t=Od();try{Mi(!0),mf(e,n);let r=0;for(;ji(e);){if(r===qT)throw new D(103,!1);r++,mf(e,1)}}finally{Mi(t)}}function ZT(e,n,t,r){if(Or(n))return;let o=n[N],i=!1,s=!1;rc(n);let a=!0,c=null,l=null;i||(zv(e)?(l=$T(n),c=hn(l)):da()===null?(a=!1,l=WT(n),c=hn(l)):n[rt]&&($n(n[rt]),n[rt]=null));try{Ed(n),Cm(e.bindingStartIndex),t!==null&&jv(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&dc(n,p,null)}else{let p=e.preOrderHooks;p!==null&&fc(n,p,0,null),Hd(n,0)}if(s||YT(n),Wv(n),qv(n,0),e.contentQueries!==null&&nv(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&dc(n,p)}else{let p=e.contentHooks;p!==null&&fc(n,p,1),Hd(n,1)}JT(e,n);let d=e.components;d!==null&&Zv(n,d,0);let f=e.viewQuery;if(f!==null&&of(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&dc(n,p)}else{let p=e.viewHooks;p!==null&&fc(n,p,2),Hd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Za]){for(let p of n[Za])p();n[Za]=null}i||(Hv(n),n[N]&=-73)}catch(u){throw i||kr(n),u}finally{l!==null&&(Un(l,c),a&&VT(l)),oc()}}function qv(e,n){for(let t=qy(e);t!==null;t=Ky(t))for(let r=ue;r<t.length;r++){let o=t[r];Kv(o,n)}}function YT(e){for(let n=qy(e);n!==null;n=Ky(n)){if(!(n[N]&2))continue;let t=n[xr];for(let r=0;r<t.length;r++){let o=t[r];Dd(o)}}}function QT(e,n,t){z(F.ComponentStart);let r=yt(n,e);try{Kv(r,t)}finally{z(F.ComponentEnd,r[he])}}function Kv(e,n){Ja(e)&&mf(e,n)}function mf(e,n){let r=e[S],o=e[N],i=e[rt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&po(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)ZT(r,e,r.template,e[he]);else if(o&8192){let a=I(null);try{Wv(e),qv(e,1);let c=r.components;c!==null&&Zv(e,c,1),Hv(e)}finally{I(a)}}}function Zv(e,n,t){for(let r=0;r<n.length;r++)QT(e,n[r],t)}function JT(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Qn(~o);else{let i=o,s=t[++r],a=t[++r];Im(s,i);let c=n[i];z(F.HostBindingsUpdateStart,c);try{a(2,c)}finally{z(F.HostBindingsUpdateEnd,c)}}}}finally{Qn(-1)}}function lp(e,n){let t=Od()?64:1088;for(e[xt].changeDetectionScheduler?.notify(n);e;){e[N]|=t;let r=Wn(e);if(So(e)&&!r)return e;e=r}return null}function Yv(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Qv(e,n){let t=ue+n;if(t<e.length)return e[t]}function us(e,n,t,r=!0){let o=n[S];if(XT(o,n,e,t),r){let s=gf(t,e),a=n[W],c=a.parentNode(e[Zn]);c!==null&&gT(o,e[$e],a,n,c,s)}let i=n[Mr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Jv(e,n){let t=Xi(e,n);return t!==void 0&&Gc(t[S],t),t}function Xi(e,n){if(e.length<=ue)return;let t=ue+n,r=e[t];if(r){let o=r[Kn];o!==null&&o!==e&&rp(o,r),n>0&&(e[t-1][gt]=r[gt]);let i=Oi(e,ue+n);hT(r[S],r);let s=i[en];s!==null&&s.detachView(i[S]),r[De]=null,r[gt]=null,r[N]&=-129}return r}function XT(e,n,t,r){let o=ue+r,i=t.length;r>0&&(t[o-1][gt]=n),r<i-ue?(n[gt]=t[o],ad(t,ue+r,n)):(t.push(n),n[gt]=null),n[De]=t;let s=n[Kn];s!==null&&t!==s&&Xv(s,n);let a=n[en];a!==null&&a.insertView(e),Xa(n),n[N]|=128}function Xv(e,n){let t=e[xr],r=n[De];if(En(r))e[N]|=2;else{let o=r[De][Ve];n[Ve]!==o&&(e[N]|=2)}t===null?e[xr]=[n]:t.push(n)}var Xn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[S];return Ji(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[he]}set context(n){this._lView[he]=n}get destroyed(){return Or(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[De];if(Ot(n)){let t=n[Fi],r=t?t.indexOf(this):-1;r>-1&&(Xi(n,r),Oi(t,r))}this._attachedToViewContainer=!1}Gc(this._lView[S],this._lView)}onDestroy(n){Cd(this._lView,n)}markForCheck(){lp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){Xa(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Gv(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=So(this._lView),t=this._lView[Kn];t!==null&&!n&&rp(t,this._lView),Ov(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;let t=So(this._lView),r=this._lView[Kn];r!==null&&!t&&Xv(r,this._lView),Xa(this._lView)}};var on=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=e_;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=ls(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Xn(i)}}return e})();function e_(){return Qc(ge(),w())}function Qc(e,n){return e.type&4?new on(n,e,jo(e,n)):null}function Wr(e,n,t,r,o){let i=e.data[n];if(i===null)i=t_(e,n,t,r,o),wm()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Dm();i.injectorIndex=s===null?-1:s.injectorIndex}return Pr(i,!0),i}function t_(e,n,t,r,o){let i=Nd(),s=Ad(),a=s?i:i&&i.parent,c=e.data[n]=r_(e,a,t,n,r,o);return n_(e,c,i,s),c}function n_(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function r_(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Td()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function o_(e){let n=e[gd]??[],r=e[De][W],o=[];for(let i of n)i.data[Jy]!==void 0?o.push(i):i_(i,r);e[gd]=o}function i_(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Qy];for(;t<o;){let i=r.nextSibling;fv(n,r,!1),r=i,t++}}}var s_=()=>null,a_=()=>null;function Ic(e,n){return s_(e,n)}function eb(e,n,t){return a_(e,n,t)}var tb=class{},Jc=class{},yf=class{resolveComponentFactory(n){throw new D(917,!1)}},ds=class{static NULL=new yf},Ur=class{},$t=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>c_()}return e})();function c_(){let e=w(),n=ge(),t=yt(n.index,e);return(En(t)?t:e)[W]}var nb=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var hc={},vf=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,hc,r);return o!==hc||t===hc?o:this.parentInjector.get(n,t,r)}};function Sc(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=$a(o,a);else if(i==2){let c=a,l=n[++s];r=$a(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function L(e,n=0){let t=w();if(t===null)return M(e,n);let r=ge();return $y(r,t,Ee(e),n)}function rb(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}d_(e,n,t,a,i,c,l)}i!==null&&r!==null&&l_(t,r,i)}function l_(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new D(-301,!1);r.push(n[o],i)}}function u_(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function d_(e,n,t,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&&kt(p)&&(c=p,u_(e,t,f)),ef(Ec(t,n),e,p.type)}y_(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=Ev(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(t.mergedAttrs=Ro(t.mergedAttrs,p.hostAttrs),p_(e,t,n,d,p),m_(d,p,o),s!==null&&s.has(p)){let[y,b]=s.get(p);t.directiveToIndex.set(p.type,[d,y+t.directiveStart,b+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let g=p.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}f_(e,t,i)}function f_(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))ly(0,n,o,r),ly(1,n,o,r),dy(n,r,!1);else{let i=t.get(o);uy(0,n,i,r),uy(1,n,i,r),dy(n,r,!0)}}}function ly(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),ob(n,i)}}function uy(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ob(n,s)}}function ob(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function dy(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Kf(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function p_(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ir(o.type,!0)),s=new Br(i,kt(o),L,null);e.blueprint[r]=s,t[r]=s,h_(e,n,r,Ev(e,t,o.hostVars,Oe),o)}function h_(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;g_(s)!=a&&s.push(a),s.push(t,r,i)}}function g_(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function m_(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;kt(n)&&(t[""]=e)}}function y_(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function up(e,n,t,r,o,i,s,a){let c=n[S],l=c.consts,u=vt(l,s),d=Wr(c,e,t,r,u);return i&&rb(c,n,d,vt(l,a),o),d.mergedAttrs=Ro(d.mergedAttrs,d.attrs),d.attrs!==null&&Sc(d,d.attrs,!1),d.mergedAttrs!==null&&Sc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function dp(e,n){xy(e,n),md(n)&&e.queries.elementEnd(n)}function ib(e,n,t,r,o,i){let s=n.consts,a=vt(s,o),c=Wr(n,e,t,r,a);if(c.mergedAttrs=Ro(c.mergedAttrs,c.attrs),i!=null){let l=vt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Sc(c,c.attrs,!1),c.mergedAttrs!==null&&Sc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function fp(e){return Xc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function sb(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Xc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function er(e,n,t){return e[n]=t}function el(e,n){return e[n]}function Qe(e,n,t){if(t===Oe)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Po(e,n,t,r){let o=Qe(e,n,t);return Qe(e,n+1,r)||o}function pp(e,n,t,r,o){let i=Po(e,n,t,r);return Qe(e,n+2,o)||i}function tl(e,n,t,r,o,i){let s=Po(e,n,t,r);return Po(e,n+2,o,i)||s}function Wd(e,n,t){return function r(o){let i=Dn(e)?yt(e.index,n):n;lp(i,5);let s=n[he],a=fy(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=fy(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function fy(e,n,t,r){let o=I(null);try{return z(F.OutputStart,n,t),t(r)!==!1}catch(i){return FT(e,i),!1}finally{z(F.OutputEnd,n,t),I(o)}}function v_(e,n,t,r,o,i,s,a){let c=Io(e),l=!1,u=null;if(!r&&c&&(u=E_(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ot(e,t),f=r?r(d):d;aS(t,f,i,a);let p=o.listen(f,i,a);if(!b_(i)){let g=r?y=>r(mt(y[e.index])):e.index;ab(g,n,t,i,a,p,!1)}}return l}function b_(e){return e.startsWith("animation")||e.startsWith("transition")}function E_(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Co],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ab(e,n,t,r,o,i,s){let a=n.firstCreatePass?Id(n):null,c=wd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function py(e,n,t,r,o,i){let s=n[t],a=n[S],l=a.data[t].outputs[r],d=s[l].subscribe(i);ab(e.index,a,n,o,i,d,!0)}var bf=Symbol("BINDING");function cb(e){return e.debugInfo?.className||e.type.name||null}var Tc=class extends ds{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=bn(n);return new $r(t,this.ngModule)}};function D_(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Uc.SignalBased)!==0};return o&&(i.transform=o),i})}function C_(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function w_(e,n,t){let r=n instanceof se?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new vf(t,r):t}function I_(e){let n=e.get(Ur,null);if(n===null)throw new D(407,!1);let t=e.get(nb,null),r=e.get(Qt,null),o=e.get(Bt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function S_(e,n){let t=lb(e);return uv(n,t,t==="svg"?yd:t==="math"?dm:null)}function lb(e){return(e.selectors[0][0]||"div").toLowerCase()}var $r=class extends Jc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=D_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C_(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=ZS(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){z(F.DynamicComponentStart);let a=I(null);try{let c=this.componentDef,l=w_(c,o||this.ngModule,n),u=I_(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(cb(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{I(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=T_(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?TT(l,o,a.encapsulation,t):S_(a,l),d=s?.some(hy)||i?.some(g=>typeof g!="function"&&g.bindings.some(hy)),f=Yf(null,c,null,512|bv(a),null,null,n,l,t,null,tv(u,t,!0));f[ee]=u,rc(f);let p=null;try{let g=up(ee,f,2,"#host",()=>c.directiveRegistry,!0,0);pv(l,u,g),xo(u,f),Kc(c,f,g),Uf(c,g,f),dp(c,g),r!==void 0&&M_(g,this.ngContentSelectors,r),p=yt(g.index,f),f[he]=p[he],cp(c,f,null)}catch(g){throw p!==null&&nf(p),nf(f),g}finally{z(F.DynamicComponentEnd),oc()}return new _c(this.componentType,f,!!d)}};function T_(e,n,t,r){let o=e?["ng-version","21.2.9"]:YS(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[bf].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let f of d.bindings){a+=f[bf].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,f=za(d);c.push(f)}return Zf(0,null,__(i,s),1,a,c,null,null,null,[o],null)}function __(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function hy(e){let n=e[bf].kind;return n==="input"||n==="twoWay"}var _c=class extends tb{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Ya(t[S],ee),this.location=jo(this._tNode,t),this.instance=yt(this._tNode.index,t)[he],this.hostView=this.changeDetectorRef=new Xn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=ap(r,o[S],o,n,t);this.previousInputValues.set(n,t);let s=yt(r.index,o);lp(s,1)}get injector(){return new Fr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function M_(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Dt=(()=>{class e{static __NG_ELEMENT_ID__=N_}return e})();function N_(){let e=ge();return ub(e,w())}var Ef=class e extends Dt{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return jo(this._hostTNode,this._hostLView)}get injector(){return new Fr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Ff(this._hostTNode,this._hostLView);if(Py(n)){let t=bc(n,this._hostLView),r=vc(n),o=t[S].data[r+8];return new Fr(o,t)}else return new Fr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=gy(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-ue}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ic(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,ko(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!PI(n),l;if(c)l=t;else{let b=t||{};l=b.index,r=b.injector,o=b.projectableNodes,i=b.environmentInjector||b.ngModuleRef,s=b.directives,a=b.bindings}let u=c?n:new $r(bn(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(c?d:this.parentInjector).get(se,null);E&&(i=E)}let f=bn(u.componentType??{}),p=Ic(this._lContainer,f?.id??null),g=p?.firstChild??null,y=u.create(d,o,g,i,s,a);return this.insertImpl(y.hostView,l,ko(this._hostTNode,p)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(pm(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[De],l=new e(c,c[$e],c[De]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return us(s,o,i,r),n.attachToViewContainerRef(),ad(Gd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=gy(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Xi(this._lContainer,t);r&&(Oi(Gd(this._lContainer),t),Gc(r[S],r))}detach(n){let t=this._adjustIndex(n,-1),r=Xi(this._lContainer,t);return r&&Oi(Gd(this._lContainer),t)!=null?new Xn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function gy(e){return e[Fi]}function Gd(e){return e[Fi]||(e[Fi]=[])}function ub(e,n){let t,r=n[e.index];return Ot(r)?t=r:(t=Yv(r,n,null,e),n[e.index]=t,Qf(n,t)),R_(t,n,e,r),new Ef(t,e,n)}function A_(e,n){let t=e[W],r=t.createComment(""),o=ot(n,e),i=t.parentNode(o);return Cc(t,i,r,t.nextSibling(o),!1),r}var R_=k_,x_=()=>!1;function O_(e,n,t){return x_(e,n,t)}function k_(e,n,t,r){if(e[Zn])return;let o;t.type&8?o=mt(r):o=A_(n,t),e[Zn]=o}var Df=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Cf=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)gp(n,t).matches!==null&&this.queries[t].setDirty()}},Mc=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=B_(n):this.predicate=n}},wf=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},If=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,P_(t,i)),this.matchTNodeWithReadOption(n,t,pc(t,n,i,!1,!1))}else r===on?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,pc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===xe||o===Dt||o===on&&t.type&4)this.addMatch(t.index,-2);else{let i=pc(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function P_(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function L_(e,n){return e.type&11?jo(e,n):e.type&4?Qc(e,n):null}function F_(e,n,t,r){return t===-1?L_(n,e):t===-2?j_(e,n,r):Ki(e,e[S],t,n)}function j_(e,n,t){if(t===xe)return jo(n,e);if(t===on)return Qc(n,e);if(t===Dt)return ub(n,e)}function db(e,n,t,r){let o=n[en].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(F_(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Sf(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=db(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=ue;d<u.length;d++){let f=u[d];f[Kn]===f[De]&&Sf(f[S],f,l,r)}if(u[xr]!==null){let d=u[xr];for(let f=0;f<d.length;f++){let p=d[f];Sf(p[S],p,l,r)}}}}}return r}function hp(e,n){return e[en].queries[n].queryList}function fb(e,n,t){let r=new Dc((t&4)===4);return mm(e,n,r,r.destroy),(n[en]??=new Cf).queries.push(new Df(r))-1}function pb(e,n,t){let r=te();return r.firstCreatePass&&(gb(r,new Mc(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),fb(r,w(),n)}function hb(e,n,t,r){let o=te();if(o.firstCreatePass){let i=ge();gb(o,new Mc(n,t,r),i.index),U_(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return fb(o,w(),t)}function B_(e){return e.split(",").map(n=>n.trim())}function gb(e,n,t){e.queries===null&&(e.queries=new wf),e.queries.track(new If(n,t))}function U_(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function gp(e,n){return e.queries.getByIndex(n)}function mb(e,n){let t=e[S],r=gp(t,n);return r.crossesNgTemplate?Sf(t,e,n,[]):db(t,e,r,n)}function mp(e,n,t){let r,o=Di(()=>{r._dirtyCounter();let i=$_(r,e);if(n&&i===void 0)throw new D(-951,!1);return i});return r=o[ce],r._dirtyCounter=T(0),r._flatValue=void 0,o}function yp(e){return mp(!0,!1,e)}function vp(e){return mp(!0,!0,e)}function yb(e){return mp(!1,!1,e)}function vb(e,n){let t=e[ce];t._lView=w(),t._queryIndex=n,t._queryList=hp(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function $_(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[N]&4)return n?void 0:Fe;let o=hp(t,r),i=mb(t,r);return o.reset(i,zy),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Hr=class{},nl=class{};var Nc=class extends Hr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Tc(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=od(n);this._bootstrapComponents=mv(i.bootstrap),this._r3Injector=Fd(n,t,[{provide:Hr,useValue:this},{provide:ds,useValue:this.componentFactoryResolver},...r],Ri(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ac=class extends nl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Nc(this.moduleType,n,[])}};var es=class extends Hr{injector;componentFactoryResolver=new Tc(this);instance=null;constructor(n){super();let t=new Tr([...n.providers,{provide:Hr,useValue:this},{provide:ds,useValue:this.componentFactoryResolver}],n.parent||Li(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function fs(e,n,t=null){return new es({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var H_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=ud(!1,t.type),o=r.length>0?fs([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(M(se))})}return e})();function Be(e){return rs(()=>{let n=bb(e),t=P(m({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(H_).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,styles:e.styles||Fe,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Ut("NgStandalone"),Eb(t);let r=e.dependencies;return t.directiveDefs=my(r,V_),t.pipeDefs=my(r,Yg),t.id=G_(t),t})}function V_(e){return bn(e)||za(e)}function be(e){return rs(()=>({type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function z_(e,n){if(e==null)return At;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Uc.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function W_(e){if(e==null)return At;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Q(e){return rs(()=>{let n=bb(e);return Eb(n),n})}function bb(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||At,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:z_(e.inputs,n),outputs:W_(e.outputs),debugInfo:null}}function Eb(e){e.features?.forEach(n=>n(e))}function my(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function G_(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Gr(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=q_,t.hostDirectives=r?e.map(Tf):[e]):r?t.hostDirectives.unshift(...e.map(Tf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function q_(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Db(s,n,r),o.set(s,[a,n.length-1])}i===0&&kt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function Db(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)yy(Tf(i),n,t)}else yy(r,n,t)}function yy(e,n,t){let r=za(e.directive);K_(r.declaredInputs,e.inputs),Db(r,n,t),t.set(r,e),n.push(r)}function Tf(e){return typeof e=="function"?{directive:Ee(e),inputs:At,outputs:At}:{directive:Ee(e.directive),inputs:vy(e.inputs),outputs:vy(e.outputs)}}function vy(e){if(e===void 0||e.length===0)return At;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function K_(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function Z_(e){return Object.getPrototypeOf(e.prototype).constructor}function Se(e){let n=Z_(e.type),t=!0,r=[e];for(;n;){let o;if(kt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new D(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=qd(e.inputs),s.declaredInputs=qd(e.declaredInputs),s.outputs=qd(e.outputs);let a=o.hostBindings;a&&e0(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&J_(e,c),l&&X_(e,l),Y_(e,o),Zg(e.outputs,o.outputs),kt(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Se&&(t=!1)}}n=Object.getPrototypeOf(n)}Q_(r)}function Y_(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function Q_(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Ro(o.hostAttrs,t=Ro(t,o.hostAttrs))}}function qd(e){return e===At?{}:e===Fe?[]:e}function J_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function X_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function e0(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Cb(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Ro(e.mergedAttrs,e.attrs);let u=e.tView=Zf(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Pr(e,!1);let c=n0(t,n,e,r);ic()&&op(t,n,c,e),xo(c,n);let l=Yv(c,n,c,e);n[r+ee]=l,Qf(n,l),O_(l,e,n)}function t0(e,n,t,r,o,i,s,a,c,l,u){let d=t+ee,f;return n.firstCreatePass?(f=Wr(n,d,4,s||null,a||null),ec()&&rb(n,e,f,vt(n.consts,l),sp),xy(n,f)):f=n.data[d],Cb(f,e,n,t,r,o,i,c),Io(f)&&Kc(n,e,f),l!=null&&Bo(e,f,u),f}function ts(e,n,t,r,o,i,s,a,c,l,u){let d=t+ee,f;if(n.firstCreatePass){if(f=Wr(n,d,4,s||null,a||null),l!=null){let p=vt(n.consts,l);f.localNames=[];for(let g=0;g<p.length;g+=2)f.localNames.push(p[g],-1)}}else f=n.data[d];return Cb(f,e,n,t,r,o,i,c),l!=null&&Bo(e,f,u),f}function Tn(e,n,t,r,o,i,s,a){let c=w(),l=te(),u=vt(l.consts,i);return t0(c,l,e,n,t,r,o,u,void 0,s,a),Tn}var n0=r0;function r0(e,n,t,r){return Hi(!0),n[W].createComment("")}var rl=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function bp(e){return typeof e=="function"&&e[ce]!==void 0}function Ep(e){return bp(e)&&typeof e.set=="function"}var Dp=new C("");function Uo(e){return!!e&&typeof e.then=="function"}function Cp(e){return!!e&&typeof e.subscribe=="function"}var wp=new C("");function ol(e){return ht([{provide:wp,multi:!0,useValue:e}])}var Ip=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=h(wp,{optional:!0})??[];injector=h(ve);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=we(this.injector,o);if(Uo(i))t.push(i);else if(Cp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),il=new C("");function wb(){Mu(()=>{let e="";throw new D(600,e)})}function Ib(e){return e.isBoundToModule}var o0=10;var qr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(it);afterRenderManager=h(Vc);zonelessEnabled=h(zi);rootEffectScheduler=h(sc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new X;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(wn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Z(t=>!t))}constructor(){h(Bt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=h(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=ve.NULL){return this._injector.get(le).run(()=>{z(F.BootstrapComponentStart);let s=t instanceof Jc;if(!this._injector.get(Ip).done){let g="";throw new D(405,g)}let c;s?c=t:c=this._injector.get(ds).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=Ib(c)?void 0:this._injector.get(Hr),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(Dp,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),qi(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),z(F.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){z(F.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Hc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw z(F.ChangeDetectionEnd),new D(101,!1);let t=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(t),this.afterTick.next(),z(F.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ur,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<o0;){z(F.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{z(F.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ji(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gv(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>ji(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;qi(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(il,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>qi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Sp(){let e,n;return{promise:new Promise((r,o)=>{e=r,n=o}),resolve:e,reject:n}}function Je(e,n,t,r){let o=w(),i=Yn();if(Qe(o,i,n)){let s=te(),a=$i();kT(a,o,e,n,t,r)}return Je}function gc(e){if(Ut("NgAnimateEnter"),!cs)return gc;let n=w();if(wv(n))return gc;let t=ge(),r=n[He].get(le);return Tv(ny(n),t,()=>i0(n,t,e,r)),Rv(n[He]),xv(n[He],ny(n)),gc}function i0(e,n,t,r){let o=ot(n,e),i=e[W],s=Sv(t),a=[],c=!1,l=d=>{if(Yi(d)!==o)return;let f=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Yi(d)===o&&(ep(d,o)&&(c=!0),s0(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),nT(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Nv(o,jr,cs),!jr.has(o))){for(let d of s)i.removeClass(o,d);Xf(o)}})})}}function s0(e,n,t){let r=Oo.get(n);if(!(Yi(e)!==n||!r)&&ep(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);Xf(n)}}function mc(e){if(Ut("NgAnimateLeave"),!cs)return mc;let n=w();if(wv(n))return mc;let r=ge(),o=n[He].get(le);return Tv($c(n),r,()=>a0(n,r,e,o)),Rv(n[He]),mc}function a0(e,n,t,r){let{promise:o,resolve:i}=Sp(),s=ot(n,e),a=e[W];Jn.add(e[tn]),($c(e).get(n.index).resolvers??=[]).push(i);let c=Sv(t);return c&&c.length>0?c0(s,n,e,c,a,r):i(),{promise:o,resolve:i}}function c0(e,n,t,r,o,i){oT(e,o);let s=[],a=$c(t).get(n.index)?.resolvers,c,l=!1,u=d=>{if(!(Yi(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||ep(d,e))){if(l=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),jr.delete(e),ty(n,e),Array.isArray(n.projection))for(let p of r)o.removeClass(e,p);ry(a,s),oy(t,n)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Iv(n,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Nv(e,jr,cs);let d=jr.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(ty(n,e),ry(a,s),oy(t,n))})})}var _f=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Kd(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function l0(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){I(r);let l=n.length-1;for(I(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],f=Kd(s,u,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),g=n[l],y=Kd(a,p,l,g,t);if(y!==0){y<0&&e.updateValue(a,g),a--,l--;continue}let b=t(s,u),E=t(a,p),_=t(s,d);if(Object.is(_,E)){let B=t(l,g);Object.is(B,b)?(e.swap(s,a),e.updateValue(a,g),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Rc,i??=Ey(e,s,a,t),Mf(e,o,s,_))e.updateValue(s,d),s++,a++;else if(i.has(_))o.set(b,e.detach(s)),a--;else{let B=e.create(s,n[s]);e.attach(s,B),s++,a++}}for(;s<=l;)by(e,o,t,s,n[s]),s++}else if(n!=null){I(r);let l=n[Symbol.iterator]();I(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Kd(s,d,s,f,t);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new Rc,i??=Ey(e,s,a,t);let g=t(s,f);if(Mf(e,o,s,g))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(g))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let y=t(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)by(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Mf(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function by(e,n,t,r,o){if(Mf(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ey(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Rc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function u0(e,n,t,r,o,i,s,a){Ut("NgControlFlow");let c=w(),l=te(),u=vt(l.consts,i);return ts(c,l,e,n,t,r,o,u,256,s,a),Tp}function Tp(e,n,t,r,o,i,s,a){Ut("NgControlFlow");let c=w(),l=te(),u=vt(l.consts,i);return ts(c,l,e,n,t,r,o,u,512,s,a),Tp}function d0(e,n){Ut("NgControlFlow");let t=w(),r=Yn(),o=t[r]!==Oe?t[r]:-1,i=o!==-1?xc(t,ee+o):void 0,s=0;if(Qe(t,r,e)){let a=I(null);try{if(i!==void 0&&Jv(i,s),e!==-1){let c=ee+e,l=xc(t,c),u=xf(t[S],c),d=eb(l,u,t),f=ls(t,u,n,{dehydratedView:d});us(l,f,s,ko(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Qv(i,s);a!==void 0&&(a[he]=n)}}var Nf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-ue}};function f0(e,n){return n}var Af=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function p0(e,n,t,r,o,i,s,a,c,l,u,d,f){Ut("NgControlFlow");let p=w(),g=te(),y=c!==void 0,b=w(),E=a?s.bind(b[Ve][he]):s,_=new Af(y,E);b[ee+e]=_,ts(p,g,e+1,n,t,r,o,vt(g.consts,i),256),y&&ts(p,g,e+2,c,l,u,d,vt(g.consts,f),512)}var Rf=class extends _f{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-ue}at(n){return this.getLView(n)[he].$implicit}attach(n,t){let r=t[Mr];this.needsIndexUpdate||=n!==this.length,us(this.lContainer,t,n,ko(this.templateTNode,r)),g0(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,m0(this.lContainer,n),y0(this.lContainer,n)}create(n,t){let r=Ic(this.lContainer,this.templateTNode.tView.ssrId);return ls(this.hostLView,this.templateTNode,new Nf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Gc(n[S],n)}updateValue(n,t){this.getLView(n)[he].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[he].$index=n}getLView(n){return v0(this.lContainer,n)}};function h0(e){let n=I(null),t=bt();try{let r=w(),o=r[S],i=r[t],s=t+1,a=xc(r,s);if(i.liveCollection===void 0){let l=xf(o,s);i.liveCollection=new Rf(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(l0(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Yn(),u=c.length===0;if(Qe(r,l,u)){let d=t+2,f=xc(r,d);if(u){let p=xf(o,d),g=eb(f,p,r),y=ls(r,p,void 0,{dehydratedView:g});us(f,y,0,ko(p,g))}else o.firstUpdatePass&&o_(f),Jv(f,0)}}}finally{I(n)}}function xc(e,n){return e[n]}function g0(e,n){if(e.length<=ue)return;let t=ue+n,r=e[t],o=r?r[nn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[He];fT(i,o),Jn.delete(r[tn]),o.detachedLeaveAnimationFns=void 0}}function m0(e,n){if(e.length<=ue)return;let t=ue+n,r=e[t],o=r?r[nn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function y0(e,n){return Xi(e,n)}function v0(e,n){return Qv(e,n)}function xf(e,n){return Ya(e,n)}function de(e,n,t){let r=w(),o=Yn();if(Qe(r,o,n)){let i=te(),s=$i();Bv(s,r,e,n,r[W],t)}return de}function Of(e,n,t,r,o){ap(n,e,t,o?"class":"style",r)}function Vr(e,n,t,r){let o=w(),i=o[S],s=e+ee,a=i.firstCreatePass?up(s,o,2,n,sp,ec(),t,r):i.data[s];if(Dn(a)){let c=o[xt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(cb(l),()=>(Dy(e,n,o,a,r),Vr))}}return Dy(e,n,o,a,r),Vr}function Dy(e,n,t,r,o){if(Zc(r,t,e,n,Sb),Io(r)){let i=t[S];Kc(i,t,r),Uf(i,r,t)}o!=null&&Bo(t,r)}function $o(){let e=te(),n=ge(),t=Yc(n);return e.firstCreatePass&&dp(e,t),_d(t)&&Md(),Sd(),t.classesWithoutHost!=null&&$I(t)&&Of(e,t,w(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&HI(t)&&Of(e,t,w(),t.stylesWithoutHost,!1),$o}function _n(e,n,t,r){return Vr(e,n,t,r),$o(),_n}function Ho(e,n,t,r){let o=w(),i=o[S],s=e+ee,a=i.firstCreatePass?ib(s,i,2,n,t,r):i.data[s];return Zc(a,o,e,n,Sb),r!=null&&Bo(o,a),Ho}function Vo(){let e=ge(),n=Yc(e);return _d(n)&&Md(),Sd(),Vo}function ps(e,n,t,r){return Ho(e,n,t,r),Vo(),ps}var Sb=(e,n,t,r,o)=>(Hi(!0),uv(n[W],r,Rm()));function Kr(e,n,t){let r=w(),o=r[S],i=e+ee,s=o.firstCreatePass?up(i,r,8,"ng-container",sp,ec(),n,t):o.data[i];if(Zc(s,r,e,"ng-container",_b),Io(s)){let a=r[S];Kc(a,r,s),Uf(a,s,r)}return t!=null&&Bo(r,s),Kr}function tr(){let e=te(),n=ge(),t=Yc(n);return e.firstCreatePass&&dp(e,t),tr}function sl(e,n,t){return Kr(e,n,t),tr(),sl}function Tb(e,n,t){let r=w(),o=r[S],i=e+ee,s=o.firstCreatePass?ib(i,o,8,"ng-container",n,t):o.data[i];return Zc(s,r,e,"ng-container",_b),t!=null&&Bo(r,s),Tb}function b0(){let e=ge(),n=Yc(e);return tr}var _b=(e,n,t,r,o)=>(Hi(!0),xS(n[W],""));function E0(){return w()}function al(e,n,t){let r=w(),o=Yn();if(Qe(r,o,n)){let i=te(),s=$i();Uv(s,r,e,n,r[W],t)}return al}var hs="en-US";var D0=hs;function Mb(e){typeof e=="string"&&(D0=e.toLowerCase().replace(/_/g,"-"))}function zo(e,n,t){let r=w(),o=te(),i=ge();return Nb(o,r,r[W],i,e,n,t),zo}function Nb(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Wd(r,n,i),v_(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Wd(r,n,i),py(r,n,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Wd(r,n,i),py(r,n,d,o,o,c)}}function Ct(e=1){return Am(e)}function C0(e,n){let t=null,r=zS(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?vv(e,i,!0):qS(r,i))return o}return t}function cn(e){let n=w()[Ve][$e];if(!n.projection){let t=e?e.length:1,r=n.projection=nm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?C0(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ln(e,n=0,t,r,o,i){let s=w(),a=te(),c=r?e+1:null;c!==null&&ts(s,a,c,r,o,i,null,t);let l=Wr(a,ee+e,16,null,t||null);l.projection===null&&(l.projection=n),Rd();let d=!s[Mr]||Td();s[Ve][$e].projection[l.projection]===null&&c!==null?w0(s,a,c):d&&!Fc(l)&&wT(a,s,l)}function w0(e,n,t){let r=ee+t,o=n.data[r],i=e[r],s=Ic(i,o.tView.ssrId),a=ls(e,o,void 0,{dehydratedView:s});us(i,a,0,ko(o,s))}function Wo(e,n,t,r){return hb(e,n,t,r),Wo}function Ab(e,n,t){return pb(e,n,t),Ab}function nr(e){let n=w(),t=te(),r=nc();Ui(r+1);let o=gp(t,r);if(e.dirty&&fm(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=mb(n,r);e.reset(i,zy),e.notifyOnChanges()}return!0}return!1}function rr(){return hp(w(),nc())}function _p(e,n,t,r,o){return vb(n,hb(e,t,r,o)),_p}function Rb(e,n,t,r){return vb(e,pb(n,t,r)),Rb}function xb(e=1){Ui(nc()+e)}function I0(e){let n=xd();return bd(n,ee+e)}function uc(e,n){return e<<17|n<<2}function zr(e){return e>>17&32767}function S0(e){return(e&2)==2}function T0(e,n){return e&131071|n<<17}function kf(e){return e|2}function Lo(e){return(e&131068)>>2}function Zd(e,n){return e&-131069|n<<2}function _0(e){return(e&1)===1}function Pf(e){return e|1}function M0(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=zr(s),c=Lo(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Do(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let f=zr(e[a+1]);e[r+1]=uc(f,a),f!==0&&(e[f+1]=Zd(e[f+1],r)),e[a+1]=T0(e[a+1],r)}else e[r+1]=uc(a,0),a!==0&&(e[a+1]=Zd(e[a+1],r)),a=r;else e[r+1]=uc(c,0),a===0?a=r:e[c+1]=Zd(e[c+1],r),c=r;l&&(e[r+1]=kf(e[r+1])),Cy(e,u,r,!0),Cy(e,u,r,!1),N0(n,u,e,r,i),s=uc(a,c),i?n.classBindings=s:n.styleBindings=s}function N0(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Do(i,n)>=0&&(t[r+1]=Pf(t[r+1]))}function Cy(e,n,t,r){let o=e[t+1],i=n===null,s=r?zr(o):Lo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];A0(c,n)&&(a=!0,e[s+1]=r?Pf(l):kf(l)),s=r?zr(l):Lo(l)}a&&(e[t+1]=r?kf(o):Pf(o))}function A0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Do(e,n)>=0:!1}var Ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ob(e){return e.substring(Ce.key,Ce.keyEnd)}function R0(e){return e.substring(Ce.value,Ce.valueEnd)}function x0(e){return Lb(e),kb(e,Fo(e,0,Ce.textEnd))}function kb(e,n){let t=Ce.textEnd;return t===n?-1:(n=Ce.keyEnd=k0(e,Ce.key=n,t),Fo(e,n,t))}function O0(e){return Lb(e),Pb(e,Fo(e,0,Ce.textEnd))}function Pb(e,n){let t=Ce.textEnd,r=Ce.key=Fo(e,n,t);return t===r?-1:(r=Ce.keyEnd=P0(e,r,t),r=wy(e,r,t,58),r=Ce.value=Fo(e,r,t),r=Ce.valueEnd=L0(e,r,t),wy(e,r,t,59))}function Lb(e){Ce.key=0,Ce.keyEnd=0,Ce.value=0,Ce.valueEnd=0,Ce.textEnd=e.length}function Fo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function k0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function P0(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function wy(e,n,t,r){return n=Fo(e,n,t),n<t&&n++,n}function L0(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Iy(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Iy(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Iy(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function cl(e,n,t){return Fb(e,n,t,!1),cl}function Mp(e,n){return Fb(e,n,null,!0),Mp}function Np(e){jb($b,F0,e,!1)}function F0(e,n){for(let t=O0(n);t>=0;t=Pb(n,t))$b(e,Ob(n),R0(n))}function ze(e){jb(z0,j0,e,!0)}function j0(e,n){for(let t=x0(n);t>=0;t=kb(n,t))ki(e,Ob(n),!0)}function Fb(e,n,t,r){let o=w(),i=te(),s=Bi(2);if(i.firstUpdatePass&&Ub(i,e,s,r),n!==Oe&&Qe(o,s,n)){let a=i.data[bt()];Hb(i,a,o,o[W],e,o[s+1]=G0(n,t),r,s)}}function jb(e,n,t,r){let o=te(),i=Bi(2);o.firstUpdatePass&&Ub(o,null,i,r);let s=w();if(t!==Oe&&Qe(s,i,t)){let a=o.data[bt()];if(Vb(a,r)&&!Bb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=$a(c,t||"")),Of(o,a,s,t,r)}else W0(o,a,s,s[W],s[i+1],s[i+1]=V0(e,n,t),r,i)}}function Bb(e,n){return n>=e.expandoStartIndex}function Ub(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[bt()],s=Bb(e,t);Vb(i,r)&&n===null&&!s&&(n=!1),n=B0(o,i,n,r),M0(o,i,n,t,s,r)}}function B0(e,n,t,r){let o=Tm(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Yd(null,e,n,t,r),t=ns(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Yd(o,e,n,t,r),i===null){let c=U0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Yd(null,e,n,c[1],r),c=ns(c,n.attrs,r),$0(e,n,r,c))}else i=H0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function U0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Lo(r)!==0)return e[zr(r)]}function $0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[zr(o)]=r}function H0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ns(r,s,t)}return ns(r,n.attrs,t)}function Yd(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=ns(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function ns(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ki(e,s,t?!0:n[++i]))}return e===void 0?null:e}function V0(e,n,t){if(t==null||t==="")return Fe;let r=[],o=st(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function $b(e,n,t){ki(e,n,st(t))}function z0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&ki(e,r,t)}function W0(e,n,t,r,o,i,s,a){o===Oe&&(o=Fe);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,g=null,y;u===d?(c+=2,l+=2,f!==p&&(g=d,y=p)):d===null||u!==null&&u<d?(c+=2,g=u):(l+=2,g=d,y=p),g!==null&&Hb(e,n,t,r,g,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Hb(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=_0(l)?Sy(c,n,t,o,Lo(l),s):void 0;if(!Oc(u)){Oc(i)||S0(l)&&(i=Sy(c,null,t,o,a,s));let d=vd(bt(),t);ST(r,s,d,o,i)}}function Sy(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=t[o+1];f===Oe&&(f=d?Fe:void 0);let p=d?Ka(f,r):u===r?f:void 0;if(l&&!Oc(p)&&(p=Ka(c,r)),Oc(p)&&(a=p,s))return a;let g=e[o+1];o=s?zr(g):Lo(g)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ka(c,r))}return a}function Oc(e){return e!==void 0}function G0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Ri(st(e)))),e}function Vb(e,n){return(e.flags&(n?8:16))!==0}function gs(e,n=""){let t=w(),r=te(),o=e+ee,i=r.firstCreatePass?Wr(r,o,1,n,null):r.data[o],s=q0(r,t,i,n);t[o]=s,ic()&&op(r,t,s,i),Pr(i,!1)}var q0=(e,n,t,r)=>(Hi(!0),AS(n[W],r));function K0(e,n,t,r=""){return Qe(e,Yn(),t)?n+Xt(t)+r:Oe}function Z0(e,n,t,r,o,i=""){let s=kd(),a=Po(e,s,t,o);return Bi(2),a?n+Xt(t)+r+Xt(o)+i:Oe}function Y0(e,n,t,r,o,i,s,a=""){let c=kd(),l=pp(e,c,t,o,s);return Bi(3),l?n+Xt(t)+r+Xt(o)+i+Xt(s)+a:Oe}function Go(e){return Ap("",e),Go}function Ap(e,n,t){let r=w(),o=K0(r,e,n,t);return o!==Oe&&Rp(r,bt(),o),Ap}function zb(e,n,t,r,o){let i=w(),s=Z0(i,e,n,t,r,o);return s!==Oe&&Rp(i,bt(),s),zb}function Wb(e,n,t,r,o,i,s){let a=w(),c=Y0(a,e,n,t,r,o,i,s);return c!==Oe&&Rp(a,bt(),c),Wb}function Rp(e,n,t){let r=vd(n,e);RS(e[W],r,t)}function Gb(e,n,t){Ep(n)&&(n=n());let r=w(),o=Yn();if(Qe(r,o,n)){let i=te(),s=$i();Bv(s,r,e,n,r[W],t)}return Gb}function Q0(e,n){let t=Ep(e);return t&&e.set(n),t}function qb(e,n){let t=w(),r=te(),o=ge();return Nb(r,t,t[W],o,e,n),qb}var Kb={};function Zb(e){Ut("NgLet");let n=te(),t=w(),r=e+ee,o=Wr(n,r,128,null,null);return Pr(o,!1),Qa(n,t,r,Kb),Zb}function J0(e){let n=te(),t=w(),r=bt();return Qa(n,t,r,e),e}function X0(e){let n=xd(),t=bd(n,ee+e);if(t===Kb)throw new D(314,!1);return t}function Ty(e,n,t){let r=te();r.firstCreatePass&&Yb(n,r.data,r.blueprint,kt(e),t)}function Yb(e,n,t,r,o){if(e=Ee(e),Array.isArray(e))for(let i=0;i<e.length;i++)Yb(e[i],n,t,r,o);else{let i=te(),s=w(),a=ge(),c=Sr(e)?e:Ee(e.provide),l=fd(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Sr(e)||!e.multi){let p=new Br(l,o,L,null),g=Jd(c,n,o?u:u+f,d);g===-1?(ef(Ec(a,s),i,c),Qd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{let p=Jd(c,n,u+f,d),g=Jd(c,n,u,u+f),y=p>=0&&t[p],b=g>=0&&t[g];if(o&&!b||!o&&!y){ef(Ec(a,s),i,c);let E=nM(o?tM:eM,t.length,o,r,l,e);!o&&b&&(t[g].providerFactory=E),Qd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else{let E=Qb(t[o?g:p],l,!o&&r);Qd(i,e,p>-1?p:g,E)}!o&&r&&b&&t[g].componentProviders++}}}function Qd(e,n,t,r){let o=Sr(n),i=cm(n);if(o||i){let c=(i?Ee(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function Qb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Jd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function eM(e,n,t,r,o){return Lf(this.multi,[])}function tM(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ki(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),Lf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Lf(i,s);return s}function Lf(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function nM(e,n,t,r,o,i){let s=new Br(e,t,L,null);return s.multi=[],s.index=n,s.componentProviders=0,Qb(s,o,r&&!t),s}function We(e,n){return t=>{t.providersResolver=(r,o)=>Ty(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Ty(r,o?o(n):n,!0))}}function rM(e,n){let t=Cn()+e,r=w();return r[t]===Oe?er(r,t,n()):el(r,t)}function oM(e,n,t){return uM(w(),Cn(),e,n,t)}function ll(e,n,t,r){return dM(w(),Cn(),e,n,t,r)}function iM(e,n,t,r,o){return fM(w(),Cn(),e,n,t,r,o)}function sM(e,n,t,r,o,i,s){return pM(w(),Cn(),e,n,t,r,o,i)}function aM(e,n,t,r,o,i,s){let a=Cn()+e,c=w(),l=tl(c,a,t,r,o,i);return Qe(c,a+4,s)||l?er(c,a+5,n(t,r,o,i,s)):el(c,a+5)}function cM(e,n,t,r,o,i,s,a){let c=Cn()+e,l=w(),u=tl(l,c,t,r,o,i);return Po(l,c+4,s,a)||u?er(l,c+6,n(t,r,o,i,s,a)):el(l,c+6)}function lM(e,n,t,r,o,i,s,a,c){let l=Cn()+e,u=w(),d=tl(u,l,t,r,o,i);return pp(u,l+4,s,a,c)||d?er(u,l+7,n(t,r,o,i,s,a,c)):el(u,l+7)}function ul(e,n){let t=e[n];return t===Oe?void 0:t}function uM(e,n,t,r,o,i){let s=n+t;return Qe(e,s,o)?er(e,s+1,i?r.call(i,o):r(o)):ul(e,s+1)}function dM(e,n,t,r,o,i,s){let a=n+t;return Po(e,a,o,i)?er(e,a+2,s?r.call(s,o,i):r(o,i)):ul(e,a+2)}function fM(e,n,t,r,o,i,s,a){let c=n+t;return pp(e,c,o,i,s)?er(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ul(e,c+3)}function pM(e,n,t,r,o,i,s,a,c){let l=n+t;return tl(e,l,o,i,s,a)?er(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ul(e,l+4)}function hM(e,n){return Qc(e,n)}var kc=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},xp=(()=>{class e{compileModuleSync(t){return new Ac(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=od(t),i=mv(o.declarations).reduce((s,a)=>{let c=bn(a);return c&&s.push(new $r(c)),s},[]);return new kc(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Jb=(()=>{class e{applicationErrorHandler=h(it);appRef=h(qr);taskService=h(wn);ngZone=h(le);zonelessEnabled=h(zi);tracing=h(Bt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ne;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h($d,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Pm:jd;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(Ni+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xb(){return[{provide:Qt,useExisting:Jb},{provide:le,useClass:Ai},{provide:zi,useValue:!0}]}function gM(){return typeof $localize<"u"&&$localize.locale||hs}var dl=new C("",{factory:()=>h(dl,{optional:!0,skipSelf:!0})||gM()});var ms=class{destroyed=!1;listeners=null;errorHandler=h(pt,{optional:!0});destroyRef=h(me);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(Jt(953,!1));return}if(this.listeners===null)return;let t=I(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{I(t)}}};function ne(e){return zg(e)}function oe(e,n){return Di(e,n?.equal)}var mM=e=>e;function Op(e,n){if(typeof e=="function"){let t=ju(e,mM,n?.equal);return eE(t,n?.debugName)}else{let t=ju(e.source,e.computation,e.equal);return eE(t,e.debugName)}}function eE(e,n){let t=e[ce],r=e;return r.set=o=>Hg(t,o),r.update=o=>Vg(t,o),r.asReadonly=Vi.bind(e),r}var gl=Symbol("InputSignalNode#UNSET"),uE=P(m({},Ci),{transformFn:void 0,applyValueToInputSignal(e,n){Hn(e,n)}});function dE(e,n){let t=Object.create(uE);t.value=e,t.transformFn=n?.transform;function r(){if(pn(t),t.value===gl){let o=null;throw new D(-950,o)}return t.value}return r[ce]=t,r}var pl=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>os(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function yV(e){return new ms}function tE(e,n){return dE(e,n)}function PM(e){return dE(gl,e)}var ae=(tE.required=PM,tE);function nE(e,n){return yp(n)}function LM(e,n){return vp(n)}var vV=(nE.required=LM,nE);function rE(e,n){return yp(n)}function FM(e,n){return vp(n)}var jM=(rE.required=FM,rE);function bV(e,n){return yb(n)}function fE(e,n){let t=Object.create(uE),r=new ms;t.value=e;function o(){return pn(t),oE(t.value),t.value}return o[ce]=t,o.asReadonly=Vi.bind(o),o.set=i=>{t.equal(t.value,i)||(Hn(t,i),r.emit(i))},o.update=i=>{oE(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function oE(e){if(e===gl)throw new D(952,!1)}function iE(e,n){return fE(e,n)}function BM(e){return fE(gl,e)}var EV=(iE.required=BM,iE);var Pp=new C(""),UM=new C("");function ys(e){return!e.moduleRef}function $M(e){let n=ys(e)?e.r3Injector:e.moduleRef.injector,t=n.get(le);return t.run(()=>{ys(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(it),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ys(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Pp);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Pp);s.add(i),e.moduleRef.onDestroy(()=>{qi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return VM(r,t,()=>{let i=n.get(wn),s=i.add(),a=n.get(Ip);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(dl,hs);if(Mb(c||hs),!n.get(UM,!0))return ys(e)?n.get(qr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ys(e)){let u=n.get(qr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return HM?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var HM;function VM(e,n,t){try{let r=t();return Uo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var fl=null;function zM(e=[],n){return ve.create({name:n,providers:[{provide:Pi,useValue:"platform"},{provide:Pp,useValue:new Set([()=>fl=null])},...e]})}function WM(e=[]){if(fl)return fl;let n=zM(e);return fl=n,wb(),GM(n),n}function GM(e){let n=e.get(Lc,null);we(e,()=>{n?.forEach(t=>t())})}var qM=1e4;var DV=qM-1e3;var Zr=(()=>{class e{static __NG_ELEMENT_ID__=KM}return e})();function KM(e){return ZM(ge(),w(),(e&16)===16)}function ZM(e,n,t){if(Dn(e)&&!t){let r=yt(e.index,n);return new Xn(r,r)}else if(e.type&175){let r=n[Ve];return new Xn(r,n)}return null}var Lp=class{supports(n){return fp(n)}create(n){return new Fp(n)}},YM=(e,n)=>n,Fp=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||YM}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<sE(r,o,i)?t:r,a=sE(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,g=p+f;u<=g&&g<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!fp(n))throw new D(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,sb(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new jp(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new hl),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new hl),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},jp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Bp=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},hl=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Bp,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function sE(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Up=class{supports(n){return n instanceof Map||Xc(n)}create(){return new $p}},$p=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Xc(n)))throw new D(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);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 Hp(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Hp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function aE(){return new zp([new Lp])}var zp=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:aE});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=h(e,{optional:!0,skipSelf:!0});return e.create(t,r||aE())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new D(901,!1)}}return e})();function cE(){return new Wp([new Up])}var Wp=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:cE});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=h(e,{optional:!0,skipSelf:!0});return e.create(t,r||cE())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new D(901,!1)}}return e})();function pE(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;z(F.BootstrapApplicationStart);try{let i=o?.injector??WM(r),s=[Xb(),Fm,...t||[]],a=new es({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return $M({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{z(F.BootstrapApplicationEnd)}}function re(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function or(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var kp=Symbol("NOT_SET"),hE=new Set,QM=P(m({},Ci),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:kp,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==kp&&!po(this))return this.signal;try{for(let o of this.cleanup??hE)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=hn(this),r;try{r=this.userFn.apply(null,n)}finally{Un(this,t)}return(this.value===kp||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Vp=class extends Qi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(me),s),this.scheduler=o;for(let a of tp){let c=t[a];if(c===void 0)continue;let l=Object.create(QM);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(pn(l),l.value),l.signal[ce]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??hE)t()}finally{$n(n)}}};function CV(e,n){let t=n?.injector??h(ve),r=t.get(Qt),o=t.get(Vc),i=t.get(Bt,null,{optional:!0});o.impl??=t.get(np);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(_o,null,{optional:!0}),c=new Vp(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function gE(e){let n=bn(e);if(!n)return null;let t=new $r(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var mE=null;function Mn(){return mE}function Gp(e){mE??=e}var vs=class{},qo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(yE),providedIn:"platform"})}return e})();var yE=(()=>{class e extends qo{_location;_history;_doc=h(V);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mn().getBaseHref(this._doc)}onPopState(t){let r=Mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function EE(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function vE(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function ir(e){return e&&e[0]!=="?"?`?${e}`:e}var Ko=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(XM),providedIn:"root"})}return e})(),JM=new C(""),XM=(()=>{class e extends Ko{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return EE(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+ir(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+ir(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(M(qo),M(JM,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zo=(()=>{class e{_subject=new X;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=nN(vE(bE(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+ir(r))}normalize(t){return e.stripTrailingSlash(tN(this._basePath,bE(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ir(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ir(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ir;static joinWithSlash=EE;static stripTrailingSlash=vE;static \u0275fac=function(r){return new(r||e)(M(Ko))};static \u0275prov=v({token:e,factory:()=>eN(),providedIn:"root"})}return e})();function eN(){return new Zo(M(Ko))}function tN(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function bE(e){return e.replace(/\/index.html$/,"")}function nN(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var qp=/\s+/,DE=[],rN=(()=>{class e{_ngEl;_renderer;initialClasses=DE;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(qp):DE}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(qp):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(qp).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)(L(xe),L($t))};static \u0275dir=Q({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ml=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,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}},IE=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ml(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),CE(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}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);CE(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(L(Dt),L(on),L(zp))};static \u0275dir=Q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function CE(e,n){e.context.$implicit=n.item}var Kp=(()=>{class e{_viewContainer;_context=new yl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){wE(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){wE(t,!1),this._elseTemplateRef=t,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(t,r){return!0}static \u0275fac=function(r){return new(r||e)(L(Dt),L(on))};static \u0275dir=Q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),yl=class{$implicit=null;ngIf=null};function wE(e,n){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}var Zp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Ft.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(L(xe),L(Wp),L($t))};static \u0275dir=Q({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Yp=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h(ve);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(L(Dt))};static \u0275dir=Q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[sn]})}return e})();var Ht=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({})}return e})();function bs(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Yr=class{};var Qp="browser",oN="server";function Qr(e){return e===Qp}function Jp(e){return e===oN}var Es=class{_doc;constructor(n){this._doc=n}manager},vl=(()=>{class e extends Es{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(M(V))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Dl=new C(""),nh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof vl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof vl);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(M(Dl),M(le))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Xp="ng-app-id";function TE(e){for(let n of e)n.remove()}function _E(e,n){let t=n.createElement("style");return t.textContent=e,t}function iN(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Xp}="${n}"],link[${Xp}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Xp),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function th(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var rh=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,iN(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,_E);r?.forEach(o=>this.addUsage(o,this.external,th))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(TE(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])TE(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,_E(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,th(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(M(V),M(Pc),M(is,8),M(jt))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},oh=/%COMP%/g;var NE="%COMP%",sN=`_nghost-${NE}`,aN=`_ngcontent-${NE}`,cN=!0,lN=new C("",{factory:()=>cN});function uN(e){return aN.replace(oh,e)}function dN(e){return sN.replace(oh,e)}function AE(e,n){return n.map(t=>t.replace(oh,e))}var ih=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Ds(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof El?o.applyToHost(t):o instanceof Cs&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Lt.Emulated:i=new El(c,l,r,this.appId,u,s,a,d);break;case Lt.ShadowDom:return new bl(c,t,r,s,a,this.nonce,d,l);case Lt.ExperimentalIsolatedShadowDom:return new bl(c,t,r,s,a,this.nonce,d);default:i=new Cs(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(M(nh),M(rh),M(Pc),M(lN),M(V),M(le),M(is),M(Bt,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ds=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(ME(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(ME(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new D(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=eh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=eh[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Ft.DashCase|Ft.Important)?n.style.setProperty(t,r,o&Ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Mn().getGlobalEventTarget(this.doc,n),!n))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function ME(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var bl=class extends Ds{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=AE(r.id,l);for(let d of l){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let u=r.getExternalStyles?.();if(u)for(let d of u){let f=th(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Cs=class extends Ds{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?AE(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Jn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},El=class extends Cs{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=uN(l),this.hostAttr=dN(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Cl=class e extends vs{supportsDOMEvents=!0;static makeCurrent(){Gp(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=fN();return t==null?null:pN(t)}resetBaseElement(){ws=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return bs(document.cookie,n)}},ws=null;function fN(){return ws=ws||document.head.querySelector("base"),ws?ws.getAttribute("href"):null}function pN(e){return new URL(e,document.baseURI).pathname}var hN=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),RE=["alt","control","meta","shift"],gN={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},xE=(()=>{class e extends Es{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mn().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),RE.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=gN[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),RE.forEach(s=>{if(s!==o){let a=mN[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(M(V))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function yN(e,n,t){let r=m({rootComponent:e},vN(n,t));return pE(r)}function vN(e,n){return{platformRef:n?.platformRef,appProviders:[...wN,...e?.providers??[]],platformProviders:CN}}function bN(){Cl.makeCurrent()}function EN(){return new pt}function DN(){return Bf(document),document}var CN=[{provide:jt,useValue:Qp},{provide:Lc,useValue:bN,multi:!0},{provide:V,useFactory:DN}];var wN=[{provide:Pi,useValue:"root"},{provide:pt,useFactory:EN},{provide:Dl,useClass:vl,multi:!0},{provide:Dl,useClass:xE,multi:!0},ih,rh,nh,{provide:Ur,useExisting:ih},{provide:Yr,useClass:hN},[]];var dn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5
- `).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Sl=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Tl=class{encodeKey(n){return OE(n)}encodeValue(n){return OE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function IN(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var SN=/%(\d[a-f0-9])/gi,TN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function OE(e){return encodeURIComponent(e).replace(SN,(n,t)=>TN[t]??n)}function wl(e){return`${e}`}var Nn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Tl,n.fromString){if(n.fromObject)throw new D(2805,!1);this.map=IN(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(wl):[wl(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(wl(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(wl(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function _N(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function PE(e){return typeof Blob<"u"&&e instanceof Blob}function LE(e){return typeof FormData<"u"&&e instanceof FormData}function MN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Is="Content-Type",_l="Accept",FE="text/plain",jE="application/json",BE=`${jE}, ${FE}, */*`,Yo=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(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(_N(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 dn,this.context??=new Sl,!this.params)this.params=new Nn,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||kE(this.body)||PE(this.body)||LE(this.body)||MN(this.body)?this.body:this.body instanceof Nn?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||LE(this.body)?null:PE(this.body)?this.body.type||null:kE(this.body)?null:typeof this.body=="string"?FE:this.body instanceof Nn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?jE:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,f=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,g=n.transferCache??this.transferCache,y=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,E=n.withCredentials??this.withCredentials,_=n.reportProgress??this.reportProgress,B=n.headers||this.headers,K=n.params||this.params,et=n.context??this.context;return n.setHeaders!==void 0&&(B=Object.keys(n.setHeaders).reduce((tt,qe)=>tt.set(qe,n.setHeaders[qe]),B)),n.setParams&&(K=Object.keys(n.setParams).reduce((tt,qe)=>tt.set(qe,n.setParams[qe]),K)),new e(t,r,b,{params:K,headers:B,context:et,reportProgress:_,responseType:o,withCredentials:E,transferCache:g,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}},An=(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})(An||{}),Qo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new dn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Ss=class e extends Qo{constructor(n={}){super(n)}type=An.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Jo=class e extends Qo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=An.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},un=class extends Qo{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},UE=200,NN=204;var AN=/^\)\]\}',?\n/,$E=new C(""),Il=(()=>{class e{fetchImpl=h(ah,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=h(le);destroyRef=h(me);handle(t){return new k(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(ch,s=>r.error(new un({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,m({signal:r},i)));RN(y),o.next({type:An.Sent}),s=await y}catch(y){o.error(new un({error:y,status:y.status??0,statusText:y.statusText,url:t.urlWithParams,headers:y.headers}));return}let a=new dn(s.headers),c=s.statusText,l=s.url||t.urlWithParams,u=s.status,d=null;if(t.reportProgress&&o.next(new Ss({headers:a,status:u,statusText:c,url:l})),s.body){let y=s.headers.get("content-length"),b=[],E=s.body.getReader(),_=0,B,K,et=typeof Zone<"u"&&Zone.current,tt=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await E.cancel(),tt=!0;break}let{done:Tt,value:jn}=await E.read();if(Tt)break;if(b.push(jn),_+=jn.length,t.reportProgress){K=t.responseType==="text"?(K??"")+(B??=new TextDecoder).decode(jn,{stream:!0}):void 0;let pr=()=>o.next({type:An.DownloadProgress,total:y?+y:void 0,loaded:_,partialText:K});et?et.run(pr):pr()}}}),tt){o.complete();return}let qe=this.concatChunks(b,_);try{let Tt=s.headers.get(Is)??"";d=this.parseBody(t,qe,Tt,u)}catch(Tt){o.error(new un({error:Tt,headers:new dn(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}u===0&&(u=d?UE:0);let f=u>=200&&u<300,p=s.redirected,g=s.type;f?(o.next(new Jo({body:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:g})),o.complete()):o.error(new un({error:d,headers:a,status:u,statusText:c,url:l,redirected:p,responseType:g}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(AN,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(_l)||(r[_l]=BE),!t.headers.has(Is)){let i=t.detectContentTypeHeader();i!==null&&(r[Is]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),ah=class{};function ch(){}function RN(e){e.then(ch,ch)}var xN=/^\)\]\}',?\n/;var lh=(()=>{class e{xhrFactory;tracingService=h(Bt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return x(null).pipe(Ye(()=>new k(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((b,E)=>s.setRequestHeader(b,E.join(","))),t.headers.has(_l)||s.setRequestHeader(_l,BE),!t.headers.has(Is)){let b=t.detectContentTypeHeader();b!==null&&s.setRequestHeader(Is,b)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let b=t.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let b=s.statusText||"OK",E=new dn(s.getAllResponseHeaders()),_=s.responseURL||t.url;return c=new Ss({headers:E,status:s.status,statusText:b,url:_}),c},u=this.maybePropagateTrace(()=>{let{headers:b,status:E,statusText:_,url:B}=l(),K=null;E!==NN&&(K=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=K?UE:0);let et=E>=200&&E<300;if(t.responseType==="json"&&typeof K=="string"){let tt=K;K=K.replace(xN,"");try{K=K!==""?JSON.parse(K):null}catch(qe){K=tt,et&&(et=!1,K={error:qe,text:K})}}et?(i.next(new Jo({body:K,headers:b,status:E,statusText:_,url:B||void 0})),i.complete()):i.error(new un({error:K,headers:b,status:E,statusText:_,url:B||void 0}))}),d=this.maybePropagateTrace(b=>{let{url:E}=l(),_=new un({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(_)}),f=d;t.timeout&&(f=this.maybePropagateTrace(b=>{let{url:E}=l(),_=new un({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});i.error(_)}));let p=!1,g=this.maybePropagateTrace(b=>{p||(i.next(l()),p=!0);let E={type:An.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),t.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)}),y=this.maybePropagateTrace(b=>{let E={type:An.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),i.next(E)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),i.next({type:An.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(M(Yr))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ON(e,n){return n(e)}function kN(e,n,t){return(r,o)=>we(t,()=>n(r,i=>e(i,o)))}var HE=new C("",{factory:()=>[]}),VE=new C(""),zE=new C("",{factory:()=>!0});var Nl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(lh),o},providedIn:"root"})}return e})();var Ml=(()=>{class e{backend;injector;chain=null;pendingTasks=h(Mo);contributeToStability=h(zE);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(HE),...this.injector.get(VE,[])]));this.chain=r.reduceRight((o,i)=>kN(o,i,this.injector),ON)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Ii(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(M(Nl),M(se))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(Ml),o},providedIn:"root"})}return e})();function sh(e,n){return{body:n,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 WE=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Yo)i=t;else{let c;o.headers instanceof dn?c=o.headers:c=new dn(o.headers);let l;o.params&&(o.params instanceof Nn?l=o.params:l=new Nn({fromObject:o.params})),i=new Yo(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=x(i).pipe(Er(c=>this.handler.handle(c)));if(t instanceof Yo||o.observe==="events")return s;let a=s.pipe(Ze(c=>c instanceof Jo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Z(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new D(2806,!1);return c.body}));case"blob":return a.pipe(Z(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new D(2807,!1);return c.body}));case"text":return a.pipe(Z(c=>{if(c.body!==null&&typeof c.body!="string")throw new D(2808,!1);return c.body}));default:return a.pipe(Z(c=>c.body))}case"response":return a;default:throw new D(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Nn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,sh(o,r))}post(t,r,o={}){return this.request("POST",t,sh(o,r))}put(t,r,o={}){return this.request("PUT",t,sh(o,r))}static \u0275fac=function(r){return new(r||e)(M(uh))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var PN=new C("",{factory:()=>!0}),LN="XSRF-TOKEN",FN=new C("",{factory:()=>LN}),jN="X-XSRF-TOKEN",BN=new C("",{factory:()=>jN}),UN=(()=>{class e{cookieName=h(FN);doc=h(V);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=bs(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(UN),o},providedIn:"root"})}return e})();function $N(e,n){if(!h(PN)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=h(qo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=h(GE).getToken(),r=h(BN);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var dh=(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})(dh||{});function HN(e,n){return{\u0275kind:e,\u0275providers:n}}function VN(...e){let n=[WE,Ml,{provide:uh,useExisting:Ml},{provide:Nl,useFactory:()=>h($E,{optional:!0})??h(lh)},{provide:HE,useValue:$N,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return ht(n)}function zN(){return HN(dh.Fetch,[Il,{provide:$E,useExisting:Il},{provide:Nl,useExisting:Il}])}var qE=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(M(V))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var WN=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(GN),o},providedIn:"root"})}return e})(),GN=(()=>{class e extends WN{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Et.NONE:return r;case Et.HTML:return an(r,"HTML")?st(r):Bc(this._doc,String(r)).toString();case Et.STYLE:return an(r,"Style")?st(r):r;case Et.SCRIPT:if(an(r,"Script"))return st(r);throw new D(5200,!1);case Et.URL:return an(r,"URL")?st(r):ss(String(r));case Et.RESOURCE_URL:if(an(r,"ResourceURL"))return st(r);throw new D(5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(t){return $f(t)}bypassSecurityTrustStyle(t){return Hf(t)}bypassSecurityTrustScript(t){return Vf(t)}bypassSecurityTrustUrl(t){return zf(t)}bypassSecurityTrustResourceUrl(t){return Wf(t)}static \u0275fac=function(r){return new(r||e)(M(V))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var A="primary",Us=Symbol("RouteTitle"),mh=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Xr(e){return new mh(e)}function fh(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function eD(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},l=e.slice(0,r.length);return fh(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!fh(i,e.slice(0,i.length),a)||!fh(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Pl(e){return new Promise((n,t)=>{e.pipe(yn()).subscribe({next:r=>n(r),error:r=>t(r)})})}function KN(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!fn(e[t],n[t]))return!1;return!0}function fn(e,n){let t=e?yh(e):void 0,r=n?yh(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!tD(e[o],n[o]))return!1;return!0}function yh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function tD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function ZN(e){return e.length>0?e[e.length-1]:null}function no(e){return _a(e)?e:Uo(e)?fe(Promise.resolve(e)):x(e)}function nD(e){return _a(e)?Pl(e):Promise.resolve(e)}var YN={exact:oD,subset:iD},rD={exact:QN,subset:JN,ignored:()=>!0},Rh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function xh(e,n,t){let r=e instanceof Ge?e:n.parseUrl(e);return oe(()=>vh(n.lastSuccessfulNavigation()?.finalUrl??new Ge,r,m(m({},Rs),t)))}function vh(e,n,t){return YN[t.paths](e.root,n.root,t.matrixParams)&&rD[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function QN(e,n){return fn(e,n)}function oD(e,n,t){if(!Jr(e.segments,n.segments)||!xl(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!oD(e.children[r],n.children[r],t))return!1;return!0}function JN(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>tD(e[t],n[t]))}function iD(e,n,t){return sD(e,n,n.segments,t)}function sD(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!Jr(o,t)||n.hasChildren()||!xl(o,t,r))}else if(e.segments.length===t.length){if(!Jr(e.segments,t)||!xl(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!iD(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Jr(e.segments,o)||!xl(e.segments,o,r)||!e.children[A]?!1:sD(e.children[A],n,i,r)}}function xl(e,n,t){return n.every((r,o)=>rD[t](e[o].parameters,r.parameters))}var Ge=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Xr(this.queryParams),this._queryParamMap}toString(){return tA.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ol(this)}},sr=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Xr(this.parameters),this._parameterMap}toString(){return cD(this)}};function XN(e,n){return Jr(e,n)&&e.every((t,r)=>fn(t.parameters,n[r].parameters))}function Jr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function eA(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===A&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==A&&(t=t.concat(n(o,r)))}),t}var ai=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new ar,providedIn:"root"})}return e})(),ar=class{parse(n){let t=new Eh(n);return new Ge(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Ts(n.root,!0)}`,r=oA(n.queryParams),o=typeof n.fragment=="string"?`#${nA(n.fragment)}`:"";return`${t}${r}${o}`}},tA=new ar;function Ol(e){return e.segments.map(n=>cD(n)).join("/")}function Ts(e,n){if(!e.hasChildren())return Ol(e);if(n){let t=e.children[A]?Ts(e.children[A],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==A&&r.push(`${o}:${Ts(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=eA(e,(r,o)=>o===A?[Ts(e.children[A],!1)]:[`${o}:${Ts(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[A]!=null?`${Ol(e)}/${t[0]}`:`${Ol(e)}/(${t.join("//")})`}}function aD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Al(e){return aD(e).replace(/%3B/gi,";")}function nA(e){return encodeURI(e)}function bh(e){return aD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kl(e){return decodeURIComponent(e)}function KE(e){return kl(e.replace(/\+/g,"%20"))}function cD(e){return`${bh(e.path)}${rA(e.parameters)}`}function rA(e){return Object.entries(e).map(([n,t])=>`;${bh(n)}=${bh(t)}`).join("")}function oA(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Al(t)}=${Al(o)}`).join("&"):`${Al(t)}=${Al(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var iA=/^[^\/()?;#]+/;function ph(e){let n=e.match(iA);return n?n[0]:""}var sA=/^[^\/()?;=#]+/;function aA(e){let n=e.match(sA);return n?n[0]:""}var cA=/^[^=?&#]+/;function lA(e){let n=e.match(cA);return n?n[0]:""}var uA=/^[^&#]+/;function dA(e){let n=e.match(uA);return n?n[0]:""}var Eh=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new D(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[A]=new U(t,r)),o}parseSegment(){let n=ph(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(n),new sr(kl(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=aA(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=ph(this.remaining);o&&(r=o,this.capture(r))}n[kl(t)]=kl(r)}parseQueryParam(n){let t=lA(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=dA(this.remaining);s&&(r=s,this.capture(r))}let o=KE(t),i=KE(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=ph(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new D(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=A);let a=this.parseChildren(t+1);r[s??A]=Object.keys(a).length===1&&a[A]?a[A]:new U([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new D(4011,!1)}};function lD(e){return e.segments.length>0?new U([],{[A]:e}):e}function uD(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=uD(o);if(r===A&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return fA(t)}function fA(e){if(e.numberOfChildren===1&&e.children[A]){let n=e.children[A];return new U(e.segments.concat(n.segments),n.children)}return e}function cr(e){return e instanceof Ge}function dD(e,n,t=null,r=null,o=new ar){let i=fD(e);return pD(i,n,t,r,o)}function fD(e){let n;function t(i){let s={};for(let c of i.children){let l=t(c);s[c.outlet]=l}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=lD(r);return n??o}function pD(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return hh(i,i,i,t,r,o);let s=pA(n);if(s.toRoot())return hh(i,i,new U([],{}),t,r,o);let a=hA(s,i,e),c=a.processChildren?Ms(a.segmentGroup,a.index,s.commands):gD(a.segmentGroup,a.index,s.commands);return hh(i,a.segmentGroup,c,t,r,o)}function Ll(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function xs(e){return typeof e=="object"&&e!=null&&e.outlets}function ZE(e,n,t){e||="\u0275";let r=new Ge;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function hh(e,n,t,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>ZE(l,d,i)):ZE(l,u,i);let a;e===n?a=t:a=hD(e,n,t);let c=lD(uD(a));return new Ge(c,s,o)}function hD(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=hD(i,n,t)}),new U(e.segments,r)}var Fl=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Ll(r[0]))throw new D(4003,!1);let o=r.find(xs);if(o&&o!==ZN(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pA(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Fl(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Fl(t,n,r)}var ei=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function hA(e,n,t){if(e.isAbsolute)return new ei(n,!0,0);if(!t)return new ei(n,!1,NaN);if(t.parent===null)return new ei(t,!0,0);let r=Ll(e.commands[0])?0:1,o=t.segments.length-1+r;return gA(t,o,e.numberOfDoubleDots)}function gA(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new ei(r,!1,o-i)}function mA(e){return xs(e[0])?e[0].outlets:{[A]:e}}function gD(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return Ms(e,n,t);let r=yA(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[A]=new U(e.segments.slice(r.pathIndex),e.children),Ms(i,0,o)}else return r.match&&o.length===0?new U(e.segments,{}):r.match&&!e.hasChildren()?Dh(e,n,t):r.match?Ms(e,0,o):Dh(e,n,t)}function Ms(e,n,t){if(t.length===0)return new U(e.segments,{});{let r=mA(t),o={};if(Object.keys(r).some(i=>i!==A)&&e.children[A]&&e.numberOfChildren===1&&e.children[A].segments.length===0){let i=Ms(e.children[A],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=gD(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function yA(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(xs(a))break;let c=`${a}`,l=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!QE(c,l,s))return i;r+=2}else{if(!QE(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Dh(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(xs(i)){let c=vA(i.outlets);return new U(r,c)}if(o===0&&Ll(t[0])){let c=e.segments[n];r.push(new sr(c.path,YE(t[0]))),o++;continue}let s=xs(i)?i.outlets[A]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Ll(a)?(r.push(new sr(s,YE(a))),o+=2):(r.push(new sr(s,{})),o++)}return new U(r,{})}function vA(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Dh(new U([],{}),0,r))}),n}function YE(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function QE(e,n,t){return e==t.path&&fn(n,t.parameters)}var Ns="imperative",Te=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Te||{}),ct=class{id;url;constructor(n,t){this.id=n,this.url=t}},eo=class extends ct{type=Te.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},zt=class extends ct{urlAfterRedirects;type=Te.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ue=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Ue||{}),Os=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Os||{}),wt=class extends ct{reason;code;type=Te.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function mD(e){return e instanceof wt&&(e.code===Ue.Redirect||e.code===Ue.SupersededByNewNavigation)}var xn=class extends ct{reason;code;type=Te.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},to=class extends ct{error;target;type=Te.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ks=class extends ct{urlAfterRedirects;state;type=Te.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jl=class extends ct{urlAfterRedirects;state;type=Te.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bl=class extends ct{urlAfterRedirects;state;shouldActivate;type=Te.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ul=class extends ct{urlAfterRedirects;state;type=Te.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$l=class extends ct{urlAfterRedirects;state;type=Te.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hl=class{route;type=Te.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vl=class{route;type=Te.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zl=class{snapshot;type=Te.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wl=class{snapshot;type=Te.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gl=class{snapshot;type=Te.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ql=class{snapshot;type=Te.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ni=class{},Ps=class{},ri=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function bA(e){return!(e instanceof ni)&&!(e instanceof ri)&&!(e instanceof Ps)}var Kl=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ci(this.rootInjector)}},ci=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Kl(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(M(se))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zl=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Ch(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Ch(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=wh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return wh(n,this._root).map(t=>t.value)}};function Ch(e,n){if(e===n.value)return n;for(let t of n.children){let r=Ch(e,t);if(r)return r}return null}function wh(e,n){if(e===n.value)return[n];for(let t of n.children){let r=wh(e,t);if(r.length)return r.unshift(n),r}return[]}var at=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Xo(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var Ls=class extends Zl{snapshot;constructor(n,t){super(n),this.snapshot=t,kh(this,n)}toString(){return this.snapshot.toString()}};function yD(e,n){let t=EA(e,n),r=new Ae([new sr("",{})]),o=new Ae({}),i=new Ae({}),s=new Ae({}),a=new Ae(""),c=new On(r,o,s,a,i,A,e,t.root);return c.snapshot=t.root,new Ls(new at(c,[]),t)}function EA(e,n){let t={},r={},o={},s=new oi([],t,o,"",r,A,e,null,{},n);return new Fs("",new at(s,[]))}var On=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Z(l=>l[Us]))??x(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Z(n=>Xr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Z(n=>Xr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Oh(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),e.params),data:m(m({},n.data),e.data),resolve:m(m(m(m({},e.data),n.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&bD(o)&&(r.resolve[Us]=o.title),r}var oi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Us]}constructor(n,t,r,o,i,s,a,c,l,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Xr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Xr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Fs=class extends Zl{url;constructor(n,t){super(t),this.url=n,kh(this,t)}toString(){return vD(this._root)}};function kh(e,n){n.value._routerState=e,n.children.forEach(t=>kh(e,t))}function vD(e){let n=e.children.length>0?` { ${e.children.map(vD).join(", ")} } `:"";return`${e.value}${n}`}function gh(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,fn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),fn(n.params,t.params)||e.paramsSubject.next(t.params),KN(n.url,t.url)||e.urlSubject.next(t.url),fn(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Ih(e,n){let t=fn(e.params,n.params)&&XN(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Ih(e.parent,n.parent))}function bD(e){return typeof e.title=="string"||e.title===null}var ED=new C(""),Ph=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=A;activateEvents=new ye;deactivateEvents=new ye;attachEvents=new ye;detachEvents=new ye;routerOutletData=ae();parentContexts=h(ci);location=h(Dt);changeDetector=h(Zr);inputBinder=h($s,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Sh(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Q({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[sn]})}return e})(),Sh=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===On?this.route:n===ci?this.childContexts:n===ED?this.outletData:this.parent.get(n,t)}},$s=new C(""),Lh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=Ra([r.queryParams,r.params,r.data]).pipe(Ye(([i,s,a],c)=>(a=m(m(m({},i),s),a),c===0?x(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=gE(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Fh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Be({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&_n(0,"router-outlet")},dependencies:[Ph],encapsulation:2})}return e})();function jh(e){let n=e.children&&e.children.map(jh),t=n?P(m({},e),{children:n}):m({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==A&&(t.component=Fh),t}function DA(e,n,t){let r=js(e,n._root,t?t._root:void 0);return new Ls(r,n)}function js(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=CA(e,n,t);return new at(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>js(e,a)),s}}let r=wA(n.value),o=n.children.map(i=>js(e,i));return new at(r,o)}}function CA(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return js(e,r,o);return js(e,r)})}function wA(e){return new On(new Ae(e.url),new Ae(e.params),new Ae(e.queryParams),new Ae(e.fragment),new Ae(e.data),e.outlet,e.component,e)}var ii=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},DD="ngNavigationCancelingError";function Yl(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=cr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=CD(!1,Ue.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function CD(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[DD]=!0,t.cancellationCode=n,t}function IA(e){return wD(e)&&cr(e.url)}function wD(e){return!!e&&e[DD]}var Th=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),gh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Xo(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Xo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Xo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Xo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ql(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Wl(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(gh(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),gh(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Ql=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ti=class{component;route;constructor(n,t){this.component=n,this.route=t}};function SA(e,n,t){let r=e._root,o=n?n._root:null;return _s(r,o,t,[r.value])}function TA(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function li(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Ju(e)?e:n.get(e):r}function _s(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Xo(n);return e.children.forEach(s=>{_A(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>As(a,t.getContext(s),o)),o}function _A(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=MA(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ql(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?_s(e,n,a?a.children:null,r,o):_s(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ti(a.outlet.component,s))}else s&&As(n,a,o),o.canActivateChecks.push(new Ql(r)),i.component?_s(e,null,a?a.children:null,r,o):_s(e,null,t,r,o);return o}function MA(e,n,t){if(typeof t=="function")return we(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!Jr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Jr(e.url,n.url)||!fn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ih(e,n)||!fn(e.queryParams,n.queryParams);default:return!Ih(e,n)}}function As(e,n,t){let r=Xo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?As(s,n.children.getContext(i),t):As(s,null,t):As(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new ti(n.outlet.component,o)):t.canDeactivateChecks.push(new ti(null,o)):t.canDeactivateChecks.push(new ti(null,o))}function Hs(e){return typeof e=="function"}function NA(e){return typeof e=="boolean"}function AA(e){return e&&Hs(e.canLoad)}function RA(e){return e&&Hs(e.canActivate)}function xA(e){return e&&Hs(e.canActivateChild)}function OA(e){return e&&Hs(e.canDeactivate)}function kA(e){return e&&Hs(e.canMatch)}function ID(e){return e instanceof gn||e?.name==="EmptyError"}var Rl=Symbol("INITIAL_VALUE");function si(){return Ye(e=>Ra(e.map(n=>n.pipe(mn(1),Lu(Rl)))).pipe(Z(n=>{for(let t of n)if(t!==!0){if(t===Rl)return Rl;if(t===!1||PA(t))return t}return!0}),Ze(n=>n!==Rl),mn(1)))}function PA(e){return cr(e)||e instanceof ii}function SD(e){return e.aborted?x(void 0).pipe(mn(1)):new k(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function TD(e){return Dr(SD(e))}function LA(e){return Le(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?x(P(m({},n),{guardsResult:!0})):FA(i,t,r).pipe(Le(s=>s&&NA(s)?jA(t,o,e):x(s)),Z(s=>P(m({},n),{guardsResult:s})))})}function FA(e,n,t){return fe(e).pipe(Le(r=>VA(r.component,r.route,t,n)),yn(r=>r!==!0,!0))}function jA(e,n,t){return fe(n).pipe(Er(r=>yo(UA(r.route.parent,t),BA(r.route,t),HA(e,r.path),$A(e,r.route))),yn(r=>r!==!0,!0))}function BA(e,n){return e!==null&&n&&n(new Gl(e)),x(!0)}function UA(e,n){return e!==null&&n&&n(new zl(e)),x(!0)}function $A(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return x(!0);let r=t.map(o=>wi(()=>{let i=n._environmentInjector,s=li(o,i),a=RA(s)?s.canActivate(n,e):we(i,()=>s(n,e));return no(a).pipe(yn())}));return x(r).pipe(si())}function HA(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>TA(i)).filter(i=>i!==null).map(i=>wi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=li(a,c),u=xA(l)?l.canActivateChild(t,e):we(c,()=>l(t,e));return no(u).pipe(yn())});return x(s).pipe(si())}));return x(o).pipe(si())}function VA(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=n._environmentInjector,c=li(s,a),l=OA(c)?c.canDeactivate(e,n,t,r):we(a,()=>c(e,n,t,r));return no(l).pipe(yn())});return x(i).pipe(si())}function zA(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return x(!0);let s=i.map(a=>{let c=li(a,e),l=AA(c)?c.canLoad(n,t):we(e,()=>c(n,t)),u=no(l);return o?u.pipe(TD(o)):u});return x(s).pipe(si(),_D(r))}function _D(e){return xu(ft(n=>{if(typeof n!="boolean")throw Yl(e,n)}),Z(n=>n===!0))}function WA(e,n,t,r,o,i){let s=n.canMatch;if(!s||s.length===0)return x(!0);let a=s.map(c=>{let l=li(c,e),u=kA(l)?l.canMatch(n,t,o):we(e,()=>l(n,t,o));return no(u).pipe(TD(i))});return x(a).pipe(si(),_D(r))}var Rn=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},Bs=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function GA(e){throw new D(4e3,!1)}function qA(e){throw CD(!1,Ue.GuardRejected)}var _h=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}async lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[A])throw GA(`${n.redirectTo}`);o=o.children[A]}}async applyRedirectCommands(n,t,r,o,i){let s=await KA(t,o,i);if(s instanceof Ge)throw new Bs(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Bs(a);return a}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ge(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function KA(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e;return Pl(no(we(t,()=>r(n))))}function ZA(e,n){return e.providers&&!e._injector&&(e._injector=fs(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Vt(e){return e.outlet||A}function YA(e,n){let t=e.filter(r=>Vt(r)===n);return t.push(...e.filter(r=>Vt(r)!==n)),t}var Mh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function MD(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function QA(e,n,t,r,o,i,s){let a=ND(e,n,t);if(!a.matched)return x(a);let c=MD(i(a));return r=ZA(n,r),WA(r,n,t,o,c,s).pipe(Z(l=>l===!0?a:m({},Mh)))}function ND(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},Mh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||eD)(t,e,n);if(!o)return m({},Mh);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function JE(e,n,t,r,o){return t.length>0&&eR(e,t,r,o)?{segmentGroup:new U(n,XA(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&tR(e,t,r)?{segmentGroup:new U(e.segments,JA(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function JA(e,n,t,r){let o={};for(let i of t)if(Xl(e,n,i)&&!r[Vt(i)]){let s=new U([],{});o[Vt(i)]=s}return m(m({},r),o)}function XA(e,n){let t={};t[A]=n;for(let r of e)if(r.path===""&&Vt(r)!==A){let o=new U([],{});t[Vt(r)]=o}return t}function eR(e,n,t,r){return t.some(o=>!Xl(e,n,o)||!(Vt(o)!==A)?!1:!(r!==void 0&&Vt(o)===r))}function tR(e,n,t){return t.some(r=>Xl(e,n,r))}function Xl(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function nR(e,n,t){return n.length===0&&!e.children[t]}var Nh=class{};async function rR(e,n,t,r,o,i,s="emptyOnly",a){return new Ah(e,n,t,r,o,s,i,a).recognize()}var oR=31,Ah=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new _h(this.urlSerializer,this.urlTree)}noMatchError(n){return new D(4002,`'${n.segmentGroup}'`)}async recognize(){let n=JE(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=await this.match(n),o=new at(r,t),i=new Fs("",o),s=dD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let t=new oi([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),A,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,A,t),rootSnapshot:t}}catch(r){if(r instanceof Bs)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Rn?this.noMatchError(r):r}}async processSegmentGroup(n,t,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=await this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof at?[s]:[]}async processChildren(n,t,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=YA(t,c),d=await this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=AD(s);return iR(a),a}async processSegment(n,t,r,o,i,s,a){for(let c of t)try{return await this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(l){if(l instanceof Rn||ID(l))continue;throw l}if(nR(r,o,i))return new Nh;throw new Rn(r)}async processSegmentAgainstRoute(n,t,r,o,i,s,a,c){if(Vt(r)!==s&&(s===A||!Xl(o,i,r)))throw new Rn(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new Rn(o)}async expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=ND(t,o,i);if(!c)throw new Rn(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>oR&&(this.allowRedirects=!1));let p=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,MD(p),n),y=await this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(n,r,t,y.concat(f),s,!1,a)}createSnapshot(n,t,r,o,i){let s=new oi(r,o,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,aR(t),Vt(t),t.component??t._loadedComponent??null,t,cR(t),n),a=Oh(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,t,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=B=>this.createSnapshot(n,r,B.consumedSegments,B.parameters,s),c=await Pl(QA(t,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(t.children={}),!c?.matched)throw new Rn(t);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:p}=c,g=this.createSnapshot(n,r,f,d,s),{segmentGroup:y,slicedSegments:b}=JE(t,f,p,l,i);if(b.length===0&&y.hasChildren()){let B=await this.processChildren(u,l,y,g);return new at(g,B)}if(l.length===0&&b.length===0)return new at(g,[]);let E=Vt(r)===i,_=await this.processSegment(u,l,y,b,E?A:i,!0,g);return new at(g,_ instanceof at?[_]:[])}async getChildConfig(n,t,r){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await Pl(zA(n,t,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw qA(t)}return{routes:[],injector:n}}};function iR(e){e.sort((n,t)=>n.value.outlet===A?-1:t.value.outlet===A?1:n.value.outlet.localeCompare(t.value.outlet))}function sR(e){let n=e.value.routeConfig;return n&&n.path===""}function AD(e){let n=[],t=new Set;for(let r of e){if(!sR(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=AD(r.children);n.push(new at(r.value,o))}return n.filter(r=>!t.has(r))}function aR(e){return e.data||{}}function cR(e){return e.resolve||{}}function lR(e,n,t,r,o,i,s){return Le(async a=>{let{state:c,tree:l}=await rR(e,n,t,r,a.extractedUrl,o,i,s);return P(m({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function uR(e){return Le(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return x(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of RD(a))i.add(c);let s=0;return fe(i).pipe(Er(a=>o.has(a)?dR(a,t,e):(a.data=Oh(a,a.parent,e).resolve,x(void 0))),ft(()=>s++),xa(1),Le(a=>s===i.size?x(n):Re))})}function RD(e){let n=e.children.map(t=>RD(t)).flat();return[e,...n]}function dR(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!bD(r)&&(o[Us]=r.title),wi(()=>(e.data=Oh(e,e.parent,t).resolve,fR(o,e,n).pipe(Z(i=>(e._resolvedData=i,e.data=m(m({},e.data),i),null)))))}function fR(e,n,t){let r=yh(e);if(r.length===0)return x({});let o={};return fe(r).pipe(Le(i=>pR(e[i],n,t).pipe(yn(),ft(s=>{if(s instanceof ii)throw Yl(new ar,s);o[i]=s}))),xa(1),Z(()=>o),vo(i=>ID(i)?Re:ku(i)))}function pR(e,n,t){let r=n._environmentInjector,o=li(e,r),i=o.resolve?o.resolve(n,t):we(r,()=>o(n,t));return no(i)}function XE(e){return Ye(n=>{let t=e(n);return t?fe(t).pipe(Z(()=>n)):x(n)})}var Bh=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===A);return r}getResolvedTitleForRoute(t){return t.data[Us]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(xD),providedIn:"root"})}return e})(),xD=(()=>{class e extends Bh{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(M(qE))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ui=new C("",{factory:()=>({})}),Vs=new C(""),OD=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(xp);async loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await nD(we(t,()=>r.loadComponent())),s=await LD(PD(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await kD(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function kD(e,n,t,r){let o=await nD(we(t,()=>e.loadChildren())),i=await LD(PD(o)),s;i instanceof nl||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(e);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(t).injector,u=s,c=a.get(Vs,[],{optional:!0,self:!0}).flat()),{routes:c.map(jh),injector:a,factory:u}}function hR(e){return e&&typeof e=="object"&&"default"in e}function PD(e){return hR(e)?e.default:e}async function LD(e){return e}var eu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(gR),providedIn:"root"})}return e})(),gR=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),FD=new C("");var mR=()=>{},jD=new C(""),BD=(()=>{class e{currentNavigation=T(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=T(null);events=new X;transitionAbortWithErrorSubject=new X;configLoader=h(OD);environmentInjector=h(se);destroyRef=h(me);urlSerializer=h(ai);rootContexts=h(ci);location=h(Zo);inputBindingEnabled=h($s,{optional:!0})!==null;titleStrategy=h(Bh);options=h(ui,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(eu);createViewTransition=h(FD,{optional:!0});navigationErrorHandler=h(jD,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>x(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Hl(o)),r=o=>this.events.next(new Vl(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;ne(()=>{this.transitions?.next(P(m({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new Ae(null),this.transitions.pipe(Ze(r=>r!==null),Ye(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return x(r).pipe(Ye(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ue.SupersededByNewNavigation),Re;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?P(m({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new xn(a.id,this.urlSerializer.serialize(a.rawUrl),"",Os.IgnoredSameUrlNavigation)),a.resolve(!1),Re;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return x(a).pipe(Ye(d=>(this.events.next(new eo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Re:Promise.resolve(d))),lR(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),ft(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f)),this.events.next(new Ps)}),Ye(d=>fe(r.routesRecognizeHandler.deferredHandle??x(void 0)).pipe(Z(()=>d))),ft(()=>{let d=new ks(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:f,source:p,restoredState:g,extras:y}=a,b=new eo(d,this.urlSerializer.serialize(f),p,g);this.events.next(b);let E=yD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=P(m({},a),{targetSnapshot:E,urlAfterRedirects:f,extras:P(m({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(_=>(_.finalUrl=f,_)),x(r)}else return this.events.next(new xn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Os.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Re}),Z(a=>{let c=new jl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=P(m({},a),{guards:SA(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),LA(a=>this.events.next(a)),Ye(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Yl(this.urlSerializer,a.guardsResult);let c=new Bl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Re;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ue.GuardRejected),Re;if(a.guards.canActivateChecks.length===0)return x(a);let l=new Ul(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Re;let u=!1;return x(a).pipe(uR(this.paramsInheritanceStrategy),ft({next:()=>{u=!0;let d=new $l(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",Ue.NoDataFromResolver)}}))}),XE(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let f=u._environmentInjector;d.push(this.configLoader.loadComponent(f,u.routeConfig).then(p=>{u.component=p}))}for(let f of u.children)d.push(...c(f));return d},l=c(a.targetSnapshot.root);return l.length===0?x(a):fe(Promise.all(l).then(()=>a))}),XE(()=>this.afterPreactivation()),Ye(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?fe(l).pipe(Z(()=>r)):x(r)}),mn(1),Ye(a=>{let c=DA(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=P(m({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new ni);let l=r.beforeActivateHandler.deferredHandle;return l?fe(l.then(()=>a)):x(a)}),ft(a=>{new Th(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=mR,c)),this.lastSuccessfulNavigation.set(ne(this.currentNavigation)),this.events.next(new zt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Dr(SD(i.signal).pipe(Ze(()=>!o&&!r.targetRouterState),ft(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",Ue.Aborted)}))),ft({complete:()=>{o=!0}}),Dr(this.transitionAbortWithErrorSubject.pipe(ft(a=>{throw a}))),Ii(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",Ue.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),vo(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Re;if(wD(a))this.events.next(new wt(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),IA(a)?this.events.next(new ri(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new to(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=we(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof ii){let{message:u,cancellationCode:d}=Yl(this.urlSerializer,l);this.events.next(new wt(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new ri(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Re}))}))}cancelNavigationTransition(t,r,o){let i=new wt(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=ne(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yR(e){return e!==Ns}var UD=new C("");var $D=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(vR),providedIn:"root"})}return e})(),Jl=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},vR=(()=>{class e extends Jl{static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tu=(()=>{class e{urlSerializer=h(ai);options=h(ui,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Zo);urlHandlingStrategy=h(eu);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ge;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Ge?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=yD(null,h(se));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(bR),providedIn:"root"})}return e})(),bR=(()=>{class e extends tu{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof eo?this.updateStateMemento():t instanceof xn?this.commitTransition(r):t instanceof ks?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof ni?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof wt&&!mD(t)?this.restoreHistory(r):t instanceof to?this.restoreHistory(r,!0):t instanceof zt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=m(m({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Uh(e,n){e.events.pipe(Ze(t=>t instanceof zt||t instanceof wt||t instanceof to||t instanceof xn),Z(t=>t instanceof zt||t instanceof xn?0:(t instanceof wt?t.code===Ue.Redirect||t.code===Ue.SupersededByNewNavigation:!1)?2:1),Ze(t=>t!==2),mn(1)).subscribe(()=>{n()})}var ro=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(rl);stateManager=h(tu);options=h(ui,{optional:!0})||{};pendingTasks=h(wn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(BD);urlSerializer=h(ai);location=h(Zo);urlHandlingStrategy=h(eu);injector=h(se);_events=new X;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h($D);injectorCleanup=h(UD,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Vs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h($s,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ne;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=ne(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof wt&&r.code!==Ue.Redirect&&r.code!==Ue.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof zt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ri){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||yR(o.source)},s);this.scheduleNavigation(a,Ns,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}bA(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ns,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o,i)=>{this.navigateToSyncWithBrowser(t,o,r,i)})}navigateToSyncWithBrowser(t,r,o,i){let s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(it)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ne(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(jh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let f=o?o.snapshot:this.routerState.snapshot.root;d=fD(f)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return pD(d,t,u,l??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=cr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ns,null,r)}navigate(t,r={skipLocationChange:!1}){return ER(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(Jt(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=m({},Rh):r===!1?o=m({},Rs):o=m(m({},Rs),r),cr(t))return vh(this.currentUrlTree,t,o);let i=this.parseUrl(t);return vh(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,c=f});let u=this.pendingTasks.add();return Uh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ER(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new D(4008,!1)}var CR=(()=>{class e{router=h(ro);stateManager=h(tu);fragment=T("");queryParams=T({});path=T("");serializer=h(ai);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof zt&&this.updateState()})}updateState(){let{fragment:t,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Ge(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nu=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=h(new pl("href"),{optional:!0});reactiveHref=Op(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return ne(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return ne(this._target)}_target=T(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return ne(this._queryParams)}_queryParams=T(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return ne(this._fragment)}_fragment=T(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return ne(this._queryParamsHandling)}_queryParamsHandling=T(void 0);set state(t){this._state.set(t)}get state(){return ne(this._state)}_state=T(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return ne(this._info)}_info=T(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return ne(this._relativeTo)}_relativeTo=T(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return ne(this._preserveFragment)}_preserveFragment=T(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return ne(this._skipLocationChange)}_skipLocationChange=T(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return ne(this._replaceUrl)}_replaceUrl=T(!1);isAnchorElement;onChanges=new X;applicationErrorHandler=h(it);options=h(ui,{optional:!0});reactiveRouterState=h(CR);constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=T(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(cr(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}_urlTree=oe(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=o=>o==="preserve"||o==="merge";(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:cr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(t,r)=>this.computeHref(t)===this.computeHref(r)});get urlTree(){return ne(this._urlTree)}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static \u0275fac=function(r){return new(r||e)(L(ro),L(On),os("tabindex"),L($t),L(xe),L(Ko))};static \u0275dir=Q({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&zo("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Je("href",o.reactiveHref(),Gf)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",re],skipLocationChange:[2,"skipLocationChange","skipLocationChange",re],replaceUrl:[2,"replaceUrl","replaceUrl",re],routerLink:"routerLink"},features:[sn]})}return e})(),wR=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ye;link=h(nu,{optional:!0});constructor(t,r,o,i){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=t.events.subscribe(s=>{s instanceof zt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(mo()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=fe(t).pipe(mo()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=IR(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?m({},Rh):m({},Rs);return o=>{let i=o.urlTree;return i?ne(xh(i,t,r)):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(L(ro),L(xe),L($t),L(Zr))};static \u0275dir=Q({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Wo(i,nu,5),r&2){let s;nr(s=rr())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[sn]})}return e})();function IR(e){let n=e;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var SR=new C("");function TR(e,...n){return ht([{provide:Vs,multi:!0,useValue:e},[],{provide:On,useFactory:_R},{provide:il,multi:!0,useFactory:NR},n.map(t=>t.\u0275providers)])}function _R(){return h(ro).routerState.root}function MR(e,n){return{\u0275kind:e,\u0275providers:n}}function NR(){let e=h(ve);return n=>{let t=e.get(qr);if(n!==t.components[0])return;let r=e.get(ro),o=e.get(AR);e.get(RR)===1&&r.initialNavigation(),e.get(xR,null,{optional:!0})?.setUpPreloading(),e.get(SR,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var AR=new C("",{factory:()=>new X}),RR=new C("",{factory:()=>1});var xR=new C("");function OR(){return MR(8,[Lh,{provide:$s,useExisting:Lh}])}function lr(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[lr(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function oo(e,n){return e?e.classList?e.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(e.className):!1}function zs(e,n){if(e&&n){let t=r=>{oo(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function kR(){return window.innerWidth-document.documentElement.offsetWidth}function HD(e){typeof e=="string"?zs(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,kR()+"px"),zs(document.body,e?.className||"p-overflow-hidden"))}function ur(e,n){if(e&&n){let t=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function VD(e){typeof e=="string"?ur(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),ur(document.body,e?.className||"p-overflow-hidden"))}function Ws(e){for(let n of document?.styleSheets)try{for(let t of n?.cssRules)for(let r of t?.style)if(e.test(r))return{name:r,value:t.style.getPropertyValue(r).trim()}}catch{}return null}function zD(e){let n={width:0,height:0};if(e){let[t,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",n.width=o.width||e.offsetWidth,n.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=t}return n}function ru(){let e=window,n=document,t=n.documentElement,r=n.getElementsByTagName("body")[0],o=e.innerWidth||t.clientWidth||r.clientWidth,i=e.innerHeight||t.clientHeight||r.clientHeight;return{width:o,height:i}}function $h(e){return e?Math.abs(e.scrollLeft):0}function Hh(){let e=document.documentElement;return(window.pageXOffset||$h(e))-(e.clientLeft||0)}function Vh(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function PR(e){return e?getComputedStyle(e).direction==="rtl":!1}function CW(e,n,t=!0){var r,o,i,s;if(e){let a=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:zD(e),c=a.height,l=a.width,u=n.offsetHeight,d=n.offsetWidth,f=n.getBoundingClientRect(),p=Vh(),g=Hh(),y=ru(),b,E,_="top";f.top+u+c>y.height?(b=f.top+p-c,_="bottom",b<0&&(b=p)):b=u+f.top+p,f.left+l>y.width?E=Math.max(0,f.left+g+d-l):E=f.left+g,PR(e)?e.style.insetInlineEnd=E+"px":e.style.insetInlineStart=E+"px",e.style.top=b+"px",e.style.transformOrigin=_,t&&(e.style.marginTop=_==="bottom"?`calc(${(o=(r=Ws(/-anchor-gutter$/))==null?void 0:r.value)!=null?o:"2px"} * -1)`:(s=(i=Ws(/-anchor-gutter$/))==null?void 0:i.value)!=null?s:"")}}function wW(e,n){e&&(typeof n=="string"?e.style.cssText=n:Object.entries(n||{}).forEach(([t,r])=>e.style[t]=r))}function It(e,n){if(e instanceof HTMLElement){let t=e.offsetWidth;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return t}return 0}function IW(e,n,t=!0,r=void 0){var o;if(e){let i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:zD(e),s=n.offsetHeight,a=n.getBoundingClientRect(),c=ru(),l,u,d=r??"top";if(!r&&a.top+s+i.height>c.height?(l=-1*i.height,d="bottom",a.top+l<0&&(l=-1*a.top)):l=s,i.width>c.width?u=a.left*-1:a.left+i.width>c.width?u=(a.left+i.width-c.width)*-1:u=0,e.style.top=l+"px",e.style.insetInlineStart=u+"px",e.style.transformOrigin=d,t){let f=(o=Ws(/-anchor-gutter$/))==null?void 0:o.value;e.style.marginTop=d==="bottom"?`calc(${f??"2px"} * -1)`:f??""}}}function WD(e){if(e){let n=e.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function LR(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&WD(e))}function di(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function GD(e){let n=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?n=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?n=e.el.nativeElement:n=e.el)),di(n)?n:void 0}function FR(e,n){var t,r,o;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@first":return n?.firstElementChild;case"@last":return n?.lastElementChild;case"@child":return(t=n?.children)==null?void 0:t[0];case"@parent":return n?.parentElement;case"@grandparent":return(r=n?.parentElement)==null?void 0:r.parentElement;default:{if(typeof e=="string"){let a=e.match(/^@child\[(\d+)]/);return a?((o=n?.children)==null?void 0:o[parseInt(a[1],10)])||null:document.querySelector(e)||null}let i=(a=>typeof a=="function"&&"call"in a&&"apply"in a)(e)?e():e,s=GD(i);return LR(s)?s:i?.nodeType===9?i:void 0}}}function zh(e,n){let t=FR(e,n);if(t)t.appendChild(n);else throw new Error("Cannot append "+n+" to "+e)}function ou(e,n={}){if(di(e)){let t=(r,o)=>{var i,s;let a=(i=e?.$attrs)!=null&&i[r]?[(s=e?.$attrs)==null?void 0:s[r]]:[];return[o].flat().reduce((c,l)=>{if(l!=null){let u=typeof l;if(u==="string"||u==="number")c.push(l);else if(u==="object"){let d=Array.isArray(l)?t(r,l):Object.entries(l).map(([f,p])=>r==="style"&&(p||p===0)?`${f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?f:void 0);c=d.length?c.concat(d.filter(f=>!!f)):c}}return c},a)};Object.entries(n).forEach(([r,o])=>{if(o!=null){let i=r.match(/^on(.+)/);i?e.addEventListener(i[1].toLowerCase(),o):r==="p-bind"||r==="pBind"?ou(e,o):(o=r==="class"?[...new Set(t("class",o))].join(" ").trim():r==="style"?t("style",o).join(";").trim():o,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=o),e.setAttribute(r,o))}})}}function Gs(e,n={},...t){if(e){let r=document.createElement(e);return ou(r,n),r.append(...t),r}}function qD(e,n){if(e){e.style.opacity="0";let t=+new Date,r="0",o=function(){r=`${+e.style.opacity+(new Date().getTime()-t)/n}`,e.style.opacity=r,t=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(o):setTimeout(o,16))};o()}}function jR(e,n){return di(e)?Array.from(e.querySelectorAll(n)):[]}function iu(e,n){return di(e)?e.matches(n)?e:e.querySelector(n):null}function SW(e,n){e&&document.activeElement!==e&&e.focus(n)}function TW(e,n){if(di(e)){let t=e.getAttribute(n);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function KD(e,n=""){let t=jR(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
6
- [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${n},
7
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
8
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
9
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
10
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
11
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}`),r=[];for(let o of t)getComputedStyle(o).display!="none"&&getComputedStyle(o).visibility!="hidden"&&r.push(o);return r}function _W(e,n){let t=KD(e,n);return t.length>0?t[0]:null}function Wh(e){if(e){let n=e.offsetHeight,t=getComputedStyle(e);return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),n}return 0}function MW(e){var n;if(e){let t=(n=WD(e))==null?void 0:n.childNodes,r=0;if(t)for(let o=0;o<t.length;o++){if(t[o]===e)return r;t[o].nodeType===1&&r++}}return-1}function NW(e,n){let t=KD(e,n);return t.length>0?t[t.length-1]:null}function ZD(e){if(e){let n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||$h(document.documentElement)||$h(document.body)||0)}}return{top:"auto",left:"auto"}}function Wt(e,n){if(e){let t=e.offsetHeight;if(n){let r=getComputedStyle(e);t+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return t}return 0}function AW(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function Gh(e){if(e){let n=e.offsetWidth,t=getComputedStyle(e);return n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth),n}return 0}function RW(e){if(e){let n=e.nodeName,t=e.parentElement&&e.parentElement.nodeName;return n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||!!e.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function xW(e){return!!(e&&e.offsetParent!=null)}function OW(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function kW(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function PW(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function YD(e){var n;e&&("remove"in Element.prototype?e.remove():(n=e.parentNode)==null||n.removeChild(e))}function QD(e,n){let t=GD(e);if(t)t.removeChild(n);else throw new Error("Cannot remove "+n+" from "+e)}function LW(e,n){let t=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=t?parseFloat(t):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=e.getBoundingClientRect(),a=n.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,c=e.scrollTop,l=e.clientHeight,u=Wt(n);a<0?e.scrollTop=c+a:a+u>l&&(e.scrollTop=c+a-l+u)}function JD(e,n="",t){di(e)&&t!==null&&t!==void 0&&e.setAttribute(n,t)}function FW(e,n,t=null,r){var o;n&&((o=e?.style)==null||o.setProperty(n,t,r))}function XD(){let e=new Map;return{on(n,t){let r=e.get(n);return r?r.push(t):r=[t],e.set(n,r),this},off(n,t){let r=e.get(n);return r&&r.splice(r.indexOf(t)>>>0,1),this},emit(n,t){let r=e.get(n);r&&r.forEach(o=>{o(t)})},clear(){e.clear()}}}var BR=Object.defineProperty,eC=Object.getOwnPropertySymbols,UR=Object.prototype.hasOwnProperty,$R=Object.prototype.propertyIsEnumerable,tC=(e,n,t)=>n in e?BR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,nC=(e,n)=>{for(var t in n||(n={}))UR.call(n,t)&&tC(e,t,n[t]);if(eC)for(var t of eC(n))$R.call(n,t)&&tC(e,t,n[t]);return e};function rC(...e){if(e){let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")n.push(r);else if(o==="object"){let i=Array.isArray(r)?[rC(...r)]:Object.entries(r).map(([s,a])=>a?s:void 0);n=i.length?n.concat(i.filter(s=>!!s)):n}}return n.join(" ").trim()}}function HR(e){return typeof e=="function"&&"call"in e&&"apply"in e}function VR({skipUndefined:e=!1},...n){return n?.reduce((t,r={})=>{for(let o in r){let i=r[o];if(!(e&&i===void 0))if(o==="style")t.style=nC(nC({},t.style),r.style);else if(o==="class"||o==="className")t[o]=rC(t[o],r[o]);else if(HR(i)){let s=t[o];t[o]=s?(...a)=>{s(...a),i(...a)}:i}else t[o]=i}return t},{})}function qh(...e){return VR({skipUndefined:!1},...e)}function io(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Kh(e,n,t=new WeakSet){if(e===n)return!0;if(!e||!n||typeof e!="object"||typeof n!="object"||t.has(e)||t.has(n))return!1;t.add(e).add(n);let r=Array.isArray(e),o=Array.isArray(n),i,s,a;if(r&&o){if(s=e.length,s!=n.length)return!1;for(i=s;i--!==0;)if(!Kh(e[i],n[i],t))return!1;return!0}if(r!=o)return!1;let c=e instanceof Date,l=n instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==n.getTime();let u=e instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==n.toString();let f=Object.keys(e);if(s=f.length,s!==Object.keys(n).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!Kh(e[a],n[a],t))return!1;return!0}function zR(e,n){return Kh(e,n)}function au(e){return typeof e=="function"&&"call"in e&&"apply"in e}function q(e){return!io(e)}function su(e,n){if(!e||!n)return null;try{let t=e[n];if(q(t))return t}catch{}if(Object.keys(e).length){if(au(n))return n(e);if(n.indexOf(".")===-1)return e[n];{let t=n.split("."),r=e;for(let o=0,i=t.length;o<i;++o){if(r==null)return null;r=r[t[o]]}return r}}return null}function qs(e,n,t){return t?su(e,t)===su(n,t):zR(e,n)}function $W(e,n){if(e!=null&&n&&n.length){for(let t of n)if(qs(e,t))return!0}return!1}function kn(e,n=!0){return e instanceof Object&&e.constructor===Object&&(n||Object.keys(e).length!==0)}function HW(e,n){let t=-1;if(q(e))try{t=e.findLastIndex(n)}catch{t=e.lastIndexOf([...e].reverse().find(n))}return t}function _e(e,...n){return au(e)?e(...n):e}function St(e,n=!0){return typeof e=="string"&&(n||e!=="")}function dr(e){return St(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function cu(e,n="",t={}){let r=dr(n).split("."),o=r.shift();if(o){if(kn(e)){let i=Object.keys(e).find(s=>dr(s)===o)||"";return cu(_e(e[i],t),r.join("."),t)}return}return _e(e,t)}function Zh(e,n=!0){return Array.isArray(e)&&(n||e.length!==0)}function VW(e){return e instanceof Date}function oC(e){return q(e)&&!isNaN(e)}function zW(e=""){return q(e)&&e.length===1&&!!e.match(/\S| /)}function Gt(e,n){if(n){let t=n.test(e);return n.lastIndex=0,t}return!1}function so(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function lt(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let n={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let t in n)e=e.replace(n[t],t)}return e}function lu(e){return St(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function WW(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}var uu={};function ao(e="pui_id_"){return Object.hasOwn(uu,e)||(uu[e]=0),uu[e]++,`${e}${uu[e]}`}var iC=["*"];var ke=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return e})(),QW=(()=>{class e{static AND="and";static OR="or"}return e})(),JW=(()=>{class e{filter(t,r,o,i,s){let a=[];if(t)for(let c of t)for(let l of r){let u=su(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=lt(r.toString()).toLocaleLowerCase(o);return lt(t.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=lt(r.toString()).toLocaleLowerCase(o);return lt(t.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(t,r,o)=>{if(r==null||typeof r=="string"&&r.trim()==="")return!0;if(t==null)return!1;let i=lt(r.toString()).toLocaleLowerCase(o);return lt(t.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(t,r,o)=>{if(r==null||r.trim()==="")return!0;if(t==null)return!1;let i=lt(r.toString()).toLocaleLowerCase(o),s=lt(t.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()===r.getTime():t==r?!0:lt(t.toString()).toLocaleLowerCase(o)==lt(r.toString()).toLocaleLowerCase(o),notEquals:(t,r,o)=>r==null||typeof r=="string"&&r.trim()===""?!1:t==null?!0:t.getTime&&r.getTime?t.getTime()!==r.getTime():t==r?!1:lt(t.toString()).toLocaleLowerCase(o)!=lt(r.toString()).toLocaleLowerCase(o),in:(t,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(qs(t,r[o]))return!0;return!1},between:(t,r)=>r==null||r[0]==null||r[1]==null?!0:t==null?!1:t.getTime?r[0].getTime()<=t.getTime()&&t.getTime()<=r[1].getTime():r[0]<=t&&t<=r[1],lt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<r.getTime():t<r,lte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()<=r.getTime():t<=r,gt:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>r.getTime():t>r,gte:(t,r,o)=>r==null?!0:t==null?!1:t.getTime&&r.getTime?t.getTime()>=r.getTime():t>=r,is:(t,r,o)=>this.filters.equals(t,r,o),isNot:(t,r,o)=>this.filters.notEquals(t,r,o),before:(t,r,o)=>this.filters.lt(t,r,o),after:(t,r,o)=>this.filters.gt(t,r,o),dateIs:(t,r)=>r==null?!0:t==null?!1:t.toDateString()===r.toDateString(),dateIsNot:(t,r)=>r==null?!0:t==null?!1:t.toDateString()!==r.toDateString(),dateBefore:(t,r)=>r==null?!0:t==null?!1:t.getTime()<r.getTime(),dateAfter:(t,r)=>r==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>r.getTime())};register(t,r){this.filters[t]=r}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var XW=(()=>{class e{clickSource=new X;parentDragSource=new X;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var e4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Be({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:iC,decls:1,vars:0,template:function(r,o){r&1&&(cn(),ln(0))},encapsulation:2})}return e})(),t4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Be({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:iC,decls:1,vars:0,template:function(r,o){r&1&&(cn(),ln(0))},encapsulation:2})}return e})(),sC=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(r){return new(r||e)(L(on))};static \u0275dir=Q({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),fr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({imports:[Ht]})}return e})(),n4=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})();function aC(e){e||(e=h(me));let n=new k(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Dr(n))}function d4(e,n){let r=!n?.manualCleanup?n?.injector?.get(me)??h(me):null,o=WR(n?.equal),i;n?.requireSync?i=T({kind:0},{equal:o}):i=T({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new D(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),oe(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new D(601,!1)}},{equal:n?.equal})}function WR(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var GR=Object.defineProperty,qR=Object.defineProperties,KR=Object.getOwnPropertyDescriptors,du=Object.getOwnPropertySymbols,uC=Object.prototype.hasOwnProperty,dC=Object.prototype.propertyIsEnumerable,cC=(e,n,t)=>n in e?GR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Kt=(e,n)=>{for(var t in n||(n={}))uC.call(n,t)&&cC(e,t,n[t]);if(du)for(var t of du(n))dC.call(n,t)&&cC(e,t,n[t]);return e},Yh=(e,n)=>qR(e,KR(n)),Pn=(e,n)=>{var t={};for(var r in e)uC.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&du)for(var r of du(e))n.indexOf(r)<0&&dC.call(e,r)&&(t[r]=e[r]);return t};var ZR=XD(),ut=ZR,Ks=/{([^}]*)}/g,fC=/(\d+\s+[\+\-\*\/]\s+\d+)/g,pC=/var\([^)]+\)/g;function lC(e){return St(e)?e.replace(/[A-Z]/g,(n,t)=>t===0?n:"."+n.toLowerCase()).toLowerCase():e}function YR(e){return kn(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function QR(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Qh(e="",n=""){return QR(`${St(e,!1)&&St(n,!1)?`${e}-`:e}${n}`)}function hC(e="",n=""){return`--${Qh(e,n)}`}function JR(e=""){let n=(e.match(/{/g)||[]).length,t=(e.match(/}/g)||[]).length;return(n+t)%2!==0}function gC(e,n="",t="",r=[],o){if(St(e)){let i=e.trim();if(JR(i))return;if(Gt(i,Ks)){let s=i.replaceAll(Ks,a=>{let c=a.replace(/{|}/g,"").split(".").filter(l=>!r.some(u=>Gt(l,u)));return`var(${hC(t,lu(c.join("-")))}${q(o)?`, ${o}`:""})`});return Gt(s.replace(pC,"0"),fC)?`calc(${s})`:s}return i}else if(oC(e))return e}function XR(e,n,t){St(n,!1)&&e.push(`${n}:${t};`)}function fi(e,n){return e?`${e}{${n}}`:""}function mC(e,n){if(e.indexOf("dt(")===-1)return e;function t(s,a){let c=[],l=0,u="",d=null,f=0;for(;l<=s.length;){let p=s[l];if((p==='"'||p==="'"||p==="`")&&s[l-1]!=="\\"&&(d=d===p?null:p),!d&&(p==="("&&f++,p===")"&&f--,(p===","||l===s.length)&&f===0)){let g=u.trim();g.startsWith("dt(")?c.push(mC(g,a)):c.push(r(g)),u="",l++;continue}p!==void 0&&(u+=p),l++}return c}function r(s){let a=s[0];if((a==='"'||a==="'"||a==="`")&&s[s.length-1]===a)return s.slice(1,-1);let c=Number(s);return isNaN(c)?s:c}let o=[],i=[];for(let s=0;s<e.length;s++)if(e[s]==="d"&&e.slice(s,s+3)==="dt(")i.push(s),s+=2;else if(e[s]===")"&&i.length>0){let a=i.pop();i.length===0&&o.push([a,s])}if(!o.length)return e;for(let s=o.length-1;s>=0;s--){let[a,c]=o[s],l=e.slice(a+3,c),u=t(l,n),d=n(...u);e=e.slice(0,a)+d+e.slice(c+1)}return e}var Xh=e=>{var n;let t=Y.getTheme(),r=Jh(t,e,void 0,"variable"),o=(n=r?.match(/--[\w-]+/g))==null?void 0:n[0],i=Jh(t,e,void 0,"value");return{name:o,variable:r,value:i}},Ln=(...e)=>Jh(Y.getTheme(),...e),Jh=(e={},n,t,r)=>{if(n){let{variable:o,options:i}=Y.defaults||{},{prefix:s,transform:a}=e?.options||i||{},c=Gt(n,Ks)?n:`{${n}}`;return r==="value"||io(r)&&a==="strict"?Y.getTokenValue(n):gC(c,void 0,s,[o.excludedKeyRegex],t)}return""};function pi(e,...n){if(e instanceof Array){let t=e.reduce((r,o,i)=>{var s;return r+o+((s=_e(n[i],{dt:Ln}))!=null?s:"")},"");return mC(t,Ln)}return _e(e,{dt:Ln})}function ex(e,n={}){let t=Y.defaults.variable,{prefix:r=t.prefix,selector:o=t.selector,excludedKeyRegex:i=t.excludedKeyRegex}=n,s=[],a=[],c=[{node:e,path:r}];for(;c.length;){let{node:u,path:d}=c.pop();for(let f in u){let p=u[f],g=YR(p),y=Gt(f,i)?Qh(d):Qh(d,lu(f));if(kn(g))c.push({node:g,path:y});else{let b=hC(y),E=gC(g,y,r,[i]);XR(a,b,E);let _=y;r&&_.startsWith(r+"-")&&(_=_.slice(r.length+1)),s.push(_.replace(/-/g,"."))}}}let l=a.join("");return{value:a,tokens:s,declarations:l,css:fi(o,l)}}var qt={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let n=Object.keys(this.rules).filter(t=>t!=="custom").map(t=>this.rules[t]);return[e].flat().map(t=>{var r;return(r=n.map(o=>o.resolve(t)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(t)})}},_toVariables(e,n){return ex(e,{prefix:n?.prefix})},getCommon({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s,a,c,l,u,d;let{preset:f,options:p}=n,g,y,b,E,_,B,K;if(q(f)&&p.transform!=="strict"){let{primitive:et,semantic:tt,extend:qe}=f,Tt=tt||{},{colorScheme:jn}=Tt,pr=Pn(Tt,["colorScheme"]),Ys=qe||{},{colorScheme:Qs}=Ys,gi=Pn(Ys,["colorScheme"]),mi=jn||{},{dark:Js}=mi,Xs=Pn(mi,["dark"]),ea=Qs||{},{dark:ta}=ea,na=Pn(ea,["dark"]),ra=q(et)?this._toVariables({primitive:et},p):{},oa=q(pr)?this._toVariables({semantic:pr},p):{},ia=q(Xs)?this._toVariables({light:Xs},p):{},ig=q(Js)?this._toVariables({dark:Js},p):{},sg=q(gi)?this._toVariables({semantic:gi},p):{},ag=q(na)?this._toVariables({light:na},p):{},cg=q(ta)?this._toVariables({dark:ta},p):{},[YC,QC]=[(i=ra.declarations)!=null?i:"",ra.tokens],[JC,XC]=[(s=oa.declarations)!=null?s:"",oa.tokens||[]],[ew,tw]=[(a=ia.declarations)!=null?a:"",ia.tokens||[]],[nw,rw]=[(c=ig.declarations)!=null?c:"",ig.tokens||[]],[ow,iw]=[(l=sg.declarations)!=null?l:"",sg.tokens||[]],[sw,aw]=[(u=ag.declarations)!=null?u:"",ag.tokens||[]],[cw,lw]=[(d=cg.declarations)!=null?d:"",cg.tokens||[]];g=this.transformCSS(e,YC,"light","variable",p,r,o),y=QC;let uw=this.transformCSS(e,`${JC}${ew}`,"light","variable",p,r,o),dw=this.transformCSS(e,`${nw}`,"dark","variable",p,r,o);b=`${uw}${dw}`,E=[...new Set([...XC,...tw,...rw])];let fw=this.transformCSS(e,`${ow}${sw}color-scheme:light`,"light","variable",p,r,o),pw=this.transformCSS(e,`${cw}color-scheme:dark`,"dark","variable",p,r,o);_=`${fw}${pw}`,B=[...new Set([...iw,...aw,...lw])],K=_e(f.css,{dt:Ln})}return{primitive:{css:g,tokens:y},semantic:{css:b,tokens:E},global:{css:_,tokens:B},style:K}},getPreset({name:e="",preset:n={},options:t,params:r,set:o,defaults:i,selector:s}){var a,c,l;let u,d,f;if(q(n)&&t.transform!=="strict"){let p=e.replace("-directive",""),g=n,{colorScheme:y,extend:b,css:E}=g,_=Pn(g,["colorScheme","extend","css"]),B=b||{},{colorScheme:K}=B,et=Pn(B,["colorScheme"]),tt=y||{},{dark:qe}=tt,Tt=Pn(tt,["dark"]),jn=K||{},{dark:pr}=jn,Ys=Pn(jn,["dark"]),Qs=q(_)?this._toVariables({[p]:Kt(Kt({},_),et)},t):{},gi=q(Tt)?this._toVariables({[p]:Kt(Kt({},Tt),Ys)},t):{},mi=q(qe)?this._toVariables({[p]:Kt(Kt({},qe),pr)},t):{},[Js,Xs]=[(a=Qs.declarations)!=null?a:"",Qs.tokens||[]],[ea,ta]=[(c=gi.declarations)!=null?c:"",gi.tokens||[]],[na,ra]=[(l=mi.declarations)!=null?l:"",mi.tokens||[]],oa=this.transformCSS(p,`${Js}${ea}`,"light","variable",t,o,i,s),ia=this.transformCSS(p,na,"dark","variable",t,o,i,s);u=`${oa}${ia}`,d=[...new Set([...Xs,...ta,...ra])],f=_e(E,{dt:Ln})}return{css:u,tokens:d,style:f}},getPresetC({name:e="",theme:n={},params:t,set:r,defaults:o}){var i;let{preset:s,options:a}=n,c=(i=s?.components)==null?void 0:i[e];return this.getPreset({name:e,preset:c,options:a,params:t,set:r,defaults:o})},getPresetD({name:e="",theme:n={},params:t,set:r,defaults:o}){var i,s;let a=e.replace("-directive",""),{preset:c,options:l}=n,u=((i=c?.components)==null?void 0:i[a])||((s=c?.directives)==null?void 0:s[a]);return this.getPreset({name:a,preset:u,options:l,params:t,set:r,defaults:o})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,n){var t;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?n.options.darkModeSelector:(t=e.darkModeSelector)!=null?t:n.options.darkModeSelector):[]},getLayerOrder(e,n={},t,r){let{cssLayer:o}=n;return o?`@layer ${_e(o.order||o.name||"primeui",t)}`:""},getCommonStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){let s=this.getCommon({name:e,theme:n,params:t,set:o,defaults:i}),a=Object.entries(r).reduce((c,[l,u])=>c.push(`${l}="${u}"`)&&c,[]).join(" ");return Object.entries(s||{}).reduce((c,[l,u])=>{if(kn(u)&&Object.hasOwn(u,"css")){let d=so(u.css),f=`${l}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${f}" ${a}>${d}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:n={},params:t,props:r={},set:o,defaults:i}){var s;let a={name:e,theme:n,params:t,set:o,defaults:i},c=(s=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:s.css,l=Object.entries(r).reduce((u,[d,f])=>u.push(`${d}="${f}"`)&&u,[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${e}-variables" ${l}>${so(c)}</style>`:""},createTokens(e={},n,t="",r="",o={}){let i=function(a,c={},l=[]){if(l.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:a,path:this.path,paths:c,value:void 0};l.push(this.path),c.name=this.path,c.binding||(c.binding={});let u=this.value;if(typeof this.value=="string"&&Ks.test(this.value)){let d=this.value.trim().replace(Ks,f=>{var p;let g=f.slice(1,-1),y=this.tokens[g];if(!y)return console.warn(`Token not found for path: ${g}`),"__UNRESOLVED__";let b=y.computed(a,c,l);return Array.isArray(b)&&b.length===2?`light-dark(${b[0].value},${b[1].value})`:(p=b?.value)!=null?p:"__UNRESOLVED__"});u=fC.test(d.replace(pC,"0"))?`calc(${d})`:d}return io(c.binding)&&delete c.binding,l.pop(),{colorScheme:a,path:this.path,paths:c,value:u.includes("__UNRESOLVED__")?void 0:u}},s=(a,c,l)=>{Object.entries(a).forEach(([u,d])=>{let f=Gt(u,n.variable.excludedKeyRegex)?c:c?`${c}.${lC(u)}`:lC(u),p=l?`${l}.${u}`:u;kn(d)?s(d,f,p):(o[f]||(o[f]={paths:[],computed:(g,y={},b=[])=>{if(o[f].paths.length===1)return o[f].paths[0].computed(o[f].paths[0].scheme,y.binding,b);if(g&&g!=="none")for(let E=0;E<o[f].paths.length;E++){let _=o[f].paths[E];if(_.scheme===g)return _.computed(g,y.binding,b)}return o[f].paths.map(E=>E.computed(E.scheme,y[E.scheme],b))}}),o[f].paths.push({path:p,value:d,scheme:p.includes("colorScheme.light")?"light":p.includes("colorScheme.dark")?"dark":"none",computed:i,tokens:o}))})};return s(e,t,r),o},getTokenValue(e,n,t){var r;let o=(a=>a.split(".").filter(c=>!Gt(c.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(n),i=n.includes("colorScheme.light")?"light":n.includes("colorScheme.dark")?"dark":void 0,s=[(r=e[o])==null?void 0:r.computed(i)].flat().filter(a=>a);return s.length===1?s[0].value:s.reduce((a={},c)=>{let l=c,{colorScheme:u}=l,d=Pn(l,["colorScheme"]);return a[u]=d,a},void 0)},getSelectorRule(e,n,t,r){return t==="class"||t==="attr"?fi(q(n)?`${e}${n},${e} ${n}`:e,r):fi(e,fi(n??":root,:host",r))},transformCSS(e,n,t,r,o={},i,s,a){if(q(n)){let{cssLayer:c}=o;if(r!=="style"){let l=this.getColorSchemeOption(o,s);n=t==="dark"?l.reduce((u,{type:d,selector:f})=>(q(f)&&(u+=f.includes("[CSS]")?f.replace("[CSS]",n):this.getSelectorRule(f,a,d,n)),u),""):fi(a??":root,:host",n)}if(c){let l={name:"primeui",order:"primeui"};kn(c)&&(l.name=_e(c.name,{name:e,type:r})),q(l.name)&&(n=fi(`@layer ${l.name}`,n),i?.layerNames(l.name))}return n}return""}},Y={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:n}=e;n&&(this._theme=Yh(Kt({},n),{options:Kt(Kt({},this.defaults.options),n.options)}),this._tokens=qt.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),ut.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Yh(Kt({},this.theme),{preset:e}),this._tokens=qt.createTokens(e,this.defaults),this.clearLoadedStyleNames(),ut.emit("preset:change",e),ut.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Yh(Kt({},this.theme),{options:e}),this.clearLoadedStyleNames(),ut.emit("options:change",e),ut.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return qt.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",n){return qt.getCommon({name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return qt.getPresetC(t)},getDirective(e="",n){let t={name:e,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return qt.getPresetD(t)},getCustomPreset(e="",n,t,r){let o={name:e,preset:n,options:this.options,selector:t,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return qt.getPreset(o)},getLayerOrderCSS(e=""){return qt.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",n,t="style",r){return qt.transformCSS(e,n,r,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",n,t={}){return qt.getCommonStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,n,t={}){return qt.getStyleSheet({name:e,theme:this.theme,params:n,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:n}){this._loadingStyles.size&&(this._loadingStyles.delete(n),ut.emit(`theme:${n}:load`,e),!this._loadingStyles.size&&ut.emit("theme:load"))}};var yC=`
12
- *,
13
- ::before,
14
- ::after {
15
- box-sizing: border-box;
16
- }
17
-
18
- .p-collapsible-enter-active {
19
- animation: p-animate-collapsible-expand 0.2s ease-out;
20
- overflow: hidden;
21
- }
22
-
23
- .p-collapsible-leave-active {
24
- animation: p-animate-collapsible-collapse 0.2s ease-out;
25
- overflow: hidden;
26
- }
27
-
28
- @keyframes p-animate-collapsible-expand {
29
- from {
30
- grid-template-rows: 0fr;
31
- }
32
- to {
33
- grid-template-rows: 1fr;
34
- }
35
- }
36
-
37
- @keyframes p-animate-collapsible-collapse {
38
- from {
39
- grid-template-rows: 1fr;
40
- }
41
- to {
42
- grid-template-rows: 0fr;
43
- }
44
- }
45
-
46
- .p-disabled,
47
- .p-disabled * {
48
- cursor: default;
49
- pointer-events: none;
50
- user-select: none;
51
- }
52
-
53
- .p-disabled,
54
- .p-component:disabled {
55
- opacity: dt('disabled.opacity');
56
- }
57
-
58
- .pi {
59
- font-size: dt('icon.size');
60
- }
61
-
62
- .p-icon {
63
- width: dt('icon.size');
64
- height: dt('icon.size');
65
- }
66
-
67
- .p-overlay-mask {
68
- background: var(--px-mask-background, dt('mask.background'));
69
- color: dt('mask.color');
70
- position: fixed;
71
- top: 0;
72
- left: 0;
73
- width: 100%;
74
- height: 100%;
75
- }
76
-
77
- .p-overlay-mask-enter-active {
78
- animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;
79
- }
80
-
81
- .p-overlay-mask-leave-active {
82
- animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;
83
- }
84
-
85
- @keyframes p-animate-overlay-mask-enter {
86
- from {
87
- background: transparent;
88
- }
89
- to {
90
- background: var(--px-mask-background, dt('mask.background'));
91
- }
92
- }
93
- @keyframes p-animate-overlay-mask-leave {
94
- from {
95
- background: var(--px-mask-background, dt('mask.background'));
96
- }
97
- to {
98
- background: transparent;
99
- }
100
- }
101
-
102
- .p-anchored-overlay-enter-active {
103
- animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);
104
- }
105
-
106
- .p-anchored-overlay-leave-active {
107
- animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);
108
- }
109
-
110
- @keyframes p-animate-anchored-overlay-enter {
111
- from {
112
- opacity: 0;
113
- transform: scale(0.93);
114
- }
115
- }
116
-
117
- @keyframes p-animate-anchored-overlay-leave {
118
- to {
119
- opacity: 0;
120
- transform: scale(0.93);
121
- }
122
- }
123
- `;var tx=0,vC=(()=>{class e{document=h(V);use(t,r={}){let o=!1,i=t,s=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++tx}`,id:u=void 0,media:d=void 0,nonce:f=void 0,first:p=!1,props:g={}}=r;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),s){if(!s.isConnected){i=t;let y=this.document.head;JD(s,"nonce",f),p&&y.firstChild?y.insertBefore(s,y.firstChild):y.appendChild(s),ou(s,{type:"text/css",media:d,nonce:f,"data-primeng-style-id":l})}s.textContent!==i&&(s.textContent=i)}return{id:u,name:l,el:s,css:i}}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hi={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},nx=`
124
- .p-hidden-accessible {
125
- border: 0;
126
- clip: rect(0 0 0 0);
127
- height: 1px;
128
- margin: -1px;
129
- overflow: hidden;
130
- padding: 0;
131
- position: absolute;
132
- width: 1px;
133
- }
134
-
135
- .p-hidden-accessible input,
136
- .p-hidden-accessible select {
137
- transform: scale(0);
138
- }
139
-
140
- .p-overflow-hidden {
141
- overflow: hidden;
142
- padding-right: dt('scrollbar.width');
143
- }
144
- `,Me=(()=>{class e{name="base";useStyle=h(vC);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,r={},o=i=>i)=>{let i=o(pi`${_e(t,{dt:Ln})}`);return i?this.useStyle.use(so(i),m({name:this.name},r)):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},r="")=>this.load(this.style,t,(o="")=>Y.transformCSS(t.name||this.name,`${o}${pi`${r}`}`));loadBaseCSS=(t={})=>this.load(nx,t);loadBaseStyle=(t={},r="")=>this.load(yC,t,(o="")=>Y.transformCSS(t.name||this.name,`${o}${pi`${r}`}`));getCommonTheme=t=>Y.getCommon(this.name,t);getComponentTheme=t=>Y.getComponent(this.name,t);getPresetTheme=(t,r,o)=>Y.getCustomPreset(this.name,t,r,o);getLayerOrderThemeCSS=()=>Y.getLayerOrderCSS(this.name);getStyleSheet=(t="",r={})=>{if(this.css){let o=_e(this.css,{dt:Ln}),i=so(pi`${o}${t}`),s=Object.entries(r).reduce((a,[c,l])=>a.push(`${c}="${l}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${i}</style>`}return""};getCommonThemeStyleSheet=(t,r={})=>Y.getCommonStyleSheet(this.name,t,r);getThemeStyleSheet=(t,r={})=>{let o=[Y.getStyleSheet(this.name,t,r)];if(this.style){let i=this.name==="base"?"global-style":`${this.name}-style`,s=pi`${_e(this.style,{dt:Ln})}`,a=so(Y.transformCSS(i,s)),c=Object.entries(r).reduce((l,[u,d])=>l.push(`${u}="${d}"`)&&l,[]).join(" ");o.push(`<style type="text/css" data-primeng-style-id="${i}" ${c}>${a}</style>`)}return o.join("")};static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rx=(()=>{class e{theme=T(void 0);csp=T({nonce:void 0});isThemeChanged=!1;document=h(V);baseStyle=h(Me);constructor(){Ie(()=>{ut.on("theme:change",t=>{ne(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),Ie(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){Y.clearLoadedStyleNames(),ut.clear()}onThemeChange(t){Y.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Y.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,m({name:"primitive-variables"},s)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,m({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(m({name:"global-style"},s),i),Y.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:r,csp:o}=t||{};r&&this.theme.set(r),o&&this.csp.set(o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eg=(()=>{class e extends rx{ripple=T(!1);platformId=h(jt);inputStyle=T(null);inputVariant=T(null);overlayAppendTo=T("self");overlayOptions={};csp=T({nonce:void 0});unstyled=T(void 0);pt=T(void 0);ptOptions=T(void 0);filterMatchModeOptions={text:[ke.STARTS_WITH,ke.CONTAINS,ke.NOT_CONTAINS,ke.ENDS_WITH,ke.EQUALS,ke.NOT_EQUALS],numeric:[ke.EQUALS,ke.NOT_EQUALS,ke.LESS_THAN,ke.LESS_THAN_OR_EQUAL_TO,ke.GREATER_THAN,ke.GREATER_THAN_OR_EQUAL_TO],date:[ke.DATE_IS,ke.DATE_IS_NOT,ke.DATE_BEFORE,ke.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new X;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=m(m({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:r,ripple:o,inputStyle:i,inputVariant:s,theme:a,overlayOptions:c,translation:l,filterMatchModeOptions:u,overlayAppendTo:d,zIndex:f,ptOptions:p,pt:g,unstyled:y}=t||{};r&&this.csp.set(r),d&&this.overlayAppendTo.set(d),o&&this.ripple.set(o),i&&this.inputStyle.set(i),s&&this.inputVariant.set(s),c&&(this.overlayOptions=c),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),f&&(this.zIndex=f),g&&this.pt.set(g),p&&this.ptOptions.set(p),y&&this.unstyled.set(y),a&&this.setThemeConfig({theme:a,csp:r})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ox=new C("PRIME_NG_CONFIG");function H4(...e){let n=e?.map(r=>({provide:ox,useValue:r,multi:!1})),t=ol(()=>{let r=h(eg);e?.forEach(o=>r.setConfig(o))});return ht([...n,t])}var bC=(()=>{class e extends Me{name="common";static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fn=new C("PARENT_INSTANCE"),Xe=(()=>{class e{document=h(V);platformId=h(jt);el=h(xe);injector=h(ve);cd=h(Zr);renderer=h($t);config=h(eg);$parentInstance=h(Fn,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=h(bC);baseStyle=h(Me);scopedStyleEl;parent=this.$params.parent;cn=lr;_themeScopedListener;themeChangeListenerMap=new Map;dt=ae();unstyled=ae();pt=ae();ptOptions=ae();$attrSelector=ao("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=T(void 0);directiveUnstyled=T(void 0);$unstyled=oe(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=oe(()=>_e(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>_e(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||_e(t,this.$params))}get $style(){return m(m({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let t=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:t}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){Ie(t=>{this.document&&!Jp(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{this._offThemeChangeListener("_themeScopedListener")})}),Ie(t=>{this.document&&!Jp(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),t(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.$el?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...r){return au(t)?t(...r):qh(...r)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,r="",o={}){return cu(t,r,o)}_hook(t,...r){if(!this.$hostName){let o=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),i=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);o?.(...r),i?.(...r)}}_load(){hi.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),hi.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){let t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);q(t)&&this.baseStyle.load(t,m({name:"global"},this.$styleOptions))}_loadCoreStyles(){!hi.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),hi.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!Y.isStyleNameLoaded("common")){let{primitive:t,semantic:r,global:o,style:i}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,m({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,m({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(o?.css,m({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(m({name:"global-style"},this.$styleOptions),i),Y.setLoadedStyleName("common")}if(!Y.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:t,style:r}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,m({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(m({name:`${this.$style?.name}-style`},this.$styleOptions),r),Y.setLoadedStyleName(this.$style?.name)}if(!Y.isStyleNameLoaded("layer-order")){let t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,m({name:"layer-order",first:!0},this.$styleOptions)),Y.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){let{css:r}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},o=this.$style?.load(r,m({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,r=()=>{}){this._offThemeChangeListener(t),hi.clearLoadedStyleNames();let o=r.bind(this);this.themeChangeListenerMap.set(t,o),ut.on("theme:change",o)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(ut.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},r="",o={},i=!0){let s=/./g.test(r)&&!!o[r.split(".")[0]],{mergeSections:a=!0,mergeProps:c=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},l=i?s?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,u=s?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,r,P(m({},o),{global:l||{}})),d=this._getPTDatasets(r);return a||!a&&u?c?this._mergeProps(c,l,u,d):m(m(m({},l),u),d):m(m({},u),d)}_getPTDatasets(t=""){let r="data-pc-",o=t==="root"&&q(this.$pt()?.["data-pc-section"]);return t!=="transition"&&P(m({},t==="root"&&P(m({[`${r}name`]:dr(o?this.$pt()?.["data-pc-section"]:this.$name)},o&&{[`${r}extend`]:dr(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${r}section`]:dr(t.includes(".")?t.split(".").at(-1)??"":t)})}_getPTClassValue(t,r,o){let i=this._getOptionValue(t,r,o);return St(i)||Zh(i)?{class:i}:i}_getPT(t,r="",o){let i=(s,a=!1)=>{let c=o?o(s):s,l=dr(r),u=dr(this.$hostName||this.$name);return(a?l!==u?c?.[l]:void 0:c?.[l])??c};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t,!0)}_usePT(t,r,o,i){let s=a=>r?.call(this,a,o,i);if(t?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:c=!1}=t._usept||this.config?.ptOptions()||{},l=s(t.originalValue),u=s(t.value);return l===void 0&&u===void 0?void 0:St(u)?u:St(l)?l:a||!a&&u?c?this._mergeProps(c,l,u):m(m({},l),u):u}return s(t)}_useGlobalPT(t,r,o){return this._usePT(this.$globalPT,t,r,o)}_useDefaultPT(t,r,o){return this._usePT(this.$defaultPT,t,r,o)}ptm(t="",r={}){return this._getPTValue(this.$pt(),t,m(m({},this.$params),r))}ptms(t,r={}){return t.reduce((o,i)=>(o=qh(o,this.ptm(i,r))||{},o),{})}ptmo(t={},r="",o={}){return this._getPTValue(t,r,m({instance:this},o),!1)}cx(t,r={}){return this.$unstyled()?void 0:lr(this._getOptionValue(this.$style.classes,t,m(m({},this.$params),r)))}sx(t="",r=!0,o={}){if(r){let i=this._getOptionValue(this.$style.inlineStyles,t,m(m({},this.$params),o)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,t,m(m({},this.$params),o));return m(m({},s),i)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Q({type:e,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[We([bC,Me]),sn]})}return e})();var tg=(()=>{class e{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,r){t&&r&&(t.classList?t.classList.add(r):t.className+=" "+r)}static addMultipleClasses(t,r){if(t&&r)if(t.classList){let o=r.trim().split(" ");for(let i=0;i<o.length;i++)t.classList.add(o[i])}else{let o=r.split(" ");for(let i=0;i<o.length;i++)t.className+=" "+o[i]}}static removeClass(t,r){t&&r&&(t.classList?t.classList.remove(r):t.className=t.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,r){t&&r&&[r].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,r){return t&&r?t.classList?t.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(r){return r!==t})}static find(t,r){return Array.from(t.querySelectorAll(r))}static findSingle(t,r){return this.isElement(t)?t.querySelector(r):null}static index(t){let r=t.parentNode.childNodes,o=0;for(var i=0;i<r.length;i++){if(r[i]==t)return o;r[i].nodeType==1&&o++}return-1}static indexWithinGroup(t,r){let o=t.parentNode?t.parentNode.childNodes:[],i=0;for(var s=0;s<o.length;s++){if(o[s]==t)return i;o[s].attributes&&o[s].attributes[r]&&o[s].nodeType==1&&i++}return-1}static appendOverlay(t,r,o="self"){o!=="self"&&t&&r&&this.appendChild(t,r)}static alignOverlay(t,r,o="self",i=!0){t&&r&&(i&&(t.style.minWidth=`${e.getOuterWidth(r)}px`),o==="self"?this.relativePosition(t,r):this.absolutePosition(t,r))}static relativePosition(t,r,o=!0){let i=B=>{if(B)return getComputedStyle(B).getPropertyValue("position")==="relative"?B:i(B.parentElement)},s=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),a=r.offsetHeight,c=r.getBoundingClientRect(),l=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport(),p=i(t)?.getBoundingClientRect()||{top:-1*l,left:-1*u},g,y,b="top";c.top+a+s.height>d.height?(g=c.top-p.top-s.height,b="bottom",c.top+g<0&&(g=-1*c.top)):(g=a+c.top-p.top,b="top");let E=c.left+s.width-d.width,_=c.left-p.left;if(s.width>d.width?y=(c.left-p.left)*-1:E>0?y=_-E:y=c.left-p.left,t.style.top=g+"px",t.style.left=y+"px",t.style.transformOrigin=b,o){let B=Ws(/-anchor-gutter$/)?.value;t.style.marginTop=b==="bottom"?`calc(${B??"2px"} * -1)`:B??""}}static absolutePosition(t,r,o=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=i.height,a=i.width,c=r.offsetHeight,l=r.offsetWidth,u=r.getBoundingClientRect(),d=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport(),g,y;u.top+c+s>p.height?(g=u.top+d-s,t.style.transformOrigin="bottom",g<0&&(g=d)):(g=c+u.top+d,t.style.transformOrigin="top"),u.left+a>p.width?y=Math.max(0,u.left+f+l-a):y=u.left+f,t.style.top=g+"px",t.style.left=y+"px",o&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,r=[]){return t.parentNode===null?r:this.getParents(t.parentNode,r.concat([t.parentNode]))}static getScrollableParents(t){let r=[];if(t){let o=this.getParents(t),i=/(auto|scroll)/,s=a=>{let c=window.getComputedStyle(a,null);return i.test(c.getPropertyValue("overflow"))||i.test(c.getPropertyValue("overflowX"))||i.test(c.getPropertyValue("overflowY"))};for(let a of o){let c=a.nodeType===1&&a.dataset.scrollselectors;if(c){let l=c.split(",");for(let u of l){let d=this.findSingle(a,u);d&&s(d)&&r.push(d)}}a.nodeType!==9&&s(a)&&r.push(a)}}return r}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",r}static getHiddenElementDimensions(t){let r={};return t.style.visibility="hidden",t.style.display="block",r.width=t.offsetWidth,r.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",r}static scrollInView(t,r){let o=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=o?parseFloat(o):0,s=getComputedStyle(t).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,c=t.getBoundingClientRect(),u=r.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-i-a,d=t.scrollTop,f=t.clientHeight,p=this.getOuterHeight(r);u<0?t.scrollTop=d+u:u+p>f&&(t.scrollTop=d+u-f+p)}static fadeIn(t,r){t.style.opacity=0;let o=+new Date,i=0,s=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-o)/r,t.style.opacity=i,o=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(t,r){var o=1,i=50,s=r,a=i/s;let c=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(c)),t.style.opacity=o},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,r){var o=Element.prototype,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return i.call(t,r)}static getOuterWidth(t,r){let o=t.offsetWidth;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return o}static getHorizontalPadding(t){let r=getComputedStyle(t);return parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)}static getHorizontalMargin(t){let r=getComputedStyle(t);return parseFloat(r.marginLeft)+parseFloat(r.marginRight)}static innerWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static width(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),r}static getInnerHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),r}static getOuterHeight(t,r){let o=t.offsetHeight;if(r){let i=getComputedStyle(t);o+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return o}static getHeight(t){let r=t.offsetHeight,o=getComputedStyle(t);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}static getWidth(t){let r=t.offsetWidth,o=getComputedStyle(t);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}static getViewport(){let t=window,r=document,o=r.documentElement,i=r.getElementsByTagName("body")[0],s=t.innerWidth||o.clientWidth||i.clientWidth,a=t.innerHeight||o.clientHeight||i.clientHeight;return{width:s,height:a}}static getOffset(t){var r=t.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,r){let o=t.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(r,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return!0;var o=t.indexOf("Trident/");if(o>0){var i=t.indexOf("rv:");return!0}var s=t.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,r){if(this.isElement(r))r.appendChild(t);else if(r&&r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(t);else throw"Cannot append "+r+" to "+t}static removeChild(t,r){if(this.isElement(r))r.removeChild(t);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+r}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let r=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let r=document.createElement("div");r.className="p-scrollbar-measure",document.body.appendChild(r);let o=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let r=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=r,r}static invokeElementMethod(t,r,o){t[r].apply(t,o)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,r){t&&document.activeElement!==t&&t.focus(r)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
145
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
146
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
147
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
148
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
149
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
150
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
151
- .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
152
- .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,r=""){let o=this.find(t,this.getFocusableSelectorString(r)),i=[];for(let s of o){let a=getComputedStyle(s);this.isVisible(s)&&a.display!="none"&&a.visibility!="hidden"&&i.push(s)}return i}static getFocusableElement(t,r=""){let o=this.findSingle(t,this.getFocusableSelectorString(r));if(o){let i=getComputedStyle(o);if(this.isVisible(o)&&i.display!="none"&&i.visibility!="hidden")return o}return null}static getFirstFocusableElement(t,r=""){let o=this.getFocusableElements(t,r);return o.length>0?o[0]:null}static getLastFocusableElement(t,r){let o=this.getFocusableElements(t,r);return o.length>0?o[o.length-1]:null}static getNextFocusableElement(t,r=!1){let o=e.getFocusableElements(t),i=0;if(o&&o.length>0){let s=o.indexOf(o[0].ownerDocument.activeElement);r?s==-1||s===0?i=o.length-1:i=s-1:s!=-1&&s!==o.length-1&&(i=s+1)}return o[i]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,r){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return r?.nextElementSibling;case"@prev":return r?.previousElementSibling;case"@parent":return r?.parentElement;case"@grandparent":return r?.parentElement?.parentElement;default:let o=typeof t;if(o==="string")return document.querySelector(t);if(o==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(t)?t():t;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,r){if(t){let o=t.getAttribute(r);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,r={},...o){if(t){let i=document.createElement(t);return this.setAttributes(i,r),i.append(...o),i}}static setAttribute(t,r="",o){this.isElement(t)&&o!==null&&o!==void 0&&t.setAttribute(r,o)}static setAttributes(t,r={}){if(this.isElement(t)){let o=(i,s)=>{let a=t?.$attrs?.[i]?[t?.$attrs?.[i]]:[];return[s].flat().reduce((c,l)=>{if(l!=null){let u=typeof l;if(u==="string"||u==="number")c.push(l);else if(u==="object"){let d=Array.isArray(l)?o(i,l):Object.entries(l).map(([f,p])=>i==="style"&&(p||p===0)?`${f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?f:void 0);c=d.length?c.concat(d.filter(f=>!!f)):c}}return c},a)};Object.entries(r).forEach(([i,s])=>{if(s!=null){let a=i.match(/^on(.+)/);a?t.addEventListener(a[1].toLowerCase(),s):i==="pBind"?this.setAttributes(t,s):(s=i==="class"?[...new Set(o("class",s))].join(" ").trim():i==="style"?o("style",s).join(";").trim():s,(t.$attrs=t.$attrs||{})&&(t.$attrs[i]=s),t.setAttribute(i,s))}})}}static isFocusableElement(t,r=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
153
- [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
154
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
155
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
156
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
157
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r},
158
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}}return e})();function oG(){HD({variableName:Xh("scrollbar.width").name})}function iG(){VD({variableName:Xh("scrollbar.width").name})}var fu=class{element;listener;scrollableParents;constructor(n,t=()=>{}){this.element=n,this.listener=t}bindScrollListener(){this.scrollableParents=tg.getScrollableParents(this.element);for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var EC=(()=>{class e extends Xe{autofocus=!1;focused=!1;platformId=h(jt);document=h(V);host=h(xe);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){Qr(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=tg.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275dir=Q({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[Se]})}return e})();var dt=(()=>{class e{el;renderer;pBind=ae(void 0);_attrs=T(void 0);attrs=oe(()=>this._attrs()||this.pBind());styles=oe(()=>this.attrs()?.style);classes=oe(()=>lr(this.attrs()?.class));listeners=[];constructor(t,r){this.el=t,this.renderer=r,Ie(()=>{let a=this.attrs()||{},{style:o,class:i}=a,s=yu(a,["style","class"]);for(let[c,l]of Object.entries(s))if(c.startsWith("on")&&typeof l=="function"){let u=c.slice(2).toLowerCase();if(!this.listeners.some(d=>d.eventName===u)){let d=this.renderer.listen(this.el.nativeElement,u,l);this.listeners.push({eventName:u,unlisten:d})}}else l==null?this.renderer.removeAttribute(this.el.nativeElement,c):(this.renderer.setAttribute(this.el.nativeElement,c,l.toString()),c in this.el.nativeElement&&(this.el.nativeElement[c]=l))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){qs(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static \u0275fac=function(r){return new(r||e)(L(xe),L($t))};static \u0275dir=Q({type:e,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(r,o){r&2&&(Np(o.styles()),ze(o.classes()))},inputs:{pBind:[1,"pBind"]}})}return e})(),Zs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({})}return e})();var DC=`
159
- .p-badge {
160
- display: inline-flex;
161
- border-radius: dt('badge.border.radius');
162
- align-items: center;
163
- justify-content: center;
164
- padding: dt('badge.padding');
165
- background: dt('badge.primary.background');
166
- color: dt('badge.primary.color');
167
- font-size: dt('badge.font.size');
168
- font-weight: dt('badge.font.weight');
169
- min-width: dt('badge.min.width');
170
- height: dt('badge.height');
171
- }
172
-
173
- .p-badge-dot {
174
- width: dt('badge.dot.size');
175
- min-width: dt('badge.dot.size');
176
- height: dt('badge.dot.size');
177
- border-radius: 50%;
178
- padding: 0;
179
- }
180
-
181
- .p-badge-circle {
182
- padding: 0;
183
- border-radius: 50%;
184
- }
185
-
186
- .p-badge-secondary {
187
- background: dt('badge.secondary.background');
188
- color: dt('badge.secondary.color');
189
- }
190
-
191
- .p-badge-success {
192
- background: dt('badge.success.background');
193
- color: dt('badge.success.color');
194
- }
195
-
196
- .p-badge-info {
197
- background: dt('badge.info.background');
198
- color: dt('badge.info.color');
199
- }
200
-
201
- .p-badge-warn {
202
- background: dt('badge.warn.background');
203
- color: dt('badge.warn.color');
204
- }
205
-
206
- .p-badge-danger {
207
- background: dt('badge.danger.background');
208
- color: dt('badge.danger.color');
209
- }
210
-
211
- .p-badge-contrast {
212
- background: dt('badge.contrast.background');
213
- color: dt('badge.contrast.color');
214
- }
215
-
216
- .p-badge-sm {
217
- font-size: dt('badge.sm.font.size');
218
- min-width: dt('badge.sm.min.width');
219
- height: dt('badge.sm.height');
220
- }
221
-
222
- .p-badge-lg {
223
- font-size: dt('badge.lg.font.size');
224
- min-width: dt('badge.lg.min.width');
225
- height: dt('badge.lg.height');
226
- }
227
-
228
- .p-badge-xl {
229
- font-size: dt('badge.xl.font.size');
230
- min-width: dt('badge.xl.min.width');
231
- height: dt('badge.xl.height');
232
- }
233
- `;var ix=`
234
- ${DC}
235
-
236
- /* For PrimeNG (directive)*/
237
- .p-overlay-badge {
238
- position: relative;
239
- }
240
-
241
- .p-overlay-badge > .p-badge {
242
- position: absolute;
243
- top: 0;
244
- inset-inline-end: 0;
245
- transform: translate(50%, -50%);
246
- transform-origin: 100% 0;
247
- margin: 0;
248
- }
249
- `,sx={root:({instance:e})=>{let n=typeof e.value=="function"?e.value():e.value,t=typeof e.size=="function"?e.size():e.size,r=typeof e.badgeSize=="function"?e.badgeSize():e.badgeSize,o=typeof e.severity=="function"?e.severity():e.severity;return["p-badge p-component",{"p-badge-circle":q(n)&&String(n).length===1,"p-badge-dot":io(n),"p-badge-sm":t==="small"||r==="small","p-badge-lg":t==="large"||r==="large","p-badge-xl":t==="xlarge"||r==="xlarge","p-badge-info":o==="info","p-badge-success":o==="success","p-badge-warn":o==="warn","p-badge-danger":o==="danger","p-badge-secondary":o==="secondary","p-badge-contrast":o==="contrast"}]}},CC=(()=>{class e extends Me{name="badge";style=ix;classes=sx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var wC=new C("BADGE_INSTANCE");var rg=(()=>{class e extends Xe{componentName="Badge";$pcBadge=h(wC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(dt,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=ae();badgeSize=ae();size=ae();severity=ae();value=ae();badgeDisabled=ae(!1,{transform:re});_componentStyle=h(CC);get dataP(){return this.cn({circle:this.value()!=null&&String(this.value()).length===1,empty:this.value()==null,disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Be({type:e,selectors:[["p-badge"]],hostVars:5,hostBindings:function(r,o){r&2&&(Je("data-p",o.dataP),ze(o.cn(o.cx("root"),o.styleClass())),cl("display",o.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[We([CC,{provide:wC,useExisting:e},{provide:Fn,useExisting:e}]),Gr([dt]),Se],decls:1,vars:1,template:function(r,o){r&1&&gs(0),r&2&&Go(o.value())},dependencies:[Ht,fr,Zs],encapsulation:2,changeDetection:0})}return e})(),IC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({imports:[rg,fr,fr]})}return e})();var cx=["*"],lx={root:"p-fluid"},SC=(()=>{class e extends Me{name="fluid";classes=lx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var TC=new C("FLUID_INSTANCE"),_C=(()=>{class e extends Xe{componentName="Fluid";$pcFluid=h(TC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(dt,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=h(SC);static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Be({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(r,o){r&2&&ze(o.cx("root"))},features:[We([SC,{provide:TC,useExisting:e},{provide:Fn,useExisting:e}]),Gr([dt]),Se],ngContentSelectors:cx,decls:1,vars:0,template:function(r,o){r&1&&(cn(),ln(0))},dependencies:[Ht],encapsulation:2,changeDetection:0})}return e})();var ux=["*"],dx=`
250
- .p-icon {
251
- display: inline-block;
252
- vertical-align: baseline;
253
- flex-shrink: 0;
254
- }
255
-
256
- .p-icon-spin {
257
- -webkit-animation: p-icon-spin 2s infinite linear;
258
- animation: p-icon-spin 2s infinite linear;
259
- }
260
-
261
- @-webkit-keyframes p-icon-spin {
262
- 0% {
263
- -webkit-transform: rotate(0deg);
264
- transform: rotate(0deg);
265
- }
266
- 100% {
267
- -webkit-transform: rotate(359deg);
268
- transform: rotate(359deg);
269
- }
270
- }
271
-
272
- @keyframes p-icon-spin {
273
- 0% {
274
- -webkit-transform: rotate(0deg);
275
- transform: rotate(0deg);
276
- }
277
- 100% {
278
- -webkit-transform: rotate(359deg);
279
- transform: rotate(359deg);
280
- }
281
- }
282
- `,MC=(()=>{class e extends Me{name="baseicon";css=dx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var NC=(()=>{class e extends Xe{spin=!1;_componentStyle=h(MC);getClassNames(){return lr("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Be({type:e,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(r,o){r&2&&ze(o.getClassNames())},inputs:{spin:[2,"spin","spin",re]},features:[We([MC]),Se],ngContentSelectors:ux,decls:1,vars:0,template:function(r,o){r&1&&(cn(),ln(0))},encapsulation:2,changeDetection:0})}return e})();var fx=["data-p-icon","spinner"],AC=(()=>{class e extends NC{pathId;onInit(){this.pathId="url(#"+ao()+")"}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Be({type:e,selectors:[["","data-p-icon","spinner"]],features:[Se],attrs:fx,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(r,o){r&1&&(To(),Ho(0,"g"),ps(1,"path",0),Vo(),Ho(2,"defs")(3,"clipPath",1),ps(4,"rect",2),Vo()()),r&2&&(Je("clip-path",o.pathId),je(3),al("id",o.pathId))},encapsulation:2})}return e})();var RC=`
283
- .p-ink {
284
- display: block;
285
- position: absolute;
286
- background: dt('ripple.background');
287
- border-radius: 100%;
288
- transform: scale(0);
289
- pointer-events: none;
290
- }
291
-
292
- .p-ink-active {
293
- animation: ripple 0.4s linear;
294
- }
295
-
296
- @keyframes ripple {
297
- 100% {
298
- opacity: 0;
299
- transform: scale(2.5);
300
- }
301
- }
302
- `;var px=`
303
- ${RC}
304
-
305
- /* For PrimeNG */
306
- .p-ripple {
307
- overflow: hidden;
308
- position: relative;
309
- }
310
-
311
- .p-ripple-disabled .p-ink {
312
- display: none !important;
313
- }
314
-
315
- @keyframes ripple {
316
- 100% {
317
- opacity: 0;
318
- transform: scale(2.5);
319
- }
320
- }
321
- `,hx={root:"p-ink"},xC=(()=>{class e extends Me{name="ripple";style=px;classes=hx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var OC=(()=>{class e extends Xe{componentName="Ripple";zone=h(le);_componentStyle=h(xC);animationListener;mouseDownListener;timeout;constructor(){super(),Ie(()=>{Qr(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let r=this.getInk();if(!r||this.document.defaultView?.getComputedStyle(r,null).display==="none")return;if(!this.$unstyled()&&ur(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!Wh(r)&&!Gh(r)){let a=Math.max(It(this.el.nativeElement),Wt(this.el.nativeElement));r.style.height=a+"px",r.style.width=a+"px"}let o=ZD(this.el.nativeElement),i=t.pageX-o.left+this.document.body.scrollTop-Gh(r)/2,s=t.pageY-o.top+this.document.body.scrollLeft-Wh(r)/2;this.renderer.setStyle(r,"top",s+"px"),this.renderer.setStyle(r,"left",i+"px"),!this.$unstyled()&&zs(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&(!this.$unstyled()&&ur(a,"p-ink-active"),a.setAttribute("data-p-ink-active","false"))},401)}getInk(){let t=this.el.nativeElement.children;for(let r=0;r<t.length;r++)if(typeof t[r].className=="string"&&t[r].className.indexOf("p-ink")!==-1)return t[r];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&ur(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&ur(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,YD(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Q({type:e,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[We([xC]),Se]})}return e})();var kC=`
322
- .p-button {
323
- display: inline-flex;
324
- cursor: pointer;
325
- user-select: none;
326
- align-items: center;
327
- justify-content: center;
328
- overflow: hidden;
329
- position: relative;
330
- color: dt('button.primary.color');
331
- background: dt('button.primary.background');
332
- border: 1px solid dt('button.primary.border.color');
333
- padding: dt('button.padding.y') dt('button.padding.x');
334
- font-size: 1rem;
335
- font-family: inherit;
336
- font-feature-settings: inherit;
337
- transition:
338
- background dt('button.transition.duration'),
339
- color dt('button.transition.duration'),
340
- border-color dt('button.transition.duration'),
341
- outline-color dt('button.transition.duration'),
342
- box-shadow dt('button.transition.duration');
343
- border-radius: dt('button.border.radius');
344
- outline-color: transparent;
345
- gap: dt('button.gap');
346
- }
347
-
348
- .p-button:disabled {
349
- cursor: default;
350
- }
351
-
352
- .p-button-icon-right {
353
- order: 1;
354
- }
355
-
356
- .p-button-icon-right:dir(rtl) {
357
- order: -1;
358
- }
359
-
360
- .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
361
- order: 1;
362
- }
363
-
364
- .p-button-icon-bottom {
365
- order: 2;
366
- }
367
-
368
- .p-button-icon-only {
369
- width: dt('button.icon.only.width');
370
- padding-inline-start: 0;
371
- padding-inline-end: 0;
372
- gap: 0;
373
- }
374
-
375
- .p-button-icon-only.p-button-rounded {
376
- border-radius: 50%;
377
- height: dt('button.icon.only.width');
378
- }
379
-
380
- .p-button-icon-only .p-button-label {
381
- visibility: hidden;
382
- width: 0;
383
- }
384
-
385
- .p-button-icon-only::after {
386
- content: "\xA0";
387
- visibility: hidden;
388
- width: 0;
389
- }
390
-
391
- .p-button-sm {
392
- font-size: dt('button.sm.font.size');
393
- padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
394
- }
395
-
396
- .p-button-sm .p-button-icon {
397
- font-size: dt('button.sm.font.size');
398
- }
399
-
400
- .p-button-sm.p-button-icon-only {
401
- width: dt('button.sm.icon.only.width');
402
- }
403
-
404
- .p-button-sm.p-button-icon-only.p-button-rounded {
405
- height: dt('button.sm.icon.only.width');
406
- }
407
-
408
- .p-button-lg {
409
- font-size: dt('button.lg.font.size');
410
- padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
411
- }
412
-
413
- .p-button-lg .p-button-icon {
414
- font-size: dt('button.lg.font.size');
415
- }
416
-
417
- .p-button-lg.p-button-icon-only {
418
- width: dt('button.lg.icon.only.width');
419
- }
420
-
421
- .p-button-lg.p-button-icon-only.p-button-rounded {
422
- height: dt('button.lg.icon.only.width');
423
- }
424
-
425
- .p-button-vertical {
426
- flex-direction: column;
427
- }
428
-
429
- .p-button-label {
430
- font-weight: dt('button.label.font.weight');
431
- }
432
-
433
- .p-button-fluid {
434
- width: 100%;
435
- }
436
-
437
- .p-button-fluid.p-button-icon-only {
438
- width: dt('button.icon.only.width');
439
- }
440
-
441
- .p-button:not(:disabled):hover {
442
- background: dt('button.primary.hover.background');
443
- border: 1px solid dt('button.primary.hover.border.color');
444
- color: dt('button.primary.hover.color');
445
- }
446
-
447
- .p-button:not(:disabled):active {
448
- background: dt('button.primary.active.background');
449
- border: 1px solid dt('button.primary.active.border.color');
450
- color: dt('button.primary.active.color');
451
- }
452
-
453
- .p-button:focus-visible {
454
- box-shadow: dt('button.primary.focus.ring.shadow');
455
- outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
456
- outline-offset: dt('button.focus.ring.offset');
457
- }
458
-
459
- .p-button .p-badge {
460
- min-width: dt('button.badge.size');
461
- height: dt('button.badge.size');
462
- line-height: dt('button.badge.size');
463
- }
464
-
465
- .p-button-raised {
466
- box-shadow: dt('button.raised.shadow');
467
- }
468
-
469
- .p-button-rounded {
470
- border-radius: dt('button.rounded.border.radius');
471
- }
472
-
473
- .p-button-secondary {
474
- background: dt('button.secondary.background');
475
- border: 1px solid dt('button.secondary.border.color');
476
- color: dt('button.secondary.color');
477
- }
478
-
479
- .p-button-secondary:not(:disabled):hover {
480
- background: dt('button.secondary.hover.background');
481
- border: 1px solid dt('button.secondary.hover.border.color');
482
- color: dt('button.secondary.hover.color');
483
- }
484
-
485
- .p-button-secondary:not(:disabled):active {
486
- background: dt('button.secondary.active.background');
487
- border: 1px solid dt('button.secondary.active.border.color');
488
- color: dt('button.secondary.active.color');
489
- }
490
-
491
- .p-button-secondary:focus-visible {
492
- outline-color: dt('button.secondary.focus.ring.color');
493
- box-shadow: dt('button.secondary.focus.ring.shadow');
494
- }
495
-
496
- .p-button-success {
497
- background: dt('button.success.background');
498
- border: 1px solid dt('button.success.border.color');
499
- color: dt('button.success.color');
500
- }
501
-
502
- .p-button-success:not(:disabled):hover {
503
- background: dt('button.success.hover.background');
504
- border: 1px solid dt('button.success.hover.border.color');
505
- color: dt('button.success.hover.color');
506
- }
507
-
508
- .p-button-success:not(:disabled):active {
509
- background: dt('button.success.active.background');
510
- border: 1px solid dt('button.success.active.border.color');
511
- color: dt('button.success.active.color');
512
- }
513
-
514
- .p-button-success:focus-visible {
515
- outline-color: dt('button.success.focus.ring.color');
516
- box-shadow: dt('button.success.focus.ring.shadow');
517
- }
518
-
519
- .p-button-info {
520
- background: dt('button.info.background');
521
- border: 1px solid dt('button.info.border.color');
522
- color: dt('button.info.color');
523
- }
524
-
525
- .p-button-info:not(:disabled):hover {
526
- background: dt('button.info.hover.background');
527
- border: 1px solid dt('button.info.hover.border.color');
528
- color: dt('button.info.hover.color');
529
- }
530
-
531
- .p-button-info:not(:disabled):active {
532
- background: dt('button.info.active.background');
533
- border: 1px solid dt('button.info.active.border.color');
534
- color: dt('button.info.active.color');
535
- }
536
-
537
- .p-button-info:focus-visible {
538
- outline-color: dt('button.info.focus.ring.color');
539
- box-shadow: dt('button.info.focus.ring.shadow');
540
- }
541
-
542
- .p-button-warn {
543
- background: dt('button.warn.background');
544
- border: 1px solid dt('button.warn.border.color');
545
- color: dt('button.warn.color');
546
- }
547
-
548
- .p-button-warn:not(:disabled):hover {
549
- background: dt('button.warn.hover.background');
550
- border: 1px solid dt('button.warn.hover.border.color');
551
- color: dt('button.warn.hover.color');
552
- }
553
-
554
- .p-button-warn:not(:disabled):active {
555
- background: dt('button.warn.active.background');
556
- border: 1px solid dt('button.warn.active.border.color');
557
- color: dt('button.warn.active.color');
558
- }
559
-
560
- .p-button-warn:focus-visible {
561
- outline-color: dt('button.warn.focus.ring.color');
562
- box-shadow: dt('button.warn.focus.ring.shadow');
563
- }
564
-
565
- .p-button-help {
566
- background: dt('button.help.background');
567
- border: 1px solid dt('button.help.border.color');
568
- color: dt('button.help.color');
569
- }
570
-
571
- .p-button-help:not(:disabled):hover {
572
- background: dt('button.help.hover.background');
573
- border: 1px solid dt('button.help.hover.border.color');
574
- color: dt('button.help.hover.color');
575
- }
576
-
577
- .p-button-help:not(:disabled):active {
578
- background: dt('button.help.active.background');
579
- border: 1px solid dt('button.help.active.border.color');
580
- color: dt('button.help.active.color');
581
- }
582
-
583
- .p-button-help:focus-visible {
584
- outline-color: dt('button.help.focus.ring.color');
585
- box-shadow: dt('button.help.focus.ring.shadow');
586
- }
587
-
588
- .p-button-danger {
589
- background: dt('button.danger.background');
590
- border: 1px solid dt('button.danger.border.color');
591
- color: dt('button.danger.color');
592
- }
593
-
594
- .p-button-danger:not(:disabled):hover {
595
- background: dt('button.danger.hover.background');
596
- border: 1px solid dt('button.danger.hover.border.color');
597
- color: dt('button.danger.hover.color');
598
- }
599
-
600
- .p-button-danger:not(:disabled):active {
601
- background: dt('button.danger.active.background');
602
- border: 1px solid dt('button.danger.active.border.color');
603
- color: dt('button.danger.active.color');
604
- }
605
-
606
- .p-button-danger:focus-visible {
607
- outline-color: dt('button.danger.focus.ring.color');
608
- box-shadow: dt('button.danger.focus.ring.shadow');
609
- }
610
-
611
- .p-button-contrast {
612
- background: dt('button.contrast.background');
613
- border: 1px solid dt('button.contrast.border.color');
614
- color: dt('button.contrast.color');
615
- }
616
-
617
- .p-button-contrast:not(:disabled):hover {
618
- background: dt('button.contrast.hover.background');
619
- border: 1px solid dt('button.contrast.hover.border.color');
620
- color: dt('button.contrast.hover.color');
621
- }
622
-
623
- .p-button-contrast:not(:disabled):active {
624
- background: dt('button.contrast.active.background');
625
- border: 1px solid dt('button.contrast.active.border.color');
626
- color: dt('button.contrast.active.color');
627
- }
628
-
629
- .p-button-contrast:focus-visible {
630
- outline-color: dt('button.contrast.focus.ring.color');
631
- box-shadow: dt('button.contrast.focus.ring.shadow');
632
- }
633
-
634
- .p-button-outlined {
635
- background: transparent;
636
- border-color: dt('button.outlined.primary.border.color');
637
- color: dt('button.outlined.primary.color');
638
- }
639
-
640
- .p-button-outlined:not(:disabled):hover {
641
- background: dt('button.outlined.primary.hover.background');
642
- border-color: dt('button.outlined.primary.border.color');
643
- color: dt('button.outlined.primary.color');
644
- }
645
-
646
- .p-button-outlined:not(:disabled):active {
647
- background: dt('button.outlined.primary.active.background');
648
- border-color: dt('button.outlined.primary.border.color');
649
- color: dt('button.outlined.primary.color');
650
- }
651
-
652
- .p-button-outlined.p-button-secondary {
653
- border-color: dt('button.outlined.secondary.border.color');
654
- color: dt('button.outlined.secondary.color');
655
- }
656
-
657
- .p-button-outlined.p-button-secondary:not(:disabled):hover {
658
- background: dt('button.outlined.secondary.hover.background');
659
- border-color: dt('button.outlined.secondary.border.color');
660
- color: dt('button.outlined.secondary.color');
661
- }
662
-
663
- .p-button-outlined.p-button-secondary:not(:disabled):active {
664
- background: dt('button.outlined.secondary.active.background');
665
- border-color: dt('button.outlined.secondary.border.color');
666
- color: dt('button.outlined.secondary.color');
667
- }
668
-
669
- .p-button-outlined.p-button-success {
670
- border-color: dt('button.outlined.success.border.color');
671
- color: dt('button.outlined.success.color');
672
- }
673
-
674
- .p-button-outlined.p-button-success:not(:disabled):hover {
675
- background: dt('button.outlined.success.hover.background');
676
- border-color: dt('button.outlined.success.border.color');
677
- color: dt('button.outlined.success.color');
678
- }
679
-
680
- .p-button-outlined.p-button-success:not(:disabled):active {
681
- background: dt('button.outlined.success.active.background');
682
- border-color: dt('button.outlined.success.border.color');
683
- color: dt('button.outlined.success.color');
684
- }
685
-
686
- .p-button-outlined.p-button-info {
687
- border-color: dt('button.outlined.info.border.color');
688
- color: dt('button.outlined.info.color');
689
- }
690
-
691
- .p-button-outlined.p-button-info:not(:disabled):hover {
692
- background: dt('button.outlined.info.hover.background');
693
- border-color: dt('button.outlined.info.border.color');
694
- color: dt('button.outlined.info.color');
695
- }
696
-
697
- .p-button-outlined.p-button-info:not(:disabled):active {
698
- background: dt('button.outlined.info.active.background');
699
- border-color: dt('button.outlined.info.border.color');
700
- color: dt('button.outlined.info.color');
701
- }
702
-
703
- .p-button-outlined.p-button-warn {
704
- border-color: dt('button.outlined.warn.border.color');
705
- color: dt('button.outlined.warn.color');
706
- }
707
-
708
- .p-button-outlined.p-button-warn:not(:disabled):hover {
709
- background: dt('button.outlined.warn.hover.background');
710
- border-color: dt('button.outlined.warn.border.color');
711
- color: dt('button.outlined.warn.color');
712
- }
713
-
714
- .p-button-outlined.p-button-warn:not(:disabled):active {
715
- background: dt('button.outlined.warn.active.background');
716
- border-color: dt('button.outlined.warn.border.color');
717
- color: dt('button.outlined.warn.color');
718
- }
719
-
720
- .p-button-outlined.p-button-help {
721
- border-color: dt('button.outlined.help.border.color');
722
- color: dt('button.outlined.help.color');
723
- }
724
-
725
- .p-button-outlined.p-button-help:not(:disabled):hover {
726
- background: dt('button.outlined.help.hover.background');
727
- border-color: dt('button.outlined.help.border.color');
728
- color: dt('button.outlined.help.color');
729
- }
730
-
731
- .p-button-outlined.p-button-help:not(:disabled):active {
732
- background: dt('button.outlined.help.active.background');
733
- border-color: dt('button.outlined.help.border.color');
734
- color: dt('button.outlined.help.color');
735
- }
736
-
737
- .p-button-outlined.p-button-danger {
738
- border-color: dt('button.outlined.danger.border.color');
739
- color: dt('button.outlined.danger.color');
740
- }
741
-
742
- .p-button-outlined.p-button-danger:not(:disabled):hover {
743
- background: dt('button.outlined.danger.hover.background');
744
- border-color: dt('button.outlined.danger.border.color');
745
- color: dt('button.outlined.danger.color');
746
- }
747
-
748
- .p-button-outlined.p-button-danger:not(:disabled):active {
749
- background: dt('button.outlined.danger.active.background');
750
- border-color: dt('button.outlined.danger.border.color');
751
- color: dt('button.outlined.danger.color');
752
- }
753
-
754
- .p-button-outlined.p-button-contrast {
755
- border-color: dt('button.outlined.contrast.border.color');
756
- color: dt('button.outlined.contrast.color');
757
- }
758
-
759
- .p-button-outlined.p-button-contrast:not(:disabled):hover {
760
- background: dt('button.outlined.contrast.hover.background');
761
- border-color: dt('button.outlined.contrast.border.color');
762
- color: dt('button.outlined.contrast.color');
763
- }
764
-
765
- .p-button-outlined.p-button-contrast:not(:disabled):active {
766
- background: dt('button.outlined.contrast.active.background');
767
- border-color: dt('button.outlined.contrast.border.color');
768
- color: dt('button.outlined.contrast.color');
769
- }
770
-
771
- .p-button-outlined.p-button-plain {
772
- border-color: dt('button.outlined.plain.border.color');
773
- color: dt('button.outlined.plain.color');
774
- }
775
-
776
- .p-button-outlined.p-button-plain:not(:disabled):hover {
777
- background: dt('button.outlined.plain.hover.background');
778
- border-color: dt('button.outlined.plain.border.color');
779
- color: dt('button.outlined.plain.color');
780
- }
781
-
782
- .p-button-outlined.p-button-plain:not(:disabled):active {
783
- background: dt('button.outlined.plain.active.background');
784
- border-color: dt('button.outlined.plain.border.color');
785
- color: dt('button.outlined.plain.color');
786
- }
787
-
788
- .p-button-text {
789
- background: transparent;
790
- border-color: transparent;
791
- color: dt('button.text.primary.color');
792
- }
793
-
794
- .p-button-text:not(:disabled):hover {
795
- background: dt('button.text.primary.hover.background');
796
- border-color: transparent;
797
- color: dt('button.text.primary.color');
798
- }
799
-
800
- .p-button-text:not(:disabled):active {
801
- background: dt('button.text.primary.active.background');
802
- border-color: transparent;
803
- color: dt('button.text.primary.color');
804
- }
805
-
806
- .p-button-text.p-button-secondary {
807
- background: transparent;
808
- border-color: transparent;
809
- color: dt('button.text.secondary.color');
810
- }
811
-
812
- .p-button-text.p-button-secondary:not(:disabled):hover {
813
- background: dt('button.text.secondary.hover.background');
814
- border-color: transparent;
815
- color: dt('button.text.secondary.color');
816
- }
817
-
818
- .p-button-text.p-button-secondary:not(:disabled):active {
819
- background: dt('button.text.secondary.active.background');
820
- border-color: transparent;
821
- color: dt('button.text.secondary.color');
822
- }
823
-
824
- .p-button-text.p-button-success {
825
- background: transparent;
826
- border-color: transparent;
827
- color: dt('button.text.success.color');
828
- }
829
-
830
- .p-button-text.p-button-success:not(:disabled):hover {
831
- background: dt('button.text.success.hover.background');
832
- border-color: transparent;
833
- color: dt('button.text.success.color');
834
- }
835
-
836
- .p-button-text.p-button-success:not(:disabled):active {
837
- background: dt('button.text.success.active.background');
838
- border-color: transparent;
839
- color: dt('button.text.success.color');
840
- }
841
-
842
- .p-button-text.p-button-info {
843
- background: transparent;
844
- border-color: transparent;
845
- color: dt('button.text.info.color');
846
- }
847
-
848
- .p-button-text.p-button-info:not(:disabled):hover {
849
- background: dt('button.text.info.hover.background');
850
- border-color: transparent;
851
- color: dt('button.text.info.color');
852
- }
853
-
854
- .p-button-text.p-button-info:not(:disabled):active {
855
- background: dt('button.text.info.active.background');
856
- border-color: transparent;
857
- color: dt('button.text.info.color');
858
- }
859
-
860
- .p-button-text.p-button-warn {
861
- background: transparent;
862
- border-color: transparent;
863
- color: dt('button.text.warn.color');
864
- }
865
-
866
- .p-button-text.p-button-warn:not(:disabled):hover {
867
- background: dt('button.text.warn.hover.background');
868
- border-color: transparent;
869
- color: dt('button.text.warn.color');
870
- }
871
-
872
- .p-button-text.p-button-warn:not(:disabled):active {
873
- background: dt('button.text.warn.active.background');
874
- border-color: transparent;
875
- color: dt('button.text.warn.color');
876
- }
877
-
878
- .p-button-text.p-button-help {
879
- background: transparent;
880
- border-color: transparent;
881
- color: dt('button.text.help.color');
882
- }
883
-
884
- .p-button-text.p-button-help:not(:disabled):hover {
885
- background: dt('button.text.help.hover.background');
886
- border-color: transparent;
887
- color: dt('button.text.help.color');
888
- }
889
-
890
- .p-button-text.p-button-help:not(:disabled):active {
891
- background: dt('button.text.help.active.background');
892
- border-color: transparent;
893
- color: dt('button.text.help.color');
894
- }
895
-
896
- .p-button-text.p-button-danger {
897
- background: transparent;
898
- border-color: transparent;
899
- color: dt('button.text.danger.color');
900
- }
901
-
902
- .p-button-text.p-button-danger:not(:disabled):hover {
903
- background: dt('button.text.danger.hover.background');
904
- border-color: transparent;
905
- color: dt('button.text.danger.color');
906
- }
907
-
908
- .p-button-text.p-button-danger:not(:disabled):active {
909
- background: dt('button.text.danger.active.background');
910
- border-color: transparent;
911
- color: dt('button.text.danger.color');
912
- }
913
-
914
- .p-button-text.p-button-contrast {
915
- background: transparent;
916
- border-color: transparent;
917
- color: dt('button.text.contrast.color');
918
- }
919
-
920
- .p-button-text.p-button-contrast:not(:disabled):hover {
921
- background: dt('button.text.contrast.hover.background');
922
- border-color: transparent;
923
- color: dt('button.text.contrast.color');
924
- }
925
-
926
- .p-button-text.p-button-contrast:not(:disabled):active {
927
- background: dt('button.text.contrast.active.background');
928
- border-color: transparent;
929
- color: dt('button.text.contrast.color');
930
- }
931
-
932
- .p-button-text.p-button-plain {
933
- background: transparent;
934
- border-color: transparent;
935
- color: dt('button.text.plain.color');
936
- }
937
-
938
- .p-button-text.p-button-plain:not(:disabled):hover {
939
- background: dt('button.text.plain.hover.background');
940
- border-color: transparent;
941
- color: dt('button.text.plain.color');
942
- }
943
-
944
- .p-button-text.p-button-plain:not(:disabled):active {
945
- background: dt('button.text.plain.active.background');
946
- border-color: transparent;
947
- color: dt('button.text.plain.color');
948
- }
949
-
950
- .p-button-link {
951
- background: transparent;
952
- border-color: transparent;
953
- color: dt('button.link.color');
954
- }
955
-
956
- .p-button-link:not(:disabled):hover {
957
- background: transparent;
958
- border-color: transparent;
959
- color: dt('button.link.hover.color');
960
- }
961
-
962
- .p-button-link:not(:disabled):hover .p-button-label {
963
- text-decoration: underline;
964
- }
965
-
966
- .p-button-link:not(:disabled):active {
967
- background: transparent;
968
- border-color: transparent;
969
- color: dt('button.link.active.color');
970
- }
971
- `;var gx=["content"],mx=["loadingicon"],yx=["icon"],vx=["*"],FC=(e,n)=>({class:e,pt:n});function bx(e,n){e&1&&sl(0)}function Ex(e,n){if(e&1&&_n(0,"span",7),e&2){let t=Ct(3);ze(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon))),de("pBind",t.ptm("loadingIcon")),Je("aria-hidden",!0)}}function Dx(e,n){if(e&1&&(To(),_n(0,"svg",8)),e&2){let t=Ct(3);ze(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),de("pBind",t.ptm("loadingIcon"))("spin",!0),Je("aria-hidden",!0)}}function Cx(e,n){if(e&1&&(Kr(0),Tn(1,Ex,1,4,"span",3)(2,Dx,1,5,"svg",6),tr()),e&2){let t=Ct(2);je(),de("ngIf",t.loadingIcon||(t.buttonProps==null?null:t.buttonProps.loadingIcon)),je(),de("ngIf",!(t.loadingIcon||t.buttonProps!=null&&t.buttonProps.loadingIcon))}}function wx(e,n){}function Ix(e,n){if(e&1&&Tn(0,wx,0,0,"ng-template",9),e&2){let t=Ct(2);de("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function Sx(e,n){if(e&1&&(Kr(0),Tn(1,Cx,3,2,"ng-container",2)(2,Ix,1,1,null,5),tr()),e&2){let t=Ct();je(),de("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),je(),de("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",ll(3,FC,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function Tx(e,n){if(e&1&&_n(0,"span",7),e&2){let t=Ct(2);ze(t.cn(t.cx("icon"),t.icon||(t.buttonProps==null?null:t.buttonProps.icon))),de("pBind",t.ptm("icon")),Je("data-p",t.dataIconP)}}function _x(e,n){}function Mx(e,n){if(e&1&&Tn(0,_x,0,0,"ng-template",9),e&2){let t=Ct(2);de("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function Nx(e,n){if(e&1&&(Kr(0),Tn(1,Tx,1,4,"span",3)(2,Mx,1,1,null,5),tr()),e&2){let t=Ct();je(),de("ngIf",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),je(),de("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",ll(3,FC,t.cx("icon"),t.ptm("icon")))}}function Ax(e,n){if(e&1&&(Vr(0,"span",7),gs(1),$o()),e&2){let t=Ct();ze(t.cx("label")),de("pBind",t.ptm("label")),Je("aria-hidden",(t.icon||(t.buttonProps==null?null:t.buttonProps.icon))&&!(t.label||t.buttonProps!=null&&t.buttonProps.label))("data-p",t.dataLabelP),je(),Go(t.label||(t.buttonProps==null?null:t.buttonProps.label))}}function Rx(e,n){if(e&1&&_n(0,"p-badge",10),e&2){let t=Ct();de("value",t.badge||(t.buttonProps==null?null:t.buttonProps.badge))("severity",t.badgeSeverity||(t.buttonProps==null?null:t.buttonProps.badgeSeverity))("pt",t.ptm("pcBadge"))("unstyled",t.unstyled())}}var xx={root:({instance:e})=>["p-button p-component",{"p-button-icon-only":e.hasIcon&&!e.label&&!e.buttonProps?.label&&!e.badge,"p-button-vertical":(e.iconPos==="top"||e.iconPos==="bottom")&&e.label,"p-button-loading":e.loading||e.buttonProps?.loading,"p-button-link":e.link||e.buttonProps?.link,[`p-button-${e.severity||e.buttonProps?.severity}`]:e.severity||e.buttonProps?.severity,"p-button-raised":e.raised||e.buttonProps?.raised,"p-button-rounded":e.rounded||e.buttonProps?.rounded,"p-button-text":e.text||e.variant==="text"||e.buttonProps?.text||e.buttonProps?.variant==="text","p-button-outlined":e.outlined||e.variant==="outlined"||e.buttonProps?.outlined||e.buttonProps?.variant==="outlined","p-button-sm":e.size==="small"||e.buttonProps?.size==="small","p-button-lg":e.size==="large"||e.buttonProps?.size==="large","p-button-plain":e.plain||e.buttonProps?.plain,"p-button-fluid":e.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:e})=>["p-button-icon",{[`p-button-icon-${e.iconPos||e.buttonProps?.iconPos}`]:e.label||e.buttonProps?.label,"p-button-icon-left":(e.iconPos==="left"||e.buttonProps?.iconPos==="left")&&e.label||e.buttonProps?.label,"p-button-icon-right":(e.iconPos==="right"||e.buttonProps?.iconPos==="right")&&e.label||e.buttonProps?.label,"p-button-icon-top":(e.iconPos==="top"||e.buttonProps?.iconPos==="top")&&e.label||e.buttonProps?.label,"p-button-icon-bottom":(e.iconPos==="bottom"||e.buttonProps?.iconPos==="bottom")&&e.label||e.buttonProps?.label},e.icon,e.buttonProps?.icon],spinnerIcon:({instance:e})=>Object.entries(e.cx("icon")).filter(([,n])=>!!n).reduce((n,[t])=>n+` ${t}`,"p-button-loading-icon"),label:"p-button-label"},PC=(()=>{class e extends Me{name="button";style=kC;classes=xx;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var LC=new C("BUTTON_INSTANCE");var Ox=(()=>{class e extends Xe{componentName="Button";hostName="";$pcButton=h(LC,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=h(dt,{self:!0});_componentStyle=h(PC);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=ae(void 0,{transform:re});onClick=new ye;onFocus=new ye;onBlur=new ye;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=h(_C,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template;break;default:this._contentTemplate=t.template;break}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||this.variant==="outlined",text:this.text||this.variant==="text",link:this.link,vertical:(this.iconPos==="top"||this.iconPos==="bottom")&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275cmp=Be({type:e,selectors:[["p-button"]],contentQueries:function(r,o,i){if(r&1&&Wo(i,gx,5)(i,mx,5)(i,yx,5)(i,sC,4),r&2){let s;nr(s=rr())&&(o.contentTemplate=s.first),nr(s=rr())&&(o.loadingIconTemplate=s.first),nr(s=rr())&&(o.iconTemplate=s.first),nr(s=rr())&&(o.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",re],raised:[2,"raised","raised",re],rounded:[2,"rounded","rounded",re],text:[2,"text","text",re],plain:[2,"plain","plain",re],outlined:[2,"outlined","outlined",re],link:[2,"link","link",re],tabindex:[2,"tabindex","tabindex",or],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",re],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",re],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[We([PC,{provide:LC,useExisting:e},{provide:Fn,useExisting:e}]),Gr([dt]),Se],ngContentSelectors:vx,decls:7,vars:17,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt","unstyled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt","unstyled"]],template:function(r,o){r&1&&(cn(),Vr(0,"button",0),zo("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),ln(1),Tn(2,bx,1,0,"ng-container",1)(3,Sx,3,6,"ng-container",2)(4,Nx,3,6,"ng-container",2)(5,Ax,2,6,"span",3)(6,Rx,1,4,"p-badge",4),$o()),r&2&&(ze(o.cn(o.cx("root"),o.styleClass,o.buttonProps==null?null:o.buttonProps.styleClass)),de("ngStyle",o.style||(o.buttonProps==null?null:o.buttonProps.style))("disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("pAutoFocus",o.autofocus||(o.buttonProps==null?null:o.buttonProps.autofocus))("pBind",o.ptm("root")),Je("type",o.type||(o.buttonProps==null?null:o.buttonProps.type))("aria-label",o.ariaLabel||(o.buttonProps==null?null:o.buttonProps.ariaLabel))("tabindex",o.tabindex||(o.buttonProps==null?null:o.buttonProps.tabindex))("data-p",o.dataP)("data-p-disabled",o.disabled||o.loading||(o.buttonProps==null?null:o.buttonProps.disabled))("data-p-severity",o.severity||(o.buttonProps==null?null:o.buttonProps.severity)),je(2),de("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),je(),de("ngIf",o.loading||(o.buttonProps==null?null:o.buttonProps.loading)),je(),de("ngIf",!(o.loading||o.buttonProps!=null&&o.buttonProps.loading)),je(),de("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.label||(o.buttonProps==null?null:o.buttonProps.label))),je(),de("ngIf",!o.contentTemplate&&!o._contentTemplate&&(o.badge||(o.buttonProps==null?null:o.buttonProps.badge))))},dependencies:[Ht,Kp,Yp,Zp,OC,EC,AC,IC,rg,fr,dt],encapsulation:2,changeDetection:0})}return e})(),$5=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({imports:[Ht,Ox,fr,fr]})}return e})();var jC=class e{static isArray(n,t=!0){return Array.isArray(n)&&(t||n.length!==0)}static isObject(n,t=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(t||Object.keys(n).length!==0)}static equals(n,t,r){return r?this.resolveFieldData(n,r)===this.resolveFieldData(t,r):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.equalsByValue(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=this.isDate(n),l=this.isDate(t);if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.equalsByValue(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(t.indexOf(".")==-1)return n[t];{let r=t.split("."),o=n;for(let i=0,s=r.length;i<s;++i){if(o==null)return null;o=o[r[i]]}return o}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,r){let o;n&&t!==r&&(r>=n.length&&(r%=n.length,t%=n.length),n.splice(r,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,r,o){if(r.length>0){let i=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],o)>t){r.splice(s,0,n),i=!0;break}i||r.push(n)}else r.push(n)}static findIndexInList(n,t){let r=-1;if(t){for(let o=0;o<t.length;o++)if(t[o]==n){r=o;break}}return r}static contains(n,t){if(n!=null&&t&&t.length){for(let r of t)if(this.equals(n,r))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,r,o=1){let i=-1,s=this.isEmpty(n),a=this.isEmpty(t);return s&&a?i=0:s?i=o:a?i=-o:typeof n=="string"&&typeof t=="string"?i=n.localeCompare(t,r,{numeric:!0}):i=n<t?-1:n>t?1:0,i}static sort(n,t,r=1,o,i=1){let s=e.compare(n,t,o,r),a=r;return(e.isEmpty(n)||e.isEmpty(t))&&(a=i===1?r:i),a*s}static merge(n,t){if(!(n==null&&t==null)){{if((n==null||typeof n=="object")&&(t==null||typeof t=="object"))return m(m({},n||{}),t||{});if((n==null||typeof n=="string")&&(t==null||typeof t=="string"))return[n||"",t||""].join(" ")}return t||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let r=-1;if(this.isNotEmpty(n))try{r=n.findLastIndex(t)}catch{r=n.lastIndexOf([...n].reverse().find(t))}return r}static findLast(n,t){let r;if(this.isNotEmpty(n))try{r=n.findLast(t)}catch{r=[...n].reverse().find(t)}return r}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&typeof n=="object"&&typeof t=="object"){var r=Array.isArray(n),o=Array.isArray(t),i,s,a;if(r&&o){if(s=n.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!this.deepEquals(n[i],t[i]))return!1;return!0}if(r!=o)return!1;var c=n instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var f=Object.keys(n);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!this.deepEquals(n[a],t[a]))return!1;return!0}return n!==n&&t!==t}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,t=!0){return typeof n=="string"&&(t||n!=="")}},BC=0;function z5(e="pn_id_"){return BC++,`${e}${BC}`}function kx(){let e=[],n=(i,s)=>{let a=e.length>0?e[e.length-1]:{key:i,value:s},c=a.value+(a.key===i?0:s)+2;return e.push({key:i,value:c}),c},t=i=>{e=e.filter(s=>s.value!==i)},r=()=>e.length>0?e[e.length-1].value:0,o=i=>i&&parseInt(i.style.zIndex,10)||0;return{get:o,set:(i,s,a)=>{s&&(s.style.zIndex=String(n(i,a)))},clear:i=>{i&&(t(o(i)),i.style.zIndex="")},getCurrent:()=>r(),generateZIndex:n,revertZIndex:t}}var pu=kx();var UC=`
972
- .p-tooltip {
973
- position: absolute;
974
- display: none;
975
- max-width: dt('tooltip.max.width');
976
- }
977
-
978
- .p-tooltip-right,
979
- .p-tooltip-left {
980
- padding: 0 dt('tooltip.gutter');
981
- }
982
-
983
- .p-tooltip-top,
984
- .p-tooltip-bottom {
985
- padding: dt('tooltip.gutter') 0;
986
- }
987
-
988
- .p-tooltip-text {
989
- white-space: pre-line;
990
- word-break: break-word;
991
- background: dt('tooltip.background');
992
- color: dt('tooltip.color');
993
- padding: dt('tooltip.padding');
994
- box-shadow: dt('tooltip.shadow');
995
- border-radius: dt('tooltip.border.radius');
996
- }
997
-
998
- .p-tooltip-arrow {
999
- position: absolute;
1000
- width: 0;
1001
- height: 0;
1002
- border-color: transparent;
1003
- border-style: solid;
1004
- }
1005
-
1006
- .p-tooltip-right .p-tooltip-arrow {
1007
- margin-top: calc(-1 * dt('tooltip.gutter'));
1008
- border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
1009
- border-right-color: dt('tooltip.background');
1010
- }
1011
-
1012
- .p-tooltip-left .p-tooltip-arrow {
1013
- margin-top: calc(-1 * dt('tooltip.gutter'));
1014
- border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
1015
- border-left-color: dt('tooltip.background');
1016
- }
1017
-
1018
- .p-tooltip-top .p-tooltip-arrow {
1019
- margin-left: calc(-1 * dt('tooltip.gutter'));
1020
- border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
1021
- border-top-color: dt('tooltip.background');
1022
- border-bottom-color: dt('tooltip.background');
1023
- }
1024
-
1025
- .p-tooltip-bottom .p-tooltip-arrow {
1026
- margin-left: calc(-1 * dt('tooltip.gutter'));
1027
- border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
1028
- border-top-color: dt('tooltip.background');
1029
- border-bottom-color: dt('tooltip.background');
1030
- }
1031
- `;var Px={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},$C=(()=>{class e extends Me{name="tooltip";style=UC;classes=Px;static \u0275fac=(()=>{let t;return function(o){return(t||(t=G(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var HC=new C("TOOLTIP_INSTANCE"),a6=(()=>{class e extends Xe{zone;viewContainer;componentName="Tooltip";$pcTooltip=h(HC,{optional:!0,skipSelf:!0})??void 0;tooltipPosition;tooltipEvent="hover";positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;showOnEllipsis=!1;content;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this.deactivate()}tooltipOptions;appendTo=ae(void 0);$appendTo=oe(()=>this.appendTo()||this.config.overlayAppendTo());_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,showOnEllipsis:!1,id:ao("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;touchStartListener;touchEndListener;documentTouchListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=h($C);interactionInProgress=!1;ptTooltip=ae();pTooltipPT=ae();pTooltipUnstyled=ae();constructor(t,r){super(),this.zone=t,this.viewContainer=r,Ie(()=>{let o=this.ptTooltip()||this.pTooltipPT();o&&this.directivePT.set(o)}),Ie(()=>{this.pTooltipUnstyled()&&this.directiveUnstyled.set(this.pTooltipUnstyled())})}onAfterViewInit(){Qr(this.platformId)&&this.zone.runOutsideAngular(()=>{let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.touchStartListener=this.onTouchStart.bind(this),this.touchEndListener=this.onTouchEnd.bind(this),this.el.nativeElement.addEventListener("touchstart",this.touchStartListener,{passive:!0}),this.el.nativeElement.addEventListener("touchend",this.touchEndListener,{passive:!0})),t==="focus"||t==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.addEventListener("focus",this.focusListener),r.addEventListener("blur",this.blurListener)}})}onChanges(t){t.tooltipPosition&&this.setOption({tooltipPosition:t.tooltipPosition.currentValue}),t.tooltipEvent&&this.setOption({tooltipEvent:t.tooltipEvent.currentValue}),t.appendTo&&this.setOption({appendTo:t.appendTo.currentValue}),t.positionStyle&&this.setOption({positionStyle:t.positionStyle.currentValue}),t.tooltipStyleClass&&this.setOption({tooltipStyleClass:t.tooltipStyleClass.currentValue}),t.tooltipZIndex&&this.setOption({tooltipZIndex:t.tooltipZIndex.currentValue}),t.escape&&this.setOption({escape:t.escape.currentValue}),t.showDelay&&this.setOption({showDelay:t.showDelay.currentValue}),t.hideDelay&&this.setOption({hideDelay:t.hideDelay.currentValue}),t.life&&this.setOption({life:t.life.currentValue}),t.positionTop&&this.setOption({positionTop:t.positionTop.currentValue}),t.positionLeft&&this.setOption({positionLeft:t.positionLeft.currentValue}),t.disabled&&this.setOption({disabled:t.disabled.currentValue}),t.content&&(this.setOption({tooltipLabel:t.content.currentValue}),this.active&&(t.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),t.autoHide&&this.setOption({autoHide:t.autoHide.currentValue}),t.showOnEllipsis&&this.setOption({showOnEllipsis:t.showOnEllipsis.currentValue}),t.id&&this.setOption({id:t.id.currentValue}),t.tooltipOptions&&(this._tooltipOptions=m(m({},this._tooltipOptions),t.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(t){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(t){this.isAutoHide()?this.deactivate():!(oo(t.relatedTarget,"p-tooltip")||oo(t.relatedTarget,"p-tooltip-text")||oo(t.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onTouchStart(t){!this.container&&!this.showTimeout&&(this.activate(),this.isAutoHide()||this.bindDocumentTouchListener())}onTouchEnd(t){this.isAutoHide()&&this.deactivate()}bindDocumentTouchListener(){this.documentTouchListener||(this.documentTouchListener=this.renderer.listen("document","touchstart",t=>{this.container&&!this.container.contains(t.target)&&!this.el.nativeElement.contains(t.target)&&(this.deactivate(),this.unbindDocumentTouchListener())}))}unbindDocumentTouchListener(){this.documentTouchListener&&(this.documentTouchListener(),this.documentTouchListener=null)}onFocus(t){this.activate()}onBlur(t){this.deactivate()}onInputClick(t){this.deactivate()}hasEllipsis(){let t=this.el.nativeElement;return t.offsetWidth<t.scrollWidth||t.offsetHeight<t.scrollHeight}activate(){if(!this.interactionInProgress){if(this.getOption("showOnEllipsis")&&!this.hasEllipsis())return;if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let t=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},t)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=Gs("div",{class:this.cx("root"),"p-bind":this.ptm("root"),"data-pc-section":"root"}),this.container.setAttribute("role","tooltip");let t=Gs("div",{class:this.cx("arrow"),"p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(t),this.tooltipText=Gs("div",{class:this.cx("text"),"p-bind":this.ptm("text"),"data-pc-section":"text"}),this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?zh(this.container,this.el.nativeElement):zh(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let t=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(t,"mouseleave",r=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),qD(this.container,250),this.getOption("tooltipZIndex")==="auto"?pu.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&pu.clear(this.container),this.remove()}updateText(){let t=this.getOption("tooltipLabel");if(t&&typeof t.createEmbeddedView=="function"){let r=this.viewContainer.createEmbeddedView(t);r.detectChanges(),r.rootNodes.forEach(o=>this.tooltipText.appendChild(o))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(t))):this.tooltipText.innerHTML=t}align(){let t=this.getOption("tooltipPosition"),o={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[t]||[];for(let[i,s]of o.entries())if(i===0)s.call(this);else if(this.isOutOfBounds())s.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let t=this.el.nativeElement.getBoundingClientRect(),r=t.left+Hh(),o=t.top+Vh();return{left:r,top:o}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?iu(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let t=this.activeElement,r=It(t),o=(Wt(t)-Wt(this.container))/2;this.alignTooltip(r,o);let i=this.getArrowElement();i.style.top="50%",i.style.right=null,i.style.bottom=null,i.style.left="0"}alignLeft(){this.preAlign("left");let t=this.getArrowElement(),r=It(this.container),o=(Wt(this.el.nativeElement)-Wt(this.container))/2;this.alignTooltip(-r,o),t.style.top="50%",t.style.right="0",t.style.bottom=null,t.style.left=null}alignTop(){this.preAlign("top");let t=this.getArrowElement(),r=this.getHostOffset(),o=It(this.container),i=(It(this.el.nativeElement)-It(this.container))/2,s=Wt(this.container);this.alignTooltip(i,-s);let a=r.left-this.getHostOffset().left+o/2;t.style.top=null,t.style.right=null,t.style.bottom="0",t.style.left=a+"px"}getArrowElement(){return iu(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let t=this.getArrowElement(),r=It(this.container),o=this.getHostOffset(),i=(It(this.el.nativeElement)-It(this.container))/2,s=Wt(this.el.nativeElement);this.alignTooltip(i,s);let a=o.left-this.getHostOffset().left+r/2;t.style.top="0",t.style.right=null,t.style.bottom=null,t.style.left=a+"px"}alignTooltip(t,r){let o=this.getHostOffset(),i=o.left+t,s=o.top+r;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(t){this._tooltipOptions=m(m({},this._tooltipOptions),t)}getOption(t){return this._tooltipOptions[t]}getTarget(t){return oo(t,"p-inputwrapper")?iu(t,"input"):t}preAlign(t){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+t,this.getOption("tooltipStyleClass"))}isOutOfBounds(){let t=this.container.getBoundingClientRect(),r=t.top,o=t.left,i=It(this.container),s=Wt(this.container),a=ru();return o+i>a.width||o<0||r<0||r+s>a.height}onWindowResize(t){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new fu(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener),this.el.nativeElement.removeEventListener("touchstart",this.touchStartListener),this.el.nativeElement.removeEventListener("touchend",this.touchEndListener),this.unbindDocumentTouchListener()),t==="focus"||t==="both"){let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.removeEventListener("focus",this.focusListener),r.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):QD(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.unbindDocumentTouchListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&pu.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(r){return new(r||e)(L(le),L(Dt))};static \u0275dir=Q({type:e,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",re],showDelay:[2,"showDelay","showDelay",or],hideDelay:[2,"hideDelay","hideDelay",or],life:[2,"life","life",or],positionTop:[2,"positionTop","positionTop",or],positionLeft:[2,"positionLeft","positionLeft",or],autoHide:[2,"autoHide","autoHide",re],fitContent:[2,"fitContent","fitContent",re],hideOnEscape:[2,"hideOnEscape","hideOnEscape",re],showOnEllipsis:[2,"showOnEllipsis","showOnEllipsis",re],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"],pTooltipPT:[1,"pTooltipPT"],pTooltipUnstyled:[1,"pTooltipUnstyled"]},features:[We([$C,{provide:HC,useExisting:e},{provide:Fn,useExisting:e}]),Se]})}return e})(),c6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=be({type:e});static \u0275inj=pe({imports:[Zs,Zs]})}return e})();var zC=new C("DATA_SOURCE"),VC=class extends Error{code;details;constructor(n,t,r){super(t),this.name="DataSourceError",this.code=n,this.details=r}};var WC=class e{dataSource=h(zC);destroyRef=h(me);_nodes=T([]);_scan=T(null);_loading=T(!1);_error=T(null);pendingRefresh=!1;nodes=this._nodes.asReadonly();scan=this._scan.asReadonly();loading=this._loading.asReadonly();error=this._error.asReadonly();count=oe(()=>this._nodes().length);byKind=oe(()=>{let n=new Map;for(let t of this._nodes()){let r=n.get(t.kind);r?r.push(t):n.set(t.kind,[t])}return n});constructor(){this.dataSource.events().pipe(Ze(n=>n.type==="scan.completed"),aC(this.destroyRef)).subscribe(()=>{this.load()})}async load(){if(this._loading()){this.pendingRefresh=!0;return}this._loading.set(!0),this._error.set(null);try{let n=await this.dataSource.loadScan();this._scan.set(n),this._nodes.set(n.nodes.map(Lx))}catch(n){let t=n instanceof Error?n.message:String(n);this._error.set(t)}finally{this._loading.set(!1),this.pendingRefresh&&(this.pendingRefresh=!1,queueMicrotask(()=>{this.load()}))}}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};function Lx(e){let n=e.kind,t=e.frontmatter??{},r=m({name:typeof t.name=="string"?t.name:e.title??"",description:typeof t.description=="string"?t.description:e.description??"",metadata:m({version:e.version??"",stability:e.stability??void 0},t.metadata??{})},t);return r.metadata=m(m({},r.metadata),t.metadata??{}),r.metadata.version||(r.metadata.version=e.version??""),!r.metadata.stability&&e.stability&&(r.metadata.stability=e.stability),{path:e.path,kind:n,frontmatter:r}}function hu(e,n,t){return[Math.round(e[0]+(n[0]-e[0])*t),Math.round(e[1]+(n[1]-e[1])*t),Math.round(e[2]+(n[2]-e[2])*t)]}function Fx(e){let n=/^#([0-9a-f]{6})$/i.exec(e);if(!n)throw new Error(`deriveTints: invalid hex color "${e}" (expected #RRGGBB)`);let t=parseInt(n[1],16);return[t>>16&255,t>>8&255,t&255]}function gu([e,n,t]){let r=o=>Math.max(0,Math.min(255,o)).toString(16).padStart(2,"0");return`#${r(e)}${r(n)}${r(t)}`}var GC=[255,255,255],qC=[0,0,0];function og(e,n){let t=Fx(e);return n==="light"?{bg:gu(hu(t,GC,.85)),fg:gu(hu(t,qC,.5))}:{bg:gu(hu(t,qC,.7)),fg:gu(hu(t,GC,.6))}}var mu=class e{_entries=T([]);kinds=this._entries.asReadonly();index=oe(()=>{let n=new Map;for(let t of this._entries())n.set(t.name,t);return n});ingest(n){if(!n)return;let t=[];for(let[o,i]of Object.entries(n))t.push(m({name:o},i));let r=this._entries();Bx(r,t)||(this._entries.set(t),this.applyCssVars())}lookup(n){return this.index().get(n)}labelOf(n){return this.lookup(n)?.label??n}colorOf(n,t="light"){let r=this.lookup(n);return r?t==="dark"?r.colorDark??r.color:r.color:"#9ca3af"}iconOf(n){return this.lookup(n)?.icon}emojiOf(n){return this.lookup(n)?.emoji}applyCssVars(){if(typeof document>"u")return;let n=jx(),t=[],r=[];for(let o of this._entries()){let i=og(o.color,"light"),s=o.colorDark??o.color,a=og(s,"dark");t.push(`--sm-kind-${o.name}: ${o.color};`),t.push(`--sm-kind-${o.name}-bg: ${i.bg};`),t.push(`--sm-kind-${o.name}-fg: ${i.fg};`),r.push(`--sm-kind-${o.name}: ${s};`),r.push(`--sm-kind-${o.name}-bg: ${a.bg};`),r.push(`--sm-kind-${o.name}-fg: ${a.fg};`)}n.textContent=`:root { ${t.join(" ")} } .app-dark { ${r.join(" ")} }`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})},KC="sm-kind-vars";function jx(){let e=document.getElementById(KC);return e||(e=document.createElement("style"),e.id=KC,document.head.appendChild(e)),e}function Bx(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++){let r=e[t],o=n[t];if(r.name!==o.name||r.providerId!==o.providerId||r.label!==o.label||r.color!==o.color||r.colorDark!==o.colorDark||r.emoji!==o.emoji||JSON.stringify(r.icon)!==JSON.stringify(o.icon))return!1}return!0}var N6=["stable","experimental","deprecated"],ZC=class e{kindRegistry=h(mu);searchText=T("");selectedKinds=T([]);selectedStabilities=T([]);hasIssuesOnly=T(!1);isActive=oe(()=>this.searchText().trim().length>0||this.selectedKinds().length>0||this.selectedStabilities().length>0||this.hasIssuesOnly());setSearchText(n){this.searchText.set(n)}setKinds(n){this.selectedKinds.set([...n])}toggleKind(n){let t=this.selectedKinds(),r=this.kindRegistry.kinds().map(i=>i.name),o=t.length===0?new Set(r):new Set(t);o.has(n)?o.delete(n):o.add(n),o.size===r.length?this.selectedKinds.set([]):this.selectedKinds.set([...o])}isKindActive(n){let t=this.selectedKinds();return t.length===0?!0:t.includes(n)}setStabilities(n){this.selectedStabilities.set([...n])}setHasIssuesOnly(n){this.hasIssuesOnly.set(n)}reset(){this.searchText.set(""),this.selectedKinds.set([]),this.selectedStabilities.set([]),this.hasIssuesOnly.set(!1)}apply(n){let t=this.searchText().trim().toLowerCase(),r=this.selectedKinds(),o=this.selectedStabilities(),i=this.hasIssuesOnly();return n.filter(s=>{if(t&&![s.path,s.frontmatter.name??"",s.frontmatter.description??""].join(" ").toLowerCase().includes(t)||r.length>0&&!r.includes(s.kind))return!1;if(o.length>0){let a=s.frontmatter.metadata?.stability;if(!a||!o.includes(a))return!1}return!(i&&!Ux(s))})}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};function Ux(e){let n=e.frontmatter.metadata;return n?n.stability==="deprecated"||!!n.supersededBy:!1}export{k as a,X as b,Re as c,JO as d,fe as e,kw as f,Z as g,Vw as h,Ze as i,Ww as j,Ha as k,v as l,pe as m,C as n,M as o,h as p,we as q,bm as r,Em as s,To as t,ve as u,V as v,me as w,ye as x,le as y,wI as z,T as A,Ie as B,sn as C,G as D,xe as E,jt as F,PS as G,hv as H,jS as I,je as J,zc as K,on as L,$t as M,L as N,Dt as O,Be as P,be as Q,Q as R,Gr as S,Se as T,Tn as U,Uo as V,ol as W,Je as X,gc as Y,mc as Z,u0 as _,d0 as $,f0 as aa,p0 as ba,h0 as ca,de as da,Vr as ea,$o as fa,_n as ga,Ho as ha,Vo as ia,ps as ja,Kr as ka,tr as la,sl as ma,Tb as na,b0 as oa,E0 as pa,al as qa,zo as ra,Ct as sa,cn as ta,ln as ua,Wo as va,Ab as wa,nr as xa,rr as ya,_p as za,Rb as Aa,xb as Ba,I0 as Ca,cl as Da,Mp as Ea,Np as Fa,ze as Ga,gs as Ha,Go as Ia,Ap as Ja,zb as Ka,Wb as La,Gb as Ma,Q0 as Na,qb as Oa,Zb as Pa,J0 as Qa,X0 as Ra,We as Sa,rM as Ta,oM as Ua,ll as Va,iM as Wa,sM as Xa,aM as Ya,cM as Za,lM as _a,hM as $a,ne as ab,oe as bb,yV as cb,ae as db,vV as eb,jM as fb,bV as gb,EV as hb,Zr as ib,re as jb,or as kb,CV as lb,Mn as mb,rN as nb,IE as ob,Kp as pb,Zp as qb,Yp as rb,Ht as sb,Qr as tb,yN as ub,un as vb,WE as wb,VN as xb,zN as yb,WN as zb,zt as Ab,On as Bb,Ph as Cb,ro as Db,nu as Eb,wR as Fb,TR as Gb,OR as Hb,oo as Ib,zs as Jb,ur as Kb,zD as Lb,CW as Mb,wW as Nb,It as Ob,IW as Pb,FR as Qb,zh as Rb,jR as Sb,iu as Tb,SW as Ub,TW as Vb,KD as Wb,_W as Xb,Wh as Yb,MW as Zb,NW as _b,AW as $b,Gh as ac,RW as bc,xW as cc,OW as dc,kW as ec,PW as fc,LW as gc,JD as hc,FW as ic,io as jc,zR as kc,q as lc,su as mc,qs as nc,$W as oc,HW as pc,Zh as qc,VW as rc,zW as sc,WW as tc,ao as uc,ke as vc,QW as wc,JW as xc,XW as yc,e4 as zc,t4 as Ac,sC as Bc,fr as Cc,n4 as Dc,Me as Ec,eg as Fc,H4 as Gc,aC as Hc,d4 as Ic,Fn as Jc,Xe as Kc,tg as Lc,oG as Mc,iG as Nc,fu as Oc,EC as Pc,dt as Qc,Zs as Rc,rg as Sc,IC as Tc,_C as Uc,NC as Vc,AC as Wc,OC as Xc,Ox as Yc,$5 as Zc,jC as _c,z5 as $c,pu as ad,a6 as bd,c6 as cd,zC as dd,VC as ed,WC as fd,mu as gd,N6 as hd,ZC as id};