var Zf=Object.create,sc=Object.freeze,cn=Object.defineProperty,Yf=Object.defineProperties,Jf=Object.getOwnPropertyDescriptor,Xf=Object.getOwnPropertyDescriptors,Kf=Object.getOwnPropertyNames,Wn=Object.getOwnPropertySymbols,ep=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable;var Zo=(e,t,n)=>t in e?cn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ue=(e,t)=>{for(var n in t||(t={}))Yo.call(t,n)&&Zo(e,n,t[n]);if(Wn)for(var n of Wn(t))ac.call(t,n)&&Zo(e,n,t[n]);return e},qe=(e,t)=>Yf(e,Xf(t));var hb=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var mb=(e,t)=>{var n={};for(var r in e)Yo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wn)for(var r of Wn(e))t.indexOf(r)<0&&ac.call(e,r)&&(n[r]=e[r]);return n};var gb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),vb=(e,t)=>{for(var n in t)cn(e,n,{get:t[n],enumerable:!0})},tp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kf(t))!Yo.call(e,o)&&o!==n&&cn(e,o,{get:()=>t[o],enumerable:!(r=Jf(t,o))||r.enumerable});return e};var yb=(e,t,n)=>(n=e!=null?Zf(ep(e)):{},tp(t||!e||!e.__esModule?cn(n,"default",{value:e,enumerable:!0}):n,e));var Ib=(e,t,n)=>(Zo(e,typeof t!="symbol"?t+"":t,n),n),cc=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var wb=(e,t,n)=>(cc(e,t,"read from private field"),n?n.call(e):t.get(e)),bb=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},xb=(e,t,n,r)=>(cc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Eb=(e,t)=>sc(cn(e,"raw",{value:sc(t||e.slice())})),np=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function b(e){return typeof e=="function"}function We(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Gn=We(e=>function(n){e(this),this.message=n?"".concat(n.length," errors occurred during unsubscription:\n").concat(n.map((r,o)=>"".concat(o+1,") ").concat(r.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=n});function it(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(b(r))try{r()}catch(i){t=i instanceof Gn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lc(i)}catch(s){t=t!=null?t:[],s instanceof Gn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Gn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)lc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&it(n,t)}remove(t){let{_finalizers:n}=this;n&&it(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Jo=V.EMPTY;function zn(e){return e instanceof V||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function lc(e){b(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nt={setTimeout(e,t,...n){let{delegate:r}=Nt;return r!=null&&r.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nt;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Qn(e){Nt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function he(){}var uc=Xo("C",void 0,void 0);function dc(e){return Xo("E",void 0,e)}function fc(e){return Xo("N",e,void 0)}function Xo(e,t,n){return{kind:e,value:t,error:n}}var st=null;function St(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!st;if(t&&(st={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=st;if(st=null,n)throw r}}else e()}function pc(e){pe.useDeprecatedSynchronousErrorHandling&&st&&(st.errorThrown=!0,st.error=e)}var at=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,zn(t)&&t.add(this)):this.destination=ip}static create(t,n,r){return new ke(t,n,r)}next(t){this.isStopped?ei(fc(t),this):this._next(t)}error(t){this.isStopped?ei(dc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ei(uc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},rp=Function.prototype.bind;function Ko(e,t){return rp.call(e,t)}var ti=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zn(r)}else Zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zn(n)}}},ke=class extends at{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t!=null?t:void 0,error:n!=null?n:void 0,complete:r!=null?r:void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ko(t.next,i),error:t.error&&Ko(t.error,i),complete:t.complete&&Ko(t.complete,i)}):o=t}this.destination=new ti(o)}};function Zn(e){pe.useDeprecatedSynchronousErrorHandling?pc(e):Qn(e)}function op(e){throw e}function ei(e,t){let{onStoppedNotification:n}=pe;n&&Nt.setTimeout(()=>n(e,t))}var ip={closed:!0,next:he,error:op,complete:he};var ct=typeof Symbol=="function"&&Symbol.observable||"@@observable";function H(e){return e}function sp(...e){return ni(e)}function ni(e){return e.length===0?H:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=cp(n)?n:new ke(n,r,o);return St(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=hc(r),new r((o,i)=>{let s=new ke({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ct](){return this}pipe(...n){return ni(n)(this)}toPromise(n){return n=hc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function hc(e){var t;return(t=e!=null?e:pe.Promise)!==null&&t!==void 0?t:Promise}function ap(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function cp(e){return e&&e instanceof at||ap(e)&&zn(e)}var mc=We(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Yn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new mc}next(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Jo:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,it(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new Yn(t,n),e})(),Yn=class extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Jo}};var ln=class extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ri=function(e,t){return ri=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},ri(e,t)};function wx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ri(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gc=function(){return gc=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},gc.apply(this,arguments)};function bx(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function xx(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Ex(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function yc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Dx(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(u){l=[6,u],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function vc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cx(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function lt(e){return this instanceof lt?(this.v=e,this):new lt(e)}function Ic(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(h){return Promise.resolve(h).then(p,d)}}function a(p,h){r[p]&&(o[p]=function(g){return new Promise(function(y,w){i.push([p,g,y,w])>1||c(p,g)})},h&&(o[p]=h(o[p])))}function c(p,h){try{l(r[p](h))}catch(g){f(i[0][3],g)}}function l(p){p.value instanceof lt?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function f(p,h){p(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function wc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof vc=="function"?vc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}function Jn(e){return e&&b(e.schedule)}function oi(e){return e[e.length-1]}function Ge(e){return b(oi(e))?e.pop():void 0}function Ce(e){return Jn(oi(e))?e.pop():void 0}function bc(e,t){return typeof oi(e)=="number"?e.pop():t}var Ot=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xn(e){return b(e==null?void 0:e.then)}function Kn(e){return b(e[ct])}function er(e){return Symbol.asyncIterator&&b(e==null?void 0:e[Symbol.asyncIterator])}function tr(e){return new TypeError("You provided ".concat(e!==null&&typeof e=="object"?"an invalid object":"'".concat(e,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}function lp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nr=lp();function rr(e){return b(e==null?void 0:e[nr])}function or(e){return Ic(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield lt(n.read());if(o)return yield lt(void 0);yield yield lt(r)}}finally{n.releaseLock()}})}function ir(e){return b(e==null?void 0:e.getReader)}function x(e){if(e instanceof M)return e;if(e!=null){if(Kn(e))return up(e);if(Ot(e))return dp(e);if(Xn(e))return fp(e);if(er(e))return xc(e);if(rr(e))return pp(e);if(ir(e))return hp(e)}throw tr(e)}function up(e){return new M(t=>{let n=e[ct]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dp(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function fp(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Qn)})}function pp(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function xc(e){return new M(t=>{mp(e,t).catch(n=>t.error(n))})}function hp(e){return xc(or(e))}function mp(e,t){var n,r,o,i;return yc(this,void 0,void 0,function*(){try{for(n=wc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ii(e){return b(e==null?void 0:e.lift)}function v(e){return t=>{if(ii(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new un(e,t,n,r,o)}var un=class extends at{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function dn(e,t=0){return v((n,r)=>{n.subscribe(m(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function sr(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ec(e,t){return x(e).pipe(sr(t),dn(t))}function Dc(e,t){return x(e).pipe(sr(t),dn(t))}function Cc(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Mc(e,t){return new M(n=>{let r;return Z(n,t,()=>{r=e[nr](),Z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>b(r==null?void 0:r.return)&&r.return()})}function ar(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _c(e,t){return ar(or(e),t)}function Tc(e,t){if(e!=null){if(Kn(e))return Ec(e,t);if(Ot(e))return Cc(e,t);if(Xn(e))return Dc(e,t);if(er(e))return ar(e,t);if(rr(e))return Mc(e,t);if(ir(e))return _c(e,t)}throw tr(e)}function Me(e,t){return t?Tc(e,t):x(e)}function si(...e){let t=Ce(e);return Me(e,t)}function ai(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function K(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:gp}=Array,{getPrototypeOf:vp,prototype:yp,keys:Ip}=Object;function cr(e){if(e.length===1){let t=e[0];if(gp(t))return{args:t,keys:null};if(wp(t)){let n=Ip(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function wp(e){return e&&typeof e=="object"&&vp(e)===yp}var{isArray:bp}=Array;function xp(e,t){return bp(t)?e(...t):e(t)}function At(e){return K(t=>xp(e,t))}function lr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ep(...e){let t=Ce(e),n=Ge(e),{args:r,keys:o}=cr(e);if(r.length===0)return Me([],t);let i=new M(Dp(r,t,o?s=>lr(o,s):H));return n?i.pipe(At(n)):i}function Dp(e,t,n=H){return r=>{Nc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Nc(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Nc(e,t,n){e?Z(n,e,t):t()}var ur=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var fn={setInterval(e,t,...n){let{delegate:r}=fn;return r!=null&&r.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=fn;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var ze=class extends ur{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return fn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&fn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,it(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var pn={now(){return(pn.delegate||Date).now()},delegate:void 0};var Pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Pt.now=pn.now;var Qe=class extends Pt{constructor(t,n=Pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ee=new Qe(ze),ci=ee;function dr(e){return e instanceof Date&&!isNaN(e)}function me(e=0,t,n=ci){let r=-1;return t!=null&&(Jn(t)?n=t:r=t),new M(o=>{let i=dr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Cp(e=0,t=ee){return e<0&&(e=0),me(e,e,t)}function Sc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let y=!1;x(n(g,u++)).subscribe(m(t,w=>{o==null||o(w),i?p(w):t.next(w)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&l<r;){let w=c.shift();s?Z(t,s,()=>h(w)):h(w)}f()}catch(w){t.error(w)}}))};return e.subscribe(m(t,p,()=>{d=!0,f()})),()=>{a==null||a()}}function le(e,t,n=1/0){return b(t)?le((r,o)=>K((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Sc(r,o,e,n)))}function hn(e=1/0){return le(H,e)}var ge=new M(e=>e.complete());function Mp(...e){let t=Ce(e),n=bc(e,1/0),r=e;return r.length?r.length===1?x(r[0]):hn(n)(Me(r,t)):ge}function Ze(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}var{isArray:_p}=Array;function fr(e){return e.length===1&&_p(e[0])?e[0]:e}function Tp(...e){let t=Ge(e),n=fr(e);return n.length?new M(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)x(n[s]).subscribe(m(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ge}function li(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=x(e(s,li(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Oc(e,t=ee){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(m(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function ut(e){return e<=0?()=>ge:v((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pr(e){return K(()=>e)}function Ac(){return hn(1)}function Rt(...e){return Ac()(Me(e,Ce(e)))}function ui(){return v((e,t)=>{e.subscribe(m(t,he))})}function di(e,t){return t?n=>Rt(t.pipe(ut(1),ui()),n.pipe(di(e))):le((n,r)=>x(e(n,r)).pipe(ut(1),pr(n)))}function Pc(e,t=ee){let n=me(e,t);return di(()=>n)}function Rc(e,t=H){return e=e!=null?e:Np,v((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Np(e,t){return e===t}var mn=class extends X{constructor(t=1/0,n=1/0,r=pn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function pi(e={}){let{connector:t=()=>new X,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a==null||a.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let g=s;p(),g==null||g.unsubscribe()};return v((g,y)=>{l++,!d&&!u&&f();let w=c=c!=null?c:t();y.add(()=>{l--,l===0&&!d&&!u&&(a=fi(h,o))}),w.subscribe(y),!s&&l>0&&(s=new ke({next:R=>w.next(R),error:R=>{d=!0,f(),a=fi(p,n,R),w.error(R)},complete:()=>{u=!0,f(),a=fi(p,r),w.complete()}}),x(g).subscribe(s))})(i)}}function fi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ke({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function kc(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e!=null?e:1/0,pi({connector:()=>new mn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Lc(e){return Ze((t,n)=>e<=n)}function Fc(...e){let t=Ce(e);return v((n,r)=>{(t?Rt(e,n,t):Rt(e,n)).subscribe(r)})}function jc(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o==null||o.unsubscribe();let l=0,u=i++;x(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Vc(e){return v((t,n)=>{x(e).subscribe(m(n,()=>n.complete(),he)),!n.closed&&t.subscribe(n)})}function Hc(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):H}function $c(...e){let t=Ge(e);return v((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(H))&&(s=null))},he));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function hi(){return v((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var mi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ii(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t==null||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new V;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return hi()(this)}};var Sp=1,gi,vi={};function Bc(e){return e in vi?(delete vi[e],!0):!1}var Uc={setImmediate(e){let t=Sp++;return vi[t]=!0,gi||(gi=Promise.resolve()),gi.then(()=>Bc(t)&&e()),t},clearImmediate(e){Bc(e)}};var{setImmediate:Op,clearImmediate:Ap}=Uc,gn={setImmediate(...e){let{delegate:t}=gn;return((t==null?void 0:t.setImmediate)||Op)(...e)},clearImmediate(e){let{delegate:t}=gn;return((t==null?void 0:t.clearImmediate)||Ap)(e)},delegate:void 0};var hr=class extends ze{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=gn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(gn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var mr=class extends Qe{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Pp=new mr(hr);var gr=class extends ze{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var vr=class extends Qe{};var Rp=new vr(gr);var Ye=class e{constructor(t,n,r){this.kind=t,this.value=n,this.error=r,this.hasValue=t==="N"}observe(t){return yi(this,t)}do(t,n,r){let{kind:o,value:i,error:s}=this;return o==="N"?t==null?void 0:t(i):o==="E"?n==null?void 0:n(s):r==null?void 0:r()}accept(t,n,r){var o;return b((o=t)===null||o===void 0?void 0:o.next)?this.observe(t):this.do(t,n,r)}toObservable(){let{kind:t,value:n,error:r}=this,o=t==="N"?si(n):t==="E"?ai(()=>r):t==="C"?ge:0;if(!o)throw new TypeError("Unexpected notification kind ".concat(t));return o}static createNext(t){return new e("N",t)}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}};Ye.completeNotification=new Ye("C");function yi(e,t){var n,r,o;let{kind:i,value:s,error:a}=e;if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(n=t.next)===null||n===void 0||n.call(t,s):i==="E"?(r=t.error)===null||r===void 0||r.call(t,a):(o=t.complete)===null||o===void 0||o.call(t)}function kp(e){return!!e&&(e instanceof M||b(e.lift)&&b(e.subscribe))}var dt=We(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var Lp=We(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function qc(e,t){let{first:n,each:r,with:o=Fp,scheduler:i=t!=null?t:ee,meta:s=null}=dr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return v((a,c)=>{let l,u,d=null,f=0,p=h=>{u=Z(c,i,()=>{try{l.unsubscribe(),x(o({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(g){c.error(g)}},h)};l=a.subscribe(m(c,h=>{u==null||u.unsubscribe(),f++,c.next(d=h),r>0&&p(r)},void 0,void 0,()=>{u!=null&&u.closed||u==null||u.unsubscribe(),d=null})),!f&&p(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Fp(e){throw new Lp(e)}function jp(e){return new M(t=>{x(e()).subscribe(t)})}function Vp(...e){let t=Ge(e),{args:n,keys:r}=cr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;x(n[u]).subscribe(m(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?lr(r,a):a),i.complete())}))}});return t?o.pipe(At(t)):o}var Hp=["addListener","removeListener"],$p=["addEventListener","removeEventListener"],Bp=["on","off"];function Ii(e,t,n,r){if(b(n)&&(r=n,n=void 0),r)return Ii(e,t,n).pipe(At(r));let[o,i]=Wp(e)?$p.map(s=>a=>e[s](t,a,n)):Up(e)?Hp.map(Wc(e,t)):qp(e)?Bp.map(Wc(e,t)):[];if(!o&&Ot(e))return le(s=>Ii(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Wc(e,t){return n=>r=>e[n](t,r)}function Up(e){return b(e.addListener)&&b(e.removeListener)}function qp(e){return b(e.on)&&b(e.off)}function Wp(e){return b(e.addEventListener)&&b(e.removeEventListener)}function Gp(...e){return e=fr(e),e.length===1?x(e[0]):new M(zp(e))}function zp(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(x(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Gc(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i==null||i.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||x(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Qp(e,t=ee){return Gc(()=>me(e,t))}function zc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Qc(e,t){return b(t)?le(e,t,1):le(e,1)}function vn(e){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Zp(){return v((e,t)=>{e.subscribe(m(t,n=>yi(n,t)))})}function Yp(e,t){return v((n,r)=>{let o=new Set;n.subscribe(m(r,i=>{let s=e?e(i):i;o.has(s)||(o.add(s),r.next(i))})),t&&x(t).subscribe(m(r,()=>o.clear(),he))})}function yr(e=Jp){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jp(){return new dt}function wi(e,t){return t?n=>n.pipe(wi((r,o)=>x(e(r,o)).pipe(K((i,s)=>t(r,i,o,s))))):v((n,r)=>{let o=0,i=null,s=!1;n.subscribe(m(r,a=>{i||(i=m(r,void 0,()=>{i=null,s&&r.complete()}),x(e(a,o++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}function Zc(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bi(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ze((o,i)=>e(o,i,r)):H,ut(1),n?vn(t):yr(()=>new dt))}function Xp(e,t,n,r){return v((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=h=>{a.forEach(h),h(i)},l=h=>c(g=>g.error(h)),u=0,d=!1,f=new un(i,h=>{try{let g=e(h),y=a.get(g);if(!y){a.set(g,y=r?r():new X);let w=p(g,y);if(i.next(w),n){let R=m(y,()=>{y.complete(),R==null||R.unsubscribe()},void 0,void 0,()=>a.delete(g));f.add(x(n(w)).subscribe(R))}}y.next(s?s(h):h)}catch(g){l(g)}},()=>c(h=>h.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(f);function p(h,g){let y=new M(w=>{u++;let R=g.subscribe(w);return()=>{R.unsubscribe(),--u===0&&d&&f.unsubscribe()}});return y.key=h,y}})}function xi(e){return e<=0?()=>ge:v((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Kp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ze((o,i)=>e(o,i,r)):H,xi(1),n?vn(t):yr(()=>new dt))}function eh(){return v((e,t)=>{e.subscribe(m(t,n=>{t.next(Ye.createNext(n))},()=>{t.next(Ye.createComplete()),t.complete()},n=>{t.next(Ye.createError(n)),t.complete()}))})}function th(){return v((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Yc(...e){let t=e.length;if(t===0)throw new Error("list of properties cannot be empty.");return K(n=>{let r=n;for(let o=0;o<t;o++){let i=r==null?void 0:r[e[o]];if(typeof i<"u")r=i;else return}return r})}function nh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?H:v((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(m(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let f=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let p=typeof r=="number"?me(r):x(r(d,a)),h=m(s,()=>{h.unsubscribe(),f()},()=>{s.complete()});p.subscribe(h)}else f()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function rh(e,t){return v(zc(e,t,arguments.length>=2,!0))}function oh(e){return v((t,n)=>{let r=!1,o=0;t.subscribe(m(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function ih(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Jc(e,t){return v((n,r)=>{let{leading:o=!0,trailing:i=!1}=t!=null?t:{},s=!1,a=null,c=null,l=!1,u=()=>{c==null||c.unsubscribe(),c=null,i&&(p(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},f=h=>c=x(e(h)).subscribe(m(r,u,d)),p=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&f(h)}};n.subscribe(m(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?p():f(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function sh(e,t=ee,n){let r=me(e,t);return Jc(()=>r,n)}function Xc(e,t){return Object.is(e,t)}var F=null,yn=!1,Ir=1,ve=Symbol("SIGNAL");function _(e){let t=F;return F=e,t}function ah(){return yn}var wn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function br(e){if(yn)throw new Error("");if(F===null)return;F.consumerOnSignalRead(e);let t=F.nextProducerIndex++;if(kt(F),t<F.producerNode.length&&F.producerNode[t]!==e&&In(F)){let n=F.producerNode[t];Cr(n,F.producerIndexOfThis[t])}F.producerNode[t]!==e&&(F.producerNode[t]=e,F.producerIndexOfThis[t]=In(F)?rl(e,F,t):0),F.producerLastReadVersion[t]=e.version}function ch(){Ir++}function Kc(e){if(!(In(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ir)){if(!e.producerMustRecompute(e)&&!Dr(e)){e.dirty=!1,e.lastCleanEpoch=Ir;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Ir}}function el(e){if(e.liveConsumerNode===void 0)return;let t=yn;yn=!0;try{for(let n of e.liveConsumerNode)n.dirty||nl(n)}finally{yn=t}}function tl(){return(F==null?void 0:F.consumerAllowSignalWrites)!==!1}function nl(e){var t;e.dirty=!0,el(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function xr(e){return e&&(e.nextProducerIndex=0),_(e)}function Er(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(In(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Cr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Dr(e){kt(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Kc(n),r!==n.version))return!0}return!1}function _i(e){if(kt(e),In(e))for(let t=0;t<e.producerNode.length;t++)Cr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function rl(e,t,n){if(ol(e),kt(e),e.liveConsumerNode.length===0)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=rl(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Cr(e,t){if(ol(e),kt(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)Cr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];kt(o),o.producerIndexOfThis[r]=t}}function In(e){var t,n;return e.consumerIsAlwaysLive||((n=(t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)!=null?n:0)>0}function kt(e){var t,n,r;(t=e.producerNode)!=null||(e.producerNode=[]),(n=e.producerIndexOfThis)!=null||(e.producerIndexOfThis=[]),(r=e.producerLastReadVersion)!=null||(e.producerLastReadVersion=[])}function ol(e){var t,n;(t=e.liveConsumerNode)!=null||(e.liveConsumerNode=[]),(n=e.liveConsumerIndexOfThis)!=null||(e.liveConsumerIndexOfThis=[])}function il(e){let t=Object.create(lh);t.computation=e;let n=()=>{if(Kc(t),br(t),t.value===wr)throw t.error;return t.value};return n[ve]=t,n}var Ei=Symbol("UNSET"),Di=Symbol("COMPUTING"),wr=Symbol("ERRORED"),lh=qe(Ue({},wn),{value:Ei,dirty:!0,error:null,equal:Xc,producerMustRecompute(e){return e.value===Ei||e.value===Di},producerRecomputeValue(e){if(e.value===Di)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Di;let n=xr(e),r;try{r=e.computation()}catch(o){r=wr,e.error=o}finally{Er(e,n)}if(t!==Ei&&t!==wr&&r!==wr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function uh(){throw new Error}var sl=uh;function al(){sl()}function cl(e){sl=e}var Ci=null;function ll(e){let t=Object.create(Ti);t.value=e;let n=()=>(br(t),t.value);return n[ve]=t,n}function Mr(e,t){tl()||al(),e.equal(e.value,t)||(e.value=t,dh(e))}function ul(e,t){tl()||al(),Mr(e,t(e.value))}var Ti=qe(Ue({},wn),{equal:Xc,value:void 0});function dh(e){e.version++,ch(),el(e),Ci==null||Ci()}function dl(e,t,n){let r=Object.create(fh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(_i(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Mi)}let a=()=>{if(r.fn===null)return;if(ah())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Dr(r))return;r.hasRun=!0;let c=xr(r);try{r.cleanupFn(),r.cleanupFn=Mi,r.fn(o)}finally{Er(r,c)}};return r.ref={notify:()=>nl(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ve]:r},r.ref}var Mi=()=>{},fh=qe(Ue({},wn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Mi});var uu="https://g.co/ng/security#xss",N=class extends Error{constructor(t,n){super(ph(t,n)),this.code=t}};function ph(e,t){let n="NG0".concat(Math.abs(e));return"".concat(n).concat(t?": "+t:"")}var du=Symbol("InputSignalNode#UNSET"),hh=qe(Ue({},Ti),{transformFn:void 0,applyValueToInputSignal(e,t){Mr(e,t)}});function fu(e,t){let n=Object.create(hh);n.value=e,n.transformFn=t==null?void 0:t.transform;function r(){if(br(n),n.value===du)throw new N(-950,!1);return n.value}return r[ve]=n,r}function kn(e){return{toString:e}.toString()}var _r="__parameters__";function mh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function la(e,t,n){return kn(()=>{let r=mh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(_r)?c[_r]:Object.defineProperty(c,_r,{value:[]})[_r];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ue=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function gh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(se).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);let t=e.toString();if(t==null)return""+t;let n=t.indexOf("\n");return n===-1?t:t.substring(0,n)}function Wi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var vh=A({__forward_ref__:A});function pu(e){return e.__forward_ref__=pu,e.toString=function(){return se(this())},e}function G(e){return hu(e)?e():e}function hu(e){return typeof e=="function"&&e.hasOwnProperty(vh)&&e.__forward_ref__===pu}function mu(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+(r==null?"":" [Expected=> ".concat(n," ").concat(r," ").concat(t," <=Actual]")))}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yh(e){return{providers:e.providers||[],imports:e.imports||[]}}function fo(e){return fl(e,gu)||fl(e,vu)}function $O(e){return fo(e)!==null}function fl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ih(e){let t=e&&(e[gu]||e[vu]);return t||null}function pl(e){return e&&(e.hasOwnProperty(hl)||e.hasOwnProperty(wh))?e[hl]:null}var gu=A({\u0275prov:A}),hl=A({\u0275inj:A}),vu=A({ngInjectableDef:A}),wh=A({ngInjectorDef:A}),k=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}};function yu(e){return e&&!!e.\u0275providers}var bh=A({\u0275cmp:A}),xh=A({\u0275dir:A}),Eh=A({\u0275pipe:A}),Dh=A({\u0275mod:A}),Vr=A({\u0275fac:A}),xn=A({__NG_ELEMENT_ID__:A}),ml=A({__NG_ENV_ID__:A});function re(e){return typeof e=="string"?e:e==null?"":String(e)}function Ch(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():re(e)}function Mh(e,t){let n=t?". Dependency path: ".concat(t.join(" > ")," > ").concat(e):"";throw new N(-200,e)}function ua(e,t){throw new N(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),Gi;function Iu(){return Gi}function te(e){let t=Gi;return Gi=e,t}function wu(e,t,n){let r=fo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;ua(e,"Injector")}var _h={},Cn=_h,zi="__NG_DI_FLAG__",Hr="ngTempTokenPath",Th="ngTokenPath",Nh=/\n/gm,Sh="\u0275",gl="__source",$t;function Oh(){return $t}function Je(e){let t=$t;return $t=e,t}function Ah(e,t=T.Default){if($t===void 0)throw new N(-203,!1);return $t===null?wu(e,void 0,t):$t.get(e,t&T.Optional?null:void 0,t)}function de(e,t=T.Default){return(Iu()||Ah)(G(e),t)}function O(e,t=T.Default){return de(e,po(t))}function po(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Qi(e){let t=[];for(let n=0;n<e.length;n++){let r=G(e[n]);if(Array.isArray(r)){if(r.length===0)throw new N(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Ph(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(de(o,i))}else t.push(de(r))}return t}function da(e,t){return e[zi]=t,e.prototype[zi]=t,e}function Ph(e){return e[zi]}function Rh(e,t,n,r){let o=e[Hr];throw t[gl]&&o.unshift(t[gl]),e.message=kh("\n"+e.message,o,n,r),e[Th]=o,e[Hr]=null,e}function kh(e,t,n,r=null){e=e&&e.charAt(0)==="\n"&&e.charAt(1)==Sh?e.slice(2):e;let o=se(t);if(Array.isArray(t))o=t.map(se).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):se(a)))}o="{".concat(i.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(Nh,"\n "))}var BO=da(la("Inject",e=>({token:e})),-1),bu=da(la("Optional"),8);var xu=da(la("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty(Vr);return n?e[Vr]:null}function Lh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Fh(e){return e.flat(Number.POSITIVE_INFINITY)}function fa(e,t){e.forEach(n=>Array.isArray(n)?fa(n,t):t(n))}function Eu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $r(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function jh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Vh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function tn(e,t,n){let r=Ln(e,t);return r>=0?e[r|1]=n:(r=~r,Vh(e,r,t,n)),r}function Ni(e,t){let n=Ln(e,t);if(n>=0)return e[n|1]}function Ln(e,t){return Hh(e,t,1)}function Hh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Le={},oe=[],Br=new k(""),Du=new k("",-1),Cu=new k(""),Ur=class{get(t,n=Cn){if(n===Cn){let r=new Error("NullInjectorError: No provider for ".concat(se(t),"!"));throw r.name="NullInjectorError",r}return n}},Mu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Mu||{}),Mn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Mn||{}),qt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(qt||{});function $h(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Zi(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Bh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function _u(e){return e===3||e===4||e===6}function Bh(e){return e.charCodeAt(0)===64}function _n(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?vl(e,n,o,null,t[++r]):vl(e,n,o,null,null))}}return e}function vl(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Tu="ng-template";function Uh(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&$h(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(pa(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function pa(e){return e.type===4&&e.value!==Tu}function qh(e,t,n){let r=e.type===4&&!n?Tu:e.value;return t===r}function Wh(e,t,n){let r=4,o=e.attrs,i=o!==null?Qh(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ye(r)&&!ye(c))return!1;if(s&&ye(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!qh(e,c,n)||c===""&&t.length===1){if(ye(r))return!1;s=!0}}else if(r&8){if(o===null||!Uh(e,o,c,n)){if(ye(r))return!1;s=!0}}else{let l=t[++a],u=Gh(c,o,pa(e),n);if(u===-1){if(ye(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ye(r))return!1;s=!0}}}}return ye(r)||s}function ye(e){return(e&1)===0}function Gh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Zh(t,e)}function Nu(e,t,n=!1){for(let r=0;r<t.length;r++)if(Wh(e,t[r],n))return!0;return!1}function zh(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Qh(e){for(let t=0;t<e.length;t++){let n=e[t];if(_u(n))return t}return e.length}function Zh(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Yh(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function yl(e,t){return e?":not("+t.trim()+")":t}function Jh(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ye(s)&&(t+=yl(i,o),o=""),r=s,i=i||!ye(r);n++}return o!==""&&(t+=yl(i,o)),t}function Xh(e){return e.map(Jh).join(",")}function Kh(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ye(o))break;o=i}r++}return{attrs:t,classes:n}}function UO(e){return kn(()=>{var o;let t=Ou(e),n=qe(Ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Mu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:(o=e.signals)!=null?o:!1,data:e.data||{},encapsulation:e.encapsulation||Mn.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""});Au(n);let r=e.dependencies;return n.directiveDefs=wl(r,!1),n.pipeDefs=wl(r,!0),n.id=om(n),n})}function em(e){return Se(e)||ho(e)}function tm(e){return e!==null}function nm(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Il(e,t){var r;if(e==null)return Le;let n={};for(let o in e)if(e.hasOwnProperty(o)){let i=e[o],s,a,c=qt.None;Array.isArray(i)?(c=i[0],s=i[1],a=(r=i[2])!=null?r:s):(s=i,a=i),t?(n[s]=c!==qt.None?[o,c]:o,t[s]=a):n[s]=o}return n}function qO(e){return kn(()=>{let t=Ou(e);return Au(t),t})}function WO(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Se(e){return e[bh]||null}function ho(e){return e[xh]||null}function ha(e){return e[Eh]||null}function rm(e){let t=Se(e)||ho(e)||ha(e);return t!==null?t.standalone:!1}function Su(e,t){let n=e[Dh]||null;if(!n&&t===!0)throw new Error("Type ".concat(se(e)," does not have '\u0275mod' property."));return n}function Ou(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Le,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Il(e.inputs,t),outputs:Il(e.outputs),debugInfo:null}}function Au(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function wl(e,t){if(!e)return null;let n=t?ha:em;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(tm)}function om(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function im(e){return{\u0275providers:e}}function sm(...e){return{\u0275providers:ma(!0,e),\u0275fromNgModule:!0}}function ma(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return fa(t,s=>{let a=s;Yi(a,i,[],r)&&(o||(o=[]),o.push(a))}),o!==void 0&&Pu(o,i),n}function Pu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ga(o,i=>{t(i,r)})}}function Yi(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=pl(e),s=!i&&Se(e);if(!i&&!s){let c=e.ngModule;if(i=pl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Yi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{fa(i.imports,u=>{Yi(u,t,n,r)&&(l||(l=[]),l.push(u))})}finally{}l!==void 0&&Pu(l,t)}if(!a){let l=gt(o)||(()=>new o);t({provide:o,useFactory:l,deps:oe},o),t({provide:Cu,useValue:o,multi:!0},o),t({provide:Br,useValue:()=>de(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ga(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ga(e,t){for(let n of e)yu(n)&&(n=n.\u0275providers),Array.isArray(n)?ga(n,t):t(n)}var am=A({provide:String,useValue:A});function Ru(e){return e!==null&&typeof e=="object"&&am in e}function cm(e){return!!(e&&e.useExisting)}function lm(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function um(e){return!!e.useClass}var ku=new k(""),Pr={},dm={},Si;function va(){return Si===void 0&&(Si=new Ur),Si}var Fe=class{},Tn=class extends Fe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xi(t,s=>this.processProvider(s)),this.records.set(Du,Ft(void 0,this)),o.has("environment")&&this.records.set(Fe,Ft(void 0,this));let i=this.records.get(ku);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Cu,oe,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Je(this),r=te(void 0),o;try{return t()}finally{Je(n),te(r)}}get(t,n=Cn,r=T.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ml))return t[ml](this);r=po(r);let o,i=Je(this),s=te(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=gm(t)&&fo(t);l&&this.injectableDefInScope(l)?c=Ft(Ji(t),Pr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?va():this.parent;return n=r&T.Optional&&n===Cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Hr]=a[Hr]||[]).unshift(se(t)),i)throw a;return Rh(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Je(i)}}resolveInjectorInitializers(){let t=_(null),n=Je(this),r=te(void 0),o;try{let i=this.get(Br,oe,T.Self);for(let s of i)s()}finally{Je(n),te(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(se(r));return"R3Injector[".concat(t.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){t=G(t);let n=Wt(t)?t:G(t&&t.provide),r=pm(t);if(!Wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ft(void 0,Pr,!0),o.factory=()=>Qi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Pr&&(n.value=dm,n.value=n.factory()),typeof n.value=="object"&&n.value&&mm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ji(e){let t=fo(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof k)throw new N(204,!1);if(e instanceof Function)return fm(e);throw new N(204,!1)}function fm(e){if(e.length>0)throw new N(204,!1);let n=Ih(e);return n!==null?()=>n.factory(e):()=>new e}function pm(e){if(Ru(e))return Ft(void 0,e.useValue);{let t=Lu(e);return Ft(t,Pr)}}function Lu(e,t,n){let r;if(Wt(e)){let o=G(e);return gt(o)||Ji(o)}else if(Ru(e))r=()=>G(e.useValue);else if(lm(e))r=()=>e.useFactory(...Qi(e.deps||[]));else if(cm(e))r=()=>de(G(e.useExisting));else{let o=G(e&&(e.useClass||e.provide));if(hm(e))r=()=>new o(...Qi(e.deps));else return gt(o)||Ji(o)}return r}function Ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hm(e){return!!e.deps}function mm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function gm(e){return typeof e=="function"||typeof e=="object"&&e instanceof k}function Xi(e,t){for(let n of e)Array.isArray(n)?Xi(n,t):n&&yu(n)?Xi(n.\u0275providers,t):t(n)}function vm(e,t){e instanceof Tn&&e.assertNotDestroyed();let n,r=Je(e),o=te(void 0);try{return t()}finally{Je(r),te(o)}}function Fu(){return Iu()!==void 0||Oh()!=null}function ju(e){if(!Fu())throw new N(-203,!1)}function ym(e){return typeof e=="function"}var Ae=0,E=1,D=2,W=3,Ie=4,ce=5,Gt=6,Nn=7,z=8,be=9,xe=10,P=11,Sn=12,bl=13,nn=14,ae=15,Fn=16,jt=17,we=18,mo=19,Vu=20,Xe=21,Bt=22,vt=23,L=25,ya=1;var yt=7,qr=8,zt=9,Q=10,Ia=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ia||{});function ht(e){return Array.isArray(e)&&typeof e[ya]=="object"}function He(e){return Array.isArray(e)&&e[ya]===!0}function wa(e){return(e.flags&4)!==0}function go(e){return e.componentOffset>-1}function vo(e){return(e.flags&1)===1}function je(e){return!!e.template}function Im(e){return(e[D]&512)!==0}function Ki(e){return(e[D]&256)===256}var es=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function wm(){return $u}function $u(e){return e.type.prototype.ngOnChanges&&(e.setInput=xm),bm}wm.ngInherit=!0;function bm(){let e=Uu(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===Le)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xm(e,t,n,r,o){let i=this.declaredInputs[r],s=Uu(e)||Em(e,{previous:Le,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new es(l&&l.currentValue,n,c===Le),Hu(e,t,o,n)}var Bu="__ngSimpleChanges__";function Uu(e){return e[Bu]||null}function Em(e,t){return e[Bu]=t}var xl=null;var Te=function(e,t,n){xl!=null&&xl(e,t,n)},qu="svg",Dm="math",Cm=!1;function Mm(){return Cm}function Oe(e){for(;Array.isArray(e);)e=e[Ae];return e}function _m(e){for(;Array.isArray(e);){if(typeof e[ya]=="object")return e;e=e[Ae]}return null}function ba(e,t){return Oe(t[e])}function fe(e,t){return Oe(t[e.index])}function jn(e,t){return e.data[t]}function Vn(e,t){return e[t]}function tt(e,t){let n=t[e];return ht(n)?n:n[Ae]}function Tm(e){return(e[D]&4)===4}function xa(e){return(e[D]&128)===128}function Nm(e){return He(e[W])}function Qt(e,t){return t==null?null:e[t]}function Wu(e){e[jt]=0}function Sm(e){e[D]&1024||(e[D]|=1024,xa(e)&&On(e))}function Gu(e,t){for(;e>0;)t=t[nn],e--;return t}function Ea(e){var t;return!!(e[D]&9216||(t=e[vt])!=null&&t.dirty)}function ts(e){var t,n;(t=e[xe].changeDetectionScheduler)==null||t.notify(1),Ea(e)?On(e):e[D]&64&&(Mm()?(e[D]|=1024,On(e)):(n=e[xe].changeDetectionScheduler)==null||n.notify())}function On(e){var n;(n=e[xe].changeDetectionScheduler)==null||n.notify();let t=An(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!xa(t)));)t=An(t)}function yo(e,t){if((e[D]&256)===256)throw new N(911,!1);e[Xe]===null&&(e[Xe]=[]),e[Xe].push(t)}function Da(e,t){if(e[Xe]===null)return;let n=e[Xe].indexOf(t);n!==-1&&e[Xe].splice(n,1)}function An(e){let t=e[W];return He(t)?t[W]:t}var C={lFrame:Ku(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Om(){return C.lFrame.elementDepthCount}function Am(){C.lFrame.elementDepthCount++}function Pm(){C.lFrame.elementDepthCount--}function zu(){return C.bindingsEnabled}function Qu(){return C.skipHydrationRootTNode!==null}function Rm(e){return C.skipHydrationRootTNode===e}function km(){C.skipHydrationRootTNode=null}function I(){return C.lFrame.lView}function S(){return C.lFrame.tView}function GO(e){return C.lFrame.contextLView=e,e[z]}function zO(e){return C.lFrame.contextLView=null,e}function U(){let e=Zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Zu(){return C.lFrame.currentTNode}function Lm(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ct(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function Ca(){return C.lFrame.isParent}function Ma(){C.lFrame.isParent=!1}function Fm(){return C.lFrame.contextLView}function Ee(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _a(){return C.lFrame.bindingIndex}function jm(e){return C.lFrame.bindingIndex=e}function nt(){return C.lFrame.bindingIndex++}function Hn(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vm(){return C.lFrame.inI18n}function Hm(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,ns(t)}function $m(){return C.lFrame.currentDirectiveIndex}function ns(e){C.lFrame.currentDirectiveIndex=e}function Ta(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Yu(){return C.lFrame.currentQueryIndex}function Na(e){C.lFrame.currentQueryIndex=e}function Bm(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ce]:null}function Ju(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Bm(i),o===null||(i=i[nn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Xu();return r.currentTNode=t,r.lView=e,!0}function Sa(e){let t=Xu(),n=e[E];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xu(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ku(e):t}function Ku(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ed(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var td=ed;function Oa(){let e=ed();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 Um(e){return(C.lFrame.contextLView=Gu(e,C.lFrame.contextLView))[z]}function Pe(){return C.lFrame.selectedIndex}function It(e){C.lFrame.selectedIndex=e}function Re(){let e=C.lFrame;return jn(e.tView,e.selectedIndex)}function QO(){C.lFrame.currentNamespace=qu}function ZO(){qm()}function qm(){C.lFrame.currentNamespace=null}function Wm(){return C.lFrame.currentNamespace}var nd=!0;function Io(){return nd}function wo(e){nd=e}function Gm(e,t,n){var s,a,c,l,u;let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let d=$u(t);((s=n.preOrderHooks)!=null?s:n.preOrderHooks=[]).push(e,d),((a=n.preOrderCheckHooks)!=null?a:n.preOrderCheckHooks=[]).push(e,d)}o&&((c=n.preOrderHooks)!=null?c:n.preOrderHooks=[]).push(0-e,o),i&&(((l=n.preOrderHooks)!=null?l:n.preOrderHooks=[]).push(e,i),((u=n.preOrderCheckHooks)!=null?u:n.preOrderCheckHooks=[]).push(e,i))}function bo(e,t){var n,r,o,i,s,a,c;for(let l=t.directiveStart,u=t.directiveEnd;l<u;l++){let f=e.data[l].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:y,ngOnDestroy:w}=f;p&&((n=e.contentHooks)!=null?n:e.contentHooks=[]).push(-l,p),h&&(((r=e.contentHooks)!=null?r:e.contentHooks=[]).push(l,h),((o=e.contentCheckHooks)!=null?o:e.contentCheckHooks=[]).push(l,h)),g&&((i=e.viewHooks)!=null?i:e.viewHooks=[]).push(-l,g),y&&(((s=e.viewHooks)!=null?s:e.viewHooks=[]).push(l,y),((a=e.viewCheckHooks)!=null?a:e.viewCheckHooks=[]).push(l,y)),w!=null&&((c=e.destroyHooks)!=null?c:e.destroyHooks=[]).push(l,w)}}function Rr(e,t,n){rd(e,t,3,n)}function kr(e,t,n,r){(e[D]&3)===n&&rd(e,t,n,r)}function Oi(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function rd(e,t,n,r){let o=r!==void 0?e[jt]&65535:0,i=r!=null?r:-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[jt]+=65536),(a<i||i==-1)&&(zm(e,n,t,c),e[jt]=(e[jt]&4294901760)+c+2),c++}function El(e,t){Te(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),Te(5,e,t)}}function zm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[jt]>>16&&(e[D]&3)===t&&(e[D]+=16384,El(a,i)):El(a,i)}var Ut=-1,wt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Qm(e){return e instanceof wt}function Zm(e){return(e.flags&8)!==0}function Ym(e){return(e.flags&16)!==0}function od(e){return e!==Ut}function Wr(e){return e&32767}function Jm(e){return e>>16}function Gr(e,t){let n=Jm(e),r=t;for(;n>0;)r=r[nn],n--;return r}var rs=!0;function zr(e){let t=rs;return rs=e,t}var Xm=256,id=Xm-1,sd=5,Km=0,Ne={};function eg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Km++);let o=r&id,i=1<<o;t.data[e+(o>>sd)]|=i}function Qr(e,t){let n=ad(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));let o=Aa(e,t),i=e.injectorIndex;if(od(o)){let s=Wr(o),a=Gr(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ad(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Aa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=fd(o),r===null)return Ut;if(n++,o=o[nn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function os(e,t,n){eg(e,t,n)}function tg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(_u(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function cd(e,t,n){if(n&T.Optional||e!==void 0)return e;ua(t,"NodeInjector")}function ld(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[be],i=te(void 0);try{return o?o.get(t,r,n&T.Optional):wu(t,r,n&T.Optional)}finally{te(i)}}return cd(r,t,n)}function ud(e,t,n,r=T.Default,o){if(e!==null){if(t[D]&2048&&!(r&T.Self)){let s=ig(e,t,n,r,Ne);if(s!==Ne)return s}let i=dd(e,t,n,r,Ne);if(i!==Ne)return i}return ld(t,n,r,o)}function dd(e,t,n,r,o){let i=rg(n);if(typeof i=="function"){if(!Ju(t,e,r))return r&T.Host?cd(o,n,r):ld(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))ua(n);else return s}finally{td()}}else if(typeof i=="number"){let s=null,a=ad(e,t),c=Ut,l=r&T.Host?t[ae][ce]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Aa(e,t):t[a+8],c===Ut||!Cl(r,!1)?a=-1:(s=t[E],a=Wr(c),t=Gr(c,t)));a!==-1;){let u=t[E];if(Dl(i,a,u.data)){let d=ng(a,t,n,s,r,l);if(d!==Ne)return d}c=t[a+8],c!==Ut&&Cl(r,t[E].data[a+8]===l)&&Dl(i,a,t)?(s=u,a=Wr(c),t=Gr(c,t)):a=-1}}return o}function ng(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],c=r==null?go(a)&&rs:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Lr(a,s,n,c,l);return u!==null?bt(t,s,u,a):Ne}function Lr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let h=s[p];if(p<c&&n===h||p>=c&&h.type===n)return p}if(o){let p=s[c];if(p&&je(p)&&p.type===n)return c}return null}function bt(e,t,n,r){let o=e[n],i=t.data;if(Qm(o)){let s=o;s.resolving&&Mh(Ch(i[n]));let a=zr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?te(s.injectImpl):null,u=Ju(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gm(n,i[n],t)}finally{l!==null&&te(l),zr(a),s.resolving=!1,td()}}return o}function rg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&id:og:t}function Dl(e,t,n){let r=1<<e;return!!(n[t+(e>>sd)]&r)}function Cl(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ud(this._tNode,this._lView,t,po(r),n)}};function og(){return new mt(U(),I())}function YO(e){return kn(()=>{let t=e.prototype.constructor,n=t[Vr]||is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Vr]||is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function is(e){return hu(e)?()=>{let t=is(G(e));return t&&t()}:gt(e)}function ig(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=dd(i,s,n,r|T.Self,Ne);if(a!==Ne)return a;let c=i.parent;if(!c){let l=s[Vu];if(l){let u=l.get(n,Ne,r);if(u!==Ne)return u}c=fd(s),s=s[nn]}i=c}return o}function fd(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ce]:null}function JO(e){return tg(U(),e)}function Ml(e,t=null,n=null,r){let o=pd(e,t,n,r);return o.resolveInjectorInitializers(),o}function pd(e,t=null,n=null,r,o=new Set){let i=[n||oe,sm(e)];return r=r||(typeof e=="object"?void 0:se(e)),new Tn(i,t||va(),r||null,o)}var rn=(()=>{let t=class t{static create(r,o){var i;if(Array.isArray(r))return Ml({name:""},o,r,"");{let s=(i=r.name)!=null?i:"";return Ml({name:s},r.parent,r.providers,s)}}};t.THROW_IF_NOT_FOUND=Cn,t.NULL=new Ur,t.\u0275prov=B({token:t,providedIn:"any",factory:()=>de(Du)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var sg="ngOriginalError";function Pi(e){return e[sg]}var Ke=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Pi(t);for(;n&&Pi(n);)n=Pi(n);return n||null}},hd=new k("",{providedIn:"root",factory:()=>O(Ke).handleError.bind(void 0)}),xo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ag,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ss=class extends xo{constructor(t){super(),this._lView=t}onDestroy(t){return yo(this._lView,t),()=>Da(this._lView,t)}};function ag(){return new ss(I())}function _l(e,t){return fu(e,t)}function cg(e){return fu(du,e)}var XO=(_l.required=cg,_l);function lg(){return on(U(),I())}function on(e,t){return new Eo(fe(e,t))}var Eo=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=lg;let e=t;return e})();function ug(e){return e instanceof Eo?e.nativeElement:e}var as=class extends X{constructor(t=!1){var n;super(),this.destroyRef=void 0,this.__isAsync=t,Fu()&&(this.destroyRef=(n=O(xo,{optional:!0}))!=null?n:void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){var c,l,u;let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let d=t;o=(c=d.next)==null?void 0:c.bind(d),i=(l=d.error)==null?void 0:l.bind(d),s=(u=d.complete)==null?void 0:u.bind(d)}this.__isAsync&&(i=Ri(i),o&&(o=Ri(o)),s&&(s=Ri(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}};function Ri(e){return t=>{setTimeout(e,void 0,t)}}var bn=as;function dg(){return this._results[Symbol.iterator]()}var cs=class e{get changes(){var t;return(t=this._changes)!=null?t:this._changes=new bn}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=dg)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Fh(t);(this._changesDetected=!Lh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,(t=this._onDirty)==null||t.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function md(e){return(e.flags&128)===128}var gd=new Map,fg=0;function pg(){return fg++}function hg(e){gd.set(e[mo],e)}function mg(e){gd.delete(e[mo])}var Tl="__ngContext__";function et(e,t){ht(t)?(e[Tl]=t[mo],hg(t)):e[Tl]=t}function vd(e){return Id(e[Sn])}function yd(e){return Id(e[Ie])}function Id(e){for(;e!==null&&!He(e);)e=e[Ie];return e}var ls;function KO(e){ls=e}function Pa(){if(ls!==void 0)return ls;if(typeof document<"u")return document;throw new N(210,!1)}var gg=new k("",{providedIn:"root",factory:()=>vg}),vg="ng",yg=new k(""),wd=new k("",{providedIn:"platform",factory:()=>"unknown"});var eA=new k(""),tA=new k("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Pa().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Ig={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},nA=new k("",{providedIn:"root",factory:()=>Ig});function wg(){let e=new bg;return O(wd)==="browser"&&(e.store=xg(Pa(),O(gg))),e}var bg=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=B({token:t,providedIn:"root",factory:wg});let e=t;return e})();function xg(e,t){let n=e.getElementById(t+"-state");if(n!=null&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var Eg="h",Dg="b";var Cg=()=>null;function Ra(e,t,n=!1){return Cg(e,t,n)}var bd=!1,Mg=new k("",{providedIn:"root",factory:()=>bd});var Tr;function _g(){if(Tr===void 0&&(Tr=null,ue.trustedTypes))try{Tr=ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Tr}function Do(e){var t;return((t=_g())==null?void 0:t.createHTML(e))||e}var Nr;function xd(){if(Nr===void 0&&(Nr=null,ue.trustedTypes))try{Nr=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Nr}function Nl(e){var t;return((t=xd())==null?void 0:t.createHTML(e))||e}function Sl(e){var t;return((t=xd())==null?void 0:t.createScriptURL(e))||e}var Ve=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(uu,")")}},us=class extends Ve{getTypeName(){return"HTML"}},ds=class extends Ve{getTypeName(){return"Style"}},fs=class extends Ve{getTypeName(){return"Script"}},ps=class extends Ve{getTypeName(){return"URL"}},hs=class extends Ve{getTypeName(){return"ResourceURL"}};function sn(e){return e instanceof Ve?e.changingThisBreaksApplicationSecurity:e}function ka(e,t){let n=Tg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see ").concat(uu,")"))}return n===t}function Tg(e){return e instanceof Ve&&e.getTypeName()||null}function rA(e){return new us(e)}function oA(e){return new ds(e)}function iA(e){return new fs(e)}function sA(e){return new ps(e)}function aA(e){return new hs(e)}function Ng(e){let t=new gs(e);return Sg()?new ms(t):t}var ms=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Do(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}},gs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Do(t),n}};function Sg(){try{return!!new window.DOMParser().parseFromString(Do(""),"text/html")}catch(e){return!1}}var Og=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ed(e){return e=String(e),e.match(Og)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function $n(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Dd=$e("area,br,col,hr,img,wbr"),Cd=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Md=$e("rp,rt"),Ag=$n(Md,Cd),Pg=$n(Cd,$e("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")),Rg=$n(Md,$e("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")),Ol=$n(Dd,Pg,Rg,Ag),_d=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kg=$e("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"),Lg=$e("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"),Fg=$n(_d,kg,Lg),jg=$e("script,style,template"),vs=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=$g(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Hg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Al(t).toLowerCase();if(!Ol.hasOwnProperty(n))return this.sanitizedSomething=!0,!jg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Fg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;_d[a]&&(c=Ed(c)),this.buf.push(" ",s,'="',Pl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Al(t).toLowerCase();Ol.hasOwnProperty(n)&&!Dd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Pl(t))}};function Vg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Hg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Td(t);return t}function $g(e){let t=e.firstChild;if(t&&Vg(e,t))throw Td(t);return t}function Al(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Td(e){return new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML))}var Bg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ug=/([^\#-~ |!])/g;function Pl(e){return e.replace(/&/g,"&").replace(Bg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Ug,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Sr;function qg(e,t){let n=null;try{Sr=Sr||Ng(e);let r=t?String(t):"";n=Sr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Sr.getInertBodyElement(r)}while(r!==i);let a=new vs().sanitizeChildren(Rl(n)||n);return Do(a)}finally{if(n){let r=Rl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Rl(e){return"content"in e&&Wg(e)?e.content:null}function Wg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Co=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}(Co||{});function cA(e){let t=La();return t?Nl(t.sanitize(Co.HTML,e)||""):ka(e,"HTML")?Nl(sn(e)):qg(Pa(),re(e))}function Gg(e){let t=La();return t?t.sanitize(Co.URL,e)||"":ka(e,"URL")?sn(e):Ed(re(e))}function zg(e){let t=La();if(t)return Sl(t.sanitize(Co.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return Sl(sn(e));throw new N(904,!1)}function Qg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?zg:Gg}function lA(e,t,n){return Qg(t,n)(e)}function La(){let e=I();return e&&e[xe].sanitizer}var Zg=/^>|^->|<!--|-->|--!>|<!-$/g,Yg=/(<|>)/g,Jg="\u200B$1\u200B";function Xg(e){return e.replace(Zg,t=>t.replace(Yg,Jg))}function Kg(e){mu("Must never be called in production mode");let n=e[ae][z];return n&&n.constructor?Se(n.constructor):null}function ev(e){var r;mu("Must never be called in production mode");let t=Kg(e),n=(r=t==null?void 0:t.type)==null?void 0:r.name;return n?" (used in the '".concat(n,"' component template)"):""}function uA(e){return e.ownerDocument.defaultView}function dA(e){return e.ownerDocument}function Nd(e){return e instanceof Function?e():e}function Mo(e){return(e!=null?e:O(rn)).get(wd)==="browser"}var ys=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ys||{}),tv;function Fa(e,t){return tv(e,t)}function Vt(e,t,n,r,o){if(r!=null){let i,s=!1;He(r)?i=r:ht(r)&&(s=!0,r=r[Ae]);let a=Oe(r);e===0&&n!==null?o==null?Rd(t,n,a):Zr(t,n,a,o||null,!0):e===1&&n!==null?Zr(t,n,a,o||null,!0):e===2?vv(t,a,s):e===3&&t.destroyNode(a),i!=null&&Iv(t,e,i,n,o)}}function nv(e,t){return e.createText(t)}function rv(e,t,n){e.setValue(t,n)}function ov(e,t){return e.createComment(Xg(t))}function Sd(e,t,n){return e.createElement(t,n)}function iv(e,t){Od(e,t),t[Ae]=null,t[ce]=null}function sv(e,t,n,r,o,i){r[Ae]=o,r[ce]=t,No(e,r,n,1,o,i)}function Od(e,t){var n;(n=t[xe].changeDetectionScheduler)==null||n.notify(1),No(e,t,t[P],2,null,null)}function av(e){let t=e[Sn];if(!t)return ki(e[E],e);for(;t;){let n=null;if(ht(t))n=t[Sn];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)ht(t)&&ki(t[E],t),t=t[W];t===null&&(t=e),ht(t)&&ki(t[E],t),n=t&&t[Ie]}t=n}}function cv(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][Ie]=t),r<i-Q?(t[Ie]=n[o],Eu(n,Q+r,t)):(n.push(t),t[Ie]=null),t[W]=n;let s=t[Fn];s!==null&&n!==s&&lv(s,t);let a=t[we];a!==null&&a.insertView(e),ts(t),t[D]|=128}function lv(e,t){let n=e[zt],o=t[W][W][ae];t[ae]!==o&&(e[D]|=Ia.HasTransplantedViews),n===null?e[zt]=[t]:n.push(t)}function Ad(e,t){let n=e[zt],r=n.indexOf(t);n.splice(r,1)}function Pn(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[Fn];o!==null&&o!==e&&Ad(o,r),t>0&&(e[n-1][Ie]=r[Ie]);let i=$r(e,Q+t);iv(r[E],r);let s=i[we];s!==null&&s.detachView(i[E]),r[W]=null,r[Ie]=null,r[D]&=-129}return r}function _o(e,t){if(!(t[D]&256)){let n=t[P];n.destroyNode&&No(e,t,n,3,null,null),av(t)}}function ki(e,t){if(t[D]&256)return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[vt]&&_i(t[vt]),dv(e,t),uv(e,t),t[E].type===1&&t[P].destroy();let r=t[Fn];if(r!==null&&He(t[W])){r!==t[W]&&Ad(r,t);let o=t[we];o!==null&&o.detachView(e)}mg(t)}finally{_(n)}}function uv(e,t){let n=e.cleanup,r=t[Nn];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Nn]=null);let o=t[Xe];if(o!==null){t[Xe]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function dv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof wt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Te(4,a,c);try{c.call(a)}finally{Te(5,a,c)}}else{Te(4,o,i);try{i.call(o)}finally{Te(5,o,i)}}}}}function Pd(e,t,n){return fv(e,t.parent,n)}function fv(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[Ae];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mn.None||i===Mn.Emulated)return null}return fe(r,n)}}function Zr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Rd(e,t,n){e.appendChild(t,n)}function kl(e,t,n,r,o){r!==null?Zr(e,t,n,r,o):Rd(e,t,n)}function pv(e,t,n,r){e.removeChild(t,n,r)}function ja(e,t){return e.parentNode(t)}function hv(e,t){return e.nextSibling(t)}function kd(e,t,n){return gv(e,t,n)}function mv(e,t,n){return e.type&40?fe(e,n):null}var gv=mv,Ll;function To(e,t,n,r){let o=Pd(e,r,t),i=t[P],s=r.parent||t[ce],a=kd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)kl(i,o,n[c],a,!1);else kl(i,o,n,a,!1);Ll!==void 0&&Ll(i,r,t,n,o)}function Fr(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return Is(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Fr(e,r);{let o=e[t.index];return He(o)?Is(-1,o):Oe(o)}}else{if(n&32)return Fa(t,e)()||Oe(e[t.index]);{let r=Ld(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[ae]);return Fr(o,r)}else return Fr(e,t.next)}}}return null}function Ld(e,t){if(t!==null){let r=e[ae][ce],o=t.projection;return r.projection[o]}return null}function Is(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return Fr(r,o)}return t[yt]}function vv(e,t,n){let r=ja(e,t);r&&pv(e,r,t,n)}function Va(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],c=n.type;if(s&&t===0&&(a&&et(Oe(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Va(e,t,n.child,r,o,i,!1),Vt(t,e,o,a,i);else if(c&32){let l=Fa(n,r),u;for(;u=l();)Vt(t,e,o,u,i);Vt(t,e,o,a,i)}else c&16?Fd(e,t,r,n,o,i):Vt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function No(e,t,n,r,o,i){Va(n,r,e.firstChild,t,o,i,!1)}function yv(e,t,n){let r=t[P],o=Pd(e,n,t),i=n.parent||t[ce],s=kd(i,n,t);Fd(r,0,t,n,o,s)}function Fd(e,t,n,r,o,i){let s=n[ae],c=s[ce].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Vt(t,e,o,u,i)}else{let l=c,u=s[W];md(r)&&(l.flags|=128),Va(e,t,l,u,o,i,!0)}}function Iv(e,t,n,r,o){let i=n[yt],s=Oe(n);i!==s&&Vt(t,e,r,i,o);for(let a=Q;a<n.length;a++){let c=n[a];No(c[E],c,e,t,r,i)}}function wv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ys.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ys.Important),e.setStyle(n,r,o,i))}}function bv(e,t,n){e.setAttribute(t,"style",n)}function jd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Vd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Zi(e,t,r),o!==null&&jd(e,t,o),i!==null&&bv(e,t,i)}var j={};function fA(e=1){Hd(S(),I(),Pe()+e,!1)}function Hd(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&kr(t,i,0,n)}It(n)}function So(e,t=T.Default){let n=I();if(n===null)return de(e,t);let r=U();return ud(r,n,G(e),t)}function pA(){let e="invalid";throw new Error(e)}function $d(e,t,n,r,o,i){let s=_(null);try{let a=null;o&qt.SignalBased&&(a=t[r][ve]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&qt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Hu(t,a,r,i)}finally{_(s)}}function xv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)It(~o);else{let i=o,s=n[++r],a=n[++r];Hm(s,i);let c=t[i];a(2,c)}}}finally{It(-1)}}function Oo(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ae]=o,d[D]=r|4|128|8|64,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),Wu(d),d[W]=d[nn]=e,d[z]=n,d[xe]=s||e&&e[xe],d[P]=a||e&&e[P],d[be]=c||e&&e[be]||null,d[ce]=i,d[mo]=pg(),d[Gt]=u,d[Vu]=l,d[ae]=t.type==2?e[ae]:d,d}function an(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ev(e,t,n,r,o),Vm()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Lm();i.injectorIndex=s===null?-1:s.injectorIndex}return Ct(i,!0),i}function Ev(e,t,n,r,o){let i=Zu(),s=Ca(),a=s?i:i&&i.parent,c=e.data[t]=Nv(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Bd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ud(e,t,n,r,o){let i=Pe(),s=r&2;try{It(-1),s&&t.length>L&&Hd(e,t,L,!1),Te(s?2:0,o),n(r,o)}finally{It(i),Te(s?3:1,o)}}function Ha(e,t,n){if(wa(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{_(r)}}}function $a(e,t,n){zu()&&(kv(e,t,n,fe(n,t)),(n.flags&64)===64&&Gd(e,t,n))}function Ba(e,t,n=fe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function qd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ua(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ua(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,f=d+o,p=Dv(d,f),h=typeof l=="function"?l():l;return p[E]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Dv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:j);return n}function Cv(e,t,n,r){let i=r.get(Mg,bd)||n===Mn.ShadowDom,s=e.selectRootElement(t,i);return Mv(s),s}function Mv(e){_v(e)}var _v=()=>null;function Tv(e,t,n,r){let o=Zd(t);o.push(n),e.firstCreatePass&&Yd(e).push(r,o.length-1)}function Nv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fl(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r!=null||(r={});let a,c=qt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?jl(r,n,l,a,c):jl(r,n,l,a)}return r}function jl(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Sv(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],f=n?n.get(d):null,p=f?f.inputs:null,h=f?f.outputs:null;c=Fl(0,d.inputs,u,c,p),l=Fl(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!pa(t)?Wv(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Ov(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Mt(e,t,n,r,o,i,s,a){let c=fe(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Ga(e,n,u,r,o),go(t)&&Av(n,t.index)):t.type&3?(r=Ov(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Av(e,t){let n=tt(t,e);n[D]&16||(n[D]|=64)}function qa(e,t,n,r){if(zu()){let o=r===null?null:{"":-1},i=Fv(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Wd(e,t,n,s,o,a),o&&jv(n,r,o)}n.mergedAttrs=_n(n.mergedAttrs,n.attrs)}function Wd(e,t,n,r,o,i){var l,u;for(let d=0;d<r.length;d++)os(Qr(n,t),e,r[d].type);Hv(n,e.data.length,r.length);for(let d=0;d<r.length;d++){let f=r[d];f.providersResolver&&f.providersResolver(f)}let s=!1,a=!1,c=Bd(e,t,r.length,null);for(let d=0;d<r.length;d++){let f=r[d];n.mergedAttrs=_n(n.mergedAttrs,f.hostAttrs),$v(e,n,t,c,f),Vv(c,f,o),f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let p=f.type.prototype;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&(((l=e.preOrderHooks)!=null?l:e.preOrderHooks=[]).push(n.index),s=!0),!a&&(p.ngOnChanges||p.ngDoCheck)&&(((u=e.preOrderCheckHooks)!=null?u:e.preOrderCheckHooks=[]).push(n.index),a=!0),c++}Sv(e,n,i)}function Pv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Rv(s)!=a&&s.push(a),s.push(n,r,i)}}function Rv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function kv(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;go(n)&&Bv(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Qr(n,t),et(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=bt(t,e,a,n);if(et(l,t),s!==null&&qv(t,a-o,l,c,n,s),je(c)){let u=tt(n.index,t);u[z]=bt(t,e,a,n)}}}function Gd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=$m();try{It(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ns(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Lv(c,l)}}finally{It(-1),ns(s)}}function Lv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Fv(e,t){var i;let n=e.directiveRegistry,r=null,o=null;if(n)for(let s=0;s<n.length;s++){let a=n[s];if(Nu(t,a.selectors,!1))if(r||(r=[]),je(a))if(a.findHostDirectiveDefs!==null){let c=[];o=o||new Map,a.findHostDirectiveDefs(a,c,o),r.unshift(...c,a);let l=c.length;ws(e,t,l)}else r.unshift(a),ws(e,t,0);else o=o||new Map,(i=a.findHostDirectiveDefs)==null||i.call(a,a,r,o),r.push(a)}return r===null?null:[r,o]}function ws(e,t,n){var r;t.componentOffset=n,((r=e.components)!=null?r:e.components=[]).push(t.index)}function jv(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new N(-301,!1);r.push(t[o],i)}}}function Vv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;je(t)&&(n[""]=e)}}function Hv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $v(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=gt(o.type,!0)),s=new wt(i,je(o),So);e.blueprint[r]=s,n[r]=s,Pv(e,t,r,Bd(e,n,o.hostVars,j),o)}function Bv(e,t,n){let r=fe(t,e),o=qd(n),i=e[xe].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Ao(e,Oo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Wa(e,t,n,r,o,i){let s=fe(e,t);Uv(t[P],s,i,e.value,n,r,o)}function Uv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?re(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function qv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];$d(r,n,c,l,u,d)}}function Wv(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function zd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qd(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Na(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function Ao(e,t){return e[Sn]?e[bl][Ie]=t:e[Sn]=t,e[bl]=t,t}function bs(e,t,n){Na(0);let r=_(null);try{t(e,n)}finally{_(r)}}function Zd(e){return e[Nn]||(e[Nn]=[])}function Yd(e){return e.cleanup||(e.cleanup=[])}function Jd(e,t,n){return(e===null||je(e))&&(n=_m(n[t.index])),n[P]}function Po(e,t){let n=e[be],r=n?n.get(Ke,null):null;r&&r.handleError(t)}function Ga(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];$d(u,l,r,a,c,o)}}function za(e,t,n){let r=ba(t,e);rv(e[P],r,n)}function Gv(e,t){let n=tt(t,e),r=n[E];zv(r,n);let o=n[Ae];o!==null&&n[Gt]===null&&(n[Gt]=Ra(o,n[be])),Qa(r,n,n[z])}function zv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qa(e,t,n){var r;Sa(t);try{let o=e.viewQuery;o!==null&&bs(1,o,n);let i=e.template;i!==null&&Ud(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(r=t[we])==null||r.finishViewCreation(e),e.staticContentQueries&&Qd(e,t),e.staticViewQueries&&bs(2,e.viewQuery,n);let s=e.components;s!==null&&Qv(t,s)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[D]&=-5,Oa()}}function Qv(e,t){for(let n=0;n<t.length;n++)Gv(e,t[n])}function Bn(e,t,n,r){var i,s,a;let o=_(null);try{let c=t.tView,u=e[D]&4096?4096:16,d=Oo(e,c,n,u,null,t,null,null,(i=r==null?void 0:r.injector)!=null?i:null,(s=r==null?void 0:r.embeddedViewInjector)!=null?s:null,(a=r==null?void 0:r.dehydratedView)!=null?a:null),f=e[t.index];d[Fn]=f;let p=e[we];return p!==null&&(d[we]=p.createEmbeddedView(c)),Qa(c,d,n),d}finally{_(o)}}function Xd(e,t){let n=Q+t;if(n<e.length)return e[n]}function Zt(e,t){return!t||t.firstChild===null||md(e)}function Un(e,t,n,r=!0){let o=t[E];if(cv(o,t,e,n),r){let s=Is(n,e),a=t[P],c=ja(a,e[yt]);c!==null&&sv(o,e[ce],a,t,c,s)}let i=t[Gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Za(e,t){let n=Pn(e,t);return n!==void 0&&_o(n[E],n),n}function Yr(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(Oe(i)),He(i)&&Zv(i,r);let s=n.type;if(s&8)Yr(e,t,n.child,r);else if(s&32){let a=Fa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ld(t,n);if(Array.isArray(a))r.push(...a);else{let c=An(t[ae]);Yr(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Zv(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&Yr(r[E],r,o,t)}e[yt]!==e[Ae]&&t.push(e[yt])}var Kd=[];function Yv(e){var t;return(t=e[vt])!=null?t:Jv(e)}function Jv(e){var n;let t=(n=Kd.pop())!=null?n:Object.create(Kv);return t.lView=e,t}function Xv(e){e.lView[vt]!==e&&(e.lView=null,Kd.push(e))}var Kv=qe(Ue({},wn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{On(e.lView)},consumerOnSignalRead(){this.lView[vt]=this}}),ef=100;function tf(e,t=!0,n=0){var s,a,c;let r=e[xe],o=r.rendererFactory,i=!1;i||(s=o.begin)==null||s.call(o);try{ey(e,n)}catch(l){throw t&&Po(e,l),l}finally{i||((a=o.end)==null||a.call(o),(c=r.inlineEffectRunner)==null||c.flush())}}function ey(e,t){xs(e,t);let n=0;for(;Ea(e);){if(n===ef)throw new N(103,!1);n++,xs(e,1)}}function ty(e,t,n,r){var c;let o=t[D];if((o&256)===256)return;let i=!1;!i&&((c=t[xe].inlineEffectRunner)==null||c.flush()),Sa(t);let s=null,a=null;!i&&ny(e)&&(a=Yv(t),s=xr(a));try{Wu(t),jm(e.bindingStartIndex),n!==null&&Ud(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&kr(t,f,0,null),Oi(t,0)}if(ry(t),nf(t,0),e.contentQueries!==null&&Qd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&kr(t,f,1),Oi(t,1)}xv(e,t);let u=e.components;u!==null&&of(t,u,0);let d=e.viewQuery;if(d!==null&&bs(2,d,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&kr(t,f,2),Oi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Bt]){for(let f of t[Bt])f();t[Bt]=null}i||(t[D]&=-73)}catch(l){throw On(t),l}finally{a!==null&&(Er(a,s),Xv(a)),Oa()}}function ny(e){return e.type!==2}function nf(e,t){for(let n=vd(e);n!==null;n=yd(n))for(let r=Q;r<n.length;r++){let o=n[r];rf(o,t)}}function ry(e){for(let t=vd(e);t!==null;t=yd(t)){if(!(t[D]&Ia.HasTransplantedViews))continue;let n=t[zt];for(let r=0;r<n.length;r++){let o=n[r],i=o[W];Sm(o)}}}function oy(e,t,n){let r=tt(t,e);rf(r,n)}function rf(e,t){xa(e)&&xs(e,t)}function xs(e,t){let r=e[E],o=e[D],i=e[vt],s=!!(t===0&&o&16);if(s||(s=!!(o&64&&t===0)),s||(s=!!(o&1024)),s||(s=!!(i!=null&&i.dirty&&Dr(i))),i&&(i.dirty=!1),e[D]&=-9217,s)ty(r,e,r.template,e[z]);else if(o&8192){nf(e,1);let a=r.components;a!==null&&of(e,a,1)}}function of(e,t,n){for(let r=0;r<t.length;r++)oy(e,t[r],n)}function Ro(e){var t;for((t=e[xe].changeDetectionScheduler)==null||t.notify();e;){e[D]|=64;let n=An(e);if(Im(e)&&!n)return e;e=n}return null}var xt=class{get rootNodes(){let t=this._lView,n=t[E];return Yr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[z]}set context(t){this._lView[z]=t}get destroyed(){return(this._lView[D]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(He(t)){let n=t[qr],r=n?n.indexOf(this):-1;r>-1&&(Pn(t,r),$r(n,r))}this._attachedToViewContainer=!1}_o(this._lView[E],this._lView)}onDestroy(t){yo(this._lView,t)}markForCheck(){Ro(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){ts(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,tf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Od(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t,ts(this._lView)}},Jr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ay;let e=t;return e})(),iy=Jr,sy=class extends iy{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Bn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xt(o)}};function ay(){return ko(U(),I())}function ko(e,t){return e.type&4?new sy(t,e,on(e,t)):null}var mA=new RegExp("^(\\d+)*(".concat(Dg,"|").concat(Eg,")*(.*)"));var cy=()=>null;function Yt(e,t){return cy(e,t)}var Xr=class{},Es=class{},Kr=class{};function ly(e){let t=Error("No component factory found for ".concat(se(e),"."));return t[uy]=e,t}var uy="ngComponent";var Ds=class{resolveComponentFactory(t){throw ly(t)}},Lo=(()=>{let t=class t{};t.NULL=new Ds;let e=t;return e})(),Cs=class{},gA=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>dy();let e=t;return e})();function dy(){let e=I(),t=U(),n=tt(t.index,e);return(ht(n)?n:e)[P]}var fy=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Li={};var Vl=new Set;function rt(e){var t;Vl.has(e)||(Vl.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}function Hl(...e){}function py(){let e=typeof ue.requestAnimationFrame=="function",t=ue[e?"requestAnimationFrame":"setTimeout"],n=ue[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var ie=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bn(!1),this.onMicrotaskEmpty=new bn(!1),this.onStable=new bn(!1),this.onError=new bn(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=py().nativeRequestAnimationFrame,gy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new N(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,hy,Hl,Hl);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},hy={};function Ya(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 my(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ms(e),e.isCheckStableRunning=!0,Ya(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ms(e))}function gy(e){let t=()=>{my(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(vy(a))return n.invokeTask(o,i,s,a);try{return $l(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Bl(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return $l(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Bl(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ms(e),Ya(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ms(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $l(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bl(e){e._nesting--,Ya(e)}function vy(e){var t;return!Array.isArray(e)||e.length!==1?!1:((t=e[0].data)==null?void 0:t.__ignore_ng_zone__)===!0}var Ht=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ht||{}),yy={destroy(){}};function Ul(e,t){var o;let n=(o=t==null?void 0:t.injector)!=null?o:O(rn);if(!(t!=null&&t.runOnServer)&&!Mo(n))return;n.get(Fo).internalCallbacks.push(e)}function Iy(e,t){var l,u,d;!t&&ju(Iy);let n=(l=t==null?void 0:t.injector)!=null?l:O(rn);if(!Mo(n))return yy;rt("NgAfterNextRender");let r=n.get(Fo),o=(u=r.handler)!=null?u:r.handler=new Ts,i=(d=t==null?void 0:t.phase)!=null?d:Ht.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(xo).onDestroy(s),c=vm(n,()=>new _s(i,()=>{s(),e()}));return o.register(c),{destroy:s}}var _s=class{constructor(t,n){var r;this.phase=t,this.callbackFn=n,this.zone=O(ie),this.errorHandler=O(Ke,{optional:!0}),(r=O(Xr,{optional:!0}))==null||r.notify(1)}invoke(){var t;try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){(t=this.errorHandler)==null||t.handleError(n)}}},Ts=class{constructor(){this.executingCallbacks=!1,this.buckets={[Ht.EarlyRead]:new Set,[Ht.Write]:new Set,[Ht.MixedReadWrite]:new Set,[Ht.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Fo=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var r;this.executeInternalCallbacks(),(r=this.handler)==null||r.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){var r;(r=this.handler)==null||r.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function eo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Wi(o,a);else if(i==2){let c=a,l=t[++s];r=Wi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var to=class extends Lo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Se(t);return new Jt(n,this.ngModule)}};function ql(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];r!==void 0&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}function wy(e){let t=e.toLowerCase();return t==="svg"?qu:t==="math"?Dm:null}var no=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=po(r);let o=this.injector.get(t,Li,r);return o!==Li||n===Li?o:this.parentInjector.get(t,n,r)}},Jt=class extends Kr{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=ql(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return ql(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Xh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=_(null);try{o=o||this.ngModule;let a=o instanceof Fe?o:o==null?void 0:o.injector;a&&this.componentDef.getStandaloneInjector!==null&&(a=this.componentDef.getStandaloneInjector(a)||a);let c=a?new no(t,a):t,l=c.get(Cs,null);if(l===null)throw new N(407,!1);let u=c.get(fy,null),d=c.get(Fo,null),f=c.get(Xr,null),p={rendererFactory:l,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:f},h=l.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",y=r?Cv(h,r,this.componentDef.encapsulation,c):Sd(h,g,wy(g)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let R=null;y!==null&&(R=Ra(y,c,!0));let De=Ua(0,null,null,1,0,null,null,null,null,null,null),J=Oo(null,De,null,w,null,null,p,h,c,null,R);Sa(J);let qn,ot;try{let Be=this.componentDef,Tt,Qo=null;Be.findHostDirectiveDefs?(Tt=[],Qo=new Map,Be.findHostDirectiveDefs(Be,Tt,Qo),Tt.push(Be)):Tt=[Be];let zf=by(J,y),Qf=xy(zf,y,Be,Tt,J,p,h);ot=jn(De,L),y&&Cy(h,Be,y,r),n!==void 0&&My(ot,this.ngContentSelectors,n),qn=Dy(Qf,Be,Tt,Qo,J,[_y]),Qa(De,J,null)}finally{Oa()}return new Ns(this.componentType,qn,on(ot,J),J,ot)}finally{_(i)}}},Ns=class extends Es{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new xt(o,void 0,!1),this.componentType=t}setInput(t,n){var i;let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if((i=this.previousInputValues)!=null||(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let s=this._rootLView;Ga(s[E],s,o,t,n),this.previousInputValues.set(t,n);let a=tt(this._tNode.index,s);Ro(a)}}get injector(){return new mt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function by(e,t){let n=e[E],r=L;return e[r]=t,an(n,r,2,"#host",null)}function xy(e,t,n,r,o,i,s){let a=o[E];Ey(r,e,t,s);let c=null;t!==null&&(c=Ra(t,o[be]));let l=i.rendererFactory.createRenderer(t,n),u=16;n.signals?u=4096:n.onPush&&(u=64);let d=Oo(o,qd(n),null,u,o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&ws(a,e,r.length-1),Ao(o,d),o[e.index]=d}function Ey(e,t,n,r){for(let o of e)t.mergedAttrs=_n(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(eo(t,t.mergedAttrs,!0),n!==null&&Vd(r,n,t))}function Dy(e,t,n,r,o,i){let s=U(),a=o[E],c=fe(s,o);Wd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,f=bt(o,a,d,s);et(f,o)}Gd(a,o,s),c&&et(c,o);let l=bt(o,a,s.directiveStart+s.componentOffset,s);if(e[z]=o[z]=l,i!==null)for(let u of i)u(l,t);return Ha(a,s,o),l}function Cy(e,t,n,r){if(r)Zi(e,n,["ng-version","17.3.12"]);else{let{attrs:o,classes:i}=Kh(t.selectors[0]);o&&Zi(e,n,o),i&&i.length>0&&jd(e,n,i.join(" "))}}function My(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function _y(){let e=U();bo(I()[E],e)}var Ja=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Ty;let e=t;return e})();function Ty(){let e=U();return af(e,I())}var Ny=Ja,sf=class extends Ny{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return on(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Aa(this._hostTNode,this._hostLView);if(od(t)){let n=Gr(t,this._hostLView),r=Wr(t),o=n[E].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Wl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){var h,g,y;let s=t&&!ym(t),a;if(s)a=n;else{let w=n||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let c=s?t:new Jt(Se(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let R=(s?l:this.parentInjector).get(Fe,null);R&&(i=R)}let u=Se((h=c.componentType)!=null?h:{}),d=Yt(this._lContainer,(g=u==null?void 0:u.id)!=null?g:null),f=(y=d==null?void 0:d.firstChild)!=null?y:null,p=c.create(l,o,f,i);return this.insertImpl(p.hostView,a,Zt(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nm(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[W],l=new sf(c,c[ce],c[W]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Un(s,o,i,r),t.attachToViewContainerRef(),Eu(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Wl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);r&&($r(Fi(this._lContainer),n),_o(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);return r&&$r(Fi(this._lContainer),n)!=null?new xt(r):null}_adjustIndex(t,n=0){return t==null?this.length+n:t}};function Wl(e){return e[qr]}function Fi(e){return e[qr]||(e[qr]=[])}function af(e,t){let n,r=t[e.index];return He(r)?n=r:(n=zd(r,t,null,e),t[e.index]=n,Ao(t,n)),Oy(n,t,e,r),new sf(n,e,t)}function Sy(e,t){let n=e[P],r=n.createComment(""),o=fe(t,e),i=ja(n,o);return Zr(n,i,r,hv(n,o),!1),r}var Oy=Py,Ay=()=>!1;function cf(e,t,n){return Ay(e,t,n)}function Py(e,t,n,r){if(e[yt])return;let o;n.type&8?o=Oe(r):o=Sy(t,n),e[yt]=o}var Ss=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Os=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Xa(t,n).matches!==null&&this.queries[n].setDirty()}},ro=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=$y(t):this.predicate=t}},As=class e{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ps=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Ry(n,i)),this.matchTNodeWithReadOption(t,n,Lr(n,t,i,!1,!1))}else r===Jr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Lr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Eo||o===Ja||o===Jr&&n.type&4)this.addMatch(n.index,-2);else{let i=Lr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Ry(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function ky(e,t){return e.type&11?on(e,t):e.type&4?ko(e,t):null}function Ly(e,t,n,r){return n===-1?ky(t,e):n===-2?Fy(e,t,r):bt(e,e[E],n,t)}function Fy(e,t,n){if(n===Eo)return on(t,e);if(n===Jr)return ko(t,e);if(n===Ja)return af(t,e)}function lf(e,t,n,r){let o=t[we].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Ly(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Rs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=lf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=Q;d<u.length;d++){let f=u[d];f[Fn]===f[W]&&Rs(f[E],f,l,r)}if(u[zt]!==null){let d=u[zt];for(let f=0;f<d.length;f++){let p=d[f];Rs(p[E],p,l,r)}}}}}return r}function jy(e,t){return e[we].queries[t].queryList}function uf(e,t,n){var i;let r=new cs((n&4)===4);return Tv(e,t,r,r.destroy),((i=t[we])!=null?i:t[we]=new Os).queries.push(new Ss(r))-1}function Vy(e,t,n){let r=S();return r.firstCreatePass&&(df(r,new ro(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),uf(r,I(),t)}function Hy(e,t,n,r){let o=S();if(o.firstCreatePass){let i=U();df(o,new ro(t,n,r),i.index),By(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return uf(o,I(),n)}function $y(e){return e.split(",").map(t=>t.trim())}function df(e,t,n){e.queries===null&&(e.queries=new As),e.queries.track(new Ps(t,n))}function By(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Xa(e,t){return e.queries.getByIndex(t)}function Uy(e,t){let n=e[E],r=Xa(n,t);return r.crossesNgTemplate?Rs(n,e,t,[]):lf(n,e,r,t)}function qy(e){return typeof e=="function"&&e[ve]!==void 0}function yA(e,t){rt("NgSignals");let n=ll(e),r=n[ve];return t!=null&&t.equal&&(r.equal=t.equal),n.set=o=>Mr(r,o),n.update=o=>ul(r,o),n.asReadonly=Wy.bind(n),n}function Wy(){let e=this[ve];if(e.readonlyFn===void 0){let t=()=>this();t[ve]=e,e.readonlyFn=t}return e.readonlyFn}function ff(e){return qy(e)&&typeof e.set=="function"}function Gy(e){return Object.getPrototypeOf(e.prototype).constructor}function zy(e){let t=Gy(e.type),n=!0,r=[e];for(;t;){let o;if(je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new N(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Or(e.inputs),s.inputTransforms=Or(e.inputTransforms),s.declaredInputs=Or(e.declaredInputs),s.outputs=Or(e.outputs);let a=o.hostBindings;a&&Xy(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Yy(e,c),l&&Jy(e,l),Qy(e,o),gh(e.outputs,o.outputs),je(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===zy&&(n=!1)}}t=Object.getPrototypeOf(t)}Zy(r)}function Qy(e,t){var n;for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let o=t.inputs[r];if(o!==void 0&&(e.inputs[r]=o,e.declaredInputs[r]=t.declaredInputs[r],t.inputTransforms!==null)){let i=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(i))continue;(n=e.inputTransforms)!=null||(e.inputTransforms={}),e.inputTransforms[i]=t.inputTransforms[i]}}}function Zy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_n(o.hostAttrs,n=_n(n,o.hostAttrs))}}function Or(e){return e===Le?{}:e===oe?[]:e}function Yy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Jy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Xy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function IA(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:G(o),inputs:Le,outputs:Le}:{directive:G(o.directive),inputs:Gl(o.inputs),outputs:Gl(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=pf,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function pf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=ho(r.directive);Ky(o.declaredInputs,r.inputs),pf(o,t,n),n.set(o,r),t.push(o)}}function Gl(e){if(e===void 0||e.length===0)return Le;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Ky(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function wA(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Et=class{},ks=class{};function bA(e,t){return new oo(e,t!=null?t:null,[])}var oo=class extends Et{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new to(this);let o=Su(t);this._bootstrapComponents=Nd(o.bootstrap),this._r3Injector=pd(t,n,[{provide:Et,useValue:this},{provide:Lo,useValue:this.componentFactoryResolver},...r],se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ls=class extends ks{constructor(t){super(),this.moduleType=t}create(t){return new oo(this.moduleType,t,[])}};var io=class extends Et{constructor(t){super(),this.componentFactoryResolver=new to(this),this.instance=null;let n=new Tn([...t.providers,{provide:Et,useValue:this},{provide:Lo,useValue:this.componentFactoryResolver}],t.parent||va(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function hf(e,t,n=null){return new io({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var eI=(()=>{let t=class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(r,o,i,s){if(!this.cachedInjectors.has(r)){let a=i.length>0?hf(i,o,s):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=B({token:t,providedIn:"environment",factory:()=>new t});let e=t;return e})();var jo=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ln(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mf(e){return Ka(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function tI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Ka(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function _t(e,t,n){return e[t]=n}function ec(e,t){return e[t]}function Y(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xt(e,t,n,r){let o=Y(e,t,n);return Y(e,t+1,r)||o}function gf(e,t,n,r,o){let i=Xt(e,t,n,r);return Y(e,t+2,o)||i}function Vo(e,t,n,r,o,i){let s=Xt(e,t,n,r);return Xt(e,t+2,o,i)||s}function nI(e){return(e.flags&32)===32}function rI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=an(t,e,4,s||null,Qt(l,a));qa(t,n,u,Qt(l,c)),bo(t,u);let d=u.tView=Ua(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function so(e,t,n,r,o,i,s,a){let c=I(),l=S(),u=e+L,d=l.firstCreatePass?rI(u,l,c,t,n,r,o,i,s):l.data[u];Ct(d,!1);let f=oI(l,c,d,e);Io()&&To(l,c,f,d),et(f,c);let p=zd(f,c,f,d);return c[u]=p,Ao(c,p),cf(p,d,c),vo(d)&&$a(l,c,d),s!=null&&Ba(c,d,a),so}var oI=iI;function iI(e,t,n,r){return wo(!0),t[P].createComment("")}var ne=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ne||{}),zl=0,sI=1,q=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(q||{}),tc=function(e){return e[e.Initial=-1]="Initial",e}(tc||{}),aI=0,nc=1;var vf=4,yf=5,If=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(If||{});function wf(e,t,n){let r=e===1?yf:vf;t[r]===null&&(t[r]=[]),t[r].push(n)}function Fs(e,t){let n=e===1?yf:vf,r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function bf(e){Fs(1,e),Fs(0,e)}function Ho(e){return e+1}function $o(e,t){let n=e[E],r=Ho(t.index);return e[r]}function cI(e,t,n){let r=e[E],o=Ho(t);e[o]=n}function Bo(e,t){let n=Ho(t.index);return e.data[n]}function lI(e,t,n){let r=Ho(t);e.data[r]=n}function uI(e,t,n){let r=t[E],o=Bo(r,n);switch(e){case q.Complete:return o.primaryTmplIndex;case q.Loading:return o.loadingTmplIndex;case q.Error:return o.errorTmplIndex;case q.Placeholder:return o.placeholderTmplIndex;default:return null}}function Ql(e,t){var n,r,o,i;return t===q.Placeholder?(r=(n=e.placeholderBlockConfig)==null?void 0:n[zl])!=null?r:null:t===q.Loading&&(i=(o=e.loadingBlockConfig)==null?void 0:o[zl])!=null?i:null}function dI(e){var t,n;return(n=(t=e.loadingBlockConfig)==null?void 0:t[sI])!=null?n:null}function Zl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function fI(e,t){let n=t.primaryTmplIndex+L;return jn(e,n)}var Lt=new WeakMap;var _e=null,ji=0,js=class{constructor(){this.callbacks=new Set,this.listener=()=>{for(let t of this.callbacks)t()}}};function pI(e,t,n){let r=n.get(ie),o=Lt.get(e);return _e=_e||r.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&Lt.has(s.target)&&r.run(Lt.get(s.target).listener)})),o||(o=new js,r.runOutsideAngular(()=>_e.observe(e)),Lt.set(e,o),ji++),o.callbacks.add(t),()=>{Lt.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(_e==null||_e.unobserve(e),Lt.delete(e),ji--),ji===0&&(_e==null||_e.disconnect(),_e=null))}}function hI(e,t,n){var i;return n==null?e:n>=0?Gu(n,e):(i=e[t.index][Q])!=null?i:null}function mI(e,t){return ba(L+t,e)}function gI(e,t,n,r,o,i,s){let a=e[be];function c(){if(Ki(e))return;let l=$o(e,t),u=l[nc];if(u!==tc.Initial&&u!==q.Placeholder)return;let d=hI(e,t,r);if(!d){Ul(c,{injector:a});return}if(Ki(d))return;let f=mI(d,n),p=o(f,()=>{e!==d&&Da(d,p),i()},a);e!==d&&yo(d,p),wf(s,l,p)}Ul(c,{injector:a})}var vI=new k("");function yI(e){let t=e.get(vI,null,{optional:!0});return(t==null?void 0:t.behavior)===If.Manual?!1:Mo(e)}var II=null;function xA(e,t,n,r,o,i,s,a,c){let l=I(),u=S(),d=e+L;if(so(e,null,0,0),u.firstCreatePass){rt("NgDefer");let y={primaryTmplIndex:t,loadingTmplIndex:r!=null?r:null,placeholderTmplIndex:o!=null?o:null,errorTmplIndex:i!=null?i:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n!=null?n:null,loadingState:ne.NOT_STARTED,loadingPromise:null,providers:null};c==null||c(u,y,a,s),lI(u,d,y)}let f=U(),p=l[d];cf(p,f,l);let h=[null,tc.Initial,null,null,null,null];cI(l,d,h);let g=()=>bf(h);wf(0,h,()=>Da(l,g)),yo(l,g)}function EA(e,t){let n=I(),r=U();DI(n,r),gI(n,r,e,t,pI,()=>CI(n,r),0)}function pt(e,t,n,r=!1){var c;let o=n[W],i=o[E];if(Ki(o))return;let s=$o(o,t),a=s[nc];if(Yl(a,e)&&Yl((c=s[aI])!=null?c:-1,e)){let l=o[be],u=Bo(i,t),f=!r&&Mo(l)&&(dI(u)!==null||Ql(u,q.Loading)!==null||Ql(u,q.Placeholder))?II:xI;try{f(e,s,n,t,o)}catch(p){Po(o,p)}}}function wI(e){return e instanceof no&&typeof e.injector.__ngOutletInjector=="function"}function bI(e,t){return e.injector.__ngOutletInjector(t)}function xI(e,t,n,r,o){let i=uI(e,o,r);if(i!==null){t[nc]=e;let s=o[E],a=i+L,c=jn(s,a),l=0;Za(n,l);let u;if(e===q.Complete){let p=Bo(s,r),h=p.providers;if(h&&h.length>0){let g=o[be],y=wI(g),w=y?g:g.get(Fe);u=w.get(eI).getOrCreateInjector(p,w,h,""),y&&(u=bI(g,u))}}let d=Yt(n,c.tView.ssrId),f=Bn(o,c,null,{dehydratedView:d,injector:u});Un(n,f,l,Zt(c,d)),Ro(f)}}function Yl(e,t){return e<t}function EI(e,t,n){var u;let r=t[be],o=t[E];if(e.loadingState!==ne.NOT_STARTED)return(u=e.loadingPromise)!=null?u:Promise.resolve();let i=$o(t,n),s=fI(o,e);e.loadingState=ne.IN_PROGRESS,Fs(1,i);let a=e.dependencyResolverFn,c=r.get(jo),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(d=>{let f=!1,p=[],h=[];for(let g of d)if(g.status==="fulfilled"){let y=g.value,w=Se(y)||ho(y);if(w)p.push(w);else{let R=ha(y);R&&h.push(R)}}else{f=!0;break}if(e.loadingPromise=null,c.remove(l),f){if(e.loadingState=ne.FAILED,e.errorTmplIndex===null){let g=ev(t),y=new N(750,!1);Po(t,y)}}else{e.loadingState=ne.COMPLETE;let g=s.tView;if(p.length>0){g.directiveRegistry=Zl(g.directiveRegistry,p);let y=p.map(R=>R.type),w=ma(!1,...y);e.providers=w}h.length>0&&(g.pipeRegistry=Zl(g.pipeRegistry,h))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ne.COMPLETE,c.remove(l)}),e.loadingPromise)}function DI(e,t){let n=e[t.index];pt(q.Placeholder,t,n)}function Jl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ne.COMPLETE?pt(q.Complete,t,n):e.loadingState===ne.FAILED&&pt(q.Error,t,n)})}function CI(e,t){let n=e[E],r=e[t.index],o=e[be];if(!yI(o))return;let i=$o(e,t),s=Bo(n,t);switch(bf(i),s.loadingState){case ne.NOT_STARTED:pt(q.Loading,t,r),EI(s,e,t),s.loadingState===ne.IN_PROGRESS&&Jl(s,t,r);break;case ne.IN_PROGRESS:pt(q.Loading,t,r),Jl(s,t,r);break;case ne.COMPLETE:pt(q.Complete,t,r);break;case ne.FAILED:pt(q.Error,t,r);break;default:}}function MI(e,t,n,r){let o=I(),i=nt();if(Y(o,i,t)){let s=S(),a=Re();Wa(a,o,e,t,n,r)}return MI}function Uo(e,t,n,r){return Y(e,nt(),n)?t+re(n)+r:j}function qo(e,t,n,r,o,i){let s=_a(),a=Xt(e,s,n,o);return Hn(2),a?t+re(n)+r+re(o)+i:j}function _I(e,t,n,r,o,i,s,a){let c=_a(),l=gf(e,c,n,o,s);return Hn(3),l?t+re(n)+r+re(o)+i+re(s)+a:j}function TI(e,t,n,r,o,i,s,a,c,l){let u=_a(),d=Vo(e,u,n,o,s,c);return Hn(4),d?t+re(n)+r+re(o)+i+re(s)+a+re(c)+l:j}function NI(e,t,n,r,o,i){let s=I(),a=Uo(s,t,n,r);if(a!==j){let c=Re();Wa(c,s,e,a,o,i)}return NI}function SI(e,t,n,r,o,i,s,a){let c=I(),l=qo(c,t,n,r,o,i);if(l!==j){let u=Re();Wa(u,c,e,l,s,a)}return SI}function Ar(e,t){return e<<17|t<<2}function Dt(e){return e>>17&32767}function OI(e){return(e&2)==2}function AI(e,t){return e&131071|t<<17}function Vs(e){return e|2}function Kt(e){return(e&131068)>>2}function Vi(e,t){return e&-131069|t<<2}function PI(e){return(e&1)===1}function Hs(e){return e|1}function RI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Dt(s),c=Kt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ln(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=Dt(e[a+1]);e[r+1]=Ar(f,a),f!==0&&(e[f+1]=Vi(e[f+1],r)),e[a+1]=AI(e[a+1],r)}else e[r+1]=Ar(a,0),a!==0&&(e[a+1]=Vi(e[a+1],r)),a=r;else e[r+1]=Ar(c,0),a===0?a=r:e[c+1]=Vi(e[c+1],r),c=r;l&&(e[r+1]=Vs(e[r+1])),Xl(e,u,r,!0),Xl(e,u,r,!1),kI(t,u,e,r,i),s=Ar(a,c),i?t.classBindings=s:t.styleBindings=s}function kI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ln(i,t)>=0&&(n[r+1]=Hs(n[r+1]))}function Xl(e,t,n,r){let o=e[n+1],i=t===null,s=r?Dt(o):Kt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];LI(c,t)&&(a=!0,e[s+1]=r?Hs(l):Vs(l)),s=r?Dt(l):Kt(l)}a&&(e[n+1]=r?Vs(o):Hs(o))}function LI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ln(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xf(e){return e.substring($.key,$.keyEnd)}function FI(e){return e.substring($.value,$.valueEnd)}function jI(e){return Cf(e),Ef(e,en(e,0,$.textEnd))}function Ef(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=HI(e,$.key=t,n),en(e,t,n))}function VI(e){return Cf(e),Df(e,en(e,0,$.textEnd))}function Df(e,t){let n=$.textEnd,r=$.key=en(e,t,n);return n===r?-1:(r=$.keyEnd=$I(e,r,n),r=Kl(e,r,n,58),r=$.value=en(e,r,n),r=$.valueEnd=BI(e,r,n),Kl(e,r,n,59))}function Cf(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function en(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function HI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $I(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Kl(e,t,n,r){return t=en(e,t,n),t<n&&t++,t}function BI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=eu(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=eu(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function eu(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function UI(e,t,n){let r=I(),o=nt();if(Y(r,o,t)){let i=S(),s=Re();Mt(i,s,r,e,t,r[P],n,!1)}return UI}function $s(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ga(e,n,i[s],s,r)}function qI(e,t,n){return Mf(e,t,n,!1),qI}function WI(e,t){return Mf(e,t,null,!0),WI}function DA(e){Wo(Nf,GI,e,!1)}function GI(e,t){for(let n=VI(t);n>=0;n=Df(t,n))Nf(e,xf(t),FI(t))}function CA(e){Wo(XI,rc,e,!0)}function rc(e,t){for(let n=jI(t);n>=0;n=Ef(t,n))tn(e,xf(t),!0)}function Mf(e,t,n,r){let o=I(),i=S(),s=Hn(2);if(i.firstUpdatePass&&Tf(i,e,s,r),t!==j&&Y(o,s,t)){let a=i.data[Pe()];Sf(i,a,o,o[P],e,o[s+1]=ew(t,n),r,s)}}function Wo(e,t,n,r){let o=S(),i=Hn(2);o.firstUpdatePass&&Tf(o,null,i,r);let s=I();if(n!==j&&Y(s,i,n)){let a=o.data[Pe()];if(Of(a,r)&&!_f(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Wi(c,n||"")),$s(o,a,s,n,r)}else KI(o,a,s,s[P],s[i+1],s[i+1]=JI(e,t,n),r,i)}}function _f(e,t){return t>=e.expandoStartIndex}function Tf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Pe()],s=_f(e,n);Of(i,r)&&t===null&&!s&&(t=!1),t=zI(o,i,t,r),RI(o,i,t,n,s,r)}}function zI(e,t,n,r){let o=Ta(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Hi(null,e,t,n,r),n=Rn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Hi(o,e,t,n,r),i===null){let c=QI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Hi(null,e,t,c[1],r),c=Rn(c,t.attrs,r),ZI(e,t,r,c))}else i=YI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function QI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Kt(r)!==0)return e[Dt(r)]}function ZI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Dt(o)]=r}function YI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rn(r,s,n)}return Rn(r,t.attrs,n)}function Hi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Rn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),tn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function JI(e,t,n){if(n==null||n==="")return oe;let r=[],o=sn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Nf(e,t,n){tn(e,t,sn(n))}function XI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&tn(e,r,n)}function KI(e,t,n,r,o,i,s,a){o===j&&(o=oe);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,f!==p&&(h=d,g=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=p),h!==null&&Sf(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Sf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=PI(l)?tu(c,t,n,o,Kt(l),s):void 0;if(!ao(u)){ao(i)||OI(l)&&(i=tu(c,null,n,o,a,s));let d=ba(Pe(),n);wv(r,s,d,o,i)}}function tu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===j&&(f=d?oe:void 0);let p=d?Ni(f,r):u===r?f:void 0;if(l&&!ao(p)&&(p=Ni(c,r)),ao(p)&&(a=p,s))return a;let h=e[o+1];o=s?Dt(h):Kt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ni(c,r))}return a}function ao(e){return e!==void 0}function ew(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=se(sn(e)))),e}function Of(e,t){return(e.flags&(t?8:16))!==0}function MA(e,t,n){let r=I(),o=Uo(r,e,t,n);Wo(tn,rc,o,!0)}function _A(e,t,n,r,o){let i=I(),s=qo(i,e,t,n,r,o);Wo(tn,rc,s,!0)}var Bs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function $i(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function tw(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),l=t[i],u=$i(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),f=t[a],p=$i(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,c),g=n(s,d),y=n(i,l);if(Object.is(y,g)){let w=n(a,f);Object.is(w,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r!=null||(r=new co),o!=null||(o=ru(e,i,s,n)),Us(e,r,i,y))e.updateValue(i,l),i++,s++;else if(o.has(y))r.set(h,e.detach(i)),s--;else{let w=e.create(i,t[i]);e.attach(i,w),i++,s++}}for(;i<=a;)nu(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=$i(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r!=null||(r=new co),o!=null||(o=ru(e,i,s,n));let f=n(i,u);if(Us(e,r,i,f))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)nu(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r==null||r.forEach(a=>{e.destroy(a)})}function Us(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function nu(e,t,n,r,o){if(Us(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ru(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var co=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function TA(e,t,n){rt("NgControlFlow");let r=I(),o=nt(),i=zs(r,L+e),s=0;if(Y(r,o,t)){let a=_(null);try{if(Za(i,s),t!==-1){let c=Qs(r[E],L+t),l=Yt(i,c.tView.ssrId),u=Bn(r,c,n,{dehydratedView:l});Un(i,u,s,Zt(c,l))}}finally{_(a)}}else{let a=Xd(i,s);a!==void 0&&(a[z]=n)}}var qs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};function NA(e){return e}function SA(e,t){return t}var Ws=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function OA(e,t,n,r,o,i,s,a,c,l,u,d,f){rt("NgControlFlow");let p=c!==void 0,h=I(),g=a?s.bind(h[ae][z]):s,y=new Ws(p,g);h[L+e]=y,so(e+1,t,n,r,o,i),p&&so(e+2,c,l,u,d,f)}var Gs=class extends Bs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Q}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Gt];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Un(this.lContainer,n,t,Zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),nw(this.lContainer,t)}create(t,n){let r=Yt(this.lContainer,this.templateTNode.tView.ssrId);return Bn(this.hostLView,this.templateTNode,new qs(this.lContainer,n,t),{dehydratedView:r})}destroy(t){_o(t[E],t)}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[z].$index=t}getLView(t){return rw(this.lContainer,t)}};function AA(e){let t=_(null),n=Pe();try{let r=I(),o=r[E],i=r[n];if(i.liveCollection===void 0){let a=n+1,c=zs(r,a),l=Qs(o,a);i.liveCollection=new Gs(c,r,l)}else i.liveCollection.reset();let s=i.liveCollection;if(tw(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=nt(),c=s.length===0;if(Y(r,a,c)){let l=n+2,u=zs(r,l);if(c){let d=Qs(o,l),f=Yt(u,d.tView.ssrId),p=Bn(r,d,void 0,{dehydratedView:f});Un(u,p,0,Zt(d,f))}else Za(u,0)}}}finally{_(t)}}function zs(e,t){return e[t]}function nw(e,t){return Pn(e,t)}function rw(e,t){return Xd(e,t)}function Qs(e,t){return jn(e,t)}function ow(e,t,n,r,o,i){let s=t.consts,a=Qt(s,o),c=an(t,e,2,r,a);return qa(t,n,c,Qt(s,i)),c.attrs!==null&&eo(c,c.attrs,!1),c.mergedAttrs!==null&&eo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Af(e,t,n,r){let o=I(),i=S(),s=L+e,a=o[P],c=i.firstCreatePass?ow(s,i,o,t,n,r):i.data[s],l=sw(i,o,c,a,t,e);o[s]=l;let u=vo(c);return Ct(c,!0),Vd(a,l,c),!nI(c)&&Io()&&To(i,o,l,c),Om()===0&&et(l,o),Am(),u&&($a(i,o,c),Ha(i,c,o)),r!==null&&Ba(o,c),Af}function Pf(){let e=U();Ca()?Ma():(e=e.parent,Ct(e,!1));let t=e;Rm(t)&&km(),Pm();let n=S();return n.firstCreatePass&&(bo(n,e),wa(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Zm(t)&&$s(n,t,I(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ym(t)&&$s(n,t,I(),t.stylesWithoutHost,!1),Pf}function iw(e,t,n,r){return Af(e,t,n,r),Pf(),iw}var sw=(e,t,n,r,o,i)=>(wo(!0),Sd(r,o,Wm()));function aw(e,t,n,r,o){let i=t.consts,s=Qt(i,r),a=an(t,e,8,"ng-container",s);s!==null&&eo(a,s,!0);let c=Qt(i,o);return qa(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Rf(e,t,n){let r=I(),o=S(),i=e+L,s=o.firstCreatePass?aw(i,o,r,t,n):o.data[i];Ct(s,!0);let a=lw(o,r,s,e);return r[i]=a,Io()&&To(o,r,a,s),et(a,r),vo(s)&&($a(o,r,s),Ha(o,s,r)),n!=null&&Ba(r,s),Rf}function kf(){let e=U(),t=S();return Ca()?Ma():(e=e.parent,Ct(e,!1)),t.firstCreatePass&&(bo(t,e),wa(e)&&t.queries.elementEnd(e)),kf}function cw(e,t,n){return Rf(e,t,n),kf(),cw}var lw=(e,t,n,r)=>(wo(!0),ov(t[P],""));function PA(){return I()}function uw(e,t,n){let r=I(),o=nt();if(Y(r,o,t)){let i=S(),s=Re();Mt(i,s,r,e,t,r[P],n,!0)}return uw}function dw(e,t,n){let r=I(),o=nt();if(Y(r,o,t)){let i=S(),s=Re(),a=Ta(i.data),c=Jd(a,s,r);Mt(i,s,r,e,t,c,n,!0)}return dw}var ft=void 0;function fw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var pw=["en",[["a","p"],["AM","PM"],ft],[["AM","PM"],ft,ft],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ft,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ft,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ft,"{1} 'at' {0}",ft],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",fw],En={};function RA(e,t,n){typeof t!="string"&&(n=t,t=e[Zs.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),En[t]=e,n&&(En[t][Zs.ExtraData]=n)}function kA(e){let t=hw(e),n=ou(t);if(n)return n;let r=t.split("-")[0];if(n=ou(r),n)return n;if(r==="en")return pw;throw new N(701,!1)}function ou(e){return e in En||(En[e]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[e]),En[e]}var Zs=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Zs||{});function hw(e){return e.toLowerCase().replace(/_/g,"-")}var lo="en-US";var mw=lo;function gw(e){typeof e=="string"&&(mw=e.toLowerCase().replace(/_/g,"-"))}function vw(e,t,n,r){let o=I(),i=S(),s=U();return oc(i,o,o[P],s,e,t,r),vw}function yw(e,t){let n=U(),r=I(),o=S(),i=Ta(o.data),s=Jd(i,n,r);return oc(o,r,s,n,e,t),yw}function Iw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Nn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function oc(e,t,n,r,o,i,s){let a=vo(r),l=e.firstCreatePass&&Yd(e),u=t[z],d=Zd(t),f=!0;if(r.type&3||s){let g=fe(r,t),y=s?s(g):g,w=d.length,R=s?J=>s(Oe(J[r.index])):r.index,De=null;if(!s&&a&&(De=Iw(e,t,o,r.index)),De!==null){let J=De.__ngLastListenerFn__||De;J.__ngNextListenerFn__=i,De.__ngLastListenerFn__=i,f=!1}else{i=su(r,t,u,i,!1);let J=n.listen(y,o,i);d.push(i,J),l&&l.push(o,R,w,w+1)}}else i=su(r,t,u,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let g=h.length;if(g)for(let y=0;y<g;y+=2){let w=h[y],R=h[y+1],qn=t[w][R].subscribe(i),ot=d.length;d.push(i,qn),l&&l.push(o,r.index,ot,-(ot+1))}}}function iu(e,t,n,r){let o=_(null);try{return Te(6,t,n),n(r)!==!1}catch(i){return Po(e,i),!1}finally{Te(7,t,n),_(o)}}function su(e,t,n,r,o){return function i(s){if(s===Function)return r;let a=e.componentOffset>-1?tt(e.index,t):t;Ro(a);let c=iu(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=iu(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function LA(e=1){return Um(e)}function ww(e,t){let n=null,r=zh(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Nu(e,i,!0):Yh(r,i))return o}return n}function FA(e){let t=I()[ae][ce];if(!t.projection){let n=e?e.length:1,r=t.projection=jh(n,null),o=r.slice(),i=t.child;for(;i!==null;){let s=e?ww(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function jA(e,t=0,n){let r=I(),o=S(),i=an(o,L+e,16,null,n||null);i.projection===null&&(i.projection=t),Ma(),(!r[Gt]||Qu())&&(i.flags&32)!==32&&yv(o,r,i)}function bw(e,t,n){return Lf(e,"",t,"",n),bw}function Lf(e,t,n,r,o){let i=I(),s=Uo(i,t,n,r);if(s!==j){let a=S(),c=Re();Mt(a,c,i,e,s,i[P],o,!1)}return Lf}function xw(e,t,n,r,o,i,s){let a=I(),c=qo(a,t,n,r,o,i);if(c!==j){let l=S(),u=Re();Mt(l,u,a,e,c,a[P],s,!1)}return xw}function Ew(e,t,n,r,o,i,s,a,c){let l=I(),u=_I(l,t,n,r,o,i,s,a);if(u!==j){let d=S(),f=Re();Mt(d,f,l,e,u,l[P],c,!1)}return Ew}function VA(e,t,n,r){Hy(e,t,n,r)}function HA(e,t,n){Vy(e,t,n)}function $A(e){let t=I(),n=S(),r=Yu();Na(r+1);let o=Xa(n,r);if(e.dirty&&Tm(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Uy(t,r);e.reset(i,ug),e.notifyOnChanges()}return!0}return!1}function BA(){return jy(I(),Yu())}function Dw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function UA(e){let t=Fm();return Vn(t,L+e)}function qA(e,t=""){let n=I(),r=S(),o=e+L,i=r.firstCreatePass?an(r,o,1,t,null):r.data[o],s=Cw(r,n,i,t,e);n[o]=s,Io()&&To(r,n,s,i),Ct(i,!1)}var Cw=(e,t,n,r,o)=>(wo(!0),nv(t[P],r));function Mw(e){return Ff("",e,""),Mw}function Ff(e,t,n){let r=I(),o=Uo(r,e,t,n);return o!==j&&za(r,Pe(),o),Ff}function _w(e,t,n,r,o){let i=I(),s=qo(i,e,t,n,r,o);return s!==j&&za(i,Pe(),s),_w}function Tw(e,t,n,r,o,i,s,a,c){let l=I(),u=TI(l,e,t,n,r,o,i,s,a,c);return u!==j&&za(l,Pe(),u),Tw}function Nw(e,t,n){ff(t)&&(t=t());let r=I(),o=nt();if(Y(r,o,t)){let i=S(),s=Re();Mt(i,s,r,e,t,r[P],n,!1)}return Nw}function WA(e,t){let n=ff(e);return n&&e.set(t),n}function Sw(e,t){let n=I(),r=S(),o=U();return oc(r,n,n[P],o,e,t),Sw}function Ow(e,t,n){let r=S();if(r.firstCreatePass){let o=je(e);Ys(n,r.data,r.blueprint,o,!0),Ys(t,r.data,r.blueprint,o,!1)}}function Ys(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ys(e[i],t,n,r,o);else{let i=S(),s=I(),a=U(),c=Wt(e)?e:G(e.provide),l=Lu(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Wt(e)||!e.multi){let p=new wt(l,o,So),h=Ui(c,t,o?u:u+f,d);h===-1?(os(Qr(a,s),i,c),Bi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Ui(c,t,u+f,d),h=Ui(c,t,u,u+f),g=p>=0&&n[p],y=h>=0&&n[h];if(o&&!y||!o&&!g){os(Qr(a,s),i,c);let w=Rw(o?Pw:Aw,n.length,o,r,l);!o&&y&&(n[h].providerFactory=w),Bi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=jf(n[o?h:p],l,!o&&r);Bi(i,e,p>-1?p:h,w)}!o&&r&&y&&n[h].componentProviders++}}}function Bi(e,t,n,r){let o=Wt(t),i=um(t);if(o||i){let c=(i?G(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function jf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ui(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Aw(e,t,n,r){return Js(this.multi,[])}function Pw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=bt(n,n[E],this.providerFactory.index,r);i=a.slice(0,s),Js(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Js(o,i);return i}function Js(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Rw(e,t,n,r,o){let i=new wt(e,n,So);return i.multi=[],i.index=t,i.componentProviders=0,jf(i,o,r&&!n),i}function GA(e,t=[]){return n=>{n.providersResolver=(r,o)=>Ow(r,o?o(e):e,t)}}var kw=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=ma(!1,r.type),i=o.length>0?hf([o],this._injector,"Standalone[".concat(r.type.name,"]")):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=B({token:t,providedIn:"environment",factory:()=>new t(de(Fe))});let e=t;return e})();function zA(e){rt("NgStandalone"),e.getStandaloneInjector=t=>t.get(kw).getOrCreateStandaloneInjector(e)}function QA(e,t,n){let r=Ee()+e,o=I();return o[r]===j?_t(o,r,n?t.call(n):t()):ec(o,r)}function ZA(e,t,n,r){return Vf(I(),Ee(),e,t,n,r)}function YA(e,t,n,r,o){return Hf(I(),Ee(),e,t,n,r,o)}function JA(e,t,n,r,o,i){return $f(I(),Ee(),e,t,n,r,o,i)}function XA(e,t,n,r,o,i,s){return Bf(I(),Ee(),e,t,n,r,o,i,s)}function KA(e,t,n,r,o,i,s,a){let c=Ee()+e,l=I(),u=Vo(l,c,n,r,o,i);return Y(l,c+4,s)||u?_t(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):ec(l,c+5)}function eP(e,t,n,r,o,i,s,a,c){let l=Ee()+e,u=I(),d=Vo(u,l,n,r,o,i);return Xt(u,l+4,s,a)||d?_t(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):ec(u,l+6)}function Go(e,t){let n=e[t];return n===j?void 0:n}function Vf(e,t,n,r,o,i){let s=t+n;return Y(e,s,o)?_t(e,s+1,i?r.call(i,o):r(o)):Go(e,s+1)}function Hf(e,t,n,r,o,i,s){let a=t+n;return Xt(e,a,o,i)?_t(e,a+2,s?r.call(s,o,i):r(o,i)):Go(e,a+2)}function $f(e,t,n,r,o,i,s,a){let c=t+n;return gf(e,c,o,i,s)?_t(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Go(e,c+3)}function Bf(e,t,n,r,o,i,s,a,c){let l=t+n;return Vo(e,l,o,i,s,a)?_t(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Go(e,l+4)}function tP(e,t){var c;let n=S(),r,o=e+L;n.firstCreatePass?(r=Lw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&((c=n.destroyHooks)!=null?c:n.destroyHooks=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=gt(r.type,!0)),s,a=te(So);try{let l=zr(!1),u=i();return zr(l),Dw(n,I(),o,u),u}finally{te(a)}}function Lw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function nP(e,t,n){let r=e+L,o=I(),i=Vn(o,r);return zo(o,r)?Vf(o,Ee(),t,i.transform,n,i):i.transform(n)}function rP(e,t,n,r){let o=e+L,i=I(),s=Vn(i,o);return zo(i,o)?Hf(i,Ee(),t,s.transform,n,r,s):s.transform(n,r)}function oP(e,t,n,r,o){let i=e+L,s=I(),a=Vn(s,i);return zo(s,i)?$f(s,Ee(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function iP(e,t,n,r,o,i){let s=e+L,a=I(),c=Vn(a,s);return zo(a,s)?Bf(a,Ee(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function zo(e,t){return e[E].data[t].pure}function sP(e,t){return ko(e,t)}var aP=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Fw=new k(""),jw=new k(""),cP=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Dn||(Hw(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r()},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(de(ie),de(Vw),de(jw))},t.\u0275prov=B({token:t,factory:t.\u0275fac});let e=t;return e})(),Vw=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){var i;return(i=Dn==null?void 0:Dn.findTestabilityInTree(this,r,o))!=null?i:null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Hw(e){Dn=e}var Dn;function Uf(e){return!!e&&typeof e.then=="function"}function $w(e){return!!e&&typeof e.subscribe=="function"}var Bw=new k(""),qf=(()=>{let t=class t{constructor(){var r;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i}),this.appInits=(r=O(Bw,{optional:!0}))!=null?r:[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Uf(s))r.push(s);else if($w(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Uw=new k("");function qw(){cl(()=>{throw new N(600,!1)})}function Ww(e){return e.isBoundToModule}function Gw(e,t,n){try{let r=n();return Uf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ic=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=O(hd),this.afterRenderEffectManager=O(Fo),this.externalTestViews=new Set,this.beforeRender=new X,this.afterTick=new X,this.componentTypes=[],this.components=[],this.isStable=O(jo).hasPendingTasks.pipe(K(r=>!r)),this._injector=O(Fe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Kr;if(!this._injector.get(qf).done){let p=!i&&rm(r),h=!1;throw new N(405,h)}let a;i?a=r:a=this._injector.get(Lo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Ww(a)?void 0:this._injector.get(Et),l=o||a.selector,u=a.create(rn.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(Fw,null);return f==null||f.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),qi(this.components,u),f==null||f.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new N(101,!1);let o=_(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,_(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===ef)throw new N(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)zw(a,s,c)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;qi(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Uw,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>qi(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new N(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qi(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zw(e,t,n){!t&&!Xs(e)||Qw(e,n,t)}function Xs(e){return Ea(e)}function Qw(e,t,n){let r;n?(r=0,e[D]|=1024):e[D]&64?r=0:r=1,tf(e,t,r)}var Ks=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lP=(()=>{let t=class t{compileModuleSync(r){return new Ls(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Su(r),s=Nd(i.declarations).reduce((a,c)=>{let l=Se(c);return l&&a.push(new Jt(l)),a},[]);return new Ks(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Zw=(()=>{let t=class t{constructor(){this.zone=O(ie),this.applicationRef=O(ic)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var r;(r=this._onMicrotaskEmptySubscription)==null||r.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Yw(e){return[{provide:ie,useFactory:e},{provide:Br,multi:!0,useFactory:()=>{let t=O(Zw,{optional:!0});return()=>t.initialize()}},{provide:Br,multi:!0,useFactory:()=>{let t=O(eb);return()=>{t.initialize()}}},{provide:hd,useFactory:Jw}]}function Jw(){let e=O(ie),t=O(Ke);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Xw(e){let t=Yw(()=>new ie(Kw(e)));return im([[],t])}function Kw(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(t=e==null?void 0:e.eventCoalescing)!=null?t:!1,shouldCoalesceRunChangeDetection:(n=e==null?void 0:e.runCoalescing)!=null?n:!1}}var eb=(()=>{let t=class t{constructor(){this.subscription=new V,this.initialized=!1,this.zone=O(ie),this.pendingTasks=O(jo)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.assertInAngularZone(),r!=null||(r=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function tb(){return typeof $localize<"u"&&$localize.locale||lo}var Wf=new k("",{providedIn:"root",factory:()=>O(Wf,T.Optional|T.SkipSelf)||tb()});var Gf=new k("");var jr=null;function nb(e=[],t){return rn.create({name:t,providers:[{provide:ku,useValue:"platform"},{provide:Gf,useValue:new Set([()=>jr=null])},...e]})}function rb(e=[]){if(jr)return jr;let t=nb(e);return jr=t,qw(),ob(t),t}function ob(e){let t=e.get(yg,null);t==null||t.forEach(n=>n())}function uP(){return!1}var ib=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=sb;let e=t;return e})();function sb(e){return ab(U(),I(),(e&16)===16)}function ab(e,t,n){if(go(e)&&!n){let r=tt(e.index,t);return new xt(r,r)}else if(e.type&47){let r=t[ae];return new xt(r,t)}return null}var ea=class{constructor(){}supports(t){return mf(t)}create(t){return new ta(t)}},cb=(e,t)=>t,ta=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||cb}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<au(r,o,i)?n:r,a=au(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;u<=h&&h<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!mf(t))throw new N(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,tI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new na(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new uo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new uo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},na=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ra=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},uo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ra,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function au(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var oa=class{constructor(){}supports(t){return t instanceof Map||Ka(t)}create(){return new ia}},ia=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ka(t)))throw new N(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new sa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},sa=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function cu(){return new lb([new ea])}var lb=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||cu()),deps:[[t,new xu,new bu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new N(901,!1)}};t.\u0275prov=B({token:t,providedIn:"root",factory:cu});let e=t;return e})();function lu(){return new ub([new oa])}var ub=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||lu()),deps:[[t,new xu,new bu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new N(901,!1)}};t.\u0275prov=B({token:t,providedIn:"root",factory:lu});let e=t;return e})();var dP=(()=>{let t=class t{constructor(r){}};t.\u0275fac=function(o){return new(o||t)(de(ic))},t.\u0275mod=nm({type:t}),t.\u0275inj=yh({});let e=t;return e})();function fP(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=rb(r),i=[Xw(),...n||[]],a=new io({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(ie);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Ke,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Gf);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),Gw(l,c,()=>{let p=a.get(qf);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Wf,lo);gw(h||lo);let g=a.get(ic);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function pP(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function hP(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function mP(e,t){rt("NgSignals");let n=il(e);return t!=null&&t.equal&&(n[ve].equal=t.equal),n}function gP(e){let t=_(null);try{return e()}finally{_(t)}}var db=new k("",{providedIn:"root",factory:()=>O(fb)}),fb=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>new aa});let e=t;return e})(),aa=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=O(jo),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ca=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=dl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o==null?void 0:o.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){let r=this.injector.get(Ke,null,{optional:!0});r==null||r.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){var t;this.watcher.destroy(),(t=this.unregisterOnDestroy)==null||t.call(this)}};function pb(e,t){var s,a,c,l;rt("NgSignals"),!(t!=null&&t.injector)&&ju(pb);let n=(s=t==null?void 0:t.injector)!=null?s:O(rn),r=(t==null?void 0:t.manualCleanup)!==!0?n.get(xo):null,o=new ca(n.get(db),e,typeof Zone>"u"?null:Zone.current,r,n,(a=t==null?void 0:t.allowSignalWrites)!=null?a:!1),i=n.get(ib,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():((l=(c=i._lView)[Bt])!=null?l:c[Bt]=[]).push(o.watcher.notify),o}function vP(e){let t=Se(e);if(!t)return null;let n=new Jt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{Ue as a,qe as b,hb as c,mb as d,gb as e,vb as f,yb as g,Ib as h,wb as i,bb as j,xb as k,Eb as l,np as m,V as n,ct as o,sp as p,M as q,hi as r,mi as s,X as t,ln as u,mn as v,Pp as w,ee as x,Rp as y,ge as z,wx as A,gc as B,bx as C,xx as D,Ex as E,yc as F,Dx as G,Cx as H,dn as I,Me as J,si as K,ai as L,kp as M,dt as N,qc as O,K as P,Ep as Q,le as R,hn as S,Rt as T,jp as U,Vp as V,Ii as W,me as X,Cp as Y,Mp as Z,Ze as _,Gp as $,Tp as aa,Qp as ba,li as ca,Qc as da,Oc as ea,vn as fa,ut as ga,ui as ha,pr as ia,Pc as ja,Zp as ka,Yp as la,Rc as ma,wi as na,Zc as oa,bi as pa,Xp as qa,xi as ra,Kp as sa,eh as ta,th as ua,Yc as va,nh as wa,rh as xa,pi as ya,kc as za,Lc as Aa,oh as Ba,Fc as Ca,jc as Da,Vc as Ea,ih as Fa,Hc as Ga,sh as Ha,$c as Ia,N as Ja,ue as Ka,se as La,pu as Ma,B as Na,yh as Oa,$O as Pa,k as Qa,T as Ra,de as Sa,O as Ta,BO as Ua,bu as Va,xu as Wa,Br as Xa,Mn as Ya,qt as Za,UO as _a,nm as $a,qO as ab,WO as bb,im as cb,sm as db,ku as eb,Fe as fb,vm as gb,ju as hb,wm as ib,GO as jb,zO as kb,QO as lb,ZO as mb,YO as nb,JO as ob,rn as pb,Ke as qb,xo as rb,XO as sb,Eo as tb,bn as ub,cs as vb,KO as wb,gg as xb,yg as yb,wd as zb,eA as Ab,tA as Bb,Ig as Cb,nA as Db,bg as Eb,sn as Fb,ka as Gb,rA as Hb,oA as Ib,iA as Jb,sA as Kb,aA as Lb,Ed as Mb,qg as Nb,Co as Ob,cA as Pb,Gg as Qb,lA as Rb,uA as Sb,dA as Tb,ys as Ub,fA as Vb,So as Wb,pA as Xb,Jr as Yb,Xr as Zb,Lo as _b,Cs as $b,gA as ac,rt as bc,ie as cc,Iy as dc,Ja as ec,qy as fc,yA as gc,zy as hc,IA as ic,wA as jc,Et as kc,ks as lc,bA as mc,hf as nc,jo as oc,so as pc,xA as qc,EA as rc,MI as sc,NI as tc,SI as uc,UI as vc,qI as wc,WI as xc,DA as yc,CA as zc,MA as Ac,_A as Bc,TA as Cc,NA as Dc,SA as Ec,OA as Fc,AA as Gc,Af as Hc,Pf as Ic,iw as Jc,Rf as Kc,kf as Lc,cw as Mc,PA as Nc,uw as Oc,dw as Pc,RA as Qc,kA as Rc,Zs as Sc,vw as Tc,yw as Uc,LA as Vc,FA as Wc,jA as Xc,bw as Yc,Lf as Zc,xw as _c,Ew as $c,VA as ad,HA as bd,$A as cd,BA as dd,UA as ed,qA as fd,Mw as gd,Ff as hd,_w as id,Tw as jd,Nw as kd,WA as ld,Sw as md,GA as nd,zA as od,QA as pd,ZA as qd,YA as rd,JA as sd,XA as td,KA as ud,eP as vd,tP as wd,nP as xd,rP as yd,oP as zd,iP as Ad,sP as Bd,aP as Cd,Fw as Dd,jw as Ed,cP as Fd,Vw as Gd,Uf as Hd,$w as Id,Bw as Jd,Uw as Kd,ic as Ld,lP as Md,Wf as Nd,uP as Od,ib as Pd,lb as Qd,ub as Rd,dP as Sd,fP as Td,pP as Ud,hP as Vd,mP as Wd,gP as Xd,pb as Yd,vP as Zd};