marketplacepos 5.44.2 → 5.45.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/Marketplace/3rdpartylicenses.txt +31 -31
- package/Marketplace/{chunk-IA6KOBDJ.js → chunk-2HNZ6XV3.js} +1 -1
- package/Marketplace/chunk-2I7ZZ3F2.js +1 -0
- package/Marketplace/chunk-2LK24YA5.js +1 -0
- package/Marketplace/chunk-2TN45S53.js +1 -0
- package/Marketplace/{chunk-M7HQIICB.js → chunk-37L3YDKT.js} +1 -1
- package/Marketplace/chunk-3E7JHNVC.js +5 -0
- package/Marketplace/{chunk-YTL4RBBS.js → chunk-3FPEQHTI.js} +1 -1
- package/Marketplace/{chunk-KCH7AGAT.js → chunk-3LN6RMRN.js} +1 -1
- package/Marketplace/{chunk-5JQJRPL3.js → chunk-3TYYN7ZX.js} +1 -1
- package/Marketplace/{chunk-CUB2QFUO.js → chunk-3UN6FPMN.js} +1 -1
- package/Marketplace/{chunk-SYUFPF3D.js → chunk-3YP6ORBR.js} +1 -1
- package/Marketplace/chunk-42MFOGHP.js +5 -0
- package/Marketplace/{chunk-E4Z7OR75.js → chunk-4KHHGHFJ.js} +1 -1
- package/Marketplace/chunk-4Q5ZSKVO.js +1 -0
- package/Marketplace/{chunk-MS3ZBCON.js → chunk-4VITMSIA.js} +1 -1
- package/Marketplace/{chunk-3DMGCQAD.js → chunk-4ZQCJGTZ.js} +1 -1
- package/Marketplace/{chunk-IIZDEGGW.js → chunk-5LQRO4AI.js} +1 -1
- package/Marketplace/{chunk-6QYD6NIJ.js → chunk-5PS6ZS3N.js} +1 -1
- package/Marketplace/{chunk-35XX6SQT.js → chunk-6KBMGQMI.js} +1 -1
- package/Marketplace/{chunk-IL5JIRWJ.js → chunk-6L7TD5DW.js} +1 -1
- package/Marketplace/{chunk-KX7FIURR.js → chunk-6NUQGKRV.js} +1 -1
- package/Marketplace/{chunk-PNITO7BE.js → chunk-6RLISMEX.js} +1 -1
- package/Marketplace/{chunk-VK3NG4L3.js → chunk-6V4LFY52.js} +1 -1
- package/Marketplace/chunk-6VDV7CA2.js +2 -0
- package/Marketplace/chunk-6VHVQEVM.js +3 -0
- package/Marketplace/chunk-6WCXK7FR.js +2 -0
- package/Marketplace/chunk-6ZOHSFR5.js +1 -0
- package/Marketplace/{chunk-G7R7LUW4.js → chunk-74ELVGDK.js} +1 -1
- package/Marketplace/{chunk-LZCEM2PC.js → chunk-7AE3725T.js} +1 -1
- package/Marketplace/{chunk-H3IVI3LN.js → chunk-A44LN77B.js} +1 -1
- package/Marketplace/{chunk-IMK2JGZA.js → chunk-A64VIOKR.js} +1 -1
- package/Marketplace/{chunk-L3FX4O3H.js → chunk-B67DSLBY.js} +1 -1
- package/Marketplace/{chunk-BXW7N3ER.js → chunk-B7JSVIVV.js} +1 -1
- package/Marketplace/{chunk-PFIBU2IX.js → chunk-BBQGPXDH.js} +1 -1
- package/Marketplace/{chunk-NXOXSOUJ.js → chunk-BERZDE6Y.js} +1 -1
- package/Marketplace/{chunk-5SYAYUVP.js → chunk-BFPMFJI7.js} +1 -1
- package/Marketplace/{chunk-EQIFZBRG.js → chunk-BJUPMCEP.js} +2 -2
- package/Marketplace/{chunk-DL66NZ2A.js → chunk-BQIB3N6V.js} +1 -1
- package/Marketplace/chunk-BYSLV4DQ.js +2 -0
- package/Marketplace/chunk-BZBQHO76.js +1 -0
- package/Marketplace/{chunk-LA6B2JGP.js → chunk-CHWXOJDB.js} +1 -1
- package/Marketplace/chunk-CNJDARBM.js +1 -0
- package/Marketplace/{chunk-IBCRFNV4.js → chunk-D5YID4W4.js} +1 -1
- package/Marketplace/{chunk-Q6P7MEKT.js → chunk-DDVDUCPY.js} +1 -1
- package/Marketplace/{chunk-SM3P57SO.js → chunk-DFGZ4L65.js} +1 -1
- package/Marketplace/chunk-DSQSL5VX.js +15 -0
- package/Marketplace/{chunk-YM4TJJMM.js → chunk-DZYBXWL2.js} +1 -1
- package/Marketplace/{chunk-CZDUJH26.js → chunk-ELSSXU6Y.js} +1 -1
- package/Marketplace/{chunk-SWQXSJ7O.js → chunk-ERXVXBTU.js} +1 -1
- package/Marketplace/chunk-EVQLTXB7.js +1 -0
- package/Marketplace/{chunk-QINTIYLK.js → chunk-FAMP5PPX.js} +1 -1
- package/Marketplace/{chunk-WMFWJNS5.js → chunk-FESS3PG3.js} +1 -1
- package/Marketplace/{chunk-WW22F76D.js → chunk-FFCWYWBW.js} +1 -1
- package/Marketplace/{chunk-ZOKAF4JQ.js → chunk-FJ455ZYZ.js} +1 -1
- package/Marketplace/{chunk-UGVEAL7H.js → chunk-FO7G4GMY.js} +1 -1
- package/Marketplace/{chunk-74U7L3IP.js → chunk-FOFXARTB.js} +1 -1
- package/Marketplace/{chunk-OC2FBL33.js → chunk-FPYZBABH.js} +1 -1
- package/Marketplace/{chunk-Z5GRNGHJ.js → chunk-FVORY74O.js} +1 -1
- package/Marketplace/{chunk-M2FCTYGU.js → chunk-FXQKRJWU.js} +1 -1
- package/Marketplace/{chunk-B5VBBEEN.js → chunk-G7T42LFR.js} +1 -1
- package/Marketplace/{chunk-AJL3CYNX.js → chunk-GH5FTODR.js} +1 -1
- package/Marketplace/{chunk-PAMSUURJ.js → chunk-GLVYOZA4.js} +1 -1
- package/Marketplace/chunk-H46SHHXR.js +1 -0
- package/Marketplace/{chunk-B5V5KFQU.js → chunk-HFCAD7GH.js} +1 -1
- package/Marketplace/{chunk-UWAXFTHD.js → chunk-HPFBJL3A.js} +1 -1
- package/Marketplace/{chunk-3LRWABHB.js → chunk-HVCIQI7B.js} +1 -1
- package/Marketplace/{chunk-GCDQNJQN.js → chunk-ID2YZPRH.js} +1 -1
- package/Marketplace/{chunk-UTCTTFIM.js → chunk-IML3KYQE.js} +1 -1
- package/Marketplace/{chunk-CIAZIJGR.js → chunk-IQ4AFE6X.js} +1 -1
- package/Marketplace/{chunk-AEOSNAHH.js → chunk-J53BPEDH.js} +1 -1
- package/Marketplace/{chunk-6JUVLRWS.js → chunk-JBNND5FL.js} +1 -1
- package/Marketplace/chunk-JFS634DA.js +1 -0
- package/Marketplace/{chunk-UYYAK364.js → chunk-JJKMVDXR.js} +1 -1
- package/Marketplace/{chunk-CMTBBXR5.js → chunk-JVNHFIYT.js} +1 -1
- package/Marketplace/{chunk-U7I4JXN6.js → chunk-KUUDZPGN.js} +1 -1
- package/Marketplace/{chunk-OAOQONOA.js → chunk-KXEADFBM.js} +1 -1
- package/Marketplace/{chunk-M6UMLTY2.js → chunk-L7EQZACZ.js} +1 -1
- package/Marketplace/{chunk-DXEJKRNB.js → chunk-L7KCZLIM.js} +1 -1
- package/Marketplace/chunk-LBXSZJDS.js +1 -0
- package/Marketplace/{chunk-HVLMIZAB.js → chunk-LCRPUAWG.js} +1 -1
- package/Marketplace/{chunk-OLOIQI4D.js → chunk-LDD4NVMB.js} +1 -1
- package/Marketplace/{chunk-KALG6D6L.js → chunk-LDPDLCRL.js} +1 -1
- package/Marketplace/{chunk-GGSB6FC2.js → chunk-LF6HWNC2.js} +1 -1
- package/Marketplace/chunk-LHX4ZOLA.js +2 -0
- package/Marketplace/chunk-LK2PMDRL.js +1 -0
- package/Marketplace/chunk-LQ2NLQKV.js +1 -0
- package/Marketplace/{chunk-E3ROEHBW.js → chunk-LRUVI2Z3.js} +1 -1
- package/Marketplace/{chunk-SB7NWPDS.js → chunk-M7V7A7Z6.js} +1 -1
- package/Marketplace/{chunk-R46PZJM7.js → chunk-MBBQZFI4.js} +1 -1
- package/Marketplace/{chunk-FIXI7CJ5.js → chunk-MMUSTFHH.js} +1 -1
- package/Marketplace/chunk-MO53T3IK.js +1 -0
- package/Marketplace/chunk-MWTFYMKY.js +1 -0
- package/Marketplace/{chunk-PAEIUO2F.js → chunk-N2SPK2VI.js} +1 -1
- package/Marketplace/{chunk-IHNN4Q2N.js → chunk-NNRBGHXB.js} +1 -1
- package/Marketplace/{chunk-W6FZQ6XT.js → chunk-OFZOAEW5.js} +1 -1
- package/Marketplace/{chunk-B7KTCPKC.js → chunk-OJMQBH6T.js} +3 -3
- package/Marketplace/{chunk-K5GEJ2GZ.js → chunk-OK3LLCAK.js} +1 -1
- package/Marketplace/{chunk-EPVCMYCI.js → chunk-OLANEXLB.js} +1 -1
- package/Marketplace/{chunk-E2SXYIML.js → chunk-ORDCBJ4G.js} +1 -1
- package/Marketplace/{chunk-2ODVHD2K.js → chunk-PFXOFSJG.js} +1 -1
- package/Marketplace/{chunk-YPWHTELF.js → chunk-PPHTN2H6.js} +1 -1
- package/Marketplace/{chunk-M6UQ3NJ3.js → chunk-PQGPOOCK.js} +1 -1
- package/Marketplace/{chunk-5JVEEL2T.js → chunk-PYXL7UF7.js} +1 -1
- package/Marketplace/{chunk-AYPY47VM.js → chunk-QBL6V7QF.js} +1 -1
- package/Marketplace/{chunk-WQ3GDXQW.js → chunk-QE3IIBDW.js} +1 -1
- package/Marketplace/{chunk-CCWNSX4Y.js → chunk-QHE3PKRD.js} +1 -1
- package/Marketplace/{chunk-AO46RPZ4.js → chunk-QK4BGDSS.js} +1 -1
- package/Marketplace/chunk-QP4C4R4W.js +1 -0
- package/Marketplace/{chunk-74IXJYWO.js → chunk-QS22J2SC.js} +1 -1
- package/Marketplace/chunk-QUKRHI5J.js +1 -0
- package/Marketplace/{chunk-SNPFU5TF.js → chunk-R7INAZCD.js} +1 -1
- package/Marketplace/{chunk-OWQ3RWNF.js → chunk-RDRNWLJI.js} +1 -1
- package/Marketplace/chunk-RHF7TPRF.js +1 -0
- package/Marketplace/{chunk-M5XGP4SG.js → chunk-RHHHL4OR.js} +1 -1
- package/Marketplace/{chunk-KPGKJKR5.js → chunk-RLBTXXCD.js} +1 -1
- package/Marketplace/{chunk-6BIM4KEI.js → chunk-RNTPX24O.js} +1 -1
- package/Marketplace/{chunk-PH6H2XX4.js → chunk-RQEQPIMI.js} +1 -1
- package/Marketplace/{chunk-M7NQID2Z.js → chunk-RTT3JVJM.js} +1 -1
- package/Marketplace/chunk-SHRLQGK3.js +1 -0
- package/Marketplace/{chunk-VPWALMDU.js → chunk-TC4JRJQL.js} +1 -1
- package/Marketplace/{chunk-E4KNET2R.js → chunk-TH6VZX34.js} +1 -1
- package/Marketplace/{chunk-WUHNNJ2C.js → chunk-TYG67JH3.js} +1 -1
- package/Marketplace/{chunk-AVT3WVH4.js → chunk-TZEINVZY.js} +1 -1
- package/Marketplace/chunk-UHJEXTOG.js +1 -0
- package/Marketplace/{chunk-ECRWEMEV.js → chunk-UHTMVOX6.js} +1 -1
- package/Marketplace/{chunk-UEPQYAWE.js → chunk-UIFPDTMW.js} +1 -1
- package/Marketplace/{chunk-GYPJGQYN.js → chunk-UML74HNB.js} +1 -1
- package/Marketplace/{chunk-D6URDVES.js → chunk-UXPULNCR.js} +1 -1
- package/Marketplace/{chunk-SN4AOGQK.js → chunk-UYLSZYOD.js} +1 -1
- package/Marketplace/{chunk-ATZ475FN.js → chunk-V3USB3ZU.js} +1 -1
- package/Marketplace/{chunk-77JJJNRM.js → chunk-V5KHEF77.js} +1 -1
- package/Marketplace/chunk-VVX6LRMW.js +1 -0
- package/Marketplace/{chunk-5OHRA4AS.js → chunk-W3JTS22H.js} +1 -1
- package/Marketplace/{chunk-JXSBFTQM.js → chunk-W5L6FMO3.js} +1 -1
- package/Marketplace/{chunk-EH6HWI3G.js → chunk-WFT47MCY.js} +1 -1
- package/Marketplace/{chunk-NS46QSCM.js → chunk-WJAE4LW2.js} +1 -1
- package/Marketplace/{chunk-MH4SJTQX.js → chunk-WLRPCY65.js} +1 -1
- package/Marketplace/{chunk-VIMB2VWB.js → chunk-WPELZYFP.js} +1 -1
- package/Marketplace/{chunk-RECNBAEB.js → chunk-WWISWZF5.js} +1 -1
- package/Marketplace/{chunk-NAT7HRBS.js → chunk-XNVULGQ3.js} +1 -1
- package/Marketplace/{chunk-6EH5RQIV.js → chunk-XP6R2ZYJ.js} +1 -1
- package/Marketplace/{chunk-5KS4WK6H.js → chunk-XXWBR6S5.js} +1 -1
- package/Marketplace/{chunk-ZQ5EGXEB.js → chunk-YIXZLIPA.js} +1 -1
- package/Marketplace/{chunk-4GW36MPQ.js → chunk-YNJPF4PB.js} +1 -1
- package/Marketplace/{chunk-3IIKX554.js → chunk-YWSUS64O.js} +1 -1
- package/Marketplace/{chunk-QJJ2WFVX.js → chunk-Z3ZYINRX.js} +1 -1
- package/Marketplace/chunk-ZBKUZ4CN.js +1 -0
- package/Marketplace/{chunk-EYBZQLBT.js → chunk-ZKXPDUO4.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-QWLBNOBB.js → main-ZZ76NVAH.js} +1 -1
- package/Marketplace/{styles-X3FXEB7T.css → styles-EW2SXTVD.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-2TXL3UEN.js +0 -1
- package/Marketplace/chunk-3OIE7ARG.js +0 -1
- package/Marketplace/chunk-3YNS3PF3.js +0 -1
- package/Marketplace/chunk-4J4NGUMH.js +0 -1
- package/Marketplace/chunk-5UGNYVSK.js +0 -1
- package/Marketplace/chunk-66N77XWP.js +0 -1
- package/Marketplace/chunk-6RKA4STM.js +0 -1
- package/Marketplace/chunk-7YA3MQOI.js +0 -1
- package/Marketplace/chunk-AQTXFEBA.js +0 -1
- package/Marketplace/chunk-BAUHJDSM.js +0 -1
- package/Marketplace/chunk-BU5LUO3S.js +0 -1
- package/Marketplace/chunk-DUEZ2ZYL.js +0 -2
- package/Marketplace/chunk-GIRXMYNI.js +0 -1
- package/Marketplace/chunk-GLZJR5RB.js +0 -1
- package/Marketplace/chunk-IT3DTSKV.js +0 -1
- package/Marketplace/chunk-L6WNU54G.js +0 -1
- package/Marketplace/chunk-LDHQNVI5.js +0 -1
- package/Marketplace/chunk-LZQRF7OP.js +0 -1
- package/Marketplace/chunk-MMLMRH2X.js +0 -1
- package/Marketplace/chunk-MS4AQ6UA.js +0 -0
- package/Marketplace/chunk-NRNXUMZX.js +0 -1
- package/Marketplace/chunk-O6GXF2YS.js +0 -4
- package/Marketplace/chunk-O75DCJY4.js +0 -1
- package/Marketplace/chunk-OPFENZ3W.js +0 -1
- package/Marketplace/chunk-P7NATRFC.js +0 -1
- package/Marketplace/chunk-QANQWW5Y.js +0 -15
- package/Marketplace/chunk-ROEKFCHJ.js +0 -2
- package/Marketplace/chunk-S25SHAFH.js +0 -5
- package/Marketplace/chunk-SLI26GUH.js +0 -1
- package/Marketplace/chunk-UBXKO4QI.js +0 -1
- package/Marketplace/chunk-UD3DLFU3.js +0 -1
- package/Marketplace/chunk-V5BKQSAT.js +0 -1
- package/Marketplace/chunk-VA7FHRY6.js +0 -2
- package/Marketplace/chunk-X3TNRXVW.js +0 -5
- package/Marketplace/chunk-YZKPQRLO.js +0 -2
- package/Marketplace/chunk-ZKZ5DIIR.js +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import{b as $a,c as $n,d as Ua,e as qa}from"./chunk-EU2KAMEK.js";import{a as q,b as ee,i as Ba}from"./chunk-66YHNWRR.js";function v(e){return typeof e=="function"}function je(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Un=je(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
2
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Je(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=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(v(r))try{r()}catch(i){t=i instanceof Un?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Wa(i)}catch(s){t=t??[],s instanceof Un?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Un(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Wa(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)&&Je(n,t)}remove(t){let{_finalizers:n}=this;n&&Je(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var jo=L.EMPTY;function qn(e){return e instanceof L||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Wa(e){v(e)?e():e.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mt={setTimeout(e,t,...n){let{delegate:r}=mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wn(e){mt.setTimeout(()=>{let{onUnhandledError:t}=le;if(t)t(e);else throw e})}function ue(){}var za=Ho("C",void 0,void 0);function Ga(e){return Ho("E",void 0,e)}function Za(e){return Ho("N",e,void 0)}function Ho(e,t,n){return{kind:e,value:t,error:n}}var Ke=null;function yt(e){if(le.useDeprecatedSynchronousErrorHandling){let t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ke;if(Ke=null,n)throw r}}else e()}function Qa(e){le.useDeprecatedSynchronousErrorHandling&&Ke&&(Ke.errorThrown=!0,Ke.error=e)}var Xe=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qn(t)&&t.add(this)):this.destination=Lf}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?$o(Za(t),this):this._next(t)}error(t){this.isStopped?$o(Ga(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$o(za,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()}}},Of=Function.prototype.bind;function Bo(e,t){return Of.call(e,t)}var Uo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){zn(r)}else zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){zn(n)}}},Se=class extends Xe{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bo(t.next,i),error:t.error&&Bo(t.error,i),complete:t.complete&&Bo(t.complete,i)}):o=t}this.destination=new Uo(o)}};function zn(e){le.useDeprecatedSynchronousErrorHandling?Qa(e):Wn(e)}function Pf(e){throw e}function $o(e,t){let{onStoppedNotification:n}=le;n&&mt.setTimeout(()=>n(e,t))}var Lf={closed:!0,next:ue,error:Pf,complete:ue};var vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function Ff(...e){return qo(e)}function qo(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=jf(n)?n:new Se(n,r,o);return yt(()=>{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=Ya(r),new r((o,i)=>{let s=new Se({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)}[vt](){return this}pipe(...n){return qo(n)(this)}toPromise(n){return n=Ya(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 Ya(e){var t;return(t=e??le.Promise)!==null&&t!==void 0?t:Promise}function Vf(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function jf(e){return e&&e instanceof Xe||Vf(e)&&qn(e)}var Ja=je(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Gn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ja}next(n){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){yt(()=>{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(){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?jo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Je(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Gn(t,n),e})(),Gn=class extends se{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:jo}};var It=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zn(e){return v(e?.then)}function Qn(e){return v(e[vt])}function Yn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Jn(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 Hf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kn=Hf();function Xn(e){return v(e?.[Kn])}function er(e){return Ua(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $n(n.read());if(o)return yield $n(void 0);yield yield $n(r)}}finally{n.releaseLock()}})}function tr(e){return v(e?.getReader)}function x(e){if(e instanceof _)return e;if(e!=null){if(Qn(e))return Bf(e);if(It(e))return $f(e);if(Zn(e))return Uf(e);if(Yn(e))return Ka(e);if(Xn(e))return qf(e);if(tr(e))return Wf(e)}throw Jn(e)}function Bf(e){return new _(t=>{let n=e[vt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $f(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Uf(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wn)})}function qf(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ka(e){return new _(t=>{zf(e,t).catch(n=>t.error(n))})}function Wf(e){return Ka(er(e))}function zf(e,t){var n,r,o,i;return $a(this,void 0,void 0,function*(){try{for(n=qa(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 W(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 Wo(e){return v(e?.lift)}function y(e){return t=>{if(Wo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new zo(e,t,n,r,o)}var zo=class extends Xe{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 nn(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>W(r,e,()=>r.next(o),t),()=>W(r,e,()=>r.complete(),t),o=>W(r,e,()=>r.error(o),t)))})}function rn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xa(e,t){return x(e).pipe(rn(t),nn(t))}function ec(e,t){return x(e).pipe(rn(t),nn(t))}function tc(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nc(e,t){return new _(n=>{let r;return W(n,t,()=>{r=e[Kn](),W(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)}),()=>v(r?.return)&&r.return()})}function nr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{W(n,t,()=>{let r=e[Symbol.asyncIterator]();W(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rc(e,t){return nr(er(e),t)}function oc(e,t){if(e!=null){if(Qn(e))return Xa(e,t);if(It(e))return tc(e,t);if(Zn(e))return ec(e,t);if(Yn(e))return nr(e,t);if(Xn(e))return nc(e,t);if(tr(e))return rc(e,t)}throw Jn(e)}function me(e,t){return t?oc(e,t):x(e)}function rr(e){return e&&v(e.schedule)}function Go(e){return e[e.length-1]}function Et(e){return v(Go(e))?e.pop():void 0}function ye(e){return rr(Go(e))?e.pop():void 0}function ic(e,t){return typeof Go(e)=="number"?e.pop():t}function Gf(...e){let t=ye(e);return me(e,t)}function He(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}function de(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=I=>l<r?h(I):c.push(I),h=I=>{i&&t.next(I),l++;let P=!1;x(n(I,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;c.length&&l<r;){let N=c.shift();s?W(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ke(e,t,n=1/0){return v(t)?ke((r,o)=>He((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>sc(r,o,e,n)))}function ac(e,t){return v(t)?ke(e,t,1):ke(e,1)}var on={now(){return(on.delegate||Date).now()},delegate:void 0};var sn=class extends se{constructor(t=1/0,n=1/0,r=on){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Qo(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return y((I,P)=>{l++,!d&&!u&&p();let N=c=c??t();P.add(()=>{l--,l===0&&!d&&!u&&(a=Zo(h,o))}),N.subscribe(P),!s&&l>0&&(s=new Se({next:ge=>N.next(ge),error:ge=>{d=!0,p(),a=Zo(f,n,ge),N.error(ge)},complete:()=>{u=!0,p(),a=Zo(f,r),N.complete()}}),x(I).subscribe(s))})(i)}}function Zo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function cc(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,Qo({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function an(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;x(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function lc(e){return y((t,n)=>{x(e).subscribe(m(n,()=>n.complete(),ue)),!n.closed&&t.subscribe(n)})}function uc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):$}function Yo(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Jo=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Wo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Yo()(this)}};var Dt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Dt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Dt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Dt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var cn=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var or=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var ln={setInterval(e,t,...n){let{delegate:r}=ln;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ve=class extends or{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 ln.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&&ln.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,Je(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Zf=1,Ko,Xo={};function dc(e){return e in Xo?(delete Xo[e],!0):!1}var fc={setImmediate(e){let t=Zf++;return Xo[t]=!0,Ko||(Ko=Promise.resolve()),Ko.then(()=>dc(t)&&e()),t},clearImmediate(e){dc(e)}};var{setImmediate:Qf,clearImmediate:Yf}=fc,un={setImmediate(...e){let{delegate:t}=un;return(t?.setImmediate||Qf)(...e)},clearImmediate(e){let{delegate:t}=un;return(t?.clearImmediate||Yf)(e)},delegate:void 0};var ir=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=un.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(un.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var wt=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)}};wt.now=on.now;var Ie=class extends wt{constructor(t,n=wt.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 sr=class extends Ie{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Jf=new sr(ir);var Ee=new Ie(ve),ei=Ee;var ar=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var cr=class extends Ie{};var Kf=new cr(ar);var lr=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Dt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Dt.cancelAnimationFrame(n),t._scheduled=void 0)}};var ur=class extends Ie{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Xf=new ur(lr);var et=new _(e=>e.complete());function ep(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function tp(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var tt=je(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function dr(e){return e instanceof Date&&!isNaN(e)}var np=je(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function rp(e,t){let{first:n,each:r,with:o=op,scheduler:i=t??Ee,meta:s=null}=dr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return y((a,c)=>{let l,u,d=null,p=0,f=h=>{u=W(c,i,()=>{try{l.unsubscribe(),x(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function op(e){throw new np(e)}var{isArray:ip}=Array;function sp(e,t){return ip(t)?e(...t):e(t)}function bt(e){return He(t=>sp(e,t))}var{isArray:ap}=Array,{getPrototypeOf:cp,prototype:lp,keys:up}=Object;function fr(e){if(e.length===1){let t=e[0];if(ap(t))return{args:t,keys:null};if(dp(t)){let n=up(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function dp(e){return e&&typeof e=="object"&&cp(e)===lp}function pr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function fp(...e){let t=ye(e),n=Et(e),{args:r,keys:o}=fr(e);if(r.length===0)return me([],t);let i=new _(pp(r,t,o?s=>pr(o,s):$));return n?i.pipe(bt(n)):i}function pp(e,t,n=$){return r=>{pc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)pc(t,()=>{let l=me(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function pc(e,t,n){e?W(n,e,t):t()}function dn(e=1/0){return ke($,e)}function hc(){return dn(1)}function hr(...e){return hc()(me(e,ye(e)))}function hp(e){return new _(t=>{x(e()).subscribe(t)})}function gp(...e){let t=Et(e),{args:n,keys:r}=fr(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;x(n[u]).subscribe(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?pr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var mp=["addListener","removeListener"],yp=["addEventListener","removeEventListener"],vp=["on","off"];function ti(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return ti(e,t,n).pipe(bt(r));let[o,i]=Dp(e)?yp.map(s=>a=>e[s](t,a,n)):Ip(e)?mp.map(gc(e,t)):Ep(e)?vp.map(gc(e,t)):[];if(!o&&It(e))return ke(s=>ti(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function gc(e,t){return n=>r=>e[n](t,r)}function Ip(e){return v(e.addListener)&&v(e.removeListener)}function Ep(e){return v(e.on)&&v(e.off)}function Dp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function fn(e=0,t,n=ei){let r=-1;return t!=null&&(rr(t)?n=t:r=t),new _(o=>{let i=dr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function wp(e=0,t=Ee){return e<0&&(e=0),fn(e,e,t)}function bp(...e){let t=ye(e),n=ic(e,1/0),r=e;return r.length?r.length===1?x(r[0]):dn(n)(me(r,t)):et}function mc(e,t){return(n,r)=>!e.call(t,n,r)}function Mp(e,t,n){return[de(t,n)(x(e)),de(mc(t,n))(x(e))]}function yc(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||x(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Cp(e,t=Ee){return yc(()=>fn(e,t))}function ni(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=x(e(s,ni(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function vc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function xp(e){return y((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ue),x(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ic(e,t=Ee){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(m(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function pn(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ri(e){return e<=0?()=>et:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Tp(){return y((e,t)=>{e.subscribe(m(t,ue))})}function _p(e,t=$){return e=e??Np,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Np(e,t){return e===t}function gr(e=Sp){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Sp(){return new tt}function kp(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}function Rp(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ap(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,ri(1),n?pn(t):gr(()=>new tt))}function oi(e){return e<=0?()=>et:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Op(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,oi(1),n?pn(t):gr(()=>new tt))}function Pp(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Ec(e,t){return y(vc(e,t,arguments.length>=2,!0))}function Lp(e){return de((t,n)=>e<=n)}function Fp(...e){let t=ye(e);return y((n,r)=>{(t?hr(e,n,t):hr(e,n)).subscribe(r)})}function Vp(e,t){return v(t)?an(()=>e,t):an(()=>e)}function jp(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Hp(...e){let t=Et(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every($))&&(s=null))},ue));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ci(e,t){return Object.is(e,t)}var H=null,mr=!1,li=1,Y=Symbol("SIGNAL");function b(e){let t=H;return H=e,t}function ui(){return H}var Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ct(e){if(mr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Dr(H),t<H.producerNode.length&&H.producerNode[t]!==e&&hn(H)){let n=H.producerNode[t];Er(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=hn(H)?wc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function Dc(){li++}function di(e){if(!(hn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===li)){if(!e.producerMustRecompute(e)&&!Ir(e)){ai(e);return}e.producerRecomputeValue(e),ai(e)}}function fi(e){if(e.liveConsumerNode===void 0)return;let t=mr;mr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Bp(n)}finally{mr=t}}function pi(){return H?.consumerAllowSignalWrites!==!1}function Bp(e){e.dirty=!0,fi(e),e.consumerMarkedDirty?.(e)}function ai(e){e.dirty=!1,e.lastCleanEpoch=li}function gn(e){return e&&(e.nextProducerIndex=0),b(e)}function vr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(hn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Er(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){Dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(di(n),r!==n.version))return!0}return!1}function mn(e){if(Dr(e),hn(e))for(let t=0;t<e.producerNode.length;t++)Er(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function wc(e,t,n){if(bc(e),e.liveConsumerNode.length===0&&Mc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=wc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Er(e,t){if(bc(e),e.liveConsumerNode.length===1&&Mc(e))for(let r=0;r<e.producerNode.length;r++)Er(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dr(o),o.producerIndexOfThis[r]=t}}function hn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function bc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Mc(e){return e.producerNode!==void 0}function wr(e,t){let n=Object.create($p);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(di(n),Ct(n),n.value===yr)throw n.error;return n.value};return r[Y]=n,r}var ii=Symbol("UNSET"),si=Symbol("COMPUTING"),yr=Symbol("ERRORED"),$p=ee(q({},Mt),{value:ii,dirty:!0,error:null,equal:ci,kind:"computed",producerMustRecompute(e){return e.value===ii||e.value===si},producerRecomputeValue(e){if(e.value===si)throw new Error("Detected cycle in computations.");let t=e.value;e.value=si;let n=gn(e),r,o=!1;try{r=e.computation(),b(null),o=t!==ii&&t!==yr&&r!==yr&&e.equal(t,r)}catch(i){r=yr,e.error=i}finally{vr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Up(){throw new Error}var Cc=Up;function xc(e){Cc(e)}function hi(e){Cc=e}var qp=null;function gi(e,t){let n=Object.create(br);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(Ct(n),n.value);return r[Y]=n,r}function xt(e,t){pi()||xc(e),e.equal(e.value,t)||(e.value=t,Wp(e))}function mi(e,t){pi()||xc(e),xt(e,t(e.value))}var br=ee(q({},Mt),{equal:ci,value:void 0,kind:"signal"});function Wp(e){e.version++,Dc(),fi(e),qp?.()}function yi(e){let t=b(null);try{return e()}finally{b(t)}}var vi;function yn(){return vi}function Re(e){let t=vi;return vi=e,t}var Mr=Symbol("NotFound");var xl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(Tl(t,n)),this.code=t}};function Qp(e){return`NG0${Math.abs(e)}`}function Tl(e,t){return`${Qp(e)}${t?": "+t:""}`}var mo=Symbol("InputSignalNode#UNSET"),_l=ee(q({},br),{transformFn:void 0,applyValueToInputSignal(e,t){xt(e,t)}});function Nl(e,t){let n=Object.create(_l);n.value=e,n.transformFn=t?.transform;function r(){if(Ct(n),n.value===mo){let o=null;throw new D(-950,o)}return n.value}return r[Y]=n,r}function An(e){return{toString:e}.toString()}var Cr="__parameters__";function Yp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Sl(e,t,n){return An(()=>{let r=Yp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Cr)?c[Cr]:Object.defineProperty(c,Cr,{value:[]})[Cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ae=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Jp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ne).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 Oi(e,t){return e?t?`${e} ${t}`:e:t||""}var Kp=R({__forward_ref__:R});function
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Je(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=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(v(r))try{r()}catch(i){t=i instanceof Un?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Wa(i)}catch(s){t=t??[],s instanceof Un?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Un(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Wa(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)&&Je(n,t)}remove(t){let{_finalizers:n}=this;n&&Je(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var jo=L.EMPTY;function qn(e){return e instanceof L||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Wa(e){v(e)?e():e.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mt={setTimeout(e,t,...n){let{delegate:r}=mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wn(e){mt.setTimeout(()=>{let{onUnhandledError:t}=le;if(t)t(e);else throw e})}function ue(){}var za=Ho("C",void 0,void 0);function Ga(e){return Ho("E",void 0,e)}function Za(e){return Ho("N",e,void 0)}function Ho(e,t,n){return{kind:e,value:t,error:n}}var Ke=null;function yt(e){if(le.useDeprecatedSynchronousErrorHandling){let t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ke;if(Ke=null,n)throw r}}else e()}function Qa(e){le.useDeprecatedSynchronousErrorHandling&&Ke&&(Ke.errorThrown=!0,Ke.error=e)}var Xe=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qn(t)&&t.add(this)):this.destination=Ff}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?$o(Za(t),this):this._next(t)}error(t){this.isStopped?$o(Ga(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$o(za,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()}}},Pf=Function.prototype.bind;function Bo(e,t){return Pf.call(e,t)}var Uo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){zn(r)}else zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){zn(n)}}},Se=class extends Xe{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bo(t.next,i),error:t.error&&Bo(t.error,i),complete:t.complete&&Bo(t.complete,i)}):o=t}this.destination=new Uo(o)}};function zn(e){le.useDeprecatedSynchronousErrorHandling?Qa(e):Wn(e)}function Lf(e){throw e}function $o(e,t){let{onStoppedNotification:n}=le;n&&mt.setTimeout(()=>n(e,t))}var Ff={closed:!0,next:ue,error:Lf,complete:ue};var vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function Vf(...e){return qo(e)}function qo(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Hf(n)?n:new Se(n,r,o);return yt(()=>{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=Ya(r),new r((o,i)=>{let s=new Se({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)}[vt](){return this}pipe(...n){return qo(n)(this)}toPromise(n){return n=Ya(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 Ya(e){var t;return(t=e??le.Promise)!==null&&t!==void 0?t:Promise}function jf(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function Hf(e){return e&&e instanceof Xe||jf(e)&&qn(e)}var Ja=je(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Gn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ja}next(n){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){yt(()=>{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(){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?jo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Je(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Gn(t,n),e})(),Gn=class extends se{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:jo}};function Zn(e){return e&&v(e.schedule)}function Wo(e){return e[e.length-1]}function It(e){return v(Wo(e))?e.pop():void 0}function me(e){return Zn(Wo(e))?e.pop():void 0}function Ka(e,t){return typeof Wo(e)=="number"?e.pop():t}var Et=e=>e&&typeof e.length=="number"&&typeof e!="function";function Qn(e){return v(e?.then)}function Yn(e){return v(e[vt])}function Jn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Kn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Bf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xn=Bf();function er(e){return v(e?.[Xn])}function tr(e){return Ua(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $n(n.read());if(o)return yield $n(void 0);yield yield $n(r)}}finally{n.releaseLock()}})}function nr(e){return v(e?.getReader)}function x(e){if(e instanceof _)return e;if(e!=null){if(Yn(e))return $f(e);if(Et(e))return Uf(e);if(Qn(e))return qf(e);if(Jn(e))return Xa(e);if(er(e))return Wf(e);if(nr(e))return zf(e)}throw Kn(e)}function $f(e){return new _(t=>{let n=e[vt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Uf(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function qf(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wn)})}function Wf(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xa(e){return new _(t=>{Gf(e,t).catch(n=>t.error(n))})}function zf(e){return Xa(tr(e))}function Gf(e,t){var n,r,o,i;return $a(this,void 0,void 0,function*(){try{for(n=qa(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 W(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 zo(e){return v(e?.lift)}function y(e){return t=>{if(zo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new Go(e,t,n,r,o)}var Go=class extends Xe{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 nn(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>W(r,e,()=>r.next(o),t),()=>W(r,e,()=>r.complete(),t),o=>W(r,e,()=>r.error(o),t)))})}function rn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ec(e,t){return x(e).pipe(rn(t),nn(t))}function tc(e,t){return x(e).pipe(rn(t),nn(t))}function nc(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function rc(e,t){return new _(n=>{let r;return W(n,t,()=>{r=e[Xn](),W(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)}),()=>v(r?.return)&&r.return()})}function rr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{W(n,t,()=>{let r=e[Symbol.asyncIterator]();W(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function oc(e,t){return rr(tr(e),t)}function ic(e,t){if(e!=null){if(Yn(e))return ec(e,t);if(Et(e))return nc(e,t);if(Qn(e))return tc(e,t);if(Jn(e))return rr(e,t);if(er(e))return rc(e,t);if(nr(e))return oc(e,t)}throw Kn(e)}function ye(e,t){return t?ic(e,t):x(e)}function Zf(...e){let t=me(e);return ye(e,t)}function He(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}function de(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=I=>l<r?h(I):c.push(I),h=I=>{i&&t.next(I),l++;let P=!1;x(n(I,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;c.length&&l<r;){let N=c.shift();s?W(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ke(e,t,n=1/0){return v(t)?ke((r,o)=>He((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>sc(r,o,e,n)))}function ac(e,t){return v(t)?ke(e,t,1):ke(e,1)}var on={now(){return(on.delegate||Date).now()},delegate:void 0};var sn=class extends se{constructor(t=1/0,n=1/0,r=on){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Qo(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return y((I,P)=>{l++,!d&&!u&&p();let N=c=c??t();P.add(()=>{l--,l===0&&!d&&!u&&(a=Zo(h,o))}),N.subscribe(P),!s&&l>0&&(s=new Se({next:ge=>N.next(ge),error:ge=>{d=!0,p(),a=Zo(f,n,ge),N.error(ge)},complete:()=>{u=!0,p(),a=Zo(f,r),N.complete()}}),x(I).subscribe(s))})(i)}}function Zo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function cc(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,Qo({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function an(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;x(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function lc(e){return y((t,n)=>{x(e).subscribe(m(n,()=>n.complete(),ue)),!n.closed&&t.subscribe(n)})}function uc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):$}function Yo(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Jo=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,zo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Yo()(this)}};var Dt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Dt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Dt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Dt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var cn=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var or=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var ln={setInterval(e,t,...n){let{delegate:r}=ln;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ve=class extends or{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 ln.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&&ln.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,Je(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Qf=1,Ko,Xo={};function dc(e){return e in Xo?(delete Xo[e],!0):!1}var fc={setImmediate(e){let t=Qf++;return Xo[t]=!0,Ko||(Ko=Promise.resolve()),Ko.then(()=>dc(t)&&e()),t},clearImmediate(e){dc(e)}};var{setImmediate:Yf,clearImmediate:Jf}=fc,un={setImmediate(...e){let{delegate:t}=un;return(t?.setImmediate||Yf)(...e)},clearImmediate(e){let{delegate:t}=un;return(t?.clearImmediate||Jf)(e)},delegate:void 0};var ir=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=un.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(un.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var wt=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)}};wt.now=on.now;var Ie=class extends wt{constructor(t,n=wt.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 sr=class extends Ie{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Kf=new sr(ir);var Ee=new Ie(ve),ei=Ee;var ar=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var cr=class extends Ie{};var Xf=new cr(ar);var lr=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Dt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Dt.cancelAnimationFrame(n),t._scheduled=void 0)}};var ur=class extends Ie{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var ep=new ur(lr);var et=new _(e=>e.complete());function tp(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function np(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var tt=je(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function dr(e){return e instanceof Date&&!isNaN(e)}var rp=je(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function op(e,t){let{first:n,each:r,with:o=ip,scheduler:i=t??Ee,meta:s=null}=dr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return y((a,c)=>{let l,u,d=null,p=0,f=h=>{u=W(c,i,()=>{try{l.unsubscribe(),x(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function ip(e){throw new rp(e)}var{isArray:sp}=Array;function ap(e,t){return sp(t)?e(...t):e(t)}function bt(e){return He(t=>ap(e,t))}var{isArray:cp}=Array,{getPrototypeOf:lp,prototype:up,keys:dp}=Object;function fr(e){if(e.length===1){let t=e[0];if(cp(t))return{args:t,keys:null};if(fp(t)){let n=dp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function fp(e){return e&&typeof e=="object"&&lp(e)===up}function pr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function pp(...e){let t=me(e),n=It(e),{args:r,keys:o}=fr(e);if(r.length===0)return ye([],t);let i=new _(hp(r,t,o?s=>pr(o,s):$));return n?i.pipe(bt(n)):i}function hp(e,t,n=$){return r=>{pc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)pc(t,()=>{let l=ye(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function pc(e,t,n){e?W(n,e,t):t()}function dn(e=1/0){return ke($,e)}function hc(){return dn(1)}function hr(...e){return hc()(ye(e,me(e)))}function gp(e){return new _(t=>{x(e()).subscribe(t)})}function mp(...e){let t=It(e),{args:n,keys:r}=fr(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;x(n[u]).subscribe(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?pr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var yp=["addListener","removeListener"],vp=["addEventListener","removeEventListener"],Ip=["on","off"];function ti(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return ti(e,t,n).pipe(bt(r));let[o,i]=wp(e)?vp.map(s=>a=>e[s](t,a,n)):Ep(e)?yp.map(gc(e,t)):Dp(e)?Ip.map(gc(e,t)):[];if(!o&&Et(e))return ke(s=>ti(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function gc(e,t){return n=>r=>e[n](t,r)}function Ep(e){return v(e.addListener)&&v(e.removeListener)}function Dp(e){return v(e.on)&&v(e.off)}function wp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function fn(e=0,t,n=ei){let r=-1;return t!=null&&(Zn(t)?n=t:r=t),new _(o=>{let i=dr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function bp(e=0,t=Ee){return e<0&&(e=0),fn(e,e,t)}function Mp(...e){let t=me(e),n=Ka(e,1/0),r=e;return r.length?r.length===1?x(r[0]):dn(n)(ye(r,t)):et}function mc(e,t){return(n,r)=>!e.call(t,n,r)}function Cp(e,t,n){return[de(t,n)(x(e)),de(mc(t,n))(x(e))]}function yc(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||x(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function xp(e,t=Ee){return yc(()=>fn(e,t))}function ni(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=x(e(s,ni(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function vc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Tp(e){return y((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ue),x(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ic(e,t=Ee){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(m(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function pn(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ri(e){return e<=0?()=>et:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function _p(){return y((e,t)=>{e.subscribe(m(t,ue))})}function Np(e,t=$){return e=e??Sp,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Sp(e,t){return e===t}function gr(e=kp){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kp(){return new tt}function Rp(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}function Ap(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Op(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,ri(1),n?pn(t):gr(()=>new tt))}function oi(e){return e<=0?()=>et:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Pp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,oi(1),n?pn(t):gr(()=>new tt))}function Lp(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Ec(e,t){return y(vc(e,t,arguments.length>=2,!0))}function Fp(e){return de((t,n)=>e<=n)}function Dc(...e){let t=me(e);return y((n,r)=>{(t?hr(e,n,t):hr(e,n)).subscribe(r)})}function Vp(e,t){return v(t)?an(()=>e,t):an(()=>e)}function jp(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Hp(...e){let t=It(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every($))&&(s=null))},ue));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ci(e,t){return Object.is(e,t)}var H=null,mr=!1,li=1,Y=Symbol("SIGNAL");function b(e){let t=H;return H=e,t}function ui(){return H}var Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ct(e){if(mr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Dr(H),t<H.producerNode.length&&H.producerNode[t]!==e&&hn(H)){let n=H.producerNode[t];Er(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=hn(H)?bc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function wc(){li++}function di(e){if(!(hn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===li)){if(!e.producerMustRecompute(e)&&!Ir(e)){ai(e);return}e.producerRecomputeValue(e),ai(e)}}function fi(e){if(e.liveConsumerNode===void 0)return;let t=mr;mr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Bp(n)}finally{mr=t}}function pi(){return H?.consumerAllowSignalWrites!==!1}function Bp(e){e.dirty=!0,fi(e),e.consumerMarkedDirty?.(e)}function ai(e){e.dirty=!1,e.lastCleanEpoch=li}function gn(e){return e&&(e.nextProducerIndex=0),b(e)}function vr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(hn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Er(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){Dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(di(n),r!==n.version))return!0}return!1}function mn(e){if(Dr(e),hn(e))for(let t=0;t<e.producerNode.length;t++)Er(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function bc(e,t,n){if(Mc(e),e.liveConsumerNode.length===0&&Cc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=bc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Er(e,t){if(Mc(e),e.liveConsumerNode.length===1&&Cc(e))for(let r=0;r<e.producerNode.length;r++)Er(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dr(o),o.producerIndexOfThis[r]=t}}function hn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Mc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Cc(e){return e.producerNode!==void 0}function wr(e,t){let n=Object.create($p);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(di(n),Ct(n),n.value===yr)throw n.error;return n.value};return r[Y]=n,r}var ii=Symbol("UNSET"),si=Symbol("COMPUTING"),yr=Symbol("ERRORED"),$p=ee(q({},Mt),{value:ii,dirty:!0,error:null,equal:ci,kind:"computed",producerMustRecompute(e){return e.value===ii||e.value===si},producerRecomputeValue(e){if(e.value===si)throw new Error("Detected cycle in computations.");let t=e.value;e.value=si;let n=gn(e),r,o=!1;try{r=e.computation(),b(null),o=t!==ii&&t!==yr&&r!==yr&&e.equal(t,r)}catch(i){r=yr,e.error=i}finally{vr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Up(){throw new Error}var xc=Up;function Tc(e){xc(e)}function hi(e){xc=e}var qp=null;function gi(e,t){let n=Object.create(br);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(Ct(n),n.value);return r[Y]=n,r}function xt(e,t){pi()||Tc(e),e.equal(e.value,t)||(e.value=t,Wp(e))}function mi(e,t){pi()||Tc(e),xt(e,t(e.value))}var br=ee(q({},Mt),{equal:ci,value:void 0,kind:"signal"});function Wp(e){e.version++,wc(),fi(e),qp?.()}function yi(e){let t=b(null);try{return e()}finally{b(t)}}var vi;function yn(){return vi}function Re(e){let t=vi;return vi=e,t}var Mr=Symbol("NotFound");var Tl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(_l(t,n)),this.code=t}};function Qp(e){return`NG0${Math.abs(e)}`}function _l(e,t){return`${Qp(e)}${t?": "+t:""}`}var mo=Symbol("InputSignalNode#UNSET"),Nl=ee(q({},br),{transformFn:void 0,applyValueToInputSignal(e,t){xt(e,t)}});function Sl(e,t){let n=Object.create(Nl);n.value=e,n.transformFn=t?.transform;function r(){if(Ct(n),n.value===mo){let o=null;throw new D(-950,o)}return n.value}return r[Y]=n,r}function An(e){return{toString:e}.toString()}var Cr="__parameters__";function Yp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function kl(e,t,n){return An(()=>{let r=Yp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Cr)?c[Cr]:Object.defineProperty(c,Cr,{value:[]})[Cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ae=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Jp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ne).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 Oi(e,t){return e?t?`${e} ${t}`:e:t||""}var Kp=R({__forward_ref__:R});function Rl(e){return e.__forward_ref__=Rl,e.toString=function(){return ne(this())},e}function U(e){return Al(e)?e():e}function Al(e){return typeof e=="function"&&e.hasOwnProperty(Kp)&&e.__forward_ref__===Rl}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xp(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return _c(e,Ol)||_c(e,Pl)}function rS(e){return yo(e)!==null}function _c(e,t){return e.hasOwnProperty(t)?e[t]:null}function eh(e){let t=e&&(e[Ol]||e[Pl]);return t||null}function Nc(e){return e&&(e.hasOwnProperty(Sc)||e.hasOwnProperty(th))?e[Sc]:null}var Ol=R({\u0275prov:R}),Sc=R({\u0275inj:R}),Pl=R({ngInjectableDef:R}),th=R({ngInjectorDef:R}),S=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=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ll(e){return e&&!!e.\u0275providers}var nh=R({\u0275cmp:R}),rh=R({\u0275dir:R}),oh=R({\u0275pipe:R}),ih=R({\u0275mod:R}),Lr=R({\u0275fac:R}),Dn=R({__NG_ELEMENT_ID__:R}),kc=R({__NG_ENV_ID__:R});function it(e){return typeof e=="string"?e:e==null?"":String(e)}function sh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():it(e)}function Fl(e,t){throw new D(-200,e)}function zs(e,t){throw new D(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),Pi;function Vl(){return Pi}function te(e){let t=Pi;return Pi=e,t}function jl(e,t,n){let r=yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;zs(e,"Injector")}var ah={},rt=ah,Li="__NG_DI_FLAG__",Fr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?Mr:rt,r)}},Vr="ngTempTokenPath",ch="ngTokenPath",lh=/\n/gm,uh="\u0275",Rc="__source";function dh(e,t=T.Default){if(yn()===void 0)throw new D(-203,!1);if(yn()===null)return jl(e,void 0,t);{let n=yn(),r;return n instanceof Fr?r=n.injector:r=n,r.get(e,t&T.Optional?null:void 0,t)}}function ie(e,t=T.Default){return(Vl()||dh)(U(e),t)}function C(e,t=T.Default){return ie(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=fh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ie(o,i))}else t.push(ie(r))}return t}function Hl(e,t){return e[Li]=t,e.prototype[Li]=t,e}function fh(e){return e[Li]}function ph(e,t,n,r){let o=e[Vr];throw t[Rc]&&o.unshift(t[Rc]),e.message=hh(`
|
|
5
5
|
`+e.message,o,n,r),e[ch]=o,e[Vr]=null,e}function hh(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
6
|
`&&e.charAt(1)==uh?e.slice(2):e;let o=ne(t);if(Array.isArray(t))o=t.map(ne).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ne(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(lh,`
|
|
7
|
-
`)}`}var Hl=jl(Sl("Optional"),8);var Bl=jl(Sl("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(Lr);return n?e[Lr]:null}function gh(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 mh(e){return e.flat(Number.POSITIVE_INFINITY)}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function $l(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function vh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function On(e,t,n){let r=Pn(e,t);return r>=0?e[r|1]=n:(r=~r,vh(e,r,t,n)),r}function Ii(e,t){let n=Pn(e,t);if(n>=0)return e[n|1]}function Pn(e,t){return Ih(e,t,1)}function Ih(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 we={},J=[],Hr=new S(""),Ul=new S("",-1),ql=new S(""),Br=class{get(t,n=rt){if(n===rt){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}};function Wl(e,t){let n=e[ih]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function qe(e){return e[nh]||null}function zl(e){return e[rh]||null}function Eh(e){return e[oh]||null}function Dh(e){return{\u0275providers:e}}function wh(...e){return{\u0275providers:Gl(!0,e),\u0275fromNgModule:!0}}function Gl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gs(t,s=>{let a=s;Vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Zl(o,i),n}function Zl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Zs(o,i=>{t(i,r)})}}function Vi(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=_c(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=_c(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Vi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Gs(i.imports,u=>{Vi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Zl(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:ql,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>ie(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Zs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Zs(e,t){for(let n of e)Pl(n)&&(n=n.\u0275providers),Array.isArray(n)?Zs(n,t):t(n)}var bh=R({provide:String,useValue:R});function Ql(e){return e!==null&&typeof e=="object"&&bh in e}function Mh(e){return!!(e&&e.useExisting)}function Ch(e){return!!(e&&e.useFactory)}function At(e){return typeof e=="function"}function xh(e){return!!e.useClass}var Yl=new S(""),kr={},Rc={},Ei;function Io(){return Ei===void 0&&(Ei=new Br),Ei}var We=class{},bn=class extends We{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,Hi(t,s=>this.processProvider(s)),this.records.set(Ul,Tt(void 0,this)),o.has("environment")&&this.records.set(We,Tt(void 0,this));let i=this.records.get(Yl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ql,J,T.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Mr:rt,r)}destroy(){In(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=Re(this),r=te(void 0),o;try{return t()}finally{Re(n),te(r)}}get(t,n=rt,r=T.Default){if(In(this),t.hasOwnProperty(Sc))return t[Sc](this);r=vo(r);let o,i=Re(this),s=te(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=kh(t)&&yo(t);l&&this.injectableDefInScope(l)?c=Tt(ji(t),kr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&T.Self?Io():this.parent;return n=r&T.Optional&&n===rt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(ne(t)),i)throw a;return ph(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Re(i)}}resolveInjectorInitializers(){let t=b(null),n=Re(this),r=te(void 0),o;try{let i=this.get(Hr,J,T.Self);for(let s of i)s()}finally{Re(n),te(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=At(t)?t:U(t&&t.provide),r=_h(t);if(!At(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Tt(void 0,kr,!0),o.factory=()=>Fi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{return n.value===Rc?Ll(ne(t)):n.value===kr&&(n.value=Rc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Sh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ji(e){let t=yo(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof S)throw new D(204,!1);if(e instanceof Function)return Th(e);throw new D(204,!1)}function Th(e){if(e.length>0)throw new D(204,!1);let n=eh(e);return n!==null?()=>n.factory(e):()=>new e}function _h(e){if(Ql(e))return Tt(void 0,e.useValue);{let t=Jl(e);return Tt(t,kr)}}function Jl(e,t,n){let r;if(At(e)){let o=U(e);return st(o)||ji(o)}else if(Ql(e))r=()=>U(e.useValue);else if(Ch(e))r=()=>e.useFactory(...Fi(e.deps||[]));else if(Mh(e))r=(o,i)=>ie(U(e.useExisting),i!==void 0&&i&T.Optional?T.Optional:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Nh(e))r=()=>new o(...Fi(e.deps));else return st(o)||ji(o)}return r}function In(e){if(e.destroyed)throw new D(205,!1)}function Tt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nh(e){return!!e.deps}function Sh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kh(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Hi(e,t){for(let n of e)Array.isArray(n)?Hi(n,t):n&&Pl(n)?Hi(n.\u0275providers,t):t(n)}function Kl(e,t){let n;e instanceof bn?(In(e),n=e):n=new Fr(e);let r,o=Re(n),i=te(void 0);try{return t()}finally{Re(o),te(i)}}function Qs(){return Fl()!==void 0||yn()!=null}function Ys(e){if(!Qs())throw new D(-203,!1)}function Rh(e){let t=Ae.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Ah(e){return typeof e=="function"}var xe=0,w=1,E=2,G=3,pe=4,oe=5,Ot=6,$r=7,j=8,Pt=9,Oe=10,O=11,Mn=12,Ac=13,Wt=14,re=15,at=16,_t=17,Pe=18,Eo=19,Xl=20,$e=21,Di=22,ct=23,ae=24,kt=25,F=26,Js=1;var lt=7,Ur=8,Lt=9,z=10;function Ue(e){return Array.isArray(e)&&typeof e[Js]=="object"}function Fe(e){return Array.isArray(e)&&e[Js]===!0}function Ks(e){return(e.flags&4)!==0}function zt(e){return e.componentOffset>-1}function Do(e){return(e.flags&1)===1}function he(e){return!!e.template}function qr(e){return(e[E]&512)!==0}function Gt(e){return(e[E]&256)===256}var Bi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function eu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var rS=(()=>{let e=()=>tu;return e.ngInherit=!0,e})();function tu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ph),Oh}function Oh(){let e=ru(this),t=e?.current;if(t){let n=e.previous;if(n===we)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ph(e,t,n,r,o){let i=this.declaredInputs[r],s=ru(e)||Lh(e,{previous:we,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Bi(l&&l.currentValue,n,c===we),eu(e,t,o,n)}var nu="__ngSimpleChanges__";function ru(e){return e[nu]||null}function Lh(e,t){return e[nu]=t}var Oc=null;var A=function(e,t=null,n){Oc?.(e,t,n)},ou="svg",Fh="math";function be(e){for(;Array.isArray(e);)e=e[xe];return e}function Vh(e){for(;Array.isArray(e);){if(typeof e[Js]=="object")return e;e=e[xe]}return null}function iu(e,t){return be(t[e])}function Te(e,t){return be(t[e.index])}function Xs(e,t){return e.data[t]}function wo(e,t){return e[t]}function ea(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Me(e,t){let n=t[e];return Ue(n)?n:n[xe]}function jh(e){return(e[E]&4)===4}function ta(e){return(e[E]&128)===128}function Hh(e){return Fe(e[G])}function ze(e,t){return t==null?null:e[t]}function su(e){e[_t]=0}function au(e){e[E]&1024||(e[E]|=1024,ta(e)&&Zt(e))}function Bh(e,t){for(;e>0;)t=t[Wt],e--;return t}function bo(e){return!!(e[E]&9216||e[ae]?.dirty)}function $i(e){e[Oe].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),bo(e)&&Zt(e)}function Zt(e){e[Oe].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ta(t)));)t=ut(t)}function cu(e,t){if(Gt(e))throw new D(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function $h(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ut(e){let t=e[G];return Fe(t)?t[G]:t}function na(e){return e[$r]??=[]}function ra(e){return e.cleanup??=[]}function Uh(e,t,n,r){let o=na(t);o.push(n),e.firstCreatePass&&ra(e).push(r,o.length-1)}var M={lFrame:mu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ui=!1;function qh(){return M.lFrame.elementDepthCount}function Wh(){M.lFrame.elementDepthCount++}function zh(){M.lFrame.elementDepthCount--}function oa(){return M.bindingsEnabled}function lu(){return M.skipHydrationRootTNode!==null}function Gh(e){return M.skipHydrationRootTNode===e}function Zh(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function k(){return M.lFrame.tView}function oS(e){return M.lFrame.contextLView=e,e[j]}function iS(e){return M.lFrame.contextLView=null,e}function Q(){let e=uu();for(;e!==null&&e.type===64;)e=e.parent;return e}function uu(){return M.lFrame.currentTNode}function Qh(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Qe(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ia(){return M.lFrame.isParent}function sa(){M.lFrame.isParent=!1}function du(){return M.lFrame.contextLView}function fu(){return Ui}function Wr(e){let t=Ui;return Ui=e,t}function ce(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yh(){return M.lFrame.bindingIndex}function Jh(e){return M.lFrame.bindingIndex=e}function Ye(){return M.lFrame.bindingIndex++}function aa(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Kh(){return M.lFrame.inI18n}function Xh(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,qi(t)}function eg(){return M.lFrame.currentDirectiveIndex}function qi(e){M.lFrame.currentDirectiveIndex=e}function pu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ca(){return M.lFrame.currentQueryIndex}function Mo(e){M.lFrame.currentQueryIndex=e}function tg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function hu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=tg(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=gu();return r.currentTNode=t,r.lView=e,!0}function la(e){let t=gu(),n=e[w];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?mu(e):t}function mu(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 yu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vu=yu;function ua(){let e=yu();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 ng(e){return(M.lFrame.contextLView=Bh(e,M.lFrame.contextLView))[j]}function _e(){return M.lFrame.selectedIndex}function dt(e){M.lFrame.selectedIndex=e}function gt(){let e=M.lFrame;return Xs(e.tView,e.selectedIndex)}function sS(){M.lFrame.currentNamespace=ou}function aS(){rg()}function rg(){M.lFrame.currentNamespace=null}function og(){return M.lFrame.currentNamespace}var Iu=!0;function Co(){return Iu}function xo(e){Iu=e}function ig(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=tu(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 da(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Rr(e,t,n){Eu(e,t,3,n)}function Ar(e,t,n,r){(e[E]&3)===n&&Eu(e,t,n,r)}function wi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Eu(e,t,n,r){let o=r!==void 0?e[_t]&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[_t]+=65536),(a<i||i==-1)&&(sg(e,n,t,c),e[_t]=(e[_t]&4294901760)+c+2),c++}function Pc(e,t){A(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),A(5,e,t)}}function sg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[_t]>>16&&(e[E]&3)===t&&(e[E]+=16384,Pc(a,i)):Pc(a,i)}var Rt=-1,ft=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function ag(e){return(e.flags&8)!==0}function cg(e){return(e.flags&16)!==0}function lg(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];ug(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Du(e){return e===3||e===4||e===6}function ug(e){return e.charCodeAt(0)===64}function Ft(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?Lc(e,n,o,null,t[++r]):Lc(e,n,o,null,null))}}return e}function Lc(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 wu(e){return e!==Rt}function zr(e){return e&32767}function dg(e){return e>>16}function Gr(e,t){let n=dg(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var Wi=!0;function Zr(e){let t=Wi;return Wi=e,t}var fg=256,bu=fg-1,Mu=5,pg=0,De={};function hg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=pg++);let o=r&bu,i=1<<o;t.data[e+(o>>Mu)]|=i}function Qr(e,t){let n=Cu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,bi(r.data,e),bi(t,null),bi(r.blueprint,null));let o=fa(e,t),i=e.injectorIndex;if(wu(o)){let s=zr(o),a=Gr(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fa(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=Su(o),r===null)return Rt;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Rt}function zi(e,t,n){hg(e,t,n)}function gg(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(Du(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 xu(e,t,n){if(n&T.Optional||e!==void 0)return e;zs(t,"NodeInjector")}function Tu(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[Pt],i=te(void 0);try{return o?o.get(t,r,n&T.Optional):Vl(t,r,n&T.Optional)}finally{te(i)}}return xu(r,t,n)}function _u(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Ig(e,t,n,r,De);if(s!==De)return s}let i=Nu(e,t,n,r,De);if(i!==De)return i}return Tu(t,n,r,o)}function Nu(e,t,n,r,o){let i=yg(n);if(typeof i=="function"){if(!hu(t,e,r))return r&T.Host?xu(o,n,r):Tu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))zs(n);else return s}finally{vu()}}else if(typeof i=="number"){let s=null,a=Cu(e,t),c=Rt,l=r&T.Host?t[re][oe]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?fa(e,t):t[a+8],c===Rt||!Vc(r,!1)?a=-1:(s=t[w],a=zr(c),t=Gr(c,t)));a!==-1;){let u=t[w];if(Fc(i,a,u.data)){let d=mg(a,t,n,s,r,l);if(d!==De)return d}c=t[a+8],c!==Rt&&Vc(r,t[w].data[a+8]===l)&&Fc(i,a,t)?(s=u,a=zr(c),t=Gr(c,t)):a=-1}}return o}function mg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?zt(a)&&Wi:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Or(a,s,n,c,l);return u!==null?Cn(t,s,u,a,o):De}function Or(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&he(f)&&f.type===n)return c}return null}function Cn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof ft){let a=i;a.resolving&&Ll(sh(s[n]));let c=Zr(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?te(a.injectImpl):null,d=hu(e,r,T.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&ig(n,s[n],t)}finally{u!==null&&te(u),Zr(c),a.resolving=!1,vu()}}return i}function yg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&bu:vg:t}function Fc(e,t,n){let r=1<<e;return!!(n[t+(e>>Mu)]&r)}function Vc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var ot=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _u(this._tNode,this._lView,t,vo(r),n)}};function vg(){return new ot(Q(),g())}function cS(e){return An(()=>{let t=e.prototype.constructor,n=t[Lr]||Gi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lr]||Gi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gi(e){return Rl(e)?()=>{let t=Gi(U(e));return t&&t()}:st(e)}function Ig(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!qr(s);){let a=Nu(i,s,n,r|T.Self,De);if(a!==De)return a;let c=i.parent;if(!c){let l=s[Xl];if(l){let u=l.get(n,De,r);if(u!==De)return u}c=Su(s),s=s[Wt]}i=c}return o}function Su(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function Eg(e){return gg(Q(),e)}function jc(e,t=null,n=null,r){let o=ku(e,t,n,r);return o.resolveInjectorInitializers(),o}function ku(e,t=null,n=null,r,o=new Set){let i=[n||J,wh(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new bn(i,t||Io(),r||null,o)}var Ce=class e{static THROW_IF_NOT_FOUND=rt;static NULL=new Br;static create(t,n){if(Array.isArray(t))return jc({name:""},n,t,"");{let r=t.name??"";return jc({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>ie(Ul)});static __NG_ELEMENT_ID__=-1};var Hc=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Eg(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Dg=new S("");Dg.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new D(204,!1)};var Ru=!1,Qt=(()=>{class e{static __NG_ELEMENT_ID__=wg;static __NG_ENV_ID__=n=>n}return e})(),Yr=class extends Qt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Gt(n)?(t(),()=>{}):(cu(n,t),()=>$h(n,t))}};function wg(){return new Yr(g())}var Ge=class{},Au=new S("",{providedIn:"root",factory:()=>!1});var Ou=new S(""),Pu=new S(""),Ln=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new cn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),lS=(()=>{class e{internalPendingTasks=C(Ln);scheduler=C(Ge);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return Ba(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zi=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Qs()&&(this.destroyRef=C(Qt,{optional:!0})??void 0,this.pendingTasks=C(Ln,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 L&&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)}})}}},Be=Zi;function xn(...e){}function Lu(e){let t,n;function r(){e=xn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Bc(e){return queueMicrotask(()=>e()),()=>{e=xn}}var pa="isAngularZone",Jr=pa+"_ID",bg=0,K=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ru}=t;if(typeof Zone>"u")throw new D(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,xg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,Mg,xn,xn);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)}},Mg={};function ha(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 Cg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Lu(()=>{e.callbackScheduled=!1,Qi(e),e.isCheckStableRunning=!0,ha(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Qi(e)}function xg(e){let t=()=>{Cg(e)},n=bg++;e._inner=e._inner.fork({name:"angular",properties:{[pa]:!0,[Jr]:n,[Jr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Tg(c))return r.invokeTask(i,s,a,c);try{return $c(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Uc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return $c(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_g(c)&&t(),Uc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Qi(e),ha(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 Qi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $c(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Uc(e){e._nesting--,ha(e)}var Kr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;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 Tg(e){return Fu(e,"__ignore_ng_zone__")}function _g(e){return Fu(e,"__scheduler_tick__")}function Fu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Ng(e="zone.js",t){return e==="noop"?new Kr:e==="zone.js"?new K(t):e}var Ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Sg=new S("",{providedIn:"root",factory:()=>{let e=C(K),t=C(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Xr=class{destroyed=!1;listeners=null;errorHandler=C(Ze,{optional:!0});destroyRef=C(Qt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(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(Tl(953,!1));return}if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function uS(e){return new Xr}function qc(e,t){return Nl(e,t)}function kg(e){return Nl(mo,e)}var dS=(qc.required=kg,qc);function Rg(){return Yt(Q(),g())}function Yt(e,t){return new To(Te(e,t))}var To=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Rg}return e})();function Vu(e){return e instanceof To?e.nativeElement:e}function Ag(e){return typeof e=="function"&&e[Y]!==void 0}function Og(e,t){let n=gi(e,t?.equal),r=n[Y];return n.set=o=>xt(r,o),n.update=o=>mi(r,o),n.asReadonly=ju.bind(n),n}function ju(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}function Hu(e){return Ag(e)&&typeof e.set=="function"}function Pg(){return this._results[Symbol.iterator]()}var Yi=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 se}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=mh(t);(this._changesDetected=!gh(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]=Pg};function Bu(e){return(e.flags&128)===128}var $u=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}($u||{}),Uu=new Map,Lg=0;function Fg(){return Lg++}function Vg(e){Uu.set(e[Eo],e)}function Ji(e){Uu.delete(e[Eo])}var Wc="__ngContext__";function Jt(e,t){Ue(t)?(e[Wc]=t[Eo],Vg(t)):e[Wc]=t}function qu(e){return zu(e[Mn])}function Wu(e){return zu(e[pe])}function zu(e){for(;e!==null&&!Fe(e);)e=e[pe];return e}var Ki;function fS(e){Ki=e}function Gu(){if(Ki!==void 0)return Ki;if(typeof document<"u")return document;throw new D(210,!1)}var pS=new S("",{providedIn:"root",factory:()=>jg}),jg="ng",Hg=new S(""),hS=new S("",{providedIn:"platform",factory:()=>"unknown"});var gS=new S(""),mS=new S("",{providedIn:"root",factory:()=>Gu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bg={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},yS=new S("",{providedIn:"root",factory:()=>Bg});var $g="h",Ug="b";var Zu=!1,qg=new S("",{providedIn:"root",factory:()=>Zu});var ga=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ga||{}),_o=new S(""),zc=new Set;function Kt(e){zc.has(e)||(zc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ma=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Wg}return e})();function Wg(){return new ma(g(),Q())}var Nt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Nt||{}),Qu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),zg=[Nt.EarlyRead,Nt.Write,Nt.MixedReadWrite,Nt.Read],Gg=(()=>{class e{ngZone=C(K);scheduler=C(Ge);errorHandler=C(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(_o,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of zg)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&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[kt]??=[]).push(n),Zt(r),r[E]|=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(ga.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xi=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?.[kt];t&&(this.view[kt]=t.filter(n=>n!==this))}};function Zg(e,t){!t?.injector&&Ys(Zg);let n=t?.injector??C(Ce);return Kt("NgAfterRender"),Yu(e,n,t,!1)}function Qg(e,t){!t?.injector&&Ys(Qg);let n=t?.injector??C(Ce);return Kt("NgAfterNextRender"),Yu(e,n,t,!0)}function Yg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Yu(e,t,n,r){let o=t.get(Qu);o.impl??=t.get(Gg);let i=t.get(_o,null,{optional:!0}),s=n?.phase??Nt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Qt):null,c=t.get(ma,null,{optional:!0}),l=new Xi(o.impl,Yg(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Jg=(e,t,n,r)=>{};function Kg(e,t,n,r){Jg(e,t,n,r)}var Xg=()=>null;function Ju(e,t,n=!1){return Xg(e,t,n)}function Ku(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];Mo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function es(e,t,n){Mo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ya(e,t,n){if(Ks(t)){let r=b(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{b(r)}}}var Tn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Tn||{}),xr;function em(){if(xr===void 0&&(xr=null,Ae.trustedTypes))try{xr=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function No(e){return em()?.createHTML(e)||e}var Tr;function Xu(){if(Tr===void 0&&(Tr=null,Ae.trustedTypes))try{Tr=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tr}function Gc(e){return Xu()?.createHTML(e)||e}function Zc(e){return Xu()?.createScriptURL(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xl})`}},ts=class extends Le{getTypeName(){return"HTML"}},ns=class extends Le{getTypeName(){return"Style"}},rs=class extends Le{getTypeName(){return"Script"}},os=class extends Le{getTypeName(){return"URL"}},is=class extends Le{getTypeName(){return"ResourceURL"}};function Xt(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function va(e,t){let n=tm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${xl})`)}return n===t}function tm(e){return e instanceof Le&&e.getTypeName()||null}function vS(e){return new ts(e)}function IS(e){return new ns(e)}function ES(e){return new rs(e)}function DS(e){return new os(e)}function wS(e){return new is(e)}function nm(e){let t=new as(e);return rm()?new ss(t):t}var ss=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(No(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},as=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=No(t),n}};function rm(){try{return!!new window.DOMParser().parseFromString(No(""),"text/html")}catch{return!1}}var om=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ed(e){return e=String(e),e.match(om)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var td=Ve("area,br,col,hr,img,wbr"),nd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rd=Ve("rp,rt"),im=Fn(rd,nd),sm=Fn(nd,Ve("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")),am=Fn(rd,Ve("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")),Qc=Fn(td,sm,am,im),od=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ve("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"),lm=Ve("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"),um=Fn(od,cm,lm),dm=Ve("script,style,template"),cs=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=hm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=pm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Yc(t).toLowerCase();if(!Qc.hasOwnProperty(n))return this.sanitizedSomething=!0,!dm.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(!um.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;od[a]&&(c=ed(c)),this.buf.push(" ",s,'="',Jc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Yc(t).toLowerCase();Qc.hasOwnProperty(n)&&!td.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Jc(t))}};function fm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw id(t);return t}function hm(e){let t=e.firstChild;if(t&&fm(e,t))throw id(t);return t}function Yc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function id(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mm=/([^\#-~ |!])/g;function Jc(e){return e.replace(/&/g,"&").replace(gm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var _r;function ym(e,t){let n=null;try{_r=_r||nm(e);let r=t?String(t):"";n=_r.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=_r.getInertBodyElement(r)}while(r!==i);let a=new cs().sanitizeChildren(Kc(n)||n);return No(a)}finally{if(n){let r=Kc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Kc(e){return"content"in e&&vm(e)?e.content:null}function vm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var So=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}(So||{});function bS(e){let t=Ia();return t?Gc(t.sanitize(So.HTML,e)||""):va(e,"HTML")?Gc(Xt(e)):ym(Gu(),it(e))}function Im(e){let t=Ia();return t?t.sanitize(So.URL,e)||"":va(e,"URL")?Xt(e):ed(it(e))}function Em(e){let t=Ia();if(t)return Zc(t.sanitize(So.RESOURCE_URL,e)||"");if(va(e,"ResourceURL"))return Zc(Xt(e));throw new D(904,!1)}function Dm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Em:Im}function MS(e,t,n){return Dm(t,n)(e)}function Ia(){let e=g();return e&&e[Oe].sanitizer}var wm=/^>|^->|<!--|-->|--!>|<!-$/g,bm=/(<|>)/g,Mm="\u200B$1\u200B";function Cm(e){return e.replace(wm,t=>t.replace(bm,Mm))}function sd(e){return e instanceof Function?e():e}function xm(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 ad="ng-template";function Tm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&xm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ea(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 Ea(e){return e.type===4&&e.value!==ad}function _m(e,t,n){let r=e.type===4&&!n?ad:e.value;return t===r}function Nm(e,t,n){let r=4,o=e.attrs,i=o!==null?Rm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!fe(r)&&!fe(c))return!1;if(s&&fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!_m(e,c,n)||c===""&&t.length===1){if(fe(r))return!1;s=!0}}else if(r&8){if(o===null||!Tm(e,o,c,n)){if(fe(r))return!1;s=!0}}else{let l=t[++a],u=Sm(c,o,Ea(e),n);if(u===-1){if(fe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(e){return(e&1)===0}function Sm(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 Am(t,e)}function cd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Nm(e,t[r],n))return!0;return!1}function km(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Rm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Du(n))return t}return e.length}function Am(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 Om(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 Xc(e,t){return e?":not("+t.trim()+")":t}function Pm(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!==""&&!fe(s)&&(t+=Xc(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(t+=Xc(i,o)),t}function Lm(e){return e.map(Pm).join(",")}function Fm(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(!fe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={};function Vm(e,t){return e.createText(t)}function jm(e,t,n){e.setValue(t,n)}function Hm(e,t){return e.createComment(Cm(t))}function ld(e,t,n){return e.createElement(t,n)}function eo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ud(e,t,n){e.appendChild(t,n)}function el(e,t,n,r,o){r!==null?eo(e,t,n,r,o):ud(e,t,n)}function Bm(e,t,n){e.removeChild(null,t,n)}function $m(e,t,n){e.setAttribute(t,"style",n)}function Um(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function dd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&lg(e,t,r),o!==null&&Um(e,t,o),i!==null&&$m(e,t,i)}function Da(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=qm(d,p),h=typeof l=="function"?l():l;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function qm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function Wm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Da(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[xe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),su(d),d[G]=d[Wt]=e,d[j]=n,d[Oe]=s||e&&e[Oe],d[O]=a||e&&e[O],d[Pt]=c||e&&e[Pt]||null,d[oe]=i,d[Eo]=Fg(),d[Ot]=u,d[Xl]=l,d[re]=t.type==2?e[re]:d,d}function zm(e,t,n){let r=Te(t,e),o=Wm(n),i=e[Oe].rendererFactory,s=ba(e,wa(e,o,null,fd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function fd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function pd(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 ba(e,t){return e[Mn]?e[Ac][pe]=t:e[Mn]=t,e[Ac]=t,t}function CS(e=1){hd(k(),g(),_e()+e,!1)}function hd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ar(t,i,0,n)}dt(n)}var ko=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ko||{});function ls(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ko.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):eu(t,c,i,r)}finally{b(o)}}function gd(e,t,n,r,o){let i=_e(),s=r&2;try{dt(-1),s&&t.length>F&&hd(e,t,F,!1),A(s?2:0,o),n(r,o)}finally{dt(i),A(s?3:1,o)}}function Ro(e,t,n){Km(e,t,n),(n.flags&64)===64&&Xm(e,t,n)}function Ma(e,t,n=Te){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 Gm(e,t,n,r){let i=r.get(qg,Zu)||n===Tn.ShadowDom,s=e.selectRootElement(t,i);return Zm(s),s}function Zm(e){Qm(e)}var Qm=()=>null;function Ym(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function en(e,t,n,r,o,i,s,a){if(!a&&xa(t,e,n,r,o)){zt(t)&&Jm(n,t.index);return}if(t.type&3){let c=Te(t,n);r=Ym(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Jm(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Km(e,t,n){let r=n.directiveStart,o=n.directiveEnd;zt(n)&&zm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Qr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(Jt(c,t),i!==null&&ry(t,s-r,c,a,n,i),he(a)){let l=Me(n.index,t);l[j]=Cn(t,e,s,n)}}}function Xm(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=eg();try{dt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];qi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ey(c,l)}}finally{dt(-1),qi(s)}}function ey(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ca(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];cd(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function ty(e,t,n,r,o,i){let s=Te(e,t);ny(t[O],s,i,e.value,n,r,o)}function ny(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?it(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ry(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],l=s[a+1];ls(r,n,c,l)}}function oy(e,t,n){return(e===null||he(e))&&(n=Vh(n[t.index])),n[O]}function iy(e,t){let n=e[Pt],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function xa(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 l=s[c],u=s[c+1],d=t.data[l];ls(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ls(u,l,r,o),a=!0}return a}function sy(e,t){let n=Me(t,e),r=n[w];ay(r,n);let o=n[xe];o!==null&&n[Ot]===null&&(n[Ot]=Ju(o,n[Pt])),A(18),Ta(r,n,n[j]),A(19,n[j])}function ay(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ta(e,t,n){la(t);try{let r=e.viewQuery;r!==null&&es(1,r,n);let o=e.template;o!==null&&gd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&Ku(e,t),e.staticViewQueries&&es(2,e.viewQuery,n);let i=e.components;i!==null&&cy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,ua()}}function cy(e,t){for(let n=0;n<t.length;n++)sy(e,t[n])}function Vn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=wa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),Ta(i,c,n),c}finally{b(o)}}function Vt(e,t){return!t||t.firstChild===null||Bu(e)}var ly;function _a(e,t){return ly(e,t)}var us=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(us||{});function Na(e){return(e.flags&32)===32}function St(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Ue(r)&&(s=!0,r=r[xe]);let a=be(r);e===0&&n!==null?o==null?ud(t,n,a):eo(t,n,a,o||null,!0):e===1&&n!==null?eo(t,n,a,o||null,!0):e===2?Bm(t,a,s):e===3&&t.destroyNode(a),i!=null&&Iy(t,e,i,n,o)}}function uy(e,t){md(e,t),t[xe]=null,t[oe]=null}function dy(e,t,n,r,o,i){r[xe]=o,r[oe]=t,Po(e,r,n,1,o,i)}function md(e,t){t[Oe].changeDetectionScheduler?.notify(9),Po(e,t,t[O],2,null,null)}function fy(e){let t=e[Mn];if(!t)return Mi(e[w],e);for(;t;){let n=null;if(Ue(t))n=t[Mn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Ue(t)&&Mi(t[w],t),t=t[G];t===null&&(t=e),Ue(t)&&Mi(t[w],t),n=t&&t[pe]}t=n}}function Sa(e,t){let n=e[Lt],r=n.indexOf(t);n.splice(r,1)}function Ao(e,t){if(Gt(t))return;let n=t[O];n.destroyNode&&Po(e,t,n,3,null,null),fy(t)}function Mi(e,t){if(Gt(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[ae]&&mn(t[ae]),hy(e,t),py(e,t),t[w].type===1&&t[O].destroy();let r=t[at];if(r!==null&&Fe(t[G])){r!==t[G]&&Sa(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Ji(t)}finally{b(n)}}function py(e,t){let n=e.cleanup,r=t[$r];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[$r]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function hy(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 ft)){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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function yd(e,t,n){return gy(e,t.parent,n)}function gy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[xe];if(zt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Tn.None||o===Tn.Emulated)return null}return Te(r,n)}function vd(e,t,n){return yy(e,t,n)}function my(e,t,n){return e.type&40?Te(e,n):null}var yy=my,tl;function Oo(e,t,n,r){let o=yd(e,r,t),i=t[O],s=r.parent||t[oe],a=vd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)el(i,o,n[c],a,!1);else el(i,o,n,a,!1);tl!==void 0&&tl(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return Te(t,e);if(n&4)return ds(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Fe(o)?ds(-1,o):be(o)}}else{if(n&128)return En(e,t.next);if(n&32)return _a(t,e)()||be(e[t.index]);{let r=Id(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[re]);return En(o,r)}else return En(e,t.next)}}}return null}function Id(e,t){if(t!==null){let r=e[re][oe],o=t.projection;return r.projection[o]}return null}function ds(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return En(r,o)}return t[lt]}function ka(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Jt(be(a),r),n.flags|=2),!Na(n))if(c&8)ka(e,t,n.child,r,o,i,!1),St(t,e,o,a,i);else if(c&32){let l=_a(n,r),u;for(;u=l();)St(t,e,o,u,i);St(t,e,o,a,i)}else c&16?Ed(e,t,r,n,o,i):St(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Po(e,t,n,r,o,i){ka(n,r,e.firstChild,t,o,i,!1)}function vy(e,t,n){let r=t[O],o=yd(e,n,t),i=n.parent||t[oe],s=vd(i,n,t);Ed(r,0,t,n,o,s)}function Ed(e,t,n,r,o,i){let s=n[re],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];St(t,e,o,u,i)}else{let l=c,u=s[G];Bu(r)&&(l.flags|=128),ka(e,t,l,u,o,i,!0)}}function Iy(e,t,n,r,o){let i=n[lt],s=be(n);i!==s&&St(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];Po(c[w],c,e,t,r,i)}}function Ey(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:us.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=us.Important),e.setStyle(n,r,o,i))}}function to(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(be(i)),Fe(i)&&Dy(i,r);let s=n.type;if(s&8)to(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Id(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[re]);to(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dy(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&to(r[w],r,o,t)}e[lt]!==e[xe]&&t.push(e[lt])}function Dd(e){if(e[kt]!==null){for(let t of e[kt])t.impl.addSequence(t);e[kt].length=0}}var wd=[];function wy(e){return e[ae]??by(e)}function by(e){let t=wd.pop()??Object.create(Cy);return t.lView=e,t}function My(e){e.lView[ae]!==e&&(e.lView=null,wd.push(e))}var Cy=ee(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Zt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function xy(e){let t=e[ae]??Object.create(Ty);return t.lView=e,t}var Ty=ee(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!bd(t[w]);)t=ut(t);t&&au(t)},consumerOnSignalRead(){this.lView[ae]=this}});function bd(e){return e.type!==2}function Md(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var _y=100;function Cd(e,t=!0,n=0){let o=e[Oe].rendererFactory,i=!1;i||o.begin?.();try{Ny(e,n)}catch(s){throw t&&iy(e,s),s}finally{i||o.end?.()}}function Ny(e,t){let n=fu();try{Wr(!0),fs(e,t);let r=0;for(;bo(e);){if(r===_y)throw new D(103,!1);r++,fs(e,1)}}finally{Wr(n)}}function Sy(e,t,n,r){if(Gt(t))return;let o=t[E],i=!1,s=!1;la(t);let a=!0,c=null,l=null;i||(bd(e)?(l=wy(t),c=gn(l)):ui()===null?(a=!1,l=xy(t),c=gn(l)):t[ae]&&(mn(t[ae]),t[ae]=null));try{su(t),Jh(e.bindingStartIndex),n!==null&&gd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ar(t,f,0,null),wi(t,0)}if(s||ky(t),Md(t),xd(t,0),e.contentQueries!==null&&Ku(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Ar(t,f,1),wi(t,1)}Ay(e,t);let d=e.components;d!==null&&_d(t,d,0);let p=e.viewQuery;if(p!==null&&es(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Ar(t,f,2),wi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Di]){for(let f of t[Di])f();t[Di]=null}i||(Dd(t),t[E]&=-73)}catch(u){throw i||Zt(t),u}finally{l!==null&&(vr(l,c),a&&My(l)),ua()}}function xd(e,t){for(let n=qu(e);n!==null;n=Wu(n))for(let r=z;r<n.length;r++){let o=n[r];Td(o,t)}}function ky(e){for(let t=qu(e);t!==null;t=Wu(t)){if(!(t[E]&2))continue;let n=t[Lt];for(let r=0;r<n.length;r++){let o=n[r];au(o)}}}function Ry(e,t,n){A(18);let r=Me(t,e);Td(r,n),A(19,r[j])}function Td(e,t){ta(e)&&fs(e,t)}function fs(e,t){let r=e[w],o=e[E],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ir(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)Sy(r,e,r.template,e[j]);else if(o&8192){Md(e),xd(e,1);let a=r.components;a!==null&&_d(e,a,1),Dd(e)}}function _d(e,t,n){for(let r=0;r<t.length;r++)Ry(e,t[r],n)}function Ay(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)dt(~o);else{let i=o,s=n[++r],a=n[++r];Xh(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{dt(-1)}}function Ra(e,t){let n=fu()?64:1088;for(e[Oe].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=ut(e);if(qr(e)&&!r)return e;e=r}return null}function Nd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Sd(e,t){let n=z+t;if(n<e.length)return e[n]}function jn(e,t,n,r=!0){let o=t[w];if(Oy(o,t,e,n),r){let s=ds(n,e),a=t[O],c=a.parentNode(e[lt]);c!==null&&dy(o,e[oe],a,t,c,s)}let i=t[Ot];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function kd(e,t){let n=_n(e,t);return n!==void 0&&Ao(n[w],n),n}function _n(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&Sa(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=jr(e,z+t);uy(r[w],r);let s=i[Pe];s!==null&&s.detachView(i[w]),r[G]=null,r[pe]=null,r[E]&=-129}return r}function Oy(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-z?(t[pe]=n[o],$l(n,z+r,t)):(n.push(t),t[pe]=null),t[G]=n;let s=t[at];s!==null&&n!==s&&Rd(s,t);let a=t[Pe];a!==null&&a.insertView(e),$i(t),t[E]|=128}function Rd(e,t){let n=e[Lt],r=t[G];if(Ue(r))e[E]|=2;else{let o=r[G][re];t[re]!==o&&(e[E]|=2)}n===null?e[Lt]=[t]:n.push(t)}var Nn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return to(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Fe(t)){let n=t[Ur],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),jr(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[w],this._lView)}onDestroy(t){cu(this._lView,t)}markForCheck(){Ra(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){$i(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Cd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qr(this._lView),n=this._lView[at];n!==null&&!t&&Sa(n,this._lView),md(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=qr(this._lView),r=this._lView[at];r!==null&&!n&&Rd(r,this._lView),$i(this._lView)}};var no=(()=>{class e{static __NG_ELEMENT_ID__=Fy}return e})(),Py=no,Ly=class extends Py{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nn(o)}};function Fy(){return Lo(Q(),g())}function Lo(e,t){return e.type&4?new Ly(t,e,Yt(e,t)):null}function tn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Vy(e,t,n,r,o),Kh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Qh();i.injectorIndex=s===null?-1:s.injectorIndex}return Qe(i,!0),i}function Vy(e,t,n,r,o){let i=uu(),s=ia(),a=s?i:i&&i.parent,c=e.data[t]=Hy(e,a,n,t,r,o);return jy(e,c,i,s),c}function jy(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 Hy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return lu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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}}var _S=new RegExp(`^(\\d+)*(${Ug}|${$g})*(.*)`);var By=()=>null;function jt(e,t){return By(e,t)}var $y=class{},Ad=class{},ps=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ne(t)}.`)}},Fo=class{static NULL=new ps},ro=class{},RS=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Uy()}return e})();function Uy(){let e=g(),t=Q(),n=Me(t.index,e);return(Ue(n)?n:e)[O]}var qy=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var Ci={},hs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Ci,r);return o!==Ci||n===Ci?o:this.parentInjector.get(t,n,r)}};function gs(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=Oi(o,a);else if(i==2){let c=a,l=t[++s];r=Oi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Vo(e,t=T.Default){let n=g();if(n===null)return ie(e,t);let r=Q();return _u(r,n,U(e),t)}function AS(){let e="invalid";throw new Error(e)}function Aa(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=zy(s);u===null?a=s:[a,c,l]=u,Qy(e,t,n,a,i,c,l)}i!==null&&r!==null&&Wy(n,r,i)}function Wy(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 D(-301,!1);r.push(t[o],i)}}function zy(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Gy(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Gy(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Zy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qy(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&he(f)&&(c=!0,Zy(e,n,p)),zi(Qr(n,t),e,f.type)}tv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=pd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Ft(n.mergedAttrs,f.hostAttrs),Jy(e,n,t,d,f),ev(d,f,o),s!==null&&s.has(f)){let[I,P]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,P+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;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Yy(e,n,i)}function Yy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))nl(0,t,o,r),nl(1,t,o,r),ol(t,r,!1);else{let i=n.get(o);rl(0,t,i,r),rl(1,t,i,r),ol(t,r,!0)}}}function nl(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),Od(t,i)}}function rl(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),Od(t,s)}}function Od(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function ol(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ea(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 l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Jy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new ft(i,he(o),Vo);e.blueprint[r]=s,n[r]=s,Ky(e,t,r,pd(e,n,o.hostVars,X),o)}function Ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Xy(s)!=a&&s.push(a),s.push(n,r,i)}}function Xy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ev(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function tv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pd(e,t,n,r,o,i,s,a){let c=t.consts,l=ze(c,s),u=tn(t,e,2,r,l);return i&&Aa(t,n,u,ze(c,a),o),u.mergedAttrs=Ft(u.mergedAttrs,u.attrs),u.attrs!==null&&gs(u,u.attrs,!1),u.mergedAttrs!==null&&gs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Ld(e,t){da(e,t),Ks(t)&&e.queries.elementEnd(t)}var oo=class extends Fo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new pt(n,this.ngModule)}};function nv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ko.SignalBased)!==0};return o&&(i.transform=o),i})}function rv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function ov(e,t,n){let r=t instanceof We?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new hs(n,r):n}function iv(e){let t=e.get(ro,null);if(t===null)throw new D(407,!1);let n=e.get(qy,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function sv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return ld(t,n,n==="svg"?ou:n==="math"?Fh:null)}var pt=class extends Ad{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=nv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=rv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Lm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:Fm(this.componentDef.selectors[0]),c=Da(0,null,null,1,0,null,null,null,null,[a],null),l=ov(s,o||this.ngModule,t),u=iv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Gm(d,r,s.encapsulation,l):sv(s,d),f=wa(null,c,null,512|fd(s),null,null,u,d,l,null,Ju(p,l,!0));f[F]=p,la(f);let h=null;try{let I=Pd(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(dd(d,p,I),Jt(p,f)),Ro(c,f,I),ya(c,I,f),Ld(c,I),n!==void 0&&av(I,this.ngContentSelectors,n),h=Me(I.index,f),f[j]=h[j],Ta(c,f,null)}catch(I){throw h!==null&&Ji(h),Ji(f),I}finally{A(23),ua()}return new ms(this.componentType,f)}finally{b(i)}}},ms=class extends $y{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Xs(n[w],F),this.location=Yt(this._tNode,n),this.instance=Me(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Nn(n,void 0,!1),this.componentType=t}setInput(t,n){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=xa(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);Ra(s,1)}get injector(){return new ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function av(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 Oa=(()=>{class e{static __NG_ELEMENT_ID__=cv}return e})();function cv(){let e=Q();return Vd(e,g())}var lv=Oa,Fd=class extends lv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ot(this._hostTNode,this._hostLView)}get parentInjector(){let t=fa(this._hostTNode,this._hostLView);if(wu(t)){let n=Gr(t,this._hostLView),r=zr(t),o=n[w].data[r+8];return new ot(o,n)}else return new ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=il(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Vt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Ah(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new pt(qe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let I=(s?l:this.parentInjector).get(We,null);I&&(i=I)}let u=qe(c.componentType??{}),d=jt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Vt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Hh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Fd(c,c[oe],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return jn(s,o,i,r),t.attachToViewContainerRef(),$l(xi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=il(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(jr(xi(this._lContainer),n),Ao(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&jr(xi(this._lContainer),n)!=null?new Nn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function il(e){return e[Ur]}function xi(e){return e[Ur]||(e[Ur]=[])}function Vd(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Nd(r,t,null,e),t[e.index]=n,ba(t,n)),dv(n,t,e,r),new Fd(n,e,t)}function uv(e,t){let n=e[O],r=n.createComment(""),o=Te(t,e),i=n.parentNode(o);return eo(n,i,r,n.nextSibling(o),!1),r}var dv=hv,fv=()=>!1;function pv(e,t,n){return fv(e,t,n)}function hv(e,t,n,r){if(e[lt])return;let o;n.type&8?o=be(r):o=uv(t,n),e[lt]=o}var ys=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},vs=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++)La(t,n).matches!==null&&this.queries[n].setDirty()}},io=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Ev(t):this.predicate=t}},Is=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)}},Es=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,gv(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===no?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===To||o===Oa||o===no&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 gv(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 mv(e,t){return e.type&11?Yt(e,t):e.type&4?Lo(e,t):null}function yv(e,t,n,r){return n===-1?mv(t,e):n===-2?vv(e,t,r):Cn(e,e[w],n,t)}function vv(e,t,n){if(n===To)return Yt(t,e);if(n===no)return Lo(t,e);if(n===Oa)return Vd(t,e)}function jd(e,t,n,r){let o=t[Pe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(yv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ds(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=jd(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=z;d<u.length;d++){let p=u[d];p[at]===p[G]&&Ds(p[w],p,l,r)}if(u[Lt]!==null){let d=u[Lt];for(let p=0;p<d.length;p++){let f=d[p];Ds(f[w],f,l,r)}}}}}return r}function Pa(e,t){return e[Pe].queries[t].queryList}function Hd(e,t,n){let r=new Yi((n&4)===4);return Uh(e,t,r,r.destroy),(t[Pe]??=new vs).queries.push(new ys(r))-1}function Iv(e,t,n){let r=k();return r.firstCreatePass&&($d(r,new io(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Hd(r,g(),t)}function Bd(e,t,n,r){let o=k();if(o.firstCreatePass){let i=Q();$d(o,new io(t,n,r),i.index),Dv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Hd(o,g(),n)}function Ev(e){return e.split(",").map(t=>t.trim())}function $d(e,t,n){e.queries===null&&(e.queries=new Is),e.queries.track(new Es(t,n))}function Dv(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 La(e,t){return e.queries.getByIndex(t)}function Ud(e,t){let n=e[w],r=La(n,t);return r.crossesNgTemplate?Ds(n,e,t,[]):jd(n,e,r,t)}function qd(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=Cv(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[Y],r._dirtyCounter=Og(0),r._flatValue=void 0,o}function wv(e){return qd(!0,!1,e)}function bv(e){return qd(!0,!0,e)}function Mv(e,t){let n=e[Y];n._lView=g(),n._queryIndex=t,n._queryList=Pa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Cv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=Pa(n,r),i=Ud(n,r);return o.reset(i,Vu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function sl(e,t){return wv(t)}function xv(e,t){return bv(t)}var PS=(sl.required=xv,sl);function Wd(e,t){let n=Object.create(_l),r=new Xr;n.value=e;function o(){return Ct(n),al(n.value),n.value}return o[Y]=n,o.asReadonly=ju.bind(o),o.set=i=>{n.equal(n.value,i)||(xt(n,i),r.emit(i))},o.update=i=>{al(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function al(e){if(e===mo)throw new D(952,!1)}function cl(e,t){return Wd(e,t)}function Tv(e){return Wd(mo,e)}var LS=(cl.required=Tv,cl);function _v(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Rv))}return i}return so.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[l+p]=f,u.splice(u.indexOf(d),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Av(i));t.push(c)}),Sv(),Promise.all(t).then(()=>{})}var so=new Map,Nv=new Set;function Sv(){let e=so;return so=new Map,e}function kv(){return so.size===0}function Rv(e){return typeof e=="string"?e:e.text()}function Av(e){Nv.delete(e)}var Sn=class{},Ov=class{};function jS(e,t){return new kn(e,t??null,[])}var kn=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Wl(t);this._bootstrapComponents=sd(i.bootstrap),this._r3Injector=ku(t,n,[{provide:Sn,useValue:this},{provide:Fo,useValue:this.componentFactoryResolver},...r],ne(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)}},ao=class extends Ov{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new kn(this.moduleType,t,[])}};function Pv(e,t,n){return new kn(e,t,n,!1)}var ws=class extends Sn{injector;componentFactoryResolver=new oo(this);instance=null;constructor(t){super();let n=new bn([...t.providers,{provide:Sn,useValue:this},{provide:Fo,useValue:this.componentFactoryResolver}],t.parent||Io(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Lv(e,t,n=null){return new ws({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Fv=(()=>{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=Gl(!1,n.type),o=r.length>0?Lv([r],this._injector,`Standalone[${n.type.name}]`):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=V({token:e,providedIn:"environment",factory:()=>new e(ie(We))})}return e})();function HS(e){return An(()=>{let t=zd(e),n=ee(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$u.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Fv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Kt("NgStandalone"),Gd(n);let r=e.dependencies;return n.directiveDefs=ll(r,!1),n.pipeDefs=ll(r,!0),n.id=Uv(n),n})}function Vv(e){return qe(e)||zl(e)}function jv(e){return e!==null}function Hv(e){return An(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bv(e,t){if(e==null)return we;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=ko.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $v(e){if(e==null)return we;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function BS(e){return An(()=>{let t=zd(e);return Gd(t),t})}function $S(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 zd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||we,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bv(e.inputs,t),outputs:$v(e.outputs),debugInfo:null}}function Gd(e){e.features?.forEach(t=>t(e))}function ll(e,t){if(!e)return null;let n=t?Eh:Vv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(jv)}function Uv(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 qv(e){return Object.getPrototypeOf(e.prototype).constructor}function Wv(e){let t=qv(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ti(e.inputs),s.declaredInputs=Ti(e.declaredInputs),s.outputs=Ti(e.outputs);let a=o.hostBindings;a&&Yv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Zv(e,c),l&&Qv(e,l),zv(e,o),Jp(e.outputs,o.outputs),he(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Wv&&(n=!1)}}t=Object.getPrototypeOf(t)}Gv(r)}function zv(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 Gv(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=Ft(o.hostAttrs,n=Ft(n,o.hostAttrs))}}function Ti(e){return e===we?{}:e===J?[]:e}function Zv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Qv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Yv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function US(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Zd,n.hostDirectives=r?e.map(bs):[e]):r?n.hostDirectives.unshift(...e.map(bs)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Zd(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)ul(bs(i),t,n)}else ul(r,t,n)}function ul(e,t,n){let r=zl(e.directive);Jv(r.declaredInputs,e.inputs),Zd(r,t,n),n.set(r,e),t.push(r)}function bs(e){return typeof e=="function"?{directive:U(e),inputs:we,outputs:we}:{directive:U(e.directive),inputs:dl(e.inputs),outputs:dl(e.outputs)}}function dl(e){if(e===void 0||e.length===0)return we;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Jv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Qd(e){return Fa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Kv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Fa(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ne(e,t,n){return e[t]=n}function Hn(e,t){return e[t]}function Z(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ht(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Yd(e,t,n,r,o){let i=Ht(e,t,n,r);return Z(e,t+2,o)||i}function Bt(e,t,n,r,o,i){let s=Ht(e,t,n,r);return Ht(e,t+2,o,i)||s}function Xv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=tn(t,e,4,s||null,a||null);oa()&&Aa(t,n,u,ze(l,c),Ca),u.mergedAttrs=Ft(u.mergedAttrs,u.attrs),da(t,u);let d=u.tView=Da(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function co(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?Xv(u,t,e,r,o,i,s,a,c):t.data[u];Qe(d,!1);let p=tI(t,e,d,n);Co()&&Oo(t,e,p,d),Jt(p,e);let f=Nd(p,e,p,d);return e[u]=f,ba(e,f),pv(f,d,e),Do(d)&&Ro(t,e,d),c!=null&&Ma(e,d,l),d}function eI(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=ze(l.consts,i);return co(c,l,e,t,n,r,o,u,s,a),eI}var tI=nI;function nI(e,t,n,r){return xo(!0),t[O].createComment("")}var qS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var rI=new S(""),oI=new S(""),WS=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Qs()&&(this._destroyRef=C(Qt,{optional:!0})??void 0),Va||(sI(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(ie(K),ie(iI),ie(oI))};static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),iI=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Va?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sI(e){Va=e}var Va,Jd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new Ms})}return e})(),Ms=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Kd(e){return!!e&&typeof e.then=="function"}function aI(e){return!!e&&typeof e.subscribe=="function"}var Xd=new S("");function zS(e){return Dh([{provide:Xd,multi:!0,useValue:e}])}var ef=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Xd,{optional:!0})??[];injector=C(Ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Kl(this.injector,o);if(Kd(i))n.push(i);else if(aI(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cI=new S("");function lI(){hi(()=>{throw new D(600,!1)})}function uI(e){return e.isBoundToModule}var dI=10;function tf(e,t){return Array.isArray(t)?t.reduce(tf,e):q(q({},e),t)}var $t=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Sg);afterRenderManager=C(Qu);zonelessEnabled=C(Au);rootEffectScheduler=C(Jd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(Ln).hasPendingTasks.pipe(He(n=>!n));constructor(){C(_o,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(We);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ce.NULL){A(10);let i=n instanceof Ad;if(!this._injector.get(ef).done){let f="";throw new D(405,f)}let a;i?a=n:a=this._injector.get(Fo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=uI(a)?void 0:this._injector.get(Sn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(rI,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Pr(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),A(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ga.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ro,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<dI;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)fI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>bo(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;Pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(cI,[]).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),()=>Pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function fI(e,t,n,r){if(!n&&!bo(e))return;Cd(e,t,n&&!r?0:1)}function pI(e,t,n,r){let o=g(),i=Ye();if(Z(o,i,t)){let s=k(),a=gt();ty(a,o,e,t,n,r)}return pI}function ja(e,t,n,r){return Z(e,Ye(),n)?t+it(n)+r:X}function nf(e,t,n,r,o,i){let s=Yh(),a=Ht(e,s,n,o);return aa(2),a?t+it(n)+r+it(o)+i:X}function Nr(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function hI(e){return(e&2)==2}function gI(e,t){return e&131071|t<<17}function Cs(e){return e|2}function Ut(e){return(e&131068)>>2}function _i(e,t){return e&-131069|t<<2}function mI(e){return(e&1)===1}function xs(e){return e|1}function yI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),c=Ut(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Pn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ht(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=_i(e[p+1],r)),e[a+1]=gI(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=_i(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=_i(e[c+1],r),c=r;l&&(e[r+1]=Cs(e[r+1])),fl(e,u,r,!0),fl(e,u,r,!1),vI(t,u,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function vI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Pn(i,t)>=0&&(n[r+1]=xs(n[r+1]))}function fl(e,t,n,r){let o=e[n+1],i=t===null,s=r?ht(o):Ut(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];II(c,t)&&(a=!0,e[s+1]=r?xs(l):Cs(l)),s=r?ht(l):Ut(l)}a&&(e[n+1]=r?Cs(o):xs(o))}function II(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Pn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rf(e){return e.substring(B.key,B.keyEnd)}function EI(e){return e.substring(B.value,B.valueEnd)}function DI(e){return af(e),of(e,qt(e,0,B.textEnd))}function of(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=bI(e,B.key=t,n),qt(e,t,n))}function wI(e){return af(e),sf(e,qt(e,0,B.textEnd))}function sf(e,t){let n=B.textEnd,r=B.key=qt(e,t,n);return n===r?-1:(r=B.keyEnd=MI(e,r,n),r=pl(e,r,n,58),r=B.value=qt(e,r,n),r=B.valueEnd=CI(e,r,n),pl(e,r,n,59))}function af(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function qt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function MI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function pl(e,t,n,r){return t=qt(e,t,n),t<n&&t++,t}function CI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=hl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=hl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function hl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function xI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!1)}return xI}function Ts(e,t,n,r,o){xa(t,e,n,o?"class":"style",r)}function TI(e,t,n){return lf(e,t,n,!1),TI}function _I(e,t){return lf(e,t,null,!0),_I}function GS(e){Ha(ff,NI,e,!1)}function NI(e,t){for(let n=wI(t);n>=0;n=sf(t,n))ff(e,rf(t),EI(t))}function ZS(e){Ha(PI,cf,e,!0)}function cf(e,t){for(let n=DI(t);n>=0;n=of(t,n))On(e,rf(t),!0)}function lf(e,t,n,r){let o=g(),i=k(),s=aa(2);if(i.firstUpdatePass&&df(i,e,s,r),t!==X&&Z(o,s,t)){let a=i.data[_e()];pf(i,a,o,o[O],e,o[s+1]=FI(t,n),r,s)}}function Ha(e,t,n,r){let o=k(),i=aa(2);o.firstUpdatePass&&df(o,null,i,r);let s=g();if(n!==X&&Z(s,i,n)){let a=o.data[_e()];if(hf(a,r)&&!uf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Oi(c,n||"")),Ts(o,a,s,n,r)}else LI(o,a,s,s[O],s[i+1],s[i+1]=OI(e,t,n),r,i)}}function uf(e,t){return t>=e.expandoStartIndex}function df(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=uf(e,n);hf(i,r)&&t===null&&!s&&(t=!1),t=SI(o,i,t,r),yI(o,i,t,n,s,r)}}function SI(e,t,n,r){let o=pu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ni(null,e,t,n,r),n=Rn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ni(o,e,t,n,r),i===null){let c=kI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ni(null,e,t,c[1],r),c=Rn(c,t.attrs,r),RI(e,t,r,c))}else i=AI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function kI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ut(r)!==0)return e[ht(r)]}function RI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ht(o)]=r}function AI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rn(r,s,n)}return Rn(r,t.attrs,n)}function Ni(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Rn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),On(e,s,n?!0:t[++i]))}return e===void 0?null:e}function OI(e,t,n){if(n==null||n==="")return J;let r=[],o=Xt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ff(e,t,n){On(e,t,Xt(n))}function PI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&On(e,r,n)}function LI(e,t,n,r,o,i,s,a){o===X&&(o=J);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,I;u===d?(c+=2,l+=2,p!==f&&(h=d,I=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,I=f),h!==null&&pf(e,t,n,r,h,I,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function pf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=mI(l)?gl(c,t,n,o,Ut(l),s):void 0;if(!lo(u)){lo(i)||hI(l)&&(i=gl(c,null,n,o,a,s));let d=iu(_e(),n);Ey(r,s,d,o,i)}}function gl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===X&&(p=d?J:void 0);let f=d?Ii(p,r):u===r?p:void 0;if(l&&!lo(f)&&(f=Ii(c,r)),lo(f)&&(a=f,s))return a;let h=e[o+1];o=s?ht(h):Ut(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ii(c,r))}return a}function lo(e){return e!==void 0}function FI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(Xt(e)))),e}function hf(e,t){return(e.flags&(t?8:16))!==0}function QS(e,t,n){let r=g(),o=ja(r,e,t,n);Ha(On,cf,o,!0)}function YS(){return g()[re][j]}var _s=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 Si(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function VI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Si(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Si(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let I=n(i,l),P=n(s,p),N=n(i,u);if(Object.is(N,P)){let ge=n(c,f);Object.is(ge,I)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new uo,o??=yl(e,i,s,n),Ns(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(I,e.detach(i)),s--;else{let ge=e.create(i,t[i]);e.attach(i,ge),i++,s++}}for(;i<=c;)ml(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Si(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new uo,o??=yl(e,i,s,n);let f=n(i,d);if(Ns(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)ml(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ns(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function ml(e,t,n,r,o){if(Ns(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function yl(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 uo=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 JS(e,t){Kt("NgControlFlow");let n=g(),r=Ye(),o=n[r]!==X?n[r]:-1,i=o!==-1?fo(n,F+o):void 0,s=0;if(Z(n,r,e)){let a=b(null);try{if(i!==void 0&&kd(i,s),e!==-1){let c=F+e,l=fo(n,c),u=As(n[w],c),d=jt(l,u.tView.ssrId),p=Vn(n,u,t,{dehydratedView:d});jn(l,p,s,Vt(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Sd(i,s);a!==void 0&&(a[j]=t)}}var Ss=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function KS(e){return e}function XS(e,t){return t}var ks=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ek(e,t,n,r,o,i,s,a,c,l,u,d,p){Kt("NgControlFlow");let f=g(),h=k(),I=c!==void 0,P=g(),N=a?s.bind(P[re][j]):s,ge=new ks(I,N);P[F+e]=ge,co(f,h,e+1,t,n,r,o,ze(h.consts,i)),I&&co(f,h,e+2,c,l,u,d,ze(h.consts,p))}var Rs=class extends _s{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-z}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Ot];this.needsIndexUpdate||=t!==this.length,jn(this.lContainer,n,t,Vt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jI(this.lContainer,t)}create(t,n){let r=jt(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ss(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return HI(this.lContainer,t)}};function tk(e){let t=b(null),n=_e();try{let r=g(),o=r[w],i=r[n],s=n+1,a=fo(r,s);if(i.liveCollection===void 0){let l=As(o,s);i.liveCollection=new Rs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(VI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=fo(r,d);if(u){let f=As(o,d),h=jt(p,f.tView.ssrId),I=Vn(r,f,void 0,{dehydratedView:h});jn(p,I,0,Vt(f,h))}else kd(p,0)}}}finally{b(t)}}function fo(e,t){return e[t]}function jI(e,t){return _n(e,t)}function HI(e,t){return Sd(e,t)}function As(e,t){return Xs(e,t)}function gf(e,t,n,r){let o=g(),i=k(),s=F+e,a=o[O],c=i.firstCreatePass?Pd(s,i,o,t,Ca,oa(),n,r):i.data[s],l=$I(i,o,c,a,t,e);o[s]=l;let u=Do(c);return Qe(c,!0),dd(a,l,c),!Na(c)&&Co()&&Oo(i,o,l,c),(qh()===0||u)&&Jt(l,o),Wh(),u&&(Ro(i,o,c),ya(i,c,o)),r!==null&&Ma(o,c),gf}function mf(){let e=Q();ia()?sa():(e=e.parent,Qe(e,!1));let t=e;Gh(t)&&Zh(),zh();let n=k();return n.firstCreatePass&&Ld(n,t),t.classesWithoutHost!=null&&ag(t)&&Ts(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&cg(t)&&Ts(n,t,g(),t.stylesWithoutHost,!1),mf}function BI(e,t,n,r){return gf(e,t,n,r),mf(),BI}var $I=(e,t,n,r,o,i)=>(xo(!0),ld(r,o,og()));function UI(e,t,n,r,o){let i=t.consts,s=ze(i,r),a=tn(t,e,8,"ng-container",s);s!==null&&gs(a,s,!0);let c=ze(i,o);return oa()&&Aa(t,n,a,c,Ca),a.mergedAttrs=Ft(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function yf(e,t,n){let r=g(),o=k(),i=e+F,s=o.firstCreatePass?UI(i,o,r,t,n):o.data[i];Qe(s,!0);let a=WI(o,r,s,e);return r[i]=a,Co()&&Oo(o,r,a,s),Jt(a,r),Do(s)&&(Ro(o,r,s),ya(o,s,r)),n!=null&&Ma(r,s),yf}function vf(){let e=Q(),t=k();return ia()?sa():(e=e.parent,Qe(e,!1)),t.firstCreatePass&&(da(t,e),Ks(e)&&t.queries.elementEnd(e)),vf}function qI(e,t,n){return yf(e,t,n),vf(),qI}var WI=(e,t,n,r)=>(xo(!0),Hm(t[O],""));function nk(){return g()}function zI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!0)}return zI}function GI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt(),a=pu(i.data),c=oy(a,s,r);en(i,s,r,e,t,c,n,!0)}return GI}var nt=void 0;function ZI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var QI=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ZI],ki={};function rk(e){let t=JI(e),n=vl(t);if(n)return n;let r=t.split("-")[0];if(n=vl(r),n)return n;if(r==="en")return QI;throw new D(701,!1)}function vl(e){return e in ki||(ki[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),ki[e]}var YI=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}(YI||{});function JI(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var KI=po;function XI(e){typeof e=="string"&&(KI=e.toLowerCase().replace(/_/g,"-"))}function Il(e,t,n){return function r(o){if(o===Function)return n;let i=zt(e)?Me(e.index,t):t;Ra(i,5);let s=t[j],a=El(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=El(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function El(e,t,n,r){let o=b(null);try{return A(6,t,n),n(r)!==!1}catch(i){return eE(e,i),!1}finally{A(7,t,n),b(o)}}function eE(e,t){let n=e[Pt],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function Dl(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?ra(a):null,p=na(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function tE(e,t,n,r){let o=g(),i=k(),s=Q();return If(i,o,o[O],s,e,t,r),tE}function nE(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[$r],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function If(e,t,n,r,o,i,s){let a=Do(r),l=e.firstCreatePass?ra(e):null,u=na(t),d=!0;if(r.type&3||s){let p=Te(r,t),f=s?s(p):p,h=u.length,I=s?N=>s(be(N[r.index])):r.index,P=null;if(!s&&a&&(P=nE(e,t,o,r.index)),P!==null){let N=P.__ngLastListenerFn__||P;N.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,d=!1}else{i=Il(r,t,i),Kg(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,I,h,h+1)}}else i=Il(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let I=f[h],P=f[h+1];Dl(r,t,I,P,o,i)}if(p&&p.length)for(let h of p)Dl(r,t,h,o,o,i)}}function ok(e=1){return ng(e)}function rE(e,t){let n=null,r=km(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?cd(e,i,!0):Om(r,i))return o}return n}function ik(e){let t=g()[re][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=yh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?rE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function sk(e,t=0,n,r,o,i){let s=g(),a=k(),c=r?e+1:null;c!==null&&co(s,a,c,r,o,i,null,n);let l=tn(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),sa();let d=!s[Ot]||lu();s[re][oe].projection[l.projection]===null&&c!==null?oE(s,a,c):d&&!Na(l)&&vy(a,s,l)}function oE(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=jt(i,o.tView.ssrId),a=Vn(e,o,void 0,{dehydratedView:s});jn(i,a,0,Vt(o,s))}function iE(e,t,n){return Ef(e,"",t,"",n),iE}function Ef(e,t,n,r,o){let i=g(),s=ja(i,t,n,r);if(s!==X){let a=k(),c=gt();en(a,c,i,e,s,i[O],o,!1)}return Ef}function sE(e,t,n,r,o,i,s){let a=g(),c=nf(a,t,n,r,o,i);if(c!==X){let l=k(),u=gt();en(l,u,a,e,c,a[O],s,!1)}return sE}function ak(e,t,n,r){Bd(e,t,n,r)}function ck(e,t,n){Iv(e,t,n)}function lk(e){let t=g(),n=k(),r=ca();Mo(r+1);let o=La(n,r);if(e.dirty&&jh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ud(t,r);e.reset(i,Vu),e.notifyOnChanges()}return!0}return!1}function uk(){return Pa(g(),ca())}function dk(e,t,n,r,o){Mv(t,Bd(e,n,r,o))}function fk(e=1){Mo(ca()+e)}function pk(e){let t=du();return wo(t,F+e)}function hk(e,t=""){let n=g(),r=k(),o=e+F,i=r.firstCreatePass?tn(r,o,1,t,null):r.data[o],s=aE(r,n,i,t,e);n[o]=s,Co()&&Oo(r,n,s,i),Qe(i,!1)}var aE=(e,t,n,r,o)=>(xo(!0),Vm(t[O],r));function cE(e){return Df("",e,""),cE}function Df(e,t,n){let r=g(),o=ja(r,e,t,n);return o!==X&&wf(r,_e(),o),Df}function lE(e,t,n,r,o){let i=g(),s=nf(i,e,t,n,r,o);return s!==X&&wf(i,_e(),s),lE}function wf(e,t,n){let r=iu(t,e);jm(e[O],r,n)}function uE(e,t,n){Hu(t)&&(t=t());let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!1)}return uE}function gk(e,t){let n=Hu(e);return n&&e.set(t),n}function dE(e,t){let n=g(),r=k(),o=Q();return If(r,n,n[O],o,e,t),dE}var bf={};function fE(e){let t=k(),n=g(),r=e+F,o=tn(t,r,128,null,null);return Qe(o,!1),ea(t,n,r,bf),fE}function mk(e){Kt("NgLet");let t=k(),n=g(),r=_e();return ea(t,n,r,e),e}function yk(e){let t=du(),n=wo(t,F+e);if(n===bf)throw new D(314,!1);return n}function pE(e,t,n){let r=k();if(r.firstCreatePass){let o=he(e);Os(n,r.data,r.blueprint,o,!0),Os(t,r.data,r.blueprint,o,!1)}}function Os(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Os(e[i],t,n,r,o);else{let i=k(),s=g(),a=Q(),c=At(e)?e:U(e.provide),l=Jl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(At(e)||!e.multi){let f=new ft(l,o,Vo),h=Ai(c,t,o?u:u+p,d);h===-1?(zi(Qr(a,s),i,c),Ri(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=Ai(c,t,u+p,d),h=Ai(c,t,u,u+p),I=f>=0&&n[f],P=h>=0&&n[h];if(o&&!P||!o&&!I){zi(Qr(a,s),i,c);let N=mE(o?gE:hE,n.length,o,r,l);!o&&P&&(n[h].providerFactory=N),Ri(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Mf(n[o?h:f],l,!o&&r);Ri(i,e,f>-1?f:h,N)}!o&&r&&P&&n[h].componentProviders++}}}function Ri(e,t,n,r){let o=At(t),i=xh(t);if(o||i){let c=(i?U(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Mf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ai(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function hE(e,t,n,r,o){return Ps(this.multi,[])}function gE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Cn(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Ps(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ps(i,s);return s}function Ps(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mE(e,t,n,r,o){let i=new ft(e,n,Vo);return i.multi=[],i.index=t,i.componentProviders=0,Mf(i,o,r&&!n),i}function vk(e,t=[]){return n=>{n.providersResolver=(r,o)=>pE(r,o?o(e):e,t)}}function Ik(e,t,n){let r=ce()+e,o=g();return o[r]===X?Ne(o,r,n?t.call(n):t()):Hn(o,r)}function Ek(e,t,n,r){return Cf(g(),ce(),e,t,n,r)}function Dk(e,t,n,r,o){return xf(g(),ce(),e,t,n,r,o)}function wk(e,t,n,r,o,i){return yE(g(),ce(),e,t,n,r,o,i)}function bk(e,t,n,r,o,i,s){return vE(g(),ce(),e,t,n,r,o,i,s)}function Mk(e,t,n,r,o,i,s,a){let c=ce()+e,l=g(),u=Bt(l,c,n,r,o,i);return Z(l,c+4,s)||u?Ne(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Hn(l,c+5)}function Ck(e,t,n,r,o,i,s,a,c){let l=ce()+e,u=g(),d=Bt(u,l,n,r,o,i);return Ht(u,l+4,s,a)||d?Ne(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Hn(u,l+6)}function xk(e,t,n,r,o,i,s,a,c,l){let u=ce()+e,d=g(),p=Bt(d,u,n,r,o,i);return Yd(d,u+4,s,a,c)||p?Ne(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Hn(d,u+7)}function Tk(e,t,n,r,o,i,s,a,c,l,u){let d=ce()+e,p=g(),f=Bt(p,d,n,r,o,i);return Bt(p,d+4,s,a,c,l)||f?Ne(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Hn(p,d+8)}function _k(e,t,n,r){return IE(g(),ce(),e,t,n,r)}function Bn(e,t){let n=e[t];return n===X?void 0:n}function Cf(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?Ne(e,s+1,i?r.call(i,o):r(o)):Bn(e,s+1)}function xf(e,t,n,r,o,i,s){let a=t+n;return Ht(e,a,o,i)?Ne(e,a+2,s?r.call(s,o,i):r(o,i)):Bn(e,a+2)}function yE(e,t,n,r,o,i,s,a){let c=t+n;return Yd(e,c,o,i,s)?Ne(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Bn(e,c+3)}function vE(e,t,n,r,o,i,s,a,c){let l=t+n;return Bt(e,l,o,i,s,a)?Ne(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Bn(e,l+4)}function IE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)Z(e,s++,o[c])&&(a=!0);return a?Ne(e,s,r.apply(i,o)):Bn(e,s)}function Nk(e,t){let n=k(),r,o=e+F;n.firstCreatePass?(r=EE(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=st(r.type,!0)),s,a=te(Vo);try{let c=Zr(!1),l=i();return Zr(c),ea(n,g(),o,l),l}finally{te(a)}}function EE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Sk(e,t,n){let r=e+F,o=g(),i=wo(o,r);return Tf(o,r)?Cf(o,ce(),t,i.transform,n,i):i.transform(n)}function kk(e,t,n,r){let o=e+F,i=g(),s=wo(i,o);return Tf(i,o)?xf(i,ce(),t,s.transform,n,r,s):s.transform(n,r)}function Tf(e,t){return e[w].data[t].pure}function Rk(e,t){return Lo(e,t)}var Sr=null;function DE(e){Sr!==null&&(e.defaultEncapsulation!==Sr.defaultEncapsulation||e.preserveWhitespaces!==Sr.preserveWhitespaces)||(Sr=e)}var Ls=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Ak=new Ls("19.2.14"),Fs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Ok=(()=>{class e{compileModuleSync(n){return new ao(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Wl(n),i=sd(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new pt(c)),s},[]);return new Fs(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wE=new S("");function bE(e,t,n){let r=new ao(n);return Promise.resolve(r)}function wl(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var ME=(()=>{class e{zone=C(K);changeDetectionScheduler=C(Ge);applicationRef=C($t);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new K(ee(q({},_f()),{scheduleInRootZone:n})),[{provide:K,useFactory:e},{provide:Hr,multi:!0,useFactory:()=>{let r=C(ME,{optional:!0});return()=>r.initialize()}},{provide:Hr,multi:!0,useFactory:()=>{let r=C(xE);return()=>{r.initialize()}}},t===!0?{provide:Ou,useValue:!0}:[],{provide:Pu,useValue:n??Ru}]}function _f(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var xE=(()=>{class e{subscription=new L;initialized=!1;zone=C(K);pendingTasks=C(Ln);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(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var TE=(()=>{class e{appRef=C($t);taskService=C(Ln);ngZone=C(K);zonelessEnabled=C(Au);tracing=C(_o,{optional:!0});disableScheduling=C(Ou,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Pu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Bc:Lu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Jr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Bc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _E(){return typeof $localize<"u"&&$localize.locale||po}var Nf=new S("",{providedIn:"root",factory:()=>C(Nf,T.Optional|T.SkipSelf)||_E()});var ho=new S(""),NE=new S("");function vn(e){return!e.moduleRef}function SE(e){let t=vn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(K);return n.run(()=>{vn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),vn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ho);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ho);s.add(i),e.moduleRef.onDestroy(()=>{Pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return RE(r,n,()=>{let i=t.get(ef);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Nf,po);if(XI(s||po),!t.get(NE,!0))return vn(e)?t.get($t):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vn(e)){let c=t.get($t);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return kE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function kE(e,t){let n=e.injector.get($t);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}function RE(e,t,n){try{let r=n();return Kd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Sf=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Ng(r?.ngZone,ee(q({},_f({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[CE({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Ge,useExisting:TE}],c=Pv(n.moduleType,this.injector,a);return SE({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=tf({},r);return bE(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(ho,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(ie(Ce))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),wn=null,kf=new S("");function AE(e){if(wn&&!wn.get(kf,!1))throw new D(400,!1);lI(),wn=e;let t=e.get(Sf);return FE(e),t}function OE(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Rf();if(!s||s.injector.get(kf,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):AE(PE(a,r))}return LE(o)}}function PE(e=[],t){return Ce.create({name:t,providers:[{provide:Yl,useValue:"platform"},{provide:ho,useValue:new Set([()=>wn=null])},...e]})}function LE(e){let t=Rf();if(!t)throw new D(401,!1);return t}function Rf(){return wn?.get(Sf)??null}function FE(e){let t=e.get(Hg,null);Kl(e,()=>{t?.forEach(n=>n())})}function Pk(){return!1}var Lk=(()=>{class e{static __NG_ELEMENT_ID__=VE}return e})();function VE(e){return jE(Q(),g(),(e&16)===16)}function jE(e,t,n){if(zt(e)&&!n){let r=Me(e.index,t);return new Nn(r,r)}else if(e.type&175){let r=t[re];return new Nn(r,t)}return null}var Vs=class{constructor(){}supports(t){return Qd(t)}create(t){return new js(t)}},HE=(e,t)=>t,js=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||HE}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<bl(r,o,i)?n:r,a=bl(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Qd(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Kv(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new go),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new go),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hs=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bs=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},go=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function bl(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var $s=class{constructor(){}supports(t){return t instanceof Map||Fa(t)}create(){return new Us}},Us=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Fa(t)))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new qs(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},qs=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Ml(){return new BE([new Vs])}var BE=(()=>{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:Ml});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ml()),deps:[[e,new Bl,new Hl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function Cl(){return new $E([new $s])}var $E=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:Cl});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Cl()),deps:[[e,new Bl,new Hl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D(901,!1)}}return e})();var Fk=OE(null,"core",[]),Vk=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(ie($t))};static \u0275mod=Hv({type:e});static \u0275inj=Xp({})}return e})();function jk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Hk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Bk(e){return yi(e)}function $k(e,t){return wr(e,t?.equal)}var Ws=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function UE(e,t){!t?.injector&&Ys(UE);let n=t?.injector??C(Ce),r=t?.manualCleanup!==!0?n.get(Qt):null,o,i=n.get(ma,null,{optional:!0}),s=n.get(Ge);return i!==null&&!t?.forceRoot?(o=zE(i.view,s,e),r instanceof Yr&&r._lView===i.view&&(r=null)):o=GE(e,n.get(Jd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ws(o)}var Af=ee(q({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xn,run(){if(this.dirty=!1,this.hasRun&&!Ir(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=gn(this),n=Wr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Wr(n),vr(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),qE=ee(q({},Af),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){mn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),WE=ee(q({},Af),{consumerMarkedDirty(){this.view[E]|=8192,Zt(this.view),this.notifier.notify(13)},destroy(){mn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function zE(e,t,n){let r=Object.create(WE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function GE(e,t,n){let r=Object.create(qE);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function Uk(e,t){let n=qe(e),r=t.elementInjector||Io();return new pt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function qk(e){let t=qe(e);if(!t)return null;let n=new pt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{L as a,Ff as b,_ as c,Yo as d,Jo as e,se as f,cn as g,sn as h,Jf as i,Ee as j,Kf as k,Xf as l,et as m,nn as n,rn as o,me as p,Gf as q,ep as r,tp as s,tt as t,rp as u,He as v,fp as w,ke as x,dn as y,hr as z,hp as A,gp as B,ti as C,fn as D,wp as E,bp as F,de as G,Mp as H,Cp as I,ni as J,ac as K,xp as L,Ic as M,pn as N,ri as O,Tp as P,_p as Q,kp as R,Rp as S,Ap as T,oi as U,Op as V,Pp as W,Ec as X,Qo as Y,cc as Z,Lp as _,Fp as $,an as aa,Vp as ba,lc as ca,jp as da,uc as ea,Hp as fa,D as ga,Ae as ha,kl as ia,V as ja,Xp as ka,nS as la,S as ma,T as na,ie as oa,C as pa,Hl as qa,Bl as ra,Dh as sa,Yl as ta,We as ua,Kl as va,Ys as wa,rS as xa,oS as ya,iS as za,sS as Aa,aS as Ba,cS as Ca,Eg as Da,Ce as Ea,Hc as Fa,Qt as Ga,Ge as Ha,Ln as Ia,lS as Ja,Be as Ka,K as La,Ze as Ma,uS as Na,dS as Oa,To as Pa,Ag as Qa,Og as Ra,Yi as Sa,fS as Ta,pS as Ua,Hg as Va,hS as Wa,gS as Xa,mS as Ya,Bg as Za,yS as _a,_o as $a,Kt as ab,Zg as bb,Qg as cb,Tn as db,Xt as eb,va as fb,vS as gb,IS as hb,ES as ib,DS as jb,wS as kb,ed as lb,ym as mb,So as nb,bS as ob,Im as pb,MS as qb,CS as rb,us as sb,no as tb,Fo as ub,ro as vb,RS as wb,Vo as xb,AS as yb,Oa as zb,PS as Ab,LS as Bb,Sn as Cb,Ov as Db,jS as Eb,Lv as Fb,HS as Gb,Hv as Hb,BS as Ib,$S as Jb,Wv as Kb,US as Lb,eI as Mb,qS as Nb,rI as Ob,oI as Pb,WS as Qb,iI as Rb,Kd as Sb,aI as Tb,zS as Ub,cI as Vb,$t as Wb,pI as Xb,xI as Yb,TI as Zb,_I as _b,GS as $b,ZS as ac,QS as bc,YS as cc,JS as dc,KS as ec,XS as fc,ek as gc,tk as hc,gf as ic,mf as jc,BI as kc,yf as lc,vf as mc,qI as nc,nk as oc,zI as pc,GI as qc,rk as rc,YI as sc,tE as tc,ok as uc,ik as vc,sk as wc,iE as xc,sE as yc,ak as zc,ck as Ac,lk as Bc,uk as Cc,dk as Dc,fk as Ec,pk as Fc,hk as Gc,cE as Hc,Df as Ic,lE as Jc,uE as Kc,gk as Lc,dE as Mc,fE as Nc,mk as Oc,yk as Pc,vk as Qc,Ik as Rc,Ek as Sc,Dk as Tc,wk as Uc,bk as Vc,Mk as Wc,Ck as Xc,xk as Yc,Tk as Zc,_k as _c,Nk as $c,Sk as ad,kk as bd,Rk as cd,Ls as dd,Ak as ed,Ok as fd,Nf as gd,OE as hd,Pk as id,Lk as jd,BE as kd,$E as ld,Fk as md,Vk as nd,jk as od,Hk as pd,Bk as qd,$k as rd,UE as sd,Uk as td,qk as ud};
|
|
7
|
+
`)}`}var Bl=Hl(kl("Optional"),8);var $l=Hl(kl("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(Lr);return n?e[Lr]:null}function gh(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 mh(e){return e.flat(Number.POSITIVE_INFINITY)}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function Ul(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function vh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function On(e,t,n){let r=Pn(e,t);return r>=0?e[r|1]=n:(r=~r,vh(e,r,t,n)),r}function Ii(e,t){let n=Pn(e,t);if(n>=0)return e[n|1]}function Pn(e,t){return Ih(e,t,1)}function Ih(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 we={},J=[],Hr=new S(""),ql=new S("",-1),Wl=new S(""),Br=class{get(t,n=rt){if(n===rt){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}};function zl(e,t){let n=e[ih]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function qe(e){return e[nh]||null}function Gl(e){return e[rh]||null}function Eh(e){return e[oh]||null}function Dh(e){return{\u0275providers:e}}function wh(...e){return{\u0275providers:Zl(!0,e),\u0275fromNgModule:!0}}function Zl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gs(t,s=>{let a=s;Vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ql(o,i),n}function Ql(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Zs(o,i=>{t(i,r)})}}function Vi(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Nc(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=Nc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Vi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Gs(i.imports,u=>{Vi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ql(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Wl,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>ie(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Zs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Zs(e,t){for(let n of e)Ll(n)&&(n=n.\u0275providers),Array.isArray(n)?Zs(n,t):t(n)}var bh=R({provide:String,useValue:R});function Yl(e){return e!==null&&typeof e=="object"&&bh in e}function Mh(e){return!!(e&&e.useExisting)}function Ch(e){return!!(e&&e.useFactory)}function At(e){return typeof e=="function"}function xh(e){return!!e.useClass}var Jl=new S(""),kr={},Ac={},Ei;function Io(){return Ei===void 0&&(Ei=new Br),Ei}var We=class{},bn=class extends We{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,Hi(t,s=>this.processProvider(s)),this.records.set(ql,Tt(void 0,this)),o.has("environment")&&this.records.set(We,Tt(void 0,this));let i=this.records.get(Jl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wl,J,T.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Mr:rt,r)}destroy(){In(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=Re(this),r=te(void 0),o;try{return t()}finally{Re(n),te(r)}}get(t,n=rt,r=T.Default){if(In(this),t.hasOwnProperty(kc))return t[kc](this);r=vo(r);let o,i=Re(this),s=te(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=kh(t)&&yo(t);l&&this.injectableDefInScope(l)?c=Tt(ji(t),kr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&T.Self?Io():this.parent;return n=r&T.Optional&&n===rt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(ne(t)),i)throw a;return ph(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Re(i)}}resolveInjectorInitializers(){let t=b(null),n=Re(this),r=te(void 0),o;try{let i=this.get(Hr,J,T.Self);for(let s of i)s()}finally{Re(n),te(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=At(t)?t:U(t&&t.provide),r=_h(t);if(!At(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Tt(void 0,kr,!0),o.factory=()=>Fi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{return n.value===Ac?Fl(ne(t)):n.value===kr&&(n.value=Ac,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Sh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ji(e){let t=yo(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof S)throw new D(204,!1);if(e instanceof Function)return Th(e);throw new D(204,!1)}function Th(e){if(e.length>0)throw new D(204,!1);let n=eh(e);return n!==null?()=>n.factory(e):()=>new e}function _h(e){if(Yl(e))return Tt(void 0,e.useValue);{let t=Kl(e);return Tt(t,kr)}}function Kl(e,t,n){let r;if(At(e)){let o=U(e);return st(o)||ji(o)}else if(Yl(e))r=()=>U(e.useValue);else if(Ch(e))r=()=>e.useFactory(...Fi(e.deps||[]));else if(Mh(e))r=(o,i)=>ie(U(e.useExisting),i!==void 0&&i&T.Optional?T.Optional:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Nh(e))r=()=>new o(...Fi(e.deps));else return st(o)||ji(o)}return r}function In(e){if(e.destroyed)throw new D(205,!1)}function Tt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nh(e){return!!e.deps}function Sh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kh(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Hi(e,t){for(let n of e)Array.isArray(n)?Hi(n,t):n&&Ll(n)?Hi(n.\u0275providers,t):t(n)}function Xl(e,t){let n;e instanceof bn?(In(e),n=e):n=new Fr(e);let r,o=Re(n),i=te(void 0);try{return t()}finally{Re(o),te(i)}}function Qs(){return Vl()!==void 0||yn()!=null}function Ys(e){if(!Qs())throw new D(-203,!1)}function Rh(e){let t=Ae.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Ah(e){return typeof e=="function"}var xe=0,w=1,E=2,G=3,pe=4,oe=5,Ot=6,$r=7,j=8,Pt=9,Oe=10,O=11,Mn=12,Oc=13,Wt=14,re=15,at=16,_t=17,Pe=18,Eo=19,eu=20,$e=21,Di=22,ct=23,ae=24,kt=25,F=26,Js=1;var lt=7,Ur=8,Lt=9,z=10;function Ue(e){return Array.isArray(e)&&typeof e[Js]=="object"}function Fe(e){return Array.isArray(e)&&e[Js]===!0}function Ks(e){return(e.flags&4)!==0}function zt(e){return e.componentOffset>-1}function Do(e){return(e.flags&1)===1}function he(e){return!!e.template}function qr(e){return(e[E]&512)!==0}function Gt(e){return(e[E]&256)===256}var Bi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function tu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var oS=(()=>{let e=()=>nu;return e.ngInherit=!0,e})();function nu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ph),Oh}function Oh(){let e=ou(this),t=e?.current;if(t){let n=e.previous;if(n===we)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ph(e,t,n,r,o){let i=this.declaredInputs[r],s=ou(e)||Lh(e,{previous:we,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Bi(l&&l.currentValue,n,c===we),tu(e,t,o,n)}var ru="__ngSimpleChanges__";function ou(e){return e[ru]||null}function Lh(e,t){return e[ru]=t}var Pc=null;var A=function(e,t=null,n){Pc?.(e,t,n)},iu="svg",Fh="math";function be(e){for(;Array.isArray(e);)e=e[xe];return e}function Vh(e){for(;Array.isArray(e);){if(typeof e[Js]=="object")return e;e=e[xe]}return null}function su(e,t){return be(t[e])}function Te(e,t){return be(t[e.index])}function Xs(e,t){return e.data[t]}function wo(e,t){return e[t]}function ea(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Me(e,t){let n=t[e];return Ue(n)?n:n[xe]}function jh(e){return(e[E]&4)===4}function ta(e){return(e[E]&128)===128}function Hh(e){return Fe(e[G])}function ze(e,t){return t==null?null:e[t]}function au(e){e[_t]=0}function cu(e){e[E]&1024||(e[E]|=1024,ta(e)&&Zt(e))}function Bh(e,t){for(;e>0;)t=t[Wt],e--;return t}function bo(e){return!!(e[E]&9216||e[ae]?.dirty)}function $i(e){e[Oe].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),bo(e)&&Zt(e)}function Zt(e){e[Oe].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ta(t)));)t=ut(t)}function lu(e,t){if(Gt(e))throw new D(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function $h(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ut(e){let t=e[G];return Fe(t)?t[G]:t}function na(e){return e[$r]??=[]}function ra(e){return e.cleanup??=[]}function Uh(e,t,n,r){let o=na(t);o.push(n),e.firstCreatePass&&ra(e).push(r,o.length-1)}var M={lFrame:yu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ui=!1;function qh(){return M.lFrame.elementDepthCount}function Wh(){M.lFrame.elementDepthCount++}function zh(){M.lFrame.elementDepthCount--}function oa(){return M.bindingsEnabled}function uu(){return M.skipHydrationRootTNode!==null}function Gh(e){return M.skipHydrationRootTNode===e}function Zh(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function k(){return M.lFrame.tView}function iS(e){return M.lFrame.contextLView=e,e[j]}function sS(e){return M.lFrame.contextLView=null,e}function Q(){let e=du();for(;e!==null&&e.type===64;)e=e.parent;return e}function du(){return M.lFrame.currentTNode}function Qh(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Qe(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ia(){return M.lFrame.isParent}function sa(){M.lFrame.isParent=!1}function fu(){return M.lFrame.contextLView}function pu(){return Ui}function Wr(e){let t=Ui;return Ui=e,t}function ce(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yh(){return M.lFrame.bindingIndex}function Jh(e){return M.lFrame.bindingIndex=e}function Ye(){return M.lFrame.bindingIndex++}function aa(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Kh(){return M.lFrame.inI18n}function Xh(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,qi(t)}function eg(){return M.lFrame.currentDirectiveIndex}function qi(e){M.lFrame.currentDirectiveIndex=e}function hu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ca(){return M.lFrame.currentQueryIndex}function Mo(e){M.lFrame.currentQueryIndex=e}function tg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function gu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=tg(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=mu();return r.currentTNode=t,r.lView=e,!0}function la(e){let t=mu(),n=e[w];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function mu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?yu(e):t}function yu(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 vu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Iu=vu;function ua(){let e=vu();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 ng(e){return(M.lFrame.contextLView=Bh(e,M.lFrame.contextLView))[j]}function _e(){return M.lFrame.selectedIndex}function dt(e){M.lFrame.selectedIndex=e}function gt(){let e=M.lFrame;return Xs(e.tView,e.selectedIndex)}function aS(){M.lFrame.currentNamespace=iu}function cS(){rg()}function rg(){M.lFrame.currentNamespace=null}function og(){return M.lFrame.currentNamespace}var Eu=!0;function Co(){return Eu}function xo(e){Eu=e}function ig(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=nu(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 da(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Rr(e,t,n){Du(e,t,3,n)}function Ar(e,t,n,r){(e[E]&3)===n&&Du(e,t,n,r)}function wi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Du(e,t,n,r){let o=r!==void 0?e[_t]&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[_t]+=65536),(a<i||i==-1)&&(sg(e,n,t,c),e[_t]=(e[_t]&4294901760)+c+2),c++}function Lc(e,t){A(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),A(5,e,t)}}function sg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[_t]>>16&&(e[E]&3)===t&&(e[E]+=16384,Lc(a,i)):Lc(a,i)}var Rt=-1,ft=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function ag(e){return(e.flags&8)!==0}function cg(e){return(e.flags&16)!==0}function lg(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];ug(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function wu(e){return e===3||e===4||e===6}function ug(e){return e.charCodeAt(0)===64}function Ft(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?Fc(e,n,o,null,t[++r]):Fc(e,n,o,null,null))}}return e}function Fc(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 bu(e){return e!==Rt}function zr(e){return e&32767}function dg(e){return e>>16}function Gr(e,t){let n=dg(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var Wi=!0;function Zr(e){let t=Wi;return Wi=e,t}var fg=256,Mu=fg-1,Cu=5,pg=0,De={};function hg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=pg++);let o=r&Mu,i=1<<o;t.data[e+(o>>Cu)]|=i}function Qr(e,t){let n=xu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,bi(r.data,e),bi(t,null),bi(r.blueprint,null));let o=fa(e,t),i=e.injectorIndex;if(bu(o)){let s=zr(o),a=Gr(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fa(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=ku(o),r===null)return Rt;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Rt}function zi(e,t,n){hg(e,t,n)}function gg(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(wu(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 Tu(e,t,n){if(n&T.Optional||e!==void 0)return e;zs(t,"NodeInjector")}function _u(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[Pt],i=te(void 0);try{return o?o.get(t,r,n&T.Optional):jl(t,r,n&T.Optional)}finally{te(i)}}return Tu(r,t,n)}function Nu(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Ig(e,t,n,r,De);if(s!==De)return s}let i=Su(e,t,n,r,De);if(i!==De)return i}return _u(t,n,r,o)}function Su(e,t,n,r,o){let i=yg(n);if(typeof i=="function"){if(!gu(t,e,r))return r&T.Host?Tu(o,n,r):_u(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))zs(n);else return s}finally{Iu()}}else if(typeof i=="number"){let s=null,a=xu(e,t),c=Rt,l=r&T.Host?t[re][oe]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?fa(e,t):t[a+8],c===Rt||!jc(r,!1)?a=-1:(s=t[w],a=zr(c),t=Gr(c,t)));a!==-1;){let u=t[w];if(Vc(i,a,u.data)){let d=mg(a,t,n,s,r,l);if(d!==De)return d}c=t[a+8],c!==Rt&&jc(r,t[w].data[a+8]===l)&&Vc(i,a,t)?(s=u,a=zr(c),t=Gr(c,t)):a=-1}}return o}function mg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?zt(a)&&Wi:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Or(a,s,n,c,l);return u!==null?Cn(t,s,u,a,o):De}function Or(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&he(f)&&f.type===n)return c}return null}function Cn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof ft){let a=i;a.resolving&&Fl(sh(s[n]));let c=Zr(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?te(a.injectImpl):null,d=gu(e,r,T.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&ig(n,s[n],t)}finally{u!==null&&te(u),Zr(c),a.resolving=!1,Iu()}}return i}function yg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&Mu:vg:t}function Vc(e,t,n){let r=1<<e;return!!(n[t+(e>>Cu)]&r)}function jc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var ot=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Nu(this._tNode,this._lView,t,vo(r),n)}};function vg(){return new ot(Q(),g())}function lS(e){return An(()=>{let t=e.prototype.constructor,n=t[Lr]||Gi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lr]||Gi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gi(e){return Al(e)?()=>{let t=Gi(U(e));return t&&t()}:st(e)}function Ig(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!qr(s);){let a=Su(i,s,n,r|T.Self,De);if(a!==De)return a;let c=i.parent;if(!c){let l=s[eu];if(l){let u=l.get(n,De,r);if(u!==De)return u}c=ku(s),s=s[Wt]}i=c}return o}function ku(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function Eg(e){return gg(Q(),e)}function Hc(e,t=null,n=null,r){let o=Ru(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ru(e,t=null,n=null,r,o=new Set){let i=[n||J,wh(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new bn(i,t||Io(),r||null,o)}var Ce=class e{static THROW_IF_NOT_FOUND=rt;static NULL=new Br;static create(t,n){if(Array.isArray(t))return Hc({name:""},n,t,"");{let r=t.name??"";return Hc({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>ie(ql)});static __NG_ELEMENT_ID__=-1};var Bc=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Eg(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Dg=new S("");Dg.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new D(204,!1)};var Au=!1,Qt=(()=>{class e{static __NG_ELEMENT_ID__=wg;static __NG_ENV_ID__=n=>n}return e})(),Yr=class extends Qt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Gt(n)?(t(),()=>{}):(lu(n,t),()=>$h(n,t))}};function wg(){return new Yr(g())}var Ge=class{},Ou=new S("",{providedIn:"root",factory:()=>!1});var Pu=new S(""),Lu=new S(""),Ln=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new cn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),uS=(()=>{class e{internalPendingTasks=C(Ln);scheduler=C(Ge);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return Ba(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zi=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Qs()&&(this.destroyRef=C(Qt,{optional:!0})??void 0,this.pendingTasks=C(Ln,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 L&&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)}})}}},Be=Zi;function xn(...e){}function Fu(e){let t,n;function r(){e=xn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function $c(e){return queueMicrotask(()=>e()),()=>{e=xn}}var pa="isAngularZone",Jr=pa+"_ID",bg=0,K=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Au}=t;if(typeof Zone>"u")throw new D(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,xg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,Mg,xn,xn);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)}},Mg={};function ha(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 Cg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Fu(()=>{e.callbackScheduled=!1,Qi(e),e.isCheckStableRunning=!0,ha(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Qi(e)}function xg(e){let t=()=>{Cg(e)},n=bg++;e._inner=e._inner.fork({name:"angular",properties:{[pa]:!0,[Jr]:n,[Jr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Tg(c))return r.invokeTask(i,s,a,c);try{return Uc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),qc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Uc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_g(c)&&t(),qc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Qi(e),ha(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 Qi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Uc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qc(e){e._nesting--,ha(e)}var Kr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;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 Tg(e){return Vu(e,"__ignore_ng_zone__")}function _g(e){return Vu(e,"__scheduler_tick__")}function Vu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Ng(e="zone.js",t){return e==="noop"?new Kr:e==="zone.js"?new K(t):e}var Ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Sg=new S("",{providedIn:"root",factory:()=>{let e=C(K),t=C(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Xr=class{destroyed=!1;listeners=null;errorHandler=C(Ze,{optional:!0});destroyRef=C(Qt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(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(_l(953,!1));return}if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function dS(e){return new Xr}function Wc(e,t){return Sl(e,t)}function kg(e){return Sl(mo,e)}var fS=(Wc.required=kg,Wc);function Rg(){return Yt(Q(),g())}function Yt(e,t){return new To(Te(e,t))}var To=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Rg}return e})();function ju(e){return e instanceof To?e.nativeElement:e}function Ag(e){return typeof e=="function"&&e[Y]!==void 0}function Og(e,t){let n=gi(e,t?.equal),r=n[Y];return n.set=o=>xt(r,o),n.update=o=>mi(r,o),n.asReadonly=Hu.bind(n),n}function Hu(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}function Bu(e){return Ag(e)&&typeof e.set=="function"}function Pg(){return this._results[Symbol.iterator]()}var Yi=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 se}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=mh(t);(this._changesDetected=!gh(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]=Pg};function $u(e){return(e.flags&128)===128}var Uu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uu||{}),qu=new Map,Lg=0;function Fg(){return Lg++}function Vg(e){qu.set(e[Eo],e)}function Ji(e){qu.delete(e[Eo])}var zc="__ngContext__";function Jt(e,t){Ue(t)?(e[zc]=t[Eo],Vg(t)):e[zc]=t}function Wu(e){return Gu(e[Mn])}function zu(e){return Gu(e[pe])}function Gu(e){for(;e!==null&&!Fe(e);)e=e[pe];return e}var Ki;function pS(e){Ki=e}function Zu(){if(Ki!==void 0)return Ki;if(typeof document<"u")return document;throw new D(210,!1)}var hS=new S("",{providedIn:"root",factory:()=>jg}),jg="ng",Hg=new S(""),gS=new S("",{providedIn:"platform",factory:()=>"unknown"});var mS=new S(""),yS=new S("",{providedIn:"root",factory:()=>Zu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bg={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},vS=new S("",{providedIn:"root",factory:()=>Bg});var $g="h",Ug="b";var Qu=!1,qg=new S("",{providedIn:"root",factory:()=>Qu});var ga=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ga||{}),_o=new S(""),Gc=new Set;function Kt(e){Gc.has(e)||(Gc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ma=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Wg}return e})();function Wg(){return new ma(g(),Q())}var Nt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Nt||{}),Yu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),zg=[Nt.EarlyRead,Nt.Write,Nt.MixedReadWrite,Nt.Read],Gg=(()=>{class e{ngZone=C(K);scheduler=C(Ge);errorHandler=C(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(_o,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of zg)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&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[kt]??=[]).push(n),Zt(r),r[E]|=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(ga.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xi=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?.[kt];t&&(this.view[kt]=t.filter(n=>n!==this))}};function Zg(e,t){!t?.injector&&Ys(Zg);let n=t?.injector??C(Ce);return Kt("NgAfterRender"),Ju(e,n,t,!1)}function Qg(e,t){!t?.injector&&Ys(Qg);let n=t?.injector??C(Ce);return Kt("NgAfterNextRender"),Ju(e,n,t,!0)}function Yg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ju(e,t,n,r){let o=t.get(Yu);o.impl??=t.get(Gg);let i=t.get(_o,null,{optional:!0}),s=n?.phase??Nt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Qt):null,c=t.get(ma,null,{optional:!0}),l=new Xi(o.impl,Yg(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Jg=(e,t,n,r)=>{};function Kg(e,t,n,r){Jg(e,t,n,r)}var Xg=()=>null;function Ku(e,t,n=!1){return Xg(e,t,n)}function Xu(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];Mo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function es(e,t,n){Mo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ya(e,t,n){if(Ks(t)){let r=b(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{b(r)}}}var Tn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Tn||{}),xr;function em(){if(xr===void 0&&(xr=null,Ae.trustedTypes))try{xr=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function No(e){return em()?.createHTML(e)||e}var Tr;function ed(){if(Tr===void 0&&(Tr=null,Ae.trustedTypes))try{Tr=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tr}function Zc(e){return ed()?.createHTML(e)||e}function Qc(e){return ed()?.createScriptURL(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Tl})`}},ts=class extends Le{getTypeName(){return"HTML"}},ns=class extends Le{getTypeName(){return"Style"}},rs=class extends Le{getTypeName(){return"Script"}},os=class extends Le{getTypeName(){return"URL"}},is=class extends Le{getTypeName(){return"ResourceURL"}};function Xt(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function va(e,t){let n=tm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Tl})`)}return n===t}function tm(e){return e instanceof Le&&e.getTypeName()||null}function IS(e){return new ts(e)}function ES(e){return new ns(e)}function DS(e){return new rs(e)}function wS(e){return new os(e)}function bS(e){return new is(e)}function nm(e){let t=new as(e);return rm()?new ss(t):t}var ss=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(No(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},as=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=No(t),n}};function rm(){try{return!!new window.DOMParser().parseFromString(No(""),"text/html")}catch{return!1}}var om=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function td(e){return e=String(e),e.match(om)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var nd=Ve("area,br,col,hr,img,wbr"),rd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),od=Ve("rp,rt"),im=Fn(od,rd),sm=Fn(rd,Ve("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")),am=Fn(od,Ve("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")),Yc=Fn(nd,sm,am,im),id=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ve("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"),lm=Ve("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"),um=Fn(id,cm,lm),dm=Ve("script,style,template"),cs=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=hm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=pm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Jc(t).toLowerCase();if(!Yc.hasOwnProperty(n))return this.sanitizedSomething=!0,!dm.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(!um.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;id[a]&&(c=td(c)),this.buf.push(" ",s,'="',Kc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Jc(t).toLowerCase();Yc.hasOwnProperty(n)&&!nd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Kc(t))}};function fm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw sd(t);return t}function hm(e){let t=e.firstChild;if(t&&fm(e,t))throw sd(t);return t}function Jc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function sd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mm=/([^\#-~ |!])/g;function Kc(e){return e.replace(/&/g,"&").replace(gm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var _r;function ym(e,t){let n=null;try{_r=_r||nm(e);let r=t?String(t):"";n=_r.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=_r.getInertBodyElement(r)}while(r!==i);let a=new cs().sanitizeChildren(Xc(n)||n);return No(a)}finally{if(n){let r=Xc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Xc(e){return"content"in e&&vm(e)?e.content:null}function vm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var So=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}(So||{});function MS(e){let t=Ia();return t?Zc(t.sanitize(So.HTML,e)||""):va(e,"HTML")?Zc(Xt(e)):ym(Zu(),it(e))}function Im(e){let t=Ia();return t?t.sanitize(So.URL,e)||"":va(e,"URL")?Xt(e):td(it(e))}function Em(e){let t=Ia();if(t)return Qc(t.sanitize(So.RESOURCE_URL,e)||"");if(va(e,"ResourceURL"))return Qc(Xt(e));throw new D(904,!1)}function Dm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Em:Im}function CS(e,t,n){return Dm(t,n)(e)}function Ia(){let e=g();return e&&e[Oe].sanitizer}var wm=/^>|^->|<!--|-->|--!>|<!-$/g,bm=/(<|>)/g,Mm="\u200B$1\u200B";function Cm(e){return e.replace(wm,t=>t.replace(bm,Mm))}function ad(e){return e instanceof Function?e():e}function xm(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 cd="ng-template";function Tm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&xm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ea(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 Ea(e){return e.type===4&&e.value!==cd}function _m(e,t,n){let r=e.type===4&&!n?cd:e.value;return t===r}function Nm(e,t,n){let r=4,o=e.attrs,i=o!==null?Rm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!fe(r)&&!fe(c))return!1;if(s&&fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!_m(e,c,n)||c===""&&t.length===1){if(fe(r))return!1;s=!0}}else if(r&8){if(o===null||!Tm(e,o,c,n)){if(fe(r))return!1;s=!0}}else{let l=t[++a],u=Sm(c,o,Ea(e),n);if(u===-1){if(fe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(e){return(e&1)===0}function Sm(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 Am(t,e)}function ld(e,t,n=!1){for(let r=0;r<t.length;r++)if(Nm(e,t[r],n))return!0;return!1}function km(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Rm(e){for(let t=0;t<e.length;t++){let n=e[t];if(wu(n))return t}return e.length}function Am(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 Om(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 el(e,t){return e?":not("+t.trim()+")":t}function Pm(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!==""&&!fe(s)&&(t+=el(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(t+=el(i,o)),t}function Lm(e){return e.map(Pm).join(",")}function Fm(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(!fe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={};function Vm(e,t){return e.createText(t)}function jm(e,t,n){e.setValue(t,n)}function Hm(e,t){return e.createComment(Cm(t))}function ud(e,t,n){return e.createElement(t,n)}function eo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function dd(e,t,n){e.appendChild(t,n)}function tl(e,t,n,r,o){r!==null?eo(e,t,n,r,o):dd(e,t,n)}function Bm(e,t,n){e.removeChild(null,t,n)}function $m(e,t,n){e.setAttribute(t,"style",n)}function Um(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function fd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&lg(e,t,r),o!==null&&Um(e,t,o),i!==null&&$m(e,t,i)}function Da(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=qm(d,p),h=typeof l=="function"?l():l;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function qm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function Wm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Da(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[xe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),au(d),d[G]=d[Wt]=e,d[j]=n,d[Oe]=s||e&&e[Oe],d[O]=a||e&&e[O],d[Pt]=c||e&&e[Pt]||null,d[oe]=i,d[Eo]=Fg(),d[Ot]=u,d[eu]=l,d[re]=t.type==2?e[re]:d,d}function zm(e,t,n){let r=Te(t,e),o=Wm(n),i=e[Oe].rendererFactory,s=ba(e,wa(e,o,null,pd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function pd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function hd(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 ba(e,t){return e[Mn]?e[Oc][pe]=t:e[Mn]=t,e[Oc]=t,t}function xS(e=1){gd(k(),g(),_e()+e,!1)}function gd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ar(t,i,0,n)}dt(n)}var ko=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ko||{});function ls(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ko.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):tu(t,c,i,r)}finally{b(o)}}function md(e,t,n,r,o){let i=_e(),s=r&2;try{dt(-1),s&&t.length>F&&gd(e,t,F,!1),A(s?2:0,o),n(r,o)}finally{dt(i),A(s?3:1,o)}}function Ro(e,t,n){Km(e,t,n),(n.flags&64)===64&&Xm(e,t,n)}function Ma(e,t,n=Te){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 Gm(e,t,n,r){let i=r.get(qg,Qu)||n===Tn.ShadowDom,s=e.selectRootElement(t,i);return Zm(s),s}function Zm(e){Qm(e)}var Qm=()=>null;function Ym(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function en(e,t,n,r,o,i,s,a){if(!a&&xa(t,e,n,r,o)){zt(t)&&Jm(n,t.index);return}if(t.type&3){let c=Te(t,n);r=Ym(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Jm(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Km(e,t,n){let r=n.directiveStart,o=n.directiveEnd;zt(n)&&zm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Qr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(Jt(c,t),i!==null&&ry(t,s-r,c,a,n,i),he(a)){let l=Me(n.index,t);l[j]=Cn(t,e,s,n)}}}function Xm(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=eg();try{dt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];qi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ey(c,l)}}finally{dt(-1),qi(s)}}function ey(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ca(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ld(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function ty(e,t,n,r,o,i){let s=Te(e,t);ny(t[O],s,i,e.value,n,r,o)}function ny(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?it(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ry(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],l=s[a+1];ls(r,n,c,l)}}function oy(e,t,n){return(e===null||he(e))&&(n=Vh(n[t.index])),n[O]}function iy(e,t){let n=e[Pt],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function xa(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 l=s[c],u=s[c+1],d=t.data[l];ls(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ls(u,l,r,o),a=!0}return a}function sy(e,t){let n=Me(t,e),r=n[w];ay(r,n);let o=n[xe];o!==null&&n[Ot]===null&&(n[Ot]=Ku(o,n[Pt])),A(18),Ta(r,n,n[j]),A(19,n[j])}function ay(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ta(e,t,n){la(t);try{let r=e.viewQuery;r!==null&&es(1,r,n);let o=e.template;o!==null&&md(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&Xu(e,t),e.staticViewQueries&&es(2,e.viewQuery,n);let i=e.components;i!==null&&cy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,ua()}}function cy(e,t){for(let n=0;n<t.length;n++)sy(e,t[n])}function Vn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=wa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),Ta(i,c,n),c}finally{b(o)}}function Vt(e,t){return!t||t.firstChild===null||$u(e)}var ly;function _a(e,t){return ly(e,t)}var us=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(us||{});function Na(e){return(e.flags&32)===32}function St(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Ue(r)&&(s=!0,r=r[xe]);let a=be(r);e===0&&n!==null?o==null?dd(t,n,a):eo(t,n,a,o||null,!0):e===1&&n!==null?eo(t,n,a,o||null,!0):e===2?Bm(t,a,s):e===3&&t.destroyNode(a),i!=null&&Iy(t,e,i,n,o)}}function uy(e,t){yd(e,t),t[xe]=null,t[oe]=null}function dy(e,t,n,r,o,i){r[xe]=o,r[oe]=t,Po(e,r,n,1,o,i)}function yd(e,t){t[Oe].changeDetectionScheduler?.notify(9),Po(e,t,t[O],2,null,null)}function fy(e){let t=e[Mn];if(!t)return Mi(e[w],e);for(;t;){let n=null;if(Ue(t))n=t[Mn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Ue(t)&&Mi(t[w],t),t=t[G];t===null&&(t=e),Ue(t)&&Mi(t[w],t),n=t&&t[pe]}t=n}}function Sa(e,t){let n=e[Lt],r=n.indexOf(t);n.splice(r,1)}function Ao(e,t){if(Gt(t))return;let n=t[O];n.destroyNode&&Po(e,t,n,3,null,null),fy(t)}function Mi(e,t){if(Gt(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[ae]&&mn(t[ae]),hy(e,t),py(e,t),t[w].type===1&&t[O].destroy();let r=t[at];if(r!==null&&Fe(t[G])){r!==t[G]&&Sa(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Ji(t)}finally{b(n)}}function py(e,t){let n=e.cleanup,r=t[$r];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[$r]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function hy(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 ft)){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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function vd(e,t,n){return gy(e,t.parent,n)}function gy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[xe];if(zt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Tn.None||o===Tn.Emulated)return null}return Te(r,n)}function Id(e,t,n){return yy(e,t,n)}function my(e,t,n){return e.type&40?Te(e,n):null}var yy=my,nl;function Oo(e,t,n,r){let o=vd(e,r,t),i=t[O],s=r.parent||t[oe],a=Id(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)tl(i,o,n[c],a,!1);else tl(i,o,n,a,!1);nl!==void 0&&nl(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return Te(t,e);if(n&4)return ds(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Fe(o)?ds(-1,o):be(o)}}else{if(n&128)return En(e,t.next);if(n&32)return _a(t,e)()||be(e[t.index]);{let r=Ed(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[re]);return En(o,r)}else return En(e,t.next)}}}return null}function Ed(e,t){if(t!==null){let r=e[re][oe],o=t.projection;return r.projection[o]}return null}function ds(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return En(r,o)}return t[lt]}function ka(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Jt(be(a),r),n.flags|=2),!Na(n))if(c&8)ka(e,t,n.child,r,o,i,!1),St(t,e,o,a,i);else if(c&32){let l=_a(n,r),u;for(;u=l();)St(t,e,o,u,i);St(t,e,o,a,i)}else c&16?Dd(e,t,r,n,o,i):St(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Po(e,t,n,r,o,i){ka(n,r,e.firstChild,t,o,i,!1)}function vy(e,t,n){let r=t[O],o=vd(e,n,t),i=n.parent||t[oe],s=Id(i,n,t);Dd(r,0,t,n,o,s)}function Dd(e,t,n,r,o,i){let s=n[re],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];St(t,e,o,u,i)}else{let l=c,u=s[G];$u(r)&&(l.flags|=128),ka(e,t,l,u,o,i,!0)}}function Iy(e,t,n,r,o){let i=n[lt],s=be(n);i!==s&&St(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];Po(c[w],c,e,t,r,i)}}function Ey(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:us.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=us.Important),e.setStyle(n,r,o,i))}}function to(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(be(i)),Fe(i)&&Dy(i,r);let s=n.type;if(s&8)to(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ed(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[re]);to(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dy(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&to(r[w],r,o,t)}e[lt]!==e[xe]&&t.push(e[lt])}function wd(e){if(e[kt]!==null){for(let t of e[kt])t.impl.addSequence(t);e[kt].length=0}}var bd=[];function wy(e){return e[ae]??by(e)}function by(e){let t=bd.pop()??Object.create(Cy);return t.lView=e,t}function My(e){e.lView[ae]!==e&&(e.lView=null,bd.push(e))}var Cy=ee(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Zt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function xy(e){let t=e[ae]??Object.create(Ty);return t.lView=e,t}var Ty=ee(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!Md(t[w]);)t=ut(t);t&&cu(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Md(e){return e.type!==2}function Cd(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var _y=100;function xd(e,t=!0,n=0){let o=e[Oe].rendererFactory,i=!1;i||o.begin?.();try{Ny(e,n)}catch(s){throw t&&iy(e,s),s}finally{i||o.end?.()}}function Ny(e,t){let n=pu();try{Wr(!0),fs(e,t);let r=0;for(;bo(e);){if(r===_y)throw new D(103,!1);r++,fs(e,1)}}finally{Wr(n)}}function Sy(e,t,n,r){if(Gt(t))return;let o=t[E],i=!1,s=!1;la(t);let a=!0,c=null,l=null;i||(Md(e)?(l=wy(t),c=gn(l)):ui()===null?(a=!1,l=xy(t),c=gn(l)):t[ae]&&(mn(t[ae]),t[ae]=null));try{au(t),Jh(e.bindingStartIndex),n!==null&&md(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ar(t,f,0,null),wi(t,0)}if(s||ky(t),Cd(t),Td(t,0),e.contentQueries!==null&&Xu(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Ar(t,f,1),wi(t,1)}Ay(e,t);let d=e.components;d!==null&&Nd(t,d,0);let p=e.viewQuery;if(p!==null&&es(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Ar(t,f,2),wi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Di]){for(let f of t[Di])f();t[Di]=null}i||(wd(t),t[E]&=-73)}catch(u){throw i||Zt(t),u}finally{l!==null&&(vr(l,c),a&&My(l)),ua()}}function Td(e,t){for(let n=Wu(e);n!==null;n=zu(n))for(let r=z;r<n.length;r++){let o=n[r];_d(o,t)}}function ky(e){for(let t=Wu(e);t!==null;t=zu(t)){if(!(t[E]&2))continue;let n=t[Lt];for(let r=0;r<n.length;r++){let o=n[r];cu(o)}}}function Ry(e,t,n){A(18);let r=Me(t,e);_d(r,n),A(19,r[j])}function _d(e,t){ta(e)&&fs(e,t)}function fs(e,t){let r=e[w],o=e[E],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ir(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)Sy(r,e,r.template,e[j]);else if(o&8192){Cd(e),Td(e,1);let a=r.components;a!==null&&Nd(e,a,1),wd(e)}}function Nd(e,t,n){for(let r=0;r<t.length;r++)Ry(e,t[r],n)}function Ay(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)dt(~o);else{let i=o,s=n[++r],a=n[++r];Xh(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{dt(-1)}}function Ra(e,t){let n=pu()?64:1088;for(e[Oe].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=ut(e);if(qr(e)&&!r)return e;e=r}return null}function Sd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function kd(e,t){let n=z+t;if(n<e.length)return e[n]}function jn(e,t,n,r=!0){let o=t[w];if(Oy(o,t,e,n),r){let s=ds(n,e),a=t[O],c=a.parentNode(e[lt]);c!==null&&dy(o,e[oe],a,t,c,s)}let i=t[Ot];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Rd(e,t){let n=_n(e,t);return n!==void 0&&Ao(n[w],n),n}function _n(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&Sa(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=jr(e,z+t);uy(r[w],r);let s=i[Pe];s!==null&&s.detachView(i[w]),r[G]=null,r[pe]=null,r[E]&=-129}return r}function Oy(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-z?(t[pe]=n[o],Ul(n,z+r,t)):(n.push(t),t[pe]=null),t[G]=n;let s=t[at];s!==null&&n!==s&&Ad(s,t);let a=t[Pe];a!==null&&a.insertView(e),$i(t),t[E]|=128}function Ad(e,t){let n=e[Lt],r=t[G];if(Ue(r))e[E]|=2;else{let o=r[G][re];t[re]!==o&&(e[E]|=2)}n===null?e[Lt]=[t]:n.push(t)}var Nn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return to(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Fe(t)){let n=t[Ur],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),jr(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[w],this._lView)}onDestroy(t){lu(this._lView,t)}markForCheck(){Ra(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){$i(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qr(this._lView),n=this._lView[at];n!==null&&!t&&Sa(n,this._lView),yd(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=qr(this._lView),r=this._lView[at];r!==null&&!n&&Ad(r,this._lView),$i(this._lView)}};var no=(()=>{class e{static __NG_ELEMENT_ID__=Fy}return e})(),Py=no,Ly=class extends Py{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nn(o)}};function Fy(){return Lo(Q(),g())}function Lo(e,t){return e.type&4?new Ly(t,e,Yt(e,t)):null}function tn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Vy(e,t,n,r,o),Kh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Qh();i.injectorIndex=s===null?-1:s.injectorIndex}return Qe(i,!0),i}function Vy(e,t,n,r,o){let i=du(),s=ia(),a=s?i:i&&i.parent,c=e.data[t]=Hy(e,a,n,t,r,o);return jy(e,c,i,s),c}function jy(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 Hy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return uu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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}}var NS=new RegExp(`^(\\d+)*(${Ug}|${$g})*(.*)`);var By=()=>null;function jt(e,t){return By(e,t)}var $y=class{},Od=class{},ps=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ne(t)}.`)}},Fo=class{static NULL=new ps},ro=class{},AS=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Uy()}return e})();function Uy(){let e=g(),t=Q(),n=Me(t.index,e);return(Ue(n)?n:e)[O]}var qy=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var Ci={},hs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Ci,r);return o!==Ci||n===Ci?o:this.parentInjector.get(t,n,r)}};function gs(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=Oi(o,a);else if(i==2){let c=a,l=t[++s];r=Oi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Vo(e,t=T.Default){let n=g();if(n===null)return ie(e,t);let r=Q();return Nu(r,n,U(e),t)}function OS(){let e="invalid";throw new Error(e)}function Aa(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=zy(s);u===null?a=s:[a,c,l]=u,Qy(e,t,n,a,i,c,l)}i!==null&&r!==null&&Wy(n,r,i)}function Wy(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 D(-301,!1);r.push(t[o],i)}}function zy(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Gy(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Gy(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Zy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qy(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&he(f)&&(c=!0,Zy(e,n,p)),zi(Qr(n,t),e,f.type)}tv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=hd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Ft(n.mergedAttrs,f.hostAttrs),Jy(e,n,t,d,f),ev(d,f,o),s!==null&&s.has(f)){let[I,P]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,P+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;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Yy(e,n,i)}function Yy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))rl(0,t,o,r),rl(1,t,o,r),il(t,r,!1);else{let i=n.get(o);ol(0,t,i,r),ol(1,t,i,r),il(t,r,!0)}}}function rl(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),Pd(t,i)}}function ol(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),Pd(t,s)}}function Pd(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function il(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ea(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 l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Jy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new ft(i,he(o),Vo);e.blueprint[r]=s,n[r]=s,Ky(e,t,r,hd(e,n,o.hostVars,X),o)}function Ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Xy(s)!=a&&s.push(a),s.push(n,r,i)}}function Xy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ev(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function tv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ld(e,t,n,r,o,i,s,a){let c=t.consts,l=ze(c,s),u=tn(t,e,2,r,l);return i&&Aa(t,n,u,ze(c,a),o),u.mergedAttrs=Ft(u.mergedAttrs,u.attrs),u.attrs!==null&&gs(u,u.attrs,!1),u.mergedAttrs!==null&&gs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Fd(e,t){da(e,t),Ks(t)&&e.queries.elementEnd(t)}var oo=class extends Fo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new pt(n,this.ngModule)}};function nv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ko.SignalBased)!==0};return o&&(i.transform=o),i})}function rv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function ov(e,t,n){let r=t instanceof We?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new hs(n,r):n}function iv(e){let t=e.get(ro,null);if(t===null)throw new D(407,!1);let n=e.get(qy,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function sv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return ud(t,n,n==="svg"?iu:n==="math"?Fh:null)}var pt=class extends Od{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=nv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=rv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Lm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:Fm(this.componentDef.selectors[0]),c=Da(0,null,null,1,0,null,null,null,null,[a],null),l=ov(s,o||this.ngModule,t),u=iv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Gm(d,r,s.encapsulation,l):sv(s,d),f=wa(null,c,null,512|pd(s),null,null,u,d,l,null,Ku(p,l,!0));f[F]=p,la(f);let h=null;try{let I=Ld(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(fd(d,p,I),Jt(p,f)),Ro(c,f,I),ya(c,I,f),Fd(c,I),n!==void 0&&av(I,this.ngContentSelectors,n),h=Me(I.index,f),f[j]=h[j],Ta(c,f,null)}catch(I){throw h!==null&&Ji(h),Ji(f),I}finally{A(23),ua()}return new ms(this.componentType,f)}finally{b(i)}}},ms=class extends $y{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Xs(n[w],F),this.location=Yt(this._tNode,n),this.instance=Me(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Nn(n,void 0,!1),this.componentType=t}setInput(t,n){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=xa(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);Ra(s,1)}get injector(){return new ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function av(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 Oa=(()=>{class e{static __NG_ELEMENT_ID__=cv}return e})();function cv(){let e=Q();return jd(e,g())}var lv=Oa,Vd=class extends lv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ot(this._hostTNode,this._hostLView)}get parentInjector(){let t=fa(this._hostTNode,this._hostLView);if(bu(t)){let n=Gr(t,this._hostLView),r=zr(t),o=n[w].data[r+8];return new ot(o,n)}else return new ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=sl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Vt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Ah(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new pt(qe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let I=(s?l:this.parentInjector).get(We,null);I&&(i=I)}let u=qe(c.componentType??{}),d=jt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Vt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Hh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Vd(c,c[oe],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return jn(s,o,i,r),t.attachToViewContainerRef(),Ul(xi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=sl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(jr(xi(this._lContainer),n),Ao(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&jr(xi(this._lContainer),n)!=null?new Nn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function sl(e){return e[Ur]}function xi(e){return e[Ur]||(e[Ur]=[])}function jd(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Sd(r,t,null,e),t[e.index]=n,ba(t,n)),dv(n,t,e,r),new Vd(n,e,t)}function uv(e,t){let n=e[O],r=n.createComment(""),o=Te(t,e),i=n.parentNode(o);return eo(n,i,r,n.nextSibling(o),!1),r}var dv=hv,fv=()=>!1;function pv(e,t,n){return fv(e,t,n)}function hv(e,t,n,r){if(e[lt])return;let o;n.type&8?o=be(r):o=uv(t,n),e[lt]=o}var ys=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},vs=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++)La(t,n).matches!==null&&this.queries[n].setDirty()}},io=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Ev(t):this.predicate=t}},Is=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)}},Es=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,gv(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===no?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===To||o===Oa||o===no&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 gv(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 mv(e,t){return e.type&11?Yt(e,t):e.type&4?Lo(e,t):null}function yv(e,t,n,r){return n===-1?mv(t,e):n===-2?vv(e,t,r):Cn(e,e[w],n,t)}function vv(e,t,n){if(n===To)return Yt(t,e);if(n===no)return Lo(t,e);if(n===Oa)return jd(t,e)}function Hd(e,t,n,r){let o=t[Pe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(yv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ds(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Hd(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=z;d<u.length;d++){let p=u[d];p[at]===p[G]&&Ds(p[w],p,l,r)}if(u[Lt]!==null){let d=u[Lt];for(let p=0;p<d.length;p++){let f=d[p];Ds(f[w],f,l,r)}}}}}return r}function Pa(e,t){return e[Pe].queries[t].queryList}function Bd(e,t,n){let r=new Yi((n&4)===4);return Uh(e,t,r,r.destroy),(t[Pe]??=new vs).queries.push(new ys(r))-1}function Iv(e,t,n){let r=k();return r.firstCreatePass&&(Ud(r,new io(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Bd(r,g(),t)}function $d(e,t,n,r){let o=k();if(o.firstCreatePass){let i=Q();Ud(o,new io(t,n,r),i.index),Dv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Bd(o,g(),n)}function Ev(e){return e.split(",").map(t=>t.trim())}function Ud(e,t,n){e.queries===null&&(e.queries=new Is),e.queries.track(new Es(t,n))}function Dv(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 La(e,t){return e.queries.getByIndex(t)}function qd(e,t){let n=e[w],r=La(n,t);return r.crossesNgTemplate?Ds(n,e,t,[]):Hd(n,e,r,t)}function Wd(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=Cv(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[Y],r._dirtyCounter=Og(0),r._flatValue=void 0,o}function wv(e){return Wd(!0,!1,e)}function bv(e){return Wd(!0,!0,e)}function Mv(e,t){let n=e[Y];n._lView=g(),n._queryIndex=t,n._queryList=Pa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Cv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=Pa(n,r),i=qd(n,r);return o.reset(i,ju),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function al(e,t){return wv(t)}function xv(e,t){return bv(t)}var LS=(al.required=xv,al);function zd(e,t){let n=Object.create(Nl),r=new Xr;n.value=e;function o(){return Ct(n),cl(n.value),n.value}return o[Y]=n,o.asReadonly=Hu.bind(o),o.set=i=>{n.equal(n.value,i)||(xt(n,i),r.emit(i))},o.update=i=>{cl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function cl(e){if(e===mo)throw new D(952,!1)}function ll(e,t){return zd(e,t)}function Tv(e){return zd(mo,e)}var FS=(ll.required=Tv,ll);function _v(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Rv))}return i}return so.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[l+p]=f,u.splice(u.indexOf(d),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Av(i));t.push(c)}),Sv(),Promise.all(t).then(()=>{})}var so=new Map,Nv=new Set;function Sv(){let e=so;return so=new Map,e}function kv(){return so.size===0}function Rv(e){return typeof e=="string"?e:e.text()}function Av(e){Nv.delete(e)}var Sn=class{},Ov=class{};function HS(e,t){return new kn(e,t??null,[])}var kn=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=zl(t);this._bootstrapComponents=ad(i.bootstrap),this._r3Injector=Ru(t,n,[{provide:Sn,useValue:this},{provide:Fo,useValue:this.componentFactoryResolver},...r],ne(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)}},ao=class extends Ov{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new kn(this.moduleType,t,[])}};function Pv(e,t,n){return new kn(e,t,n,!1)}var ws=class extends Sn{injector;componentFactoryResolver=new oo(this);instance=null;constructor(t){super();let n=new bn([...t.providers,{provide:Sn,useValue:this},{provide:Fo,useValue:this.componentFactoryResolver}],t.parent||Io(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Lv(e,t,n=null){return new ws({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Fv=(()=>{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=Zl(!1,n.type),o=r.length>0?Lv([r],this._injector,`Standalone[${n.type.name}]`):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=V({token:e,providedIn:"environment",factory:()=>new e(ie(We))})}return e})();function BS(e){return An(()=>{let t=Gd(e),n=ee(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Fv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Kt("NgStandalone"),Zd(n);let r=e.dependencies;return n.directiveDefs=ul(r,!1),n.pipeDefs=ul(r,!0),n.id=Uv(n),n})}function Vv(e){return qe(e)||Gl(e)}function jv(e){return e!==null}function Hv(e){return An(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bv(e,t){if(e==null)return we;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=ko.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $v(e){if(e==null)return we;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $S(e){return An(()=>{let t=Gd(e);return Zd(t),t})}function US(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 Gd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||we,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bv(e.inputs,t),outputs:$v(e.outputs),debugInfo:null}}function Zd(e){e.features?.forEach(t=>t(e))}function ul(e,t){if(!e)return null;let n=t?Eh:Vv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(jv)}function Uv(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 qv(e){return Object.getPrototypeOf(e.prototype).constructor}function Wv(e){let t=qv(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ti(e.inputs),s.declaredInputs=Ti(e.declaredInputs),s.outputs=Ti(e.outputs);let a=o.hostBindings;a&&Yv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Zv(e,c),l&&Qv(e,l),zv(e,o),Jp(e.outputs,o.outputs),he(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Wv&&(n=!1)}}t=Object.getPrototypeOf(t)}Gv(r)}function zv(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 Gv(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=Ft(o.hostAttrs,n=Ft(n,o.hostAttrs))}}function Ti(e){return e===we?{}:e===J?[]:e}function Zv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Qv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Yv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function qS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Qd,n.hostDirectives=r?e.map(bs):[e]):r?n.hostDirectives.unshift(...e.map(bs)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Qd(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)dl(bs(i),t,n)}else dl(r,t,n)}function dl(e,t,n){let r=Gl(e.directive);Jv(r.declaredInputs,e.inputs),Qd(r,t,n),n.set(r,e),t.push(r)}function bs(e){return typeof e=="function"?{directive:U(e),inputs:we,outputs:we}:{directive:U(e.directive),inputs:fl(e.inputs),outputs:fl(e.outputs)}}function fl(e){if(e===void 0||e.length===0)return we;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Jv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Yd(e){return Fa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Kv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Fa(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ne(e,t,n){return e[t]=n}function Hn(e,t){return e[t]}function Z(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ht(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Jd(e,t,n,r,o){let i=Ht(e,t,n,r);return Z(e,t+2,o)||i}function Bt(e,t,n,r,o,i){let s=Ht(e,t,n,r);return Ht(e,t+2,o,i)||s}function Xv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=tn(t,e,4,s||null,a||null);oa()&&Aa(t,n,u,ze(l,c),Ca),u.mergedAttrs=Ft(u.mergedAttrs,u.attrs),da(t,u);let d=u.tView=Da(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function co(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?Xv(u,t,e,r,o,i,s,a,c):t.data[u];Qe(d,!1);let p=tI(t,e,d,n);Co()&&Oo(t,e,p,d),Jt(p,e);let f=Sd(p,e,p,d);return e[u]=f,ba(e,f),pv(f,d,e),Do(d)&&Ro(t,e,d),c!=null&&Ma(e,d,l),d}function eI(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=ze(l.consts,i);return co(c,l,e,t,n,r,o,u,s,a),eI}var tI=nI;function nI(e,t,n,r){return xo(!0),t[O].createComment("")}var WS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var rI=new S(""),oI=new S(""),zS=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Qs()&&(this._destroyRef=C(Qt,{optional:!0})??void 0),Va||(sI(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(ie(K),ie(iI),ie(oI))};static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),iI=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Va?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sI(e){Va=e}var Va,Kd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new Ms})}return e})(),Ms=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Xd(e){return!!e&&typeof e.then=="function"}function aI(e){return!!e&&typeof e.subscribe=="function"}var ef=new S("");function GS(e){return Dh([{provide:ef,multi:!0,useValue:e}])}var tf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(ef,{optional:!0})??[];injector=C(Ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Xl(this.injector,o);if(Xd(i))n.push(i);else if(aI(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cI=new S("");function lI(){hi(()=>{throw new D(600,!1)})}function uI(e){return e.isBoundToModule}var dI=10;function nf(e,t){return Array.isArray(t)?t.reduce(nf,e):q(q({},e),t)}var $t=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Sg);afterRenderManager=C(Yu);zonelessEnabled=C(Ou);rootEffectScheduler=C(Kd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(Ln).hasPendingTasks.pipe(He(n=>!n));constructor(){C(_o,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(We);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ce.NULL){A(10);let i=n instanceof Od;if(!this._injector.get(tf).done){let f="";throw new D(405,f)}let a;i?a=n:a=this._injector.get(Fo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=uI(a)?void 0:this._injector.get(Sn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(rI,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Pr(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),A(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ga.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ro,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<dI;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)fI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>bo(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;Pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(cI,[]).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),()=>Pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function fI(e,t,n,r){if(!n&&!bo(e))return;xd(e,t,n&&!r?0:1)}function pI(e,t,n,r){let o=g(),i=Ye();if(Z(o,i,t)){let s=k(),a=gt();ty(a,o,e,t,n,r)}return pI}function ja(e,t,n,r){return Z(e,Ye(),n)?t+it(n)+r:X}function rf(e,t,n,r,o,i){let s=Yh(),a=Ht(e,s,n,o);return aa(2),a?t+it(n)+r+it(o)+i:X}function Nr(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function hI(e){return(e&2)==2}function gI(e,t){return e&131071|t<<17}function Cs(e){return e|2}function Ut(e){return(e&131068)>>2}function _i(e,t){return e&-131069|t<<2}function mI(e){return(e&1)===1}function xs(e){return e|1}function yI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),c=Ut(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Pn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ht(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=_i(e[p+1],r)),e[a+1]=gI(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=_i(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=_i(e[c+1],r),c=r;l&&(e[r+1]=Cs(e[r+1])),pl(e,u,r,!0),pl(e,u,r,!1),vI(t,u,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function vI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Pn(i,t)>=0&&(n[r+1]=xs(n[r+1]))}function pl(e,t,n,r){let o=e[n+1],i=t===null,s=r?ht(o):Ut(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];II(c,t)&&(a=!0,e[s+1]=r?xs(l):Cs(l)),s=r?ht(l):Ut(l)}a&&(e[n+1]=r?Cs(o):xs(o))}function II(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Pn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function of(e){return e.substring(B.key,B.keyEnd)}function EI(e){return e.substring(B.value,B.valueEnd)}function DI(e){return cf(e),sf(e,qt(e,0,B.textEnd))}function sf(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=bI(e,B.key=t,n),qt(e,t,n))}function wI(e){return cf(e),af(e,qt(e,0,B.textEnd))}function af(e,t){let n=B.textEnd,r=B.key=qt(e,t,n);return n===r?-1:(r=B.keyEnd=MI(e,r,n),r=hl(e,r,n,58),r=B.value=qt(e,r,n),r=B.valueEnd=CI(e,r,n),hl(e,r,n,59))}function cf(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function qt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function MI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function hl(e,t,n,r){return t=qt(e,t,n),t<n&&t++,t}function CI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=gl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=gl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function gl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function xI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!1)}return xI}function Ts(e,t,n,r,o){xa(t,e,n,o?"class":"style",r)}function TI(e,t,n){return uf(e,t,n,!1),TI}function _I(e,t){return uf(e,t,null,!0),_I}function ZS(e){Ha(pf,NI,e,!1)}function NI(e,t){for(let n=wI(t);n>=0;n=af(t,n))pf(e,of(t),EI(t))}function QS(e){Ha(PI,lf,e,!0)}function lf(e,t){for(let n=DI(t);n>=0;n=sf(t,n))On(e,of(t),!0)}function uf(e,t,n,r){let o=g(),i=k(),s=aa(2);if(i.firstUpdatePass&&ff(i,e,s,r),t!==X&&Z(o,s,t)){let a=i.data[_e()];hf(i,a,o,o[O],e,o[s+1]=FI(t,n),r,s)}}function Ha(e,t,n,r){let o=k(),i=aa(2);o.firstUpdatePass&&ff(o,null,i,r);let s=g();if(n!==X&&Z(s,i,n)){let a=o.data[_e()];if(gf(a,r)&&!df(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Oi(c,n||"")),Ts(o,a,s,n,r)}else LI(o,a,s,s[O],s[i+1],s[i+1]=OI(e,t,n),r,i)}}function df(e,t){return t>=e.expandoStartIndex}function ff(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=df(e,n);gf(i,r)&&t===null&&!s&&(t=!1),t=SI(o,i,t,r),yI(o,i,t,n,s,r)}}function SI(e,t,n,r){let o=hu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ni(null,e,t,n,r),n=Rn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ni(o,e,t,n,r),i===null){let c=kI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ni(null,e,t,c[1],r),c=Rn(c,t.attrs,r),RI(e,t,r,c))}else i=AI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function kI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ut(r)!==0)return e[ht(r)]}function RI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ht(o)]=r}function AI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rn(r,s,n)}return Rn(r,t.attrs,n)}function Ni(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Rn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),On(e,s,n?!0:t[++i]))}return e===void 0?null:e}function OI(e,t,n){if(n==null||n==="")return J;let r=[],o=Xt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function pf(e,t,n){On(e,t,Xt(n))}function PI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&On(e,r,n)}function LI(e,t,n,r,o,i,s,a){o===X&&(o=J);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,I;u===d?(c+=2,l+=2,p!==f&&(h=d,I=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,I=f),h!==null&&hf(e,t,n,r,h,I,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function hf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=mI(l)?ml(c,t,n,o,Ut(l),s):void 0;if(!lo(u)){lo(i)||hI(l)&&(i=ml(c,null,n,o,a,s));let d=su(_e(),n);Ey(r,s,d,o,i)}}function ml(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===X&&(p=d?J:void 0);let f=d?Ii(p,r):u===r?p:void 0;if(l&&!lo(f)&&(f=Ii(c,r)),lo(f)&&(a=f,s))return a;let h=e[o+1];o=s?ht(h):Ut(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ii(c,r))}return a}function lo(e){return e!==void 0}function FI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(Xt(e)))),e}function gf(e,t){return(e.flags&(t?8:16))!==0}function YS(e,t,n){let r=g(),o=ja(r,e,t,n);Ha(On,lf,o,!0)}function JS(){return g()[re][j]}var _s=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 Si(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function VI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Si(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Si(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let I=n(i,l),P=n(s,p),N=n(i,u);if(Object.is(N,P)){let ge=n(c,f);Object.is(ge,I)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new uo,o??=vl(e,i,s,n),Ns(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(I,e.detach(i)),s--;else{let ge=e.create(i,t[i]);e.attach(i,ge),i++,s++}}for(;i<=c;)yl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Si(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new uo,o??=vl(e,i,s,n);let f=n(i,d);if(Ns(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)yl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ns(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function yl(e,t,n,r,o){if(Ns(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function vl(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 uo=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 KS(e,t){Kt("NgControlFlow");let n=g(),r=Ye(),o=n[r]!==X?n[r]:-1,i=o!==-1?fo(n,F+o):void 0,s=0;if(Z(n,r,e)){let a=b(null);try{if(i!==void 0&&Rd(i,s),e!==-1){let c=F+e,l=fo(n,c),u=As(n[w],c),d=jt(l,u.tView.ssrId),p=Vn(n,u,t,{dehydratedView:d});jn(l,p,s,Vt(u,d))}}finally{b(a)}}else if(i!==void 0){let a=kd(i,s);a!==void 0&&(a[j]=t)}}var Ss=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function XS(e){return e}function ek(e,t){return t}var ks=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function tk(e,t,n,r,o,i,s,a,c,l,u,d,p){Kt("NgControlFlow");let f=g(),h=k(),I=c!==void 0,P=g(),N=a?s.bind(P[re][j]):s,ge=new ks(I,N);P[F+e]=ge,co(f,h,e+1,t,n,r,o,ze(h.consts,i)),I&&co(f,h,e+2,c,l,u,d,ze(h.consts,p))}var Rs=class extends _s{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-z}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Ot];this.needsIndexUpdate||=t!==this.length,jn(this.lContainer,n,t,Vt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jI(this.lContainer,t)}create(t,n){let r=jt(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ss(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return HI(this.lContainer,t)}};function nk(e){let t=b(null),n=_e();try{let r=g(),o=r[w],i=r[n],s=n+1,a=fo(r,s);if(i.liveCollection===void 0){let l=As(o,s);i.liveCollection=new Rs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(VI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=fo(r,d);if(u){let f=As(o,d),h=jt(p,f.tView.ssrId),I=Vn(r,f,void 0,{dehydratedView:h});jn(p,I,0,Vt(f,h))}else Rd(p,0)}}}finally{b(t)}}function fo(e,t){return e[t]}function jI(e,t){return _n(e,t)}function HI(e,t){return kd(e,t)}function As(e,t){return Xs(e,t)}function mf(e,t,n,r){let o=g(),i=k(),s=F+e,a=o[O],c=i.firstCreatePass?Ld(s,i,o,t,Ca,oa(),n,r):i.data[s],l=$I(i,o,c,a,t,e);o[s]=l;let u=Do(c);return Qe(c,!0),fd(a,l,c),!Na(c)&&Co()&&Oo(i,o,l,c),(qh()===0||u)&&Jt(l,o),Wh(),u&&(Ro(i,o,c),ya(i,c,o)),r!==null&&Ma(o,c),mf}function yf(){let e=Q();ia()?sa():(e=e.parent,Qe(e,!1));let t=e;Gh(t)&&Zh(),zh();let n=k();return n.firstCreatePass&&Fd(n,t),t.classesWithoutHost!=null&&ag(t)&&Ts(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&cg(t)&&Ts(n,t,g(),t.stylesWithoutHost,!1),yf}function BI(e,t,n,r){return mf(e,t,n,r),yf(),BI}var $I=(e,t,n,r,o,i)=>(xo(!0),ud(r,o,og()));function UI(e,t,n,r,o){let i=t.consts,s=ze(i,r),a=tn(t,e,8,"ng-container",s);s!==null&&gs(a,s,!0);let c=ze(i,o);return oa()&&Aa(t,n,a,c,Ca),a.mergedAttrs=Ft(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function vf(e,t,n){let r=g(),o=k(),i=e+F,s=o.firstCreatePass?UI(i,o,r,t,n):o.data[i];Qe(s,!0);let a=WI(o,r,s,e);return r[i]=a,Co()&&Oo(o,r,a,s),Jt(a,r),Do(s)&&(Ro(o,r,s),ya(o,s,r)),n!=null&&Ma(r,s),vf}function If(){let e=Q(),t=k();return ia()?sa():(e=e.parent,Qe(e,!1)),t.firstCreatePass&&(da(t,e),Ks(e)&&t.queries.elementEnd(e)),If}function qI(e,t,n){return vf(e,t,n),If(),qI}var WI=(e,t,n,r)=>(xo(!0),Hm(t[O],""));function rk(){return g()}function zI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!0)}return zI}function GI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt(),a=hu(i.data),c=oy(a,s,r);en(i,s,r,e,t,c,n,!0)}return GI}var nt=void 0;function ZI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var QI=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ZI],ki={};function ok(e){let t=JI(e),n=Il(t);if(n)return n;let r=t.split("-")[0];if(n=Il(r),n)return n;if(r==="en")return QI;throw new D(701,!1)}function Il(e){return e in ki||(ki[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),ki[e]}var YI=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}(YI||{});function JI(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var KI=po;function XI(e){typeof e=="string"&&(KI=e.toLowerCase().replace(/_/g,"-"))}function El(e,t,n){return function r(o){if(o===Function)return n;let i=zt(e)?Me(e.index,t):t;Ra(i,5);let s=t[j],a=Dl(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Dl(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Dl(e,t,n,r){let o=b(null);try{return A(6,t,n),n(r)!==!1}catch(i){return eE(e,i),!1}finally{A(7,t,n),b(o)}}function eE(e,t){let n=e[Pt],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function wl(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?ra(a):null,p=na(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function tE(e,t,n,r){let o=g(),i=k(),s=Q();return Ef(i,o,o[O],s,e,t,r),tE}function nE(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[$r],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ef(e,t,n,r,o,i,s){let a=Do(r),l=e.firstCreatePass?ra(e):null,u=na(t),d=!0;if(r.type&3||s){let p=Te(r,t),f=s?s(p):p,h=u.length,I=s?N=>s(be(N[r.index])):r.index,P=null;if(!s&&a&&(P=nE(e,t,o,r.index)),P!==null){let N=P.__ngLastListenerFn__||P;N.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,d=!1}else{i=El(r,t,i),Kg(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,I,h,h+1)}}else i=El(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let I=f[h],P=f[h+1];wl(r,t,I,P,o,i)}if(p&&p.length)for(let h of p)wl(r,t,h,o,o,i)}}function ik(e=1){return ng(e)}function rE(e,t){let n=null,r=km(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ld(e,i,!0):Om(r,i))return o}return n}function sk(e){let t=g()[re][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=yh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?rE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ak(e,t=0,n,r,o,i){let s=g(),a=k(),c=r?e+1:null;c!==null&&co(s,a,c,r,o,i,null,n);let l=tn(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),sa();let d=!s[Ot]||uu();s[re][oe].projection[l.projection]===null&&c!==null?oE(s,a,c):d&&!Na(l)&&vy(a,s,l)}function oE(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=jt(i,o.tView.ssrId),a=Vn(e,o,void 0,{dehydratedView:s});jn(i,a,0,Vt(o,s))}function iE(e,t,n){return Df(e,"",t,"",n),iE}function Df(e,t,n,r,o){let i=g(),s=ja(i,t,n,r);if(s!==X){let a=k(),c=gt();en(a,c,i,e,s,i[O],o,!1)}return Df}function sE(e,t,n,r,o,i,s){let a=g(),c=rf(a,t,n,r,o,i);if(c!==X){let l=k(),u=gt();en(l,u,a,e,c,a[O],s,!1)}return sE}function ck(e,t,n,r){$d(e,t,n,r)}function lk(e,t,n){Iv(e,t,n)}function uk(e){let t=g(),n=k(),r=ca();Mo(r+1);let o=La(n,r);if(e.dirty&&jh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=qd(t,r);e.reset(i,ju),e.notifyOnChanges()}return!0}return!1}function dk(){return Pa(g(),ca())}function fk(e,t,n,r,o){Mv(t,$d(e,n,r,o))}function pk(e=1){Mo(ca()+e)}function hk(e){let t=fu();return wo(t,F+e)}function gk(e,t=""){let n=g(),r=k(),o=e+F,i=r.firstCreatePass?tn(r,o,1,t,null):r.data[o],s=aE(r,n,i,t,e);n[o]=s,Co()&&Oo(r,n,s,i),Qe(i,!1)}var aE=(e,t,n,r,o)=>(xo(!0),Vm(t[O],r));function cE(e){return wf("",e,""),cE}function wf(e,t,n){let r=g(),o=ja(r,e,t,n);return o!==X&&bf(r,_e(),o),wf}function lE(e,t,n,r,o){let i=g(),s=rf(i,e,t,n,r,o);return s!==X&&bf(i,_e(),s),lE}function bf(e,t,n){let r=su(t,e);jm(e[O],r,n)}function uE(e,t,n){Bu(t)&&(t=t());let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();en(i,s,r,e,t,r[O],n,!1)}return uE}function mk(e,t){let n=Bu(e);return n&&e.set(t),n}function dE(e,t){let n=g(),r=k(),o=Q();return Ef(r,n,n[O],o,e,t),dE}var Mf={};function fE(e){let t=k(),n=g(),r=e+F,o=tn(t,r,128,null,null);return Qe(o,!1),ea(t,n,r,Mf),fE}function yk(e){Kt("NgLet");let t=k(),n=g(),r=_e();return ea(t,n,r,e),e}function vk(e){let t=fu(),n=wo(t,F+e);if(n===Mf)throw new D(314,!1);return n}function pE(e,t,n){let r=k();if(r.firstCreatePass){let o=he(e);Os(n,r.data,r.blueprint,o,!0),Os(t,r.data,r.blueprint,o,!1)}}function Os(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Os(e[i],t,n,r,o);else{let i=k(),s=g(),a=Q(),c=At(e)?e:U(e.provide),l=Kl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(At(e)||!e.multi){let f=new ft(l,o,Vo),h=Ai(c,t,o?u:u+p,d);h===-1?(zi(Qr(a,s),i,c),Ri(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=Ai(c,t,u+p,d),h=Ai(c,t,u,u+p),I=f>=0&&n[f],P=h>=0&&n[h];if(o&&!P||!o&&!I){zi(Qr(a,s),i,c);let N=mE(o?gE:hE,n.length,o,r,l);!o&&P&&(n[h].providerFactory=N),Ri(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Cf(n[o?h:f],l,!o&&r);Ri(i,e,f>-1?f:h,N)}!o&&r&&P&&n[h].componentProviders++}}}function Ri(e,t,n,r){let o=At(t),i=xh(t);if(o||i){let c=(i?U(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Cf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ai(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function hE(e,t,n,r,o){return Ps(this.multi,[])}function gE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Cn(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Ps(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ps(i,s);return s}function Ps(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mE(e,t,n,r,o){let i=new ft(e,n,Vo);return i.multi=[],i.index=t,i.componentProviders=0,Cf(i,o,r&&!n),i}function Ik(e,t=[]){return n=>{n.providersResolver=(r,o)=>pE(r,o?o(e):e,t)}}function Ek(e,t,n){let r=ce()+e,o=g();return o[r]===X?Ne(o,r,n?t.call(n):t()):Hn(o,r)}function Dk(e,t,n,r){return xf(g(),ce(),e,t,n,r)}function wk(e,t,n,r,o){return Tf(g(),ce(),e,t,n,r,o)}function bk(e,t,n,r,o,i){return yE(g(),ce(),e,t,n,r,o,i)}function Mk(e,t,n,r,o,i,s){return vE(g(),ce(),e,t,n,r,o,i,s)}function Ck(e,t,n,r,o,i,s,a){let c=ce()+e,l=g(),u=Bt(l,c,n,r,o,i);return Z(l,c+4,s)||u?Ne(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Hn(l,c+5)}function xk(e,t,n,r,o,i,s,a,c){let l=ce()+e,u=g(),d=Bt(u,l,n,r,o,i);return Ht(u,l+4,s,a)||d?Ne(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Hn(u,l+6)}function Tk(e,t,n,r,o,i,s,a,c,l){let u=ce()+e,d=g(),p=Bt(d,u,n,r,o,i);return Jd(d,u+4,s,a,c)||p?Ne(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Hn(d,u+7)}function _k(e,t,n,r,o,i,s,a,c,l,u){let d=ce()+e,p=g(),f=Bt(p,d,n,r,o,i);return Bt(p,d+4,s,a,c,l)||f?Ne(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Hn(p,d+8)}function Nk(e,t,n,r){return IE(g(),ce(),e,t,n,r)}function Bn(e,t){let n=e[t];return n===X?void 0:n}function xf(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?Ne(e,s+1,i?r.call(i,o):r(o)):Bn(e,s+1)}function Tf(e,t,n,r,o,i,s){let a=t+n;return Ht(e,a,o,i)?Ne(e,a+2,s?r.call(s,o,i):r(o,i)):Bn(e,a+2)}function yE(e,t,n,r,o,i,s,a){let c=t+n;return Jd(e,c,o,i,s)?Ne(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Bn(e,c+3)}function vE(e,t,n,r,o,i,s,a,c){let l=t+n;return Bt(e,l,o,i,s,a)?Ne(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Bn(e,l+4)}function IE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)Z(e,s++,o[c])&&(a=!0);return a?Ne(e,s,r.apply(i,o)):Bn(e,s)}function Sk(e,t){let n=k(),r,o=e+F;n.firstCreatePass?(r=EE(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=st(r.type,!0)),s,a=te(Vo);try{let c=Zr(!1),l=i();return Zr(c),ea(n,g(),o,l),l}finally{te(a)}}function EE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function kk(e,t,n){let r=e+F,o=g(),i=wo(o,r);return _f(o,r)?xf(o,ce(),t,i.transform,n,i):i.transform(n)}function Rk(e,t,n,r){let o=e+F,i=g(),s=wo(i,o);return _f(i,o)?Tf(i,ce(),t,s.transform,n,r,s):s.transform(n,r)}function _f(e,t){return e[w].data[t].pure}function Ak(e,t){return Lo(e,t)}var Sr=null;function DE(e){Sr!==null&&(e.defaultEncapsulation!==Sr.defaultEncapsulation||e.preserveWhitespaces!==Sr.preserveWhitespaces)||(Sr=e)}var Ls=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Ok=new Ls("19.2.14"),Fs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Pk=(()=>{class e{compileModuleSync(n){return new ao(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=zl(n),i=ad(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new pt(c)),s},[]);return new Fs(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wE=new S("");function bE(e,t,n){let r=new ao(n);return Promise.resolve(r)}function bl(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var ME=(()=>{class e{zone=C(K);changeDetectionScheduler=C(Ge);applicationRef=C($t);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new K(ee(q({},Nf()),{scheduleInRootZone:n})),[{provide:K,useFactory:e},{provide:Hr,multi:!0,useFactory:()=>{let r=C(ME,{optional:!0});return()=>r.initialize()}},{provide:Hr,multi:!0,useFactory:()=>{let r=C(xE);return()=>{r.initialize()}}},t===!0?{provide:Pu,useValue:!0}:[],{provide:Lu,useValue:n??Au}]}function Nf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var xE=(()=>{class e{subscription=new L;initialized=!1;zone=C(K);pendingTasks=C(Ln);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(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var TE=(()=>{class e{appRef=C($t);taskService=C(Ln);ngZone=C(K);zonelessEnabled=C(Ou);tracing=C(_o,{optional:!0});disableScheduling=C(Pu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Lu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?$c:Fu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Jr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,$c(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _E(){return typeof $localize<"u"&&$localize.locale||po}var Sf=new S("",{providedIn:"root",factory:()=>C(Sf,T.Optional|T.SkipSelf)||_E()});var ho=new S(""),NE=new S("");function vn(e){return!e.moduleRef}function SE(e){let t=vn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(K);return n.run(()=>{vn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),vn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ho);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ho);s.add(i),e.moduleRef.onDestroy(()=>{Pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return RE(r,n,()=>{let i=t.get(tf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Sf,po);if(XI(s||po),!t.get(NE,!0))return vn(e)?t.get($t):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vn(e)){let c=t.get($t);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return kE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function kE(e,t){let n=e.injector.get($t);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}function RE(e,t,n){try{let r=n();return Xd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var kf=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Ng(r?.ngZone,ee(q({},Nf({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[CE({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Ge,useExisting:TE}],c=Pv(n.moduleType,this.injector,a);return SE({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=nf({},r);return bE(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(ho,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(ie(Ce))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),wn=null,Rf=new S("");function AE(e){if(wn&&!wn.get(Rf,!1))throw new D(400,!1);lI(),wn=e;let t=e.get(kf);return FE(e),t}function OE(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Af();if(!s||s.injector.get(Rf,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):AE(PE(a,r))}return LE(o)}}function PE(e=[],t){return Ce.create({name:t,providers:[{provide:Jl,useValue:"platform"},{provide:ho,useValue:new Set([()=>wn=null])},...e]})}function LE(e){let t=Af();if(!t)throw new D(401,!1);return t}function Af(){return wn?.get(kf)??null}function FE(e){let t=e.get(Hg,null);Xl(e,()=>{t?.forEach(n=>n())})}function Lk(){return!1}var Fk=(()=>{class e{static __NG_ELEMENT_ID__=VE}return e})();function VE(e){return jE(Q(),g(),(e&16)===16)}function jE(e,t,n){if(zt(e)&&!n){let r=Me(e.index,t);return new Nn(r,r)}else if(e.type&175){let r=t[re];return new Nn(r,t)}return null}var Vs=class{constructor(){}supports(t){return Yd(t)}create(t){return new js(t)}},HE=(e,t)=>t,js=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||HE}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ml(r,o,i)?n:r,a=Ml(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Yd(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Kv(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new go),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new go),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hs=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bs=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},go=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ml(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var $s=class{constructor(){}supports(t){return t instanceof Map||Fa(t)}create(){return new Us}},Us=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Fa(t)))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new qs(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},qs=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Cl(){return new BE([new Vs])}var BE=(()=>{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:Cl});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Cl()),deps:[[e,new $l,new Bl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function xl(){return new $E([new $s])}var $E=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:xl});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xl()),deps:[[e,new $l,new Bl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D(901,!1)}}return e})();var Vk=OE(null,"core",[]),jk=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(ie($t))};static \u0275mod=Hv({type:e});static \u0275inj=Xp({})}return e})();function Hk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Bk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function $k(e){return yi(e)}function Uk(e,t){return wr(e,t?.equal)}var Ws=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function UE(e,t){!t?.injector&&Ys(UE);let n=t?.injector??C(Ce),r=t?.manualCleanup!==!0?n.get(Qt):null,o,i=n.get(ma,null,{optional:!0}),s=n.get(Ge);return i!==null&&!t?.forceRoot?(o=zE(i.view,s,e),r instanceof Yr&&r._lView===i.view&&(r=null)):o=GE(e,n.get(Kd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ws(o)}var Of=ee(q({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xn,run(){if(this.dirty=!1,this.hasRun&&!Ir(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=gn(this),n=Wr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Wr(n),vr(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),qE=ee(q({},Of),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){mn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),WE=ee(q({},Of),{consumerMarkedDirty(){this.view[E]|=8192,Zt(this.view),this.notifier.notify(13)},destroy(){mn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function zE(e,t,n){let r=Object.create(WE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function GE(e,t,n){let r=Object.create(qE);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function qk(e,t){let n=qe(e),r=t.elementInjector||Io();return new pt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Wk(e){let t=qe(e);if(!t)return null;let n=new pt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{L as a,Vf as b,_ as c,Yo as d,Jo as e,se as f,cn as g,sn as h,Kf as i,Ee as j,Xf as k,ep as l,et as m,nn as n,rn as o,ye as p,Zf as q,tp as r,np as s,tt as t,op as u,He as v,pp as w,ke as x,dn as y,hr as z,gp as A,mp as B,ti as C,fn as D,bp as E,Mp as F,de as G,Cp as H,xp as I,ni as J,ac as K,Tp as L,Ic as M,pn as N,ri as O,_p as P,Np as Q,Rp as R,Ap as S,Op as T,oi as U,Pp as V,Lp as W,Ec as X,Qo as Y,cc as Z,Fp as _,Dc as $,an as aa,Vp as ba,lc as ca,jp as da,uc as ea,Hp as fa,D as ga,Ae as ha,Rl as ia,V as ja,Xp as ka,rS as la,S as ma,T as na,ie as oa,C as pa,Bl as qa,$l as ra,Dh as sa,Jl as ta,We as ua,Xl as va,Ys as wa,oS as xa,iS as ya,sS as za,aS as Aa,cS as Ba,lS as Ca,Eg as Da,Ce as Ea,Bc as Fa,Qt as Ga,Ge as Ha,Ln as Ia,uS as Ja,Be as Ka,K as La,Ze as Ma,dS as Na,fS as Oa,To as Pa,Ag as Qa,Og as Ra,Yi as Sa,pS as Ta,hS as Ua,Hg as Va,gS as Wa,mS as Xa,yS as Ya,Bg as Za,vS as _a,_o as $a,Kt as ab,Zg as bb,Qg as cb,Tn as db,Xt as eb,va as fb,IS as gb,ES as hb,DS as ib,wS as jb,bS as kb,td as lb,ym as mb,So as nb,MS as ob,Im as pb,CS as qb,xS as rb,us as sb,no as tb,Fo as ub,ro as vb,AS as wb,Vo as xb,OS as yb,Oa as zb,LS as Ab,FS as Bb,Sn as Cb,Ov as Db,HS as Eb,Lv as Fb,BS as Gb,Hv as Hb,$S as Ib,US as Jb,Wv as Kb,qS as Lb,eI as Mb,WS as Nb,rI as Ob,oI as Pb,zS as Qb,iI as Rb,Xd as Sb,aI as Tb,GS as Ub,cI as Vb,$t as Wb,pI as Xb,xI as Yb,TI as Zb,_I as _b,ZS as $b,QS as ac,YS as bc,JS as cc,KS as dc,XS as ec,ek as fc,tk as gc,nk as hc,mf as ic,yf as jc,BI as kc,vf as lc,If as mc,qI as nc,rk as oc,zI as pc,GI as qc,ok as rc,YI as sc,tE as tc,ik as uc,sk as vc,ak as wc,iE as xc,sE as yc,ck as zc,lk as Ac,uk as Bc,dk as Cc,fk as Dc,pk as Ec,hk as Fc,gk as Gc,cE as Hc,wf as Ic,lE as Jc,uE as Kc,mk as Lc,dE as Mc,fE as Nc,yk as Oc,vk as Pc,Ik as Qc,Ek as Rc,Dk as Sc,wk as Tc,bk as Uc,Mk as Vc,Ck as Wc,xk as Xc,Tk as Yc,_k as Zc,Nk as _c,Sk as $c,kk as ad,Rk as bd,Ak as cd,Ls as dd,Ok as ed,Pk as fd,Sf as gd,OE as hd,Lk as id,Fk as jd,BE as kd,$E as ld,Vk as md,jk as nd,Hk as od,Bk as pd,$k as qd,Uk as rd,UE as sd,qk as td,Wk as ud};
|