diff --git a/index.html b/index.html index f055d22..3682639 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + Ngx Loader Indicator | JsDaddy @@ -7,8 +7,8 @@ - + - + diff --git a/main-74R64OZY.js b/main-74R64OZY.js deleted file mode 100644 index 48d39a6..0000000 --- a/main-74R64OZY.js +++ /dev/null @@ -1,211 +0,0 @@ -import{a as D,b as G,c as dc}from"./chunk-C6Q5SG76.js";function Kh(e,t){return Object.is(e,t)}var Ie=null,Ri=!1,es=1,lt=Symbol("SIGNAL");function W(e){let t=Ie;return Ie=e,t}function Jh(){return Ie}function Zw(){return Ri}var Vr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ns(e){if(Ri)throw new Error("");if(Ie===null)return;Ie.consumerOnSignalRead(e);let t=Ie.nextProducerIndex++;if(as(Ie),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function is(e){as(e);for(let t=0;t0}function as(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ip(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function op(e){return e.producerNode!==void 0}function gc(e){let t=Object.create(Qw);t.computation=e;let n=()=>{if(Xh(t),ns(t),t.value===ts)throw t.error;return t.value};return n[lt]=t,n}var fc=Symbol("UNSET"),hc=Symbol("COMPUTING"),ts=Symbol("ERRORED"),Qw=G(D({},Vr),{value:fc,dirty:!0,error:null,equal:Kh,producerMustRecompute(e){return e.value===fc||e.value===hc},producerRecomputeValue(e){if(e.value===hc)throw new Error("Detected cycle in computations.");let t=e.value;e.value=hc;let n=Pi(e),r;try{r=e.computation()}catch(i){r=ts,e.error=i}finally{rs(e,n)}if(t!==fc&&t!==ts&&r!==ts&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Kw(){throw new Error}var sp=Kw;function ap(){sp()}function lp(e){sp=e}var Jw=null;function cp(e){let t=Object.create(mc);t.value=e;let n=()=>(ns(t),t.value);return n[lt]=t,n}function ls(e,t){tp()||ap(),e.equal(e.value,t)||(e.value=t,Xw(e))}function up(e,t){tp()||ap(),ls(e,t(e.value))}var mc=G(D({},Vr),{equal:Kh,value:void 0});function Xw(e){e.version++,Yw(),ep(e),Jw?.()}function dp(e,t,n){let r=Object.create(e0);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let i=l=>{r.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(os(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=pc)}let a=()=>{if(r.fn===null)return;if(Zw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!is(r))return;r.hasRun=!0;let l=Pi(r);try{r.cleanupFn(),r.cleanupFn=pc,r.fn(i)}finally{rs(r,l)}};return r.ref={notify:()=>np(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[lt]:r},r.ref}var pc=()=>{},e0=G(D({},Vr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:pc});function A(e){return typeof e=="function"}function Br(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var cs=Br(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function tr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ve=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(A(r))try{r()}catch(o){t=o instanceof cs?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{fp(o)}catch(s){t=t??[],s instanceof cs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new cs(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fp(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&tr(n,t)}remove(t){let{_finalizers:n}=this;n&&tr(n,t),t instanceof e&&t._removeParent(this)}};ve.EMPTY=(()=>{let e=new ve;return e.closed=!0,e})();var yc=ve.EMPTY;function us(e){return e instanceof ve||e&&"closed"in e&&A(e.remove)&&A(e.add)&&A(e.unsubscribe)}function fp(e){A(e)?e():e.unsubscribe()}var Ct={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ur={setTimeout(e,t,...n){let{delegate:r}=Ur;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ur;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ds(e){Ur.setTimeout(()=>{let{onUnhandledError:t}=Ct;if(t)t(e);else throw e})}function nr(){}var hp=vc("C",void 0,void 0);function pp(e){return vc("E",void 0,e)}function gp(e){return vc("N",e,void 0)}function vc(e,t,n){return{kind:e,value:t,error:n}}var rr=null;function $r(e){if(Ct.useDeprecatedSynchronousErrorHandling){let t=!rr;if(t&&(rr={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rr;if(rr=null,n)throw r}}else e()}function mp(e){Ct.useDeprecatedSynchronousErrorHandling&&rr&&(rr.errorThrown=!0,rr.error=e)}var ir=class extends ve{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,us(t)&&t.add(this)):this.destination=r0}static create(t,n,r){return new In(t,n,r)}next(t){this.isStopped?wc(gp(t),this):this._next(t)}error(t){this.isStopped?wc(pp(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?wc(hp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},t0=Function.prototype.bind;function Dc(e,t){return t0.call(e,t)}var Cc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){fs(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){fs(r)}else fs(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){fs(n)}}},In=class extends ir{constructor(t,n,r){super();let i;if(A(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Ct.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Dc(t.next,o),error:t.error&&Dc(t.error,o),complete:t.complete&&Dc(t.complete,o)}):i=t}this.destination=new Cc(i)}};function fs(e){Ct.useDeprecatedSynchronousErrorHandling?mp(e):ds(e)}function n0(e){throw e}function wc(e,t){let{onStoppedNotification:n}=Ct;n&&Ur.setTimeout(()=>n(e,t))}var r0={closed:!0,next:nr,error:n0,complete:nr};var Hr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Je(e){return e}function bc(...e){return _c(e)}function _c(e){return e.length===0?Je:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var $=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=o0(n)?n:new In(n,r,i);return $r(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=yp(r),new r((i,o)=>{let s=new In({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Hr](){return this}pipe(...n){return _c(n)(this)}toPromise(n){return n=yp(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function yp(e){var t;return(t=e??Ct.Promise)!==null&&t!==void 0?t:Promise}function i0(e){return e&&A(e.next)&&A(e.error)&&A(e.complete)}function o0(e){return e&&e instanceof ir||i0(e)&&us(e)}function Ec(e){return A(e?.lift)}function H(e){return t=>{if(Ec(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(e,t,n,r,i){return new Ic(e,t,n,r,i)}var Ic=class extends ir{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function zr(){return H((e,t)=>{let n=null;e._refCount++;let r=z(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Gr=class extends ${constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ec(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new ve;let n=this.getSubject();t.add(this.source.subscribe(z(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ve.EMPTY)}return t}refCount(){return zr()(this)}};var vp=Br(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Oe=(()=>{class e extends ${constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new hs(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new vp}next(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?yc:(this.currentObservers=null,o.push(n),new ve(()=>{this.currentObservers=null,tr(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new $;return n.source=this,n}}return e.create=(t,n)=>new hs(t,n),e})(),hs=class extends Oe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:yc}};var Ce=class extends Oe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Sc={now(){return(Sc.delegate||Date).now()},delegate:void 0};var ps=class extends ve{constructor(t,n){super()}schedule(t,n=0){return this}};var Fi={setInterval(e,t,...n){let{delegate:r}=Fi;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Fi;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var gs=class extends ps{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return Fi.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Fi.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,i;try{this.work(t)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,tr(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Wr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Wr.now=Sc.now;var ms=class extends Wr{constructor(t,n=Wr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ki=new ms(gs),Dp=ki;var Le=new $(e=>e.complete());function ys(e){return e&&A(e.schedule)}function wp(e){return e[e.length-1]}function vs(e){return A(wp(e))?e.pop():void 0}function Sn(e){return ys(wp(e))?e.pop():void 0}function bp(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function Cp(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function or(e){return this instanceof or?(this.v=e,this):new or(e)}function _p(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(p){r[p]&&(i[p]=function(h){return new Promise(function(m,y){o.push([p,h,m,y])>1||a(p,h)})})}function a(p,h){try{l(r[p](h))}catch(m){d(o[0][3],m)}}function l(p){p.value instanceof or?Promise.resolve(p.value.v).then(c,u):d(o[0][2],p)}function c(p){a("next",p)}function u(p){a("throw",p)}function d(p,h){p(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Ep(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Cp=="function"?Cp(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){s=e[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var qr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ds(e){return A(e?.then)}function ws(e){return A(e[Hr])}function Cs(e){return Symbol.asyncIterator&&A(e?.[Symbol.asyncIterator])}function bs(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 s0(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _s=s0();function Es(e){return A(e?.[_s])}function Is(e){return _p(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield or(n.read());if(i)return yield or(void 0);yield yield or(r)}}finally{n.releaseLock()}})}function Ss(e){return A(e?.getReader)}function fe(e){if(e instanceof $)return e;if(e!=null){if(ws(e))return a0(e);if(qr(e))return l0(e);if(Ds(e))return c0(e);if(Cs(e))return Ip(e);if(Es(e))return u0(e);if(Ss(e))return d0(e)}throw bs(e)}function a0(e){return new $(t=>{let n=e[Hr]();if(A(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function l0(e){return new $(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ds)})}function u0(e){return new $(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ip(e){return new $(t=>{f0(e,t).catch(n=>t.error(n))})}function d0(e){return Ip(Is(e))}function f0(e,t){var n,r,i,o;return bp(this,void 0,void 0,function*(){try{for(n=Ep(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})}function Ge(e,t,n,r=0,i=!1){let o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Ms(e,t=0){return H((n,r)=>{n.subscribe(z(r,i=>Ge(r,e,()=>r.next(i),t),()=>Ge(r,e,()=>r.complete(),t),i=>Ge(r,e,()=>r.error(i),t)))})}function Ts(e,t=0){return H((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Sp(e,t){return fe(e).pipe(Ts(t),Ms(t))}function Mp(e,t){return fe(e).pipe(Ts(t),Ms(t))}function Tp(e,t){return new $(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function xp(e,t){return new $(n=>{let r;return Ge(n,t,()=>{r=e[_s](),Ge(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>A(r?.return)&&r.return()})}function xs(e,t){if(!e)throw new Error("Iterable cannot be null");return new $(n=>{Ge(n,t,()=>{let r=e[Symbol.asyncIterator]();Ge(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ap(e,t){return xs(Is(e),t)}function Np(e,t){if(e!=null){if(ws(e))return Sp(e,t);if(qr(e))return Tp(e,t);if(Ds(e))return Mp(e,t);if(Cs(e))return xs(e,t);if(Es(e))return xp(e,t);if(Ss(e))return Ap(e,t)}throw bs(e)}function oe(e,t){return t?Np(e,t):fe(e)}function x(...e){let t=Sn(e);return oe(e,t)}function ct(e,t){let n=A(e)?e:()=>e,r=i=>i.error(n());return new $(t?i=>t.schedule(r,0,i):r)}function Mc(e){return!!e&&(e instanceof $||A(e.lift)&&A(e.subscribe))}var bt=Br(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tc(e,t){let n=typeof t=="object";return new Promise((r,i)=>{let o=new In({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{n?r(t.defaultValue):i(new bt)}});e.subscribe(o)})}function Rp(e){return e instanceof Date&&!isNaN(e)}function k(e,t){return H((n,r)=>{let i=0;n.subscribe(z(r,o=>{r.next(e.call(t,o,i++))}))})}var{isArray:h0}=Array;function p0(e,t){return h0(t)?e(...t):e(t)}function Zr(e){return k(t=>p0(e,t))}var{isArray:g0}=Array,{getPrototypeOf:m0,prototype:y0,keys:v0}=Object;function As(e){if(e.length===1){let t=e[0];if(g0(t))return{args:t,keys:null};if(D0(t)){let n=v0(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function D0(e){return e&&typeof e=="object"&&m0(e)===y0}function Ns(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function Rs(...e){let t=Sn(e),n=vs(e),{args:r,keys:i}=As(e);if(r.length===0)return oe([],t);let o=new $(w0(r,t,i?s=>Ns(i,s):Je));return n?o.pipe(Zr(n)):o}function w0(e,t,n=Je){return r=>{Op(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let l=0;l{let c=oe(e[l],t),u=!1;c.subscribe(z(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Op(e,t,n){e?Ge(n,e,t):t()}function Pp(e,t,n,r,i,o,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&t.complete()},h=y=>c{o&&t.next(y),c++;let w=!1;fe(n(y,u++)).subscribe(z(t,S=>{i?.(S),o?h(S):t.next(S)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cm(S)):m(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(z(t,h,()=>{d=!0,p()})),()=>{a?.()}}function me(e,t,n=1/0){return A(t)?me((r,i)=>k((o,s)=>t(r,o,i,s))(fe(e(r,i))),n):(typeof t=="number"&&(n=t),H((r,i)=>Pp(r,i,e,n)))}function xc(e=1/0){return me(Je,e)}function Li(){return xc(1)}function Mn(...e){return Li()(oe(e,Sn(e)))}function Os(e){return new $(t=>{fe(e()).subscribe(t)})}function ji(...e){let t=vs(e),{args:n,keys:r}=As(e),i=new $(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?Ns(r,a):a),o.complete())}))}});return t?i.pipe(Zr(t)):i}var C0=["addListener","removeListener"],b0=["addEventListener","removeEventListener"],_0=["on","off"];function sr(e,t,n,r){if(A(n)&&(r=n,n=void 0),r)return sr(e,t,n).pipe(Zr(r));let[i,o]=S0(e)?b0.map(s=>a=>e[s](t,a,n)):E0(e)?C0.map(Fp(e,t)):I0(e)?_0.map(Fp(e,t)):[];if(!i&&qr(e))return me(s=>sr(s,t,n))(fe(e));if(!i)throw new TypeError("Invalid event target");return new $(s=>{let a=(...l)=>s.next(1o(a)})}function Fp(e,t){return n=>r=>e[n](t,r)}function E0(e){return A(e.addListener)&&A(e.removeListener)}function I0(e){return A(e.on)&&A(e.off)}function S0(e){return A(e.addEventListener)&&A(e.removeEventListener)}function kp(e=0,t,n=Dp){let r=-1;return t!=null&&(ys(t)?n=t:r=t),new $(i=>{let o=Rp(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function _e(e,t){return H((n,r)=>{let i=0;n.subscribe(z(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Xe(e){return H((t,n)=>{let r=null,i=!1,o;r=t.subscribe(z(n,void 0,void 0,s=>{o=fe(e(s,Xe(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Ps(e,t,n,r,i){return(o,s)=>{let a=n,l=t,c=0;o.subscribe(z(s,u=>{let d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function Ac(e,t){return H(Ps(e,t,arguments.length>=2,!1,!0))}function Tn(e,t){return A(t)?me(e,t,1):me(e,1)}function Nc(e,t=ki){return H((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=s+e,u=t.now();if(u{o=c,s=t.now(),i||(i=t.schedule(l,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function xn(e){return H((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function ut(e){return e<=0?()=>Le:H((t,n)=>{let r=0;t.subscribe(z(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Lp(){return H((e,t)=>{e.subscribe(z(t,nr))})}function Vi(e){return k(()=>e)}function Rc(e,t){return t?n=>Mn(t.pipe(ut(1),Lp()),n.pipe(Rc(e))):me((n,r)=>fe(e(n,r)).pipe(ut(1),Vi(n)))}function Oc(e,t=ki){let n=kp(e,t);return Rc(()=>n)}function Fs(e=M0){return H((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function M0(){return new bt}function ar(e){return H((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ut(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_e((i,o)=>e(i,o,r)):Je,ut(1),n?xn(t):Fs(()=>new bt))}function Yr(e){return e<=0?()=>Le:H((t,n)=>{let r=[];t.subscribe(z(n,i=>{r.push(i),e{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Pc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_e((i,o)=>e(i,o,r)):Je,Yr(1),n?xn(t):Fs(()=>new bt))}function Fc(e,t){return H(Ps(e,t,arguments.length>=2,!0))}function kc(...e){let t=Sn(e);return H((n,r)=>{(t?Mn(e,n,t):Mn(e,n)).subscribe(r)})}function Pe(e,t){return H((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(z(r,l=>{i?.unsubscribe();let c=0,u=o++;fe(e(l,u)).subscribe(i=z(r,d=>r.next(t?t(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Bi(e){return H((t,n)=>{fe(e).subscribe(z(n,()=>n.complete(),nr)),!n.closed&&t.subscribe(n)})}function he(e,t,n){let r=A(e)||t||n?{next:e,error:t,complete:n}:e;return r?H((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(z(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Je}var Eg="https://g.co/ng/security#xss",v=class extends Error{constructor(t,n){super(va(t,n)),this.code=t}};function va(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Ig=Symbol("InputSignalNode#UNSET"),T0=G(D({},mc),{transformFn:void 0,applyValueToInputSignal(e,t){ls(e,t)}});function Sg(e,t){let n=Object.create(T0);n.value=e,n.transformFn=t?.transform;function r(){if(ns(n),n.value===Ig)throw new v(-950,!1);return n.value}return r[lt]=n,r}function Da(e){return{toString:e}.toString()}var Qc=globalThis;function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function x0(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(qe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Kc(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var A0=ie({__forward_ref__:ie});function wr(e){return e.__forward_ref__=wr,e.toString=function(){return qe(this())},e}function He(e){return Mg(e)?e():e}function Mg(e){return typeof e=="function"&&e.hasOwnProperty(A0)&&e.__forward_ref__===wr}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function wa(e){return jp(e,xg)||jp(e,Ag)}function Tg(e){return wa(e)!==null}function jp(e,t){return e.hasOwnProperty(t)?e[t]:null}function N0(e){let t=e&&(e[xg]||e[Ag]);return t||null}function Vp(e){return e&&(e.hasOwnProperty(Bp)||e.hasOwnProperty(R0))?e[Bp]:null}var xg=ie({\u0275prov:ie}),Bp=ie({\u0275inj:ie}),Ag=ie({ngInjectableDef:ie}),R0=ie({ngInjectorDef:ie}),I=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ng(e){return e&&!!e.\u0275providers}var O0=ie({\u0275cmp:ie}),P0=ie({\u0275dir:ie}),F0=ie({\u0275pipe:ie}),k0=ie({\u0275mod:ie}),Zs=ie({\u0275fac:ie}),Hi=ie({__NG_ELEMENT_ID__:ie}),Up=ie({__NG_ENV_ID__:ie});function ti(e){return typeof e=="string"?e:e==null?"":String(e)}function L0(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ti(e)}function j0(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function id(e,t){throw new v(-201,!1)}var q=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(q||{}),Jc;function Rg(){return Jc}function We(e){let t=Jc;return Jc=e,t}function Og(e,t,n){let r=wa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&q.Optional)return null;if(t!==void 0)return t;id(e,"Injector")}var V0={},zi=V0,B0="__NG_DI_FLAG__",Ys="ngTempTokenPath",U0="ngTokenPath",$0=/\n/gm,H0="\u0275",$p="__source",Xr;function z0(){return Xr}function An(e){let t=Xr;return Xr=e,t}function G0(e,t=q.Default){if(Xr===void 0)throw new v(-203,!1);return Xr===null?Og(e,void 0,t):Xr.get(e,t&q.Optional?null:void 0,t)}function R(e,t=q.Default){return(Rg()||G0)(He(e),t)}function g(e,t=q.Default){return R(e,Ca(t))}function Ca(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xc(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):qe(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace($0,` - `)}`}function cr(e,t){let n=e.hasOwnProperty(Zs);return n?e[Zs]:null}function Y0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?od(n,t):t(n))}function Pg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function K0(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function sd(e,t,n){let r=no(e,t);return r>=0?e[r|1]=n:(r=~r,K0(e,r,t,n)),r}function Lc(e,t){let n=no(e,t);if(n>=0)return e[n|1]}function no(e,t){return J0(e,t,1)}function J0(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&c!==d){if(_t(r))return!1;s=!0}}}}return _t(r)||s}function _t(e){return(e&1)===0}function oC(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!_t(s)&&(t+=zp(o,i),i=""),r=s,o=o||!_t(r);n++}return i!==""&&(t+=zp(o,i)),t}function uC(e){return e.map(cC).join(",")}function dC(e){let t=[],n=[],r=1,i=2;for(;r{let t=Hg(e),n=G(D({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Lg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,styles:e.styles||ze,_:null,schemas:e.schemas||null,tView:null,id:""});zg(n);let r=e.dependencies;return n.directiveDefs=Wp(r,!1),n.pipeDefs=Wp(r,!0),n.id=pC(n),n})}function fC(e){return ur(e)||Vg(e)}function hC(e){return e!==null}function Yt(e){return Da(()=>({type:e.type,bootstrap:e.bootstrap||ze,declarations:e.declarations||ze,imports:e.imports||ze,exports:e.exports||ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gp(e,t){if(e==null)return ni;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=On.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==On.None?[r,a]:r,t[o]=s):n[o]=r}return n}function De(e){return Da(()=>{let t=Hg(e);return zg(t),t})}function Qt(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ur(e){return e[O0]||null}function Vg(e){return e[P0]||null}function Bg(e){return e[F0]||null}function Ug(e){let t=ur(e)||Vg(e)||Bg(e);return t!==null?t.standalone:!1}function $g(e,t){let n=e[k0]||null;if(!n&&t===!0)throw new Error(`Type ${qe(e)} does not have '\u0275mod' property.`);return n}function Hg(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ni,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ze,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gp(e.inputs,t),outputs:Gp(e.outputs),debugInfo:null}}function zg(e){e.features?.forEach(t=>t(e))}function Wp(e,t){if(!e)return null;let n=t?Bg:fC;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(hC)}function pC(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Vn(e){return{\u0275providers:e}}function gC(...e){return{\u0275providers:Gg(!0,e),\u0275fromNgModule:!0}}function Gg(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return od(t,s=>{let a=s;tu(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Wg(i,o),n}function Wg(e,t){for(let n=0;n{t(o,r)})}}function tu(e,t,n,r){if(e=He(e),!e)return!1;let i=null,o=Vp(e),s=!o&&ur(e);if(!o&&!s){let l=e.ngModule;if(o=Vp(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)tu(c,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{od(o.imports,u=>{tu(u,t,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&Wg(c,t)}if(!a){let c=cr(i)||(()=>new i);t({provide:i,useFactory:c,deps:ze},i),t({provide:kg,useValue:i,multi:!0},i),t({provide:ri,useValue:()=>R(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=e;ld(l,u=>{t(u,c)})}}else return!1;return i!==e&&e.providers!==void 0}function ld(e,t){for(let n of e)Ng(n)&&(n=n.\u0275providers),Array.isArray(n)?ld(n,t):t(n)}var mC=ie({provide:String,useValue:ie});function qg(e){return e!==null&&typeof e=="object"&&mC in e}function yC(e){return!!(e&&e.useExisting)}function vC(e){return!!(e&&e.useFactory)}function ii(e){return typeof e=="function"}function DC(e){return!!e.useClass}var ba=new I(""),Us={},wC={},jc;function cd(){return jc===void 0&&(jc=new Ks),jc}var Ze=class{},Wi=class extends Ze{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ru(t,s=>this.processProvider(s)),this.records.set(Fg,Qr(void 0,this)),i.has("environment")&&this.records.set(Ze,Qr(void 0,this));let o=this.records.get(ba);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(kg,ze,q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=W(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),W(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=An(this),r=We(void 0),i;try{return t()}finally{An(n),We(r)}}get(t,n=zi,r=q.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Up))return t[Up](this);r=Ca(r);let i,o=An(this),s=We(void 0);try{if(!(r&q.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=IC(t)&&wa(t);c&&this.injectableDefInScope(c)?l=Qr(nu(t),Us):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l)}let a=r&q.Self?cd():this.parent;return n=r&q.Optional&&n===zi?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Ys]=a[Ys]||[]).unshift(qe(t)),o)throw a;return q0(a,t,"R3InjectorError",this.source)}else throw a}finally{We(s),An(o)}}resolveInjectorInitializers(){let t=W(null),n=An(this),r=We(void 0),i;try{let o=this.get(ri,ze,q.Self);for(let s of o)s()}finally{An(n),We(r),W(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=He(t);let n=ii(t)?t:He(t&&t.provide),r=bC(t);if(!ii(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Qr(void 0,Us,!0),i.factory=()=>Xc(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=W(null);try{return n.value===Us&&(n.value=wC,n.value=n.factory()),typeof n.value=="object"&&n.value&&EC(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{W(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=He(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function nu(e){let t=wa(e),n=t!==null?t.factory:cr(e);if(n!==null)return n;if(e instanceof I)throw new v(204,!1);if(e instanceof Function)return CC(e);throw new v(204,!1)}function CC(e){if(e.length>0)throw new v(204,!1);let n=N0(e);return n!==null?()=>n.factory(e):()=>new e}function bC(e){if(qg(e))return Qr(void 0,e.useValue);{let t=Zg(e);return Qr(t,Us)}}function Zg(e,t,n){let r;if(ii(e)){let i=He(e);return cr(i)||nu(i)}else if(qg(e))r=()=>He(e.useValue);else if(vC(e))r=()=>e.useFactory(...Xc(e.deps||[]));else if(yC(e))r=()=>R(He(e.useExisting));else{let i=He(e&&(e.useClass||e.provide));if(_C(e))r=()=>new i(...Xc(e.deps));else return cr(i)||nu(i)}return r}function Qr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _C(e){return!!e.deps}function EC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function IC(e){return typeof e=="function"||typeof e=="object"&&e instanceof I}function ru(e,t){for(let n of e)Array.isArray(n)?ru(n,t):n&&Ng(n)?ru(n.\u0275providers,t):t(n)}function xt(e,t){e instanceof Wi&&e.assertNotDestroyed();let n,r=An(e),i=We(void 0);try{return t()}finally{An(r),We(i)}}function Yg(){return Rg()!==void 0||z0()!=null}function _a(e){if(!Yg())throw new v(-203,!1)}function SC(e){return typeof e=="function"}var un=0,L=1,P=2,Be=3,It=4,At=5,qi=6,Js=7,je=8,oi=9,Gt=10,Ee=11,Zi=12,qp=13,ci=14,St=15,dr=16,Kr=17,an=18,Ea=19,Qg=20,Nn=21,$s=22,dt=23,Ue=25,Kg=1;var fr=7,Xs=8,si=9,Ve=10,ea=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ea||{});function Rn(e){return Array.isArray(e)&&typeof e[Kg]=="object"}function dn(e){return Array.isArray(e)&&e[Kg]===!0}function ud(e){return(e.flags&4)!==0}function Ia(e){return e.componentOffset>-1}function Sa(e){return(e.flags&1)===1}function Pn(e){return!!e.template}function iu(e){return(e[P]&512)!==0}var ou=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Jg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Kt(){return Xg}function Xg(e){return e.type.prototype.ngOnChanges&&(e.setInput=TC),MC}Kt.ngInherit=!0;function MC(){let e=tm(this),t=e?.current;if(t){let n=e.previous;if(n===ni)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function TC(e,t,n,r,i){let o=this.declaredInputs[r],s=tm(e)||xC(e,{previous:ni,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new ou(c&&c.currentValue,n,l===ni),Jg(e,t,i,n)}var em="__ngSimpleChanges__";function tm(e){return e[em]||null}function xC(e,t){return e[em]=t}var Zp=null;var $t=function(e,t,n){Zp?.(e,t,n)},nm="svg",AC="math";function Wt(e){for(;Array.isArray(e);)e=e[un];return e}function rm(e,t){return Wt(t[e])}function ft(e,t){return Wt(t[e.index])}function dd(e,t){return e.data[t]}function fd(e,t){return e[t]}function Bn(e,t){let n=t[e];return Rn(n)?n:n[un]}function hd(e){return(e[P]&128)===128}function NC(e){return dn(e[Be])}function Fn(e,t){return t==null?null:e[t]}function im(e){e[Kr]=0}function om(e){e[P]&1024||(e[P]|=1024,hd(e)&&Ta(e))}function RC(e,t){for(;e>0;)t=t[ci],e--;return t}function Ma(e){return!!(e[P]&9216||e[dt]?.dirty)}function su(e){e[Gt].changeDetectionScheduler?.notify(8),e[P]&64&&(e[P]|=1024),Ma(e)&&Ta(e)}function Ta(e){e[Gt].changeDetectionScheduler?.notify(0);let t=hr(e);for(;t!==null&&!(t[P]&8192||(t[P]|=8192,!hd(t)));)t=hr(t)}function sm(e,t){if((e[P]&256)===256)throw new v(911,!1);e[Nn]===null&&(e[Nn]=[]),e[Nn].push(t)}function OC(e,t){if(e[Nn]===null)return;let n=e[Nn].indexOf(t);n!==-1&&e[Nn].splice(n,1)}function hr(e){let t=e[Be];return dn(t)?t[Be]:t}var V={lFrame:gm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var am=!1;function PC(){return V.lFrame.elementDepthCount}function FC(){V.lFrame.elementDepthCount++}function kC(){V.lFrame.elementDepthCount--}function lm(){return V.bindingsEnabled}function LC(){return V.skipHydrationRootTNode!==null}function jC(e){return V.skipHydrationRootTNode===e}function VC(){V.skipHydrationRootTNode=null}function Y(){return V.lFrame.lView}function Ae(){return V.lFrame.tView}function Jt(e){return V.lFrame.contextLView=e,e[je]}function Xt(e){return V.lFrame.contextLView=null,e}function Ye(){let e=cm();for(;e!==null&&e.type===64;)e=e.parent;return e}function cm(){return V.lFrame.currentTNode}function BC(){let e=V.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Cr(e,t){let n=V.lFrame;n.currentTNode=e,n.isParent=t}function pd(){return V.lFrame.isParent}function um(){V.lFrame.isParent=!1}function UC(){return V.lFrame.contextLView}function dm(){return am}function Yp(e){am=e}function fm(){let e=V.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $C(){return V.lFrame.bindingIndex}function HC(e){return V.lFrame.bindingIndex=e}function ro(){return V.lFrame.bindingIndex++}function gd(e){let t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zC(){return V.lFrame.inI18n}function GC(e,t){let n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,au(t)}function WC(){return V.lFrame.currentDirectiveIndex}function au(e){V.lFrame.currentDirectiveIndex=e}function qC(e){let t=V.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ZC(){return V.lFrame.currentQueryIndex}function md(e){V.lFrame.currentQueryIndex=e}function YC(e){let t=e[L];return t.type===2?t.declTNode:t.type===1?e[At]:null}function hm(e,t,n){if(n&q.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&q.Host);)if(i=YC(o),i===null||(o=o[ci],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=V.lFrame=pm();return r.currentTNode=t,r.lView=e,!0}function yd(e){let t=pm(),n=e[L];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pm(){let e=V.lFrame,t=e===null?null:e.child;return t===null?gm(e):t}function gm(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function mm(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ym=mm;function vd(){let e=mm();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 QC(e){return(V.lFrame.contextLView=RC(e,V.lFrame.contextLView))[je]}function fn(){return V.lFrame.selectedIndex}function pr(e){V.lFrame.selectedIndex=e}function Dd(){let e=V.lFrame;return dd(e.tView,e.selectedIndex)}function vm(){V.lFrame.currentNamespace=nm}function Dm(){KC()}function KC(){V.lFrame.currentNamespace=null}function JC(){return V.lFrame.currentNamespace}var wm=!0;function xa(){return wm}function Aa(e){wm=e}function XC(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=Xg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Na(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Kr]+=65536),(a>14>16&&(e[P]&3)===t&&(e[P]+=16384,Qp(a,o)):Qp(a,o)}var ei=-1,gr=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function tb(e){return e instanceof gr}function nb(e){return(e.flags&8)!==0}function rb(e){return(e.flags&16)!==0}var Bc={},lu=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ca(r);let i=this.injector.get(t,Bc,r);return i!==Bc||n===Bc?i:this.parentInjector.get(t,n,r)}};function bm(e){return e!==ei}function ta(e){return e&32767}function ib(e){return e>>16}function na(e,t){let n=ib(e),r=t;for(;n>0;)r=r[ci],n--;return r}var cu=!0;function ra(e){let t=cu;return cu=e,t}var ob=256,_m=ob-1,Em=5,sb=0,Ht={};function ab(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Hi)&&(r=n[Hi]),r==null&&(r=n[Hi]=sb++);let i=r&_m,o=1<>Em)]|=o}function ia(e,t){let n=Im(e,t);if(n!==-1)return n;let r=t[L];r.firstCreatePass&&(e.injectorIndex=t.length,Uc(r.data,e),Uc(t,null),Uc(r.blueprint,null));let i=wd(e,t),o=e.injectorIndex;if(bm(i)){let s=ta(i),a=na(i,t),l=a[L].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=i,o}function Uc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Im(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function wd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=Am(i),r===null)return ei;if(n++,i=i[ci],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ei}function uu(e,t,n){ab(e,t,n)}function Sm(e,t,n){if(n&q.Optional||e!==void 0)return e;id(t,"NodeInjector")}function Mm(e,t,n,r){if(n&q.Optional&&r===void 0&&(r=null),!(n&(q.Self|q.Host))){let i=e[oi],o=We(void 0);try{return i?i.get(t,r,n&q.Optional):Og(t,r,n&q.Optional)}finally{We(o)}}return Sm(r,t,n)}function Tm(e,t,n,r=q.Default,i){if(e!==null){if(t[P]&2048&&!(r&q.Self)){let s=db(e,t,n,r,Ht);if(s!==Ht)return s}let o=xm(e,t,n,r,Ht);if(o!==Ht)return o}return Mm(t,n,r,i)}function xm(e,t,n,r,i){let o=cb(n);if(typeof o=="function"){if(!hm(t,e,r))return r&q.Host?Sm(i,n,r):Mm(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&q.Optional))id(n);else return s}finally{ym()}}else if(typeof o=="number"){let s=null,a=Im(e,t),l=ei,c=r&q.Host?t[St][At]:null;for((a===-1||r&q.SkipSelf)&&(l=a===-1?wd(e,t):t[a+8],l===ei||!Jp(r,!1)?a=-1:(s=t[L],a=ta(l),t=na(l,t)));a!==-1;){let u=t[L];if(Kp(o,a,u.data)){let d=lb(a,t,n,s,r,c);if(d!==Ht)return d}l=t[a+8],l!==ei&&Jp(r,t[L].data[a+8]===c)&&Kp(o,a,t)?(s=u,a=ta(l),t=na(l,t)):a=-1}}return i}function lb(e,t,n,r,i,o){let s=t[L],a=s.data[e+8],l=r==null?Ia(a)&&cu:r!=s&&(a.type&3)!==0,c=i&q.Host&&o===a,u=Gs(a,s,n,l,c);return u!==null?mr(t,s,u,a):Ht}function Gs(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,c=e.directiveEnd,u=o>>20,d=r?a:a+u,p=i?a+u:c;for(let h=d;h=l&&m.type===n)return h}if(i){let h=s[l];if(h&&Pn(h)&&h.type===n)return l}return null}function mr(e,t,n,r){let i=e[n],o=t.data;if(tb(i)){let s=i;s.resolving&&j0(L0(o[n]));let a=ra(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?We(s.injectImpl):null,u=hm(e,r,q.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&XC(n,o[n],t)}finally{c!==null&&We(c),ra(a),s.resolving=!1,ym()}}return i}function cb(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Hi)?e[Hi]:void 0;return typeof t=="number"?t>=0?t&_m:ub:t}function Kp(e,t,n){let r=1<>Em)]&r)}function Jp(e,t){return!(e&q.Self)&&!(e&q.Host&&t)}var lr=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tm(this._tNode,this._lView,t,Ca(r),n)}};function ub(){return new lr(Ye(),Y())}function br(e){return Da(()=>{let t=e.prototype.constructor,n=t[Zs]||du(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[Zs]||du(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function du(e){return Mg(e)?()=>{let t=du(He(e));return t&&t()}:cr(e)}function db(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[P]&2048&&!(s[P]&512);){let a=xm(o,s,n,r|q.Self,Ht);if(a!==Ht)return a;let l=o.parent;if(!l){let c=s[Qg];if(c){let u=c.get(n,Ht,r);if(u!==Ht)return u}l=Am(s),s=s[ci]}o=l}return i}function Am(e){let t=e[L],n=t.type;return n===2?t.declTNode:n===1?e[At]:null}function Xp(e,t=null,n=null,r){let i=Nm(e,t,n,r);return i.resolveInjectorInitializers(),i}function Nm(e,t=null,n=null,r,i=new Set){let o=[n||ze,gC(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new Wi(o,t||cd(),r||null,i)}var Mt=class e{static{this.THROW_IF_NOT_FOUND=zi}static{this.NULL=new Ks}static create(t,n){if(Array.isArray(t))return Xp({name:""},n,t,"");{let r=t.name??"";return Xp({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=E({token:e,providedIn:"any",factory:()=>R(Fg)})}static{this.__NG_ELEMENT_ID__=-1}};var fb=new I("");fb.__NG_ELEMENT_ID__=e=>{let t=Ye();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&q.Optional)return null;throw new v(204,!1)};var hb="ngOriginalError";function $c(e){return e[hb]}var Rm=!0,Qe=(()=>{class e{static{this.__NG_ELEMENT_ID__=pb}static{this.__NG_ENV_ID__=n=>n}}return e})(),fu=class extends Qe{constructor(t){super(),this._lView=t}onDestroy(t){return sm(this._lView,t),()=>OC(this._lView,t)}};function pb(){return new fu(Y())}var hn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ce(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}}return e})();var hu=class extends Oe{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Yg()&&(this.destroyRef=g(Qe,{optional:!0})??void 0,this.pendingTasks=g(hn,{optional:!0})??void 0)}emit(t){let n=W(null);try{super.next(t)}finally{W(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let l=t;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof ve&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},pe=hu;function oa(...e){}function Om(e){let t,n;function r(){e=oa;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function eg(e){return queueMicrotask(()=>e()),()=>{e=oa}}var Cd="isAngularZone",sa=Cd+"_ID",gb=0,ue=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Rm}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,vb(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Cd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,mb,oa,oa);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},mb={};function bd(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 yb(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Om(()=>{e.callbackScheduled=!1,pu(e),e.isCheckStableRunning=!0,bd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),pu(e)}function vb(e){let t=()=>{yb(e)},n=gb++;e._inner=e._inner.fork({name:"angular",properties:{[Cd]:!0,[sa]:n,[sa+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(Db(l))return r.invokeTask(o,s,a,l);try{return tg(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ng(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return tg(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!wb(l)&&t(),ng(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,pu(e),bd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function pu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function tg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ng(e){e._nesting--,bd(e)}var aa=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function Db(e){return Pm(e,"__ignore_ng_zone__")}function wb(e){return Pm(e,"__scheduler_tick__")}function Pm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Tt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&$c(t);for(;n&&$c(n);)n=$c(n);return n||null}},Cb=new I("",{providedIn:"root",factory:()=>{let e=g(ue),t=g(Tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),gu=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=g(Tt,{optional:!0}),this.destroyRef=g(Qe),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new v(953,!1);if(this.listeners===null)return;let n=W(null);try{for(let r of this.listeners)try{r(t)}catch(i){this.errorHandler?.handleError(i)}}finally{W(n)}}};function Ra(e){return new gu}function rg(e,t){return Sg(e,t)}function bb(e){return Sg(Ig,e)}var X=(rg.required=bb,rg);function _b(){return ui(Ye(),Y())}function ui(e,t){return new de(ft(e,t))}var de=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=_b}}return e})();function Eb(e){return e instanceof de?e.nativeElement:e}function Ib(){return this._results[Symbol.iterator]()}var mu=class e{get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Ib)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Q0(t);(this._changesDetected=!Y0(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Fm(e){return(e.flags&128)===128}var km=new Map,Sb=0;function Mb(){return Sb++}function Tb(e){km.set(e[Ea],e)}function yu(e){km.delete(e[Ea])}var ig="__ngContext__";function kn(e,t){Rn(t)?(e[ig]=t[Ea],Tb(t)):e[ig]=t}function Lm(e){return Vm(e[Zi])}function jm(e){return Vm(e[It])}function Vm(e){for(;e!==null&&!dn(e);)e=e[It];return e}var vu;function Bm(e){vu=e}function Um(){if(vu!==void 0)return vu;if(typeof document<"u")return document;throw new v(210,!1)}var Oa=new I("",{providedIn:"root",factory:()=>xb}),xb="ng",_d=new I(""),ye=new I("",{providedIn:"platform",factory:()=>"unknown"});var Ed=new I(""),Id=new I("",{providedIn:"root",factory:()=>Um().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Sd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},$m=new I("",{providedIn:"root",factory:()=>Sd});function Ab(){let e=new Pa;return g(ye)==="browser"&&(e.store=Nb(Um(),g(Oa))),e}var Pa=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static{this.\u0275prov=E({token:e,providedIn:"root",factory:Ab})}get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/null;function Md(e,t,n=!1){return Pb(e,t,n)}var Hm=!1,Fb=new I("",{providedIn:"root",factory:()=>Hm});var ks;function kb(){if(ks===void 0&&(ks=null,Qc.trustedTypes))try{ks=Qc.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ks}function Fa(e){return kb()?.createHTML(e)||e}var ln=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Eg})`}},Du=class extends ln{getTypeName(){return"HTML"}},wu=class extends ln{getTypeName(){return"Style"}},Cu=class extends ln{getTypeName(){return"Script"}},bu=class extends ln{getTypeName(){return"URL"}},_u=class extends ln{getTypeName(){return"ResourceURL"}};function Nt(e){return e instanceof ln?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){let n=Lb(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Eg})`)}return n===t}function Lb(e){return e instanceof ln&&e.getTypeName()||null}function zm(e){return new Du(e)}function Gm(e){return new wu(e)}function Wm(e){return new Cu(e)}function qm(e){return new bu(e)}function Zm(e){return new _u(e)}function jb(e){let t=new Iu(e);return Vb()?new Eu(t):t}var Eu=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Fa(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Iu=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Fa(t),n}};function Vb(){try{return!!new window.DOMParser().parseFromString(Fa(""),"text/html")}catch{return!1}}var Bb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ka(e){return e=String(e),e.match(Bb)?e:"unsafe:"+e}function pn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function io(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ym=pn("area,br,col,hr,img,wbr"),Qm=pn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Km=pn("rp,rt"),Ub=io(Km,Qm),$b=io(Qm,pn("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")),Hb=io(Km,pn("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")),og=io(Ym,$b,Hb,Ub),Jm=pn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zb=pn("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"),Gb=pn("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"),Wb=io(Jm,zb,Gb),qb=pn("script,style,template"),Su=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=Qb(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=Yb(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(t){let n=sg(t).toLowerCase();if(!og.hasOwnProperty(n))return this.sanitizedSomething=!0,!qb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let i=0;i"),!0}endElement(t){let n=sg(t).toLowerCase();og.hasOwnProperty(n)&&!Ym.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ag(t))}};function Zb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Yb(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Xm(t);return t}function Qb(e){let t=e.firstChild;if(t&&Zb(e,t))throw Xm(t);return t}function sg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Xm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Kb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jb=/([^\#-~ |!])/g;function ag(e){return e.replace(/&/g,"&").replace(Kb,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Jb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Ls;function ey(e,t){let n=null;try{Ls=Ls||jb(e);let r=t?String(t):"";n=Ls.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ls.getInertBodyElement(r)}while(r!==o);let a=new Su().sanitizeChildren(lg(n)||n);return Fa(a)}finally{if(n){let r=lg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function lg(e){return"content"in e&&Xb(e)?e.content:null}function Xb(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Rt=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}(Rt||{});function Er(e){let t=e_();return t?t.sanitize(Rt.URL,e)||"":_r(e,"URL")?Nt(e):ka(ti(e))}function e_(){let e=Y();return e&&e[Gt].sanitizer}var t_=/^>|^->||--!>|)/g,r_="\u200B$1\u200B";function i_(e){return e.replace(t_,t=>t.replace(n_,r_))}function ty(e){return e instanceof Function?e():e}var cn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cn||{}),o_;function Td(e,t){return o_(e,t)}function Jr(e,t,n,r,i){if(r!=null){let o,s=!1;dn(r)?o=r:Rn(r)&&(s=!0,r=r[un]);let a=Wt(r);e===0&&n!==null?i==null?oy(t,n,a):la(t,n,a,i||null,!0):e===1&&n!==null?la(t,n,a,i||null,!0):e===2?C_(t,a,s):e===3&&t.destroyNode(a),o!=null&&__(t,e,o,n,i)}}function s_(e,t){return e.createText(t)}function a_(e,t,n){e.setValue(t,n)}function l_(e,t){return e.createComment(i_(t))}function ny(e,t,n){return e.createElement(t,n)}function c_(e,t){ry(e,t),t[un]=null,t[At]=null}function u_(e,t,n,r,i,o){r[un]=i,r[At]=t,Va(e,r,n,1,i,o)}function ry(e,t){t[Gt].changeDetectionScheduler?.notify(9),Va(e,t,t[Ee],2,null,null)}function d_(e){let t=e[Zi];if(!t)return Hc(e[L],e);for(;t;){let n=null;if(Rn(t))n=t[Zi];else{let r=t[Ve];r&&(n=r)}if(!n){for(;t&&!t[It]&&t!==e;)Rn(t)&&Hc(t[L],t),t=t[Be];t===null&&(t=e),Rn(t)&&Hc(t[L],t),n=t&&t[It]}t=n}}function f_(e,t,n,r){let i=Ve+r,o=n.length;r>0&&(n[i-1][It]=t),r0&&(e[n-1][It]=r[It]);let o=Qs(e,Ve+t);c_(r[L],r);let s=o[an];s!==null&&s.detachView(o[L]),r[Be]=null,r[It]=null,r[P]&=-129}return r}function La(e,t){if(!(t[P]&256)){let n=t[Ee];n.destroyNode&&Va(e,t,n,3,null,null),d_(t)}}function Hc(e,t){if(t[P]&256)return;let n=W(null);try{t[P]&=-129,t[P]|=256,t[dt]&&os(t[dt]),p_(e,t),h_(e,t),t[L].type===1&&t[Ee].destroy();let r=t[dr];if(r!==null&&dn(t[Be])){r!==t[Be]&&xd(r,t);let i=t[an];i!==null&&i.detachView(e)}yu(t)}finally{W(n)}}function h_(e,t){let n=e.cleanup,r=t[Js];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[Js]=null);let i=t[Nn];if(i!==null){t[Nn]=null;for(let o=0;o-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===zt.None||o===zt.Emulated)return null}return ft(r,n)}}function la(e,t,n,r,i){e.insertBefore(t,n,r,i)}function oy(e,t,n){e.appendChild(t,n)}function cg(e,t,n,r,i){r!==null?la(e,t,n,r,i):oy(e,t,n)}function sy(e,t){return e.parentNode(t)}function y_(e,t){return e.nextSibling(t)}function v_(e,t,n){return w_(e,t,n)}function D_(e,t,n){return e.type&40?ft(e,n):null}var w_=D_,ug;function ja(e,t,n,r){let i=g_(e,r,t),o=t[Ee],s=r.parent||t[At],a=v_(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;lUe&&uy(e,t,Ue,!1),$t(s?2:0,i),n(r,i)}finally{pr(o),$t(s?3:1,i)}}function Nd(e,t,n){if(ud(t)){let r=W(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function R_(e,t,n,r){let i=wy(t);i.push(n),e.firstCreatePass&&Cy(e).push(r,i.length-1)}function O_(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return LC()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function dg(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,l=On.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}e===0?fg(r,n,c,a,l):fg(r,n,c,a)}return r}function fg(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function P_(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],l=null,c=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function V_(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;Ia(n)&&W_(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ia(n,t),kn(r,t);let s=n.initialInputs;for(let a=i;a{Ta(e.lView)},consumerOnSignalRead(){this.lView[dt]=this}});function oE(e){let t=e[dt]??Object.create(sE);return t.lView=e,t}var sE=G(D({},Vr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=hr(e.lView);for(;t&&!My(t[L]);)t=hr(t);t&&om(t)},consumerOnSignalRead(){this.lView[dt]=this}});function My(e){return e.type!==2}var aE=100;function Ty(e,t=!0,n=0){let r=e[Gt],i=r.rendererFactory,o=!1;o||i.begin?.();try{lE(e,n)}catch(s){throw t&&by(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function lE(e,t){let n=dm();try{Yp(!0),Au(e,t);let r=0;for(;Ma(e);){if(r===aE)throw new v(103,!1);r++,Au(e,1)}}finally{Yp(n)}}function cE(e,t,n,r){let i=t[P];if((i&256)===256)return;let o=!1,s=!1;!o&&t[Gt].inlineEffectRunner?.flush(),yd(t);let a=!0,l=null,c=null;o||(My(e)?(c=tE(t),l=Pi(c)):Jh()===null?(a=!1,c=oE(t),l=Pi(c)):t[dt]&&(os(t[dt]),t[dt]=null));try{im(t),HC(e.bindingStartIndex),n!==null&&hy(e,t,n,2,r);let u=(i&3)===3;if(!o)if(u){let h=e.preOrderCheckHooks;h!==null&&Hs(t,h,null)}else{let h=e.preOrderHooks;h!==null&&zs(t,h,0,null),Vc(t,0)}if(s||uE(t),xy(t,0),e.contentQueries!==null&&Dy(e,t),!o)if(u){let h=e.contentCheckHooks;h!==null&&Hs(t,h)}else{let h=e.contentHooks;h!==null&&zs(t,h,1),Vc(t,1)}S_(e,t);let d=e.components;d!==null&&Ny(t,d,0);let p=e.viewQuery;if(p!==null&&xu(2,p,r),!o)if(u){let h=e.viewCheckHooks;h!==null&&Hs(t,h)}else{let h=e.viewHooks;h!==null&&zs(t,h,2),Vc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$s]){for(let h of t[$s])h();t[$s]=null}o||(t[P]&=-73)}catch(u){throw o||Ta(t),u}finally{c!==null&&(rs(c,l),a&&rE(c)),vd()}}function xy(e,t){for(let n=Lm(e);n!==null;n=jm(n))for(let r=Ve;r-1&&(Yi(t,r),Qs(n,r))}this._attachedToViewContainer=!1}La(this._lView[L],this._lView)}onDestroy(t){sm(this._lView,t)}markForCheck(){jd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){su(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Ty(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=iu(this._lView),n=this._lView[dr];n!==null&&!t&&xd(n,this._lView),ry(this._lView[L],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=iu(this._lView),r=this._lView[dr];r!==null&&!n&&iy(r,this._lView),su(this._lView)}},Ki=(()=>{class e{static{this.__NG_ELEMENT_ID__=pE}}return e})(),fE=Ki,hE=class extends fE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let i=$a(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new yr(i)}};function pE(){return za(Ye(),Y())}function za(e,t){return e.type&4?new hE(t,e,ui(e,t)):null}var nj=new RegExp(`^(\\d+)*(${Ob}|${Rb})*(.*)`);var gE=()=>null;function Ji(e,t){return gE(e,t)}var vr=class{},Ga=new I("",{providedIn:"root",factory:()=>!1});var Ry=new I(""),Vd=new I(""),Nu=class{},ua=class{};function mE(e){let t=Error(`No component factory found for ${qe(e)}.`);return t[yE]=e,t}var yE="ngComponent";var Ru=class{resolveComponentFactory(t){throw mE(t)}},ai=class{static{this.NULL=new Ru}},Ln=class{},gn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>vE()}}return e})();function vE(){let e=Y(),t=Ye(),n=Bn(t.index,e);return(Rn(n)?n:e)[Ee]}var DE=(()=>{class e{static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>null})}}return e})();function da(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&ly(e,n,o.join(" "))}}function SE(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static{this.__NG_ELEMENT_ID__=TE}}return e})();function TE(){let e=Ye();return Py(e,Y())}var xE=Ir,Oy=class extends xE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ui(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){let t=wd(this._hostTNode,this._hostLView);if(bm(t)){let n=na(t,this._hostLView),r=ta(t),i=n[L].data[r+8];return new lr(i,n)}else return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Ji(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Qi(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!SC(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?t:new Xi(ur(t)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(Ze,null);y&&(o=y)}let u=ur(l.componentType??{}),d=Ji(this._lContainer,u?.id??null),p=d?.firstChild??null,h=l.create(c,i,p,o);return this.insertImpl(h.hostView,a,Qi(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(NC(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=i[Be],c=new Oy(l,l[At],l[Be]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return Ha(s,i,o,r),t.attachToViewContainerRef(),Pg(zc(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Yi(this._lContainer,n);r&&(Qs(zc(this._lContainer),n),La(r[L],r))}detach(t){let n=this._adjustIndex(t,-1),r=Yi(this._lContainer,n);return r&&Qs(zc(this._lContainer),n)!=null?new yr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pg(e){return e[Xs]}function zc(e){return e[Xs]||(e[Xs]=[])}function Py(e,t){let n,r=t[e.index];return dn(r)?n=r:(n=vy(r,t,null,e),t[e.index]=n,Ua(t,n)),NE(n,t,e,r),new Oy(n,e,t)}function AE(e,t){let n=e[Ee],r=n.createComment(""),i=ft(t,e),o=sy(n,i);return la(n,o,r,y_(n,i),!1),r}var NE=PE,RE=()=>!1;function OE(e,t,n){return RE(e,t,n)}function PE(e,t,n,r){if(e[fr])return;let i;n.type&8?i=Wt(r):i=AE(t,n),e[fr]=i}var Pu=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Fu=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let c=o[a+1],u=t[-l];for(let d=Ve;dt.trim())}function $E(e,t,n){e.queries===null&&(e.queries=new Lu),e.queries.track(new ju(t,n))}function Ly(e,t){return e.queries.getByIndex(t)}function HE(e,t){let n=e[L],r=Ly(n,t);return r.crossesNgTemplate?Vu(n,e,t,[]):Fy(n,e,r,t)}var gg=new Set;function ht(e){gg.has(e)||(gg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function pt(e,t){ht("NgSignals");let n=cp(e),r=n[lt];return t?.equal&&(r.equal=t.equal),n.set=i=>ls(r,i),n.update=i=>up(r,i),n.asReadonly=zE.bind(n),n}function zE(){let e=this[lt];if(e.readonlyFn===void 0){let t=()=>this();t[lt]=e,e.readonlyFn=t}return e.readonlyFn}function Bd(e,t){let n,r=gc(()=>{n._dirtyCounter();let i=YE(n,e);if(t&&i===void 0)throw new v(-951,!1);return i});return n=r[lt],n._dirtyCounter=pt(0),n._flatValue=void 0,r}function GE(){return Bd(!0,!1)}function WE(){return Bd(!0,!0)}function qE(){return Bd(!1,!1)}function ZE(e,t){let n=e[lt];n._lView=Y(),n._queryIndex=t,n._queryList=ky(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function YE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[P]&4)return t?void 0:ze;let i=ky(n,r),o=HE(n,r);return i.reset(o,Eb),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function mg(e,t){return GE()}function QE(e,t){return WE()}var jy=(mg.required=QE,mg);function Wa(e,t){return qE()}function KE(e){return Object.getPrototypeOf(e.prototype).constructor}function Ot(e){let t=KE(e.type),n=!0,r=[e];for(;t;){let i;if(Pn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=js(e.inputs),s.inputTransforms=js(e.inputTransforms),s.declaredInputs=js(e.declaredInputs),s.outputs=js(e.outputs);let a=i.hostBindings;a&&nI(e,a);let l=i.viewQuery,c=i.contentQueries;if(l&&eI(e,l),c&&tI(e,c),JE(e,i),x0(e.outputs,i.outputs),Pn(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Gi(i.hostAttrs,n=Gi(n,i.hostAttrs))}}function js(e){return e===ni?{}:e===ze?[]:e}function eI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function tI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function nI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function so(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}var jn=class{},eo=class{};var Bu=class extends jn{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fa(this);let o=$g(t);this._bootstrapComponents=ty(o.bootstrap),this._r3Injector=Nm(t,n,[{provide:jn,useValue:this},{provide:ai,useValue:this.componentFactoryResolver},...r],qe(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Uu=class extends eo{constructor(t){super(),this.moduleType=t}create(t){return new Bu(this.moduleType,t,[])}};var ha=class extends jn{constructor(t){super(),this.componentFactoryResolver=new fa(this),this.instance=null;let n=new Wi([...t.providers,{provide:jn,useValue:this},{provide:ai,useValue:this.componentFactoryResolver}],t.parent||cd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ud(e,t,n=null){return new ha({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Vy(e,t,n){return e[t]=n}function qt(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function By(e,t,n,r){let i=qt(e,t,n);return qt(e,t+1,r)||i}function rI(e){return(e.flags&32)===32}function iI(e,t,n,r,i,o,s,a,l){let c=t.consts,u=oo(t,e,4,s||null,a||null);Fd(t,n,u,Fn(c,l)),Na(t,u);let d=u.tView=Pd(2,u,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function $u(e,t,n,r,i,o,s,a,l,c){let u=n+Ue,d=t.firstCreatePass?iI(u,t,e,r,i,o,s,a,l):t.data[u];Cr(d,!1);let p=oI(t,e,d,n);xa()&&ja(t,e,p,d),kn(p,e);let h=vy(p,e,p,d);return e[u]=h,Ua(e,h),OE(h,d,e),Sa(d)&&Rd(t,e,d),l!=null&&Od(e,d,c),d}function tt(e,t,n,r,i,o,s,a){let l=Y(),c=Ae(),u=Fn(c.consts,o);return $u(l,c,e,t,n,r,i,u,s,a),tt}var oI=sI;function sI(e,t,n,r){return Aa(!0),t[Ee].createComment("")}var $i=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}($i||{}),aI=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}}return e})(),yg=class e{constructor(){this.ngZone=g(ue),this.scheduler=g(vr),this.errorHandler=g(Tt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[$i.EarlyRead,$i.Write,$i.MixedReadWrite,$i.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}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))}static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}};function gt(e,t,n,r){let i=Y(),o=ro();if(qt(i,o,t)){let s=Ae(),a=Dd();q_(a,i,e,t,n,r)}return gt}function Uy(e,t,n,r){return qt(e,ro(),n)?t+ti(n)+r:et}function lI(e,t,n,r,i,o){let s=$C(),a=By(e,s,n,i);return gd(2),a?t+ti(n)+r+ti(i)+o:et}function Vs(e,t){return e<<17|t<<2}function Dr(e){return e>>17&32767}function cI(e){return(e&2)==2}function uI(e,t){return e&131071|t<<17}function Hu(e){return e|2}function li(e){return(e&131068)>>2}function Gc(e,t){return e&-131069|t<<2}function dI(e){return(e&1)===1}function zu(e){return e|1}function fI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Dr(s),l=li(s);e[r]=n;let c=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||no(d,u)>0)&&(c=!0)}else u=n;if(i)if(l!==0){let p=Dr(e[a+1]);e[r+1]=Vs(p,a),p!==0&&(e[p+1]=Gc(e[p+1],r)),e[a+1]=uI(e[a+1],r)}else e[r+1]=Vs(a,0),a!==0&&(e[a+1]=Gc(e[a+1],r)),a=r;else e[r+1]=Vs(l,0),a===0?a=r:e[l+1]=Gc(e[l+1],r),l=r;c&&(e[r+1]=Hu(e[r+1])),vg(e,u,r,!0),vg(e,u,r,!1),hI(t,u,e,r,o),s=Vs(a,l),o?t.classBindings=s:t.styleBindings=s}function hI(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&no(o,t)>=0&&(n[r+1]=zu(n[r+1]))}function vg(e,t,n,r){let i=e[n+1],o=t===null,s=r?Dr(i):li(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],c=e[s+1];pI(l,t)&&(a=!0,e[s+1]=r?zu(c):Hu(c)),s=r?Dr(c):li(c)}a&&(e[n+1]=r?Hu(i):zu(i))}function pI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?no(e,t)>=0:!1}var Et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gI(e){return e.substring(Et.key,Et.keyEnd)}function mI(e){return yI(e),$y(e,Hy(e,0,Et.textEnd))}function $y(e,t){let n=Et.textEnd;return n===t?-1:(t=Et.keyEnd=vI(e,Et.key=t,n),Hy(e,t,n))}function yI(e){Et.key=0,Et.keyEnd=0,Et.value=0,Et.valueEnd=0,Et.textEnd=e.length}function Hy(e,t,n){for(;t32;)t++;return t}function j(e,t,n){let r=Y(),i=ro();if(qt(r,i,t)){let o=Ae(),s=Dd();gy(o,s,r,e,t,r[Ee],n,!1)}return j}function Gu(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";kd(e,n,o[s],s,r)}function ao(e,t,n){return zy(e,t,n,!1),ao}function en(e,t){return zy(e,t,null,!0),en}function $e(e){wI(SI,DI,e,!0)}function DI(e,t){for(let n=mI(t);n>=0;n=$y(t,n))sd(e,gI(t),!0)}function zy(e,t,n,r){let i=Y(),o=Ae(),s=gd(2);if(o.firstUpdatePass&&Wy(o,e,s,r),t!==et&&qt(i,s,t)){let a=o.data[fn()];qy(o,a,i,i[Ee],e,i[s+1]=TI(t,n),r,s)}}function wI(e,t,n,r){let i=Ae(),o=gd(2);i.firstUpdatePass&&Wy(i,null,o,r);let s=Y();if(n!==et&&qt(s,o,n)){let a=i.data[fn()];if(Zy(a,r)&&!Gy(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=Kc(l,n||"")),Gu(i,a,s,n,r)}else MI(i,a,s,s[Ee],s[o+1],s[o+1]=II(e,t,n),r,o)}}function Gy(e,t){return t>=e.expandoStartIndex}function Wy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[fn()],s=Gy(e,n);Zy(o,r)&&t===null&&!s&&(t=!1),t=CI(i,o,t,r),fI(i,o,t,n,s,r)}}function CI(e,t,n,r){let i=qC(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Wc(null,e,t,n,r),n=to(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Wc(i,e,t,n,r),o===null){let l=bI(e,t,r);l!==void 0&&Array.isArray(l)&&(l=Wc(null,e,t,l[1],r),l=to(l,t.attrs,r),_I(e,t,r,l))}else o=EI(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function bI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(li(r)!==0)return e[Dr(r)]}function _I(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Dr(i)]=r}function EI(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,p=n[i+1];p===et&&(p=d?ze:void 0);let h=d?Lc(p,r):u===r?p:void 0;if(c&&!pa(h)&&(h=Lc(l,r)),pa(h)&&(a=h,s))return a;let m=e[i+1];i=s?Dr(m):li(m)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Lc(l,r))}return a}function pa(e){return e!==void 0}function TI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(Nt(e)))),e}function Zy(e,t){return(e.flags&(t?8:16))!==0}var Wu=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),i=Math.max(t,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(t,n){this.attach(n,this.detach(t))}};function qc(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function xI(e,t,n){let r,i,o=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let c=e.at(o),u=t[o],d=qc(o,c,o,u,n);if(d!==0){d<0&&e.updateValue(o,u),o++;continue}let p=e.at(s),h=t[l],m=qc(s,p,l,h,n);if(m!==0){m<0&&e.updateValue(s,h),s--,l--;continue}let y=n(o,c),w=n(s,p),S=n(o,u);if(Object.is(S,w)){let F=n(l,h);Object.is(F,y)?(e.swap(o,s),e.updateValue(s,h),l--,s--):e.move(s,o),e.updateValue(o,u),o++;continue}if(r??=new ga,i??=Cg(e,o,s,n),qu(e,r,o,S))e.updateValue(o,u),o++,s++;else if(i.has(S))r.set(y,e.detach(o)),s--;else{let F=e.create(o,t[o]);e.attach(o,F),o++,s++}}for(;o<=l;)wg(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let u=e.at(o),d=c.value,p=qc(o,u,o,d,n);if(p!==0)p<0&&e.updateValue(o,d),o++,c=l.next();else{r??=new ga,i??=Cg(e,o,s,n);let h=n(o,d);if(qu(e,r,o,h))e.updateValue(o,d),o++,s++,c=l.next();else if(!i.has(h))e.attach(o,e.create(o,d)),o++,s++,c=l.next();else{let m=n(o,u);r.set(m,e.detach(o)),s--}}}for(;!c.done;)wg(e,r,n,e.length,c.value),c=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function qu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function wg(e,t,n,r,i){if(qu(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Cg(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var ga=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}};function Un(e,t){ht("NgControlFlow");let n=Y(),r=ro(),i=n[r]!==et?n[r]:-1,o=i!==-1?ma(n,Ue+i):void 0,s=0;if(qt(n,r,e)){let a=W(null);try{if(o!==void 0&&Iy(o,s),e!==-1){let l=Ue+e,c=ma(n,l),u=Ku(n[L],l),d=Ji(c,u.tView.ssrId),p=$a(n,u,t,{dehydratedView:d});Ha(c,p,s,Qi(u,d))}}finally{W(a)}}else if(o!==void 0){let a=Ey(o,s);a!==void 0&&(a[je]=t)}}var Zu=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ve}};function qa(e,t){return t}var Yu=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Pt(e,t,n,r,i,o,s,a,l,c,u,d,p){ht("NgControlFlow");let h=Y(),m=Ae(),y=l!==void 0,w=Y(),S=a?s.bind(w[St][je]):s,F=new Yu(y,S);w[Ue+e]=F,$u(h,m,e+1,t,n,r,i,Fn(m.consts,o)),y&&$u(h,m,e+2,l,c,u,d,Fn(m.consts,p))}var Qu=class extends Wu{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ve}at(t){return this.getLView(t)[je].$implicit}attach(t,n){let r=n[qi];this.needsIndexUpdate||=t!==this.length,Ha(this.lContainer,n,t,Qi(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,AI(this.lContainer,t)}create(t,n){let r=Ji(this.lContainer,this.templateTNode.tView.ssrId),i=$a(this.hostLView,this.templateTNode,new Zu(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){La(t[L],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[je].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Aa(!0),ny(r,i,JC()));function PI(e,t,n,r,i){let o=t.consts,s=Fn(o,r),a=oo(t,e,8,"ng-container",s);s!==null&&da(a,s,!0);let l=Fn(o,i);return Fd(t,n,a,l),t.queries!==null&&t.queries.elementStart(t,a),a}function Yy(e,t,n){let r=Y(),i=Ae(),o=e+Ue,s=i.firstCreatePass?PI(o,i,r,t,n):i.data[o];Cr(s,!0);let a=FI(i,r,s,e);return r[o]=a,xa()&&ja(i,r,a,s),kn(a,r),Sa(s)&&(Rd(i,r,s),Nd(i,s,r)),n!=null&&Od(r,s),Yy}function Qy(){let e=Ye(),t=Ae();return pd()?um():(e=e.parent,Cr(e,!1)),t.firstCreatePass&&(Na(t,e),ud(e)&&t.queries.elementEnd(e)),Qy}function Za(e,t,n){return Yy(e,t,n),Qy(),Za}var FI=(e,t,n,r)=>(Aa(!0),l_(t[Ee],""));function mn(){return Y()}var ya="en-US";var kI=ya;function LI(e){typeof e=="string"&&(kI=e.toLowerCase().replace(/_/g,"-"))}var jI=(e,t,n)=>{};function Ne(e,t,n,r){let i=Y(),o=Ae(),s=Ye();return BI(o,i,i[Ee],s,e,t,r),Ne}function VI(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function BI(e,t,n,r,i,o,s){let a=Sa(r),c=e.firstCreatePass&&Cy(e),u=t[je],d=wy(t),p=!0;if(r.type&3||s){let y=ft(r,t),w=s?s(y):y,S=d.length,F=s?Q=>s(Wt(Q[r.index])):r.index,O=null;if(!s&&a&&(O=VI(e,t,i,r.index)),O!==null){let Q=O.__ngLastListenerFn__||O;Q.__ngNextListenerFn__=o,O.__ngLastListenerFn__=o,p=!1}else{o=_g(r,t,u,o),jI(y,i,o);let Q=n.listen(w,i,o);d.push(o,Q),c&&c.push(i,F,S,S+1)}}else o=_g(r,t,u,o);let h=r.outputs,m;if(p&&h!==null&&(m=h[i])){let y=m.length;if(y)for(let w=0;w-1?Bn(e.index,t):t;jd(s,5);let a=bg(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=bg(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Se(e=1){return QC(e)}function lo(e,t,n){return Ky(e,"",t,"",n),lo}function Ky(e,t,n,r,i){let o=Y(),s=Uy(o,t,n,r);if(s!==et){let a=Ae(),l=Dd();gy(a,l,o,e,s,o[Ee],i,!1)}return Ky}function co(e,t,n,r){ZE(e,BE(t,n,r))}function Ya(e=1){md(ZC()+e)}function UI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Jy(e){let t=UC();return fd(t,Ue+e)}function f(e,t=""){let n=Y(),r=Ae(),i=e+Ue,o=r.firstCreatePass?oo(r,i,1,t,null):r.data[i],s=$I(r,n,o,t,e);n[i]=s,xa()&&ja(r,n,s,o),Cr(o,!1)}var $I=(e,t,n,r,i)=>(Aa(!0),s_(t[Ee],r));function $d(e){return Re("",e,""),$d}function Re(e,t,n){let r=Y(),i=Uy(r,e,t,n);return i!==et&&_y(r,fn(),i),Re}function Hd(e,t,n,r,i){let o=Y(),s=lI(o,e,t,n,r,i);return s!==et&&_y(o,fn(),s),Hd}function HI(e,t,n){let r=Ae();if(r.firstCreatePass){let i=Pn(e);Ju(n,r.data,r.blueprint,i,!0),Ju(t,r.data,r.blueprint,i,!1)}}function Ju(e,t,n,r,i){if(e=He(e),Array.isArray(e))for(let o=0;o>20;if(ii(e)||!e.multi){let h=new gr(c,i,ne),m=Yc(l,t,i?u:u+p,d);m===-1?(uu(ia(a,s),o,l),Zc(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[m]=h,s[m]=h)}else{let h=Yc(l,t,u+p,d),m=Yc(l,t,u,u+p),y=h>=0&&n[h],w=m>=0&&n[m];if(i&&!w||!i&&!y){uu(ia(a,s),o,l);let S=WI(i?GI:zI,n.length,i,r,c);!i&&w&&(n[m].providerFactory=S),Zc(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Xy(n[i?m:h],c,!i&&r);Zc(o,e,h>-1?h:m,S)}!i&&r&&w&&n[m].componentProviders++}}}function Zc(e,t,n,r){let i=ii(t),o=DC(t);if(i||o){let l=(o?He(t.useClass):t).prototype.ngOnDestroy;if(l){let c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let u=c.indexOf(n);u===-1?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yc(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>HI(r,i?i(e):e,t)}}var qI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Gg(!1,n.type),i=r.length>0?Ud([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(R(Ze))})}}return e})();function ae(e){ht("NgStandalone"),e.getStandaloneInjector=t=>t.get(qI).getOrCreateStandaloneInjector(e)}function ev(e,t){let n=e[t];return n===et?void 0:n}function ZI(e,t,n,r,i,o){let s=t+n;return qt(e,s,i)?Vy(e,s+1,o?r.call(o,i):r(i)):ev(e,s+1)}function YI(e,t,n,r,i,o,s){let a=t+n;return By(e,a,i,o)?Vy(e,a+2,s?r.call(s,i,o):r(i,o)):ev(e,a+2)}function re(e,t){let n=Ae(),r,i=e+Ue;n.firstCreatePass?(r=QI(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=cr(r.type,!0)),s,a=We(ne);try{let l=ra(!1),c=o();return ra(l),UI(n,Y(),i,c),c}finally{We(a)}}function QI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function kt(e,t,n){let r=e+Ue,i=Y(),o=fd(i,r);return tv(i,r)?ZI(i,fm(),t,o.transform,n,o):o.transform(n)}function be(e,t,n,r){let i=e+Ue,o=Y(),s=fd(o,i);return tv(o,i)?YI(o,fm(),t,s.transform,n,r,s):s.transform(n,r)}function tv(e,t){return e[L].data[t].pure}function nv(e,t){return za(e,t)}var Qa=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var rv=new I("");function Sr(e){return!!e&&typeof e.then=="function"}function iv(e){return!!e&&typeof e.subscribe=="function"}var ov=new I(""),sv=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=g(ov,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(Sr(o))n.push(o);else if(iv(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ka=new I("");function KI(){lp(()=>{throw new v(600,!1)})}function JI(e){return e.isBoundToModule}var XI=10;function eS(e,t,n){try{let r=n();return Sr(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var $n=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Cb),this.afterRenderManager=g(aI),this.zonelessEnabled=g(Ga),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Oe,this.afterTick=new Oe,this.componentTypes=[],this.components=[],this.isStable=g(hn).hasPendingTasks.pipe(k(n=>!n)),this._injector=g(Ze)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof ua;if(!this._injector.get(sv).done){let p=!i&&Ug(n),h=!1;throw new v(405,h)}let s;i?s=n:s=this._injector.get(ai).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=JI(s)?void 0:this._injector.get(jn),l=r||s.selector,c=s.create(Mt.NULL,[],l,a),u=c.location.nativeElement,d=c.injector.get(rv,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ws(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new v(101,!1);let n=W(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,W(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ln,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Ma(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ws(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Ka,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ws(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ws(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function tS(e,t,n,r){if(!n&&!Ma(e))return;Ty(e,t,n&&!r?0:1)}var ed=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},zd=(()=>{class e{compileModuleSync(n){return new Uu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=$g(n),o=ty(i.declarations).reduce((s,a)=>{let l=ur(a);return l&&s.push(new Xi(l)),s},[]);return new ed(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var nS=(()=>{class e{constructor(){this.zone=g(ue),this.changeDetectionScheduler=g(vr),this.applicationRef=g($n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function rS({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ue(G(D({},iS()),{scheduleInRootZone:n})),[{provide:ue,useFactory:e},{provide:ri,multi:!0,useFactory:()=>{let r=g(nS,{optional:!0});return()=>r.initialize()}},{provide:ri,multi:!0,useFactory:()=>{let r=g(oS);return()=>{r.initialize()}}},t===!0?{provide:Ry,useValue:!0}:[],{provide:Vd,useValue:n??Rm}]}function iS(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var oS=(()=>{class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=g(ue),this.pendingTasks=g(hn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var av=(()=>{class e{constructor(){this.appRef=g($n),this.taskService=g(hn),this.ngZone=g(ue),this.zonelessEnabled=g(Ga),this.disableScheduling=g(Ry,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(sa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Vd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof aa||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?eg:Om;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.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(sa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function lv(){return ht("NgZoneless"),Vn([{provide:vr,useExisting:av},{provide:ue,useClass:aa},{provide:Ga,useValue:!0},{provide:Vd,useValue:!1},[]])}function sS(){return typeof $localize<"u"&&$localize.locale||ya}var Gd=new I("",{providedIn:"root",factory:()=>g(Gd,q.Optional|q.SkipSelf)||sS()});var td=new I("");function Bs(e){return!e.moduleRef}function aS(e){let t=Bs(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ue);return n.run(()=>{Bs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Tt,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Bs(e)){let o=()=>t.destroy(),s=e.platformInjector.get(td);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(td);s.add(o),e.moduleRef.onDestroy(()=>{Ws(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return eS(r,n,()=>{let o=t.get(sv);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Gd,ya);if(LI(s||ya),Bs(e)){let a=t.get($n);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return lS(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function lS(e,t){let n=e.injector.get($n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var qs=null;function cS(e=[],t){return Mt.create({name:t,providers:[{provide:ba,useValue:"platform"},{provide:td,useValue:new Set([()=>qs=null])},...e]})}function uS(e=[]){if(qs)return qs;let t=cS(e);return qs=t,KI(),dS(t),t}function dS(e){e.get(_d,null)?.forEach(n=>n())}var mt=(()=>{class e{static{this.__NG_ELEMENT_ID__=fS}}return e})();function fS(e){return hS(Ye(),Y(),(e&16)===16)}function hS(e,t,n){if(Ia(e)&&!n){let r=Bn(e.index,t);return new yr(r,r)}else if(e.type&175){let r=t[St];return new yr(r,t)}return null}function cv(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=uS(r),o=[rS({}),{provide:vr,useExisting:av},...n||[]],s=new ha({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return aS({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}function yn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Wd(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function vn(e,t){ht("NgSignals");let n=gc(e);return t?.equal&&(n[lt].equal=t.equal),n}function tn(e){let t=W(null);try{return e()}finally{W(t)}}var pS=new I("",{providedIn:"root",factory:()=>g(gS)}),gS=(()=>{class e{static{this.\u0275prov=E({token:e,providedIn:"root",factory:()=>new nd})}}return e})(),nd=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(hn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},rd=class{constructor(t,n,r,i,o,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=o,this.watcher=dp(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Tt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Lt(e,t){ht("NgSignals"),!t?.injector&&_a(Lt);let n=t?.injector??g(Mt),r=t?.manualCleanup!==!0?n.get(Qe):null,i=new rd(n.get(pS),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),o=n.get(mt,null,{optional:!0});return!o||!(o._lView[P]&8)?i.watcher.notify():(o._lView[$s]??=[]).push(i.watcher.notify),i}var fv=null;function Dn(){return fv}function hv(e){fv??=e}var Ja=class{};var le=new I(""),pv=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(vS),providedIn:"platform"})}}return e})();var vS=(()=>{class e extends pv{constructor(){super(),this._doc=g(le),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dn().getBaseHref(this._doc)}onPopState(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function gv(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function uv(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Mr(e){return e&&e[0]!=="?"?"?"+e:e}var Xa=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(mv),providedIn:"root"})}}return e})(),DS=new I(""),mv=(()=>{class e extends Xa{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return gv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Mr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Mr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Mr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(R(pv),R(DS,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var uo=(()=>{class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=bS(uv(dv(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Mr(r))}normalize(n){return e.stripTrailingSlash(CS(this._basePath,dv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=Mr}static{this.joinWithSlash=gv}static{this.stripTrailingSlash=uv}static{this.\u0275fac=function(r){return new(r||e)(R(Xa))}}static{this.\u0275prov=E({token:e,factory:()=>wS(),providedIn:"root"})}}return e})();function wS(){return new uo(R(Xa))}function CS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function dv(e){return e.replace(/\/index.html$/,"")}function bS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function el(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var yv=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static{this.\u0275fac=function(r){return new(r||e)(ne(Ir))}}static{this.\u0275dir=De({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Kt]})}}return e})();function _S(e,t){return new v(2100,!1)}var vv=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw _S(e,n);return n.toUpperCase()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Qt({name:"uppercase",type:e,pure:!0,standalone:!0})}}return e})();var Zd="browser",ES="server";function fo(e){return e===Zd}function nt(e){return e===ES}var di=class{};var Dv=e=>e.src,IS=new I("",{providedIn:"root",factory:()=>Dv});var SS=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),MS=(()=>{class e{constructor(){this.preloadedImages=g(SS),this.document=g(le)}createPreloadLinkTag(n,r,i,o){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),o&&n.setAttribute(s,"imageSizes",o),i&&n.setAttribute(s,"imageSrcset",i),n.appendChild(this.document.head,s)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var TS=/^((\s*\d+w\s*(,|$)){1,})$/;var xS=[1,2],AS=640;var NS=1920,RS=1080;var yt=(()=>{class e{constructor(){this.imageLoader=g(IS),this.config=OS(g($m)),this.renderer=g(gn),this.imgElement=g(de).nativeElement,this.injector=g(Mt),this.isServer=nt(g(ye)),this.preloadLinkCreator=g(MS),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){ht("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&r&&i&&r!==i&&this.injector.get(ue).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,i)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=TS.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(o=>o>=AS)),r.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return xS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>NS||this.height>RS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Dv&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(mt);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(n,"load",r),o=this.renderer.listen(n,"error",r);PS(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,i){r&2&&ao("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",FS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Wd],height:[2,"height","height",Wd],loading:"loading",priority:[2,"priority","priority",yn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",yn],fill:[2,"fill","fill",yn],placeholder:[2,"placeholder","placeholder",kS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[so,Kt]})}}return e})();function OS(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Sd,e,t)}function PS(e,t){e.complete&&e.naturalWidth&&t()}function FS(e){return typeof e=="string"?e:Nt(e)}function kS(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:yn(e)}var po=class{},nl=class{},wn=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Qd=class{encodeKey(t){return wv(t)}encodeValue(t){return wv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function VS(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}var BS=/%(\d[a-f0-9])/gi,US={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wv(e){return encodeURIComponent(e).replace(BS,(t,n)=>US[n]??t)}function tl(e){return`${e}`}var zn=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Qd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=VS(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map(tl):[tl(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(tl(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(tl(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Kd=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $S(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function bv(e){return typeof Blob<"u"&&e instanceof Blob}function _v(e){return typeof FormData<"u"&&e instanceof FormData}function HS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ho=class e{constructor(t,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if($S(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new wn,this.context??=new Kd,!this.params)this.params=new zn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),l=a===-1?"?":ap.set(h,t.setHeaders[h]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((p,h)=>p.set(h,t.setParams[h]),u)),new e(n,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},Gn=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}(Gn||{}),go=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new wn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},rl=class e extends go{constructor(t={}){super(t),this.type=Gn.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},mo=class e extends go{constructor(t={}){super(t),this.type=Gn.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Hn=class extends go{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Mv=200,zS=204;function Yd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var ef=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof ho)o=n;else{let l;i.headers instanceof wn?l=i.headers:l=new wn(i.headers);let c;i.params&&(i.params instanceof zn?c=i.params:c=new zn({fromObject:i.params})),o=new ho(n,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=x(o).pipe(Tn(l=>this.handler.handle(l)));if(n instanceof ho||i.observe==="events")return s;let a=s.pipe(_e(l=>l instanceof mo));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Yd(i,r))}post(n,r,i={}){return this.request("POST",n,Yd(i,r))}put(n,r,i={}){return this.request("PUT",n,Yd(i,r))}static{this.\u0275fac=function(r){return new(r||e)(R(po))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),GS=/^\)\]\}',?\n/,WS="X-Request-URL";function Ev(e){if(e.url)return e.url;let t=WS.toLocaleLowerCase();return e.headers.get(t)}var qS=(()=>{class e{constructor(){this.fetchImpl=g(Jd,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=g(ue)}handle(n){return new $(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(Xd,o=>r.error(new Hn({error:o}))),()=>i.abort()})}async doRequest(n,r,i){let o=this.createRequestInit(n),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:r},o)));ZS(h),i.next({type:Gn.Sent}),s=await h}catch(h){i.error(new Hn({error:h,status:h.status??0,statusText:h.statusText,url:n.urlWithParams,headers:h.headers}));return}let a=new wn(s.headers),l=s.statusText,c=Ev(s)??n.urlWithParams,u=s.status,d=null;if(n.reportProgress&&i.next(new rl({headers:a,status:u,statusText:l,url:c})),s.body){let h=s.headers.get("content-length"),m=[],y=s.body.getReader(),w=0,S,F,O=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:we,value:J}=await y.read();if(we)break;if(m.push(J),w+=J.length,n.reportProgress){F=n.responseType==="text"?(F??"")+(S??=new TextDecoder).decode(J,{stream:!0}):void 0;let ce=()=>i.next({type:Gn.DownloadProgress,total:h?+h:void 0,loaded:w,partialText:F});O?O.run(ce):ce()}}});let Q=this.concatChunks(m,w);try{let we=s.headers.get("Content-Type")??"";d=this.parseBody(n,Q,we)}catch(we){i.error(new Hn({error:we,headers:new wn(s.headers),status:s.status,statusText:s.statusText,url:Ev(s)??n.urlWithParams}));return}}u===0&&(u=d?Mv:0),u>=200&&u<300?(i.next(new mo({body:d,headers:a,status:u,statusText:l,url:c})),i.complete()):i.error(new Hn({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(GS,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),Jd=class{};function Xd(){}function ZS(e){e.then(Xd,Xd)}function YS(e,t){return t(e)}function QS(e,t,n){return(r,i)=>xt(n,()=>t(r,o=>e(o,i)))}var Tv=new I(""),KS=new I(""),JS=new I("",{providedIn:"root",factory:()=>!0});var Iv=(()=>{class e extends po{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=g(hn),this.contributeToStability=g(JS)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Tv),...this.injector.get(KS,[])]));this.chain=r.reduceRight((i,o)=>QS(i,o,this.injector),YS)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ar(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(R(nl),R(Ze))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var XS=/^\)\]\}',?\n/;function eM(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Sv=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?oe(r.\u0275loadImpl()):x(null)).pipe(Pe(()=>new $(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,w)=>s.setRequestHeader(y,w.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",w=new wn(s.getAllResponseHeaders()),S=eM(s)||n.url;return l=new rl({headers:w,status:s.status,statusText:y,url:S}),l},u=()=>{let{headers:y,status:w,statusText:S,url:F}=c(),O=null;w!==zS&&(O=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=O?Mv:0);let Q=w>=200&&w<300;if(n.responseType==="json"&&typeof O=="string"){let we=O;O=O.replace(XS,"");try{O=O!==""?JSON.parse(O):null}catch(J){O=we,Q&&(Q=!1,O={error:J,text:O})}}Q?(o.next(new mo({body:O,headers:y,status:w,statusText:S,url:F||void 0})),o.complete()):o.error(new Hn({error:O,headers:y,status:w,statusText:S,url:F||void 0}))},d=y=>{let{url:w}=c(),S=new Hn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(S)},p=!1,h=y=>{p||(o.next(c()),p=!0);let w={type:Gn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),n.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},m=y=>{let w={type:Gn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Gn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(R(di))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),xv=new I(""),tM="XSRF-TOKEN",nM=new I("",{providedIn:"root",factory:()=>tM}),rM="X-XSRF-TOKEN",iM=new I("",{providedIn:"root",factory:()=>rM}),il=class{},oM=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=el(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(R(le),R(ye),R(nM))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function sM(e,t){let n=e.url.toLowerCase();if(!g(xv)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=g(il).getToken(),i=g(iM);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}function Av(...e){let t=[ef,Sv,Iv,{provide:po,useExisting:Iv},{provide:nl,useFactory:()=>g(qS,{optional:!0})??g(Sv)},{provide:Tv,useValue:sM,multi:!0},{provide:xv,useValue:!0},{provide:il,useClass:oM}];for(let n of e)t.push(...n.\u0275providers);return Vn(t)}var rf=class extends Ja{constructor(){super(...arguments),this.supportsDOMEvents=!0}},of=class e extends rf{static makeCurrent(){hv(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=lM();return n==null?null:cM(n)}resetBaseElement(){yo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return el(document.cookie,t)}},yo=null;function lM(){return yo=yo||document.querySelector("base"),yo?yo.getAttribute("href"):null}function cM(e){return new URL(e,document.baseURI).pathname}var uM=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),sf=new I(""),Ov=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(R(sf),R(ue))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),ol=class{constructor(t){this._doc=t}},tf="ng-app-id",Pv=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nt(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${tf}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(tf),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(tf,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(R(le),R(Oa),R(Id,8),R(ye))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),nf={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"},lf=/%COMP%/g,Fv="%COMP%",dM=`_nghost-${Fv}`,fM=`_ngcontent-${Fv}`,hM=!0,pM=new I("",{providedIn:"root",factory:()=>hM});function gM(e){return fM.replace(lf,e)}function mM(e){return dM.replace(lf,e)}function kv(e,t){return t.map(n=>n.replace(lf,e))}var sl=(()=>{class e{constructor(n,r,i,o,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=nt(a),this.defaultRenderer=new vo(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===zt.ShadowDom&&(r=G(D({},r),{encapsulation:zt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof al?i.applyToHost(n):i instanceof Do&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case zt.Emulated:o=new al(l,c,r,this.appId,u,s,a,d);break;case zt.ShadowDom:return new af(l,c,n,r,s,a,this.nonce,d);default:o=new Do(l,c,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(R(Ov),R(Pv),R(Oa),R(pM),R(le),R(ye),R(ue),R(Id))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),vo=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(nf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Nv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Nv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=nf[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=nf[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(cn.DashCase|cn.Important)?t.style.setProperty(n,r,i&cn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&cn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Dn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Nv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var af=class extends vo{constructor(t,n,r,i,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=kv(i.id,i.styles);for(let u of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Do=class extends vo{constructor(t,n,r,i,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?kv(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},al=class extends Do{constructor(t,n,r,i,o,s,a,l){let c=i+"-"+r.id;super(t,n,r,o,s,a,l,c),this.contentAttr=gM(c),this.hostAttr=mM(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},yM=(()=>{class e extends ol{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(R(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),Rv=["alt","control","meta","shift"],vM={"\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"},DM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},wM=(()=>{class e extends ol{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Rv.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=vM[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Rv.forEach(s=>{if(s!==i){let a=DM[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(R(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function Lv(e,t){return cv(D({rootComponent:e},CM(t)))}function CM(e){return{appProviders:[...SM,...e?.providers??[]],platformProviders:IM}}function bM(){of.makeCurrent()}function _M(){return new Tt}function EM(){return Bm(document),document}var IM=[{provide:ye,useValue:Zd},{provide:_d,useValue:bM,multi:!0},{provide:le,useFactory:EM,deps:[]}];var SM=[{provide:ba,useValue:"root"},{provide:Tt,useFactory:_M,deps:[]},{provide:sf,useClass:yM,multi:!0,deps:[le,ue,ye]},{provide:sf,useClass:wM,multi:!0,deps:[le]},sl,Pv,Ov,{provide:Ln,useExisting:sl},{provide:di,useClass:uM,deps:[]},[]];var jv=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(R(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var cf=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=R(MM),i},providedIn:"root"})}}return e})(),MM=(()=>{class e extends cf{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Rt.NONE:return r;case Rt.HTML:return _r(r,"HTML")?Nt(r):ey(this._doc,String(r)).toString();case Rt.STYLE:return _r(r,"Style")?Nt(r):r;case Rt.SCRIPT:if(_r(r,"Script"))return Nt(r);throw new v(5200,!1);case Rt.URL:return _r(r,"URL")?Nt(r):ka(String(r));case Rt.RESOURCE_URL:if(_r(r,"ResourceURL"))return Nt(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return zm(n)}bypassSecurityTrustStyle(n){return Gm(n)}bypassSecurityTrustScript(n){return Wm(n)}bypassSecurityTrustUrl(n){return qm(n)}bypassSecurityTrustResourceUrl(n){return Zm(n)}static{this.\u0275fac=function(r){return new(r||e)(R(le))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Z=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Z||{}),nn="*";function Vv(e,t=null){return{type:Z.Sequence,steps:e,options:t}}function uf(e){return{type:Z.Style,styles:e,offset:null}}var Wn=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wo=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ll="!";function Bv(e){return new v(3e3,!1)}function xM(){return new v(3100,!1)}function AM(){return new v(3101,!1)}function NM(e){return new v(3001,!1)}function RM(e){return new v(3003,!1)}function OM(e){return new v(3004,!1)}function PM(e,t){return new v(3005,!1)}function FM(){return new v(3006,!1)}function kM(){return new v(3007,!1)}function LM(e,t){return new v(3008,!1)}function jM(e){return new v(3002,!1)}function VM(e,t,n,r,i){return new v(3010,!1)}function BM(){return new v(3011,!1)}function UM(){return new v(3012,!1)}function $M(){return new v(3200,!1)}function HM(){return new v(3202,!1)}function zM(){return new v(3013,!1)}function GM(e){return new v(3014,!1)}function WM(e){return new v(3015,!1)}function qM(e){return new v(3016,!1)}function ZM(e,t){return new v(3404,!1)}function YM(e){return new v(3502,!1)}function QM(e){return new v(3503,!1)}function KM(){return new v(3300,!1)}function JM(e){return new v(3504,!1)}function XM(e){return new v(3301,!1)}function eT(e,t){return new v(3302,!1)}function tT(e){return new v(3303,!1)}function nT(e,t){return new v(3400,!1)}function rT(e){return new v(3401,!1)}function iT(e){return new v(3402,!1)}function oT(e,t){return new v(3505,!1)}function qn(e){switch(e.length){case 0:return new Wn;case 1:return e[0];default:return new wo(e)}}function eD(e,t,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((p,h)=>{let m=h,y=p;if(h!=="offset")switch(m=e.normalizePropertyName(m,i),y){case ll:y=n.get(h);break;case nn:y=r.get(h);break;default:y=e.normalizeStyleValue(h,m,y,i);break}d.set(m,y)}),u||o.push(d),a=d,s=c}),i.length)throw YM(i);return o}function Of(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&df(n,"start",e)));break;case"done":e.onDone(()=>r(n&&df(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&df(n,"destroy",e)));break}}function df(e,t,n){let r=n.totalTime,i=!!n.disabled,o=Pf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,r??e.totalTime,i),s=e._data;return s!=null&&(o._data=s),o}function Pf(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function it(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function Uv(e){let t=e.indexOf(":"),n=e.substring(1,t),r=e.slice(t+1);return[n,r]}var sT=typeof document>"u"?null:document.documentElement;function Ff(e){let t=e.parentNode||e.host||null;return t===sT?null:t}function aT(e){return e.substring(1,6)=="ebkit"}var Tr=null,$v=!1;function lT(e){Tr||(Tr=cT()||{},$v=Tr.style?"WebkitAppearance"in Tr.style:!1);let t=!0;return Tr.style&&!aT(e)&&(t=e in Tr.style,!t&&$v&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Tr.style)),t}function cT(){return typeof document<"u"?document.body:null}function tD(e,t){for(;t;){if(t===e)return!0;t=Ff(t)}return!1}function nD(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let r=e.querySelector(t);return r?[r]:[]}var kf=(()=>{class e{validateStyleProperty(n){return lT(n)}containsElement(n,r){return tD(n,r)}getParentElement(n){return Ff(n)}query(n,r,i){return nD(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Wn(i,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),Nr=class{static{this.NOOP=new kf}},Rr=class{};var uT=1e3,rD="{{",dT="}}",iD="ng-enter",yf="ng-leave",cl="ng-trigger",pl=".ng-trigger",Hv="ng-animating",vf=".ng-animating";function Cn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Df(parseFloat(t[1]),t[2])}function Df(e,t){switch(t){case"s":return e*uT;default:return e}}function gl(e,t,n){return e.hasOwnProperty("duration")?e:fT(e,t,n)}function fT(e,t,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof e=="string"){let a=e.match(r);if(a===null)return t.push(Bv(e)),{duration:0,delay:0,easing:""};i=Df(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Df(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=e;if(!n){let a=!1,l=t.length;i<0&&(t.push(xM()),a=!0),o<0&&(t.push(AM()),a=!0),a&&t.splice(l,0,Bv(e))}return{duration:i,delay:o,easing:s}}function hT(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function rn(e,t,n){t.forEach((r,i)=>{let o=Lf(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function Ar(e,t){t.forEach((n,r)=>{let i=Lf(r);e.style[i]=""})}function Co(e){return Array.isArray(e)?e.length==1?e[0]:Vv(e):e}function pT(e,t,n){let r=t.params||{},i=oD(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(NM(o))})}var wf=new RegExp(`${rD}\\s*(.+?)\\s*${dT}`,"g");function oD(e){let t=[];if(typeof e=="string"){let n;for(;n=wf.exec(e);)t.push(n[1]);wf.lastIndex=0}return t}function _o(e,t,n){let r=`${e}`,i=r.replace(wf,(o,s)=>{let a=t[s];return a==null&&(n.push(RM(s)),a=""),a.toString()});return i==r?e:i}var gT=/-+([a-z0-9])/g;function Lf(e){return e.replace(gT,(...t)=>t[1].toUpperCase())}function mT(e,t){return e===0||t===0}function yT(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,jf(e,a)))}}return t}function rt(e,t,n){switch(t.type){case Z.Trigger:return e.visitTrigger(t,n);case Z.State:return e.visitState(t,n);case Z.Transition:return e.visitTransition(t,n);case Z.Sequence:return e.visitSequence(t,n);case Z.Group:return e.visitGroup(t,n);case Z.Animate:return e.visitAnimate(t,n);case Z.Keyframes:return e.visitKeyframes(t,n);case Z.Style:return e.visitStyle(t,n);case Z.Reference:return e.visitReference(t,n);case Z.AnimateChild:return e.visitAnimateChild(t,n);case Z.AnimateRef:return e.visitAnimateRef(t,n);case Z.Query:return e.visitQuery(t,n);case Z.Stagger:return e.visitStagger(t,n);default:throw OM(t.type)}}function jf(e,t){return window.getComputedStyle(e)[t]}var vT=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),ml=class extends Rr{normalizePropertyName(t,n){return Lf(t)}normalizeStyleValue(t,n,r,i){let o="",s=r.toString().trim();if(vT.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(PM(t,r))}return s+o}};var yl="*";function DT(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(r=>wT(r,n,t)):n.push(e),n}function wT(e,t,n){if(e[0]==":"){let l=CT(e,n);if(typeof l=="function"){t.push(l);return}e=l}let r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(WM(e)),t;let i=r[1],o=r[2],s=r[3];t.push(zv(i,s));let a=i==yl&&s==yl;o[0]=="<"&&!a&&t.push(zv(s,i))}function CT(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var ul=new Set(["true","1"]),dl=new Set(["false","0"]);function zv(e,t){let n=ul.has(e)||dl.has(e),r=ul.has(t)||dl.has(t);return(i,o)=>{let s=e==yl||e==i,a=t==yl||t==o;return!s&&n&&typeof i=="boolean"&&(s=i?ul.has(e):dl.has(e)),!a&&r&&typeof o=="boolean"&&(a=o?ul.has(t):dl.has(t)),s&&a}}var sD=":self",bT=new RegExp(`s*${sD}s*,?`,"g");function aD(e,t,n,r){return new Cf(e).build(t,n,r)}var Gv="",Cf=class{constructor(t){this._driver=t}build(t,n,r){let i=new bf(n);return this._resetContextStyleTimingState(i),rt(this,Co(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector=Gv,t.collectedStyles=new Map,t.collectedStyles.set(Gv,new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&n.errors.push(FM()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==Z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==Z.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(kM())}),{type:Z.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,n){let r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{oD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(LM(t.name,[...o.values()]))}return{type:Z.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;let r=rt(this,Co(t.animation),n),i=DT(t.expr,n.errors);return{type:Z.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:xr(t.options)}}visitSequence(t,n){return{type:Z.Sequence,steps:t.steps.map(r=>rt(this,r,n)),options:xr(t.options)}}visitGroup(t,n){let r=n.currentTime,i=0,o=t.steps.map(s=>{n.currentTime=r;let a=rt(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:Z.Group,steps:o,options:xr(t.options)}}visitAnimate(t,n){let r=ST(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:uf({});if(o.type==Z.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=uf(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:Z.Animate,timings:r,style:i,options:null}}visitStyle(t,n){let r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){let r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)typeof a=="string"?a===nn?r.push(a):n.errors.push(jM(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(rD)>=0){o=!0;break}}}),{type:Z.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(VM(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&pT(a,n.options,n.errors)})})}visitKeyframes(t,n){let r={type:Z.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(BM()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=t.steps.map(S=>{let F=this._makeStyleAst(S,n),O=F.offset!=null?F.offset:IT(F.styles),Q=0;return O!=null&&(o++,Q=F.offset=O),l=l||Q<0||Q>1,a=a||Q0&&o{let O=p>0?F==h?1:p*F:s[F],Q=O*w;n.currentTime=m+y.delay+Q,y.duration=Q,this._validateStyleAst(S,n),S.offset=O,r.styles.push(S)}),r}visitReference(t,n){return{type:Z.Reference,animation:rt(this,Co(t.animation),n),options:xr(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:Z.AnimateChild,options:xr(t.options)}}visitAnimateRef(t,n){return{type:Z.AnimateRef,animation:this.visitReference(t.animation,n),options:xr(t.options)}}visitQuery(t,n){let r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;let[o,s]=_T(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,it(n.collectedStyles,n.currentQuerySelector,new Map);let a=rt(this,Co(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:Z.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:xr(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(zM());let r=t.timings==="full"?{duration:0,delay:0,easing:"full"}:gl(t.timings,n.errors,!0);return{type:Z.Stagger,animation:rt(this,Co(t.animation),n),timings:r,options:null}}};function _T(e){let t=!!e.split(/\s*,\s*/).find(n=>n==sD);return t&&(e=e.replace(bT,"")),e=e.replace(/@\*/g,pl).replace(/@\w+/g,n=>pl+"-"+n.slice(1)).replace(/:animating/g,vf),[e,t]}function ET(e){return e?D({},e):null}var bf=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function IT(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function ST(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let o=gl(e,t).duration;return ff(o,0,"")}let n=e;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=ff(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=gl(n,t);return ff(i.duration,i.delay,i.easing)}function xr(e){return e?(e=D({},e),e.params&&(e.params=ET(e.params))):e={},e}function ff(e,t,n){return{duration:e,delay:t,easing:n}}function Vf(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Eo=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}},MT=1,TT=":enter",xT=new RegExp(TT,"g"),AT=":leave",NT=new RegExp(AT,"g");function lD(e,t,n,r,i,o=new Map,s=new Map,a,l,c=[]){return new _f().buildKeyframes(e,t,n,r,i,o,s,a,l,c)}var _f=class{buildKeyframes(t,n,r,i,o,s,a,l,c,u=[]){c=c||new Eo;let d=new Ef(t,n,c,i,o,u,[]);d.options=l;let p=l.delay?Cn(l.delay):0;d.currentTimeline.delayNextStep(p),d.currentTimeline.setStyles([s],null,d.errors,l),rt(this,r,d);let h=d.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let y=h.length-1;y>=0;y--){let w=h[y];if(w.element===n){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return h.length?h.map(m=>m.buildKeyframes()):[Vf(n,[],[],[],0,p,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){let r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(let i of t){let o=i?.delay;if(o){let s=typeof o=="number"?o:Cn(_o(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?Cn(r.duration):null,a=r.delay!=null?Cn(r.delay):null;return s!==0&&t.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),rt(this,t.animation,n),n.previousNode=t}visitSequence(t,n){let r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==Z.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vl);let s=Cn(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>rt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){let r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?Cn(t.options.delay):0;t.steps.forEach(s=>{let a=n.createSubContext(t.options);o&&a.delayNextStep(o),rt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){let r=t.strValue,i=n.params?_o(r,n.params,n.errors):r;return gl(i,n.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){let r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=t.style;o.type==Z.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){let r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?Cn(i.delay):0;o&&(n.previousNode.type===Z.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=vl);let s=r,a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(t.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),rt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe();let p=d.currentTimeline.currentTime;s=Math.max(s,p)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){let r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;rt(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},vl={},Ef=class e{constructor(t,n,r,i,o,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Dl(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let r=t,i=this.options;r.duration!=null&&(i.duration=Cn(r.duration)),r.delay!=null&&(i.delay=Cn(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=_o(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){let i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=vl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){let i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new If(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=t.replace(xT,"."+this._enterClassName),t=t.replace(NT,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,t,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(GM(n)),a}},Dl=class e{constructor(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=MT,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||nn),this._currentKeyframe.set(n,nn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=RT(t,this._globalTimelineStyles);for(let[a,l]of s){let c=_o(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??nn),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===ll?t.add(d):u===nn&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...t.values()],s=[...n.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Vf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},If=class extends Dl{constructor(t,n,r,i,o,s,a=!1){super(t,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=r+n,a=n/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",Wv(a)),o.push(c);let u=t.length-1;for(let d=1;d<=u;d++){let p=new Map(t[d]),h=p.get("offset"),m=n+h*r;p.set("offset",Wv(m/s)),o.push(p)}r=s,n=0,i="",t=o}return Vf(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function Wv(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function RT(e,t){let n=new Map,r;return e.forEach(i=>{if(i==="*"){r??=t.keys();for(let o of r)n.set(o,nn)}else for(let[o,s]of i)n.set(o,s)}),n}function qv(e,t,n,r,i,o,s,a,l,c,u,d,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:p}}var hf={},wl=class{constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return OT(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return t!==void 0&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,l,c,u){let d=[],p=this.ast.options&&this.ast.options.params||hf,h=a&&a.params||hf,m=this.buildStyles(r,h,d),y=l&&l.params||hf,w=this.buildStyles(i,y,d),S=new Set,F=new Map,O=new Map,Q=i==="void",we={params:cD(y,p),delay:this.ast.options?.delay},J=u?[]:lD(t,n,this.ast.animation,o,s,m,w,we,c,d),ce=0;return J.forEach(Te=>{ce=Math.max(Te.duration+Te.delay,ce)}),d.length?qv(n,this._triggerName,r,i,Q,m,w,[],[],F,O,ce,d):(J.forEach(Te=>{let sn=Te.element,jr=it(F,sn,new Set);Te.preStyleProps.forEach(Xn=>jr.add(Xn));let qh=it(O,sn,new Set);Te.postStyleProps.forEach(Xn=>qh.add(Xn)),sn!==n&&S.add(sn)}),qv(n,this._triggerName,r,i,Q,m,w,J,[...S.values()],F,O,ce))}};function OT(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}function cD(e,t){let n=D({},t);return Object.entries(e).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Sf=class{constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){let r=new Map,i=cD(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=_o(s,i,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function PT(e,t,n){return new Mf(e,t,n)}var Mf=class{constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Sf(i.style,o,r))}),Zv(this.states,"true","1"),Zv(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new wl(t,i,this.states))}),this.fallbackTransition=FT(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}};function FT(e,t,n){let r=[(s,a)=>!0],i={type:Z.Sequence,steps:[],options:null},o={type:Z.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new wl(e,o,t)}function Zv(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var kT=new Eo,Tf=class{constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,n){let r=[],i=[],o=aD(this._driver,n,r,i);if(r.length)throw QM(r);i.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,n,r){let i=t.element,o=eD(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){let i=[],o=this._animations.get(t),s,a=new Map;if(o?(s=lD(this._driver,n,o,iD,yf,new Map,new Map,r,kT,i),s.forEach(u=>{let d=it(a,u.element,new Map);u.postStyleProps.forEach(p=>d.set(p,null))})):(i.push(KM()),s=[]),i.length)throw JM(i);a.forEach((u,d)=>{u.forEach((p,h)=>{u.set(h,this._driver.computeStyle(d,h,nn))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=qn(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){let n=this._playersById.get(t);if(!n)throw XM(t);return n}listen(t,n,r,i){let o=Pf(n,"","","");return Of(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if(r=="register"){this.register(t,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(t,n,s);return}let o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t);break}}},Yv="ng-animate-queued",LT=".ng-animate-queued",pf="ng-animate-disabled",jT=".ng-animate-disabled",VT="ng-star-inserted",BT=".ng-star-inserted",UT=[],uD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$T={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed",Io=class{get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;let r=t&&t.hasOwnProperty("value"),i=r?t.value:t;if(this.value=zT(i),r){let o=t,{value:s}=o,a=dc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let n=t.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},bo="void",gf=new Io(bo),xf=class{constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,vt(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw eT(r,n);if(r==null||r.length==0)throw tT(n);if(!GT(r))throw nT(r,n);let o=it(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);let a=it(this._engine.statesByElement,t,new Map);return a.has(n)||(vt(t,cl),vt(t,cl+"-"+n),a.set(n,gf)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return this._triggers.has(t)?!1:(this._triggers.set(t,n),!0)}_getTrigger(t){let n=this._triggers.get(t);if(!n)throw rT(t);return n}trigger(t,n,r,i=!0){let o=this._getTrigger(n),s=new So(this.id,n,t),a=this._engine.statesByElement.get(t);a||(vt(t,cl),vt(t,cl+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n),c=new Io(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=gf),!(c.value===bo)&&l.value===c.value){if(!ZT(l.params,c.params)){let y=[],w=o.matchStyles(l.value,l.params,y),S=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Ar(t,w),rn(t,S)})}return}let p=it(this._engine.playersByElement,t,[]);p.forEach(y=>{y.namespaceId==this.id&&y.triggerName==n&&y.queued&&y.destroy()});let h=o.matchTransition(l.value,c.value,t,c.params),m=!1;if(!h){if(!i)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(vt(t,Yv),s.onStart(()=>{fi(t,Yv)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let w=this._engine.playersByElement.get(t);if(w){let S=w.indexOf(s);S>=0&&w.splice(S,1)}}),this.players.push(s),p.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){let r=this._engine.driver.query(t,pl,!0);r.forEach(i=>{if(i[jt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(t,c,bo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&qn(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||gf,u=new Io(bo),d=new So(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,n){let r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{let o=t[jt];(!o||o===uD)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){vt(t,this._hostClassName)}drainQueuedTransitions(t){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=Pf(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,Of(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Af=class{_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){let r=new xf(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let n=new Set,r=this.statesByElement.get(t);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(t,n,r,i){if(fl(n)){let o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!fl(n))return;let o=n[jt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),vt(t,pf)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),fi(t,pf))}removeNode(t,n,r){if(fl(n)){let i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[jt]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return fl(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,pl,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(t,vf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){let n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){let n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return qn(this.players).onDone(()=>t());t()})}processLeaveNode(t){let n=t[jt];if(n&&n.setForRemoval){if(t[jt]=uD,n.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(pf)&&this.markElementAsDisabled(t,!1),this.driver.query(t,jT,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?qn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw iT(t)}_flushAnimations(t,n){let r=new Eo,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);let T=this.driver.query(M,LT,!0);for(let N=0;N{let N=iD+y++;m.set(T,N),M.forEach(K=>vt(K,N))});let w=[],S=new Set,F=new Set;for(let M=0;MS.add(K)):F.add(T))}let O=new Map,Q=Jv(p,Array.from(S));Q.forEach((M,T)=>{let N=yf+y++;O.set(T,N),M.forEach(K=>vt(K,N))}),t.push(()=>{h.forEach((M,T)=>{let N=m.get(T);M.forEach(K=>fi(K,N))}),Q.forEach((M,T)=>{let N=O.get(T);M.forEach(K=>fi(K,N))}),w.forEach(M=>{this.processLeaveNode(M)})});let we=[],J=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(N=>{let K=N.player,xe=N.element;if(we.push(K),this.collectedEnterElements.length){let ke=xe[jt];if(ke&&ke.setForMove){if(ke.previousTriggersValues&&ke.previousTriggersValues.has(N.triggerName)){let er=ke.previousTriggersValues.get(N.triggerName),at=this.statesByElement.get(N.element);if(at&&at.has(N.triggerName)){let Xo=at.get(N.triggerName);Xo.value=er,at.set(N.triggerName,Xo)}}K.destroy();return}}let Bt=!d||!this.driver.containsElement(d,xe),Ke=O.get(xe),En=m.get(xe),ge=this._buildInstruction(N,r,En,Ke,Bt);if(ge.errors&&ge.errors.length){J.push(ge);return}if(Bt){K.onStart(()=>Ar(xe,ge.fromStyles)),K.onDestroy(()=>rn(xe,ge.toStyles)),i.push(K);return}if(N.isFallbackTransition){K.onStart(()=>Ar(xe,ge.fromStyles)),K.onDestroy(()=>rn(xe,ge.toStyles)),i.push(K);return}let Qh=[];ge.timelines.forEach(ke=>{ke.stretchStartingKeyframe=!0,this.disabledNodes.has(ke.element)||Qh.push(ke)}),ge.timelines=Qh,r.append(xe,ge.timelines);let qw={instruction:ge,player:K,element:xe};s.push(qw),ge.queriedElements.forEach(ke=>it(a,ke,[]).push(K)),ge.preStyleProps.forEach((ke,er)=>{if(ke.size){let at=l.get(er);at||l.set(er,at=new Set),ke.forEach((Xo,uc)=>at.add(uc))}}),ge.postStyleProps.forEach((ke,er)=>{let at=c.get(er);at||c.set(er,at=new Set),ke.forEach((Xo,uc)=>at.add(uc))})});if(J.length){let M=[];J.forEach(T=>{M.push(oT(T.triggerName,T.errors))}),we.forEach(T=>T.destroy()),this.reportError(M)}let ce=new Map,Te=new Map;s.forEach(M=>{let T=M.element;r.has(T)&&(Te.set(T,T),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,ce))}),i.forEach(M=>{let T=M.element;this._getPreviousPlayers(T,!1,M.namespaceId,M.triggerName,null).forEach(K=>{it(ce,T,[]).push(K),K.destroy()})});let sn=w.filter(M=>Xv(M,l,c)),jr=new Map;Kv(jr,this.driver,F,c,nn).forEach(M=>{Xv(M,l,c)&&sn.push(M)});let Xn=new Map;h.forEach((M,T)=>{Kv(Xn,this.driver,new Set(M),l,ll)}),sn.forEach(M=>{let T=jr.get(M),N=Xn.get(M);jr.set(M,new Map([...T?.entries()??[],...N?.entries()??[]]))});let cc=[],Zh=[],Yh={};s.forEach(M=>{let{element:T,player:N,instruction:K}=M;if(r.has(T)){if(u.has(T)){N.onDestroy(()=>rn(T,K.toStyles)),N.disabled=!0,N.overrideTotalTime(K.totalTime),i.push(N);return}let xe=Yh;if(Te.size>1){let Ke=T,En=[];for(;Ke=Ke.parentNode;){let ge=Te.get(Ke);if(ge){xe=ge;break}En.push(Ke)}En.forEach(ge=>Te.set(ge,xe))}let Bt=this._buildAnimation(N.namespaceId,K,ce,o,Xn,jr);if(N.setRealPlayer(Bt),xe===Yh)cc.push(N);else{let Ke=this.playersByElement.get(xe);Ke&&Ke.length&&(N.parentPlayer=qn(Ke)),i.push(N)}}else Ar(T,K.fromStyles),N.onDestroy(()=>rn(T,K.toStyles)),Zh.push(N),u.has(T)&&i.push(N)}),Zh.forEach(M=>{let T=o.get(M.element);if(T&&T.length){let N=qn(T);M.setRealPlayer(N)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M!Bt.destroyed);xe.length?WT(this,T,xe):this.processLeaveNode(T)}return w.length=0,cc.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();let T=this.players.indexOf(M);this.players.splice(T,1)}),M.play()}),cc}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==bo;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(t,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,u=c!==o,d=it(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(h=>{let m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),d.push(h)})}Ar(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,p=n.timelines.map(m=>{let y=m.element;u.add(y);let w=y[jt];if(w&&w.removedBeforeQueried)return new Wn(m.duration,m.delay);let S=y!==l,F=qT((r.get(y)||UT).map(ce=>ce.getRealPlayer())).filter(ce=>{let Te=ce;return Te.element?Te.element===y:!1}),O=o.get(y),Q=s.get(y),we=eD(this._normalizer,m.keyframes,O,Q),J=this._buildPlayer(m,we,F);if(m.subTimeline&&i&&d.add(y),S){let ce=new So(t,a,y);ce.setRealPlayer(J),c.push(ce)}return J});c.forEach(m=>{it(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>HT(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>vt(m,Hv));let h=qn(p);return h.onDestroy(()=>{u.forEach(m=>fi(m,Hv)),rn(l,n.toStyles)}),d.forEach(m=>{it(i,m,[]).push(h)}),h}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Wn(t.duration,t.delay)}},So=class{constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Wn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>Of(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){it(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let n=this._player;n.triggerCallback&&n.triggerCallback(t)}};function HT(e,t,n){let r=e.get(t);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&e.delete(t)}return r}function zT(e){return e??null}function fl(e){return e&&e.nodeType===1}function GT(e){return e=="start"||e=="done"}function Qv(e,t){let n=e.style.display;return e.style.display=t??"none",n}function Kv(e,t,n,r,i){let o=[];n.forEach(l=>o.push(Qv(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let p=t.computeStyle(c,d,i);u.set(d,p),(!p||p.length==0)&&(c[jt]=$T,s.push(c))}),e.set(c,u)});let a=0;return n.forEach(l=>Qv(l,o[a++])),s}function Jv(e,t){let n=new Map;if(e.forEach(a=>n.set(a,[])),t.length==0)return n;let r=1,i=new Set(t),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function vt(e,t){e.classList?.add(t)}function fi(e,t){e.classList?.remove(t)}function WT(e,t,n){qn(n).onDone(()=>e.processLeaveNode(t))}function qT(e){let t=[];return dD(e,t),t}function dD(e,t){for(let n=0;ni.add(o)):t.set(e,r),n.delete(e),!0}var hi=class{constructor(t,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Af(t.body,n,r),this._timelineEngine=new Tf(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){let s=t+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=aD(this._driver,o,l,c);if(l.length)throw ZM(i,l);c.length&&void 0,a=PT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if(r.charAt(0)=="@"){let[o,s]=Uv(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=Uv(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function YT(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=mf(t[0]),t.length>1&&(r=mf(t[t.length-1]))):t instanceof Map&&(n=mf(t)),n||r?new Nf(e,n,r):null}var Nf=class e{static{this.initialStylesByElement=new WeakMap}constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rn(this._element,this._initialStyles),this._endStyles&&(rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ar(this._element,this._endStyles),this._endStyles=null),rn(this._element,this._initialStyles),this._state=3)}};function mf(e){let t=null;return e.forEach((n,r)=>{QT(r)&&(t=t||new Map,t.set(r,n))}),t}function QT(e){return e==="display"||e==="position"}var Cl=class{constructor(t,n,r,i){this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){return t.animate(this._convertKeyframesToObject(n),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&t.set(i,this._finished?r:jf(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){let n=t==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},bl=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return tD(t,n)}getParentElement(t){return Ff(t)}query(t,n,r){return nD(t,n,r)}computeStyle(t,n,r){return jf(t,n)}animate(t,n,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(h=>h instanceof Cl);mT(r,i)&&u.forEach(h=>{h.currentSnapshot.forEach((m,y)=>c.set(y,m))});let d=hT(n).map(h=>new Map(h));d=yT(t,d,c);let p=YT(t,d);return new Cl(t,d,l,p)}};var hl="@",fD="@.disabled",_l=class{constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){n.charAt(0)==hl&&n==fD?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r){return this.delegate.listen(t,n,r)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}},Rf=class extends _l{constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){n.charAt(0)==hl?n.charAt(1)=="."&&n==fD?(r=r===void 0?!0:!!r,this.disableAnimations(t,r)):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r){if(n.charAt(0)==hl){let i=KT(t),o=n.slice(1),s="";return o.charAt(0)!=hl&&([o,s]=JT(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(t,n,r)}};function KT(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function JT(e){let t=e.indexOf("."),n=e.substring(0,t),r=e.slice(t+1);return[n,r]}var El=class{constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){let r="",i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new _l(r,i,this.engine,d),c.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return n.data.animation.forEach(a),new Rf(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&tn(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var ex=(()=>{class e extends hi{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(r){return new(r||e)(R(le),R(Nr),R(Rr))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function tx(){return new ml}function nx(e,t,n){return new El(e,t,n)}var hD=[{provide:Rr,useFactory:tx},{provide:hi,useClass:ex},{provide:Ln,useFactory:nx,deps:[sl,hi,ue]}],rx=[{provide:Nr,useFactory:()=>new bl},{provide:Ed,useValue:"BrowserAnimations"},...hD],gV=[{provide:Nr,useClass:kf},{provide:Ed,useValue:"NoopAnimations"},...hD];function pD(){return ht("NgEagerAnimations"),[...rx]}var U="primary",Ho=Symbol("RouteTitle"),zf=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Di(e){return new zf(e)}function ix(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return e===t}function _D(e){return e.length>0?e[e.length-1]:null}function Yn(e){return Mc(e)?e:Sr(e)?oe(Promise.resolve(e)):x(e)}var sx={exact:ID,subset:SD},ED={exact:ax,subset:lx,ignored:()=>!0};function gD(e,t,n){return sx[n.paths](e.root,t.root,n.matrixParams)&&ED[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function ax(e,t){return on(e,t)}function ID(e,t,n){if(!Pr(e.segments,t.segments)||!Ml(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ID(e.children[r],t.children[r],n))return!1;return!0}function lx(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>bD(e[n],t[n]))}function SD(e,t,n){return MD(e,t,t.segments,n)}function MD(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Pr(i,n)||t.hasChildren()||!Ml(i,n,r))}else if(e.segments.length===n.length){if(!Pr(e.segments,n)||!Ml(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!SD(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Pr(e.segments,i)||!Ml(e.segments,i,r)||!e.children[U]?!1:MD(e.children[U],t,o,r)}}function Ml(e,t,n){return t.every((r,i)=>ED[n](e[i].parameters,r.parameters))}var _n=class{constructor(t=new te([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Di(this.queryParams),this._queryParamMap}toString(){return dx.serialize(this)}},te=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tl(this)}},Or=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Di(this.parameters),this._parameterMap}toString(){return xD(this)}};function cx(e,t){return Pr(e,t)&&e.every((n,r)=>on(n.parameters,t[r].parameters))}function Pr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function ux(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===U&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==U&&(n=n.concat(t(i,r)))}),n}var yh=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>new Oo,providedIn:"root"})}}return e})(),Oo=class{parse(t){let n=new qf(t);return new _n(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Mo(t.root,!0)}`,r=px(t.queryParams),i=typeof t.fragment=="string"?`#${fx(t.fragment)}`:"";return`${n}${r}${i}`}},dx=new Oo;function Tl(e){return e.segments.map(t=>xD(t)).join("/")}function Mo(e,t){if(!e.hasChildren())return Tl(e);if(t){let n=e.children[U]?Mo(e.children[U],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==U&&r.push(`${i}:${Mo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=ux(e,(r,i)=>i===U?[Mo(e.children[U],!1)]:[`${i}:${Mo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[U]!=null?`${Tl(e)}/${n[0]}`:`${Tl(e)}/(${n.join("//")})`}}function TD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Il(e){return TD(e).replace(/%3B/gi,";")}function fx(e){return encodeURI(e)}function Wf(e){return TD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xl(e){return decodeURIComponent(e)}function mD(e){return xl(e.replace(/\+/g,"%20"))}function xD(e){return`${Wf(e.path)}${hx(e.parameters)}`}function hx(e){return Object.entries(e).map(([t,n])=>`;${Wf(t)}=${Wf(n)}`).join("")}function px(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Il(n)}=${Il(i)}`).join("&"):`${Il(n)}=${Il(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var gx=/^[^\/()?;#]+/;function Bf(e){let t=e.match(gx);return t?t[0]:""}var mx=/^[^\/()?;=#]+/;function yx(e){let t=e.match(mx);return t?t[0]:""}var vx=/^[^=?&#]+/;function Dx(e){let t=e.match(vx);return t?t[0]:""}var wx=/^[^&#]+/;function Cx(e){let t=e.match(wx);return t?t[0]:""}var qf=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[U]=new te(t,n)),r}parseSegment(){let t=Bf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new Or(xl(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=yx(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=Bf(this.remaining);i&&(r=i,this.capture(r))}t[xl(n)]=xl(r)}parseQueryParam(t){let n=Dx(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Cx(this.remaining);s&&(r=s,this.capture(r))}let i=mD(n),o=mD(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Bf(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=U);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[U]:new te([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function AD(e){return e.segments.length>0?new te([],{[U]:e}):e}function ND(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=ND(i);if(r===U&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new te(e.segments,t);return bx(n)}function bx(e){if(e.numberOfChildren===1&&e.children[U]){let t=e.children[U];return new te(e.segments.concat(t.segments),t.children)}return e}function Po(e){return e instanceof _n}function _x(e,t,n=null,r=null){let i=RD(e);return OD(i,t,n,r)}function RD(e){let t;function n(o){let s={};for(let l of o.children){let c=n(l);s[l.outlet]=c}let a=new te(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=AD(r);return t??i}function OD(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Uf(i,i,i,n,r);let o=Ex(t);if(o.toRoot())return Uf(i,i,new te([],{}),n,r);let s=Ix(o,i,e),a=s.processChildren?Ao(s.segmentGroup,s.index,o.commands):FD(s.segmentGroup,s.index,o.commands);return Uf(i,s.segmentGroup,a,n,r)}function Al(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Fo(e){return typeof e=="object"&&e!=null&&e.outlets}function Uf(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;e===t?s=n:s=PD(e,t,n);let a=AD(ND(s));return new _n(a,o,i)}function PD(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=PD(o,t,n)}),new te(e.segments,r)}var Nl=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Al(r[0]))throw new v(4003,!1);let i=r.find(Fo);if(i&&i!==_D(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ex(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Nl(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Nl(n,t,r)}var mi=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Ix(e,t,n){if(e.isAbsolute)return new mi(t,!0,0);if(!n)return new mi(t,!1,NaN);if(n.parent===null)return new mi(n,!0,0);let r=Al(e.commands[0])?0:1,i=n.segments.length-1+r;return Sx(n,i,e.numberOfDoubleDots)}function Sx(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new mi(r,!1,i-o)}function Mx(e){return Fo(e[0])?e[0].outlets:{[U]:e}}function FD(e,t,n){if(e??=new te([],{}),e.segments.length===0&&e.hasChildren())return Ao(e,t,n);let r=Tx(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==U)&&e.children[U]&&e.numberOfChildren===1&&e.children[U].segments.length===0){let o=Ao(e.children[U],t,n);return new te(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=FD(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new te(e.segments,i)}}function Tx(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=e.segments[i],a=n[r];if(Fo(a))break;let l=`${a}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!vD(l,c,s))return o;r+=2}else{if(!vD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Zf(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Zf(new te([],{}),0,r))}),t}function yD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function vD(e,t,n){return e==n.path&&on(t,n.parameters)}var No="imperative",Fe=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}(Fe||{}),Dt=class{constructor(t,n){this.id=t,this.url=n}},ko=class extends Dt{constructor(t,n,r="imperative",i=null){super(t,n),this.type=Fe.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Fr=class extends Dt{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Fe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},st=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(st||{}),Yf=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Yf||{}),bn=class extends Dt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Fe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},kr=class extends Dt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Fe.NavigationSkipped}},Lo=class extends Dt{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=Fe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Rl=class extends Dt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Fe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qf=class extends Dt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Fe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kf=class extends Dt{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=Fe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Jf=class extends Dt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Fe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xf=class extends Dt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Fe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eh=class{constructor(t){this.route=t,this.type=Fe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},th=class{constructor(t){this.route=t,this.type=Fe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},nh=class{constructor(t){this.snapshot=t,this.type=Fe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rh=class{constructor(t){this.snapshot=t,this.type=Fe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ih=class{constructor(t){this.snapshot=t,this.type=Fe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},oh=class{constructor(t){this.snapshot=t,this.type=Fe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var jo=class{},wi=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Ax(e,t){return e.providers&&!e._injector&&(e._injector=Ud(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Vt(e){return e.outlet||U}function Nx(e,t){let n=e.filter(r=>Vt(r)===t);return n.push(...e.filter(r=>Vt(r)!==t)),n}function zo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var sh=class{get injector(){return zo(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Vl(this.rootInjector),this.attachRef=null}},Vl=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new sh(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(R(Ze))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ol=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=ah(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=ah(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=lh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return lh(t,this._root).map(n=>n.value)}};function ah(e,t){if(e===t.value)return t;for(let n of t.children){let r=ah(e,n);if(r)return r}return null}function lh(e,t){if(e===t.value)return[t];for(let n of t.children){let r=lh(e,n);if(r.length)return r.unshift(t),r}return[]}var ot=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function gi(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Pl=class extends Ol{constructor(t,n){super(t),this.snapshot=n,vh(this,t)}toString(){return this.snapshot.toString()}};function kD(e){let t=Rx(e),n=new Ce([new Or("",{})]),r=new Ce({}),i=new Ce({}),o=new Ce({}),s=new Ce(""),a=new Zn(n,r,o,s,i,U,e,t.root);return a.snapshot=t.root,new Pl(new ot(a,[]),t)}function Rx(e){let t={},n={},r={},i="",o=new yi([],t,r,i,n,U,e,null,{});return new kl("",new ot(o,[]))}var Zn=class{constructor(t,n,r,i,o,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(k(c=>c[Ho]))??x(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}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(k(t=>Di(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(t=>Di(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Fl(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:D(D({},t.params),e.params),data:D(D({},t.data),e.data),resolve:D(D(D(D({},e.data),t.data),i?.data),e._resolvedData)}:r={params:D({},e.params),data:D({},e.data),resolve:D(D({},e.data),e._resolvedData??{})},i&&jD(i)&&(r.resolve[Ho]=i.title),r}var yi=class{get title(){return this.data?.[Ho]}constructor(t,n,r,i,o,s,a,l,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Di(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Di(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},kl=class extends Ol{constructor(t,n){super(n),this.url=t,vh(this,n)}toString(){return LD(this._root)}};function vh(e,t){t.value._routerState=e,t.children.forEach(n=>vh(e,n))}function LD(e){let t=e.children.length>0?` { ${e.children.map(LD).join(", ")} } `:"";return`${e.value}${t}`}function $f(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,on(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),on(t.params,n.params)||e.paramsSubject.next(n.params),ox(t.url,n.url)||e.urlSubject.next(n.url),on(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ch(e,t){let n=on(e.params,t.params)&&cx(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||ch(e.parent,t.parent))}function jD(e){return typeof e.title=="string"||e.title===null}var Ox=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=U,this.activateEvents=new pe,this.deactivateEvents=new pe,this.attachEvents=new pe,this.detachEvents=new pe,this.parentContexts=g(Vl),this.location=g(Ir),this.changeDetector=g(mt),this.inputBinder=g(Dh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new uh(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Kt]})}}return e})(),uh=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Zn?this.route:t===Vl?this.childContexts:this.parent.get(t,n)}},Dh=new I("");function Px(e,t,n){let r=Vo(e,t._root,n?n._root:void 0);return new Pl(r,t)}function Vo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=Fx(e,t,n);return new ot(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Vo(e,a)),s}}let r=kx(t.value),i=t.children.map(o=>Vo(e,o));return new ot(r,i)}}function Fx(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Vo(e,r,i);return Vo(e,r)})}function kx(e){return new Zn(new Ce(e.url),new Ce(e.params),new Ce(e.queryParams),new Ce(e.fragment),new Ce(e.data),e.outlet,e.component,e)}var Bo=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},VD="ngNavigationCancelingError";function Ll(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Po(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=BD(!1,st.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function BD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[VD]=!0,n.cancellationCode=t,n}function Lx(e){return UD(e)&&Po(e.url)}function UD(e){return!!e&&e[VD]}var jx=(e,t,n,r)=>k(i=>(new dh(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),dh=class{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),$f(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=gi(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=gi(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=gi(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=gi(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new oh(o.value.snapshot))}),t.children.length&&this.forwardEvent(new rh(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if($f(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),$f(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},jl=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},vi=class{constructor(t,n){this.component=t,this.route=n}};function Vx(e,t,n){let r=e._root,i=t?t._root:null;return To(r,i,n,[r.value])}function Bx(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function bi(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Tg(e)?e:t.get(e):r}function To(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=gi(t);return e.children.forEach(s=>{Ux(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ro(a,n.getContext(s),i)),i}function Ux(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=$x(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new jl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?To(e,t,a?a.children:null,r,i):To(e,t,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vi(a.outlet.component,s))}else s&&Ro(t,a,i),i.canActivateChecks.push(new jl(r)),o.component?To(e,null,a?a.children:null,r,i):To(e,null,n,r,i);return i}function $x(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Pr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Pr(e.url,t.url)||!on(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ch(e,t)||!on(e.queryParams,t.queryParams);case"paramsChange":default:return!ch(e,t)}}function Ro(e,t,n){let r=gi(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?Ro(s,t.children.getContext(o),n):Ro(s,null,n):Ro(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new vi(t.outlet.component,i)):n.canDeactivateChecks.push(new vi(null,i)):n.canDeactivateChecks.push(new vi(null,i))}function Go(e){return typeof e=="function"}function Hx(e){return typeof e=="boolean"}function zx(e){return e&&Go(e.canLoad)}function Gx(e){return e&&Go(e.canActivate)}function Wx(e){return e&&Go(e.canActivateChild)}function qx(e){return e&&Go(e.canDeactivate)}function Zx(e){return e&&Go(e.canMatch)}function $D(e){return e instanceof bt||e?.name==="EmptyError"}var Sl=Symbol("INITIAL_VALUE");function Ci(){return Pe(e=>Rs(e.map(t=>t.pipe(ut(1),kc(Sl)))).pipe(k(t=>{for(let n of t)if(n!==!0){if(n===Sl)return Sl;if(n===!1||Yx(n))return n}return!0}),_e(t=>t!==Sl),ut(1)))}function Yx(e){return Po(e)||e instanceof Bo}function Qx(e,t){return me(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?x(G(D({},n),{guardsResult:!0})):Kx(s,r,i,e).pipe(me(a=>a&&Hx(a)?Jx(r,o,e,t):x(a)),k(a=>G(D({},n),{guardsResult:a})))})}function Kx(e,t,n,r){return oe(e).pipe(me(i=>rA(i.component,i.route,n,t,r)),Ut(i=>i!==!0,!0))}function Jx(e,t,n,r){return oe(t).pipe(Tn(i=>Mn(eA(i.route.parent,r),Xx(i.route,r),nA(e,i.path,n),tA(e,i.route,n))),Ut(i=>i!==!0,!0))}function Xx(e,t){return e!==null&&t&&t(new ih(e)),x(!0)}function eA(e,t){return e!==null&&t&&t(new nh(e)),x(!0)}function tA(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return x(!0);let i=r.map(o=>Os(()=>{let s=zo(t)??n,a=bi(o,s),l=Gx(a)?a.canActivate(t,e):xt(s,()=>a(t,e));return Yn(l).pipe(Ut())}));return x(i).pipe(Ci())}function nA(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>Bx(s)).filter(s=>s!==null).map(s=>Os(()=>{let a=s.guards.map(l=>{let c=zo(s.node)??n,u=bi(l,c),d=Wx(u)?u.canActivateChild(r,e):xt(c,()=>u(r,e));return Yn(d).pipe(Ut())});return x(a).pipe(Ci())}));return x(o).pipe(Ci())}function rA(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let s=o.map(a=>{let l=zo(t)??i,c=bi(a,l),u=qx(c)?c.canDeactivate(e,t,n,r):xt(l,()=>c(e,t,n,r));return Yn(u).pipe(Ut())});return x(s).pipe(Ci())}function iA(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return x(!0);let o=i.map(s=>{let a=bi(s,e),l=zx(a)?a.canLoad(t,n):xt(e,()=>a(t,n));return Yn(l)});return x(o).pipe(Ci(),HD(r))}function HD(e){return bc(he(t=>{if(typeof t!="boolean")throw Ll(e,t)}),k(t=>t===!0))}function oA(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return x(!0);let o=i.map(s=>{let a=bi(s,e),l=Zx(a)?a.canMatch(t,n):xt(e,()=>a(t,n));return Yn(l)});return x(o).pipe(Ci(),HD(r))}var Uo=class{constructor(t){this.segmentGroup=t||null}},$o=class extends Error{constructor(t){super(),this.urlTree=t}};function pi(e){return ct(new Uo(e))}function sA(e){return ct(new v(4e3,!1))}function aA(e){return ct(BD(!1,st.GuardRejected))}var fh=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return x(r);if(i.numberOfChildren>1||!i.children[U])return sA(`${t.redirectTo}`);i=i.children[U]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,params:h,data:m,title:y}=i,w=xt(o,()=>a({params:h,data:m,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,title:y}));if(w instanceof _n)throw new $o(w);n=w}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new $o(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new _n(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,i)}),new te(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}},hh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lA(e,t,n,r,i){let o=zD(e,t,n);return o.matched?(r=Ax(t,r),oA(r,t,n,i).pipe(k(s=>s===!0?o:D({},hh)))):x(o)}function zD(e,t,n){if(t.path==="**")return cA(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?D({},hh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||ix)(n,e,t);if(!i)return D({},hh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function cA(e){return{matched:!0,parameters:e.length>0?_D(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function DD(e,t,n,r){return n.length>0&&fA(e,n,r)?{segmentGroup:new te(t,dA(r,new te(n,e.children))),slicedSegments:[]}:n.length===0&&hA(e,n,r)?{segmentGroup:new te(e.segments,uA(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new te(e.segments,e.children),slicedSegments:n}}function uA(e,t,n,r){let i={};for(let o of n)if(Bl(e,t,o)&&!r[Vt(o)]){let s=new te([],{});i[Vt(o)]=s}return D(D({},r),i)}function dA(e,t){let n={};n[U]=t;for(let r of e)if(r.path===""&&Vt(r)!==U){let i=new te([],{});n[Vt(r)]=i}return n}function fA(e,t,n){return n.some(r=>Bl(e,t,r)&&Vt(r)!==U)}function hA(e,t,n){return n.some(r=>Bl(e,t,r))}function Bl(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function pA(e,t,n){return t.length===0&&!e.children[n]}var ph=class{};function gA(e,t,n,r,i,o,s="emptyOnly"){return new gh(e,t,n,r,i,s,o).recognize()}var mA=31,gh=class{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new fh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=DD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(k(({children:n,rootSnapshot:r})=>{let i=new ot(r,n),o=new kl("",i),s=_x(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new yi([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),U,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,U,n).pipe(k(r=>({children:r,rootSnapshot:n})),Xe(r=>{if(r instanceof $o)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Uo?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(k(s=>s instanceof ot?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return oe(o).pipe(Tn(s=>{let a=r.children[s],l=Nx(n,s);return this.processSegmentGroup(t,l,a,s,i)}),Fc((s,a)=>(s.push(...a),s)),xn(null),Pc(),me(s=>{if(s===null)return pi(r);let a=GD(s);return yA(a),x(a)}))}processSegment(t,n,r,i,o,s,a){return oe(n).pipe(Tn(l=>this.processSegmentAgainstRoute(l._injector??t,n,l,r,i,o,s,a).pipe(Xe(c=>{if(c instanceof Uo)return x(null);throw c}))),Ut(l=>!!l),Xe(l=>{if($D(l))return pA(r,i,o)?x(new ph):pi(r);throw l}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,l){return Vt(r)!==s&&(s===U||!Bl(i,o,r))?pi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,l):pi(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=zD(n,i,o);if(!l)return pi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>mA&&(this.allowRedirects=!1));let h=new yi(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,wD(i),Vt(i),i.component??i._loadedComponent??null,i,CD(i)),m=Fl(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(m.params),h.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,h,t);return this.applyRedirects.lineralizeSegments(i,y).pipe(me(w=>this.processSegment(t,r,n,w.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=lA(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Pe(l=>l.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(Pe(({routes:c})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:h}=l,m=new yi(p,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,wD(r),Vt(r),r.component??r._loadedComponent??null,r,CD(r)),y=Fl(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:S}=DD(n,p,h,c);if(S.length===0&&w.hasChildren())return this.processChildren(u,c,w,m).pipe(k(O=>new ot(m,O)));if(c.length===0&&S.length===0)return x(new ot(m,[]));let F=Vt(r)===o;return this.processSegment(u,c,w,S,F?U:o,!0,m).pipe(k(O=>new ot(m,O instanceof ot?[O]:[])))}))):pi(n)))}getChildConfig(t,n,r){return n.children?x({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?x({routes:n._loadedRoutes,injector:n._loadedInjector}):iA(t,n,r,this.urlSerializer).pipe(me(i=>i?this.configLoader.loadChildren(t,n).pipe(he(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):aA(n))):x({routes:[],injector:t})}};function yA(e){e.sort((t,n)=>t.value.outlet===U?-1:n.value.outlet===U?1:t.value.outlet.localeCompare(n.value.outlet))}function vA(e){let t=e.value.routeConfig;return t&&t.path===""}function GD(e){let t=[],n=new Set;for(let r of e){if(!vA(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=GD(r.children);t.push(new ot(r.value,i))}return t.filter(r=>!n.has(r))}function wD(e){return e.data||{}}function CD(e){return e.resolve||{}}function DA(e,t,n,r,i,o){return me(s=>gA(e,t,n,r,s.extractedUrl,i,o).pipe(k(({state:a,tree:l})=>G(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function wA(e,t){return me(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return x(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of WD(l))s.add(c);let a=0;return oe(s).pipe(Tn(l=>o.has(l)?CA(l,r,e,t):(l.data=Fl(l,l.parent,e).resolve,x(void 0))),he(()=>a++),Yr(1),me(l=>a===s.size?x(n):Le))})}function WD(e){let t=e.children.map(n=>WD(n)).flat();return[e,...t]}function CA(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!jD(i)&&(o[Ho]=i.title),bA(o,e,t,r).pipe(k(s=>(e._resolvedData=s,e.data=Fl(e,e.parent,n).resolve,null)))}function bA(e,t,n,r){let i=Gf(e);if(i.length===0)return x({});let o={};return oe(i).pipe(me(s=>_A(e[s],t,n,r).pipe(Ut(),he(a=>{if(a instanceof Bo)throw Ll(new Oo,a);o[s]=a}))),Yr(1),Vi(o),Xe(s=>$D(s)?Le:ct(s)))}function _A(e,t,n,r){let i=zo(t)??r,o=bi(e,i),s=o.resolve?o.resolve(t,n):xt(i,()=>o(t,n));return Yn(s)}function Hf(e){return Pe(t=>{let n=e(t);return n?oe(n).pipe(k(()=>t)):x(t)})}var qD=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===U);return r}getResolvedTitleForRoute(n){return n.data[Ho]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(EA),providedIn:"root"})}}return e})(),EA=(()=>{class e extends qD{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(R(jv))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wh=new I("",{providedIn:"root",factory:()=>({})}),IA=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["ng-component"]],standalone:!0,features:[ae],decls:1,vars:0,template:function(r,i){r&1&&B(0,"router-outlet")},dependencies:[Ox],encapsulation:2})}}return e})();function Ch(e){let t=e.children&&e.children.map(Ch),n=t?G(D({},e),{children:t}):D({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==U&&(n.component=IA),n}var bh=new I(""),SA=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(zd)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Yn(n.loadComponent()).pipe(k(ZD),he(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),ar(()=>{this.componentLoaders.delete(n)})),i=new Gr(r,()=>new Oe).pipe(zr());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return x({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=MA(r,this.compiler,n,this.onLoadEndListener).pipe(ar(()=>{this.childrenLoaders.delete(r)})),s=new Gr(o,()=>new Oe).pipe(zr());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function MA(e,t,n,r){return Yn(e.loadChildren()).pipe(k(ZD),me(i=>i instanceof eo||Array.isArray(i)?x(i):oe(t.compileModuleAsync(i))),k(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(bh,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ch),injector:o}}))}function TA(e){return e&&typeof e=="object"&&"default"in e}function ZD(e){return TA(e)?e.default:e}var _h=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(xA),providedIn:"root"})}}return e})(),xA=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AA=new I("");var NA=new I(""),RA=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Oe,this.transitionAbortSubject=new Oe,this.configLoader=g(SA),this.environmentInjector=g(Ze),this.urlSerializer=g(yh),this.rootContexts=g(Vl),this.location=g(uo),this.inputBindingEnabled=g(Dh,{optional:!0})!==null,this.titleStrategy=g(qD),this.options=g(wh,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(_h),this.createViewTransition=g(AA,{optional:!0}),this.navigationErrorHandler=g(NA,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new eh(i)),r=i=>this.events.next(new th(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(G(D(D({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new Ce({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:No,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_e(o=>o.id!==0),k(o=>G(D({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Pe(o=>{let s=!1,a=!1;return x(o).pipe(Pe(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",st.SupersededByNewNavigation),Le;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?G(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&u!=="reload"){let d="";return this.events.next(new kr(l.id,this.urlSerializer.serialize(l.rawUrl),d,Yf.IgnoredSameUrlNavigation)),l.resolve(!1),Le}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return x(l).pipe(Pe(d=>{let p=this.transitions?.getValue();return this.events.next(new ko(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),p!==this.transitions?.getValue()?Le:Promise.resolve(d)}),DA(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=G(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let p=new Rl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:d,extractedUrl:p,source:h,restoredState:m,extras:y}=l,w=new ko(d,this.urlSerializer.serialize(p),h,m);this.events.next(w);let S=kD(this.rootComponentType).snapshot;return this.currentTransition=o=G(D({},l),{targetSnapshot:S,urlAfterRedirects:p,extras:G(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,x(o)}else{let d="";return this.events.next(new kr(l.id,this.urlSerializer.serialize(l.extractedUrl),d,Yf.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Le}}),he(l=>{let c=new Qf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=G(D({},l),{guards:Vx(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),Qx(this.environmentInjector,l=>this.events.next(l)),he(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Ll(this.urlSerializer,l.guardsResult);let c=new Kf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),_e(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",st.GuardRejected),!1)),Hf(l=>{if(l.guards.canActivateChecks.length)return x(l).pipe(he(c=>{let u=new Jf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Pe(c=>{let u=!1;return x(c).pipe(wA(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",st.NoDataFromResolver)}}))}),he(c=>{let u=new Xf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Hf(l=>{let c=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(he(p=>{u.component=p}),k(()=>{})));for(let p of u.children)d.push(...c(p));return d};return Rs(c(l.targetSnapshot.root)).pipe(xn(null),ut(1))}),Hf(()=>this.afterPreactivation()),Pe(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?oe(u).pipe(k(()=>o)):x(o)}),k(l=>{let c=Px(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=G(D({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),he(()=>{this.events.next(new jo)}),jx(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ut(1),he({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Fr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Bi(this.transitionAbortSubject.pipe(he(l=>{throw l}))),ar(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",st.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xe(l=>{if(a=!0,UD(l))this.events.next(new bn(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),Lx(l)?this.events.next(new wi(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Lo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let u=xt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Bo){let{message:d,cancellationCode:p}=Ll(this.urlSerializer,u);this.events.next(new bn(o.id,this.urlSerializer.serialize(o.extractedUrl),d,p)),this.events.next(new wi(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(c);let d=n.errorHandler(l);o.resolve(!!d)}}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return Le}))}))}cancelNavigationTransition(n,r,i){let o=new bn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function OA(e){return e!==No}var PA=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(FA),providedIn:"root"})}}return e})(),mh=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},FA=(()=>{class e extends mh{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=br(e)))(i||e)}})()}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),YD=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:()=>g(kA),providedIn:"root"})}}return e})(),kA=(()=>{class e extends YD{constructor(){super(...arguments),this.location=g(uo),this.urlSerializer=g(yh),this.options=g(wh,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(_h),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _n,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=kD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ko)this.stateMemento=this.createStateMemento();else if(n instanceof kr)this.rawUrlTree=r.initialUrl;else if(n instanceof Rl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof jo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof bn&&(n.code===st.GuardRejected||n.code===st.NoDataFromResolver)?this.restoreHistory(r):n instanceof Lo?this.restoreHistory(r,!0):n instanceof Fr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof _n?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=D(D({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=br(e)))(i||e)}})()}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),xo=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(xo||{});function LA(e,t){e.events.pipe(_e(n=>n instanceof Fr||n instanceof bn||n instanceof Lo||n instanceof kr),k(n=>n instanceof Fr||n instanceof kr?xo.COMPLETE:(n instanceof bn?n.code===st.Redirect||n.code===st.SupersededByNewNavigation:!1)?xo.REDIRECTING:xo.FAILED),_e(n=>n!==xo.REDIRECTING),ut(1)).subscribe(()=>{t()})}function jA(e){throw e}var VA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_i=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(Qa),this.stateManager=g(YD),this.options=g(wh,{optional:!0})||{},this.pendingTasks=g(hn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(RA),this.urlSerializer=g(yh),this.location=g(uo),this.urlHandlingStrategy=g(_h),this._events=new Oe,this.errorHandler=this.options.errorHandler||jA,this.navigated=!1,this.routeReuseStrategy=g(PA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(bh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Dh,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof bn&&r.code!==st.Redirect&&r.code!==st.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Fr)this.navigated=!0;else if(r instanceof wi){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||OA(i.source)},s);this.scheduleNavigation(a,No,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}$A(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),No,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=D({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Ch),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=i?i.snapshot:this.routerState.snapshot.root;d=RD(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return OD(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Po(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,No,null,r)}navigate(n,r={skipLocationChange:!1}){return UA(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},VA):r===!1?i=D({},BA):i=r,Po(n))return gD(this.currentUrlTree,n,i);let o=this.parseUrl(n);return gD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,p)=>{a=d,l=p});let u=this.pendingTasks.add();return LA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function UA(e){for(let t=0;tn.\u0275providers)])}function zA(e){return e.routerState.root}function GA(){let e=g(Mt);return t=>{let n=e.get($n);if(t!==n.components[0])return;let r=e.get(_i),i=e.get(WA);e.get(qA)===1&&r.initialNavigation(),e.get(ZA,null,q.Optional)?.setUpPreloading(),e.get(HA,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var WA=new I("",{factory:()=>new Oe}),qA=new I("",{providedIn:"root",factory:()=>1});var ZA=new I("");var Ul=new I("DOMAIN");var Wo=(()=>{class e{constructor(){this.domain=g(Ul),this.http=g(ef),this.platformId=g(ye),this.transferState=g(Pa)}getData(n,r,i){if(i){let s=this.transferState.hasKey(i),a=this.transferState.get(i,r);if(s)return x(a)}let o=fo(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(n.startsWith("http")?n:`${o}/${n}`).pipe(he(s=>i&&this.transferState.set(i,s)),Xe(()=>(i&&this.transferState.set(i,r),x(r))))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var $l=(()=>{class e{constructor(){this.http=g(Wo),this.platformId=g(ye)}getAllStars(){return nt(this.platformId)?x(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Li(),Ac((n,{stargazers_count:r})=>n+r,0))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var Hl=new I("HIGHLIGHT_OPTIONS");var Ei=function(e){return e.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",e.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",e.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",e.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",e.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",e}(Ei||{}),YA=(()=>{class e{constructor(){this.document=g(le),this.isPlatformBrowser=fo(g(ye)),this.options=g(Hl,{optional:!0}),this._ready=new Ce(null),this.ready=Tc(this._ready.asObservable().pipe(_e(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(Pe(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(he(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),Le)),Xe(n=>(console.error("[HLJS] ",n),this._ready.error(n),Le))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return ct(()=>Ei.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return ct(()=>Ei.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return ct(()=>Ei.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return ct(()=>Ei.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(Pe(n=>this._loadLanguages(n)))}return ct(()=>Ei.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([i,o])=>Eh(o()).pipe(he(s=>n.registerLanguage(i,s))));return ji(r).pipe(k(()=>n))}loadCoreLibrary(){return Eh(this.options.coreLibraryLoader())}loadFullLibrary(){return Eh(this.options.fullLibraryLoader())}loadLineNumbers(){return oe(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Eh=e=>oe(e).pipe(_e(t=>!!t?.default),k(t=>t.default)),QA=(()=>{class e{constructor(){this.loader=g(YA),this.options=g(Hl,{optional:!0}),this.hljsSignal=pt(null),this.hljs=vn(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let i=await this.loader.ready;i.lineNumbersBlock&&i.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ih;function KA(){if(!Ih)try{Ih=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return Ih}function JA(e){return KA()?.createHTML(e)||e}var KD=(()=>{class e{constructor(){this._hljs=g(QA),this._nativeElement=g(de).nativeElement,this._sanitizer=g(cf),this._platform=g(ye),fo(this._platform)&&(Lt(()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}),Lt(()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}))}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=JA(this._sanitizer.sanitize(Rt.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e})}}return e})(),JD=(()=>{class e extends KD{constructor(){super(...arguments),this.code=X(null,{alias:"highlight"}),this.highlightResult=pt(null),this.highlighted=new pe}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language,ignoreIllegals:this.ignoreIllegals});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=br(e)))(i||e)}})()}static{this.\u0275dir=De({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){r&2&&en("hljs",!0)},inputs:{code:[1,"highlight","code"],language:"language",ignoreIllegals:[2,"ignoreIllegals","ignoreIllegals",yn]},outputs:{highlighted:"highlighted"},standalone:!0,features:[Me([{provide:KD,useExisting:e}]),so,Ot]})}}return e})();var XD=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Yt({type:e})}static{this.\u0275inj=Zt({})}}return e})();var zl=new I("config"),Sh=new I("NEW_CONFIG"),Mh=new I("INITIAL_CONFIG"),ew={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var Gl=(()=>{class e{constructor(){this._config=g(zl),this._el=g(de),this._renderer=g(gn),this.ngxLoaderIndicator=X(!1),Lt(()=>{this.processValue(this.ngxLoaderIndicator())})}processValue(n){if(!n){this.loaderEl&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:r,hostStyles:i,loaderStyles:o,imgStyles:s,img:a}=this._config;this.loaderEl=this._renderer.createElement("div");let l=this._renderer.createElement("img");l.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],r),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,l),this._setStyles(this._el.nativeElement,i),this._setStyles(this.loaderEl,o),this._setStyles(l,s),a&&this._renderer.setAttribute(l,"src",a)}_setStyles(n,r){r&&Object.keys(r).forEach(i=>{this._renderer.setStyle(n,i,r[i])})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e,selectors:[["","ngxLoaderIndicator",""]],inputs:{ngxLoaderIndicator:[1,"ngxLoaderIndicator"]},standalone:!0})}}return e})();function eN(e,t){let n=t?t.loaderStyles:null,r=t?t.imgStyles:null,i=t?t.rotate:null;return G(D(D({},e),t),{loaderStyles:D(D({},e.loaderStyles),n),imgStyles:D(D({},e.imgStyles),r),rotate:D(D({},e.rotate),i)})}function Th(e){return[{provide:Sh,useValue:e},{provide:Mh,useValue:ew},{provide:zl,useFactory:eN,deps:[Mh,Sh]}]}function tw(e){return Vn(Th(e))}var nw=(()=>{class e{transform(n){return n?"block":"hidden"}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Qt({name:"hide",type:e,pure:!0,standalone:!0})}}return e})();var wt=(()=>{class e{transform(n,r="",i=!1){return n?r?`assets/images/${r}/${n}.${i?"webp":"svg"}`:`assets/images/${n}.svg`:""}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Qt({name:"asset",type:e,pure:!0,standalone:!0})}}return e})();var Ii=(()=>{class e{transform(n){return`Navigate to ${n??""}`}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Qt({name:"anchorLabel",type:e,pure:!0,standalone:!0})}}return e})();var Wl=(()=>{class e{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/",this.openSourceVisitBtnPath="open-source/visit-btn"}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-visit-btn"]],standalone:!0,features:[ae],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"flex","items-center","justify-between","bg-yellow","text-text","flex-row","py-15px","px-[32px]","w-full","h-[45px]","rounded-10px"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(r,i){r&1&&(C(0,"a",0),re(1,"anchorLabel"),f(2,` - `),C(3,"button",1),f(4,` - `),C(5,"span"),f(6,"Visit WebSite"),b(),f(7,` - `),B(8,"img",2),re(9,"asset"),f(10,` - `),b(),f(11,` -`),b(),f(12,` -`)),r&2&&(j("href",i.jsDaddyWebsite,Er),gt("aria-label",kt(1,3,"JsDaddy Website")),_(8),j("ngSrc",be(9,5,"button-chevron",i.openSourceVisitBtnPath)))},dependencies:[wt,yt,Ii],styles:["[_nghost-%COMP%]{display:block}"]})}}return e})();var Si=(()=>{class e{constructor(){this.platformId=g(ye),this.document=g(le)}setOverflowYBodyHtml(n){if(nt(this.platformId))return;let r=this.document.querySelector("body"),i=this.document.querySelector("html");!r||!i||(r.style.overflowY=n?"hidden":"overlay",i.style.overflowY=n?"hidden":"")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var tN=(e,t)=>t.title;function nN(e,t){e&1&&Za(0)}function rN(e,t){e&1&&Za(0)}function iN(e,t){if(e&1&&(f(0,` - `),C(1,"a",16),re(2,"anchorLabel"),f(3),b(),f(4,` - `)),e&2){let n=t.$implicit,r=Se(2);_(),$e(r.activeLink()===n.link?"text-yellow bg-dark mob:bg-yellow/[.05]":"mob:text-full-white mob:hover:bg-yellow/[.05] hover:bg-black/[.05]"),j("href",n.link,Er),gt("aria-label",kt(2,5,"Github-pages")),_(2),Re(` - `,n.title,` - `)}}function oN(e,t){if(e&1&&(f(0,` - `),Pt(1,iN,5,7,null,null,tN)),e&2){let n=Se();_(),Ft(n.headerItems)}}var rw=(()=>{class e{constructor(){this.activeLink=X(),this.showNav=!1,this.headerItems=[{title:"Ngx-Mask",link:"https://jsdaddy.github.io/ngx-mask/"},{title:"Ngx-CopyPaste",link:"https://jsdaddy.github.io/ngx-copypaste/"},{title:"Ngx-Loader-Indicator",link:"https://jsdaddy.github.io/ngx-loader-indicator/"}],this.jsDaddyWebsite="https://jsdaddy.io/",this.bodyStylesService=g(Si),this.openSourceHeaderPath="open-source/header"}toggleNavBlock(){this.showNav=!this.showNav,this.bodyStylesService.setOverflowYBodyHtml(this.showNav)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-header"]],inputs:{activeLink:[1,"activeLink"]},standalone:!0,features:[Me([Si]),ae],decls:50,vars:30,consts:[["openSourceButtons",""],[1,"fixed","top-0","right-0","left-0","flex","items-center","px-30px","py-15px","bg-full-white","h-[68px]","z-10"],["target","_self",1,"desk:pl-2.5","desk:w-[310px]",3,"href"],["width","34","height","29","alt","Logo JsDaddy",1,"logo",3,"ngSrc"],["aria-hidden","true",1,"desk:hidden","tab:hidden","ml-auto","cursor-pointer",3,"click"],["width","48","height","48","alt","Burger",3,"ngSrc"],[1,"flex","items-center","gap-5px","mob:hidden","tab:ml-30px"],[4,"ngTemplateOutlet"],[1,"fixed","top-0","right-0","left-0","flex","flex-col","bg-black","h-full","z-10"],[1,"flex","items-center","justify-between","h-[68px]","pl-30px","py-15px","border-b","border-b-full-white/[.05]"],["aria-hidden","true","width","34","height","29","alt","Logo JsDaddy",3,"ngSrc"],["aria-hidden","true","width","68","height","67","alt","Close",1,"cursor-pointer",3,"click","ngSrc"],[1,"fixed","block","overflow-auto","z-10","top-[68px]","left-0","right-0","w-full","py-15px","px-5","bg-black"],[1,"text-full-white","text-h5","uppercase","tracking-[.25em]"],[1,"flex","flex-col","mt-10","gap-2.5"],[1,"mt-auto","py-15px","px-5","w-full"],["target","_self",1,"flex","items-center","px-6","py-5px","rounded-10px","cursor-pointer",3,"href"]],template:function(r,i){if(r&1){let o=mn();C(0,"div",1),re(1,"hide"),f(2,` - `),C(3,"a",2),re(4,"anchorLabel"),f(5,` - `),B(6,"img",3),re(7,"asset"),f(8,` - `),b(),f(9,` - `),C(10,"div",4),Ne("click",function(){return Jt(o),Xt(i.toggleNavBlock())}),f(11,` - `),B(12,"img",5),re(13,"asset"),f(14,` - `),b(),f(15,` - `),C(16,"div",6),f(17,` - `),tt(18,nN,1,0,"ng-container",7),f(19,` - `),b(),f(20,` -`),b(),f(21,` - -`),C(22,"div",8),f(23,` - `),C(24,"div",9),f(25,` - `),B(26,"img",10),re(27,"asset"),f(28,` - `),C(29,"img",11),re(30,"asset"),Ne("click",function(){return Jt(o),Xt(i.toggleNavBlock())}),b(),f(31,` - `),b(),f(32,` - `),C(33,"div",12),f(34,` - `),C(35,"h3",13),f(36,"Repositories"),b(),f(37,` - `),C(38,"div",14),f(39,` - `),tt(40,rN,1,0,"ng-container",7),f(41,` - `),b(),f(42,` - `),b(),f(43,` - `),B(44,"jsdaddy-open-source-visit-btn",15),f(45,` -`),b(),f(46,` - -`),tt(47,oN,3,0,"ng-template",null,0,nv),f(49,` -`)}if(r&2){let o=Jy(48);$e(kt(1,14,!i.showNav)),_(3),j("href",i.jsDaddyWebsite,Er),gt("aria-label",kt(4,16,"JsDaddy corporate site")),_(3),j("ngSrc",be(7,18,"logo",i.openSourceHeaderPath)),_(6),j("ngSrc",be(13,21,"burger",i.openSourceHeaderPath)),_(6),j("ngTemplateOutlet",o),_(4),$e(i.showNav?"block":"hidden"),_(4),j("ngSrc",be(27,24,"logo-white",i.openSourceHeaderPath)),_(3),j("ngSrc",be(30,27,"close",i.openSourceHeaderPath)),_(4),$e(i.showNav?"block":"hidden"),_(7),j("ngTemplateOutlet",o)}},dependencies:[wt,nw,Wl,yt,Ii,yv]})}}return e})();function Qn(e){e||(_a(Qn),e=g(Qe));let t=new $(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(Bi(t))}function qo(e,t){let n=!t?.manualCleanup;n&&!t?.injector&&_a(qo);let r=n?t?.injector?.get(Qe)??g(Qe):null,i=sN(t?.equal),o;t?.requireSync?o=pt({kind:0},{equal:i}):o=pt({kind:1,value:t?.initialValue},{equal:i});let s=e.subscribe({next:a=>o.set({kind:1,value:a}),error:a=>{if(t?.rejectErrors)throw a;o.set({kind:2,error:a})}});if(t?.requireSync&&o().kind===0)throw new v(601,!1);return r?.onDestroy(s.unsubscribe.bind(s)),vn(()=>{let a=o();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new v(601,!1)}},{equal:t?.equal})}function sN(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}var aN=["accordion"],lN=["accordionBlock"],iw=(e,t)=>t.id;function cN(e,t){if(e&1){let n=mn();f(0,` - `),C(1,"p",19),Ne("click",function(){let i=Jt(n).$implicit,o=Se(2);return Xt(o.handleClick(i.id,i.scrollTo))}),f(2),b(),f(3,` - `)}if(e&2){let n=t.$implicit,r=Se(2);_(),$e(r.itemInAccordion===n.id?"text-yellow":"text-full-white"),_(),Re(` - `,n.content,` - `)}}function uN(e,t){if(e&1){let n=mn();f(0,` - `),C(1,"div",10,1),f(3,` - `),C(4,"div",11),Ne("click",function(i){let o=Jt(n),s=o.$implicit,a=o.$index,l=Se();return l.toggle(a),l.switchAccordion(s.id),Xt(i.stopPropagation())}),f(5,` - `),C(6,"div",12),f(7,` - `),B(8,"img",13),re(9,"asset"),f(10,` - `),B(11,"img",14),re(12,"asset"),f(13,` - `),C(14,"span",15),f(15),b(),f(16,` - `),b(),f(17,` - - `),B(18,"img",16),re(19,"asset"),f(20,` - `),B(21,"img",17),re(22,"asset"),f(23,` - `),b(),f(24,` - `),C(25,"div",18),f(26,` - `),Pt(27,cN,4,3,null,null,iw),b(),f(29,` - `),b(),f(30,` - `)}if(e&2){let n=t.$implicit,r=Se();_(8),j("ngSrc",be(9,5,n.defaultSvg,r.openSourceAccordionPath)),_(3),j("ngSrc",be(12,8,n.activeSvg,r.openSourceAccordionPath)),_(4),Re(` - `,n.header,` - `),_(3),j("ngSrc",be(19,11,n.whiteChevron,r.openSourceAccordionPath)),_(3),j("ngSrc",be(22,14,n.yellowChevron,r.openSourceAccordionPath)),_(6),Ft(n.text)}}var ow=(()=>{class e{constructor(){this.lists=X(),this.switchCardIndex=Ra(),this.accordion=Wa("accordion",{read:de}),this.accordionBlockElement=jy("accordionBlock",{read:de}),this.showAccordion=!1,this.itemInAccordion=1,this.openSourceAccordionPath="open-source/accordion",this.bodyStylesService=g(Si),this.activatedRoute=g(Zn),this.router=g(_i),this.platformId=g(ye),this.document=g(le),this.destroyRef=g(Qe)}ngAfterViewInit(){sr(window,"click").pipe(_e(()=>this.showAccordion&&event?.target!==this.accordionBlockElement()?.nativeElement),Qn(this.destroyRef)).subscribe(()=>this.showAccordionBlock()),this.openFirstAccordion(),this.activatedRoute.fragment.pipe(_e(Boolean),Qn(this.destroyRef)).subscribe(n=>{this.itemInAccordion=Number(n)})}showAccordionBlock(){this.showAccordion=!this.showAccordion,this.bodyStylesService.setOverflowYBodyHtml(this.showAccordion)}switchAccordion(n){this.switchCardIndex.emit(n)}handleClick(n,r){this.showAccordion&&this.showAccordionBlock(),this.anchorScroll(n,r)}anchorScroll(n,r){if(nt(this.platformId)||(this.itemInAccordion=n,this.router.navigate(["/"],{fragment:n.toString()}),!r))return;let i=this.document.getElementById(r);i&&i.scrollIntoView({behavior:"smooth",block:"start"})}toggle(n){this.accordion()?.forEach((r,i)=>{n!==i?r?.nativeElement.classList.remove("active"):r?.nativeElement.classList.toggle("active")})}openFirstAccordion(){this.accordion()?.[0]?.nativeElement.classList.toggle("active")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-accordion"]],viewQuery:function(r,i){r&1&&(co(i.accordion,aN,5,de),co(i.accordionBlockElement,lN,5,de)),r&2&&Ya(2)},inputs:{lists:[1,"lists"]},outputs:{switchCardIndex:"switchCardIndex"},standalone:!0,features:[Me([Si]),ae],decls:27,vars:7,consts:[["accordionBlock",""],["accordion",""],["aria-hidden","true",1,"flex","justify-between","items-center","bg-black","cursor-pointer","desk:hidden","h-[55px]","w-full","fixed","top-[68px]","px-5",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","18","height","18","viewBox","0 0 18 18","fill","none"],["x","18","width","18","height","18","rx","9","transform","rotate(90 18 0)"],["d","M13.5 7.27875L12.4425 6.22125L9 9.65625L5.5575 6.22125L4.5 7.27875L9 11.7788L13.5 7.27875Z","fill","currentColor"],[1,"tracking-[.25em]","uppercase"],[1,"flex","flex-col","fixed","z-20","h-full","overflow-auto","bg-black","pt-[22px]","w-[310px]","top-[68px]","tab:w-[375px]","tab:top-[122px]","mob:w-full","p-5"],[1,"bg-black","flex","flex-col","gap-5","relative","h-full"],[1,"fixed","bottom-5","w-[270px]","mob:hidden","tab:hidden"],[1,"non-active","w-full","bg-black","text-white","cursor-pointer","border-t","border-b","border-yellow","rounded-10px","p-2.5"],["aria-hidden","true",1,"flex","items-center","justify-between","bg-black","text-white",3,"click"],[1,"flex","items-center","bg-light-grey-accordion","gap-15px"],["width","32","height","32","alt","Accordion white",1,"default-svg",3,"ngSrc"],["width","32","height","32","alt","Accordion yellow",1,"active-svg",3,"ngSrc"],[1,"accordion-title","text-full-white"],["width","12","height","12","alt","Chevron white",1,"chevron-default",3,"ngSrc"],["width","12","height","12","alt","Chevron yellow",1,"chevron-active",3,"ngSrc"],[1,"panel","flex-col","text-full-white","text-text","bg-black","pl-[45px]"],["aria-hidden","true",1,"text-text","cursor-pointer","px-2","py-2",3,"click"]],template:function(r,i){if(r&1){let o=mn();C(0,"div",2),Ne("click",function(a){return Jt(o),i.showAccordionBlock(),Xt(a.stopPropagation())}),f(1,` - `),vm(),C(2,"svg",3),f(3,` - `),B(4,"rect",4),f(5,` - `),B(6,"path",5),f(7,` - `),b(),f(8,` - `),Dm(),C(9,"span",6),f(10,"Navigation"),b(),f(11,` -`),b(),f(12,` - -`),C(13,"div",7,0),f(15,` - `),C(16,"div",8),f(17,` - `),Pt(18,uN,31,17,null,null,iw),C(20,"div",9),f(21,` - `),B(22,"jsdaddy-open-source-visit-btn"),f(23,` - `),b(),f(24,` - `),b(),f(25,` -`),b(),f(26,` -`)}r&2&&(_(2),$e(i.showAccordion?"rotate-180":""),_(2),gt("fill",i.showAccordion?"#FFD64D":"white"),_(5),$e(i.showAccordion?"text-yellow":"text-full-white"),_(4),$e(i.showAccordion?"tab:block mob:block":"tab:hidden mob:hidden"),_(5),Ft(i.lists()))},dependencies:[wt,Wl,yt],styles:[".non-active[_ngcontent-%COMP%] .accordion-title[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.non-active[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:none}.non-active[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:block}.non-active[_ngcontent-%COMP%]:hover .chevron-default[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%]:hover .default-svg[_ngcontent-%COMP%]{display:none}.non-active[_ngcontent-%COMP%]:hover .chevron-active[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%]:hover .active-svg[_ngcontent-%COMP%]{display:block}.active[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.active[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{display:block}.active[_ngcontent-%COMP%] .accordion-title[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 214 77 / var(--tw-text-opacity))}"]})}}return e})();var dN=["chip",""],sw=(()=>{class e{constructor(){this.chip=X.required(),this.chipBgColor=X("rgba(0,0,0,0.05)"),this.isActive=X(!1),this.pointer=X(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-chip","chip",""]],inputs:{chip:[1,"chip"],chipBgColor:[1,"chipBgColor"],isActive:[1,"isActive"],pointer:[1,"pointer"]},standalone:!0,features:[ae],attrs:dN,decls:3,vars:5,consts:[[1,"w-max","py-5px","px-15px","rounded-25px"]],template:function(r,i){r&1&&(C(0,"div",0),f(1),b(),f(2,` -`)),r&2&&($e(i.isActive()?"bg-yellow":i.chipBgColor()),ao("cursor",i.pointer()?"cursor-pointer":""),_(),Re(` - `,i.chip(),` -`))}})}}return e})();var fN=["title",""],aw=(()=>{class e{constructor(){this.title=X.required(),this.assetPathShared="shared",this.jsdaddyGithub="https://github.com/JsDaddy/",this.countOfStarsOnGithub=qo(g($l).getAllStars())}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-github-buttons","title",""]],inputs:{title:[1,"title"]},standalone:!0,features:[ae],attrs:fN,decls:18,vars:10,consts:[["target","_blank",1,"flex","cursor-pointer","mx-5","mr-[44px]","mob:mr-30px","text-span-12","text-full-white",3,"href"],[1,"flex","items-center","px-2.5","py-[3px]","bg-black","border","border-black","rounded-4px","relative","mr-[7px]"],["width","16","height","16","alt","Github",1,"mr-2.5",3,"ngSrc"],[1,"absolute","w-2","h-2","bg-black","transform","rotate-45","top-1/2","right-[-1px]","translate-y-[-50%]"],[1,"flex","items-center","px-2.5","py-[3px]","bg-black","border","border-black","rounded-4px"]],template:function(r,i){r&1&&(C(0,"a",0),f(1,` - `),C(2,"div",1),f(3,` - `),B(4,"img",2),re(5,"asset"),f(6,` - `),C(7,"span"),re(8,"anchorLabel"),f(9),b(),f(10,` - `),B(11,"div",3),f(12,` - `),b(),f(13,` - `),C(14,"div",4),f(15),b(),f(16,` -`),b(),f(17,` -`)),r&2&&(j("href",i.jsdaddyGithub,Er),_(4),j("ngSrc",be(5,5,"github",i.assetPathShared)),_(3),gt("aria-label",kt(8,8,"Github")),_(2),Re(" ",i.title()," "),_(6),Re(` - `,i.countOfStarsOnGithub()||0,` - `))},dependencies:[wt,yt,Ii]})}}return e})();function hN(e,t){if(e&1&&(f(0,` - `),B(1,"jsdaddy-chip",7),f(2,` - `)),e&2){let n=t.$implicit;_(),j("chip",n)}}var lw=(()=>{class e{constructor(){this.title=X(),this.subtitle=X(),this.chips=X()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-sub-header"]],inputs:{title:[1,"title"],subtitle:[1,"subtitle"],chips:[1,"chips"]},standalone:!0,features:[ae],decls:22,vars:2,consts:[[1,"flex","flex-col","text-full-white","pl-30px","py-5","pr-5","mob:pt-35px","mob:px-5","mob:pb-5"],[1,"git-text","title","flex","justify-between","text-title","text-black","mob:flex-col-reverse","mob:justify-normal","mob:gap-30px"],[1,"text-h3","pb-2.5"],[1,"flex","mob:relative","mob:-left-5"],["title","GitHub Stars"],[1,"pb-2.5","text-span","text-black"],[1,"flex","flex-wrap","gap-2.5","text-orange"],["chipBgColor","bg-orange/[.05]",3,"chip"]],template:function(r,i){r&1&&(C(0,"div",0),f(1,` - `),C(2,"div",1),f(3,` - `),C(4,"h3",2),f(5),b(),f(6,` - `),C(7,"div",3),f(8,` - `),B(9,"jsdaddy-github-buttons",4),f(10,` - `),b(),f(11,` - `),b(),f(12,` - `),C(13,"span",5),f(14),b(),f(15,` - `),C(16,"div",6),f(17,` - `),Pt(18,hN,3,1,null,null,qa),b(),f(20,` -`),b(),f(21,` -`)),r&2&&(_(5),$d(i.title()),_(9),Re(` - `,i.subtitle(),` - `),_(4),Ft(i.chips()))},dependencies:[sw,aw]})}}return e})();var ql=new I("VersionToken");var cw=(()=>{class e{constructor(){this.copyrightText=`\xA9 JSdaddy, 2016-${new Date().getFullYear()}, All Rights Reserved`,this.versionValue=g(ql,{optional:!0}),this.version=`v${this.versionValue||"*.*.*"}`}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-footer"]],standalone:!0,features:[ae],decls:6,vars:2,consts:[[1,"flex","justify-center","items-end","desk:h-[calc(100dvh-600px)]","tab:h-[calc(100dvh","-","65vh)]","mob:h-[150px]"],[1,"pb-10","text-black/[.45]"]],template:function(r,i){r&1&&(C(0,"div",0),f(1,` - `),C(2,"span",1),f(3),b(),f(4,` -`),b(),f(5,` -`)),r&2&&(_(3),Hd(" ",i.copyrightText," ",i.version," "))}})}}return e})();var uw=[{header:"Configuration",id:1,defaultSvg:"options",activeSvg:"options-active",whiteChevron:"white-chevron-down",yellowChevron:"yellow-chevron-down",text:[{content:"Authentication process",id:1,scrollTo:"authentication"},{content:"Loader",id:2,scrollTo:"loader"}]}];var dw=[{header:"Authentication process with default configuration",code:`
- ..... -
`,id:1,anchor:"authentication",cardType:!0},{header:"Loader with custom configuration",code:`
- ... -
`,customCodeProvider:`@Component({ -.... -providers: [ - { - provide: config, - useValue: { - img: 'https://avatars2.githubusercontent.com/u/32452610?s=200&v=4', - loaderStyles: { - background: 'rgba(255, 255, 255, 0.8)', - }, - imgStyles: { - width: '100px', - background: 'yellow', - }, - rotate: { - duration: 5000, - }, - }, - }, - ], -}) `,id:2,anchor:"loader",cardType:!1}];var xh=(()=>{class e{constructor(){this.activeCardId$$=new Ce(1),this.router=g(_i),this.minusTopHeight=300,this.minusTopMobileHeight=150,this.document=g(le),this.platformId=g(ye),this.destroyRef=g(Qe),this.activeCard$=this.activeCardId$$.asObservable()}onScroll(n){sr(document,"scroll").pipe(Nc(100),Qn(this.destroyRef)).subscribe(()=>{let r=n.find(i=>this.isInViewport(i.nativeElement))?.nativeElement.id;this.activeCardId$$.value!==Number(r)&&r&&(this.activeCardId$$.next(Number(r)),this.router.navigate(["/"],{fragment:r}))})}isInViewport(n){if(nt(this.platformId))return!1;let r=this.document.body.offsetHeight,i=n.offsetTop-this.minusTopHeight,o=i+n.offsetHeight,s=this.document.documentElement.scrollTop,a=s+this.document.documentElement.clientHeight;return r<450&&(i=n.offsetTop-this.minusTopMobileHeight),o>s&&i{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-loader-indicator-custom-loader"]],standalone:!0,features:[Me([Th({img:"assets/images/shared/rotate-logo.svg",loaderStyles:{background:"",position:"relative",bottom:"60px","z-index":"0"},imgStyles:{width:"100px"},rotate:{duration:5e3}})]),ae],decls:3,vars:1,consts:[[1,"text-full-white","text-span",3,"ngxLoaderIndicator"]],template:function(r,i){r&1&&(C(0,"div",0),f(1,` - Lorem ipsum dolor sit amet consectetur adipisicing elit. In, vero impedit neque deleniti - doloribus sed at est placeat exercitationem. Soluta qui doloribus deleniti velit? Asperiores - adipisci impedit ad maxime tempore. Lorem ipsum dolor sit amet consectetur adipisicing elit. In, - vero impedit neque deleniti doloribus sed at est placeat exercitationem. Soluta qui doloribus - deleniti velit? Asperiores adipisci impedit ad maxime tempore. -`),b(),f(2,` -`)),r&2&&j("ngxLoaderIndicator",!0)},dependencies:[Gl]})}}return e})();var Dw=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(ne(gn),ne(de))}}static{this.\u0275dir=De({type:e})}}return e})(),pN=(()=>{class e extends Dw{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=br(e)))(i||e)}})()}static{this.\u0275dir=De({type:e,features:[Ot]})}}return e})(),Jo=new I("");var gN={provide:Jo,useExisting:wr(()=>ic),multi:!0};function mN(){let e=Dn()?Dn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var yN=new I(""),ic=(()=>{class e extends Dw{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mN())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static{this.\u0275fac=function(r){return new(r||e)(ne(gn),ne(de),ne(yN,8))}}static{this.\u0275dir=De({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Ne("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[Me([gN]),Ot]})}}return e})();function Kn(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function ww(e){return e!=null&&typeof e.length=="number"}var kh=new I(""),Lh=new I(""),vN=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,xi=class{static min(t){return DN(t)}static max(t){return wN(t)}static required(t){return CN(t)}static requiredTrue(t){return bN(t)}static email(t){return _N(t)}static minLength(t){return EN(t)}static maxLength(t){return IN(t)}static pattern(t){return SN(t)}static nullValidator(t){return Cw(t)}static compose(t){return Mw(t)}static composeAsync(t){return xw(t)}};function DN(e){return t=>{if(Kn(t.value)||Kn(e))return null;let n=parseFloat(t.value);return!isNaN(n)&&n{if(Kn(t.value)||Kn(e))return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function CN(e){return Kn(e.value)?{required:!0}:null}function bN(e){return e.value===!0?null:{required:!0}}function _N(e){return Kn(e.value)||vN.test(e.value)?null:{email:!0}}function EN(e){return t=>Kn(t.value)||!ww(t.value)?null:t.value.lengthww(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function SN(e){if(!e)return Cw;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(Kn(r.value))return null;let i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function Cw(e){return null}function bw(e){return e!=null}function _w(e){return Sr(e)?oe(e):e}function Ew(e){let t={};return e.forEach(n=>{t=n!=null?D(D({},t),n):t}),Object.keys(t).length===0?null:t}function Iw(e,t){return t.map(n=>n(e))}function MN(e){return!e.validate}function Sw(e){return e.map(t=>MN(t)?t:n=>t.validate(n))}function Mw(e){if(!e)return null;let t=e.filter(bw);return t.length==0?null:function(n){return Ew(Iw(n,t))}}function Tw(e){return e!=null?Mw(Sw(e)):null}function xw(e){if(!e)return null;let t=e.filter(bw);return t.length==0?null:function(n){let r=Iw(n,t).map(_w);return ji(r).pipe(k(Ew))}}function Aw(e){return e!=null?xw(Sw(e)):null}function hw(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Nw(e){return e._rawValidators}function Rw(e){return e._rawAsyncValidators}function Ah(e){return e?Array.isArray(e)?e:[e]:[]}function Ql(e,t){return Array.isArray(e)?e.includes(t):e===t}function pw(e,t){let n=Ah(t);return Ah(e).forEach(i=>{Ql(n,i)||n.push(i)}),n}function gw(e,t){return Ah(t).filter(n=>!Ql(e,n))}var Kl=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Tw(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Aw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},Ai=class extends Kl{get formDirective(){return null}get path(){return null}},Lr=class extends Kl{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Jl=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},TN={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mU=G(D({},TN),{"[class.ng-submitted]":"isSubmitted"}),oc=(()=>{class e extends Jl{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(ne(Lr,2))}}static{this.\u0275dir=De({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&en("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Ot]})}}return e})(),Ow=(()=>{class e extends Jl{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(ne(Ai,10))}}static{this.\u0275dir=De({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&en("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Ot]})}}return e})();var Zo="VALID",Zl="INVALID",Mi="PENDING",Yo="DISABLED",Jn=class{},Xl=class extends Jn{constructor(t,n){super(),this.value=t,this.source=n}},Qo=class extends Jn{constructor(t,n){super(),this.pristine=t,this.source=n}},Ko=class extends Jn{constructor(t,n){super(),this.touched=t,this.source=n}},Ti=class extends Jn{constructor(t,n){super(),this.status=t,this.source=n}},Nh=class extends Jn{constructor(t){super(),this.source=t}},Rh=class extends Jn{constructor(t){super(),this.source=t}};function jh(e){return(sc(e)?e.validators:e)||null}function xN(e){return Array.isArray(e)?Tw(e):e||null}function Vh(e,t){return(sc(t)?t.asyncValidators:e)||null}function AN(e){return Array.isArray(e)?Aw(e):e||null}function sc(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Pw(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new v(1e3,"");if(!r[n])throw new v(1001,"")}function Fw(e,t,n){e._forEachChild((r,i)=>{if(n[i]===void 0)throw new v(1002,"")})}var Ni=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=vn(()=>this.statusReactive()),this.statusReactive=pt(void 0),this._pristine=vn(()=>this.pristineReactive()),this.pristineReactive=pt(!0),this._touched=vn(()=>this.touchedReactive()),this.touchedReactive=pt(!1),this._events=new Oe,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return tn(this.statusReactive)}set status(t){tn(()=>this.statusReactive.set(t))}get valid(){return this.status===Zo}get invalid(){return this.status===Zl}get pending(){return this.status==Mi}get disabled(){return this.status===Yo}get enabled(){return this.status!==Yo}get pristine(){return tn(this.pristineReactive)}set pristine(t){tn(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return tn(this.touchedReactive)}set touched(t){tn(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(pw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(pw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(gw(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(gw(t,this._rawAsyncValidators))}hasValidator(t){return Ql(this._rawValidators,t)}hasAsyncValidator(t){return Ql(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(G(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Ko(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new Ko(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(G(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Qo(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Qo(!0,r))}markAsPending(t={}){this.status=Mi;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ti(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(G(D({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Yo,this.errors=null,this._forEachChild(i=>{i.disable(G(D({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Xl(this.value,r)),this._events.next(new Ti(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(G(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Zo,this._forEachChild(r=>{r.enable(G(D({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(G(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zo||this.status===Mi)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Xl(this.value,n)),this._events.next(new Ti(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(G(D({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yo:Zo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Mi,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=_w(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Ti(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new pe,this.statusChanges=new pe}_calculateStatus(){return this._allControlsDisabled()?Yo:this.errors?Zl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mi)?Mi:this._anyControlsHaveStatus(Zl)?Zl:Zo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new Qo(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Ko(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){sc(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=xN(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=AN(this._rawAsyncValidators)}},ec=class extends Ni{constructor(t,n,r){super(jh(n),Vh(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){Fw(this,!0,t),Object.keys(t).forEach(r=>{Pw(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(r=>{let i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Oh=class extends ec{};var Bh=new I("CallSetDisabledState",{providedIn:"root",factory:()=>Uh}),Uh="always";function NN(e,t){return[...t.path,e]}function Ph(e,t,n=Uh){$h(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),ON(e,t),FN(e,t),PN(e,t),RN(e,t)}function tc(e,t,n=!0){let r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),rc(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function nc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function RN(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function $h(e,t){let n=Nw(e);t.validator!==null?e.setValidators(hw(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=Rw(e);t.asyncValidator!==null?e.setAsyncValidators(hw(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();nc(t._rawValidators,i),nc(t._rawAsyncValidators,i)}function rc(e,t){let n=!1;if(e!==null){if(t.validator!==null){let i=Nw(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=!0,e.setValidators(o))}}if(t.asyncValidator!==null){let i=Rw(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=!0,e.setAsyncValidators(o))}}}let r=()=>{};return nc(t._rawValidators,r),nc(t._rawAsyncValidators,r),n}function ON(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&kw(e,t)})}function PN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&kw(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function kw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function FN(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function kN(e,t){e==null,$h(e,t)}function LN(e,t){return rc(e,t)}function Lw(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function jN(e){return Object.getPrototypeOf(e.constructor)===pN}function VN(e,t){e._syncPendingControls(),t.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function jw(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===ic?n=o:jN(o)?r=o:i=o}),i||r||n||null}function BN(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function mw(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yw(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Yl=class extends Ni{constructor(t=null,n,r){super(jh(n),Vh(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(yw(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){mw(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){mw(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){yw(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var UN=e=>e instanceof Yl;var Vw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})();var Hh=new I(""),$N={provide:Lr,useExisting:wr(()=>zh)},zh=(()=>{class e extends Lr{set isDisabled(n){}static{this._ngModelWarningSentOnce=!1}constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new pe,this._ngModelWarningSent=!1,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=jw(this,i)}ngOnChanges(n){if(this._isControlChanged(n)){let r=n.form.previousValue;r&&tc(r,this,!1),Ph(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Lw(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&tc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}static{this.\u0275fac=function(r){return new(r||e)(ne(kh,10),ne(Lh,10),ne(Jo,10),ne(Hh,8),ne(Bh,8))}}static{this.\u0275dir=De({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Me([$N]),Ot,Kt]})}}return e})(),HN={provide:Ai,useExisting:wr(()=>Gh)},Gh=(()=>{class e extends Ai{get submitted(){return tn(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,r,i){super(),this.callSetDisabledState=i,this._submitted=vn(()=>this._submittedReactive()),this._submittedReactive=pt(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new pe,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(rc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return Ph(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){tc(n.control||null,n,!1),BN(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),VN(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new Nh(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new Rh(this.form))}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,i=this.form.get(n.path);r!==i&&(tc(r||null,n),UN(i)&&(Ph(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);kN(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&LN(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){$h(this.form,this),this._oldForm&&rc(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(r){return new(r||e)(ne(kh,10),ne(Lh,10),ne(Bh,8))}}static{this.\u0275dir=De({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Ne("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Me([HN]),Ot,Kt]})}}return e})();var zN={provide:Lr,useExisting:wr(()=>Wh)},Wh=(()=>{class e extends Lr{set isDisabled(n){}static{this._ngModelWarningSentOnce=!1}constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new pe,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=jw(this,o)}ngOnChanges(n){this._added||this._setUpControl(),Lw(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return NN(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(r){return new(r||e)(ne(Ai,13),ne(kh,10),ne(Lh,10),ne(Jo,10),ne(Hh,8))}}static{this.\u0275dir=De({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Me([zN]),Ot,Kt]})}}return e})();var GN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Yt({type:e})}static{this.\u0275inj=Zt({})}}return e})(),Fh=class extends Ni{constructor(t,n,r){super(jh(n),Vh(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Fw(this,!1,t),t.forEach((r,i)=>{Pw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};function vw(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var ac=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,r=null){let i=this._reduceControls(n),o={};return vw(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new ec(i,o)}record(n,r=null){let i=this._reduceControls(n);return new Oh(i,r)}control(n,r,i){let o={};return this.useNonNullable?(vw(r)?o=r:(o.validators=r,o.asyncValidators=i),new Yl(n,G(D({},o),{nonNullable:!0}))):new Yl(n,r,i)}array(n,r,i){let o=n.map(s=>this._createControl(s));return new Fh(o,r,i)}_reduceControls(n){let r={};return Object.keys(n).forEach(i=>{r[i]=this._createControl(n[i])}),r}_createControl(n){if(n instanceof Yl)return n;if(n instanceof Ni)return n;if(Array.isArray(n)){let r=n[0],i=n.length>1?n[1]:null,o=n.length>2?n[2]:null;return this.control(r,i,o)}else return this.control(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var lc=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Hh,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Bh,useValue:n.callSetDisabledState??Uh}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Yt({type:e})}static{this.\u0275inj=Zt({imports:[GN]})}}return e})();var Uw=(()=>{class e{transform(n,r){if(!n)return"";if(n.dirty||n.touched){let i=n.errors;if(r&&i)return"not-valid";if(r&&!i&&(n.dirty||n.touched))return"valid";if(i?.required)return"Required";if(i?.email)return"Wrong E-mail";if(i?.minlength)return"Wrong length"}return""}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Qt({name:"input",type:e,pure:!1,standalone:!0})}}return e})();var $w=(()=>{class e{constructor(){this.jsdaddyAutofocus=X(),this.elRef=g(de),Lt(()=>{this.jsdaddyAutofocus()&&this.elRef.nativeElement.focus()})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=De({type:e,selectors:[["","jsdaddyAutofocus",""]],inputs:{jsdaddyAutofocus:[1,"jsdaddyAutofocus"]},standalone:!0})}}return e})();var WN=["placeholder",""];function qN(e,t){if(e&1){let n=mn();f(0,` - `),C(1,"input",2),Ne("keyup.enter",function(){Jt(n);let i=Se();return Xt(i.onLabelClick())}),b(),f(2,` - `)}if(e&2){let n=Se();_(),en("dark",n.isDark()),lo("id",n.uniqueId),j("formControl",n.control)("jsdaddyAutofocus",n.autoFocus())("placeholder",n.placeholder())}}function ZN(e,t){if(e&1){let n=mn();f(0,` - `),C(1,"textarea",3),Ne("keyup.enter",function(){Jt(n);let i=Se();return Xt(i.onLabelClick())}),b(),f(2,` - `)}if(e&2){let n=Se();_(),en("dark",n.isDark()),lo("id",n.uniqueId),j("formControl",n.control)("jsdaddyAutofocus",n.autoFocus())("placeholder",n.placeholder())}}function YN(e,t){e&1&&f(0),e&2&&Re(` - `,t,` - `)}function QN(e,t){if(e&1&&(f(0,` - `),B(1,"img",4),re(2,"asset"),f(3,` - `)),e&2){let n=Se(2);_(),j("ngSrc",be(2,1,"done-yellow",n.additionalPath))}}function KN(e,t){if(e&1&&(f(0,` - `),tt(1,QN,4,4)),e&2){let n=Se();_(),Un(n.control.touched?1:-1)}}var Hw=(()=>{class e{constructor(){this.placeholder=X.required(),this.label=X(null),this.isTextarea=X(!1),this.validators=X([]),this.isDark=X(!1),this.autoFocus=X(!0),this.labelClick=Ra(),this.fb=g(ac),this.additionalPath="shared",this.control=this.fb.control(null),this.cdr=g(mt),this.destroyRef=g(Qe),this.uniqueId=crypto.randomUUID?.()??Date.now(),this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.control.valueChanges.pipe(Qn(this.destroyRef)).subscribe(n=>{this.onChange&&this.onChange(n),this.cdr.detectChanges()})}writeValue(n){n===null&&this.control.reset(),this.control.setValidators(this.validators()),this.control.setValue(n)}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}onLabelClick(){this.control.invalid||this.labelClick.emit()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-input","placeholder",""]],inputs:{placeholder:[1,"placeholder"],label:[1,"label"],isTextarea:[1,"isTextarea"],validators:[1,"validators"],isDark:[1,"isDark"],autoFocus:[1,"autoFocus"]},outputs:{labelClick:"labelClick"},standalone:!0,features:[Me([{provide:Jo,useExisting:e,multi:!0}]),ae],attrs:WN,decls:13,vars:14,consts:[[1,"input-wrapper"],["aria-hidden","true",3,"click","for"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","jsdaddyAutofocus","id","placeholder"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","id","jsdaddyAutofocus","placeholder"],["alt","Done","width","15","height","11",3,"ngSrc"]],template:function(r,i){if(r&1&&(C(0,"div",0),re(1,"input"),f(2,` - `),tt(3,qN,3,6)(4,ZN,3,6),C(5,"label",1),Ne("click",function(){return i.onLabelClick()}),f(6,` - `),tt(7,YN,1,1),re(8,"input"),re(9,"uppercase"),tt(10,KN,2,1),b(),f(11,` -`),b(),f(12,` -`)),r&2){let o;$e(be(1,7,i.control,!0)),en("dark",i.isDark()),_(3),Un(i.isTextarea()?4:3),_(2),lo("for",i.uniqueId),_(2),Un((o=kt(8,10,i.control)||kt(9,12,i.label()))?7:10,o)}},dependencies:[lc,ic,oc,zh,vv,wt,Uw,$w,yt],styles:[".input-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;width:100%;align-items:center;border-radius:10px;border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(255 255 255 / var(--tw-border-opacity))}.input-wrapper.dark[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:157px;resize:none}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{box-sizing:border-box;width:67%;border-style:none;background-color:transparent;padding:14px 15px;font-size:14px;line-height:21px;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#fff!important;caret-color:#fff}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:var(--black)!important;caret-color:#000}.input-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-left:auto;margin-right:1rem;cursor:pointer;font-size:12px;line-height:13px;font-weight:300}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ffffff40}.input-wrapper[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]::placeholder{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));opacity:.25}.input-wrapper.not-valid[_ngcontent-%COMP%]{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(227 83 83 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(227 83 83 / var(--tw-text-opacity))}.input-wrapper.valid[_ngcontent-%COMP%]{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(255 214 77 / var(--tw-border-opacity))}"],changeDetection:0})}}return e})();function JN(e,t){if(e&1&&(f(0,` - `),B(1,"jsdaddy-input",3),f(2,` - `)),e&2){let n=t.$implicit;_(),j("autoFocus",!1)("formControlName",n.formControlName)("placeholder",n.placeholder)("validators",n.validators)}}var zw=(()=>{class e{constructor(){this.isLoading=!1,this.loginValidators=[xi.required],this.passwordValidators=[xi.required,xi.minLength(5)],this.cdr=g(mt),this.fb=g(ac),this.form=this.fb.group({login:[null,this.loginValidators],password:[null,this.passwordValidators]}),this.formItems=[{formControlName:"login",validators:this.loginValidators,placeholder:"Login"},{formControlName:"password",validators:this.passwordValidators,placeholder:"Password"}]}login(){this.isLoading=!0,x({}).pipe(Oc(3e3)).subscribe(()=>{this.form.reset(),this.isLoading=!1,this.cdr.detectChanges()})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-form"]],standalone:!0,features:[ae],decls:11,vars:3,consts:[[1,"flex","flex-col","gap-30px",3,"ngSubmit","formGroup","ngxLoaderIndicator"],[1,"flex","flex-col","gap-25px"],[1,"flex","items-center","text-span","cursor-pointer","bg-full-white","text-black","w-fit","rounded-4px","py-5px","px-6","auth-btn","disabled:cursor-not-allowed",3,"disabled"],[3,"autoFocus","formControlName","placeholder","validators"]],template:function(r,i){r&1&&(C(0,"form",0),Ne("ngSubmit",function(){return i.login()}),f(1,` - `),C(2,"div",1),f(3,` - `),Pt(4,JN,3,4,null,null,qa),b(),f(6,` - `),C(7,"button",2),f(8,` - Login - `),b(),f(9,` -`),b(),f(10,` -`)),r&2&&(j("formGroup",i.form)("ngxLoaderIndicator",i.isLoading),_(4),Ft(i.formItems),_(3),j("disabled",i.form.invalid))},dependencies:[lc,Vw,oc,Ow,Gh,Wh,Gl,Hw],changeDetection:0})}}return e})();var XN=["cards"],eR=(e,t)=>t.id;function tR(e,t){if(e&1&&(f(0,` - `),C(1,"pre",10),f(2," "),B(3,"code",15),f(4,` - `),B(5,"img",12),re(6,"asset"),f(7,` - `),b(),f(8,` - `)),e&2){let n=Se().$implicit,r=Se();_(3),j("highlight",n.customCodeProvider),_(2),j("ngSrc",be(6,2,"input-vector",r.openSourceCardsPath))}}function nR(e,t){e&1&&(f(0,` - `),B(1,"jsdaddy-open-source-form"),f(2,` - `))}function rR(e,t){e&1&&(f(0,` - `),B(1,"jsdaddy-open-source-loader-indicator-custom-loader"),f(2,` - `))}function iR(e,t){if(e&1&&(f(0,` - `),C(1,"div",1,0),f(3,` - `),C(4,"div",2),f(5),b(),f(6,` - `),C(7,"div",3),f(8,` - `),C(9,"div",4),f(10,` - `),C(11,"div",5),f(12,` - `),B(13,"img",6),re(14,"asset"),f(15,` - `),C(16,"span",7),f(17,"Usage"),b(),f(18,` - `),b(),f(19,` - `),C(20,"span",8),f(21,"Source code"),b(),f(22,` - `),C(23,"div",9),f(24,` - `),tt(25,tR,9,5),C(26,"pre",10),f(27," "),B(28,"code",11),f(29,` - `),B(30,"img",12),re(31,"asset"),f(32,` - `),b(),f(33,` - `),b(),f(34,` - `),b(),f(35,` - `),C(36,"div",13),f(37,` - `),C(38,"div",14),f(39,` - `),tt(40,nR,3,0)(41,rR,3,0),b(),f(42,` - `),b(),f(43,` - `),b(),f(44,` - `),b(),f(45,` -`)),e&2){let n=t.$implicit,r=Se();_(),$e(r.activeCardId()===n.id?"border border-solid border-yellow bg-yellow/[.05]":""),_(4),Re(` - `,n.header,` - `),_(2),j("id",n.anchor),_(6),j("ngSrc",be(14,10,"hand-box",r.openSourceCardsPath)),_(12),Un(n.customCodeProvider?25:-1),_(3),j("highlight",n.code),_(2),j("ngSrc",be(31,13,"input-vector",r.openSourceCardsPath)),_(10),Un(n.cardType?40:-1),_(),Un(n.cardType?-1:41)}}var Gw=(()=>{class e{constructor(){this.cardDocs=X(),this.cards=Wa("cards",{read:de}),this.openSourceCardsPath="open-source/cards",this.scrollService=g(xh),this.activeCardId=qo(this.scrollService.activeCard$),Lt(()=>{this.scrollService.onScroll(this.cards())})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(r,i){r&1&&co(i.cards,XN,5,de),r&2&&Ya()},inputs:{cardDocs:[1,"cardDocs"]},standalone:!0,features:[Me([xh]),ae],decls:2,vars:0,consts:[["cards",""],[1,"flex","flex-col","p-2.5","gap-2.5","bg-dark/[.02]","rounded-15px"],[1,"ml-4","flex","items-center","text-title","text-dark","uppercase","tracking-[.25em]"],[1,"flex","justify-between","gap-30px","mob:flex-col","mob:gap-15px","scroll-mt-[185px]",3,"id"],[1,"flex-[55%]","rounded-10px","bg-full-white","p-15px"],[1,"flex","items-start","gap-2.5","mb-5"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"text-span","text-dark/[.25]"],[1,"uppercase","tracking-[.25em]","text-span","text-dark/[.45]"],[1,"flex","flex-col","mt-2.5","gap-2.5"],[1,"flex","text-span"],["type","text","language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-line",3,"highlight"],["height","18","width","13","alt","Input vector",1,"relative","right-5","self-center",3,"ngSrc"],[1,"flex-[45%]","rounded-10px","p-15px","bg-dark"],[1,"flex","flex-col","gap-30px"],["language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-wrap",3,"highlight"]],template:function(r,i){r&1&&Pt(0,iR,46,16,null,null,eR),r&2&&Ft(i.cardDocs())},dependencies:[yt,XD,JD,wt,fw,zw],styles:["[_nghost-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;border-top-width:1px;border-top-color:#0000001a;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.25rem 1rem;padding-left:22px;padding-right:1rem}"]})}}return e})();var Ww=(()=>{class e{constructor(){this.card=dw,this.lists=uw,this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/",this.title="Ngx-Loader Indicator",this.subtitle="Awesome loader for angular applications. No wrappers only you elements",this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=se({type:e,selectors:[["jsdaddy-open-source-root"]],standalone:!0,features:[Me([{provide:ql,useValue:"1.9.0"}]),ae],decls:22,vars:6,consts:[[1,"flex","flex-col"],[3,"activeLink"],[1,"flex","overflow-auto","mt-[64px]"],[1,"drawer-container","flex","flex-col"],[3,"lists"],[1,"flex","flex-col","w-full","p-0","mt-[55px]","desk:mt-0","desk:pl-[310px]"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(r,i){r&1&&(C(0,"div",0),f(1,` - `),B(2,"jsdaddy-open-source-header",1),f(3,` - `),C(4,"section",2),f(5,` - `),C(6,"div",3),f(7,` - `),B(8,"jsdaddy-open-source-accordion",4),f(9,` - `),b(),f(10,` - `),C(11,"div",5),f(12,` - `),B(13,"jsdaddy-open-source-sub-header",6),f(14,` - `),B(15,"jsdaddy-open-source-cards",7),f(16,` - `),B(17,"jsdaddy-open-source-footer"),f(18,` - `),b(),f(19,` - `),b(),f(20,` -`),b(),f(21,` -`)),r&2&&(_(2),j("activeLink",i.githubMaskLink),_(6),j("lists",i.lists),_(5),j("title",i.title)("subtitle",i.subtitle)("chips",i.chips),_(2),j("cardDocs",i.card))},dependencies:[rw,ow,lw,cw,Gw],styles:["[_nghost-%COMP%]{display:block;height:100%}"]})}}return e})();Lv(Ww,{providers:[lv(),pD(),QD([]),$l,Av(),{provide:Ul,useValue:[Wo]},Wo,tw(),{provide:Hl,useValue:{fullLibraryLoader:()=>import("./es-BOGCOMYS.js")}}]}).catch(e=>console.error(e)); diff --git a/main-OWXWQD4W.js b/main-OWXWQD4W.js new file mode 100644 index 0000000..d2f0c35 --- /dev/null +++ b/main-OWXWQD4W.js @@ -0,0 +1,208 @@ +import{a as D,b as j,c as xc}from"./chunk-C6Q5SG76.js";function Fc(t,e){return Object.is(t,e)}var Ie=null,ji=!1,kc=1,$e=Symbol("SIGNAL");function W(t){let e=Ie;return Ie=t,e}function Dp(){return Ie}function sb(){return ji}var rr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function hs(t){if(ji)throw new Error("");if(Ie===null)return;Ie.consumerOnSignalRead(t);let e=Ie.nextProducerIndex++;if(gs(Ie),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function $i(t){gs(t);for(let e=0;e0}function gs(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ep(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ip(t){return t.producerNode!==void 0}function Vc(t){let e=Object.create(lb);e.computation=t;let n=()=>{if(Lc(e),hs(e),e.value===fs)throw e.error;return e.value};return n[$e]=e,n}var Nc=Symbol("UNSET"),Rc=Symbol("COMPUTING"),fs=Symbol("ERRORED"),lb=j(D({},rr),{value:Nc,dirty:!0,error:null,equal:Fc,producerMustRecompute(t){return t.value===Nc||t.value===Rc},producerRecomputeValue(t){if(t.value===Rc)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Rc;let n=zr(t),r;try{r=t.computation()}catch(i){r=fs,t.error=i}finally{Ui(t,n)}if(e!==Nc&&e!==fs&&r!==fs&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function cb(){throw new Error}var Sp=cb;function Mp(){Sp()}function Tp(t){Sp=t}var ub=null;function Ap(t){let e=Object.create(jc);e.value=t;let n=()=>(hs(e),e.value);return n[$e]=e,n}function ms(t,e){bp()||Mp(),t.equal(t.value,e)||(t.value=e,db(t))}function xp(t,e){bp()||Mp(),ms(t,e(t.value))}var jc=j(D({},rr),{equal:Fc,value:void 0});function db(t){t.version++,ab(),wp(t),ub?.()}function Np(t,e,n){let r=Object.create(fb);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let i=l=>{r.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Gr(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Pc)}let a=()=>{if(r.fn===null)return;if(sb())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!$i(r))return;r.hasRun=!0;let l=zr(r);try{r.cleanupFn(),r.cleanupFn=Pc,r.fn(i)}finally{Ui(r,l)}};return r.ref={notify:()=>_p(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[$e]:r},r.ref}var Pc=()=>{},fb=j(D({},rr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Pc});function x(t){return typeof t=="function"}function Wr(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ys=Wr(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ir(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var me=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(x(r))try{r()}catch(o){e=o instanceof ys?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Rp(o)}catch(s){e=e??[],s instanceof ys?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ys(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Rp(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&ir(n,e)}remove(e){let{_finalizers:n}=this;n&&ir(n,e),e instanceof t&&e._removeParent(this)}};me.EMPTY=(()=>{let t=new me;return t.closed=!0,t})();var Bc=me.EMPTY;function vs(t){return t instanceof me||t&&"closed"in t&&x(t.remove)&&x(t.add)&&x(t.unsubscribe)}function Rp(t){x(t)?t():t.unsubscribe()}var _t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var qr={setTimeout(t,e,...n){let{delegate:r}=qr;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=qr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ds(t){qr.setTimeout(()=>{let{onUnhandledError:e}=_t;if(e)e(t);else throw t})}function or(){}var Op=Uc("C",void 0,void 0);function Pp(t){return Uc("E",void 0,t)}function Fp(t){return Uc("N",t,void 0)}function Uc(t,e,n){return{kind:t,value:e,error:n}}var sr=null;function Zr(t){if(_t.useDeprecatedSynchronousErrorHandling){let e=!sr;if(e&&(sr={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=sr;if(sr=null,n)throw r}}else t()}function kp(t){_t.useDeprecatedSynchronousErrorHandling&&sr&&(sr.errorThrown=!0,sr.error=t)}var ar=class extends me{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,vs(e)&&e.add(this)):this.destination=gb}static create(e,n,r){return new In(e,n,r)}next(e){this.isStopped?Hc(Fp(e),this):this._next(e)}error(e){this.isStopped?Hc(Pp(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Hc(Op,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},hb=Function.prototype.bind;function $c(t,e){return hb.call(t,e)}var zc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){ws(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){ws(r)}else ws(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){ws(n)}}},In=class extends ar{constructor(e,n,r){super();let i;if(x(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&_t.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&$c(e.next,o),error:e.error&&$c(e.error,o),complete:e.complete&&$c(e.complete,o)}):i=e}this.destination=new zc(i)}};function ws(t){_t.useDeprecatedSynchronousErrorHandling?kp(t):Ds(t)}function pb(t){throw t}function Hc(t,e){let{onStoppedNotification:n}=_t;n&&qr.setTimeout(()=>n(t,e))}var gb={closed:!0,next:or,error:pb,complete:or};var Yr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(t){return t}function Gc(...t){return Wc(t)}function Wc(t){return t.length===0?et:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var H=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=yb(n)?n:new In(n,r,i);return Zr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Lp(r),new r((i,o)=>{let s=new In({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Yr](){return this}pipe(...n){return Wc(n)(this)}toPromise(n){return n=Lp(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Lp(t){var e;return(e=t??_t.Promise)!==null&&e!==void 0?e:Promise}function mb(t){return t&&x(t.next)&&x(t.error)&&x(t.complete)}function yb(t){return t&&t instanceof ar||mb(t)&&vs(t)}function qc(t){return x(t?.lift)}function z(t){return e=>{if(qc(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(t,e,n,r,i){return new Zc(t,e,n,r,i)}var Zc=class extends ar{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Qr(){return z((t,e)=>{let n=null;t._refCount++;let r=G(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Kr=class extends H{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,qc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new me;let n=this.getSubject();e.add(this.source.subscribe(G(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=me.EMPTY)}return e}refCount(){return Qr()(this)}};var Vp=Wr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _e=(()=>{class t extends H{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new bs(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Vp}next(n){Zr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Zr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Zr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Bc:(this.currentObservers=null,o.push(n),new me(()=>{this.currentObservers=null,ir(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new H;return n.source=this,n}}return t.create=(e,n)=>new bs(e,n),t})(),bs=class extends _e{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Bc}};var De=class extends _e{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Yc={now(){return(Yc.delegate||Date).now()},delegate:void 0};var _s=class extends me{constructor(e,n){super()}schedule(e,n=0){return this}};var Hi={setInterval(t,e,...n){let{delegate:r}=Hi;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Hi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Cs=class extends _s{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return Hi.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Hi.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,i;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ir(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var Xr=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};Xr.now=Yc.now;var Es=class extends Xr{constructor(e,n=Xr.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var zi=new Es(Cs),jp=zi;var ke=new H(t=>t.complete());function Is(t){return t&&x(t.schedule)}function Bp(t){return t[t.length-1]}function Ss(t){return x(Bp(t))?t.pop():void 0}function Sn(t){return Is(Bp(t))?t.pop():void 0}function $p(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}function Up(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function lr(t){return this instanceof lr?(this.v=t,this):new lr(t)}function Hp(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){r[h]&&(i[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{l(r[h](p))}catch(m){d(o[0][3],m)}}function l(h){h.value instanceof lr?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function zp(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Up=="function"?Up(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Jr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ms(t){return x(t?.then)}function Ts(t){return x(t[Yr])}function As(t){return Symbol.asyncIterator&&x(t?.[Symbol.asyncIterator])}function xs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function vb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ns=vb();function Rs(t){return x(t?.[Ns])}function Os(t){return Hp(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield lr(n.read());if(i)return yield lr(void 0);yield yield lr(r)}}finally{n.releaseLock()}})}function Ps(t){return x(t?.getReader)}function ue(t){if(t instanceof H)return t;if(t!=null){if(Ts(t))return Db(t);if(Jr(t))return wb(t);if(Ms(t))return bb(t);if(As(t))return Gp(t);if(Rs(t))return _b(t);if(Ps(t))return Cb(t)}throw xs(t)}function Db(t){return new H(e=>{let n=t[Yr]();if(x(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wb(t){return new H(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ds)})}function _b(t){return new H(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Gp(t){return new H(e=>{Eb(t,e).catch(n=>e.error(n))})}function Cb(t){return Gp(Os(t))}function Eb(t,e){var n,r,i,o;return $p(this,void 0,void 0,function*(){try{for(n=zp(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})}function Ze(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function Fs(t,e=0){return z((n,r)=>{n.subscribe(G(r,i=>Ze(r,t,()=>r.next(i),e),()=>Ze(r,t,()=>r.complete(),e),i=>Ze(r,t,()=>r.error(i),e)))})}function ks(t,e=0){return z((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Wp(t,e){return ue(t).pipe(ks(e),Fs(e))}function qp(t,e){return ue(t).pipe(ks(e),Fs(e))}function Zp(t,e){return new H(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Yp(t,e){return new H(n=>{let r;return Ze(n,e,()=>{r=t[Ns](),Ze(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>x(r?.return)&&r.return()})}function Ls(t,e){if(!t)throw new Error("Iterable cannot be null");return new H(n=>{Ze(n,e,()=>{let r=t[Symbol.asyncIterator]();Ze(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Qp(t,e){return Ls(Os(t),e)}function Kp(t,e){if(t!=null){if(Ts(t))return Wp(t,e);if(Jr(t))return Zp(t,e);if(Ms(t))return qp(t,e);if(As(t))return Ls(t,e);if(Rs(t))return Yp(t,e);if(Ps(t))return Qp(t,e)}throw xs(t)}function oe(t,e){return e?Kp(t,e):ue(t)}function A(...t){let e=Sn(t);return oe(t,e)}function gt(t,e){let n=x(t)?t:()=>t,r=i=>i.error(n());return new H(e?i=>e.schedule(r,0,i):r)}function Qc(t){return!!t&&(t instanceof H||x(t.lift)&&x(t.subscribe))}var Ct=Wr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Kc(t,e){let n=typeof e=="object";return new Promise((r,i)=>{let o=new In({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{n?r(e.defaultValue):i(new Ct)}});t.subscribe(o)})}function Xp(t){return t instanceof Date&&!isNaN(t)}function k(t,e){return z((n,r)=>{let i=0;n.subscribe(G(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:Ib}=Array;function Sb(t,e){return Ib(e)?t(...e):t(e)}function ei(t){return k(e=>Sb(t,e))}var{isArray:Mb}=Array,{getPrototypeOf:Tb,prototype:Ab,keys:xb}=Object;function Vs(t){if(t.length===1){let e=t[0];if(Mb(e))return{args:e,keys:null};if(Nb(e)){let n=xb(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Nb(t){return t&&typeof t=="object"&&Tb(t)===Ab}function js(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function Bs(...t){let e=Sn(t),n=Ss(t),{args:r,keys:i}=Vs(t);if(r.length===0)return oe([],e);let o=new H(Rb(r,e,i?s=>js(i,s):et));return n?o.pipe(ei(n)):o}function Rb(t,e,n=et){return r=>{Jp(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l{let c=oe(t[l],e),u=!1;c.subscribe(G(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Jp(t,e,n){t?Ze(n,t,e):e()}function eg(t,e,n,r,i,o,s,a){let l=[],c=0,u=0,d=!1,h=()=>{d&&!l.length&&!c&&e.complete()},p=y=>c{o&&e.next(y),c++;let w=!1;ue(n(y,u++)).subscribe(G(e,S=>{i?.(S),o?p(S):e.next(S)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cm(S)):m(S)}h()}catch(S){e.error(S)}}))};return t.subscribe(G(e,p,()=>{d=!0,h()})),()=>{a?.()}}function pe(t,e,n=1/0){return x(e)?pe((r,i)=>k((o,s)=>e(r,o,i,s))(ue(t(r,i))),n):(typeof e=="number"&&(n=e),z((r,i)=>eg(r,i,t,n)))}function Xc(t=1/0){return pe(et,t)}function Gi(){return Xc(1)}function Mn(...t){return Gi()(oe(t,Sn(t)))}function Us(t){return new H(e=>{ue(t()).subscribe(e)})}function Wi(...t){let e=Ss(t),{args:n,keys:r}=Vs(t),i=new H(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?js(r,a):a),o.complete())}))}});return e?i.pipe(ei(e)):i}var Ob=["addListener","removeListener"],Pb=["addEventListener","removeEventListener"],Fb=["on","off"];function cr(t,e,n,r){if(x(n)&&(r=n,n=void 0),r)return cr(t,e,n).pipe(ei(r));let[i,o]=Vb(t)?Pb.map(s=>a=>t[s](e,a,n)):kb(t)?Ob.map(tg(t,e)):Lb(t)?Fb.map(tg(t,e)):[];if(!i&&Jr(t))return pe(s=>cr(s,e,n))(ue(t));if(!i)throw new TypeError("Invalid event target");return new H(s=>{let a=(...l)=>s.next(1o(a)})}function tg(t,e){return n=>r=>t[n](e,r)}function kb(t){return x(t.addListener)&&x(t.removeListener)}function Lb(t){return x(t.on)&&x(t.off)}function Vb(t){return x(t.addEventListener)&&x(t.removeEventListener)}function ng(t=0,e,n=jp){let r=-1;return e!=null&&(Is(e)?n=e:r=e),new H(i=>{let o=Xp(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function Ce(t,e){return z((n,r)=>{let i=0;n.subscribe(G(r,o=>t.call(e,o,i++)&&r.next(o)))})}function tt(t){return z((e,n)=>{let r=null,i=!1,o;r=e.subscribe(G(n,void 0,void 0,s=>{o=ue(t(s,tt(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function $s(t,e,n,r,i){return(o,s)=>{let a=n,l=e,c=0;o.subscribe(G(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function Jc(t,e){return z($s(t,e,arguments.length>=2,!1,!0))}function Tn(t,e){return x(e)?pe(t,e,1):pe(t,1)}function eu(t,e=zi){return z((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=s+t,u=e.now();if(u{o=c,s=e.now(),i||(i=e.schedule(l,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function An(t){return z((e,n)=>{let r=!1;e.subscribe(G(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function nt(t){return t<=0?()=>ke:z((e,n)=>{let r=0;e.subscribe(G(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function rg(){return z((t,e)=>{t.subscribe(G(e,or))})}function qi(t){return k(()=>t)}function tu(t,e){return e?n=>Mn(e.pipe(nt(1),rg()),n.pipe(tu(t))):pe((n,r)=>ue(t(n,r)).pipe(nt(1),qi(n)))}function nu(t,e=zi){let n=ng(t,e);return tu(()=>n)}function Hs(t=jb){return z((e,n)=>{let r=!1;e.subscribe(G(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function jb(){return new Ct}function ur(t){return z((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Bt(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ce((i,o)=>t(i,o,r)):et,nt(1),n?An(e):Hs(()=>new Ct))}function ti(t){return t<=0?()=>ke:z((e,n)=>{let r=[];e.subscribe(G(n,i=>{r.push(i),t{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function ru(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ce((i,o)=>t(i,o,r)):et,ti(1),n?An(e):Hs(()=>new Ct))}function iu(t,e){return z($s(t,e,arguments.length>=2,!0))}function ou(...t){let e=Sn(t);return z((n,r)=>{(e?Mn(t,n,e):Mn(t,n)).subscribe(r)})}function Re(t,e){return z((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(G(r,l=>{i?.unsubscribe();let c=0,u=o++;ue(t(l,u)).subscribe(i=G(r,d=>r.next(e?e(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Zi(t){return z((e,n)=>{ue(t).subscribe(G(n,()=>n.complete(),or)),!n.closed&&e.subscribe(n)})}function de(t,e,n){let r=x(t)||e||n?{next:t,error:e,complete:n}:t;return r?z((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(G(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):et}var $g="https://g.co/ng/security#xss",v=class extends Error{code;constructor(e,n){super(Ta(e,n)),this.code=e}};function Ta(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Hg=Symbol("InputSignalNode#UNSET"),Bb=j(D({},jc),{transformFn:void 0,applyValueToInputSignal(t,e){ms(t,e)}});function zg(t,e){let n=Object.create(Bb);n.value=t,n.transformFn=e?.transform;function r(){if(hs(n),n.value===Hg)throw new v(-950,!1);return n.value}return r[$e]=n,r}function Aa(t){return{toString:t}.toString()}var vu=globalThis;function ie(t){for(let e in t)if(t[e]===ie)return e;throw Error("Could not find renamed property on target object.")}function Ub(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Qe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Qe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function Du(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var $b=ie({__forward_ref__:ie});function Er(t){return t.__forward_ref__=Er,t.toString=function(){return Qe(this())},t}function He(t){return Gg(t)?t():t}function Gg(t){return typeof t=="function"&&t.hasOwnProperty($b)&&t.__forward_ref__===Er}function E(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function qt(t){return{providers:t.providers||[],imports:t.imports||[]}}function xa(t){return ig(t,qg)||ig(t,Zg)}function Wg(t){return xa(t)!==null}function ig(t,e){return t.hasOwnProperty(e)?t[e]:null}function Hb(t){let e=t&&(t[qg]||t[Zg]);return e||null}function og(t){return t&&(t.hasOwnProperty(sg)||t.hasOwnProperty(zb))?t[sg]:null}var qg=ie({\u0275prov:ie}),sg=ie({\u0275inj:ie}),Zg=ie({ngInjectableDef:ie}),zb=ie({ngInjectorDef:ie}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,n){this._desc=e,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yg(t){return t&&!!t.\u0275providers}var Gb=ie({\u0275cmp:ie}),Wb=ie({\u0275dir:ie}),qb=ie({\u0275pipe:ie}),Zb=ie({\u0275mod:ie}),na=ie({\u0275fac:ie}),Ki=ie({__NG_ELEMENT_ID__:ie}),ag=ie({__NG_ENV_ID__:ie});function ai(t){return typeof t=="string"?t:t==null?"":String(t)}function Yb(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ai(t)}function Qb(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,t)}function Sd(t,e){throw new v(-201,!1)}var q=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(q||{}),wu;function Qg(){return wu}function Ye(t){let e=wu;return wu=t,e}function Kg(t,e,n){let r=xa(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&q.Optional)return null;if(e!==void 0)return e;Sd(t,"Injector")}var Kb={},Xi=Kb,Xb="__NG_DI_FLAG__",ra="ngTempTokenPath",Jb="ngTokenPath",e_=/\n/gm,t_="\u0275",lg="__source",oi;function n_(){return oi}function xn(t){let e=oi;return oi=t,e}function r_(t,e=q.Default){if(oi===void 0)throw new v(-203,!1);return oi===null?Kg(t,void 0,e):oi.get(t,e&q.Optional?null:void 0,e)}function O(t,e=q.Default){return(Qg()||r_)(He(t),e)}function g(t,e=q.Default){return O(t,Na(e))}function Na(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function bu(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Qe(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(e_,` + `)}`}function fr(t,e){let n=t.hasOwnProperty(na);return n?t[na]:null}function a_(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Md(n,e):e(n))}function Xg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ia(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function c_(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Td(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,c_(t,r,e,n)),r}function su(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return u_(t,e,1)}function u_(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<{n.push(s)};return Md(e,s=>{let a=s;_u(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&sm(i,o),n}function sm(t,e){for(let n=0;n{e(o,r)})}}function _u(t,e,n,r){if(t=He(t),!t)return!1;let i=null,o=og(t),s=!o&&hr(t);if(!o&&!s){let l=t.ngModule;if(o=og(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)_u(c,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{Md(o.imports,u=>{_u(u,e,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&sm(c,e)}if(!a){let c=fr(i)||(()=>new i);e({provide:i,useFactory:c,deps:ze},i),e({provide:em,useValue:i,multi:!0},i),e({provide:ci,useValue:()=>O(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=t;Ad(l,u=>{e(u,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Ad(t,e){for(let n of t)Yg(n)&&(n=n.\u0275providers),Array.isArray(n)?Ad(n,e):e(n)}var f_=ie({provide:String,useValue:ie});function am(t){return t!==null&&typeof t=="object"&&f_ in t}function h_(t){return!!(t&&t.useExisting)}function p_(t){return!!(t&&t.useFactory)}function ui(t){return typeof t=="function"}function g_(t){return!!t.useClass}var Ra=new I(""),Ys={},m_={},au;function xd(){return au===void 0&&(au=new oa),au}var Ke=class{},Ji=class extends Ke{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Eu(e,s=>this.processProvider(s)),this.records.set(Jg,ni(void 0,this)),i.has("environment")&&this.records.set(Ke,ni(void 0,this));let o=this.records.get(Ra);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(em,ze,q.Self))}destroy(){Yi(this),this._destroyed=!0;let e=W(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),W(e)}}onDestroy(e){return Yi(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Yi(this);let n=xn(this),r=Ye(void 0),i;try{return e()}finally{xn(n),Ye(r)}}get(e,n=Xi,r=q.Default){if(Yi(this),e.hasOwnProperty(ag))return e[ag](this);r=Na(r);let i,o=xn(this),s=Ye(void 0);try{if(!(r&q.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=b_(e)&&xa(e);c&&this.injectableDefInScope(c)?l=ni(Cu(e),Ys):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=r&q.Self?xd():this.parent;return n=r&q.Optional&&n===Xi?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ra]=a[ra]||[]).unshift(Qe(e)),o)throw a;return o_(a,e,"R3InjectorError",this.source)}else throw a}finally{Ye(s),xn(o)}}resolveInjectorInitializers(){let e=W(null),n=xn(this),r=Ye(void 0),i;try{let o=this.get(ci,ze,q.Self);for(let s of o)s()}finally{xn(n),Ye(r),W(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Qe(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=He(e);let n=ui(e)?e:He(e&&e.provide),r=v_(e);if(!ui(e)&&e.multi===!0){let i=this.records.get(n);i||(i=ni(void 0,Ys,!0),i.factory=()=>bu(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=W(null);try{return n.value===Ys&&(n.value=m_,n.value=n.factory()),typeof n.value=="object"&&n.value&&w_(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{W(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=He(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Cu(t){let e=xa(t),n=e!==null?e.factory:fr(t);if(n!==null)return n;if(t instanceof I)throw new v(204,!1);if(t instanceof Function)return y_(t);throw new v(204,!1)}function y_(t){if(t.length>0)throw new v(204,!1);let n=Hb(t);return n!==null?()=>n.factory(t):()=>new t}function v_(t){if(am(t))return ni(void 0,t.useValue);{let e=lm(t);return ni(e,Ys)}}function lm(t,e,n){let r;if(ui(t)){let i=He(t);return fr(i)||Cu(i)}else if(am(t))r=()=>He(t.useValue);else if(p_(t))r=()=>t.useFactory(...bu(t.deps||[]));else if(h_(t))r=()=>O(He(t.useExisting));else{let i=He(t&&(t.useClass||t.provide));if(D_(t))r=()=>new i(...bu(t.deps));else return fr(i)||Cu(i)}return r}function Yi(t){if(t.destroyed)throw new v(205,!1)}function ni(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function D_(t){return!!t.deps}function w_(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function b_(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function Eu(t,e){for(let n of t)Array.isArray(n)?Eu(n,e):n&&Yg(n)?Eu(n.\u0275providers,e):e(n)}function ot(t,e){t instanceof Ji&&Yi(t);let n,r=xn(t),i=Ye(void 0);try{return e()}finally{xn(r),Ye(i)}}function cm(){return Qg()!==void 0||n_()!=null}function ho(t){if(!cm())throw new v(-203,!1)}function __(t){return typeof t=="function"}var cn=0,L=1,N=2,je=3,St=4,Tt=5,eo=6,sa=7,Le=8,di=9,on=10,Ee=11,to=12,cg=13,gi=14,Mt=15,pr=16,ri=17,sn=18,Oa=19,um=20,Nn=21,Qs=22,gr=23,rt=24,Be=25,dm=1;var mr=7,aa=8,fi=9,Ve=10,la=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(la||{});function Rn(t){return Array.isArray(t)&&typeof t[dm]=="object"}function un(t){return Array.isArray(t)&&t[dm]===!0}function Nd(t){return(t.flags&4)!==0}function Pa(t){return t.componentOffset>-1}function Fa(t){return(t.flags&1)===1}function On(t){return!!t.template}function Iu(t){return(t[N]&512)!==0}var Su=class{previousValue;currentValue;firstChange;constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fm(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var dn=(()=>{let t=()=>hm;return t.ngInherit=!0,t})();function hm(t){return t.type.prototype.ngOnChanges&&(t.setInput=E_),C_}function C_(){let t=gm(this),e=t?.current;if(e){let n=t.previous;if(n===li)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function E_(t,e,n,r,i){let o=this.declaredInputs[r],s=gm(t)||I_(t,{previous:li,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Su(c&&c.currentValue,n,l===li),fm(t,e,i,n)}var pm="__ngSimpleChanges__";function gm(t){return t[pm]||null}function I_(t,e){return t[pm]=e}var ug=null;var Ut=function(t,e,n){ug?.(t,e,n)},mm="svg",S_="math";function Ht(t){for(;Array.isArray(t);)t=t[cn];return t}function ym(t,e){return Ht(e[t])}function mt(t,e){return Ht(e[t.index])}function Rd(t,e){return t.data[e]}function Od(t,e){return t[e]}function Bn(t,e){let n=e[t];return Rn(n)?n:n[cn]}function Pd(t){return(t[N]&128)===128}function M_(t){return un(t[je])}function Pn(t,e){return e==null?null:t[e]}function vm(t){t[ri]=0}function Fd(t){t[N]&1024||(t[N]|=1024,Pd(t)&&po(t))}function T_(t,e){for(;t>0;)e=e[gi],t--;return e}function ka(t){return!!(t[N]&9216||t[rt]?.dirty)}function Mu(t){t[on].changeDetectionScheduler?.notify(9),t[N]&64&&(t[N]|=1024),ka(t)&&po(t)}function po(t){t[on].changeDetectionScheduler?.notify(0);let e=yr(t);for(;e!==null&&!(e[N]&8192||(e[N]|=8192,!Pd(e)));)e=yr(e)}function Dm(t,e){if((t[N]&256)===256)throw new v(911,!1);t[Nn]===null&&(t[Nn]=[]),t[Nn].push(e)}function A_(t,e){if(t[Nn]===null)return;let n=t[Nn].indexOf(e);n!==-1&&t[Nn].splice(n,1)}function yr(t){let e=t[je];return un(e)?e[je]:e}var B={lFrame:Mm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Tu=!1;function x_(){return B.lFrame.elementDepthCount}function N_(){B.lFrame.elementDepthCount++}function R_(){B.lFrame.elementDepthCount--}function wm(){return B.bindingsEnabled}function O_(){return B.skipHydrationRootTNode!==null}function P_(t){return B.skipHydrationRootTNode===t}function F_(){B.skipHydrationRootTNode=null}function Y(){return B.lFrame.lView}function xe(){return B.lFrame.tView}function Zt(t){return B.lFrame.contextLView=t,t[Le]}function Yt(t){return B.lFrame.contextLView=null,t}function Ge(){let t=bm();for(;t!==null&&t.type===64;)t=t.parent;return t}function bm(){return B.lFrame.currentTNode}function k_(){let t=B.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ir(t,e){let n=B.lFrame;n.currentTNode=t,n.isParent=e}function kd(){return B.lFrame.isParent}function _m(){B.lFrame.isParent=!1}function L_(){return B.lFrame.contextLView}function Cm(){return Tu}function ca(t){let e=Tu;return Tu=t,e}function Em(){let t=B.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function V_(){return B.lFrame.bindingIndex}function j_(t){return B.lFrame.bindingIndex=t}function go(){return B.lFrame.bindingIndex++}function Ld(t){let e=B.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function B_(){return B.lFrame.inI18n}function U_(t,e){let n=B.lFrame;n.bindingIndex=n.bindingRootIndex=t,Au(e)}function $_(){return B.lFrame.currentDirectiveIndex}function Au(t){B.lFrame.currentDirectiveIndex=t}function H_(t){let e=B.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function z_(){return B.lFrame.currentQueryIndex}function Vd(t){B.lFrame.currentQueryIndex=t}function G_(t){let e=t[L];return e.type===2?e.declTNode:e.type===1?t[Tt]:null}function Im(t,e,n){if(n&q.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&q.Host);)if(i=G_(o),i===null||(o=o[gi],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=B.lFrame=Sm();return r.currentTNode=e,r.lView=t,!0}function jd(t){let e=Sm(),n=t[L];B.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Sm(){let t=B.lFrame,e=t===null?null:t.child;return e===null?Mm(t):e}function Mm(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Tm(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Am=Tm;function Bd(){let t=Tm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function W_(t){return(B.lFrame.contextLView=T_(t,B.lFrame.contextLView))[Le]}function fn(){return B.lFrame.selectedIndex}function vr(t){B.lFrame.selectedIndex=t}function Ud(){let t=B.lFrame;return Rd(t.tView,t.selectedIndex)}function xm(){B.lFrame.currentNamespace=mm}function Nm(){q_()}function q_(){B.lFrame.currentNamespace=null}function Z_(){return B.lFrame.currentNamespace}var Rm=!0;function La(){return Rm}function Va(t){Rm=t}function Y_(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=hm(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function ja(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[ri]+=65536),(a>14>16&&(t[N]&3)===e&&(t[N]+=16384,dg(a,o)):dg(a,o)}var si=-1,Dr=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,n,r){this.factory=e,this.canSeeViewProviders=n,this.injectImpl=r}};function K_(t){return t instanceof Dr}function X_(t){return(t.flags&8)!==0}function J_(t){return(t.flags&16)!==0}function xu(t,e,n){let r=0;for(;re){s=o-1;break}}}for(;o>16}function da(t,e){let n=nC(t),r=e;for(;n>0;)r=r[gi],n--;return r}var Ru=!0;function fa(t){let e=Ru;return Ru=t,e}var rC=256,Fm=rC-1,km=5,iC=0,$t={};function oC(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ki)&&(r=n[Ki]),r==null&&(r=n[Ki]=iC++);let i=r&Fm,o=1<>km)]|=o}function ha(t,e){let n=Lm(t,e);if(n!==-1)return n;let r=e[L];r.firstCreatePass&&(t.injectorIndex=e.length,uu(r.data,t),uu(e,null),uu(r.blueprint,null));let i=$d(t,e),o=t.injectorIndex;if(Pm(i)){let s=ua(i),a=da(i,e),l=a[L].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function uu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function $d(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=$m(i),r===null)return si;if(n++,i=i[gi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return si}function Ou(t,e,n){oC(t,e,n)}function Vm(t,e,n){if(n&q.Optional||t!==void 0)return t;Sd(e,"NodeInjector")}function jm(t,e,n,r){if(n&q.Optional&&r===void 0&&(r=null),!(n&(q.Self|q.Host))){let i=t[di],o=Ye(void 0);try{return i?i.get(e,r,n&q.Optional):Kg(e,r,n&q.Optional)}finally{Ye(o)}}return Vm(r,e,n)}function Bm(t,e,n,r=q.Default,i){if(t!==null){if(e[N]&2048&&!(r&q.Self)){let s=cC(t,e,n,r,$t);if(s!==$t)return s}let o=Um(t,e,n,r,$t);if(o!==$t)return o}return jm(e,n,r,i)}function Um(t,e,n,r,i){let o=aC(n);if(typeof o=="function"){if(!Im(e,t,r))return r&q.Host?Vm(i,n,r):jm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&q.Optional))Sd(n);else return s}finally{Am()}}else if(typeof o=="number"){let s=null,a=Lm(t,e),l=si,c=r&q.Host?e[Mt][Tt]:null;for((a===-1||r&q.SkipSelf)&&(l=a===-1?$d(t,e):e[a+8],l===si||!pg(r,!1)?a=-1:(s=e[L],a=ua(l),e=da(l,e)));a!==-1;){let u=e[L];if(hg(o,a,u.data)){let d=sC(a,e,n,s,r,c);if(d!==$t)return d}l=e[a+8],l!==si&&pg(r,e[L].data[a+8]===c)&&hg(o,a,e)?(s=u,a=ua(l),e=da(l,e)):a=-1}}return i}function sC(t,e,n,r,i,o){let s=e[L],a=s.data[t+8],l=r==null?Pa(a)&&Ru:r!=s&&(a.type&3)!==0,c=i&q.Host&&o===a,u=Js(a,s,n,l,c);return u!==null?wr(e,s,u,a):$t}function Js(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:c;for(let p=d;p=l&&m.type===n)return p}if(i){let p=s[l];if(p&&On(p)&&p.type===n)return l}return null}function wr(t,e,n,r){let i=t[n],o=e.data;if(K_(i)){let s=i;s.resolving&&Qb(Yb(o[n]));let a=fa(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ye(s.injectImpl):null,u=Im(t,r,q.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&Y_(n,o[n],e)}finally{c!==null&&Ye(c),fa(a),s.resolving=!1,Am()}}return i}function aC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ki)?t[Ki]:void 0;return typeof e=="number"?e>=0?e&Fm:lC:e}function hg(t,e,n){let r=1<>km)]&r)}function pg(t,e){return!(t&q.Self)&&!(t&q.Host&&e)}var dr=class{_tNode;_lView;constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Bm(this._tNode,this._lView,e,Na(r),n)}};function lC(){return new dr(Ge(),Y())}function Sr(t){return Aa(()=>{let e=t.prototype.constructor,n=e[na]||Pu(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[na]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(t){return Gg(t)?()=>{let e=Pu(He(t));return e&&e()}:fr(t)}function cC(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[N]&2048&&!(s[N]&512);){let a=Um(o,s,n,r|q.Self,$t);if(a!==$t)return a;let l=o.parent;if(!l){let c=s[um];if(c){let u=c.get(n,$t,r);if(u!==$t)return u}l=$m(s),s=s[gi]}o=l}return i}function $m(t){let e=t[L],n=e.type;return n===2?e.declTNode:n===1?t[Tt]:null}function gg(t,e=null,n=null,r){let i=Hm(t,e,n,r);return i.resolveInjectorInitializers(),i}function Hm(t,e=null,n=null,r,i=new Set){let o=[n||ze,d_(t)];return r=r||(typeof t=="object"?void 0:Qe(t)),new Ji(o,e||xd(),r||null,i)}var it=class t{static THROW_IF_NOT_FOUND=Xi;static NULL=new oa;static create(e,n){if(Array.isArray(e))return gg({name:""},n,e,"");{let r=e.name??"";return gg({name:r},e.parent,e.providers,r)}}static \u0275prov=E({token:t,providedIn:"any",factory:()=>O(Jg)});static __NG_ELEMENT_ID__=-1};var uC=new I("");uC.__NG_ELEMENT_ID__=t=>{let e=Ge();if(e===null)throw new v(204,!1);if(e.type&2)return e.value;if(t&q.Optional)return null;throw new v(204,!1)};var zm=!1,We=(()=>{class t{static __NG_ELEMENT_ID__=dC;static __NG_ENV_ID__=n=>n}return t})(),pa=class extends We{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return Dm(this._lView,e),()=>A_(this._lView,e)}};function dC(){return new pa(Y())}var br=class{},Ba=new I("",{providedIn:"root",factory:()=>!1});var Gm=new I(""),Hd=new I(""),hn=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new De(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})();var Fu=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,cm()&&(this.destroyRef=g(We,{optional:!0})??void 0,this.pendingTasks=g(hn,{optional:!0})??void 0)}emit(e){let n=W(null);try{super.next(e)}finally{W(n)}}subscribe(e,n,r){let i=e,o=n||(()=>null),s=r;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof me&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{e(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=Fu;function ro(...t){}function Wm(t){let e,n;function r(){t=ro;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function mg(t){return queueMicrotask(()=>t()),()=>{t=ro}}var zd="isAngularZone",ga=zd+"_ID",fC=0,fe=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=zm}=e;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,gC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(zd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,hC,ro,ro);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},hC={};function Gd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function pC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Wm(()=>{t.callbackScheduled=!1,ku(t),t.isCheckStableRunning=!0,Gd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ku(t)}function gC(t){let e=()=>{pC(t)},n=fC++;t._inner=t._inner.fork({name:"angular",properties:{[zd]:!0,[ga]:n,[ga+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(mC(l))return r.invokeTask(o,s,a,l);try{return yg(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),vg(t)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return yg(t),r.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!yC(l)&&e(),vg(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,ku(t),Gd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function ku(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function yg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vg(t){t._nesting--,Gd(t)}var ma=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}};function mC(t){return qm(t,"__ignore_ng_zone__")}function yC(t){return qm(t,"__scheduler_tick__")}function qm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var zt=class{_console=console;handleError(e){this._console.error("ERROR",e)}},vC=new I("",{providedIn:"root",factory:()=>{let t=g(fe),e=g(zt);return n=>t.runOutsideAngular(()=>e.handleError(n))}}),Lu=class{destroyed=!1;listeners=null;errorHandler=g(zt,{optional:!0});destroyRef=g(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let n=this.listeners?.indexOf(e);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(e){if(this.destroyed)throw new v(953,!1);if(this.listeners===null)return;let n=W(null);try{for(let r of this.listeners)try{r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{W(n)}}};function Ua(t){return new Lu}function Dg(t,e){return zg(t,e)}function DC(t){return zg(Hg,t)}var X=(Dg.required=DC,Dg);function wC(){return mi(Ge(),Y())}function mi(t,e){return new ce(mt(t,e))}var ce=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=wC}return t})();function bC(t){return t instanceof ce?t.nativeElement:t}function _C(){return this._results[Symbol.iterator]()}var Vu=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 _e}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=l_(e);(this._changesDetected=!a_(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=_C};function Zm(t){return(t.flags&128)===128}var Ym=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Ym||{}),Qm=new Map,CC=0;function EC(){return CC++}function IC(t){Qm.set(t[Oa],t)}function ju(t){Qm.delete(t[Oa])}var wg="__ngContext__";function Fn(t,e){Rn(e)?(t[wg]=e[Oa],IC(e)):t[wg]=e}function Km(t){return Jm(t[to])}function Xm(t){return Jm(t[St])}function Jm(t){for(;t!==null&&!un(t);)t=t[St];return t}var Bu;function ey(t){Bu=t}function ty(){if(Bu!==void 0)return Bu;if(typeof document<"u")return document;throw new v(210,!1)}var $a=new I("",{providedIn:"root",factory:()=>SC}),SC="ng",Wd=new I(""),ge=new I("",{providedIn:"platform",factory:()=>"unknown"});var qd=new I(""),Zd=new I("",{providedIn:"root",factory:()=>ty().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Yd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ny=new I("",{providedIn:"root",factory:()=>Yd});function MC(){let t=new Ha;return g(ge)==="browser"&&(t.store=TC(ty(),g($a))),t}var Ha=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:MC});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/ry});var bg=new Set;function st(t){bg.has(t)||(bg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var RC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})();var OC=()=>null;function Qd(t,e,n=!1){return OC(t,e,n)}var Gt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gt||{}),zs;function PC(){if(zs===void 0&&(zs=null,vu.trustedTypes))try{zs=vu.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zs}function za(t){return PC()?.createHTML(t)||t}var an=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$g})`}},Uu=class extends an{getTypeName(){return"HTML"}},$u=class extends an{getTypeName(){return"Style"}},Hu=class extends an{getTypeName(){return"Script"}},zu=class extends an{getTypeName(){return"URL"}},Gu=class extends an{getTypeName(){return"ResourceURL"}};function At(t){return t instanceof an?t.changingThisBreaksApplicationSecurity:t}function Mr(t,e){let n=FC(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${$g})`)}return n===e}function FC(t){return t instanceof an&&t.getTypeName()||null}function iy(t){return new Uu(t)}function oy(t){return new $u(t)}function sy(t){return new Hu(t)}function ay(t){return new zu(t)}function ly(t){return new Gu(t)}function kC(t){let e=new qu(t);return LC()?new Wu(e):e}var Wu=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(za(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}},qu=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=za(e),n}};function LC(){try{return!!new window.DOMParser().parseFromString(za(""),"text/html")}catch{return!1}}var VC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ga(t){return t=String(t),t.match(VC)?t:"unsafe:"+t}function pn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function mo(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var cy=pn("area,br,col,hr,img,wbr"),uy=pn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dy=pn("rp,rt"),jC=mo(dy,uy),BC=mo(uy,pn("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")),UC=mo(dy,pn("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")),_g=mo(cy,BC,UC,jC),fy=pn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$C=pn("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"),HC=pn("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"),zC=mo(fy,$C,HC),GC=pn("script,style,template"),Zu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let n=e.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=ZC(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=qC(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(e){let n=Cg(e).toLowerCase();if(!_g.hasOwnProperty(n))return this.sanitizedSomething=!0,!GC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let i=0;i"),!0}endElement(e){let n=Cg(e).toLowerCase();_g.hasOwnProperty(n)&&!cy.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(Eg(e))}};function WC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw hy(e);return e}function ZC(t){let e=t.firstChild;if(e&&WC(t,e))throw hy(e);return e}function Cg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function hy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var YC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function Eg(t){return t.replace(/&/g,"&").replace(YC,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(QC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Gs;function py(t,e){let n=null;try{Gs=Gs||kC(t);let r=e?String(e):"";n=Gs.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Gs.getInertBodyElement(r)}while(r!==o);let a=new Zu().sanitizeChildren(Ig(n)||n);return za(a)}finally{if(n){let r=Ig(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ig(t){return"content"in t&&KC(t)?t.content:null}function KC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var xt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(xt||{});function Tr(t){let e=XC();return e?e.sanitize(xt.URL,t)||"":Mr(t,"URL")?At(t):Ga(ai(t))}function XC(){let t=Y();return t&&t[on].sanitizer}var JC=/^>|^->||--!>|)/g,tE="\u200B$1\u200B";function nE(t){return t.replace(JC,e=>e.replace(eE,tE))}function gy(t){return t instanceof Function?t():t}var kn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(kn||{}),ln=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ln||{}),rE;function Kd(t,e){return rE(t,e)}function ii(t,e,n,r,i){if(r!=null){let o,s=!1;un(r)?o=r:Rn(r)&&(s=!0,r=r[cn]);let a=Ht(r);t===0&&n!==null?i==null?Dy(e,n,a):ya(e,n,a,i||null,!0):t===1&&n!==null?ya(e,n,a,i||null,!0):t===2?DE(e,a,s):t===3&&e.destroyNode(a),o!=null&&bE(e,t,o,n,i)}}function iE(t,e){return t.createText(e)}function oE(t,e,n){t.setValue(e,n)}function sE(t,e){return t.createComment(nE(e))}function my(t,e,n){return t.createElement(e,n)}function aE(t,e){yy(t,e),e[cn]=null,e[Tt]=null}function lE(t,e,n,r,i,o){r[cn]=i,r[Tt]=e,Za(t,r,n,1,i,o)}function yy(t,e){e[on].changeDetectionScheduler?.notify(10),Za(t,e,e[Ee],2,null,null)}function cE(t){let e=t[to];if(!e)return du(t[L],t);for(;e;){let n=null;if(Rn(e))n=e[to];else{let r=e[Ve];r&&(n=r)}if(!n){for(;e&&!e[St]&&e!==t;)Rn(e)&&du(e[L],e),e=e[je];e===null&&(e=t),Rn(e)&&du(e[L],e),n=e&&e[St]}e=n}}function uE(t,e,n,r){let i=Ve+r,o=n.length;r>0&&(n[i-1][St]=e),r0&&(t[n-1][St]=r[St]);let o=ia(t,Ve+e);aE(r[L],r);let s=o[sn];s!==null&&s.detachView(o[L]),r[je]=null,r[St]=null,r[N]&=-129}return r}function Wa(t,e){if(!(e[N]&256)){let n=e[Ee];n.destroyNode&&Za(t,e,n,3,null,null),cE(e)}}function du(t,e){if(e[N]&256)return;let n=W(null);try{e[N]&=-129,e[N]|=256,e[rt]&&Gr(e[rt]),fE(t,e),dE(t,e),e[L].type===1&&e[Ee].destroy();let r=e[pr];if(r!==null&&un(e[je])){r!==e[je]&&Xd(r,e);let i=e[sn];i!==null&&i.detachView(t)}ju(e)}finally{W(n)}}function dE(t,e){let n=t.cleanup,r=e[sa];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[sa]=null);let i=e[Nn];if(i!==null){e[Nn]=null;for(let s=0;s-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===Gt.None||o===Gt.Emulated)return null}return mt(r,n)}}function ya(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Dy(t,e,n){t.appendChild(e,n)}function Sg(t,e,n,r,i){r!==null?ya(t,e,n,r,i):Dy(t,e,n)}function wy(t,e){return t.parentNode(e)}function gE(t,e){return t.nextSibling(e)}function mE(t,e,n){return vE(t,e,n)}function yE(t,e,n){return t.type&40?mt(t,n):null}var vE=yE,Mg;function qa(t,e,n,r){let i=hE(t,r,e),o=e[Ee],s=r.parent||e[Tt],a=mE(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&c!==d){if(Et(r))return!1;s=!0}}}}return Et(r)||s}function Et(t){return(t&1)===0}function TE(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Et(s)&&(e+=Tg(o,i),i=""),r=s,o=o||!Et(r);n++}return i!==""&&(e+=Tg(o,i)),e}function OE(t){return t.map(RE).join(",")}function PE(t){let e=[],n=[],r=1,i=2;for(;rBe&&Iy(t,e,Be,!1),Ut(s?2:0,i),n(r,i)}finally{vr(o),Ut(s?3:1,i)}}function tf(t,e,n){if(Nd(e)){let r=W(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function UE(t,e,n,r){let i=ky(e);i.push(n),t.firstCreatePass&&Ly(t).push(r,i.length-1)}function $E(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return O_()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ag(t,e,n,r,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;r??={};let a,l=kn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}t===0?xg(r,n,c,a,l):xg(r,n,c,a)}return r}function xg(t,e,n,r,i){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,r):o=t[n]=[e,r],i!==void 0&&o.push(i)}function HE(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=r;u0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function ZE(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;Pa(n)&&t0(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||ha(n,e),Fn(r,e);let s=n.initialInputs;for(let a=i;a{po(t.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function p0(t){let e=t[rt]??Object.create(g0);return e.lView=t,e}var g0=j(D({},rr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=yr(t.lView);for(;e&&!Hy(e[L]);)e=yr(e);e&&Fd(e)},consumerOnSignalRead(){this.lView[rt]=this}});function Hy(t){return t.type!==2}function zy(t){if(t[gr]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[gr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[N]&8192)}}var m0=100;function Gy(t,e=!0,n=0){let i=t[on].rendererFactory,o=!1;o||i.begin?.();try{y0(t,n)}catch(s){throw e&&Vy(t,s),s}finally{o||i.end?.()}}function y0(t,e){let n=Cm();try{ca(!0),Xu(t,e);let r=0;for(;ka(t);){if(r===m0)throw new v(103,!1);r++,Xu(t,1)}}finally{ca(n)}}function v0(t,e,n,r){let i=e[N];if((i&256)===256)return;let o=!1,s=!1;jd(e);let a=!0,l=null,c=null;o||(Hy(t)?(c=u0(e),l=zr(c)):Dp()===null?(a=!1,c=p0(e),l=zr(c)):e[rt]&&(Gr(e[rt]),e[rt]=null));try{vm(e),j_(t.bindingStartIndex),n!==null&&Ty(t,e,n,2,r);let u=(i&3)===3;if(!o)if(u){let p=t.preOrderCheckHooks;p!==null&&Ks(e,p,null)}else{let p=t.preOrderHooks;p!==null&&Xs(e,p,0,null),lu(e,0)}if(s||D0(e),zy(e),Wy(e,0),t.contentQueries!==null&&Fy(t,e),!o)if(u){let p=t.contentCheckHooks;p!==null&&Ks(e,p)}else{let p=t.contentHooks;p!==null&&Xs(e,p,1),lu(e,1)}FE(t,e);let d=t.components;d!==null&&Zy(e,d,0);let h=t.viewQuery;if(h!==null&&Ku(2,h,r),!o)if(u){let p=t.viewCheckHooks;p!==null&&Ks(e,p)}else{let p=t.viewHooks;p!==null&&Xs(e,p,2),lu(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Qs]){for(let p of e[Qs])p();e[Qs]=null}o||(e[N]&=-73)}catch(u){throw o||po(e),u}finally{c!==null&&(Ui(c,l),a&&f0(c)),Bd()}}function Wy(t,e){for(let n=Km(t);n!==null;n=Xm(n))for(let r=Ve;r-1&&(io(e,r),ia(n,r))}this._attachedToViewContainer=!1}Wa(this._lView[L],this._lView)}onDestroy(e){Dm(this._lView,e)}markForCheck(){cf(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fd(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){Mu(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Gy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Iu(this._lView),n=this._lView[pr];n!==null&&!e&&Xd(n,this._lView),yy(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e;let n=Iu(this._lView),r=this._lView[pr];r!==null&&!n&&vy(r,this._lView),Mu(this._lView)}},so=(()=>{class t{static __NG_ELEMENT_ID__=C0}return t})(),b0=so,_0=class extends b0{_declarationLView;_declarationTContainer;elementRef;constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=Ka(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new _r(i)}};function C0(){return Ja(Ge(),Y())}function Ja(t,e){return t.type&4?new _0(e,t,mi(t,e)):null}var Ju=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Qe(e)}.`)}},hi=class{static NULL=new Ju},Ln=class{},ao=class{},ed=class{},Da=class{},Vn=class{},gn=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>E0()}return t})();function E0(){let t=Y(),e=Ge(),n=Bn(e.index,t);return(Rn(n)?n:t)[Ee]}var I0=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:()=>null})}return t})();function wa(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&_y(t,n,o.join(" "))}}function R0(t,e,n){let r=t.projection=[];for(let i=0;in()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},rd=class extends ao{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new nd(this.moduleType,e,[])}};var _a=class extends Ln{injector;componentFactoryResolver=new ba(this);instance=null;constructor(e){super();let n=new Ji([...e.providers,{provide:Ln,useValue:this},{provide:hi,useValue:this.componentFactoryResolver}],e.parent||xd(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uf(t,e,n=null){return new _a({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var P0=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=om(!1,n.type),i=r.length>0?uf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:t,providedIn:"environment",factory:()=>new t(O(Ke))})}return t})();function se(t){return Aa(()=>{let e=Yy(t),n=j(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ym.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(P0).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gt.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&st("NgStandalone"),Qy(n);let r=t.dependencies;return n.directiveDefs=Og(r,!1),n.pipeDefs=Og(r,!0),n.id=L0(n),n})}function F0(t){return hr(t)||nm(t)}function k0(t){return t!==null}function Qt(t){return Aa(()=>({type:t.type,bootstrap:t.bootstrap||ze,declarations:t.declarations||ze,imports:t.imports||ze,exports:t.exports||ze,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Rg(t,e){if(t==null)return li;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=kn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(n[o]=a!==kn.None?[r,a]:r,e[o]=s):n[o]=r}return n}function ye(t){return Aa(()=>{let e=Yy(t);return Qy(e),e})}function Kt(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Yy(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||li,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rg(t.inputs,e),outputs:Rg(t.outputs),debugInfo:null}}function Qy(t){t.features?.forEach(e=>e(t))}function Og(t,e){if(!t)return null;let n=e?rm:F0;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(k0)}function L0(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var el=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Ky=new I("");function Ar(t){return!!t&&typeof t.then=="function"}function Xy(t){return!!t&&typeof t.subscribe=="function"}var Jy=new I("");var ev=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Jy,{optional:!0})??[];injector=g(it);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=ot(this.injector,i);if(Ar(o))n.push(o);else if(Xy(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tv=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:()=>new Ca})}return t})(),Ca=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}enqueue(e){let n=e.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}},tl=new I("");function V0(){Tp(()=>{throw new v(600,!1)})}function j0(t){return t.isBoundToModule}var B0=10;function U0(t,e,n){try{let r=n();return Ar(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Un=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(vC);afterRenderManager=g(RC);zonelessEnabled=g(Ba);rootEffectScheduler=g(tv);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new _e;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(hn).hasPendingTasks.pipe(k(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(Ke);get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Da;if(!this._injector.get(ev).done){let h=!i&&im(n),p=!1;throw new v(405,p)}let s;i?s=n:s=this._injector.get(hi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=j0(s)?void 0:this._injector.get(Ln),l=r||s.selector,c=s.create(it.NULL,[],l,a),u=c.location.nativeElement,d=c.injector.get(Ky,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ea(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new v(101,!1);let n=W(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,W(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++ka(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ea(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(tl,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ea(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ea(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function $0(t,e,n,r){if(!n&&!ka(t))return;Gy(t,e,n&&!r?0:1)}var wV=new RegExp(`^(\\d+)*(${xC}|${AC})*(.*)`);var H0=()=>null;function co(t,e){return H0(t,e)}var xr=(()=>{class t{static __NG_ELEMENT_ID__=z0}return t})();function z0(){let t=Ge();return rv(t,Y())}var G0=xr,nv=class extends G0{_lContainer;_hostTNode;_hostLView;constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new dr(this._hostTNode,this._hostLView)}get parentInjector(){let e=$d(this._hostTNode,this._hostLView);if(Pm(e)){let n=da(e,this._hostLView),r=ua(e),i=n[L].data[r+8];return new dr(i,n)}else return new dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Pg(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=co(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,oo(this._hostTNode,s)),a}createComponent(e,n,r,i,o){let s=e&&!__(e),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?e:new lo(hr(e)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(Ke,null);y&&(o=y)}let u=hr(l.componentType??{}),d=co(this._lContainer,u?.id??null),h=d?.firstChild??null,p=l.create(c,i,h,o);return this.insertImpl(p.hostView,a,oo(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(M_(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[je],c=new nv(l,l[Tt],l[je]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return Xa(s,i,o,r),e.attachToViewContainerRef(),Xg(fu(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Pg(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=io(this._lContainer,n);r&&(ia(fu(this._lContainer),n),Wa(r[L],r))}detach(e){let n=this._adjustIndex(e,-1),r=io(this._lContainer,n);return r&&ia(fu(this._lContainer),n)!=null?new _r(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Pg(t){return t[aa]}function fu(t){return t[aa]||(t[aa]=[])}function rv(t,e){let n,r=e[t.index];return un(r)?n=r:(n=Py(r,e,null,t),e[t.index]=n,Qa(e,n)),q0(n,e,t,r),new nv(n,t,e)}function W0(t,e){let n=t[Ee],r=n.createComment(""),i=mt(e,t),o=wy(n,i);return ya(n,o,r,gE(n,i),!1),r}var q0=Q0,Z0=()=>!1;function Y0(t,e,n){return Z0(t,e,n)}function Q0(t,e,n,r){if(t[mr])return;let i;n.type&8?i=Ht(r):i=W0(e,n),t[mr]=i}var id=class t{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},od=class t{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let c=o[a+1],u=e[-l];for(let d=Ve;de.trim())}function iI(t,e,n){t.queries===null&&(t.queries=new ad),t.queries.track(new ld(e,n))}function sv(t,e){return t.queries.getByIndex(e)}function oI(t,e){let n=t[L],r=sv(n,e);return r.crossesNgTemplate?cd(n,t,e,[]):iv(n,t,r,e)}function qe(t,e){st("NgSignals");let n=Ap(t),r=n[$e];return e?.equal&&(r.equal=e.equal),n.set=i=>ms(r,i),n.update=i=>xp(r,i),n.asReadonly=sI.bind(n),n}function sI(){let t=this[$e];if(t.readonlyFn===void 0){let e=()=>this();e[$e]=t,t.readonlyFn=e}return t.readonlyFn}function df(t,e,n){let r,i=Vc(()=>{r._dirtyCounter();let o=dI(r,t);if(e&&o===void 0)throw new v(-951,!1);return o});return r=i[$e],r._dirtyCounter=qe(0),r._flatValue=void 0,i}function aI(t){return df(!0,!1,t)}function lI(t){return df(!0,!0,t)}function cI(t){return df(!1,!1,t)}function uI(t,e){let n=t[$e];n._lView=Y(),n._queryIndex=e,n._queryList=ov(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function dI(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[N]&4)return e?void 0:ze;let i=ov(n,r),o=oI(n,r);return i.reset(o,bC),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Fg(t,e){return aI(e)}function fI(t,e){return lI(e)}var av=(Fg.required=fI,Fg);function nl(t,e){return cI(e)}function hI(t){return Object.getPrototypeOf(t.prototype).constructor}function Nt(t){let e=hI(t.type),n=!0,r=[t];for(;e;){let i;if(On(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new v(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=Ws(t.inputs),s.inputTransforms=Ws(t.inputTransforms),s.declaredInputs=Ws(t.declaredInputs),s.outputs=Ws(t.outputs);let a=i.hostBindings;a&&vI(t,a);let l=i.viewQuery,c=i.contentQueries;if(l&&mI(t,l),c&&yI(t,c),pI(t,i),Ub(t.outputs,i.outputs),On(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=no(i.hostAttrs,n=no(n,i.hostAttrs))}}function Ws(t){return t===li?{}:t===ze?[]:t}function mI(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function yI(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function vI(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function vo(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}t.inputTransforms=n}function lv(t,e,n){return t[e]=n}function Wt(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function cv(t,e,n,r){let i=Wt(t,e,n);return Wt(t,e+1,r)||i}function DI(t){return(t.flags&32)===32}function wI(t,e,n,r,i,o,s,a,l){let c=e.consts,u=yo(e,t,4,s||null,a||null);sf(e,n,u,Pn(c,l)),ja(e,u);let d=u.tView=of(2,u,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function ud(t,e,n,r,i,o,s,a,l,c){let u=n+Be,d=e.firstCreatePass?wI(u,e,t,r,i,o,s,a,l):e.data[u];Ir(d,!1);let h=bI(e,t,d,n);La()&&qa(e,t,h,d),Fn(h,t);let p=Py(h,t,h,d);return t[u]=p,Qa(t,p),Y0(p,d,t),Fa(d)&&nf(e,t,d),l!=null&&rf(t,d,c),d}function lt(t,e,n,r,i,o,s,a){let l=Y(),c=xe(),u=Pn(c.consts,o);return ud(l,c,t,e,n,r,i,u,s,a),lt}var bI=_I;function _I(t,e,n,r){return Va(!0),e[Ee].createComment("")}function yt(t,e,n,r){let i=Y(),o=go();if(Wt(i,o,e)){let s=xe(),a=Ud();n0(a,i,t,e,n,r)}return yt}function uv(t,e,n,r){return Wt(t,go(),n)?e+ai(n)+r:at}function CI(t,e,n,r,i,o){let s=V_(),a=cv(t,s,n,i);return Ld(2),a?e+ai(n)+r+ai(i)+o:at}function qs(t,e){return t<<17|e<<2}function Cr(t){return t>>17&32767}function EI(t){return(t&2)==2}function II(t,e){return t&131071|e<<17}function dd(t){return t|2}function pi(t){return(t&131068)>>2}function hu(t,e){return t&-131069|e<<2}function SI(t){return(t&1)===1}function fd(t){return t|1}function MI(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Cr(s),l=pi(s);t[r]=n;let c=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fo(d,u)>0)&&(c=!0)}else u=n;if(i)if(l!==0){let h=Cr(t[a+1]);t[r+1]=qs(h,a),h!==0&&(t[h+1]=hu(t[h+1],r)),t[a+1]=II(t[a+1],r)}else t[r+1]=qs(a,0),a!==0&&(t[a+1]=hu(t[a+1],r)),a=r;else t[r+1]=qs(l,0),a===0?a=r:t[l+1]=hu(t[l+1],r),l=r;c&&(t[r+1]=dd(t[r+1])),kg(t,u,r,!0),kg(t,u,r,!1),TI(e,u,t,r,o),s=qs(a,l),o?e.classBindings=s:e.styleBindings=s}function TI(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=fd(n[r+1]))}function kg(t,e,n,r){let i=t[n+1],o=e===null,s=r?Cr(i):pi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];AI(l,e)&&(a=!0,t[s+1]=r?fd(c):dd(c)),s=r?Cr(c):pi(c)}a&&(t[n+1]=r?dd(i):fd(i))}function AI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fo(t,e)>=0:!1}var It={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xI(t){return t.substring(It.key,It.keyEnd)}function NI(t){return RI(t),dv(t,fv(t,0,It.textEnd))}function dv(t,e){let n=It.textEnd;return n===e?-1:(e=It.keyEnd=OI(t,It.key=e,n),fv(t,e,n))}function RI(t){It.key=0,It.keyEnd=0,It.value=0,It.valueEnd=0,It.textEnd=t.length}function fv(t,e,n){for(;e32;)e++;return e}function V(t,e,n){let r=Y(),i=go();if(Wt(r,i,e)){let o=xe(),s=Ud();xy(o,s,r,t,e,r[Ee],n,!1)}return V}function hd(t,e,n,r,i){let o=e.inputs,s=i?"class":"style";af(t,n,o[s],s,r)}function Do(t,e,n){return hv(t,e,n,!1),Do}function Xt(t,e){return hv(t,e,null,!0),Xt}function Ue(t){FI(UI,PI,t,!0)}function PI(t,e){for(let n=NI(e);n>=0;n=dv(e,n))Td(t,xI(e),!0)}function hv(t,e,n,r){let i=Y(),o=xe(),s=Ld(2);if(o.firstUpdatePass&&gv(o,t,s,r),e!==at&&Wt(i,s,e)){let a=o.data[fn()];mv(o,a,i,i[Ee],t,i[s+1]=HI(e,n),r,s)}}function FI(t,e,n,r){let i=xe(),o=Ld(2);i.firstUpdatePass&&gv(i,null,o,r);let s=Y();if(n!==at&&Wt(s,o,n)){let a=i.data[fn()];if(yv(a,r)&&!pv(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=Du(l,n||"")),hd(i,a,s,n,r)}else $I(i,a,s,s[Ee],s[o+1],s[o+1]=BI(t,e,n),r,o)}}function pv(t,e){return e>=t.expandoStartIndex}function gv(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[fn()],s=pv(t,n);yv(o,r)&&e===null&&!s&&(e=!1),e=kI(i,o,e,r),MI(i,o,e,n,s,r)}}function kI(t,e,n,r){let i=H_(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=pu(null,t,e,n,r),n=uo(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=pu(i,t,e,n,r),o===null){let l=LI(t,e,r);l!==void 0&&Array.isArray(l)&&(l=pu(null,t,e,l[1],r),l=uo(l,e.attrs,r),VI(t,e,r,l))}else o=jI(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function LI(t,e,n){let r=n?e.classBindings:e.styleBindings;if(pi(r)!==0)return t[Cr(r)]}function VI(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Cr(i)]=r}function jI(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=n[i+1];h===at&&(h=d?ze:void 0);let p=d?su(h,r):u===r?h:void 0;if(c&&!Ea(p)&&(p=su(l,r)),Ea(p)&&(a=p,s))return a;let m=t[i+1];i=s?Cr(m):pi(m)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=su(l,r))}return a}function Ea(t){return t!==void 0}function HI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Qe(At(t)))),t}function yv(t,e){return(t.flags&(e?8:16))!==0}var pd=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function gu(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function zI(t,e,n){let r,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let l=e.length-1;for(;o<=s&&o<=l;){let c=t.at(o),u=e[o],d=gu(o,c,o,u,n);if(d!==0){d<0&&t.updateValue(o,u),o++;continue}let h=t.at(s),p=e[l],m=gu(s,h,l,p,n);if(m!==0){m<0&&t.updateValue(s,p),s--,l--;continue}let y=n(o,c),w=n(s,h),S=n(o,u);if(Object.is(S,w)){let F=n(l,p);Object.is(F,y)?(t.swap(o,s),t.updateValue(s,p),l--,s--):t.move(s,o),t.updateValue(o,u),o++;continue}if(r??=new Ia,i??=jg(t,o,s,n),gd(t,r,o,S))t.updateValue(o,u),o++,s++;else if(i.has(S))r.set(y,t.detach(o)),s--;else{let F=t.create(o,e[o]);t.attach(o,F),o++,s++}}for(;o<=l;)Vg(t,r,n,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let u=t.at(o),d=c.value,h=gu(o,u,o,d,n);if(h!==0)h<0&&t.updateValue(o,d),o++,c=l.next();else{r??=new Ia,i??=jg(t,o,s,n);let p=n(o,d);if(gd(t,r,o,p))t.updateValue(o,d),o++,s++,c=l.next();else if(!i.has(p))t.attach(o,t.create(o,d)),o++,s++,c=l.next();else{let m=n(o,u);r.set(m,t.detach(o)),s--}}}for(;!c.done;)Vg(t,r,n,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function gd(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Vg(t,e,n,r,i){if(gd(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function jg(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var Ia=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,n)}}};function $n(t,e){st("NgControlFlow");let n=Y(),r=go(),i=n[r]!==at?n[r]:-1,o=i!==-1?Sa(n,Be+i):void 0,s=0;if(Wt(n,r,t)){let a=W(null);try{if(o!==void 0&&Uy(o,s),t!==-1){let l=Be+t,c=Sa(n,l),u=Dd(n[L],l),d=co(c,u.tView.ssrId),h=Ka(n,u,e,{dehydratedView:d});Xa(c,h,s,oo(u,d))}}finally{W(a)}}else if(o!==void 0){let a=By(o,s);a!==void 0&&(a[Le]=e)}}var md=class{lContainer;$implicit;$index;constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ve}};function rl(t,e){return e}var yd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function Rt(t,e,n,r,i,o,s,a,l,c,u,d,h){st("NgControlFlow");let p=Y(),m=xe(),y=l!==void 0,w=Y(),S=a?s.bind(w[Mt][Le]):s,F=new yd(y,S);w[Be+t]=F,ud(p,m,t+1,e,n,r,i,Pn(m.consts,o)),y&&ud(p,m,t+2,l,c,u,d,Pn(m.consts,h))}var vd=class extends pd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Ve}at(e){return this.getLView(e)[Le].$implicit}attach(e,n){let r=n[eo];this.needsIndexUpdate||=e!==this.length,Xa(this.lContainer,n,e,oo(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,GI(this.lContainer,e)}create(e,n){let r=co(this.lContainer,this.templateTNode.tView.ssrId),i=Ka(this.hostLView,this.templateTNode,new md(this.lContainer,n,e),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(e){Wa(e[L],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[Le].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Va(!0),my(r,i,Z_()));function YI(t,e,n,r,i){let o=e.consts,s=Pn(o,r),a=yo(e,t,8,"ng-container",s);s!==null&&wa(a,s,!0);let l=Pn(o,i);return sf(e,n,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function vv(t,e,n){let r=Y(),i=xe(),o=t+Be,s=i.firstCreatePass?YI(o,i,r,e,n):i.data[o];Ir(s,!0);let a=QI(i,r,s,t);return r[o]=a,La()&&qa(i,r,a,s),Fn(a,r),Fa(s)&&(nf(i,r,s),tf(i,s,r)),n!=null&&rf(r,s),vv}function Dv(){let t=Ge(),e=xe();return kd()?_m():(t=t.parent,Ir(t,!1)),e.firstCreatePass&&(ja(e,t),Nd(t)&&e.queries.elementEnd(t)),Dv}function il(t,e,n){return vv(t,e,n),Dv(),il}var QI=(t,e,n,r)=>(Va(!0),sE(e[Ee],""));function mn(){return Y()}var Ma="en-US";var KI=Ma;function XI(t){typeof t=="string"&&(KI=t.toLowerCase().replace(/_/g,"-"))}var JI=(t,e,n)=>{};function Ne(t,e,n,r){let i=Y(),o=xe(),s=Ge();return tS(o,i,i[Ee],s,t,e,r),Ne}function eS(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function tS(t,e,n,r,i,o,s){let a=Fa(r),c=t.firstCreatePass&&Ly(t),u=e[Le],d=ky(e),h=!0;if(r.type&3||s){let y=mt(r,e),w=s?s(y):y,S=d.length,F=s?Q=>s(Ht(Q[r.index])):r.index,P=null;if(!s&&a&&(P=eS(t,e,i,r.index)),P!==null){let Q=P.__ngLastListenerFn__||P;Q.__ngNextListenerFn__=o,P.__ngLastListenerFn__=o,h=!1}else{o=Ug(r,e,u,o),JI(y,i,o);let Q=n.listen(w,i,o);d.push(o,Q),c&&c.push(i,F,S,S+1)}}else o=Ug(r,e,u,o);let p=r.outputs,m;if(h&&p!==null&&(m=p[i])){let y=m.length;if(y)for(let w=0;w-1?Bn(t.index,e):e;cf(s,5);let a=Bg(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Bg(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Se(t=1){return W_(t)}function wo(t,e,n){return wv(t,"",e,"",n),wo}function wv(t,e,n,r,i){let o=Y(),s=uv(o,e,n,r);if(s!==at){let a=xe(),l=Ud();xy(a,l,o,t,s,o[Ee],i,!1)}return wv}function bo(t,e,n,r){uI(t,nI(e,n,r))}function ol(t=1){Vd(z_()+t)}function nS(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function bv(t){let e=L_();return Od(e,Be+t)}function f(t,e=""){let n=Y(),r=xe(),i=t+Be,o=r.firstCreatePass?yo(r,i,1,e,null):r.data[i],s=rS(r,n,o,e,t);n[i]=s,La()&&qa(r,n,s,o),Ir(o,!1)}var rS=(t,e,n,r,i)=>(Va(!0),iE(e[Ee],r));function _o(t){return Oe("",t,""),_o}function Oe(t,e,n){let r=Y(),i=uv(r,t,e,n);return i!==at&&jy(r,fn(),i),Oe}function ff(t,e,n,r,i){let o=Y(),s=CI(o,t,e,n,r,i);return s!==at&&jy(o,fn(),s),ff}function iS(t,e,n){let r=xe();if(r.firstCreatePass){let i=On(t);wd(n,r.data,r.blueprint,i,!0),wd(e,r.data,r.blueprint,i,!1)}}function wd(t,e,n,r,i){if(t=He(t),Array.isArray(t))for(let o=0;o>20;if(ui(t)||!t.multi){let p=new Dr(c,i,ne),m=yu(l,e,i?u:u+h,d);m===-1?(Ou(ha(a,s),o,l),mu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{let p=yu(l,e,u+h,d),m=yu(l,e,u,u+h),y=p>=0&&n[p],w=m>=0&&n[m];if(i&&!w||!i&&!y){Ou(ha(a,s),o,l);let S=aS(i?sS:oS,n.length,i,r,c);!i&&w&&(n[m].providerFactory=S),mu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=_v(n[i?m:p],c,!i&&r);mu(o,t,p>-1?p:m,S)}!i&&r&&w&&n[m].componentProviders++}}}function mu(t,e,n,r){let i=ui(e),o=g_(e);if(i||o){let l=(o?He(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=c.indexOf(n);u===-1?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function _v(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function yu(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>iS(r,i?i(t):t,e)}}function Cv(t,e){let n=t[e];return n===at?void 0:n}function lS(t,e,n,r,i,o){let s=e+n;return Wt(t,s,i)?lv(t,s+1,o?r.call(o,i):r(i)):Cv(t,s+1)}function cS(t,e,n,r,i,o,s){let a=e+n;return cv(t,a,i,o)?lv(t,a+2,s?r.call(s,i,o):r(i,o)):Cv(t,a+2)}function re(t,e){let n=xe(),r,i=t+Be;n.firstCreatePass?(r=uS(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=fr(r.type,!0)),s,a=Ye(ne);try{let l=fa(!1),c=o();return fa(l),nS(n,Y(),i,c),c}finally{Ye(a)}}function uS(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Pt(t,e,n){let r=t+Be,i=Y(),o=Od(i,r);return Ev(i,r)?lS(i,Em(),e,o.transform,n,o):o.transform(n)}function be(t,e,n,r){let i=t+Be,o=Y(),s=Od(o,i);return Ev(o,i)?cS(o,Em(),e,s.transform,n,r,s):s.transform(n,r)}function Ev(t,e){return t[L].data[e].pure}function Iv(t,e){return Ja(t,e)}var _d=class{ngModuleFactory;componentFactories;constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},hf=(()=>{class t{compileModuleSync(n){return new rd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=tm(n),o=gy(i.declarations).reduce((s,a)=>{let l=hr(a);return l&&s.push(new lo(l)),s},[]);return new _d(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dS=(()=>{class t{zone=g(fe);changeDetectionScheduler=g(br);applicationRef=g(Un);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fS({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new fe(j(D({},hS()),{scheduleInRootZone:n})),[{provide:fe,useFactory:t},{provide:ci,multi:!0,useFactory:()=>{let r=g(dS,{optional:!0});return()=>r.initialize()}},{provide:ci,multi:!0,useFactory:()=>{let r=g(pS);return()=>{r.initialize()}}},e===!0?{provide:Gm,useValue:!0}:[],{provide:Hd,useValue:n??zm}]}function hS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var pS=(()=>{class t{subscription=new me;initialized=!1;zone=g(fe);pendingTasks=g(hn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sv=(()=>{class t{appRef=g(Un);taskService=g(hn);ngZone=g(fe);zonelessEnabled=g(Ba);disableScheduling=g(Gm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ga):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Hd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ma||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?mg:Wm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ga+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,mg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Mv(){return st("NgZoneless"),jn([{provide:br,useExisting:Sv},{provide:fe,useClass:ma},{provide:Ba,useValue:!0},{provide:Hd,useValue:!1},[]])}function gS(){return typeof $localize<"u"&&$localize.locale||Ma}var pf=new I("",{providedIn:"root",factory:()=>g(pf,q.Optional|q.SkipSelf)||gS()});var Cd=new I("");function Zs(t){return!t.moduleRef}function mS(t){let e=Zs(t)?t.r3Injector:t.moduleRef.injector,n=e.get(fe);return n.run(()=>{Zs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(zt,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Zs(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Cd);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Cd);s.add(o),t.moduleRef.onDestroy(()=>{ea(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return U0(r,n,()=>{let o=e.get(ev);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(pf,Ma);if(XI(s||Ma),Zs(t)){let a=e.get(Un);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return yS(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function yS(t,e){let n=t.injector.get(Un);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new v(-403,!1);e.push(t)}var ta=null;function vS(t=[],e){return it.create({name:e,providers:[{provide:Ra,useValue:"platform"},{provide:Cd,useValue:new Set([()=>ta=null])},...t]})}function DS(t=[]){if(ta)return ta;let e=vS(t);return ta=e,V0(),wS(e),e}function wS(t){let e=t.get(Wd,null);ot(t,()=>{e?.forEach(n=>n())})}var vt=(()=>{class t{static __NG_ELEMENT_ID__=bS}return t})();function bS(t){return _S(Ge(),Y(),(t&16)===16)}function _S(t,e,n){if(Pa(t)&&!n){let r=Bn(t.index,e);return new _r(r,r)}else if(t.type&175){let r=e[Mt];return new _r(r,e)}return null}function Tv(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=DS(r),o=[fS({}),{provide:br,useExisting:Sv},...n||[]],s=new _a({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return mS({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function yn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function gf(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function vn(t,e){st("NgSignals");let n=Vc(t);return e?.equal&&(n[$e].equal=e.equal),n}function Jt(t){let e=W(null);try{return t()}finally{W(e)}}var Av=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=CS}return t})();function CS(){return new Av(Y(),Ge())}var ES=!1,IS=(()=>{class t extends Ca{pendingTasks=g(hn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ed=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,n,r,i,o,s){this.scheduler=e,this.effectFn=n,this.zone=r,this.injector=o,this.watcher=Np(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(zt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function SS(){}function xv(t,e){st("NgSignals"),!e?.injector&&ho(SS);let n=e?.injector??g(it),r=e?.manualCleanup!==!0?n.get(We):null,i=new Ed(n.get(IS),t,typeof Zone>"u"?null:Zone.current,r,n,e?.allowSignalWrites??!1),o=n.get(vt,null,{optional:!0});return!o||!(o._lView[N]&8)?i.watcher.notify():(o._lView[Qs]??=[]).push(i.watcher.notify),i}var MS=ES;var Id=class{[$e];constructor(e){this[$e]=e}destroy(){this[$e].destroy()}};function Ft(t,e){if(MS)return xv(t,e);st("NgSignals"),!e?.injector&&ho(Ft);let n=e?.injector??g(it),r=e?.manualCleanup!==!0?n.get(We):null,i,o=n.get(Av,null,{optional:!0}),s=n.get(br);return o!==null&&!e?.forceRoot?(i=xS(o.view,s,t),r instanceof pa&&r._lView===o.view&&(r=null)):i=NS(t,n.get(tv),s),i.injector=n,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Id(i)}var Nv=j(D({},rr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:ro,run(){if(this.dirty=!1,this.hasRun&&!$i(this))return;this.hasRun=!0;let t=r=>(this.cleanupFns??=[]).push(r),e=zr(this),n=ca(!1);try{this.maybeCleanup(),this.fn(t)}finally{ca(n),Ui(this,e)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),TS=j(D({},Nv),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Gr(this),this.onDestroyFn(),this.maybeCleanup()}}),AS=j(D({},Nv),{consumerMarkedDirty(){this.view[N]|=8192,po(this.view),this.notifier.notify(14)},destroy(){Gr(this),this.onDestroyFn(),this.maybeCleanup(),this.view[gr]?.delete(this)}});function xS(t,e,n){let r=Object.create(AS);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=e,r.fn=n,t[gr]??=new Set,t[gr].add(r),r.consumerMarkedDirty(r),r}function NS(t,e,n){let r=Object.create(TS);return r.fn=t,r.scheduler=e,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Fv=null;function Dn(){return Fv}function kv(t){Fv??=t}var sl=class{};var ae=new I(""),Lv=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(PS),providedIn:"platform"})}return t})();var PS=(()=>{class t extends Lv{_location;_history;_doc=g(ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dn().getBaseHref(this._doc)}onPopState(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Vv(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Rv(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function Nr(t){return t&&t[0]!=="?"?"?"+t:t}var al=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(jv),providedIn:"root"})}return t})(),FS=new I(""),jv=(()=>{class t extends al{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Vv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Nr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Nr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Nr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||t)(O(Lv),O(FS,8))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Co=(()=>{class t{_subject=new _e;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=VS(Rv(Ov(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nr(r))}normalize(n){return t.stripTrailingSlash(LS(this._basePath,Ov(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Nr;static joinWithSlash=Vv;static stripTrailingSlash=Rv;static \u0275fac=function(r){return new(r||t)(O(al))};static \u0275prov=E({token:t,factory:()=>kS(),providedIn:"root"})}return t})();function kS(){return new Co(O(al))}function LS(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Ov(t){return t.replace(/\/index.html$/,"")}function VS(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function ll(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Bv=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(ne(xr))};static \u0275dir=ye({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[dn]})}return t})();function jS(t,e){return new v(2100,!1)}var Uv=(()=>{class t{transform(n){if(n==null)return null;if(typeof n!="string")throw jS(t,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=Kt({name:"uppercase",type:t,pure:!0})}return t})();var yf="browser",BS="server";function Eo(t){return t===yf}function ct(t){return t===BS}var yi=class{};var $v=t=>t.src,US=new I("",{providedIn:"root",factory:()=>$v});var $S=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),HS=(()=>{class t{preloadedImages=g($S);document=g(ae);createPreloadLinkTag(n,r,i,o){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),o&&n.setAttribute(s,"imageSizes",o),i&&n.setAttribute(s,"imageSrcset",i),n.appendChild(this.document.head,s)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pv=/^((\s*\d+w\s*(,|$)){1,})$/;var zS=[1,2],GS=640;var WS=1920,qS=1080;var Dt=(()=>{class t{imageLoader=g(US);config=ZS(g(ny));renderer=g(gn);imgElement=g(ce).nativeElement;injector=g(it);isServer=ct(g(ge));preloadLinkCreator=g(HS);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){st("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Pv.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&r&&i&&r!==i&&this.injector.get(fe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,i)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Pv.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(o=>o>=GS)),r.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return zS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>WS||this.height>qS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$v&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(vt);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(n,"load",r),o=this.renderer.listen(n,"error",r);YS(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,i){r&2&&Do("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",QS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",gf],height:[2,"height","height",gf],loading:"loading",priority:[2,"priority","priority",yn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",yn],fill:[2,"fill","fill",yn],placeholder:[2,"placeholder","placeholder",KS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[vo,dn]})}return t})();function ZS(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((n,r)=>n-r)),Object.assign({},Yd,t,e)}function YS(t,e){t.complete&&t.naturalWidth&&e()}function QS(t){return typeof t=="string"?t:At(t)}function KS(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:yn(t)}var So=class{},ul=class{},wn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(e,n){let r=e.toLowerCase();this.maybeSetNormalizedName(e,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Df=class{encodeKey(e){return Hv(e)}encodeValue(e){return Hv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eM(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}var tM=/%(\d[a-f0-9])/gi,nM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hv(t){return encodeURIComponent(t).replace(tM,(e,n)=>nM[n]??e)}function cl(t){return`${t}`}var zn=class t{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new Df,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(cl):[cl(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(cl(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(cl(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var wf=class{map=new Map;set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function zv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Gv(t){return typeof Blob<"u"&&t instanceof Blob}function Wv(t){return typeof FormData<"u"&&t instanceof FormData}function iM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Io=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,n,r,i){this.url=n,this.method=e.toUpperCase();let o;if(rM(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new wn,this.context??=new wf,!this.params)this.params=new zn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),l=a===-1?"?":ah.set(p,e.setHeaders[p]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),u)),new t(n,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},Gn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gn||{}),Mo=class{headers;status;statusText;url;ok;type;constructor(e,n=200,r="OK"){this.headers=e.headers||new wn,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},dl=class t extends Mo{constructor(e={}){super(e)}type=Gn.ResponseHeader;clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},To=class t extends Mo{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=Gn.Response;clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Hn=class extends Mo{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Qv=200,oM=204;function vf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Cf=(()=>{class t{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Io)o=n;else{let l;i.headers instanceof wn?l=i.headers:l=new wn(i.headers);let c;i.params&&(i.params instanceof zn?c=i.params:c=new zn({fromObject:i.params})),o=new Io(n,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=A(o).pipe(Tn(l=>this.handler.handle(l)));if(n instanceof Io||i.observe==="events")return s;let a=s.pipe(Ce(l=>l instanceof To));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,vf(i,r))}post(n,r,i={}){return this.request("POST",n,vf(i,r))}put(n,r,i={}){return this.request("PUT",n,vf(i,r))}static \u0275fac=function(r){return new(r||t)(O(So))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),sM=/^\)\]\}',?\n/,aM="X-Request-URL";function qv(t){if(t.url)return t.url;let e=aM.toLocaleLowerCase();return t.headers.get(e)}var lM=(()=>{class t{fetchImpl=g(bf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(fe);handle(n){return new H(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(_f,o=>r.error(new Hn({error:o}))),()=>i.abort()})}async doRequest(n,r,i){let o=this.createRequestInit(n),s;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:r},o)));cM(p),i.next({type:Gn.Sent}),s=await p}catch(p){i.error(new Hn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let a=new wn(s.headers),l=s.statusText,c=qv(s)??n.urlWithParams,u=s.status,d=null;if(n.reportProgress&&i.next(new dl({headers:a,status:u,statusText:l,url:c})),s.body){let p=s.headers.get("content-length"),m=[],y=s.body.getReader(),w=0,S,F,P=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ve,value:J}=await y.read();if(ve)break;if(m.push(J),w+=J.length,n.reportProgress){F=n.responseType==="text"?(F??"")+(S??=new TextDecoder).decode(J,{stream:!0}):void 0;let le=()=>i.next({type:Gn.DownloadProgress,total:p?+p:void 0,loaded:w,partialText:F});P?P.run(le):le()}}});let Q=this.concatChunks(m,w);try{let ve=s.headers.get("Content-Type")??"";d=this.parseBody(n,Q,ve)}catch(ve){i.error(new Hn({error:ve,headers:new wn(s.headers),status:s.status,statusText:s.statusText,url:qv(s)??n.urlWithParams}));return}}u===0&&(u=d?Qv:0),u>=200&&u<300?(i.next(new To({body:d,headers:a,status:u,statusText:l,url:c})),i.complete()):i.error(new Hn({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(sM,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),bf=class{};function _f(){}function cM(t){t.then(_f,_f)}function uM(t,e){return e(t)}function dM(t,e,n){return(r,i)=>ot(n,()=>e(r,o=>t(o,i)))}var Kv=new I(""),fM=new I(""),hM=new I("",{providedIn:"root",factory:()=>!0});var Zv=(()=>{class t extends So{backend;injector;chain=null;pendingTasks=g(hn);contributeToStability=g(hM);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Kv),...this.injector.get(fM,[])]));this.chain=r.reduceRight((i,o)=>dM(i,o,this.injector),uM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ur(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(O(ul),O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();var pM=/^\)\]\}',?\n/;function gM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yv=(()=>{class t{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?oe(r.\u0275loadImpl()):A(null)).pipe(Re(()=>new H(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,w)=>s.setRequestHeader(y,w.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",w=new wn(s.getAllResponseHeaders()),S=gM(s)||n.url;return l=new dl({headers:w,status:s.status,statusText:y,url:S}),l},u=()=>{let{headers:y,status:w,statusText:S,url:F}=c(),P=null;w!==oM&&(P=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=P?Qv:0);let Q=w>=200&&w<300;if(n.responseType==="json"&&typeof P=="string"){let ve=P;P=P.replace(pM,"");try{P=P!==""?JSON.parse(P):null}catch(J){P=ve,Q&&(Q=!1,P={error:J,text:P})}}Q?(o.next(new To({body:P,headers:y,status:w,statusText:S,url:F||void 0})),o.complete()):o.error(new Hn({error:P,headers:y,status:w,statusText:S,url:F||void 0}))},d=y=>{let{url:w}=c(),S=new Hn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(S)},h=!1,p=y=>{h||(o.next(c()),h=!0);let w={type:Gn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),n.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},m=y=>{let w={type:Gn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Gn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(O(yi))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Xv=new I(""),mM="XSRF-TOKEN",yM=new I("",{providedIn:"root",factory:()=>mM}),vM="X-XSRF-TOKEN",DM=new I("",{providedIn:"root",factory:()=>vM}),fl=class{},wM=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ll(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||t)(O(ae),O(ge),O(yM))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function bM(t,e){let n=t.url.toLowerCase();if(!g(Xv)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(fl).getToken(),i=g(DM);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}function Jv(...t){let e=[Cf,Yv,Zv,{provide:So,useExisting:Zv},{provide:ul,useFactory:()=>g(lM,{optional:!0})??g(Yv)},{provide:Kv,useValue:bM,multi:!0},{provide:Xv,useValue:!0},{provide:fl,useClass:wM}];for(let n of t)e.push(...n.\u0275providers);return jn(e)}var If=class extends sl{supportsDOMEvents=!0},Sf=class t extends If{static makeCurrent(){kv(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=CM();return n==null?null:EM(n)}resetBaseElement(){Ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ll(document.cookie,e)}},Ao=null;function CM(){return Ao=Ao||document.querySelector("base"),Ao?Ao.getAttribute("href"):null}function EM(t){return new URL(t,document.baseURI).pathname}var IM=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Mf=new I(""),iD=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||t)(O(Mf),O(fe))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),hl=class{_doc;constructor(e){this._doc=e}manager},Tf="ng-app-id";function eD(t){for(let e of t)e.remove()}function tD(t,e){let n=e.createElement("style");return n.textContent=t,n}function SM(t,e,n){let r=t.head?.querySelectorAll(`style[${Tf}="${e}"]`);if(r)for(let i of r)i.textContent&&(i.removeAttribute(Tf),n.set(i.textContent,{usage:0,elements:[i]}))}function Af(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var oD=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=ct(o),SM(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,tD);r?.forEach(i=>this.addUsage(i,this.external,Af))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(eD(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])eD(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,tD(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Af(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Tf,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||t)(O(ae),O($a),O(Zd,8),O(ge))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Ef={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"},Nf=/%COMP%/g,sD="%COMP%",MM=`_nghost-${sD}`,TM=`_ngcontent-${sD}`,AM=!0,xM=new I("",{providedIn:"root",factory:()=>AM});function NM(t){return TM.replace(Nf,t)}function RM(t){return MM.replace(Nf,t)}function aD(t,e){return e.map(n=>n.replace(Nf,t))}var pl=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=ct(a),this.defaultRenderer=new xo(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r=j(D({},r),{encapsulation:Gt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof gl?i.applyToHost(n):i instanceof No&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:o=new gl(l,c,r,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new xf(l,c,n,r,s,a,this.nonce,d);default:o=new No(l,c,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||t)(O(iD),O(oD),O($a),O(xM),O(ae),O(ge),O(fe),O(Zd))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),xo=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(e,n){return n?this.doc.createElementNS(Ef[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(nD(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(nD(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=Ef[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Ef[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(ln.DashCase|ln.Important)?e.style.setProperty(n,r,i&ln.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ln.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Dn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function nD(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xf=class extends xo{sharedStylesHost;hostEl;shadowRoot;constructor(e,n,r,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=aD(i.id,i.styles);for(let d of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let u=i.getExternalStyles?.();if(u)for(let d of u){let h=Af(d,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},No=class extends xo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,n,r,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?aD(l,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gl=class extends No{contentAttr;hostAttr;constructor(e,n,r,i,o,s,a,l){let c=i+"-"+r.id;super(e,n,r,o,s,a,l,c),this.contentAttr=NM(c),this.hostAttr=RM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},OM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),rD=["alt","control","meta","shift"],PM={"\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"},FM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),rD.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=PM[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),rD.forEach(s=>{if(s!==i){let a=FM[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function lD(t,e){return Tv(D({rootComponent:t},LM(e)))}function LM(t){return{appProviders:[...$M,...t?.providers??[]],platformProviders:UM}}function VM(){Sf.makeCurrent()}function jM(){return new zt}function BM(){return ey(document),document}var UM=[{provide:ge,useValue:yf},{provide:Wd,useValue:VM,multi:!0},{provide:ae,useFactory:BM,deps:[]}];var $M=[{provide:Ra,useValue:"root"},{provide:zt,useFactory:jM,deps:[]},{provide:Mf,useClass:OM,multi:!0,deps:[ae,fe,ge]},{provide:Mf,useClass:kM,multi:!0,deps:[ae]},pl,oD,iD,{provide:Vn,useExisting:pl},{provide:yi,useClass:IM,deps:[]},[]];var cD=(()=>{class t{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rf=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=O(HM),i},providedIn:"root"})}return t})(),HM=(()=>{class t extends Rf{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case xt.NONE:return r;case xt.HTML:return Mr(r,"HTML")?At(r):py(this._doc,String(r)).toString();case xt.STYLE:return Mr(r,"Style")?At(r):r;case xt.SCRIPT:if(Mr(r,"Script"))return At(r);throw new v(5200,!1);case xt.URL:return Mr(r,"URL")?At(r):Ga(String(r));case xt.RESOURCE_URL:if(Mr(r,"ResourceURL"))return At(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return iy(n)}bypassSecurityTrustStyle(n){return oy(n)}bypassSecurityTrustScript(n){return sy(n)}bypassSecurityTrustUrl(n){return ay(n)}bypassSecurityTrustResourceUrl(n){return ly(n)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Z||{}),en="*";function uD(t,e=null){return{type:Z.Sequence,steps:t,options:e}}function Of(t){return{type:Z.Style,styles:t,offset:null}}var Wn=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,n=0){this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ro=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ml="!";function dD(t){return new v(3e3,!1)}function GM(){return new v(3100,!1)}function WM(){return new v(3101,!1)}function qM(t){return new v(3001,!1)}function ZM(t){return new v(3003,!1)}function YM(t){return new v(3004,!1)}function QM(t,e){return new v(3005,!1)}function KM(){return new v(3006,!1)}function XM(){return new v(3007,!1)}function JM(t,e){return new v(3008,!1)}function eT(t){return new v(3002,!1)}function tT(t,e,n,r,i){return new v(3010,!1)}function nT(){return new v(3011,!1)}function rT(){return new v(3012,!1)}function iT(){return new v(3200,!1)}function oT(){return new v(3202,!1)}function sT(){return new v(3013,!1)}function aT(t){return new v(3014,!1)}function lT(t){return new v(3015,!1)}function cT(t){return new v(3016,!1)}function uT(t,e){return new v(3404,!1)}function dT(t){return new v(3502,!1)}function fT(t){return new v(3503,!1)}function hT(){return new v(3300,!1)}function pT(t){return new v(3504,!1)}function gT(t){return new v(3301,!1)}function mT(t,e){return new v(3302,!1)}function yT(t){return new v(3303,!1)}function vT(t,e){return new v(3400,!1)}function DT(t){return new v(3401,!1)}function wT(t){return new v(3402,!1)}function bT(t,e){return new v(3505,!1)}function qn(t){switch(t.length){case 0:return new Wn;case 1:return t[0];default:return new Ro(t)}}function ID(t,e,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,p)=>{let m=p,y=h;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),y){case ml:y=n.get(p);break;case en:y=r.get(p);break;default:y=t.normalizeStyleValue(p,m,y,i);break}d.set(m,y)}),u||o.push(d),a=d,s=c}),i.length)throw dT(i);return o}function th(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Pf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Pf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Pf(n,"destroy",t)));break}}function Pf(t,e,n){let r=n.totalTime,i=!!n.disabled,o=nh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function nh(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function dt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function fD(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var _T=typeof document>"u"?null:document.documentElement;function rh(t){let e=t.parentNode||t.host||null;return e===_T?null:e}function CT(t){return t.substring(1,6)=="ebkit"}var Rr=null,hD=!1;function ET(t){Rr||(Rr=IT()||{},hD=Rr.style?"WebkitAppearance"in Rr.style:!1);let e=!0;return Rr.style&&!CT(t)&&(e=t in Rr.style,!e&&hD&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Rr.style)),e}function IT(){return typeof document<"u"?document.body:null}function SD(t,e){for(;e;){if(e===t)return!0;e=rh(e)}return!1}function MD(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var ih=(()=>{class t{validateStyleProperty(n){return ET(n)}containsElement(n,r){return SD(n,r)}getParentElement(n){return rh(n)}query(n,r,i){return MD(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Wn(i,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Fr=class{static NOOP=new ih},kr=class{};var ST=1e3,TD="{{",MT="}}",AD="ng-enter",Bf="ng-leave",yl="ng-trigger",_l=".ng-trigger",pD="ng-animating",Uf=".ng-animating";function bn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:$f(parseFloat(e[1]),e[2])}function $f(t,e){switch(e){case"s":return t*ST;default:return t}}function Cl(t,e,n){return t.hasOwnProperty("duration")?t:TT(t,e,n)}function TT(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(dD(t)),{duration:0,delay:0,easing:""};i=$f(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=$f(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(GM()),a=!0),o<0&&(e.push(WM()),a=!0),a&&e.splice(l,0,dD(t))}return{duration:i,delay:o,easing:s}}function AT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function tn(t,e,n){e.forEach((r,i)=>{let o=oh(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function Pr(t,e){e.forEach((n,r)=>{let i=oh(r);t.style[i]=""})}function Oo(t){return Array.isArray(t)?t.length==1?t[0]:uD(t):t}function xT(t,e,n){let r=e.params||{},i=xD(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(qM(o))})}var Hf=new RegExp(`${TD}\\s*(.+?)\\s*${MT}`,"g");function xD(t){let e=[];if(typeof t=="string"){let n;for(;n=Hf.exec(t);)e.push(n[1]);Hf.lastIndex=0}return e}function Fo(t,e,n){let r=`${t}`,i=r.replace(Hf,(o,s)=>{let a=e[s];return a==null&&(n.push(ZM(s)),a=""),a.toString()});return i==r?t:i}var NT=/-+([a-z0-9])/g;function oh(t){return t.replace(NT,(...e)=>e[1].toUpperCase())}function RT(t,e){return t===0||e===0}function OT(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,sh(t,a)))}}return e}function ut(t,e,n){switch(e.type){case Z.Trigger:return t.visitTrigger(e,n);case Z.State:return t.visitState(e,n);case Z.Transition:return t.visitTransition(e,n);case Z.Sequence:return t.visitSequence(e,n);case Z.Group:return t.visitGroup(e,n);case Z.Animate:return t.visitAnimate(e,n);case Z.Keyframes:return t.visitKeyframes(e,n);case Z.Style:return t.visitStyle(e,n);case Z.Reference:return t.visitReference(e,n);case Z.AnimateChild:return t.visitAnimateChild(e,n);case Z.AnimateRef:return t.visitAnimateRef(e,n);case Z.Query:return t.visitQuery(e,n);case Z.Stagger:return t.visitStagger(e,n);default:throw YM(e.type)}}function sh(t,e){return window.getComputedStyle(t)[e]}var PT=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),El=class extends kr{normalizePropertyName(e,n){return oh(e)}normalizeStyleValue(e,n,r,i){let o="",s=r.toString().trim();if(PT.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(QM(e,r))}return s+o}};var Il="*";function FT(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>kT(r,n,e)):n.push(t),n}function kT(t,e,n){if(t[0]==":"){let l=LT(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(lT(t)),e;let i=r[1],o=r[2],s=r[3];e.push(gD(i,s));let a=i==Il&&s==Il;o[0]=="<"&&!a&&e.push(gD(s,i))}function LT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var vl=new Set(["true","1"]),Dl=new Set(["false","0"]);function gD(t,e){let n=vl.has(t)||Dl.has(t),r=vl.has(e)||Dl.has(e);return(i,o)=>{let s=t==Il||t==i,a=e==Il||e==o;return!s&&n&&typeof i=="boolean"&&(s=i?vl.has(t):Dl.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?vl.has(e):Dl.has(e)),s&&a}}var ND=":self",VT=new RegExp(`s*${ND}s*,?`,"g");function RD(t,e,n,r){return new zf(t).build(e,n,r)}var mD="",zf=class{_driver;constructor(e){this._driver=e}build(e,n,r){let i=new Gf(n);return this._resetContextStyleTimingState(i),ut(this,Oo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=mD,e.collectedStyles=new Map,e.collectedStyles.set(mD,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(KM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==Z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==Z.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(XM())}),{type:Z.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{xD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(JM(e.name,[...o.values()]))}return{type:Z.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=ut(this,Oo(e.animation),n),i=FT(e.expr,n.errors);return{type:Z.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Or(e.options)}}visitSequence(e,n){return{type:Z.Sequence,steps:e.steps.map(r=>ut(this,r,n)),options:Or(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(s=>{n.currentTime=r;let a=ut(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:Z.Group,steps:o,options:Or(e.options)}}visitAnimate(e,n){let r=$T(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Of({});if(o.type==Z.Keyframes)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=Of(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:Z.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===en?r.push(a):n.errors.push(eT(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(TD)>=0){o=!0;break}}}),{type:Z.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(tT(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&xT(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:Z.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(nT()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(S=>{let F=this._makeStyleAst(S,n),P=F.offset!=null?F.offset:UT(F.styles),Q=0;return P!=null&&(o++,Q=F.offset=P),l=l||Q<0||Q>1,a=a||Q0&&o{let P=h>0?F==p?1:h*F:s[F],Q=P*w;n.currentTime=m+y.delay+Q,y.duration=Q,this._validateStyleAst(S,n),S.offset=P,r.styles.push(S)}),r}visitReference(e,n){return{type:Z.Reference,animation:ut(this,Oo(e.animation),n),options:Or(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:Z.AnimateChild,options:Or(e.options)}}visitAnimateRef(e,n){return{type:Z.AnimateRef,animation:this.visitReference(e.animation,n),options:Or(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=jT(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,dt(n.collectedStyles,n.currentQuerySelector,new Map);let a=ut(this,Oo(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:Z.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Or(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(sT());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Cl(e.timings,n.errors,!0);return{type:Z.Stagger,animation:ut(this,Oo(e.animation),n),timings:r,options:null}}};function jT(t){let e=!!t.split(/\s*,\s*/).find(n=>n==ND);return e&&(t=t.replace(VT,"")),t=t.replace(/@\*/g,_l).replace(/@\w+/g,n=>_l+"-"+n.slice(1)).replace(/:animating/g,Uf),[t,e]}function BT(t){return t?D({},t):null}var Gf=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function UT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function $T(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Cl(t,e).duration;return Ff(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ff(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Cl(n,e);return Ff(i.duration,i.delay,i.easing)}function Or(t){return t?(t=D({},t),t.params&&(t.params=BT(t.params))):t={},t}function Ff(t,e,n){return{duration:t,delay:e,easing:n}}function ah(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ko=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},HT=1,zT=":enter",GT=new RegExp(zT,"g"),WT=":leave",qT=new RegExp(WT,"g");function OD(t,e,n,r,i,o=new Map,s=new Map,a,l,c=[]){return new Wf().buildKeyframes(t,e,n,r,i,o,s,a,l,c)}var Wf=class{buildKeyframes(e,n,r,i,o,s,a,l,c,u=[]){c=c||new ko;let d=new qf(e,n,c,i,o,u,[]);d.options=l;let h=l.delay?bn(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),ut(this,r,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let y=p.length-1;y>=0;y--){let w=p[y];if(w.element===n){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[ah(n,[],[],[],0,h,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:bn(Fo(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?bn(r.duration):null,a=r.delay!=null?bn(r.delay):null;return s!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),ut(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==Z.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Sl);let s=bn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ut(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?bn(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),ut(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Fo(r,n.params,n.errors):r;return Cl(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==Z.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?bn(i.delay):0;o&&(n.previousNode.type===Z.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Sl);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),ut(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;ut(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Sl={},qf=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Sl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Ml(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=bn(r.duration)),r.delay!=null&&(i.delay=bn(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Fo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Sl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new Zf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(GT,"."+this._enterClassName),e=e.replace(qT,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(aT(n)),a}},Ml=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=HT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||en),this._currentKeyframe.set(n,en);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=ZT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=Fo(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??en),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===ml?e.add(d):u===en&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...n.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return ah(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Zf=class extends Ml{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=r+n,a=n/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",yD(a)),o.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),p=h.get("offset"),m=n+p*r;h.set("offset",yD(m/s)),o.push(h)}r=s,n=0,i="",e=o}return ah(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function yD(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function ZT(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)n.set(o,en)}else for(let[o,s]of i)n.set(o,s)}),n}function vD(t,e,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var kf={},Tl=class{_triggerName;ast;_stateStyles;constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return YT(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||kf,p=a&&a.params||kf,m=this.buildStyles(r,p,d),y=l&&l.params||kf,w=this.buildStyles(i,y,d),S=new Set,F=new Map,P=new Map,Q=i==="void",ve={params:PD(y,h),delay:this.ast.options?.delay},J=u?[]:OD(e,n,this.ast.animation,o,s,m,w,ve,c,d),le=0;return J.forEach(Te=>{le=Math.max(Te.duration+Te.delay,le)}),d.length?vD(n,this._triggerName,r,i,Q,m,w,[],[],F,P,le,d):(J.forEach(Te=>{let rn=Te.element,Hr=dt(F,rn,new Set);Te.preStyleProps.forEach(tr=>Hr.add(tr));let gp=dt(P,rn,new Set);Te.postStyleProps.forEach(tr=>gp.add(tr)),rn!==n&&S.add(rn)}),vD(n,this._triggerName,r,i,Q,m,w,J,[...S.values()],F,P,le))}};function YT(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function PD(t,e){let n=D({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Yf=class{styles;defaultParams;normalizer;constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=PD(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Fo(s,i,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function QT(t,e,n){return new Qf(t,e,n)}var Qf=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Yf(i.style,o,r))}),DD(this.states,"true","1"),DD(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Tl(e,i,this.states))}),this.fallbackTransition=KT(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function KT(t,e,n){let r=[(s,a)=>!0],i={type:Z.Sequence,steps:[],options:null},o={type:Z.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Tl(t,o,e)}function DD(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var XT=new ko,Kf=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r}register(e,n){let r=[],i=[],o=RD(this._driver,n,r,i);if(r.length)throw fT(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=ID(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=OD(this._driver,n,o,AD,Bf,new Map,new Map,r,XT,i),s.forEach(u=>{let d=dt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(hT()),s=[]),i.length)throw pT(i);a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,en))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=qn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw gT(e);return n}listen(e,n,r,i){let o=nh(n,"","","");return th(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,n,s);return}let o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},wD="ng-animate-queued",JT=".ng-animate-queued",Lf="ng-animate-disabled",eA=".ng-animate-disabled",tA="ng-star-inserted",nA=".ng-star-inserted",rA=[],FD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kt="__ng_removed",Lo=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=sA(i),r){let o=e,{value:s}=o,a=xc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Po="void",Vf=new Lo(Po),Xf=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+e,wt(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw mT(r,n);if(r==null||r.length==0)throw yT(n);if(!aA(r))throw vT(r,n);let o=dt(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);let a=dt(this._engine.statesByElement,e,new Map);return a.has(n)||(wt(e,yl),wt(e,yl+"-"+n),a.set(n,Vf)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw DT(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),s=new Vo(this.id,n,e),a=this._engine.statesByElement.get(e);a||(wt(e,yl),wt(e,yl+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n),c=new Lo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=Vf),!(c.value===Po)&&l.value===c.value){if(!uA(l.params,c.params)){let y=[],w=o.matchStyles(l.value,l.params,y),S=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Pr(e,w),tn(e,S)})}return}let h=dt(this._engine.playersByElement,e,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==n&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(wt(e,wD),s.onStart(()=>{vi(e,wD)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let w=this._engine.playersByElement.get(e);if(w){let S=w.indexOf(s);S>=0&&w.splice(S,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,_l,!0);r.forEach(i=>{if(i[kt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Po,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&qn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||Vf,u=new Lo(Po),d=new Vo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let o=e[kt];(!o||o===FD)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){wt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=nh(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,th(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Jf=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,n)=>{};_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new Xf(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(wl(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!wl(n))return;let o=n[kt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),wt(e,Lf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vi(e,Lf))}removeNode(e,n,r){if(wl(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[kt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return wl(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,_l,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,Uf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return qn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[kt];if(n&&n.setForRemoval){if(e[kt]=FD,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(Lf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,eA,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?qn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw wT(e)}_flushAnimations(e,n){let r=new ko,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);let T=this.driver.query(M,JT,!0);for(let R=0;R{let R=AD+y++;m.set(T,R),M.forEach(K=>wt(K,R))});let w=[],S=new Set,F=new Set;for(let M=0;MS.add(K)):F.add(T))}let P=new Map,Q=CD(h,Array.from(S));Q.forEach((M,T)=>{let R=Bf+y++;P.set(T,R),M.forEach(K=>wt(K,R))}),e.push(()=>{p.forEach((M,T)=>{let R=m.get(T);M.forEach(K=>vi(K,R))}),Q.forEach((M,T)=>{let R=P.get(T);M.forEach(K=>vi(K,R))}),w.forEach(M=>{this.processLeaveNode(M)})});let ve=[],J=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(R=>{let K=R.player,Ae=R.element;if(ve.push(K),this.collectedEnterElements.length){let Fe=Ae[kt];if(Fe&&Fe.setForMove){if(Fe.previousTriggersValues&&Fe.previousTriggersValues.has(R.triggerName)){let nr=Fe.previousTriggersValues.get(R.triggerName),pt=this.statesByElement.get(R.element);if(pt&&pt.has(R.triggerName)){let ds=pt.get(R.triggerName);ds.value=nr,pt.set(R.triggerName,ds)}}K.destroy();return}}let jt=!d||!this.driver.containsElement(d,Ae),Je=P.get(Ae),En=m.get(Ae),he=this._buildInstruction(R,r,En,Je,jt);if(he.errors&&he.errors.length){J.push(he);return}if(jt){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}if(R.isFallbackTransition){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}let vp=[];he.timelines.forEach(Fe=>{Fe.stretchStartingKeyframe=!0,this.disabledNodes.has(Fe.element)||vp.push(Fe)}),he.timelines=vp,r.append(Ae,he.timelines);let ob={instruction:he,player:K,element:Ae};s.push(ob),he.queriedElements.forEach(Fe=>dt(a,Fe,[]).push(K)),he.preStyleProps.forEach((Fe,nr)=>{if(Fe.size){let pt=l.get(nr);pt||l.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))}}),he.postStyleProps.forEach((Fe,nr)=>{let pt=c.get(nr);pt||c.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))})});if(J.length){let M=[];J.forEach(T=>{M.push(bT(T.triggerName,T.errors))}),ve.forEach(T=>T.destroy()),this.reportError(M)}let le=new Map,Te=new Map;s.forEach(M=>{let T=M.element;r.has(T)&&(Te.set(T,T),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,le))}),i.forEach(M=>{let T=M.element;this._getPreviousPlayers(T,!1,M.namespaceId,M.triggerName,null).forEach(K=>{dt(le,T,[]).push(K),K.destroy()})});let rn=w.filter(M=>ED(M,l,c)),Hr=new Map;_D(Hr,this.driver,F,c,en).forEach(M=>{ED(M,l,c)&&rn.push(M)});let tr=new Map;p.forEach((M,T)=>{_D(tr,this.driver,new Set(M),l,ml)}),rn.forEach(M=>{let T=Hr.get(M),R=tr.get(M);Hr.set(M,new Map([...T?.entries()??[],...R?.entries()??[]]))});let Tc=[],mp=[],yp={};s.forEach(M=>{let{element:T,player:R,instruction:K}=M;if(r.has(T)){if(u.has(T)){R.onDestroy(()=>tn(T,K.toStyles)),R.disabled=!0,R.overrideTotalTime(K.totalTime),i.push(R);return}let Ae=yp;if(Te.size>1){let Je=T,En=[];for(;Je=Je.parentNode;){let he=Te.get(Je);if(he){Ae=he;break}En.push(Je)}En.forEach(he=>Te.set(he,Ae))}let jt=this._buildAnimation(R.namespaceId,K,le,o,tr,Hr);if(R.setRealPlayer(jt),Ae===yp)Tc.push(R);else{let Je=this.playersByElement.get(Ae);Je&&Je.length&&(R.parentPlayer=qn(Je)),i.push(R)}}else Pr(T,K.fromStyles),R.onDestroy(()=>tn(T,K.toStyles)),mp.push(R),u.has(T)&&i.push(R)}),mp.forEach(M=>{let T=o.get(M.element);if(T&&T.length){let R=qn(T);M.setRealPlayer(R)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M!jt.destroyed);Ae.length?lA(this,T,Ae):this.processLeaveNode(T)}return w.length=0,Tc.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();let T=this.players.indexOf(M);this.players.splice(T,1)}),M.play()}),Tc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==Po;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,u=c!==o,d=dt(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}Pr(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,h=n.timelines.map(m=>{let y=m.element;u.add(y);let w=y[kt];if(w&&w.removedBeforeQueried)return new Wn(m.duration,m.delay);let S=y!==l,F=cA((r.get(y)||rA).map(le=>le.getRealPlayer())).filter(le=>{let Te=le;return Te.element?Te.element===y:!1}),P=o.get(y),Q=s.get(y),ve=ID(this._normalizer,m.keyframes,P,Q),J=this._buildPlayer(m,ve,F);if(m.subTimeline&&i&&d.add(y),S){let le=new Vo(e,a,y);le.setRealPlayer(J),c.push(le)}return J});c.forEach(m=>{dt(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>oA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>wt(m,pD));let p=qn(h);return p.onDestroy(()=>{u.forEach(m=>vi(m,pD)),tn(l,n.toStyles)}),d.forEach(m=>{dt(i,m,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Wn(e.duration,e.delay)}},Vo=class{namespaceId;triggerName;element;_player=new Wn;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>th(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){dt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function oA(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function sA(t){return t??null}function wl(t){return t&&t.nodeType===1}function aA(t){return t=="start"||t=="done"}function bD(t,e){let n=t.style.display;return t.style.display=e??"none",n}function _D(t,e,n,r,i){let o=[];n.forEach(l=>o.push(bD(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=e.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[kt]=iA,s.push(c))}),t.set(c,u)});let a=0;return n.forEach(l=>bD(l,o[a++])),s}function CD(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function wt(t,e){t.classList?.add(e)}function vi(t,e){t.classList?.remove(e)}function lA(t,e,n){qn(n).onDone(()=>t.processLeaveNode(e))}function cA(t){let e=[];return kD(t,e),e}function kD(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}var Di=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,n)=>{};constructor(e,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new Jf(e.body,n,r),this._timelineEngine=new Kf(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=RD(this._driver,o,l,c);if(l.length)throw uT(i,l);c.length&&void 0,a=QT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,s]=fD(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=fD(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function dA(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=jf(e[0]),e.length>1&&(r=jf(e[e.length-1]))):e instanceof Map&&(n=jf(e)),n||r?new fA(t,n,r):null}var fA=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Pr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}return t})();function jf(t){let e=null;return t.forEach((n,r)=>{hA(r)&&(e=e||new Map,e.set(r,n))}),e}function hA(t){return t==="display"||t==="position"}var Al=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:sh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},xl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return SD(e,n)}getParentElement(e){return rh(e)}query(e,n,r){return MD(e,n,r)}computeStyle(e,n,r){return sh(e,n)}animate(e,n,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(p=>p instanceof Al);RT(r,i)&&u.forEach(p=>{p.currentSnapshot.forEach((m,y)=>c.set(y,m))});let d=AT(n).map(p=>new Map(p));d=OT(e,d,c);let h=dA(e,d);return new Al(e,d,l,h)}};var bl="@",LD="@.disabled",Nl=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==bl&&n==LD?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},eh=class extends Nl{factory;constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==bl?n.charAt(1)=="."&&n==LD?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==bl){let i=pA(e),o=n.slice(1),s="";return o.charAt(0)!=bl&&([o,s]=gA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(e,n,r)}};function pA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function gA(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Rl=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new Nl(r,i,this.engine,d),c.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return n.data.animation.forEach(a),new eh(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var yA=(()=>{class t extends Di{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(O(ae),O(Fr),O(kr))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function vA(){return new El}function DA(t,e,n){return new Rl(t,e,n)}var VD=[{provide:kr,useFactory:vA},{provide:Di,useClass:yA},{provide:Vn,useFactory:DA,deps:[pl,Di,fe]}],wA=[{provide:Fr,useFactory:()=>new xl},{provide:qd,useValue:"BrowserAnimations"},...VD],Fj=[{provide:Fr,useClass:ih},{provide:qd,useValue:"NoopAnimations"},...VD];function jD(){return st("NgEagerAnimations"),[...wA]}var $="primary",ts=Symbol("RouteTitle"),fh=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Ii(t){return new fh(t)}function bA(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function ZD(t){return t.length>0?t[t.length-1]:null}function Yn(t){return Qc(t)?t:Ar(t)?oe(Promise.resolve(t)):A(t)}var CA={exact:QD,subset:KD},YD={exact:EA,subset:IA,ignored:()=>!0};function BD(t,e,n){return CA[n.paths](t.root,e.root,n.matrixParams)&&YD[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function EA(t,e){return nn(t,e)}function QD(t,e,n){if(!Vr(t.segments,e.segments)||!Fl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!QD(t.children[r],e.children[r],n))return!1;return!0}function IA(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>qD(t[n],e[n]))}function KD(t,e,n){return XD(t,e,e.segments,n)}function XD(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Vr(i,n)||e.hasChildren()||!Fl(i,n,r))}else if(t.segments.length===n.length){if(!Vr(t.segments,n)||!Fl(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!KD(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Vr(t.segments,i)||!Fl(t.segments,i,r)||!t.children[$]?!1:XD(t.children[$],e,o,r)}}function Fl(t,e,n){return e.every((r,i)=>YD[n](t[i].parameters,r.parameters))}var Cn=class{root;queryParams;fragment;_queryParamMap;constructor(e=new te([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){return TA.serialize(this)}},te=class{segments;children;parent=null;constructor(e,n){this.segments=e,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kl(this)}},Lr=class{path;parameters;_parameterMap;constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Ii(this.parameters),this._parameterMap}toString(){return ew(this)}};function SA(t,e){return Vr(t,e)&&t.every((n,r)=>nn(n.parameters,e[r].parameters))}function Vr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function MA(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===$&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==$&&(n=n.concat(e(i,r)))}),n}var jh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>new Go,providedIn:"root"})}return t})(),Go=class{parse(e){let n=new gh(e);return new Cn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${jo(e.root,!0)}`,r=NA(e.queryParams),i=typeof e.fragment=="string"?`#${AA(e.fragment)}`:"";return`${n}${r}${i}`}},TA=new Go;function kl(t){return t.segments.map(e=>ew(e)).join("/")}function jo(t,e){if(!t.hasChildren())return kl(t);if(e){let n=t.children[$]?jo(t.children[$],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&r.push(`${i}:${jo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=MA(t,(r,i)=>i===$?[jo(t.children[$],!1)]:[`${i}:${jo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${kl(t)}/${n[0]}`:`${kl(t)}/(${n.join("//")})`}}function JD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ol(t){return JD(t).replace(/%3B/gi,";")}function AA(t){return encodeURI(t)}function ph(t){return JD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ll(t){return decodeURIComponent(t)}function UD(t){return Ll(t.replace(/\+/g,"%20"))}function ew(t){return`${ph(t.path)}${xA(t.parameters)}`}function xA(t){return Object.entries(t).map(([e,n])=>`;${ph(e)}=${ph(n)}`).join("")}function NA(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Ol(n)}=${Ol(i)}`).join("&"):`${Ol(n)}=${Ol(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var RA=/^[^\/()?;#]+/;function lh(t){let e=t.match(RA);return e?e[0]:""}var OA=/^[^\/()?;=#]+/;function PA(t){let e=t.match(OA);return e?e[0]:""}var FA=/^[^=?&#]+/;function kA(t){let e=t.match(FA);return e?e[0]:""}var LA=/^[^&#]+/;function VA(t){let e=t.match(LA);return e?e[0]:""}var gh=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[$]=new te(e,n)),r}parseSegment(){let e=lh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Lr(Ll(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=PA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=lh(this.remaining);i&&(r=i,this.capture(r))}e[Ll(n)]=Ll(r)}parseQueryParam(e){let n=kA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=VA(this.remaining);s&&(r=s,this.capture(r))}let i=UD(n),o=UD(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=lh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[$]:new te([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function tw(t){return t.segments.length>0?new te([],{[$]:t}):t}function nw(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=nw(i);if(r===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new te(t.segments,e);return jA(n)}function jA(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new te(t.segments.concat(e.segments),e.children)}return t}function Wo(t){return t instanceof Cn}function BA(t,e,n=null,r=null){let i=rw(t);return iw(i,e,n,r)}function rw(t){let e;function n(o){let s={};for(let l of o.children){let c=n(l);s[l.outlet]=c}let a=new te(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=tw(r);return e??i}function iw(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return ch(i,i,i,n,r);let o=UA(e);if(o.toRoot())return ch(i,i,new te([],{}),n,r);let s=$A(o,i,t),a=s.processChildren?$o(s.segmentGroup,s.index,o.commands):sw(s.segmentGroup,s.index,o.commands);return ch(i,s.segmentGroup,a,n,r)}function Vl(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qo(t){return typeof t=="object"&&t!=null&&t.outlets}function ch(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=n:s=ow(t,e,n);let a=tw(nw(s));return new Cn(a,o,i)}function ow(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=ow(o,e,n)}),new te(t.segments,r)}var jl=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Vl(r[0]))throw new v(4003,!1);let i=r.find(qo);if(i&&i!==ZD(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function UA(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new jl(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new jl(n,e,r)}var _i=class{segmentGroup;processChildren;index;constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function $A(t,e,n){if(t.isAbsolute)return new _i(e,!0,0);if(!n)return new _i(e,!1,NaN);if(n.parent===null)return new _i(n,!0,0);let r=Vl(t.commands[0])?0:1,i=n.segments.length-1+r;return HA(n,i,t.numberOfDoubleDots)}function HA(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new _i(r,!1,i-o)}function zA(t){return qo(t[0])?t[0].outlets:{[$]:t}}function sw(t,e,n){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return $o(t,e,n);let r=GA(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=$o(t.children[$],e,n);return new te(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=sw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new te(t.segments,i)}}function GA(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=t.segments[i],a=n[r];if(qo(a))break;let l=`${a}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!HD(l,c,s))return o;r+=2}else{if(!HD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function mh(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=mh(new te([],{}),0,r))}),e}function $D(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function HD(t,e,n){return t==n.path&&nn(e,n.parameters)}var Ho="imperative",Pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Pe||{}),bt=class{id;url;constructor(e,n){this.id=e,this.url=n}},Zo=class extends bt{type=Pe.NavigationStart;navigationTrigger;restoredState;constructor(e,n,r="imperative",i=null){super(e,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},jr=class extends bt{urlAfterRedirects;type=Pe.NavigationEnd;constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ht=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ht||{}),yh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(yh||{}),_n=class extends bt{reason;code;type=Pe.NavigationCancel;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Br=class extends bt{reason;code;type=Pe.NavigationSkipped;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}},Yo=class extends bt{error;target;type=Pe.NavigationError;constructor(e,n,r,i){super(e,n),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Bl=class extends bt{urlAfterRedirects;state;type=Pe.RoutesRecognized;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vh=class extends bt{urlAfterRedirects;state;type=Pe.GuardsCheckStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dh=class extends bt{urlAfterRedirects;state;shouldActivate;type=Pe.GuardsCheckEnd;constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveEnd;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_h=class{route;type=Pe.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ch=class{route;type=Pe.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Eh=class{snapshot;type=Pe.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ih=class{snapshot;type=Pe.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sh=class{snapshot;type=Pe.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mh=class{snapshot;type=Pe.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Qo=class{},Si=class{url;navigationBehaviorOptions;constructor(e,n){this.url=e,this.navigationBehaviorOptions=n}};function qA(t,e){return t.providers&&!t._injector&&(t._injector=uf(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Lt(t){return t.outlet||$}function ZA(t,e){let n=t.filter(r=>Lt(r)===e);return n.push(...t.filter(r=>Lt(r)!==e)),n}function ns(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Th=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ns(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new ql(this.rootInjector)}},ql=(()=>{class t{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Th(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||t)(O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ul=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=Ah(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=Ah(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=xh(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return xh(e,this._root).map(n=>n.value)}};function Ah(t,e){if(t===e.value)return e;for(let n of e.children){let r=Ah(t,n);if(r)return r}return null}function xh(t,e){if(t===e.value)return[e];for(let n of e.children){let r=xh(t,n);if(r.length)return r.unshift(e),r}return[]}var ft=class{value;children;constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function bi(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var $l=class extends Ul{snapshot;constructor(e,n){super(e),this.snapshot=n,Bh(this,e)}toString(){return this.snapshot.toString()}};function aw(t){let e=YA(t),n=new De([new Lr("",{})]),r=new De({}),i=new De({}),o=new De({}),s=new De(""),a=new Zn(n,r,o,s,i,$,t,e.root);return a.snapshot=e.root,new $l(new ft(a,[]),e)}function YA(t){let e={},n={},r={},i="",o=new Ci([],e,r,i,n,$,t,null,{});return new zl("",new ft(o,[]))}var Zn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,n,r,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(k(c=>c[ts]))??A(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}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(k(e=>Ii(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(e=>Ii(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Hl(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},i&&cw(i)&&(r.resolve[ts]=i.title),r}var Ci=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ts]}constructor(e,n,r,i,o,s,a,l,c){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Ii(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},zl=class extends Ul{url;constructor(e,n){super(n),this.url=e,Bh(this,n)}toString(){return lw(this._root)}};function Bh(t,e){e.value._routerState=t,e.children.forEach(n=>Bh(t,n))}function lw(t){let e=t.children.length>0?` { ${t.children.map(lw).join(", ")} } `:"";return`${t.value}${e}`}function uh(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,nn(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),nn(e.params,n.params)||t.paramsSubject.next(n.params),_A(e.url,n.url)||t.urlSubject.next(n.url),nn(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Nh(t,e){let n=nn(t.params,e.params)&&SA(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||Nh(t.parent,e.parent))}function cw(t){return typeof t.title=="string"||t.title===null}var QA=new I(""),KA=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new we;deactivateEvents=new we;attachEvents=new we;detachEvents=new we;routerOutletData=X(void 0);parentContexts=g(ql);location=g(xr);changeDetector=g(vt);inputBinder=g(Uh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Rh(n,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[dn]})}return t})(),Rh=class t{route;childContexts;parent;outletData;__ngOutletInjector(e){return new t(this.route,this.childContexts,e,this.outletData)}constructor(e,n,r,i){this.route=e,this.childContexts=n,this.parent=r,this.outletData=i}get(e,n){return e===Zn?this.route:e===ql?this.childContexts:e===QA?this.outletData:this.parent.get(e,n)}},Uh=new I("");function XA(t,e,n){let r=Ko(t,e._root,n?n._root:void 0);return new $l(r,e)}function Ko(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=JA(t,e,n);return new ft(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ko(t,a)),s}}let r=ex(e.value),i=e.children.map(o=>Ko(t,o));return new ft(r,i)}}function JA(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Ko(t,r,i);return Ko(t,r)})}function ex(t){return new Zn(new De(t.url),new De(t.params),new De(t.queryParams),new De(t.fragment),new De(t.data),t.outlet,t.component,t)}var Xo=class{redirectTo;navigationBehaviorOptions;constructor(e,n){this.redirectTo=e,this.navigationBehaviorOptions=n}},uw="ngNavigationCancelingError";function Gl(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=Wo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=dw(!1,ht.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function dw(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[uw]=!0,n.cancellationCode=e,n}function tx(t){return fw(t)&&Wo(t.url)}function fw(t){return!!t&&t[uw]}var nx=(t,e,n,r)=>k(i=>(new Oh(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),Oh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),uh(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Mh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ih(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(uh(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),uh(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,r)}},Wl=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ei=class{component;route;constructor(e,n){this.component=e,this.route=n}};function rx(t,e,n){let r=t._root,i=e?e._root:null;return Bo(r,i,n,[r.value])}function ix(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ti(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!Wg(t)?t:e.get(t):r}function Bo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=bi(e);return t.children.forEach(s=>{ox(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>zo(a,n.getContext(s),i)),i}function ox(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=sx(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Wl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Bo(t,e,a?a.children:null,r,i):Bo(t,e,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ei(a.outlet.component,s))}else s&&zo(e,a,i),i.canActivateChecks.push(new Wl(r)),o.component?Bo(t,null,a?a.children:null,r,i):Bo(t,null,n,r,i);return i}function sx(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Vr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vr(t.url,e.url)||!nn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nh(t,e)||!nn(t.queryParams,e.queryParams);case"paramsChange":default:return!Nh(t,e)}}function zo(t,e,n){let r=bi(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?zo(s,e.children.getContext(o),n):zo(s,null,n):zo(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Ei(e.outlet.component,i)):n.canDeactivateChecks.push(new Ei(null,i)):n.canDeactivateChecks.push(new Ei(null,i))}function rs(t){return typeof t=="function"}function ax(t){return typeof t=="boolean"}function lx(t){return t&&rs(t.canLoad)}function cx(t){return t&&rs(t.canActivate)}function ux(t){return t&&rs(t.canActivateChild)}function dx(t){return t&&rs(t.canDeactivate)}function fx(t){return t&&rs(t.canMatch)}function hw(t){return t instanceof Ct||t?.name==="EmptyError"}var Pl=Symbol("INITIAL_VALUE");function Mi(){return Re(t=>Bs(t.map(e=>e.pipe(nt(1),ou(Pl)))).pipe(k(e=>{for(let n of e)if(n!==!0){if(n===Pl)return Pl;if(n===!1||hx(n))return n}return!0}),Ce(e=>e!==Pl),nt(1)))}function hx(t){return Wo(t)||t instanceof Xo}function px(t,e){return pe(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?A(j(D({},n),{guardsResult:!0})):gx(s,r,i,t).pipe(pe(a=>a&&ax(a)?mx(r,o,t,e):A(a)),k(a=>j(D({},n),{guardsResult:a})))})}function gx(t,e,n,r){return oe(t).pipe(pe(i=>bx(i.component,i.route,n,e,r)),Bt(i=>i!==!0,!0))}function mx(t,e,n,r){return oe(e).pipe(Tn(i=>Mn(vx(i.route.parent,r),yx(i.route,r),wx(t,i.path,n),Dx(t,i.route,n))),Bt(i=>i!==!0,!0))}function yx(t,e){return t!==null&&e&&e(new Sh(t)),A(!0)}function vx(t,e){return t!==null&&e&&e(new Eh(t)),A(!0)}function Dx(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return A(!0);let i=r.map(o=>Us(()=>{let s=ns(e)??n,a=Ti(o,s),l=cx(a)?a.canActivate(e,t):ot(s,()=>a(e,t));return Yn(l).pipe(Bt())}));return A(i).pipe(Mi())}function wx(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ix(s)).filter(s=>s!==null).map(s=>Us(()=>{let a=s.guards.map(l=>{let c=ns(s.node)??n,u=Ti(l,c),d=ux(u)?u.canActivateChild(r,t):ot(c,()=>u(r,t));return Yn(d).pipe(Bt())});return A(a).pipe(Mi())}));return A(o).pipe(Mi())}function bx(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let s=o.map(a=>{let l=ns(e)??i,c=Ti(a,l),u=dx(c)?c.canDeactivate(t,e,n,r):ot(l,()=>c(t,e,n,r));return Yn(u).pipe(Bt())});return A(s).pipe(Mi())}function _x(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=lx(a)?a.canLoad(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}function pw(t){return Gc(de(e=>{if(typeof e!="boolean")throw Gl(t,e)}),k(e=>e===!0))}function Cx(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=fx(a)?a.canMatch(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}var Jo=class{segmentGroup;constructor(e){this.segmentGroup=e||null}},es=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function wi(t){return gt(new Jo(t))}function Ex(t){return gt(new v(4e3,!1))}function Ix(t){return gt(dw(!1,ht.GuardRejected))}var Ph=class{urlSerializer;urlTree;constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return A(r);if(i.numberOfChildren>1||!i.children[$])return Ex(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:p,data:m,title:y}=i,w=ot(o,()=>a({params:p,data:m,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:y}));if(w instanceof Cn)throw new es(w);n=w}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n[0]==="/")throw new es(s);return s}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new Cn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,r,i)}),new te(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},Fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sx(t,e,n,r,i){let o=gw(t,e,n);return o.matched?(r=qA(e,r),Cx(r,e,n,i).pipe(k(s=>s===!0?o:D({},Fh)))):A(o)}function gw(t,e,n){if(e.path==="**")return Mx(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},Fh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||bA)(n,t,e);if(!i)return D({},Fh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Mx(t){return{matched:!0,parameters:t.length>0?ZD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zD(t,e,n,r){return n.length>0&&xx(t,n,r)?{segmentGroup:new te(e,Ax(r,new te(n,t.children))),slicedSegments:[]}:n.length===0&&Nx(t,n,r)?{segmentGroup:new te(t.segments,Tx(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new te(t.segments,t.children),slicedSegments:n}}function Tx(t,e,n,r){let i={};for(let o of n)if(Zl(t,e,o)&&!r[Lt(o)]){let s=new te([],{});i[Lt(o)]=s}return D(D({},r),i)}function Ax(t,e){let n={};n[$]=e;for(let r of t)if(r.path===""&&Lt(r)!==$){let i=new te([],{});n[Lt(r)]=i}return n}function xx(t,e,n){return n.some(r=>Zl(t,e,r)&&Lt(r)!==$)}function Nx(t,e,n){return n.some(r=>Zl(t,e,r))}function Zl(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Rx(t,e,n){return e.length===0&&!t.children[n]}var kh=class{};function Ox(t,e,n,r,i,o,s="emptyOnly"){return new Lh(t,e,n,r,i,s,o).recognize()}var Px=31,Lh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ph(this.urlSerializer,this.urlTree)}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=zD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(k(({children:n,rootSnapshot:r})=>{let i=new ft(r,n),o=new zl("",i),s=BA(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let n=new Ci([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,n).pipe(k(r=>({children:r,rootSnapshot:n})),tt(r=>{if(r instanceof es)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Jo?this.noMatchError(r):r}))}processSegmentGroup(e,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r,o):this.processSegment(e,n,r,r.segments,i,!0,o).pipe(k(s=>s instanceof ft?[s]:[]))}processChildren(e,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return oe(o).pipe(Tn(s=>{let a=r.children[s],l=ZA(n,s);return this.processSegmentGroup(e,l,a,s,i)}),iu((s,a)=>(s.push(...a),s)),An(null),ru(),pe(s=>{if(s===null)return wi(r);let a=mw(s);return Fx(a),A(a)}))}processSegment(e,n,r,i,o,s,a){return oe(n).pipe(Tn(l=>this.processSegmentAgainstRoute(l._injector??e,n,l,r,i,o,s,a).pipe(tt(c=>{if(c instanceof Jo)return A(null);throw c}))),Bt(l=>!!l),tt(l=>{if(hw(l))return Rx(r,i,o)?A(new kh):wi(r);throw l}))}processSegmentAgainstRoute(e,n,r,i,o,s,a,l){return Lt(r)!==s&&(s===$||!Zl(i,o,r))?wi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s,l):wi(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=gw(n,i,o);if(!l)return wi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Px&&(this.allowRedirects=!1));let p=new Ci(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(i),Lt(i),i.component??i._loadedComponent??null,i,WD(i)),m=Hl(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,p,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(pe(w=>this.processSegment(e,r,n,w.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,n,r,i,o,s){let a=Sx(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Re(l=>l.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Re(({routes:c})=>{let u=r._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:p}=l,m=new Ci(h,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(r),Lt(r),r.component??r._loadedComponent??null,r,WD(r)),y=Hl(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:S}=zD(n,h,p,c);if(S.length===0&&w.hasChildren())return this.processChildren(u,c,w,m).pipe(k(P=>new ft(m,P)));if(c.length===0&&S.length===0)return A(new ft(m,[]));let F=Lt(r)===o;return this.processSegment(u,c,w,S,F?$:o,!0,m).pipe(k(P=>new ft(m,P instanceof ft?[P]:[])))}))):wi(n)))}getChildConfig(e,n,r){return n.children?A({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?A({routes:n._loadedRoutes,injector:n._loadedInjector}):_x(e,n,r,this.urlSerializer).pipe(pe(i=>i?this.configLoader.loadChildren(e,n).pipe(de(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):Ix(n))):A({routes:[],injector:e})}};function Fx(t){t.sort((e,n)=>e.value.outlet===$?-1:n.value.outlet===$?1:e.value.outlet.localeCompare(n.value.outlet))}function kx(t){let e=t.value.routeConfig;return e&&e.path===""}function mw(t){let e=[],n=new Set;for(let r of t){if(!kx(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=mw(r.children);e.push(new ft(r.value,i))}return e.filter(r=>!n.has(r))}function GD(t){return t.data||{}}function WD(t){return t.resolve||{}}function Lx(t,e,n,r,i,o){return pe(s=>Ox(t,e,n,r,s.extractedUrl,i,o).pipe(k(({state:a,tree:l})=>j(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Vx(t,e){return pe(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return A(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of yw(l))s.add(c);let a=0;return oe(s).pipe(Tn(l=>o.has(l)?jx(l,r,t,e):(l.data=Hl(l,l.parent,t).resolve,A(void 0))),de(()=>a++),ti(1),pe(l=>a===s.size?A(n):ke))})}function yw(t){let e=t.children.map(n=>yw(n)).flat();return[t,...e]}function jx(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!cw(i)&&(o[ts]=i.title),Bx(o,t,e,r).pipe(k(s=>(t._resolvedData=s,t.data=Hl(t,t.parent,n).resolve,null)))}function Bx(t,e,n,r){let i=hh(t);if(i.length===0)return A({});let o={};return oe(i).pipe(pe(s=>Ux(t[s],e,n,r).pipe(Bt(),de(a=>{if(a instanceof Xo)throw Gl(new Go,a);o[s]=a}))),ti(1),qi(o),tt(s=>hw(s)?ke:gt(s)))}function Ux(t,e,n,r){let i=ns(e)??r,o=Ti(t,i),s=o.resolve?o.resolve(e,n):ot(i,()=>o(e,n));return Yn(s)}function dh(t){return Re(e=>{let n=t(e);return n?oe(n).pipe(k(()=>e)):A(e)})}var vw=(()=>{class t{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===$);return r}getResolvedTitleForRoute(n){return n.data[ts]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g($x),providedIn:"root"})}return t})(),$x=(()=>{class t extends vw{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(O(cD))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$h=new I("",{providedIn:"root",factory:()=>({})}),Hx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=se({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,i){r&1&&U(0,"router-outlet")},dependencies:[KA],encapsulation:2})}return t})();function Hh(t){let e=t.children&&t.children.map(Hh),n=e?j(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=Hx),n}var zh=new I(""),zx=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(hf);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return A(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Yn(n.loadComponent()).pipe(k(Dw),de(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),ur(()=>{this.componentLoaders.delete(n)})),i=new Kr(r,()=>new _e).pipe(Qr());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return A({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Gx(r,this.compiler,n,this.onLoadEndListener).pipe(ur(()=>{this.childrenLoaders.delete(r)})),s=new Kr(o,()=>new _e).pipe(Qr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Gx(t,e,n,r){return Yn(t.loadChildren()).pipe(k(Dw),pe(i=>i instanceof ao||Array.isArray(i)?A(i):oe(e.compileModuleAsync(i))),k(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(zh,[],{optional:!0,self:!0}).flat()),{routes:s.map(Hh),injector:o}}))}function Wx(t){return t&&typeof t=="object"&&"default"in t}function Dw(t){return Wx(t)?t.default:t}var Gh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(qx),providedIn:"root"})}return t})(),qx=(()=>{class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zx=new I("");var Yx=new I(""),Qx=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new _e;transitionAbortSubject=new _e;configLoader=g(zx);environmentInjector=g(Ke);urlSerializer=g(jh);rootContexts=g(ql);location=g(Co);inputBindingEnabled=g(Uh,{optional:!0})!==null;titleStrategy=g(vw);options=g($h,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Gh);createViewTransition=g(Zx,{optional:!0});navigationErrorHandler=g(Yx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;constructor(){let n=i=>this.events.next(new _h(i)),r=i=>this.events.next(new Ch(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(j(D(D({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new De({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ho,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(o=>o.id!==0),k(o=>j(D({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Re(o=>{let s=!1,a=!1;return A(o).pipe(Re(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),ke;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?j(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&u!=="reload"){let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.rawUrl),d,yh.IgnoredSameUrlNavigation)),l.resolve(!1),ke}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(Re(d=>{let h=this.transitions?.getValue();return this.events.next(new Zo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ke:Promise.resolve(d)}),Lx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),de(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=j(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new Bl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:y}=l,w=new Zo(d,this.urlSerializer.serialize(h),p,m);this.events.next(w);let S=aw(this.rootComponentType).snapshot;return this.currentTransition=o=j(D({},l),{targetSnapshot:S,urlAfterRedirects:h,extras:j(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,A(o)}else{let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.extractedUrl),d,yh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ke}}),de(l=>{let c=new vh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=j(D({},l),{guards:rx(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),px(this.environmentInjector,l=>this.events.next(l)),de(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Gl(this.urlSerializer,l.guardsResult);let c=new Dh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ht.GuardRejected),!1)),dh(l=>{if(l.guards.canActivateChecks.length)return A(l).pipe(de(c=>{let u=new wh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Re(c=>{let u=!1;return A(c).pipe(Vx(this.paramsInheritanceStrategy,this.environmentInjector),de({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",ht.NoDataFromResolver)}}))}),de(c=>{let u=new bh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),dh(l=>{let c=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(de(h=>{u.component=h}),k(()=>{})));for(let h of u.children)d.push(...c(h));return d};return Bs(c(l.targetSnapshot.root)).pipe(An(null),nt(1))}),dh(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?oe(u).pipe(k(()=>o)):A(o)}),k(l=>{let c=XA(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=j(D({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),de(()=>{this.events.next(new Qo)}),nx(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),nt(1),de({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Zi(this.transitionAbortSubject.pipe(de(l=>{throw l}))),ur(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(l=>{if(a=!0,fw(l))this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),tx(l)?this.events.next(new Si(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Yo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let u=ot(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Xo){let{message:d,cancellationCode:h}=Gl(this.urlSerializer,u);this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Si(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return ke}))}))}cancelNavigationTransition(n,r,i){let o=new _n(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Kx(t){return t!==Ho}var Xx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(Jx),providedIn:"root"})}return t})(),Vh=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},Jx=(()=>{class t extends Vh{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ww=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(eN),providedIn:"root"})}return t})(),eN=(()=>{class t extends ww{location=g(Co);urlSerializer=g(jh);options=g($h,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Gh);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Cn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=aw(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Zo)this.stateMemento=this.createStateMemento();else if(n instanceof Br)this.rawUrlTree=r.initialUrl;else if(n instanceof Bl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof Qo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof _n&&(n.code===ht.GuardRejected||n.code===ht.NoDataFromResolver)?this.restoreHistory(r):n instanceof Yo?this.restoreHistory(r,!0):n instanceof jr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof Cn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=D(D({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Uo||{});function tN(t,e){t.events.pipe(Ce(n=>n instanceof jr||n instanceof _n||n instanceof Yo||n instanceof Br),k(n=>n instanceof jr||n instanceof Br?Uo.COMPLETE:(n instanceof _n?n.code===ht.Redirect||n.code===ht.SupersededByNewNavigation:!1)?Uo.REDIRECTING:Uo.FAILED),Ce(n=>n!==Uo.REDIRECTING),nt(1)).subscribe(()=>{e()})}var nN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ai=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(el);stateManager=g(ww);options=g($h,{optional:!0})||{};pendingTasks=g(hn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Qx);urlSerializer=g(jh);location=g(Co);urlHandlingStrategy=g(Gh);_events=new _e;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Xx);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(zh,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Uh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof _n&&r.code!==ht.Redirect&&r.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof jr)this.navigated=!0;else if(r instanceof Si){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Kx(i.source)},s);this.scheduleNavigation(a,Ho,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oN(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ho,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=D({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Hh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=rw(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return iw(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Wo(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ho,null,r)}navigate(n,r={skipLocationChange:!1}){return iN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},nN):r===!1?i=D({},rN):i=r,Wo(n))return BD(this.currentUrlTree,n,i);let o=this.parseUrl(n);return BD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return tN(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function iN(t){for(let e=0;en.\u0275providers)])}function aN(t){return t.routerState.root}function lN(){let t=g(it);return e=>{let n=t.get(Un);if(e!==n.components[0])return;let r=t.get(Ai),i=t.get(cN);t.get(uN)===1&&r.initialNavigation(),t.get(dN,null,q.Optional)?.setUpPreloading(),t.get(sN,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cN=new I("",{factory:()=>new _e}),uN=new I("",{providedIn:"root",factory:()=>1});var dN=new I("");var Yl=new I("DOMAIN");var Ur=class t{constructor(){this.domain=g(Yl);this.http=g(Cf);this.platformId=g(ge);this.transferState=g(Ha)}getData(e,n,r){if(r){let o=this.transferState.hasKey(r),s=this.transferState.get(r,n);if(o)return A(s)}let i=Eo(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(e.startsWith("http")?e:`${i}/${e}`).pipe(de(o=>{r&&this.transferState.set(r,o)}),tt(()=>(r&&this.transferState.set(r,n),A(n))))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var xi=class t{constructor(){this.http=g(Ur);this.platformId=g(ge)}getAllStars(){return ct(this.platformId)?A(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Gi(),Jc((e,{stargazers_count:n})=>e+n,0))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var Ql=new I("HIGHLIGHT_OPTIONS");var Ni=function(t){return t.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",t.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",t.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",t.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",t.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",t}(Ni||{}),fN=(()=>{class t{constructor(){this.document=g(ae),this.isPlatformBrowser=Eo(g(ge)),this.options=g(Ql,{optional:!0}),this._ready=new De(null),this.ready=Kc(this._ready.asObservable().pipe(Ce(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(Re(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(de(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),ke)),tt(n=>(console.error("[HLJS] ",n),this._ready.error(n),ke))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return gt(()=>Ni.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return gt(()=>Ni.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return gt(()=>Ni.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return gt(()=>Ni.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(Re(n=>this._loadLanguages(n)))}return gt(()=>Ni.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([i,o])=>Wh(o()).pipe(de(s=>n.registerLanguage(i,s))));return Wi(r).pipe(k(()=>n))}loadCoreLibrary(){return Wh(this.options.coreLibraryLoader())}loadFullLibrary(){return Wh(this.options.fullLibraryLoader())}loadLineNumbers(){return oe(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wh=t=>oe(t).pipe(Ce(e=>!!e?.default),k(e=>e.default)),hN=(()=>{class t{constructor(){this.loader=g(fN),this.options=g(Ql,{optional:!0}),this.hljsSignal=qe(null),this.hljs=vn(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let i=await this.loader.ready;i.lineNumbersBlock&&i.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qh;function pN(){if(!qh)try{qh=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return qh}function gN(t){return pN()?.createHTML(t)||t}var _w=(()=>{class t{constructor(){this._hljs=g(hN),this._nativeElement=g(ce).nativeElement,this._sanitizer=g(Rf),this._platform=g(ge),Eo(this._platform)&&(Ft(()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}),Ft(()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}))}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=gN(this._sanitizer.sanitize(xt.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=ye({type:t,standalone:!1})}}return t})(),Cw=(()=>{class t extends _w{constructor(){super(...arguments),this.code=X(null,{alias:"highlight"}),this.highlightResult=qe(null),this.highlighted=new we}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language,ignoreIllegals:this.ignoreIllegals});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})()}static{this.\u0275dir=ye({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){r&2&&Xt("hljs",!0)},inputs:{code:[1,"highlight","code"],language:"language",ignoreIllegals:[2,"ignoreIllegals","ignoreIllegals",yn]},outputs:{highlighted:"highlighted"},features:[Me([{provide:_w,useExisting:t}]),vo,Nt]})}}return t})();var Ew=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Qt({type:t})}static{this.\u0275inj=qt({})}}return t})();var Kl=new I("config"),Zh=new I("NEW_CONFIG"),Yh=new I("INITIAL_CONFIG"),Iw={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var Ri=class t{constructor(){this._config=g(Kl);this._el=g(ce);this._renderer=g(gn);this.ngxLoaderIndicator=X(!1);Ft(()=>{this.processValue(this.ngxLoaderIndicator())})}processValue(e){if(!e){this.loaderEl instanceof HTMLDivElement&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:n,hostStyles:r,loaderStyles:i,imgStyles:o,img:s}=this._config;this.loaderEl=this._renderer.createElement("div");let a=this._renderer.createElement("img");a.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],n),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,a),this._setStyles(this._el.nativeElement,r),this._setStyles(this.loaderEl,i),this._setStyles(a,o),s&&this._renderer.setAttribute(a,"src",s)}_setStyles(e,n){n&&Object.keys(n).forEach(r=>{this._renderer.setStyle(e,r,n[r])})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=ye({type:t,selectors:[["","ngxLoaderIndicator",""]],inputs:{ngxLoaderIndicator:[1,"ngxLoaderIndicator"]}})}};function yN(t,e){let n=e.loaderStyles??null,r=e.imgStyles??null,i=e.rotate??null;return j(D(D({},t),e),{loaderStyles:D(D({},t.loaderStyles),n),imgStyles:D(D({},t.imgStyles),r),rotate:D(D({},t.rotate),i)})}function Qh(t){return[{provide:Zh,useValue:t},{provide:Yh,useValue:Iw},{provide:Kl,useFactory:yN,deps:[Yh,Zh]}]}function Sw(t){return jn(Qh(t))}var Xl=class t{transform(e){return e?"block":"hidden"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"hide",type:t,pure:!0})}};var Xe=class t{transform(e,n="",r=!1){return e?n?`assets/images/${n}/${e}.${r?"webp":"svg"}`:`assets/images/${e}.svg`:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"asset",type:t,pure:!0})}};var Qn=class t{transform(e){return`Navigate to ${e??""}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"anchorLabel",type:t,pure:!0})}};var Oi=class t{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/";this.openSourceVisitBtnPath="open-source/visit-btn"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-visit-btn"]],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"flex","items-center","justify-between","bg-yellow","text-text","flex-row","py-15px","px-[32px]","w-full","h-[45px]","rounded-10px"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(n,r){n&1&&(b(0,"a",0),re(1,"anchorLabel"),f(2,` + `),b(3,"button",1),f(4,` + `),b(5,"span"),f(6,"Visit WebSite"),_(),f(7,` + `),U(8,"img",2),re(9,"asset"),f(10,` + `),_(),f(11,` +`),_(),f(12,` +`)),n&2&&(V("href",r.jsDaddyWebsite,Tr),yt("aria-label",Pt(1,3,"JsDaddy Website")),C(8),V("ngSrc",be(9,5,"button-chevron",r.openSourceVisitBtnPath)))},dependencies:[Xe,Dt,Qn],styles:["[_nghost-%COMP%]{display:block}"]})}};var Kn=class t{constructor(){this.platformId=g(ge);this.document=g(ae)}setOverflowYBodyHtml(e){if(ct(this.platformId))return;let n=this.document.querySelector("body"),r=this.document.querySelector("html");!n||!r||(n.style.overflowY=e?"hidden":"overlay",r.style.overflowY=e?"hidden":"")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var vN=(t,e)=>e.title;function DN(t,e){t&1&&il(0)}function wN(t,e){t&1&&il(0)}function bN(t,e){if(t&1&&(f(0,` + `),b(1,"a",16),re(2,"anchorLabel"),f(3),_(),f(4,` + `)),t&2){let n=e.$implicit,r=Se(2);C(),Ue(r.activeLink()===n.link?"text-yellow bg-dark mob:bg-yellow/[.05]":"mob:text-full-white mob:hover:bg-yellow/[.05] hover:bg-black/[.05]"),V("href",n.link,Tr),yt("aria-label",Pt(2,5,"Github-pages")),C(2),Oe(` + `,n.title,` + `)}}function _N(t,e){if(t&1&&(f(0,` + `),Rt(1,bN,5,7,null,null,vN)),t&2){let n=Se();C(),Ot(n.headerItems)}}var Jl=class t{constructor(){this.activeLink=X();this.showNav=!1;this.headerItems=[{title:"Ngx-Mask",link:"https://jsdaddy.github.io/ngx-mask/"},{title:"Ngx-CopyPaste",link:"https://jsdaddy.github.io/ngx-copypaste/"},{title:"Ngx-Loader-Indicator",link:"https://jsdaddy.github.io/ngx-loader-indicator/"}];this.jsDaddyWebsite="https://jsdaddy.io/";this.bodyStylesService=g(Kn);this.openSourceHeaderPath="open-source/header"}toggleNavBlock(){this.showNav=!this.showNav,this.bodyStylesService.setOverflowYBodyHtml(this.showNav)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-header"]],inputs:{activeLink:[1,"activeLink"]},features:[Me([Kn])],decls:50,vars:30,consts:[["openSourceButtons",""],[1,"fixed","top-0","right-0","left-0","flex","items-center","px-30px","py-15px","bg-full-white","h-[68px]","z-10"],["target","_self",1,"desk:pl-2.5","desk:w-[310px]",3,"href"],["width","34","height","29","alt","Logo JsDaddy",1,"logo",3,"ngSrc"],["aria-hidden","true",1,"desk:hidden","tab:hidden","ml-auto","cursor-pointer",3,"click"],["width","48","height","48","alt","Burger",3,"ngSrc"],[1,"flex","items-center","gap-5px","mob:hidden","tab:ml-30px"],[4,"ngTemplateOutlet"],[1,"fixed","top-0","right-0","left-0","flex","flex-col","bg-black","h-full","z-10"],[1,"flex","items-center","justify-between","h-[68px]","pl-30px","py-15px","border-b","border-b-full-white/[.05]"],["aria-hidden","true","width","34","height","29","alt","Logo JsDaddy",3,"ngSrc"],["aria-hidden","true","width","68","height","67","alt","Close",1,"cursor-pointer",3,"click","ngSrc"],[1,"fixed","block","overflow-auto","z-10","top-[68px]","left-0","right-0","w-full","py-15px","px-5","bg-black"],[1,"text-full-white","text-h5","uppercase","tracking-[.25em]"],[1,"flex","flex-col","mt-10","gap-2.5"],[1,"mt-auto","py-15px","px-5","w-full"],["target","_self",1,"flex","items-center","px-6","py-5px","rounded-10px","cursor-pointer",3,"href"]],template:function(n,r){if(n&1){let i=mn();b(0,"div",1),re(1,"hide"),f(2,` + `),b(3,"a",2),re(4,"anchorLabel"),f(5,` + `),U(6,"img",3),re(7,"asset"),f(8,` + `),_(),f(9,` + `),b(10,"div",4),Ne("click",function(){return Zt(i),Yt(r.toggleNavBlock())}),f(11,` + `),U(12,"img",5),re(13,"asset"),f(14,` + `),_(),f(15,` + `),b(16,"div",6),f(17,` + `),lt(18,DN,1,0,"ng-container",7),f(19,` + `),_(),f(20,` +`),_(),f(21,` + +`),b(22,"div",8),f(23,` + `),b(24,"div",9),f(25,` + `),U(26,"img",10),re(27,"asset"),f(28,` + `),b(29,"img",11),re(30,"asset"),Ne("click",function(){return Zt(i),Yt(r.toggleNavBlock())}),_(),f(31,` + `),_(),f(32,` + `),b(33,"div",12),f(34,` + `),b(35,"h3",13),f(36,"Repositories"),_(),f(37,` + `),b(38,"div",14),f(39,` + `),lt(40,wN,1,0,"ng-container",7),f(41,` + `),_(),f(42,` + `),_(),f(43,` + `),U(44,"jsdaddy-open-source-visit-btn",15),f(45,` +`),_(),f(46,` + +`),lt(47,_N,3,0,"ng-template",null,0,Iv),f(49,` +`)}if(n&2){let i=bv(48);Ue(Pt(1,14,!r.showNav)),C(3),V("href",r.jsDaddyWebsite,Tr),yt("aria-label",Pt(4,16,"JsDaddy corporate site")),C(3),V("ngSrc",be(7,18,"logo",r.openSourceHeaderPath)),C(6),V("ngSrc",be(13,21,"burger",r.openSourceHeaderPath)),C(6),V("ngTemplateOutlet",i),C(4),Ue(r.showNav?"block":"hidden"),C(4),V("ngSrc",be(27,24,"logo-white",r.openSourceHeaderPath)),C(3),V("ngSrc",be(30,27,"close",r.openSourceHeaderPath)),C(4),Ue(r.showNav?"block":"hidden"),C(7),V("ngTemplateOutlet",i)}},dependencies:[Xe,Xl,Oi,Dt,Qn,Bv],encapsulation:2})}};function Xn(t){t||(ho(Xn),t=g(We));let e=new H(n=>t.onDestroy(n.next.bind(n)));return n=>n.pipe(Zi(e))}function is(t,e){let n=!e?.manualCleanup;n&&!e?.injector&&ho(is);let r=n?e?.injector?.get(We)??g(We):null,i=CN(e?.equal),o;e?.requireSync?o=qe({kind:0},{equal:i}):o=qe({kind:1,value:e?.initialValue},{equal:i});let s=t.subscribe({next:a=>o.set({kind:1,value:a}),error:a=>{if(e?.rejectErrors)throw a;o.set({kind:2,error:a})}});if(e?.requireSync&&o().kind===0)throw new v(601,!1);return r?.onDestroy(s.unsubscribe.bind(s)),vn(()=>{let a=o();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new v(601,!1)}},{equal:e?.equal})}function CN(t=Object.is){return(e,n)=>e.kind===1&&n.kind===1&&t(e.value,n.value)}var EN=["accordion"],IN=["accordionBlock"],Tw=(t,e)=>e.id;function SN(t,e){if(t&1){let n=mn();f(0,` + `),b(1,"p",19),Ne("click",function(){let i=Zt(n).$implicit,o=Se(2);return Yt(o.handleClick(i.id,i.scrollTo))}),f(2),_(),f(3,` + `)}if(t&2){let n=e.$implicit,r=Se(2);C(),Ue(r.itemInAccordion()===n.id?"text-yellow":"text-full-white"),C(),Oe(` + `,n.content,` + `)}}function MN(t,e){if(t&1){let n=mn();f(0,` + `),b(1,"div",10,1),f(3,` + `),b(4,"div",11),Ne("click",function(i){let o=Zt(n),s=o.$implicit,a=o.$index,l=Se();return l.toggle(a),l.switchAccordion(s.id),Yt(i.stopPropagation())}),f(5,` + `),b(6,"div",12),f(7,` + `),U(8,"img",13),re(9,"asset"),f(10,` + `),U(11,"img",14),re(12,"asset"),f(13,` + `),b(14,"span",15),f(15),_(),f(16,` + `),_(),f(17,` + + `),U(18,"img",16),re(19,"asset"),f(20,` + `),U(21,"img",17),re(22,"asset"),f(23,` + `),_(),f(24,` + `),b(25,"div",18),f(26,` + `),Rt(27,SN,4,3,null,null,Tw),_(),f(29,` + `),_(),f(30,` + `)}if(t&2){let n=e.$implicit,r=Se();C(8),V("ngSrc",be(9,5,n.defaultSvg,r.openSourceAccordionPath)),C(3),V("ngSrc",be(12,8,n.activeSvg,r.openSourceAccordionPath)),C(4),Oe(` + `,n.header,` + `),C(3),V("ngSrc",be(19,11,n.whiteChevron,r.openSourceAccordionPath)),C(3),V("ngSrc",be(22,14,n.yellowChevron,r.openSourceAccordionPath)),C(6),Ot(n.text)}}var ec=class t{constructor(){this.lists=X();this.switchCardIndex=Ua();this.accordion=nl("accordion",{read:ce});this.accordionBlockElement=av("accordionBlock",{read:ce});this.showAccordion=qe(!1);this.itemInAccordion=qe(1);this.openSourceAccordionPath="open-source/accordion";this.bodyStylesService=g(Kn);this.activatedRoute=g(Zn);this.router=g(Ai);this.platformId=g(ge);this.document=g(ae);this.destroyRef=g(We)}ngAfterViewInit(){cr(window,"click").pipe(Ce(e=>this.showAccordion()&&e.target!==this.accordionBlockElement()?.nativeElement),Xn(this.destroyRef)).subscribe(()=>{this.showAccordionBlock()}),this.openFirstAccordion(),this.activatedRoute.fragment.pipe(Ce(Boolean),Xn(this.destroyRef)).subscribe(e=>{this.itemInAccordion.set(Number(e))})}showAccordionBlock(){this.showAccordion.set(!this.showAccordion()),this.bodyStylesService.setOverflowYBodyHtml(this.showAccordion())}switchAccordion(e){this.switchCardIndex.emit(e)}handleClick(e,n){this.showAccordion()&&this.showAccordionBlock(),this.anchorScroll(e,n)}anchorScroll(e,n){if(ct(this.platformId)||(this.itemInAccordion.set(e),this.router.navigate(["/"],{fragment:e.toString()}),!n))return;let r=this.document.getElementById(n);r&&r.scrollIntoView({behavior:"smooth",block:"start"})}toggle(e){this.accordion().forEach((n,r)=>{e!==r?n.nativeElement.classList.remove("active"):n.nativeElement.classList.toggle("active")})}openFirstAccordion(){this.accordion()[0]?.nativeElement.classList.toggle("active")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-accordion"]],viewQuery:function(n,r){n&1&&(bo(r.accordion,EN,5,ce),bo(r.accordionBlockElement,IN,5,ce)),n&2&&ol(2)},inputs:{lists:[1,"lists"]},outputs:{switchCardIndex:"switchCardIndex"},features:[Me([Kn])],decls:27,vars:7,consts:[["accordionBlock",""],["accordion",""],["aria-hidden","true",1,"flex","justify-between","items-center","bg-black","cursor-pointer","desk:hidden","h-[55px]","w-full","fixed","top-[68px]","px-5",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","18","height","18","viewBox","0 0 18 18","fill","none"],["x","18","width","18","height","18","rx","9","transform","rotate(90 18 0)"],["d","M13.5 7.27875L12.4425 6.22125L9 9.65625L5.5575 6.22125L4.5 7.27875L9 11.7788L13.5 7.27875Z","fill","currentColor"],[1,"tracking-[.25em]","uppercase"],[1,"flex","flex-col","fixed","z-20","h-full","overflow-auto","bg-black","pt-[22px]","w-[310px]","top-[68px]","tab:w-[375px]","tab:top-[122px]","mob:w-full","p-5"],[1,"bg-black","flex","flex-col","gap-5","relative","h-full"],[1,"fixed","bottom-5","w-[270px]","mob:hidden","tab:hidden"],[1,"non-active","w-full","bg-black","text-white","cursor-pointer","border-t","border-b","border-yellow","rounded-10px","p-2.5"],["aria-hidden","true",1,"flex","items-center","justify-between","bg-black","text-white",3,"click"],[1,"flex","items-center","bg-light-grey-accordion","gap-15px"],["width","32","height","32","alt","Accordion white",1,"default-svg",3,"ngSrc"],["width","32","height","32","alt","Accordion yellow",1,"active-svg",3,"ngSrc"],[1,"accordion-title","text-full-white"],["width","12","height","12","alt","Chevron white",1,"chevron-default",3,"ngSrc"],["width","12","height","12","alt","Chevron yellow",1,"chevron-active",3,"ngSrc"],[1,"panel","flex-col","text-full-white","text-text","bg-black","pl-[45px]"],["aria-hidden","true",1,"text-text","cursor-pointer","px-2","py-2",3,"click"]],template:function(n,r){if(n&1){let i=mn();b(0,"div",2),Ne("click",function(s){return Zt(i),r.showAccordionBlock(),Yt(s.stopPropagation())}),f(1,` + `),xm(),b(2,"svg",3),f(3,` + `),U(4,"rect",4),f(5,` + `),U(6,"path",5),f(7,` + `),_(),f(8,` + `),Nm(),b(9,"span",6),f(10,"Navigation"),_(),f(11,` +`),_(),f(12,` + +`),b(13,"div",7,0),f(15,` + `),b(16,"div",8),f(17,` + `),Rt(18,MN,31,17,null,null,Tw),b(20,"div",9),f(21,` + `),U(22,"jsdaddy-open-source-visit-btn"),f(23,` + `),_(),f(24,` + `),_(),f(25,` +`),_(),f(26,` +`)}n&2&&(C(2),Ue(r.showAccordion()?"rotate-180":""),C(2),yt("fill",r.showAccordion()?"#FFD64D":"white"),C(5),Ue(r.showAccordion()?"text-yellow":"text-full-white"),C(4),Ue(r.showAccordion()?"tab:block mob:block":"tab:hidden mob:hidden"),C(5),Ot(r.lists()))},dependencies:[Xe,Oi,Dt],styles:[".non-active[_ngcontent-%COMP%] .accordion-title[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.non-active[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%]{display:none}.non-active[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:block}.non-active[_ngcontent-%COMP%]:hover .chevron-default[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%]:hover .default-svg[_ngcontent-%COMP%]{display:none}.non-active[_ngcontent-%COMP%]:hover .chevron-active[_ngcontent-%COMP%], .non-active[_ngcontent-%COMP%]:hover .active-svg[_ngcontent-%COMP%]{display:block}.active[_ngcontent-%COMP%] .chevron-default[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .default-svg[_ngcontent-%COMP%]{display:none}.active[_ngcontent-%COMP%] .chevron-active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .active-svg[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{display:block}.active[_ngcontent-%COMP%] .accordion-title[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 214 77 / var(--tw-text-opacity, 1))}"]})}};var TN=["chip",""],tc=class t{constructor(){this.chip=X.required();this.chipBgColor=X("rgba(0,0,0,0.05)");this.isActive=X(!1);this.pointer=X(!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-chip","chip",""]],inputs:{chip:[1,"chip"],chipBgColor:[1,"chipBgColor"],isActive:[1,"isActive"],pointer:[1,"pointer"]},attrs:TN,decls:3,vars:7,template:function(n,r){n&1&&(b(0,"div"),f(1),_(),f(2,` +`)),n&2&&(Ue(r.isActive()?"is-active":""),Do("background",r.chipBgColor())("cursor",r.pointer()?"pointer":""),C(),Oe(` + `,r.chip(),` +`))},styles:["div[_ngcontent-%COMP%]{width:max-content;padding:5px 15px;border-radius:25px}div.is-active[_ngcontent-%COMP%]{background:#ffd64d!important}"]})}};var AN=["title",""],nc=class t{constructor(){this.title=X.required();this.assetPathShared="shared";this.jsdaddyGithub="https://github.com/JsDaddy/";this.countOfStarsOnGithub=is(g(xi).getAllStars())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-github-buttons","title",""]],inputs:{title:[1,"title"]},attrs:AN,decls:16,vars:10,consts:[["target","_blank",1,"github-info","pointer",3,"href"],[1,"all-stars","span"],["width","16","height","16","alt","Github",3,"ngSrc"],[1,"stars-count","span"]],template:function(n,r){n&1&&(b(0,"a",0),f(1,` + `),b(2,"div",1),f(3,` + `),U(4,"img",2),re(5,"asset"),f(6,` + `),b(7,"span"),re(8,"anchorLabel"),f(9),_(),f(10,` + `),_(),f(11,` + `),b(12,"div",3),f(13),_(),f(14,` +`),_(),f(15,` +`)),n&2&&(V("href",r.jsdaddyGithub,Tr),C(4),V("ngSrc",be(5,5,"github",r.assetPathShared)),C(3),yt("aria-label",Pt(8,8,"Github")),C(2),Oe(" ",r.title()," "),C(4),_o(r.countOfStarsOnGithub()||0))},dependencies:[Xe,Dt,Qn],styles:['.github-info[_ngcontent-%COMP%]{display:flex;margin:0 44px 0 20px}.github-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;align-items:center;padding:3px 10px;background-color:#191919;border:1px solid #191919;border-radius:4px;font-size:12px;color:#fff}.github-info[_ngcontent-%COMP%] div.all-stars[_ngcontent-%COMP%]{margin-right:7px;position:relative}.github-info[_ngcontent-%COMP%] div.all-stars[_ngcontent-%COMP%]:after{content:"";width:8px;height:8px;background-color:#191919;transform:rotate(45deg) translateY(-50%);position:absolute;top:50%;right:-1px}.github-info[_ngcontent-%COMP%] div.all-stars[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:10px}@media only screen and (max-width: 699px){.github-info[_ngcontent-%COMP%]{margin-right:30px}}']})}};function xN(t,e){if(t&1&&(f(0,` + `),U(1,"jsdaddy-chip",7),f(2,` + `)),t&2){let n=e.$implicit;C(),V("chip",n)}}var rc=class t{constructor(){this.title=X();this.subtitle=X();this.chips=X()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-sub-header"]],inputs:{title:[1,"title"],subtitle:[1,"subtitle"],chips:[1,"chips"]},decls:22,vars:2,consts:[[1,"flex","flex-col","text-full-white","pl-30px","py-5","pr-5","mob:pt-35px","mob:px-5","mob:pb-5"],[1,"git-text","title","flex","justify-between","text-title","text-black","mob:flex-col-reverse","mob:justify-normal","mob:gap-30px"],[1,"text-h3","pb-2.5"],[1,"flex","mob:relative","mob:-left-5"],["title","GitHub Stars"],[1,"pb-2.5","text-span","text-black"],[1,"flex","flex-wrap","gap-2.5","text-orange"],["chipBgColor","rgba(255, 113, 10, 0.05)",3,"chip"]],template:function(n,r){n&1&&(b(0,"div",0),f(1,` + `),b(2,"div",1),f(3,` + `),b(4,"h3",2),f(5),_(),f(6,` + `),b(7,"div",3),f(8,` + `),U(9,"jsdaddy-github-buttons",4),f(10,` + `),_(),f(11,` + `),_(),f(12,` + `),b(13,"span",5),f(14),_(),f(15,` + `),b(16,"div",6),f(17,` + `),Rt(18,xN,3,1,null,null,rl),_(),f(20,` +`),_(),f(21,` +`)),n&2&&(C(5),_o(r.title()),C(9),Oe(` + `,r.subtitle(),` + `),C(4),Ot(r.chips()))},dependencies:[tc,nc],encapsulation:2})}};var ic=new I("VersionToken");var oc=class t{constructor(){this.copyrightText=`\xA9 JSdaddy, 2016-${new Date().getFullYear()}, All Rights Reserved`;this.versionValue=g(ic,{optional:!0});this.version=`v${this.versionValue??"*.*.*"}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-footer"]],decls:6,vars:2,consts:[[1,"flex","justify-center","items-end","desk:h-[calc(100dvh-600px)]","tab:h-[calc(100dvh","-","65vh)]","mob:h-[150px]"],[1,"pb-10","text-black/[.45]"]],template:function(n,r){n&1&&(b(0,"div",0),f(1,` + `),b(2,"span",1),f(3),_(),f(4,` +`),_(),f(5,` +`)),n&2&&(C(3),ff(" ",r.copyrightText," ",r.version," "))},encapsulation:2})}};var Aw=[{header:"Configuration",id:1,defaultSvg:"options",activeSvg:"options-active",whiteChevron:"white-chevron-down",yellowChevron:"yellow-chevron-down",text:[{content:"Authentication process",id:1,scrollTo:"authentication"},{content:"Loader",id:2,scrollTo:"loader"}]}];var xw=[{header:"Authentication process with default configuration",code:`
+ ..... +
`,id:1,anchor:"authentication",cardType:!0},{header:"Loader with custom configuration",code:`
+ ... +
`,customCodeProvider:`@Component({ +.... +providers: [ + { + provide: config, + useValue: { + img: 'https://avatars2.githubusercontent.com/u/32452610?s=200&v=4', + loaderStyles: { + background: 'rgba(255, 255, 255, 0.8)', + }, + imgStyles: { + width: '100px', + background: 'yellow', + }, + rotate: { + duration: 5000, + }, + }, + }, + ], +}) `,id:2,anchor:"loader",cardType:!1}];var os=class t{constructor(){this.activeCardId$$=new De(1);this.router=g(Ai);this.minusTopHeight=300;this.minusTopMobileHeight=150;this.document=g(ae);this.platformId=g(ge);this.destroyRef=g(We);this.activeCard$=this.activeCardId$$.asObservable()}onScroll(e){cr(document,"scroll").pipe(eu(100),Xn(this.destroyRef)).subscribe(()=>{let n=e.find(r=>this.isInViewport(r.nativeElement))?.nativeElement.id;this.activeCardId$$.value!==Number(n)&&n&&(this.activeCardId$$.next(Number(n)),this.router.navigate(["/"],{fragment:n}))})}isInViewport(e){if(ct(this.platformId))return!1;let n=this.document.body.offsetHeight,r=e.offsetTop-this.minusTopHeight,i=r+e.offsetHeight,o=this.document.documentElement.scrollTop,s=o+this.document.documentElement.clientHeight;return n<450&&(r=e.offsetTop-this.minusTopMobileHeight),i>o&&r{class t{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||t)(ne(gn),ne(ce))};static \u0275dir=ye({type:t})}return t})(),NN=(()=>{class t extends Lw{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275dir=ye({type:t,features:[Nt]})}return t})(),us=new I("");var RN={provide:us,useExisting:Er(()=>yc),multi:!0};function ON(){let t=Dn()?Dn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var PN=new I(""),yc=(()=>{class t extends Lw{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!ON())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||t)(ne(gn),ne(ce),ne(PN,8))};static \u0275dir=ye({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Ne("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[Me([RN]),Nt]})}return t})();function Jn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Vw(t){return t!=null&&typeof t.length=="number"}var ip=new I(""),op=new I(""),FN=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ki=class{static min(e){return kN(e)}static max(e){return LN(e)}static required(e){return VN(e)}static requiredTrue(e){return jN(e)}static email(e){return BN(e)}static minLength(e){return UN(e)}static maxLength(e){return $N(e)}static pattern(e){return HN(e)}static nullValidator(e){return jw(e)}static compose(e){return Gw(e)}static composeAsync(e){return qw(e)}};function kN(t){return e=>{if(Jn(e.value)||Jn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Jn(e.value)||Jn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function VN(t){return Jn(t.value)?{required:!0}:null}function jN(t){return t.value===!0?null:{required:!0}}function BN(t){return Jn(t.value)||FN.test(t.value)?null:{email:!0}}function UN(t){return e=>Jn(e.value)||!Vw(e.value)?null:e.value.lengthVw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function HN(t){if(!t)return jw;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Jn(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function jw(t){return null}function Bw(t){return t!=null}function Uw(t){return Ar(t)?oe(t):t}function $w(t){let e={};return t.forEach(n=>{e=n!=null?D(D({},e),n):e}),Object.keys(e).length===0?null:e}function Hw(t,e){return e.map(n=>n(t))}function zN(t){return!t.validate}function zw(t){return t.map(e=>zN(e)?e:n=>e.validate(n))}function Gw(t){if(!t)return null;let e=t.filter(Bw);return e.length==0?null:function(n){return $w(Hw(n,e))}}function Ww(t){return t!=null?Gw(zw(t)):null}function qw(t){if(!t)return null;let e=t.filter(Bw);return e.length==0?null:function(n){let r=Hw(n,e).map(Uw);return Wi(r).pipe(k($w))}}function Zw(t){return t!=null?qw(zw(t)):null}function Nw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Yw(t){return t._rawValidators}function Qw(t){return t._rawAsyncValidators}function Xh(t){return t?Array.isArray(t)?t:[t]:[]}function cc(t,e){return Array.isArray(t)?t.includes(e):t===e}function Rw(t,e){let n=Xh(e);return Xh(t).forEach(i=>{cc(n,i)||n.push(i)}),n}function Ow(t,e){return Xh(e).filter(n=>!cc(t,n))}var uc=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Ww(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Zw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Li=class extends uc{name;get formDirective(){return null}get path(){return null}},$r=class extends uc{_parent=null;name=null;valueAccessor=null},dc=class{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},GN={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},qU=j(D({},GN),{"[class.ng-submitted]":"isSubmitted"}),vc=(()=>{class t extends dc{constructor(n){super(n)}static \u0275fac=function(r){return new(r||t)(ne($r,2))};static \u0275dir=ye({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Xt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Nt]})}return t})(),Kw=(()=>{class t extends dc{constructor(n){super(n)}static \u0275fac=function(r){return new(r||t)(ne(Li,10))};static \u0275dir=ye({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&Xt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[Nt]})}return t})();var ss="VALID",ac="INVALID",Pi="PENDING",as="DISABLED",er=class{},fc=class extends er{value;source;constructor(e,n){super(),this.value=e,this.source=n}},ls=class extends er{pristine;source;constructor(e,n){super(),this.pristine=e,this.source=n}},cs=class extends er{touched;source;constructor(e,n){super(),this.touched=e,this.source=n}},Fi=class extends er{status;source;constructor(e,n){super(),this.status=e,this.source=n}},Jh=class extends er{source;constructor(e){super(),this.source=e}},ep=class extends er{source;constructor(e){super(),this.source=e}};function sp(t){return(Dc(t)?t.validators:t)||null}function WN(t){return Array.isArray(t)?Ww(t):t||null}function ap(t,e){return(Dc(e)?e.asyncValidators:t)||null}function qN(t){return Array.isArray(t)?Zw(t):t||null}function Dc(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Xw(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new v(1e3,"");if(!r[n])throw new v(1001,"")}function Jw(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new v(1002,"")})}var Vi=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,n){this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Jt(this.statusReactive)}set status(e){Jt(()=>this.statusReactive.set(e))}_status=vn(()=>this.statusReactive());statusReactive=qe(void 0);get valid(){return this.status===ss}get invalid(){return this.status===ac}get pending(){return this.status==Pi}get disabled(){return this.status===as}get enabled(){return this.status!==as}errors;get pristine(){return Jt(this.pristineReactive)}set pristine(e){Jt(()=>this.pristineReactive.set(e))}_pristine=vn(()=>this.pristineReactive());pristineReactive=qe(!0);get dirty(){return!this.pristine}get touched(){return Jt(this.touchedReactive)}set touched(e){Jt(()=>this.touchedReactive.set(e))}_touched=vn(()=>this.touchedReactive());touchedReactive=qe(!1);get untouched(){return!this.touched}_events=new _e;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Rw(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Rw(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ow(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ow(e,this._rawAsyncValidators))}hasValidator(e){return cc(this._rawValidators,e)}hasAsyncValidator(e){return cc(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(j(D({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new cs(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&e.emitEvent!==!1&&this._events.next(new cs(!1,r))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(j(D({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new ls(!1,r))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&e.emitEvent!==!1&&this._events.next(new ls(!0,r))}markAsPending(e={}){this.status=Pi;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Fi(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(j(D({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=as,this.errors=null,this._forEachChild(i=>{i.disable(j(D({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new fc(this.value,r)),this._events.next(new Fi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(j(D({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ss,this._forEachChild(r=>{r.enable(j(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(j(D({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ss||this.status===Pi)&&this._runAsyncValidator(r,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new fc(this.value,n)),this._events.next(new Fi(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(j(D({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?as:ss}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=Pi,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Uw(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Fi(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new we,this.statusChanges=new we}_calculateStatus(){return this._allControlsDisabled()?as:this.errors?ac:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pi)?Pi:this._anyControlsHaveStatus(ac)?ac:ss}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),i&&this._events.next(new ls(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new cs(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Dc(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=WN(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=qN(this._rawAsyncValidators)}},hc=class extends Vi{constructor(e,n,r){super(sp(n),ap(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Jw(this,!0,e),Object.keys(e).forEach(r=>{Xw(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var tp=class extends hc{};var lp=new I("CallSetDisabledState",{providedIn:"root",factory:()=>cp}),cp="always";function ZN(t,e){return[...e.path,t]}function np(t,e,n=cp){up(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),QN(t,e),XN(t,e),KN(t,e),YN(t,e)}function pc(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),mc(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function gc(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function YN(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function up(t,e){let n=Yw(t);e.validator!==null?t.setValidators(Nw(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=Qw(t);e.asyncValidator!==null?t.setAsyncValidators(Nw(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();gc(e._rawValidators,i),gc(e._rawAsyncValidators,i)}function mc(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=Yw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Qw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return gc(e._rawValidators,r),gc(e._rawAsyncValidators,r),n}function QN(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&eb(t,e)})}function KN(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&eb(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function eb(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function XN(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function JN(t,e){t==null,up(t,e)}function eR(t,e){return mc(t,e)}function tb(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function tR(t){return Object.getPrototypeOf(t.constructor)===NN}function nR(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function nb(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===yc?n=o:tR(o)?r=o:i=o}),i||r||n||null}function rR(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Pw(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Fw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var lc=class extends Vi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,n,r){super(sp(n),ap(r,n)),this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Dc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Fw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Pw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Pw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Fw(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var iR=t=>t instanceof lc;var rb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var dp=new I(""),oR={provide:$r,useExisting:Er(()=>fp)},fp=(()=>{class t extends $r{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(n){}model;update=new we;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=nb(this,i)}ngOnChanges(n){if(this._isControlChanged(n)){let r=n.form.previousValue;r&&pc(r,this,!1),np(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}tb(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(ne(ip,10),ne(op,10),ne(us,10),ne(dp,8),ne(lp,8))};static \u0275dir=ye({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Me([oR]),Nt,dn]})}return t})(),sR={provide:Li,useExisting:Er(()=>hp)},hp=(()=>{class t extends Li{callSetDisabledState;get submitted(){return Jt(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=vn(()=>this._submittedReactive());_submittedReactive=qe(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new we;constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(mc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return np(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){pc(n.control||null,n,!1),rR(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),nR(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new Jh(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new ep(this.form))}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,i=this.form.get(n.path);r!==i&&(pc(r||null,n),iR(i)&&(np(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);JN(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&eR(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){up(this.form,this),this._oldForm&&mc(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(ne(ip,10),ne(op,10),ne(lp,8))};static \u0275dir=ye({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Ne("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Me([sR]),Nt,dn]})}return t})();var aR={provide:$r,useExisting:Er(()=>pp)},pp=(()=>{class t extends $r{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(n){}model;update=new we;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=nb(this,o)}ngOnChanges(n){this._added||this._setUpControl(),tb(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return ZN(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(ne(Li,13),ne(ip,10),ne(op,10),ne(us,10),ne(dp,8))};static \u0275dir=ye({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Me([aR]),Nt,dn]})}return t})();var lR=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Qt({type:t});static \u0275inj=qt({})}return t})(),rp=class extends Vi{constructor(e,n,r){super(sp(n),ap(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){Jw(this,!1,e),e.forEach((r,i)=>{Xw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function kw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var wc=(()=>{class t{useNonNullable=!1;get nonNullable(){let n=new t;return n.useNonNullable=!0,n}group(n,r=null){let i=this._reduceControls(n),o={};return kw(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new hc(i,o)}record(n,r=null){let i=this._reduceControls(n);return new tp(i,r)}control(n,r,i){let o={};return this.useNonNullable?(kw(r)?o=r:(o.validators=r,o.asyncValidators=i),new lc(n,j(D({},o),{nonNullable:!0}))):new lc(n,r,i)}array(n,r,i){let o=n.map(s=>this._createControl(s));return new rp(o,r,i)}_reduceControls(n){let r={};return Object.keys(n).forEach(i=>{r[i]=this._createControl(n[i])}),r}_createControl(n){if(n instanceof lc)return n;if(n instanceof Vi)return n;if(Array.isArray(n)){let r=n[0],i=n.length>1?n[1]:null,o=n.length>2?n[2]:null;return this.control(r,i,o)}else return this.control(n)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var bc=(()=>{class t{static withConfig(n){return{ngModule:t,providers:[{provide:dp,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:lp,useValue:n.callSetDisabledState??cp}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Qt({type:t});static \u0275inj=qt({imports:[lR]})}return t})();var _c=class t{transform(e,n){if(!e)return"";if(e.dirty||e.touched){let r=e.errors;if(n&&r)return"not-valid";if(n&&!r&&(e.dirty||e.touched))return"valid";if(r?.required)return"Required";if(r?.email)return"Wrong E-mail";if(r?.minlength)return"Wrong length"}return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"input",type:t,pure:!1})}};var Cc=class t{constructor(){this.jsdaddyAutofocus=X();this.elRef=g(ce);Ft(()=>{this.jsdaddyAutofocus()&&this.elRef.nativeElement.focus()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=ye({type:t,selectors:[["","jsdaddyAutofocus",""]],inputs:{jsdaddyAutofocus:[1,"jsdaddyAutofocus"]}})}};var cR=["placeholder",""];function uR(t,e){if(t&1){let n=mn();f(0,` + `),b(1,"input",2),Ne("keyup.enter",function(){Zt(n);let i=Se();return Yt(i.onLabelClick())}),_(),f(2,` + `)}if(t&2){let n=Se();C(),Xt("dark",n.isDark()),wo("id",n.uniqueId),V("formControl",n.control)("jsdaddyAutofocus",n.autoFocus())("placeholder",n.placeholder())}}function dR(t,e){if(t&1){let n=mn();f(0,` + `),b(1,"textarea",3),Ne("keyup.enter",function(){Zt(n);let i=Se();return Yt(i.onLabelClick())}),_(),f(2,` + `)}if(t&2){let n=Se();C(),Xt("dark",n.isDark()),wo("id",n.uniqueId),V("formControl",n.control)("jsdaddyAutofocus",n.autoFocus())("placeholder",n.placeholder())}}function fR(t,e){t&1&&f(0),t&2&&Oe(` + `,e,` + `)}function hR(t,e){if(t&1&&(f(0,` + `),U(1,"img",4),re(2,"asset"),f(3,` + `)),t&2){let n=Se(2);C(),V("ngSrc",be(2,1,"done-yellow",n.additionalPath))}}function pR(t,e){if(t&1&&(f(0,` + `),lt(1,hR,4,4)),t&2){let n=Se();C(),$n(n.control.touched?1:-1)}}var Ec=class t{constructor(){this.placeholder=X.required();this.label=X(null);this.isTextarea=X(!1);this.validators=X([]);this.isDark=X(!1);this.autoFocus=X(!0);this.labelClick=Ua();this.fb=g(wc);this.additionalPath="shared";this.control=this.fb.control(null);this.cdr=g(vt);this.destroyRef=g(We);this.uniqueId=crypto.randomUUID();this.onChange=()=>{};this.onTouched=()=>{}}ngOnInit(){this.control.valueChanges.pipe(Xn(this.destroyRef)).subscribe(e=>{this.onChange(e),this.cdr.detectChanges()})}writeValue(e){e===null&&this.control.reset(),this.control.setValidators(this.validators()),this.control.setValue(e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onLabelClick(){this.control.invalid||this.labelClick.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-input","placeholder",""]],inputs:{placeholder:[1,"placeholder"],label:[1,"label"],isTextarea:[1,"isTextarea"],validators:[1,"validators"],isDark:[1,"isDark"],autoFocus:[1,"autoFocus"]},outputs:{labelClick:"labelClick"},features:[Me([{provide:us,useExisting:t,multi:!0}])],attrs:cR,decls:13,vars:14,consts:[[1,"input-wrapper"],["aria-hidden","true",3,"click","for"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","jsdaddyAutofocus","id","placeholder"],["type","text","name","input",1,"span",3,"keyup.enter","formControl","id","jsdaddyAutofocus","placeholder"],["alt","Done","width","15","height","11",3,"ngSrc"]],template:function(n,r){if(n&1&&(b(0,"div",0),re(1,"input"),f(2,` + `),lt(3,uR,3,6)(4,dR,3,6),b(5,"label",1),Ne("click",function(){return r.onLabelClick()}),f(6,` + `),lt(7,fR,1,1),re(8,"input"),re(9,"uppercase"),lt(10,pR,2,1),_(),f(11,` +`),_(),f(12,` +`)),n&2){let i;Ue(be(1,7,r.control,!0)),Xt("dark",r.isDark()),C(3),$n(r.isTextarea()?4:3),C(2),wo("for",r.uniqueId),C(2),$n((i=Pt(8,10,r.control)||Pt(9,12,r.label()))?7:10,i)}},dependencies:[bc,yc,vc,fp,Uv,Xe,_c,Cc,Dt],styles:[".input-wrapper[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;display:inline-flex;align-items:center;border-bottom:2px solid #fff;border-radius:10px}.input-wrapper.dark[_ngcontent-%COMP%]{border-color:#191919}.input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:157px;resize:none}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{box-sizing:border-box;width:67%;padding:14px 15px;outline:none;border:none;color:#fff;font-family:Varela,sans-serif;font-weight:400;font-size:14px;line-height:21px;background-color:transparent}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#fff!important;caret-color:#fff}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%], .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]{color:#191919}.input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:-webkit-autofill:active, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:hover, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:focus, .input-wrapper[_ngcontent-%COMP%] textarea.dark[_ngcontent-%COMP%]:-webkit-autofill:active{transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#191919!important;caret-color:#191919}.input-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0 16px 0 auto;cursor:pointer;font-weight:300;font-size:12px;line-height:13px}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder, .input-wrapper[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ffffff40}.input-wrapper[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]::placeholder{color:#191919;opacity:.25}.input-wrapper.not-valid[_ngcontent-%COMP%]{color:#e35353;border-bottom:2px solid #e35353}.input-wrapper.valid[_ngcontent-%COMP%]{border-bottom:2px solid #ffd64d}"],changeDetection:0})}};function gR(t,e){if(t&1&&(f(0,` + `),U(1,"jsdaddy-input",3),f(2,` + `)),t&2){let n=e.$implicit;C(),V("autoFocus",!1)("formControlName",n.formControlName)("placeholder",n.placeholder)("validators",n.validators)}}var Ic=class t{constructor(){this.isLoading=!1;this.loginValidators=[ki.required];this.passwordValidators=[ki.required,ki.minLength(5)];this.cdr=g(vt);this.fb=g(wc);this.form=this.fb.group({login:[null,this.loginValidators],password:[null,this.passwordValidators]});this.formItems=[{formControlName:"login",validators:this.loginValidators,placeholder:"Login"},{formControlName:"password",validators:this.passwordValidators,placeholder:"Password"}]}login(){this.isLoading=!0,A({}).pipe(nu(3e3)).subscribe(()=>{this.form.reset(),this.isLoading=!1,this.cdr.detectChanges()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-form"]],decls:11,vars:3,consts:[[1,"flex","flex-col","gap-30px",3,"ngSubmit","formGroup","ngxLoaderIndicator"],[1,"flex","flex-col","gap-25px"],[1,"flex","items-center","text-span","cursor-pointer","bg-full-white","text-black","w-fit","rounded-4px","py-5px","px-6","auth-btn","disabled:cursor-not-allowed",3,"disabled"],[3,"autoFocus","formControlName","placeholder","validators"]],template:function(n,r){n&1&&(b(0,"form",0),Ne("ngSubmit",function(){return r.login()}),f(1,` + `),b(2,"div",1),f(3,` + `),Rt(4,gR,3,4,null,null,rl),_(),f(6,` + `),b(7,"button",2),f(8,` + Login + `),_(),f(9,` +`),_(),f(10,` +`)),n&2&&(V("formGroup",r.form)("ngxLoaderIndicator",r.isLoading),C(4),Ot(r.formItems),C(3),V("disabled",r.form.invalid))},dependencies:[bc,rb,vc,Kw,hp,pp,Ri,Ec],encapsulation:2,changeDetection:0})}};var mR=["cards"],yR=(t,e)=>e.id;function vR(t,e){if(t&1&&(f(0,` + `),b(1,"pre",10),f(2," "),U(3,"code",15),f(4,` + `),U(5,"img",12),re(6,"asset"),f(7,` + `),_(),f(8,` + `)),t&2){let n=Se().$implicit,r=Se();C(3),V("highlight",n.customCodeProvider),C(2),V("ngSrc",be(6,2,"input-vector",r.openSourceCardsPath))}}function DR(t,e){t&1&&(f(0,` + `),U(1,"jsdaddy-open-source-form"),f(2,` + `))}function wR(t,e){t&1&&(f(0,` + `),U(1,"jsdaddy-open-source-loader-indicator-custom-loader"),f(2,` + `))}function bR(t,e){if(t&1&&(f(0,` + `),b(1,"div",1,0),f(3,` + `),b(4,"div",2),f(5),_(),f(6,` + `),b(7,"div",3),f(8,` + `),b(9,"div",4),f(10,` + `),b(11,"div",5),f(12,` + `),U(13,"img",6),re(14,"asset"),f(15,` + `),b(16,"span",7),f(17,"Usage"),_(),f(18,` + `),_(),f(19,` + `),b(20,"span",8),f(21,"Source code"),_(),f(22,` + `),b(23,"div",9),f(24,` + `),lt(25,vR,9,5),b(26,"pre",10),f(27," "),U(28,"code",11),f(29,` + `),U(30,"img",12),re(31,"asset"),f(32,` + `),_(),f(33,` + `),_(),f(34,` + `),_(),f(35,` + `),b(36,"div",13),f(37,` + `),b(38,"div",14),f(39,` + `),lt(40,DR,3,0)(41,wR,3,0),_(),f(42,` + `),_(),f(43,` + `),_(),f(44,` + `),_(),f(45,` +`)),t&2){let n=e.$implicit,r=Se();C(),Ue(r.activeCardId()===n.id?"border border-solid border-yellow bg-yellow/[.05]":""),C(4),Oe(` + `,n.header,` + `),C(2),V("id",n.anchor),C(6),V("ngSrc",be(14,10,"hand-box",r.openSourceCardsPath)),C(12),$n(n.customCodeProvider?25:-1),C(3),V("highlight",n.code),C(2),V("ngSrc",be(31,13,"input-vector",r.openSourceCardsPath)),C(10),$n(n.cardType?40:-1),C(),$n(n.cardType?-1:41)}}var Sc=class t{constructor(){this.cardDocs=X();this.cards=nl("cards",{read:ce});this.openSourceCardsPath="open-source/cards";this.scrollService=g(os);this.activeCardId=is(this.scrollService.activeCard$);Ft(()=>{this.scrollService.onScroll(this.cards())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(n,r){n&1&&bo(r.cards,mR,5,ce),n&2&&ol()},inputs:{cardDocs:[1,"cardDocs"]},features:[Me([os])],decls:2,vars:0,consts:[["cards",""],[1,"flex","flex-col","p-2.5","gap-2.5","bg-dark/[.02]","rounded-15px"],[1,"ml-4","flex","items-center","text-title","text-dark","uppercase","tracking-[.25em]"],[1,"flex","justify-between","gap-30px","mob:flex-col","mob:gap-15px","scroll-mt-[185px]",3,"id"],[1,"flex-[55%]","rounded-10px","bg-full-white","p-15px"],[1,"flex","items-start","gap-2.5","mb-5"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"text-span","text-dark/[.25]"],[1,"uppercase","tracking-[.25em]","text-span","text-dark/[.45]"],[1,"flex","flex-col","mt-2.5","gap-2.5"],[1,"flex","text-span"],["type","text","language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-line",3,"highlight"],["height","18","width","13","alt","Input vector",1,"relative","right-5","self-center",3,"ngSrc"],[1,"flex-[45%]","rounded-10px","p-15px","bg-dark"],[1,"flex","flex-col","gap-30px"],["language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-wrap",3,"highlight"]],template:function(n,r){n&1&&Rt(0,bR,46,16,null,null,yR),n&2&&Ot(r.cardDocs())},dependencies:[Dt,Ew,Cw,Xe,sc,Ic],styles:["[_nghost-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;border-top-width:1px;border-top-color:#0000001a;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem 1rem;padding-left:22px;padding-right:1rem}"]})}};var Mc=class t{constructor(){this.card=xw;this.lists=Aw;this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/";this.title="Ngx-Loader Indicator";this.subtitle="Awesome loader for angular applications. No wrappers only you elements";this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-root"]],features:[Me([{provide:ic,useValue:"1.10.0"}])],decls:22,vars:6,consts:[[1,"flex","flex-col"],[3,"activeLink"],[1,"flex","overflow-auto","mt-[64px]"],[1,"drawer-container","flex","flex-col"],[3,"lists"],[1,"flex","flex-col","w-full","p-0","mt-[55px]","desk:mt-0","desk:pl-[310px]"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(n,r){n&1&&(b(0,"div",0),f(1,` + `),U(2,"jsdaddy-open-source-header",1),f(3,` + `),b(4,"section",2),f(5,` + `),b(6,"div",3),f(7,` + `),U(8,"jsdaddy-open-source-accordion",4),f(9,` + `),_(),f(10,` + `),b(11,"div",5),f(12,` + `),U(13,"jsdaddy-open-source-sub-header",6),f(14,` + `),U(15,"jsdaddy-open-source-cards",7),f(16,` + `),U(17,"jsdaddy-open-source-footer"),f(18,` + `),_(),f(19,` + `),_(),f(20,` +`),_(),f(21,` +`)),n&2&&(C(2),V("activeLink",r.githubMaskLink),C(6),V("lists",r.lists),C(5),V("title",r.title)("subtitle",r.subtitle)("chips",r.chips),C(2),V("cardDocs",r.card))},dependencies:[Jl,ec,rc,oc,Sc],styles:["[_nghost-%COMP%]{display:block;height:100%}"]})}};lD(Mc,{providers:[Mv(),jD(),bw([]),xi,Jv(),{provide:Yl,useValue:[Ur]},Ur,Sw(),{provide:Ql,useValue:{fullLibraryLoader:()=>import("./es-BOGCOMYS.js")}}]}).catch(t=>{console.error(t)}); diff --git a/media/scroll-shadow-PCTBKIB2.svg b/media/scroll-shadow-PCTBKIB2.svg new file mode 100644 index 0000000..3174596 --- /dev/null +++ b/media/scroll-shadow-PCTBKIB2.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/styles-H4WHAGXV.css b/styles-H4WHAGXV.css deleted file mode 100644 index 7aabeb6..0000000 --- a/styles-H4WHAGXV.css +++ /dev/null @@ -1 +0,0 @@ -pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:Varela,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.right-\[-1px\]{right:-1px}.top-0{top:0}.top-1\/2{top:50%}.top-\[68px\]{top:68px}.z-10{z-index:10}.z-20{z-index:20}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mb-5{margin-bottom:1.25rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-2\.5{margin-right:.625rem}.mr-\[44px\]{margin-right:44px}.mr-\[7px\]{margin-right:7px}.mt-10{margin-top:2.5rem}.mt-2\.5{margin-top:.625rem}.mt-\[55px\]{margin-top:55px}.mt-\[64px\]{margin-top:64px}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-2{height:.5rem}.h-\[157px\]{height:157px}.h-\[45px\]{height:45px}.h-\[55px\]{height:55px}.h-\[68px\]{height:68px}.h-fit{height:fit-content}.h-full{height:100%}.w-2{width:.5rem}.w-\[270px\]{width:270px}.w-\[310px\]{width:310px}.w-\[67\%\]{width:67%}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.flex-\[45\%\]{flex:45%}.flex-\[55\%\]{flex:55%}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.scroll-mt-\[185px\]{scroll-margin-top:185px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-15px{gap:15px}.gap-2\.5{gap:.625rem}.gap-25px{gap:25px}.gap-30px{gap:30px}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-5px{gap:5px}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-10px{border-radius:10px}.rounded-15px{border-radius:15px}.rounded-25px{border-radius:25px}.rounded-4px{border-radius:4px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-yellow{--tw-border-opacity: 1;border-color:rgb(255 214 77 / var(--tw-border-opacity))}.border-b-full-white\/\[\.05\]{border-bottom-color:#ffffff0d}.border-t-black\/10{border-top-color:#0000001a}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-dark{--tw-bg-opacity: 1;background-color:rgb(25 25 25 / var(--tw-bg-opacity))}.bg-dark\/\[\.02\]{background-color:#19191905}.bg-full-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity: 1;background-color:rgb(255 113 10 / var(--tw-bg-opacity))}.bg-orange\/\[\.05\]{background-color:#ff710a0d}.bg-white{--tw-bg-opacity: 1;background-color:rgb(248 248 248 / var(--tw-bg-opacity))}.bg-yellow{--tw-bg-opacity: 1;background-color:rgb(255 214 77 / var(--tw-bg-opacity))}.bg-yellow\/\[\.05\]{background-color:#ffd64d0d}.p-0{padding:0}.p-15px{padding:15px}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-15px{padding-left:15px;padding-right:15px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-30px{padding-left:30px;padding-right:30px}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[32px\]{padding-left:32px;padding-right:32px}.py-15px{padding-top:15px;padding-bottom:15px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-5px{padding-top:5px;padding-bottom:5px}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.py-\[3px\]{padding-top:3px;padding-bottom:3px}.pb-10{padding-bottom:2.5rem}.pb-2\.5{padding-bottom:.625rem}.pl-15px{padding-left:15px}.pl-30px{padding-left:30px}.pl-\[22px\]{padding-left:22px}.pl-\[45px\]{padding-left:45px}.pr-5{padding-right:1.25rem}.pt-\[22px\]{padding-top:22px}.text-h3{font-size:25px;line-height:27px;font-weight:500}.text-h5{font-size:16px;line-height:24px;font-weight:400}.text-label{font-size:12px;line-height:13px;font-weight:300}.text-span{font-size:14px;line-height:21px;font-weight:400}.text-span-12{font-size:12px;line-height:21px;font-weight:400}.text-title{font-size:10px;line-height:14px;font-weight:400}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tracking-\[\.25em\]{letter-spacing:.25em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-black\/\[\.45\]{color:#00000073}.text-dark{--tw-text-opacity: 1;color:rgb(25 25 25 / var(--tw-text-opacity))}.text-dark\/\[\.25\]{color:#19191940}.text-dark\/\[\.45\]{color:#19191973}.text-full-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-orange{--tw-text-opacity: 1;color:rgb(255 113 10 / var(--tw-text-opacity))}.text-red{--tw-text-opacity: 1;color:rgb(227 83 83 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(248 248 248 / var(--tw-text-opacity))}.text-yellow{--tw-text-opacity: 1;color:rgb(255 214 77 / var(--tw-text-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-black\/\[\.05\]:hover{background-color:#0000000d}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}@media (min-width: 1px) and (max-width: 700px){.mob\:relative{position:relative}.mob\:-left-5{left:-1.25rem}.mob\:mr-30px{margin-right:30px}.mob\:block{display:block}.mob\:hidden{display:none}.mob\:h-\[150px\]{height:150px}.mob\:w-full{width:100%}.mob\:flex-col{flex-direction:column}.mob\:flex-col-reverse{flex-direction:column-reverse}.mob\:justify-normal{justify-content:normal}.mob\:gap-15px{gap:15px}.mob\:gap-30px{gap:30px}.mob\:bg-yellow\/\[\.05\]{background-color:#ffd64d0d}.mob\:px-5{padding-left:1.25rem;padding-right:1.25rem}.mob\:pb-5{padding-bottom:1.25rem}.mob\:pt-35px{padding-top:35px}.mob\:text-full-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.mob\:hover\:bg-yellow\/\[\.05\]:hover{background-color:#ffd64d0d}}@media (min-width: 700px) and (max-width: 1279px){.tab\:top-\[122px\]{top:122px}.tab\:ml-30px{margin-left:30px}.tab\:block{display:block}.tab\:hidden{display:none}.tab\:w-\[375px\]{width:375px}}@media (min-width: 1279px){.desk\:mt-0{margin-top:0}.desk\:hidden{display:none}.desk\:h-\[calc\(100dvh-600px\)\]{height:calc(100dvh - 600px)}.desk\:w-\[310px\]{width:310px}.desk\:pl-2\.5{padding-left:.625rem}.desk\:pl-\[310px\]{padding-left:310px}} diff --git a/styles-Z4TEZBPD.css b/styles-Z4TEZBPD.css new file mode 100644 index 0000000..dbfb578 --- /dev/null +++ b/styles-Z4TEZBPD.css @@ -0,0 +1 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}::-webkit-scrollbar{width:6px;background-image:linear-gradient(to bottom,#86868673,#86868617)}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-image:linear-gradient(0deg,#f79046 .28%,#f7904600),url("./media/scroll-shadow-PCTBKIB2.svg");background-repeat:no-repeat;background-size:cover;background-position:center;border:1px solid transparent}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:Varela,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.top-0{top:0}.top-\[68px\]{top:68px}.z-10{z-index:10}.z-20{z-index:20}.mb-5{margin-bottom:1.25rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mt-10{margin-top:2.5rem}.mt-2\.5{margin-top:.625rem}.mt-\[55px\]{margin-top:55px}.mt-\[64px\]{margin-top:64px}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-\[45px\]{height:45px}.h-\[55px\]{height:55px}.h-\[68px\]{height:68px}.h-fit{height:fit-content}.h-full{height:100%}.w-\[270px\]{width:270px}.w-\[310px\]{width:310px}.w-fit{width:fit-content}.w-full{width:100%}.flex-\[45\%\]{flex:45%}.flex-\[55\%\]{flex:55%}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.scroll-mt-\[185px\]{scroll-margin-top:185px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-15px{gap:15px}.gap-2\.5{gap:.625rem}.gap-25px{gap:25px}.gap-30px{gap:30px}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-5px{gap:5px}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-10px{border-radius:10px}.rounded-15px{border-radius:15px}.rounded-4px{border-radius:4px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-yellow{--tw-border-opacity: 1;border-color:rgb(255 214 77 / var(--tw-border-opacity, 1))}.border-b-full-white\/\[\.05\]{border-bottom-color:#ffffff0d}.border-t-black\/10{border-top-color:#0000001a}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-dark{--tw-bg-opacity: 1;background-color:rgb(25 25 25 / var(--tw-bg-opacity, 1))}.bg-dark\/\[\.02\]{background-color:#19191905}.bg-full-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-orange{--tw-bg-opacity: 1;background-color:rgb(255 113 10 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(248 248 248 / var(--tw-bg-opacity, 1))}.bg-yellow{--tw-bg-opacity: 1;background-color:rgb(255 214 77 / var(--tw-bg-opacity, 1))}.bg-yellow\/\[\.05\]{background-color:#ffd64d0d}.p-0{padding:0}.p-15px{padding:15px}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-30px{padding-left:30px;padding-right:30px}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[32px\]{padding-left:32px;padding-right:32px}.py-15px{padding-top:15px;padding-bottom:15px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-5px{padding-top:5px;padding-bottom:5px}.pb-10{padding-bottom:2.5rem}.pb-2\.5{padding-bottom:.625rem}.pl-15px{padding-left:15px}.pl-30px{padding-left:30px}.pl-\[22px\]{padding-left:22px}.pl-\[45px\]{padding-left:45px}.pr-5{padding-right:1.25rem}.pt-\[22px\]{padding-top:22px}.text-h3{font-size:25px;line-height:27px;font-weight:500}.text-h5{font-size:16px;line-height:24px;font-weight:400}.text-span{font-size:14px;line-height:21px;font-weight:400}.text-title{font-size:10px;line-height:14px;font-weight:400}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tracking-\[\.25em\]{letter-spacing:.25em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-black\/\[\.45\]{color:#00000073}.text-dark{--tw-text-opacity: 1;color:rgb(25 25 25 / var(--tw-text-opacity, 1))}.text-dark\/\[\.25\]{color:#19191940}.text-dark\/\[\.45\]{color:#19191973}.text-full-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-orange{--tw-text-opacity: 1;color:rgb(255 113 10 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(248 248 248 / var(--tw-text-opacity, 1))}.text-yellow{--tw-text-opacity: 1;color:rgb(255 214 77 / var(--tw-text-opacity, 1))}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-black\/\[\.05\]:hover{background-color:#0000000d}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}@media (min-width: 1px) and (max-width: 700px){.mob\:relative{position:relative}.mob\:-left-5{left:-1.25rem}.mob\:block{display:block}.mob\:hidden{display:none}.mob\:h-\[150px\]{height:150px}.mob\:w-full{width:100%}.mob\:flex-col{flex-direction:column}.mob\:flex-col-reverse{flex-direction:column-reverse}.mob\:justify-normal{justify-content:normal}.mob\:gap-15px{gap:15px}.mob\:gap-30px{gap:30px}.mob\:bg-yellow\/\[\.05\]{background-color:#ffd64d0d}.mob\:px-5{padding-left:1.25rem;padding-right:1.25rem}.mob\:pb-5{padding-bottom:1.25rem}.mob\:pt-35px{padding-top:35px}.mob\:text-full-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.mob\:hover\:bg-yellow\/\[\.05\]:hover{background-color:#ffd64d0d}}@media (min-width: 700px) and (max-width: 1279px){.tab\:top-\[122px\]{top:122px}.tab\:ml-30px{margin-left:30px}.tab\:block{display:block}.tab\:hidden{display:none}.tab\:w-\[375px\]{width:375px}}@media (min-width: 1279px){.desk\:mt-0{margin-top:0}.desk\:hidden{display:none}.desk\:h-\[calc\(100dvh-600px\)\]{height:calc(100dvh - 600px)}.desk\:w-\[310px\]{width:310px}.desk\:pl-2\.5{padding-left:.625rem}.desk\:pl-\[310px\]{padding-left:310px}}