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