homebridge-config-ui-x 5.0.0-beta.106 → 5.0.0-beta.108

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 (125) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/modules/config-editor/config-editor.service.js +2 -1
  3. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  4. package/dist/modules/plugins/plugins.controller.d.ts +4 -0
  5. package/dist/modules/plugins/plugins.service.d.ts +4 -0
  6. package/dist/modules/plugins/plugins.service.js +13 -23
  7. package/dist/modules/plugins/plugins.service.js.map +1 -1
  8. package/dist/modules/server/server.service.d.ts +1 -1
  9. package/dist/modules/server/server.service.js +30 -15
  10. package/dist/modules/server/server.service.js.map +1 -1
  11. package/package.json +4 -4
  12. package/public/{chunk-W3MBZCWZ.js → chunk-25RDMF7D.js} +1 -1
  13. package/public/chunk-2NQ5FYSH.js +5 -0
  14. package/public/chunk-2TK5SJVS.js +1 -0
  15. package/public/chunk-45DGJYU4.js +1 -0
  16. package/public/chunk-4HQPK3XV.js +1 -0
  17. package/public/{chunk-76VOEY5B.js → chunk-555LSHXI.js} +1 -1
  18. package/public/{chunk-3AAMPGXX.js → chunk-5CEP4QNR.js} +1 -1
  19. package/public/{chunk-L5BYKG2R.js → chunk-5NG7YGKN.js} +1 -1
  20. package/public/{chunk-NY65QKQ5.js → chunk-6CGMROX6.js} +1 -1
  21. package/public/chunk-6VVYFBUL.js +1 -0
  22. package/public/{chunk-OHR5OVP7.js → chunk-6XANA56B.js} +1 -1
  23. package/public/{chunk-C67HUFRU.js → chunk-777K5E5F.js} +1 -1
  24. package/public/chunk-ADFN5XBP.js +1 -0
  25. package/public/{chunk-3QHGMDIL.js → chunk-ALBES4KB.js} +1 -1
  26. package/public/chunk-ANF56WI2.js +1 -0
  27. package/public/{chunk-2RD53SIA.js → chunk-AQCMCVCZ.js} +1 -1
  28. package/public/{chunk-5YXKYR7U.js → chunk-B4YIJPX7.js} +1 -1
  29. package/public/chunk-BL6KJQB2.js +1 -0
  30. package/public/chunk-BQZV3CQP.js +1 -0
  31. package/public/chunk-BY2CUGGW.js +1 -0
  32. package/public/{chunk-MYYIAVZP.js → chunk-D35WUZO6.js} +1 -1
  33. package/public/chunk-DEB6KHZN.js +1 -0
  34. package/public/chunk-DONTWOO5.js +1 -0
  35. package/public/chunk-DPV75EPV.js +1 -0
  36. package/public/chunk-E3LLCX6Y.js +1 -0
  37. package/public/{chunk-NV5P62TT.js → chunk-E6DP75ED.js} +1 -1
  38. package/public/chunk-EM4PY2IW.js +2 -0
  39. package/public/{chunk-MVR2VHMV.js → chunk-ETJU5IRU.js} +1 -1
  40. package/public/chunk-EWZTKW5G.js +1 -0
  41. package/public/{chunk-OM46CMXO.js → chunk-FDQVRFVX.js} +1 -1
  42. package/public/{chunk-77K7YMX7.js → chunk-GEBBOSXZ.js} +1 -1
  43. package/public/{chunk-ZTDBD35H.js → chunk-GHOGQOBE.js} +1 -1
  44. package/public/{chunk-OZXCDV3R.js → chunk-GMQEHLXV.js} +1 -1
  45. package/public/chunk-GRDIIOJ6.js +1 -0
  46. package/public/chunk-I5W3MOSN.js +1 -0
  47. package/public/{chunk-4754Z7OP.js → chunk-IMPGSXGE.js} +1 -1
  48. package/public/chunk-IOKPSUWJ.js +1 -0
  49. package/public/{chunk-QJXWUQ2Y.js → chunk-ITNKDOMR.js} +1 -1
  50. package/public/{chunk-JPQOXPI2.js → chunk-J764EFYE.js} +1 -1
  51. package/public/{chunk-XRY6CGOA.js → chunk-JBQX4JBH.js} +1 -1
  52. package/public/{chunk-SQWWECXI.js → chunk-JG6T53WP.js} +1 -1
  53. package/public/chunk-JGGBOT6M.js +1 -0
  54. package/public/{chunk-X4T3VHUI.js → chunk-JJ4WQ6NE.js} +1 -1
  55. package/public/chunk-JVXQYOED.js +1 -0
  56. package/public/chunk-KFUUWA7X.js +1 -0
  57. package/public/{chunk-TN56G7FB.js → chunk-KKDWUX5G.js} +1 -1
  58. package/public/{chunk-Z3WU3ISL.js → chunk-LAYU6YBF.js} +1 -1
  59. package/public/{chunk-6TNF34YJ.js → chunk-LBKDR2SS.js} +1 -1
  60. package/public/{chunk-GTLLKV3H.js → chunk-M5VWLNY3.js} +1 -1
  61. package/public/chunk-MORI4RRK.js +1 -0
  62. package/public/{chunk-MXPEVLWH.js → chunk-MPLPCXYW.js} +18 -18
  63. package/public/{chunk-A4MQGLRM.js → chunk-NTN3W7TQ.js} +1 -1
  64. package/public/chunk-O3ZBSHXK.js +1 -0
  65. package/public/chunk-OO6DDCX4.js +1 -0
  66. package/public/{chunk-XOUXUSYM.js → chunk-QC5CHU3Z.js} +1 -1
  67. package/public/{chunk-KZTJTB2H.js → chunk-QJQSHTGR.js} +1 -1
  68. package/public/{chunk-RH4NWKOD.js → chunk-S6UXXPGF.js} +1 -1
  69. package/public/{chunk-3M3K22OA.js → chunk-SCRWY2OT.js} +1 -1
  70. package/public/{chunk-CMOJM5CO.js → chunk-ST2JPLMI.js} +1 -1
  71. package/public/{chunk-F4CVBLJF.js → chunk-SWANJZES.js} +1 -1
  72. package/public/{chunk-F3HFHS2T.js → chunk-SWUH5RAT.js} +1 -1
  73. package/public/chunk-T3FDH3Z3.js +1 -0
  74. package/public/{chunk-4N43YINB.js → chunk-TJJCM4OW.js} +1 -1
  75. package/public/{chunk-UU6MOQ2U.js → chunk-TO7LPEK2.js} +1 -1
  76. package/public/chunk-TPTDBOC4.js +1 -0
  77. package/public/chunk-UK36HUJK.js +1 -0
  78. package/public/{chunk-NE7KONQM.js → chunk-UQPEA2L3.js} +1 -1
  79. package/public/{chunk-MCZR6RCC.js → chunk-VNEXZSVV.js} +1 -1
  80. package/public/{chunk-AAQLOSYD.js → chunk-W2ON3QML.js} +1 -1
  81. package/public/{chunk-VC3EJURM.js → chunk-W4EMJRZC.js} +1 -1
  82. package/public/{chunk-5P33HCXD.js → chunk-W6X46MTW.js} +1 -1
  83. package/public/{chunk-ZPZZ4ERR.js → chunk-WMYBQUQ5.js} +1 -1
  84. package/public/chunk-WQBSPGB4.js +1 -0
  85. package/public/{chunk-SBGZNO6X.js → chunk-WT5EPL2L.js} +1 -1
  86. package/public/{chunk-RPJLIQDW.js → chunk-WTTWP6KF.js} +1 -1
  87. package/public/{chunk-6OTCM2QG.js → chunk-WUXDJZ6X.js} +1 -1
  88. package/public/{chunk-UC66SG3K.js → chunk-WWKMQQI2.js} +1 -1
  89. package/public/{chunk-LH7L7DUX.js → chunk-X4YOZBUA.js} +1 -1
  90. package/public/{chunk-GKJIBX2F.js → chunk-XBYP3ZGU.js} +1 -1
  91. package/public/{chunk-3P5Z4FJW.js → chunk-YYLB4D7X.js} +1 -1
  92. package/public/{chunk-4U4VNFNL.js → chunk-Z7NIAJEB.js} +1 -1
  93. package/public/index.html +2 -2
  94. package/public/main-3FD3MI4V.js +1 -0
  95. package/public/{styles-2WUR6UCO.css → styles-SK4HZ2RX.css} +1 -1
  96. package/public/chunk-5YY6XDQI.js +0 -1
  97. package/public/chunk-7BOLNX3B.js +0 -1
  98. package/public/chunk-7F4PJ2WQ.js +0 -1
  99. package/public/chunk-7MUPTLBE.js +0 -1
  100. package/public/chunk-7SCRN6LU.js +0 -1
  101. package/public/chunk-AAJLKIEF.js +0 -1
  102. package/public/chunk-ADWIGXEJ.js +0 -1
  103. package/public/chunk-BKYGNU6R.js +0 -1
  104. package/public/chunk-CI6RHQGO.js +0 -1
  105. package/public/chunk-DAF7FHBM.js +0 -1
  106. package/public/chunk-HKWA5F3J.js +0 -1
  107. package/public/chunk-IGELQB2C.js +0 -1
  108. package/public/chunk-L4E5PMXQ.js +0 -1
  109. package/public/chunk-MHHLW63G.js +0 -1
  110. package/public/chunk-NHOAVQJK.js +0 -1
  111. package/public/chunk-NIDSGUG2.js +0 -1
  112. package/public/chunk-O3X3IIQJ.js +0 -1
  113. package/public/chunk-OH2FWG3U.js +0 -1
  114. package/public/chunk-OIRABOQZ.js +0 -5
  115. package/public/chunk-OUN4DXKM.js +0 -1
  116. package/public/chunk-PPKCHGS4.js +0 -2
  117. package/public/chunk-QOZ4BMSI.js +0 -1
  118. package/public/chunk-RM6QPRSZ.js +0 -1
  119. package/public/chunk-RR7AKKR2.js +0 -1
  120. package/public/chunk-SOMYC6JS.js +0 -1
  121. package/public/chunk-TEYFWWNR.js +0 -1
  122. package/public/chunk-V47KQXKI.js +0 -1
  123. package/public/chunk-Z26BLOGI.js +0 -1
  124. package/public/chunk-ZR52JFYT.js +0 -1
  125. package/public/main-GXCC7ERK.js +0 -1
@@ -1 +0,0 @@
1
- import{a}from"./chunk-CMOJM5CO.js";import"./chunk-GKJIBX2F.js";import"./chunk-3AAMPGXX.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-4754Z7OP.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as LogsComponent};
@@ -1 +0,0 @@
1
- import"./chunk-UC66SG3K.js";import{q as p}from"./chunk-OIRABOQZ.js";import{A as m}from"./chunk-L5BYKG2R.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as s}from"./chunk-76VOEY5B.js";import{ha as t,kd as n,mb as r}from"./chunk-5P33HCXD.js";var a=[{path:"",loadComponent:()=>import("./chunk-O3X3IIQJ.js").then(o=>o.PowerOptionsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(a),i]})}return o})();var j=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,u,p,m,s]})}return o})();export{j as PowerOptionsModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-AAQLOSYD.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as RestartComponent};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-2RD53SIA.js";import"./chunk-6OTCM2QG.js";import"./chunk-MXPEVLWH.js";import"./chunk-OZXCDV3R.js";import"./chunk-OHR5OVP7.js";import"./chunk-RPJLIQDW.js";import"./chunk-KZTJTB2H.js";import"./chunk-RH4NWKOD.js";import"./chunk-GKJIBX2F.js";import"./chunk-3AAMPGXX.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-JPQOXPI2.js";import"./chunk-3M3K22OA.js";import"./chunk-4754Z7OP.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as PluginsComponent};
@@ -1 +0,0 @@
1
- import"./chunk-CMOJM5CO.js";import"./chunk-GKJIBX2F.js";import"./chunk-3AAMPGXX.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-4754Z7OP.js";import{q as n}from"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as s}from"./chunk-76VOEY5B.js";import{ha as t,kd as m,mb as r}from"./chunk-5P33HCXD.js";var f=[{path:"",loadComponent:()=>import("./chunk-5YY6XDQI.js").then(o=>o.LogsComponent)}],p=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(f),i]})}return o})();var h=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[m,p,n,s.forChild()]})}return o})();export{h as LogsModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-XOUXUSYM.js";import"./chunk-L5BYKG2R.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as SetupWizardComponent};
@@ -1 +0,0 @@
1
- import{g as a}from"./chunk-6TNF34YJ.js";import"./chunk-3P5Z4FJW.js";import"./chunk-OZXCDV3R.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as SettingsComponent};
@@ -1 +0,0 @@
1
- import{a as f,b as u}from"./chunk-77K7YMX7.js";import{a as d}from"./chunk-QJXWUQ2Y.js";import{c as p}from"./chunk-Z3WU3ISL.js";import"./chunk-3P5Z4FJW.js";import"./chunk-KZTJTB2H.js";import"./chunk-RH4NWKOD.js";import{q as n}from"./chunk-OIRABOQZ.js";import{z as s}from"./chunk-L5BYKG2R.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c}from"./chunk-76VOEY5B.js";import{ha as r,kd as m,mb as e}from"./chunk-5P33HCXD.js";var C=[{path:"",loadComponent:()=>import("./chunk-MHHLW63G.js").then(o=>o.AccessoriesComponent)}],l=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[i.forChild(C),i]})}return o})();var S=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[m,s,n,p,c.forChild(),d,l,u,f]})}return o})();export{S as AccessoriesModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-OM46CMXO.js";import"./chunk-VC3EJURM.js";import"./chunk-3AAMPGXX.js";import"./chunk-GTLLKV3H.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as TerminalComponent};
@@ -1 +0,0 @@
1
- import"./chunk-5YXKYR7U.js";import"./chunk-TN56G7FB.js";import{g as n}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as m}from"./chunk-76VOEY5B.js";import{ha as t,kd as i,mb as r}from"./chunk-5P33HCXD.js";var d=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"restart-server",loadComponent:()=>import("./chunk-Z26BLOGI.js").then(o=>o.RestartLinuxComponent)},{path:"shutdown-server",loadComponent:()=>import("./chunk-OUN4DXKM.js").then(o=>o.ShutdownLinuxComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n.forChild(d),n]})}return o})();var g=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i,m.forChild(),u]})}return o})();export{g as LinuxModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-3QHGMDIL.js";import{a as f}from"./chunk-XOUXUSYM.js";import{q as u}from"./chunk-OIRABOQZ.js";import{A as p,z as n}from"./chunk-L5BYKG2R.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as d}from"./chunk-76VOEY5B.js";import{ha as t,kd as m,mb as r}from"./chunk-5P33HCXD.js";var M=[{path:"",loadComponent:()=>import("./chunk-AAJLKIEF.js").then(o=>o.SetupWizardComponent)}],l=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(M),i]})}return o})();var R=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({providers:[a],imports:[m,n,p,d,u,l,f]})}return o})();export{R as SetupWizardModule};
@@ -1 +0,0 @@
1
- import{e as a}from"./chunk-SQWWECXI.js";import"./chunk-JPQOXPI2.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as UsersComponent};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-NE7KONQM.js";import"./chunk-RPJLIQDW.js";import"./chunk-RH4NWKOD.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as StartupScriptComponent};
@@ -1 +0,0 @@
1
- import{b as a}from"./chunk-77K7YMX7.js";import"./chunk-Z3WU3ISL.js";import"./chunk-3P5Z4FJW.js";import"./chunk-RH4NWKOD.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as AccessoriesComponent};
@@ -1 +0,0 @@
1
- import{e as ft,m as gt}from"./chunk-PPKCHGS4.js";import{$a as r,Fb as M,Gb as E,Nb as l,Ob as h,Pb as p,Qb as F,Rb as Y,Sb as K,Ub as Q,Wa as ht,Wb as mt,Xa as q,Xb as j,Yb as c,a as u,b as T,cb as dt,dd as J,e as xt,fb as y,ga as C,gc as A,ha as lt,ic as m,ja as ct,jc as f,ka as w,la as _,lb as G,lc as b,ma as ut,mb as pt,n as g,ra as V,rb as S,sa as z,ua as N,ub as U,va as Z,za as O}from"./chunk-5P33HCXD.js";var Tt=xt((De,Ut)=>{Ut.exports={name:"homebridge-config-ui-x",displayName:"Homebridge UI",version:"5.0.0-beta.106",description:"A web based management, configuration and control platform for Homebridge.",author:"oznu <dev@oz.nu>",license:"MIT",funding:[{type:"github",url:"https://github.com/sponsors/oznu"},{type:"paypal",url:"https://paypal.me/oznu"}],repository:{type:"git",url:"git+https://github.com/homebridge/homebridge-config-ui-x.git"},bugs:{url:"https://github.com/homebridge/homebridge-config-ui-x/issues"},keywords:["homebridge-plugin","ui","gui","web","homebridge","homebridge-config-ui-x","ui-x","config-ui-x","homebridge-x","homebridge server","homebridge ui","homebridge-ui","homebridge gui","homebridge-gui","web interface","config ui","management","config editor","linux","macOS","osx","windows","raspberry pi","accessory control","smart home","hb-service"],main:"./dist/index.js",bin:{"homebridge-config-ui-x":"dist/bin/standalone.js","hb-service":"dist/bin/hb-service.js"},engines:{node:"^20 || ^22 || ^24",homebridge:"^1.8.0 || ^2.0.0-beta.0"},scripts:{build:"npm run build:server && npm run build:ui","build:server":"rimraf dist && tsc -p tsconfig.build.json","build:ui":"npm run build --prefix ui",check:"npm run check:server && npm run check:ui","check:server":"npm install && npm outdated","check:ui":"npm install --prefix ui && npm outdated --prefix ui","lang-sync":"ts-node scripts/lang-sync.ts",lint:"eslint . --max-warnings=0","lint:fix":"npm run lint -- --fix",prepublishOnly:"npm i --package-lock-only && npm run lint && npm run build",start:"ts-node -r tsconfig-paths/register src/main.ts",test:"vitest run","test-coverage":"npm run test -- --coverage","upgrade-install":"./scripts/upgrade-install.sh",watch:'concurrently "npm run watch:ui" "npm run watch:server"',"watch:server":"nodemon","watch:ui":"npm run start --prefix ui"},dependencies:{"@fastify/helmet":"13.0.1","@fastify/multipart":"9.0.3","@fastify/static":"8.2.0","@homebridge/hap-client":"3.1.0","@homebridge/node-pty-prebuilt-multiarch":"0.13.0-beta.4","@nestjs/axios":"4.0.0","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/jwt":"11.0.0","@nestjs/passport":"11.0.5","@nestjs/platform-fastify":"11.1.3","@nestjs/platform-socket.io":"11.1.3","@nestjs/swagger":"11.2.0","@nestjs/websockets":"11.1.3",axios:"1.10.0","bash-color":"0.0.4","class-transformer":"0.5.1","class-validator":"0.14.2",commander:"14.0.0",dayjs:"1.11.13",fastify:"5.4.0","fs-extra":"11.3.0",jsonwebtoken:"9.0.2",lodash:"4.17.21","node-cache":"5.1.2","node-schedule":"2.1.1",ora:"5.4.1",otplib:"12.0.1","p-limit":"3.1.0",passport:"0.7.0","passport-jwt":"4.0.1","reflect-metadata":"0.2.2",rxjs:"7.8.2",semver:"7.7.2",systeminformation:"5.27.7",tail:"2.2.6",tar:"7.4.3","tcp-port-used":"1.0.2",unzipper:"0.12.3"},devDependencies:{"@antfu/eslint-config":"^4.16.1","@nestjs/testing":"^11.1.3","@prettier/plugin-xml":"^3.4.1","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.19","@types/node":"^24.0.7","@types/node-schedule":"^2.1.7","@types/passport-jwt":"^4.0.1","@types/semver":"^7.7.0","@types/tail":"^2.2.3","@types/tcp-port-used":"^1.0.4","@types/unzipper":"^0.10.11","@vitest/coverage-v8":"^3.2.4",concurrently:"^9.2.0","eslint-plugin-format":"^1.0.1","form-data":"^4.0.3",nodemon:"^3.1.10",rimraf:"^6.0.1","ts-loader":"^9.5.2","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0",typescript:"^5.8.3","unplugin-swc":"^1.5.5",vitest:"^3.2.4"},overrides:{"@nestjs/platform-fastify":{fastify:"5.4.0"}},maintainers:[{email:"bwp91@icloud.com",name:"bwp91"},{email:"dev@oz.nu",name:"oznu"},{email:"northern.man1@gmail.com",name:"northernman"},{email:"mail@anderl-bauer.de",name:"supereg"},{email:"khaos.tian@gmail.com",name:"khaost"},{email:"erik.baauw@xs4all.nl",name:"ebaauw"},{email:"donavan.becker@icloud.com",name:"donavanbecker"},{email:"dustin.greif@gmail.com",name:"dustin.greif"},{email:"nfarina@gmail.com",name:"nfarina"}],scarfSettings:{enabled:!1}}});var v=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(v||{}),It="*";function tt(i,s){return{type:v.Trigger,name:i,definitions:s,options:{}}}function P(i,s=null){return{type:v.Animate,styles:s,timings:i}}function Yt(i,s=null){return{type:v.Sequence,steps:i,options:s}}function R(i){return{type:v.Style,styles:i,offset:null}}function H(i,s,t){return{type:v.State,name:i,styles:s,options:t}}function B(i,s,t=null){return{type:v.Transition,expr:i,animation:s,options:t}}var W=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(s=0,t=0){this.totalTime=s+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(s=>s()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(s){this._position=this.totalTime?s*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(s){let t=s=="start"?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},X=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(s){this.players=s;let t=0,e=0,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==o&&this._onFinish()}),a.onDestroy(()=>{++e==o&&this._onDestroy()}),a.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,d)=>Math.max(a,d.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this.players.forEach(s=>s.init())}onStart(s){this._onStartFns.push(s)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(s=>s()),this._onStartFns=[])}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(s=>s.play())}pause(){this.players.forEach(s=>s.pause())}restart(){this.players.forEach(s=>s.restart())}finish(){this._onFinish(),this.players.forEach(s=>s.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(s=>s.destroy()),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this.players.forEach(s=>s.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(s){let t=s*this.totalTime;this.players.forEach(e=>{let n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let s=this.players.reduce((t,e)=>t===null||e.totalTime>t.totalTime?e:t,null);return s!=null?s.getPosition():0}beforeDestroy(){this.players.forEach(s=>{s.beforeDestroy&&s.beforeDestroy()})}triggerCallback(s){let t=s=="start"?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},Ot="!";var _t=["toast-component",""];function Et(i,s){if(i&1){let t=Q();h(0,"button",5),j("click",function(){V(t);let n=c();return z(n.remove())}),h(1,"span",6),f(2,"\xD7"),p()()}}function Ft(i,s){if(i&1&&(Y(0),f(1),K()),i&2){let t=c(2);r(),b("[",t.duplicatesCount+1,"]")}}function jt(i,s){if(i&1&&(h(0,"div"),f(1),S(2,Ft,2,1,"ng-container",4),p()),i&2){let t=c();m(t.options.titleClass),E("aria-label",t.title),r(),b(" ",t.title," "),r(),l("ngIf",t.duplicatesCount)}}function At(i,s){if(i&1&&F(0,"div",7),i&2){let t=c();m(t.options.messageClass),l("innerHTML",t.message,q)}}function Rt(i,s){if(i&1&&(h(0,"div",8),f(1),p()),i&2){let t=c();m(t.options.messageClass),E("aria-label",t.message),r(),b(" ",t.message," ")}}function Ht(i,s){if(i&1&&(h(0,"div"),F(1,"div",9),p()),i&2){let t=c();r(),A("width",t.width()+"%")}}function kt(i,s){if(i&1){let t=Q();h(0,"button",5),j("click",function(){V(t);let n=c();return z(n.remove())}),h(1,"span",6),f(2,"\xD7"),p()()}}function Nt(i,s){if(i&1&&(Y(0),f(1),K()),i&2){let t=c(2);r(),b("[",t.duplicatesCount+1,"]")}}function Mt(i,s){if(i&1&&(h(0,"div"),f(1),S(2,Nt,2,1,"ng-container",4),p()),i&2){let t=c();m(t.options.titleClass),E("aria-label",t.title),r(),b(" ",t.title," "),r(),l("ngIf",t.duplicatesCount)}}function Pt(i,s){if(i&1&&F(0,"div",7),i&2){let t=c();m(t.options.messageClass),l("innerHTML",t.message,q)}}function Bt(i,s){if(i&1&&(h(0,"div",8),f(1),p()),i&2){let t=c();m(t.options.messageClass),E("aria-label",t.message),r(),b(" ",t.message," ")}}function $t(i,s){if(i&1&&(h(0,"div"),F(1,"div",9),p()),i&2){let t=c();r(),A("width",t.width()+"%")}}var et=class{_attachedHost;component;viewContainerRef;injector;constructor(s,t){this.component=s,this.injector=t}attach(s,t){return this._attachedHost=s,s.attach(this,t)}detach(){let s=this._attachedHost;if(s)return this._attachedHost=void 0,s.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(s){this._attachedHost=s}},it=class{_attachedPortal;_disposeFn;attach(s,t){return this._attachedPortal=s,this.attachComponentPortal(s,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(s){this._disposeFn=s}},st=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new g;_activate=new g;_manualClose=new g;_resetTimeout=new g;_countDuplicate=new g;constructor(s){this._overlayRef=s}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(s,t){s&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},D=class{toastId;config;message;title;toastType;toastRef;_onTap=new g;_onAction=new g;constructor(s,t,e,n,o,a){this.toastId=s,this.config=t,this.message=e,this.title=n,this.toastType=o,this.toastRef=a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(s){this._onAction.next(s)}onAction(){return this._onAction.asObservable()}},vt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},yt=new ct("ToastConfig"),nt=class extends it{_hostDomElement;_componentFactoryResolver;_appRef;constructor(s,t,e){super(),this._hostDomElement=s,this._componentFactoryResolver=t,this._appRef=e}attachComponentPortal(s,t){let e=this._componentFactoryResolver.resolveComponentFactory(s.component),n;return n=e.create(s.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}_getComponentRootNode(s){return s.hostView.rootNodes[0]}},Lt=(()=>{class i{_document=_(Z);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(e){return new(e||i)};static \u0275prov=C({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ot=class{_portalHost;constructor(s){this._portalHost=s}attach(s,t=!0){return this._portalHost.attach(s,t)}detach(){return this._portalHost.detach()}},Vt=(()=>{class i{_overlayContainer=_(Lt);_componentFactoryResolver=_(dt);_appRef=_(M);_document=_(Z);_paneElements=new Map;create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){let n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(t){return new nt(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new ot(this._createPortalHost(t))}static \u0275fac=function(e){return new(e||i)};static \u0275prov=C({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),bt=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,e,n,o,a){this.overlay=e,this._injector=n,this.sanitizer=o,this.ngZone=a,this.toastrConfig=u(u({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=u(u({},t.default.iconClasses),t.config.iconClasses))}show(t,e,n={},o=""){return this._preBuildNotification(o,t,e,this.applyConfig(n))}success(t,e,n={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,e,this.applyConfig(n))}error(t,e,n={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,e,this.applyConfig(n))}info(t,e,n={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,e,this.applyConfig(n))}warning(t,e,n={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,e,this.applyConfig(n))}clear(t){for(let e of this.toasts)if(t!==void 0){if(e.toastId===t){e.toastRef.manualClose();return}}else e.toastRef.manualClose()}remove(t){let e=this._findToast(t);if(!e||(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0}findDuplicate(t="",e="",n,o){let{includeTitleDuplicates:a}=this.toastrConfig;for(let d of this.toasts){let k=a&&d.title===t;if((!a||k)&&d.message===e)return d.toastRef.onDuplicate(n,o),d}return null}applyConfig(t={}){return u(u({},this.toastrConfig),t)}_findToast(t){for(let e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null}_preBuildNotification(t,e,n,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,e,n,o)):this._buildNotification(t,e,n,o)}_buildNotification(t,e,n,o){if(!o.toastComponent)throw new Error("toastComponent required");let a=this.findDuplicate(n,e,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||e)&&this.toastrConfig.preventDuplicates&&a!==null)return a;this.previousToastMessage=e;let d=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(d=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let k=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let rt=e;e&&o.enableHtml&&(rt=this.sanitizer.sanitize(ht.HTML,e));let I=new st(k),$=new D(this.index,o,rt,n,t,I),Ct=[{provide:D,useValue:$}],wt=N.create({providers:Ct,parent:this._injector}),Dt=new et(o.toastComponent,wt),at=k.attach(Dt,o.newestOnTop);I.componentInstance=at.instance;let L={toastId:this.index,title:n||"",message:e||"",toastRef:I,onShown:I.afterActivate(),onHidden:I.afterClosed(),onTap:$.onTap(),onAction:$.onAction(),portal:at};return d||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{L.toastRef.activate()})),this.toasts.push(L),L}static \u0275fac=function(e){return new(e||i)(w(yt),w(Vt),w(N),w(gt),w(U))};static \u0275prov=C({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),zt=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=O(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=O({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>T(u({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>T(u({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>T(u({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(e){return new(e||i)(y(bt),y(D),y(U))};static \u0275cmp=G({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,n){e&1&&j("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),e&2&&(mt("@flyInOut",n._state),m(n.toastClasses),A("display",n.displayStyle))},attrs:_t,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,n){e&1&&S(0,Et,3,0,"button",0)(1,jt,3,5,"div",1)(2,At,1,3,"div",2)(3,Rt,2,4,"div",3)(4,Ht,2,2,"div",4),e&2&&(l("ngIf",n.options.closeButton),r(),l("ngIf",n.title),r(),l("ngIf",n.message&&n.options.enableHtml),r(),l("ngIf",n.message&&!n.options.enableHtml),r(),l("ngIf",n.options.progressBar))},dependencies:[J],encapsulation:2,data:{animation:[tt("flyInOut",[H("inactive",R({opacity:0})),H("active",R({opacity:1})),H("removed",R({opacity:0})),B("inactive => active",P("{{ easeTime }}ms {{ easing }}")),B("active => removed",P("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return i})(),Zt=T(u({},vt),{toastComponent:zt}),qt=(i={})=>ut([{provide:yt,useValue:{default:Zt,config:i}}]),be=(()=>{class i{static forRoot(t={}){return{ngModule:i,providers:[qt(t)]}}static \u0275fac=function(e){return new(e||i)};static \u0275mod=pt({type:i});static \u0275inj=lt({})}return i})();var Gt=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=O(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=O("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.appRef=n,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(e){return new(e||i)(y(bt),y(D),y(M))};static \u0275cmp=G({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,n){e&1&&j("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),e&2&&(m(n.toastClasses),A("display",n.displayStyle))},attrs:_t,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,n){e&1&&S(0,kt,3,0,"button",0)(1,Mt,3,5,"div",1)(2,Pt,1,3,"div",2)(3,Bt,2,4,"div",3)(4,$t,2,2,"div",4),e&2&&(l("ngIf",n.options.closeButton),r(),l("ngIf",n.title),r(),l("ngIf",n.message&&n.options.enableHtml),r(),l("ngIf",n.message&&!n.options.enableHtml),r(),l("ngIf",n.options.progressBar))},dependencies:[J],encapsulation:2,changeDetection:0})}return i})(),Te=T(u({},vt),{toastComponent:Gt});var x={serverTarget:Tt().version,production:!0,socket:"",api:{base:"/api",socket:`${window.location.protocol==="http:"?"ws://":"wss://"}${window.location.host}`,origin:window.location.origin},jwt:{tokenKey:"access_token",allowedDomains:[document.location.host],disallowedRoutes:[`${window.location.protocol}//${document.location.host}/api/auth/login`]},apiHttpOptions:{},owm:{appid:"fec67b55f7f74deaa28df89ba6a60821"}};var Fe=(()=>{class i{$http=_(ft);constructor(){}get(t,e){return this.$http.get(`${x.api.base}${t}`,e)}post(t,e,n){return this.$http.post(`${x.api.base}${t}`,e,n)}put(t,e,n){return this.$http.put(`${x.api.base}${t}`,e,n)}patch(t,e,n){return this.$http.patch(`${x.api.base}${t}`,e,n)}delete(t,e){return this.$http.delete(`${x.api.base}${t}`,e)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=C({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{v as a,It as b,tt as c,P as d,Yt as e,R as f,B as g,W as h,X as i,Ot as j,bt as k,be as l,x as m,Fe as n};
@@ -1 +0,0 @@
1
- import"./chunk-MYYIAVZP.js";import{q as n}from"./chunk-OIRABOQZ.js";import{A as p}from"./chunk-L5BYKG2R.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-PPKCHGS4.js";import{c as u}from"./chunk-76VOEY5B.js";import{ha as t,kd as m,mb as r}from"./chunk-5P33HCXD.js";var l=[{path:"",loadComponent:()=>import("./chunk-V47KQXKI.js").then(o=>o.SupportComponent)}],d=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(l),i]})}return o})();var R=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[m,d,n,p,u]})}return o})();export{R as SupportModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-UC66SG3K.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as PowerOptionsComponent};
@@ -1 +0,0 @@
1
- import{g as a}from"./chunk-C67HUFRU.js";import"./chunk-VC3EJURM.js";import"./chunk-Z3WU3ISL.js";import"./chunk-3P5Z4FJW.js";import"./chunk-4U4VNFNL.js";import"./chunk-MXPEVLWH.js";import"./chunk-OZXCDV3R.js";import"./chunk-OHR5OVP7.js";import"./chunk-RPJLIQDW.js";import"./chunk-KZTJTB2H.js";import"./chunk-RH4NWKOD.js";import"./chunk-GKJIBX2F.js";import"./chunk-3AAMPGXX.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-JPQOXPI2.js";import"./chunk-3M3K22OA.js";import"./chunk-4754Z7OP.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as StatusComponent};
@@ -1,5 +0,0 @@
1
- import{a as hn}from"./chunk-L5BYKG2R.js";import{$ as Jt,$a as $e,$b as xe,Ca as tt,Da as tn,Dc as dn,E as L,F as qi,Fa as J,Fb as ti,Gb as Ne,H as Se,Hb as ii,I as Qt,Ib as ni,J as Dt,Jb as oi,Lb as si,Mb as ri,Nb as St,Nc as be,O as Ze,Ob as je,P as Yi,Pb as Le,Qb as ai,R as Zi,Rb as sn,Rc as Nt,Sb as rn,Tb as an,Ub as li,Vb as le,Xb as ce,Yb as ve,Zb as nt,_b as ot,a as bt,aa as k,ac as ci,b as Kt,ba as et,bb as It,bc as de,ca as Et,cc as ue,fa as qt,fc as ln,fd as un,ga as K,ha as T,hb as Zt,hc as z,ic as ye,ja as en,jc as di,k as wt,kc as ui,la as u,lb as ge,mb as I,n as j,nb as W,o as Qi,p as Ot,pa as Yt,pb as nn,qb as on,r as Ye,ra as Mt,rb as ei,sa as Ct,tb as C,ua as ie,ub as ae,uc as hi,va as re,vb as Rt,wa as Tt,wb as it,x as Re,yc as cn,z as Ji}from"./chunk-5P33HCXD.js";function pi(t){t||(t=u(Tt));let e=new wt(s=>{if(t.destroyed){s.next();return}return t.onDestroy(s.next.bind(s))});return s=>s.pipe(k(e))}var R="top",H="bottom",B="right",N="left",xt="auto",we=[R,H,B,N],he="start",Fe="end",pn="clippingParents",Ft="viewport",We="popper",fn="reference",fi=we.reduce(function(t,e){return t.concat([e+"-"+he,e+"-"+Fe])},[]),kt=[].concat(we,[xt]).reduce(function(t,e){return t.concat([e,e+"-"+he,e+"-"+Fe])},[]),ho="beforeRead",po="read",fo="afterRead",_o="beforeMain",mo="main",go="afterMain",vo="beforeWrite",yo="write",bo="afterWrite",_n=[ho,po,fo,_o,mo,go,vo,yo,bo];function P(t){return t?(t.nodeName||"").toLowerCase():null}function O(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function q(t){var e=O(t).Element;return t instanceof e||t instanceof Element}function x(t){var e=O(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ze(t){if(typeof ShadowRoot>"u")return!1;var e=O(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function wo(t){var e=t.state;Object.keys(e.elements).forEach(function(s){var i=e.styles[s]||{},n=e.attributes[s]||{},o=e.elements[s];!x(o)||!P(o)||(Object.assign(o.style,i),Object.keys(n).forEach(function(r){var a=n[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function Oo(t){var e=t.state,s={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,s.popper),e.styles=s,e.elements.arrow&&Object.assign(e.elements.arrow.style,s.arrow),function(){Object.keys(e.elements).forEach(function(i){var n=e.elements[i],o=e.attributes[i]||{},r=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:s[i]),a=r.reduce(function(c,d){return c[d]="",c},{});!x(n)||!P(n)||(Object.assign(n.style,a),Object.keys(o).forEach(function(c){n.removeAttribute(c)}))})}}var mn={name:"applyStyles",enabled:!0,phase:"write",fn:wo,effect:Oo,requires:["computeStyles"]};function A(t){return t.split("-")[0]}var ne=Math.max,ke=Math.min,pe=Math.round;function Xe(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function st(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function Y(t,e,s){e===void 0&&(e=!1),s===void 0&&(s=!1);var i=t.getBoundingClientRect(),n=1,o=1;e&&x(t)&&(n=t.offsetWidth>0&&pe(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&pe(i.height)/t.offsetHeight||1);var r=q(t)?O(t):window,a=r.visualViewport,c=!st()&&s,d=(i.left+(c&&a?a.offsetLeft:0))/n,l=(i.top+(c&&a?a.offsetTop:0))/o,_=i.width/n,p=i.height/o;return{width:_,height:p,top:l,right:d+_,bottom:l+p,left:d,x:d,y:l}}function Be(t){var e=Y(t),s=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-s)<=1&&(s=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:i}}function rt(t,e){var s=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(s&&ze(s)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function X(t){return O(t).getComputedStyle(t)}function _i(t){return["table","td","th"].indexOf(P(t))>=0}function U(t){return((q(t)?t.ownerDocument:t.document)||window.document).documentElement}function fe(t){return P(t)==="html"?t:t.assignedSlot||t.parentNode||(ze(t)?t.host:null)||U(t)}function gn(t){return!x(t)||X(t).position==="fixed"?null:t.offsetParent}function Do(t){var e=/firefox/i.test(Xe()),s=/Trident/i.test(Xe());if(s&&x(t)){var i=X(t);if(i.position==="fixed")return null}var n=fe(t);for(ze(n)&&(n=n.host);x(n)&&["html","body"].indexOf(P(n))<0;){var o=X(n);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return n;n=n.parentNode}return null}function oe(t){for(var e=O(t),s=gn(t);s&&_i(s)&&X(s).position==="static";)s=gn(s);return s&&(P(s)==="html"||P(s)==="body"&&X(s).position==="static")?e:s||Do(t)||e}function Pe(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ae(t,e,s){return ne(t,ke(e,s))}function vn(t,e,s){var i=Ae(t,e,s);return i>s?s:i}function at(){return{top:0,right:0,bottom:0,left:0}}function lt(t){return Object.assign({},at(),t)}function ct(t,e){return e.reduce(function(s,i){return s[i]=t,s},{})}var Eo=function(e,s){return e=typeof e=="function"?e(Object.assign({},s.rects,{placement:s.placement})):e,lt(typeof e!="number"?e:ct(e,we))};function Mo(t){var e,s=t.state,i=t.name,n=t.options,o=s.elements.arrow,r=s.modifiersData.popperOffsets,a=A(s.placement),c=Pe(a),d=[N,B].indexOf(a)>=0,l=d?"height":"width";if(!(!o||!r)){var _=Eo(n.padding,s),p=Be(o),h=c==="y"?R:N,v=c==="y"?H:B,f=s.rects.reference[l]+s.rects.reference[c]-r[c]-s.rects.popper[l],m=r[c]-s.rects.reference[c],w=oe(o),D=w?c==="y"?w.clientHeight||0:w.clientWidth||0:0,M=f/2-m/2,g=_[h],y=D-p[l]-_[v],b=D/2-p[l]/2+M,E=Ae(g,b,y),G=c;s.modifiersData[i]=(e={},e[G]=E,e.centerOffset=E-b,e)}}function Co(t){var e=t.state,s=t.options,i=s.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||rt(e.elements.popper,n)&&(e.elements.arrow=n))}var mi={name:"arrow",enabled:!0,phase:"main",fn:Mo,effect:Co,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(t){return t.split("-")[1]}var To={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Io(t,e){var s=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:pe(s*n)/n||0,y:pe(i*n)/n||0}}function yn(t){var e,s=t.popper,i=t.popperRect,n=t.placement,o=t.variation,r=t.offsets,a=t.position,c=t.gpuAcceleration,d=t.adaptive,l=t.roundOffsets,_=t.isFixed,p=r.x,h=p===void 0?0:p,v=r.y,f=v===void 0?0:v,m=typeof l=="function"?l({x:h,y:f}):{x:h,y:f};h=m.x,f=m.y;var w=r.hasOwnProperty("x"),D=r.hasOwnProperty("y"),M=N,g=R,y=window;if(d){var b=oe(s),E="clientHeight",G="clientWidth";if(b===O(s)&&(b=U(s),X(b).position!=="static"&&a==="absolute"&&(E="scrollHeight",G="scrollWidth")),b=b,n===R||(n===N||n===B)&&o===Fe){g=H;var F=_&&b===y&&y.visualViewport?y.visualViewport.height:b[E];f-=F-i.height,f*=c?1:-1}if(n===N||(n===R||n===H)&&o===Fe){M=B;var S=_&&b===y&&y.visualViewport?y.visualViewport.width:b[G];h-=S-i.width,h*=c?1:-1}}var V=Object.assign({position:a},d&&To),ee=l===!0?Io({x:h,y:f},O(s)):{x:h,y:f};if(h=ee.x,f=ee.y,c){var $;return Object.assign({},V,($={},$[g]=D?"0":"",$[M]=w?"0":"",$.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",$))}return Object.assign({},V,(e={},e[g]=D?f+"px":"",e[M]=w?h+"px":"",e.transform="",e))}function Ro(t){var e=t.state,s=t.options,i=s.gpuAcceleration,n=i===void 0?!0:i,o=s.adaptive,r=o===void 0?!0:o,a=s.roundOffsets,c=a===void 0?!0:a,d={placement:A(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,yn(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,yn(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var bn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ro,data:{}};var Bt={passive:!0};function So(t){var e=t.state,s=t.instance,i=t.options,n=i.scroll,o=n===void 0?!0:n,r=i.resize,a=r===void 0?!0:r,c=O(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(l){l.addEventListener("scroll",s.update,Bt)}),a&&c.addEventListener("resize",s.update,Bt),function(){o&&d.forEach(function(l){l.removeEventListener("scroll",s.update,Bt)}),a&&c.removeEventListener("resize",s.update,Bt)}}var wn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:So,data:{}};var No={left:"right",right:"left",bottom:"top",top:"bottom"};function Ke(t){return t.replace(/left|right|bottom|top/g,function(e){return No[e]})}var xo={start:"end",end:"start"};function Pt(t){return t.replace(/start|end/g,function(e){return xo[e]})}function Ge(t){var e=O(t),s=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:s,scrollTop:i}}function He(t){return Y(U(t)).left+Ge(t).scrollLeft}function gi(t,e){var s=O(t),i=U(t),n=s.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,c=0;if(n){o=n.width,r=n.height;var d=st();(d||!d&&e==="fixed")&&(a=n.offsetLeft,c=n.offsetTop)}return{width:o,height:r,x:a+He(t),y:c}}function vi(t){var e,s=U(t),i=Ge(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=ne(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=ne(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+He(t),c=-i.scrollTop;return X(n||s).direction==="rtl"&&(a+=ne(s.clientWidth,n?n.clientWidth:0)-o),{width:o,height:r,x:a,y:c}}function Ue(t){var e=X(t),s=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+i)}function At(t){return["html","body","#document"].indexOf(P(t))>=0?t.ownerDocument.body:x(t)&&Ue(t)?t:At(fe(t))}function Oe(t,e){var s;e===void 0&&(e=[]);var i=At(t),n=i===((s=t.ownerDocument)==null?void 0:s.body),o=O(i),r=n?[o].concat(o.visualViewport||[],Ue(i)?i:[]):i,a=e.concat(r);return n?a:a.concat(Oe(fe(r)))}function Qe(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Fo(t,e){var s=Y(t,!1,e==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function On(t,e,s){return e===Ft?Qe(gi(t,s)):q(e)?Fo(e,s):Qe(vi(U(t)))}function ko(t){var e=Oe(fe(t)),s=["absolute","fixed"].indexOf(X(t).position)>=0,i=s&&x(t)?oe(t):t;return q(i)?e.filter(function(n){return q(n)&&rt(n,i)&&P(n)!=="body"}):[]}function yi(t,e,s,i){var n=e==="clippingParents"?ko(t):[].concat(e),o=[].concat(n,[s]),r=o[0],a=o.reduce(function(c,d){var l=On(t,d,i);return c.top=ne(l.top,c.top),c.right=ke(l.right,c.right),c.bottom=ke(l.bottom,c.bottom),c.left=ne(l.left,c.left),c},On(t,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function dt(t){var e=t.reference,s=t.element,i=t.placement,n=i?A(i):null,o=i?Z(i):null,r=e.x+e.width/2-s.width/2,a=e.y+e.height/2-s.height/2,c;switch(n){case R:c={x:r,y:e.y-s.height};break;case H:c={x:r,y:e.y+e.height};break;case B:c={x:e.x+e.width,y:a};break;case N:c={x:e.x-s.width,y:a};break;default:c={x:e.x,y:e.y}}var d=n?Pe(n):null;if(d!=null){var l=d==="y"?"height":"width";switch(o){case he:c[d]=c[d]-(e[l]/2-s[l]/2);break;case Fe:c[d]=c[d]+(e[l]/2-s[l]/2);break;default:}}return c}function De(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=i===void 0?t.placement:i,o=s.strategy,r=o===void 0?t.strategy:o,a=s.boundary,c=a===void 0?pn:a,d=s.rootBoundary,l=d===void 0?Ft:d,_=s.elementContext,p=_===void 0?We:_,h=s.altBoundary,v=h===void 0?!1:h,f=s.padding,m=f===void 0?0:f,w=lt(typeof m!="number"?m:ct(m,we)),D=p===We?fn:We,M=t.rects.popper,g=t.elements[v?D:p],y=yi(q(g)?g:g.contextElement||U(t.elements.popper),c,l,r),b=Y(t.elements.reference),E=dt({reference:b,element:M,strategy:"absolute",placement:n}),G=Qe(Object.assign({},M,E)),F=p===We?G:b,S={top:y.top-F.top+w.top,bottom:F.bottom-y.bottom+w.bottom,left:y.left-F.left+w.left,right:F.right-y.right+w.right},V=t.modifiersData.offset;if(p===We&&V){var ee=V[n];Object.keys(S).forEach(function($){var Ee=[B,H].indexOf($)>=0?1:-1,Me=[R,H].indexOf($)>=0?"y":"x";S[$]+=ee[Me]*Ee})}return S}function bi(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=s.boundary,o=s.rootBoundary,r=s.padding,a=s.flipVariations,c=s.allowedAutoPlacements,d=c===void 0?kt:c,l=Z(i),_=l?a?fi:fi.filter(function(v){return Z(v)===l}):we,p=_.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=_);var h=p.reduce(function(v,f){return v[f]=De(t,{placement:f,boundary:n,rootBoundary:o,padding:r})[A(f)],v},{});return Object.keys(h).sort(function(v,f){return h[v]-h[f]})}function Bo(t){if(A(t)===xt)return[];var e=Ke(t);return[Pt(t),e,Pt(e)]}function Po(t){var e=t.state,s=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var n=s.mainAxis,o=n===void 0?!0:n,r=s.altAxis,a=r===void 0?!0:r,c=s.fallbackPlacements,d=s.padding,l=s.boundary,_=s.rootBoundary,p=s.altBoundary,h=s.flipVariations,v=h===void 0?!0:h,f=s.allowedAutoPlacements,m=e.options.placement,w=A(m),D=w===m,M=c||(D||!v?[Ke(m)]:Bo(m)),g=[m].concat(M).reduce(function(Ve,me){return Ve.concat(A(me)===xt?bi(e,{placement:me,boundary:l,rootBoundary:_,padding:d,flipVariations:v,allowedAutoPlacements:f}):me)},[]),y=e.rects.reference,b=e.rects.popper,E=new Map,G=!0,F=g[0],S=0;S<g.length;S++){var V=g[S],ee=A(V),$=Z(V)===he,Ee=[R,H].indexOf(ee)>=0,Me=Ee?"width":"height",Q=De(e,{placement:V,boundary:l,rootBoundary:_,altBoundary:p,padding:d}),te=Ee?$?B:N:$?H:R;y[Me]>b[Me]&&(te=Ke(te));var _t=Ke(te),Ce=[];if(o&&Ce.push(Q[ee]<=0),a&&Ce.push(Q[te]<=0,Q[_t]<=0),Ce.every(function(Ve){return Ve})){F=V,G=!1;break}E.set(V,Ce)}if(G)for(var mt=v?3:1,Lt=function(me){var qe=g.find(function(vt){var Te=E.get(vt);if(Te)return Te.slice(0,me).every(function(Wt){return Wt})});if(qe)return F=qe,"break"},Je=mt;Je>0;Je--){var gt=Lt(Je);if(gt==="break")break}e.placement!==F&&(e.modifiersData[i]._skip=!0,e.placement=F,e.reset=!0)}}var wi={name:"flip",enabled:!0,phase:"main",fn:Po,requiresIfExists:["offset"],data:{_skip:!1}};function Ao(t,e,s){var i=A(t),n=[N,R].indexOf(i)>=0?-1:1,o=typeof s=="function"?s(Object.assign({},e,{placement:t})):s,r=o[0],a=o[1];return r=r||0,a=(a||0)*n,[N,B].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function Go(t){var e=t.state,s=t.options,i=t.name,n=s.offset,o=n===void 0?[0,0]:n,r=kt.reduce(function(l,_){return l[_]=Ao(_,e.rects,o),l},{}),a=r[e.placement],c=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=r}var Oi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Go};function Ho(t){var e=t.state,s=t.name;e.modifiersData[s]=dt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Dn={name:"popperOffsets",enabled:!0,phase:"read",fn:Ho,data:{}};function Di(t){return t==="x"?"y":"x"}function Uo(t){var e=t.state,s=t.options,i=t.name,n=s.mainAxis,o=n===void 0?!0:n,r=s.altAxis,a=r===void 0?!1:r,c=s.boundary,d=s.rootBoundary,l=s.altBoundary,_=s.padding,p=s.tether,h=p===void 0?!0:p,v=s.tetherOffset,f=v===void 0?0:v,m=De(e,{boundary:c,rootBoundary:d,padding:_,altBoundary:l}),w=A(e.placement),D=Z(e.placement),M=!D,g=Pe(w),y=Di(g),b=e.modifiersData.popperOffsets,E=e.rects.reference,G=e.rects.popper,F=typeof f=="function"?f(Object.assign({},e.rects,{placement:e.placement})):f,S=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ee={x:0,y:0};if(b){if(o){var $,Ee=g==="y"?R:N,Me=g==="y"?H:B,Q=g==="y"?"height":"width",te=b[g],_t=te+m[Ee],Ce=te-m[Me],mt=h?-G[Q]/2:0,Lt=D===he?E[Q]:G[Q],Je=D===he?-G[Q]:-E[Q],gt=e.elements.arrow,Ve=h&&gt?Be(gt):{width:0,height:0},me=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:at(),qe=me[Ee],vt=me[Me],Te=Ae(0,E[Q],Ve[Q]),Wt=M?E[Q]/2-mt-Te-qe-S.mainAxis:Lt-Te-qe-S.mainAxis,so=M?-E[Q]/2+mt+Te+vt+S.mainAxis:Je+Te+vt+S.mainAxis,zt=e.elements.arrow&&oe(e.elements.arrow),ro=zt?g==="y"?zt.clientTop||0:zt.clientLeft||0:0,Ui=($=V?.[g])!=null?$:0,ao=te+Wt-Ui-ro,lo=te+so-Ui,Vi=Ae(h?ke(_t,ao):_t,te,h?ne(Ce,lo):Ce);b[g]=Vi,ee[g]=Vi-te}if(a){var $i,co=g==="x"?R:N,uo=g==="x"?H:B,Ie=b[y],yt=y==="y"?"height":"width",ji=Ie+m[co],Li=Ie-m[uo],Xt=[R,N].indexOf(w)!==-1,Wi=($i=V?.[y])!=null?$i:0,zi=Xt?ji:Ie-E[yt]-G[yt]-Wi+S.altAxis,Xi=Xt?Ie+E[yt]+G[yt]-Wi-S.altAxis:Li,Ki=h&&Xt?vn(zi,Ie,Xi):Ae(h?zi:ji,Ie,h?Xi:Li);b[y]=Ki,ee[y]=Ki-Ie}e.modifiersData[i]=ee}}var Ei={name:"preventOverflow",enabled:!0,phase:"main",fn:Uo,requiresIfExists:["offset"]};function Mi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ci(t){return t===O(t)||!x(t)?Ge(t):Mi(t)}function Vo(t){var e=t.getBoundingClientRect(),s=pe(e.width)/t.offsetWidth||1,i=pe(e.height)/t.offsetHeight||1;return s!==1||i!==1}function Ti(t,e,s){s===void 0&&(s=!1);var i=x(e),n=x(e)&&Vo(e),o=U(e),r=Y(t,n,s),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!s)&&((P(e)!=="body"||Ue(o))&&(a=Ci(e)),x(e)?(c=Y(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=He(o))),{x:r.left+a.scrollLeft-c.x,y:r.top+a.scrollTop-c.y,width:r.width,height:r.height}}function $o(t){var e=new Map,s=new Set,i=[];t.forEach(function(o){e.set(o.name,o)});function n(o){s.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!s.has(a)){var c=e.get(a);c&&n(c)}}),i.push(o)}return t.forEach(function(o){s.has(o.name)||n(o)}),i}function Ii(t){var e=$o(t);return _n.reduce(function(s,i){return s.concat(e.filter(function(n){return n.phase===i}))},[])}function Ri(t){var e;return function(){return e||(e=new Promise(function(s){Promise.resolve().then(function(){e=void 0,s(t())})})),e}}function Si(t){var e=t.reduce(function(s,i){var n=s[i.name];return s[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,s},{});return Object.keys(e).map(function(s){return e[s]})}var En={placement:"bottom",modifiers:[],strategy:"absolute"};function Mn(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Cn(t){t===void 0&&(t={});var e=t,s=e.defaultModifiers,i=s===void 0?[]:s,n=e.defaultOptions,o=n===void 0?En:n;return function(a,c,d){d===void 0&&(d=o);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},En,o),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},_=[],p=!1,h={state:l,setOptions:function(w){var D=typeof w=="function"?w(l.options):w;f(),l.options=Object.assign({},o,l.options,D),l.scrollParents={reference:q(a)?Oe(a):a.contextElement?Oe(a.contextElement):[],popper:Oe(c)};var M=Ii(Si([].concat(i,l.options.modifiers)));return l.orderedModifiers=M.filter(function(g){return g.enabled}),v(),h.update()},forceUpdate:function(){if(!p){var w=l.elements,D=w.reference,M=w.popper;if(Mn(D,M)){l.rects={reference:Ti(D,oe(M),l.options.strategy==="fixed"),popper:Be(M)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(S){return l.modifiersData[S.name]=Object.assign({},S.data)});for(var g=0;g<l.orderedModifiers.length;g++){if(l.reset===!0){l.reset=!1,g=-1;continue}var y=l.orderedModifiers[g],b=y.fn,E=y.options,G=E===void 0?{}:E,F=y.name;typeof b=="function"&&(l=b({state:l,options:G,name:F,instance:h})||l)}}}},update:Ri(function(){return new Promise(function(m){h.forceUpdate(),m(l)})}),destroy:function(){f(),p=!0}};if(!Mn(a,c))return h;h.setOptions(d).then(function(m){!p&&d.onFirstUpdate&&d.onFirstUpdate(m)});function v(){l.orderedModifiers.forEach(function(m){var w=m.name,D=m.options,M=D===void 0?{}:D,g=m.effect;if(typeof g=="function"){var y=g({state:l,name:w,instance:h,options:M}),b=function(){};_.push(y||b)}})}function f(){_.forEach(function(m){return m()}),_=[]}return h}}var jo=[wn,Dn,bn,mn],Ni=Cn({defaultModifiers:jo});var Lo=["container"],Wo=["ngbAccordionBody",""],Vt=["*"];function zo(t,e){if(t&1){let s=li();je(0,"button",1),ce("click",function(){Mt(s);let n=ve();return Ct(n.close())}),Le()}}var Xo=["dialog"];function Ko(t,e){if(t&1&&(je(0,"span"),di(1),Le()),t&2){let s=ve().$implicit,i=ve();ye(i.highlightClass),$e(),ui(s)}}function Qo(t,e){if(t&1&&(sn(0),di(1),rn()),t&2){let s=ve().$implicit;$e(),ui(s)}}function Jo(t,e){if(t&1&&ii(0,Ko,2,3,"span",0)(1,Qo,2,1,"ng-container"),t&2){let s=e.$index;ni(s%2!==0?0:1)}}var qo=(t,e,s)=>({result:t,term:e,formatter:s});function Yo(t,e){if(t&1&&ai(0,"ngb-highlight",2),t&2){let s=e.result,i=e.term,n=e.formatter;St("result",n(s))("term",i)}}function Zo(t,e){}function es(t,e){if(t&1){let s=li();je(0,"button",3),ce("mouseenter",function(){let n=Mt(s).$index,o=ve();return Ct(o.markActive(n))})("click",function(){let n=Mt(s).$implicit,o=ve();return Ct(o.select(n))}),ei(1,Zo,0,0,"ng-template",4),Le()}if(t&2){let s=e.$implicit,i=e.$index,n=ve(),o=ln(1);z("active",i===n.activeIdx),St("id",n.id+"-"+i),$e(),St("ngTemplateOutlet",n.resultTemplate||o)("ngTemplateOutletContext",cn(5,qo,s,n.term,n.formatter))}}var kn={animation:!0,transitionTimerDelayMs:5},pt=(()=>{let e=class e{constructor(){this.animation=kn.animation}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ts=(()=>{let e=class e{constructor(){this._ngbConfig=u(pt),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function is(t){let{transitionDelay:e,transitionDuration:s}=window.getComputedStyle(t),i=parseFloat(e),n=parseFloat(s);return(i+n)*1e3}function ht(t){return t!=null?`${t}`:""}function $t(t){return typeof t=="string"}function jt(t){return t!=null}function ns(t){return t&&t.then}function os(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function ss(t,e){return!e||typeof t.closest>"u"?null:t.closest(e)}function Bi(t){return(t||document.body).getBoundingClientRect()}function rs(t){return e=>new wt(s=>{let i=r=>t.run(()=>s.next(r)),n=r=>t.run(()=>s.error(r)),o=()=>t.run(()=>s.complete());return e.subscribe({next:i,error:n,complete:o})})}function Tn(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Bn(t=document){let e=t?.activeElement;return e?e.shadowRoot?Bn(e.shadowRoot):e:null}var as=()=>{},{transitionTimerDelayMs:ls}=kn,ut=new Map,se=(t,e,s,i)=>{let n=i.context||{},o=ut.get(e);if(o)switch(i.runningTransition){case"continue":return Ot;case"stop":t.run(()=>o.transition$.complete()),n=Object.assign(o.context,n),ut.delete(e)}let r=s(e,i.animation,n)||as;if(!i.animation||window.getComputedStyle(e).transitionProperty==="none")return t.run(()=>r()),Ye(void 0).pipe(rs(t));let a=new j,c=new j,d=a.pipe(Zi(!0));ut.set(e,{transition$:a,complete:()=>{c.next(),c.complete()},context:n});let l=is(e);return t.runOutsideAngular(()=>{let _=L(e,"transitionend").pipe(k(d),Se(({target:h})=>h===e)),p=qi(l+ls).pipe(k(d));Qt(p,_,c).pipe(k(d)).subscribe(()=>{ut.delete(e),t.run(()=>{r(),a.next(),a.complete()})})}),a.asObservable()},In=t=>{ut.get(t)?.complete()};function cs(t,e){if(typeof navigator>"u")return"0px";let{classList:s}=t,i=s.contains("show");i||s.add("show"),t.style[e]="";let n=t.getBoundingClientRect()[e]+"px";return i||s.remove("show"),n}var ds=(t,e,s)=>{let{direction:i,maxSize:n,dimension:o}=s,{classList:r}=t;function a(){r.add("collapse"),i==="show"?r.add("show"):r.remove("show")}if(!e){a();return}return n||(n=cs(t,o),s.maxSize=n,t.style[o]=i!=="show"?n:"0px",r.remove("collapse","collapsing","show"),Bi(t),r.add("collapsing")),t.style[o]=i==="show"?n:"0px",()=>{a(),r.remove("collapsing"),t.style[o]=""}},us=(()=>{let e=class e{constructor(){this._ngbConfig=u(pt),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rn=(()=>{let e=class e{constructor(){this._config=u(us),this._element=u(J),this._zone=u(ae),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new C,this.horizontal=this._config.horizontal,this.shown=new C,this.hidden=new C}set collapsed(i){this._isCollapsed!==i&&(this._isCollapsed=i,this._afterInit&&this._runTransitionWithEvents(i,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(i=this._isCollapsed){this.collapsed=!i,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(i,n){return se(this._zone,this._element.nativeElement,ds,{animation:n,runningTransition:"stop",context:{direction:i?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(i,n){this._runTransition(i,n).subscribe(()=>{i?this.hidden.emit():this.shown.emit()})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(n,o){n&2&&z("collapse-horizontal",o.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]});let t=e;return t})(),hs=0,Xd=(()=>{let e=class e{constructor(){this._item=u(ft),this._viewRef=null,this.elementRef=u(J)}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){this._viewRef?.destroy(),this._viewRef=null}_createViewIfNotExists(){this._viewRef||(this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges())}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["","ngbAccordionBody",""]],contentQueries:function(n,o,r){if(n&1&&xe(r,It,7),n&2){let a;de(a=ue())&&(o._bodyTpl=a.first)}},viewQuery:function(n,o){if(n&1&&ci(Lo,7,Zt),n&2){let r;de(r=ue())&&(o._vcr=r.first)}},hostAttrs:[1,"accordion-body"],attrs:Wo,ngContentSelectors:Vt,decls:3,vars:0,consts:[["container",""]],template:function(n,o){n&1&&(nt(),an(0,null,0),ot(2))},encapsulation:2});let t=e;return t})(),ps=(()=>{let e=class e{constructor(){this.item=u(ft),this.ngbCollapse=u(Rn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region",1,"accordion-collapse"],hostVars:2,hostBindings:function(n,o){n&2&&(le("id",o.item.collapseId),Ne("aria-labelledby",o.item.toggleId))},exportAs:["ngbAccordionCollapse"],features:[on([Rn])]});let t=e;return t})(),Kd=(()=>{let e=class e{constructor(){this.item=u(ft),this.accordion=u(Pn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(n,o){n&1&&ce("click",function(){return!o.item.disabled&&o.accordion.toggle(o.item.id)}),n&2&&(le("id",o.item.toggleId),Ne("aria-controls",o.item.collapseId)("aria-expanded",!o.item.collapsed),z("collapsed",o.item.collapsed))}});let t=e;return t})();var Qd=(()=>{let e=class e{constructor(){this.item=u(ft)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading",1,"accordion-header"],hostVars:2,hostBindings:function(n,o){n&2&&z("collapsed",o.item.collapsed)}});let t=e;return t})(),ft=(()=>{let e=class e{constructor(){this._accordion=u(Pn),this._cd=u(be),this._destroyRef=u(Tt),this._collapsed=!0,this._id=`ngb-accordion-item-${hs++}`,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new C,this.shown=new C,this.hide=new C,this.hidden=new C}set id(i){$t(i)&&i!==""&&(this._id=i)}set destroyOnHide(i){this._destroyOnHide=i}get destroyOnHide(){return this._destroyOnHide===void 0?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(i){i?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){let{ngbCollapse:i}=this._collapse;i.animation=!1,i.collapsed=this.collapsed,i.animation=this._accordion.animation,i.hidden.pipe(pi(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id),this._cd.markForCheck()}),i.shown.pipe(pi(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id),this._cd.markForCheck()})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbAccordionItem",""]],contentQueries:function(n,o,r){if(n&1&&xe(r,ps,7),n&2){let a;de(a=ue())&&(o._collapse=a.first)}},hostAttrs:[1,"accordion-item"],hostVars:1,hostBindings:function(n,o){n&2&&le("id",o.id)},inputs:{id:[0,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"]});let t=e;return t})(),Pn=(()=>{let e=class e{constructor(){this._config=u(ts),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new C,this.shown=new C,this.hide=new C,this.hidden=new C}toggle(i){this._getItem(i)?.toggle()}expand(i){this._getItem(i)?.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(i=>!i.collapsed)||this._items.first.expand():this._items.forEach(i=>i.expand()))}collapse(i){this._getItem(i)?.collapse()}collapseAll(){this._items?.forEach(i=>i.collapse())}isExpanded(i){let n=this._getItem(i);return n?!n.collapsed:!1}_ensureCanExpand(i){return this.closeOthers?this._items?(this._items.find(n=>!n.collapsed&&i!==n)?.collapse(),!0):this._anItemWasAlreadyExpandedDuringInitialisation?!1:(this._anItemWasAlreadyExpandedDuringInitialisation=!0,!0):!0}_getItem(i){return this._items?.find(n=>n.id===i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbAccordion",""]],contentQueries:function(n,o,r){if(n&1&&xe(r,ft,4),n&2){let a;de(a=ue())&&(o._items=a)}},hostAttrs:[1,"accordion"],inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"]});let t=e;return t})();var An=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),fs=(()=>{let e=class e{constructor(){this._ngbConfig=u(pt),this.dismissible=!0,this.type="warning"}get animation(){return this._animation??this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_s=({classList:t})=>{t.remove("show")},Jd=(()=>{let e=class e{constructor(){this._config=u(fs),this._elementRef=u(J),this._zone=u(ae),this.animation=this._config.animation,this.dismissible=this._config.dismissible,this.type=this._config.type,this.closed=new C}close(){let i=se(this._zone,this._elementRef.nativeElement,_s,{animation:this.animation,runningTransition:"continue"});return i.subscribe(()=>this.closed.emit()),i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert"],hostVars:6,hostBindings:function(n,o){n&2&&(ye("alert show"+(o.type?" alert-"+o.type:"")),z("fade",o.animation)("alert-dismissible",o.dismissible))},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],ngContentSelectors:Vt,decls:2,vars:1,consts:()=>{let i;return i=$localize`:@@ngb.alert.close:Close`,[["type","button","aria-label",i,1,"btn-close"],["type","button","aria-label",i,1,"btn-close",3,"click"]]},template:function(n,o){n&1&&(nt(),ot(0),ii(1,zo,1,0,"button",0)),n&2&&($e(),ni(o.dismissible?1:-1))},styles:[`ngb-alert{display:block}
2
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),Gn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var Hn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Un=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var Gt=(t,e)=>e?e.some(s=>s.contains(t)):!1,Sn=(t,e)=>!e||ss(t,e)!=null,ms=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,e=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||e()):!1})(),gs=t=>ms?()=>setTimeout(()=>t(),100):t;function Pi(t,e,s,i,n,o,r,a){s&&t.runOutsideAngular(gs(()=>{let c=p=>{let h=p.target;return p.button===2||Gt(h,r)?!1:s==="inside"?Gt(h,o)&&Sn(h,a):s==="outside"?!Gt(h,o):Sn(h,a)||!Gt(h,o)},d=L(e,"keydown").pipe(k(n),Se(p=>p.key==="Escape"),et(p=>p.preventDefault())),l=L(e,"mousedown").pipe(Re(c),k(n)),_=L(e,"mouseup").pipe(Et(l),Se(([p,h])=>h),Yi(0),k(n));Qt([d.pipe(Re(p=>0)),_.pipe(Re(p=>1))]).subscribe(p=>t.run(()=>i(p)))}))}var Vn=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function $n(t){let e=Array.from(t.querySelectorAll(Vn)).filter(s=>s.tabIndex!==-1);return[e[0],e[e.length-1]]}var vs=(t,e,s,i=!1)=>{t.runOutsideAngular(()=>{let n=L(e,"focusin").pipe(k(s),Re(o=>o.target));L(e,"keydown").pipe(k(s),Se(o=>o.key==="Tab"),Et(n)).subscribe(([o,r])=>{let[a,c]=$n(e);(r===a||r===e)&&o.shiftKey&&(c.focus(),o.preventDefault()),r===c&&!o.shiftKey&&(a.focus(),o.preventDefault())}),i&&L(e,"click").pipe(k(s),Et(n),Re(o=>o[1])).subscribe(o=>o.focus())})},ys=(()=>{let e=class e{constructor(){this._element=u(re).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bs=/\s+/,ws=/ +/gi,Os={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Ds(t,e){let[s,i]=Os[t];return e&&i||s}var Es=/^left/,Ms=/^right/,Cs=/^start/,Ts=/^end/;function Is(t,e){let[s,i]=e.split("-"),n=s.replace(Es,"start").replace(Ms,"end"),o=[n];if(i){let r=i;(s==="left"||s==="right")&&(r=r.replace(Cs,"top").replace(Ts,"bottom")),o.push(`${n}-${r}`)}return t&&(o=o.map(r=>`${t}-${r}`)),o.join(" ")}function Nn({placement:t,baseClass:e},s){let i=Array.isArray(t)?t:t.split(bs),n=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],o=i.findIndex(d=>d==="auto");o>=0&&n.forEach(function(d){i.find(l=>l.search("^"+d)!==-1)==null&&i.splice(o++,1,d)});let r=i.map(d=>Ds(d,s.isRTL()));return{placement:r.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!e,phase:"write",fn({state:d}){let l=new RegExp(e+"(-[a-z]+)*","gi"),_=d.elements.popper,p=d.placement,h=_.className;h=h.replace(l,""),h+=` ${Is(e,p)}`,h=h.trim().replace(ws," "),_.className=h}},wi,Ei,mi,{enabled:!0,name:"flip",options:{fallbackPlacements:r}}]}}function xn(t){return t}function Ai(){let t=u(ys),e=null;return{createPopper(s){if(!e){let n=(s.updatePopperOptions||xn)(Nn(s,t));e=Ni(s.hostElement,s.targetElement,n)}},update(){e&&e.update()},setOptions(s){if(e){let n=(s.updatePopperOptions||xn)(Nn(s,t));e.setOptions(n)}},destroy(){e&&(e.destroy(),e=null)}}}function Gi(t){return e=>(e.modifiers.push(Oi,{name:"offset",options:{offset:()=>t}}),e)}var qd=new Date(1882,10,12),Yd=new Date(2174,10,25);var Zd=1e3*60*60*24;var Hi=1080,Rs=24*Hi,Ss=12*Hi+793,eu=29*Rs+Ss,tu=11*Hi+204;var jn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Ns=(()=>{let e=class e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i,this.container=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ln=(()=>{let e=class e{constructor(){this._disabled=!1,this.nativeElement=u(J).nativeElement,this.tabindex=0}set disabled(i){this._disabled=i===""||i===!0}get disabled(){return this._disabled}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(n,o){n&2&&(le("tabIndex",o.disabled?-1:o.tabindex),z("disabled",o.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}});let t=e;return t})(),iu=(()=>{let e=class e{constructor(){this.item=u(Ln)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["button","ngbDropdownItem",""]],hostVars:1,hostBindings:function(n,o){n&2&&le("disabled",o.item.disabled)}});let t=e;return t})(),xs=(()=>{let e=class e{constructor(){this.dropdown=u(Wn),this.nativeElement=u(J).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(n,o,r){if(n&1&&xe(r,Ln,4),n&2){let a;de(a=ue())&&(o.menuItems=a)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(n,o){n&1&&ce("keydown.ArrowUp",function(a){return o.dropdown.onKeyDown(a)})("keydown.ArrowDown",function(a){return o.dropdown.onKeyDown(a)})("keydown.Home",function(a){return o.dropdown.onKeyDown(a)})("keydown.End",function(a){return o.dropdown.onKeyDown(a)})("keydown.Enter",function(a){return o.dropdown.onKeyDown(a)})("keydown.Space",function(a){return o.dropdown.onKeyDown(a)})("keydown.Tab",function(a){return o.dropdown.onKeyDown(a)})("keydown.Shift.Tab",function(a){return o.dropdown.onKeyDown(a)}),n&2&&z("show",o.dropdown.isOpen())}});let t=e;return t})(),xi=(()=>{let e=class e{constructor(){this.dropdown=u(Wn),this.nativeElement=u(J).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&2&&(Ne("aria-expanded",o.dropdown.isOpen()),z("show",o.dropdown.isOpen()))}});let t=e;return t})(),nu=(()=>{let e=class e extends xi{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=tn(e)))(o||e)}})(),e.\u0275dir=W({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&1&&ce("click",function(){return o.dropdown.toggle()})("keydown.ArrowUp",function(a){return o.dropdown.onKeyDown(a)})("keydown.ArrowDown",function(a){return o.dropdown.onKeyDown(a)})("keydown.Home",function(a){return o.dropdown.onKeyDown(a)})("keydown.End",function(a){return o.dropdown.onKeyDown(a)})("keydown.Tab",function(a){return o.dropdown.onKeyDown(a)})("keydown.Shift.Tab",function(a){return o.dropdown.onKeyDown(a)}),n&2&&(Ne("aria-expanded",o.dropdown.isOpen()),z("show",o.dropdown.isOpen()))},features:[hi([{provide:xi,useExisting:qt(()=>e)}]),nn]});let t=e;return t})(),Wn=(()=>{let e=class e{constructor(){this._changeDetector=u(be),this._config=u(Ns),this._document=u(re),this._injector=u(ie),this._ngZone=u(ae),this._nativeElement=u(J).nativeElement,this._destroyCloseHandlers$=new j,this._bodyContainer=null,this._positioning=Ai(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new C}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){it({write:()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()}},{injector:this._injector})}ngOnChanges(i){if(i.container&&this._open&&this._applyContainer(this.container),i.placement&&!i.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),i.dropdownClass){let{currentValue:n,previousValue:o}=i.dropdownClass;this._applyCustomDropdownClass(n,o)}i.autoClose&&this._open&&(this.autoClose=i.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),this.display==="dynamic"&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:i=>this.popperOptions(Gi([0,2])(i))}),this._applyPlacementClasses(),this._afterRenderRef=Rt({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Pi(this._ngZone,this._document,this.autoClose,i=>{this.close(),i===0&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._afterRenderRef?.destroy(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(i){let{key:n}=i,o=this._getMenuElements(),r=-1,a=null,c=this._isEventFromToggle(i);if(!c&&o.length&&o.forEach((d,l)=>{d.contains(i.target)&&(a=d),d===Bn(this._document)&&(r=l)}),n===" "||n==="Enter"){a&&(this.autoClose===!0||this.autoClose==="inside")&&L(a,"click").pipe(Ze(1)).subscribe(()=>this.close());return}if(n==="Tab"){if(i.target&&this.isOpen()&&this.autoClose)if(this._anchor.nativeElement===i.target){this.container==="body"&&!i.shiftKey?(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")):i.shiftKey&&this.close();return}else if(this.container==="body"){let d=this._menu.nativeElement.querySelectorAll(Vn);i.shiftKey&&i.target===d[0]?(this._anchor.nativeElement.focus(),i.preventDefault()):!i.shiftKey&&i.target===d[d.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else L(i.target,"focusout").pipe(Ze(1)).subscribe(({relatedTarget:d})=>{this._nativeElement.contains(d)||this.close()});return}if(c||a){if(this.open(),o.length){switch(n){case"ArrowDown":r=Math.min(r+1,o.length-1);break;case"ArrowUp":if(this._isDropup()&&r===-1){r=o.length-1;break}r=Math.max(r-1,0);break;case"Home":r=0;break;case"End":r=o.length-1;break}o[r].focus()}i.preventDefault()}}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(i){return this._anchor.nativeElement.contains(i.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:i})=>!i).map(({nativeElement:i})=>i):[]}_positionMenu(){let i=this._menu;this.isOpen()&&i&&(this.display==="dynamic"?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(i){return Array.isArray(i)?i[0]:i.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(i=null){if(this._resetContainer(),i==="body"){let n=this._menu.nativeElement,o=this._bodyContainer=this._bodyContainer||this._document.createElement("div");o.style.position="absolute",n.style.position="static",o.style.zIndex="1055",o.appendChild(n),this._document.body.appendChild(o)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(i,n){let o=this.container==="body"?this._bodyContainer:this._nativeElement;o&&(n&&o.classList.remove(n),i&&o.classList.add(i))}_applyPlacementClasses(i){if(this._menu){i||(i=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),this.display==="static"?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");let n=i.search("^top")!==-1?"dropup":"dropdown";this._nativeElement.classList.add(n),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(n))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(n,o,r){if(n&1&&(xe(r,xs,5),xe(r,xi,5)),n&2){let a;de(a=ue())&&(o._menu=a.first),de(a=ue())&&(o._anchor=a.first)}},hostVars:2,hostBindings:function(n,o){n&2&&z("show",o.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[tt]});let t=e;return t})();var zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Fs=(()=>{let e=class e{constructor(){this._ngbConfig=u(pt),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_e=class{constructor(e,s,i){this.nodes=e,this.viewRef=s,this.componentRef=i}},Ht=class{constructor(e){this._componentType=e,this._windowRef=null,this._contentRef=null,this._document=u(re),this._applicationRef=u(ti),this._injector=u(ie),this._viewContainerRef=u(Zt),this._ngZone=u(ae)}open(e,s,i=!1){this._windowRef||(this._contentRef=this._getContentRef(e,s),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:n}=this._windowRef.location,o=new j;it({mixedReadWrite:()=>{o.next(),o.complete()}},{injector:this._injector});let r=o.pipe(Ji(()=>se(this._ngZone,n,({classList:a})=>a.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(e=!1){return this._windowRef?se(this._ngZone,this._windowRef.location.nativeElement,({classList:s})=>s.remove("show"),{animation:e,runningTransition:"stop"}).pipe(et(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):Ye(void 0)}_getContentRef(e,s){if(e)if(e instanceof It){let i=e.createEmbeddedView(s);return this._applicationRef.attachView(i),new _e([i.rootNodes],i)}else return new _e([[this._document.createTextNode(`${e}`)]]);else return new _e([])}},ks=(()=>{let e=class e{constructor(){this._document=u(re)}hide(){let i=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),n=this._document.body,o=n.style,{overflow:r,paddingRight:a}=o;if(i>0){let c=parseFloat(window.getComputedStyle(n).paddingRight);o.paddingRight=`${c+i}px`}return o.overflow="hidden",()=>{i>0&&(o.paddingRight=a),o.overflow=r}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bs=["animation","backdropClass"],Ps=(()=>{let e=class e{constructor(){this._nativeElement=u(J).nativeElement,this._zone=u(ae),this._injector=u(ie),this._cdRef=u(be)}ngOnInit(){it({mixedReadWrite:()=>se(this._zone,this._nativeElement,(i,n)=>{n&&Bi(i),i.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return se(this._zone,this._nativeElement,({classList:i})=>i.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(i){Bs.forEach(n=>{jt(i[n])&&(this[n]=i[n])}),this._cdRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(n,o){n&2&&(ye("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),z("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(n,o){},encapsulation:2});let t=e;return t})(),Ut=class{update(e){}close(e){}dismiss(e){}},Fi=class{update(e){this._windowCmptRef.instance.updateOptions(e),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(e)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(k(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(k(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(e,s,i,n){this._windowCmptRef=e,this._contentRef=s,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new j,this._dismissed=new j,this._hidden=new j,e.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,r)=>{this._resolve=o,this._reject=r}),this.result.then(null,()=>{})}close(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}_dismiss(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(e);else{let s=this._beforeDismiss();ns(s)?s.then(i=>{i!==!1&&this._dismiss(e)},()=>{}):s!==!1&&this._dismiss(e)}}_removeModalElements(){let e=this._windowCmptRef.instance.hide(),s=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Ye(void 0);e.subscribe(()=>{let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),s.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Dt(e,s).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},ki=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(ki||{}),As=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],Gs=(()=>{let e=class e{constructor(){this._document=u(re),this._elRef=u(J),this._zone=u(ae),this._injector=u(ie),this._cdRef=u(be),this._closed$=new j,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new C,this.shown=new j,this.hidden=new j}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":$t(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(i){this.dismissEvent.emit(i)}ngOnInit(){this._elWithFocus=this._document.activeElement,it({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:i}=this._elRef,n={animation:this.animation,runningTransition:"stop"},o=se(this._zone,i,()=>i.classList.remove("show"),n),r=se(this._zone,this._dialogEl.nativeElement,()=>{},n),a=Dt(o,r);return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}updateOptions(i){As.forEach(n=>{jt(i[n])&&(this[n]=i[n])}),this._cdRef.markForCheck()}_show(){let i={animation:this.animation,runningTransition:"continue"},n=se(this._zone,this._elRef.nativeElement,(r,a)=>{a&&Bi(r),r.classList.add("show")},i),o=se(this._zone,this._dialogEl.nativeElement,()=>{},i);Dt(n,o).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:i}=this._elRef;this._zone.runOutsideAngular(()=>{L(i,"keydown").pipe(k(this._closed$),Se(o=>o.key==="Escape")).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(ki.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let n=!1;L(this._dialogEl.nativeElement,"mousedown").pipe(k(this._closed$),et(()=>n=!1),Jt(()=>L(i,"mouseup").pipe(k(this._closed$),Ze(1))),Se(({target:o})=>i===o)).subscribe(()=>{n=!0}),L(i,"click").pipe(k(this._closed$)).subscribe(({target:o})=>{i===o&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!n&&this._zone.run(()=>this.dismiss(ki.BACKDROP_CLICK))),n=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:i}=this._elRef;if(!i.contains(document.activeElement)){let n=i.querySelector("[ngbAutofocus]"),o=$n(i)[0];(n||o||i).focus()}}_restoreFocus(){let i=this._document.body,n=this._elWithFocus,o;n&&n.focus&&i.contains(n)?o=n:o=i,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&se(this._zone,this._elRef.nativeElement,({classList:i})=>(i.add("modal-static"),()=>i.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(n,o){if(n&1&&ci(Xo,7),n&2){let r;de(r=ue())&&(o._dialogEl=r.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(n,o){n&2&&(Ne("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy)("role",o.role),ye("modal d-block"+(o.windowClass?" "+o.windowClass:"")),z("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Vt,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(n,o){n&1&&(nt(),je(0,"div",1,0)(2,"div",2),ot(3),Le()()),n&2&&ye("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
3
- `],encapsulation:2});let t=e;return t})(),Hs=(()=>{let e=class e{constructor(){this._applicationRef=u(ti),this._injector=u(ie),this._environmentInjector=u(Yt),this._document=u(re),this._scrollBar=u(ks),this._activeWindowCmptHasChanged=new j,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new C;let i=u(ae);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let n=this._windowCmpts[this._windowCmpts.length-1];vs(i,n.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(n.location.nativeElement)}})}_restoreScrollBar(){let i=this._scrollBarRestoreFn;i&&(this._scrollBarRestoreFn=null,i())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(i,n,o){let r=o.container instanceof HTMLElement?o.container:jt(o.container)?this._document.querySelector(o.container):this._document.body;if(!r)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let a=new Ut;i=o.injector||i;let c=i.get(Yt,null)||this._environmentInjector,d=this._getContentRef(i,c,n,a,o),l=o.backdrop!==!1?this._attachBackdrop(r):void 0,_=this._attachWindowComponent(r,d.nodes),p=new Fi(_,d,l,o.beforeDismiss);return this._registerModalRef(p),this._registerWindowCmpt(_),p.hidden.pipe(Ze(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=h=>{p.close(h)},a.dismiss=h=>{p.dismiss(h)},a.update=h=>{p.update(h)},p.update(o),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),l&&l.instance&&l.changeDetectorRef.detectChanges(),_.changeDetectorRef.detectChanges(),p}get activeInstances(){return this._activeInstances}dismissAll(i){this._modalRefs.forEach(n=>n.dismiss(i))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(i){let n=Nt(Ps,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(n.hostView),i.appendChild(n.location.nativeElement),n}_attachWindowComponent(i,n){let o=Nt(Gs,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:n});return this._applicationRef.attachView(o.hostView),i.appendChild(o.location.nativeElement),o}_getContentRef(i,n,o,r,a){return o?o instanceof It?this._createFromTemplateRef(o,r):$t(o)?this._createFromString(o):this._createFromComponent(i,n,o,r,a):new _e([])}_createFromTemplateRef(i,n){let o={$implicit:n,close(a){n.close(a)},dismiss(a){n.dismiss(a)}},r=i.createEmbeddedView(o);return this._applicationRef.attachView(r),new _e([r.rootNodes],r)}_createFromString(i){let n=this._document.createTextNode(`${i}`);return new _e([[n]])}_createFromComponent(i,n,o,r,a){let c=ie.create({providers:[{provide:Ut,useValue:r}],parent:i}),d=Nt(o,{environmentInjector:n,elementInjector:c}),l=d.location.nativeElement;return a.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(d.hostView),new _e([[l]],d.hostView,d)}_setAriaHidden(i){let n=i.parentElement;n&&i!==this._document.body&&(Array.from(n.children).forEach(o=>{o!==i&&o.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}_revertAriaHidden(){this._ariaHiddenValues.forEach((i,n)=>{i?n.setAttribute("aria-hidden",i):n.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(i){let n=()=>{let o=this._modalRefs.indexOf(i);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(i),this._activeInstances.emit(this._modalRefs),i.result.then(n,n)}_registerWindowCmpt(i){this._windowCmpts.push(i),this._activeWindowCmptHasChanged.next(),i.onDestroy(()=>{let n=this._windowCmpts.indexOf(i);n>-1&&(this._windowCmpts.splice(n,1),this._activeWindowCmptHasChanged.next())})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Us=(()=>{let e=class e{constructor(){this._injector=u(ie),this._modalStack=u(Hs),this._config=u(Fs)}open(i,n={}){let o=bt(Kt(bt({},this._config),{animation:this._config.animation}),n);return this._modalStack.open(this._injector,i,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(i){this._modalStack.dismissAll(i)}hasOpenModals(){return this._modalStack.hasOpenModals()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({providers:[Us]});let t=e;return t})();var Kn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Vs={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function $s(t){let e=(t||"").trim();if(e.length===0)return[];let s=e.split(/\s+/).map(n=>n.split(":")).map(n=>Vs[n[0]]||n),i=s.filter(n=>n.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(i.length===1&&s.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:s}function js(t,e,s,i,n,o=0,r=0,a=Ot,c=Ot){let d=$s(e);if(d.length===0)return()=>{};let l=new Set,_=[],p;function h(f,m){t.addEventListener(f,m),_.push(()=>t.removeEventListener(f,m))}function v(f,m){clearTimeout(p),m>0?p=setTimeout(f,m):f()}for(let[f,m]of d)if(m?(h(f,()=>{l.add(f),v(()=>l.size>0&&i(),o)}),h(m,()=>{l.delete(f),v(()=>l.size===0&&n(),r)})):h(f,()=>s()?v(n,r):v(i,o)),f==="mouseenter"&&m==="mouseleave"&&r>0){let w=a.subscribe(()=>{l.delete(f),clearTimeout(p)}),D=c.subscribe(()=>{l.delete(f),v(()=>l.size===0&&n(),r)});_.push(()=>w.unsubscribe(),()=>D.unsubscribe())}return _.push(()=>clearTimeout(p)),()=>_.forEach(f=>f())}var Jn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var Zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var eo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var to=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Ls=(()=>{let e=class e{constructor(){this._ngbConfig=u(pt),this.autoClose=!0,this.placement="auto",this.popperOptions=i=>i,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ws=0,zs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(n,o){n&1&&ce("mouseenter",function(){return o.onMouseEnter()})("mouseleave",function(){return o.onMouseLeave()}),n&2&&(le("id",o.id),ye("tooltip"+(o.tooltipClass?" "+o.tooltipClass:"")),z("fade",o.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave"},ngContentSelectors:Vt,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(n,o){n&1&&(nt(),ai(0,"div",0),je(1,"div",1),ot(2),Le())},styles:[`ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}
4
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),ou=(()=>{let e=class e{constructor(){this._config=u(Ls),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new C,this.hidden=new C,this._nativeElement=u(J).nativeElement,this._ngZone=u(ae),this._document=u(re),this._changeDetector=u(be),this._injector=u(ie),this._ngbTooltipWindowId=`ngb-tooltip-${Ws++}`,this._popupService=new Ht(zs),this._windowRef=null,this._positioning=Ai(),this._mouseEnterTooltip=new j,this._mouseLeaveTooltip=new j,this._opening=!0,this._transitioning=!1}set ngbTooltip(i){this._ngbTooltip=i,!i&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(i){if(!this._opening&&this._transitioning&&(this._transitioning=!1,In(this._windowRef.location.nativeElement)),!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){let{windowRef:n,transition$:o}=this._popupService.open(this._ngbTooltip,i??this.tooltipContext,this.animation);this._opening=!0,this._transitioning=!0,this._windowRef=n,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._windowRef.setInput("onMouseEnter",()=>this._mouseEnterTooltip.next()),this._windowRef.setInput("onMouseLeave",()=>this._mouseLeaveTooltip.next()),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),this.container==="body"&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:r=>this.popperOptions(Gi([0,6])(r))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=Rt({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),Pi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),o.subscribe(()=>{this._transitioning&&(this._transitioning=!1,this.shown.emit())})}}close(i=this.animation){this._opening&&this._transitioning&&(this._transitioning=!1,In(this._windowRef.location.nativeElement)),this._windowRef!=null&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._opening=!1,this._transitioning=!0,this._popupService.close(i).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._afterRenderRef?.destroy(),this._transitioning&&(this._transitioning=!1,this.hidden.emit()),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=js(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay,this._mouseEnterTooltip,this._mouseLeaveTooltip)}ngOnChanges({tooltipClass:i}){i&&this.isOpen()&&this._windowRef.setInput("tooltipClass",i.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return($t(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[tt]});let t=e;return t})(),io=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Xs=(()=>{let e=class e{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(i){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);let n=ht(this.result),o=Array.isArray(this.term)?this.term:[this.term],r=l=>this.accentSensitive?l:Tn(l),a=o.map(l=>os(r(ht(l)))).filter(l=>l),c=this.accentSensitive?n:Tn(n),d=a.length?c.split(new RegExp(`(${a.join("|")})`,"gmi")):[n];if(this.accentSensitive)this.parts=d;else{let l=0;this.parts=d.map(_=>n.substring(l,l+=_.length))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[tt],decls:2,vars:0,consts:[[3,"class"]],template:function(n,o){n&1&&si(0,Jo,2,1,null,null,oi),n&2&&ri(o.parts)},styles:[`.ngb-highlight{font-weight:700}
5
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),Ks=new en("live announcer delay",{providedIn:"root",factory:()=>100});function Fn(t,e=!1){let s=t.body.querySelector("#ngb-live");return s==null&&e&&(s=t.createElement("div"),s.setAttribute("id","ngb-live"),s.setAttribute("aria-live","polite"),s.setAttribute("aria-atomic","true"),s.classList.add("visually-hidden"),t.body.appendChild(s)),s}var Qs=(()=>{let e=class e{constructor(){this._document=u(re),this._delay=u(Ks)}ngOnDestroy(){let i=Fn(this._document);i&&i.parentElement.removeChild(i)}say(i){let n=Fn(this._document,!0),o=this._delay;if(n!=null){n.textContent="";let r=()=>n.textContent=i;o===null?r():setTimeout(r,o)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Js=(()=>{let e=class e{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qs=(()=>{let e=class e{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=ht,this.selectEvent=new C,this.activeChangeEvent=new C}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(i){this.activeIdx=i,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:this.activeIdx===0?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(i){this.selectEvent.emit(i)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(n,o){n&1&&ce("mousedown",function(a){return a.preventDefault()}),n&2&&(le("id",o.id),ye("dropdown-menu show"+(o.popupClass?" "+o.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:4,vars:0,consts:[["rt",""],["type","button","role","option",1,"dropdown-item",3,"id","active"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(ei(0,Yo,1,2,"ng-template",null,0,dn),si(2,es,2,9,"button",1,oi)),n&2&&($e(2),ri(o.results))},dependencies:[Xs,un],encapsulation:2});let t=e;return t})(),Ys=0,su=(()=>{let e=class e{constructor(){this._nativeElement=u(J).nativeElement,this._config=u(Js),this._live=u(Qs),this._document=u(re),this._ngZone=u(ae),this._changeDetector=u(be),this._injector=u(ie),this._popupService=new Ht(qs),this._positioning=Ai(),this._subscription=null,this._closed$=new j,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=L(this._nativeElement,"input").pipe(Re(i=>i.target.value)),this._resubscribeTypeahead$=new Qi(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new C,this.activeDescendant=null,this.popupId=`ngb-typeahead-${Ys++}`,this._onTouched=()=>{},this._onChange=i=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:i}){i&&!i.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}writeValue(i){this._writeInputValue(this._formatItemForInput(i)),this.showHint&&(this._inputValueBackup=i)}setDisabledState(i){this._nativeElement.disabled=i}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&this._inputValueBackup!==null&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return this._windowRef!=null}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(i){if(this.isPopupOpen())switch(i.key){case"ArrowDown":i.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case"ArrowUp":i.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case"Enter":case"Tab":{let n=this._windowRef.instance.getActive();jt(n)&&(i.preventDefault(),i.stopPropagation(),this._selectResult(n)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;let{windowRef:i}=this._popupService.open();this._windowRef=i,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(n=>this._selectResultClosePopup(n)),this._windowRef.instance.activeChangeEvent.subscribe(n=>this.activeDescendant=n),this.container==="body"&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,updatePopperOptions:n=>this.popperOptions(Gi([0,2])(n))}),this._afterRenderRef=Rt({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector}))}),Pi(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._afterRenderRef?.destroy(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(i){let n=!1;this.selectItem.emit({item:i,preventDefault:()=>{n=!0}}),this._resubscribeTypeahead$.next(null),n||(this.writeValue(i),this._onChange(i))}_selectResultClosePopup(i){this._selectResult(i),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&this._inputValueBackup!=null){let i=this._inputValueBackup.toLowerCase(),n=this._formatItemForInput(this._windowRef.instance.getActive());i===n.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+n.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,n.length])):this._writeInputValue(n)}}_formatItemForInput(i){return i!=null&&this.inputFormatter?this.inputFormatter(i):ht(i)}_writeInputValue(i){this._nativeElement.value=ht(i)}_subscribeToUserInput(){let i=this._valueChanges$.pipe(et(n=>{this._inputValueBackup=this.showHint?n:null,this._inputValueForSelectOnExact=this.selectOnExact?n:null,this._onChange(this.editable?n:null)}),this.ngbTypeahead?this.ngbTypeahead:()=>Ye([]));this._subscription=this._resubscribeTypeahead$.pipe(Jt(()=>i)).subscribe(n=>{!n||n.length===0?this._closePopup():this.selectOnExact&&n.length===1&&this._formatItemForInput(n[0])===this._inputValueForSelectOnExact?(this._selectResult(n[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",n),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint());let o=n?n.length:0;this._live.say(o===0?"No results available":`${o} result${o===1?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=W({type:e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(n,o){n&1&&ce("blur",function(){return o.handleBlur()})("keydown",function(a){return o.handleKeyDown(a)}),n&2&&(le("autocomplete",o.autocomplete),Ne("aria-autocomplete",o.showHint?"both":"list")("aria-activedescendant",o.activeDescendant)("aria-controls",o.isPopupOpen()?o.popupId:null)("aria-expanded",o.isPopupOpen()),z("open",o.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[hi([{provide:hn,useExisting:qt(()=>e),multi:!0}]),tt]});let t=e;return t})(),no=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})();var oo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({});let t=e;return t})(),Zs=[An,Gn,Hn,Un,jn,zn,Xn,Kn,oo,Qn,Jn,qn,Yn,Zn,eo,to,io,no],ru=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=I({type:e}),e.\u0275inj=T({imports:[Zs,An,Gn,Hn,Un,jn,zn,Xn,Kn,oo,Qn,Jn,qn,Yn,Zn,eo,to,io,no]});let t=e;return t})();export{Xd as a,ps as b,Kd as c,Qd as d,ft as e,Pn as f,Jd as g,Ln as h,iu as i,xs as j,nu as k,Wn as l,Ut as m,Us as n,ou as o,su as p,ru as q};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-TN56G7FB.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as ShutdownLinuxComponent};
@@ -1,2 +0,0 @@
1
- import{$ as Fe,Ab as K,Ba as ye,Bb as Te,Ga as Ve,H as je,Ha as ge,Ia as $e,Ja as F,L as Ue,La as ve,Ma as Ee,Na as I,Oa as N,Oc as tt,Pa as Xe,Pc as nt,Qa as Ge,Ra as Je,S as fe,Sa as Ye,Ta as We,Tc as C,Ua as Ze,Uc as rt,Va as qe,Vc as st,Wa as O,a as j,ab as B,da as m,db as Ke,ea as M,ga as y,ha as W,ja as g,k as Le,ka as l,kd as ot,la as R,ld as Q,ma as pe,mb as Z,md as ee,oa as Be,od as it,pa as ze,q as xe,qa as He,qd as at,r as he,sb as Qe,ub as D,va as E,x as U,xa as me,yb as et,zb as q}from"./chunk-5P33HCXD.js";var L=class{},z=class{},S=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
2
- `).forEach(e=>{let n=e.indexOf(":");if(n>0){let s=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(s,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new r;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,e);let s=(t.op==="a"?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let i=this.headers.get(e);if(!i)return;i=i.filter(c=>o.indexOf(c)===-1),i.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,i)}break}}addHeaderEntry(t,e){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(t,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),s=t.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(t,s)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var ne=class{encodeKey(t){return ct(t)}encodeValue(t){return ct(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function kt(r,t){let e=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{let o=s.indexOf("="),[i,c]=o==-1?[t.decodeKey(s),""]:[t.decodeKey(s.slice(0,o)),t.decodeValue(s.slice(o+1))],a=e.get(i)||[];a.push(c),e.set(i,a)}),e}var Lt=/%(\d[a-f0-9])/gi,xt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ct(r){return encodeURIComponent(r).replace(Lt,(t,e)=>xt[e]??t)}function te(r){return`${r}`}var b=class r{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ne,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=kt(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let n=t.fromObject[e],s=Array.isArray(n)?n.map(te):[te(n)];this.map.set(e,s)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(n=>{let s=t[n];Array.isArray(s)?s.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new r({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(te(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],s=n.indexOf(te(t.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var re=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function jt(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function lt(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function dt(r){return typeof Blob<"u"&&r instanceof Blob}function ut(r){return typeof FormData<"u"&&r instanceof FormData}function Ut(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var ht="Content-Type",ft="Accept",mt="X-Request-URL",yt="text/plain",gt="application/json",Ft=`${gt}, ${yt}, */*`,k=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;keepalive=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,e,n,s){this.url=e,this.method=t.toUpperCase();let o;if(jt(this.method)||s?(this.body=n!==void 0?n:null,o=s):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new S,this.context??=new re,!this.params)this.params=new b,this.urlWithParams=e;else{let i=this.params.toString();if(i.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":c<e.length-1?"&":"";this.urlWithParams=e+a+i}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||lt(this.body)||dt(this.body)||ut(this.body)||Ut(this.body)?this.body:this.body instanceof b?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ut(this.body)?null:dt(this.body)?this.body.type||null:lt(this.body)?null:typeof this.body=="string"?yt:this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?gt:null}clone(t={}){let e=t.method||this.method,n=t.url||this.url,s=t.responseType||this.responseType,o=t.keepalive??this.keepalive,i=t.transferCache??this.transferCache,c=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,d=t.reportProgress??this.reportProgress,u=t.headers||this.headers,p=t.params||this.params,T=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((w,_)=>w.set(_,t.setHeaders[_]),u)),t.setParams&&(p=Object.keys(t.setParams).reduce((w,_)=>w.set(_,t.setParams[_]),p)),new r(e,n,c,{params:p,headers:u,context:T,reportProgress:d,responseType:s,withCredentials:a,transferCache:i,keepalive:o})}},A=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(A||{}),x=class{headers;status;statusText;url;ok;type;constructor(t,e=200,n="OK"){this.headers=t.headers||new S,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},se=class r extends x{constructor(t={}){super(t)}type=A.ResponseHeader;clone(t={}){return new r({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},H=class r extends x{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=A.Response;clone(t={}){return new r({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},V=class extends x{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Bt=200,zt=204;function we(r,t){return{body:t,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive}}var vt=(()=>{class r{handler;constructor(e){this.handler=e}request(e,n,s={}){let o;if(e instanceof k)o=e;else{let a;s.headers instanceof S?a=s.headers:a=new S(s.headers);let d;s.params&&(s.params instanceof b?d=s.params:d=new b({fromObject:s.params})),o=new k(e,n,s.body!==void 0?s.body:null,{headers:a,context:s.context,params:d,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache,keepalive:s.keepalive})}let i=he(o).pipe(Ue(a=>this.handler.handle(a)));if(e instanceof k||s.observe==="events")return i;let c=i.pipe(je(a=>a instanceof H));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(U(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new m(2806,!1);return a.body}));case"blob":return c.pipe(U(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new m(2807,!1);return a.body}));case"text":return c.pipe(U(a=>{if(a.body!==null&&typeof a.body!="string")throw new m(2808,!1);return a.body}));case"json":default:return c.pipe(U(a=>a.body))}case"response":return c;default:throw new m(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new b().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,s={}){return this.request("PATCH",e,we(s,n))}post(e,n,s={}){return this.request("POST",e,we(s,n))}put(e,n,s={}){return this.request("PUT",e,we(s,n))}static \u0275fac=function(n){return new(n||r)(l(L))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();var Ht=new g("");function Et(r,t){return t(r)}function Vt(r,t){return(e,n)=>t.intercept(e,{handle:s=>r(s,n)})}function $t(r,t,e){return(n,s)=>He(e,()=>t(n,o=>r(o,s)))}var Tt=new g(""),be=new g(""),wt=new g(""),_e=new g("",{providedIn:"root",factory:()=>!0});function Xt(){let r=null;return(t,e)=>{r===null&&(r=(R(Tt,{optional:!0})??[]).reduceRight(Vt,Et));let n=R(ye);if(R(_e)){let o=n.add();return r(t,e).pipe(fe(o))}else return r(t,e)}}var oe=(()=>{class r extends L{backend;injector;chain=null;pendingTasks=R(ye);contributeToStability=R(_e);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(be),...this.injector.get(wt,[])]));this.chain=n.reduceRight((s,o)=>$t(s,o,this.injector),Et)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(fe(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(l(z),l(ze))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();var Gt=/^\)\]\}',?\n/,Jt=RegExp(`^${mt}:`,"m");function Yt(r){return"responseURL"in r&&r.responseURL?r.responseURL:Jt.test(r.getAllResponseHeaders())?r.getResponseHeader(mt):null}var Re=(()=>{class r{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new m(-2800,!1);e.keepalive;let n=this.xhrFactory;return(n.\u0275loadImpl?xe(n.\u0275loadImpl()):he(null)).pipe(Fe(()=>new Le(o=>{let i=n.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((h,f)=>i.setRequestHeader(h,f.join(","))),e.headers.has(ft)||i.setRequestHeader(ft,Ft),!e.headers.has(ht)){let h=e.detectContentTypeHeader();h!==null&&i.setRequestHeader(ht,h)}if(e.responseType){let h=e.responseType.toLowerCase();i.responseType=h!=="json"?h:"text"}let c=e.serializeBody(),a=null,d=()=>{if(a!==null)return a;let h=i.statusText||"OK",f=new S(i.getAllResponseHeaders()),P=Yt(i)||e.url;return a=new se({headers:f,status:i.status,statusText:h,url:P}),a},u=()=>{let{headers:h,status:f,statusText:P,url:ke}=d(),v=null;f!==zt&&(v=typeof i.response>"u"?i.responseText:i.response),f===0&&(f=v?Bt:0);let ue=f>=200&&f<300;if(e.responseType==="json"&&typeof v=="string"){let Nt=v;v=v.replace(Gt,"");try{v=v!==""?JSON.parse(v):null}catch(Ct){v=Nt,ue&&(ue=!1,v={error:Ct,text:v})}}ue?(o.next(new H({body:v,headers:h,status:f,statusText:P,url:ke||void 0})),o.complete()):o.error(new V({error:v,headers:h,status:f,statusText:P,url:ke||void 0}))},p=h=>{let{url:f}=d(),P=new V({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:f||void 0});o.error(P)},T=!1,w=h=>{T||(o.next(d()),T=!0);let f={type:A.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),e.responseType==="text"&&i.responseText&&(f.partialText=i.responseText),o.next(f)},_=h=>{let f={type:A.UploadProgress,loaded:h.loaded};h.lengthComputable&&(f.total=h.total),o.next(f)};return i.addEventListener("load",u),i.addEventListener("error",p),i.addEventListener("timeout",p),i.addEventListener("abort",p),e.reportProgress&&(i.addEventListener("progress",w),c!==null&&i.upload&&i.upload.addEventListener("progress",_)),i.send(c),o.next({type:A.Sent}),()=>{i.removeEventListener("error",p),i.removeEventListener("abort",p),i.removeEventListener("load",u),i.removeEventListener("timeout",p),e.reportProgress&&(i.removeEventListener("progress",w),c!==null&&i.upload&&i.upload.removeEventListener("progress",_)),i.readyState!==i.DONE&&i.abort()}})))}static \u0275fac=function(n){return new(n||r)(l(ee))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Rt=new g(""),Wt="XSRF-TOKEN",Zt=new g("",{providedIn:"root",factory:()=>Wt}),qt="X-XSRF-TOKEN",Kt=new g("",{providedIn:"root",factory:()=>qt}),$=class{},Qt=(()=>{class r{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Q(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||r)(l(E),l(Zt))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();function en(r,t){let e=r.url.toLowerCase();if(!R(Rt)||r.method==="GET"||r.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(r);let n=R($).getToken(),s=R(Kt);return n!=null&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,n)})),t(r)}var De=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(De||{});function tn(r,t){return{\u0275kind:r,\u0275providers:t}}function nn(...r){let t=[vt,Re,oe,{provide:L,useExisting:oe},{provide:z,useFactory:()=>R(Ht,{optional:!0})??R(Re)},{provide:be,useValue:en,multi:!0},{provide:Rt,useValue:!0},{provide:$,useClass:Qt}];for(let e of r)t.push(...e.\u0275providers);return pe(t)}var pt=new g("");function rn(){return tn(De.LegacyInterceptors,[{provide:pt,useFactory:Xt},{provide:be,useExisting:pt,multi:!0}])}var ce=new g(""),Pe=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,s,o){return this._findPluginFor(n).addEventListener(e,n,s,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new m(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||r)(l(ce),l(D))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),X=class{_doc;constructor(t){this._doc=t}manager},ie="ng-app-id";function Mt(r){for(let t of r)t.remove()}function bt(r,t){let e=t.createElement("style");return e.textContent=r,e}function sn(r,t,e,n){let s=r.head?.querySelectorAll(`style[${ie}="${t}"],link[${ie}="${t}"]`);if(s)for(let o of s)o.removeAttribute(ie),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Oe(r,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var Ie=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,s,o={}){this.doc=e,this.appId=n,this.nonce=s,this.isServer=at(o),sn(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let s of e)this.addUsage(s,this.inline,bt);n?.forEach(s=>this.addUsage(s,this.external,Oe))}removeStyles(e,n){for(let s of e)this.removeUsage(s,this.inline);n?.forEach(s=>this.removeUsage(s,this.external))}addUsage(e,n,s){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,s(e,this.doc)))})}removeUsage(e,n){let s=n.get(e);s&&(s.usage--,s.usage<=0&&(Mt(s.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Mt(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:s}]of this.inline)s.push(this.addElement(e,bt(n,this.doc)));for(let[n,{elements:s}]of this.external)s.push(this.addElement(e,Oe(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(ie,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||r)(l(E),l(ge),l(ve,8),l(F))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Se={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ne=/%COMP%/g;var Dt="%COMP%",on=`_nghost-${Dt}`,an=`_ngcontent-${Dt}`,cn=!0,ln=new g("",{providedIn:"root",factory:()=>cn});function dn(r){return an.replace(Ne,r)}function un(r){return on.replace(Ne,r)}function St(r,t){return t.map(e=>e.replace(Ne,r))}var Ce=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,s,o,i,c,a,d=null,u=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=i,this.platformId=c,this.ngZone=a,this.nonce=d,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new G(e,i,a,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let s=this.getOrCreateRenderer(e,n);return s instanceof ae?s.applyToHost(e):s instanceof J&&s.applyStyles(),s}getOrCreateRenderer(e,n){let s=this.rendererByCompId,o=s.get(n.id);if(!o){let i=this.doc,c=this.ngZone,a=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer,T=this.tracingService;switch(n.encapsulation){case Ee.Emulated:o=new ae(a,d,n,this.appId,u,i,c,p,T);break;case Ee.ShadowDom:return new Ae(a,d,e,n,i,c,this.nonce,p,T);default:o=new J(a,d,n,u,i,c,p,T);break}s.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||r)(l(Pe),l(Ie),l(ge),l(ln),l(E),l(F),l(D),l(ve),l(Qe,8))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),G=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,s,o){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=s,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Se[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(_t(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(_t(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new m(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;let o=Se[s];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let s=Se[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&(B.DashCase|B.Important)?t.style.setProperty(e,n,s&B.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&B.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,s){if(typeof t=="string"&&(t=C().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,s)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};function _t(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var Ae=class extends G{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,s,o,i,c,a,d){super(t,o,i,a,d),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=s.styles;u=St(s.id,u);for(let T of u){let w=document.createElement("style");c&&w.setAttribute("nonce",c),w.textContent=T,this.shadowRoot.appendChild(w)}let p=s.getExternalStyles?.();if(p)for(let T of p){let w=Oe(T,o);c&&w.setAttribute("nonce",c),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},J=class extends G{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,s,o,i,c,a,d){super(t,o,i,c,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=s;let u=n.styles;this.styles=d?St(d,u):u,this.styleUrls=n.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ae=class extends J{contentAttr;hostAttr;constructor(t,e,n,s,o,i,c,a,d){let u=s+"-"+n.id;super(t,e,n,o,i,c,a,d,u),this.contentAttr=dn(u),this.hostAttr=un(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}};var le=class r extends st{supportsDOMEvents=!0;static makeCurrent(){rt(new r)}onAndCancel(t,e,n,s){return t.addEventListener(e,n,s),()=>{t.removeEventListener(e,n,s)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=hn();return e==null?null:fn(e)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Q(document.cookie,t)}},Y=null;function hn(){return Y=Y||document.head.querySelector("base"),Y?Y.getAttribute("href"):null}function fn(r){return new URL(r,document.baseURI).pathname}var de=class{addToWindow(t){M.getAngularTestability=(n,s=!0)=>{let o=t.findTestabilityInTree(n,s);if(o==null)throw new m(5103,!1);return o},M.getAllAngularTestabilities=()=>t.getAllTestabilities(),M.getAllAngularRootElements=()=>t.getAllRootElements();let e=n=>{let s=M.getAllAngularTestabilities(),o=s.length,i=function(){o--,o==0&&n()};s.forEach(c=>{c.whenStable(i)})};M.frameworkStabilizers||(M.frameworkStabilizers=[]),M.frameworkStabilizers.push(e)}findTestabilityInTree(t,e,n){if(e==null)return null;let s=t.getTestability(e);return s??(n?C().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},pn=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||r)};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),At=(()=>{class r extends X{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,s,o){return e.addEventListener(n,s,o),()=>this.removeEventListener(e,n,s,o)}removeEventListener(e,n,s,o){return e.removeEventListener(n,s,o)}static \u0275fac=function(n){return new(n||r)(l(E))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Ot=["alt","control","meta","shift"],mn={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},yn={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},Pt=(()=>{class r extends X{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,n,s,o){let i=r.parseEventName(n),c=r.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>C().onAndCancel(e,i.domEventName,c,o))}static parseEventName(e){let n=e.toLowerCase().split("."),s=n.shift();if(n.length===0||!(s==="keydown"||s==="keyup"))return null;let o=r._normalizeKey(n.pop()),i="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),i="code."),Ot.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),i+=d+".")}),i+=o,n.length!=0||o.length===0)return null;let a={};return a.domEventName=s,a.fullKey=i,a}static matchEventFullKeyCode(e,n){let s=mn[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(s=e.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Ot.forEach(i=>{if(i!==s){let c=yn[i];c(e)&&(o+=i+".")}}),o+=s,o===n)}static eventCallback(e,n,s){return o=>{r.matchEventFullKeyCode(o,e)&&s.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||r)(l(E))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();function gn(r,t){return nt(j({rootComponent:r},vn(t)))}function vn(r){return{appProviders:[...It,...r?.providers??[]],platformProviders:Rn}}function En(){le.makeCurrent()}function Tn(){return new me}function wn(){return Ve(document),document}var Rn=[{provide:F,useValue:it},{provide:$e,useValue:En,multi:!0},{provide:E,useFactory:wn}];var Mn=[{provide:q,useClass:de},{provide:et,useClass:K,deps:[D,Te,q]},{provide:K,useClass:K,deps:[D,Te,q]}],It=[{provide:Be,useValue:"root"},{provide:me,useFactory:Tn},{provide:ce,useClass:At,multi:!0,deps:[E]},{provide:ce,useClass:Pt,multi:!0,deps:[E]},Ce,Ie,Pe,{provide:Ke,useExisting:Ce},{provide:ee,useClass:pn},[]],bn=(()=>{class r{constructor(){}static \u0275fac=function(n){return new(n||r)};static \u0275mod=Z({type:r});static \u0275inj=W({providers:[...It,...Mn],imports:[ot,tt]})}return r})();var Gr=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||r)(l(E))};static \u0275prov=y({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Dn=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=y({token:r,factory:function(n){let s=null;return n?s=new(n||r):s=l(Sn),s},providedIn:"root"})}return r})(),Sn=(()=>{class r extends Dn{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case O.NONE:return n;case O.HTML:return N(n,"HTML")?I(n):qe(this._doc,String(n)).toString();case O.STYLE:return N(n,"Style")?I(n):n;case O.SCRIPT:if(N(n,"Script"))return I(n);throw new m(5200,!1);case O.URL:return N(n,"URL")?I(n):Ze(String(n));case O.RESOURCE_URL:if(N(n,"ResourceURL"))return I(n);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(e){return Xe(e)}bypassSecurityTrustStyle(e){return Ge(e)}bypassSecurityTrustScript(e){return Je(e)}bypassSecurityTrustUrl(e){return Ye(e)}bypassSecurityTrustResourceUrl(e){return We(e)}static \u0275fac=function(n){return new(n||r)(l(E))};static \u0275prov=y({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{z as a,b,A as c,H as d,vt as e,Tt as f,nn as g,rn as h,Ce as i,gn as j,bn as k,Gr as l,Dn as m};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-NV5P62TT.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as LoginComponent};
@@ -1 +0,0 @@
1
- import{a as l,b as a,c as u,d as C,e as g,f as M,g as R}from"./chunk-6TNF34YJ.js";import{a as c}from"./chunk-ZTDBD35H.js";import{a as d}from"./chunk-3P5Z4FJW.js";import"./chunk-OZXCDV3R.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import{q as s}from"./chunk-OIRABOQZ.js";import{A as p,z as n}from"./chunk-L5BYKG2R.js";import{g as m}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as f}from"./chunk-76VOEY5B.js";import{ha as t,kd as i,mb as e}from"./chunk-5P33HCXD.js";var S=[{path:"",loadComponent:()=>import("./chunk-ADWIGXEJ.js").then(o=>o.SettingsComponent),canActivate:[c]}],A=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[m.forChild(S),m]})}return o})();var P=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[i,n,p,f,s,A,R,l,C,u,d,g,a,M]})}return o})();export{P as SettingsModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-MCZR6RCC.js";import"./chunk-4N43YINB.js";import"./chunk-OHR5OVP7.js";import"./chunk-RPJLIQDW.js";import"./chunk-RH4NWKOD.js";import"./chunk-OIRABOQZ.js";import"./chunk-L5BYKG2R.js";import"./chunk-XRY6CGOA.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as ConfigEditorComponent};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-A4MQGLRM.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as ContainerRestartComponent};
@@ -1 +0,0 @@
1
- import"./chunk-OM46CMXO.js";import"./chunk-VC3EJURM.js";import"./chunk-3AAMPGXX.js";import"./chunk-GTLLKV3H.js";import{g as i}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as m}from"./chunk-76VOEY5B.js";import{ha as t,kd as n,mb as r}from"./chunk-5P33HCXD.js";var u=[{path:"",loadComponent:()=>import("./chunk-CI6RHQGO.js").then(o=>o.TerminalComponent)}],a=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(u),i]})}return o})();var T=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,a,m.forChild()]})}return o})();export{T as TerminalModule};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-MYYIAVZP.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as SupportComponent};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-5YXKYR7U.js";import"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import"./chunk-76VOEY5B.js";import"./chunk-5P33HCXD.js";export{a as RestartLinuxComponent};
@@ -1 +0,0 @@
1
- import{a as f}from"./chunk-W3MBZCWZ.js";import{a as s}from"./chunk-2RD53SIA.js";import"./chunk-6OTCM2QG.js";import"./chunk-MXPEVLWH.js";import"./chunk-OZXCDV3R.js";import"./chunk-OHR5OVP7.js";import"./chunk-RPJLIQDW.js";import"./chunk-KZTJTB2H.js";import"./chunk-RH4NWKOD.js";import"./chunk-GKJIBX2F.js";import"./chunk-3AAMPGXX.js";import"./chunk-F3HFHS2T.js";import"./chunk-GTLLKV3H.js";import"./chunk-JPQOXPI2.js";import"./chunk-3M3K22OA.js";import"./chunk-4754Z7OP.js";import{q as l}from"./chunk-OIRABOQZ.js";import{A as u,z as m}from"./chunk-L5BYKG2R.js";import{g as e}from"./chunk-XRY6CGOA.js";import"./chunk-X4T3VHUI.js";import"./chunk-NY65QKQ5.js";import"./chunk-ZPZZ4ERR.js";import"./chunk-NHOAVQJK.js";import"./chunk-PPKCHGS4.js";import{c as p}from"./chunk-76VOEY5B.js";import{ha as t,kd as n,mb as r}from"./chunk-5P33HCXD.js";var g=[{path:"",loadComponent:()=>import("./chunk-7MUPTLBE.js").then(o=>o.PluginsComponent)}],d=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[e.forChild(g),e]})}return o})();var v=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,m,u,p.forChild(),l,f,d,s]})}return o})();export{v as PluginsModule};