dealposbooks 1.9.3 → 1.9.5

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.
Files changed (148) hide show
  1. package/3rdpartylicenses.txt +422 -422
  2. package/assets/scss/components/_navbar.scss +2 -2
  3. package/assets/scss/layouts/_sidebar.scss +1 -2
  4. package/assets/scss/style.scss +40 -3
  5. package/assets/scss/variables/_variables.scss +0 -1
  6. package/{chunk-ZB6TB7JI.js → chunk-2JCKXI2B.js} +3 -3
  7. package/{chunk-OAD4GTH6.js → chunk-3DN7TZCI.js} +1 -1
  8. package/chunk-3HN62WAN.js +1 -0
  9. package/{chunk-4CUA33JH.js → chunk-4B5RFKWI.js} +1 -1
  10. package/chunk-4FGQ5T64.js +2 -0
  11. package/{chunk-7U2I35GP.js → chunk-4GL5YTWS.js} +1 -1
  12. package/chunk-4LFQJHJZ.js +1 -0
  13. package/{chunk-H4V6YZX2.js → chunk-4S33ZRKF.js} +1 -1
  14. package/chunk-4WYSO23S.js +1 -0
  15. package/{chunk-O2GA6PH7.js → chunk-5ROVFZR4.js} +1 -1
  16. package/chunk-5RUWTN5X.js +1 -0
  17. package/chunk-6JZPAN4G.js +1 -0
  18. package/chunk-6NDJPEK4.js +185 -0
  19. package/chunk-6OAGE44Z.js +7 -0
  20. package/chunk-7GHU4UQ7.js +430 -0
  21. package/chunk-7UBLUR5O.js +1 -0
  22. package/{chunk-V3B32QFK.js → chunk-7WXXPCRV.js} +1 -1
  23. package/chunk-7XDZM4MJ.js +1 -0
  24. package/chunk-AF77PUJO.js +1 -0
  25. package/chunk-ALX7UOMP.js +193 -0
  26. package/{chunk-JG5HGOEX.js → chunk-ANG5YF2J.js} +1 -1
  27. package/{chunk-WM3NKRKN.js → chunk-ANMMOPX7.js} +1 -1
  28. package/chunk-ARESU6CY.js +1 -0
  29. package/{chunk-LFDCJISD.js → chunk-ASK2IVMC.js} +1 -1
  30. package/chunk-AZM2EGTF.js +1 -0
  31. package/chunk-B7JILYJO.js +1 -0
  32. package/chunk-BYD3JK4R.js +2 -0
  33. package/chunk-CVMIZKGH.js +1 -0
  34. package/chunk-CVMP55UZ.js +188 -0
  35. package/chunk-CZMTQ4XK.js +1 -0
  36. package/chunk-DAV2SMOY.js +222 -0
  37. package/chunk-DC5OTEZ6.js +1 -0
  38. package/chunk-DCKLQNGL.js +1 -0
  39. package/chunk-F2FW6UDP.js +1 -0
  40. package/chunk-FBUI4SQJ.js +1 -0
  41. package/chunk-FFODCTQC.js +1 -0
  42. package/chunk-FIQFBEQK.js +1 -0
  43. package/chunk-FYQCFDW7.js +1 -0
  44. package/chunk-G2APSUOI.js +1 -0
  45. package/chunk-HAZ5H5ZV.js +1 -0
  46. package/{chunk-5AITWOQZ.js → chunk-HI7JDHS3.js} +1 -1
  47. package/chunk-HJPAXVNY.js +527 -0
  48. package/{chunk-33XUIS57.js → chunk-I3HFXOYS.js} +1 -1
  49. package/{chunk-PJKHUCJX.js → chunk-I7YFUZI7.js} +1 -1
  50. package/chunk-IIB2DZLA.js +1 -0
  51. package/chunk-IL7RZKFX.js +1 -0
  52. package/{chunk-OCIKQOWD.js → chunk-IPKPBYSN.js} +12 -12
  53. package/chunk-IPUUBC74.js +246 -0
  54. package/{chunk-TDDTBHQE.js → chunk-IZ2XPL4O.js} +1 -1
  55. package/{chunk-X4EHZEMZ.js → chunk-J2SK4PGN.js} +1 -1
  56. package/chunk-JGSRMMYX.js +1 -0
  57. package/chunk-JHCHHBCW.js +67 -0
  58. package/{chunk-ZPTNYW2S.js → chunk-JP3F2QND.js} +1 -1
  59. package/{chunk-ACQX2T2H.js → chunk-JQZRKOKE.js} +1 -1
  60. package/chunk-LYDUVWPM.js +397 -0
  61. package/chunk-MFMEPXFQ.js +1 -0
  62. package/{chunk-5QVQY32E.js → chunk-MP7S52YU.js} +1 -1
  63. package/chunk-NXCQN45H.js +1 -0
  64. package/{chunk-RANHETC3.js → chunk-O2G255P4.js} +2 -2
  65. package/{chunk-Q5BXN24W.js → chunk-ONPJXDDI.js} +2 -2
  66. package/chunk-OSFKXKXD.js +947 -0
  67. package/chunk-OVIHA23Z.js +201 -0
  68. package/chunk-P36L53XK.js +1 -0
  69. package/chunk-P5ZPLAYA.js +79 -0
  70. package/{chunk-SGXU6X3O.js → chunk-PGECEXRR.js} +1 -1
  71. package/chunk-PQTUFQME.js +129 -0
  72. package/{chunk-3ENMEUVK.js → chunk-PSDZXCOR.js} +1 -1
  73. package/chunk-Q7ITPAXT.js +1 -0
  74. package/chunk-RIOZSND3.js +1 -0
  75. package/chunk-RVTAI3J3.js +98 -0
  76. package/{chunk-3XLREP6U.js → chunk-RZRT24L6.js} +1 -1
  77. package/chunk-SJ5TWHWM.js +1 -0
  78. package/chunk-TCF45ELT.js +959 -0
  79. package/chunk-TYHNOILY.js +1 -0
  80. package/chunk-VEUXDYYI.js +1 -0
  81. package/chunk-VG23QNZF.js +231 -0
  82. package/{chunk-ZUALJ33O.js → chunk-VUPF5YJY.js} +1 -1
  83. package/chunk-VXSF6SQF.js +1 -0
  84. package/chunk-WSVAXPZZ.js +82 -0
  85. package/chunk-X3PB5IV5.js +1 -0
  86. package/chunk-XLUCH64S.js +449 -0
  87. package/chunk-YDBJGTTB.js +1 -0
  88. package/{chunk-7KQDKLO4.js → chunk-YLHU3GDJ.js} +2 -2
  89. package/chunk-YVEUYFCE.js +7 -0
  90. package/chunk-ZWHB7NI7.js +1 -0
  91. package/index.html +2 -2
  92. package/main-EJEYMG7N.js +1 -0
  93. package/package.json +1 -1
  94. package/{styles-7FHABE27.css → styles-AU7PIISM.css} +1 -1
  95. package/chunk-2US5D2LY.js +0 -1
  96. package/chunk-353U23ZQ.js +0 -1
  97. package/chunk-3B65XZ6E.js +0 -1
  98. package/chunk-3CEJ67I5.js +0 -1
  99. package/chunk-3E2EKFPH.js +0 -1
  100. package/chunk-3H5KBX4R.js +0 -1
  101. package/chunk-4NSHHAXV.js +0 -1
  102. package/chunk-6DPW74DP.js +0 -1
  103. package/chunk-6NCHCAKY.js +0 -300
  104. package/chunk-7G6KXHQB.js +0 -1
  105. package/chunk-7U2775BI.js +0 -1
  106. package/chunk-A47VRZZB.js +0 -1
  107. package/chunk-AG7353CN.js +0 -1
  108. package/chunk-AI6YS6T2.js +0 -1
  109. package/chunk-ANMXAMBL.js +0 -1
  110. package/chunk-ARSLNNKY.js +0 -7
  111. package/chunk-AT7II4DO.js +0 -7
  112. package/chunk-BCXNVGDH.js +0 -193
  113. package/chunk-BJNN42CI.js +0 -1
  114. package/chunk-CSQ4MHL2.js +0 -246
  115. package/chunk-DG6ETDOW.js +0 -1
  116. package/chunk-DIX7J6JH.js +0 -2
  117. package/chunk-DMVAXVYQ.js +0 -1
  118. package/chunk-DNSQSWOS.js +0 -2
  119. package/chunk-F3PEWQT7.js +0 -1
  120. package/chunk-FTVGAWDW.js +0 -1
  121. package/chunk-FUCSF42O.js +0 -2
  122. package/chunk-FXUC6M2U.js +0 -1
  123. package/chunk-GCGWIESO.js +0 -1
  124. package/chunk-GY53MWXH.js +0 -1660
  125. package/chunk-IHJLTHHQ.js +0 -1
  126. package/chunk-J6H3BBKP.js +0 -627
  127. package/chunk-LNRTAR2V.js +0 -1
  128. package/chunk-LWKS2JEV.js +0 -1
  129. package/chunk-N2XLL6HJ.js +0 -33
  130. package/chunk-NM37SDQJ.js +0 -1
  131. package/chunk-NN6GSTBJ.js +0 -1
  132. package/chunk-PRRU3DEZ.js +0 -503
  133. package/chunk-PZBZVQUY.js +0 -67
  134. package/chunk-Q2IWISMY.js +0 -1
  135. package/chunk-QIXIZZPY.js +0 -1
  136. package/chunk-RQEEJGOE.js +0 -1
  137. package/chunk-TNWHAKS6.js +0 -2
  138. package/chunk-TPGKCMVN.js +0 -1
  139. package/chunk-TYETQJ2X.js +0 -2
  140. package/chunk-U5LD55IP.js +0 -1
  141. package/chunk-U6SRN7P3.js +0 -1
  142. package/chunk-VBCJCAMN.js +0 -1
  143. package/chunk-W76GKZZU.js +0 -1
  144. package/chunk-WAJWW3TC.js +0 -960
  145. package/chunk-X5SV4H5B.js +0 -1
  146. package/chunk-YWYF6P7O.js +0 -1
  147. package/chunk-YYUWLV5N.js +0 -1
  148. package/main-L6WVDQUB.js +0 -1
package/chunk-7G6KXHQB.js DELETED
@@ -1 +0,0 @@
1
- import{a as f}from"./chunk-2US5D2LY.js";import{g as v}from"./chunk-ZB6TB7JI.js";import"./chunk-7KQDKLO4.js";import"./chunk-H4V6YZX2.js";import"./chunk-WAJWW3TC.js";import"./chunk-U6SRN7P3.js";import"./chunk-TPGKCMVN.js";import"./chunk-BCXNVGDH.js";import{a as x}from"./chunk-U5LD55IP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-TYETQJ2X.js";import{t as h}from"./chunk-353U23ZQ.js";import{$b as C,Bb as g,Mc as p,Vb as i,Wb as o,ec as l,fc as u,ha as a,pa as s,qa as m,qc as c,vb as _,yc as d}from"./chunk-ARSLNNKY.js";import"./chunk-YQFG5XE2.js";function b(t,A){if(t&1){let e=C();i(0,"div",3)(1,"button",4),l("click",function(){s(e);let r=u();return m(r.onFormatCOA())}),c(2,"Format"),o(),i(3,"button",5),l("click",function(){s(e);let r=u();return m(r.onMigrateCoaAccount())}),c(4," Migrate "),o()()}}function M(t,A){t&1&&(i(0,"div",6),c(1," reserved for future User Interface (UI) enhancements\\ "),o())}var V=(()=>{class t{constructor(){this.migrateService=a(f),this.toastr=a(x)}onMigrateCoaAccount(){this.migrateService.migrateCoaAccount().subscribe(e=>{this.toastr.success(e.message,"Migration Successful")})}onFormatCOA(){this.migrateService.formatManualCOA().subscribe(e=>{this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=_({type:t,selectors:[["app-chart-of-account"]],features:[d([f])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["pageTitle","Chart of Account Migration"],[1,"d-flex","gap-2"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-success",3,"click"],[1,"container","d-flex","justify-content-center","align-items-center",2,"height","100vh"]],template:function(n,r){n&1&&(i(0,"app-main-panel",2),g(1,b,5,0,"ng-template",null,0,p)(3,M,2,0,"ng-template",null,1,p),o())},dependencies:[v,h],encapsulation:2})}}return t})();export{V as ChartOfAccountComponent};
package/chunk-7U2775BI.js DELETED
@@ -1 +0,0 @@
1
- import{a as Re,b as je,c as Le}from"./chunk-PJKHUCJX.js";import{a as Ve}from"./chunk-3ENMEUVK.js";import"./chunk-5QVQY32E.js";import{a as Ue,b as We,c as qe,d as He,e as Ke,f as Qe}from"./chunk-O2GA6PH7.js";import{a as $e,b as ze}from"./chunk-4CUA33JH.js";import{c as Fe,d as Te}from"./chunk-PZBZVQUY.js";import{c as we,d as Ge,e as Me,f as Je,g as Pe,h as ke,l as Oe}from"./chunk-GY53MWXH.js";import{f as De,g as Be}from"./chunk-6NCHCAKY.js";import"./chunk-5AITWOQZ.js";import"./chunk-ACQX2T2H.js";import{a as Ne}from"./chunk-W76GKZZU.js";import{c as z,d as U}from"./chunk-JG5HGOEX.js";import{a as Ae,b as Z}from"./chunk-7U2I35GP.js";import{g as w}from"./chunk-ZB6TB7JI.js";import"./chunk-7KQDKLO4.js";import"./chunk-H4V6YZX2.js";import{C as L,D as $,t as j,u as N}from"./chunk-WAJWW3TC.js";import{b as J,c as ae,e as A,f as P,j as Se,m as k,n as X,o as ye,p as O,w as V,y as Y,z as R}from"./chunk-U6SRN7P3.js";import"./chunk-TPGKCMVN.js";import{ga as Ie,ka as Ee}from"./chunk-BCXNVGDH.js";import{a as be,d as he}from"./chunk-U5LD55IP.js";import"./chunk-F2X3VGZZ.js";import{q as Ce,x as xe}from"./chunk-TYETQJ2X.js";import{j as Q,m as _e,s as ve,t as T}from"./chunk-353U23ZQ.js";import{$b as x,Ac as F,Bb as d,Ga as B,Jc as oe,Kc as re,L as me,Lb as p,Mc as s,Ob as ue,Qb as ne,Rb as b,Tb as h,Ub as S,Vb as i,Wb as n,Xb as c,Z as D,ba as pe,ec as y,fc as u,gb as a,ha as f,mb as ce,pa as v,qa as C,qc as o,rc as I,sc as ie,vb as E,vc as se,wc as de,xc as fe,yc as ge,zc as q}from"./chunk-ARSLNNKY.js";import{a as H,b as K}from"./chunk-YQFG5XE2.js";var G=(()=>{class t{#e=f(he);fetchLoaderConfiguration(){return this.#e.get("","api/SetupLoader/Load")}updateAccountingIntegrationConfiguration(e){return this.#e.post(void 0,"/api/setup/SubmitConfig",e)}fetchOpeningBalanceFormConfiguration(){return this.#e.get("","/api/setup/OpeningBalance/Form")}submitOpeningBalanceFormConfiguration(e){return this.#e.post("","/api/setup/OpeningBalance/Submit",{form:e})}fetchAPICredential(){return this.#e.get(void 0,"/api/AccountConfig")}updateAPICredential(e){return this.#e.put(void 0,"/api/AccountConfig",e)}formatJournal(e){return this.#e.post("","/api/setup/formatdata/clearjournal",{domain:e})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ze=t=>({"active-state":t}),et=t=>({"text-white":t});function pt(t,l){if(t&1){let e=x();i(0,"div",4)(1,"a",5),o(2,"Cancel"),n(),i(3,"p-button",6),y("click",function(){v(e);let m=u();return C(m.updateAccountingIntegration())}),n()()}}function ct(t,l){if(t&1&&(i(0,"p-tab",9),o(1),n()),t&2){let e=l.$implicit,r=l.$index;p("value",r),a(),I(e)}}function ut(t,l){if(t&1&&(i(0,"div",40)(1,"h3",41),o(2," End Of Shift "),n()()),t&2){let e=u(4);p("ngClass",F(2,Ze,e.form.controls.posIntegration.value.createJournalTriggers===0)),a(),p("ngClass",F(4,et,e.form.controls.posIntegration.value.createJournalTriggers===0))}}function st(t,l){if(t&1&&(i(0,"div",40)(1,"h3",41),o(2," Every "),n()()),t&2){let e=u(4);p("ngClass",F(2,Ze,e.form.controls.posIntegration.value.createJournalTriggers===1)),a(),p("ngClass",F(4,et,e.form.controls.posIntegration.value.createJournalTriggers===1))}}function dt(t,l){if(t&1&&d(0,ut,3,6,"div",40)(1,st,3,6,"div",40),t&2){let e,r=u().$implicit;ne((e=r.key)===0?0:e===1?1:-1)}}function ft(t,l){t&1&&(i(0,"h4"),o(1,"Suitable for Cash Sales (Retail & FnB)"),n(),i(2,"p"),o(3," One Journal is generated for all transaction happening within a register open - close period "),n())}function gt(t,l){t&1&&(i(0,"h4"),o(1,"Every"),n(),i(2,"p"),o(3," Suitable for Credit Sales (Wholesale) Journal is generated for each transaction "),n())}function _t(t,l){if(t&1){let e=x();i(0,"div",14),c(1,"p-radiobutton",38),i(2,"p-card",39),y("click",function(){v(e);let m=u(2);return C(m.changeJournalType())}),d(3,dt,2,1,"ng-template",null,2,s)(5,ft,4,0)(6,gt,4,0),n()()}if(t&2){let e,r=l.$implicit;a(),p("inputId",r.value)("value",r.key),a(4),ne((e=r.key)===0?5:e===1?6:-1)}}function vt(t,l){if(t&1&&(i(0,"div",32),c(1,"p-radiobutton",42),i(2,"label",43),o(3),n()()),t&2){let e=l.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),I(e.value)}}function Ct(t,l){if(t&1&&(i(0,"div",32),c(1,"p-radiobutton",44),i(2,"label",43),o(3),n()()),t&2){let e=l.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),I(e.value)}}function xt(t,l){if(t&1&&(i(0,"div",32),c(1,"p-radiobutton",45),i(2,"label",43),o(3),n()()),t&2){let e=l.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),I(e.value)}}function bt(t,l){if(t&1&&(i(0,"div",32),c(1,"p-radiobutton",46),i(2,"label",43),o(3),n()()),t&2){let e=l.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),I(e.value)}}function ht(t,l){if(t&1&&(i(0,"div",7)(1,"p-tabs",8)(2,"p-tablist"),h(3,ct,2,2,"p-tab",9,b),n(),i(5,"p-tabpanels")(6,"p-tabpanel",9)(7,"h4",10),o(8,"Integration with POS"),n(),i(9,"p"),o(10,"Generate Journal"),n(),i(11,"div",11)(12,"div",12)(13,"div",13),h(14,_t,7,3,"div",14,b),n()()(),c(16,"hr"),i(17,"div",15)(18,"h3",10),o(19,"Journal Generate"),n(),i(20,"p"),o(21,"Configure generate transaction"),n(),i(22,"div",13)(23,"div",16)(24,"div",17)(25,"div",16)(26,"div",18)(27,"label",19),o(28,"Generate EOD Expense Journal"),n(),c(29,"p-toggleswitch",20),n()(),c(30,"div",16),i(31,"div",16)(32,"div",18)(33,"label",19),o(34,"Generate Outlet Delivery Journal"),n(),c(35,"p-toggleswitch",21),n()(),c(36,"div",16),i(37,"div",16)(38,"div",18)(39,"label",19),o(40,"Generate Payment Discount Journal On Payment"),n(),c(41,"p-toggleswitch",22),n()()()()()()(),i(42,"p-tabpanel",23)(43,"div",24)(44,"h3",10),o(45,"Accounting Numbering"),n(),i(46,"p"),o(47,"Configure numbering format and rule for your accounting"),n(),i(48,"div",13)(49,"div",16)(50,"div",17)(51,"div",16)(52,"div",18)(53,"label",25),o(54,"Digit"),n(),c(55,"p-inputnumber",26),n()(),c(56,"div",16),i(57,"div",16)(58,"div",18)(59,"label",27),o(60,"Seed"),n(),c(61,"p-inputnumber",28),n()(),i(62,"div",16)(63,"div",18)(64,"label",29),o(65,"Last Number"),n(),c(66,"p-inputnumber",30),n()(),i(67,"div",16)(68,"div",18)(69,"label",19),o(70,"Reset Every"),n(),i(71,"div",31),h(72,vt,4,4,"div",32,b),n()()(),i(74,"div",16)(75,"div",18)(76,"label",19),o(77,"Format"),n(),c(78,"p-select",33),n()()()()()()(),i(79,"p-tabpanel",34)(80,"div",24)(81,"h3",10),o(82,"Report"),n(),i(83,"p"),o(84,"Configure report behavior"),n(),i(85,"div",13)(86,"div",16)(87,"div",17)(88,"div",16)(89,"div",18)(90,"label",19),o(91,"Audit Journal Transaction"),n(),i(92,"div",31),h(93,Ct,4,4,"div",32,b),n()()(),c(95,"div",16),i(96,"div",16)(97,"div",18)(98,"label",19),o(99,"Accounting For Treatment"),n(),i(100,"div",31),h(101,xt,4,4,"div",32,b),n()()(),c(103,"div",16),i(104,"div",16)(105,"div",18)(106,"label",19),o(107,"Configure Report Access Control in COA"),n(),i(108,"div",31),h(109,bt,4,4,"div",32,b),n()()()()()()()(),i(111,"p-tabpanel",35)(112,"div",24)(113,"h3",10),o(114,"Note"),n(),i(115,"p"),o(116,"Configure show note"),n(),i(117,"div",13)(118,"div",16)(119,"div",17)(120,"div",16)(121,"div",18)(122,"label",19),o(123,"Note Required On Journal"),n(),c(124,"p-toggleswitch",36),n()(),c(125,"div",16),i(126,"div",16)(127,"div",18)(128,"label",19),o(129,"Trial Balance Footer Visible"),n(),c(130,"p-toggleswitch",37),n()(),c(131,"div",16),n()()()()()()()()),t&2){let e,r,m,_,W,M,g=u();a(),p("value",0)("formGroup",g.form),a(2),S(g.tabs()),a(3),p("value",0),a(8),S((e=g.accountingIntegration())==null||e.options==null?null:e.options.journalType),a(28),p("value",1),a(30),S((r=g.accountingIntegration())==null||r.options==null?null:r.options.resetPeriods),a(6),p("options",(m=g.accountingIntegration())==null||m.options==null?null:m.options.monthlyResetPeriodFormat),a(),p("value",2),a(14),S((_=g.accountingIntegration())==null||_.options==null?null:_.options.auditType),a(8),S((W=g.accountingIntegration())==null||W.options==null?null:W.options.generatePrepaidJournal),a(8),S((M=g.accountingIntegration())==null||M.options==null?null:M.options.entityAccess),a(2),p("value",3)}}var tt=(()=>{class t{constructor(){this.accountingSetupService=f(G),this.fb=f(V).nonNullable,this.tabs=B(["Pos","Numbering","Report","Note"]),this.journalType=B(0),this.accountingIntegration=B(null)}ngOnInit(){this.initializeForm(),this.loadAccountingConfiguration()}initializeForm(){this.form=this.fb.group({posIntegration:this.createPosIntegrationGroup(),number:this.createNumberGroup(),report:this.createReportGroup(),journalGenerate:this.createJournalGenerateGroup(),note:this.createNoteGroup()})}createPosIntegrationGroup(){return this.fb.group({createJournalTriggers:this.fb.control(0)})}createNumberGroup(){return this.fb.group({seed:this.fb.control(""),digit:this.fb.control(""),resetEvery:this.fb.control(""),monthlyFormat:this.fb.control(""),lastNumber:this.fb.control(""),lastModified:this.fb.control("")})}createReportGroup(){return this.fb.group({accountingAuditType:this.fb.control(""),accountingEntityAccess:this.fb.control(""),generatePrepaidJournal:this.fb.control("")})}createJournalGenerateGroup(){return this.fb.group({eodExpenseJournal:this.fb.control(""),transferOrder:this.fb.control(""),paymentDiscount:this.fb.control("")})}createNoteGroup(){return this.fb.group({noteMandatory:this.fb.control(""),trialBalanceFooterVisible:this.fb.control("")})}changeJournalType(){let e=this.journalType()===0?1:0;this.journalType.set(e),this.accountingIntegration.update(r=>K(H({},r),{form:K(H({},r.form),{posIntegration:K(H({},r.form.posIntegration),{createJournalTriggers:e})})})),this.form.controls.posIntegration.patchValue({createJournalTriggers:e})}loadAccountingConfiguration(){this.accountingSetupService.fetchLoaderConfiguration().pipe(D(e=>{this.accountingIntegration.set(e);let r=e.form.posIntegration.createJournalTriggers;this.journalType.set(r),this.form.get("posIntegration.createJournalTriggers")?.setValue(r),this.form.patchValue(e.form)})).subscribe()}updateAccountingIntegration(){let e={form:this.form.getRawValue()};this.accountingSetupService.updateAccountingIntegrationConfiguration(e).pipe().subscribe()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-accounting-integration"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Accounting Integration"],[1,"d-flex","gap-2"],["routerLink","..",1,"p-button","p-button-secondary","p-button-outlined"],["label","Submit",3,"click"],[1,"overflow-y-auto"],[1,"border-top",3,"value","formGroup"],[3,"value"],[1,"fs-5"],["formGroupName","posIntegration",1,"row"],[1,"col-8"],[1,"row"],[1,"col"],["formGroupName","journalGenerate",1,""],[1,"col-6"],[1,"row","row-gap-3"],[1,"d-flex","flex-column"],["for","",1,"fs-4"],["formControlName","eodExpenseJournal"],["formControlName","transferOrder"],["formControlName","paymentDiscount"],["formGroupName","number",3,"value"],[1,""],["for","digit",1,"fs-4"],["inputId","digit","formControlName","digit"],["for","seed",1,"fs-4"],["inputId","seed","formControlName","seed"],["for","lastNumber",1,"fs-4"],["inputId","lastNumber","formControlName","lastNumber"],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],["appendTo","body","formControlName","monthlyFormat","optionValue","key","optionLabel","value",3,"options"],["formGroupName","report",3,"value"],["formGroupName","note",3,"value"],["formControlName","noteMandatory"],["formControlName","trialBalanceFooterVisible"],["styleClass","d-none","name","createJournalTriggers","formControlName","createJournalTriggers",3,"inputId","value"],["styleClass","h-100",3,"click"],[1,"d-flex","justify-content-center","inactive-state","text-white","py-2",3,"ngClass"],[1,"m-0",3,"ngClass"],["name","resetEvery","formControlName","resetEvery",3,"value","inputId"],[1,"ml-2","m-0",3,"for"],["name","accountingAuditType","formControlName","accountingAuditType",3,"value","inputId"],["name","generatePrepaidJournal","formControlName","generatePrepaidJournal",3,"value","inputId"],["name","accountingEntityAccess","formControlName","accountingEntityAccess",3,"value","inputId"]],template:function(r,m){r&1&&(i(0,"app-main-panel",3),d(1,pt,4,0,"ng-template",null,0,s)(3,ht,132,7,"ng-template",null,1,s),n())},dependencies:[T,Q,Qe,Ke,He,qe,Ue,We,w,Z,Ae,Pe,Je,R,A,P,k,O,X,N,Be,De,ze,$e,xe,Ce,$,L,Me,Ge],styles:["[_nghost-%COMP%]{display:block}.inactive-state[_ngcontent-%COMP%]{background-color:#e5e5e5}.active-state[_ngcontent-%COMP%]{background-color:#5680e9}"],changeDetection:0})}}return t})();var St=()=>({height:"calc(100vh - 150px)"}),yt=()=>[],nt=()=>({});function It(t,l){if(t&1){let e=x();i(0,"div")(1,"p-button",5),y("onClick",function(){v(e);let m=u();return C(m.submitForm())}),n()()}}function Et(t,l){t&1&&(i(0,"tr")(1,"th",16),o(2,"Account Name"),n(),i(3,"th",17),o(4,"Debit"),n(),i(5,"th",17),o(6,"Credit"),n()())}function Ft(t,l){if(t&1&&(i(0,"tr",9)(1,"td",18),o(2),n(),i(3,"td"),c(4,"input",19),n(),i(5,"td"),c(6,"input",20),n()()),t&2){let e,r=l.$implicit,m=l.rowIndex,_=u(4);p("formGroupName",m),a(2),ie(" ",(e=_.asFormGroup(r).get("accountName"))==null?null:e.value," "),a(2),p("autoNumeric",q(4,nt)),a(2),p("autoNumeric",q(5,nt))}}function Tt(t,l){if(t&1&&(i(0,"div",9)(1,"h4",11),o(2),n(),i(3,"div",12)(4,"p-table",13),d(5,Et,7,0,"ng-template",14)(6,Ft,7,6,"ng-template",15),n()()()),t&2){let e=l.$implicit,r=l.$index,m=u(3);p("formGroupName",r),a(2),ie(" ",e.get("name").value," "),a(2),p("value",m.getItemsArray(m.asFormGroup(e)).controls)}}function At(t,l){if(t&1&&(i(0,"tr")(1,"td")(2,"p",21),o(3,"Total"),n()(),i(4,"td",22)(5,"p",21),o(6),oe(7,"number"),n()(),i(8,"td",22)(9,"p",21),o(10),oe(11,"number"),n()()()),t&2){let e=u(3);a(6),I(re(7,2,e.subtotalDebit)),a(4),I(re(11,4,e.subtotalCredit))}}function Nt(t,l){if(t&1&&(i(0,"p-panel",7)(1,"p-scroll-panel")(2,"div",8),h(3,Tt,7,3,"div",9,b),n()(),i(5,"p-table",10),d(6,At,12,6,"ng-template",null,2,s),n()()),t&2){let e=u(2);p("formGroup",e.formGroups),a(),ue(q(4,St)),a(2),S(e.formsArray.controls),a(2),p("value",q(5,yt))}}function wt(t,l){if(t&1&&d(0,Nt,8,6,"p-panel",6),t&2){let e=u();p("ngIf",e.formGroups)}}var rt=(()=>{class t{constructor(){this.subtotalDebit=0,this.subtotalCredit=0,this.fb=f(V),this.accSetupService=f(G)}ngOnInit(){this.initializeForm(),this.loadFormData(),this.calculateSubtotalDebit(),this.formGroups.get("forms").valueChanges.pipe(me(300)).subscribe(()=>{this.calculateSubtotalDebit()})}initializeForm(){this.formGroups=this.fb.group({forms:this.fb.array([])})}get formsArray(){return this.formGroups.get("forms")}getItemsArray(e){return e.get("items")}asFormGroup(e){return e}createFormGroup(e){return this.fb.group({id:[e.id],name:[e.name],items:this.createItemsArray(e.items)})}createItemsArray(e){let r=e.map(m=>this.createItemGroup(m));return this.fb.array(r)}createItemGroup(e){return this.fb.group({accountName:[e.accountName],accountCode:[e.accountCode],id:[e.id],journalID:[e.journalID],accountID:[e.accountID],debitAmount:[e.debitAmount],creditAmount:[e.creditAmount],index:[e.index],note:[e.note]})}loadFormData(){this.accSetupService.fetchOpeningBalanceFormConfiguration().pipe(Ne("response"),D(e=>{for(;this.formsArray.length>0;)this.formsArray.removeAt(0);e.form.filter(m=>m.items&&m.items.length>0).forEach(m=>{this.formsArray.push(this.createFormGroup(m))})})).subscribe({error:e=>console.error("Error loading form data:",e)})}calculateSubtotalDebit(){let e=this.formGroups.controls.forms;this.subtotalDebit=0,this.subtotalCredit=0,e.controls.forEach(r=>{let m=this.getItemsArray(r),_=m.controls.reduce((M,g)=>{let te=g.get("debitAmount").value||0;return M+te},0),W=m.controls.reduce((M,g)=>{let te=g.get("creditAmount").value||0;return M+te},0);this.subtotalDebit+=_,this.subtotalCredit+=W})}submitForm(){let e=this.formGroups.value.forms;this.accSetupService.submitOpeningBalanceFormConfiguration(e).subscribe(),console.log("Submitting form data:",e)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-acc-opening-balance-form"]],features:[ge([Ie])],decls:6,vars:0,consts:[["actionButton",""],["content",""],["footer",""],["pageTitle","Opening Balance Form"],["preventOpenDuplicates",""],["label","Submit",3,"onClick"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],["formArrayName","forms",1,"d-flex","flex-column","row-gap-4"],[3,"formGroupName"],[3,"value"],[1,"fs-5"],["formArrayName","items"],["dataKey","id",3,"value"],["pTemplate","header"],["pTemplate","body"],[1,"fs-4"],[1,"fs-4",2,"width","200px"],[1,"fs-3"],["pInputText","","formControlName","debitAmount",1,"fs-3",3,"autoNumeric"],["pInputText","","formControlName","creditAmount",1,"fs-3",3,"autoNumeric"],[1,"fw-semibold","fs-4"],[1,"text-end",2,"width","200px"]],template:function(r,m){r&1&&(i(0,"app-main-panel",3),d(1,It,2,0,"ng-template",null,0,s)(3,wt,1,1,"ng-template",null,1,s),n(),c(5,"p-toast",4))},dependencies:[w,Z,Ee,T,_e,ve,we,Oe,ke,Te,Fe,Y,J,A,P,N,j,Le,$,L,U,z,Ve,R,k,O,X,ye],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var at=t=>({"ng-invalid ng-dirty":t});function Gt(t,l){if(t&1){let e=x();i(0,"p-button",4),y("onClick",function(){v(e);let m=u();return C(m.saveCredentials())}),o(1,"Update"),n()}}function Mt(t,l){t&1&&(i(0,"div",12)(1,"h3",13),o(2,"Account"),n(),i(3,"small",14),o(4,"Configure Client ID and Client Secret"),n()())}function Dt(t,l){if(t&1&&(i(0,"div",5)(1,"p-panel"),d(2,Mt,5,0,"ng-template",null,2,s),i(4,"div",6)(5,"div",7)(6,"div",8)(7,"label",9),o(8,"Client ID"),n(),c(9,"input",10),n()(),i(10,"div",7)(11,"div",8)(12,"label",9),o(13,"Client Secret"),n(),c(14,"input",11),n()()()()()),t&2){let e=u();a(4),p("formGroup",e.credentialForm),a(5),p("ngClass",F(3,at,e.clientIDControl.invalid&&e.clientIDControl.dirty||e.clientIDControl.touched)),a(5),p("ngClass",F(5,at,e.clientSecretControl.invalid&&e.clientSecretControl.dirty||e.clientSecretControl.touched))}}var lt=(()=>{class t{constructor(e){this.fb=e,this.setupService=f(G)}ngOnInit(){this.initForm(),this.setupService.fetchAPICredential().pipe(D(e=>{this.credentialForm.patchValue({clientID:e.clientID||"",clientSecret:e.clientSecret||""})})).subscribe()}initForm(){this.credentialForm=this.fb.group({clientID:["",[ae.required]],clientSecret:["",[ae.required]]})}get clientIDControl(){return this.credentialForm.get("clientID")}get clientSecretControl(){return this.credentialForm.get("clientSecret")}saveCredentials(){if(this.credentialForm.invalid){this.credentialForm.markAllAsTouched();return}let e=this.credentialForm.getRawValue();console.log("Saving credentials:",e),this.setupService.updateAPICredential(e).subscribe()}static{this.\u0275fac=function(r){return new(r||t)(ce(V))}}static{this.\u0275cmp=E({type:t,selectors:[["app-api-credential"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","API Credential"],[3,"onClick"],[1,"d-flex","flex-column","row-gap-4"],[1,"row",3,"formGroup"],[1,"col-6"],[1,"d-flex","flex-column"],["for","outlet"],["type","text","pInputText","","formControlName","clientID",3,"ngClass"],["type","text","pInputText","","formControlName","clientSecret",3,"ngClass"],[1,"d-flex","flex-column","px-2"],[1,"mb-0","fw-bold"],[1,"fst-italic","text-muted"]],template:function(r,m){r&1&&(i(0,"app-main-panel",3),d(1,Gt,2,0,"ng-template",null,0,s)(3,Dt,15,7,"ng-template",null,1,s),n())},dependencies:[T,Q,R,J,A,P,k,O,N,j,U,z,w,$,L],encapsulation:2})}}return t})();function Bt(t,l){if(t&1){let e=x();i(0,"button",4),y("click",function(){v(e);let m=u();return C(m.onFormatJournal())}),o(1," Format "),n()}}function Jt(t,l){t&1&&(i(0,"div",12)(1,"h3",13),o(2,"Journal Configuration"),n(),i(3,"small",14),o(4," Enter your account information to format journal entries "),n()())}function Pt(t,l){if(t&1){let e=x();i(0,"div",5)(1,"p-panel"),d(2,Jt,5,0,"ng-template",null,2,s),i(4,"div",6)(5,"div",7)(6,"p-floatlabel",8)(7,"input",9),fe("ngModelChange",function(m){v(e);let _=u();return de(_.subdomain,m)||(_.subdomain=m),C(m)}),n(),i(8,"label",10),o(9,"Subdomain"),n()(),i(10,"small",11),o(11,"Enter your account subdomain (e.g., mycompany.dealpos.net)"),n()()()()()}if(t&2){let e=u();a(7),se("ngModel",e.subdomain)}}var mt=(()=>{class t{constructor(){this.setupService=f(G),this.subdomain=B(""),this.toastrService=f(be)}onFormatJournal(){if(!this.subdomain()){this.toastrService.error("Please enter a subdomain","Error");return}this.setupService.formatJournal(this.subdomain()).subscribe({next:e=>{this.toastrService.success(e.message,"Success")}})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-format-jurnal"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Format Journal"],[1,"btn","btn-primary","rounded",3,"click"],[1,"d-flex","flex-column","row-gap-4"],[1,"row","mt-6"],[1,"col-12"],["variant","on"],["pInputText","","id","subdomain","autocomplete","off",1,"w-100",3,"ngModelChange","ngModel"],["for","subdomain"],[1,"text-muted","fst-italic",2,"font-size","12px"],[1,"d-flex","flex-column"],[1,"mb-0","fw-bold"],[1,"fst-italic","text-muted"]],template:function(r,m){r&1&&(i(0,"app-main-panel",3),d(1,Bt,2,0,"ng-template",null,0,s)(3,Pt,12,1,"ng-template",null,1,s),n())},dependencies:[T,Y,J,A,Se,N,j,w,U,z,je,Re],encapsulation:2})}}return t})();var ci=[{path:"",redirectTo:"accounting-integration",pathMatch:"full"},{path:"",children:[{path:"accounting-integration",component:tt},{path:"opening-balance-form",component:rt},{path:"api-crendetial",component:lt},{path:"format-journal",component:mt}]}];export{ci as ACCOUNTING_SETUP_ROUTES};
package/chunk-A47VRZZB.js DELETED
@@ -1 +0,0 @@
1
- import{d as a}from"./chunk-U5LD55IP.js";import{V as o,ba as i,ha as n}from"./chunk-ARSLNNKY.js";import{a as c}from"./chunk-YQFG5XE2.js";var C=(()=>{class r{constructor(){this.httpService=n(a)}getChartOfAccountLoader(){return this.httpService.get("","api/ChartOfAccountLoader")}getPaginatedChartAccounts(t){let e=c({},t);return this.httpService.post("","api/ChartOfAccount/GetPaginatedList",e)}getChartAccountForm(){return this.httpService.get("","api/ChartOfAccount/Form")}getChartAccountById(t){return this.httpService.get("",`api/ChartOfAccount/Info/${t}`)}getChartAccountFormById(t){return this.httpService.get("",`api/ChartOfAccount/Form/${t}`)}submitChartAccount(t,e={}){return this.httpService.post("","api/ChartOfAccount/Submit",t,e)}deleteChartAccount(t){if(t.length>1){let e={body:t};return this.httpService.delete("","api/ChartOfAccount/Batch",e)}else return this.httpService.delete("",`api/ChartOfAccount/${t[0]}`)}fetchCategoryOptions(){return this.httpService.get("","api/ChartOfAccount/CategoryOptions")}getCachedCategoriesOptions(){return this.categoryOptionsCache$||(this.categoryOptionsCache$=this.fetchCategoryOptions().pipe(o(1))),this.categoryOptionsCache$}exportChartOfAccounts(t){return this.httpService.post(void 0,"api/ChartOfAccountExport/export",t,{responseType:"blob"})}importPreviewChartOfAccounts(t){return this.httpService.post(void 0,"api/chartofaccount/importpreview",t)}importConfirmChartOfAccounts(t){return this.httpService.post(void 0,"api/chartofaccount/importconfirm",t)}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{C as a};
package/chunk-AG7353CN.js DELETED
@@ -1 +0,0 @@
1
- import{a as m}from"./chunk-2US5D2LY.js";import{g as P}from"./chunk-ZB6TB7JI.js";import"./chunk-7KQDKLO4.js";import"./chunk-H4V6YZX2.js";import"./chunk-WAJWW3TC.js";import"./chunk-U6SRN7P3.js";import"./chunk-TPGKCMVN.js";import"./chunk-BCXNVGDH.js";import{a as x}from"./chunk-U5LD55IP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-TYETQJ2X.js";import{t as v}from"./chunk-353U23ZQ.js";import{$b as g,Bb as f,Mc as a,Vb as i,Wb as o,ec as d,fc as _,ha as c,pa as l,qa as p,qc as r,vb as u,yc as y}from"./chunk-ARSLNNKY.js";import"./chunk-YQFG5XE2.js";function C(e,h){if(e&1){let t=g();i(0,"div",3)(1,"button",4),d("click",function(){l(t);let s=_();return p(s.migratePaymentAccount())}),r(2," Migrate Payment Account "),o()()}}function A(e,h){e&1&&(i(0,"div",5),r(1," reserved for future User Interface (UI) enhancements "),o())}var V=(()=>{class e{constructor(){this.migrateService=c(m),this.toastr=c(x)}migratePaymentAccount(){this.migrateService.migratePaymentMethod().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=u({type:e,selectors:[["app-payment-account"]],features:[y([m])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["pageTitle","Payment Account"],[1,"d-flex","gap-2"],[1,"btn","btn-success",3,"click"],[1,"container","d-flex","justify-content-center","align-items-center",2,"height","100vh"]],template:function(n,s){n&1&&(i(0,"app-main-panel",2),f(1,C,3,0,"ng-template",null,0,a)(3,A,2,0,"ng-template",null,1,a),o())},dependencies:[P,v],encapsulation:2})}}return e})();export{V as PaymentAccountComponent};
package/chunk-AI6YS6T2.js DELETED
@@ -1 +0,0 @@
1
- import{a as i}from"./chunk-QIXIZZPY.js";import{d as a}from"./chunk-U5LD55IP.js";import{ba as o,ha as n}from"./chunk-ARSLNNKY.js";var h=(()=>{class e{constructor(){this.#t=n(a),this.authService=n(i)}#t;getJournalEntryLoader(){return this.#t.get("","api/JournalLoader/JournalEntry")}getJournalReceiveMoney(){return this.#t.get("","api/JournalLoader/ReceiveJournal")}getJournalRecordExpenseLoader(){return this.#t.get("","api/JournalLoader/RecordExpense")}getJournalEntryData(t,r={}){return this.#t.post("","api/Journal/JournalEntry",t,r)}getJournalEntryInfo(t){let r={ID:t};return this.#t.get("","/api/Journal/Info",{params:r})}getJournalEntryForm(t){return this.#t.get("",`api/journalloader/form/${t}`).pipe()}getJournalEntryCount(t){return this.#t.post("","api/Journal/JournalEntryCount",t)}getJournalEntryCustomerSuggestions(t){let r={Prefix:t,Count:100};return this.#t.get(this.authService.getTenantExternalURL(),"/API/AC/GetCustomerSuggestion",{params:r})}getJournalEntrySupplierSuggestions(t){let r={Prefix:t,Count:100};return this.#t.get(this.authService.getTenantExternalURL(),"/API/AC/GetSupplierSuggestion",{params:r})}submitJournalEntry(t){return this.#t.post(void 0,"api/journal/submit",t,{observe:"response"})}deleteJournalEntry(t){let r={params:{ID:t.join(",")}};return this.#t.delete(void 0,"/api/Journal/delete",r)}fetchCategoryOptions(){return this.#t.get("","api/ChartOfAccount/CategoryOptions")}submitChartAccount(t,r={}){return this.#t.post("","api/ChartOfAccount/Submit",t,r)}getImageFileName(t){return new URL(t).pathname.split("/").pop()||""}importPreviewJournal(t){return this.#t.post(void 0,"api/Journal/ImportPreview",t)}importConfirmJournal(t){return this.#t.post(void 0,"api/Journal/ImportConfirm",t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{h as a};
package/chunk-ANMXAMBL.js DELETED
@@ -1 +0,0 @@
1
- import{d as o}from"./chunk-U5LD55IP.js";import{ba as r,ha as i}from"./chunk-ARSLNNKY.js";var c=(()=>{class n{constructor(){this.httpService=i(o)}getJournalInvoice(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/invoice/get",t)}generateJournalInvoice(e){return this.httpService.post(void 0,"api/GenerateJournal/invoice/Submit",e)}getJournalSupplierBill(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/bill/get",t)}generateJournalSupplierBill(e){return this.httpService.post(void 0,"api/GenerateJournal/bill/Submit",e)}getJournalShift(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/Shift/get",t)}generateJornalShift(e){return this.httpService.post(void 0,"api/GenerateJournal/Shift/Submit",e)}getARJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinInvoice/get",t)}createARJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinInvoice/Submit",e)}getAPJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinBill/get",t)}createAPJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinBill/Submit",e)}getAdjustmentJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/InventoryAdjustment/get",t)}createAdjustmentJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/InventoryAdjustment/Submit",e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=r({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();export{c as a};
package/chunk-ARSLNNKY.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as se,b as ae,f as hc}from"./chunk-YQFG5XE2.js";function I(e){return typeof e=="function"}function ze(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 er=ze(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function rt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof er?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gc(i)}catch(s){t=t??[],s instanceof er?t=[...t,...s.errors]:t.push(s)}}if(t)throw new er(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&rt(n,t)}remove(t){let{_finalizers:n}=this;n&&rt(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var ni=F.EMPTY;function tr(e){return e instanceof F||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function gc(e){I(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tt={setTimeout(e,t,...n){let{delegate:r}=Tt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Tt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nr(e){Tt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function we(){}var mc=ri("C",void 0,void 0);function yc(e){return ri("E",void 0,e)}function vc(e){return ri("N",e,void 0)}function ri(e,t,n){return{kind:e,value:t,error:n}}var ot=null;function Nt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ot;if(ot=null,n)throw r}}else e()}function Ic(e){pe.useDeprecatedSynchronousErrorHandling&&ot&&(ot.errorThrown=!0,ot.error=e)}var it=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tr(t)&&t.add(this)):this.destination=jp}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?ii(vc(t),this):this._next(t)}error(t){this.isStopped?ii(yc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ii(mc,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()}}},Lp=Function.prototype.bind;function oi(e,t){return Lp.call(e,t)}var si=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rr(r)}else rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rr(n)}}},Oe=class extends it{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&oi(t.next,i),error:t.error&&oi(t.error,i),complete:t.complete&&oi(t.complete,i)}):o=t}this.destination=new si(o)}};function rr(e){pe.useDeprecatedSynchronousErrorHandling?Ic(e):nr(e)}function Fp(e){throw e}function ii(e,t){let{onStoppedNotification:n}=pe;n&&Tt.setTimeout(()=>n(e,t))}var jp={closed:!0,next:we,error:Fp,complete:we};var St=typeof Symbol=="function"&&Symbol.observable||"@@observable";function q(e){return e}function Vp(...e){return ai(e)}function ai(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{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=Bp(n)?n:new Oe(n,r,o);return Nt(()=>{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=Ec(r),new r((o,i)=>{let s=new Oe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[St](){return this}pipe(...n){return ai(n)(this)}toPromise(n){return n=Ec(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 Ec(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Hp(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Bp(e){return e&&e instanceof it||Hp(e)&&tr(e)}var wc=ze(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new or(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new wc}next(n){Nt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Nt(()=>{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(){Nt(()=>{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?ni:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,rt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new or(t,n),e})(),or=class extends le{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:ni}};var pn=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function ci(e){return I(e?.lift)}function E(e){return t=>{if(ci(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 y(e,t,n,r,o){return new li(e,t,n,r,o)}var li=class extends it{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ge(e,t){return E((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:$p}=Array,{getPrototypeOf:Up,prototype:qp,keys:Wp}=Object;function ir(e){if(e.length===1){let t=e[0];if($p(t))return{args:t,keys:null};if(zp(t)){let n=Wp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function zp(e){return e&&typeof e=="object"&&Up(e)===qp}function bc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Dc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e){return this instanceof st?(this.v=e,this):new st(e)}function Mc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(S,_){i.push([f,g,S,_])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof st?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Cc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Dc=="function"?Dc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var kt=e=>e&&typeof e.length=="number"&&typeof e!="function";function sr(e){return I(e?.then)}function ar(e){return I(e[St])}function cr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function lr(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 Gp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ur=Gp();function dr(e){return I(e?.[ur])}function fr(e){return Mc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function pr(e){return I(e?.getReader)}function M(e){if(e instanceof T)return e;if(e!=null){if(ar(e))return Zp(e);if(kt(e))return Qp(e);if(sr(e))return Yp(e);if(cr(e))return xc(e);if(dr(e))return Jp(e);if(pr(e))return Kp(e)}throw lr(e)}function Zp(e){return new T(t=>{let n=e[St]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Qp(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Yp(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nr)})}function Jp(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function xc(e){return new T(t=>{Xp(e,t).catch(n=>t.error(n))})}function Kp(e){return xc(fr(e))}function Xp(e,t){var n,r,o,i;return bc(this,void 0,void 0,function*(){try{for(n=Cc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function hr(e,t=0){return E((n,r)=>{n.subscribe(y(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function gr(e,t=0){return E((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function _c(e,t){return M(e).pipe(gr(t),hr(t))}function Tc(e,t){return M(e).pipe(gr(t),hr(t))}function Nc(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Sc(e,t){return new T(n=>{let r;return Z(n,t,()=>{r=e[ur](),Z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function mr(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function kc(e,t){return mr(fr(e),t)}function Rc(e,t){if(e!=null){if(ar(e))return _c(e,t);if(kt(e))return Nc(e,t);if(sr(e))return Tc(e,t);if(cr(e))return mr(e,t);if(dr(e))return Sc(e,t);if(pr(e))return kc(e,t)}throw lr(e)}function De(e,t){return t?Rc(e,t):M(e)}var{isArray:eh}=Array;function th(e,t){return eh(t)?e(...t):e(t)}function Rt(e){return Ge(t=>th(e,t))}function yr(e){return e&&I(e.schedule)}function ui(e){return e[e.length-1]}function Ze(e){return I(ui(e))?e.pop():void 0}function be(e){return yr(ui(e))?e.pop():void 0}function Oc(e,t){return typeof ui(e)=="number"?e.pop():t}function vr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function nh(...e){let t=be(e),n=Ze(e),{args:r,keys:o}=ir(e);if(r.length===0)return De([],t);let i=new T(rh(r,t,o?s=>vr(o,s):q));return n?i.pipe(Rt(n)):i}function rh(e,t,n=q){return r=>{Ac(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ac(t,()=>{let l=De(e[c],t),u=!1;l.subscribe(y(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ac(e,t,n){e?Z(n,e,t):t()}var hn={now(){return(hn.delegate||Date).now()},delegate:void 0};var gn=class extends le{constructor(t=1/0,n=1/0,r=hn){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 Pc(e={}){let{connector:t=()=>new le,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 g=s;f(),g?.unsubscribe()};return E((g,S)=>{l++,!d&&!u&&p();let _=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=di(h,o))}),_.subscribe(S),!s&&l>0&&(s=new Oe({next:ee=>_.next(ee),error:ee=>{d=!0,p(),a=di(f,n,ee),_.error(ee)},complete:()=>{u=!0,p(),a=di(f,r),_.complete()}}),M(g).subscribe(s))})(i)}}function di(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Oe({next:()=>{r.unsubscribe(),e()}});return M(t(...n)).subscribe(r)}function Lc(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,Pc({connector:()=>new gn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Fc(e,t){return E((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,c=>{o?.unsubscribe();let l=0,u=i++;M(e(c,u)).subscribe(o=y(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jc(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?E((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(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)}))}):q}function fi(){return E((e,t)=>{let n=null;e._refCount++;let r=y(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 pi=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ci(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 F;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return fi()(this)}};var Ot={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Ot;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new F(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Ot;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Ot;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ir=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var mn={setInterval(e,t,...n){let{delegate:r}=mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var At=class extends Ir{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 mn.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&&mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,rt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Pt.now=hn.now;var Lt=class extends Pt{constructor(t,n=Pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ae=new Lt(At),Vc=Ae;var Er=class extends At{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=Ot.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&&(Ot.cancelAnimationFrame(n),t._scheduled=void 0)}};var wr=class extends Lt{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 oh=new wr(Er);var Pe=new T(e=>e.complete());function hi(...e){let t=be(e);return De(e,t)}function ih(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function sh(e){return!!e&&(e instanceof T||I(e.lift)&&I(e.subscribe))}var at=ze(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Dr(e){return e instanceof Date&&!isNaN(e)}var Hc=ze(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Bc(e,t){let{first:n,each:r,with:o=ah,scheduler:i=t??Ae,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 E((a,c)=>{let l,u,d=null,p=0,f=h=>{u=Z(c,i,()=>{try{l.unsubscribe(),M(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(g){c.error(g)}},h)};l=a.subscribe(y(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 ah(e){throw new Hc(e)}function $c(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let S=!1;M(n(g,u++)).subscribe(y(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let _=c.shift();s?Z(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Me(e,t,n=1/0){return I(t)?Me((r,o)=>Ge((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),E((r,o)=>$c(r,o,e,n)))}function yn(e=1/0){return Me(q,e)}function Uc(){return yn(1)}function Ft(...e){return Uc()(De(e,be(e)))}function ch(e){return new T(t=>{M(e()).subscribe(t)})}function lh(...e){let t=Ze(e),{args:n,keys:r}=ir(e),o=new T(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;M(n[u]).subscribe(y(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?vr(r,a):a),i.complete())}))}});return t?o.pipe(Rt(t)):o}var uh=["addListener","removeListener"],dh=["addEventListener","removeEventListener"],fh=["on","off"];function gi(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return gi(e,t,n).pipe(Rt(r));let[o,i]=gh(e)?dh.map(s=>a=>e[s](t,a,n)):ph(e)?uh.map(qc(e,t)):hh(e)?fh.map(qc(e,t)):[];if(!o&&kt(e))return Me(s=>gi(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function qc(e,t){return n=>r=>e[n](t,r)}function ph(e){return I(e.addListener)&&I(e.removeListener)}function hh(e){return I(e.on)&&I(e.off)}function gh(e){return I(e.addEventListener)&&I(e.removeEventListener)}function vn(e=0,t,n=Vc){let r=-1;return t!=null&&(yr(t)?n=t:r=t),new T(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 mh(e=0,t=Ae){return e<0&&(e=0),vn(e,e,t)}function yh(...e){let t=be(e),n=Oc(e,1/0),r=e;return r.length?r.length===1?M(r[0]):yn(n)(De(r,t)):Pe}var{isArray:vh}=Array;function br(e){return e.length===1&&vh(e[0])?e[0]:e}function Wc(e,t){return(n,r)=>!e.call(t,n,r)}function Le(e,t){return E((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ih(e,t,n){return[Le(t,n)(M(e)),Le(Wc(t,n))(M(e))]}function Eh(...e){return e=br(e),e.length===1?M(e[0]):new T(wh(e))}function wh(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(M(e[r]).subscribe(y(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Dh(...e){let t=Ze(e),n=br(e);return n.length?new T(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)M(n[s]).subscribe(y(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Pe}function zc(e){return E((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(y(n,l=>{r=!0,o=l,i||M(e(l)).subscribe(i=y(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function bh(e,t=Ae){return zc(()=>vn(e,t))}function mi(e){return E((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=M(e(s,mi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Gc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(y(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 Zc(e,t){return I(t)?Me(e,t,1):Me(e,1)}function Mh(e){return E((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(y(n,a=>{i?.unsubscribe(),r=!0,o=a,i=y(n,s,we),M(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ch(e,t=Ae){return E((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(y(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 In(e){return E((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function yi(e){return e<=0?()=>Pe:E((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Qc(e,t=q){return e=e??xh,E((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function xh(e,t){return e===t}function Mr(e=_h){return E((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function _h(){return new at}function Th(...e){return t=>Ft(t,hi(...e))}function Nh(e){return E((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):q,yi(1),n?In(t):Mr(()=>new at))}function vi(e){return e<=0?()=>Pe:E((t,n)=>{let r=[];t.subscribe(y(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 kh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):q,vi(1),n?In(t):Mr(()=>new at))}function Rh(e,t){return E(Gc(e,t,arguments.length>=2,!0))}function Yc(...e){let t=be(e);return E((n,r)=>{(t?Ft(e,n,t):Ft(e,n)).subscribe(r)})}function Oh(e){return E((t,n)=>{M(e).subscribe(y(n,()=>n.complete(),we)),!n.closed&&t.subscribe(n)})}function Ah(...e){let t=Ze(e);return E((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)M(e[c]).subscribe(y(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(q))&&(s=null))},we));n.subscribe(y(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function Di(e,t){return Object.is(e,t)}var H=null,Cr=!1,bi=1,J=Symbol("SIGNAL");function D(e){let t=H;return H=e,t}function Mi(){return H}var jt={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 Vt(e){if(Cr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Sr(H),t<H.producerNode.length&&H.producerNode[t]!==e&&En(H)){let n=H.producerNode[t];Nr(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=En(H)?Kc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function Jc(){bi++}function Ci(e){if(!(En(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===bi)){if(!e.producerMustRecompute(e)&&!Tr(e)){wi(e);return}e.producerRecomputeValue(e),wi(e)}}function xi(e){if(e.liveConsumerNode===void 0)return;let t=Cr;Cr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ph(n)}finally{Cr=t}}function _i(){return H?.consumerAllowSignalWrites!==!1}function Ph(e){e.dirty=!0,xi(e),e.consumerMarkedDirty?.(e)}function wi(e){e.dirty=!1,e.lastCleanEpoch=bi}function wn(e){return e&&(e.nextProducerIndex=0),D(e)}function _r(e,t){if(D(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(En(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Nr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tr(e){Sr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ci(n),r!==n.version))return!0}return!1}function Dn(e){if(Sr(e),En(e))for(let t=0;t<e.producerNode.length;t++)Nr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Kc(e,t,n){if(Xc(e),e.liveConsumerNode.length===0&&el(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Kc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Nr(e,t){if(Xc(e),e.liveConsumerNode.length===1&&el(e))for(let r=0;r<e.producerNode.length;r++)Nr(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];Sr(o),o.producerIndexOfThis[r]=t}}function En(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Xc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function el(e){return e.producerNode!==void 0}function kr(e,t){let n=Object.create(Lh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ci(n),Vt(n),n.value===xr)throw n.error;return n.value};return r[J]=n,r}var Ii=Symbol("UNSET"),Ei=Symbol("COMPUTING"),xr=Symbol("ERRORED"),Lh=ae(se({},jt),{value:Ii,dirty:!0,error:null,equal:Di,kind:"computed",producerMustRecompute(e){return e.value===Ii||e.value===Ei},producerRecomputeValue(e){if(e.value===Ei)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ei;let n=wn(e),r,o=!1;try{r=e.computation(),D(null),o=t!==Ii&&t!==xr&&r!==xr&&e.equal(t,r)}catch(i){r=xr,e.error=i}finally{_r(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Fh(){throw new Error}var tl=Fh;function nl(e){tl(e)}function Ti(e){tl=e}var jh=null;function Ni(e,t){let n=Object.create(Rr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(Vt(n),n.value);return r[J]=n,r}function Ht(e,t){_i()||nl(e),e.equal(e.value,t)||(e.value=t,Vh(e))}function Si(e,t){_i()||nl(e),Ht(e,t(e.value))}var Rr=ae(se({},jt),{equal:Di,value:void 0,kind:"signal"});function Vh(e){e.version++,Jc(),xi(e),jh?.()}function ki(e){let t=D(null);try{return e()}finally{D(t)}}var Ri;function bn(){return Ri}function Fe(e){let t=Ri;return Ri=e,t}var Or=Symbol("NotFound");var cu="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",x=class extends Error{code;constructor(t,n){super(lu(t,n)),this.code=t}};function Uh(e){return`NG0${Math.abs(e)}`}function lu(e,t){return`${Uh(e)}${t?": "+t:""}`}var xo=Symbol("InputSignalNode#UNSET"),uu=ae(se({},Rr),{transformFn:void 0,applyValueToInputSignal(e,t){Ht(e,t)}});function du(e,t){let n=Object.create(uu);n.value=e,n.transformFn=t?.transform;function r(){if(Vt(n),n.value===xo){let o=null;throw new x(-950,o)}return n.value}return r[J]=n,r}function Hn(e){return{toString:e}.toString()}var Ar="__parameters__";function qh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function fu(e,t,n){return Hn(()=>{let r=qh(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(Ar)?c[Ar]:Object.defineProperty(c,Ar,{value:[]})[Ar];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 Qe=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Wh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(re).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 Xi(e,t){return e?t?`${e} ${t}`:e:t||""}var zh=P({__forward_ref__:P});function pu(e){return e.__forward_ref__=pu,e.toString=function(){return re(this())},e}function W(e){return hu(e)?e():e}function hu(e){return typeof e=="function"&&e.hasOwnProperty(zh)&&e.__forward_ref__===pu}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ck(e){return{providers:e.providers||[],imports:e.imports||[]}}function _o(e){return rl(e,gu)||rl(e,mu)}function lk(e){return _o(e)!==null}function rl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Gh(e){let t=e&&(e[gu]||e[mu]);return t||null}function ol(e){return e&&(e.hasOwnProperty(il)||e.hasOwnProperty(Zh))?e[il]:null}var gu=P({\u0275prov:P}),il=P({\u0275inj:P}),mu=P({ngInjectableDef:P}),Zh=P({ngInjectorDef:P}),k=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 yu(e){return e&&!!e.\u0275providers}var Qh=P({\u0275cmp:P}),Yh=P({\u0275dir:P}),Jh=P({\u0275pipe:P}),Kh=P({\u0275mod:P}),Gr=P({\u0275fac:P}),_n=P({__NG_ELEMENT_ID__:P}),sl=P({__NG_ENV_ID__:P});function xe(e){return typeof e=="string"?e:e==null?"":String(e)}function Xh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xe(e)}function vu(e,t){throw new x(-200,e)}function fa(e,t){throw new x(-201,!1)}var N=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}(N||{}),es;function Iu(){return es}function te(e){let t=es;return es=e,t}function Eu(e,t,n){let r=_o(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;fa(e,"Injector")}var eg={},ut=eg,ts="__NG_DI_FLAG__",Zr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?Or:ut,r)}},Qr="ngTempTokenPath",tg="ngTokenPath",ng=/\n/gm,rg="\u0275",al="__source";function og(e,t=N.Default){if(bn()===void 0)throw new x(-203,!1);if(bn()===null)return Eu(e,void 0,t);{let n=bn(),r;return n instanceof Zr?r=n.injector:r=n,r.get(e,t&N.Optional?null:void 0,t)}}function Ke(e,t=N.Default){return(Iu()||og)(W(e),t)}function b(e,t=N.Default){return Ke(e,To(t))}function To(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ns(e){let t=[];for(let n=0;n<e.length;n++){let r=W(e[n]);if(Array.isArray(r)){if(r.length===0)throw new x(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=ig(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ke(o,i))}else t.push(Ke(r))}return t}function wu(e,t){return e[ts]=t,e.prototype[ts]=t,e}function ig(e){return e[ts]}function sg(e,t,n,r){let o=e[Qr];throw t[al]&&o.unshift(t[al]),e.message=ag(`
5
- `+e.message,o,n,r),e[tg]=o,e[Qr]=null,e}function ag(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==rg?e.slice(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).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):re(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ng,`
7
- `)}`}var Du=wu(fu("Optional"),8);var bu=wu(fu("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(Gr);return n?e[Gr]:null}function cg(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 lg(e){return e.flat(Number.POSITIVE_INFINITY)}function pa(e,t){e.forEach(n=>Array.isArray(n)?pa(n,t):t(n))}function Mu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ug(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function dg(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 No(e,t,n){let r=Bn(e,t);return r>=0?e[r|1]=n:(r=~r,dg(e,r,t,n)),r}function Oi(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return fg(e,t,1)}function fg(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 _e={},K=[],Tn=new k(""),Cu=new k("",-1),xu=new k(""),Jr=class{get(t,n=ut){if(n===ut){let r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}};function _u(e,t){let n=e[Kh]||null;if(!n&&t===!0)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}function je(e){return e[Qh]||null}function ha(e){return e[Yh]||null}function Tu(e){return e[Jh]||null}function ga(e){return{\u0275providers:e}}function pg(...e){return{\u0275providers:ma(!0,e),\u0275fromNgModule:!0}}function ma(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return pa(t,s=>{let a=s;rs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Nu(o,i),n}function Nu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ya(o,i=>{t(i,r)})}}function rs(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=ol(e),s=!i&&je(e);if(!i&&!s){let c=e.ngModule;if(i=ol(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)rs(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{pa(i.imports,u=>{rs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Nu(l,t)}if(!a){let l=ft(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:xu,useValue:o,multi:!0},o),t({provide:Tn,useValue:()=>Ke(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ya(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ya(e,t){for(let n of e)yu(n)&&(n=n.\u0275providers),Array.isArray(n)?ya(n,t):t(n)}var hg=P({provide:String,useValue:P});function Su(e){return e!==null&&typeof e=="object"&&hg in e}function gg(e){return!!(e&&e.useExisting)}function mg(e){return!!(e&&e.useFactory)}function Zt(e){return typeof e=="function"}function yg(e){return!!e.useClass}var ku=new k(""),Hr={},cl={},Ai;function So(){return Ai===void 0&&(Ai=new Jr),Ai}var Ve=class{},Nn=class extends Ve{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,is(t,s=>this.processProvider(s)),this.records.set(Cu,Bt(void 0,this)),o.has("environment")&&this.records.set(Ve,Bt(void 0,this));let i=this.records.get(ku);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xu,K,N.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Or:ut,r)}destroy(){Cn(this),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return Cn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Cn(this);let n=Fe(this),r=te(void 0),o;try{return t()}finally{Fe(n),te(r)}}get(t,n=ut,r=N.Default){if(Cn(this),t.hasOwnProperty(sl))return t[sl](this);r=To(r);let o,i=Fe(this),s=te(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Dg(t)&&_o(t);l&&this.injectableDefInScope(l)?c=Bt(os(t),Hr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&N.Self?So():this.parent;return n=r&N.Optional&&n===ut?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Qr]=a[Qr]||[]).unshift(re(t)),i)throw a;return sg(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Fe(i)}}resolveInjectorInitializers(){let t=D(null),n=Fe(this),r=te(void 0),o;try{let i=this.get(Tn,K,N.Self);for(let s of i)s()}finally{Fe(n),te(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=W(t);let n=Zt(t)?t:W(t&&t.provide),r=Ig(t);if(!Zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,Hr,!0),o.factory=()=>ns(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{return n.value===cl?vu(re(t)):n.value===Hr&&(n.value=cl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&wg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(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 os(e){let t=_o(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof k)throw new x(204,!1);if(e instanceof Function)return vg(e);throw new x(204,!1)}function vg(e){if(e.length>0)throw new x(204,!1);let n=Gh(e);return n!==null?()=>n.factory(e):()=>new e}function Ig(e){if(Su(e))return Bt(void 0,e.useValue);{let t=Ru(e);return Bt(t,Hr)}}function Ru(e,t,n){let r;if(Zt(e)){let o=W(e);return ft(o)||os(o)}else if(Su(e))r=()=>W(e.useValue);else if(mg(e))r=()=>e.useFactory(...ns(e.deps||[]));else if(gg(e))r=(o,i)=>Ke(W(e.useExisting),i!==void 0&&i&N.Optional?N.Optional:void 0);else{let o=W(e&&(e.useClass||e.provide));if(Eg(e))r=()=>new o(...ns(e.deps));else return ft(o)||os(o)}return r}function Cn(e){if(e.destroyed)throw new x(205,!1)}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Eg(e){return!!e.deps}function wg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Dg(e){return typeof e=="function"||typeof e=="object"&&e instanceof k}function is(e,t){for(let n of e)Array.isArray(n)?is(n,t):n&&yu(n)?is(n.\u0275providers,t):t(n)}function Ou(e,t){let n;e instanceof Nn?(Cn(e),n=e):n=new Zr(e);let r,o=Fe(n),i=te(void 0);try{return t()}finally{Fe(o),te(i)}}function Au(){return Iu()!==void 0||bn()!=null}function Pu(e){if(!Au())throw new x(-203,!1)}function bg(e){return typeof e=="function"}var oe=0,v=1,w=2,U=3,ge=4,ie=5,de=6,Kr=7,$=8,ye=9,He=10,O=11,Sn=12,ll=13,rn=14,X=15,pt=16,$t=17,Be=18,ko=19,Lu=20,Je=21,Pi=22,ht=23,ue=24,Wt=25,A=26,va=1,Te=6,$e=7,Xr=8,Qt=9,z=10;function me(e){return Array.isArray(e)&&typeof e[va]=="object"}function Se(e){return Array.isArray(e)&&e[va]===!0}function Ia(e){return(e.flags&4)!==0}function Dt(e){return e.componentOffset>-1}function Ro(e){return(e.flags&1)===1}function ve(e){return!!e.template}function kn(e){return(e[w]&512)!==0}function bt(e){return(e[w]&256)===256}var ss=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Fu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var uk=(()=>{let e=()=>ju;return e.ngInherit=!0,e})();function ju(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cg),Mg}function Mg(){let e=Hu(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cg(e,t,n,r,o){let i=this.declaredInputs[r],s=Hu(e)||xg(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ss(l&&l.currentValue,n,c===_e),Fu(e,t,o,n)}var Vu="__ngSimpleChanges__";function Hu(e){return e[Vu]||null}function xg(e,t){return e[Vu]=t}var ul=null;var R=function(e,t=null,n){ul?.(e,t,n)},Bu="svg",_g="math";function Ie(e){for(;Array.isArray(e);)e=e[oe];return e}function Tg(e){for(;Array.isArray(e);){if(typeof e[va]=="object")return e;e=e[oe]}return null}function $u(e,t){return Ie(t[e])}function Ee(e,t){return Ie(t[e.index])}function $n(e,t){return e.data[t]}function Ea(e,t){return e[t]}function Ng(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ne(e,t){let n=t[e];return me(n)?n:n[oe]}function Sg(e){return(e[w]&4)===4}function wa(e){return(e[w]&128)===128}function kg(e){return Se(e[U])}function Xe(e,t){return t==null?null:e[t]}function Uu(e){e[$t]=0}function qu(e){e[w]&1024||(e[w]|=1024,wa(e)&&on(e))}function Rg(e,t){for(;e>0;)t=t[rn],e--;return t}function Oo(e){return!!(e[w]&9216||e[ue]?.dirty)}function as(e){e[He].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Oo(e)&&on(e)}function on(e){e[He].changeDetectionScheduler?.notify(0);let t=gt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!wa(t)));)t=gt(t)}function Da(e,t){if(bt(e))throw new x(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function Wu(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function gt(e){let t=e[U];return Se(t)?t[U]:t}function ba(e){return e[Kr]??=[]}function Ma(e){return e.cleanup??=[]}function Og(e,t,n,r){let o=ba(t);o.push(n),e.firstCreatePass&&Ma(e).push(r,o.length-1)}var C={lFrame:Ku(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cs=!1;function Ag(){return C.lFrame.elementDepthCount}function Pg(){C.lFrame.elementDepthCount++}function Lg(){C.lFrame.elementDepthCount--}function Ca(){return C.bindingsEnabled}function sn(){return C.skipHydrationRootTNode!==null}function Fg(e){return C.skipHydrationRootTNode===e}function jg(e){C.skipHydrationRootTNode=e}function Vg(){C.skipHydrationRootTNode=null}function m(){return C.lFrame.lView}function L(){return C.lFrame.tView}function dk(e){return C.lFrame.contextLView=e,e[$]}function fk(e){return C.lFrame.contextLView=null,e}function Q(){let e=zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function zu(){return C.lFrame.currentTNode}function Hg(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mt(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function xa(){return C.lFrame.isParent}function _a(){C.lFrame.isParent=!1}function Bg(){return C.lFrame.contextLView}function Gu(){return cs}function eo(e){let t=cs;return cs=e,t}function fe(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zu(){return C.lFrame.bindingIndex}function $g(e){return C.lFrame.bindingIndex=e}function qe(){return C.lFrame.bindingIndex++}function Ao(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ug(){return C.lFrame.inI18n}function qg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,ls(t)}function Wg(){return C.lFrame.currentDirectiveIndex}function ls(e){C.lFrame.currentDirectiveIndex=e}function Qu(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ta(){return C.lFrame.currentQueryIndex}function Po(e){C.lFrame.currentQueryIndex=e}function zg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Yu(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=zg(i),o===null||(i=i[rn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Ju();return r.currentTNode=t,r.lView=e,!0}function Na(e){let t=Ju(),n=e[v];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ju(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ku(e):t}function Ku(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Xu(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ed=Xu;function Sa(){let e=Xu();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 Gg(e){return(C.lFrame.contextLView=Rg(e,C.lFrame.contextLView))[$]}function ke(){return C.lFrame.selectedIndex}function mt(e){C.lFrame.selectedIndex=e}function Ct(){let e=C.lFrame;return $n(e.tView,e.selectedIndex)}function pk(){C.lFrame.currentNamespace=Bu}function hk(){Zg()}function Zg(){C.lFrame.currentNamespace=null}function td(){return C.lFrame.currentNamespace}var nd=!0;function Lo(){return nd}function nt(e){nd=e}function Qg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ju(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 ka(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 Br(e,t,n){rd(e,t,3,n)}function $r(e,t,n,r){(e[w]&3)===n&&rd(e,t,n,r)}function Li(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function rd(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)&&(Yg(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function dl(e,t){R(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),R(5,e,t)}}function Yg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[$t]>>16&&(e[w]&3)===t&&(e[w]+=16384,dl(a,i)):dl(a,i)}var zt=-1,yt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Jg(e){return(e.flags&8)!==0}function Kg(e){return(e.flags&16)!==0}function Xg(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];em(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function od(e){return e===3||e===4||e===6}function em(e){return e.charCodeAt(0)===64}function Yt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?fl(e,n,o,null,t[++r]):fl(e,n,o,null,null))}}return e}function fl(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){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 id(e){return e!==zt}function to(e){return e&32767}function tm(e){return e>>16}function no(e,t){let n=tm(e),r=t;for(;n>0;)r=r[rn],n--;return r}var us=!0;function ro(e){let t=us;return us=e,t}var nm=256,sd=nm-1,ad=5,rm=0,Ce={};function om(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(_n)&&(r=n[_n]),r==null&&(r=n[_n]=rm++);let o=r&sd,i=1<<o;t.data[e+(o>>ad)]|=i}function oo(e,t){let n=cd(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Fi(r.data,e),Fi(t,null),Fi(r.blueprint,null));let o=Ra(e,t),i=e.injectorIndex;if(id(o)){let s=to(o),a=no(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Fi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ra(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=pd(o),r===null)return zt;if(n++,o=o[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return zt}function ds(e,t,n){om(e,t,n)}function im(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(od(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 ld(e,t,n){if(n&N.Optional||e!==void 0)return e;fa(t,"NodeInjector")}function ud(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),(n&(N.Self|N.Host))===0){let o=e[ye],i=te(void 0);try{return o?o.get(t,r,n&N.Optional):Eu(t,r,n&N.Optional)}finally{te(i)}}return ld(r,t,n)}function dd(e,t,n,r=N.Default,o){if(e!==null){if(t[w]&2048&&!(r&N.Self)){let s=lm(e,t,n,r,Ce);if(s!==Ce)return s}let i=fd(e,t,n,r,Ce);if(i!==Ce)return i}return ud(t,n,r,o)}function fd(e,t,n,r,o){let i=am(n);if(typeof i=="function"){if(!Yu(t,e,r))return r&N.Host?ld(o,n,r):ud(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))fa(n);else return s}finally{ed()}}else if(typeof i=="number"){let s=null,a=cd(e,t),c=zt,l=r&N.Host?t[X][ie]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?Ra(e,t):t[a+8],c===zt||!hl(r,!1)?a=-1:(s=t[v],a=to(c),t=no(c,t)));a!==-1;){let u=t[v];if(pl(i,a,u.data)){let d=sm(a,t,n,s,r,l);if(d!==Ce)return d}c=t[a+8],c!==zt&&hl(r,t[v].data[a+8]===l)&&pl(i,a,t)?(s=u,a=to(c),t=no(c,t)):a=-1}}return o}function sm(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?Dt(a)&&us:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=Ur(a,s,n,c,l);return u!==null?Rn(t,s,u,a,o):Ce}function Ur(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&&ve(f)&&f.type===n)return c}return null}function Rn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof yt){let a=i;a.resolving&&vu(Xh(s[n]));let c=ro(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?te(a.injectImpl):null,d=Yu(e,r,N.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Qg(n,s[n],t)}finally{u!==null&&te(u),ro(c),a.resolving=!1,ed()}}return i}function am(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_n)?e[_n]:void 0;return typeof t=="number"?t>=0?t&sd:cm:t}function pl(e,t,n){let r=1<<e;return!!(n[t+(e>>ad)]&r)}function hl(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dd(this._tNode,this._lView,t,To(r),n)}};function cm(){return new dt(Q(),m())}function gk(e){return Hn(()=>{let t=e.prototype.constructor,n=t[Gr]||fs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Gr]||fs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fs(e){return hu(e)?()=>{let t=fs(W(e));return t&&t()}:ft(e)}function lm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!kn(s);){let a=fd(i,s,n,r|N.Self,Ce);if(a!==Ce)return a;let c=i.parent;if(!c){let l=s[Lu];if(l){let u=l.get(n,Ce,r);if(u!==Ce)return u}c=pd(s),s=s[rn]}i=c}return o}function pd(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function mk(e){return im(Q(),e)}function gl(e,t=null,n=null,r){let o=hd(e,t,n,r);return o.resolveInjectorInitializers(),o}function hd(e,t=null,n=null,r,o=new Set){let i=[n||K,pg(e)];return r=r||(typeof e=="object"?void 0:re(e)),new Nn(i,t||So(),r||null,o)}var vt=class e{static THROW_IF_NOT_FOUND=ut;static NULL=new Jr;static create(t,n){if(Array.isArray(t))return gl({name:""},n,t,"");{let r=t.name??"";return gl({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>Ke(Cu)});static __NG_ELEMENT_ID__=-1};var um=new k("");um.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new x(204,!1)};var gd=!1,Un=(()=>{class e{static __NG_ELEMENT_ID__=dm;static __NG_ENV_ID__=n=>n}return e})(),io=class extends Un{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return bt(n)?(t(),()=>{}):(Da(n,t),()=>Wu(n,t))}};function dm(){return new io(m())}var et=class{},Oa=new k("",{providedIn:"root",factory:()=>!1});var md=new k(""),yd=new k(""),qn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new pn(!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})(),fm=(()=>{class e{internalPendingTasks=b(qn);scheduler=b(et);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return hc(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})(),ps=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Au()&&(this.destroyRef=b(Un,{optional:!0})??void 0,this.pendingTasks=b(qn,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(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 F&&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)}})}}},Ye=ps;function On(...e){}function vd(e){let t,n;function r(){e=On;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 ml(e){return queueMicrotask(()=>e()),()=>{e=On}}var Aa="isAngularZone",so=Aa+"_ID",pm=0,ce=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ye(!1);onMicrotaskEmpty=new Ye(!1);onStable=new Ye(!1);onError=new Ye(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gd}=t;if(typeof Zone>"u")throw new x(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,mm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Aa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(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,hm,On,On);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)}},hm={};function Pa(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 gm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){vd(()=>{e.callbackScheduled=!1,hs(e),e.isCheckStableRunning=!0,Pa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),hs(e)}function mm(e){let t=()=>{gm(e)},n=pm++;e._inner=e._inner.fork({name:"angular",properties:{[Aa]:!0,[so]:n,[so+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(ym(c))return r.invokeTask(i,s,a,c);try{return yl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),vl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return yl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vm(c)&&t(),vl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,hs(e),Pa(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 hs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function yl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vl(e){e._nesting--,Pa(e)}var gs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ye;onMicrotaskEmpty=new Ye;onStable=new Ye;onError=new Ye;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 ym(e){return Id(e,"__ignore_ng_zone__")}function vm(e){return Id(e,"__scheduler_tick__")}function Id(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Im=new k("",{providedIn:"root",factory:()=>{let e=b(ce),t=b(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),ao=class{destroyed=!1;listeners=null;errorHandler=b(tt,{optional:!0});destroyRef=b(Un);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new x(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(lu(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function yk(e){return new ao}function Il(e,t){return du(e,t)}function Em(e){return du(xo,e)}var vk=(Il.required=Em,Il);function wm(){return an(Q(),m())}function an(e,t){return new Fo(Ee(e,t))}var Fo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=wm}return e})();function Ed(e){return e instanceof Fo?e.nativeElement:e}function Dm(e){return typeof e=="function"&&e[J]!==void 0}function bm(e,t){let n=Ni(e,t?.equal),r=n[J];return n.set=o=>Ht(r,o),n.update=o=>Si(r,o),n.asReadonly=wd.bind(n),n}function wd(){let e=this[J];if(e.readonlyFn===void 0){let t=()=>this();t[J]=e,e.readonlyFn=t}return e.readonlyFn}function Dd(e){return Dm(e)&&typeof e.set=="function"}function Mm(){return this._results[Symbol.iterator]()}var ms=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 le}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=lg(t);(this._changesDetected=!cg(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]=Mm},Cm="ngSkipHydration",xm="ngskiphydration";function bd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===xm)return!0}return!1}function Md(e){return e.hasAttribute(Cm)}function co(e){return(e.flags&128)===128}function _m(e){if(co(e))return!0;let t=e.parent;for(;t;){if(co(e)||bd(t))return!0;t=t.parent}return!1}var Cd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cd||{}),xd=new Map,Tm=0;function Nm(){return Tm++}function Sm(e){xd.set(e[ko],e)}function ys(e){xd.delete(e[ko])}var El="__ngContext__";function cn(e,t){me(t)?(e[El]=t[ko],Sm(t)):e[El]=t}function _d(e){return Nd(e[Sn])}function Td(e){return Nd(e[ge])}function Nd(e){for(;e!==null&&!Se(e);)e=e[ge];return e}var vs;function Ik(e){vs=e}function Wn(){if(vs!==void 0)return vs;if(typeof document<"u")return document;throw new x(210,!1)}var km=new k("",{providedIn:"root",factory:()=>Rm}),Rm="ng",Om=new k(""),Ek=new k("",{providedIn:"platform",factory:()=>"unknown"});var wk=new k(""),Dk=new k("",{providedIn:"root",factory:()=>Wn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Am(){let e=new La;return e.store=Pm(Wn(),b(km)),e}var La=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:Am});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();function Pm(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var Sd="h",kd="b",Lm="f",Fm="n",jm="e",Vm="t",Fa="c",Rd="x",lo="r",Hm="i",Bm="n",Od="d";var Ad="di",Pd="s";var Pr=new k(""),Ld=!1,Fd=new k("",{providedIn:"root",factory:()=>Ld});var $m=new k("");var ja=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ja||{}),jo=new k(""),wl=new Set;function xt(e){wl.has(e)||(wl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Va=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Um}return e})();function Um(){return new Va(m(),Q())}var Ut=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ut||{}),jd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),qm=[Ut.EarlyRead,Ut.Write,Ut.MixedReadWrite,Ut.Read],Wm=(()=>{class e{ngZone=b(ce);scheduler=b(et);errorHandler=b(tt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){b(jo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of qm)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&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Wt]??=[]).push(n),on(r),r[w]|=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(ja.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Is=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?.[Wt];t&&(this.view[Wt]=t.filter(n=>n!==this))}};function zm(e,t){!t?.injector&&Pu(zm);let n=t?.injector??b(vt);return xt("NgAfterNextRender"),Zm(e,n,t,!0)}function Gm(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 Zm(e,t,n,r){let o=t.get(jd);o.impl??=t.get(Wm);let i=t.get(jo,null,{optional:!0}),s=n?.phase??Ut.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Un):null,c=t.get(Va,null,{optional:!0}),l=new Is(o.impl,Gm(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var ne=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ne||{}),Dl=0,Qm=1,j=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(j||{}),uo=function(e){return e[e.Initial=-1]="Initial",e}(uo||{}),Ym=0,Vo=1;var Jm=4,Km=5,Xm=6,ey=7,ji=8,ty=9,Vd=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Vd||{});function ny(e,t,n){let r=Bd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function qr(e,t){let n=Bd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Hd(e){qr(1,e),qr(0,e),qr(2,e)}function Bd(e){let t=Jm;return e===1?t=Km:e===2&&(t=ty),t}function Ho(e){return e+1}function zn(e,t){let n=e[v],r=Ho(t.index);return e[r]}function ry(e,t,n){let r=e[v],o=Ho(t);e[o]=n}function Gn(e,t){let n=Ho(t.index);return e.data[n]}function oy(e,t,n){let r=Ho(t);e.data[r]=n}function iy(e,t,n){let r=t[v],o=Gn(r,n);switch(e){case j.Complete:return o.primaryTmplIndex;case j.Loading:return o.loadingTmplIndex;case j.Error:return o.errorTmplIndex;case j.Placeholder:return o.placeholderTmplIndex;default:return null}}function bl(e,t){return t===j.Placeholder?e.placeholderBlockConfig?.[Dl]??null:t===j.Loading?e.loadingBlockConfig?.[Dl]??null:null}function sy(e){return e.loadingBlockConfig?.[Qm]??null}function Ml(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function ay(e,t){let n=t.primaryTmplIndex+A;return $n(e,n)}var cy=(e,t,n,r)=>{};function ly(e,t,n,r){cy(e,t,n,r)}var uy=new k("");var dy="__nghData__",$d=dy;var Vi="ngh",fy="nghm",Ud=()=>null;function py(e,t,n=!1){let r=e.getAttribute(Vi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(La,null,{optional:!0});u!==null&&(c=u.get($d,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,Bo(l,0,e.nextSibling)),a?e.setAttribute(Vi,a):e.removeAttribute(Vi),l}function hy(){Ud=py}function qd(e,t,n=!1){return Ud(e,t,n)}function gy(e){let t=e._lView;return t[v].type===2?null:(kn(t)&&(t=t[A]),t)}function my(e){return e.textContent?.replace(/\s/gm,"")}function yy(e){let t=Wn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=my(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Bo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Es(e,t){return e.segmentHeads?.[t]??null}function vy(e){return e.get($m,!1,{optional:!0})}function Iy(e,t){let n=e.data,r=n[jm]?.[t]??null;return r===null&&n[Fa]?.[t]&&(r=Ha(e,t)),r}function Wd(e,t){return e.data[Fa]?.[t]??null}function Ha(e,t){let n=Wd(e,t)??[],r=0;for(let o of n)r+=o[lo]*(o[Rd]??1);return r}function Ey(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[Od];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Zn(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Od];e.disconnectedNodes=n?new Set(n):null}return!!Ey(e)?.has(t)}function Hi(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===fy}function Cl(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function wy(e){for(let r of e.body.childNodes)if(Hi(r))return;let t=Cl(e.body.previousSibling);if(Hi(t))return;let n=Cl(e.head.lastChild);if(!Hi(n))throw new x(-507,!1)}function zd(e,t){let n=e.contentQueries;if(n!==null){let r=D(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];Po(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function ws(e,t,n){Po(0);let r=D(null);try{t(e,n)}finally{D(r)}}function Ba(e,t,n){if(Ia(t)){let r=D(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{D(r)}}}var An=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(An||{}),Lr;function Dy(){if(Lr===void 0&&(Lr=null,Qe.trustedTypes))try{Lr=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lr}function $o(e){return Dy()?.createHTML(e)||e}var Fr;function Gd(){if(Fr===void 0&&(Fr=null,Qe.trustedTypes))try{Fr=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fr}function xl(e){return Gd()?.createHTML(e)||e}function _l(e){return Gd()?.createScriptURL(e)||e}var Ue=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cu})`}},Ds=class extends Ue{getTypeName(){return"HTML"}},bs=class extends Ue{getTypeName(){return"Style"}},Ms=class extends Ue{getTypeName(){return"Script"}},Cs=class extends Ue{getTypeName(){return"URL"}},xs=class extends Ue{getTypeName(){return"ResourceURL"}};function ln(e){return e instanceof Ue?e.changingThisBreaksApplicationSecurity:e}function $a(e,t){let n=by(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${cu})`)}return n===t}function by(e){return e instanceof Ue&&e.getTypeName()||null}function bk(e){return new Ds(e)}function Mk(e){return new bs(e)}function Ck(e){return new Ms(e)}function xk(e){return new Cs(e)}function _k(e){return new xs(e)}function My(e){let t=new Ts(e);return Cy()?new _s(t):t}var _s=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString($o(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ts=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=$o(t),n}};function Cy(){try{return!!new window.DOMParser().parseFromString($o(""),"text/html")}catch{return!1}}var xy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zd(e){return e=String(e),e.match(xy)?e:"unsafe:"+e}function We(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Qn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Qd=We("area,br,col,hr,img,wbr"),Yd=We("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jd=We("rp,rt"),_y=Qn(Jd,Yd),Ty=Qn(Yd,We("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")),Ny=Qn(Jd,We("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")),Tl=Qn(Qd,Ty,Ny,_y),Kd=We("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sy=We("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"),ky=We("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"),Ry=Qn(Kd,Sy,ky),Oy=We("script,style,template"),Ns=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=Ly(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Py(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Nl(t).toLowerCase();if(!Tl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Oy.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(!Ry.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Kd[a]&&(c=Zd(c)),this.buf.push(" ",s,'="',Sl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Nl(t).toLowerCase();Tl.hasOwnProperty(n)&&!Qd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sl(t))}};function Ay(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Py(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Xd(t);return t}function Ly(e){let t=e.firstChild;if(t&&Ay(e,t))throw Xd(t);return t}function Nl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Xd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Fy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jy=/([^\#-~ |!])/g;function Sl(e){return e.replace(/&/g,"&amp;").replace(Fy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var jr;function Vy(e,t){let n=null;try{jr=jr||My(e);let r=t?String(t):"";n=jr.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=jr.getInertBodyElement(r)}while(r!==i);let a=new Ns().sanitizeChildren(kl(n)||n);return $o(a)}finally{if(n){let r=kl(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function kl(e){return"content"in e&&Hy(e)?e.content:null}function Hy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Uo=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}(Uo||{});function Tk(e){let t=Ua();return t?xl(t.sanitize(Uo.HTML,e)||""):$a(e,"HTML")?xl(ln(e)):Vy(Wn(),xe(e))}function By(e){let t=Ua();return t?t.sanitize(Uo.URL,e)||"":$a(e,"URL")?ln(e):Zd(xe(e))}function $y(e){let t=Ua();if(t)return _l(t.sanitize(Uo.RESOURCE_URL,e)||"");if($a(e,"ResourceURL"))return _l(ln(e));throw new x(904,!1)}function Uy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?$y:By}function Nk(e,t,n){return Uy(t,n)(e)}function Ua(){let e=m();return e&&e[He].sanitizer}var qy=/^>|^->|<!--|-->|--!>|<!-$/g,Wy=/(<|>)/g,zy="\u200B$1\u200B";function Gy(e){return e.replace(qy,t=>t.replace(Wy,zy))}function Sk(e){return e.ownerDocument.defaultView}function kk(e){return e.ownerDocument}function Zy(e){return e.ownerDocument.body}function ef(e){return e instanceof Function?e():e}function Qy(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 tf="ng-template";function Yy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Qy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(qa(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 qa(e){return e.type===4&&e.value!==tf}function Jy(e,t,n){let r=e.type===4&&!n?tf:e.value;return t===r}function Ky(e,t,n){let r=4,o=e.attrs,i=o!==null?tv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!he(r)&&!he(c))return!1;if(s&&he(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Jy(e,c,n)||c===""&&t.length===1){if(he(r))return!1;s=!0}}else if(r&8){if(o===null||!Yy(e,o,c,n)){if(he(r))return!1;s=!0}}else{let l=t[++a],u=Xy(c,o,qa(e),n);if(u===-1){if(he(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(he(r))return!1;s=!0}}}}return he(r)||s}function he(e){return(e&1)===0}function Xy(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 nv(t,e)}function nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ky(e,t[r],n))return!0;return!1}function ev(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function tv(e){for(let t=0;t<e.length;t++){let n=e[t];if(od(n))return t}return e.length}function nv(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 rv(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 Rl(e,t){return e?":not("+t.trim()+")":t}function ov(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!==""&&!he(s)&&(t+=Rl(i,o),o=""),r=s,i=i||!he(r);n++}return o!==""&&(t+=Rl(i,o)),t}function iv(e){return e.map(ov).join(",")}function sv(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(!he(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Y={};function rf(e,t){return e.createText(t)}function av(e,t,n){e.setValue(t,n)}function of(e,t){return e.createComment(Gy(t))}function Wa(e,t,n){return e.createElement(t,n)}function fo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sf(e,t,n){e.appendChild(t,n)}function Ol(e,t,n,r,o){r!==null?fo(e,t,n,r,o):sf(e,t,n)}function za(e,t,n){e.removeChild(null,t,n)}function af(e){e.textContent=""}function cv(e,t,n){e.setAttribute(t,"style",n)}function lv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function cf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Xg(e,t,r),o!==null&&lv(e,t,o),i!==null&&cv(e,t,i)}function Ga(e,t,n,r,o,i,s,a,c,l,u){let d=A+r,p=d+o,f=uv(d,p),h=typeof l=="function"?l():l;return f[v]={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 uv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Y);return n}function dv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ga(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Za(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[oe]=o,d[w]=r|4|128|8|64|1024,(l!==null||e&&e[w]&2048)&&(d[w]|=2048),Uu(d),d[U]=d[rn]=e,d[$]=n,d[He]=s||e&&e[He],d[O]=a||e&&e[O],d[ye]=c||e&&e[ye]||null,d[ie]=i,d[ko]=Nm(),d[de]=u,d[Lu]=l,d[X]=t.type==2?e[X]:d,d}function fv(e,t,n){let r=Ee(t,e),o=dv(n),i=e[He].rendererFactory,s=Qa(e,Za(e,o,null,lf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function lf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function uf(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 Qa(e,t){return e[Sn]?e[ll][ge]=t:e[Sn]=t,e[ll]=t,t}function Rk(e=1){df(L(),m(),ke()+e,!1)}function df(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Br(t,i,n)}else{let i=e.preOrderHooks;i!==null&&$r(t,i,0,n)}mt(n)}var qo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(qo||{});function Ss(e,t,n,r){let o=D(null);try{let[i,s,a]=e.inputs[n],c=null;(s&qo.SignalBased)!==0&&(c=t[i][J]),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):Fu(t,c,i,r)}finally{D(o)}}function ff(e,t,n,r,o){let i=ke(),s=r&2;try{mt(-1),s&&t.length>A&&df(e,t,A,!1),R(s?2:0,o),n(r,o)}finally{mt(i),R(s?3:1,o)}}function Wo(e,t,n){Iv(e,t,n),(n.flags&64)===64&&Ev(e,t,n)}function Ya(e,t,n=Ee){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 pv(e,t,n,r){let i=r.get(Fd,Ld)||n===An.ShadowDom,s=e.selectRootElement(t,i);return hv(s),s}function hv(e){pf(e)}var pf=()=>null;function gv(e){Md(e)?af(e):yy(e)}function mv(){pf=gv}function yv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Yn(e,t,n,r,o,i,s,a){if(!a&&Xa(t,e,n,r,o)){Dt(t)&&vv(n,t.index);return}if(t.type&3){let c=Ee(t,n);r=yv(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function vv(e,t){let n=Ne(t,e);n[w]&16||(n[w]|=64)}function Iv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Dt(n)&&fv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||oo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Rn(t,e,s,n);if(cn(c,t),i!==null&&Mv(t,s-r,c,a,n,i),ve(a)){let l=Ne(n.index,t);l[$]=Rn(t,e,s,n)}}}function Ev(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Wg();try{mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ls(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&wv(c,l)}}finally{mt(-1),ls(s)}}function wv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ja(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];nf(t,i.selectors,!1)&&(r??=[],ve(i)?r.unshift(i):r.push(i))}return r}function Dv(e,t,n,r,o,i){let s=Ee(e,t);bv(t[O],s,i,e.value,n,r,o)}function bv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?xe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Mv(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];Ss(r,n,c,l)}}function Cv(e,t,n){return(e===null||ve(e))&&(n=Tg(n[t.index])),n[O]}function Ka(e,t){let n=e[ye],r=n?n.get(tt,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];Ss(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Ss(u,l,r,o),a=!0}return a}function xv(e,t){let n=Ne(t,e),r=n[v];_v(r,n);let o=n[oe];o!==null&&n[de]===null&&(n[de]=qd(o,n[ye])),R(18),ec(r,n,n[$]),R(19,n[$])}function _v(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ec(e,t,n){Na(t);try{let r=e.viewQuery;r!==null&&ws(1,r,n);let o=e.template;o!==null&&ff(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Be]?.finishViewCreation(e),e.staticContentQueries&&zd(e,t),e.staticViewQueries&&ws(2,e.viewQuery,n);let i=e.components;i!==null&&Tv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,Sa()}}function Tv(e,t){for(let n=0;n<t.length;n++)xv(e,t[n])}function un(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=Za(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[pt]=l;let u=e[Be];return u!==null&&(c[Be]=u.createEmbeddedView(i)),ec(i,c,n),c}finally{D(o)}}function It(e,t){return!t||t.firstChild===null||co(e)}var Nv;function tc(e,t){return Nv(e,t)}var ks=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ks||{});function _t(e){return(e.flags&32)===32}function qt(e,t,n,r,o){if(r!=null){let i,s=!1;Se(r)?i=r:me(r)&&(s=!0,r=r[oe]);let a=Ie(r);e===0&&n!==null?o==null?sf(t,n,a):fo(t,n,a,o||null,!0):e===1&&n!==null?fo(t,n,a,o||null,!0):e===2?za(t,a,s):e===3&&t.destroyNode(a),i!=null&&Vv(t,e,i,n,o)}}function Sv(e,t){hf(e,t),t[oe]=null,t[ie]=null}function kv(e,t,n,r,o,i){r[oe]=o,r[ie]=t,Zo(e,r,n,1,o,i)}function hf(e,t){t[He].changeDetectionScheduler?.notify(9),Zo(e,t,t[O],2,null,null)}function Rv(e){let t=e[Sn];if(!t)return Bi(e[v],e);for(;t;){let n=null;if(me(t))n=t[Sn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)me(t)&&Bi(t[v],t),t=t[U];t===null&&(t=e),me(t)&&Bi(t[v],t),n=t&&t[ge]}t=n}}function nc(e,t){let n=e[Qt],r=n.indexOf(t);n.splice(r,1)}function zo(e,t){if(bt(t))return;let n=t[O];n.destroyNode&&Zo(e,t,n,3,null,null),Rv(t)}function Bi(e,t){if(bt(t))return;let n=D(null);try{t[w]&=-129,t[w]|=256,t[ue]&&Dn(t[ue]),Av(e,t),Ov(e,t),t[v].type===1&&t[O].destroy();let r=t[pt];if(r!==null&&Se(t[U])){r!==t[U]&&nc(r,t);let o=t[Be];o!==null&&o.detachView(e)}ys(t)}finally{D(n)}}function Ov(e,t){let n=e.cleanup,r=t[Kr];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[Kr]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ht];if(i!==null){t[ht]=null;for(let s of i)s.destroy()}}function Av(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof yt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function gf(e,t,n){return Pv(e,t.parent,n)}function Pv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[oe];if(Dt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===An.None||o===An.Emulated)return null}return Ee(r,n)}function mf(e,t,n){return Fv(e,t,n)}function Lv(e,t,n){return e.type&40?Ee(e,n):null}var Fv=Lv,Al;function Go(e,t,n,r){let o=gf(e,r,t),i=t[O],s=r.parent||t[ie],a=mf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ol(i,o,n[c],a,!1);else Ol(i,o,n,a,!1);Al!==void 0&&Al(i,r,t,n,o)}function xn(e,t){if(t!==null){let n=t.type;if(n&3)return Ee(t,e);if(n&4)return Rs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return xn(e,r);{let o=e[t.index];return Se(o)?Rs(-1,o):Ie(o)}}else{if(n&128)return xn(e,t.next);if(n&32)return tc(t,e)()||Ie(e[t.index]);{let r=yf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=gt(e[X]);return xn(o,r)}else return xn(e,t.next)}}}return null}function yf(e,t){if(t!==null){let r=e[X][ie],o=t.projection;return r.projection[o]}return null}function Rs(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return xn(r,o)}return t[$e]}function rc(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&&cn(Ie(a),r),n.flags|=2),!_t(n))if(c&8)rc(e,t,n.child,r,o,i,!1),qt(t,e,o,a,i);else if(c&32){let l=tc(n,r),u;for(;u=l();)qt(t,e,o,u,i);qt(t,e,o,a,i)}else c&16?vf(e,t,r,n,o,i):qt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Zo(e,t,n,r,o,i){rc(n,r,e.firstChild,t,o,i,!1)}function jv(e,t,n){let r=t[O],o=gf(e,n,t),i=n.parent||t[ie],s=mf(i,n,t);vf(r,0,t,n,o,s)}function vf(e,t,n,r,o,i){let s=n[X],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];qt(t,e,o,u,i)}else{let l=c,u=s[U];co(r)&&(l.flags|=128),rc(e,t,l,u,o,i,!0)}}function Vv(e,t,n,r,o){let i=n[$e],s=Ie(n);i!==s&&qt(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];Zo(c[v],c,e,t,r,i)}}function Hv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ks.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ks.Important),e.setStyle(n,r,o,i))}}function po(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(Ie(i)),Se(i)&&Bv(i,r);let s=n.type;if(s&8)po(e,t,n.child,r);else if(s&32){let a=tc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=yf(t,n);if(Array.isArray(a))r.push(...a);else{let c=gt(t[X]);po(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bv(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&po(r[v],r,o,t)}e[$e]!==e[oe]&&t.push(e[$e])}function If(e){if(e[Wt]!==null){for(let t of e[Wt])t.impl.addSequence(t);e[Wt].length=0}}var Ef=[];function $v(e){return e[ue]??Uv(e)}function Uv(e){let t=Ef.pop()??Object.create(Wv);return t.lView=e,t}function qv(e){e.lView[ue]!==e&&(e.lView=null,Ef.push(e))}var Wv=ae(se({},jt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{on(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function zv(e){let t=e[ue]??Object.create(Gv);return t.lView=e,t}var Gv=ae(se({},jt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=gt(e.lView);for(;t&&!wf(t[v]);)t=gt(t);t&&qu(t)},consumerOnSignalRead(){this.lView[ue]=this}});function wf(e){return e.type!==2}function Df(e){if(e[ht]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ht])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var Zv=100;function bf(e,t=!0,n=0){let o=e[He].rendererFactory,i=!1;i||o.begin?.();try{Qv(e,n)}catch(s){throw t&&Ka(e,s),s}finally{i||o.end?.()}}function Qv(e,t){let n=Gu();try{eo(!0),Os(e,t);let r=0;for(;Oo(e);){if(r===Zv)throw new x(103,!1);r++,Os(e,1)}}finally{eo(n)}}function Yv(e,t,n,r){if(bt(t))return;let o=t[w],i=!1,s=!1;Na(t);let a=!0,c=null,l=null;i||(wf(e)?(l=$v(t),c=wn(l)):Mi()===null?(a=!1,l=zv(t),c=wn(l)):t[ue]&&(Dn(t[ue]),t[ue]=null));try{Uu(t),$g(e.bindingStartIndex),n!==null&&ff(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Br(t,f,null)}else{let f=e.preOrderHooks;f!==null&&$r(t,f,0,null),Li(t,0)}if(s||Jv(t),Df(t),Mf(t,0),e.contentQueries!==null&&zd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Br(t,f)}else{let f=e.contentHooks;f!==null&&$r(t,f,1),Li(t,1)}Xv(e,t);let d=e.components;d!==null&&xf(t,d,0);let p=e.viewQuery;if(p!==null&&ws(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Br(t,f)}else{let f=e.viewHooks;f!==null&&$r(t,f,2),Li(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Pi]){for(let f of t[Pi])f();t[Pi]=null}i||(If(t),t[w]&=-73)}catch(u){throw i||on(t),u}finally{l!==null&&(_r(l,c),a&&qv(l)),Sa()}}function Mf(e,t){for(let n=_d(e);n!==null;n=Td(n))for(let r=z;r<n.length;r++){let o=n[r];Cf(o,t)}}function Jv(e){for(let t=_d(e);t!==null;t=Td(t)){if(!(t[w]&2))continue;let n=t[Qt];for(let r=0;r<n.length;r++){let o=n[r];qu(o)}}}function Kv(e,t,n){R(18);let r=Ne(t,e);Cf(r,n),R(19,r[$])}function Cf(e,t){wa(e)&&Os(e,t)}function Os(e,t){let r=e[v],o=e[w],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tr(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)Yv(r,e,r.template,e[$]);else if(o&8192){Df(e),Mf(e,1);let a=r.components;a!==null&&xf(e,a,1),If(e)}}function xf(e,t,n){for(let r=0;r<t.length;r++)Kv(e,t[r],n)}function Xv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)mt(~o);else{let i=o,s=n[++r],a=n[++r];qg(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{mt(-1)}}function Qo(e,t){let n=Gu()?64:1088;for(e[He].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=gt(e);if(kn(e)&&!r)return e;e=r}return null}function _f(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Tf(e,t){let n=z+t;if(n<e.length)return e[n]}function dn(e,t,n,r=!0){let o=t[v];if(eI(o,t,e,n),r){let s=Rs(n,e),a=t[O],c=a.parentNode(e[$e]);c!==null&&kv(o,e[ie],a,t,c,s)}let i=t[de];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function oc(e,t){let n=Pn(e,t);return n!==void 0&&zo(n[v],n),n}function Pn(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[pt];o!==null&&o!==e&&nc(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=Yr(e,z+t);Sv(r[v],r);let s=i[Be];s!==null&&s.detachView(i[v]),r[U]=null,r[ge]=null,r[w]&=-129}return r}function eI(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-z?(t[ge]=n[o],Mu(n,z+r,t)):(n.push(t),t[ge]=null),t[U]=n;let s=t[pt];s!==null&&n!==s&&Nf(s,t);let a=t[Be];a!==null&&a.insertView(e),as(t),t[w]|=128}function Nf(e,t){let n=e[Qt],r=t[U];if(me(r))e[w]|=2;else{let o=r[U][X];t[X]!==o&&(e[w]|=2)}n===null?e[Qt]=[t]:n.push(t)}var Ln=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return po(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return bt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(Se(t)){let n=t[Xr],r=n?n.indexOf(this):-1;r>-1&&(Pn(t,r),Yr(n,r))}this._attachedToViewContainer=!1}zo(this._lView[v],this._lView)}onDestroy(t){Da(this._lView,t)}markForCheck(){Qo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){as(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,bf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=kn(this._lView),n=this._lView[pt];n!==null&&!t&&nc(n,this._lView),hf(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=kn(this._lView),r=this._lView[pt];r!==null&&!n&&Nf(r,this._lView),as(this._lView)}};var ho=(()=>{class e{static __NG_ELEMENT_ID__=rI}return e})(),tI=ho,nI=class extends tI{_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=un(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ln(o)}};function rI(){return Yo(Q(),m())}function Yo(e,t){return e.type&4?new nI(t,e,an(e,t)):null}function Jn(e,t,n,r,o){let i=e.data[t];if(i===null)i=oI(e,t,n,r,o),Ug()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Hg();i.injectorIndex=s===null?-1:s.injectorIndex}return Mt(i,!0),i}function oI(e,t,n,r,o){let i=zu(),s=xa(),a=s?i:i&&i.parent,c=e.data[t]=sI(e,a,n,t,r,o);return iI(e,c,i,s),c}function iI(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 sI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return sn()&&(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 aI=new RegExp(`^(\\d+)*(${kd}|${Sd})*(.*)`);function cI(e){let t=e.match(aI),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function lI(e){return!e.prev&&e.parent?.type===8}function $i(e){return e.index-A}function uI(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function Jo(e,t,n,r){let o=$i(r),i=uI(e,o);if(i===void 0){let s=e.data[Bm];if(s?.[o])i=fI(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(lI(r)){let l=$i(r.parent);i=Es(e,l)}else{let l=Ee(c,n);if(a)i=l.firstChild;else{let u=$i(c),d=Es(e,u);if(c.type===2&&d){let f=Ha(e,u)+1;i=Ko(f,d)}else i=l.nextSibling}}}}return i}function Ko(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function dI(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case Lm:n=n.firstChild;break;case Fm:n=n.nextSibling;break}}return n}function fI(e,t){let[n,...r]=cI(e),o;if(n===Sd)o=t[X][oe];else if(n===kd)o=Zy(t[X][oe]);else{let i=Number(n);o=Ie(t[i+A])}return dI(o,r)}var pI=!1;function hI(e){pI=e}function gI(e){let t=e[de];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[O];for(let i of r.values())mI(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function mI(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-A);o&&za(e,o,!1)}}function Sf(e){let t=e[Te]??[],r=e[U][O],o=[];for(let i of t)i.data[Ad]!==void 0?o.push(i):yI(i,r);e[Te]=o}function yI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[lo];for(;n<o;){let i=r.nextSibling;za(t,r,!1),r=i,n++}}}function kf(e){Sf(e);let t=e[oe];me(t)&&go(t);for(let n=z;n<e.length;n++)go(e[n])}function go(e){gI(e);let t=e[v];for(let n=A;n<t.bindingStartIndex;n++)if(Se(e[n])){let r=e[n];kf(r)}else me(e[n])&&go(e[n])}function vI(e){let t=e._views;for(let n of t){let r=gy(n);r!==null&&r[oe]!==null&&(me(r)?go(r):kf(r))}}function II(e,t){let n=[];for(let r of t)for(let o=0;o<(r[Rd]??1);o++){let i={data:r,firstChild:null};r[lo]>0&&(i.firstChild=e,e=Ko(r[lo],e)),n.push(i)}return[e,n]}var Rf=()=>null;function EI(e,t){let n=e[Te];return!t||n===null||n.length===0?null:n[0].data[Hm]===t?n.shift():(Sf(e),null)}function wI(){Rf=EI}function Jt(e,t){return Rf(e,t)}var DI=class{},Of=class{},As=class{resolveComponentFactory(t){throw Error(`No component factory found for ${re(t)}.`)}},Xo=class{static NULL=new As},mo=class{},jk=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>bI()}return e})();function bI(){let e=m(),t=Q(),n=Ne(t.index,e);return(me(n)?n:e)[O]}var MI=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var Ui={},Gt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=To(r);let o=this.injector.get(t,Ui,r);return o!==Ui||n===Ui?o:this.parentInjector.get(t,n,r)}};function Ps(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=Xi(o,a);else if(i==2){let c=a,l=t[++s];r=Xi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ei(e,t=N.Default){let n=m();if(n===null)return Ke(e,t);let r=Q();return dd(r,n,W(e),t)}function Vk(){let e="invalid";throw new Error(e)}function ic(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=xI(s);u===null?a=s:[a,c,l]=u,NI(e,t,n,a,i,c,l)}i!==null&&r!==null&&CI(n,r,i)}function CI(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 x(-301,!1);r.push(t[o],i)}}function xI(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&ve(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,_I(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 _I(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function TI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function NI(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&&ve(f)&&(c=!0,TI(e,n,p)),ds(oo(n,t),e,f.type)}PI(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=uf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Yt(n.mergedAttrs,f.hostAttrs),kI(e,n,t,d,f),AI(d,f,o),s!==null&&s.has(f)){let[g,S]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,S+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++}SI(e,n,i)}function SI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Pl(0,t,o,r),Pl(1,t,o,r),Fl(t,r,!1);else{let i=n.get(o);Ll(0,t,i,r),Ll(1,t,i,r),Fl(t,r,!0)}}}function Pl(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),Af(t,i)}}function Ll(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),Af(t,s)}}function Af(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Fl(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||qa(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 kI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ft(o.type,!0)),s=new yt(i,ve(o),ei);e.blueprint[r]=s,n[r]=s,RI(e,t,r,uf(e,n,o.hostVars,Y),o)}function RI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;OI(s)!=a&&s.push(a),s.push(n,r,i)}}function OI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function AI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ve(t)&&(n[""]=e)}}function PI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pf(e,t,n,r,o,i,s,a){let c=t.consts,l=Xe(c,s),u=Jn(t,e,2,r,l);return i&&ic(t,n,u,Xe(c,a),o),u.mergedAttrs=Yt(u.mergedAttrs,u.attrs),u.attrs!==null&&Ps(u,u.attrs,!1),u.mergedAttrs!==null&&Ps(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Lf(e,t){ka(e,t),Ia(t)&&e.queries.elementEnd(t)}var yo=class extends Xo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=je(t);return new Et(n,this.ngModule)}};function LI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&qo.SignalBased)!==0};return o&&(i.transform=o),i})}function FI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jI(e,t,n){let r=t instanceof Ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Gt(n,r):n}function VI(e){let t=e.get(mo,null);if(t===null)throw new x(407,!1);let n=e.get(MI,null),r=e.get(et,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function HI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Wa(t,n,n==="svg"?Bu:n==="math"?_g:null)}var Et=class extends Of{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=LI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=FI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=iv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){R(22);let i=D(null);try{let s=this.componentDef,a=r?["ng-version","19.2.13"]:sv(this.componentDef.selectors[0]),c=Ga(0,null,null,1,0,null,null,null,null,[a],null),l=jI(s,o||this.ngModule,t),u=VI(l),d=u.rendererFactory.createRenderer(null,s),p=r?pv(d,r,s.encapsulation,l):HI(s,d),f=Za(null,c,null,512|lf(s),null,null,u,d,l,null,qd(p,l,!0));f[A]=p,Na(f);let h=null;try{let g=Pf(A,c,f,"#host",()=>[this.componentDef],!0,0);p&&(cf(d,p,g),cn(p,f)),Wo(c,f,g),Ba(c,g,f),Lf(c,g),n!==void 0&&BI(g,this.ngContentSelectors,n),h=Ne(g.index,f),f[$]=h[$],ec(c,f,null)}catch(g){throw h!==null&&ys(h),ys(f),g}finally{R(23),Sa()}return new Ls(this.componentType,f)}finally{D(i)}}},Ls=class extends DI{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=$n(n[v],A),this.location=an(this._tNode,n),this.instance=Ne(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new Ln(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[v],o,t,n);this.previousInputValues.set(t,n);let s=Ne(r.index,o);Qo(s,1)}get injector(){return new dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function BI(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 sc=(()=>{class e{static __NG_ELEMENT_ID__=$I}return e})();function $I(){let e=Q();return jf(e,m())}var UI=sc,Ff=class extends UI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return an(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ra(this._hostTNode,this._hostLView);if(id(t)){let n=no(t,this._hostLView),r=to(t),o=n[v].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=jl(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,It(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!bg(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 Et(je(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Ve,null);g&&(i=g)}let u=je(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,It(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(kg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Ff(c,c[ie],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return dn(s,o,i,r),t.attachToViewContainerRef(),Mu(qi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=jl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);r&&(Yr(qi(this._lContainer),n),zo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);return r&&Yr(qi(this._lContainer),n)!=null?new Ln(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jl(e){return e[Xr]}function qi(e){return e[Xr]||(e[Xr]=[])}function jf(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=_f(r,t,null,e),t[e.index]=n,Qa(t,n)),Vf(n,t,e,r),new Ff(n,e,t)}function qI(e,t){let n=e[O],r=n.createComment(""),o=Ee(t,e),i=n.parentNode(o);return fo(n,i,r,n.nextSibling(o),!1),r}var Vf=Bf,ac=()=>!1;function Hf(e,t,n){return ac(e,t,n)}function Bf(e,t,n,r){if(e[$e])return;let o;n.type&8?o=Ie(r):o=qI(t,n),e[$e]=o}function WI(e,t,n){if(e[$e]&&e[Te])return!0;let r=n[de],o=t.index-A;if(!r||_m(t)||Zn(r,o))return!1;let s=Es(r,o),a=r.data[Fa]?.[o],[c,l]=II(s,a);return e[$e]=c,e[Te]=l,!0}function zI(e,t,n,r){ac(e,n,t)||Bf(e,t,n,r)}function GI(){Vf=zI,ac=WI}var Fs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},js=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++)lc(t,n).matches!==null&&this.queries[n].setDirty()}},vo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=XI(t):this.predicate=t}},Vs=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)}},Hs=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,ZI(n,i)),this.matchTNodeWithReadOption(t,n,Ur(n,t,i,!1,!1))}else r===ho?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ur(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Fo||o===sc||o===ho&&n.type&4)this.addMatch(n.index,-2);else{let i=Ur(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 ZI(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 QI(e,t){return e.type&11?an(e,t):e.type&4?Yo(e,t):null}function YI(e,t,n,r){return n===-1?QI(t,e):n===-2?JI(e,t,r):Rn(e,e[v],n,t)}function JI(e,t,n){if(n===Fo)return an(t,e);if(n===ho)return Yo(t,e);if(n===sc)return jf(t,e)}function $f(e,t,n,r){let o=t[Be].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(YI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Bs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=$f(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[pt]===p[U]&&Bs(p[v],p,l,r)}if(u[Qt]!==null){let d=u[Qt];for(let p=0;p<d.length;p++){let f=d[p];Bs(f[v],f,l,r)}}}}}return r}function cc(e,t){return e[Be].queries[t].queryList}function Uf(e,t,n){let r=new ms((n&4)===4);return Og(e,t,r,r.destroy),(t[Be]??=new js).queries.push(new Fs(r))-1}function KI(e,t,n){let r=L();return r.firstCreatePass&&(Wf(r,new vo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Uf(r,m(),t)}function qf(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Q();Wf(o,new vo(t,n,r),i.index),eE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Uf(o,m(),n)}function XI(e){return e.split(",").map(t=>t.trim())}function Wf(e,t,n){e.queries===null&&(e.queries=new Vs),e.queries.track(new Hs(t,n))}function eE(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 lc(e,t){return e.queries.getByIndex(t)}function zf(e,t){let n=e[v],r=lc(n,t);return r.crossesNgTemplate?Bs(n,e,t,[]):$f(n,e,r,t)}function Gf(e,t,n){let r,o=kr(()=>{r._dirtyCounter();let i=oE(r,e);if(t&&i===void 0)throw new x(-951,!1);return i});return r=o[J],r._dirtyCounter=bm(0),r._flatValue=void 0,o}function tE(e){return Gf(!0,!1,e)}function nE(e){return Gf(!0,!0,e)}function rE(e,t){let n=e[J];n._lView=m(),n._queryIndex=t,n._queryList=cc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function oE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:K;let o=cc(n,r),i=zf(n,r);return o.reset(i,Ed),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Vl(e,t){return tE(t)}function iE(e,t){return nE(t)}var Bk=(Vl.required=iE,Vl);function Zf(e,t){let n=Object.create(uu),r=new ao;n.value=e;function o(){return Vt(n),Hl(n.value),n.value}return o[J]=n,o.asReadonly=wd.bind(o),o.set=i=>{n.equal(n.value,i)||(Ht(n,i),r.emit(i))},o.update=i=>{Hl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Hl(e){if(e===xo)throw new x(952,!1)}function Bl(e,t){return Zf(e,t)}function sE(e){return Zf(xo,e)}var $k=(Bl.required=sE,Bl);var Fn=class{},aE=class{};function Wk(e,t){return new Io(e,t??null,[])}var Io=class extends Fn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new yo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=_u(t);this._bootstrapComponents=ef(i.bootstrap),this._r3Injector=hd(t,n,[{provide:Fn,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver},...r],re(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)}},$s=class extends aE{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Io(this.moduleType,t,[])}};var Eo=class extends Fn{injector;componentFactoryResolver=new yo(this);instance=null;constructor(t){super();let n=new Nn([...t.providers,{provide:Fn,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],t.parent||So(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qf(e,t,n=null){return new Eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var cE=(()=>{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=ma(!1,n.type),o=r.length>0?Qf([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(Ke(Ve))})}return e})();function zk(e){return Hn(()=>{let t=Yf(e),n=ae(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||An.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&xt("NgStandalone"),Jf(n);let r=e.dependencies;return n.directiveDefs=$l(r,!1),n.pipeDefs=$l(r,!0),n.id=pE(n),n})}function lE(e){return je(e)||ha(e)}function uE(e){return e!==null}function Gk(e){return Hn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dE(e,t){if(e==null)return _e;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=qo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fE(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Zk(e){return Hn(()=>{let t=Yf(e);return Jf(t),t})}function Qk(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 Yf(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||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dE(e.inputs,t),outputs:fE(e.outputs),debugInfo:null}}function Jf(e){e.features?.forEach(t=>t(e))}function $l(e,t){if(!e)return null;let n=t?Tu:lE;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(uE)}function pE(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 hE(e){return Object.getPrototypeOf(e.prototype).constructor}function gE(e){let t=hE(e.type),n=!0,r=[e];for(;t;){let o;if(ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Wi(e.inputs),s.declaredInputs=Wi(e.declaredInputs),s.outputs=Wi(e.outputs);let a=o.hostBindings;a&&EE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&vE(e,c),l&&IE(e,l),mE(e,o),Wh(e.outputs,o.outputs),ve(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===gE&&(n=!1)}}t=Object.getPrototypeOf(t)}yE(r)}function mE(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 yE(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=Yt(o.hostAttrs,n=Yt(n,o.hostAttrs))}}function Wi(e){return e===_e?{}:e===K?[]:e}function vE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function IE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function EE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Yk(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Kf,n.hostDirectives=r?e.map(Us):[e]):r?n.hostDirectives.unshift(...e.map(Us)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Kf(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(Us(i),t,n)}else Ul(r,t,n)}function Ul(e,t,n){let r=ha(e.directive);wE(r.declaredInputs,e.inputs),Kf(r,t,n),n.set(r,e),t.push(r)}function Us(e){return typeof e=="function"?{directive:W(e),inputs:_e,outputs:_e}:{directive:W(e.directive),inputs:ql(e.inputs),outputs:ql(e.outputs)}}function ql(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function wE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Xf(e){return uc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function DE(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 uc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Re(e,t,n){return e[t]=n}function Kn(e,t){return e[t]}function G(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Kt(e,t,n,r){let o=G(e,t,n);return G(e,t+1,r)||o}function dc(e,t,n,r,o){let i=Kt(e,t,n,r);return G(e,t+2,o)||i}function Xt(e,t,n,r,o,i){let s=Kt(e,t,n,r);return Kt(e,t+2,o,i)||s}function bE(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Jn(t,e,4,s||null,a||null);Ca()&&ic(t,n,u,Xe(l,c),Ja),u.mergedAttrs=Yt(u.mergedAttrs,u.attrs),ka(t,u);let d=u.tView=Ga(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 jn(e,t,n,r,o,i,s,a,c,l){let u=n+A,d=t.firstCreatePass?bE(u,t,e,r,o,i,s,a,c):t.data[u];Mt(d,!1);let p=ep(t,e,d,n);Lo()&&Go(t,e,p,d),cn(p,e);let f=_f(p,e,p,d);return e[u]=f,Qa(e,f),Hf(f,d,e),Ro(d)&&Wo(t,e,d),c!=null&&Ya(e,d,l),d}function ME(e,t,n,r,o,i,s,a){let c=m(),l=L(),u=Xe(l.consts,i);return jn(c,l,e,t,n,r,o,u,s,a),ME}var ep=tp;function tp(e,t,n,r){return nt(!0),t[O].createComment("")}function CE(e,t,n,r){let o=t[de],i=!o||sn()||_t(n)||Zn(o,r);if(nt(i),i)return tp(e,t);let s=o.data[Vm]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Jo(o,e,t,n);Bo(o,r,a);let c=Ha(o,r);return Ko(c,a)}function xE(){ep=CE}var _E=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Qf(o,r,i):null;this.cachedInjectors.set(n,s)}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})}return e})();var TE=new k("");function zi(e,t,n){return e.get(_E).getOrCreateInjector(t,e,n,"")}function NE(e,t,n){if(e instanceof Gt){let o=e.injector,i=e.parentInjector,s=zi(i,t,n);return new Gt(o,s)}let r=e.get(Ve);if(r!==e){let o=zi(r,t,n);return new Gt(e,o)}return zi(e,t,n)}function lt(e,t,n,r=!1){let o=n[U],i=o[v];if(bt(o))return;let s=zn(o,t),a=s[Vo],c=s[ey];if(!(c!==null&&e<c)&&Wl(a,e)&&Wl(s[Ym]??-1,e)){let l=Gn(i,t),d=!r&&!0&&(sy(l)!==null||bl(l,j.Loading)!==null||bl(l,j.Placeholder))?OE:kE;try{d(e,s,n,t,o)}catch(p){Ka(o,p)}}}function SE(e,t){let n=e[Te]?.findIndex(o=>o.data[Pd]===t[Vo])??-1;return{dehydratedView:n>-1?e[Te][n]:null,dehydratedViewIx:n}}function kE(e,t,n,r,o){R(20);let i=iy(e,o,r);if(i!==null){t[Vo]=e;let s=o[v],a=i+A,c=$n(s,a),l=0;oc(n,l);let u;if(e===j.Complete){let h=Gn(s,r),g=h.providers;g&&g.length>0&&(u=NE(o[ye],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=SE(n,t),f=un(o,c,null,{injector:u,dehydratedView:d});if(dn(n,f,l,It(c,d)),Qo(f,2),p>-1&&n[Te]?.splice(p,1),(e===j.Complete||e===j.Error)&&Array.isArray(t[ji])){for(let h of t[ji])h();t[ji]=null}}R(21)}function Wl(e,t){return e<t}function RE(e,t){let n=e[t.index];lt(j.Placeholder,t,n)}function zl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ne.COMPLETE?lt(j.Complete,t,n):e.loadingState===ne.FAILED&&lt(j.Error,t,n)})}var OE=null;var Jk=(()=>{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 AE=new k("");var np=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new qs})}return e})(),qs=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 rp(e){return!!e&&typeof e.then=="function"}function PE(e){return!!e&&typeof e.subscribe=="function"}var op=new k("");function Kk(e){return ga([{provide:op,multi:!0,useValue:e}])}var ip=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=b(op,{optional:!0})??[];injector=b(vt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ou(this.injector,o);if(rp(i))n.push(i);else if(PE(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})(),sp=new k("");function LE(){Ti(()=>{throw new x(600,!1)})}function FE(e){return e.isBoundToModule}var jE=10;var en=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=b(Im);afterRenderManager=b(jd);zonelessEnabled=b(Oa);rootEffectScheduler=b(np);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new le;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=b(qn).hasPendingTasks.pipe(Ge(n=>!n));constructor(){b(jo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=b(Ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=vt.NULL){R(10);let i=n instanceof Of;if(!this._injector.get(ip).done){let f="";throw new x(405,f)}let a;i?a=n:a=this._injector.get(Xo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=FE(a)?void 0:this._injector.get(Fn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(AE,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Wr(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),R(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ja.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new x(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<jE;)R(14),this.synchronizeOnce(),R(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)VE(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})=>Oo(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;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(sp,[]).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),()=>Wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(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 Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function VE(e,t,n,r){if(!n&&!Oo(e))return;bf(e,t,n&&!r?0:1)}function HE(e,t,n){let r=t[ye],o=t[v];if(e.loadingState!==ne.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=zn(t,n),s=ay(o,e);e.loadingState=ne.IN_PROGRESS,qr(1,i);let a=e.dependencyResolverFn,c=r.get(fm).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=je(h)||ha(h);if(g)d.push(g);else{let S=Tu(h);S&&p.push(S)}}else{u=!0;break}if(u){if(e.loadingState=ne.FAILED,e.errorTmplIndex===null){let f="",h=new x(-750,!1);Ka(t,h)}}else{e.loadingState=ne.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Ml(f.directiveRegistry,d);let h=d.map(S=>S.type),g=ma(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=Ml(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ne.COMPLETE,c()}),e.loadingPromise)}function BE(e,t){return t[ye].get(TE,null,{optional:!0})?.behavior!==Vd.Manual}function $E(e,t,n){let r=t[v],o=t[n.index];if(!BE(e,t))return;let i=zn(t,n),s=Gn(r,n);switch(Hd(i),s.loadingState){case ne.NOT_STARTED:lt(j.Loading,n,o),HE(s,t,n),s.loadingState===ne.IN_PROGRESS&&zl(s,n,o);break;case ne.IN_PROGRESS:lt(j.Loading,n,o),zl(s,n,o);break;case ne.COMPLETE:lt(j.Complete,n,o);break;case ne.FAILED:lt(j.Error,n,o);break;default:}}function UE(e,t,n){return e===0?Gl(t,n):e===2?!Gl(t,n):!0}function Gl(e,t){let n=e[ye],r=Gn(e[v],t),o=vy(n),i=r.flags!==null&&(r.flags&1)===1,a=zn(e,t)[Xm]!==null;return!(i&&a&&o)}function Xk(e,t,n,r,o,i,s,a,c,l){let u=m(),d=L(),p=e+A,f=jn(u,d,e,null,0,0),h=u[ye];if(d.firstCreatePass){xt("NgDefer");let fn={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ne.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,fn,a,s),oy(d,p,fn)}let g=u[p];Hf(g,f,u);let S=null,_=null;if(g[Te]?.length>0){let fn=g[Te][0].data;_=fn[Ad]??null,S=fn[Pd]}let ee=[null,uo.Initial,null,null,null,null,_,S,null,null];ry(u,p,ee);let ti=null;_!==null&&(ti=h.get(uy),ti.add(_,{lView:u,tNode:f,lContainer:g}));let pc=()=>{Hd(ee),_!==null&&ti?.cleanup([_])};ny(0,ee,()=>Wu(u,pc)),Da(u,pc)}function eR(e){let t=m(),n=Ct();if(!UE(0,t,n))return;let r=qe();if(G(t,r,e)){let o=D(null);try{let i=!!e,a=zn(t,n)[Vo];i===!1&&a===uo.Initial?RE(t,n):i===!0&&(a===uo.Initial||a===j.Placeholder)&&$E(0,t,n)}finally{D(o)}}}function qE(e,t,n,r){let o=m(),i=qe();if(G(o,i,t)){let s=L(),a=Ct();Dv(a,o,e,t,n,r)}return qE}function ap(e,t,n,r){return G(e,qe(),n)?t+xe(n)+r:Y}function WE(e,t,n,r,o,i){let s=Zu(),a=Kt(e,s,n,o);return Ao(2),a?t+xe(n)+r+xe(o)+i:Y}function zE(e,t,n,r,o,i,s,a){let c=Zu(),l=dc(e,c,n,o,s);return Ao(3),l?t+xe(n)+r+xe(o)+i+xe(s)+a:Y}function Vr(e,t){return e<<17|t<<2}function wt(e){return e>>17&32767}function GE(e){return(e&2)==2}function ZE(e,t){return e&131071|t<<17}function Ws(e){return e|2}function tn(e){return(e&131068)>>2}function Gi(e,t){return e&-131069|t<<2}function QE(e){return(e&1)===1}function zs(e){return e|1}function YE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=wt(s),c=tn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Bn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=wt(e[a+1]);e[r+1]=Vr(p,a),p!==0&&(e[p+1]=Gi(e[p+1],r)),e[a+1]=ZE(e[a+1],r)}else e[r+1]=Vr(a,0),a!==0&&(e[a+1]=Gi(e[a+1],r)),a=r;else e[r+1]=Vr(c,0),a===0?a=r:e[c+1]=Gi(e[c+1],r),c=r;l&&(e[r+1]=Ws(e[r+1])),Zl(e,u,r,!0),Zl(e,u,r,!1),JE(t,u,e,r,i),s=Vr(a,c),i?t.classBindings=s:t.styleBindings=s}function JE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[r+1]=zs(n[r+1]))}function Zl(e,t,n,r){let o=e[n+1],i=t===null,s=r?wt(o):tn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];KE(c,t)&&(a=!0,e[s+1]=r?zs(l):Ws(l)),s=r?wt(l):tn(l)}a&&(e[n+1]=r?Ws(o):zs(o))}function KE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cp(e){return e.substring(B.key,B.keyEnd)}function XE(e){return e.substring(B.value,B.valueEnd)}function ew(e){return dp(e),lp(e,nn(e,0,B.textEnd))}function lp(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=nw(e,B.key=t,n),nn(e,t,n))}function tw(e){return dp(e),up(e,nn(e,0,B.textEnd))}function up(e,t){let n=B.textEnd,r=B.key=nn(e,t,n);return n===r?-1:(r=B.keyEnd=rw(e,r,n),r=Ql(e,r,n,58),r=B.value=nn(e,r,n),r=B.valueEnd=ow(e,r,n),Ql(e,r,n,59))}function dp(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function nn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function nw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function rw(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Ql(e,t,n,r){return t=nn(e,t,n),t<n&&t++,t}function ow(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=Yl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Yl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Yl(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 iw(e,t,n){let r=m(),o=qe();if(G(r,o,t)){let i=L(),s=Ct();Yn(i,s,r,e,t,r[O],n,!1)}return iw}function Gs(e,t,n,r,o){Xa(t,e,n,o?"class":"style",r)}function sw(e,t,n){return fp(e,t,n,!1),sw}function aw(e,t){return fp(e,t,null,!0),aw}function tR(e){pp(mp,cw,e,!1)}function cw(e,t){for(let n=tw(t);n>=0;n=up(t,n))mp(e,cp(t),XE(t))}function nR(e){pp(gw,lw,e,!0)}function lw(e,t){for(let n=ew(t);n>=0;n=lp(t,n))No(e,cp(t),!0)}function fp(e,t,n,r){let o=m(),i=L(),s=Ao(2);if(i.firstUpdatePass&&gp(i,e,s,r),t!==Y&&G(o,s,t)){let a=i.data[ke()];yp(i,a,o,o[O],e,o[s+1]=yw(t,n),r,s)}}function pp(e,t,n,r){let o=L(),i=Ao(2);o.firstUpdatePass&&gp(o,null,i,r);let s=m();if(n!==Y&&G(s,i,n)){let a=o.data[ke()];if(vp(a,r)&&!hp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Xi(c,n||"")),Gs(o,a,s,n,r)}else mw(o,a,s,s[O],s[i+1],s[i+1]=hw(e,t,n),r,i)}}function hp(e,t){return t>=e.expandoStartIndex}function gp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=hp(e,n);vp(i,r)&&t===null&&!s&&(t=!1),t=uw(o,i,t,r),YE(o,i,t,n,s,r)}}function uw(e,t,n,r){let o=Qu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zi(null,e,t,n,r),n=Vn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zi(o,e,t,n,r),i===null){let c=dw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Zi(null,e,t,c[1],r),c=Vn(c,t.attrs,r),fw(e,t,r,c))}else i=pw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function dw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(tn(r)!==0)return e[wt(r)]}function fw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[wt(o)]=r}function pw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Vn(r,s,n)}return Vn(r,t.attrs,n)}function Zi(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=Vn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Vn(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]),No(e,s,n?!0:t[++i]))}return e===void 0?null:e}function hw(e,t,n){if(n==null||n==="")return K;let r=[],o=ln(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 mp(e,t,n){No(e,t,ln(n))}function gw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&No(e,r,n)}function mw(e,t,n,r,o,i,s,a){o===Y&&(o=K);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,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&yp(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function yp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=QE(l)?Jl(c,t,n,o,tn(l),s):void 0;if(!wo(u)){wo(i)||GE(l)&&(i=Jl(c,null,n,o,a,s));let d=$u(ke(),n);Hv(r,s,d,o,i)}}function Jl(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===Y&&(p=d?K:void 0);let f=d?Oi(p,r):u===r?p:void 0;if(l&&!wo(f)&&(f=Oi(c,r)),wo(f)&&(a=f,s))return a;let h=e[o+1];o=s?wt(h):tn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Oi(c,r))}return a}function wo(e){return e!==void 0}function yw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=re(ln(e)))),e}function vp(e,t){return(e.flags&(t?8:16))!==0}var Zs=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 Qi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vw(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=Qi(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=Qi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),S=n(s,p),_=n(i,u);if(Object.is(_,S)){let ee=n(c,f);Object.is(ee,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Do,o??=Xl(e,i,s,n),Qs(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(g,e.detach(i)),s--;else{let ee=e.create(i,t[i]);e.attach(i,ee),i++,s++}}for(;i<=c;)Kl(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=Qi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Do,o??=Xl(e,i,s,n);let f=n(i,d);if(Qs(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;)Kl(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 Qs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Kl(e,t,n,r,o){if(Qs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Xl(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 Do=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 rR(e,t){xt("NgControlFlow");let n=m(),r=qe(),o=n[r]!==Y?n[r]:-1,i=o!==-1?bo(n,A+o):void 0,s=0;if(G(n,r,e)){let a=D(null);try{if(i!==void 0&&oc(i,s),e!==-1){let c=A+e,l=bo(n,c),u=Xs(n[v],c),d=Jt(l,u.tView.ssrId),p=un(n,u,t,{dehydratedView:d});dn(l,p,s,It(u,d))}}finally{D(a)}}else if(i!==void 0){let a=Tf(i,s);a!==void 0&&(a[$]=t)}}var Ys=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 oR(e){return e}function iR(e,t){return t}var Js=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function sR(e,t,n,r,o,i,s,a,c,l,u,d,p){xt("NgControlFlow");let f=m(),h=L(),g=c!==void 0,S=m(),_=a?s.bind(S[X][$]):s,ee=new Js(g,_);S[A+e]=ee,jn(f,h,e+1,t,n,r,o,Xe(h.consts,i)),g&&jn(f,h,e+2,c,l,u,d,Xe(h.consts,p))}var Ks=class extends Zs{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)[$].$implicit}attach(t,n){let r=n[de];this.needsIndexUpdate||=t!==this.length,dn(this.lContainer,n,t,It(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Iw(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId),o=un(this.hostLView,this.templateTNode,new Ys(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){zo(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return Ew(this.lContainer,t)}};function aR(e){let t=D(null),n=ke();try{let r=m(),o=r[v],i=r[n],s=n+1,a=bo(r,s);if(i.liveCollection===void 0){let l=Xs(o,s);i.liveCollection=new Ks(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(vw(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=qe(),u=c.length===0;if(G(r,l,u)){let d=n+2,p=bo(r,d);if(u){let f=Xs(o,d),h=Jt(p,f.tView.ssrId),g=un(r,f,void 0,{dehydratedView:h});dn(p,g,0,It(f,h))}else oc(p,0)}}}finally{D(t)}}function bo(e,t){return e[t]}function Iw(e,t){return Pn(e,t)}function Ew(e,t){return Tf(e,t)}function Xs(e,t){return $n(e,t)}function Ip(e,t,n,r){let o=m(),i=L(),s=A+e,a=o[O],c=i.firstCreatePass?Pf(s,i,o,t,Ja,Ca(),n,r):i.data[s],l=wp(i,o,c,a,t,e);o[s]=l;let u=Ro(c);return Mt(c,!0),cf(a,l,c),!_t(c)&&Lo()&&Go(i,o,l,c),(Ag()===0||u)&&cn(l,o),Pg(),u&&(Wo(i,o,c),Ba(i,c,o)),r!==null&&Ya(o,c),Ip}function Ep(){let e=Q();xa()?_a():(e=e.parent,Mt(e,!1));let t=e;Fg(t)&&Vg(),Lg();let n=L();return n.firstCreatePass&&Lf(n,t),t.classesWithoutHost!=null&&Jg(t)&&Gs(n,t,m(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Kg(t)&&Gs(n,t,m(),t.stylesWithoutHost,!1),Ep}function ww(e,t,n,r){return Ip(e,t,n,r),Ep(),ww}var wp=(e,t,n,r,o,i)=>(nt(!0),Wa(r,o,td()));function Dw(e,t,n,r,o,i){let s=t[de],a=!s||sn()||_t(n)||Zn(s,i);if(nt(a),a)return Wa(r,o,td());let c=Jo(s,e,t,n);return Wd(s,i)&&Bo(s,i,c.nextSibling),s&&(bd(n)||Md(c))&&Dt(n)&&(jg(n),af(c)),c}function bw(){wp=Dw}function Mw(e,t,n,r,o){let i=t.consts,s=Xe(i,r),a=Jn(t,e,8,"ng-container",s);s!==null&&Ps(a,s,!0);let c=Xe(i,o);return Ca()&&ic(t,n,a,c,Ja),a.mergedAttrs=Yt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function Dp(e,t,n){let r=m(),o=L(),i=e+A,s=o.firstCreatePass?Mw(i,o,r,t,n):o.data[i];Mt(s,!0);let a=Mp(o,r,s,e);return r[i]=a,Lo()&&Go(o,r,a,s),cn(a,r),Ro(s)&&(Wo(o,r,s),Ba(o,s,r)),n!=null&&Ya(r,s),Dp}function bp(){let e=Q(),t=L();return xa()?_a():(e=e.parent,Mt(e,!1)),t.firstCreatePass&&(ka(t,e),Ia(e)&&t.queries.elementEnd(e)),bp}function Cw(e,t,n){return Dp(e,t,n),bp(),Cw}var Mp=(e,t,n,r)=>(nt(!0),of(t[O],""));function xw(e,t,n,r){let o,i=t[de],s=!i||sn()||Zn(i,r)||_t(n);if(nt(s),s)return of(t[O],"");let a=Jo(i,e,t,n),c=Iy(i,r);return Bo(i,r,a),o=Ko(c,a),o}function _w(){Mp=xw}function cR(){return m()}function Tw(e,t,n){let r=m(),o=qe();if(G(r,o,t)){let i=L(),s=Ct();Yn(i,s,r,e,t,r[O],n,!0)}return Tw}function Nw(e,t,n){let r=m(),o=qe();if(G(r,o,t)){let i=L(),s=Ct(),a=Qu(i.data),c=Cv(a,s,r);Yn(i,s,r,e,t,c,n,!0)}return Nw}var ct=void 0;function Sw(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var kw=["en",[["a","p"],["AM","PM"],ct],[["AM","PM"],ct,ct],[["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"]],ct,[["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"]],ct,[["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}",ct,"{1} 'at' {0}",ct],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Sw],Yi={};function lR(e){let t=Ow(e),n=eu(t);if(n)return n;let r=t.split("-")[0];if(n=eu(r),n)return n;if(r==="en")return kw;throw new x(701,!1)}function eu(e){return e in Yi||(Yi[e]=Qe.ng&&Qe.ng.common&&Qe.ng.common.locales&&Qe.ng.common.locales[e]),Yi[e]}var Rw=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}(Rw||{});function Ow(e){return e.toLowerCase().replace(/_/g,"-")}var Mo="en-US";var Aw=Mo;function Pw(e){typeof e=="string"&&(Aw=e.toLowerCase().replace(/_/g,"-"))}function tu(e,t,n){return function r(o){if(o===Function)return n;let i=Dt(e)?Ne(e.index,t):t;Qo(i,5);let s=t[$],a=nu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=nu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function nu(e,t,n,r){let o=D(null);try{return R(6,t,n),n(r)!==!1}catch(i){return Lw(e,i),!1}finally{R(7,t,n),D(o)}}function Lw(e,t){let n=e[ye],r=n?n.get(tt,null):null;r&&r.handleError(t)}function ru(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?Ma(a):null,p=ba(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function Fw(e,t,n,r){let o=m(),i=L(),s=Q();return Cp(i,o,o[O],s,e,t,r),Fw}function jw(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[Kr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Cp(e,t,n,r,o,i,s){let a=Ro(r),l=e.firstCreatePass?Ma(e):null,u=ba(t),d=!0;if(r.type&3||s){let p=Ee(r,t),f=s?s(p):p,h=u.length,g=s?_=>s(Ie(_[r.index])):r.index,S=null;if(!s&&a&&(S=jw(e,t,o,r.index)),S!==null){let _=S.__ngLastListenerFn__||S;_.__ngNextListenerFn__=i,S.__ngLastListenerFn__=i,d=!1}else{i=tu(r,t,i),ly(t,f,o,i);let _=n.listen(f,o,i);u.push(i,_),l&&l.push(o,g,h,h+1)}}else i=tu(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 g=f[h],S=f[h+1];ru(r,t,g,S,o,i)}if(p&&p.length)for(let h of p)ru(r,t,h,o,o,i)}}function uR(e=1){return Gg(e)}function Vw(e,t){let n=null,r=ev(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?nf(e,i,!0):rv(r,i))return o}return n}function dR(e){let t=m()[X][ie];if(!t.projection){let n=e?e.length:1,r=t.projection=ug(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Vw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function fR(e,t=0,n,r,o,i){let s=m(),a=L(),c=r?e+1:null;c!==null&&jn(s,a,c,r,o,i,null,n);let l=Jn(a,A+e,16,null,n||null);l.projection===null&&(l.projection=t),_a();let d=!s[de]||sn();s[X][ie].projection[l.projection]===null&&c!==null?Hw(s,a,c):d&&!_t(l)&&jv(a,s,l)}function Hw(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=Jt(i,o.tView.ssrId),a=un(e,o,void 0,{dehydratedView:s});dn(i,a,0,It(o,s))}function Bw(e,t,n,r,o){let i=m(),s=ap(i,t,n,r);if(s!==Y){let a=L(),c=Ct();Yn(a,c,i,e,s,i[O],o,!1)}return Bw}function pR(e,t,n,r){qf(e,t,n,r)}function hR(e,t,n){KI(e,t,n)}function gR(e){let t=m(),n=L(),r=Ta();Po(r+1);let o=lc(n,r);if(e.dirty&&Sg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=zf(t,r);e.reset(i,Ed),e.notifyOnChanges()}return!0}return!1}function mR(){return cc(m(),Ta())}function yR(e,t,n,r,o){rE(t,qf(e,n,r,o))}function vR(e=1){Po(Ta()+e)}function IR(e){let t=Bg();return Ea(t,A+e)}function ER(e,t=""){let n=m(),r=L(),o=e+A,i=r.firstCreatePass?Jn(r,o,1,t,null):r.data[o],s=xp(r,n,i,t,e);n[o]=s,Lo()&&Go(r,n,s,i),Mt(i,!1)}var xp=(e,t,n,r,o)=>(nt(!0),rf(t[O],r));function $w(e,t,n,r,o){let i=t[de],s=!i||sn()||_t(n)||Zn(i,o);return nt(s),s?rf(t[O],r):Jo(i,e,t,n)}function Uw(){xp=$w}function qw(e){return _p("",e,""),qw}function _p(e,t,n){let r=m(),o=ap(r,e,t,n);return o!==Y&&fc(r,ke(),o),_p}function Ww(e,t,n,r,o){let i=m(),s=WE(i,e,t,n,r,o);return s!==Y&&fc(i,ke(),s),Ww}function zw(e,t,n,r,o,i,s){let a=m(),c=zE(a,e,t,n,r,o,i,s);return c!==Y&&fc(a,ke(),c),zw}function fc(e,t,n){let r=$u(t,e);av(e[O],r,n)}function Gw(e,t,n){Dd(t)&&(t=t());let r=m(),o=qe();if(G(r,o,t)){let i=L(),s=Ct();Yn(i,s,r,e,t,r[O],n,!1)}return Gw}function wR(e,t){let n=Dd(e);return n&&e.set(t),n}function Zw(e,t){let n=m(),r=L(),o=Q();return Cp(r,n,n[O],o,e,t),Zw}function Qw(e,t,n){let r=L();if(r.firstCreatePass){let o=ve(e);ea(n,r.data,r.blueprint,o,!0),ea(t,r.data,r.blueprint,o,!1)}}function ea(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)ea(e[i],t,n,r,o);else{let i=L(),s=m(),a=Q(),c=Zt(e)?e:W(e.provide),l=Ru(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Zt(e)||!e.multi){let f=new yt(l,o,ei),h=Ki(c,t,o?u:u+p,d);h===-1?(ds(oo(a,s),i,c),Ji(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ki(c,t,u+p,d),h=Ki(c,t,u,u+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){ds(oo(a,s),i,c);let _=Kw(o?Jw:Yw,n.length,o,r,l);!o&&S&&(n[h].providerFactory=_),Ji(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Tp(n[o?h:f],l,!o&&r);Ji(i,e,f>-1?f:h,_)}!o&&r&&S&&n[h].componentProviders++}}}function Ji(e,t,n,r){let o=Zt(t),i=yg(t);if(o||i){let c=(i?W(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 Tp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ki(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Yw(e,t,n,r,o){return ta(this.multi,[])}function Jw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Rn(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),ta(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],ta(i,s);return s}function ta(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Kw(e,t,n,r,o){let i=new yt(e,n,ei);return i.multi=[],i.index=t,i.componentProviders=0,Tp(i,o,r&&!n),i}function DR(e,t=[]){return n=>{n.providersResolver=(r,o)=>Qw(r,o?o(e):e,t)}}function bR(e,t,n){let r=fe()+e,o=m();return o[r]===Y?Re(o,r,n?t.call(n):t()):Kn(o,r)}function MR(e,t,n,r){return Np(m(),fe(),e,t,n,r)}function CR(e,t,n,r,o){return Sp(m(),fe(),e,t,n,r,o)}function xR(e,t,n,r,o,i){return Xw(m(),fe(),e,t,n,r,o,i)}function _R(e,t,n,r,o,i,s){return eD(m(),fe(),e,t,n,r,o,i,s)}function TR(e,t,n,r,o,i,s,a){let c=fe()+e,l=m(),u=Xt(l,c,n,r,o,i);return G(l,c+4,s)||u?Re(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Kn(l,c+5)}function NR(e,t,n,r,o,i,s,a,c){let l=fe()+e,u=m(),d=Xt(u,l,n,r,o,i);return Kt(u,l+4,s,a)||d?Re(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Kn(u,l+6)}function SR(e,t,n,r,o,i,s,a,c,l){let u=fe()+e,d=m(),p=Xt(d,u,n,r,o,i);return dc(d,u+4,s,a,c)||p?Re(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Kn(d,u+7)}function kR(e,t,n,r,o,i,s,a,c,l,u){let d=fe()+e,p=m(),f=Xt(p,d,n,r,o,i);return Xt(p,d+4,s,a,c,l)||f?Re(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Kn(p,d+8)}function RR(e,t,n,r){return tD(m(),fe(),e,t,n,r)}function Xn(e,t){let n=e[t];return n===Y?void 0:n}function Np(e,t,n,r,o,i){let s=t+n;return G(e,s,o)?Re(e,s+1,i?r.call(i,o):r(o)):Xn(e,s+1)}function Sp(e,t,n,r,o,i,s){let a=t+n;return Kt(e,a,o,i)?Re(e,a+2,s?r.call(s,o,i):r(o,i)):Xn(e,a+2)}function Xw(e,t,n,r,o,i,s,a){let c=t+n;return dc(e,c,o,i,s)?Re(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Xn(e,c+3)}function eD(e,t,n,r,o,i,s,a,c){let l=t+n;return Xt(e,l,o,i,s,a)?Re(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Xn(e,l+4)}function tD(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)G(e,s++,o[c])&&(a=!0);return a?Re(e,s,r.apply(i,o)):Xn(e,s)}function OR(e,t){let n=L(),r,o=e+A;n.firstCreatePass?(r=nD(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=ft(r.type,!0)),s,a=te(ei);try{let c=ro(!1),l=i();return ro(c),Ng(n,m(),o,l),l}finally{te(a)}}function nD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function AR(e,t,n){let r=e+A,o=m(),i=Ea(o,r);return kp(o,r)?Np(o,fe(),t,i.transform,n,i):i.transform(n)}function PR(e,t,n,r){let o=e+A,i=m(),s=Ea(i,o);return kp(i,o)?Sp(i,fe(),t,s.transform,n,r,s):s.transform(n,r)}function kp(e,t){return e[v].data[t].pure}function LR(e,t){return Yo(e,t)}var na=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},FR=(()=>{class e{compileModuleSync(n){return new $s(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=_u(n),i=ef(o.declarations).reduce((s,a)=>{let c=je(a);return c&&s.push(new Et(c)),s},[]);return new na(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})();var rD=(()=>{class e{zone=b(ce);changeDetectionScheduler=b(et);applicationRef=b(en);_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})(),oD=new k("",{factory:()=>!1});function Rp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ce(ae(se({},Op()),{scheduleInRootZone:n})),[{provide:ce,useFactory:e},{provide:Tn,multi:!0,useFactory:()=>{let r=b(rD,{optional:!0});return()=>r.initialize()}},{provide:Tn,multi:!0,useFactory:()=>{let r=b(iD);return()=>{r.initialize()}}},t===!0?{provide:md,useValue:!0}:[],{provide:yd,useValue:n??gd}]}function jR(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Rp({ngZoneFactory:()=>{let o=Op(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&xt("NgZone_CoalesceEvent"),new ce(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return ga([{provide:oD,useValue:!0},{provide:Oa,useValue:!1},r])}function Op(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var iD=(()=>{class e{subscription=new F;initialized=!1;zone=b(ce);pendingTasks=b(qn);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(()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ce.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 sD=(()=>{class e{appRef=b(en);taskService=b(qn);ngZone=b(ce);zonelessEnabled=b(Oa);tracing=b(jo,{optional:!0});disableScheduling=b(md,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(so):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(yd,{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 gs||!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?ml:vd;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(so+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,ml(()=>{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 aD(){return typeof $localize<"u"&&$localize.locale||Mo}var Ap=new k("",{providedIn:"root",factory:()=>b(Ap,N.Optional|N.SkipSelf)||aD()});var ra=new k(""),cD=new k("");function Mn(e){return!e.moduleRef}function lD(e){let t=Mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ce);return n.run(()=>{Mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ra);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ra);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dD(r,n,()=>{let i=t.get(ip);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Ap,Mo);if(Pw(s||Mo),!t.get(cD,!0))return Mn(e)?t.get(en):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mn(e)){let c=t.get(en);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return uD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function uD(e,t){let n=e.injector.get(en);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}function dD(e,t,n){try{let r=n();return rp(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var zr=null;function fD(e=[],t){return vt.create({name:t,providers:[{provide:ku,useValue:"platform"},{provide:ra,useValue:new Set([()=>zr=null])},...e]})}function pD(e=[]){if(zr)return zr;let t=fD(e);return zr=t,LE(),hD(t),t}function hD(e){let t=e.get(Om,null);Ou(e,()=>{t?.forEach(n=>n())})}var VR=(()=>{class e{static __NG_ELEMENT_ID__=gD}return e})();function gD(e){return mD(Q(),m(),(e&16)===16)}function mD(e,t,n){if(Dt(e)&&!n){let r=Ne(e.index,t);return new Ln(r,r)}else if(e.type&175){let r=t[X];return new Ln(r,t)}return null}var oa=class{constructor(){}supports(t){return Xf(t)}create(t){return new ia(t)}},yD=(e,t)=>t,ia=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||yD}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<ou(r,o,i)?n:r,a=ou(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=[]),!Xf(t))throw new x(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,DE(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 sa(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Co),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Co),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},sa=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}},aa=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}},Co=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new aa,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 ou(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 ca=class{constructor(){}supports(t){return t instanceof Map||uc(t)}create(){return new la}},la=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||uc(t)))throw new x(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 ua(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))}},ua=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function iu(){return new vD([new oa])}var vD=(()=>{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:iu});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||iu()),deps:[[e,new bu,new Du]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}}return e})();function su(){return new ID([new ca])}var ID=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:su});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||su()),deps:[[e,new bu,new Du]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new x(901,!1)}}return e})();function HR(e){R(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=pD(r),i=[Rp({}),{provide:et,useExisting:sD},...n||[]],s=new Eo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return lD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{R(9)}}var au=!1;function ED(){au||(au=!0,hy(),bw(),Uw(),_w(),xE(),GI(),wI(),mv())}function wD(e){return e.whenStable()}function BR(){let e=[{provide:Pr,useFactory:()=>{let t=!0;return t=!!b(La,{optional:!0})?.get($d,null),t&&xt("NgHydration"),t}},{provide:Tn,useValue:()=>{hI(!1),b(Pr)&&(wy(Wn()),ED())},multi:!0}];return e.push({provide:Fd,useFactory:()=>b(Pr)},{provide:sp,useFactory:()=>{if(b(Pr)){let t=b(en);return()=>{wD(t).then(()=>{t.destroyed||vI(t)})}}return()=>{}},multi:!0}),ga(e)}function $R(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function UR(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function qR(e){return ki(e)}function WR(e,t){return kr(e,t?.equal)}var da=class{[J];constructor(t){this[J]=t}destroy(){this[J].destroy()}};function DD(e,t){!t?.injector&&Pu(DD);let n=t?.injector??b(vt),r=t?.manualCleanup!==!0?n.get(Un):null,o,i=n.get(Va,null,{optional:!0}),s=n.get(et);return i!==null&&!t?.forceRoot?(o=CD(i.view,s,e),r instanceof io&&r._lView===i.view&&(r=null)):o=xD(e,n.get(np),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new da(o)}var Pp=ae(se({},jt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:On,run(){if(this.dirty=!1,this.hasRun&&!Tr(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=wn(this),n=eo(!1);try{this.maybeCleanup(),this.fn(e)}finally{eo(n),_r(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),bD=ae(se({},Pp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Dn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),MD=ae(se({},Pp),{consumerMarkedDirty(){this.view[w]|=8192,on(this.view),this.notifier.notify(13)},destroy(){Dn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ht]?.delete(this)}});function CD(e,t,n){let r=Object.create(MD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ht]??=new Set,e[ht].add(r),r.consumerMarkedDirty(r),r}function xD(e,t,n){let r=Object.create(bD);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 zR(e,t){let n=je(e),r=t.elementInjector||So();return new Et(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function GR(e){let t=je(e);if(!t)return null;let n=new Et(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{F as a,we as b,Vp as c,T as d,fi as e,pi as f,le as g,pn as h,gn as i,oh as j,Pe as k,De as l,hi as m,ih as n,sh as o,at as p,Hc as q,Bc as r,Ge as s,nh as t,Me as u,yn as v,Ft as w,ch as x,lh as y,gi as z,vn as A,mh as B,yh as C,Le as D,Ih as E,Eh as F,Dh as G,bh as H,mi as I,Zc as J,Mh as K,Ch as L,In as M,yi as N,Qc as O,Th as P,Nh as Q,Sh as R,vi as S,kh as T,Rh as U,Lc as V,Yc as W,Fc as X,Oh as Y,jc as Z,Ah as _,x as $,pu as aa,V as ba,ck as ca,lk as da,k as ea,N as fa,Ke as ga,b as ha,ga as ia,pg as ja,ku as ka,Ve as la,Ou as ma,Pu as na,uk as oa,dk as pa,fk as qa,pk as ra,hk as sa,gk as ta,mk as ua,vt as va,Un as wa,et as xa,qn as ya,Ye as za,ce as Aa,tt as Ba,yk as Ca,vk as Da,Fo as Ea,Dm as Fa,bm as Ga,Ik as Ha,km as Ia,Om as Ja,Ek as Ka,wk as La,Dk as Ma,La as Na,jo as Oa,xt as Pa,Ut as Qa,zm as Ra,An as Sa,ln as Ta,$a as Ua,bk as Va,Mk as Wa,Ck as Xa,xk as Ya,_k as Za,Zd as _a,Vy as $a,Uo as ab,Tk as bb,By as cb,Nk as db,Sk as eb,kk as fb,Rk as gb,ks as hb,ho as ib,Xo as jb,mo as kb,jk as lb,ei as mb,Vk as nb,sc as ob,Bk as pb,$k as qb,Fn as rb,aE as sb,Wk as tb,Qf as ub,zk as vb,Gk as wb,Zk as xb,Qk as yb,gE as zb,Yk as Ab,ME as Bb,Jk as Cb,rp as Db,PE as Eb,Kk as Fb,sp as Gb,en as Hb,Xk as Ib,eR as Jb,qE as Kb,iw as Lb,sw as Mb,aw as Nb,tR as Ob,nR as Pb,rR as Qb,oR as Rb,iR as Sb,sR as Tb,aR as Ub,Ip as Vb,Ep as Wb,ww as Xb,Dp as Yb,bp as Zb,Cw as _b,cR as $b,Tw as ac,Nw as bc,lR as cc,Rw as dc,Fw as ec,uR as fc,dR as gc,fR as hc,Bw as ic,pR as jc,hR as kc,gR as lc,mR as mc,yR as nc,vR as oc,IR as pc,ER as qc,qw as rc,_p as sc,Ww as tc,zw as uc,Gw as vc,wR as wc,Zw as xc,DR as yc,bR as zc,MR as Ac,CR as Bc,xR as Cc,_R as Dc,TR as Ec,NR as Fc,SR as Gc,kR as Hc,RR as Ic,OR as Jc,AR as Kc,PR as Lc,LR as Mc,FR as Nc,jR as Oc,Ap as Pc,VR as Qc,vD as Rc,ID as Sc,HR as Tc,BR as Uc,$R as Vc,UR as Wc,qR as Xc,WR as Yc,DD as Zc,zR as _c,GR as $c};