@whoz-oss/coday-client 0.205.0 → 0.206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-IZMOVLXM.js → chunk-243E2GWV.js} +1 -1
- package/browser/{chunk-X4OBCZKS.js → chunk-2J5DAOVJ.js} +1 -1
- package/browser/{chunk-TJUGTTPT.js → chunk-2L7CAI22.js} +1 -1
- package/browser/{chunk-T7LK5WIK.js → chunk-3IOIMTCZ.js} +1 -1
- package/browser/{chunk-IZ232KSX.js → chunk-3NE2UZIY.js} +1 -1
- package/browser/{chunk-KP7JXEQ6.js → chunk-3ODG3JTW.js} +1 -1
- package/browser/chunk-42QJEAX4.js +1 -0
- package/browser/{chunk-W2DFJLOU.js → chunk-4734TK7R.js} +1 -1
- package/browser/{chunk-TIPIHEBG.js → chunk-4F2LQOD7.js} +1 -1
- package/browser/{chunk-OCT6NWLB.js → chunk-4JBCVOGN.js} +1 -1
- package/browser/{chunk-MLSIHZ2T.js → chunk-4NGQR26Q.js} +1 -1
- package/browser/{chunk-4OZZANXO.js → chunk-53URG3R4.js} +1 -1
- package/browser/{chunk-JHMFWXB4.js → chunk-55QD2MSQ.js} +1 -1
- package/browser/{chunk-T6U3WDDW.js → chunk-5EHY76TA.js} +1 -1
- package/browser/chunk-5J7BTB5J.js +5 -0
- package/browser/{chunk-2KD6MSFI.js → chunk-5VKJNF6W.js} +1 -1
- package/browser/{chunk-2XIUD7DV.js → chunk-6F2QS5ZN.js} +1 -1
- package/browser/{chunk-PN75DG7I.js → chunk-6RZUBD7A.js} +1 -1
- package/browser/chunk-6YFVWUFP.js +1 -0
- package/browser/{chunk-LN6ED2HF.js → chunk-7BGJAFEA.js} +1 -1
- package/browser/{chunk-H7A4LOFH.js → chunk-7MQRVE7E.js} +1 -1
- package/browser/{chunk-ZTCAFSDX.js → chunk-7TME2YLZ.js} +1 -1
- package/browser/{chunk-H2NKOG3U.js → chunk-7V5RIRTC.js} +1 -1
- package/browser/{chunk-ZFLT2KNY.js → chunk-A5C4DTSU.js} +1 -1
- package/browser/{chunk-AV7DTXWS.js → chunk-ATKHLJJ3.js} +1 -1
- package/browser/chunk-BD6N2UN6.js +1 -0
- package/browser/{chunk-GN7KRTUQ.js → chunk-BGEXT3EN.js} +1 -1
- package/browser/{chunk-POQ6PK6P.js → chunk-BWMTUVRQ.js} +1 -1
- package/browser/{chunk-PZWORCU2.js → chunk-CIMPBK5N.js} +1 -1
- package/browser/{chunk-TANV4K2Q.js → chunk-CRMVKTOY.js} +1 -1
- package/browser/{chunk-YQAOEJN2.js → chunk-DVSVPID7.js} +1 -1
- package/browser/{chunk-TZKO65ML.js → chunk-E3XC4CVU.js} +1 -1
- package/browser/chunk-E64XBDJ4.js +1 -0
- package/browser/{chunk-Q7GPLEGX.js → chunk-EQXGFCI5.js} +1 -1
- package/browser/{chunk-7DUVQCGC.js → chunk-ERQUBIFQ.js} +1 -1
- package/browser/{chunk-QJ3OBGZZ.js → chunk-FAM7HWYV.js} +1 -1
- package/browser/{chunk-ZH3XQHLJ.js → chunk-FEJVBWEX.js} +1 -1
- package/browser/{chunk-UFOTGZBF.js → chunk-FMAU2O5I.js} +1 -1
- package/browser/{chunk-JEGJL4TT.js → chunk-FTVXDMJT.js} +1 -1
- package/browser/chunk-G32LX34P.js +1 -0
- package/browser/{chunk-XIWUSJ3U.js → chunk-H27HCS4L.js} +1 -1
- package/browser/{chunk-EJH5VPZT.js → chunk-HE2ON544.js} +1 -1
- package/browser/chunk-HM6HNJMS.js +1 -0
- package/browser/{chunk-7UX5UET4.js → chunk-HO4VUFE6.js} +1 -1
- package/browser/{chunk-MQIE2KBB.js → chunk-HQZLHG3V.js} +1 -1
- package/browser/{chunk-RI2JQRSB.js → chunk-IRZNRZ5Q.js} +1 -1
- package/browser/chunk-JHUUVBVD.js +1 -0
- package/browser/{chunk-E5MP3JT3.js → chunk-JWURN5PB.js} +1 -1
- package/browser/{chunk-SUCGKO3W.js → chunk-K4C36S6V.js} +1 -1
- package/browser/{chunk-BM7HTRD4.js → chunk-KKZABPQU.js} +1 -1
- package/browser/{chunk-CREVHCXF.js → chunk-L3L75XR6.js} +1 -1
- package/browser/{chunk-7BYLIOKV.js → chunk-LBMJRBEQ.js} +1 -1
- package/browser/{chunk-P6D3VN2I.js → chunk-LH2YTDIO.js} +1 -1
- package/browser/{chunk-EMS3MOSZ.js → chunk-LM2BKZRF.js} +1 -1
- package/browser/{chunk-ATOA52OV.js → chunk-LRKPIL3B.js} +1 -1
- package/browser/{chunk-JLGR5C43.js → chunk-M7LNEVHA.js} +1 -1
- package/browser/{chunk-O4JNY3IM.js → chunk-ND3PB3FA.js} +1 -1
- package/browser/{chunk-FUVTYKQF.js → chunk-OBNBWBWU.js} +1 -1
- package/browser/{chunk-RBAVAHXW.js → chunk-OBV4LQBZ.js} +1 -1
- package/browser/chunk-OSVXE7XF.js +1 -0
- package/browser/{chunk-24EMVCMJ.js → chunk-P6ABEFHB.js} +1 -1
- package/browser/{chunk-4URCDOMP.js → chunk-PKBNMAQJ.js} +1 -1
- package/browser/{chunk-YTTJDHQV.js → chunk-PRFGHN7L.js} +1 -1
- package/browser/{chunk-WRTC44LF.js → chunk-QDRJZVVJ.js} +1 -1
- package/browser/{chunk-S4E4KZRV.js → chunk-RMRAPNZV.js} +1 -1
- package/browser/chunk-SCK76QV6.js +1 -0
- package/browser/chunk-SO5P7HTY.js +1 -0
- package/browser/{chunk-SR3JKZ3U.js → chunk-TG75SVZ4.js} +1 -1
- package/browser/{chunk-IWORAUIR.js → chunk-TS6GGNWA.js} +1 -1
- package/browser/{chunk-5YY3K2H4.js → chunk-TWMYRLVR.js} +1 -1
- package/browser/{chunk-5RSIAFID.js → chunk-TZMTC2HL.js} +1 -1
- package/browser/chunk-URX4BP67.js +1 -0
- package/browser/{chunk-RFEQZZ65.js → chunk-VYU454KQ.js} +1 -1
- package/browser/{chunk-J6XN2QQO.js → chunk-W6TYWCQH.js} +1 -1
- package/browser/{chunk-XG3WOI3P.js → chunk-WLSXA23B.js} +1 -1
- package/browser/{chunk-34XXAW4B.js → chunk-WN6IHVRI.js} +1 -1
- package/browser/{chunk-5ZZOXT2B.js → chunk-WQ5AIKDC.js} +1 -1
- package/browser/{chunk-QWADOF7R.js → chunk-WSIKJ6LY.js} +1 -1
- package/browser/chunk-WXOBY3EY.js +1 -0
- package/browser/{chunk-FPE2L5B6.js → chunk-XBPK63K2.js} +1 -1
- package/browser/{chunk-BWBXJSAF.js → chunk-XXFLSKH4.js} +1 -1
- package/browser/{chunk-4RQXBHNU.js → chunk-XXPGZDVF.js} +1 -1
- package/browser/chunk-YMLYNSOP.js +1 -0
- package/browser/{chunk-YJA5A4XF.js → chunk-ZAKB7MFY.js} +1 -1
- package/browser/{chunk-DIAV5ZVT.js → chunk-ZJUUFIFM.js} +1 -1
- package/browser/{chunk-ETLSYFBB.js → chunk-ZMCXRMG2.js} +1 -1
- package/browser/{chunk-6J2HD2IJ.js → chunk-ZU7FZEK3.js} +1 -1
- package/browser/index.html +1 -1
- package/browser/{main-INQHHK2Q.js → main-UE2RLE5B.js} +1 -1
- package/package.json +1 -1
- package/browser/chunk-EU6MUKDF.js +0 -1
- package/browser/chunk-GTY23DMS.js +0 -1
- package/browser/chunk-HMFECYUP.js +0 -1
- package/browser/chunk-HNNYFORJ.js +0 -1
- package/browser/chunk-IGOUE2XE.js +0 -1
- package/browser/chunk-J3CZ3MOZ.js +0 -1
- package/browser/chunk-JTM5UHB2.js +0 -1
- package/browser/chunk-KO4MDPCD.js +0 -1
- package/browser/chunk-LT6BGRWZ.js +0 -1
- package/browser/chunk-OQBPCHYW.js +0 -1
- package/browser/chunk-PCPMONQV.js +0 -1
- package/browser/chunk-RYEX2DR7.js +0 -5
- package/browser/chunk-SK7JAK5K.js +0 -1
- package/browser/chunk-TPZGV5NA.js +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var zm=Object.defineProperty,Gm=Object.defineProperties;var Wm=Object.getOwnPropertyDescriptors;var wo=Object.getOwnPropertySymbols;var Ll=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable;var Pl=(e,t,n)=>t in e?zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||={})Ll.call(t,n)&&Pl(e,n,t[n]);if(wo)for(var n of wo(t))jl.call(t,n)&&Pl(e,n,t[n]);return e},$=(e,t)=>Gm(e,Wm(t));var qm=(e,t)=>{var n={};for(var r in e)Ll.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&wo)for(var r of wo(e))t.indexOf(r)<0&&jl.call(e,r)&&(n[r]=e[r]);return n};var Sn=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function N(e){return typeof e=="function"}function _t(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 Co=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function qt(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(N(r))try{r()}catch(i){t=i instanceof Co?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bl(i)}catch(s){t=t??[],s instanceof Co?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Co(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Bl(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)&&qt(n,t)}remove(t){let{_finalizers:n}=this;n&&qt(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var Ws=J.EMPTY;function bo(e){return e instanceof J||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function Bl(e){N(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nn={setTimeout(e,t,...n){let{delegate:r}=Nn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function To(e){Nn.setTimeout(()=>{let{onUnhandledError:t}=Oe;if(t)t(e);else throw e})}function Zt(){}var Vl=qs("C",void 0,void 0);function Hl(e){return qs("E",void 0,e)}function Ul(e){return qs("N",e,void 0)}function qs(e,t,n){return{kind:e,value:t,error:n}}var Yt=null;function An(e){if(Oe.useDeprecatedSynchronousErrorHandling){let t=!Yt;if(t&&(Yt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Yt;if(Yt=null,n)throw r}}else e()}function $l(e){Oe.useDeprecatedSynchronousErrorHandling&&Yt&&(Yt.errorThrown=!0,Yt.error=e)}var Qt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,bo(t)&&t.add(this)):this.destination=Qm}static create(t,n,r){return new ke(t,n,r)}next(t){this.isStopped?Ys(Ul(t),this):this._next(t)}error(t){this.isStopped?Ys(Hl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ys(Vl,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()}}},Zm=Function.prototype.bind;function Zs(e,t){return Zm.call(e,t)}var Qs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){_o(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){_o(r)}else _o(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){_o(n)}}},ke=class extends Qt{constructor(t,n,r){super();let o;if(N(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Oe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Zs(t.next,i),error:t.error&&Zs(t.error,i),complete:t.complete&&Zs(t.complete,i)}):o=t}this.destination=new Qs(o)}};function _o(e){Oe.useDeprecatedSynchronousErrorHandling?$l(e):To(e)}function Ym(e){throw e}function Ys(e,t){let{onStoppedNotification:n}=Oe;n&&Nn.setTimeout(()=>n(e,t))}var Qm={closed:!0,next:Zt,error:Ym,complete:Zt};var xn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ee(e){return e}function Km(...e){return Ks(e)}function Ks(e){return e.length===0?Ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=Xm(n)?n:new ke(n,r,o);return An(()=>{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=zl(r),new r((o,i)=>{let s=new ke({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[xn](){return this}pipe(...n){return Ks(n)(this)}toPromise(n){return n=zl(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 zl(e){var t;return(t=e??Oe.Promise)!==null&&t!==void 0?t:Promise}function Jm(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}function Xm(e){return e&&e instanceof Qt||Jm(e)&&bo(e)}var Gl=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Mo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gl}next(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){An(()=>{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(){An(()=>{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?Ws:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,qt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new Mo(t,n),e})(),Mo=class extends ue{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:Ws}};var gr=class extends ue{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)}};function So(e){return e&&N(e.schedule)}function Js(e){return e[e.length-1]}function No(e){return N(Js(e))?e.pop():void 0}function Qe(e){return So(Js(e))?e.pop():void 0}function Wl(e,t){return typeof Js(e)=="number"?e.pop():t}function Zl(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ql(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 Kt(e){return this instanceof Kt?(this.v=e,this):new Kt(e)}function Yl(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(I){return new Promise(function(y,v){i.push([f,I,y,v])>1||c(f,I)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(I){p(i[0][3],I)}}function u(f){f.value instanceof Kt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(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 Ql(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 ql=="function"?ql(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(u){i({value:u,done:a})},s)}}var Ao=e=>e&&typeof e.length=="number"&&typeof e!="function";function xo(e){return N(e?.then)}function Ro(e){return N(e[xn])}function Oo(e){return Symbol.asyncIterator&&N(e?.[Symbol.asyncIterator])}function ko(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 ey(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Fo=ey();function Po(e){return N(e?.[Fo])}function Lo(e){return Yl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Kt(n.read());if(o)return yield Kt(void 0);yield yield Kt(r)}}finally{n.releaseLock()}})}function jo(e){return N(e?.getReader)}function O(e){if(e instanceof x)return e;if(e!=null){if(Ro(e))return ty(e);if(Ao(e))return ny(e);if(xo(e))return ry(e);if(Oo(e))return Kl(e);if(Po(e))return oy(e);if(jo(e))return iy(e)}throw ko(e)}function ty(e){return new x(t=>{let n=e[xn]();if(N(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ny(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ry(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,To)})}function oy(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Kl(e){return new x(t=>{sy(e,t).catch(n=>t.error(n))})}function iy(e){return Kl(Lo(e))}function sy(e,t){var n,r,o,i;return Zl(this,void 0,void 0,function*(){try{for(n=Ql(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 re(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 ay(e){return N(e?.lift)}function M(e){return t=>{if(ay(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 S(e,t,n,r,o){return new Xs(e,t,n,r,o)}var Xs=class extends Qt{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 Bo(e,t=0){return M((n,r)=>{n.subscribe(S(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Vo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Jl(e,t){return O(e).pipe(Vo(t),Bo(t))}function Xl(e,t){return O(e).pipe(Vo(t),Bo(t))}function ed(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function td(e,t){return new x(n=>{let r;return re(n,t,()=>{r=e[Fo](),re(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)}),()=>N(r?.return)&&r.return()})}function Ho(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function nd(e,t){return Ho(Lo(e),t)}function rd(e,t){if(e!=null){if(Ro(e))return Jl(e,t);if(Ao(e))return ed(e,t);if(xo(e))return Xl(e,t);if(Oo(e))return Ho(e,t);if(Po(e))return td(e,t);if(jo(e))return nd(e,t)}throw ko(e)}function Ke(e,t){return t?rd(e,t):O(e)}function Uo(...e){let t=Qe(e);return Ke(e,t)}function le(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:cy}=Array,{getPrototypeOf:uy,prototype:ly,keys:dy}=Object;function $o(e){if(e.length===1){let t=e[0];if(cy(t))return{args:t,keys:null};if(fy(t)){let n=dy(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function fy(e){return e&&typeof e=="object"&&uy(e)===ly}var{isArray:py}=Array;function hy(e,t){return py(t)?e(...t):e(t)}function zo(e){return le(t=>hy(e,t))}function Go(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gy(...e){let t=Qe(e),n=No(e),{args:r,keys:o}=$o(e);if(r.length===0)return Ke([],t);let i=new x(my(r,t,o?s=>Go(o,s):Ee));return n?i.pipe(zo(n)):i}function my(e,t,n=Ee){return r=>{od(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)od(t,()=>{let u=Ke(e[c],t),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function od(e,t,n){e?re(n,e,t):t()}function yy(...e){let t=No(e),{args:n,keys:r}=$o(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;O(n[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Go(r,a):a),i.complete())}))}});return t?o.pipe(zo(t)):o}function Mt(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ea(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=O(e(s,ea(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Wo(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;O(e(c,l)).subscribe(o=S(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vy(e){return M((t,n)=>{O(e).subscribe(S(n,()=>n.complete(),Zt)),!n.closed&&t.subscribe(n)})}var mr={now(){return(mr.delegate||Date).now()},delegate:void 0};var yr=class extends ue{constructor(t=1/0,n=1/0,r=mr){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)}}};var qo=class extends J{constructor(t,n){super()}schedule(t,n=0){return this}};var vr={setInterval(e,t,...n){let{delegate:r}=vr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Zo=class extends qo{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 vr.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&&vr.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,qt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Rn=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)}};Rn.now=mr.now;var Yo=class extends Rn{constructor(t,n=Rn.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 at=new Yo(Zo),id=at;var Jt=new x(e=>e.complete());function Dy(e,t){let n=N(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function Ey(e){return!!e&&(e instanceof x||N(e.lift)&&N(e.subscribe))}var ct=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Iy(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new ct)}})})}function wy(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ke({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ct)}});e.subscribe(i)})}function Qo(e){return e instanceof Date&&!isNaN(e)}var Cy=_t(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function by(e,t){let{first:n,each:r,with:o=Ty,scheduler:i=t??at,meta:s=null}=Qo(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return M((a,c)=>{let u,l,d=null,p=0,f=h=>{l=re(c,i,()=>{try{u.unsubscribe(),O(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};u=a.subscribe(S(c,h=>{l?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Ty(e){throw new Cy(e)}function sd(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=I=>u<r?h(I):c.push(I),h=I=>{i&&t.next(I),u++;let y=!1;O(n(I,l++)).subscribe(S(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?re(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return N(t)?ut((r,o)=>le((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>sd(r,o,e,n)))}function Dr(e=1/0){return ut(Ee,e)}function ad(){return Dr(1)}function On(...e){return ad()(Ke(e,Qe(e)))}function _y(e){return new x(t=>{O(e()).subscribe(t)})}function Ko(e=0,t,n=id){let r=-1;return t!=null&&(So(t)?n=t:r=t),new x(o=>{let i=Qo(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 My(...e){let t=Qe(e),n=Wl(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Dr(n)(Ke(r,t)):Jt}function cd(e){return M((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(S(n,u=>{r=!0,o=u,i||O(e(u)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Sy(e,t=at){return cd(()=>Ko(e,t))}function ta(e,t){return N(t)?ut(e,t,1):ut(e,1)}function ud(e,t=at){return M((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(S(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function ld(e){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Xt(e){return e<=0?()=>Jt:M((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function dd(){return M((e,t)=>{e.subscribe(S(t,Zt))})}function na(e){return le(()=>e)}function ra(e,t){return t?n=>On(t.pipe(Xt(1),dd()),n.pipe(ra(e))):ut((n,r)=>O(e(n,r)).pipe(Xt(1),na(n)))}function Ny(e,t=at){let n=Ko(e,t);return ra(()=>n)}function fd(e,t=Ee){return e=e??Ay,M((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ay(e,t){return e===t}function pd(e=xy){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xy(){return new ct}function oa(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function hd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Mt((o,i)=>e(o,i,r)):Ee,Xt(1),n?ld(t):pd(()=>new ct))}function Ry(e){return e<=0?()=>Jt:M((t,n)=>{let r=[];t.subscribe(S(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 Oy(){return M((e,t)=>{let n,r=!1;e.subscribe(S(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function sa(e={}){let{connector:t=()=>new ue,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return M((I,y)=>{u++,!d&&!l&&p();let v=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=ia(h,o))}),v.subscribe(y),!s&&u>0&&(s=new ke({next:P=>v.next(P),error:P=>{d=!0,p(),a=ia(f,n,P),v.error(P)},complete:()=>{l=!0,p(),a=ia(f,r),v.complete()}}),O(I).subscribe(s))})(i)}}function ia(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ke({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function gd(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,sa({connector:()=>new yr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ky(e){return Mt((t,n)=>e<=n)}function md(...e){let t=Qe(e);return M((n,r)=>{(t?On(e,n,t):On(e,n)).subscribe(r)})}function Fy(e,t=!1){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function yd(e,t,n){let r=N(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ee}var oe=null,Jo=!1,aa=1,Py=null,Y=Symbol("SIGNAL");function E(e){let t=oe;return oe=e,t}function Xo(){return oe}var St={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Nt(e){if(Jo)throw new Error("");if(oe===null)return;oe.consumerOnSignalRead(e);let t=oe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=oe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:oe.producers,n!==void 0&&n.producer===e)){oe.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===oe&&(!r||jy(o,oe)))return;let i=Pn(oe),s={producer:e,consumer:oe,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};oe.producersTail=s,t!==void 0?t.nextProducer=s:oe.producers=s,i&&Id(e,s)}function vd(){aa++}function nn(e){if(!(Pn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===aa)){if(!e.producerMustRecompute(e)&&!Fn(e)){kn(e);return}e.producerRecomputeValue(e),kn(e)}}function ca(e){if(e.consumers===void 0)return;let t=Jo;Jo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Ly(r)}}finally{Jo=t}}function ua(){return oe?.consumerAllowSignalWrites!==!1}function Ly(e){e.dirty=!0,ca(e),e.consumerMarkedDirty?.(e)}function kn(e){e.dirty=!1,e.lastCleanEpoch=aa}function lt(e){return e&&Dd(e),E(e)}function Dd(e){e.producersTail=void 0,e.recomputing=!0}function At(e,t){E(t),e&&Ed(e)}function Ed(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Pn(e))do n=la(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Fn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(nn(n),r!==n.version))return!0}return!1}function xt(e){if(Pn(e)){let t=e.producers;for(;t!==void 0;)t=la(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Id(e,t){let n=e.consumersTail,r=Pn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Id(o.producer,o)}function la(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Pn(t)){let i=t.producers;for(;i!==void 0;)i=la(i)}return n}function Pn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Er(e){Py?.(e)}function jy(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ir(e,t){return Object.is(e,t)}function wr(e,t){let n=Object.create(By);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(nn(n),Nt(n),n.value===Je)throw n.error;return n.value};return r[Y]=n,Er(n),r}var en=Symbol("UNSET"),tn=Symbol("COMPUTING"),Je=Symbol("ERRORED"),By=$(B({},St),{value:en,dirty:!0,error:null,equal:Ir,kind:"computed",producerMustRecompute(e){return e.value===en||e.value===tn},producerRecomputeValue(e){if(e.value===tn)throw new Error("");let t=e.value;e.value=tn;let n=lt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==en&&t!==Je&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Vy(){throw new Error}var wd=Vy;function Cd(e){wd(e)}function da(e){wd=e}var Hy=null;function fa(e,t){let n=Object.create(Cr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>bd(n);return r[Y]=n,Er(n),[r,s=>rn(n,s),s=>ei(n,s)]}function bd(e){return Nt(e),e.value}function rn(e,t){ua()||Cd(e),e.equal(e.value,t)||(e.value=t,Uy(e))}function ei(e,t){ua()||Cd(e),rn(e,t(e.value))}var Cr=$(B({},St),{equal:Ir,value:void 0,kind:"signal"});function Uy(e){e.version++,vd(),ca(e),Hy?.(e)}var pa=$(B({},St),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ha(e){if(e.dirty=!1,e.version>0&&!Fn(e))return;e.version++;let t=lt(e);try{e.cleanup(),e.fn()}finally{At(e,t)}}var ga;function ti(){return ga}function Xe(e){let t=ga;return ga=e,t}var Td=Symbol("NotFound");function Ln(e){return e===Td||e?.name==="\u0275NotFound"}function ma(e,t,n){let r=Object.create($y);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(nn(r),Nt(r),r.value===Je)throw r.error;return r.value};return i[Y]=r,Er(r),i}function _d(e,t){nn(e),rn(e,t),kn(e)}function Md(e,t){if(nn(e),e.value===Je)throw e.error;ei(e,t),kn(e)}var $y=$(B({},St),{value:en,dirty:!0,error:null,equal:Ir,kind:"linkedSignal",producerMustRecompute(e){return e.value===en||e.value===tn},producerRecomputeValue(e){if(e.value===tn)throw new Error("");let t=e.value;e.value=tn;let n=lt(e),r,o=!1;try{let i=e.source(),s=t!==en&&t!==Je,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E(null),o=s&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Sd(e){let t=E(null);try{return e()}finally{E(t)}}var ci="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(et(t,n)),this.code=t}};function zy(e){return`NG0${Math.abs(e)}`}function et(e,t){return`${zy(e)}${t?": "+t:""}`}var Te=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function Od(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ar(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ar).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function ui(e,t){return e?t?`${e} ${t}`:e:t||""}var Gy=k({__forward_ref__:k});function li(e){return e.__forward_ref__=li,e}function X(e){return Na(e)?e():e}function Na(e){return typeof e=="function"&&e.hasOwnProperty(Gy)&&e.__forward_ref__===li}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function un(e){return{providers:e.providers||[],imports:e.imports||[]}}function xr(e){return qy(e,di)}function Wy(e){return xr(e)!==null}function qy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Zy(e){let t=e?.[di]??null;return t||null}function va(e){return e&&e.hasOwnProperty(ri)?e[ri]:null}var di=k({\u0275prov:k}),ri=k({\u0275inj:k}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Aa(e){return e&&!!e.\u0275providers}var xa=k({\u0275cmp:k}),Ra=k({\u0275dir:k}),Oa=k({\u0275pipe:k}),ka=k({\u0275mod:k}),Tr=k({\u0275fac:k}),ln=k({__NG_ELEMENT_ID__:k}),Nd=k({__NG_ENV_ID__:k});function Fa(e){return pi(e,"@NgModule"),e[ka]||null}function tt(e){return pi(e,"@Component"),e[xa]||null}function fi(e){return pi(e,"@Directive"),e[Ra]||null}function kd(e){return pi(e,"@Pipe"),e[Oa]||null}function pi(e,t){if(e==null)throw new m(-919,!1)}function _e(e){return typeof e=="string"?e:e==null?"":String(e)}var Fd=k({ngErrorCode:k}),Yy=k({ngErrorMessage:k}),Qy=k({ngTokenPath:k});function Pa(e,t){return Pd("",-200,t)}function hi(e,t){throw new m(-201,!1)}function Pd(e,t,n){let r=new m(t,e);return r[Fd]=t,r[Yy]=e,n&&(r[Qy]=n),r}function Ky(e){return e[Fd]}var Da;function Ld(){return Da}function de(e){let t=Da;return Da=e,t}function La(e,t,n){let r=xr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;hi(e,"")}var Jy={},on=Jy,Xy="__NG_DI_FLAG__",Ea=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=sn(n)||0;try{return this.injector.get(t,r&8?null:on,r)}catch(o){if(Ln(o))return o;throw o}}};function ev(e,t=0){let n=ti();if(n===void 0)throw new m(-203,!1);if(n===null)return La(e,void 0,t);{let r=tv(t),o=n.retrieve(e,r);if(Ln(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(Ld()||ev)(X(e),t)}function g(e,t){return b(e,sn(t))}function sn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function tv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ia(e){let t=[];for(let n=0;n<e.length;n++){let r=X(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=nv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function nv(e){return e[Xy]}function Rt(e,t){let n=e.hasOwnProperty(Tr);return n?e[Tr]:null}function jd(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 Bd(e){return e.flat(Number.POSITIVE_INFINITY)}function gi(e,t){e.forEach(n=>Array.isArray(n)?gi(n,t):t(n))}function ja(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Hd(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 mi(e,t,n){let r=Bn(e,t);return r>=0?e[r|1]=n:(r=~r,Hd(e,r,t,n)),r}function yi(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return rv(e,t,1)}function rv(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 Pe={},ie=[],pt=new C(""),Ba=new C("",-1),Va=new C(""),_r=class{get(t,n=on){if(n===on){let o=Pd("",-201);throw o.name="\u0275NotFound",o}return n}};function ht(e){return{\u0275providers:e}}function Ud(e){return ht([{provide:pt,multi:!0,useValue:e}])}function $d(...e){return{\u0275providers:Ha(!0,e),\u0275fromNgModule:!0}}function Ha(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return gi(t,s=>{let a=s;oi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zd(o,i),n}function zd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ua(o,i=>{t(i,r)})}}function oi(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=va(e),s=!i&&tt(e);if(!i&&!s){let c=e.ngModule;if(i=va(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)oi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;gi(i.imports,l=>{oi(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&zd(u,t)}if(!a){let u=Rt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ie},o),t({provide:Va,useValue:o,multi:!0},o),t({provide:pt,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ua(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ua(e,t){for(let n of e)Aa(n)&&(n=n.\u0275providers),Array.isArray(n)?Ua(n,t):t(n)}var ov=k({provide:String,useValue:k});function Gd(e){return e!==null&&typeof e=="object"&&ov in e}function iv(e){return!!(e&&e.useExisting)}function sv(e){return!!(e&&e.useFactory)}function an(e){return typeof e=="function"}function Wd(e){return!!e.useClass}var Or=new C(""),ni={},Ad={},ya;function Vn(){return ya===void 0&&(ya=new _r),ya}var fe=class{},cn=class extends fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ca(t,s=>this.processProvider(s)),this.records.set(Ba,jn(void 0,this)),o.has("environment")&&this.records.set(fe,jn(void 0,this));let i=this.records.get(Or);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Va,ie,{self:!0}))}retrieve(t,n){let r=sn(n)||0;try{return this.get(t,on,r)}catch(o){if(Ln(o))return o;throw o}}destroy(){br(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return br(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){br(this);let n=Xe(this),r=de(void 0),o;try{return t()}finally{Xe(n),de(r)}}get(t,n=on,r){if(br(this),t.hasOwnProperty(Nd))return t[Nd](this);let o=sn(r),i,s=Xe(this),a=de(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=dv(t)&&xr(t);l&&this.injectableDefInScope(l)?u=jn(wa(t),ni):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Vn():this.parent;return n=o&8&&n===on?null:n,c.get(t,n)}catch(c){let u=Ky(c);throw u===-200||u===-201?new m(u,null):c}finally{de(a),Xe(s)}}resolveInjectorInitializers(){let t=E(null),n=Xe(this),r=de(void 0),o;try{let i=this.get(pt,ie,{self:!0});for(let s of i)s()}finally{Xe(n),de(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=an(t)?t:X(t&&t.provide),r=cv(t);if(!an(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jn(void 0,ni,!0),o.factory=()=>Ia(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Ad)throw Pa("");return n.value===ni&&(n.value=Ad,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&lv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(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 wa(e){let t=xr(e),n=t!==null?t.factory:Rt(e);if(n!==null)return n;if(e instanceof C)throw new m(-204,!1);if(e instanceof Function)return av(e);throw new m(-204,!1)}function av(e){if(e.length>0)throw new m(-204,!1);let n=Zy(e);return n!==null?()=>n.factory(e):()=>new e}function cv(e){if(Gd(e))return jn(void 0,e.useValue);{let t=$a(e);return jn(t,ni)}}function $a(e,t,n){let r;if(an(e)){let o=X(e);return Rt(o)||wa(o)}else if(Gd(e))r=()=>X(e.useValue);else if(sv(e))r=()=>e.useFactory(...Ia(e.deps||[]));else if(iv(e))r=(o,i)=>b(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(uv(e))r=()=>new o(...Ia(e.deps));else return Rt(o)||wa(o)}return r}function br(e){if(e.destroyed)throw new m(-205,!1)}function jn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function uv(e){return!!e.deps}function lv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function dv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ca(e,t){for(let n of e)Array.isArray(n)?Ca(n,t):n&&Aa(n)?Ca(n.\u0275providers,t):t(n)}function Hn(e,t){let n;e instanceof cn?(br(e),n=e):n=new Ea(e);let r,o=Xe(n),i=de(void 0);try{return t()}finally{Xe(o),de(i)}}function qd(){return Ld()!==void 0||ti()!=null}var Le=0,w=1,_=2,ee=3,Me=4,pe=5,dn=6,Un=7,W=8,gt=9,je=10,L=11,$n=12,za=13,fn=14,ae=15,Ft=16,pn=17,nt=18,mt=19,Ga=20,ft=21,vi=22,Ot=23,Ie=24,hn=25,Pt=26,V=27,Zd=1,Wa=6,Lt=7,kr=8,gn=9,q=10;function yt(e){return Array.isArray(e)&&typeof e[Zd]=="object"}function Be(e){return Array.isArray(e)&&e[Zd]===!0}function qa(e){return(e.flags&4)!==0}function vt(e){return e.componentOffset>-1}function zn(e){return(e.flags&1)===1}function Ve(e){return!!e.template}function Gn(e){return(e[_]&512)!==0}function mn(e){return(e[_]&256)===256}var Za="svg",Yd="math";function Se(e){for(;Array.isArray(e);)e=e[Le];return e}function Ya(e,t){return Se(t[e])}function He(e,t){return Se(t[e.index])}function Di(e,t){return e.data[t]}function Fr(e,t){return e[t]}function Qa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ne(e,t){let n=t[e];return yt(n)?n:n[Le]}function Qd(e){return(e[_]&4)===4}function Ei(e){return(e[_]&128)===128}function Kd(e){return Be(e[ee])}function we(e,t){return t==null?null:e[t]}function Ka(e){e[pn]=0}function Ja(e){e[_]&1024||(e[_]|=1024,Ei(e)&&yn(e))}function Jd(e,t){for(;e>0;)t=t[fn],e--;return t}function Pr(e){return!!(e[_]&9216||e[Ie]?.dirty)}function Ii(e){e[je].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Pr(e)&&yn(e)}function yn(e){e[je].changeDetectionScheduler?.notify(0);let t=kt(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Ei(t)));)t=kt(t)}function Xa(e,t){if(mn(e))throw new m(911,!1);e[ft]===null&&(e[ft]=[]),e[ft].push(t)}function Xd(e,t){if(e[ft]===null)return;let n=e[ft].indexOf(t);n!==-1&&e[ft].splice(n,1)}function kt(e){let t=e[ee];return Be(t)?t[ee]:t}function ec(e){return e[Un]??=[]}function tc(e){return e.cleanup??=[]}function ef(e,t,n,r){let o=ec(t);o.push(n),e.firstCreatePass&&tc(e).push(r,o.length-1)}var A={lFrame:hf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ba=!1;function tf(){return A.lFrame.elementDepthCount}function nf(){A.lFrame.elementDepthCount++}function nc(){A.lFrame.elementDepthCount--}function wi(){return A.bindingsEnabled}function rc(){return A.skipHydrationRootTNode!==null}function oc(e){return A.skipHydrationRootTNode===e}function ic(){A.skipHydrationRootTNode=null}function D(){return A.lFrame.lView}function H(){return A.lFrame.tView}function rf(e){return A.lFrame.contextLView=e,e[W]}function of(e){return A.lFrame.contextLView=null,e}function te(){let e=sc();for(;e!==null&&e.type===64;)e=e.parent;return e}function sc(){return A.lFrame.currentTNode}function sf(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Wn(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function ac(){return A.lFrame.isParent}function cc(){A.lFrame.isParent=!1}function af(){return A.lFrame.contextLView}function uc(){return ba}function Mr(e){let t=ba;return ba=e,t}function vn(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lc(){return A.lFrame.bindingIndex}function cf(e){return A.lFrame.bindingIndex=e}function jt(){return A.lFrame.bindingIndex++}function Lr(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function uf(){return A.lFrame.inI18n}function lf(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ci(t)}function df(){return A.lFrame.currentDirectiveIndex}function Ci(e){A.lFrame.currentDirectiveIndex=e}function ff(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function bi(){return A.lFrame.currentQueryIndex}function jr(e){A.lFrame.currentQueryIndex=e}function fv(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function dc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=fv(i),o===null||(i=i[fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=pf();return r.currentTNode=t,r.lView=e,!0}function Ti(e){let t=pf(),n=e[w];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pf(){let e=A.lFrame,t=e===null?null:e.child;return t===null?hf(e):t}function hf(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 gf(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fc=gf;function _i(){let e=gf();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 mf(e){return(A.lFrame.contextLView=Jd(e,A.lFrame.contextLView))[W]}function Ue(){return A.lFrame.selectedIndex}function Bt(e){A.lFrame.selectedIndex=e}function Br(){let e=A.lFrame;return Di(e.tView,e.selectedIndex)}function yf(){A.lFrame.currentNamespace=Za}function vf(){pv()}function pv(){A.lFrame.currentNamespace=null}function Df(){return A.lFrame.currentNamespace}var Ef=!0;function Mi(){return Ef}function Vr(e){Ef=e}function Ta(e,t=null,n=null,r){let o=pc(e,t,n,r);return o.resolveInjectorInitializers(),o}function pc(e,t=null,n=null,r,o=new Set){let i=[n||ie,$d(e)],s;return new cn(i,t||Vn(),s||null,o)}var se=class e{static THROW_IF_NOT_FOUND=on;static NULL=new _r;static create(t,n){if(Array.isArray(t))return Ta({name:""},n,t,"");{let r=t.name??"";return Ta({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>b(Ba)});static __NG_ELEMENT_ID__=-1},z=new C(""),Ae=(()=>{class e{static __NG_ELEMENT_ID__=hv;static __NG_ENV_ID__=n=>n}return e})(),ii=class extends Ae{_lView;constructor(t){super(),this._lView=t}get destroyed(){return mn(this._lView)}onDestroy(t){let n=this._lView;return Xa(n,t),()=>Xd(n,t)}};function hv(){return new ii(D())}var hc=!1,If=new C(""),Vt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new gr(!1);debugTaskTracker=g(If,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),_a=class extends ue{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,qd()&&(this.destroyRef=g(Ae,{optional:!0})??void 0,this.pendingTasks=g(Vt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof J&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},dt=_a;function si(...e){}function gc(e){let t,n;function r(){e=si;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wf(e){return queueMicrotask(()=>e()),()=>{e=si}}var mc="isAngularZone",Sr=mc+"_ID",gv=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new dt(!1);onMicrotaskEmpty=new dt(!1);onStable=new dt(!1);onError=new dt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=hc}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,vv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(mc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(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,mv,si,si);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)}},mv={};function yc(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 yv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){gc(()=>{e.callbackScheduled=!1,Ma(e),e.isCheckStableRunning=!0,yc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ma(e)}function vv(e){let t=()=>{yv(e)},n=gv++;e._inner=e._inner.fork({name:"angular",properties:{[mc]:!0,[Sr]:n,[Sr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Dv(c))return r.invokeTask(i,s,a,c);try{return xd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Rd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ev(c)&&t(),Rd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ma(e),yc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ma(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rd(e){e._nesting--,yc(e)}var Nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new dt;onMicrotaskEmpty=new dt;onStable=new dt;onError=new dt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Dv(e){return Cf(e,"__ignore_ng_zone__")}function Ev(e){return Cf(e,"__scheduler_tick__")}function Cf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$e=new C("",{factory:()=>{let e=g(Q),t=g(fe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(be),n.handleError(r))})}}}),bf={provide:pt,useValue:()=>{let e=g(be,{optional:!0})},multi:!0},Iv=new C("",{factory:()=>{let e=g(z).defaultView;if(!e)return;let t=g($e),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(Ae).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function wv(){return ht([Ud(()=>{g(Iv)})])}function Si(e,t){let[n,r,o]=fa(e,t?.equal),i=n,s=i[Y];return i.set=r,i.update=o,i.asReadonly=Ni.bind(i),i}function Ni(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}var qn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Cv}return e})();function Cv(){return new qn(D(),te())}var Fe=class{},Zn=new C("",{factory:()=>!0});var Ai=new C(""),Hr=(()=>{class e{internalPendingTasks=g(Vt);scheduler=g(Fe);errorHandler=g($e);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),xi=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new Sa})}return e})(),Sa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},ai=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function Tf(e,t){let n=t?.injector??g(se),r=t?.manualCleanup!==!0?n.get(Ae):null,o,i=n.get(qn,null,{optional:!0}),s=n.get(Fe);return i!==null?(o=_v(i.view,s,e),r instanceof ii&&r._lView===i.view&&(r=null)):o=Mv(e,n.get(xi),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ai(o)}var _f=$(B({},pa),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Mr(!1);try{ha(this)}finally{Mr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),bv=$(B({},_f),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Tv=$(B({},_f),{consumerMarkedDirty(){this.view[_]|=8192,yn(this.view),this.notifier.notify(13)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ot]?.delete(this)}});function _v(e,t,n){let r=Object.create(Tv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Mf(r,n),e[Ot]??=new Set,e[Ot].add(r),r.consumerMarkedDirty(r),r}function Mv(e,t,n){let r=Object.create(bv);return r.fn=Mf(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Mf(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Xr(e){return{toString:e}.toString()}function kv(e){return typeof e=="function"}function up(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Hi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},pu=(()=>{let e=()=>lp;return e.ngInherit=!0,e})();function lp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pv),Fv}function Fv(){let e=fp(this),t=e?.current;if(t){let n=e.previous;if(n===Pe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pv(e,t,n,r,o){let i=this.declaredInputs[r],s=fp(e)||Lv(e,{previous:Pe,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Hi(u&&u.currentValue,n,c===Pe),up(e,t,o,n)}var dp="__ngSimpleChanges__";function fp(e){return e[dp]||null}function Lv(e,t){return e[dp]=t}var Sf=[];var F=function(e,t=null,n){for(let r=0;r<Sf.length;r++){let o=Sf[r];o(e,t,n)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function jv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=lp(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 pp(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Pi(e,t,n){hp(e,t,3,n)}function Li(e,t,n,r){(e[_]&3)===n&&hp(e,t,n,r)}function vc(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function hp(e,t,n,r){let o=r!==void 0?e[pn]&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[pn]+=65536),(a<i||i==-1)&&(Bv(e,n,t,c),e[pn]=(e[pn]&4294901760)+c+2),c++}function Nf(e,t){F(R.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),F(R.LifecycleHookEnd,e,t)}}function Bv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[pn]>>16&&(e[_]&3)===t&&(e[_]+=16384,Nf(a,i)):Nf(a,i)}var Qn=-1,En=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Vv(e){return(e.flags&8)!==0}function Hv(e){return(e.flags&16)!==0}function Uv(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];$v(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function gp(e){return e===3||e===4||e===6}function $v(e){return e.charCodeAt(0)===64}function Kn(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?Af(e,n,o,null,t[++r]):Af(e,n,o,null,null))}}return e}function Af(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function mp(e){return e!==Qn}function Ui(e){return e&32767}function zv(e){return e>>16}function $i(e,t){let n=zv(e),r=t;for(;n>0;)r=r[fn],n--;return r}var Nc=!0;function zi(e){let t=Nc;return Nc=e,t}var Gv=256,yp=Gv-1,vp=5,Wv=0,rt={};function qv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ln)&&(r=n[ln]),r==null&&(r=n[ln]=Wv++);let o=r&yp,i=1<<o;t.data[e+(o>>vp)]|=i}function Gi(e,t){let n=Dp(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Dc(r.data,e),Dc(t,null),Dc(r.blueprint,null));let o=hu(e,t),i=e.injectorIndex;if(mp(o)){let s=Ui(o),a=$i(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Dc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hu(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=Tp(o),r===null)return Qn;if(n++,o=o[fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qn}function Ac(e,t,n){qv(e,t,n)}function Zv(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(gp(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 Ep(e,t,n){if(n&8||e!==void 0)return e;hi(t,"NodeInjector")}function Ip(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[gt],i=de(void 0);try{return o?o.get(t,r,n&8):La(t,r,n&8)}finally{de(i)}}return Ep(r,t,n)}function wp(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=Jv(e,t,n,r,rt);if(s!==rt)return s}let i=Cp(e,t,n,r,rt);if(i!==rt)return i}return Ip(t,n,r,o)}function Cp(e,t,n,r,o){let i=Qv(n);if(typeof i=="function"){if(!dc(t,e,r))return r&1?Ep(o,n,r):Ip(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))hi(n);else return s}finally{fc()}}else if(typeof i=="number"){let s=null,a=Dp(e,t),c=Qn,u=r&1?t[ae][pe]:null;for((a===-1||r&4)&&(c=a===-1?hu(e,t):t[a+8],c===Qn||!Rf(r,!1)?a=-1:(s=t[w],a=Ui(c),t=$i(c,t)));a!==-1;){let l=t[w];if(xf(i,a,l.data)){let d=Yv(a,t,n,s,r,u);if(d!==rt)return d}c=t[a+8],c!==Qn&&Rf(r,t[w].data[a+8]===u)&&xf(i,a,t)?(s=l,a=Ui(c),t=$i(c,t)):a=-1}}return o}function Yv(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?vt(a)&&Nc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ji(a,s,n,c,u);return l!==null?Wr(t,s,l,a,o):rt}function ji(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;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&&Ve(f)&&f.type===n)return c}return null}function Wr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof En){let a=i;if(a.resolving)throw Pa("");let c=zi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?de(a.injectImpl):null,p=dc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&jv(n,s[n],t)}finally{d!==null&&de(d),zi(c),a.resolving=!1,fc()}}return i}function Qv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ln)?e[ln]:void 0;return typeof t=="number"?t>=0?t&yp:Kv:t}function xf(e,t,n){let r=1<<e;return!!(n[t+(e>>vp)]&r)}function Rf(e,t){return!(e&2)&&!(e&1&&t)}var Dn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return wp(this._tNode,this._lView,t,sn(r),n)}};function Kv(){return new Dn(te(),D())}function bp(e){return Xr(()=>{let t=e.prototype.constructor,n=t[Tr]||xc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Tr]||xc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function xc(e){return Na(e)?()=>{let t=xc(X(e));return t&&t()}:Rt(e)}function Jv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!Gn(s);){let a=Cp(i,s,n,r|2,rt);if(a!==rt)return a;let c=i.parent;if(!c){let u=s[Ga];if(u){let l=u.get(n,rt,r&-5);if(l!==rt)return l}c=Tp(s),s=s[fn]}i=c}return o}function Tp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function gu(e){return Zv(te(),e)}function Xv(){return rr(te(),D())}function rr(e,t){return new $t(He(e,t))}var $t=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Xv}return e})();function _p(e){return e instanceof $t?e.nativeElement:e}function eD(){return this._results[Symbol.iterator]()}var Wi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ue}constructor(t=!1){this._emitDistinctChangesOnly=t}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=Bd(t);(this._changesDetected=!jd(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=eD};function Mp(e){return(e.flags&128)===128}var mu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(mu||{}),Sp=new Map,tD=0;function nD(){return tD++}function rD(e){Sp.set(e[mt],e)}function Rc(e){Sp.delete(e[mt])}var Of="__ngContext__";function Jn(e,t){yt(t)?(e[Of]=t[mt],rD(t)):e[Of]=t}function Np(e){return xp(e[$n])}function Ap(e){return xp(e[Me])}function xp(e){for(;e!==null&&!Be(e);)e=e[Me];return e}var Oc;function yu(e){Oc=e}function Rp(){if(Oc!==void 0)return Oc;if(typeof document<"u")return document;throw new m(210,!1)}var ss=new C("",{factory:()=>oD}),oD="ng";var as=new C(""),eo=new C("",{providedIn:"platform",factory:()=>"unknown"}),iD=new C(""),cs=new C("",{factory:()=>g(z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Op="r";var kp="di";var Fp=!1,Pp=new C("",{factory:()=>Fp});var Lp=new C("");var sD=(e,t,n,r)=>{};function aD(e,t,n,r){sD(e,t,n,r)}function us(e){return(e.flags&32)===32}var cD=()=>null;function jp(e,t,n=!1){return cD(e,t,n)}function Bp(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];jr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function kc(e,t,n){jr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function vu(e,t,n){if(qa(t)){let r=E(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{E(r)}}}var We=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(We||{});var Ri;function uD(){if(Ri===void 0&&(Ri=null,Te.trustedTypes))try{Ri=Te.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ri}function ls(e){return uD()?.createHTML(e)||e}var Oi;function Vp(){if(Oi===void 0&&(Oi=null,Te.trustedTypes))try{Oi=Te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Oi}function kf(e){return Vp()?.createHTML(e)||e}function Ff(e){return Vp()?.createScriptURL(e)||e}var Dt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ci})`}},Fc=class extends Dt{getTypeName(){return"HTML"}},Pc=class extends Dt{getTypeName(){return"Style"}},Lc=class extends Dt{getTypeName(){return"Script"}},jc=class extends Dt{getTypeName(){return"URL"}},Bc=class extends Dt{getTypeName(){return"ResourceURL"}};function Ce(e){return e instanceof Dt?e.changingThisBreaksApplicationSecurity:e}function it(e,t){let n=Hp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ci})`)}return n===t}function Hp(e){return e instanceof Dt&&e.getTypeName()||null}function Du(e){return new Fc(e)}function Eu(e){return new Pc(e)}function Iu(e){return new Lc(e)}function wu(e){return new jc(e)}function Cu(e){return new Bc(e)}function lD(e){let t=new Hc(e);return dD()?new Vc(t):t}var Vc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ls(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Hc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ls(t),n}};function dD(){try{return!!new window.DOMParser().parseFromString(ls(""),"text/html")}catch(e){return!1}}var fD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function to(e){return e=String(e),e.match(fD)?e:"unsafe:"+e}function Et(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function no(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Up=Et("area,br,col,hr,img,wbr"),$p=Et("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zp=Et("rp,rt"),pD=no(zp,$p),hD=no($p,Et("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),gD=no(zp,Et("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Pf=no(Up,hD,gD,pD),Gp=Et("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mD=Et("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),yD=Et("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),vD=no(Gp,mD,yD),DD=Et("script,style,template");var Uc=class{sanitizedSomething=!1;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=wD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ID(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Lf(t).toLowerCase();if(!Pf.hasOwnProperty(n))return this.sanitizedSomething=!0,!DD.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(!vD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Gp[a]&&(c=to(c)),this.buf.push(" ",s,'="',jf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Lf(t).toLowerCase();Pf.hasOwnProperty(n)&&!Up.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(jf(t))}};function ED(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ID(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Wp(t);return t}function wD(e){let t=e.firstChild;if(t&&ED(e,t))throw Wp(t);return t}function Lf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Wp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var CD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bD=/([^\#-~ |!])/g;function jf(e){return e.replace(/&/g,"&").replace(CD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(bD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ki;function ds(e,t){let n=null;try{ki=ki||lD(e);let r=t?String(t):"";n=ki.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=ki.getInertBodyElement(r)}while(r!==i);let a=new Uc().sanitizeChildren(Bf(n)||n);return ls(a)}finally{if(n){let r=Bf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Bf(e){return"content"in e&&TD(e)?e.content:null}function TD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var _D=/^>|^->|<!--|-->|--!>|<!-$/g,MD=/(<|>)/g,SD="\u200B$1\u200B";function ND(e){return e.replace(_D,t=>t.replace(MD,SD))}function AD(e,t){return e.createText(t)}function xD(e,t,n){e.setValue(t,n)}function RD(e,t){return e.createComment(ND(t))}function qp(e,t,n){return e.createElement(t,n)}function qi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Zp(e,t,n){e.appendChild(t,n)}function Vf(e,t,n,r,o){r!==null?qi(e,t,n,r,o):Zp(e,t,n)}function Yp(e,t,n,r){e.removeChild(null,t,n,r)}function OD(e,t,n){e.setAttribute(t,"style",n)}function kD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Uv(e,t,r),o!==null&&kD(e,t,o),i!==null&&OD(e,t,i)}var xe=(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})(xe||{});function FD(e){let t=bu();return t?kf(t.sanitize(xe.HTML,e)||""):it(e,"HTML")?kf(Ce(e)):ds(Rp(),_e(e))}function Kp(e){let t=bu();return t?t.sanitize(xe.URL,e)||"":it(e,"URL")?Ce(e):to(_e(e))}function Jp(e){let t=bu();if(t)return Ff(t.sanitize(xe.RESOURCE_URL,e)||"");if(it(e,"ResourceURL"))return Ff(Ce(e));throw new m(904,!1)}var PD=new Set(["embed","frame","iframe","media","script"]),LD=new Set(["base","link","script"]);function jD(e,t){return t==="src"&&PD.has(e)||t==="href"&&LD.has(e)||t==="xlink:href"&&e==="script"?Jp:Kp}function BD(e,t,n){return jD(t,n)(e)}function bu(){let e=D();return e&&e[je].sanitizer}function VD(e){return e.ownerDocument}function Xp(e){return e instanceof Function?e():e}function HD(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}}var eh="ng-template";function UD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&HD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Tu(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 Tu(e){return e.type===4&&e.value!==eh}function $D(e,t,n){let r=e.type===4&&!n?eh:e.value;return t===r}function zD(e,t,n){let r=4,o=e.attrs,i=o!==null?qD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ze(r)&&!ze(c))return!1;if(s&&ze(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!$D(e,c,n)||c===""&&t.length===1){if(ze(r))return!1;s=!0}}else if(r&8){if(o===null||!UD(e,o,c,n)){if(ze(r))return!1;s=!0}}else{let u=t[++a],l=GD(c,o,Tu(e),n);if(l===-1){if(ze(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ze(r))return!1;s=!0}}}}return ze(r)||s}function ze(e){return(e&1)===0}function GD(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 ZD(t,e)}function th(e,t,n=!1){for(let r=0;r<t.length;r++)if(zD(e,t[r],n))return!0;return!1}function WD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function qD(e){for(let t=0;t<e.length;t++){let n=e[t];if(gp(n))return t}return e.length}function ZD(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 YD(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 Hf(e,t){return e?":not("+t.trim()+")":t}function QD(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!==""&&!ze(s)&&(t+=Hf(i,o),o=""),r=s,i=i||!ze(r);n++}return o!==""&&(t+=Hf(i,o)),t}function KD(e){return e.map(QD).join(",")}function JD(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(!ze(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function _u(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=XD(d,p),h=typeof u=="function"?u():u;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:l}}function XD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function eE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=_u(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mu(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Le]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),Ka(d),d[ee]=d[fn]=e,d[W]=n,d[je]=s||e&&e[je],d[L]=a||e&&e[L],d[gt]=c||e&&e[gt]||null,d[pe]=i,d[mt]=nD(),d[dn]=l,d[Ga]=u,d[ae]=t.type==2?e[ae]:d,d}function tE(e,t,n){let r=He(t,e),o=eE(n),i=e[je].rendererFactory,s=Su(e,Mu(e,o,null,nh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function nh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rh(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 Su(e,t){return e[$n]?e[za][Me]=t:e[$n]=t,e[za]=t,t}function nE(e=1){oh(H(),D(),Ue()+e,!1)}function oh(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Pi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Li(t,i,0,n)}Bt(n)}var fs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(fs||{});function $c(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&fs.SignalBased)!==0&&(c=t[i][Y]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):up(t,c,i,r)}finally{E(o)}}var ot=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ot||{}),rE;function Nu(e,t){return rE(e,t)}var RO=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var zc=new WeakMap,$r=new WeakSet;function oE(e,t){let n=zc.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),$r.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function iE(e,t){let n=zc.get(e);n?n.includes(t)||n.push(t):zc.set(e,[t])}var In=new Set,ps=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ps||{}),qe=new C(""),Uf=new Set;function It(e){Uf.has(e)||(Uf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var hs=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Au=[0,1,2,3],xu=(()=>{class e{ngZone=g(Q);scheduler=g(Fe);errorHandler=g(be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(qe,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(R.AfterRenderHooksStart),this.executing=!0;for(let r of Au)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&F(R.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[hn]??=[]).push(n),yn(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ps.AFTER_NEXT_RENDER,n):n()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),qr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[hn];t&&(this.view[hn]=t.filter(n=>n!==this))}};function sE(e,t){let n=t?.injector??g(se);return It("NgAfterNextRender"),cE(e,n,t,!0)}function aE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function cE(e,t,n,r){let o=t.get(hs);o.impl??=t.get(xu);let i=t.get(qe,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ae):null,a=t.get(qn,null,{optional:!0}),c=new qr(o.impl,aE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ih=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(fe)})});function sh(e,t,n){let r=e.get(ih);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function uE(e,t){let n=e.get(ih);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function lE(e,t){for(let[n,r]of t)sh(e,r.animateFns)}function $f(e,t,n,r){let o=e?.[Pt]?.enter;t!==null&&o&&o.has(n.index)&&lE(r,o)}function Yn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Be(o)?c=o:yt(o)&&(u=!0,o=o[Le]);let l=Se(o);e===0&&r!==null?($f(a,r,i,n),s==null?Zp(t,r,l):qi(t,r,l,s||null,!0)):e===1&&r!==null?($f(a,r,i,n),qi(t,r,l,s||null,!0),oE(i,l)):e===2?(a?.[Pt]?.leave?.has(i.index)&&iE(i,l),$r.delete(l),zf(a,i,n,d=>{if($r.has(l)){$r.delete(l);return}Yp(t,l,u,d)})):e===3&&($r.delete(l),zf(a,i,n,()=>{t.destroyNode(l)})),c!=null&&IE(t,e,n,c,i,r,s)}}function dE(e,t){ah(e,t),t[Le]=null,t[pe]=null}function fE(e,t,n,r,o,i){r[Le]=o,r[pe]=t,ms(e,r,n,1,o,i)}function ah(e,t){t[je].changeDetectionScheduler?.notify(9),ms(e,t,t[L],2,null,null)}function pE(e){let t=e[$n];if(!t)return Ec(e[w],e);for(;t;){let n=null;if(yt(t))n=t[$n];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)yt(t)&&Ec(t[w],t),t=t[ee];t===null&&(t=e),yt(t)&&Ec(t[w],t),n=t&&t[Me]}t=n}}function Ru(e,t){let n=e[gn],r=n.indexOf(t);n.splice(r,1)}function gs(e,t){if(mn(t))return;let n=t[L];n.destroyNode&&ms(e,t,n,3,null,null),pE(t)}function Ec(e,t){if(mn(t))return;let n=E(null);try{t[_]&=-129,t[_]|=256,t[Ie]&&xt(t[Ie]),mE(e,t),gE(e,t),t[w].type===1&&t[L].destroy();let r=t[Ft];if(r!==null&&Be(t[ee])){r!==t[ee]&&Ru(r,t);let o=t[nt];o!==null&&o.detachView(e)}Rc(t)}finally{E(n)}}function zf(e,t,n,r){let o=e?.[Pt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&In.add(e[mt]),sh(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),hE(e,r)}else e&&In.delete(e[mt]),r(!1)},o)}function hE(e,t){let n=e[Pt]?.running;if(n){n.then(()=>{e[Pt].running=void 0,In.delete(e[mt]),t(!0)});return}t(!1)}function gE(e,t){let n=e.cleanup,r=t[Un];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Un]=null);let o=t[ft];if(o!==null){t[ft]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ot];if(i!==null){t[Ot]=null;for(let s of i)s.destroy()}}function mE(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 En)){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];F(R.LifecycleHookStart,a,c);try{c.call(a)}finally{F(R.LifecycleHookEnd,a,c)}}else{F(R.LifecycleHookStart,o,i);try{i.call(o)}finally{F(R.LifecycleHookEnd,o,i)}}}}}function ch(e,t,n){return yE(e,t.parent,n)}function yE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];if(vt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===We.None||o===We.Emulated)return null}return He(r,n)}function uh(e,t,n){return DE(e,t,n)}function vE(e,t,n){return e.type&40?He(e,n):null}var DE=vE,Gf;function Ou(e,t,n,r){let o=ch(e,r,t),i=t[L],s=r.parent||t[pe],a=uh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Vf(i,o,n[c],a,!1);else Vf(i,o,n,a,!1);Gf!==void 0&&Gf(i,r,t,n,o)}function zr(e,t){if(t!==null){let n=t.type;if(n&3)return He(t,e);if(n&4)return Gc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return zr(e,r);{let o=e[t.index];return Be(o)?Gc(-1,o):Se(o)}}else{if(n&128)return zr(e,t.next);if(n&32)return Nu(t,e)()||Se(e[t.index]);{let r=lh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=kt(e[ae]);return zr(o,r)}else return zr(e,t.next)}}}return null}function lh(e,t){if(t!==null){let r=e[ae][pe],o=t.projection;return r.projection[o]}return null}function Gc(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return zr(r,o)}return t[Lt]}function ku(e,t,n,r,o,i,s){for(;n!=null;){let a=r[gt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Jn(Se(c),r),n.flags|=2),!us(n))if(u&8)ku(e,t,n.child,r,o,i,!1),Yn(t,e,a,o,c,n,i,r);else if(u&32){let l=Nu(n,r),d;for(;d=l();)Yn(t,e,a,o,d,n,i,r);Yn(t,e,a,o,c,n,i,r)}else u&16?dh(e,t,r,n,o,i):Yn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ms(e,t,n,r,o,i){ku(n,r,e.firstChild,t,o,i,!1)}function EE(e,t,n){let r=t[L],o=ch(e,n,t),i=n.parent||t[pe],s=uh(i,n,t);dh(r,0,t,n,o,s)}function dh(e,t,n,r,o,i){let s=n[ae],c=s[pe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Yn(t,e,n[gt],o,l,r,i,n)}else{let u=c,l=s[ee];Mp(r)&&(u.flags|=128),ku(e,t,u,l,o,i,!0)}}function IE(e,t,n,r,o,i,s){let a=r[Lt],c=Se(r);a!==c&&Yn(t,e,n,i,a,o,s);for(let u=q;u<r.length;u++){let l=r[u];ms(l[w],l,e,t,i,a)}}function wE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ot.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ot.Important),e.setStyle(n,r,o,i))}}function fh(e,t,n,r,o){let i=Ue(),s=r&2;try{Bt(-1),s&&t.length>V&&oh(e,t,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;F(a,o,n),n(r,o)}finally{Bt(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;F(a,o,n)}}function ys(e,t,n){SE(e,t,n),(n.flags&64)===64&&NE(e,t,n)}function ro(e,t,n=He){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 CE(e,t,n,r){let i=r.get(Pp,Fp)||n===We.ShadowDom||n===We.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return bE(s),s}function bE(e){TE(e)}var TE=()=>null;function _E(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ph(e,t,n,r,o,i){let s=t[w];if(ju(e,s,t,n,r)){vt(e)&&ME(t,e.index);return}e.type&3&&(n=_E(n)),hh(e,t,n,r,o,i)}function hh(e,t,n,r,o,i){if(e.type&3){let s=He(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function ME(e,t){let n=Ne(t,e);n[_]&16||(n[_]|=64)}function SE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;vt(n)&&tE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Gi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wr(t,e,s,n);if(Jn(c,t),i!==null&&OE(t,s-r,c,a,n,i),Ve(a)){let u=Ne(n.index,t);u[W]=Wr(t,e,s,n)}}}function NE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=df();try{Bt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ci(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&AE(c,u)}}finally{Bt(-1),Ci(s)}}function AE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Fu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];th(t,i.selectors,!1)&&(r??=[],Ve(i)?r.unshift(i):r.push(i))}return r}function xE(e,t,n,r,o,i){let s=He(e,t);RE(t[L],s,i,e.value,n,r,o)}function RE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?_e(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function OE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];$c(r,n,c,u)}}function Pu(e,t,n,r,o){let i=V+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Wn(e,!0);let c=e.type===2;return c?(Qp(t[L],a,e),(tf()===0||zn(e))&&Jn(a,t),nf()):Jn(a,t),Mi()&&(!c||!us(e))&&Ou(s,t,a,e),e}function Lu(e){let t=e;return ac()?cc():(t=t.parent,Wn(t,!1)),t}function kE(e,t){let n=e[gt];if(!n)return;let r;try{r=n.get($e,null)}catch(o){r=null}r?.(t)}function ju(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];$c(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];$c(l,u,r,o),a=!0}return a}function FE(e,t){let n=Ne(t,e),r=n[w];PE(r,n);let o=n[Le];o!==null&&n[dn]===null&&(n[dn]=jp(o,n[gt])),F(R.ComponentStart);try{Bu(r,n,n[W])}finally{F(R.ComponentEnd,n[W])}}function PE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Bu(e,t,n){Ti(t);try{let r=e.viewQuery;r!==null&&kc(1,r,n);let o=e.template;o!==null&&fh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[nt]?.finishViewCreation(e),e.staticContentQueries&&Bp(e,t),e.staticViewQueries&&kc(2,e.viewQuery,n);let i=e.components;i!==null&&LE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,_i()}}function LE(e,t){for(let n=0;n<t.length;n++)FE(e,t[n])}function oo(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=Mu(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Ft]=u;let l=e[nt];return l!==null&&(c[nt]=l.createEmbeddedView(i)),Bu(i,c,n),c}finally{E(o)}}function Xn(e,t){return!t||t.firstChild===null||Mp(e)}function Zr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Se(i)),Be(i)&&gh(i,r);let s=n.type;if(s&8)Zr(e,t,n.child,r);else if(s&32){let a=Nu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=lh(t,n);if(Array.isArray(a))r.push(...a);else{let c=kt(t[ae]);Zr(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function gh(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Zr(r[w],r,o,t)}e[Lt]!==e[Le]&&t.push(e[Lt])}function mh(e){if(e[hn]!==null){for(let t of e[hn])t.impl.addSequence(t);e[hn].length=0}}var yh=[];function jE(e){return e[Ie]??BE(e)}function BE(e){let t=yh.pop()??Object.create(HE);return t.lView=e,t}function VE(e){e.lView[Ie]!==e&&(e.lView=null,yh.push(e))}var HE=$(B({},St),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yn(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function UE(e){let t=e[Ie]??Object.create($E);return t.lView=e,t}var $E=$(B({},St),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=kt(e.lView);for(;t&&!vh(t[w]);)t=kt(t);t&&Ja(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function vh(e){return e.type!==2}function Dh(e){if(e[Ot]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ot])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var zE=100;function Eh(e,t=0){let r=e[je].rendererFactory,o=!1;o||r.begin?.();try{GE(e,t)}finally{o||r.end?.()}}function GE(e,t){let n=uc();try{Mr(!0),Wc(e,t);let r=0;for(;Pr(e);){if(r===zE)throw new m(103,!1);r++,Wc(e,1)}}finally{Mr(n)}}function WE(e,t,n,r){if(mn(t))return;let o=t[_],i=!1,s=!1;Ti(t);let a=!0,c=null,u=null;i||(vh(e)?(u=jE(t),c=lt(u)):Xo()===null?(a=!1,u=UE(t),c=lt(u)):t[Ie]&&(xt(t[Ie]),t[Ie]=null));try{Ka(t),cf(e.bindingStartIndex),n!==null&&fh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Pi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Li(t,f,0,null),vc(t,0)}if(s||qE(t),Dh(t),Ih(t,0),e.contentQueries!==null&&Bp(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Pi(t,f)}else{let f=e.contentHooks;f!==null&&Li(t,f,1),vc(t,1)}YE(e,t);let d=e.components;d!==null&&Ch(t,d,0);let p=e.viewQuery;if(p!==null&&kc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Pi(t,f)}else{let f=e.viewHooks;f!==null&&Li(t,f,2),vc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[vi]){for(let f of t[vi])f();t[vi]=null}i||(mh(t),t[_]&=-73)}catch(l){throw i||yn(t),l}finally{u!==null&&(At(u,c),a&&VE(u)),_i()}}function Ih(e,t){for(let n=Np(e);n!==null;n=Ap(n))for(let r=q;r<n.length;r++){let o=n[r];wh(o,t)}}function qE(e){for(let t=Np(e);t!==null;t=Ap(t)){if(!(t[_]&2))continue;let n=t[gn];for(let r=0;r<n.length;r++){let o=n[r];Ja(o)}}}function ZE(e,t,n){F(R.ComponentStart);let r=Ne(t,e);try{wh(r,n)}finally{F(R.ComponentEnd,r[W])}}function wh(e,t){Ei(e)&&Wc(e,t)}function Wc(e,t){let r=e[w],o=e[_],i=e[Ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fn(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)WE(r,e,r.template,e[W]);else if(o&8192){let a=E(null);try{Dh(e),Ih(e,1);let c=r.components;c!==null&&Ch(e,c,1),mh(e)}finally{E(a)}}}function Ch(e,t,n){for(let r=0;r<t.length;r++)ZE(e,t[r],n)}function YE(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)Bt(~o);else{let i=o,s=n[++r],a=n[++r];lf(s,i);let c=t[i];F(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{F(R.HostBindingsUpdateEnd,c)}}}}finally{Bt(-1)}}function Vu(e,t){let n=uc()?64:1088;for(e[je].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=kt(e);if(Gn(e)&&!r)return e;e=r}return null}function bh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Th(e,t){let n=q+t;if(n<e.length)return e[n]}function io(e,t,n,r=!0){let o=t[w];if(QE(o,t,e,n),r){let s=Gc(n,e),a=t[L],c=a.parentNode(e[Lt]);c!==null&&fE(o,e[pe],a,t,c,s)}let i=t[dn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function _h(e,t){let n=Yr(e,t);return n!==void 0&&gs(n[w],n),n}function Yr(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[Ft];o!==null&&o!==e&&Ru(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Rr(e,q+t);dE(r[w],r);let s=i[nt];s!==null&&s.detachView(i[w]),r[ee]=null,r[Me]=null,r[_]&=-129}return r}function QE(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-q?(t[Me]=n[o],ja(n,q+r,t)):(n.push(t),t[Me]=null),t[ee]=n;let s=t[Ft];s!==null&&n!==s&&Mh(s,t);let a=t[nt];a!==null&&a.insertView(e),Ii(t),t[_]|=128}function Mh(e,t){let n=e[gn],r=t[ee];if(yt(r))e[_]|=2;else{let o=r[ee][ae];t[ae]!==o&&(e[_]|=2)}n===null?e[gn]=[t]:n.push(t)}var Ht=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Zr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[W]}set context(t){this._lView[W]=t}get destroyed(){return mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(Be(t)){let n=t[kr],r=n?n.indexOf(this):-1;r>-1&&(Yr(t,r),Rr(n,r))}this._attachedToViewContainer=!1}gs(this._lView[w],this._lView)}onDestroy(t){Xa(this._lView,t)}markForCheck(){Vu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Ii(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,Eh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Gn(this._lView),n=this._lView[Ft];n!==null&&!t&&Ru(n,this._lView),ah(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Gn(this._lView),r=this._lView[Ft];r!==null&&!n&&Mh(r,this._lView),Ii(this._lView)}};var er=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=KE;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=oo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ht(i)}}return e})();function KE(){return vs(te(),D())}function vs(e,t){return e.type&4?new er(t,e,rr(e,t)):null}function or(e,t,n,r,o){let i=e.data[t];if(i===null)i=JE(e,t,n,r,o),uf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=sf();i.injectorIndex=s===null?-1:s.injectorIndex}return Wn(i,!0),i}function JE(e,t,n,r,o){let i=sc(),s=ac(),a=s?i:i&&i.parent,c=e.data[t]=eI(e,a,n,t,r,o);return XE(e,c,i,s),c}function XE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function eI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return rc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function tI(e){let t=e[Wa]??[],r=e[ee][L],o=[];for(let i of t)i.data[kp]!==void 0?o.push(i):nI(i,r);e[Wa]=o}function nI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Op];for(;n<o;){let i=r.nextSibling;Yp(t,r,!1),r=i,n++}}}var rI=()=>null,oI=()=>null;function Zi(e,t){return rI(e,t)}function Sh(e,t,n){return oI(e,t,n)}var Nh=class{},Ds=class{},qc=class{resolveComponentFactory(t){throw new m(917,!1)}},so=class{static NULL=new qc},wn=class{},Es=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>iI()}return e})();function iI(){let e=D(),t=te(),n=Ne(t.index,e);return(yt(n)?n:e)[L]}var Ah=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var Bi={},Zc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Bi,r);return o!==Bi||n===Bi?o:this.parentInjector.get(t,n,r)}};function Yi(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=ui(o,a);else if(i==2){let c=a,u=t[++s];r=ui(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ge(e,t=0){let n=D();if(n===null)return b(e,t);let r=te();return wp(r,n,X(e),t)}function sI(){let e="invalid";throw new Error(e)}function xh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}uI(e,t,n,a,i,c,u)}i!==null&&r!==null&&aI(n,r,i)}function aI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function cI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function uI(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Ve(f)&&(c=f,cI(e,n,p)),Ac(Gi(n,t),e,f.type)}gI(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=rh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Kn(n.mergedAttrs,f.hostAttrs),dI(e,n,t,d,f),hI(d,f,o),s!==null&&s.has(f)){let[I,y]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}lI(e,n,i)}function lI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Wf(0,t,o,r),Wf(1,t,o,r),Zf(t,r,!1);else{let i=n.get(o);qf(0,t,i,r),qf(1,t,i,r),Zf(t,r,!0)}}}function Wf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Rh(t,i)}}function qf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Rh(t,s)}}function Rh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Tu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function dI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Rt(o.type,!0)),s=new En(i,Ve(o),ge,null);e.blueprint[r]=s,n[r]=s,fI(e,t,r,rh(e,n,o.hostVars,ne),o)}function fI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;pI(s)!=a&&s.push(a),s.push(n,r,i)}}function pI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function hI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ve(t)&&(n[""]=e)}}function gI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Hu(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=we(u,s),d=or(c,e,n,r,l);return i&&xh(c,t,d,we(u,a),o),d.mergedAttrs=Kn(d.mergedAttrs,d.attrs),d.attrs!==null&&Yi(d,d.attrs,!1),d.mergedAttrs!==null&&Yi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Uu(e,t){pp(e,t),qa(t)&&e.queries.elementEnd(t)}function mI(e,t,n,r,o,i){let s=t.consts,a=we(s,o),c=or(t,e,n,r,a);if(c.mergedAttrs=Kn(c.mergedAttrs,c.attrs),i!=null){let u=we(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Yi(c,c.attrs,!1),c.mergedAttrs!==null&&Yi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Is(e,t,n){return e[t]=n}function yI(e,t){return e[t]}function he(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Qr(e,t,n,r){let o=he(e,t,n);return he(e,t+1,r)||o}function vI(e,t,n,r,o){let i=Qr(e,t,n,r);return he(e,t+2,o)||i}function DI(e,t,n,r,o,i){let s=Qr(e,t,n,r);return Qr(e,t+2,o,i)||s}function Vi(e,t,n){return function r(o){let i=vt(e)?Ne(e.index,t):t;Vu(i,5);let s=t[W],a=Yf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Yf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Yf(e,t,n,r){let o=E(null);try{return F(R.OutputStart,t,n),n(r)!==!1}catch(i){return kE(e,i),!1}finally{F(R.OutputEnd,t,n),E(o)}}function Oh(e,t,n,r,o,i,s,a){let c=zn(e),u=!1,l=null;if(!r&&c&&(l=II(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=He(e,n),p=r?r(d):d;aD(n,p,i,a);let f=o.listen(p,i,a);if(!EI(i)){let h=r?I=>r(Se(I[e.index])):e.index;kh(h,t,n,i,a,f,!1)}}return u}function EI(e){return e.startsWith("animation")||e.startsWith("transition")}function II(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[Un],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function kh(e,t,n,r,o,i,s){let a=t.firstCreatePass?tc(t):null,c=ec(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Qf(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);kh(e.index,a,t,o,i,d,!0)}var Yc=Symbol("BINDING");function Fh(e){return e.debugInfo?.className||e.type.name||null}var Qi=class extends so{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=tt(t);return new Ut(n,this.ngModule)}};function wI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&fs.SignalBased)!==0};return o&&(i.transform=o),i})}function CI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function bI(e,t,n){let r=t instanceof fe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Zc(n,r):n}function TI(e){let t=e.get(wn,null);if(t===null)throw new m(407,!1);let n=e.get(Ah,null),r=e.get(Fe,null),o=e.get(qe,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function _I(e,t){let n=Ph(e);return qp(t,n,n==="svg"?Za:n==="math"?Yd:null)}function Ph(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ut=class extends Ds{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=KD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(R.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=bI(c,o||this.ngModule,t),l=TI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Fh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=MI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?CE(u,o,a.encapsulation,n):_I(a,u),d=s?.some(Kf)||i?.some(h=>typeof h!="function"&&h.bindings.some(Kf)),p=Mu(null,c,null,512|nh(a),null,null,t,u,n,null,jp(l,n,!0));p[V]=l,Ti(p);let f=null;try{let h=Hu(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Qp(u,l,h),Jn(l,p),ys(c,p,h),vu(c,h,p),Uu(c,h),r!==void 0&&NI(h,this.ngContentSelectors,r),f=Ne(h.index,p),p[W]=f[W],Bu(c,p,null)}catch(h){throw f!==null&&Rc(f),Rc(p),h}finally{F(R.DynamicComponentEnd),_i()}return new Ki(this.componentType,p,!!d)}};function MI(e,t,n,r){let o=e?["ng-version","21.2.6"]:JD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Yc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Yc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=fi(d);c.push(p)}return _u(0,null,SI(i,s),1,a,c,null,null,null,[o],null)}function SI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Kf(e){let t=e[Yc].kind;return t==="input"||t==="twoWay"}var Ki=class extends Nh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Di(n[w],V),this.location=rr(this._tNode,n),this.instance=Ne(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Ht(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=ju(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ne(r.index,o);Vu(s,1)}get injector(){return new Dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function NI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ir=(()=>{class e{static __NG_ELEMENT_ID__=AI}return e})();function AI(){let e=te();return Lh(e,D())}var Qc=class e extends ir{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rr(this._hostTNode,this._hostLView)}get injector(){return new Dn(this._hostTNode,this._hostLView)}get parentInjector(){let t=hu(this._hostTNode,this._hostLView);if(mp(t)){let n=$i(t,this._hostLView),r=Ui(t),o=n[w].data[r+8];return new Dn(o,n)}else return new Dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Jf(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=Zi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Xn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!kv(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Ut(tt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(fe,null);v&&(i=v)}let p=tt(l.componentType??{}),f=Zi(this._lContainer,p?.id??null),h=f?.firstChild??null,I=l.create(d,o,h,i,s,a);return this.insertImpl(I.hostView,u,Xn(this._hostTNode,f)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Kd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ee],u=new e(c,c[pe],c[ee]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return io(s,o,i,r),t.attachToViewContainerRef(),ja(Ic(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Jf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Yr(this._lContainer,n);r&&(Rr(Ic(this._lContainer),n),gs(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Yr(this._lContainer,n);return r&&Rr(Ic(this._lContainer),n)!=null?new Ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Jf(e){return e[kr]}function Ic(e){return e[kr]||(e[kr]=[])}function Lh(e,t){let n,r=t[e.index];return Be(r)?n=r:(n=bh(r,t,null,e),t[e.index]=n,Su(t,n)),RI(n,t,e,r),new Qc(n,e,t)}function xI(e,t){let n=e[L],r=n.createComment(""),o=He(t,e),i=n.parentNode(o);return qi(n,i,r,n.nextSibling(o),!1),r}var RI=FI,OI=()=>!1;function kI(e,t,n){return OI(e,t,n)}function FI(e,t,n,r){if(e[Lt])return;let o;n.type&8?o=Se(r):o=xI(t,n),e[Lt]=o}var Kc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Jc=class e{queries;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++)zu(t,n).matches!==null&&this.queries[n].setDirty()}},Ji=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=VI(t):this.predicate=t}},Xc=class e{queries;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)}},eu=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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,PI(n,i)),this.matchTNodeWithReadOption(t,n,ji(n,t,i,!1,!1))}else r===er?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ji(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===$t||o===ir||o===er&&n.type&4)this.addMatch(n.index,-2);else{let i=ji(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 PI(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 LI(e,t){return e.type&11?rr(e,t):e.type&4?vs(e,t):null}function jI(e,t,n,r){return n===-1?LI(t,e):n===-2?BI(e,t,r):Wr(e,e[w],n,t)}function BI(e,t,n){if(n===$t)return rr(t,e);if(n===er)return vs(t,e);if(n===ir)return Lh(t,e)}function jh(e,t,n,r){let o=t[nt].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(jI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function tu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=jh(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 u=i[a+1],l=t[-c];for(let d=q;d<l.length;d++){let p=l[d];p[Ft]===p[ee]&&tu(p[w],p,u,r)}if(l[gn]!==null){let d=l[gn];for(let p=0;p<d.length;p++){let f=d[p];tu(f[w],f,u,r)}}}}}return r}function $u(e,t){return e[nt].queries[t].queryList}function Bh(e,t,n){let r=new Wi((n&4)===4);return ef(e,t,r,r.destroy),(t[nt]??=new Jc).queries.push(new Kc(r))-1}function Vh(e,t,n){let r=H();return r.firstCreatePass&&(Uh(r,new Ji(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Bh(r,D(),t)}function Hh(e,t,n,r){let o=H();if(o.firstCreatePass){let i=te();Uh(o,new Ji(t,n,r),i.index),HI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Bh(o,D(),n)}function VI(e){return e.split(",").map(t=>t.trim())}function Uh(e,t,n){e.queries===null&&(e.queries=new Xc),e.queries.track(new eu(t,n))}function HI(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 zu(e,t){return e.queries.getByIndex(t)}function $h(e,t){let n=e[w],r=zu(n,t);return r.crossesNgTemplate?tu(n,e,t,[]):jh(n,e,r,t)}function zh(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=UI(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[Y],r._dirtyCounter=Si(0),r._flatValue=void 0,o}function Gu(e){return zh(!0,!1,e)}function Wu(e){return zh(!0,!0,e)}function Gh(e,t){let n=e[Y];n._lView=D(),n._queryIndex=t,n._queryList=$u(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function UI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:ie;let o=$u(n,r),i=$h(n,r);return o.reset(i,_p),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Cn=class{},Wh=class{};var Xi=class extends Cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Qi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Fa(t);this._bootstrapComponents=Xp(i.bootstrap),this._r3Injector=pc(t,n,[{provide:Cn,useValue:this},{provide:so,useValue:this.componentFactoryResolver},...r],Ar(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},es=class extends Wh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Xi(this.moduleType,t,[])}};var Kr=class extends Cn{injector;componentFactoryResolver=new Qi(this);instance=null;constructor(t){super();let n=new cn([...t.providers,{provide:Cn,useValue:this},{provide:so,useValue:this.componentFactoryResolver}],t.parent||Vn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qh(e,t,n=null){return new Kr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var $I=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ha(!1,n.type),o=r.length>0?qh([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(b(fe))})}return e})();function zI(e){return Xr(()=>{let t=Zh(e),n=$(B({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get($I).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||We.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&It("NgStandalone"),Yh(n);let r=e.dependencies;return n.directiveDefs=Xf(r,GI),n.pipeDefs=Xf(r,kd),n.id=ZI(n),n})}function GI(e){return tt(e)||fi(e)}function sr(e){return Xr(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function WI(e,t){if(e==null)return Pe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=fs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function qI(e){if(e==null)return Pe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ws(e){return Xr(()=>{let t=Zh(e);return Yh(t),t})}function ar(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 Zh(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Pe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:WI(e.inputs,t),outputs:qI(e.outputs),debugInfo:null}}function Yh(e){e.features?.forEach(t=>t(e))}function Xf(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function ZI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function YI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=QI,n.hostDirectives=r?e.map(nu):[e]):r?n.hostDirectives.unshift(...e.map(nu)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function QI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Qh(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ve(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Qh(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)ep(nu(i),t,n)}else ep(r,t,n)}function ep(e,t,n){let r=fi(e.directive);KI(r.declaredInputs,e.inputs),Qh(r,t,n),n.set(r,e),t.push(r)}function nu(e){return typeof e=="function"?{directive:X(e),inputs:Pe,outputs:Pe}:{directive:X(e.directive),inputs:tp(e.inputs),outputs:tp(e.outputs)}}function tp(e){if(e===void 0||e.length===0)return Pe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function KI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function JI(e){return Object.getPrototypeOf(e.prototype).constructor}function Kh(e){let t=JI(e.type),n=!0,r=[e];for(;t;){let o;if(Ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=wc(e.inputs),s.declaredInputs=wc(e.declaredInputs),s.outputs=wc(e.outputs);let a=o.hostBindings;a&&rw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&tw(e,c),u&&nw(e,u),XI(e,o),Od(e.outputs,o.outputs),Ve(o)&&o.data.animation){let l=e.data;l.animation=(l.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===Kh&&(n=!1)}}t=Object.getPrototypeOf(t)}ew(r)}function XI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function ew(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=Kn(o.hostAttrs,n=Kn(n,o.hostAttrs))}}function wc(e){return e===Pe?{}:e===ie?[]:e}function tw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function nw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Jh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Kn(e.mergedAttrs,e.attrs);let l=e.tView=_u(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Wn(e,!1);let c=iw(n,t,e,r);Mi()&&Ou(n,t,c,e),Jn(c,t);let u=bh(c,t,c,e);t[r+V]=u,Su(t,u),kI(u,e,t)}function ow(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=or(t,d,4,s||null,a||null),wi()&&xh(t,e,p,we(t.consts,u),Fu),pp(t,p)):p=t.data[d],Jh(p,e,t,n,r,o,i,c),zn(p)&&ys(t,e,p),u!=null&&ro(e,p,l),p}function tr(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=or(t,d,4,s||null,a||null),u!=null){let f=we(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Jh(p,e,t,n,r,o,i,c),u!=null&&ro(e,p,l),p}function Xh(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=we(u.consts,i);return ow(c,u,e,t,n,r,o,l,void 0,s,a),Xh}function eg(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,void 0,s,a),eg}var iw=sw;function sw(e,t,n,r){return Vr(!0),t[L].createComment("")}var tg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function qu(e){return typeof e=="function"&&e[Y]!==void 0}function Zu(e){return qu(e)&&typeof e.set=="function"}var Yu=new C("");function ao(e){return!!e&&typeof e.then=="function"}function Cs(e){return!!e&&typeof e.subscribe=="function"}var Qu=new C("");function aw(e){return ht([{provide:Qu,multi:!0,useValue:e}])}var Ku=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Qu,{optional:!0})??[];injector=g(se);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Hn(this.injector,o);if(ao(i))n.push(i);else if(Cs(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ng=new C("");function rg(){da(()=>{let e="";throw new m(600,e)})}function og(e){return e.isBoundToModule}var cw=10;var cr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g($e);afterRenderManager=g(hs);zonelessEnabled=g(Zn);rootEffectScheduler=g(xi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ue;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Vt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(le(n=>!n))}constructor(){g(qe,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=se.NULL){return this._injector.get(Q).run(()=>{F(R.BootstrapComponentStart);let s=n instanceof Ds;if(!this._injector.get(Ku).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(so).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=og(c)?void 0:this._injector.get(Cn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Yu,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Gr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ps.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(R.ChangeDetectionEnd),new m(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),F(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<cw;){F(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F(R.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Pr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Eh(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Gr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ng,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Gr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ig(e,t,n,r){let o=D(),i=jt();if(he(o,i,t)){let s=H(),a=Br();xE(a,o,e,t,n,r)}return ig}function uw(){return D()[ae][W]}var ru=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 Cc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lw(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Cc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],I=Cc(a,f,u,h,n);if(I!==0){I<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),P=n(s,d);if(Object.is(P,v)){let De=n(u,h);Object.is(De,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ts,i??=rp(e,s,a,n),ou(e,o,s,P))e.updateValue(s,d),s++,a++;else if(i.has(P))o.set(y,e.detach(s)),a--;else{let De=e.create(s,t[s]);e.attach(s,De),s++,a++}}for(;s<=u;)np(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Cc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new ts,i??=rp(e,s,a,n);let h=n(s,p);if(ou(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let I=n(s,d);o.set(I,e.detach(s)),a--}}}for(;!l.done;)np(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function ou(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function np(e,t,n,r,o){if(ou(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function rp(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 ts=class{kvMap=new Map;_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 dw(e,t,n,r,o,i,s,a){It("NgControlFlow");let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,256,s,a),Ju}function Ju(e,t,n,r,o,i,s,a){It("NgControlFlow");let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,512,s,a),Ju}function fw(e,t){It("NgControlFlow");let n=D(),r=jt(),o=n[r]!==ne?n[r]:-1,i=o!==-1?ns(n,V+o):void 0,s=0;if(he(n,r,e)){let a=E(null);try{if(i!==void 0&&_h(i,s),e!==-1){let c=V+e,u=ns(n,c),l=cu(n[w],c),d=Sh(u,l,n),p=oo(n,l,t,{dehydratedView:d});io(u,p,s,Xn(l,d))}}finally{E(a)}}else if(i!==void 0){let a=Th(i,s);a!==void 0&&(a[W]=t)}}var iu=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};function pw(e){return e}function hw(e,t){return t}var su=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function gw(e,t,n,r,o,i,s,a,c,u,l,d,p){It("NgControlFlow");let f=D(),h=H(),I=c!==void 0,y=D(),v=a?s.bind(y[ae][W]):s,P=new su(I,v);y[V+e]=P,tr(f,h,e+1,t,n,r,o,we(h.consts,i),256),I&&tr(f,h,e+2,c,u,l,d,we(h.consts,p),512)}var au=class extends ru{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-q}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[dn];this.needsIndexUpdate||=t!==this.length,io(this.lContainer,n,t,Xn(this.templateTNode,r)),yw(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,vw(this.lContainer,t),Dw(this.lContainer,t)}create(t,n){let r=Zi(this.lContainer,this.templateTNode.tView.ssrId);return oo(this.hostLView,this.templateTNode,new iu(this.lContainer,n,t),{dehydratedView:r})}destroy(t){gs(t[w],t)}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return Ew(this.lContainer,t)}};function mw(e){let t=E(null),n=Ue();try{let r=D(),o=r[w],i=r[n],s=n+1,a=ns(r,s);if(i.liveCollection===void 0){let u=cu(o,s);i.liveCollection=new au(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(lw(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=jt(),l=c.length===0;if(he(r,u,l)){let d=n+2,p=ns(r,d);if(l){let f=cu(o,d),h=Sh(p,f,r),I=oo(r,f,void 0,{dehydratedView:h});io(p,I,0,Xn(f,h))}else o.firstUpdatePass&&tI(p),_h(p,0)}}}finally{E(t)}}function ns(e,t){return e[t]}function yw(e,t){if(e.length<=q)return;let n=q+t,r=e[n],o=r?r[Pt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[gt];uE(i,o),In.delete(r[mt]),o.detachedLeaveAnimationFns=void 0}}function vw(e,t){if(e.length<=q)return;let n=q+t,r=e[n],o=r?r[Pt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Dw(e,t){return Yr(e,t)}function Ew(e,t){return Th(e,t)}function cu(e,t){return Di(e,t)}function sg(e,t,n){let r=D(),o=jt();if(he(r,o,t)){let i=H(),s=Br();ph(s,r,e,t,r[L],n)}return sg}function uu(e,t,n,r,o){ju(t,e,n,o?"class":"style",r)}function rs(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?Hu(s,o,2,t,Fu,wi(),n,r):i.data[s];if(vt(a)){let c=o[je].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Fh(u),()=>(op(e,t,o,a,r),rs))}}return op(e,t,o,a,r),rs}function op(e,t,n,r,o){if(Pu(r,n,e,t,ug),zn(r)){let i=n[w];ys(i,n,r),vu(i,r,n)}o!=null&&ro(n,r)}function Xu(){let e=H(),t=te(),n=Lu(t);return e.firstCreatePass&&Uu(e,n),oc(n)&&ic(),nc(),n.classesWithoutHost!=null&&Vv(n)&&uu(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Hv(n)&&uu(e,n,D(),n.stylesWithoutHost,!1),Xu}function ag(e,t,n,r){return rs(e,t,n,r),Xu(),ag}function el(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?mI(s,i,2,t,n,r):i.data[s];return Pu(a,o,e,t,ug),r!=null&&ro(o,a),el}function tl(){let e=te(),t=Lu(e);return oc(t)&&ic(),nc(),tl}function cg(e,t,n,r){return el(e,t,n,r),tl(),cg}var ug=(e,t,n,r,o)=>(Vr(!0),qp(t[L],r,Df()));function nl(e,t,n){let r=D(),o=r[w],i=e+V,s=o.firstCreatePass?Hu(i,r,8,"ng-container",Fu,wi(),t,n):o.data[i];if(Pu(s,r,e,"ng-container",Iw),zn(s)){let a=r[w];ys(a,r,s),vu(a,s,r)}return n!=null&&ro(r,s),nl}function rl(){let e=H(),t=te(),n=Lu(t);return e.firstCreatePass&&Uu(e,n),rl}function lg(e,t,n){return nl(e,t,n),rl(),lg}var Iw=(e,t,n,r,o)=>(Vr(!0),RD(t[L],""));function ww(){return D()}function dg(e,t,n){let r=D(),o=jt();if(he(r,o,t)){let i=H(),s=Br();hh(s,r,e,t,r[L],n)}return dg}var Ur=void 0;function Cw(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var bw=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Ur,[["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"]],Ur,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Ur,Ur,Ur],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Cw],bc={};function me(e){let t=Tw(e),n=ip(t);if(n)return n;let r=t.split("-")[0];if(n=ip(r),n)return n;if(r==="en")return bw;throw new m(701,!1)}function ip(e){return e in bc||(bc[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),bc[e]}var Z=(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})(Z||{});function Tw(e){return e.toLowerCase().replace(/_/g,"-")}var co="en-US";var _w=co;function fg(e){typeof e=="string"&&(_w=e.toLowerCase().replace(/_/g,"-"))}function pg(e,t,n){let r=D(),o=H(),i=te();return gg(o,r,r[L],i,e,t,n),pg}function hg(e,t,n){let r=D(),o=H(),i=te();return(i.type&3||n)&&Oh(i,o,r,n,r[L],e,t,Vi(i,r,t)),hg}function gg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Vi(r,t,i),Oh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Vi(r,t,i),Qf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Vi(r,t,i),Qf(r,t,d,o,o,c)}}function Mw(e=1){return mf(e)}function Sw(e,t){let n=null,r=WD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?th(e,i,!0):YD(r,i))return o}return n}function Nw(e){let t=D()[ae][pe];if(!t.projection){let n=e?e.length:1,r=t.projection=Vd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Sw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Aw(e,t=0,n,r,o,i){let s=D(),a=H(),c=r?e+1:null;c!==null&&tr(s,a,c,r,o,i,null,n);let u=or(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),cc();let d=!s[dn]||rc();s[ae][pe].projection[u.projection]===null&&c!==null?xw(s,a,c):d&&!us(u)&&EE(a,s,u)}function xw(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Zi(i,o.tView.ssrId),a=oo(e,o,void 0,{dehydratedView:s});io(i,a,0,Xn(o,s))}function mg(e,t,n,r){return Hh(e,t,n,r),mg}function yg(e,t,n){return Vh(e,t,n),yg}function Rw(e){let t=D(),n=H(),r=bi();jr(r+1);let o=zu(n,r);if(e.dirty&&Qd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=$h(t,r);e.reset(i,_p),e.notifyOnChanges()}return!0}return!1}function Ow(){return $u(D(),bi())}function vg(e,t,n,r,o){return Gh(t,Hh(e,n,r,o)),vg}function Dg(e,t,n,r){return Gh(e,Vh(t,n,r)),Dg}function kw(e=1){jr(bi()+e)}function Fw(e){let t=af();return Fr(t,V+e)}function Fi(e,t){return e<<17|t<<2}function bn(e){return e>>17&32767}function Pw(e){return(e&2)==2}function Lw(e,t){return e&131071|t<<17}function lu(e){return e|2}function nr(e){return(e&131068)>>2}function Tc(e,t){return e&-131069|t<<2}function jw(e){return(e&1)===1}function du(e){return e|1}function Bw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bn(s),c=nr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=bn(e[a+1]);e[r+1]=Fi(p,a),p!==0&&(e[p+1]=Tc(e[p+1],r)),e[a+1]=Lw(e[a+1],r)}else e[r+1]=Fi(a,0),a!==0&&(e[a+1]=Tc(e[a+1],r)),a=r;else e[r+1]=Fi(c,0),a===0?a=r:e[c+1]=Tc(e[c+1],r),c=r;u&&(e[r+1]=lu(e[r+1])),sp(e,l,r,!0),sp(e,l,r,!1),Vw(t,l,e,r,i),s=Fi(a,c),i?t.classBindings=s:t.styleBindings=s}function Vw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[r+1]=du(n[r+1]))}function sp(e,t,n,r){let o=e[n+1],i=t===null,s=r?bn(o):nr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Hw(c,t)&&(a=!0,e[s+1]=r?du(u):lu(u)),s=r?bn(u):nr(u)}a&&(e[n+1]=r?lu(o):du(o))}function Hw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Uw(e){return e.substring(Ge.key,Ge.keyEnd)}function $w(e){return zw(e),Eg(e,Ig(e,0,Ge.textEnd))}function Eg(e,t){let n=Ge.textEnd;return n===t?-1:(t=Ge.keyEnd=Gw(e,Ge.key=t,n),Ig(e,t,n))}function zw(e){Ge.key=0,Ge.keyEnd=0,Ge.value=0,Ge.valueEnd=0,Ge.textEnd=e.length}function Ig(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function wg(e,t,n){return bg(e,t,n,!1),wg}function Cg(e,t){return bg(e,t,null,!0),Cg}function Ww(e){Zw(eC,qw,e,!0)}function qw(e,t){for(let n=$w(t);n>=0;n=Eg(t,n))mi(e,Uw(t),!0)}function bg(e,t,n,r){let o=D(),i=H(),s=Lr(2);if(i.firstUpdatePass&&_g(i,e,s,r),t!==ne&&he(o,s,t)){let a=i.data[Ue()];Mg(i,a,o,o[L],e,o[s+1]=nC(t,n),r,s)}}function Zw(e,t,n,r){let o=H(),i=Lr(2);o.firstUpdatePass&&_g(o,null,i,r);let s=D();if(n!==ne&&he(s,i,n)){let a=o.data[Ue()];if(Sg(a,r)&&!Tg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ui(c,n||"")),uu(o,a,s,n,r)}else tC(o,a,s,s[L],s[i+1],s[i+1]=Xw(e,t,n),r,i)}}function Tg(e,t){return t>=e.expandoStartIndex}function _g(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Tg(e,n);Sg(i,r)&&t===null&&!s&&(t=!1),t=Yw(o,i,t,r),Bw(o,i,t,n,s,r)}}function Yw(e,t,n,r){let o=ff(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=_c(null,e,t,n,r),n=Jr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=_c(o,e,t,n,r),i===null){let c=Qw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=_c(null,e,t,c[1],r),c=Jr(c,t.attrs,r),Kw(e,t,r,c))}else i=Jw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Qw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(nr(r)!==0)return e[bn(r)]}function Kw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bn(o)]=r}function Jw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Jr(r,s,n)}return Jr(r,t.attrs,n)}function _c(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=Jr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Jr(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]),mi(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Xw(e,t,n){if(n==null||n==="")return ie;let r=[],o=Ce(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function eC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&mi(e,r,n)}function tC(e,t,n,r,o,i,s,a){o===ne&&(o=ie);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,I;l===d?(c+=2,u+=2,p!==f&&(h=d,I=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,I=f),h!==null&&Mg(e,t,n,r,h,I,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Mg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=jw(u)?ap(c,t,n,o,nr(u),s):void 0;if(!os(l)){os(i)||Pw(u)&&(i=ap(c,null,n,o,a,s));let d=Ya(Ue(),n);wE(r,s,d,o,i)}}function ap(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ne&&(p=d?ie:void 0);let f=d?yi(p,r):l===r?p:void 0;if(u&&!os(f)&&(f=yi(c,r)),os(f)&&(a=f,s))return a;let h=e[o+1];o=s?bn(h):nr(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yi(c,r))}return a}function os(e){return e!==void 0}function nC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ar(Ce(e)))),e}function Sg(e,t){return(e.flags&(t?8:16))!==0}function rC(e,t=""){let n=D(),r=H(),o=e+V,i=r.firstCreatePass?or(r,o,1,t,null):r.data[o],s=oC(r,n,i,t);n[o]=s,Mi()&&Ou(r,n,s,i),Wn(i,!1)}var oC=(e,t,n,r)=>(Vr(!0),AD(t[L],r));function Ng(e,t,n,r=""){return he(e,jt(),n)?t+_e(n)+r:ne}function iC(e,t,n,r,o,i=""){let s=lc(),a=Qr(e,s,n,o);return Lr(2),a?t+_e(n)+r+_e(o)+i:ne}function sC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=lc(),f=DI(e,p,n,o,s,c);return f=he(e,p+4,l)||f,Lr(5),f?t+_e(n)+r+_e(o)+i+_e(s)+a+_e(c)+u+_e(l)+d:ne}function Ag(e){return ol("",e),Ag}function ol(e,t,n){let r=D(),o=Ng(r,e,t,n);return o!==ne&&il(r,Ue(),o),ol}function xg(e,t,n,r,o){let i=D(),s=iC(i,e,t,n,r,o);return s!==ne&&il(i,Ue(),s),xg}function Rg(e,t,n,r,o,i,s,a,c,u,l){let d=D(),p=sC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==ne&&il(d,Ue(),p),Rg}function il(e,t,n){let r=Ya(t,e);xD(e[L],r,n)}function Og(e,t,n){Zu(t)&&(t=t());let r=D(),o=jt();if(he(r,o,t)){let i=H(),s=Br();ph(s,r,e,t,r[L],n)}return Og}function aC(e,t){let n=Zu(e);return n&&e.set(t),n}function kg(e,t){let n=D(),r=H(),o=te();return gg(r,n,n[L],o,e,t),kg}function cC(e,t,n=""){return Ng(D(),e,t,n)}function cp(e,t,n){let r=H();r.firstCreatePass&&Fg(t,r.data,r.blueprint,Ve(e),n)}function Fg(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fg(e[i],t,n,r,o);else{let i=H(),s=D(),a=te(),c=an(e)?e:X(e.provide),u=$a(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(an(e)||!e.multi){let f=new En(u,o,ge,null),h=Sc(c,t,o?l:l+p,d);h===-1?(Ac(Gi(a,s),i,c),Mc(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=Sc(c,t,l+p,d),h=Sc(c,t,l,l+p),I=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!I){Ac(Gi(a,s),i,c);let v=dC(o?lC:uC,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Mc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Pg(n[o?h:f],u,!o&&r);Mc(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Mc(e,t,n,r){let o=an(t),i=Wd(t);if(o||i){let c=(i?X(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uC(e,t,n,r,o){return fu(this.multi,[])}function lC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wr(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),fu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],fu(i,s);return s}function fu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function dC(e,t,n,r,o,i){let s=new En(e,n,ge,null);return s.multi=[],s.index=t,s.componentProviders=0,Pg(s,o,r&&!n),s}function fC(e,t){return n=>{n.providersResolver=(r,o)=>cp(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>cp(r,o?o(t):t,!0))}}function pC(e,t){let n=vn()+e,r=D();return r[n]===ne?Is(r,n,t()):yI(r,n)}function hC(e,t,n){return Lg(D(),vn(),e,t,n)}function gC(e,t,n,r){return jg(D(),vn(),e,t,n,r)}function sl(e,t){let n=e[t];return n===ne?void 0:n}function Lg(e,t,n,r,o,i){let s=t+n;return he(e,s,o)?Is(e,s+1,i?r.call(i,o):r(o)):sl(e,s+1)}function jg(e,t,n,r,o,i,s){let a=t+n;return Qr(e,a,o,i)?Is(e,a+2,s?r.call(s,o,i):r(o,i)):sl(e,a+2)}function mC(e,t,n,r,o,i,s,a){let c=t+n;return vI(e,c,o,i,s)?Is(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):sl(e,c+3)}function yC(e,t){let n=H(),r,o=e+V;n.firstCreatePass?(r=vC(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=Rt(r.type,!0)),s,a=de(ge);try{let c=zi(!1),u=i();return zi(c),Qa(n,D(),o,u),u}finally{de(a)}}function vC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function DC(e,t,n){let r=e+V,o=D(),i=Fr(o,r);return al(o,r)?Lg(o,vn(),t,i.transform,n,i):i.transform(n)}function EC(e,t,n,r){let o=e+V,i=D(),s=Fr(i,o);return al(i,o)?jg(i,vn(),t,s.transform,n,r,s):s.transform(n,r)}function IC(e,t,n,r,o){let i=e+V,s=D(),a=Fr(s,i);return al(s,i)?mC(s,vn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function al(e,t){return e[w].data[t].pure}function wC(e,t){return vs(e,t)}var is=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},CC=(()=>{class e{compileModuleSync(n){return new es(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Fa(n),i=Xp(o.declarations).reduce((s,a)=>{let c=tt(a);return c&&s.push(new Ut(c)),s},[]);return new is(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bg=(()=>{class e{applicationErrorHandler=g($e);appRef=g(cr);taskService=g(Vt);ngZone=g(Q);zonelessEnabled=g(Zn);tracing=g(qe,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Sr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Ai,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?wf:gc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Sr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vg(){return[{provide:Fe,useExisting:Bg},{provide:Q,useClass:Nr},{provide:Zn,useValue:!0}]}function bC(){return typeof $localize<"u"&&$localize.locale||co}var ur=new C("",{factory:()=>g(ur,{optional:!0,skipSelf:!0})||bC()});var bs=class{destroyed=!1;listeners=null;errorHandler=g(be,{optional:!0});destroyRef=g(Ae);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(et(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Ts(e){return Sd(e)}function TC(e,t){return wr(e,t?.equal)}var _C=e=>e;function MC(e,t){if(typeof e=="function"){let n=ma(e,_C,t?.equal);return Hg(n,t?.debugName)}else{let n=ma(e.source,e.computation,e.equal);return Hg(n,e.debugName)}}function Hg(e,t){let n=e[Y],r=e;return r.set=o=>_d(n,o),r.update=o=>Md(n,o),r.asReadonly=Ni.bind(e),r}var Zg=Symbol("InputSignalNode#UNSET"),jC=$(B({},Cr),{transformFn:void 0,applyValueToInputSignal(e,t){rn(e,t)}});function Yg(e,t){let n=Object.create(jC);n.value=e,n.transformFn=t?.transform;function r(){if(Nt(n),n.value===Zg){let o=null;throw new m(-950,o)}return n.value}return r[Y]=n,r}var Ug=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>gu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Ej(e){return new bs}function $g(e,t){return Yg(e,t)}function BC(e){return Yg(Zg,e)}var Ij=($g.required=BC,$g);function zg(e,t){return Gu(t)}function VC(e,t){return Wu(t)}var wj=(zg.required=VC,zg);function Gg(e,t){return Gu(t)}function HC(e,t){return Wu(t)}var Cj=(Gg.required=HC,Gg);var UC=(()=>{class e{zone=g(Q);changeDetectionScheduler=g(Fe);applicationRef=g(cr);applicationErrorHandler=g($e);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$C=new C("",{factory:()=>!1});function zC({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Q($(B({},Qg()),{scheduleInRootZone:t})),[{provide:Zn,useValue:!1},{provide:Q,useFactory:e},{provide:pt,multi:!0,useFactory:()=>{let n=g(UC,{optional:!0});return()=>n.initialize()}},{provide:pt,multi:!0,useFactory:()=>{let n=g(GC);return()=>{n.initialize()}}},{provide:Ai,useValue:t??hc}]}function bj(e){let t=e?.scheduleInRootZone,n=zC({ngZoneFactory:()=>{let r=Qg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&It("NgZone_CoalesceEvent"),new Q(r)},scheduleInRootZone:t});return ht([{provide:$C,useValue:!0},n])}function Qg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GC=(()=>{class e{subscription=new J;initialized=!1;zone=g(Q);pendingTasks=g(Vt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ul=new C(""),WC=new C("");function uo(e){return!e.moduleRef}function qC(e){let t=uo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{uo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get($e),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),uo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ul);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ul);s.add(i),e.moduleRef.onDestroy(()=>{Gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return YC(r,n,()=>{let i=t.get(Vt),s=i.add(),a=t.get(Ku);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ur,co);if(fg(c||co),!t.get(WC,!0))return uo(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(uo(e)){let l=t.get(cr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return ZC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var ZC;function YC(e,t,n){try{let r=n();return ao(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var _s=null;function QC(e=[],t){return se.create({name:t,providers:[{provide:Or,useValue:"platform"},{provide:ul,useValue:new Set([()=>_s=null])},...e]})}function KC(e=[]){if(_s)return _s;let t=QC(e);return _s=t,rg(),JC(t),t}function JC(e){let t=e.get(as,null);Hn(e,()=>{t?.forEach(n=>n())})}function Tj(){return!1}var XC=1e4;var _j=XC-1e3;var dl=(()=>{class e{static __NG_ELEMENT_ID__=eb}return e})();function eb(e){return tb(te(),D(),(e&16)===16)}function tb(e,t,n){if(vt(e)&&!n){let r=Ne(e.index,t);return new Ht(r,r)}else if(e.type&175){let r=t[ae];return new Ht(r,t)}return null}function Kg(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F(R.BootstrapApplicationStart);try{let i=o?.injector??KC(r),s=[Vg(),bf,...n||[]],a=new Kr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return qC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F(R.BootstrapApplicationEnd)}}function nb(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function rb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var cl=Symbol("NOT_SET"),Jg=new Set,ob=$(B({},Cr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:cl,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==cl&&!Fn(this))return this.signal;try{for(let o of this.cleanup??Jg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=lt(this),r;try{r=this.userFn.apply(null,t)}finally{At(this,n)}return(this.value===cl||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),ll=class extends qr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ae),s),this.scheduler=o;for(let a of Au){let c=n[a];if(c===void 0)continue;let u=Object.create(ob);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Nt(u),u.value),u.signal[Y]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Jg)n()}finally{xt(t)}}};function Mj(e,t){let n=t?.injector??g(se),r=n.get(Fe),o=n.get(hs),i=n.get(qe,null,{optional:!0});o.impl??=n.get(xu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(qn,null,{optional:!0}),c=new ll(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function Sj(e,t){let n=tt(e),r=t.elementInjector||Vn();return new Ut(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Nj(e){let t=tt(e);if(!t)return null;let n=new Ut(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}}}var Xg=null;function wt(){return Xg}function fl(e){Xg??=e}var lo=class{},zt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(em),providedIn:"platform"})}return e})(),ib=new C(""),em=(()=>{class e extends zt{_location;_history;_doc=g(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wt().getBaseHref(this._doc)}onPopState(n){let r=wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ms(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function tm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ze(e){return e&&e[0]!=="?"?`?${e}`:e}var lr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(rm),providedIn:"root"})}return e})(),Ss=new C(""),rm=(()=>{class e extends lr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ms(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ze(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(zt),b(Ss,8))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var om=(()=>{class e{_subject=new ue;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=cb(tm(nm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ze(r))}normalize(n){return e.stripTrailingSlash(ab(this._basePath,nm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Ze;static joinWithSlash=Ms;static stripTrailingSlash=tm;static \u0275fac=function(r){return new(r||e)(b(lr))};static \u0275prov=T({token:e,factory:()=>sb(),providedIn:"root"})}return e})();function sb(){return new om(b(lr))}function ab(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function nm(e){return e.replace(/\/index.html$/,"")}function cb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ub=(()=>{class e extends lr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Ms(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(zt),b(Ss,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();var Il=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Il||{});var ce=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ce||{}),j=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(j||{}),ye=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(ye||{}),ve={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function cm(e){return me(e)[Z.LocaleId]}function um(e,t,n){let r=me(e),o=[r[Z.DayPeriodsFormat],r[Z.DayPeriodsStandalone]],i=Re(o,t);return Re(i,n)}function lm(e,t,n){let r=me(e),o=[r[Z.DaysFormat],r[Z.DaysStandalone]],i=Re(o,t);return Re(i,n)}function dm(e,t,n){let r=me(e),o=[r[Z.MonthsFormat],r[Z.MonthsStandalone]],i=Re(o,t);return Re(i,n)}function fm(e,t){let r=me(e)[Z.Eras];return Re(r,t)}function fo(e,t){let n=me(e);return Re(n[Z.DateFormat],t)}function po(e,t){let n=me(e);return Re(n[Z.TimeFormat],t)}function ho(e,t){let r=me(e)[Z.DateTimeFormat];return Re(r,t)}function st(e,t){let n=me(e),r=n[Z.NumberSymbols][t];if(typeof r>"u"){if(t===ve.CurrencyDecimal)return n[Z.NumberSymbols][ve.Decimal];if(t===ve.CurrencyGroup)return n[Z.NumberSymbols][ve.Group]}return r}function pm(e,t){return me(e)[Z.NumberFormats][t]}function hm(e){if(!e[Z.ExtraData])throw new m(2303,!1)}function gm(e){let t=me(e);return hm(t),(t[Z.ExtraData][2]||[]).map(r=>typeof r=="string"?pl(r):[pl(r[0]),pl(r[1])])}function mm(e,t,n){let r=me(e);hm(r);let o=[r[Z.ExtraData][0],r[Z.ExtraData][1]],i=Re(o,t)||[];return Re(i,n)||[]}function Re(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function pl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var lb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ns={},db=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ym(e,t,n,r){let o=Eb(e);t=Ct(n,t)||t;let s=[],a;for(;t;)if(a=db.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Dm(r,c),o=Db(o,r));let u="";return s.forEach(l=>{let d=yb(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ks(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ct(e,t){let n=cm(e);if(Ns[n]??={},Ns[n][t])return Ns[n][t];let r="";switch(t){case"shortDate":r=fo(e,ye.Short);break;case"mediumDate":r=fo(e,ye.Medium);break;case"longDate":r=fo(e,ye.Long);break;case"fullDate":r=fo(e,ye.Full);break;case"shortTime":r=po(e,ye.Short);break;case"mediumTime":r=po(e,ye.Medium);break;case"longTime":r=po(e,ye.Long);break;case"fullTime":r=po(e,ye.Full);break;case"short":let o=Ct(e,"shortTime"),i=Ct(e,"shortDate");r=As(ho(e,ye.Short),[o,i]);break;case"medium":let s=Ct(e,"mediumTime"),a=Ct(e,"mediumDate");r=As(ho(e,ye.Medium),[s,a]);break;case"long":let c=Ct(e,"longTime"),u=Ct(e,"longDate");r=As(ho(e,ye.Long),[c,u]);break;case"full":let l=Ct(e,"fullTime"),d=Ct(e,"fullDate");r=As(ho(e,ye.Full),[l,d]);break}return r&&(Ns[n][t]=r),r}function As(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ye(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function fb(e,t){return Ye(e,3).substring(0,t)}function K(e,t,n=0,r=!1,o=!1){return function(i,s){let a=pb(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return fb(a,t);let c=st(s,ve.MinusSign);return Ye(a,t,c,r,o)}}function pb(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function U(e,t,n=ce.Format,r=!1){return function(o,i){return hb(o,i,e,t,n,r)}}function hb(e,t,n,r,o,i){switch(n){case 2:return dm(t,o,r)[e.getMonth()];case 1:return lm(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=gm(t),l=mm(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,I=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(I&&y)return!0}else if(I||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return um(t,o,r)[s<12?0:1];case 3:return fm(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function xs(e){return function(t,n,r){let o=-1*r,i=st(n,ve.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ye(s,2,i)+Ye(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ye(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var gb=0,Os=4;function mb(e){let t=ks(e,gb,1).getDay();return ks(e,0,1+(t<=Os?Os:Os+7)-t)}function vm(e){let t=e.getDay(),n=t===0?-3:Os-t;return ks(e.getFullYear(),e.getMonth(),e.getDate()+n)}function hl(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=vm(n),s=mb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ye(o,e,st(r,ve.MinusSign))}}function Rs(e,t=!1){return function(n,r){let i=vm(n).getFullYear();return Ye(i,e,st(r,ve.MinusSign),t)}}var gl={};function yb(e){if(gl[e])return gl[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(3,j.Abbreviated);break;case"GGGG":t=U(3,j.Wide);break;case"GGGGG":t=U(3,j.Narrow);break;case"y":t=K(0,1,0,!1,!0);break;case"yy":t=K(0,2,0,!0,!0);break;case"yyy":t=K(0,3,0,!1,!0);break;case"yyyy":t=K(0,4,0,!1,!0);break;case"Y":t=Rs(1);break;case"YY":t=Rs(2,!0);break;case"YYY":t=Rs(3);break;case"YYYY":t=Rs(4);break;case"M":case"L":t=K(1,1,1);break;case"MM":case"LL":t=K(1,2,1);break;case"MMM":t=U(2,j.Abbreviated);break;case"MMMM":t=U(2,j.Wide);break;case"MMMMM":t=U(2,j.Narrow);break;case"LLL":t=U(2,j.Abbreviated,ce.Standalone);break;case"LLLL":t=U(2,j.Wide,ce.Standalone);break;case"LLLLL":t=U(2,j.Narrow,ce.Standalone);break;case"w":t=hl(1);break;case"ww":t=hl(2);break;case"W":t=hl(1,!0);break;case"d":t=K(2,1);break;case"dd":t=K(2,2);break;case"c":case"cc":t=K(7,1);break;case"ccc":t=U(1,j.Abbreviated,ce.Standalone);break;case"cccc":t=U(1,j.Wide,ce.Standalone);break;case"ccccc":t=U(1,j.Narrow,ce.Standalone);break;case"cccccc":t=U(1,j.Short,ce.Standalone);break;case"E":case"EE":case"EEE":t=U(1,j.Abbreviated);break;case"EEEE":t=U(1,j.Wide);break;case"EEEEE":t=U(1,j.Narrow);break;case"EEEEEE":t=U(1,j.Short);break;case"a":case"aa":case"aaa":t=U(0,j.Abbreviated);break;case"aaaa":t=U(0,j.Wide);break;case"aaaaa":t=U(0,j.Narrow);break;case"b":case"bb":case"bbb":t=U(0,j.Abbreviated,ce.Standalone,!0);break;case"bbbb":t=U(0,j.Wide,ce.Standalone,!0);break;case"bbbbb":t=U(0,j.Narrow,ce.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(0,j.Abbreviated,ce.Format,!0);break;case"BBBB":t=U(0,j.Wide,ce.Format,!0);break;case"BBBBB":t=U(0,j.Narrow,ce.Format,!0);break;case"h":t=K(3,1,-12);break;case"hh":t=K(3,2,-12);break;case"H":t=K(3,1);break;case"HH":t=K(3,2);break;case"m":t=K(4,1);break;case"mm":t=K(4,2);break;case"s":t=K(5,1);break;case"ss":t=K(5,2);break;case"S":t=K(6,1);break;case"SS":t=K(6,2);break;case"SSS":t=K(6,3);break;case"Z":case"ZZ":case"ZZZ":t=xs(0);break;case"ZZZZZ":t=xs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=xs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=xs(2);break;default:return null}return gl[e]=t,t}function Dm(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function vb(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Db(e,t,n){let o=e.getTimezoneOffset(),i=Dm(t,o);return vb(e,-1*(i-o))}function Eb(e){if(im(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ks(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(lb))return Ib(r)}let t=new Date(e);if(!im(t))throw new m(2311,!1);return t}function Ib(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function im(e){return e instanceof Date&&!isNaN(e.valueOf())}var wb=/^(\d+)?\.((\d+)(-(\d+))?)?$/,sm=22,Fs=".",go="0",Cb=";",bb=",",ml="#";function Tb(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=st(n,ve.Infinity);else{let u=Sb(e);s&&(u=Mb(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let P=i.match(wb);if(P===null)throw new m(2306,!1);let De=P[1],G=P[3],Tt=P[5];De!=null&&(l=yl(De)),G!=null&&(d=yl(G)),Tt!=null?p=yl(Tt):G!=null&&d>p&&(p=d)}Nb(u,d,p);let f=u.digits,h=u.integerLen,I=u.exponent,y=[];for(c=f.every(P=>!P);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(st(n,r)),y.length&&(a+=st(n,o)+y.join("")),I&&(a+=st(n,ve.Exponential)+"+"+I)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Em(e,t,n){let r=pm(t,Il.Decimal),o=_b(r,st(t,ve.MinusSign));return Tb(e,o,t,ve.Group,ve.Decimal,n)}function _b(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Cb),o=r[0],i=r[1],s=o.indexOf(Fs)!==-1?o.split(Fs):[o.substring(0,o.lastIndexOf(go)+1),o.substring(o.lastIndexOf(go)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(ml));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===go?n.minFrac=n.maxFrac=l+1:d===ml?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(bb);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(ml);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Mb(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Sb(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(Fs))>-1&&(t=t.replace(Fs,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===go;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===go;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>sm&&(r=r.splice(0,sm-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Nb(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function yl(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var vl=/\s+/,am=[],Ab=(()=>{class e{_ngEl;_renderer;initialClasses=am;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(vl):am}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(vl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(vl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ge($t),ge(Es))};static \u0275dir=ws({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var xb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(se);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ge(ir))};static \u0275dir=ws({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[pu]})}return e})();function wl(e,t){return new m(2100,!1)}var Dl=class{createSubscription(t,n,r){return Ts(()=>t.subscribe({next:n,error:r}))}dispose(t){Ts(()=>t.unsubscribe())}},El=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},Rb=new El,Ob=new Dl,kb=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g($e);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(ao(n))return Rb;if(Cs(n))return Ob;throw wl(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ge(dl,16))};static \u0275pipe=ar({name:"async",type:e,pure:!1})}return e})();var Fb="mediumDate",Im=new C(""),wm=new C(""),Pb=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Fb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ym(n,s,i||this.locale,a)}catch(s){throw wl(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ge(ur,16),ge(Im,24),ge(wm,24))};static \u0275pipe=ar({name:"date",type:e,pure:!0})}return e})();var Lb=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=ar({name:"json",type:e,pure:!1})}return e})();var jb=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Bb(n))return null;o||=this._locale;try{let i=Vb(n);return Em(i,o,r)}catch(i){throw wl(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ge(ur,16))};static \u0275pipe=ar({name:"number",type:e,pure:!0})}return e})();function Bb(e){return!(e==null||e===""||e!==e)}function Vb(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Cm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=sr({type:e});static \u0275inj=un({})}return e})();function mo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var _n=class{};var bl="browser";function QB(e){return e===bl}var KB=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new Cl(g(z),window)})}return e})(),Cl=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo($(B({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=Ub(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(et(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo($(B({},n),{left:o-s[0],top:i-s[1]}))}};function Ub(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var yo=class{_doc;constructor(t){this._doc=t}manager},Ps=(()=>{class e extends yo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Bs=new C(""),Sl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Ps));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Ps);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(Bs),b(Q))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Tl="ng-app-id";function bm(e){for(let t of e)t.remove()}function Tm(e,t){let n=t.createElement("style");return n.textContent=e,n}function $b(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Tl}="${t}"],link[${Tl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Tl),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Ml(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Nl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,$b(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Tm);r?.forEach(o=>this.addUsage(o,this.external,Ml))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(bm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])bm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Tm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Ml(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(b(z),b(ss),b(cs,8),b(eo))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),_l={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Al=/%COMP%/g;var Mm="%COMP%",zb=`_nghost-${Mm}`,Gb=`_ngcontent-${Mm}`,Wb=!0,qb=new C("",{factory:()=>Wb});function Zb(e){return Gb.replace(Al,e)}function Yb(e){return zb.replace(Al,e)}function Sm(e,t){return t.map(n=>n.replace(Al,e))}var xl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new vo(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof js?o.applyToHost(n):o instanceof Do&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case We.Emulated:i=new js(c,u,r,this.appId,l,s,a,d);break;case We.ShadowDom:return new Ls(c,n,r,s,a,this.nonce,d,u);case We.ExperimentalIsolatedShadowDom:return new Ls(c,n,r,s,a,this.nonce,d);default:i=new Do(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(b(Sl),b(Nl),b(ss),b(qb),b(z),b(Q),b(cs),b(qe,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),vo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(_l[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(_m(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(_m(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=_l[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=_l[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ot.DashCase|ot.Important)?t.style.setProperty(n,r,o&ot.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ot.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=wt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function _m(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ls=class extends vo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Sm(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Ml(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Do=class extends vo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Sm(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&In.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},js=class extends Do{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Zb(u),this.hostAttr=Yb(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Vs=class e extends lo{supportsDOMEvents=!0;static makeCurrent(){fl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Qb();return n==null?null:Kb(n)}resetBaseElement(){Eo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mo(document.cookie,t)}},Eo=null;function Qb(){return Eo=Eo||document.head.querySelector("base"),Eo?Eo.getAttribute("href"):null}function Kb(e){return new URL(e,document.baseURI).pathname}var Jb=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Nm=["alt","control","meta","shift"],Xb={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},eT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Am=(()=>{class e extends yo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>wt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Nm.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Xb[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Nm.forEach(s=>{if(s!==o){let a=eT[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function tT(e,t,n){return Sn(this,null,function*(){let r=B({rootComponent:e},nT(t,n));return Kg(r)})}function nT(e,t){return{platformRef:t?.platformRef,appProviders:[...aT,...e?.providers??[]],platformProviders:sT}}function rT(){Vs.makeCurrent()}function oT(){return new be}function iT(){return yu(document),document}var sT=[{provide:eo,useValue:bl},{provide:as,useValue:rT,multi:!0},{provide:z,useFactory:iT}];var aT=[{provide:Or,useValue:"root"},{provide:be,useFactory:oT},{provide:Bs,useClass:Ps,multi:!0},{provide:Bs,useClass:Am,multi:!0},xl,Nl,Sl,{provide:wn,useExisting:xl},{provide:_n,useClass:Jb},[]];var Gt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Us=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},$s=class{encodeKey(t){return xm(t)}encodeValue(t){return xm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function cT(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var uT=/%(\d[a-f0-9])/gi,lT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xm(e){return encodeURIComponent(e).replace(uT,(t,n)=>lT[n]??t)}function Hs(e){return`${e}`}var bt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new $s,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=cT(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Hs):[Hs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Hs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Hs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function dT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Om(e){return typeof Blob<"u"&&e instanceof Blob}function km(e){return typeof FormData<"u"&&e instanceof FormData}function fT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Fm="Content-Type",Pm="Accept",Lm="text/plain",jm="application/json",pT=`${jm}, ${Lm}, */*`,dr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(dT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Gt,this.context??=new Us,!this.params)this.params=new bt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Rm(this.body)||Om(this.body)||km(this.body)||fT(this.body)?this.body:this.body instanceof bt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||km(this.body)?null:Om(this.body)?this.body.type||null:Rm(this.body)?null:typeof this.body=="string"?Lm:this.body instanceof bt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?jm:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,I=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,P=t.reportProgress??this.reportProgress,De=t.headers||this.headers,G=t.params||this.params,Tt=t.context??this.context;return t.setHeaders!==void 0&&(De=Object.keys(t.setHeaders).reduce((hr,Wt)=>hr.set(Wt,t.setHeaders[Wt]),De)),t.setParams&&(G=Object.keys(t.setParams).reduce((hr,Wt)=>hr.set(Wt,t.setParams[Wt]),G)),new e(n,r,y,{params:G,headers:De,context:Tt,reportProgress:P,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:I,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},Mn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Mn||{}),pr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Gt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},zs=class e extends pr{constructor(t={}){super(t)}type=Mn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Io=class e extends pr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Mn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},fr=class extends pr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},hT=200,gT=204;var mT=new C("");var yT=/^\)\]\}',?\n/;var Ol=(()=>{class e{xhrFactory;tracingService=g(qe,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return Uo(null).pipe(Wo(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(Pm)||s.setRequestHeader(Pm,pT),!n.headers.has(Fm)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Fm,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Gt(s.getAllResponseHeaders()),P=s.responseURL||n.url;return c=new zs({headers:v,status:s.status,statusText:y,url:P}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:P,url:De}=u(),G=null;v!==gT&&(G=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=G?hT:0);let Tt=v>=200&&v<300;if(n.responseType==="json"&&typeof G=="string"){let hr=G;G=G.replace(yT,"");try{G=G!==""?JSON.parse(G):null}catch(Wt){G=hr,Tt&&(Tt=!1,G={error:Wt,text:G})}}Tt?(i.next(new Io({body:G,headers:y,status:v,statusText:P,url:De||void 0})),i.complete()):i.error(new fr({error:G,headers:y,status:v,statusText:P,url:De||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new fr({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(P)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new fr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(P)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:Mn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),I=this.maybePropagateTrace(y=>{let v={type:Mn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",I)),s.send(a),i.next({type:Mn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",I)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(_n))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vT(e,t){return t(e)}function DT(e,t,n){return(r,o)=>Hn(n,()=>t(r,i=>e(i,o)))}var Bm=new C("",{factory:()=>[]}),Vm=new C(""),Hm=new C("",{factory:()=>!0});var kl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Ol),o},providedIn:"root"})}return e})();var Gs=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Hr);contributeToStability=g(Hm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Bm),...this.injector.get(Vm,[])]));this.chain=r.reduceRight((o,i)=>DT(o,i,this.injector),vT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(oa(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(kl),b(fe))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Gs),o},providedIn:"root"})}return e})();function Rl(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Um=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof dr)i=n;else{let c;o.headers instanceof Gt?c=o.headers:c=new Gt(o.headers);let u;o.params&&(o.params instanceof bt?u=o.params:u=new bt({fromObject:o.params})),i=new dr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Uo(i).pipe(ta(c=>this.handler.handle(c)));if(n instanceof dr||o.observe==="events")return s;let a=s.pipe(Mt(c=>c instanceof Io));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(le(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(le(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new bt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Rl(o,r))}post(n,r,o={}){return this.request("POST",n,Rl(o,r))}put(n,r,o={}){return this.request("PUT",n,Rl(o,r))}static \u0275fac=function(r){return new(r||e)(b(Fl))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ET=new C("",{factory:()=>!0}),IT="XSRF-TOKEN",wT=new C("",{factory:()=>IT}),CT="X-XSRF-TOKEN",bT=new C("",{factory:()=>CT}),TT=(()=>{class e{cookieName=g(wT);doc=g(z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$m=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(TT),o},providedIn:"root"})}return e})();function _T(e,t){if(!g(ET)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(zt).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g($m).getToken(),r=g(bT);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function MT(...e){let t=[Um,Gs,{provide:Fl,useExisting:Gs},{provide:kl,useFactory:()=>g(mT,{optional:!0})??g(Ol)},{provide:Bm,useValue:_T,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return ht(t)}var E2=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ST=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(NT),o},providedIn:"root"})}return e})(),NT=(()=>{class e extends ST{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case xe.NONE:return r;case xe.HTML:return it(r,"HTML")?Ce(r):ds(this._doc,String(r)).toString();case xe.STYLE:return it(r,"Style")?Ce(r):r;case xe.SCRIPT:if(it(r,"Script"))return Ce(r);throw new m(5200,!1);case xe.URL:return it(r,"URL")?Ce(r):to(String(r));case xe.RESOURCE_URL:if(it(r,"ResourceURL"))return Ce(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return Du(n)}bypassSecurityTrustStyle(n){return Eu(n)}bypassSecurityTrustScript(n){return Iu(n)}bypassSecurityTrustUrl(n){return wu(n)}bypassSecurityTrustResourceUrl(n){return Cu(n)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{B as a,$ as b,qm as c,Sn as d,J as e,Km as f,x as g,ue as h,gr as i,yr as j,Jt as k,Ke as l,Uo as m,Dy as n,Ey as o,ct as p,Iy as q,wy as r,by as s,le as t,gy as u,ut as v,Dr as w,On as x,_y as y,yy as z,My as A,Mt as B,Sy as C,ea as D,ta as E,ud as F,Xt as G,na as H,Ny as I,fd as J,oa as K,hd as L,Ry as M,Oy as N,sa as O,gd as P,ky as Q,md as R,Wo as S,vy as T,Fy as U,yd as V,m as W,et as X,li as Y,T as Z,un as _,Wy as $,C as aa,b as ba,g as ca,ht as da,fe as ea,Hn as fa,rf as ga,of as ha,yf as ia,vf as ja,se as ka,z as la,Ae as ma,Vt as na,dt as oa,Q as pa,be as qa,$e as ra,wv as sa,Si as ta,Tf as ua,pu as va,bp as wa,gu as xa,$t as ya,Wi as za,ss as Aa,eo as Ba,iD as Ca,cs as Da,Lp as Ea,xe as Fa,FD as Ga,Kp as Ha,BD as Ia,VD as Ja,nE as Ka,It as La,sE as Ma,er as Na,wn as Oa,Es as Pa,ge as Qa,sI as Ra,ir as Sa,Cn as Ta,Wh as Ua,qh as Va,zI as Wa,sr as Xa,ws as Ya,ar as Za,YI as _a,Kh as $a,Xh as ab,eg as bb,tg as cb,qu as db,ao as eb,Qu as fb,aw as gb,ng as hb,cr as ib,ig as jb,uw as kb,dw as lb,fw as mb,pw as nb,hw as ob,gw as pb,mw as qb,sg as rb,rs as sb,Xu as tb,ag as ub,el as vb,tl as wb,cg as xb,nl as yb,rl as zb,lg as Ab,ww as Bb,dg as Cb,pg as Db,hg as Eb,Mw as Fb,Nw as Gb,Aw as Hb,mg as Ib,yg as Jb,Rw as Kb,Ow as Lb,vg as Mb,Dg as Nb,kw as Ob,Fw as Pb,wg as Qb,Cg as Rb,Ww as Sb,rC as Tb,Ag as Ub,ol as Vb,xg as Wb,Rg as Xb,Og as Yb,aC as Zb,kg as _b,cC as $b,fC as ac,pC as bc,hC as cc,gC as dc,yC as ec,DC as fc,EC as gc,IC as hc,wC as ic,CC as jc,Ts as kc,TC as lc,MC as mc,Ug as nc,Ej as oc,Ij as pc,wj as qc,Cj as rc,bj as sc,Tj as tc,dl as uc,nb as vc,rb as wc,Mj as xc,Sj as yc,Nj as zc,wt as Ac,ib as Bc,lr as Cc,rm as Dc,om as Ec,ub as Fc,Ab as Gc,xb as Hc,kb as Ic,Pb as Jc,Lb as Kc,jb as Lc,Cm as Mc,QB as Nc,KB as Oc,xl as Pc,tT as Qc,Gt as Rc,Us as Sc,bt as Tc,Um as Uc,MT as Vc,E2 as Wc,ST as Xc};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as i}from"./chunk-
|
|
1
|
+
import{c as i}from"./chunk-EQXGFCI5.js";import{b as s}from"./chunk-7MQRVE7E.js";import{Wa as o,ca as t,ub as r}from"./chunk-5J7BTB5J.js";var l=class n{constructor(){t(i)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=o({type:n,selectors:[["agentos-shell"]],decls:1,vars:0,template:function(e,c){e&1&&r(0,"router-outlet")},dependencies:[s],styles:[".shell-loader[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem;color:var(--color-text-secondary, #6e6e73);font-size:.9rem}.shell-loader[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.spinner[_ngcontent-%COMP%]{width:32px;height:32px;border:3px solid var(--color-border, rgba(0, 0, 0, .1));border-top-color:var(--color-primary, #007aff);border-radius:50%;animation:_ngcontent-%COMP%_spin .8s linear infinite}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}"]})};export{l as a};
|