Files
Metacase/dist/form_metacase/browser/main-YTFNMQ2A.js
T
2026-05-22 11:19:55 +01:00

54 lines
321 KiB
JavaScript

var pm=Object.defineProperty,gm=Object.defineProperties;var hm=Object.getOwnPropertyDescriptors;var zl=Object.getOwnPropertySymbols;var mm=Object.prototype.hasOwnProperty,vm=Object.prototype.propertyIsEnumerable;var ql=(e,n,t)=>n in e?pm(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,D=(e,n)=>{for(var t in n||={})mm.call(n,t)&&ql(e,t,n[t]);if(zl)for(var t of zl(n))vm.call(n,t)&&ql(e,t,n[t]);return e},P=(e,n)=>gm(e,hm(n));var ge=null,ti=!1,Ta=1,ym=null,ce=Symbol("SIGNAL");function x(e){let n=ge;return ge=e,n}function ni(){return ge}var xt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Kt(e){if(ti)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(e);let n=ge.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ge.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ge.producers,t!==void 0&&t.producer===e)){ge.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||Cm(o,ge)))return;let i=Hn(ge),s={producer:e,consumer:ge,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,n!==void 0?n.nextProducer=s:ge.producers=s,i&&Ql(e,s)}function Gl(){Ta++}function Jt(e){if(!(Hn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ta)){if(!e.producerMustRecompute(e)&&!Ar(e)){Vn(e);return}e.producerRecomputeValue(e),Vn(e)}}function Na(e){if(e.consumers===void 0)return;let n=ti;ti=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||Dm(r)}}finally{ti=n}}function Aa(){return ge?.consumerAllowSignalWrites!==!1}function Dm(e){e.dirty=!0,Na(e),e.consumerMarkedDirty?.(e)}function Vn(e){e.dirty=!1,e.lastCleanEpoch=Ta}function St(e){return e&&Wl(e),x(e)}function Wl(e){e.producersTail=void 0,e.recomputing=!0}function Xt(e,n){x(n),e&&Zl(e)}function Zl(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Hn(e))do t=Ra(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Ar(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Jt(t),r!==t.version))return!0}return!1}function en(e){if(Hn(e)){let n=e.producers;for(;n!==void 0;)n=Ra(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ql(e,n){let t=e.consumersTail,r=Hn(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Ql(o.producer,o)}function Ra(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Hn(n)){let i=n.producers;for(;i!==void 0;)i=Ra(i)}return t}function Hn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Rr(e){ym?.(e)}function Cm(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Or(e,n){return Object.is(e,n)}function ri(e,n){let t=Object.create(Em);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Jt(t),Kt(t),t.value===ot)throw t.error;return t.value};return r[ce]=t,Rr(t),r}var wt=Symbol("UNSET"),Yt=Symbol("COMPUTING"),ot=Symbol("ERRORED"),Em=P(D({},xt),{value:wt,dirty:!0,error:null,equal:Or,kind:"computed",producerMustRecompute(e){return e.value===wt||e.value===Yt},producerRecomputeValue(e){if(e.value===Yt)throw new Error("");let n=e.value;e.value=Yt;let t=St(e),r,o=!1;try{r=e.computation(),x(null),o=n!==wt&&n!==ot&&r!==ot&&e.equal(n,r)}catch(i){r=ot,e.error=i}finally{Xt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function _m(){throw new Error}var Yl=_m;function Kl(e){Yl(e)}function Oa(e){Yl=e}var bm=null;function Pa(e,n){let t=Object.create(ii);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Jl(t);return r[ce]=t,Rr(t),[r,s=>tn(t,s),s=>oi(t,s)]}function Jl(e){return Kt(e),e.value}function tn(e,n){Aa()||Kl(e),e.equal(e.value,n)||(e.value=n,Im(e))}function oi(e,n){Aa()||Kl(e),tn(e,n(e.value))}var ii=P(D({},xt),{equal:Or,value:void 0,kind:"signal"});function Im(e){e.version++,Gl(),Na(e),bm?.(e)}var ka=P(D({},xt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Fa(e){if(e.dirty=!1,e.version>0&&!Ar(e))return;e.version++;let n=St(e);try{e.cleanup(),e.fn()}finally{Xt(e,n)}}function N(e){return typeof e=="function"}function Bn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var si=Bn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Pr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ue=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(N(r))try{r()}catch(i){n=i instanceof si?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Xl(i)}catch(s){n=n??[],s instanceof si?n=[...n,...s.errors]:n.push(s)}}if(n)throw new si(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Xl(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Pr(t,n)}remove(n){let{_finalizers:t}=this;t&&Pr(t,n),n instanceof e&&n._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var La=ue.EMPTY;function ai(e){return e instanceof ue||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function Xl(e){N(e)?e():e.unsubscribe()}var Qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Un={setTimeout(e,n,...t){let{delegate:r}=Un;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Un;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ci(e){Un.setTimeout(()=>{let{onUnhandledError:n}=Qe;if(n)n(e);else throw e})}function kr(){}var ed=ja("C",void 0,void 0);function td(e){return ja("E",void 0,e)}function nd(e){return ja("N",e,void 0)}function ja(e,n,t){return{kind:e,value:n,error:t}}var nn=null;function $n(e){if(Qe.useDeprecatedSynchronousErrorHandling){let n=!nn;if(n&&(nn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=nn;if(nn=null,t)throw r}}else e()}function rd(e){Qe.useDeprecatedSynchronousErrorHandling&&nn&&(nn.errorThrown=!0,nn.error=e)}var rn=class extends ue{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ai(n)&&n.add(this)):this.destination=Sm}static create(n,t,r){return new zn(n,t,r)}next(n){this.isStopped?Ha(nd(n),this):this._next(n)}error(n){this.isStopped?Ha(td(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ha(ed,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},wm=Function.prototype.bind;function Va(e,n){return wm.call(e,n)}var Ba=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ui(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ui(r)}else ui(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ui(t)}}},zn=class extends rn{constructor(n,t,r){super();let o;if(N(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Qe.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Va(n.next,i),error:n.error&&Va(n.error,i),complete:n.complete&&Va(n.complete,i)}):o=n}this.destination=new Ba(o)}};function ui(e){Qe.useDeprecatedSynchronousErrorHandling?rd(e):ci(e)}function xm(e){throw e}function Ha(e,n){let{onStoppedNotification:t}=Qe;t&&Un.setTimeout(()=>t(e,n))}var Sm={closed:!0,next:kr,error:xm,complete:kr};var qn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ye(e){return e}function Ua(...e){return $a(e)}function $a(e){return e.length===0?Ye:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var L=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Tm(t)?t:new zn(t,r,o);return $n(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=od(r),new r((o,i)=>{let s=new zn({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[qn](){return this}pipe(...t){return $a(t)(this)}toPromise(t){return t=od(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function od(e){var n;return(n=e??Qe.Promise)!==null&&n!==void 0?n:Promise}function Mm(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}function Tm(e){return e&&e instanceof rn||Mm(e)&&ai(e)}function Nm(e){return N(e?.lift)}function B(e){return n=>{if(Nm(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(e,n,t,r,o){return new za(e,n,t,r,o)}var za=class extends rn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var id=Bn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new li(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new id}next(t){$n(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){$n(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){$n(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?La:(this.currentObservers=null,i.push(t),new ue(()=>{this.currentObservers=null,Pr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new L;return t.source=this,t}}return e.create=(n,t)=>new li(n,t),e})(),li=class extends le{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:La}};var de=class extends le{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var fe=new L(e=>e.complete());function sd(e){return e&&N(e.schedule)}function ad(e){return e[e.length-1]}function cd(e){return N(ad(e))?e.pop():void 0}function Mt(e){return sd(ad(e))?e.pop():void 0}function ld(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function ud(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function on(e){return this instanceof on?(this.v=e,this):new on(e)}function dd(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(g){return function(b){return Promise.resolve(b).then(g,d)}}function a(g,b){r[g]&&(o[g]=function(O){return new Promise(function(Q,$){i.push([g,O,Q,$])>1||c(g,O)})},b&&(o[g]=b(o[g])))}function c(g,b){try{u(r[g](b))}catch(O){h(i[0][3],O)}}function u(g){g.value instanceof on?Promise.resolve(g.value.v).then(l,d):h(i[0][2],g)}function l(g){c("next",g)}function d(g){c("throw",g)}function h(g,b){g(b),i.shift(),i.length&&c(i[0][0],i[0][1])}}function fd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof ud=="function"?ud(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var di=e=>e&&typeof e.length=="number"&&typeof e!="function";function fi(e){return N(e?.then)}function pi(e){return N(e[qn])}function gi(e){return Symbol.asyncIterator&&N(e?.[Symbol.asyncIterator])}function hi(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 Am(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mi=Am();function vi(e){return N(e?.[mi])}function yi(e){return dd(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield on(t.read());if(o)return yield on(void 0);yield yield on(r)}}finally{t.releaseLock()}})}function Di(e){return N(e?.getReader)}function ie(e){if(e instanceof L)return e;if(e!=null){if(pi(e))return Rm(e);if(di(e))return Om(e);if(fi(e))return Pm(e);if(gi(e))return pd(e);if(vi(e))return km(e);if(Di(e))return Fm(e)}throw hi(e)}function Rm(e){return new L(n=>{let t=e[qn]();if(N(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Om(e){return new L(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Pm(e){return new L(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ci)})}function km(e){return new L(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function pd(e){return new L(n=>{Lm(e,n).catch(t=>n.error(t))})}function Fm(e){return pd(yi(e))}function Lm(e,n){var t,r,o,i;return ld(this,void 0,void 0,function*(){try{for(t=fd(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Ie(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ci(e,n=0){return B((t,r)=>{t.subscribe(z(r,o=>Ie(r,e,()=>r.next(o),n),()=>Ie(r,e,()=>r.complete(),n),o=>Ie(r,e,()=>r.error(o),n)))})}function Ei(e,n=0){return B((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function gd(e,n){return ie(e).pipe(Ei(n),Ci(n))}function hd(e,n){return ie(e).pipe(Ei(n),Ci(n))}function md(e,n){return new L(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function vd(e,n){return new L(t=>{let r;return Ie(t,n,()=>{r=e[mi](),Ie(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>N(r?.return)&&r.return()})}function _i(e,n){if(!e)throw new Error("Iterable cannot be null");return new L(t=>{Ie(t,n,()=>{let r=e[Symbol.asyncIterator]();Ie(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function yd(e,n){return _i(yi(e),n)}function Dd(e,n){if(e!=null){if(pi(e))return gd(e,n);if(di(e))return md(e,n);if(fi(e))return hd(e,n);if(gi(e))return _i(e,n);if(vi(e))return vd(e,n);if(Di(e))return yd(e,n)}throw hi(e)}function ne(e,n){return n?Dd(e,n):ie(e)}function k(...e){let n=Mt(e);return ne(e,n)}function qa(e,n){let t=N(e)?e:()=>e,r=o=>o.error(t());return new L(n?o=>n.schedule(r,0,o):r)}function bi(e){return!!e&&(e instanceof L||N(e.lift)&&N(e.subscribe))}var sn=Bn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function X(e,n){return B((t,r)=>{let o=0;t.subscribe(z(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:jm}=Array;function Vm(e,n){return jm(n)?e(...n):e(n)}function Cd(e){return X(n=>Vm(e,n))}var{isArray:Hm}=Array,{getPrototypeOf:Bm,prototype:Um,keys:$m}=Object;function Ed(e){if(e.length===1){let n=e[0];if(Hm(n))return{args:n,keys:null};if(zm(n)){let t=$m(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function zm(e){return e&&typeof e=="object"&&Bm(e)===Um}function _d(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Ga(...e){let n=Mt(e),t=cd(e),{args:r,keys:o}=Ed(e);if(r.length===0)return ne([],n);let i=new L(qm(r,n,o?s=>_d(o,s):Ye));return t?i.pipe(Cd(t)):i}function qm(e,n,t=Ye){return r=>{bd(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)bd(n,()=>{let u=ne(e[c],n),l=!1;u.subscribe(z(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function bd(e,n,t){e?Ie(t,e,n):n()}function Id(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},g=O=>u<r?b(O):c.push(O),b=O=>{i&&n.next(O),u++;let Q=!1;ie(t(O,l++)).subscribe(z(n,$=>{o?.($),i?g($):n.next($)},()=>{Q=!0},void 0,()=>{if(Q)try{for(u--;c.length&&u<r;){let $=c.shift();s?Ie(n,s,()=>b($)):b($)}h()}catch($){n.error($)}}))};return e.subscribe(z(n,g,()=>{d=!0,h()})),()=>{a?.()}}function De(e,n,t=1/0){return N(n)?De((r,o)=>X((i,s)=>n(r,i,o,s))(ie(e(r,o))),t):(typeof n=="number"&&(t=n),B((r,o)=>Id(r,o,e,t)))}function wd(e=1/0){return De(Ye,e)}function xd(){return wd(1)}function Gn(...e){return xd()(ne(e,Mt(e)))}function Fr(e){return new L(n=>{ie(e()).subscribe(n)})}function ht(e,n){return B((t,r)=>{let o=0;t.subscribe(z(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Lr(e){return B((n,t)=>{let r=null,o=!1,i;r=n.subscribe(z(t,void 0,void 0,s=>{i=ie(e(s,Lr(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Ii(e,n){return N(n)?De(e,n,1):De(e,1)}function Sd(e){return B((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function mt(e){return e<=0?()=>fe:B((n,t)=>{let r=0;n.subscribe(z(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Md(e=Gm){return B((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Gm(){return new sn}function Wa(e){return B((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function vt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ht((o,i)=>e(o,i,r)):Ye,mt(1),t?Sd(n):Md(()=>new sn))}function wi(e){return e<=0?()=>fe:B((n,t)=>{let r=[];n.subscribe(z(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Za(...e){let n=Mt(e);return B((t,r)=>{(n?Gn(e,t,n):Gn(e,t)).subscribe(r)})}function Ke(e,n){return B((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(z(r,c=>{o?.unsubscribe();let u=0,l=i++;ie(e(c,l)).subscribe(o=z(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jr(e){return B((n,t)=>{ie(e).subscribe(z(t,()=>t.complete(),kr)),!t.closed&&n.subscribe(t)})}function Ve(e,n,t){let r=N(e)||n||t?{next:e,error:n,complete:t}:e;return r?B((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(z(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ye}var Qa;function xi(){return Qa}function it(e){let n=Qa;return Qa=e,n}var Td=Symbol("NotFound");function Wn(e){return e===Td||e?.name==="\u0275NotFound"}function Ya(e,n,t){let r=Object.create(Wm);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Jt(r),Kt(r),r.value===ot)throw r.error;return r.value};return i[ce]=r,Rr(r),i}function Nd(e,n){Jt(e),tn(e,n),Vn(e)}function Ad(e,n){if(Jt(e),e.value===ot)throw e.error;oi(e,n),Vn(e)}var Wm=P(D({},xt),{value:wt,dirty:!0,error:null,equal:Or,kind:"linkedSignal",producerMustRecompute(e){return e.value===wt||e.value===Yt},producerRecomputeValue(e){if(e.value===Yt)throw new Error("");let n=e.value;e.value=Yt;let t=St(e),r;try{let o=e.source(),i=n===wt||n===ot?void 0:{source:e.sourceValue,value:n};r=e.computation(o,i),e.sourceValue=o}catch(o){r=ot,e.error=o}finally{Xt(e,t)}if(n!==wt&&r!==ot&&e.equal(n,r)){e.value=n;return}e.value=r,e.version++}});function Rd(e){let n=x(null);try{return e()}finally{x(n)}}var Pi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,t){super(fn(n,t)),this.code=n}};function Zm(e){return`NG0${Math.abs(e)}`}function fn(e,n){return`${Zm(e)}${n?": "+n:""}`}var pn=globalThis;function U(e){for(let n in e)if(e[n]===U)return n;throw Error("")}function qr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qr).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
`);return r>=0?t.slice(0,r):t}function uc(e,n){return e?n?`${e} ${n}`:e:n||""}var Qm=U({__forward_ref__:U});function ki(e){return e.__forward_ref__=ki,e}function we(e){return lc(e)?e():e}function lc(e){return typeof e=="function"&&e.hasOwnProperty(Qm)&&e.__forward_ref__===ki}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gr(e){return Ym(e,Fi)}function dc(e){return Gr(e)!==null}function Ym(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Km(e){let n=e?.[Fi]??null;return n||null}function Ja(e){return e&&e.hasOwnProperty(Mi)?e[Mi]:null}var Fi=U({\u0275prov:U}),Mi=U({\u0275inj:U}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=w({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fc(e){return e&&!!e.\u0275providers}var pc=U({\u0275cmp:U}),gc=U({\u0275dir:U}),hc=U({\u0275pipe:U}),mc=U({\u0275mod:U}),Hr=U({\u0275fac:U}),hn=U({__NG_ELEMENT_ID__:U}),Od=U({__NG_ENV_ID__:U});function vc(e){return Li(e,"@NgModule"),e[mc]||null}function At(e){return Li(e,"@Component"),e[pc]||null}function yc(e){return Li(e,"@Directive"),e[gc]||null}function Ld(e){return Li(e,"@Pipe"),e[hc]||null}function Li(e,n){if(e==null)throw new E(-919,!1)}function mn(e){return typeof e=="string"?e:e==null?"":String(e)}var jd=U({ngErrorCode:U}),Jm=U({ngErrorMessage:U}),Xm=U({ngTokenPath:U});function Dc(e,n){return Vd("",-200,n)}function ji(e,n){throw new E(-201,!1)}function Vd(e,n,t){let r=new E(n,e);return r[jd]=n,r[Jm]=e,t&&(r[Xm]=t),r}function ev(e){return e[jd]}var Xa;function Hd(){return Xa}function Ne(e){let n=Xa;return Xa=e,n}function Cc(e,n,t){let r=Gr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;ji(e,"")}var tv={},an=tv,nv="__NG_DI_FLAG__",ec=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=cn(t)||0;try{return this.injector.get(n,r&8?null:an,r)}catch(o){if(Wn(o))return o;throw o}}};function rv(e,n=0){let t=xi();if(t===void 0)throw new E(-203,!1);if(t===null)return Cc(e,void 0,n);{let r=ov(n),o=t.retrieve(e,r);if(Wn(o)){if(r.optional)return null;throw o}return o}}function A(e,n=0){return(Hd()||rv)(we(e),n)}function v(e,n){return A(e,cn(n))}function cn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ov(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function tc(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(A(o,i))}else n.push(A(r))}return n}function iv(e){return e[nv]}function un(e,n){let t=e.hasOwnProperty(Hr);return t?e[Hr]:null}function Vi(e,n){e.forEach(t=>Array.isArray(t)?Vi(t,n):n(t))}function Ec(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Wr(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Bd(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Ud(e,n,t){let r=Qn(e,n);return r>=0?e[r|1]=t:(r=~r,Bd(e,r,n,t)),r}function Hi(e,n){let t=Qn(e,n);if(t>=0)return e[t|1]}function Qn(e,n){return sv(e,n,1)}function sv(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var vn={},He=[],yn=new I(""),Zr=new I("",-1),_c=new I(""),Br=class{get(n,t=an){if(t===an){let o=Vd("",-201);throw o.name="\u0275NotFound",o}return t}};function Yn(e){return{\u0275providers:e}}function $d(e){return Yn([{provide:yn,multi:!0,useValue:e}])}function zd(...e){return{\u0275providers:bc(!0,e),\u0275fromNgModule:!0}}function bc(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Vi(n,s=>{let a=s;Ti(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&qd(o,i),t}function qd(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Ic(o,i=>{n(i,r)})}}function Ti(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Ja(e),s=!i&&At(e);if(!i&&!s){let c=e.ngModule;if(i=Ja(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ti(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Vi(i.imports,l=>{Ti(l,n,t,r)&&(u||=[],u.push(l))}),u!==void 0&&qd(u,n)}if(!a){let u=un(o)||(()=>new o);n({provide:o,useFactory:u,deps:He},o),n({provide:_c,useValue:o,multi:!0},o),n({provide:yn,useValue:()=>A(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ic(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ic(e,n){for(let t of e)fc(t)&&(t=t.\u0275providers),Array.isArray(t)?Ic(t,n):n(t)}var av=U({provide:String,useValue:U});function Gd(e){return e!==null&&typeof e=="object"&&av in e}function cv(e){return!!(e&&e.useExisting)}function uv(e){return!!(e&&e.useFactory)}function Ni(e){return typeof e=="function"}var Qr=new I(""),Si={},Pd={},Ka;function Yr(){return Ka===void 0&&(Ka=new Br),Ka}var re=class{},ln=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,rc(n,s=>this.processProvider(s)),this.records.set(Zr,Zn(void 0,this)),o.has("environment")&&this.records.set(re,Zn(void 0,this));let i=this.records.get(Qr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(_c,He,{self:!0}))}retrieve(n,t){let r=cn(t)||0;try{return this.get(n,an,r)}catch(o){if(Wn(o))return o;throw o}}destroy(){Vr(this),this._destroyed=!0;let n=x(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),x(n)}}onDestroy(n){return Vr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Vr(this);let t=it(this),r=Ne(void 0),o;try{return n()}finally{it(t),Ne(r)}}get(n,t=an,r){if(Vr(this),n.hasOwnProperty(Od))return n[Od](this);let o=cn(r),i,s=it(this),a=Ne(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=gv(n)&&Gr(n);l&&this.injectableDefInScope(l)?u=Zn(nc(n),Si):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?Yr():this.parent;return t=o&8&&t===an?null:t,c.get(n,t)}catch(c){let u=ev(c);throw u===-200||u===-201?new E(u,null):c}finally{Ne(a),it(s)}}resolveInjectorInitializers(){let n=x(null),t=it(this),r=Ne(void 0),o;try{let i=this.get(yn,He,{self:!0});for(let s of i)s()}finally{it(t),Ne(r),x(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=Ni(n)?n:we(n&&n.provide),r=dv(n);if(!Ni(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Zn(void 0,Si,!0),o.factory=()=>tc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=x(null);try{if(t.value===Pd)throw Dc("");return t.value===Si&&(t.value=Pd,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&pv(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{x(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function nc(e){let n=Gr(e),t=n!==null?n.factory:un(e);if(t!==null)return t;if(e instanceof I)throw new E(-204,!1);if(e instanceof Function)return lv(e);throw new E(-204,!1)}function lv(e){if(e.length>0)throw new E(-204,!1);let t=Km(e);return t!==null?()=>t.factory(e):()=>new e}function dv(e){if(Gd(e))return Zn(void 0,e.useValue);{let n=Wd(e);return Zn(n,Si)}}function Wd(e,n,t){let r;if(Ni(e)){let o=we(e);return un(o)||nc(o)}else if(Gd(e))r=()=>we(e.useValue);else if(uv(e))r=()=>e.useFactory(...tc(e.deps||[]));else if(cv(e))r=(o,i)=>A(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(fv(e))r=()=>new o(...tc(e.deps));else return un(o)||nc(o)}return r}function Vr(e){if(e.destroyed)throw new E(-205,!1)}function Zn(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function fv(e){return!!e.deps}function pv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function gv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function rc(e,n){for(let t of e)Array.isArray(t)?rc(t,n):t&&fc(t)?rc(t.\u0275providers,n):n(t)}function he(e,n){let t;e instanceof ln?(Vr(e),t=e):t=new ec(e);let r,o=it(t),i=Ne(void 0);try{return n()}finally{it(o),Ne(i)}}function Zd(){return Hd()!==void 0||xi()!=null}var Je=0,M=1,S=2,pe=3,Be=4,Ue=5,Kr=6,Kn=7,me=8,Rt=9,at=10,te=11,Jn=12,wc=13,Dn=14,$e=15,Cn=16,En=17,_n=18,Dt=19,xc=20,yt=21,Bi=22,Tt=23,Re=24,Ui=25,Ot=26,Ee=27,Qd=1;var Pt=7,Jr=8,Xr=9,_e=10;function ct(e){return Array.isArray(e)&&typeof e[Qd]=="object"}function ze(e){return Array.isArray(e)&&e[Qd]===!0}function Sc(e){return(e.flags&4)!==0}function Ct(e){return e.componentOffset>-1}function Xn(e){return(e.flags&1)===1}function bn(e){return!!e.template}function er(e){return(e[S]&512)!==0}function In(e){return(e[S]&256)===256}var Mc="svg",Yd="math";function qe(e){for(;Array.isArray(e);)e=e[Je];return e}function Tc(e,n){return qe(n[e])}function Xe(e,n){return qe(n[e.index])}function $i(e,n){return e.data[n]}function Kd(e,n){return e[n]}function Oe(e,n){let t=n[e];return ct(t)?t:t[Je]}function zi(e){return(e[S]&128)===128}function Jd(e){return ze(e[pe])}function eo(e,n){return n==null?null:e[n]}function Nc(e){e[En]=0}function Ac(e){e[S]&1024||(e[S]|=1024,zi(e)&&tr(e))}function Xd(e,n){for(;e>0;)n=n[Dn],e--;return n}function to(e){return!!(e[S]&9216||e[Re]?.dirty)}function qi(e){e[at].changeDetectionScheduler?.notify(8),e[S]&64&&(e[S]|=1024),to(e)&&tr(e)}function tr(e){e[at].changeDetectionScheduler?.notify(0);let n=Nt(e);for(;n!==null&&!(n[S]&8192||(n[S]|=8192,!zi(n)));)n=Nt(n)}function Rc(e,n){if(In(e))throw new E(911,!1);e[yt]===null&&(e[yt]=[]),e[yt].push(n)}function ef(e,n){if(e[yt]===null)return;let t=e[yt].indexOf(n);t!==-1&&e[yt].splice(t,1)}function Nt(e){let n=e[pe];return ze(n)?n[pe]:n}function tf(e){return e[Kn]??=[]}function nf(e){return e.cleanup??=[]}var R={lFrame:Ef(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var oc=!1;function rf(){return R.lFrame.elementDepthCount}function of(){R.lFrame.elementDepthCount++}function sf(){R.lFrame.elementDepthCount--}function Gi(){return R.bindingsEnabled}function af(){return R.skipHydrationRootTNode!==null}function cf(e){return R.skipHydrationRootTNode===e}function uf(){R.skipHydrationRootTNode=null}function W(){return R.lFrame.lView}function ut(){return R.lFrame.tView}function Y(e){return R.lFrame.contextLView=e,e[me]}function K(e){return R.lFrame.contextLView=null,e}function Se(){let e=Oc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Oc(){return R.lFrame.currentTNode}function lf(){let e=R.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function nr(e,n){let t=R.lFrame;t.currentTNode=e,t.isParent=n}function Pc(){return R.lFrame.isParent}function df(){R.lFrame.isParent=!1}function ff(){return R.lFrame.contextLView}function kc(){return oc}function Ur(e){let n=oc;return oc=e,n}function pf(){let e=R.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function gf(){return R.lFrame.bindingIndex}function hf(e){return R.lFrame.bindingIndex=e}function Wi(){return R.lFrame.bindingIndex++}function Fc(e){let n=R.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function mf(){return R.lFrame.inI18n}function vf(e,n){let t=R.lFrame;t.bindingIndex=t.bindingRootIndex=e,Zi(n)}function yf(){return R.lFrame.currentDirectiveIndex}function Zi(e){R.lFrame.currentDirectiveIndex=e}function Df(e){let n=R.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Lc(e){R.lFrame.currentQueryIndex=e}function hv(e){let n=e[M];return n.type===2?n.declTNode:n.type===1?e[Ue]:null}function jc(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=hv(i),o===null||(i=i[Dn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=R.lFrame=Cf();return r.currentTNode=n,r.lView=e,!0}function Qi(e){let n=Cf(),t=e[M];R.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Cf(){let e=R.lFrame,n=e===null?null:e.child;return n===null?Ef(e):n}function Ef(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function _f(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Vc=_f;function Yi(){let e=_f();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 bf(e){return(R.lFrame.contextLView=Xd(e,R.lFrame.contextLView))[me]}function kt(){return R.lFrame.selectedIndex}function Ft(e){R.lFrame.selectedIndex=e}function Hc(){let e=R.lFrame;return $i(e.tView,e.selectedIndex)}function Ki(){R.lFrame.currentNamespace=Mc}function Ji(){mv()}function mv(){R.lFrame.currentNamespace=null}function If(){return R.lFrame.currentNamespace}var wf=!0;function Xi(){return wf}function no(e){wf=e}function ic(e,n=null,t=null,r){let o=Bc(e,n,t,r);return o.resolveInjectorInitializers(),o}function Bc(e,n=null,t=null,r,o=new Set){let i=[t||He,zd(e)],s;return new ln(i,n||Yr(),s||null,o)}var xe=class e{static THROW_IF_NOT_FOUND=an;static NULL=new Br;static create(n,t){if(Array.isArray(n))return ic({name:""},t,n,"");{let r=n.name??"";return ic({name:r},n.parent,n.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>A(Zr)});static __NG_ELEMENT_ID__=-1},oe=new I(""),Pe=(()=>{class e{static __NG_ELEMENT_ID__=vv;static __NG_ENV_ID__=t=>t}return e})(),Ai=class extends Pe{_lView;constructor(n){super(),this._lView=n}get destroyed(){return In(this._lView)}onDestroy(n){let t=this._lView;return Rc(t,n),()=>ef(t,n)}};function vv(){return new Ai(W())}var xf=!1,Sf=new I(""),Lt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new de(!1);debugTaskTracker=v(Sf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new L(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),sc=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Zd()&&(this.destroyRef=v(Pe,{optional:!0})??void 0,this.pendingTasks=v(Lt,{optional:!0})??void 0)}emit(n){let t=x(null);try{super.next(n)}finally{x(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof ue&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ce=sc;function Ri(...e){}function Uc(e){let n,t;function r(){e=Ri;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Mf(e){return queueMicrotask(()=>e()),()=>{e=Ri}}var $c="isAngularZone",$r=$c+"_ID",yv=0,Ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ce(!1);onMicrotaskEmpty=new Ce(!1);onStable=new Ce(!1);onError=new Ce(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=xf}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Ev(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get($c)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,Dv,Ri,Ri);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},Dv={};function zc(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 Cv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Uc(()=>{e.callbackScheduled=!1,ac(e),e.isCheckStableRunning=!0,zc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),ac(e)}function Ev(e){let n=()=>{Cv(e)},t=yv++;e._inner=e._inner.fork({name:"angular",properties:{[$c]:!0,[$r]:t,[$r+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(_v(c))return r.invokeTask(i,s,a,c);try{return kd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Fd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return kd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bv(c)&&n(),Fd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ac(e),zc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ac(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function kd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fd(e){e._nesting--,zc(e)}var zr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ce;onMicrotaskEmpty=new Ce;onStable=new Ce;onError=new Ce;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function _v(e){return Tf(e,"__ignore_ng_zone__")}function bv(e){return Tf(e,"__scheduler_tick__")}function Tf(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var st=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ge=new I("",{factory:()=>{let e=v(Ae),n=v(re),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(st),t.handleError(r))})}}}),Nf={provide:yn,useValue:()=>{let e=v(st,{optional:!0})},multi:!0},Iv=new I("",{factory:()=>{let e=v(oe).defaultView;if(!e)return;let n=v(Ge),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),v(Pe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function qc(){return Yn([$d(()=>{v(Iv)})])}function F(e,n){let[t,r,o]=Pa(e,n?.equal),i=t,s=i[ce];return i.set=r,i.update=o,i.asReadonly=es.bind(i),i}function es(){let e=this[ce];if(e.readonlyFn===void 0){let n=()=>this();n[ce]=e,e.readonlyFn=n}return e.readonlyFn}var ts=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=wv}return e})();function wv(){return new ts(W(),Se())}var dn=class{},ro=new I("",{factory:()=>!0});var Gc=new I("");var ns=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new cc})}return e})(),cc=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Oi=class{[ce];constructor(n){this[ce]=n}destroy(){this[ce].destroy()}};function oo(e,n){let t=n?.injector??v(xe),r=n?.manualCleanup!==!0?t.get(Pe):null,o,i=t.get(ts,null,{optional:!0}),s=t.get(dn);return i!==null?(o=Mv(i.view,s,e),r instanceof Ai&&r._lView===i.view&&(r=null)):o=Tv(e,t.get(ns),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Oi(o)}var Af=P(D({},ka),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ur(!1);try{Fa(this)}finally{Ur(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=x(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],x(e)}}}),xv=P(D({},Af),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(en(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Sv=P(D({},Af),{consumerMarkedDirty(){this.view[S]|=8192,tr(this.view),this.notifier.notify(13)},destroy(){if(en(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Tt]?.delete(this)}});function Mv(e,n,t){let r=Object.create(Sv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Rf(r,t),e[Tt]??=new Set,e[Tt].add(r),r.consumerMarkedDirty(r),r}function Tv(e,n,t){let r=Object.create(xv);return r.fn=Rf(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Rf(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function fo(e){return{toString:e}.toString()}function Fv(e){return typeof e=="function"}function gp(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var ls=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},cr=(()=>{let e=()=>hp;return e.ngInherit=!0,e})();function hp(e){return e.type.prototype.ngOnChanges&&(e.setInput=jv),Lv}function Lv(){let e=vp(this),n=e?.current;if(n){let t=e.previous;if(t===vn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function jv(e,n,t,r,o){let i=this.declaredInputs[r],s=vp(e)||Vv(e,{previous:vn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ls(u&&u.currentValue,t,c===vn),gp(e,n,o,t)}var mp="__ngSimpleChanges__";function vp(e){return e[mp]||null}function Vv(e,n){return e[mp]=n}var Of=[];var q=function(e,n=null,t){for(let r=0;r<Of.length;r++){let o=Of[r];o(e,n,t)}},j=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(j||{});function Hv(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=hp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function yp(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function as(e,n,t){Dp(e,n,3,t)}function cs(e,n,t,r){(e[S]&3)===t&&Dp(e,n,t,r)}function Wc(e,n){let t=e[S];(t&3)===n&&(t&=16383,t+=1,e[S]=t)}function Dp(e,n,t,r){let o=r!==void 0?e[En]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[En]+=65536),(a<i||i==-1)&&(Bv(e,t,n,c),e[En]=(e[En]&4294901760)+c+2),c++}function Pf(e,n){q(j.LifecycleHookStart,e,n);let t=x(null);try{n.call(e)}finally{x(t),q(j.LifecycleHookEnd,e,n)}}function Bv(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[S]>>14<e[En]>>16&&(e[S]&3)===n&&(e[S]+=16384,Pf(a,i)):Pf(a,i)}var or=-1,ao=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function Uv(e){return(e.flags&8)!==0}function $v(e){return(e.flags&16)!==0}function zv(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];qv(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Cp(e){return e===3||e===4||e===6}function qv(e){return e.charCodeAt(0)===64}function Eu(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?kf(e,t,o,null,n[++r]):kf(e,t,o,null,null))}}return e}function kf(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Ep(e){return e!==or}function ds(e){return e&32767}function Gv(e){return e>>16}function fs(e,n){let t=Gv(e),r=n;for(;t>0;)r=r[Dn],t--;return r}var eu=!0;function Ff(e){let n=eu;return eu=e,n}var Wv=256,_p=Wv-1,bp=5,Zv=0,lt={};function Qv(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(hn)&&(r=t[hn]),r==null&&(r=t[hn]=Zv++);let o=r&_p,i=1<<o;n.data[e+(o>>bp)]|=i}function Ip(e,n){let t=wp(e,n);if(t!==-1)return t;let r=n[M];r.firstCreatePass&&(e.injectorIndex=n.length,Zc(r.data,e),Zc(n,null),Zc(r.blueprint,null));let o=_u(e,n),i=e.injectorIndex;if(Ep(o)){let s=ds(o),a=fs(o,n),c=a[M].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Zc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function wp(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _u(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Np(o),r===null)return or;if(t++,o=o[Dn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return or}function Yv(e,n,t){Qv(e,n,t)}function Kv(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Cp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function xp(e,n,t){if(t&8||e!==void 0)return e;ji(n,"NodeInjector")}function Sp(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Rt],i=Ne(void 0);try{return o?o.get(n,r,t&8):Cc(n,r,t&8)}finally{Ne(i)}}return xp(r,n,t)}function Mp(e,n,t,r=0,o){if(e!==null){if(n[S]&2048&&!(r&2)){let s=ny(e,n,t,r,lt);if(s!==lt)return s}let i=Tp(e,n,t,r,lt);if(i!==lt)return i}return Sp(n,t,r,o)}function Tp(e,n,t,r,o){let i=ey(t);if(typeof i=="function"){if(!jc(n,e,r))return r&1?xp(o,t,r):Sp(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ji(t);else return s}finally{Vc()}}else if(typeof i=="number"){let s=null,a=wp(e,n),c=or,u=r&1?n[$e][Ue]:null;for((a===-1||r&4)&&(c=a===-1?_u(e,n):n[a+8],c===or||!jf(r,!1)?a=-1:(s=n[M],a=ds(c),n=fs(c,n)));a!==-1;){let l=n[M];if(Lf(i,a,l.data)){let d=Jv(a,n,t,s,r,u);if(d!==lt)return d}c=n[a+8],c!==or&&jf(r,n[M].data[a+8]===u)&&Lf(i,a,n)?(s=l,a=ds(c),n=fs(c,n)):a=-1}}return o}function Jv(e,n,t,r,o,i){let s=n[M],a=s.data[e+8],c=r==null?Ct(a)&&eu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xv(a,s,t,c,u);return l!==null?tu(n,s,l,a,o):lt}function Xv(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let g=d;g<h;g++){let b=s[g];if(g<c&&t===b||g>=c&&b.type===t)return g}if(o){let g=s[c];if(g&&bn(g)&&g.type===t)return c}return null}function tu(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof ao){let a=i;if(a.resolving)throw Dc("");let c=Ff(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?Ne(a.injectImpl):null,h=jc(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Hv(t,s[t],n)}finally{d!==null&&Ne(d),Ff(c),a.resolving=!1,Vc()}}return i}function ey(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(hn)?e[hn]:void 0;return typeof n=="number"?n>=0?n&_p:ty:n}function Lf(e,n,t){let r=1<<e;return!!(t[n+(e>>bp)]&r)}function jf(e,n){return!(e&2)&&!(e&1&&n)}var wn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Mp(this._tNode,this._lView,n,cn(r),t)}};function ty(){return new wn(Se(),W())}function po(e){return fo(()=>{let n=e.prototype.constructor,t=n[Hr]||nu(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hr]||nu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function nu(e){return lc(e)?()=>{let n=nu(we(e));return n&&n()}:un(e)}function ny(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[S]&2048&&!er(s);){let a=Tp(i,s,t,r|2,lt);if(a!==lt)return a;let c=i.parent;if(!c){let u=s[xc];if(u){let l=u.get(t,lt,r&-5);if(l!==lt)return l}c=Np(s),s=s[Dn]}i=c}return o}function Np(e){let n=e[M],t=n.type;return t===2?n.declTNode:t===1?e[Ue]:null}function go(e){return Kv(Se(),e)}function ry(){return Es(Se(),W())}function Es(e,n){return new ho(Xe(e,n))}var ho=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=ry}return e})();function Ap(e){return(e.flags&128)===128}var bu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(bu||{}),Rp=new Map,oy=0;function iy(){return oy++}function sy(e){Rp.set(e[Dt],e)}function ru(e){Rp.delete(e[Dt])}var Vf="__ngContext__";function ir(e,n){ct(n)?(e[Vf]=n[Dt],sy(n)):e[Vf]=n}function Op(e){return kp(e[Jn])}function Pp(e){return kp(e[Be])}function kp(e){for(;e!==null&&!ze(e);)e=e[Be];return e}var ou;function Iu(e){ou=e}function Fp(){if(ou!==void 0)return ou;if(typeof document<"u")return document;throw new E(210,!1)}var _s=new I("",{factory:()=>ay}),ay="ng";var bs=new I(""),mo=new I("",{providedIn:"platform",factory:()=>"unknown"});var Is=new I("",{factory:()=>v(oe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Lp=!1,jp=new I("",{factory:()=>Lp});var cy=(e,n,t,r)=>{};function uy(e,n,t,r){cy(e,n,t,r)}function wu(e){return(e.flags&32)===32}var ly=()=>null;function Vp(e,n,t=!1){return ly(e,n,t)}function Hp(e,n){let t=e.contentQueries;if(t!==null){let r=x(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Lc(i),a.contentQueries(2,n[s],s)}}}finally{x(r)}}}function iu(e,n,t){Lc(0);let r=x(null);try{n(e,t)}finally{x(r)}}function xu(e,n,t){if(Sc(n)){let r=x(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{x(r)}}}var tt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(tt||{});var rs;function dy(){if(rs===void 0&&(rs=null,pn.trustedTypes))try{rs=pn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rs}function ws(e){return dy()?.createHTML(e)||e}var os;function Bp(){if(os===void 0&&(os=null,pn.trustedTypes))try{os=pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return os}function Hf(e){return Bp()?.createHTML(e)||e}function Bf(e){return Bp()?.createScriptURL(e)||e}var ps=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pi})`}};function vo(e){return e instanceof ps?e.changingThisBreaksApplicationSecurity:e}function xs(e,n){let t=Up(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Pi})`)}return t===n}function Up(e){return e instanceof ps&&e.getTypeName()||null}function fy(e){let n=new au(e);return py()?new su(n):n}var su=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(ws(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},au=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=ws(n),t}};function py(){try{return!!new window.DOMParser().parseFromString(ws(""),"text/html")}catch{return!1}}var gy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Su(e){return e=String(e),e.match(gy)?e:"unsafe:"+e}function Et(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function yo(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var $p=Et("area,br,col,hr,img,wbr"),zp=Et("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qp=Et("rp,rt"),hy=yo(qp,zp),my=yo(zp,Et("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")),vy=yo(qp,Et("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")),Uf=yo($p,my,vy,hy),Gp=Et("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yy=Et("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"),Dy=Et("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"),Cy=yo(Gp,yy,Dy),Ey=Et("script,style,template"),cu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=Iy(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=by(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=$f(n).toLowerCase();if(!Uf.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ey.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Cy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Gp[a]&&(c=Su(c)),this.buf.push(" ",s,'="',zf(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=$f(n).toLowerCase();Uf.hasOwnProperty(t)&&!$p.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(zf(n))}};function _y(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function by(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Wp(n);return n}function Iy(e){let n=e.firstChild;if(n&&_y(e,n))throw Wp(n);return n}function $f(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Wp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var wy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xy=/([^\#-~ |!])/g;function zf(e){return e.replace(/&/g,"&amp;").replace(wy,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(xy,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var is;function Zp(e,n){let t=null;try{is=is||fy(e);let r=n?String(n):"";t=is.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=is.getInertBodyElement(r)}while(r!==i);let a=new cu().sanitizeChildren(qf(t)||t);return ws(a)}finally{if(t){let r=qf(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function qf(e){return"content"in e&&Sy(e)?e.content:null}function Sy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var My=/^>|^->|<!--|-->|--!>|<!-$/g,Ty=/(<|>)/g,Ny="\u200B$1\u200B";function Ay(e){return e.replace(My,n=>n.replace(Ty,Ny))}function Ry(e,n){return e.createText(n)}function Oy(e,n,t){e.setValue(n,t)}function Py(e,n){return e.createComment(Ay(n))}function Qp(e,n,t){return e.createElement(n,t)}function gs(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Yp(e,n,t){e.appendChild(n,t)}function Gf(e,n,t,r,o){r!==null?gs(e,n,t,r,o):Yp(e,n,t)}function ky(e,n,t,r){e.removeChild(null,n,t,r)}function Fy(e,n,t){e.setAttribute(n,"style",t)}function Ly(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Kp(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&zv(e,n,r),o!==null&&Ly(e,n,o),i!==null&&Fy(e,n,i)}var Do=(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})(Do||{});function Vt(e){let n=Tu();return n?Hf(n.sanitize(Do.HTML,e)||""):xs(e,"HTML")?Hf(vo(e)):Zp(Fp(),mn(e))}function ve(e){let n=Tu();return n?n.sanitize(Do.URL,e)||"":xs(e,"URL")?vo(e):Su(mn(e))}function Jp(e){let n=Tu();if(n)return Bf(n.sanitize(Do.RESOURCE_URL,e)||"");if(xs(e,"ResourceURL"))return Bf(vo(e));throw new E(904,!1)}var jy=new Set(["embed","frame","iframe","media","script"]),Vy=new Set(["base","link","script"]);function Hy(e,n){return n==="src"&&jy.has(e)||n==="href"&&Vy.has(e)||n==="xlink:href"&&e==="script"?Jp:ve}function Mu(e,n,t){return Hy(n,t)(e)}function Tu(){let e=W();return e&&e[at].sanitizer}function ur(e){return e.ownerDocument.defaultView}function Xp(e){return e instanceof Function?e():e}function By(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var eg="ng-template";function Uy(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&By(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Nu(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Nu(e){return e.type===4&&e.value!==eg}function $y(e,n,t){let r=e.type===4&&!t?eg:e.value;return n===r}function zy(e,n,t){let r=4,o=e.attrs,i=o!==null?Wy(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!et(r)&&!et(c))return!1;if(s&&et(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!$y(e,c,t)||c===""&&n.length===1){if(et(r))return!1;s=!0}}else if(r&8){if(o===null||!Uy(e,o,c,t)){if(et(r))return!1;s=!0}}else{let u=n[++a],l=qy(c,o,Nu(e),t);if(l===-1){if(et(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(et(r))return!1;s=!0}}}}return et(r)||s}function et(e){return(e&1)===0}function qy(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Zy(n,e)}function Gy(e,n,t=!1){for(let r=0;r<n.length;r++)if(zy(e,n[r],t))return!0;return!1}function Wy(e){for(let n=0;n<e.length;n++){let t=e[n];if(Cp(t))return n}return e.length}function Zy(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function Wf(e,n){return e?":not("+n.trim()+")":n}function Qy(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!et(s)&&(n+=Wf(i,o),o=""),r=s,i=i||!et(r);t++}return o!==""&&(n+=Wf(i,o)),n}function Yy(e){return e.map(Qy).join(",")}function Ky(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!et(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var nt={};function Au(e,n,t,r,o,i,s,a,c,u,l){let d=Ee+r,h=d+o,g=Jy(d,h),b=typeof u=="function"?u():u;return g[M]={type:e,blueprint:g,template:t,queries:null,viewQuery:a,declTNode:n,data:g.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:b,incompleteFirstPass:!1,ssrId:l}}function Jy(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:nt);return t}function Xy(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Au(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Ru(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Je]=o,d[S]=r|4|128|8|64|1024,(u!==null||e&&e[S]&2048)&&(d[S]|=2048),Nc(d),d[pe]=d[Dn]=e,d[me]=t,d[at]=s||e&&e[at],d[te]=a||e&&e[te],d[Rt]=c||e&&e[Rt]||null,d[Ue]=i,d[Dt]=iy(),d[Kr]=l,d[xc]=u,d[$e]=n.type==2?e[$e]:d,d}function eD(e,n,t){let r=Xe(n,e),o=Xy(t),i=e[at].rendererFactory,s=Ou(e,Ru(e,o,null,tg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function tg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function ng(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ou(e,n){return e[Jn]?e[wc][Be]=n:e[Jn]=n,e[wc]=n,n}function m(e=1){rg(ut(),W(),kt()+e,!1)}function rg(e,n,t,r){if(!r)if((n[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&as(n,i,t)}else{let i=e.preOrderHooks;i!==null&&cs(n,i,0,t)}Ft(t)}var Ss=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ss||{});function uu(e,n,t,r){let o=x(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ss.SignalBased)!==0&&(c=n[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):gp(n,c,i,r)}finally{x(o)}}var dt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(dt||{}),tD;function Pu(e,n){return tD(e,n)}var zN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var lu=new WeakMap,du=new WeakSet;function nD(e,n){let t=lu.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),du.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function rD(e,n){let t=lu.get(e);t?t.includes(n)||t.push(n):lu.set(e,[n])}var xn=new Set,ku=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ku||{}),Co=new I(""),Zf=new Set;function Fu(e){Zf.has(e)||(Zf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var og=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();var oD=new I("",{factory:()=>{let e=v(re),n=new Set;return e.onDestroy(()=>n.clear()),{queue:n,isScheduled:!1,scheduler:null,injector:e}}});function ig(e,n,t){let r=e.get(oD);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function iD(e,n){for(let[t,r]of n)ig(e,r.animateFns)}function Qf(e,n,t,r){let o=e?.[Ot]?.enter;n!==null&&o&&o.has(t.index)&&iD(r,o)}function Yf(e,n,t,r){try{t.get(Zr)}catch{return r(!1)}let o=e?.[Ot],i=sD(e,n,o);if(i.size===0){let s=!1;if(e){let a=[];Ms(e,n,a),s=a.length>0}if(!s)return r(!1)}e&&xn.add(e[Dt]),ig(t,()=>aD(e,n,o||void 0,i,r),o||void 0)}function sD(e,n,t){let r=new Map,o=t?.leave;if(o&&o.has(n.index)&&r.set(n.index,o.get(n.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[M].data[i].parent;for(;c;){if(c===n){r.set(i,s);break}c=c.parent}}return r}function aD(e,n,t,r,o){let i=[];if(t&&t.leave)for(let[s]of r){if(!t.leave.has(s))continue;let a=t.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}t.detachedLeaveAnimationFns=void 0}if(e&&Ms(e,n,i),i.length>0){let s=t||e?.[Ot];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),cD(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&xn.delete(e[Dt]),o(!0)})}else e&&xn.delete(e[Dt]),o(!1)}function Ms(e,n,t){if(Ct(n)){let o=Oe(n.index,e);Kf(o,t)}else if(n.type&12){let o=e[n.index];if(ze(o))for(let i=_e;i<o.length;i++){let s=o[i];Kf(s,t)}}let r=n.child;for(;r;)Ms(e,r,t),r=r.next}function Kf(e,n){let t=e[Ot];if(t&&t.leave)for(let o of t.leave.values())for(let i of o.animateFns){let{promise:s}=i();n.push(s)}let r=e[M].firstChild;for(;r;)Ms(e,r,n),r=r.next}function cD(e,n,t){n.then(()=>{e[Ot]?.running===n&&(e[Ot].running=void 0,xn.delete(e[Dt])),t(!0)})}function rr(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;ze(o)?c=o:ct(o)&&(u=!0,o=o[Je]);let l=qe(o);e===0&&r!==null?(Qf(a,r,i,t),s==null?Yp(n,r,l):gs(n,r,l,s||null,!0)):e===1&&r!==null?(Qf(a,r,i,t),gs(n,r,l,s||null,!0),nD(i,l)):e===2?(a?.[Ot]?.leave?.has(i.index)&&rD(i,l),Yf(a,i,t,d=>{if(du.has(l)){du.delete(l);return}ky(n,l,u,d)})):e===3&&Yf(a,i,t,()=>{n.destroyNode(l)}),c!=null&&CD(n,e,t,c,i,r,s)}}function uD(e,n){sg(e,n),n[Je]=null,n[Ue]=null}function lD(e,n,t,r,o,i){r[Je]=o,r[Ue]=n,Ts(e,r,t,1,o,i)}function sg(e,n){n[at].changeDetectionScheduler?.notify(9),Ts(e,n,n[te],2,null,null)}function dD(e){let n=e[Jn];if(!n)return Qc(e[M],e);for(;n;){let t=null;if(ct(n))t=n[Jn];else{let r=n[_e];r&&(t=r)}if(!t){for(;n&&!n[Be]&&n!==e;)ct(n)&&Qc(n[M],n),n=n[pe];n===null&&(n=e),ct(n)&&Qc(n[M],n),t=n&&n[Be]}n=t}}function Lu(e,n){let t=e[Xr],r=t.indexOf(n);t.splice(r,1)}function ag(e,n){if(In(n))return;let t=n[te];t.destroyNode&&Ts(e,n,t,3,null,null),dD(n)}function Qc(e,n){if(In(n))return;let t=x(null);try{n[S]&=-129,n[S]|=256,n[Re]&&en(n[Re]),pD(e,n),fD(e,n),n[M].type===1&&n[te].destroy();let r=n[Cn];if(r!==null&&ze(n[pe])){r!==n[pe]&&Lu(r,n);let o=n[_n];o!==null&&o.detachView(e)}ru(n)}finally{x(t)}}function fD(e,n){let t=e.cleanup,r=n[Kn];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Kn]=null);let o=n[yt];if(o!==null){n[yt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Tt];if(i!==null){n[Tt]=null;for(let s of i)s.destroy()}}function pD(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof ao)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];q(j.LifecycleHookStart,a,c);try{c.call(a)}finally{q(j.LifecycleHookEnd,a,c)}}else{q(j.LifecycleHookStart,o,i);try{i.call(o)}finally{q(j.LifecycleHookEnd,o,i)}}}}}function gD(e,n,t){return hD(e,n.parent,t)}function hD(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Je];if(Ct(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===tt.None||o===tt.Emulated)return null}return Xe(r,t)}function mD(e,n,t){return yD(e,n,t)}function vD(e,n,t){return e.type&40?Xe(e,t):null}var yD=vD,Jf;function ju(e,n,t,r){let o=gD(e,r,n),i=n[te],s=r.parent||n[Ue],a=mD(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Gf(i,o,t[c],a,!1);else Gf(i,o,t,a,!1);Jf!==void 0&&Jf(i,r,n,t,o)}function io(e,n){if(n!==null){let t=n.type;if(t&3)return Xe(n,e);if(t&4)return fu(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return io(e,r);{let o=e[n.index];return ze(o)?fu(-1,o):qe(o)}}else{if(t&128)return io(e,n.next);if(t&32)return Pu(n,e)()||qe(e[n.index]);{let r=cg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Nt(e[$e]);return io(o,r)}else return io(e,n.next)}}}return null}function cg(e,n){if(n!==null){let r=e[$e][Ue],o=n.projection;return r.projection[o]}return null}function fu(e,n){let t=_e+e+1;if(t<n.length){let r=n[t],o=r[M].firstChild;if(o!==null)return io(r,o)}return n[Pt]}function Vu(e,n,t,r,o,i,s){for(;t!=null;){let a=r[Rt];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&ir(qe(c),r),t.flags|=2),!wu(t))if(u&8)Vu(e,n,t.child,r,o,i,!1),rr(n,e,a,o,c,t,i,r);else if(u&32){let l=Pu(t,r),d;for(;d=l();)rr(n,e,a,o,d,t,i,r);rr(n,e,a,o,c,t,i,r)}else u&16?DD(e,n,r,t,o,i):rr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function Ts(e,n,t,r,o,i){Vu(t,r,e.firstChild,n,o,i,!1)}function DD(e,n,t,r,o,i){let s=t[$e],c=s[Ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];rr(n,e,t[Rt],o,l,r,i,t)}else{let u=c,l=s[pe];Ap(r)&&(u.flags|=128),Vu(e,n,u,l,o,i,!0)}}function CD(e,n,t,r,o,i,s){let a=r[Pt],c=qe(r);a!==c&&rr(n,e,t,i,a,o,s);for(let u=_e;u<r.length;u++){let l=r[u];Ts(l[M],l,e,n,i,a)}}function ED(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:dt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(t,r,o,i))}}function ug(e,n,t,r,o){let i=kt(),s=r&2;try{Ft(-1),s&&n.length>Ee&&rg(e,n,Ee,!1);let a=s?j.TemplateUpdateStart:j.TemplateCreateStart;q(a,o,t),t(r,o)}finally{Ft(i);let a=s?j.TemplateUpdateEnd:j.TemplateCreateEnd;q(a,o,t)}}function Ns(e,n,t){TD(e,n,t),(t.flags&64)===64&&ND(e,n,t)}function Hu(e,n,t=Xe){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function _D(e,n,t,r){let i=r.get(jp,Lp)||t===tt.ShadowDom||t===tt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return bD(s),s}function bD(e){ID(e)}var ID=()=>null;function wD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function xD(e,n,t,r,o,i){let s=n[M];if(Uu(e,s,n,t,r)){Ct(e)&&MD(n,e.index);return}e.type&3&&(t=wD(t)),SD(e,n,t,r,o,i)}function SD(e,n,t,r,o,i){if(e.type&3){let s=Xe(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function MD(e,n){let t=Oe(n,e);t[S]&16||(t[S]|=64)}function TD(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ct(t)&&eD(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Ip(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=tu(n,e,s,t);if(ir(c,n),i!==null&&PD(n,s-r,c,a,t,i),bn(a)){let u=Oe(t.index,n);u[me]=tu(n,e,s,t)}}}function ND(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=yf();try{Ft(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];Zi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&AD(c,u)}}finally{Ft(-1),Zi(s)}}function AD(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Bu(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Gy(n,i.selectors,!1)&&(r??=[],bn(i)?r.unshift(i):r.push(i))}return r}function RD(e,n,t,r,o,i){let s=Xe(e,n);OD(n[te],s,i,e.value,t,r,o)}function OD(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?mn(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function PD(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];uu(r,t,c,u)}}function lg(e,n,t,r,o){let i=Ee+t,s=n[M],a=o(s,n,e,r,t);n[i]=a,nr(e,!0);let c=e.type===2;return c?(Kp(n[te],a,e),(rf()===0||Xn(e))&&ir(a,n),of()):ir(a,n),Xi()&&(!c||!wu(e))&&ju(s,n,a,e),e}function dg(e){let n=e;return Pc()?df():(n=n.parent,nr(n,!1)),n}function kD(e,n){let t=e[Rt];if(!t)return;let r;try{r=t.get(Ge,null)}catch{r=null}r?.(n)}function Uu(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];uu(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];uu(l,u,r,o),a=!0}return a}function FD(e,n){let t=Oe(n,e),r=t[M];LD(r,t);let o=t[Je];o!==null&&t[Kr]===null&&(t[Kr]=Vp(o,t[Rt])),q(j.ComponentStart);try{$u(r,t,t[me])}finally{q(j.ComponentEnd,t[me])}}function LD(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function $u(e,n,t){Qi(n);try{let r=e.viewQuery;r!==null&&iu(1,r,t);let o=e.template;o!==null&&ug(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[_n]?.finishViewCreation(e),e.staticContentQueries&&Hp(e,n),e.staticViewQueries&&iu(2,e.viewQuery,t);let i=e.components;i!==null&&jD(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[S]&=-5,Yi()}}function jD(e,n){for(let t=0;t<n.length;t++)FD(e,n[t])}function VD(e,n,t,r){let o=x(null);try{let i=n.tView,a=e[S]&4096?4096:16,c=Ru(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[Cn]=u;let l=e[_n];return l!==null&&(c[_n]=l.createEmbeddedView(i)),$u(i,c,t),c}finally{x(o)}}function Xf(e,n){return!n||n.firstChild===null||Ap(e)}function co(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(qe(i)),ze(i)&&fg(i,r);let s=t.type;if(s&8)co(e,n,t.child,r);else if(s&32){let a=Pu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=cg(n,t);if(Array.isArray(a))r.push(...a);else{let c=Nt(n[$e]);co(c[M],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function fg(e,n){for(let t=_e;t<e.length;t++){let r=e[t],o=r[M].firstChild;o!==null&&co(r[M],r,o,n)}e[Pt]!==e[Je]&&n.push(e[Pt])}function pg(e){if(e[Ui]!==null){for(let n of e[Ui])n.impl.addSequence(n);e[Ui].length=0}}var gg=[];function HD(e){return e[Re]??BD(e)}function BD(e){let n=gg.pop()??Object.create($D);return n.lView=e,n}function UD(e){e.lView[Re]!==e&&(e.lView=null,gg.push(e))}var $D=P(D({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{tr(e.lView)},consumerOnSignalRead(){this.lView[Re]=this}});function zD(e){let n=e[Re]??Object.create(qD);return n.lView=e,n}var qD=P(D({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Nt(e.lView);for(;n&&!hg(n[M]);)n=Nt(n);n&&Ac(n)},consumerOnSignalRead(){this.lView[Re]=this}});function hg(e){return e.type!==2}function mg(e){if(e[Tt]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Tt])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[S]&8192)}}var GD=100;function vg(e,n=0){let r=e[at].rendererFactory,o=!1;o||r.begin?.();try{WD(e,n)}finally{o||r.end?.()}}function WD(e,n){let t=kc();try{Ur(!0),pu(e,n);let r=0;for(;to(e);){if(r===GD)throw new E(103,!1);r++,pu(e,1)}}finally{Ur(t)}}function ZD(e,n,t,r){if(In(n))return;let o=n[S],i=!1,s=!1;Qi(n);let a=!0,c=null,u=null;i||(hg(e)?(u=HD(n),c=St(u)):ni()===null?(a=!1,u=zD(n),c=St(u)):n[Re]&&(en(n[Re]),n[Re]=null));try{Nc(n),hf(e.bindingStartIndex),t!==null&&ug(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let g=e.preOrderCheckHooks;g!==null&&as(n,g,null)}else{let g=e.preOrderHooks;g!==null&&cs(n,g,0,null),Wc(n,0)}if(s||QD(n),mg(n),yg(n,0),e.contentQueries!==null&&Hp(e,n),!i)if(l){let g=e.contentCheckHooks;g!==null&&as(n,g)}else{let g=e.contentHooks;g!==null&&cs(n,g,1),Wc(n,1)}KD(e,n);let d=e.components;d!==null&&Cg(n,d,0);let h=e.viewQuery;if(h!==null&&iu(2,h,r),!i)if(l){let g=e.viewCheckHooks;g!==null&&as(n,g)}else{let g=e.viewHooks;g!==null&&cs(n,g,2),Wc(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Bi]){for(let g of n[Bi])g();n[Bi]=null}i||(pg(n),n[S]&=-73)}catch(l){throw i||tr(n),l}finally{u!==null&&(Xt(u,c),a&&UD(u)),Yi()}}function yg(e,n){for(let t=Op(e);t!==null;t=Pp(t))for(let r=_e;r<t.length;r++){let o=t[r];Dg(o,n)}}function QD(e){for(let n=Op(e);n!==null;n=Pp(n)){if(!(n[S]&2))continue;let t=n[Xr];for(let r=0;r<t.length;r++){let o=t[r];Ac(o)}}}function YD(e,n,t){q(j.ComponentStart);let r=Oe(n,e);try{Dg(r,t)}finally{q(j.ComponentEnd,r[me])}}function Dg(e,n){zi(e)&&pu(e,n)}function pu(e,n){let r=e[M],o=e[S],i=e[Re],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ar(i)),s||=!1,i&&(i.dirty=!1),e[S]&=-9217,s)ZD(r,e,r.template,e[me]);else if(o&8192){let a=x(null);try{mg(e),yg(e,1);let c=r.components;c!==null&&Cg(e,c,1),pg(e)}finally{x(a)}}}function Cg(e,n,t){for(let r=0;r<n.length;r++)YD(e,n[r],t)}function KD(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Ft(~o);else{let i=o,s=t[++r],a=t[++r];vf(s,i);let c=n[i];q(j.HostBindingsUpdateStart,c);try{a(2,c)}finally{q(j.HostBindingsUpdateEnd,c)}}}}finally{Ft(-1)}}function zu(e,n){let t=kc()?64:1088;for(e[at].changeDetectionScheduler?.notify(n);e;){e[S]|=t;let r=Nt(e);if(er(e)&&!r)return e;e=r}return null}function Eg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function JD(e,n,t,r=!0){let o=n[M];if(XD(o,n,e,t),r){let s=fu(t,e),a=n[te],c=a.parentNode(e[Pt]);c!==null&&lD(o,e[Ue],a,n,c,s)}let i=n[Kr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gu(e,n){if(e.length<=_e)return;let t=_e+n,r=e[t];if(r){let o=r[Cn];o!==null&&o!==e&&Lu(o,r),n>0&&(e[t-1][Be]=r[Be]);let i=Wr(e,_e+n);uD(r[M],r);let s=i[_n];s!==null&&s.detachView(i[M]),r[pe]=null,r[Be]=null,r[S]&=-129}return r}function XD(e,n,t,r){let o=_e+r,i=t.length;r>0&&(t[o-1][Be]=n),r<i-_e?(n[Be]=t[o],Ec(t,_e+r,n)):(t.push(n),n[Be]=null),n[pe]=t;let s=n[Cn];s!==null&&t!==s&&_g(s,n);let a=n[_n];a!==null&&a.insertView(e),qi(n),n[S]|=128}function _g(e,n){let t=e[Xr],r=n[pe];if(ct(r))e[S]|=2;else{let o=r[pe][$e];n[$e]!==o&&(e[S]|=2)}t===null?e[Xr]=[n]:t.push(n)}var jt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[M];return co(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return In(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[pe];if(ze(n)){let t=n[Jr],r=t?t.indexOf(this):-1;r>-1&&(gu(n,r),Wr(t,r))}this._attachedToViewContainer=!1}ag(this._lView[M],this._lView)}onDestroy(n){Rc(this._lView,n)}markForCheck(){zu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){qi(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,vg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=er(this._lView),t=this._lView[Cn];t!==null&&!n&&Lu(t,this._lView),sg(this._lView[M],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=er(this._lView),r=this._lView[Cn];r!==null&&!t&&_g(r,this._lView),qi(this._lView)}};var Eo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=eC;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=VD(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new jt(i)}}return e})();function eC(){return bg(Se(),W())}function bg(e,n){return e.type&4?new Eo(n,e,Es(e,n)):null}function qu(e,n,t,r,o){let i=e.data[n];if(i===null)i=tC(e,n,t,r,o),mf()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=lf();i.injectorIndex=s===null?-1:s.injectorIndex}return nr(i,!0),i}function tC(e,n,t,r,o){let i=Oc(),s=Pc(),a=s?i:i&&i.parent,c=e.data[n]=rC(e,a,t,n,r,o);return nC(e,c,i,s),c}function nC(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function rC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return af()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var oC=()=>null;function ep(e,n){return oC(e,n)}var Ig=class{},As=class{},hu=class{resolveComponentFactory(n){throw new E(917,!1)}},_o=class{static NULL=new hu},Sn=class{},Rs=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>iC()}return e})();function iC(){let e=W(),n=Se(),t=Oe(n.index,e);return(ct(t)?t:e)[te]}var wg=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var us={},mu=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,us,r);return o!==us||t===us?o:this.parentInjector.get(n,t,r)}};function tp(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=uc(o,a);else if(i==2){let c=a,u=n[++s];r=uc(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Me(e,n=0){let t=W();if(t===null)return A(e,n);let r=Se();return Mp(r,t,we(e),n)}function xg(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}cC(e,n,t,a,i,c,u)}i!==null&&r!==null&&sC(t,r,i)}function sC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new E(-301,!1);r.push(n[o],i)}}function aC(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function cC(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let g=r[h];c===null&&bn(g)&&(c=g,aC(e,t,h)),Yv(Ip(t,n),e,g.type)}gC(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let g=r[h];g.providersResolver&&g.providersResolver(g)}let u=!1,l=!1,d=ng(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let g=r[h];if(t.mergedAttrs=Eu(t.mergedAttrs,g.hostAttrs),lC(e,t,n,d,g),pC(d,g,o),s!==null&&s.has(g)){let[O,Q]=s.get(g);t.directiveToIndex.set(g.type,[d,O+t.directiveStart,Q+t.directiveStart])}else(i===null||!i.has(g))&&t.directiveToIndex.set(g.type,d);g.contentQueries!==null&&(t.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(t.flags|=64);let b=g.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}uC(e,t,i)}function uC(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))np(0,n,o,r),np(1,n,o,r),op(n,r,!1);else{let i=t.get(o);rp(0,n,i,r),rp(1,n,i,r),op(n,r,!0)}}}function np(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Sg(n,i)}}function rp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Sg(n,s)}}function Sg(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function op(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Nu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function lC(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=un(o.type,!0)),s=new ao(i,bn(o),Me,null);e.blueprint[r]=s,t[r]=s,dC(e,n,r,ng(e,t,o.hostVars,nt),o)}function dC(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;fC(s)!=a&&s.push(a),s.push(t,r,i)}}function fC(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function pC(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;bn(n)&&(t[""]=e)}}function gC(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Gu(e,n,t,r,o,i,s,a){let c=n[M],u=c.consts,l=eo(u,s),d=qu(c,e,t,r,l);return i&&xg(c,n,d,eo(u,a),o),d.mergedAttrs=Eu(d.mergedAttrs,d.attrs),d.attrs!==null&&tp(d,d.attrs,!1),d.mergedAttrs!==null&&tp(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Wu(e,n){yp(e,n),Sc(n)&&e.queries.elementEnd(n)}function Zu(e){return Tg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Mg(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Tg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function hC(e,n,t){return e[n]=t}function Mn(e,n,t){if(t===nt)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function mC(e,n,t,r){let o=Mn(e,n,t);return Mn(e,n+1,r)||o}function Yc(e,n,t){return function r(o){let i=Ct(e)?Oe(e.index,n):n;zu(i,5);let s=n[me],a=ip(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=ip(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function ip(e,n,t,r){let o=x(null);try{return q(j.OutputStart,n,t),t(r)!==!1}catch(i){return kD(e,i),!1}finally{q(j.OutputEnd,n,t),x(o)}}function vC(e,n,t,r,o,i,s,a){let c=Xn(e),u=!1,l=null;if(!r&&c&&(l=DC(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Xe(e,t),h=r?r(d):d;uy(t,h,i,a);let g=o.listen(h,i,a);if(!yC(i)){let b=r?O=>r(qe(O[e.index])):e.index;Ng(b,n,t,i,a,g,!1)}}return u}function yC(e){return e.startsWith("animation")||e.startsWith("transition")}function DC(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Kn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ng(e,n,t,r,o,i,s){let a=n.firstCreatePass?nf(n):null,c=tf(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function sp(e,n,t,r,o,i){let s=n[t],a=n[M],u=a.data[t].outputs[r],d=s[u].subscribe(i);Ng(e.index,a,n,o,i,d,!0)}var vu=Symbol("BINDING");var hs=class extends _o{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=At(n);return new sr(t,this.ngModule)}};function CC(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ss.SignalBased)!==0};return o&&(i.transform=o),i})}function EC(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function _C(e,n,t){let r=n instanceof re?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new mu(t,r):t}function bC(e){let n=e.get(Sn,null);if(n===null)throw new E(407,!1);let t=e.get(wg,null),r=e.get(dn,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function IC(e,n){let t=Ag(e);return Qp(n,t,t==="svg"?Mc:t==="math"?Yd:null)}function Ag(e){return(e.selectors[0][0]||"div").toLowerCase()}var sr=class extends As{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=CC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=EC(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=Yy(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){q(j.DynamicComponentStart);let a=x(null);try{let c=this.componentDef,u=wC(r,c,s,i),l=_C(c,o||this.ngModule,n),d=bC(l),h=d.rendererFactory.createRenderer(null,c),g=r?_D(h,r,c.encapsulation,l):IC(c,h),b=s?.some(ap)||i?.some($=>typeof $!="function"&&$.bindings.some(ap)),O=Ru(null,u,null,512|tg(c),null,null,d,h,l,null,Vp(g,l,!0));O[Ee]=g,Qi(O);let Q=null;try{let $=Gu(Ee,O,2,"#host",()=>u.directiveRegistry,!0,0);Kp(h,g,$),ir(g,O),Ns(u,O,$),xu(u,$,O),Wu(u,$),t!==void 0&&SC($,this.ngContentSelectors,t),Q=Oe($.index,O),O[me]=Q[me],$u(u,O,null)}catch($){throw Q!==null&&ru(Q),ru(O),$}finally{q(j.DynamicComponentEnd),Yi()}return new ms(this.componentType,O,!!b)}finally{x(a)}}};function wC(e,n,t,r){let o=e?["ng-version","21.2.1"]:Ky(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[vu].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[vu].requiredVars;let g=l+1;h.create&&(h.targetIdx=g,(i??=[]).push(h)),h.update&&(h.targetIdx=g,(s??=[]).push(h))}}let c=[n];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=yc(d);c.push(h)}return Au(0,null,xC(i,s),1,a,c,null,null,null,[o],null)}function xC(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function ap(e){let n=e[vu].kind;return n==="input"||n==="twoWay"}var ms=class extends Ig{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=$i(t[M],Ee),this.location=Es(this._tNode,t),this.instance=Oe(this._tNode.index,t)[me],this.hostView=this.changeDetectorRef=new jt(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Uu(r,o[M],o,n,t);this.previousInputValues.set(n,t);let s=Oe(r.index,o);zu(s,1)}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function SC(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var An=(()=>{class e{static __NG_ELEMENT_ID__=MC}return e})();function MC(){let e=Se();return NC(e,W())}var TC=An,Rg=class extends TC{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Es(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){let n=_u(this._hostTNode,this._hostLView);if(Ep(n)){let t=fs(n,this._hostLView),r=ds(n),o=t[M].data[r+8];return new wn(o,t)}else return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=cp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ep(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Xf(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Fv(n),u;if(c)u=t;else{let Q=t||{};u=Q.index,r=Q.injector,o=Q.projectableNodes,i=Q.environmentInjector||Q.ngModuleRef,s=Q.directives,a=Q.bindings}let l=c?n:new sr(At(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let $=(c?d:this.parentInjector).get(re,null);$&&(i=$)}let h=At(l.componentType??{}),g=ep(this._lContainer,h?.id??null),b=g?.firstChild??null,O=l.create(d,o,b,i,s,a);return this.insertImpl(O.hostView,u,Xf(this._hostTNode,g)),O}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Jd(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[pe],u=new Rg(c,c[Ue],c[pe]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return JD(s,o,i,r),n.attachToViewContainerRef(),Ec(Kc(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=cp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=gu(this._lContainer,t);r&&(Wr(Kc(this._lContainer),t),ag(r[M],r))}detach(n){let t=this._adjustIndex(n,-1),r=gu(this._lContainer,t);return r&&Wr(Kc(this._lContainer),t)!=null?new jt(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function cp(e){return e[Jr]}function Kc(e){return e[Jr]||(e[Jr]=[])}function NC(e,n){let t,r=n[e.index];return ze(r)?t=r:(t=Eg(r,n,null,e),n[e.index]=t,Ou(n,t)),RC(t,n,e,r),new Rg(t,e,n)}function AC(e,n){let t=e[te],r=t.createComment(""),o=Xe(n,e),i=t.parentNode(o);return gs(t,i,r,t.nextSibling(o),!1),r}var RC=kC,OC=()=>!1;function PC(e,n,t){return OC(e,n,t)}function kC(e,n,t,r){if(e[Pt])return;let o;t.type&8?o=qe(r):o=AC(n,t),e[Pt]=o}var Tn=class{},Os=class{};var vs=class extends Tn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new hs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=vc(n);this._bootstrapComponents=Xp(i.bootstrap),this._r3Injector=Bc(n,t,[{provide:Tn,useValue:this},{provide:_o,useValue:this.componentFactoryResolver},...r],qr(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},ys=class extends Os{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new vs(this.moduleType,n,[])}};var uo=class extends Tn{injector;componentFactoryResolver=new hs(this);instance=null;constructor(n){super();let t=new ln([...n.providers,{provide:Tn,useValue:this},{provide:_o,useValue:this.componentFactoryResolver}],n.parent||Yr(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function bo(e,n,t=null){return new uo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var FC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=bc(!1,t.type),o=r.length>0?bo([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(A(re))})}return e})();function rt(e){return fo(()=>{let n=Og(e),t=P(D({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===bu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(FC).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||He,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Fu("NgStandalone"),Pg(t);let r=e.dependencies;return t.directiveDefs=up(r,LC),t.pipeDefs=up(r,Ld),t.id=HC(t),t})}function LC(e){return At(e)||yc(e)}function lr(e){return fo(()=>({type:e.type,bootstrap:e.bootstrap||He,declarations:e.declarations||He,imports:e.imports||He,exports:e.exports||He,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jC(e,n){if(e==null)return vn;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ss.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function VC(e){if(e==null)return vn;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Ht(e){return fo(()=>{let n=Og(e);return Pg(n),n})}function Og(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||vn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||He,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:jC(e.inputs,n),outputs:VC(e.outputs),debugInfo:null}}function Pg(e){e.features?.forEach(n=>n(e))}function up(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function HC(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function BC(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Eu(e.mergedAttrs,e.attrs);let l=e.tView=Au(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),l.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),nr(e,!1);let c=$C(t,n,e,r);Xi()&&ju(t,n,c,e),ir(c,n);let u=Eg(c,n,c,e);n[r+Ee]=u,Ou(n,u),PC(u,e,n)}function UC(e,n,t,r,o,i,s,a,c,u,l){let d=t+Ee,h;return n.firstCreatePass?(h=qu(n,d,4,s||null,a||null),Gi()&&xg(n,e,h,eo(n.consts,u),Bu),yp(n,h)):h=n.data[d],BC(h,e,n,t,r,o,i,c),Xn(h)&&Ns(n,e,h),u!=null&&Hu(e,h,l),h}function Z(e,n,t,r,o,i,s,a){let c=W(),u=ut(),l=eo(u.consts,i);return UC(c,u,e,n,t,r,o,l,void 0,s,a),Z}var $C=zC;function zC(e,n,t,r){return no(!0),n[te].createComment("")}var Qu=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Yu=new I("");function dr(e){return!!e&&typeof e.then=="function"}function Ku(e){return!!e&&typeof e.subscribe=="function"}var kg=new I("");var Ju=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=v(kg,{optional:!0})??[];injector=v(xe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=he(this.injector,o);if(dr(i))t.push(i);else if(Ku(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ps=new I("");function Fg(){Oa(()=>{let e="";throw new E(600,e)})}function Lg(e){return e.isBoundToModule}var qC=10;var fr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=v(Ge);afterRenderManager=v(og);zonelessEnabled=v(ro);rootEffectScheduler=v(ns);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=v(Lt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(t=>!t))}constructor(){v(Co,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=v(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=xe.NULL){return this._injector.get(Ae).run(()=>{q(j.BootstrapComponentStart);let s=t instanceof As;if(!this._injector.get(Ju).done){let b="";throw new E(405,b)}let c;s?c=t:c=this._injector.get(_o).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=Lg(c)?void 0:this._injector.get(Tn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,g=d.injector.get(Yu,null);return g?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),so(this.components,d),g?.unregisterApplication(h)}),this._loadComponent(d),q(j.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){q(j.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ku.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw q(j.ChangeDetectionEnd),new E(101,!1);let t=x(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,x(t),this.afterTick.next(),q(j.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<qC;){q(j.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{q(j.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!to(o))continue;let i=r&&!this.zonelessEnabled?0:1;vg(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>to(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;so(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(Ps,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>so(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function so(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Rn(e,n,t,r){let o=W(),i=Wi();if(Mn(o,i,n)){let s=ut(),a=Hc();RD(a,o,e,n,t,r)}return Rn}function C(e,n,t){let r=W(),o=Wi();if(Mn(r,o,n)){let i=ut(),s=Hc();xD(s,r,e,n,r[te],t)}return C}function lp(e,n,t,r,o){Uu(n,e,t,o?"class":"style",r)}function f(e,n,t,r){let o=W(),i=o[M],s=e+Ee,a=i.firstCreatePass?Gu(s,o,2,n,Bu,Gi(),t,r):i.data[s];if(lg(a,o,e,n,GC),Xn(a)){let c=o[M];Ns(c,o,a),xu(c,a,o)}return r!=null&&Hu(o,a),f}function p(){let e=ut(),n=Se(),t=dg(n);return e.firstCreatePass&&Wu(e,t),cf(t)&&uf(),sf(),t.classesWithoutHost!=null&&Uv(t)&&lp(e,t,W(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$v(t)&&lp(e,t,W(),t.stylesWithoutHost,!1),p}function J(e,n,t,r){return f(e,n,t,r),p(),J}var GC=(e,n,t,r,o)=>(no(!0),Qp(n[te],r,If()));function pr(e,n,t){let r=W(),o=r[M],i=e+Ee,s=o.firstCreatePass?Gu(i,r,8,"ng-container",Bu,Gi(),n,t):o.data[i];if(lg(s,r,e,"ng-container",WC),Xn(s)){let a=r[M];Ns(a,r,s),xu(a,s,r)}return t!=null&&Hu(r,s),pr}function gr(){let e=ut(),n=Se(),t=dg(n);return e.firstCreatePass&&Wu(e,t),gr}var WC=(e,n,t,r,o)=>(no(!0),Py(n[te],""));function be(){return W()}var Io="en-US";var ZC=Io;function jg(e){typeof e=="string"&&(ZC=e.toLowerCase().replace(/_/g,"-"))}function G(e,n,t){let r=W(),o=ut(),i=Se();return QC(o,r,r[te],i,e,n,t),G}function QC(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Yc(r,n,i),vC(r,e,n,s,t,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],g=l[d+1];c??=Yc(r,n,i),sp(r,n,h,g,o,c)}if(u&&u.length)for(let d of u)c??=Yc(r,n,i),sp(r,n,d,o,o,c)}}function _(e=1){return bf(e)}function On(e){let n=ff();return Kd(n,Ee+e)}function ss(e,n){return e<<17|n<<2}function Nn(e){return e>>17&32767}function YC(e){return(e&2)==2}function KC(e,n){return e&131071|n<<17}function yu(e){return e|2}function ar(e){return(e&131068)>>2}function Jc(e,n){return e&-131069|n<<2}function JC(e){return(e&1)===1}function Du(e){return e|1}function XC(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Nn(s),c=ar(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Qn(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=Nn(e[a+1]);e[r+1]=ss(h,a),h!==0&&(e[h+1]=Jc(e[h+1],r)),e[a+1]=KC(e[a+1],r)}else e[r+1]=ss(a,0),a!==0&&(e[a+1]=Jc(e[a+1],r)),a=r;else e[r+1]=ss(c,0),a===0?a=r:e[c+1]=Jc(e[c+1],r),c=r;u&&(e[r+1]=yu(e[r+1])),dp(e,l,r,!0),dp(e,l,r,!1),eE(n,l,e,r,i),s=ss(a,c),i?n.classBindings=s:n.styleBindings=s}function eE(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Qn(i,n)>=0&&(t[r+1]=Du(t[r+1]))}function dp(e,n,t,r){let o=e[t+1],i=n===null,s=r?Nn(o):ar(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];tE(c,n)&&(a=!0,e[s+1]=r?Du(u):yu(u)),s=r?Nn(u):ar(u)}a&&(e[t+1]=r?yu(o):Du(o))}function tE(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Qn(e,n)>=0:!1}function wo(e,n,t){return Vg(e,n,t,!1),wo}function xo(e,n){return Vg(e,n,null,!0),xo}function Vg(e,n,t,r){let o=W(),i=ut(),s=Fc(2);if(i.firstUpdatePass&&rE(i,e,s,r),n!==nt&&Mn(o,s,n)){let a=i.data[kt()];cE(i,a,o,o[te],e,o[s+1]=uE(n,t),r,s)}}function nE(e,n){return n>=e.expandoStartIndex}function rE(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[kt()],s=nE(e,t);lE(i,r)&&n===null&&!s&&(n=!1),n=oE(o,i,n,r),XC(o,i,n,t,s,r)}}function oE(e,n,t,r){let o=Df(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Xc(null,e,n,t,r),t=lo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Xc(o,e,n,t,r),i===null){let c=iE(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Xc(null,e,n,c[1],r),c=lo(c,n.attrs,r),sE(e,n,r,c))}else i=aE(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function iE(e,n,t){let r=t?n.classBindings:n.styleBindings;if(ar(r)!==0)return e[Nn(r)]}function sE(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Nn(o)]=r}function aE(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=lo(r,s,t)}return lo(r,n.attrs,t)}function Xc(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=lo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function lo(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ud(e,s,t?!0:n[++i]))}return e===void 0?null:e}function cE(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=JC(u)?fp(c,n,t,o,ar(u),s):void 0;if(!Ds(l)){Ds(i)||YC(u)&&(i=fp(c,null,t,o,a,s));let d=Tc(kt(),t);ED(r,s,d,o,i)}}function fp(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===nt&&(h=d?He:void 0);let g=d?Hi(h,r):l===r?h:void 0;if(u&&!Ds(g)&&(g=Hi(c,r)),Ds(g)&&(a=g,s))return a;let b=e[o+1];o=s?Nn(b):ar(b)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Hi(c,r))}return a}function Ds(e){return e!==void 0}function uE(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=qr(vo(e)))),e}function lE(e,n){return(e.flags&(n?8:16))!==0}function y(e,n=""){let t=W(),r=ut(),o=e+Ee,i=r.firstCreatePass?qu(r,o,1,n,null):r.data[o],s=dE(r,t,i,n);t[o]=s,Xi()&&ju(r,t,s,i),nr(i,!1)}var dE=(e,n,t,r)=>(no(!0),Ry(n[te],r));function fE(e,n,t,r=""){return Mn(e,Wi(),t)?n+mn(t)+r:nt}function pE(e,n,t,r,o,i=""){let s=gf(),a=mC(e,s,t,o);return Fc(2),a?n+mn(t)+r+mn(o)+i:nt}function V(e){return se("",e),V}function se(e,n,t){let r=W(),o=fE(r,e,n,t);return o!==nt&&Hg(r,kt(),o),se}function Bt(e,n,t,r,o){let i=W(),s=pE(i,e,n,t,r,o);return s!==nt&&Hg(i,kt(),s),Bt}function Hg(e,n,t){let r=Tc(n,e);Oy(e[te],r,t)}function Ut(e,n,t){return hE(W(),pf(),e,n,t)}function gE(e,n){let t=e[n];return t===nt?void 0:t}function hE(e,n,t,r,o,i){let s=n+t;return Mn(e,s,o)?hC(e,s+1,i?r.call(i,o):r(o)):gE(e,s+1)}function So(e,n){return bg(e,n)}var Cs=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Xu=(()=>{class e{compileModuleSync(t){return new ys(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=vc(t),i=Xp(o.declarations).reduce((s,a)=>{let c=At(a);return c&&s.push(new sr(c)),s},[]);return new Cs(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bg=(()=>{class e{applicationErrorHandler=v(Ge);appRef=v(fr);taskService=v(Lt);ngZone=v(Ae);zonelessEnabled=v(ro);tracing=v(Co,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get($r):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(Gc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Mf:Uc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get($r+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ug(){return[{provide:dn,useExisting:Bg},{provide:Ae,useClass:zr},{provide:ro,useValue:!0}]}function mE(){return typeof $localize<"u"&&$localize.locale||Io}var ks=new I("",{factory:()=>v(ks,{optional:!0,skipSelf:!0})||mE()});function ee(e){return Rd(e)}function Te(e,n){return ri(e,n?.equal)}var vE=e=>e;function el(e,n){if(typeof e=="function"){let t=Ya(e,vE,n?.equal);return $g(t,n?.debugName)}else{let t=Ya(e.source,e.computation,e.equal);return $g(t,e.debugName)}}function $g(e,n){let t=e[ce],r=e;return r.set=o=>Nd(t,o),r.update=o=>Ad(t,o),r.asReadonly=es.bind(e),r}var Zg=Symbol("InputSignalNode#UNSET"),UE=P(D({},ii),{transformFn:void 0,applyValueToInputSignal(e,n){tn(e,n)}});function Qg(e,n){let t=Object.create(UE);t.value=e,t.transformFn=n?.transform;function r(){if(Kt(t),t.value===Zg){let o=null;throw new E(-950,o)}return t.value}return r[ce]=t,r}var Ls=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>go(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function zg(e,n){return Qg(e,n)}function $E(e){return Qg(Zg,e)}var Yg=(zg.required=$E,zg);var tl=new I(""),zE=new I("");function Mo(e){return!e.moduleRef}function qE(e){let n=Mo(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Ae);return t.run(()=>{Mo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Ge),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Mo(e)){let i=()=>n.destroy(),s=e.platformInjector.get(tl);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(tl);s.add(i),e.moduleRef.onDestroy(()=>{so(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return WE(r,t,()=>{let i=n.get(Lt),s=i.add(),a=n.get(Ju);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(ks,Io);if(jg(c||Io),!n.get(zE,!0))return Mo(e)?n.get(fr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mo(e)){let l=n.get(fr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return GE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var GE;function WE(e,n,t){try{let r=t();return dr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Fs=null;function ZE(e=[],n){return xe.create({name:n,providers:[{provide:Qr,useValue:"platform"},{provide:tl,useValue:new Set([()=>Fs=null])},...e]})}function QE(e=[]){if(Fs)return Fs;let n=ZE(e);return Fs=n,Fg(),YE(n),n}function YE(e){let n=e.get(bs,null);he(e,()=>{n?.forEach(t=>t())})}var KE=1e4;var bF=KE-1e3;var Hs=(()=>{class e{static __NG_ELEMENT_ID__=JE}return e})();function JE(e){return XE(Se(),W(),(e&16)===16)}function XE(e,n,t){if(Ct(e)&&!t){let r=Oe(e.index,n);return new jt(r,r)}else if(e.type&175){let r=n[$e];return new jt(r,n)}return null}var nl=class{supports(n){return Zu(n)}create(n){return new rl(n)}},e_=(e,n)=>n,rl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||e_}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<qg(r,o,i)?t:r,a=qg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let g=h<i.length?i[h]:i[h]=0,b=g+h;l<=b&&b<u&&(i[h]=g+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!Zu(n))throw new E(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Mg(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new ol(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new js),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new js),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},ol=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},il=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},js=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new il,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function qg(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function Gg(){return new sl([new nl])}var sl=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:Gg});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=v(e,{optional:!0,skipSelf:!0});return e.create(t,r||Gg())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();function Kg(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;q(j.BootstrapApplicationStart);try{let i=o?.injector??QE(r),s=[Ug(),Nf,...t||[]],a=new uo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return qE({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{q(j.BootstrapApplicationEnd)}}function Bs(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Jg=null;function _t(){return Jg}function al(e){Jg??=e}var To=class{},Us=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(Xg),providedIn:"platform"})}return e})();var Xg=(()=>{class e extends Us{_location;_history;_doc=v(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _t().getBaseHref(this._doc)}onPopState(t){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function nh(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function eh(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function $t(e){return e&&e[0]!=="?"?`?${e}`:e}var hr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(n_),providedIn:"root"})}return e})(),t_=new I(""),n_=(()=>{class e extends hr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??v(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return nh(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+$t(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+$t(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+$t(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(A(Us),A(t_,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mr=(()=>{class e{_subject=new le;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=i_(eh(th(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+$t(r))}normalize(t){return e.stripTrailingSlash(o_(this._basePath,th(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$t(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$t(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=$t;static joinWithSlash=nh;static stripTrailingSlash=eh;static \u0275fac=function(r){return new(r||e)(A(hr))};static \u0275prov=w({token:e,factory:()=>r_(),providedIn:"root"})}return e})();function r_(){return new mr(A(hr))}function o_(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function th(e){return e.replace(/\/index.html$/,"")}function i_(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $s=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},zt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new $s(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),rh(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);rh(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(Me(An),Me(Eo),Me(sl))};static \u0275dir=Ht({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function rh(e,n){e.context.$implicit=n.item}var No=(()=>{class e{_viewContainer;_context=new zs;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){oh(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){oh(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(Me(An),Me(Eo))};static \u0275dir=Ht({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),zs=class{$implicit=null;ngIf=null};function oh(e,n){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}var qt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=lr({type:e});static \u0275inj=gn({})}return e})();function cl(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Ao=class{};var ih="browser";var Ro=class{_doc;constructor(n){this._doc=n}manager},Gs=(()=>{class e extends Ro{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(A(oe))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Qs=new I(""),fl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Gs));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Gs);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(A(Qs),A(Ae))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),ul="ng-app-id";function sh(e){for(let n of e)n.remove()}function ah(e,n){let t=n.createElement("style");return t.textContent=e,t}function s_(e,n,t,r){let o=e.head?.querySelectorAll(`style[${ul}="${n}"],link[${ul}="${n}"]`);if(o)for(let i of o)i.removeAttribute(ul),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function dl(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var pl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,s_(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,ah);r?.forEach(o=>this.addUsage(o,this.external,dl))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(sh(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])sh(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,ah(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,dl(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(A(oe),A(_s),A(Is,8),A(mo))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),ll={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"},gl=/%COMP%/g;var uh="%COMP%",a_=`_nghost-${uh}`,c_=`_ngcontent-${uh}`,u_=!0,l_=new I("",{factory:()=>u_});function d_(e){return c_.replace(gl,e)}function f_(e){return a_.replace(gl,e)}function lh(e,n){return n.map(t=>t.replace(gl,e))}var hl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Oo(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Zs?o.applyToHost(t):o instanceof Po&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case tt.Emulated:i=new Zs(c,u,r,this.appId,l,s,a,d);break;case tt.ShadowDom:return new Ws(c,t,r,s,a,this.nonce,d,u);case tt.ExperimentalIsolatedShadowDom:return new Ws(c,t,r,s,a,this.nonce,d);default:i=new Po(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(A(fl),A(pl),A(_s),A(l_),A(oe),A(Ae),A(Is),A(Co,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Oo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(ll[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(ch(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(ch(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=ll[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=ll[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(dt.DashCase|dt.Important)?n.style.setProperty(t,r,o&dt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&dt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=_t().getGlobalEventTarget(this.doc,n),!n))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function ch(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ws=class extends Oo{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=lh(r.id,u);for(let d of u){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let l=r.getExternalStyles?.();if(l)for(let d of l){let h=dl(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Po=class extends Oo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?lh(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Zs=class extends Po{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=d_(u),this.hostAttr=f_(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ys=class e extends To{supportsDOMEvents=!0;static makeCurrent(){al(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=p_();return t==null?null:g_(t)}resetBaseElement(){ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return cl(document.cookie,n)}},ko=null;function p_(){return ko=ko||document.head.querySelector("base"),ko?ko.getAttribute("href"):null}function g_(e){return new URL(e,document.baseURI).pathname}var h_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),dh=["alt","control","meta","shift"],m_={"\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"},v_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},fh=(()=>{class e extends Ro{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_t().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),dh.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=m_[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dh.forEach(s=>{if(s!==o){let a=v_[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(A(oe))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();async function ml(e,n,t){let r=D({rootComponent:e},y_(n,t));return Kg(r)}function y_(e,n){return{platformRef:n?.platformRef,appProviders:[...b_,...e?.providers??[]],platformProviders:__}}function D_(){Ys.makeCurrent()}function C_(){return new st}function E_(){return Iu(document),document}var __=[{provide:mo,useValue:ih},{provide:bs,useValue:D_,multi:!0},{provide:oe,useFactory:E_}];var b_=[{provide:Qr,useValue:"root"},{provide:st,useFactory:C_},{provide:Qs,useClass:Gs,multi:!0},{provide:Qs,useClass:fh,multi:!0},hl,pl,fl,{provide:Sn,useExisting:hl},{provide:Ao,useClass:h_},[]];var ph=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(A(oe))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var T="primary",Qo=Symbol("RouteTitle"),El=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function kn(e){return new El(e)}function vl(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function Eh(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return vl(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!vl(i,e.slice(0,i.length),a)||!vl(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function na(e){return new Promise((n,t)=>{e.pipe(vt()).subscribe({next:r=>n(r),error:r=>t(r)})})}function w_(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!ft(e[t],n[t]))return!1;return!0}function ft(e,n){let t=e?_l(e):void 0,r=n?_l(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!_h(e[o],n[o]))return!1;return!0}function _l(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function _h(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function x_(e){return e.length>0?e[e.length-1]:null}function jn(e){return bi(e)?e:dr(e)?ne(Promise.resolve(e)):k(e)}function bh(e){return bi(e)?na(e):Promise.resolve(e)}var S_={exact:xh,subset:Sh},Ih={exact:M_,subset:T_,ignored:()=>!0},wh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function gh(e,n,t){return S_[t.paths](e.root,n.root,t.matrixParams)&&Ih[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function M_(e,n){return ft(e,n)}function xh(e,n,t){if(!Pn(e.segments,n.segments)||!Xs(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!xh(e.children[r],n.children[r],t))return!1;return!0}function T_(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>_h(e[t],n[t]))}function Sh(e,n,t){return Mh(e,n,n.segments,t)}function Mh(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!Pn(o,t)||n.hasChildren()||!Xs(o,t,r))}else if(e.segments.length===t.length){if(!Pn(e.segments,t)||!Xs(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Sh(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Pn(e.segments,o)||!Xs(e.segments,o,r)||!e.children[T]?!1:Mh(e.children[T],n,i,r)}}function Xs(e,n,t){return n.every((r,o)=>Ih[t](e[o].parameters,r.parameters))}var Fe=class{root;queryParams;fragment;_queryParamMap;constructor(n=new H([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=kn(this.queryParams),this._queryParamMap}toString(){return R_.serialize(this)}},H=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ea(this)}},Gt=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=kn(this.parameters),this._parameterMap}toString(){return Nh(this)}};function N_(e,n){return Pn(e,n)&&e.every((t,r)=>ft(t.parameters,n[r].parameters))}function Pn(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function A_(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===T&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==T&&(t=t.concat(n(o,r)))}),t}var wr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new Wt,providedIn:"root"})}return e})(),Wt=class{parse(n){let t=new wl(n);return new Fe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Fo(n.root,!0)}`,r=k_(n.queryParams),o=typeof n.fragment=="string"?`#${O_(n.fragment)}`:"";return`${t}${r}${o}`}},R_=new Wt;function ea(e){return e.segments.map(n=>Nh(n)).join("/")}function Fo(e,n){if(!e.hasChildren())return ea(e);if(n){let t=e.children[T]?Fo(e.children[T],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==T&&r.push(`${o}:${Fo(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=A_(e,(r,o)=>o===T?[Fo(e.children[T],!1)]:[`${o}:${Fo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[T]!=null?`${ea(e)}/${t[0]}`:`${ea(e)}/(${t.join("//")})`}}function Th(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ks(e){return Th(e).replace(/%3B/gi,";")}function O_(e){return encodeURI(e)}function Il(e){return Th(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ta(e){return decodeURIComponent(e)}function hh(e){return ta(e.replace(/\+/g,"%20"))}function Nh(e){return`${Il(e.path)}${P_(e.parameters)}`}function P_(e){return Object.entries(e).map(([n,t])=>`;${Il(n)}=${Il(t)}`).join("")}function k_(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Ks(t)}=${Ks(o)}`).join("&"):`${Ks(t)}=${Ks(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var F_=/^[^\/()?;#]+/;function yl(e){let n=e.match(F_);return n?n[0]:""}var L_=/^[^\/()?;=#]+/;function j_(e){let n=e.match(L_);return n?n[0]:""}var V_=/^[^=?&#]+/;function H_(e){let n=e.match(V_);return n?n[0]:""}var B_=/^[^&#]+/;function U_(e){let n=e.match(B_);return n?n[0]:""}var wl=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new E(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[T]=new H(t,r)),o}parseSegment(){let n=yl(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new Gt(ta(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=j_(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=yl(this.remaining);o&&(r=o,this.capture(r))}n[ta(t)]=ta(r)}parseQueryParam(n){let t=H_(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=U_(this.remaining);s&&(r=s,this.capture(r))}let o=hh(t),i=hh(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=yl(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=T);let a=this.parseChildren(t+1);r[s??T]=Object.keys(a).length===1&&a[T]?a[T]:new H([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Ah(e){return e.segments.length>0?new H([],{[T]:e}):e}function Rh(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=Rh(o);if(r===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new H(e.segments,n);return $_(t)}function $_(e){if(e.numberOfChildren===1&&e.children[T]){let n=e.children[T];return new H(e.segments.concat(n.segments),n.children)}return e}function Zt(e){return e instanceof Fe}function Oh(e,n,t=null,r=null,o=new Wt){let i=Ph(e);return kh(i,n,t,r,o)}function Ph(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new H(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Ah(r);return n??o}function kh(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return Dl(i,i,i,t,r,o);let s=z_(n);if(s.toRoot())return Dl(i,i,new H([],{}),t,r,o);let a=q_(s,i,e),c=a.processChildren?jo(a.segmentGroup,a.index,s.commands):Lh(a.segmentGroup,a.index,s.commands);return Dl(i,a.segmentGroup,c,t,r,o)}function ra(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Bo(e){return typeof e=="object"&&e!=null&&e.outlets}function mh(e,n,t){e||="\u0275";let r=new Fe;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function Dl(e,n,t,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>mh(u,d,i)):mh(u,l,i);let a;e===n?a=t:a=Fh(e,n,t);let c=Ah(Rh(a));return new Fe(c,s,o)}function Fh(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Fh(i,n,t)}),new H(e.segments,r)}var oa=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ra(r[0]))throw new E(4003,!1);let o=r.find(Bo);if(o&&o!==x_(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function z_(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new oa(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new oa(t,n,r)}var yr=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function q_(e,n,t){if(e.isAbsolute)return new yr(n,!0,0);if(!t)return new yr(n,!1,NaN);if(t.parent===null)return new yr(t,!0,0);let r=ra(e.commands[0])?0:1,o=t.segments.length-1+r;return G_(t,o,e.numberOfDoubleDots)}function G_(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new yr(r,!1,o-i)}function W_(e){return Bo(e[0])?e[0].outlets:{[T]:e}}function Lh(e,n,t){if(e??=new H([],{}),e.segments.length===0&&e.hasChildren())return jo(e,n,t);let r=Z_(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new H(e.segments.slice(0,r.pathIndex),{});return i.children[T]=new H(e.segments.slice(r.pathIndex),e.children),jo(i,0,o)}else return r.match&&o.length===0?new H(e.segments,{}):r.match&&!e.hasChildren()?xl(e,n,t):r.match?jo(e,0,o):xl(e,n,t)}function jo(e,n,t){if(t.length===0)return new H(e.segments,{});{let r=W_(t),o={};if(Object.keys(r).some(i=>i!==T)&&e.children[T]&&e.numberOfChildren===1&&e.children[T].segments.length===0){let i=jo(e.children[T],n,t);return new H(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Lh(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new H(e.segments,o)}}function Z_(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(Bo(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!yh(c,u,s))return i;r+=2}else{if(!yh(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function xl(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(Bo(i)){let c=Q_(i.outlets);return new H(r,c)}if(o===0&&ra(t[0])){let c=e.segments[n];r.push(new Gt(c.path,vh(t[0]))),o++;continue}let s=Bo(i)?i.outlets[T]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&ra(a)?(r.push(new Gt(s,vh(a))),o+=2):(r.push(new Gt(s,{})),o++)}return new H(r,{})}function Q_(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=xl(new H([],{}),0,r))}),n}function vh(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function yh(e,n,t){return e==t.path&&ft(n,t.parameters)}var Vo="imperative",ae=(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})(ae||{}),Le=class{id;url;constructor(n,t){this.id=n,this.url=t}},Fn=class extends Le{type=ae.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},gt=class extends Le{urlAfterRedirects;type=ae.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ye=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(ye||{}),Uo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Uo||{}),Ze=class extends Le{reason;code;type=ae.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function jh(e){return e instanceof Ze&&(e.code===ye.Redirect||e.code===ye.SupersededByNewNavigation)}var It=class extends Le{reason;code;type=ae.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Ln=class extends Le{error;target;type=ae.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},$o=class extends Le{urlAfterRedirects;state;type=ae.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ia=class extends Le{urlAfterRedirects;state;type=ae.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sa=class extends Le{urlAfterRedirects;state;shouldActivate;type=ae.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},aa=class extends Le{urlAfterRedirects;state;type=ae.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ca=class extends Le{urlAfterRedirects;state;type=ae.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ua=class{route;type=ae.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},la=class{route;type=ae.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},da=class{snapshot;type=ae.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fa=class{snapshot;type=ae.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pa=class{snapshot;type=ae.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ga=class{snapshot;type=ae.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Cr=class{},zo=class{},Er=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Y_(e){return!(e instanceof Cr)&&!(e instanceof Er)&&!(e instanceof zo)}var ha=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new xr(this.rootInjector)}},xr=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new ha(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(A(re))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ma=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Sl(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Sl(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Ml(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Ml(n,this._root).map(t=>t.value)}};function Sl(e,n){if(e===n.value)return n;for(let t of n.children){let r=Sl(e,t);if(r)return r}return null}function Ml(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Ml(e,t);if(r.length)return r.unshift(n),r}return[]}var ke=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function vr(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var qo=class extends ma{snapshot;constructor(n,t){super(n),this.snapshot=t,Ll(this,n)}toString(){return this.snapshot.toString()}};function Vh(e,n){let t=K_(e,n),r=new de([new Gt("",{})]),o=new de({}),i=new de({}),s=new de({}),a=new de(""),c=new je(r,o,s,a,i,T,e,t.root);return c.snapshot=t.root,new qo(new ke(c,[]),t)}function K_(e,n){let t={},r={},o={},s=new _r([],t,o,"",r,T,e,null,{},n);return new Go("",new ke(s,[]))}var je=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(X(u=>u[Qo]))??k(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(X(n=>kn(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(n=>kn(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Fl(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:D(D({},n.params),e.params),data:D(D({},n.data),e.data),resolve:D(D(D(D({},e.data),n.data),o?.data),e._resolvedData)}:r={params:D({},e.params),data:D({},e.data),resolve:D(D({},e.data),e._resolvedData??{})},o&&Bh(o)&&(r.resolve[Qo]=o.title),r}var _r=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Qo]}constructor(n,t,r,o,i,s,a,c,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}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??=kn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kn(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Go=class extends ma{url;constructor(n,t){super(t),this.url=n,Ll(this,t)}toString(){return Hh(this._root)}};function Ll(e,n){n.value._routerState=e,n.children.forEach(t=>Ll(e,t))}function Hh(e){let n=e.children.length>0?` { ${e.children.map(Hh).join(", ")} } `:"";return`${e.value}${n}`}function Cl(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ft(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ft(n.params,t.params)||e.paramsSubject.next(t.params),w_(n.url,t.url)||e.urlSubject.next(t.url),ft(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Tl(e,n){let t=ft(e.params,n.params)&&N_(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Tl(e.parent,n.parent))}function Bh(e){return typeof e.title=="string"||e.title===null}var Uh=new I(""),Yo=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=T;activateEvents=new Ce;deactivateEvents=new Ce;attachEvents=new Ce;detachEvents=new Ce;routerOutletData=Yg();parentContexts=v(xr);location=v(An);changeDetector=v(Hs);inputBinder=v(Ca,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Nl(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ht({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[cr]})}return e})(),Nl=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===je?this.route:n===xr?this.childContexts:n===Uh?this.outletData:this.parent.get(n,t)}},Ca=new I("");var jl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=rt({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&J(0,"router-outlet")},dependencies:[Yo],encapsulation:2})}return e})();function Vl(e){let n=e.children&&e.children.map(Vl),t=n?P(D({},e),{children:n}):D({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==T&&(t.component=jl),t}function J_(e,n,t){let r=Wo(e,n._root,t?t._root:void 0);return new qo(r,n)}function Wo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=X_(e,n,t);return new ke(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Wo(e,a)),s}}let r=eb(n.value),o=n.children.map(i=>Wo(e,i));return new ke(r,o)}}function X_(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Wo(e,r,o);return Wo(e,r)})}function eb(e){return new je(new de(e.url),new de(e.params),new de(e.queryParams),new de(e.fragment),new de(e.data),e.outlet,e.component,e)}var br=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},$h="ngNavigationCancelingError";function va(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Zt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=zh(!1,ye.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function zh(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[$h]=!0,t.cancellationCode=n,t}function tb(e){return qh(e)&&Zt(e.url)}function qh(e){return!!e&&e[$h]}var Al=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Cl(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=vr(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=vr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=vr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=vr(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ga(i.value.snapshot))}),n.children.length&&this.forwardEvent(new fa(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(Cl(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Cl(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},ya=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Dr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function nb(e,n,t){let r=e._root,o=n?n._root:null;return Lo(r,o,t,[r.value])}function rb(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Sr(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!dc(e)?e:n.get(e):r}function Lo(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=vr(n);return e.children.forEach(s=>{ob(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ho(a,t.getContext(s),o)),o}function ob(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=ib(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ya(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Lo(e,n,a?a.children:null,r,o):Lo(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Dr(a.outlet.component,s))}else s&&Ho(n,a,o),o.canActivateChecks.push(new ya(r)),i.component?Lo(e,null,a?a.children:null,r,o):Lo(e,null,t,r,o);return o}function ib(e,n,t){if(typeof t=="function")return he(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!Pn(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Pn(e.url,n.url)||!ft(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Tl(e,n)||!ft(e.queryParams,n.queryParams);default:return!Tl(e,n)}}function Ho(e,n,t){let r=vr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ho(s,n.children.getContext(i),t):Ho(s,null,t):Ho(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Dr(n.outlet.component,o)):t.canDeactivateChecks.push(new Dr(null,o)):t.canDeactivateChecks.push(new Dr(null,o))}function Ko(e){return typeof e=="function"}function sb(e){return typeof e=="boolean"}function ab(e){return e&&Ko(e.canLoad)}function cb(e){return e&&Ko(e.canActivate)}function ub(e){return e&&Ko(e.canActivateChild)}function lb(e){return e&&Ko(e.canDeactivate)}function db(e){return e&&Ko(e.canMatch)}function Gh(e){return e instanceof sn||e?.name==="EmptyError"}var Js=Symbol("INITIAL_VALUE");function Ir(){return Ke(e=>Ga(e.map(n=>n.pipe(mt(1),Za(Js)))).pipe(X(n=>{for(let t of n)if(t!==!0){if(t===Js)return Js;if(t===!1||fb(t))return t}return!0}),ht(n=>n!==Js),mt(1)))}function fb(e){return Zt(e)||e instanceof br}function Wh(e){return e.aborted?k(void 0).pipe(mt(1)):new L(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function Zh(e){return jr(Wh(e))}function pb(e){return De(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?k(P(D({},n),{guardsResult:!0})):gb(i,t,r).pipe(De(s=>s&&sb(s)?hb(t,o,e):k(s)),X(s=>P(D({},n),{guardsResult:s})))})}function gb(e,n,t){return ne(e).pipe(De(r=>Cb(r.component,r.route,t,n)),vt(r=>r!==!0,!0))}function hb(e,n,t){return ne(n).pipe(Ii(r=>Gn(vb(r.route.parent,t),mb(r.route,t),Db(e,r.path),yb(e,r.route))),vt(r=>r!==!0,!0))}function mb(e,n){return e!==null&&n&&n(new pa(e)),k(!0)}function vb(e,n){return e!==null&&n&&n(new da(e)),k(!0)}function yb(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return k(!0);let r=t.map(o=>Fr(()=>{let i=n._environmentInjector,s=Sr(o,i),a=cb(s)?s.canActivate(n,e):he(i,()=>s(n,e));return jn(a).pipe(vt())}));return k(r).pipe(Ir())}function Db(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>rb(i)).filter(i=>i!==null).map(i=>Fr(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=Sr(a,c),l=ub(u)?u.canActivateChild(t,e):he(c,()=>u(t,e));return jn(l).pipe(vt())});return k(s).pipe(Ir())}));return k(o).pipe(Ir())}function Cb(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Sr(s,a),u=lb(c)?c.canDeactivate(e,n,t,r):he(a,()=>c(e,n,t,r));return jn(u).pipe(vt())});return k(i).pipe(Ir())}function Eb(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return k(!0);let s=i.map(a=>{let c=Sr(a,e),u=ab(c)?c.canLoad(n,t):he(e,()=>c(n,t)),l=jn(u);return o?l.pipe(Zh(o)):l});return k(s).pipe(Ir(),Qh(r))}function Qh(e){return Ua(Ve(n=>{if(typeof n!="boolean")throw va(e,n)}),X(n=>n===!0))}function _b(e,n,t,r,o,i){let s=n.canMatch;if(!s||s.length===0)return k(!0);let a=s.map(c=>{let u=Sr(c,e),l=db(u)?u.canMatch(n,t,o):he(e,()=>u(n,t,o));return jn(l).pipe(Zh(i))});return k(a).pipe(Ir(),Qh(r))}var bt=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},Zo=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function bb(e){throw new E(4e3,!1)}function Ib(e){throw zh(!1,ye.GuardRejected)}var Rl=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}async lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[T])throw bb(`${n.redirectTo}`);o=o.children[T]}}async applyRedirectCommands(n,t,r,o,i){let s=await wb(t,o,i);if(s instanceof Fe)throw new Zo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Zo(a);return a}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Fe(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new H(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function wb(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e;return na(jn(he(t,()=>r(n))))}function xb(e,n){return e.providers&&!e._injector&&(e._injector=bo(e.providers,n,`Route: ${e.path}`)),e._injector??n}function pt(e){return e.outlet||T}function Sb(e,n){let t=e.filter(r=>pt(r)===n);return t.push(...e.filter(r=>pt(r)!==n)),t}var Ol={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yh(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function Mb(e,n,t,r,o,i,s){let a=Kh(e,n,t);if(!a.matched)return k(a);let c=Yh(i(a));return r=xb(n,r),_b(r,n,t,o,c,s).pipe(X(u=>u===!0?a:D({},Ol)))}function Kh(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?D({},Ol):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Eh)(t,e,n);if(!o)return D({},Ol);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Dh(e,n,t,r){return t.length>0&&Ab(e,t,r)?{segmentGroup:new H(n,Nb(r,new H(t,e.children))),slicedSegments:[]}:t.length===0&&Rb(e,t,r)?{segmentGroup:new H(e.segments,Tb(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new H(e.segments,e.children),slicedSegments:t}}function Tb(e,n,t,r){let o={};for(let i of t)if(Ea(e,n,i)&&!r[pt(i)]){let s=new H([],{});o[pt(i)]=s}return D(D({},r),o)}function Nb(e,n){let t={};t[T]=n;for(let r of e)if(r.path===""&&pt(r)!==T){let o=new H([],{});t[pt(r)]=o}return t}function Ab(e,n,t){return t.some(r=>Ea(e,n,r)&&pt(r)!==T)}function Rb(e,n,t){return t.some(r=>Ea(e,n,r))}function Ea(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function Ob(e,n,t){return n.length===0&&!e.children[t]}var Pl=class{};async function Pb(e,n,t,r,o,i,s="emptyOnly",a){return new kl(e,n,t,r,o,s,i,a).recognize()}var kb=31,kl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Rl(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}async recognize(){let n=Dh(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=await this.match(n),o=new ke(r,t),i=new Go("",o),s=Oh(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let t=new _r([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,T,t),rootSnapshot:t}}catch(r){if(r instanceof Zo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof bt?this.noMatchError(r):r}}async processSegmentGroup(n,t,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=await this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof ke?[s]:[]}async processChildren(n,t,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=Sb(t,c),d=await this.processSegmentGroup(n,l,u,c,o);s.push(...d)}let a=Jh(s);return Fb(a),a}async processSegment(n,t,r,o,i,s,a){for(let c of t)try{return await this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(u){if(u instanceof bt||Gh(u))continue;throw u}if(Ob(r,o,i))return new Pl;throw new bt(r)}async processSegmentAgainstRoute(n,t,r,o,i,s,a,c){if(pt(r)!==s&&(s===T||!Ea(o,i,r)))throw new bt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new bt(o)}async expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Kh(t,o,i);if(!c)throw new bt(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>kb&&(this.allowRedirects=!1));let g=this.createSnapshot(n,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let b=await this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,Yh(g),n),O=await this.applyRedirects.lineralizeSegments(o,b);return this.processSegment(n,r,t,O.concat(h),s,!1,a)}createSnapshot(n,t,r,o,i){let s=new _r(r,o,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,jb(t),pt(t),t.component??t._loadedComponent??null,t,Vb(t),n),a=Fl(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,t,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=ei=>this.createSnapshot(n,r,ei.consumedSegments,ei.parameters,s),c=await na(Mb(t,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(t.children={}),!c?.matched)throw new bt(t);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,o),l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:g}=c,b=this.createSnapshot(n,r,h,d,s),{segmentGroup:O,slicedSegments:Q}=Dh(t,h,g,u);if(Q.length===0&&O.hasChildren()){let ei=await this.processChildren(l,u,O,b);return new ke(b,ei)}if(u.length===0&&Q.length===0)return new ke(b,[]);let $=pt(r)===i,Nr=await this.processSegment(l,u,O,Q,$?T:i,!0,b);return new ke(b,Nr instanceof ke?[Nr]:[])}async getChildConfig(n,t,r){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await na(Eb(n,t,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw Ib(t)}return{routes:[],injector:n}}};function Fb(e){e.sort((n,t)=>n.value.outlet===T?-1:t.value.outlet===T?1:n.value.outlet.localeCompare(t.value.outlet))}function Lb(e){let n=e.value.routeConfig;return n&&n.path===""}function Jh(e){let n=[],t=new Set;for(let r of e){if(!Lb(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=Jh(r.children);n.push(new ke(r.value,o))}return n.filter(r=>!t.has(r))}function jb(e){return e.data||{}}function Vb(e){return e.resolve||{}}function Hb(e,n,t,r,o,i,s){return De(async a=>{let{state:c,tree:u}=await Pb(e,n,t,r,a.extractedUrl,o,i,s);return P(D({},a),{targetSnapshot:c,urlAfterRedirects:u})})}function Bb(e){return De(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return k(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Xh(a))i.add(c);let s=0;return ne(i).pipe(Ii(a=>o.has(a)?Ub(a,t,e):(a.data=Fl(a,a.parent,e).resolve,k(void 0))),Ve(()=>s++),wi(1),De(a=>s===i.size?k(n):fe))})}function Xh(e){let n=e.children.map(t=>Xh(t)).flat();return[e,...n]}function Ub(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!Bh(r)&&(o[Qo]=r.title),Fr(()=>(e.data=Fl(e,e.parent,t).resolve,$b(o,e,n).pipe(X(i=>(e._resolvedData=i,e.data=D(D({},e.data),i),null)))))}function $b(e,n,t){let r=_l(e);if(r.length===0)return k({});let o={};return ne(r).pipe(De(i=>zb(e[i],n,t).pipe(vt(),Ve(s=>{if(s instanceof br)throw va(new Wt,s);o[i]=s}))),wi(1),X(()=>o),Lr(i=>Gh(i)?fe:qa(i)))}function zb(e,n,t){let r=n._environmentInjector,o=Sr(e,r),i=o.resolve?o.resolve(n,t):he(r,()=>o(n,t));return jn(i)}function Ch(e){return Ke(n=>{let t=e(n);return t?ne(t).pipe(X(()=>n)):k(n)})}var Hl=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===T);return r}getResolvedTitleForRoute(t){return t.data[Qo]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(em),providedIn:"root"})}return e})(),em=(()=>{class e extends Hl{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(A(ph))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mr=new I("",{factory:()=>({})}),Jo=new I(""),tm=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=v(Xu);async loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await bh(he(t,()=>r.loadComponent())),s=await om(rm(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await nm(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function nm(e,n,t,r){let o=await bh(he(t,()=>e.loadChildren())),i=await om(rm(o)),s;i instanceof Os||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(t).injector,l=s,c=a.get(Jo,[],{optional:!0,self:!0}).flat()),{routes:c.map(Vl),injector:a,factory:l}}function qb(e){return e&&typeof e=="object"&&"default"in e}function rm(e){return qb(e)?e.default:e}async function om(e){return e}var _a=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(Gb),providedIn:"root"})}return e})(),Gb=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),im=new I("");var Wb=()=>{},sm=new I(""),am=(()=>{class e{currentNavigation=F(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=F(null);events=new le;transitionAbortWithErrorSubject=new le;configLoader=v(tm);environmentInjector=v(re);destroyRef=v(Pe);urlSerializer=v(wr);rootContexts=v(xr);location=v(mr);inputBindingEnabled=v(Ca,{optional:!0})!==null;titleStrategy=v(Hl);options=v(Mr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=v(_a);createViewTransition=v(im,{optional:!0});navigationErrorHandler=v(sm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>k(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new ua(o)),r=o=>this.events.next(new la(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;ee(()=>{this.transitions?.next(P(D({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new de(null),this.transitions.pipe(ht(r=>r!==null),Ke(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return k(r).pipe(Ke(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ye.SupersededByNewNavigation),fe;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?P(D({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new It(a.id,this.urlSerializer.serialize(a.rawUrl),"",Uo.IgnoredSameUrlNavigation)),a.resolve(!1),fe;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return k(a).pipe(Ke(d=>(this.events.next(new Fn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?fe:Promise.resolve(d))),Hb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Ve(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new zo)}),Ke(d=>ne(r.routesRecognizeHandler.deferredHandle??k(void 0)).pipe(X(()=>d))),Ve(()=>{let d=new $o(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:g,restoredState:b,extras:O}=a,Q=new Fn(d,this.urlSerializer.serialize(h),g,b);this.events.next(Q);let $=Vh(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=P(D({},a),{targetSnapshot:$,urlAfterRedirects:h,extras:P(D({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Nr=>(Nr.finalUrl=h,Nr)),k(r)}else return this.events.next(new It(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Uo.IgnoredByUrlHandlingStrategy)),a.resolve(!1),fe}),X(a=>{let c=new ia(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=P(D({},a),{guards:nb(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),pb(a=>this.events.next(a)),Ke(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw va(this.urlSerializer,a.guardsResult);let c=new sa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return fe;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",ye.GuardRejected),fe;if(a.guards.canActivateChecks.length===0)return k(a);let u=new aa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return fe;let l=!1;return k(a).pipe(Bb(this.paramsInheritanceStrategy),Ve({next:()=>{l=!0;let d=new ca(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",ye.NoDataFromResolver)}}))}),Ch(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let h=l._environmentInjector;d.push(this.configLoader.loadComponent(h,l.routeConfig).then(g=>{l.component=g}))}for(let h of l.children)d.push(...c(h));return d},u=c(a.targetSnapshot.root);return u.length===0?k(a):ne(Promise.all(u).then(()=>a))}),Ch(()=>this.afterPreactivation()),Ke(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?ne(u).pipe(X(()=>r)):k(r)}),mt(1),Ke(a=>{let c=J_(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=P(D({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new Cr);let u=r.beforeActivateHandler.deferredHandle;return u?ne(u.then(()=>a)):k(a)}),Ve(a=>{new Al(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=Wb,c)),this.lastSuccessfulNavigation.set(ee(this.currentNavigation)),this.events.next(new gt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),jr(Wh(i.signal).pipe(ht(()=>!o&&!r.targetRouterState),Ve(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",ye.Aborted)}))),Ve({complete:()=>{o=!0}}),jr(this.transitionAbortWithErrorSubject.pipe(Ve(a=>{throw a}))),Wa(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",ye.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Lr(a=>{if(o=!0,this.destroyed)return r.resolve(!1),fe;if(qh(a))this.events.next(new Ze(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),tb(a)?this.events.next(new Er(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Ln(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=he(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof br){let{message:l,cancellationCode:d}=va(this.urlSerializer,u);this.events.next(new Ze(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new Er(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return fe}))}))}cancelNavigationTransition(t,r,o){let i=new Ze(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=ee(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zb(e){return e!==Vo}var cm=new I("");var um=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(Qb),providedIn:"root"})}return e})(),Da=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},Qb=(()=>{class e extends Da{static \u0275fac=(()=>{let t;return function(o){return(t||(t=po(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ba=(()=>{class e{urlSerializer=v(wr);options=v(Mr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=v(mr);urlHandlingStrategy=v(_a);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Fe;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Fe?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=Vh(null,v(re));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>v(Yb),providedIn:"root"})}return e})(),Yb=(()=>{class e extends ba{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof Fn?this.updateStateMemento():t instanceof It?this.commitTransition(r):t instanceof $o?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Cr?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ze&&!jh(t)?this.restoreHistory(r):t instanceof Ln?this.restoreHistory(r,!0):t instanceof gt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=D(D({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=D(D({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=po(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bl(e,n){e.events.pipe(ht(t=>t instanceof gt||t instanceof Ze||t instanceof Ln||t instanceof It),X(t=>t instanceof gt||t instanceof It?0:(t instanceof Ze?t.code===ye.Redirect||t.code===ye.SupersededByNewNavigation:!1)?2:1),ht(t=>t!==2),mt(1)).subscribe(()=>{n()})}var Tr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=v(Qu);stateManager=v(ba);options=v(Mr,{optional:!0})||{};pendingTasks=v(Lt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=v(am);urlSerializer=v(wr);location=v(mr);urlHandlingStrategy=v(_a);injector=v(re);_events=new le;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=v(um);injectorCleanup=v(cm,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=v(Jo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!v(Ca,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new ue;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=ee(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ze&&r.code!==ye.Redirect&&r.code!==ye.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof gt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Er){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=D({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Zb(o.source)},s);this.scheduleNavigation(a,Vo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Y_(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Vo,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o,i)=>{this.navigateToSyncWithBrowser(t,o,r,i)})}navigateToSyncWithBrowser(t,r,o,i){let s=o?.navigationId?o:null;if(o){let c=D({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Ge)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ee(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Vl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=D(D({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Ph(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return kh(d,t,l,u??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=Zt(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Vo,null,r)}navigate(t,r={skipLocationChange:!1}){return Kb(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(fn(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=D({},wh):r===!1?o=D({},bl):o=D(D({},bl),r),Zt(t))return gh(this.currentUrlTree,t,o);let i=this.parseUrl(t);return gh(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Bl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kb(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new E(4008,!1)}var e0=(()=>{class e{router=v(Tr);stateManager=v(ba);fragment=F("");queryParams=F({});path=F("");serializer=v(wr);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof gt&&this.updateState()})}updateState(){let{fragment:t,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Fe(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qt=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=v(new Ls("href"),{optional:!0});reactiveHref=el(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return ee(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return ee(this._target)}_target=F(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return ee(this._queryParams)}_queryParams=F(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return ee(this._fragment)}_fragment=F(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return ee(this._queryParamsHandling)}_queryParamsHandling=F(void 0);set state(t){this._state.set(t)}get state(){return ee(this._state)}_state=F(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return ee(this._info)}_info=F(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return ee(this._relativeTo)}_relativeTo=F(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return ee(this._preserveFragment)}_preserveFragment=F(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return ee(this._skipLocationChange)}_skipLocationChange=F(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return ee(this._replaceUrl)}_replaceUrl=F(!1);isAnchorElement;onChanges=new le;applicationErrorHandler=v(Ge);options=v(Mr,{optional:!0});reactiveRouterState=v(e0);constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=F(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Zt(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}_urlTree=Te(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=o=>o==="preserve"||o==="merge";(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Zt(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(t,r)=>this.computeHref(t)===this.computeHref(r)});get urlTree(){return ee(this._urlTree)}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static \u0275fac=function(r){return new(r||e)(Me(Tr),Me(je),go("tabindex"),Me(Rs),Me(ho),Me(hr))};static \u0275dir=Ht({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&G("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Rn("href",o.reactiveHref(),Mu)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Bs],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Bs],replaceUrl:[2,"replaceUrl","replaceUrl",Bs],routerLink:"routerLink"},features:[cr]})}return e})();var t0=new I("");function Ul(e,...n){return Yn([{provide:Jo,multi:!0,useValue:e},[],{provide:je,useFactory:n0},{provide:Ps,multi:!0,useFactory:r0},n.map(t=>t.\u0275providers)])}function n0(){return v(Tr).routerState.root}function r0(){let e=v(xe);return n=>{let t=e.get(fr);if(n!==t.components[0])return;let r=e.get(Tr),o=e.get(o0);e.get(i0)===1&&r.initialNavigation(),e.get(s0,null,{optional:!0})?.setUpPreloading(),e.get(t0,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var o0=new I("",{factory:()=>new le}),i0=new I("",{factory:()=>1});var s0=new I("");var $l=[{slug:"formacao-plataforma",category:"Formacao",categoryIcons:["/categorias/extratos.svg","/categorias/reconciliacoes-bancarias.svg","/categorias/contabilizacoes.svg","/categorias/tesouraria.svg"],title:"Metacase Learning Hub",description:"Tutorial de funcionamento da plataforma das forma\xE7\xF5es base do ecosistema TargetOne.",summary:`O Metacase Learning Hub \xE9 a plataforma oficial de aprendizagem e capacita\xE7\xE3o dedicada ao ecossistema Target One, concebida para apoiar utilizadores, parceiros e equipas t\xE9cnicas no dom\xEDnio completo das funcionalidades, processos e boas pr\xE1ticas associadas a este programa.
A plataforma Target One, desenvolvida pela MetaCase, constitui um conjunto de componentes especializados destinados \xE0 gest\xE3o integrada dos fluxos financeiros das organiza\xE7\xF5es, permitindo centralizar opera\xE7\xF5es, automatizar processos e fornecer informa\xE7\xE3o fi\xE1vel para suporte \xE0 tomada de decis\xE3o. Neste contexto, o Metacase Learning Hub surge como um ambiente digital estruturado de forma\xE7\xE3o cont\xEDnua que re\xFAne conte\xFAdos program\xE1ticos, cursos especializados e recursos t\xE9cnicos que permitem compreender e explorar todo o potencial da plataforma Target One.
Inspirado nos modelos de academias tecnol\xF3gicas globais, o Metacase Learning Hub funciona como um reposit\xF3rio centralizado de conhecimento.`,topics:["Gest\xE3o de fluxos financeiros","Reconcilia\xE7\xF5es banc\xE1rias","Gest\xE3o de pagamentos e cobran\xE7as","Integra\xE7\xE3o com sistemas ERP","Previs\xE3o de tesouraria e liquidez","Processos operacionais, estrat\xE9gicos e de controlo financeiro"],level:"Iniciante",duration:"1h 00min",language:"Portugu\xEAs",format:"Aut\xF3nomo",image:"imagenscursos/learninghub.png",focusAreas:["Navegacao da plataforma","Pesquisa e filtros","Operacoes do dia a dia"],prerequisites:["Nenhum"],audience:["Todos os utilizadores"],objectives:["Conhecer a plataforma da Metacase Learning Hub","Iniciar a forma\xE7\xE3o","Validar conhecimentos"],outcomes:["Compreensao do fluxo base de trabalho","Autonomia para consultas e operacoes simples","Conhecimento das melhores praticas de utilizacao"],modules:[{title:"Vis\xE3o geral da plataforma",duration:"15 min",description:"Mapa funcional da aplica\xE7\xE3o Metacase Learning Hub."},{title:"Detalhe das p\xE1ginas da forma\xE7\xE3o",duration:"20 min",description:"Descri\xE7\xE3o da forma\xE7\xE3o, desde compet\xEAncias a adquirir objetivos espec\xEDficos da mesma e tempo de dura\xE7\xE3o."},{title:"Estrutura das forma\xE7\xF5es",duration:"10 min",description:"Execu\xE7\xE3o das forma\xE7\xF5es per si, divis\xE3o de conte\xFAdos program\xE1ticos, desde texto a intera\xE7\xF5es de v\xEDdeo."},{title:"Perguntas de valida\xE7\xE3o",duration:"15 min",description:"Detalhe dos v\xE1rios tipos de perguntas de cariz validativo, que podem complementar a forma\xE7\xE3o."}],lessonSections:[{title:"Vis\xE3o geral da plataforma",paragraphs:[`<strong>Aprendizagem estruturada e orientada \xE0 pr\xE1tica</strong>
O Metacase Learning Hub foi concebido para proporcionar uma experi\xEAncia de aprendizagem progressiva e pr\xE1tica. Cada curso aborda cen\xE1rios reais de utiliza\xE7\xE3o do Target One, permitindo aos participantes compreender n\xE3o apenas as funcionalidades t\xE9cnicas da plataforma, mas tamb\xE9m os processos de neg\xF3cio que esta suporta.
A organiza\xE7\xE3o dos conte\xFAdos segue uma l\xF3gica modular, permitindo que cada utilizador construa o seu pr\xF3prio percurso de aprendizagem, evoluindo desde conceitos fundamentais at\xE9 n\xEDveis mais avan\xE7ados de configura\xE7\xE3o, integra\xE7\xE3o e otimiza\xE7\xE3o de processos.
<strong> Capacita\xE7\xE3o para utilizadores, parceiros e especialistas </strong>
A plataforma desempenha tamb\xE9m um papel estrat\xE9gico no onboarding e capacita\xE7\xE3o de novos utilizadores e parceiros, garantindo que todas as equipas que trabalham com o Target One possuem um entendimento consistente da arquitetura, das funcionalidades e das melhores pr\xE1ticas de utiliza\xE7\xE3o. Ao consolidar conhecimento, documenta\xE7\xE3o e forma\xE7\xE3o num \xFAnico ambiente digital, o Metacase Learning Hub promove:`],bullets:["Maior autonomia dos utilizadores na opera\xE7\xE3o da plataforma","Maior rapidez na ado\xE7\xE3o de novas funcionalidades","Padroniza\xE7\xE3o de processos e boas pr\xE1ticas","Desenvolvimento cont\xEDnuo de compet\xEAncias no ecossistema Target One"],paragraphs2:[`<strong>Um centro de conhecimento para inova\xE7\xE3o financeira</strong>
Mais do que um simples portal de forma\xE7\xE3o, o Metacase Learning Hub posiciona-se como um centro de conhecimento e capacita\xE7\xE3o tecnol\xF3gica, permitindo que organiza\xE7\xF5es e profissionais tirem o m\xE1ximo partido das capacidades da plataforma Target One e das solu\xE7\xF5es de gest\xE3o de fluxos financeiros desenvolvidas pela MetaCase. Ao combinar aprendizagem estruturada, conte\xFAdos t\xE9cnicos especializados e uma abordagem orientada \xE0 pr\xE1tica, o Metacase Learning Hub contribui para acelerar a ado\xE7\xE3o do Target One e para maximizar o valor que esta plataforma pode trazer \xE0 gest\xE3o financeira das organiza\xE7\xF5es.
`],imagem:"/screenshots/Pagina Principal.jpg",paragraphs3:[""],paragraphs4:[""],paragraphs5:[""]},{title:"Detalhe das p\xE1ginas da forma\xE7\xE3o",paragraphs:[`O Metacase Learning Hub \xE9 estruturado, na sua base, como uma biblioteca centralizada de cursos, apresentados na p\xE1gina principal da plataforma. Estes cursos representam componentes essenciais para a correta utiliza\xE7\xE3o e compreens\xE3o do ecossistema TargetOne, reunindo conte\xFAdos formativos que abordam os principais processos, funcionalidades e contextos operacionais associados \xE0 plataforma.
Cada curso encontra-se representado atrav\xE9s de um cart\xE3o informativo, onde \xE9 disponibilizada uma descri\xE7\xE3o sucinta do conte\xFAdo formativo, a \xE1rea tem\xE1tica a que se refere e a respetiva dura\xE7\xE3o estimada em horas. O acesso a cada forma\xE7\xE3o \xE9 efetuado atrav\xE9s do bot\xE3o \u201CEntrar\u201D, dispon\xEDvel em cada cart\xE3o, permitindo ao utilizador iniciar diretamente o percurso de aprendizagem associado ao curso selecionado.
Esta abordagem permite organizar os conte\xFAdos de forma clara e intuitiva, facilitando a navega\xE7\xE3o e o acesso r\xE1pido \xE0s diferentes forma\xE7\xF5es dispon\xEDveis no portal.`],paragraphs2:[`Adicionalmente, no canto superior direito da interface, encontra-se disponibilizado um link de acesso r\xE1pido para a p\xE1gina principal da MetaCase, permitindo aos utilizadores navegar facilmente entre o portal de forma\xE7\xE3o e o website institucional da empresa. Esta funcionalidade refor\xE7a a integra\xE7\xE3o do Metacase Learning Hub no ecossistema digital da organiza\xE7\xE3o e facilita o acesso a informa\xE7\xE3o adicional sobre a empresa, os seus produtos e as solu\xE7\xF5es associadas \xE0 plataforma TargetOne.
`],paragraphs3:[`Ao aceder a um curso atrav\xE9s do bot\xE3o \u201CEntrar\u201D, o utilizador \xE9 direcionado para a p\xE1gina de descri\xE7\xE3o do curso selecionado, onde s\xE3o apresentadas as informa\xE7\xF5es essenciais sobre a forma\xE7\xE3o e a respetiva estrutura de conte\xFAdos. Esta p\xE1gina encontra-se organizada numa estrutura bipartida verticalmente, permitindo separar de forma clara a informa\xE7\xE3o geral da forma\xE7\xE3o da descri\xE7\xE3o detalhada dos seus conte\xFAdos.
<Strong>Primeira sec\xE7\xE3o \u2013 Informa\xE7\xE3o geral da forma\xE7\xE3o</strong>
Na primeira \xE1rea da p\xE1gina (vis\xEDvel na parte superior da interface), \xE9 apresentada uma vis\xE3o geral do curso, incluindo a sua designa\xE7\xE3o, uma descri\xE7\xE3o introdut\xF3ria e os principais elementos informativos associados \xE0 forma\xE7\xE3o.`],bullets2:["Descri\xE7\xE3o geral da forma\xE7\xE3o, que contextualiza o objetivo do curso e a sua rela\xE7\xE3o com o ecossistema TargetOne;","Dura\xE7\xE3o total estimada, permitindo ao utilizador compreender o tempo necess\xE1rio para concluir a forma\xE7\xE3o;","Formato da forma\xE7\xE3o, indicando se o percurso \xE9 realizado de forma Aut\xF3noma, Instructor-led, Live Online, Blended Learning, Microlearning ou ainda Certifica\xE7\xE3o;","N\xFAmero total de m\xF3dulos que comp\xF5em o curso."],paragraphs4:["Adicionalmente, \xE9 disponibilizado um bloco de informa\xE7\xE3o complementar da forma\xE7\xE3o, onde s\xE3o apresentados:"],bullets3:["N\xEDvel de dificuldade do curso;","Idioma em que a forma\xE7\xE3o \xE9 disponibilizada;","Formato de aprendizagem;.","Pr\xE9-requisitos necess\xE1rios para frequentar o curso;","P\xFAblico-alvo a quem a forma\xE7\xE3o se destina."],paragraphs5:[`Nesta mesma \xE1rea encontra-se tamb\xE9m um painel lateral de a\xE7\xE3o, que permite ao utilizador iniciar diretamente a forma\xE7\xE3o atrav\xE9s do bot\xE3o \u201CIniciar forma\xE7\xE3o\u201D, bem como regressar rapidamente ao menu principal das forma\xE7\xF5es.
`],imagem:"/screenshots/Descricaopgprincipal.jpg",imagem2:"/screenshots/detalhecurso.jpg",bullets4:["T\xEDtulo do m\xF3dulo;","Breve descri\xE7\xE3o do conte\xFAdo abordado;","Dura\xE7\xE3o estimada de cada unidade;.","compet\xEAncias a adequirir."],imagem3:"/screenshots/detalhecurso2.jpg",paragraphs6:[`
<strong>Segunda sec\xE7\xE3o \u2013 Estrutura e compet\xEAncias da forma\xE7\xE3o</strong>
Na segunda parte da p\xE1gina \xE9 apresentada uma descri\xE7\xE3o mais detalhada da estrutura pedag\xF3gica da forma\xE7\xE3o, permitindo ao utilizador compreender de forma clara os conte\xFAdos que ser\xE3o abordados ao longo da forma\xE7\xE3o. Adicionalmente na coluna direita s\xE3o apesentadas as compet\xEAncias expect\xE1veis de serem adequiridas no final da forma\xE7\xE3o.
Nesta \xE1rea \xE9 exibida a estrutura da forma\xE7\xE3o, organizada por li\xE7\xF5es ou m\xF3dulos, onde cada unidade apresenta:`]},{title:"Estrutura das forma\xE7\xF5es",paragraphs:[`Ao iniciar uma forma\xE7\xE3o, o utilizador \xE9 direcionado para a p\xE1gina principal do curso, que foi desenvolvida com base numa Single Page Application (SPA). Esta abordagem permite que todos os conte\xFAdos da forma\xE7\xE3o sejam apresentados de forma cont\xEDnua e fluida, sem necessidade de navegar entre m\xFAltiplas p\xE1ginas.
A forma\xE7\xE3o inicia-se com uma sec\xE7\xE3o de contextualiza\xE7\xE3o dos temas, onde \xE9 apresentado o enquadramento geral do curso, seguindo-se posteriormente os m\xF3dulos espec\xEDficos que comp\xF5em o percurso formativo.
A navega\xE7\xE3o entre os diferentes m\xF3dulos pode ser realizada atrav\xE9s de duas formas complementares. Por um lado, existe um menu lateral localizado no lado esquerdo da interface, que permite ao formando aceder diretamente aos diferentes m\xF3dulos da forma\xE7\xE3o. Por outro lado, \xE9 disponibilizada uma barra de progress\xE3o situada na parte superior direita da p\xE1gina, que permite acompanhar o progresso ao longo do curso e facilitar a navega\xE7\xE3o entre as diferentes sec\xE7\xF5es.
A Single Page Application foi concebida para proporcionar uma experi\xEAncia de aprendizagem sequencial e intuitiva, permitindo que o formando percorra os conte\xFAdos de forma cont\xEDnua. Assim, o utilizador pode simplesmente avan\xE7ar na leitura da forma\xE7\xE3o, uma vez que os m\xF3dulos foram organizados de forma sequencial e l\xF3gica, acompanhando a progress\xE3o natural dos temas abordados ao longo do curso.
`],paragraphs2:[],paragraphs3:[`As imagens, gr\xE1ficos e organigramas apresentados ao longo das forma\xE7\xF5es s\xE3o interativos, permitindo ao utilizador visualizar os conte\xFAdos com maior detalhe. Para tal, basta clicar sobre o elemento pretendido, sendo automaticamente aberta uma visualiza\xE7\xE3o ampliada.
Nesta visualiza\xE7\xE3o, \xE9 disponibilizado no canto superior um conjunto de ferramentas de intera\xE7\xE3o, que permitem ao utilizador explorar o conte\xFAdo apresentado. Entre estas funcionalidades incluem-se, por exemplo, op\xE7\xF5es de zoom, que permitem ampliar ou reduzir a imagem para uma melhor an\xE1lise, bem como o bot\xE3o de fecho, que possibilita regressar facilmente \xE0 p\xE1gina da forma\xE7\xE3o.`],paragraphs4:[""],imagem:"/screenshots/Curso.jpg",imagem2:"/screenshots/Curso1.2.jpg",paragraphs5:['Para al\xE9m dos videos, imagens e conte\xFAdo interativo, existe ainda as apresenta\xE7\xF5es interativas. Estas apresenta\xE7\xF5es t\xEAm a finalidade de permitir ao utilizar navegar entre um conjunto de informa\xE7\xE3o disponivel sobre uma mat\xE9ria e funciona da mesma forma que o explicado anteriormente para as imagens. Adicionalmente nestes casos quando estas apresenta\xE7\xF5es interativas surgem nos m\xF3dulos, permitem ao utilizador passar entre informa\xE7\xE3o atrav\xE9s de dois bot\xF5es de "Seguinte" para passar para o proximo slide e de "Anterior" para voltar ao slide anterior. No caso de o user quiser apenas o foco nestes slides basta clicar na imagem da apresenta\xE7\xE3o que esta foca o conteudo e os bot\xF5es de navega\xE7\xE3o passam para o canto superior direito junto ao zoom e ao bot\xE3o de fechar j\xE1 l\xE1 existentes.'],presentationImages:["/screenshots/Curso1.3.jpg","/screenshots/Curso1.4.jpg"]},{title:"Perguntas de valida\xE7\xE3o",paragraphs:[`No final de cada m\xF3dulo encontra-se disponibilizada uma sec\xE7\xE3o dedicada \xE0 valida\xE7\xE3o de conhecimentos, destinada a avaliar a compreens\xE3o dos conte\xFAdos abordados ao longo do m\xF3dulo. Esta avalia\xE7\xE3o \xE9 realizada atrav\xE9s de um conjunto de perguntas de escolha m\xFAltipla, sendo apresentadas tr\xEAs op\xE7\xF5es de resposta para cada quest\xE3o, das quais apenas uma \xE9 correta.
As perguntas s\xE3o selecionadas a partir de uma pool de quest\xF5es associadas \xE0 forma\xE7\xE3o, permitindo que estas variem entre diferentes tentativas. Desta forma, caso o formando repita o curso ou volte a realizar a avalia\xE7\xE3o, a probabilidade de encontrar exatamente as mesmas perguntas \xE9 reduzida, contribuindo para uma avalia\xE7\xE3o mais consistente dos conhecimentos adquiridos.
Adicionalmente, nos cursos que incluem mecanismos de certifica\xE7\xE3o, encontra-se definido um limiar m\xEDnimo de aprova\xE7\xE3o de 80% de respostas corretas. Caso o formando n\xE3o atinja este valor, o curso n\xE3o poder\xE1 ser conclu\xEDdo, sendo apresentada apenas a op\xE7\xE3o de repetir a forma\xE7\xE3o. Por outro lado, caso o formando obtenha uma pontua\xE7\xE3o igual ou superior a 80% de respostas corretas, a forma\xE7\xE3o \xE9 considerada conclu\xEDda, ficando dispon\xEDvel a op\xE7\xE3o de finalizar o curso.
Atualmente, todas as forma\xE7\xF5es est\xE3o configuradas para apresentar cinco perguntas no momento de valida\xE7\xE3o final, sendo estas selecionadas e apresentadas de forma aleat\xF3ria a partir da pool de quest\xF5es definida para cada curso.`],paragraphs2:[`A resposta \xE0s perguntas de valida\xE7\xE3o de conhecimentos \xE9 realizada atrav\xE9s da sele\xE7\xE3o da op\xE7\xE3o que o formando considera correta. Ap\xF3s a escolha da resposta, o sistema fornece feedback imediato, informando se a resposta selecionada est\xE1 correta ou incorreta.
Caso a resposta esteja correta, a op\xE7\xE3o escolhida \xE9 destacada com um contorno verde, indicando que a sele\xE7\xE3o foi acertada. Por outro lado, se a resposta estiver incorreta, a op\xE7\xE3o selecionada pelo formando \xE9 assinalada a vermelho, sendo simultaneamente destacada a verde a op\xE7\xE3o correspondente \xE0 resposta correta, permitindo assim ao utilizador identificar imediatamente a solu\xE7\xE3o correta para a quest\xE3o apresentada.
`],paragraphs3:[],paragraphs4:[""],imagem:"/screenshots/Curso2.jpg",paragraphs5:[""]}],questions:[{prompt:"Qual das seguintes \xE1reas faz parte das funcionalidades abordadas na plataforma Target One?",options:["Gest\xE3o de redes sociais corporativas.","Gest\xE3o de fluxos financeiros.","Desenvolvimento de aplica\xE7\xF5es m\xF3veis para clientes."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"Qual \xE9 o principal objetivo do Metacase Learning Hub?",options:["Servir apenas como reposit\xF3rio de documenta\xE7\xE3o t\xE9cnica do Target One.","Substituir completamente os sistemas ERP utilizados pelas organiza\xE7\xF5es.","Disponibilizar uma plataforma de aprendizagem e capacita\xE7\xE3o para utilizadores, parceiros e equipas t\xE9cnicas que trabalham com o ecossistema Target One."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:2},{prompt:"Qual \xE9 o principal objetivo do Metacase Learning Hub?",options:["Servir como plataforma de gest\xE3o financeira para empresas.","Centralizar conte\xFAdos formativos e capacitar utilizadores no ecossistema TargetOne.","Substituir o website institucional da MetaCase."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:2},{prompt:"Como s\xE3o apresentados os cursos na p\xE1gina principal da plataforma?",options:["Atrav\xE9s de cart\xF5es informativos com descri\xE7\xE3o, tema e dura\xE7\xE3o da forma\xE7\xE3o.","Atrav\xE9s de listas t\xE9cnicas sem qualquer descri\xE7\xE3o.","Atrav\xE9s de documentos PDF descarreg\xE1veis."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"O que acontece quando o utilizador seleciona o bot\xE3o \u201CEntrar\u201D num curso?",options:["\xC9 direcionado para a p\xE1gina de descri\xE7\xE3o detalhada da forma\xE7\xE3o selecionada.","\xC9 automaticamente inscrito em todas as forma\xE7\xF5es dispon\xEDveis.","\xC9 redirecionado para o website institucional da MetaCase."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Como est\xE1 organizada a p\xE1gina de descri\xE7\xE3o de um curso?",options:["Em tr\xEAs \xE1reas independentes sem liga\xE7\xE3o entre si.","Numa estrutura bipartida que separa informa\xE7\xE3o geral da estrutura da forma\xE7\xE3o.","Apenas numa lista simples de m\xF3dulos."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:2},{prompt:"De que forma o utilizador pode navegar entre os m\xF3dulos da forma\xE7\xE3o?",options:["Apenas atrav\xE9s do bot\xE3o \u201Cvoltar atr\xE1s\u201D do navegador.","Atrav\xE9s do menu lateral e da barra de progress\xE3o da forma\xE7\xE3o.","Apenas utilizando um motor de pesquisa interno."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:2}]},{slug:"Target One",category:"Formacao",categoryIcons:["/categorias/operacoes-financeiras.svg","/categorias/tesouraria.svg","/categorias/reconciliacoes-bancarias.svg"],pdfPath:"/Powerpoints/Manual%20Metacase.pdf",pdfTitle:"Manual Apresenta\xE7\xE3o Target One",pdfDescription:"Manual Apresenta\xE7\xE3o Target One",pdfDownloadName:"Manual Metacase.pdf",title:"Target One",description:"Descrimina\xE7\xE3o completa da plataforma base, para novos utilizadores.",summary:"A Plataforma Target One, desenvolvida pela MetaCase, \xE9 uma solu\xE7\xE3o integrada para a gest\xE3o e controlo dos fluxos financeiros de empresas e grupos empresariais. Atrav\xE9s da centraliza\xE7\xE3o da informa\xE7\xE3o financeira e da integra\xE7\xE3o com ERPs, sistemas internos e institui\xE7\xF5es financeiras, permite apoiar a tomada de decis\xE3o com dados fi\xE1veis em tempo real. O seu ecossistema \xE9 composto por diversas componentes interligadas que suportam processos essenciais de tesouraria, pagamentos, reconcilia\xE7\xF5es e opera\xE7\xF5es financeiras, garantindo efici\xEAncia, seguran\xE7a e escalabilidade na gest\xE3o financeira das organiza\xE7\xF5es.",topics:[],level:"Avancado",duration:"55 min",language:"Portugues",format:"Autonomo",image:"/imagenscursos/targetone.png",focusAreas:["Plataforma Target One","T Painel de Controlo","T Par\xE2metros","T Extratos","T Reconcilia\xE7\xF5es","T Contabiliza\xE7\xE3o","T Tesouraria","T Pagamentos","T Cobran\xE7as & Recebimentos","T Caixas","T Opera\xE7\xF5es Financeiras","T Or\xE7amento"],prerequisites:["Metacase Learning Hub","Acesso ao Target One"],audience:["Todos"],objectives:["Compreender a plataforma Target One","Entender as no\xE7\xF5es b\xE1sicas das componentos do ecossistema Target One"],outcomes:["Maior dominio do fluxo financeiro","Melhor leitura dos movimentos e extratos","Mais rapidez no controlo e validacao diarios"],modules:[{title:"Plataforma Target One",duration:"5 min",description:"Explica\xE7\xE3o do programa Target One"},{title:"Descri\xE7\xE3o das Componentes do Target One",duration:"50 min",description:"Explica\xE7\xE3o das v\xE1rias componentes da plataforma."}],lessonSections:[{title:"TargetOne",paragraphs:[`A Target One \xE9 uma plataforma desenvolvida pela MetaCase para otimizar e controlar os fluxos financeiros de empresas e grupos, garantindo efici\xEAncia, seguran\xE7a e integra\xE7\xE3o com sistemas existentes. <strong>
Principais vantagens:
</strong>`],paragraphs2:[""],bullets:["Decis\xE3o informada com acesso a dados fi\xE1veis em tempo real;","Integra\xE7\xE3o global com ERPs, sistemas internos e institui\xE7\xF5es financeiras;","Seguran\xE7a e auditoria (SOX Compliance) com hist\xF3rico de altera\xE7\xF5es e controlo de acessos;","Flexibilidade e escalabilidade, permitindo integrar novas funcionalidades conforme as necessidades do neg\xF3cio;"],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Componentes TargetOne",paragraphs:["O ecossistema TargetOne \xE9 constitu\xEDdo por um conjunto de componentes que suportam a gest\xE3o integrada dos fluxos financeiros, nomeadamente o Painel de Controlo, Par\xE2metros, Extratos, Reconcilia\xE7\xF5es, Contabiliza\xE7\xE3o, Tesouraria, Pagamentos, Cobran\xE7as & Recebimentos, Caixas, Opera\xE7\xF5es Financeiras e Opera\xE7\xF5es de Or\xE7amento."],paragraphs2:[],presentationImages:["/Powerpoints/TargetOne/Diapositivo1.PNG","/Powerpoints/TargetOne/Diapositivo2.PNG","/Powerpoints/TargetOne/Diapositivo3.PNG","/Powerpoints/TargetOne/Diapositivo4.PNG","/Powerpoints/TargetOne/Diapositivo5.PNG","/Powerpoints/TargetOne/Diapositivo6.PNG","/Powerpoints/TargetOne/Diapositivo7.PNG","/Powerpoints/TargetOne/Diapositivo8.PNG","/Powerpoints/TargetOne/Diapositivo9.PNG","/Powerpoints/TargetOne/Diapositivo10.PNG","/Powerpoints/TargetOne/Diapositivo11.PNG","/Powerpoints/TargetOne/Diapositivo12.PNG","/Powerpoints/TargetOne/Diapositivo13.PNG","/Powerpoints/TargetOne/Diapositivo1.PNG"],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Conhecimentos a consolidar",paragraphs:["Usa esta secao para reforcar a interpretacao de desvios, excecoes e fecho diario.","Se quiseres, mais tarde podes acrescentar imagens, tabelas ou exemplos de casos."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Qual \xE9 o principal objetivo da plataforma Target One?",options:["Gerir exclusivamente recursos humanos das empresas.","Permitir uma gest\xE3o eficaz, rigorosa e otimizada dos fluxos financeiros das empresas e grupos.","Substituir completamente os sistemas ERP das empresas."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"Uma das principais vantagens da plataforma Target One \xE9:",options:["Tomada de decis\xE3o baseada em informa\xE7\xF5es fi\xE1veis e em tempo \xFAtil.","Substitui\xE7\xE3o de todos os sistemas financeiros existentes.","Gest\xE3o exclusiva de contas banc\xE1rias pessoais."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"A conectividade da plataforma Target One permite:",options:["Integra\xE7\xE3o com ERPs, sistemas das empresas e institui\xE7\xF5es financeiras.","Liga\xE7\xE3o apenas a bases de dados locais.","Liga\xE7\xE3o apenas a sistemas de contabilidade offline."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Qual componente permite o acesso \xE0s v\xE1rias funcionalidades da plataforma e a gest\xE3o de permiss\xF5es?",options:["Tesouraria","Painel de Controlo","Opera\xE7\xF5es Financeiras"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"O componente T Par\xE2metros \xE9 utilizado principalmente para:",options:["Configura\xE7\xE3o e manuten\xE7\xE3o de cadastro transversal.","Execu\xE7\xE3o de pagamentos banc\xE1rios.","Cria\xE7\xE3o de contratos financeiros."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Qual componente permite a auditoria e gest\xE3o de informa\xE7\xE3o dos extratos banc\xE1rios?",options:["Extratos","Or\xE7amento","Caixas"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"A reconcilia\xE7\xE3o banc\xE1ria na plataforma Target One pode ser realizada de que forma?",options:["Apenas manualmente.","Autom\xE1tica e manual.","Apenas atrav\xE9s do ERP."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"O m\xF3dulo de Contabiliza\xE7\xE3o permite:",options:["Classifica\xE7\xE3o e contabiliza\xE7\xE3o autom\xE1tica de fluxos financeiros.","Gest\xE3o de recursos humanos.","Gest\xE3o de invent\xE1rio."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Qual componente permite obter uma vis\xE3o global da posi\xE7\xE3o de tesouraria da empresa?",options:["Tesouraria","Cobran\xE7as & Recebimentos","Caixas"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"O m\xF3dulo T Pagamentos permite:",options:["Apenas visualizar saldos banc\xE1rios.","Criar, aprovar e enviar propostas de pagamento para os bancos.","Gerir invent\xE1rio de produtos."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1},{prompt:"Qual componente \xE9 respons\xE1vel pela gest\xE3o de cobran\xE7as e recebimentos das empresas?",options:["Cobran\xE7as & Recebimentos","Tesouraria","Par\xE2metros"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"O m\xF3dulo T Caixas permite:",options:["Gerir fechos de caixa e presta\xE7\xF5es de contas.","Gerir contratos financeiros.","Criar or\xE7amentos financeiros."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Qual componente permite gerir contratos associados a instrumentos financeiros?",options:["Opera\xE7\xF5es Financeiras","Pagamentos","Extratos"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"O m\xF3dulo T Or\xE7amento permite:",options:["Gest\xE3o do or\xE7amento de tesouraria e an\xE1lise de desvios.","Gest\xE3o de contas de clientes.","Gest\xE3o de sal\xE1rios."],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:0},{prompt:"Qual funcionalidade permite acompanhar o estado das propostas enviadas aos bancos?",options:["Reconcilia\xE7\xF5es","Pagamentos","Par\xE2metros"],note:"Apenas uma resposta est\xE1 certa",correctOptionIndex:1}]},{slug:"T Extratos",category:"Extratos",categoryIcons:["/categorias/operacoes-financeiras.svg","/categorias/tesouraria.svg","/categorias/reconciliacoes-bancarias.svg"],title:"T Extratos",description:"Forma\xE7\xE3o especifica para a componente de T Estratos do ecosistema Target One.",summary:"Formacao focada nas rotinas de tesouraria para utilizadores que precisam de acompanhar movimentos, validar consistencia e garantir controlo sobre o ciclo financeiro diario.",topics:[],level:"Avancado",duration:"7h 30min",language:"Portugues",format:"Autonomo",image:"/imagenscursos/Extratos.png",focusAreas:["Operacoes financeiras","Movimentos e extratos","Reconciliacao bancaria"],prerequisites:["Acesso \xE0 Plataforma Target One","Acesso \xE0 Componente T Extractos"],audience:["Equipas de Extractos","Clientes T Extratos"],objectives:["Compreender o papel da Componente T Extractos","Gest\xE3o e integra\xE7\xE3o de extratos banc\xE1rios","Normaliza\xE7\xE3o de fluxos banc\xE1rio","Valida\xE7\xE3o e controlo de extratos","Auditoria e monitoriza\xE7\xE3o da informa\xE7\xE3o banc\xE1ria","Utiliza\xE7\xE3o operacional da componente"],outcomes:["Maior dominio do fluxo financeiro","Melhor leitura dos movimentos e extratos","Mais rapidez no controlo e validacao diarios"],modules:[{title:"Contextualiza\xE7\xE3o da componente T Extractos",duration:"5 min",description:"Explica\xE7\xE3o sum\xE1ria da componente da forma\xE7\xE3o."},{title:"Menus",duration:"25 min",description:"Explora\xE7\xE3o dos menus bases existentes."},{title:"Fun\xE7\xF5es Gerais da Componente",duration:"30 min",description:"Explica\xE7\xE3o das Teclas de atalho, icons e fun\xE7\xF5es das mesmas."},{title:"Outras Funcionalidades",duration:"60 min",description:"Funcionalidades complementares dentro da componente T Extratos."},{title:"Rece\xE7\xE3o de Extratos Banc\xE1rios - Integra\xE7\xE3o",duration:"90 min",description:"Visualiza\xE7\xE3o de todos os extratos banc\xE1rios atrav\xE9s de diferentes modos de integra\xE7\xE3o, e an\xE1lise das diferentes situa\xE7\xF5es."},{title:"An\xE1lises/Reports",duration:"90 min",description:"Consulta e an\xE1lise dos dados dos extratos banc\xE1rios integrados no sistema."},{title:"Consulta de Estat\xEDsticas dos Extratos",duration:"30 min",description:"Visualiza\xE7\xE3o de saldos m\xE9dios por c\xF3digo de extrato."},{title:"Configura\xE7\xE3o - Aplica\xE7\xE3o",duration:"90 min",description:"Aceder e configurar os par\xE2metros relacionados com a gest\xE3o de extratos banc\xE1rios."}],lessonSections:[{title:"Contextualiza\xE7\xE3o da componente T Extractos",paragraphs:["A Componente T Extractos \xE9 especializada na auditoria, gest\xE3o e controlo de extratos banc\xE1rios, independentemente das institui\xE7\xF5es financeiras com as quais a sociedade ou grupo empresarial opere.","Os extratos banc\xE1rios podem ser integrados na plataforma atrav\xE9s de diferentes origens, nomeadamente:."],bullets:["Rece\xE7\xE3o atrav\xE9s do Canal Multibanc\xE1rio","Importa\xE7\xE3o atrav\xE9s de template Excel","Inser\xE7\xE3o manual de extratos"],paragraphs2:[],paragraphs3:[`Todos os extratos integrados s\xE3o armazenados na plataforma por per\xEDodo ilimitado, permitindo a sua gest\xE3o, manuten\xE7\xE3o e consulta hist\xF3rica atrav\xE9s desta componente.Nesta componente s\xE3o tamb\xE9m definidas codifica\xE7\xF5es e descri\xE7\xF5es personalizadas, designadas por C\xF3digos de Extrato. Estes c\xF3digos podem ser associados \xE0 informa\xE7\xE3o presente nas opera\xE7\xF5es de cada extrato banc\xE1rio, permitindo uniformizar e organizar os diferentes fluxos banc\xE1rios. Esta normaliza\xE7\xE3o \xE9 particularmente relevante, uma vez que os mesmos tipos de movimentos podem apresentar c\xF3digos e descri\xE7\xF5es distintos entre diferentes institui\xE7\xF5es banc\xE1rias.
Atrav\xE9s desta codifica\xE7\xE3o atribu\xEDda a cada movimento de extrato, \xE9 poss\xEDvel estruturar e normalizar a informa\xE7\xE3o banc\xE1ria, facilitando a an\xE1lise, controlo e gest\xE3o dos fluxos financeiros.
Adicionalmente, a componente integra mecanismos autom\xE1ticos de valida\xE7\xE3o e controlo dos extratos banc\xE1rios, os quais verificam a sequencialidade dos saldos, a coer\xEAncia das datas e a consist\xEAncia do conte\xFAdo de cada extrato. Estes mecanismos permitem identificar eventuais irregularidades, tais como extratos duplicados ou incoerentes, procedendo automaticamente \xE0 sua rejei\xE7\xE3o, garantindo assim a integridade e fiabilidade da informa\xE7\xE3o registada na plataforma.`],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Menus",paragraphs:[`A Componente T Extractos disponibiliza um conjunto de menus que permitem ao utilizador executar as diferentes opera\xE7\xF5es associadas \xE0 integra\xE7\xE3o, consulta, an\xE1lise e configura\xE7\xE3o de extratos banc\xE1rios.
O menu Integra\xE7\xE3o permite efetuar a integra\xE7\xE3o de extratos banc\xE1rios na plataforma, bem como consultar o hist\xF3rico das integra\xE7\xF5es realizadas e verificar o respetivo estado.
No menu An\xE1lises/Reports, encontram-se dispon\xEDveis funcionalidades de consulta e an\xE1lise dos extratos banc\xE1rios integrados com sucesso. Neste menu \xE9 poss\xEDvel consultar os movimentos banc\xE1rios por extrato, por tipo de movimento e/ou por intervalos de datas. Adicionalmente, \xE9 tamb\xE9m atrav\xE9s deste menu que se encontra dispon\xEDvel a funcionalidade de controlo de contas, permitindo acompanhar a evolu\xE7\xE3o e consist\xEAncia dos movimentos banc\xE1rios.
O menu Estat\xEDsticas disponibiliza ferramentas de an\xE1lise estat\xEDstica relacionadas com os extratos banc\xE1rios. Neste menu \xE9 poss\xEDvel consultar informa\xE7\xE3o agregada por c\xF3digo de extrato, bem como analisar saldos m\xE9dios, permitindo uma vis\xE3o consolidada da atividade banc\xE1ria.
Atrav\xE9s do menu Configura\xE7\xE3o, o utilizador pode proceder \xE0 parametriza\xE7\xE3o dos c\xF3digos de extrato, \xE0 inicializa\xE7\xE3o de contas e \xE0 defini\xE7\xE3o de outras configura\xE7\xF5es necess\xE1rias ao correto funcionamento da componente.
O menu Janela apresenta a listagem de todas as janelas que se encontram abertas ou ativas na aplica\xE7\xE3o, permitindo ao utilizador alternar facilmente entre diferentes \xE1reas de trabalho.
Por fim, o menu Sair permite terminar a sess\xE3o na componente, encerrando a sua utiliza\xE7\xE3o na plataforma.`],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Conhecimentos a consolidar",paragraphs:["Usa esta secao para reforcar a interpretacao de desvios, excecoes e fecho diario.","Se quiseres, mais tarde podes acrescentar imagens, tabelas ou exemplos de casos."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Exemplo de pergunta 1: qual deve ser o foco principal na leitura de um extrato bancario nesta licao?",options:["Validar movimentos e desvios","Alterar a estrutura da conta","Criar um novo utilizador"],note:"Substitui este texto com a explicacao da resposta certa.",correctOptionIndex:0},{prompt:"Exemplo de pergunta 2: o que pretendes confirmar antes do fecho diario?",options:["Consistencia dos indicadores e pendentes","Apenas a cor dos estados","Somente a imagem do dashboard"],note:"Este bloco fica preparado para adicionares perguntas reais do percurso.",correctOptionIndex:0}]},{slug:"T segurancas",category:"T segurancas",categoryIcons:["/categorias/reconciliacoes-bancarias.svg","/categorias/contabilizacoes.svg"],title:"T Seguran\xE7as",description:"Formacao especifica para a componente de T Seguran\xE7as do ecosistema Target One.",summary:"Percurso orientado a utilizadores que trabalham processos dedicados ao outsourcing EDP e precisam de dominar as validacoes, reconciliacoes e checkpoints do servico.",topics:[],level:"Intermedio",duration:"4h 10min",language:"Portugues",format:"Autonomo",image:"/imagenscursos/Seguran\xE7as.png",focusAreas:["Fluxos EDP","Validacao operacional","Controlo e reconciliacao"],prerequisites:["Conhecimento basico da plataforma","Acesso aos modulos operacionais do outsourcing","Contexto funcional do processo EDP"],audience:["Equipas de outsourcing","Supervisores operacionais","Elementos de controlo e suporte"],objectives:["Executar o fluxo completo do outsourcing EDP","Validar dados criticos antes de fecho","Reconciliar diferencas operacionais","Escalar desvios com a informacao certa"],outcomes:["Maior consistencia na operacao diaria","Reducao de erros na validacao","Melhor visibilidade sobre os checkpoints do processo"],modules:[{title:"Enquadramento do servico",duration:"35 min",description:"Contexto do outsourcing EDP, responsabilidades e pontos de controlo ao longo do processo."},{title:"Operacao assistida",duration:"65 min",description:"Execucao do fluxo principal na plataforma com os passos, regras e verificacoes associados."},{title:"Reconciliacao e controlo",duration:"70 min",description:"Analise de divergencias, conciliacao de informacao e preparacao de evidencia de suporte."},{title:"Fecho e acompanhamento",duration:"40 min",description:"Checklist final, tratamento de excecoes e registo de pontos pendentes para acompanhamento."}],lessonSections:[{title:"Contexto do servico",paragraphs:["Utiliza esta secao para explicar o enquadramento do outsourcing EDP, quem executa o processo e quais sao os checkpoints mais relevantes.","O objetivo e que o formando entenda rapidamente em que parte do fluxo esta a trabalhar."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Execucao do fluxo",paragraphs:["Aqui podes documentar o passo a passo do processo, incluindo validacoes, excecoes e evidencias a recolher.","Este modelo foi deixado preparado para inserires instrucoes mais detalhadas e exemplos concretos."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Fecho e controlo",paragraphs:["Reserva este bloco para orientacoes de fecho, reconciliacao e acompanhamento de pendentes.","Tambem podes usar este espaco para notas internas, links ou referencias complementares."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Exemplo de pergunta 1: em que momento deve ser feita a validacao dos dados criticos do processo?",options:["Antes do fecho operacional","Apenas no dia seguinte","Nao e necessaria validacao"],note:"Edita esta pergunta e adapta as opcoes ao processo real.",correctOptionIndex:0},{prompt:"Exemplo de pergunta 2: qual o objetivo da reconciliacao nesta operacao?",options:["Confirmar consistencia e identificar desvios","Alterar automaticamente os dados","Eliminar registos sem validacao"],note:"Podes transformar este bloco num quiz, verdadeiro/falso ou checklist.",correctOptionIndex:0}]},{slug:"T Par\xE2metros",category:"T Par\xE2metros",categoryIcons:["/categorias/reconciliacoes-bancarias.svg","/categorias/contabilizacoes.svg"],title:"T Par\xE2metros",description:"Formacao especifica para a componente de T Par\xE2metros do ecosistema Target One.",summary:"Percurso orientado a utilizadores que trabalham processos dedicados ao outsourcing EDP e precisam de dominar as validacoes, reconciliacoes e checkpoints do servico.",topics:[],level:"Intermedio",duration:"4h 10min",language:"Portugues",format:"Autonomo",image:"/imagenscursos/Parametros.png",focusAreas:["Fluxos EDP","Validacao operacional","Controlo e reconciliacao"],prerequisites:["Conhecimento basico da plataforma","Acesso aos modulos operacionais do outsourcing","Contexto funcional do processo EDP"],audience:["Equipas de outsourcing","Supervisores operacionais","Elementos de controlo e suporte"],objectives:["Executar o fluxo completo do outsourcing EDP","Validar dados criticos antes de fecho","Reconciliar diferencas operacionais","Escalar desvios com a informacao certa"],outcomes:["Maior consistencia na operacao diaria","Reducao de erros na validacao","Melhor visibilidade sobre os checkpoints do processo"],modules:[{title:"Enquadramento do servico",duration:"35 min",description:"Contexto do outsourcing EDP, responsabilidades e pontos de controlo ao longo do processo."},{title:"Operacao assistida",duration:"65 min",description:"Execucao do fluxo principal na plataforma com os passos, regras e verificacoes associados."},{title:"Reconciliacao e controlo",duration:"70 min",description:"Analise de divergencias, conciliacao de informacao e preparacao de evidencia de suporte."},{title:"Fecho e acompanhamento",duration:"40 min",description:"Checklist final, tratamento de excecoes e registo de pontos pendentes para acompanhamento."}],lessonSections:[{title:"Contexto do servico",paragraphs:["Utiliza esta secao para explicar o enquadramento do outsourcing EDP, quem executa o processo e quais sao os checkpoints mais relevantes.","O objetivo e que o formando entenda rapidamente em que parte do fluxo esta a trabalhar."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Execucao do fluxo",paragraphs:["Aqui podes documentar o passo a passo do processo, incluindo validacoes, excecoes e evidencias a recolher.","Este modelo foi deixado preparado para inserires instrucoes mais detalhadas e exemplos concretos."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Fecho e controlo",paragraphs:["Reserva este bloco para orientacoes de fecho, reconciliacao e acompanhamento de pendentes.","Tambem podes usar este espaco para notas internas, links ou referencias complementares."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Exemplo de pergunta 1: em que momento deve ser feita a validacao dos dados criticos do processo?",options:["Antes do fecho operacional","Apenas no dia seguinte","Nao e necessaria validacao"],note:"Edita esta pergunta e adapta as opcoes ao processo real.",correctOptionIndex:0},{prompt:"Exemplo de pergunta 2: qual o objetivo da reconciliacao nesta operacao?",options:["Confirmar consistencia e identificar desvios","Alterar automaticamente os dados","Eliminar registos sem validacao"],note:"Podes transformar este bloco num quiz, verdadeiro/falso ou checklist.",correctOptionIndex:0}]},{slug:"T Reconcilia\xE7\xF5es",category:"Reconcilia\xE7\xF5es",categoryIcons:["/categorias/reconciliacoes-bancarias.svg","/categorias/contabilizacoes.svg"],title:"T Reconcilia\xE7\xF5es",description:"Formacao especifica para a operacao do outsourcing EDP e para os fluxos mais frequentes associados.",summary:"Percurso orientado a utilizadores que trabalham processos dedicados ao outsourcing EDP e precisam de dominar as validacoes, reconciliacoes e checkpoints do servico.",topics:[],level:"Intermedio",duration:"4h 10min",language:"Portugues",format:"Autonomo",image:"/imagenscursos/reconciliacoes.png",focusAreas:["Fluxos EDP","Validacao operacional","Controlo e reconciliacao"],prerequisites:["Conhecimento basico da plataforma","Acesso aos modulos operacionais do outsourcing","Contexto funcional do processo EDP"],audience:["Equipas de outsourcing","Supervisores operacionais","Elementos de controlo e suporte"],objectives:["Executar o fluxo completo do outsourcing EDP","Validar dados criticos antes de fecho","Reconciliar diferencas operacionais","Escalar desvios com a informacao certa"],outcomes:["Maior consistencia na operacao diaria","Reducao de erros na validacao","Melhor visibilidade sobre os checkpoints do processo"],modules:[{title:"Enquadramento do servico",duration:"35 min",description:"Contexto do outsourcing EDP, responsabilidades e pontos de controlo ao longo do processo."},{title:"Operacao assistida",duration:"65 min",description:"Execucao do fluxo principal na plataforma com os passos, regras e verificacoes associados."},{title:"Reconciliacao e controlo",duration:"70 min",description:"Analise de divergencias, conciliacao de informacao e preparacao de evidencia de suporte."},{title:"Fecho e acompanhamento",duration:"40 min",description:"Checklist final, tratamento de excecoes e registo de pontos pendentes para acompanhamento."}],lessonSections:[{title:"Contexto do servico",paragraphs:["Utiliza esta secao para explicar o enquadramento do outsourcing EDP, quem executa o processo e quais sao os checkpoints mais relevantes.","O objetivo e que o formando entenda rapidamente em que parte do fluxo esta a trabalhar."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Execucao do fluxo",paragraphs:["Aqui podes documentar o passo a passo do processo, incluindo validacoes, excecoes e evidencias a recolher.","Este modelo foi deixado preparado para inserires instrucoes mais detalhadas e exemplos concretos."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"Fecho e controlo",paragraphs:["Reserva este bloco para orientacoes de fecho, reconciliacao e acompanhamento de pendentes.","Tambem podes usar este espaco para notas internas, links ou referencias complementares."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Exemplo de pergunta 1: em que momento deve ser feita a validacao dos dados criticos do processo?",options:["Antes do fecho operacional","Apenas no dia seguinte","Nao e necessaria validacao"],note:"Edita esta pergunta e adapta as opcoes ao processo real.",correctOptionIndex:0},{prompt:"Exemplo de pergunta 2: qual o objetivo da reconciliacao nesta operacao?",options:["Confirmar consistencia e identificar desvios","Alterar automaticamente os dados","Eliminar registos sem validacao"],note:"Podes transformar este bloco num quiz, verdadeiro/falso ou checklist.",correctOptionIndex:0}]},{slug:"outsourcing-edp",category:"Outsourcing EDP",categoryIcons:["/categorias/reconciliacoes-bancarias.svg","/categorias/contabilizacoes.svg"],title:"Outsourcing EDP - Parte 1",description:"Forma\xE7\xE3o espec\xEDfica para a operara\xE7\xE3o do outsourcing EDP e para os fluxos mais frequentes associados.",summary:"Percurso orientado a utilizadores que trabalham processos dedicados ao outsourcing EDP e precisam de dominar as valida\xE7\xF5es, reconcilia\xE7\xF5es e checkpoints do servi\xE7o.",topics:[],level:"Intermedio",duration:"4h 10min",language:"Portugu\xEAs",format:"Aut\xF3nomo",image:"/imagenscursos/MetacaseSIbs.png",focusAreas:["Fluxos EDP","Valida\xE7\xE3o operacional","Controlo e reconcilia\xE7\xE3o"],prerequisites:["Forma\xE7\xE3o: Metacase Learning Hub, Plataforma TargetOne, Par\xE2metros, Extratos e Reconcilia\xE7\xF5es","No\xE7\xF5es b\xE1sicas da componente Tesouraria e Comunica\xE7\xF5es ","Acesso \xE0 EDP e \xE0 plataforma TargetOne"],audience:["Equipas de outsourcing","Supervisores operacionais","Elementos de controlo e suporte"],objectives:["Garantir a correta integra\xE7\xE3o e valida\xE7\xE3o de extratos banc\xE1rios","Assegurar a reconcilia\xE7\xE3o manual e autom\xE1tica","Monitorizar e validar interfaces e fluxos de comunica\xE7\xE3o com o cliente","Garantir a correta contabiliza\xE7\xE3o dos movimentos financeiros no ERP","Promover a efici\xEAncia operacional e redu\xE7\xE3o de erros atrav\xE9s de procedimentos estruturados"],outcomes:["Maior consistencia na operacao diaria","Reducao de erros na validacao","Melhor visibilidade sobre os checkpoints do processo"],modules:[{title:"Introdu\xE7\xE3o ao outsourcing do cliente EDP",duration:"3 min",description:"Esta forma\xE7\xE3o define os procedimentos de outsourcing do cliente EDP na plataforma Target One, garantindo a correta integra\xE7\xE3o, valida\xE7\xE3o e fiabilidade da informa\xE7\xE3o. Est\xE1 organizado segundo o fluxo di\xE1rio de trabalho e inclui orienta\xE7\xF5es para tratamento de erros, promovendo efici\xEAncia e autonomia na execu\xE7\xE3o das tarefas."},{title:"Valida\xE7\xE3o da rece\xE7\xE3o dos webservices de Reconcilia\xE7\xE3o e Tesouraria",duration:"5 min",description:"Confirma\xE7\xE3o da rece\xE7\xE3o das previs\xF5es."},{title:"Valida\xE7\xE3o da integra\xE7\xE3o dos webservices de Reconcilia\xE7\xF5es e Tesouraria",duration:"3 min",description:"Confirma\xE7\xE3o da integra\xE7\xE3o das previs\xF5es."},{title:"Ativa\xE7\xE3o das reconcilia\xE7\xF5es autom\xE1ticas para todos os grupos de contas do outsourcing",duration:"3 min",description:"Garantir a reconcilia\xE7\xE3o autom\xE1tica dos movimentos, reduzindo pendentes e aumentando a efici\xEAncia."},{title:"Valida\xE7\xE3o inicial do controlo de contas",duration:"10 min",description:"Controlo da rece\xE7\xE3o dos extratos."},{title:"Valida\xE7\xE3o, no di\xE1rio de integra\xE7\xE3o, o estado dos extratos integrados",duration:"5 min",description:"Validar se os extratos encontram-se em alguma situa\xE7\xE3o que requeira an\xE1lise."},{title:"Valida\xE7\xE3o do cashpooling autom\xE1tico",duration:"30 min",description:"Equil\xEDbrio nos movimentos de cashpooling autom\xE1tico."},{title:"Valida\xE7\xE3o do cashpooling manual",duration:"30 min",description:"Equil\xEDbrio nos movimentos de cashpooling manual."},{title:"Proceder \xE0 verifica\xE7\xE3o dos movimentos com os c\xF3digos de extrato OTHREC e OTHPAY",duration:"30 min",description:"Classifica\xE7\xE3o correta dos movimentos."},{title:"Verifica\xE7\xE3o e an\xE1lise da atribui\xE7\xE3o dos c\xF3digos de extrato",duration:"30 min",description:"Classifica\xE7\xE3o correta dos movimentos."},{title:"Carregamento da Taxa CDI",duration:"30 min",description:"Integra\xE7\xE3o manual da Taxa."},{title:"Parametriza\xE7\xE3o e ajustes de alertas por conta",duration:"30 min",description:"Afina\xE7\xE3o de alertas."},{title:"Carregamento manual de extratos via template excel",duration:"30 min",description:"Integra\xE7\xE3o manual de movimentos."},{title:"Contabiliza\xE7\xE3o dos movimentos banc\xE1rios",duration:"30 min",description:"Envio dos mvovimentos para o ERP do cliente."},{title:"An\xE1lise do Di\xE1rio de reconcilia\xE7\xE3o",duration:"30 min",description:"Verificar a integra\xE7\xE3o dos movimentos contabil\xEDsticos."},{title:"Efectuar a reconcilia\xE7\xE3o banc\xE1ria",duration:"30 min",description:"Reduzir ao m\xE1ximos os pendentes existentes nas contas."},{title:"Fecho mensal das contas",duration:"30 min",description:"Efectuar o fecho de per\xEDodo das contas."},{title:"Indicadores",duration:"30 min",description:"Apurar a percentagem de reconcilia\xE7\xE3o autom\xE1tica."}],lessonSections:[{title:"M\xF3dulo 1 Introdu\xE7\xE3o ao outsourcing do cliente EDP",paragraphs:["Outsourcing corresponde \xE0 contrata\xE7\xE3o de processos e servi\xE7os para uma entidade especializada, com o objetivo de garantir maior efici\xEAncia operacional, controlo e qualidade na execu\xE7\xE3o das atividades. Neste contexto, outsourcing significa assumir a gest\xE3o e tratamento dos fluxos financeiros do cliente, garantindo que tudo \xE9 integrado, validado e contabilizado corretamente. ","Esta forma\xE7\xE3o foi criada para apoiar o trabalho di\xE1rio das atividades de outsourcing financeiro do cliente EDP, utilizando a plataforma Target One. Tem como objetivo ajudar a executar as tarefas com clareza, rigor e sem complica\xE7\xF5es desnecess\xE1rias. Ao longo desta forma\xE7\xE3o, encontramos os principais passos a seguir, desde a rece\xE7\xE3o dos extratos at\xE9 \xE0 reconcilia\xE7\xE3o e contabiliza\xE7\xE3o."],paragraphs2:[],paragraphs3:[],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"M\xF3dulo 2 Valida\xE7\xE3o da rece\xE7\xE3o dos webservices de Reconcilia\xE7\xE3o e Tesouraria",paragraphs:[""],paragraphs2:[""],paragraphs3:["<strong>O que fazer se os interfaces n\xE3o forem recebidos;</strong>"],imagem:"",paragraphs4:["Caso se verifique a n\xE3o rece\xE7\xE3o dos interfaces de TReconcilia\xE7\xE3o e/ou TTesouraria, dever\xE1 ser aberto um incidente na plataforma ServiceNow, dirigido \xE0 EDP, com o objetivo de solicitar o respetivo envio;","Estes incidentes s\xE3o preenchidos por geografias e atribu\xEDdos \xE0s diferentes equipas;"],bullets3:["Grupo HC (Previs\xF5es Confirmadas e Reconcilia\xE7\xF5es) - EDP-PRO-INC-ECOFIN-HC","Grupo LINCE (Previs\xF5es Confirmadas, de Fornecedores e Reconcilia\xE7\xF5es) - EDP-PRO-SIM-F","Grupo LINCE (Previs\xF5es Clientes) - EDP-PRO-INC-JUMP GA","Grupo LINCE (Previs\xF5es Confirmadas empresas JUMP (2800) - EDP-PRO-SIM Suporte SIM JUMP","Grupo Viesgo (Reconcilia\xE7\xF5es) - EDP-PRO-SIM-H-Projeto-Viesgo"],paragraphs5:[],paragraphs6:[],video:"/imagenscursos/metacase_21.mp4",paragraphs7:[],paragraphs8:[]},{title:"M\xF3dulo 3 Valida\xE7\xE3o da integra\xE7\xE3o dos webservices de Reconcilia\xE7\xF5es e Tesouraria",paragraphs:[""],video:"/imagenscursos/Video mod21__1.mp4",paragraphs2:[" "],paragraphs3:["Nota: Por vezes integram interfaces que ficam processados com erros. Nestas situa\xE7\xF5es devemos validar qual o erro registado e agir em conformidade."],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"M\xF3dulo 4 Ativa\xE7\xE3o das reconcilia\xE7\xF5es autom\xE1ticas para todos os grupos de contas do outsourcing",paragraphs:[""],video:"/imagenscursos/mod4_1.mp4",paragraphs2:[" "],paragraphs3:[""],imagem:"",paragraphs4:[""],paragraphs5:[""]},{title:"M\xF3dulo 5 Valida\xE7\xE3o inicial do controlo de contas",paragraphs:["\xC9 importante validar se todas as contas j\xE1 receberam os respetivos extratos banc\xE1rios, garantindo que o controlo de contas reflete a informa\xE7\xE3o mais atualizada. Desta forma ao analis\xE1-lo devemos identifcar se existem extratos em falta ou se ainda est\xE3o dentro do per\xEDodo normal de rece\xE7\xE3o."],video:"/imagenscursos/controlo de contas_1.mp4",paragraphs2:[" "],paragraphs3:[""],imagem:"/imagenscursos/falta_extrats1_novo.png",imagem2:"/imagenscursos/Falta_extratos2.png",paragraphs4:[""],paragraphs5:[""]},{title:"M\xF3dulo 6 Valida\xE7\xE3o, no di\xE1rio de integra\xE7\xE3o, o estado dos extratos integrados",paragraphs:["Validar se os extratos se encontram em alguma situa\xE7\xE3o que precise de an\xE1lise;"],video:"/imagenscursos/diariointegracao_0.mp4",paragraphs2:[" "],paragraphs3:[""],imagem:"/imagenscursos/valida\xE7\xE3o_extratos.png",paragraphs4:[""],paragraphs5:[""]},{title:"M\xF3dulo 7 Valida\xE7\xE3o do cashpooling autom\xE1tico",paragraphs:["No \xE2mbito deste Outsourcing, \xE9 realizada a valida\xE7\xE3o dos movimentos de ITZERO, com o objetivo de garantir que todos os movimentos se encontram equilibrados e possuem o respetivo par associado. Para esta an\xE1lise, os movimentos s\xE3o divididos em dois grupos distintos: movimentos provenientes do banco Deutsche Bank e movimentos provenientes dos restantes bancos."],video2:"",paragraphs2:[" "],paragraphs3:[""],imagem:"",paragraphs4:[""],paragraphs5:[""]}],questions:[{prompt:"Exemplo de pergunta 1: em que momento deve ser feita a validacao dos dados criticos do processo?",options:["Antes do fecho operacional","Apenas no dia seguinte","Nao e necessaria validacao"],note:"Edita esta pergunta e adapta as opcoes ao processo real.",correctOptionIndex:0},{prompt:"Exemplo de pergunta 2: qual o objetivo da reconciliacao nesta operacao?",options:["Confirmar consistencia e identificar desvios","Alterar automaticamente os dados","Eliminar registos sem validacao"],note:"Podes transformar este bloco num quiz, verdadeiro/falso ou checklist.",correctOptionIndex:0}]}];function Xo(e){return e?$l.find(n=>n.slug===e)??null:null}var a0=e=>["/cursos",e];function c0(e,n){if(e&1&&J(0,"img",32),e&2){let t=_().$implicit;C("alt",t.category)}}function u0(e,n){if(e&1&&(f(0,"article",20)(1,"div",21),J(2,"img",22)(3,"div",23),f(4,"div",24),Z(5,c0,1,1,"img",25),p()(),f(6,"div",26)(7,"h3",27),y(8),p(),f(9,"p",28),y(10),p(),f(11,"div",29)(12,"span",30),y(13),p()(),f(14,"a",31),y(15," Entrar "),p()()()),e&2){let t=n.$implicit;m(2),C("src",t.image,ve)("alt",t.title),m(3),C("ngForOf",t.categoryIcons),m(3),se(" ",t.title," "),m(2),se(" ",t.description," "),m(3),se(" ",t.duration," "),m(),C("routerLink",Ut(7,a0,t.slug))}}var Ia=class e{courses=$l;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=rt({type:e,selectors:[["app-formacaometacase"]],decls:29,vars:5,consts:[[1,"min-h-screen","bg-slate-50","text-slate-900"],[1,"relative","overflow-hidden","bg-slate-950"],[1,"absolute","inset-0","bg-gradient-to-r","from-indigo-700/20","via-cyan-500/10","to-purple-700/20"],[1,"hero-logo-badge"],["href","https://www.metacase.pt","target","_blank","rel","noopener"],["src","/logo-metacase-cor.svg","alt","Metacase",1,"hero-logo"],[1,"relative","mx-auto","max-w-7xl","px-6","py-20","lg:px-8"],[1,"max-w-3xl"],[1,"inline-flex","rounded-full","border","border-white/20","bg-white/10","px-4","py-1","text-sm","font-medium","text-white"],[1,"mt-6","text-4xl","font-bold","tracking-tight","text-white","sm:text-5xl","lg:text-6xl"],[1,"mt-6","text-lg","leading-8","text-slate-300"],[1,"mx-auto","max-w-7xl","px-6","py-10","lg:px-8"],[1,"flex","flex-col","gap-4","md:flex-row","md:items-center","md:justify-between"],[1,"text-3xl","font-bold","tracking-tight","text-slate-900"],[1,"mt-2","text-slate-600"],[1,"inline-flex","w-fit","items-center","rounded-2xl","border","border-slate-200","bg-white","px-4","py-3","shadow-sm"],[1,"text-sm","font-semibold","text-slate-700"],[1,"mx-auto","max-w-7xl","px-6","pb-16","lg:px-8"],[1,"grid","gap-8","md:grid-cols-2","xl:grid-cols-3"],["class","group overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-sm transition duration-300 hover:-translate-y-1 hover:shadow-xl",4,"ngFor","ngForOf"],[1,"group","overflow-hidden","rounded-3xl","border","border-slate-200","bg-white","shadow-sm","transition","duration-300","hover:-translate-y-1","hover:shadow-xl"],[1,"relative","h-56","overflow-hidden"],[1,"h-full","w-full","object-cover","transition","duration-500","group-hover:scale-105",3,"src","alt"],[1,"absolute","inset-0","bg-gradient-to-t","from-black/50","via-transparent","to-transparent"],[1,"course-card__badge"],["class","course-card__badge-image",3,"alt",4,"ngFor","ngForOf"],[1,"p-6"],[1,"mt-2","text-xl","font-bold","text-slate-900"],[1,"mt-3","text-sm","leading-6","text-slate-600"],[1,"mt-5","flex","flex-wrap","gap-2"],[1,"rounded-full","bg-slate-100","px-3","py-1","text-xs","font-semibold","text-slate-700"],[1,"mt-6","block","w-full","rounded-2xl","bg-gradient-to-r","from-indigo-600","to-purple-600","px-4","py-3","text-center","text-sm","font-semibold","text-white","transition","hover:opacity-95",3,"routerLink"],[1,"course-card__badge-image",3,"alt"]],template:function(t,r){t&1&&(f(0,"div",0)(1,"section",1),J(2,"div",2),f(3,"div",3)(4,"a",4),J(5,"img",5),p()(),f(6,"div",6)(7,"div",7)(8,"span",8),y(9," Learning Hub "),p(),f(10,"h1",9),y(11," Forma\xE7\xF5es de TargetOne "),p(),f(12,"p",10),y(13," Forma\xE7\xF5es pr\xE1ticas e atualizadas para a utiliza\xE7\xE3o da plataforma TargetOne "),J(14,"br"),y(15,"Aprendizagem orientada para a ferramenta com forma\xE7\xF5es te\xF3ricas e pr\xE1ticas "),p()()()(),f(16,"section",11)(17,"div",12)(18,"div")(19,"h2",13),y(20,"Forma\xE7\xF5es dispon\xEDveis"),p(),f(21,"p",14),y(22),p()(),f(23,"div",15)(24,"span",16),y(25),p()()()(),f(26,"section",17)(27,"div",18),Z(28,u0,16,9,"article",19),p()()()),t&2&&(m(22),Bt(" Atualmente encontram-se dispon\xEDveis ",r.courses.length," ",r.courses.length===1?"forma\xE7\xE3o":"forma\xE7\xF5es"," em destaque. "),m(3),Bt(" ",r.courses.length," ",r.courses.length===1?"curso":"cursos"," "),m(3),C("ngForOf",r.courses))},dependencies:[qt,zt,Qt],styles:[".hero-logo-badge[_ngcontent-%COMP%]{position:absolute;top:24px;right:24px;z-index:1;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid rgba(191,219,254,.55);border-radius:999px;background:#eff6ffe0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 10px 24px #0f172a1f}.hero-logo[_ngcontent-%COMP%]{width:clamp(120px,16vw,190px);height:auto;display:block;object-fit:contain}.course-card__badge[_ngcontent-%COMP%]{position:absolute;top:16px;left:16px;z-index:1;display:flex;align-items:center;justify-content:flex-start;gap:8px;max-width:calc(100% - 32px);overflow-x:auto}.course-card__badge-image[_ngcontent-%COMP%]{width:auto;max-width:88px;flex:0 0 auto;height:24px;display:block;object-fit:contain}@media(max-width:768px){.hero-logo-badge[_ngcontent-%COMP%]{top:16px;right:16px;padding:8px 14px}.hero-logo[_ngcontent-%COMP%]{width:120px}}"]})};function wa(e,n){let r=!n?.manualCleanup?n?.injector?.get(Pe)??v(Pe):null,o=l0(n?.equal),i;n?.requireSync?i=F({kind:0},{equal:o}):i=F({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new E(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),Te(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new E(601,!1)}},{equal:n?.equal})}function l0(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var d0=e=>["/cursos",e,"percurso"];function f0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),V(t)}}function p0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),V(t)}}function g0(e,n){if(e&1&&(f(0,"article",35)(1,"div",36),y(2),p(),f(3,"div",37)(4,"h3"),y(5),p(),f(6,"p"),y(7),p()(),f(8,"span",38),y(9),p()()),e&2){let t=n.$implicit,r=n.index;m(2),V(r+1),m(3),V(t.title),m(2),V(t.description),m(2),V(t.duration)}}function h0(e,n){if(e&1&&(f(0,"article",39)(1,"h3"),y(2),p()()),e&2){let t=n.$implicit;m(2),V(t)}}function m0(e,n){if(e&1&&(pr(0),f(1,"div",2)(2,"section",3)(3,"div",4)(4,"div",5)(5,"a",6),y(6,"Voltar ao menu das forma\xE7\xF5es"),p(),f(7,"h1"),y(8),p(),f(9,"p",7),y(10),p(),f(11,"section",8)(12,"div",9)(13,"span",10),y(14,"Informa\xE7\xE3o geral da forma\xE7\xE3o"),p(),f(15,"p",11),y(16),p()(),f(17,"div",12)(18,"article")(19,"span"),y(20,"Idioma"),p(),f(21,"strong"),y(22),p()(),f(23,"article")(24,"span"),y(25,"Formato"),p(),f(26,"strong"),y(27),p()(),f(28,"article",13)(29,"span"),y(30,"Dura\xE7\xE3o"),p(),f(31,"strong"),y(32),p()(),f(33,"article",13)(34,"span"),y(35,"Mod\xFAlos"),p(),f(36,"strong"),y(37),p()(),f(38,"div",14)(39,"span"),y(40,"Pr\xE9-requisitos"),p(),f(41,"ul",15),Z(42,f0,2,1,"li",16),p()(),f(43,"div",14)(44,"span"),y(45,"P\xFAblico-Alvo"),p(),f(46,"ul",15),Z(47,p0,2,1,"li",16),p()()()()(),f(48,"aside",17)(49,"div",18),J(50,"img",19),p(),f(51,"div",20)(52,"h2"),y(53,"Come\xE7ar esta forma\xE7\xE3o"),p(),f(54,"p"),y(55),p(),f(56,"a",21),y(57,"Iniciar forma\xE7\xE3o"),p(),f(58,"a",22),y(59,"Voltar ao menu das forma\xE7\xF5es"),p()()()()(),f(60,"main",23)(61,"section",24)(62,"section",25)(63,"div",26)(64,"div")(65,"span",10),y(66,"Estrutura da forma\xE7\xE3o"),p()(),f(67,"span",27),y(68),p()(),f(69,"div",28),Z(70,g0,10,4,"article",29),p()()(),f(71,"aside",30)(72,"div",31)(73,"span",32),y(74,"Compet\xEAncias da Forma\xE7\xE3o"),p(),f(75,"div",33),Z(76,h0,3,1,"article",34),p()()()()(),gr()),e&2){let t=n.ngIf;m(8),V(t.title),m(2),V(t.summary),m(6),V(t.description),m(6),V(t.language),m(5),V(t.format),m(5),V(t.duration),m(5),V(t.modules.length),m(5),C("ngForOf",t.prerequisites),m(5),C("ngForOf",t.audience),m(3),C("src",t.image,ve)("alt",t.title),m(5),V(t.description),m(),C("routerLink",Ut(16,d0,t.slug)),m(12),se("",t.modules.length," li\xE7\xF5es"),m(2),C("ngForOf",t.modules),m(6),C("ngForOf",t.objectives)}}function v0(e,n){e&1&&(f(0,"div",40)(1,"div",41)(2,"h1"),y(3,"Forma\xE7\xE3o n\xE3o encontrada"),p(),f(4,"p"),y(5,"A forma\xE7\xE3o selecionada n\xE3o est\xE1 dispon\xEDvel neste momento."),p(),f(6,"a",42),y(7,"Voltar aos cursos"),p()()())}var xa=class e{route=v(je);paramMap=wa(this.route.paramMap);course=Te(()=>{let n=this.paramMap()?.get("slug")??null;return Xo(n)});static \u0275fac=function(t){return new(t||e)};static \u0275cmp=rt({type:e,selectors:[["app-course-detail-page"]],decls:3,vars:2,consts:[["notfound",""],[4,"ngIf","ngIfElse"],[1,"course-detail-page"],[1,"course-intro"],[1,"course-intro__inner"],[1,"course-intro__main"],["routerLink","/",1,"back-link"],[1,"intro-summary"],["id","overview",1,"detail-panel"],[1,"panel-header"],[1,"panel-header__eyebrow"],[1,"detail-lead"],[1,"detail-facts"],[1,"intro-stat"],[1,"detail-box"],[1,"bullet-list"],[4,"ngFor","ngForOf"],[1,"enroll-card"],[1,"enroll-card__media"],[3,"src","alt"],[1,"enroll-card__body"],[1,"button",3,"routerLink"],["routerLink","/",1,"button","button--secondary"],[1,"detail-layout"],[1,"detail-main"],["id","structure",1,"detail-panel"],[1,"panel-header","panel-header--split"],[1,"panel-count"],[1,"module-list"],["class","module-card",4,"ngFor","ngForOf"],[1,"detail-sidebar"],[1,"sidebar-card"],[1,"sidebar-card__eyebrow"],[1,"learning-grid"],["class","topic-card",4,"ngFor","ngForOf"],[1,"module-card"],[1,"module-card__index"],[1,"module-card__content"],[1,"module-card__duration"],[1,"topic-card"],[1,"course-not-found"],[1,"course-not-found__card"],["routerLink","/",1,"button"]],template:function(t,r){if(t&1&&Z(0,m0,77,18,"ng-container",1)(1,v0,8,0,"ng-template",null,0,So),t&2){let o=On(2);C("ngIf",r.course())("ngIfElse",o)}},dependencies:[qt,zt,No,Qt],styles:["[_nghost-%COMP%]{display:block;min-height:100vh;background:#f8fafc;color:#0f172a}*[_ngcontent-%COMP%]{box-sizing:border-box}.course-detail-page[_ngcontent-%COMP%]{min-height:100vh}.course-intro[_ngcontent-%COMP%]{background:radial-gradient(circle at top left,rgba(37,99,235,.12),transparent 24%),linear-gradient(180deg,#fff,#f6f9fd);border-bottom:1px solid #e2e8f0}.course-intro__inner[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,420px);gap:34px;max-width:1240px;margin:0 auto;padding:56px 24px 40px}.course-intro__main[_ngcontent-%COMP%]{padding-top:12px}.back-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-bottom:20px;color:#2563eb;text-decoration:none;font-weight:700}.back-link[_ngcontent-%COMP%]:hover{color:#1d4ed8}.intro-pills[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.intro-pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.86rem;font-weight:800}.intro-pill--muted[_ngcontent-%COMP%]{background:#eff6ff;color:#334155}.course-intro[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{max-width:760px;margin:0 0 16px;font-size:clamp(2.4rem,5vw,4rem);line-height:1.04;letter-spacing:-.03em}.lesson-image[_ngcontent-%COMP%]{display:block;margin:30px auto;max-width:600px;width:100%}.intro-summary[_ngcontent-%COMP%]{max-width:760px;margin:0 0 24px;color:#475569;font-size:1.06rem;line-height:1.75;text-align:justify}.intro-stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:720px;margin-bottom:20px}.intro-stat[_ngcontent-%COMP%]{padding:18px 18px 16px;border:1px solid #dbe4f0;border-radius:22px;background:#fff}.intro-stat[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-bottom:8px;color:#64748b;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.intro-stat[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:1rem}.intro-icons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px}.intro-icons__item[_ngcontent-%COMP%]{width:auto;height:28px}.enroll-card[_ngcontent-%COMP%]{overflow:hidden;border:1px solid #dbe4f0;border-radius:28px;background:#fff;box-shadow:0 18px 42px #0f172a14}.enroll-card__media[_ngcontent-%COMP%]{aspect-ratio:16 / 10;overflow:hidden;background:#0f172a}.enroll-card__media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.enroll-card__body[_ngcontent-%COMP%]{padding:22px}.enroll-card__topline[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.enroll-card__topline[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.8rem;font-weight:800}.enroll-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 10px;font-size:1.55rem}.enroll-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 18px;color:#64748b;line-height:1.65}.detail-tabs[_ngcontent-%COMP%]{position:sticky;top:0;z-index:20;display:flex;gap:28px;max-width:1240px;margin:0 auto;padding:0 24px;background:#f8fafcf0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #e2e8f0}.detail-tabs[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;min-height:62px;color:#334155;text-decoration:none;font-weight:800;border-bottom:3px solid transparent}.detail-tabs[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#0f172a;border-bottom-color:#2563eb}.detail-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:30px;max-width:1240px;margin:0 auto;padding:28px 24px 72px}.detail-main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:22px}.detail-panel[_ngcontent-%COMP%], .sidebar-card[_ngcontent-%COMP%], .course-not-found__card[_ngcontent-%COMP%]{border:1px solid #dbe4f0;border-radius:28px;background:#fff;box-shadow:0 14px 34px #0f172a0d}.detail-panel[_ngcontent-%COMP%]{padding:28px}.panel-header[_ngcontent-%COMP%]{margin-bottom:18px}.panel-header--split[_ngcontent-%COMP%]{display:flex;align-items:end;justify-content:space-between;gap:16px}.panel-header__eyebrow[_ngcontent-%COMP%], .sidebar-card__eyebrow[_ngcontent-%COMP%]{display:inline-flex;margin-bottom:10px;color:#2563eb;font-size:1.2rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.panel-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.7rem;line-height:1.2}.panel-count[_ngcontent-%COMP%]{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.82rem;font-weight:800;white-space:nowrap}.detail-lead[_ngcontent-%COMP%]{margin:0 0 18px;color:#475569;line-height:1.75}.detail-facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.detail-facts[_ngcontent-%COMP%] article[_ngcontent-%COMP%], .detail-box[_ngcontent-%COMP%]{padding:18px;border:1px solid #e5edf6;border-radius:22px;background:#fbfdff}.detail-facts[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-bottom:8px;color:#64748b;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.detail-columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.detail-box[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .learning-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .module-card__content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 10px;font-size:1.08rem}.bullet-list[_ngcontent-%COMP%], .sidebar-list[_ngcontent-%COMP%]{margin:0;padding-left:18px;color:#475569;line-height:1.75}.bullet-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%], .sidebar-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:8px}.learning-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:16px}.learning-card[_ngcontent-%COMP%]{padding:20px;border:1px solid #e5edf6;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff)}.learning-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .module-card__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#64748b;line-height:1.65}.module-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px}.module-card[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px;border:1px solid #e5edf6;border-radius:24px;background:#fff}.module-card__index[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:800}.module-card__duration[_ngcontent-%COMP%]{display:inline-flex;padding:8px 11px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:.82rem;font-weight:800;white-space:nowrap}.sidebar-card[_ngcontent-%COMP%]{position:sticky;top:92px;padding:24px}.sidebar-list[_ngcontent-%COMP%]{margin-bottom:18px}.sidebar-tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px}.sidebar-tags[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.84rem;font-weight:700}.button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:50px;border:0;border-radius:18px;background:#1d4ed8;color:#fff;text-decoration:none;font-size:.96rem;font-weight:800;cursor:pointer}.button[_ngcontent-%COMP%] + .button[_ngcontent-%COMP%]{margin-top:12px}.button--secondary[_ngcontent-%COMP%]{background:#eff6ff;color:#1d4ed8}.course-not-found[_ngcontent-%COMP%]{min-height:100vh;display:grid;place-items:center;padding:24px}.course-not-found__card[_ngcontent-%COMP%]{max-width:520px;padding:32px;text-align:center}.course-not-found__card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0 0 12px}.course-not-found__card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 20px;color:#64748b}@media(max-width:1024px){.course-intro__inner[_ngcontent-%COMP%], .detail-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}.sidebar-card[_ngcontent-%COMP%]{position:static}}@media(max-width:768px){.course-intro__inner[_ngcontent-%COMP%]{padding:40px 20px 28px}.detail-tabs[_ngcontent-%COMP%]{gap:18px;overflow-x:auto;padding:0 20px}.detail-layout[_ngcontent-%COMP%]{padding:22px 20px 56px}.intro-stats[_ngcontent-%COMP%], .detail-facts[_ngcontent-%COMP%], .detail-columns[_ngcontent-%COMP%], .learning-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.detail-panel[_ngcontent-%COMP%], .sidebar-card[_ngcontent-%COMP%], .course-not-found__card[_ngcontent-%COMP%]{border-radius:22px}.detail-panel[_ngcontent-%COMP%]{padding:22px}.panel-header--split[_ngcontent-%COMP%], .module-card[_ngcontent-%COMP%]{grid-template-columns:1fr}.module-card__duration[_ngcontent-%COMP%]{justify-self:start}}"]})};var lm=e=>["/cursos",e];function y0(e,n){if(e&1){let t=be();f(0,"article",34)(1,"button",35),G("click",function(){let o=Y(t).index,i=_(2);return K(i.scrollToModule(o))}),f(2,"span",36),y(3),p(),f(4,"div",37)(5,"h3"),y(6),p(),f(7,"p"),y(8),p()()()()}if(e&2){let t=n.$implicit,r=n.index,o=_(2);xo("module-nav__item--active",r===o.currentModuleIndex()),m(3),V(r+1),m(3),V(t.title),m(2),V(t.duration)}}function D0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),V(t)}}function C0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function E0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),se(" ",t," ")}}function _0(e,n){if(e&1&&(f(0,"ul",24),Z(1,E0,2,1,"li",25),p()),e&2){let t=_().ngIf;m(),C("ngForOf",t.bullets)}}function b0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem6))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem6,ve)}}function I0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem4))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem4,ve)}}function w0(e,n){if(e&1&&(f(0,"video",51),J(1,"source",52),y(2," O seu navegador n\xE3o suporta v\xEDdeos. "),p()),e&2){let t=_().ngIf;m(),C("src",t.video)}}function x0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function S0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem,ve)}}function M0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem5))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem5,ve)}}function T0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function N0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),se(" ",t," ")}}function A0(e,n){if(e&1&&(f(0,"ul",24),Z(1,N0,2,1,"li",25),p()),e&2){let t=_().ngIf;m(),C("ngForOf",t.bullets2)}}function R0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function O0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),se(" ",t," ")}}function P0(e,n){if(e&1&&(f(0,"ul",24),Z(1,O0,2,1,"li",25),p()),e&2){let t=_().ngIf;m(),C("ngForOf",t.bullets3)}}function k0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function F0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem2))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem2,ve)}}function L0(e,n){if(e&1&&J(0,"p",49),e&2){let t=n.$implicit;C("innerHTML",t,Vt)}}function j0(e,n){if(e&1&&(f(0,"li"),y(1),p()),e&2){let t=n.$implicit;m(),se(" ",t," ")}}function V0(e,n){if(e&1&&(f(0,"ul",24),Z(1,j0,2,1,"li",25),p()),e&2){let t=_().ngIf;m(),C("ngForOf",t.bullets4)}}function H0(e,n){if(e&1){let t=be();f(0,"img",50),G("click",function(){Y(t);let o=_().ngIf,i=_(3);return K(i.openZoomedImage(o.imagem3))}),p()}if(e&2){let t=_().ngIf;C("src",t.imagem3,ve)}}function B0(e,n){if(e&1){let t=be();f(0,"section",53)(1,"div",54)(2,"div")(3,"span",22),y(4,"Apresenta\xE7\xE3o interativa"),p()(),f(5,"span",55),y(6),p()(),f(7,"div",56)(8,"img",57),G("click",function(){Y(t);let o=_().ngIf,i=_().index,s=_(2);return K(s.openZoomedImageGallery(o.presentationImages,s.getPresentationImageIndex(i)))}),p()(),f(9,"div",58)(10,"button",59),G("click",function(){Y(t);let o=_(2).index,i=_(2);return K(i.previousPresentationImage(o))}),y(11," Anterior "),p(),f(12,"button",59),G("click",function(){Y(t);let o=_().ngIf,i=_().index,s=_(2);return K(s.nextPresentationImage(i,o.presentationImages))}),y(13," Seguinte "),p()()()}if(e&2){let t=_().ngIf,r=_().index,o=_(2);m(6),Bt(" Imagem ",o.getPresentationImageIndex(r)+1," / ",t.presentationImages.length," "),m(2),C("src",o.getPresentationImage(r,t.presentationImages),ve),m(2),C("disabled",o.getPresentationImageIndex(r)===0),m(2),C("disabled",o.getPresentationImageIndex(r)>=t.presentationImages.length-1)}}function U0(e,n){if(e&1&&(f(0,"section",43),Z(1,C0,1,1,"p",44)(2,_0,2,1,"ul",45)(3,b0,1,1,"img",46)(4,I0,1,1,"img",46)(5,w0,3,1,"video",47)(6,x0,1,1,"p",44)(7,S0,1,1,"img",46)(8,M0,1,1,"img",46)(9,T0,1,1,"p",44)(10,A0,2,1,"ul",45)(11,R0,1,1,"p",44)(12,P0,2,1,"ul",45)(13,k0,1,1,"p",44)(14,F0,1,1,"img",46)(15,L0,1,1,"p",44)(16,V0,2,1,"ul",45)(17,H0,1,1,"img",46)(18,B0,14,5,"section",48),p()),e&2){let t=n.ngIf;m(),C("ngForOf",t.paragraphs),m(),C("ngIf",t.bullets),m(),C("ngIf",t.imagem6&&t.imagem6.trim()!==""),m(),C("ngIf",t.imagem4&&t.imagem4.trim()!==""),m(),C("ngIf",t.video&&t.video.trim()!==""),m(),C("ngForOf",t.paragraphs2),m(),C("ngIf",t.imagem&&t.imagem.trim()!==""),m(),C("ngIf",t.imagem5&&t.imagem5.trim()!==""),m(),C("ngForOf",t.paragraphs3),m(),C("ngIf",t.bullets2),m(),C("ngForOf",t.paragraphs4),m(),C("ngIf",t.bullets3),m(),C("ngForOf",t.paragraphs5),m(),C("ngIf",t.imagem2&&t.imagem2.trim()!==""),m(),C("ngForOf",t.paragraphs6),m(),C("ngIf",t.bullets4),m(),C("ngIf",t.imagem3&&t.imagem3.trim()!==""),m(),C("ngIf",t.presentationImages==null?null:t.presentationImages.length)}}function $0(e,n){if(e&1&&(f(0,"article",38)(1,"div",39)(2,"span",40),y(3),p(),f(4,"span",41),y(5),p()(),Z(6,U0,19,18,"section",42),p()),e&2){let t=n.$implicit,r=n.index;Rn("data-module-index",r),m(3),se("M\xF3dulo ",r+1+" "+t.module.title),m(2),V(t.module.duration),m(),C("ngIf",t.section)}}function z0(e,n){if(e&1&&(f(0,"a",60)(1,"span",61),Ki(),f(2,"svg",62),J(3,"path",63)(4,"path",64)(5,"path",65)(6,"path",66),p()(),Ji(),f(7,"span",67)(8,"strong"),y(9),p()(),f(10,"span",68),y(11,"Download"),p()()),e&2){let t=_().ngIf;C("href",t.pdfPath,ve),Rn("download",t.pdfDownloadName??"")("aria-label","Descarregar "+(t.pdfTitle??"documento PDF")),m(9),V(t.pdfTitle??"Documento PDF")}}function q0(e,n){if(e&1){let t=be();f(0,"button",73),G("click",function(){let o=Y(t).index,i=_().index,s=_(2);return K(s.selectAnswer(i,o))}),y(1),p()}if(e&2){let t=n.$implicit,r=n.index,o=_().index,i=_(2);xo("question-option--correct",i.isCorrectOption(o,r))("question-option--incorrect",i.isWrongSelectedOption(o,r)),C("disabled",i.isQuestionAnswered(o)),m(),se(" ",t," ")}}function G0(e,n){if(e&1&&(f(0,"article",69)(1,"span",40),y(2),p(),f(3,"h3"),y(4),p(),f(5,"div",70),Z(6,q0,2,6,"button",71),p(),f(7,"p",72),y(8),p()()),e&2){let t=n.$implicit,r=n.index;m(2),se("Pergunta ",r+1),m(2),V(t.prompt),m(2),C("ngForOf",t.options),m(2),V(t.note)}}function W0(e,n){if(e&1){let t=be();pr(0),f(1,"div",4)(2,"header",5)(3,"div",6)(4,"div")(5,"a",7),y(6,"Voltar aos detalhes do curso"),p(),f(7,"p",8),y(8),p(),f(9,"h1"),y(10),p()()()(),f(11,"main",9)(12,"aside",10)(13,"div",11)(14,"div",12)(15,"span",13),y(16,"Conte\xFAdo da Forma\xE7\xE3o"),p(),f(17,"strong"),y(18),p()(),f(19,"div",14),Z(20,y0,9,5,"article",15),f(21,"div",16)(22,"span",17),y(23,"Progress\xE3o atual"),p(),f(24,"strong"),y(25),p(),f(26,"div",18),J(27,"span"),p()()()()(),f(28,"section",19)(29,"div",20)(30,"div",21)(31,"div")(32,"span",22),y(33,"Percurso da Forma\xE7\xE3o"),p(),f(34,"h2"),y(35,"Contextualiza\xE7\xE3o"),p()()(),f(36,"p",23),y(37),p(),f(38,"ul",24),Z(39,D0,2,1,"li",25),p(),f(40,"section",26),Z(41,$0,7,4,"article",27),p()(),Z(42,z0,12,4,"a",28),f(43,"div",20)(44,"div",21)(45,"div")(46,"span",22),y(47,"Valida\xE7\xE3o de Conhecimentos"),p()()(),f(48,"div",29),Z(49,G0,9,4,"article",30),p()(),f(50,"div",31)(51,"a",32),y(52,"Voltar ao curso"),p(),f(53,"button",33),G("click",function(){Y(t);let o=_();return K(o.scrollToModule(0))}),y(54,"Voltar ao primeiro modulo"),p()()()()(),gr()}if(e&2){let t=n.ngIf,r=_();m(5),C("routerLink",Ut(14,lm,t.slug)),m(3),V(t.category),m(2),V(t.title),m(8),se("",t.modules.length," m\xF3dulos"),m(2),C("ngForOf",t.modules),m(5),V(r.progressLabel()),m(2),wo("width",r.progressPercentage(),"%"),m(10),V(t.summary),m(2),C("ngForOf",t.topics),m(2),C("ngForOf",r.modulesWithSections()),m(),C("ngIf",t.pdfPath),m(7),C("ngForOf",r.visibleQuestions()),m(2),C("routerLink",Ut(16,lm,t.slug))}}function Z0(e,n){if(e&1){let t=be();f(0,"button",83),G("click",function(){Y(t);let o=_(2);return K(o.showPreviousZoomedImage())}),y(1," Anterior "),p()}if(e&2){let t=_(2);C("disabled",t.zoomedImageIndex()===0)}}function Q0(e,n){if(e&1&&(f(0,"span",84),y(1),p()),e&2){let t=_(2);m(),Bt(" ",t.zoomedImageIndex()+1," / ",t.zoomedimageset().length," ")}}function Y0(e,n){if(e&1){let t=be();f(0,"button",83),G("click",function(){Y(t);let o=_(2);return K(o.showNextZoomedImage())}),y(1," Seguinte "),p()}if(e&2){let t=_(2);C("disabled",t.zoomedImageIndex()>=t.zoomedimageset().length-1)}}function K0(e,n){if(e&1){let t=be();f(0,"div",74),G("click",function(){Y(t);let o=_();return K(o.closeZoomedImage())}),f(1,"div",75),G("click",function(o){return o.stopPropagation()}),f(2,"div",76),Z(3,Z0,2,1,"button",77)(4,Q0,2,2,"span",78),f(5,"button",79),G("click",function(){Y(t);let o=_();return K(o.zoomOutImage())}),y(6,"-"),p(),f(7,"button",79),G("click",function(){Y(t);let o=_();return K(o.resetImageZoom())}),y(8,"100%"),p(),f(9,"button",79),G("click",function(){Y(t);let o=_();return K(o.zoomInImage())}),y(10,"+"),p(),Z(11,Y0,2,1,"button",77),f(12,"button",80),G("click",function(){Y(t);let o=_();return K(o.closeZoomedImage())}),y(13,"Fechar"),p()(),f(14,"div",81),G("wheel",function(o){Y(t);let i=On(16),s=_();return K(s.handleImageZoomWheel(o,i))}),f(15,"img",82,1),G("click",function(o){Y(t);let i=On(16),s=_();return K(s.handleImageZoomClick(o,i))}),p()()()()}if(e&2){let t=n.ngIf,r=_();m(3),C("ngIf",r.zoomedimageset().length>1),m(),C("ngIf",r.zoomedimageset().length>1),m(7),C("ngIf",r.zoomedimageset().length>1),m(4),wo("transform","scale("+r.zoomScale()+")")("transform-origin",r.zoomOrigin()),C("src",t,ve)}}function J0(e,n){e&1&&(f(0,"div",85)(1,"div",86)(2,"h1"),y(3,"Percurso nao encontrado"),p(),f(4,"p"),y(5,"O percurso pedido nao esta disponivel neste momento."),p(),f(6,"a",87),y(7,"Voltar aos cursos"),p()()())}var Sa=class e{static QUESTIONS_PER_SESSION=5;static MIN_ZOOM_SCALE=1;static MAX_ZOOM_SCALE=3;static ZOOM_STEP=.25;route=v(je);paramMap=wa(this.route.paramMap);selectedAnswers=F({});presentationImageIndexes=F({});visibleQuestions=F([]);currentModuleIndex=F(0);zoomedimageset=F([]);zoomedImageIndex=F(0);zoomedImageSrc=Te(()=>this.zoomedimageset()[this.zoomedImageIndex()]??null);zoomScale=F(1);zoomOrigin=F("50% 50%");resetAnswersOnCourseChange=oo(()=>{let n=this.paramMap()?.get("slug")??null,t=Xo(n);this.selectedAnswers.set({}),this.presentationImageIndexes.set({}),this.currentModuleIndex.set(0),this.zoomedimageset.set([]),this.zoomedImageIndex.set(0),this.zoomScale.set(1),this.zoomOrigin.set("50% 50%"),this.visibleQuestions.set(this.pickRandomQuestions(t?.questions??[])),setTimeout(()=>this.updateCurrentModuleFromScroll(),0)});course=Te(()=>{let n=this.paramMap()?.get("slug")??null;return Xo(n)});modulesWithSections=Te(()=>{let n=this.course();if(!n)return[];let t=n.lessonSections[n.lessonSections.length-1]??null;return n.modules.map((r,o)=>({module:r,section:n.lessonSections[o]??t}))});progressLabel=Te(()=>{let n=this.course();return n?`${this.currentModuleIndex()+1} of ${n.modules.length} m\xF3dulos`:"0% complete"});progressPercentage=Te(()=>{let n=this.course();return!n||n.modules.length===0?0:(this.currentModuleIndex()+1)/n.modules.length*100});scrollToModule(n){let t=document.querySelector(`[data-module-index="${n}"]`);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}onWindowScroll(){this.updateCurrentModuleFromScroll()}onEscapeKey(){this.closeZoomedImage()}onArrowLeftKey(){this.showPreviousZoomedImage()}onArrowRightKey(){this.showNextZoomedImage()}updateCurrentModuleFromScroll(){let n=Array.from(document.querySelectorAll("[data-module-index]"));if(n.length===0)return;let t=window.scrollY+window.innerHeight*.35,r=0;n.forEach((o,i)=>{o.offsetTop<=t&&(r=i)}),r!==this.currentModuleIndex()&&this.currentModuleIndex.set(r)}selectAnswer(n,t){let r=this.selectedAnswers();r[n]===void 0&&this.selectedAnswers.set(P(D({},r),{[n]:t}))}isQuestionAnswered(n){return this.selectedAnswers()[n]!==void 0}isCorrectOption(n,t){let r=this.visibleQuestions()[n];return!r||!this.isQuestionAnswered(n)?!1:r.correctOptionIndex===t}isWrongSelectedOption(n,t){let r=this.selectedAnswers()[n];if(r===void 0)return!1;let o=this.visibleQuestions()[n];if(!o)return!1;let i=o.correctOptionIndex;return r===t&&r!==i}openZoomedImage(n){this.openZoomedImageGallery([n],0)}openZoomedImageGallery(n,t){this.zoomedimageset.set(n),this.zoomedImageIndex.set(t),this.zoomScale.set(1),this.zoomOrigin.set("50% 50%")}closeZoomedImage(){this.zoomedimageset.set([]),this.zoomedImageIndex.set(0),this.zoomScale.set(1),this.zoomOrigin.set("50% 50%")}showPreviousZoomedImage(){let n=this.zoomedimageset(),t=this.zoomedImageIndex();n.length<=1||t===0||(this.zoomedImageIndex.set(t-1),this.resetImageZoom())}showNextZoomedImage(){let n=this.zoomedimageset(),t=this.zoomedImageIndex();n.length<=1||t>=n.length-1||(this.zoomedImageIndex.set(t+1),this.resetImageZoom())}previousPresentationImage(n){let t=this.getPresentationImageIndex(n);t!==0&&this.presentationImageIndexes.update(r=>P(D({},r),{[n]:t-1}))}nextPresentationImage(n,t){let r=this.getPresentationImageIndex(n);r>=t.length-1||this.presentationImageIndexes.update(o=>P(D({},o),{[n]:r+1}))}getPresentationImage(n,t){return t[this.getPresentationImageIndex(n)]??t[0]??""}getPresentationImageIndex(n){return this.presentationImageIndexes()[n]??0}zoomInImage(){this.zoomScale.update(n=>Math.min(n+e.ZOOM_STEP,e.MAX_ZOOM_SCALE))}zoomOutImage(){this.zoomScale.update(n=>Math.max(n-e.ZOOM_STEP,e.MIN_ZOOM_SCALE))}resetImageZoom(){this.zoomScale.set(1),this.zoomOrigin.set("50% 50%")}handleImageZoomWheel(n,t){if(n.preventDefault(),this.updateZoomOriginFromPointer(n,t),n.deltaY<0){this.zoomInImage();return}this.zoomOutImage()}handleImageZoomClick(n,t){this.updateZoomOriginFromPointer(n,t),this.zoomInImage()}updateZoomOriginFromPointer(n,t){let r=t.getBoundingClientRect();if(r.width===0||r.height===0)return;let o=(n.clientX-r.left)/r.width*100,i=(n.clientY-r.top)/r.height*100,s=Math.min(Math.max(o,0),100),a=Math.min(Math.max(i,0),100);this.zoomOrigin.set(`${s}% ${a}%`)}pickRandomQuestions(n){let t=[...n];for(let r=t.length-1;r>0;r-=1){let o=Math.floor(Math.random()*(r+1));[t[r],t[o]]=[t[o],t[r]]}return t.slice(0,e.QUESTIONS_PER_SESSION)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=rt({type:e,selectors:[["app-course-learning-page"]],hostBindings:function(t,r){t&1&&G("scroll",function(){return r.onWindowScroll()},ur)("keydown.escape",function(){return r.onEscapeKey()},ur)("keydown.arrowleft",function(){return r.onArrowLeftKey()},ur)("keydown.arrowright",function(){return r.onArrowRightKey()},ur)},decls:4,vars:3,consts:[["notfound",""],["zoomedimageelement",""],[4,"ngIf","ngIfElse"],["class","image-lightbox",3,"click",4,"ngIf"],[1,"learning-page"],[1,"learning-header"],[1,"learning-header__inner"],[1,"back-link",3,"routerLink"],[1,"course-kicker",2,"display","none"],[1,"learning-layout"],[1,"learning-sidebar"],[1,"sidebar-panel"],[1,"sidebar-panel__top"],[1,"sidebar-panel__eyebrow"],[1,"module-nav"],["class","module-nav__item",3,"module-nav__item--active",4,"ngFor","ngForOf"],[1,"progress-card"],[1,"progress-card__label"],[1,"progress-bar"],[1,"learning-main"],[1,"content-panel"],[1,"content-panel__header"],[1,"content-panel__eyebrow"],[1,"content-intro"],[1,"course-topics"],[4,"ngFor","ngForOf"],[1,"module-sequence"],["class","learning-module",4,"ngFor","ngForOf"],["class","resource-download-card",3,"href",4,"ngIf"],[1,"question-list"],["class","question-card",4,"ngFor","ngForOf"],[1,"lesson-actions"],[1,"button","button--secondary",3,"routerLink"],["type","button",1,"button",3,"click"],[1,"module-nav__item"],["type","button",1,"module-nav__trigger",3,"click"],[1,"module-nav__index"],[1,"module-nav__content"],[1,"learning-module"],[1,"learning-module__header"],[1,"question-card__number"],[1,"lesson-duration"],["class","lesson-section",4,"ngIf"],[1,"lesson-section"],[3,"innerHTML",4,"ngFor","ngForOf"],["class","course-topics",4,"ngIf"],["class","lesson-image","alt","Imagem da secao",3,"src","click",4,"ngIf"],["controls","","width","100%","class","video-aula",4,"ngIf"],["class","presentation-viewer",4,"ngIf"],[3,"innerHTML"],["alt","Imagem da secao",1,"lesson-image",3,"click","src"],["controls","","width","100%",1,"video-aula"],["type","video/mp4",3,"src"],[1,"presentation-viewer"],[1,"presentation-viewer__header"],[1,"presentation-viewer__counter"],[1,"presentation-viewer__stage"],["alt","Imagem da apresentacao",1,"presentation-viewer__slide",3,"click","src"],[1,"presentation-viewer__actions"],["type","button",1,"presentation-viewer__button",3,"click","disabled"],[1,"resource-download-card",3,"href"],["aria-hidden","true",1,"resource-download-card__icon"],["viewBox","0 0 24 24","focusable","false"],["d","M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"],["d","M14 3v5h5"],["d","M12 11v6"],["d","m9.5 14.5 2.5 2.5 2.5-2.5"],[1,"resource-download-card__content"],[1,"resource-download-card__action"],[1,"question-card"],[1,"question-options"],["type","button","class","question-option",3,"question-option--correct","question-option--incorrect","disabled","click",4,"ngFor","ngForOf"],[1,"question-note"],["type","button",1,"question-option",3,"click","disabled"],[1,"image-lightbox",3,"click"],[1,"image-lightbox__dialog",3,"click"],[1,"image-lightbox__toolbar"],["type","button","class","image-lightbox__action",3,"disabled","click",4,"ngIf"],["class","image-lightbox__counter",4,"ngIf"],["type","button",1,"image-lightbox__action",3,"click"],["type","button",1,"image-lightbox__close",3,"click"],[1,"image-lightbox__viewport",3,"wheel"],["alt","Imagem ampliada",1,"image-lightbox__image",3,"click","src"],["type","button",1,"image-lightbox__action",3,"click","disabled"],[1,"image-lightbox__counter"],[1,"course-not-found"],[1,"course-not-found__card"],["routerlink","/",1,"button"]],template:function(t,r){if(t&1&&Z(0,W0,55,18,"ng-container",2)(1,K0,17,8,"div",3)(2,J0,8,0,"ng-template",null,0,So),t&2){let o=On(3);C("ngIf",r.course())("ngIfElse",o),m(),C("ngIf",r.zoomedImageSrc())}},dependencies:[qt,zt,No,Qt],styles:['[_nghost-%COMP%]{display:block;min-height:100vh;background:#f8fafc;color:#0f172a}*[_ngcontent-%COMP%]{box-sizing:border-box}.learning-page[_ngcontent-%COMP%]{min-height:100vh}.video-aula[_ngcontent-%COMP%]{margin-top:20px;border-radius:12px;box-shadow:0 4px 20px #0003}.learning-header[_ngcontent-%COMP%]{border-bottom:1px solid #e2e8f0;background:radial-gradient(circle at top left,rgba(37,99,235,.12),transparent 28%),linear-gradient(180deg,#fff,#f8fbff)}.learning-header__inner[_ngcontent-%COMP%]{display:flex;align-items:end;justify-content:space-between;gap:24px;max-width:1280px;margin:0 auto;padding:40px 24px 28px}.back-link[_ngcontent-%COMP%]{display:inline-flex;margin-bottom:18px;color:#2563eb;text-decoration:none;font-weight:700}.course-kicker[_ngcontent-%COMP%]{margin:0 0 10px;color:#2563eb;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.learning-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.06;letter-spacing:-.03em}.progress-card[_ngcontent-%COMP%]{min-width:260px;padding:18px 20px;border:1px solid #dbe4f0;border-radius:24px;background:#fff;box-shadow:0 16px 30px #0f172a0d}.progress-card__label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;color:#64748b;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.progress-card[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block;margin-bottom:14px;font-size:1rem}.progress-bar[_ngcontent-%COMP%]{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.progress-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;width:24%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d4ed8,#3b82f6)}.learning-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px;max-width:1280px;margin:0 auto;padding:28px 24px 64px}.learning-sidebar[_ngcontent-%COMP%]{position:relative}.sidebar-panel[_ngcontent-%COMP%], .content-panel[_ngcontent-%COMP%], .course-not-found__card[_ngcontent-%COMP%]{border:1px solid #dbe4f0;border-radius:28px;background:#fff;box-shadow:0 14px 34px #0f172a0d}.sidebar-panel[_ngcontent-%COMP%]{position:sticky;top:24px;padding:22px}.sidebar-panel__top[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sidebar-panel__eyebrow[_ngcontent-%COMP%]{color:#2563eb;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.module-nav[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.module-nav__item[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto minmax(0,1fr);padding:0;border:1px solid #e5edf6;border-radius:20px;background:#f8fafc}.module-nav__trigger[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;padding:14px;border:0;border-radius:inherit;background:transparent;text-align:left;cursor:pointer}.module-nav__item--active[_ngcontent-%COMP%]{border-color:#bfdbfe;background:#eff6ff}.module-nav__index[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#fff;color:#1d4ed8;font-weight:800}.module-nav__content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 6px;font-size:.98rem}.module-nav__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#64748b;font-size:.9rem}.learning-main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:22px}.content-panel[_ngcontent-%COMP%]{padding:28px}.content-panel__header[_ngcontent-%COMP%]{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.content-panel__eyebrow[_ngcontent-%COMP%]{display:inline-flex;margin-bottom:10px;color:#2563eb;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.content-panel__header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.8rem;line-height:1.15}.lesson-duration[_ngcontent-%COMP%]{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.84rem;font-weight:800;white-space:nowrap}.content-intro[_ngcontent-%COMP%]{margin:0 0 18px;color:#475569;line-height:1.75;white-space:pre-line;text-align:justify}.resource-download-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:18px 20px;border:1px solid #bfdbfe;border-radius:22px;background:linear-gradient(135deg,#eff6ff,#fff);color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.resource-download-card[_ngcontent-%COMP%]:hover{transform:translateY(-1px);border-color:#60a5fa;box-shadow:0 16px 32px #2563eb1f}.resource-download-card__icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:18px;background:#dbeafe;color:#1d4ed8}.resource-download-card__icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:28px;height:28px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.resource-download-card__content[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.resource-download-card__eyebrow[_ngcontent-%COMP%]{color:#2563eb;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.resource-download-card__content[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:1rem}.resource-download-card__content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{color:#64748b;line-height:1.5}.resource-download-card__action[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;background:#1d4ed8;color:#fff;font-size:.88rem;font-weight:800;white-space:nowrap}.course-topics[_ngcontent-%COMP%]{margin:0 0 18px;color:#64748b;line-height:1.75;text-align:justify;padding-left:20px}.course-topics[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}.course-topics[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2713";color:#64748b;margin:0 0 18px}.content-icons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.content-icons__item[_ngcontent-%COMP%]{width:auto;height:26px}.lesson-section[_ngcontent-%COMP%] + .lesson-section[_ngcontent-%COMP%]{margin-top:20px;padding-top:20px;border-top:1px solid #e5edf6}.module-sequence[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px}.learning-module[_ngcontent-%COMP%]{scroll-margin-top:28px;padding:20px;border:1px solid #e5edf6;border-radius:24px;background:#fff}.learning-module__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.module-description[_ngcontent-%COMP%]{margin:0 0 14px;color:#475569;line-height:1.7}.lesson-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .question-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 10px;font-size:1.16rem}.lesson-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .question-note[_ngcontent-%COMP%]{margin:0;color:#64748b;line-height:1.75;text-align:justify;white-space:pre-line}.lesson-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{margin-top:12px}.lesson-image[_ngcontent-%COMP%]{display:block;width:min(100%,860px);margin:18px auto;border-radius:18px;box-shadow:0 18px 40px #0f172a1f;cursor:zoom-in;transition:transform .2s ease,box-shadow .2s ease}.lesson-image[_ngcontent-%COMP%]:hover{transform:scale(1.01);box-shadow:0 22px 48px #0f172a29}.presentation-viewer[_ngcontent-%COMP%]{margin-top:24px;padding:22px;border:1px solid #dbe4f0;border-radius:24px;background:linear-gradient(180deg,#eff6ff,#fff)}.presentation-viewer__header[_ngcontent-%COMP%]{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.presentation-viewer__header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.12rem}.presentation-viewer__counter[_ngcontent-%COMP%], .image-lightbox__counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.82rem;font-weight:800;white-space:nowrap}.presentation-viewer__stage[_ngcontent-%COMP%]{overflow:hidden;border-radius:20px;background:#0f172a;box-shadow:inset 0 0 0 1px #ffffff14}.presentation-viewer__slide[_ngcontent-%COMP%]{display:block;width:100%;aspect-ratio:16 / 9;object-fit:contain;background:#0f172a;cursor:zoom-in}.presentation-viewer__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.presentation-viewer__button[_ngcontent-%COMP%]{min-height:44px;padding:0 18px;border:0;border-radius:14px;background:#1d4ed8;color:#fff;font-size:.9rem;font-weight:800;cursor:pointer}.presentation-viewer__button[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed}.image-lightbox[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#0f172ad1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.image-lightbox__dialog[_ngcontent-%COMP%]{position:relative;max-width:min(1200px,100%);max-height:100%}.image-lightbox__toolbar[_ngcontent-%COMP%]{position:absolute;top:-12px;right:-12px;z-index:1;display:flex;align-items:center;gap:8px}.image-lightbox__action[_ngcontent-%COMP%], .image-lightbox__close[_ngcontent-%COMP%]{min-width:48px;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#fff;color:#0f172a;font-size:.86rem;font-weight:800;cursor:pointer;box-shadow:0 10px 24px #0f172a33}.image-lightbox__close[_ngcontent-%COMP%]{min-width:96px}.image-lightbox__viewport[_ngcontent-%COMP%]{overflow:auto;max-width:min(1200px,calc(100vw - 48px));max-height:calc(100vh - 48px);border-radius:20px;cursor:zoom-in}.image-lightbox__image[_ngcontent-%COMP%]{display:block;max-width:min(1200px,calc(100vw - 48px));max-height:calc(100vh - 48px);border-radius:20px;box-shadow:0 28px 70px #0f172a59;transition:transform .18s ease;-webkit-user-select:none;user-select:none}.question-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.question-card[_ngcontent-%COMP%]{padding:20px;border:1px solid #e5edf6;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff)}.question-card__number[_ngcontent-%COMP%]{display:inline-flex;margin-bottom:12px;color:#2563eb;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.question-options[_ngcontent-%COMP%]{display:grid;gap:10px;margin:16px 0 14px}.question-option[_ngcontent-%COMP%]{min-height:50px;border:1px solid #dbe4f0;border-radius:16px;background:#fff;color:#0f172a;font-size:.95rem;font-weight:700;text-align:left;padding:0 16px;cursor:pointer}.question-option[_ngcontent-%COMP%]:hover{border-color:#93c5fd;background:#f8fbff}.question-option[_ngcontent-%COMP%]:disabled{opacity:1;cursor:default}.question-option.question-option--correct[_ngcontent-%COMP%]{border-color:#16a34a;background:#dcfce7;color:#166534}.question-option.question-option--incorrect[_ngcontent-%COMP%]{border-color:#dc2626;background:#fee2e2;color:#991b1b}.lesson-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px}.button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:180px;min-height:50px;padding:0 20px;border:0;border-radius:18px;background:#1d4ed8;color:#fff;text-decoration:none;font-size:.96rem;font-weight:800;cursor:pointer}.button[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.button--secondary[_ngcontent-%COMP%]{background:#eff6ff;color:#1d4ed8}.course-not-found[_ngcontent-%COMP%]{min-height:100vh;display:grid;place-items:center;padding:24px}.course-not-found__card[_ngcontent-%COMP%]{max-width:520px;padding:32px;text-align:center}.course-not-found__card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0 0 12px}.course-not-found__card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 20px;color:#64748b}@media(max-width:1024px){.learning-header__inner[_ngcontent-%COMP%], .learning-layout[_ngcontent-%COMP%]{grid-template-columns:1fr;display:grid}.progress-card[_ngcontent-%COMP%], .sidebar-panel[_ngcontent-%COMP%]{position:static}}@media(max-width:768px){.learning-header__inner[_ngcontent-%COMP%], .learning-layout[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.learning-header__inner[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:24px}.content-panel[_ngcontent-%COMP%], .sidebar-panel[_ngcontent-%COMP%], .course-not-found__card[_ngcontent-%COMP%]{border-radius:22px}.content-panel[_ngcontent-%COMP%]{padding:22px}.content-panel__header[_ngcontent-%COMP%], .lesson-actions[_ngcontent-%COMP%], .presentation-viewer__header[_ngcontent-%COMP%], .presentation-viewer__actions[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.resource-download-card[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}.resource-download-card__action[_ngcontent-%COMP%]{width:100%}}']})};var dm=[{path:"",component:Ia},{path:"cursos/:slug",component:xa},{path:"cursos/:slug/percurso",component:Sa},{path:"**",redirectTo:""}];var fm={providers:[qc(),Ul(dm)]};var Ma=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=rt({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(t,r){t&1&&J(0,"router-outlet")},dependencies:[Yo],encapsulation:2})};ml(Ma,fm).catch(e=>console.error(e));