@layers-app/editor 1.0.3 → 2.0.1

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 (213) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +3 -1
  3. package/dist/index.js +4 -4
  4. package/dist/{layers.BtkGrvna.js → layers.-tEbFEea.js} +1 -1
  5. package/dist/{layers.CoP0to8I.js → layers.1iQaRppm.js} +1 -1
  6. package/dist/{layers.CGhtwC30.js → layers.3hQu2S_W.js} +1 -1
  7. package/dist/{layers.BC_C1xrO.js → layers.7aU-H2uI.js} +1 -1
  8. package/dist/{layers.B4LkaY4I.js → layers.8Pb_NF3J.js} +1 -1
  9. package/dist/{layers.DD7aZQnD.js → layers.B-rj7oTM.js} +1 -1
  10. package/dist/{layers.WQvYuSwW.js → layers.B0Swa5pj.js} +1 -1
  11. package/dist/{layers.DLctGG_3.js → layers.B4Q2wfB6.js} +1 -1
  12. package/dist/{layers.F82lqsPC.js → layers.B5tfuvvb.js} +4 -4
  13. package/dist/{layers.lrAO18lI.js → layers.B7hUyZYE.js} +1 -1
  14. package/dist/{layers.CgMEQGfs.js → layers.B87JL-Ab.js} +3 -3
  15. package/dist/{layers.CE_fwNjO.js → layers.B8OqtRY0.js} +1 -1
  16. package/dist/{layers.DY-B5W5L.js → layers.BAWhP4OK.js} +1 -1
  17. package/dist/{layers.gvccbahe.js → layers.BCO7xt78.js} +1 -1
  18. package/dist/{layers.BMH45keY.js → layers.BCqayhjh.js} +1 -1
  19. package/dist/{layers.CgdvXa_C.js → layers.BDL62gCx.js} +1 -1
  20. package/dist/{layers.z09VrGdB.js → layers.BEfYTrlS.js} +1 -1
  21. package/dist/{layers.Cm_AJ7S3.js → layers.BEuTfkxl.js} +1 -1
  22. package/dist/{layers.BqvXYWeI.js → layers.BFLIxvTQ.js} +1 -1
  23. package/dist/{layers.D1d86UTe.js → layers.BK4IKcTn.js} +1 -1
  24. package/dist/{layers.DdCV13yl.js → layers.BKbrY6tU.js} +1 -1
  25. package/dist/{layers.Dt27XqD2.js → layers.BMP4kJwf.js} +4 -4
  26. package/dist/{layers.CH7NJtjz.js → layers.BMP_74lB.js} +1 -1
  27. package/dist/{layers.CbaR6nQ1.js → layers.BN4qRLeM.js} +11 -11
  28. package/dist/{layers.BgSnaqEl.js → layers.BN8UhSmo.js} +1 -1
  29. package/dist/layers.BO3G20N6.js +8 -0
  30. package/dist/{layers.DJHP0m-I.js → layers.BOztdAeE.js} +1 -1
  31. package/dist/{layers.BWUNH5Xy.js → layers.BSFvSxAW.js} +2 -2
  32. package/dist/{layers.CNeNKf9r.js → layers.BTqtABFp.js} +1 -1
  33. package/dist/{layers.CccO2gq8.js → layers.BUXlslMo.js} +1 -1
  34. package/dist/{layers.BwZLj8Uo.js → layers.BVFjrhyH.js} +1 -1
  35. package/dist/{layers.DmgtjTn9.js → layers.BVKUpmY-.js} +1 -1
  36. package/dist/{layers.B6D_SJbU.js → layers.BVQnJMRw.js} +1 -1
  37. package/dist/{layers.N0sFb-z-.js → layers.BXwtj068.js} +1 -1
  38. package/dist/{layers.BC4VW1Z3.js → layers.BYm-cdxh.js} +1 -1
  39. package/dist/{layers.DieEj3MA.js → layers.BZjGZC6Y.js} +3 -3
  40. package/dist/{layers.DyDmXkSa.js → layers.B_JtZCN9.js} +1 -1
  41. package/dist/{layers.B1kZTaz5.js → layers.Bb5zlvhh.js} +1 -1
  42. package/dist/{layers.CEiJwMda.js → layers.Bby3suAC.js} +1 -1
  43. package/dist/{layers.DZFjlFnV.js → layers.Bdcf9Z5D.js} +49 -49
  44. package/dist/layers.Be3hGKWN.js +1 -0
  45. package/dist/{layers.DMQTVt86.js → layers.BeZm_cHd.js} +1 -1
  46. package/dist/{layers.DIUzL_6N.js → layers.Bh3-MllH.js} +1 -1
  47. package/dist/{layers.B5OBTV5F.js → layers.BhEGWMwB.js} +1 -1
  48. package/dist/{layers.BsTpwj0H.js → layers.BhkhIN75.js} +1 -1
  49. package/dist/{layers.DO54mCHO.js → layers.Bib8ivdT.js} +2 -2
  50. package/dist/{layers.DzKWtIqI.js → layers.Bn6Iejgx.js} +1 -1
  51. package/dist/{layers.Bkqh4ME-.js → layers.Bp96rGKj.js} +1 -1
  52. package/dist/{layers.DSlNEDRU.js → layers.BpGapBb_.js} +1 -1
  53. package/dist/{layers.DCipaxvm.js → layers.BqBcVmuA.js} +2 -2
  54. package/dist/{layers.DVUYMhTe.js → layers.Br1FFtT0.js} +1 -1
  55. package/dist/{layers.CiY-YFpH.js → layers.BuHZ-Ghv.js} +3 -3
  56. package/dist/{layers.CCix_qrs.js → layers.BvBP7pVu.js} +1 -1
  57. package/dist/{layers.CaNVv_op.js → layers.BxEzn6nN.js} +1 -1
  58. package/dist/{layers.BpAoJ8d0.js → layers.C-R-oVhg.js} +5 -5
  59. package/dist/{layers.LBSX3TXx.js → layers.C0jByRD3.js} +1 -1
  60. package/dist/{layers.B0v1e4rM.js → layers.C3kOgem-.js} +1 -1
  61. package/dist/{layers.49Cb3hQq.js → layers.C4Me_ssm.js} +1 -1
  62. package/dist/{layers.BD8wlI9y.js → layers.C62ZXEw2.js} +1 -1
  63. package/dist/{layers.DsL5KVBD.js → layers.C7KyEelm.js} +1 -1
  64. package/dist/{layers.DBjevU0S.js → layers.C8C7CSoC.js} +1 -1
  65. package/dist/{layers.C40Bp7ba.js → layers.C8oJKs9B.js} +1 -1
  66. package/dist/{layers.B4TXZCpg.js → layers.C9p0mMXG.js} +1 -1
  67. package/dist/{layers.DzucUec3.js → layers.CDoL8VSM.js} +1 -1
  68. package/dist/{layers.vGzNH8Zi.js → layers.CE6zliiq.js} +1 -1
  69. package/dist/{layers.CckR2apD.js → layers.CEDQUMRS.js} +2 -2
  70. package/dist/{layers.Cce-5srG.js → layers.CHdXKlXk.js} +3 -3
  71. package/dist/{layers.Dsgji0IU.js → layers.CIKwPi4Z.js} +1 -1
  72. package/dist/{layers.IqDrGH8w.js → layers.CIlYw-Ld.js} +1 -1
  73. package/dist/{layers.ktY-N8-g.js → layers.CJj-Yc0Y.js} +1 -1
  74. package/dist/{layers.fcY3pMI5.js → layers.CJvs1ehb.js} +4 -4
  75. package/dist/{layers.DxmTHJdN.js → layers.CLOPPsD7.js} +1 -1
  76. package/dist/{layers.CgFnVYEZ.js → layers.CLPz47Cx.js} +1 -1
  77. package/dist/{layers.f3_J7Nbn.js → layers.CLRCSdJu.js} +1 -1
  78. package/dist/{layers.CQ6PlE30.js → layers.CM8dv7Gh.js} +4 -4
  79. package/dist/{layers.CWqEWyqn.js → layers.CMbvzTIf.js} +1 -1
  80. package/dist/{layers.D4Hd2R6l.js → layers.CNyFLQnc.js} +1 -1
  81. package/dist/{layers.BFb832xE.js → layers.CPozxFPx.js} +1 -1
  82. package/dist/{layers.B28ZLtQy.js → layers.CRnGEgwX.js} +3 -3
  83. package/dist/{layers.Cig8Inwg.js → layers.CSbeUzlx.js} +1 -1
  84. package/dist/{layers.BvVF5YeF.js → layers.CSnjafAH.js} +1 -1
  85. package/dist/{layers.DiNz7ElC.js → layers.CU9PM1go.js} +1 -1
  86. package/dist/{layers.Dr27uVk4.js → layers.CUclTWP1.js} +1 -1
  87. package/dist/{layers.DEcXOBvy.js → layers.CVdTDg0L.js} +1 -1
  88. package/dist/{layers.DiHWHhy4.js → layers.CWFsDWIO.js} +1 -1
  89. package/dist/{layers.Dn09PfrZ.js → layers.CWLsT0ha.js} +1 -1
  90. package/dist/{layers.DxzgNTjM.js → layers.CWY-RnLQ.js} +1 -1
  91. package/dist/{layers.BDBbG-ey.js → layers.C_2YmvP6.js} +1 -1
  92. package/dist/{layers.CNexJfQm.js → layers.C_ewGFAV.js} +1 -1
  93. package/dist/{layers.CQhZnqZ4.js → layers.C_hg39kk.js} +4 -4
  94. package/dist/{layers.B8S3mJue.js → layers.CaLTEjck.js} +1 -1
  95. package/dist/{layers.B8cw9faR.js → layers.CauW8tpB.js} +1 -1
  96. package/dist/{layers.CxEg8l7s.js → layers.Cb1OeHPk.js} +1 -1
  97. package/dist/{layers.m1FXzZiP.js → layers.CbTtLiC-.js} +29621 -17625
  98. package/dist/{layers.CfHRM0FG.js → layers.CcCAMrS6.js} +4 -4
  99. package/dist/{layers.TtKwW6Uv.js → layers.CcOPnJ0R.js} +1 -1
  100. package/dist/{layers.sWtltbAD.js → layers.CeYuOfPG.js} +6 -6
  101. package/dist/{layers.D7HuKSGc.js → layers.CgOiwStq.js} +1 -1
  102. package/dist/{layers.D8HLLR68.js → layers.CjSufFtR.js} +1 -1
  103. package/dist/{layers.RGHJiijE.js → layers.CjfwbokM.js} +2 -2
  104. package/dist/{layers.D64ZaJak.js → layers.Cl2kkt_w.js} +1 -1
  105. package/dist/{layers.D7oTsnEI.js → layers.Cn9PgF9u.js} +1 -1
  106. package/dist/{layers.Bai6Rb4N.js → layers.CnsIGgOH.js} +1 -1
  107. package/dist/{layers.BzMjNE8I.js → layers.CpriF7L5.js} +1 -1
  108. package/dist/{layers.Bkgg8V9Z.js → layers.CvMjvpAC.js} +5981 -6248
  109. package/dist/layers.CwDIIaj6.js +1 -0
  110. package/dist/{layers.1GyvVVUA.js → layers.Cwfp_SWw.js} +1 -1
  111. package/dist/{layers.CHVJ4nfm.js → layers.Cy-4eS9t.js} +1 -1
  112. package/dist/{layers.BGeCxiod.js → layers.CyTiWc8R.js} +1 -1
  113. package/dist/{layers.DjToIgfF.js → layers.CyVJlwhy.js} +1 -1
  114. package/dist/layers.CzfJNUQR.js +6 -0
  115. package/dist/{layers.DyG10Lz7.js → layers.Czo4N9da.js} +5 -5
  116. package/dist/{layers.DDhh_-Kd.js → layers.D10ka4_R.js} +1 -1
  117. package/dist/{layers.Dx68js4K.js → layers.D1U2EImF.js} +1 -1
  118. package/dist/{layers.DDbSzUSq.js → layers.D2FhK8JW.js} +1 -1
  119. package/dist/{layers.CqDDn2I0.js → layers.D2NZqIBf.js} +1 -1
  120. package/dist/{layers.Dvocqmh5.js → layers.D5FEVMaj.js} +1 -1
  121. package/dist/{layers.B_Q4F8KR.js → layers.D5T47bY1.js} +1 -1
  122. package/dist/{layers.CTi4nGrZ.js → layers.D5oWH2Zi.js} +1035 -1028
  123. package/dist/{layers.CrWNqZCY.js → layers.D5vvb1es.js} +1 -1
  124. package/dist/{layers.D5ezF38F.js → layers.D7m8veg5.js} +1 -1
  125. package/dist/{layers.B4rvdwOe.js → layers.D7o8HeUe.js} +1 -1
  126. package/dist/{layers.D1f8eXYS.js → layers.D7s9Zwrz.js} +1 -1
  127. package/dist/{layers.BE1gV7W-.js → layers.D8w74-1O.js} +3 -3
  128. package/dist/{layers.DSoRCaln.js → layers.DBsOSFoM.js} +44 -44
  129. package/dist/{layers.V49AKmo9.js → layers.DCBZyMeN.js} +1 -1
  130. package/dist/{layers.BwbE872l.js → layers.DLe33_L_.js} +1 -1
  131. package/dist/{layers.0JEG6r0M.js → layers.DNUD-CJ8.js} +4 -4
  132. package/dist/{layers.e30jfE4U.js → layers.DNlW5pNO.js} +1 -1
  133. package/dist/{layers.hUKvXZQd.js → layers.DOocKSCn.js} +1 -1
  134. package/dist/{layers.Z7GnJocj.js → layers.DPknniKO.js} +1 -1
  135. package/dist/{layers.YGXqIpY-.js → layers.DQWkfOvY.js} +1 -1
  136. package/dist/{layers.CPKeFjQY.js → layers.DRPLaH1S.js} +1 -1
  137. package/dist/{layers.aVTcjttw.js → layers.DRyq7HXZ.js} +1 -1
  138. package/dist/{layers.BR12Ya1f.js → layers.DSwpnF_n.js} +1 -1
  139. package/dist/{layers.DsGuM-C7.js → layers.DY5-BiNC.js} +1 -1
  140. package/dist/{layers.DuTVDRam.js → layers.DYG4TDJT.js} +1 -1
  141. package/dist/{layers.sMedTMVE.js → layers.DYGP06g1.js} +1 -1
  142. package/dist/{layers.BzGNNzEC.js → layers.DamzqDiR.js} +1 -1
  143. package/dist/{layers.BKsQWiW7.js → layers.DbNQWK8M.js} +1 -1
  144. package/dist/{layers.tc44apcU.js → layers.DcyKLTKN.js} +25 -25
  145. package/dist/{layers.SJpkQK_B.js → layers.DdGNejEI.js} +1 -1
  146. package/dist/{layers.CeJztBoD.js → layers.DfJ3ZtHm.js} +1 -1
  147. package/dist/{layers.eGTEDwHP.js → layers.DfzCnkal.js} +1 -1
  148. package/dist/{layers.-mxLnb4k.js → layers.Dg4utwst.js} +1 -1
  149. package/dist/{layers.DWpBVhuJ.js → layers.DgiE5ZFx.js} +1 -1
  150. package/dist/{layers.C-T4euoM.js → layers.DlNM-Dqc.js} +1 -1
  151. package/dist/{layers.KhUHE5ne.js → layers.Dlc_qb9C.js} +3 -3
  152. package/dist/{layers.CDnAMupK.js → layers.DnIrOpxR.js} +1 -1
  153. package/dist/{layers.bqo081km.js → layers.DorSa_L5.js} +1 -1
  154. package/dist/{layers.fo9GMZ-S.js → layers.DpNa42gZ.js} +4 -4
  155. package/dist/{layers.BpXHsiSZ.js → layers.DqVko4VS.js} +1 -1
  156. package/dist/{layers.ClDrJmH4.js → layers.DsO27g6e.js} +1 -1
  157. package/dist/{layers.BHDk7Myw.js → layers.DuF7Wr_J.js} +1 -1
  158. package/dist/{layers.RqFbALGa.js → layers.DuZffOf7.js} +1 -1
  159. package/dist/{layers.D9nEFqyx.js → layers.Dud5Uqc_.js} +1 -1
  160. package/dist/{layers.d3YgMAV6.js → layers.DzDzwnFj.js} +1 -1
  161. package/dist/{layers.D3j7jG9X.js → layers.DzyRBxYV.js} +1 -1
  162. package/dist/{layers.D63pZhIg.js → layers.E50JDeRu.js} +1 -1
  163. package/dist/{layers.C53Rjokv.js → layers.EDJAvZne.js} +1 -1
  164. package/dist/{layers.Yj7xC7wb.js → layers.EKR6tyV6.js} +1 -1
  165. package/dist/{layers.CAy29y2i.js → layers.FT8CWNYr.js} +1 -1
  166. package/dist/{layers.CDfK4x7M.js → layers.JyX-Sgav.js} +1 -1
  167. package/dist/{layers.BCwKbolQ.js → layers.K93rRg7h.js} +1 -1
  168. package/dist/{layers.BLJrZsq6.js → layers.LyVM1EwO.js} +3 -3
  169. package/dist/{layers.BPyR7VSK.js → layers.O3Mjf-uq.js} +1 -1
  170. package/dist/{layers.cd9QThAO.js → layers.SSatf9ti.js} +1 -1
  171. package/dist/{layers.CZodQNkg.js → layers.TCs6JDoq.js} +1 -1
  172. package/dist/{layers.BtTcw2YT.js → layers.TxMU5irA.js} +1 -1
  173. package/dist/{layers.B5Cz3RXy.js → layers.Ucg2KioU.js} +1 -1
  174. package/dist/{layers.C6HBYNAt.js → layers.Usxx3zwE.js} +1 -1
  175. package/dist/{layers.DGz5xdPv.js → layers.Uwkohx1o.js} +1 -1
  176. package/dist/{layers.CB2wuM98.js → layers.UyBxa8pk.js} +1 -1
  177. package/dist/{layers.Ca0u_tGE.js → layers.VIC89oh3.js} +1 -1
  178. package/dist/{layers.DSLJ6ICC.js → layers.WXRqF7Gu.js} +1 -1
  179. package/dist/{layers.ChZqSPnR.js → layers.XzXWsQdt.js} +1 -1
  180. package/dist/{layers.CjoXK1ij.js → layers.ZqFKkHtx.js} +1 -1
  181. package/dist/{layers.rB607amy.js → layers.an73ne6R.js} +1 -1
  182. package/dist/{layers.CHMzPHWN.js → layers.cQhTHtoM.js} +1 -1
  183. package/dist/{layers.Vm4Q0YWI.js → layers.dZZJZDAg.js} +1 -1
  184. package/dist/{layers.V5QreSCa.js → layers.g5UO5TI7.js} +1 -1
  185. package/dist/{layers.CDa35kl2.js → layers.gQahMh2X.js} +1 -1
  186. package/dist/{layers.BkE-50bx.js → layers.goOIHVE6.js} +1 -1
  187. package/dist/{layers.CtLrl-XT.js → layers.gu1X4m9G.js} +2 -2
  188. package/dist/{layers.CpIn_bCD.js → layers.ii-DkG87.js} +3 -3
  189. package/dist/{layers.BTbuSvbS.js → layers.jeSeOpIN.js} +1 -1
  190. package/dist/{layers.CIlMNTzK.js → layers.jf4GXTEM.js} +1 -1
  191. package/dist/{layers.vFHR2A2Q.js → layers.k3626i7i.js} +1 -1
  192. package/dist/{layers.CVSPMK3H.js → layers.kq19s5wd.js} +1 -1
  193. package/dist/{layers.C56UbGsM.js → layers.n-b_sibm.js} +1 -1
  194. package/dist/{layers.DWpG_WDk.js → layers.qX5GXECm.js} +3 -3
  195. package/dist/{layers.DCbL-OVT.js → layers.rL4xM0YF.js} +1 -1
  196. package/dist/{layers.CuM3QAiw.js → layers.rxko9Uhx.js} +1 -1
  197. package/dist/layers.tMd_QB9T.js +845 -0
  198. package/dist/{layers.BlkigIkg.js → layers.tYaYGlY9.js} +1 -1
  199. package/dist/{layers.RsPeXxK5.js → layers.uJXaMwcZ.js} +65 -65
  200. package/dist/{layers.CbL0t_nB.js → layers.v6J5zOI0.js} +1 -1
  201. package/dist/{layers.mRN6s1F7.js → layers.vurepPvZ.js} +1 -1
  202. package/dist/{layers.BSxtKuLQ.js → layers.web18Twc.js} +1 -1
  203. package/dist/{layers.Cofnb6IX.js → layers.ysnHCXdj.js} +1 -1
  204. package/package.json +80 -80
  205. package/dist/layers.7cmEr_5S.js +0 -1
  206. package/dist/layers.BMN4DEif.js +0 -1
  207. package/dist/layers.BnzakkMG.js +0 -6
  208. package/dist/layers.Cf50i081.js +0 -8
  209. package/dist/layers.DG-Yj3cN.js +0 -1
  210. package/dist/layers.DZ_AGkg7.js +0 -346
  211. package/dist/layers.R8mPlCA0.js +0 -261
  212. package/dist/layers.b9B2NY7n.js +0 -11690
  213. package/dist/layers.fijFSEMq.js +0 -585
@@ -1,5 +1,5 @@
1
- import { K as Qt, J as Dl } from "./layers.Bkgg8V9Z.js";
2
- import { B as Nl } from "./layers.m1FXzZiP.js";
1
+ import { t as Dl } from "./layers.CbTtLiC-.js";
2
+ import { J as Nl } from "./layers.CvMjvpAC.js";
3
3
  import _n from "lodash-es/memoize.js";
4
4
  import $l from "lodash-es/merge.js";
5
5
  import Rr from "lodash-es/isEmpty.js";
@@ -265,7 +265,14 @@ const zl = {
265
265
  elements: i
266
266
  };
267
267
  }
268
- }), Gl = new pr({
268
+ }), Gl = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
269
+ let Qt = (t = 21) => {
270
+ let e = "", i = crypto.getRandomValues(new Uint8Array(t |= 0));
271
+ for (; t--; )
272
+ e += Gl[i[t] & 63];
273
+ return e;
274
+ };
275
+ const Vl = new pr({
269
276
  converter: (t) => {
270
277
  const e = Qt(), { width: i, height: r } = t, n = {
271
278
  type: "image",
@@ -368,7 +375,7 @@ const zl = {
368
375
  end: t.end
369
376
  };
370
377
  return t.groupId && Object.assign(e, { groupIds: [t.groupId] }), e;
371
- }, Vl = new pr({
378
+ }, Kl = new pr({
372
379
  converter: (t) => {
373
380
  const e = [], i = [];
374
381
  if (Object.values(t.nodes).forEach((r) => {
@@ -449,7 +456,7 @@ const zl = {
449
456
  e.push(x);
450
457
  }), { elements: e };
451
458
  }
452
- }), Kl = new pr({
459
+ }), Zl = new pr({
453
460
  converter: (t) => {
454
461
  const e = [];
455
462
  return Object.values(t.nodes).forEach((i) => {
@@ -496,21 +503,21 @@ const zl = {
496
503
  e.push(o);
497
504
  }), { elements: e };
498
505
  }
499
- }), Zl = (t, e = {}) => {
506
+ }), Jl = (t, e = {}) => {
500
507
  switch (t.type) {
501
508
  case "graphImage":
502
- return Gl.convert(t, e);
509
+ return Vl.convert(t, e);
503
510
  case "flowchart":
504
511
  return jl.convert(t, e);
505
512
  case "sequence":
506
- return Vl.convert(t, e);
507
- case "class":
508
513
  return Kl.convert(t, e);
514
+ case "class":
515
+ return Zl.convert(t, e);
509
516
  default:
510
517
  throw new Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`);
511
518
  }
512
519
  };
513
- function Jl(t) {
520
+ function Ql(t) {
514
521
  for (var e = [], i = 1; i < arguments.length; i++)
515
522
  e[i - 1] = arguments[i];
516
523
  var r = Array.from(typeof t == "string" ? [t] : t);
@@ -542,12 +549,12 @@ function Jl(t) {
542
549
  `)), o += d + r[l + 1];
543
550
  }), o;
544
551
  }
545
- var Ri = { exports: {} }, Ql = Ri.exports, yo;
546
- function tc() {
552
+ var Ri = { exports: {} }, tc = Ri.exports, yo;
553
+ function ec() {
547
554
  return yo || (yo = 1, (function(t, e) {
548
555
  (function(i, r) {
549
556
  t.exports = r();
550
- })(Ql, (function() {
557
+ })(tc, (function() {
551
558
  var i = 1e3, r = 6e4, n = 36e5, s = "millisecond", o = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", f = "year", m = "date", y = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(q) {
552
559
  var w = ["th", "st", "nd", "rd"], T = q % 100;
553
560
  return "[" + q + (w[(T - 20) % 10] || w[T] || w[0]) + "]";
@@ -820,9 +827,9 @@ function tc() {
820
827
  }));
821
828
  })(Ri)), Ri.exports;
822
829
  }
823
- var ec = tc();
824
- const ic = /* @__PURE__ */ Nl(ec);
825
- var rc = { value: () => {
830
+ var ic = ec();
831
+ const rc = /* @__PURE__ */ Dl(ic);
832
+ var nc = { value: () => {
826
833
  } };
827
834
  function xs() {
828
835
  for (var t = 0, e = arguments.length, i = {}, r; t < e; ++t) {
@@ -834,7 +841,7 @@ function xs() {
834
841
  function qi(t) {
835
842
  this._ = t;
836
843
  }
837
- function nc(t, e) {
844
+ function oc(t, e) {
838
845
  return t.trim().split(/^|\s+/).map(function(i) {
839
846
  var r = "", n = i.indexOf(".");
840
847
  if (n >= 0 && (r = i.slice(n + 1), i = i.slice(0, n)), i && !e.hasOwnProperty(i)) throw new Error("unknown type: " + i);
@@ -844,9 +851,9 @@ function nc(t, e) {
844
851
  qi.prototype = xs.prototype = {
845
852
  constructor: qi,
846
853
  on: function(t, e) {
847
- var i = this._, r = nc(t + "", i), n, s = -1, o = r.length;
854
+ var i = this._, r = oc(t + "", i), n, s = -1, o = r.length;
848
855
  if (arguments.length < 2) {
849
- for (; ++s < o; ) if ((n = (t = r[s]).type) && (n = oc(i[n], t.name))) return n;
856
+ for (; ++s < o; ) if ((n = (t = r[s]).type) && (n = sc(i[n], t.name))) return n;
850
857
  return;
851
858
  }
852
859
  if (e != null && typeof e != "function") throw new Error("invalid callback: " + e);
@@ -870,7 +877,7 @@ qi.prototype = xs.prototype = {
870
877
  for (var r = this._[t], n = 0, s = r.length; n < s; ++n) r[n].value.apply(e, i);
871
878
  }
872
879
  };
873
- function oc(t, e) {
880
+ function sc(t, e) {
874
881
  for (var i = 0, r = t.length, n; i < r; ++i)
875
882
  if ((n = t[i]).name === e)
876
883
  return n.value;
@@ -878,7 +885,7 @@ function oc(t, e) {
878
885
  function _o(t, e, i) {
879
886
  for (var r = 0, n = t.length; r < n; ++r)
880
887
  if (t[r].name === e) {
881
- t[r] = rc, t = t.slice(0, r).concat(t.slice(r + 1));
888
+ t[r] = nc, t = t.slice(0, r).concat(t.slice(r + 1));
882
889
  break;
883
890
  }
884
891
  return i != null && t.push({ name: e, value: i }), t;
@@ -895,53 +902,53 @@ function gr(t) {
895
902
  var e = t += "", i = e.indexOf(":");
896
903
  return i >= 0 && (e = t.slice(0, i)) !== "xmlns" && (t = t.slice(i + 1)), Co.hasOwnProperty(e) ? { space: Co[e], local: t } : t;
897
904
  }
898
- function sc(t) {
905
+ function ac(t) {
899
906
  return function() {
900
907
  var e = this.ownerDocument, i = this.namespaceURI;
901
908
  return i === tn && e.documentElement.namespaceURI === tn ? e.createElement(t) : e.createElementNS(i, t);
902
909
  };
903
910
  }
904
- function ac(t) {
911
+ function lc(t) {
905
912
  return function() {
906
913
  return this.ownerDocument.createElementNS(t.space, t.local);
907
914
  };
908
915
  }
909
916
  function bs(t) {
910
917
  var e = gr(t);
911
- return (e.local ? ac : sc)(e);
918
+ return (e.local ? lc : ac)(e);
912
919
  }
913
- function lc() {
920
+ function cc() {
914
921
  }
915
922
  function xn(t) {
916
- return t == null ? lc : function() {
923
+ return t == null ? cc : function() {
917
924
  return this.querySelector(t);
918
925
  };
919
926
  }
920
- function cc(t) {
927
+ function hc(t) {
921
928
  typeof t != "function" && (t = xn(t));
922
929
  for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
923
930
  for (var s = e[n], o = s.length, a = r[n] = new Array(o), l, c, u = 0; u < o; ++u)
924
931
  (l = s[u]) && (c = t.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), a[u] = c);
925
932
  return new xt(r, this._parents);
926
933
  }
927
- function hc(t) {
934
+ function uc(t) {
928
935
  return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
929
936
  }
930
- function uc() {
937
+ function dc() {
931
938
  return [];
932
939
  }
933
940
  function Ts(t) {
934
- return t == null ? uc : function() {
941
+ return t == null ? dc : function() {
935
942
  return this.querySelectorAll(t);
936
943
  };
937
944
  }
938
- function dc(t) {
945
+ function fc(t) {
939
946
  return function() {
940
- return hc(t.apply(this, arguments));
947
+ return uc(t.apply(this, arguments));
941
948
  };
942
949
  }
943
- function fc(t) {
944
- typeof t == "function" ? t = dc(t) : t = Ts(t);
950
+ function pc(t) {
951
+ typeof t == "function" ? t = fc(t) : t = Ts(t);
945
952
  for (var e = this._groups, i = e.length, r = [], n = [], s = 0; s < i; ++s)
946
953
  for (var o = e[s], a = o.length, l, c = 0; c < a; ++c)
947
954
  (l = o[c]) && (r.push(t.call(l, l.__data__, c, o)), n.push(l));
@@ -957,31 +964,31 @@ function Ss(t) {
957
964
  return e.matches(t);
958
965
  };
959
966
  }
960
- var pc = Array.prototype.find;
961
- function gc(t) {
967
+ var gc = Array.prototype.find;
968
+ function mc(t) {
962
969
  return function() {
963
- return pc.call(this.children, t);
970
+ return gc.call(this.children, t);
964
971
  };
965
972
  }
966
- function mc() {
973
+ function yc() {
967
974
  return this.firstElementChild;
968
975
  }
969
- function yc(t) {
970
- return this.select(t == null ? mc : gc(typeof t == "function" ? t : Ss(t)));
976
+ function _c(t) {
977
+ return this.select(t == null ? yc : mc(typeof t == "function" ? t : Ss(t)));
971
978
  }
972
- var _c = Array.prototype.filter;
973
- function Cc() {
979
+ var Cc = Array.prototype.filter;
980
+ function xc() {
974
981
  return Array.from(this.children);
975
982
  }
976
- function xc(t) {
983
+ function bc(t) {
977
984
  return function() {
978
- return _c.call(this.children, t);
985
+ return Cc.call(this.children, t);
979
986
  };
980
987
  }
981
- function bc(t) {
982
- return this.selectAll(t == null ? Cc : xc(typeof t == "function" ? t : Ss(t)));
983
- }
984
988
  function Tc(t) {
989
+ return this.selectAll(t == null ? xc : bc(typeof t == "function" ? t : Ss(t)));
990
+ }
991
+ function kc(t) {
985
992
  typeof t != "function" && (t = ks(t));
986
993
  for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
987
994
  for (var s = e[n], o = s.length, a = r[n] = [], l, c = 0; c < o; ++c)
@@ -991,7 +998,7 @@ function Tc(t) {
991
998
  function vs(t) {
992
999
  return new Array(t.length);
993
1000
  }
994
- function kc() {
1001
+ function Sc() {
995
1002
  return new xt(this._enter || this._groups.map(vs), this._parents);
996
1003
  }
997
1004
  function Vi(t, e) {
@@ -1012,18 +1019,18 @@ Vi.prototype = {
1012
1019
  return this._parent.querySelectorAll(t);
1013
1020
  }
1014
1021
  };
1015
- function Sc(t) {
1022
+ function vc(t) {
1016
1023
  return function() {
1017
1024
  return t;
1018
1025
  };
1019
1026
  }
1020
- function vc(t, e, i, r, n, s) {
1027
+ function wc(t, e, i, r, n, s) {
1021
1028
  for (var o = 0, a, l = e.length, c = s.length; o < c; ++o)
1022
1029
  (a = e[o]) ? (a.__data__ = s[o], r[o] = a) : i[o] = new Vi(t, s[o]);
1023
1030
  for (; o < l; ++o)
1024
1031
  (a = e[o]) && (n[o] = a);
1025
1032
  }
1026
- function wc(t, e, i, r, n, s, o) {
1033
+ function Ac(t, e, i, r, n, s, o) {
1027
1034
  var a, l, c = /* @__PURE__ */ new Map(), u = e.length, d = s.length, h = new Array(u), f;
1028
1035
  for (a = 0; a < u; ++a)
1029
1036
  (l = e[a]) && (h[a] = f = o.call(l, l.__data__, a, e) + "", c.has(f) ? n[a] = l : c.set(f, l));
@@ -1032,15 +1039,15 @@ function wc(t, e, i, r, n, s, o) {
1032
1039
  for (a = 0; a < u; ++a)
1033
1040
  (l = e[a]) && c.get(h[a]) === l && (n[a] = l);
1034
1041
  }
1035
- function Ac(t) {
1042
+ function Bc(t) {
1036
1043
  return t.__data__;
1037
1044
  }
1038
- function Bc(t, e) {
1039
- if (!arguments.length) return Array.from(this, Ac);
1040
- var i = e ? wc : vc, r = this._parents, n = this._groups;
1041
- typeof t != "function" && (t = Sc(t));
1045
+ function Lc(t, e) {
1046
+ if (!arguments.length) return Array.from(this, Bc);
1047
+ var i = e ? Ac : wc, r = this._parents, n = this._groups;
1048
+ typeof t != "function" && (t = vc(t));
1042
1049
  for (var s = n.length, o = new Array(s), a = new Array(s), l = new Array(s), c = 0; c < s; ++c) {
1043
- var u = r[c], d = n[c], h = d.length, f = Lc(t.call(u, u && u.__data__, c, r)), m = f.length, y = a[c] = new Array(m), C = o[c] = new Array(m), L = l[c] = new Array(h);
1050
+ var u = r[c], d = n[c], h = d.length, f = Ec(t.call(u, u && u.__data__, c, r)), m = f.length, y = a[c] = new Array(m), C = o[c] = new Array(m), L = l[c] = new Array(h);
1044
1051
  i(u, d, y, C, L, f, e);
1045
1052
  for (var b = 0, R = 0, x, S; b < m; ++b)
1046
1053
  if (x = y[b]) {
@@ -1050,17 +1057,17 @@ function Bc(t, e) {
1050
1057
  }
1051
1058
  return o = new xt(o, r), o._enter = a, o._exit = l, o;
1052
1059
  }
1053
- function Lc(t) {
1060
+ function Ec(t) {
1054
1061
  return typeof t == "object" && "length" in t ? t : Array.from(t);
1055
1062
  }
1056
- function Ec() {
1063
+ function Fc() {
1057
1064
  return new xt(this._exit || this._groups.map(vs), this._parents);
1058
1065
  }
1059
- function Fc(t, e, i) {
1066
+ function Ic(t, e, i) {
1060
1067
  var r = this.enter(), n = this, s = this.exit();
1061
1068
  return typeof t == "function" ? (r = t(r), r && (r = r.selection())) : r = r.append(t + ""), e != null && (n = e(n), n && (n = n.selection())), i == null ? s.remove() : i(s), r && n ? r.merge(n).order() : n;
1062
1069
  }
1063
- function Ic(t) {
1070
+ function Oc(t) {
1064
1071
  for (var e = t.selection ? t.selection() : t, i = this._groups, r = e._groups, n = i.length, s = r.length, o = Math.min(n, s), a = new Array(n), l = 0; l < o; ++l)
1065
1072
  for (var c = i[l], u = r[l], d = c.length, h = a[l] = new Array(d), f, m = 0; m < d; ++m)
1066
1073
  (f = c[m] || u[m]) && (h[m] = f);
@@ -1068,14 +1075,14 @@ function Ic(t) {
1068
1075
  a[l] = i[l];
1069
1076
  return new xt(a, this._parents);
1070
1077
  }
1071
- function Oc() {
1078
+ function Mc() {
1072
1079
  for (var t = this._groups, e = -1, i = t.length; ++e < i; )
1073
1080
  for (var r = t[e], n = r.length - 1, s = r[n], o; --n >= 0; )
1074
1081
  (o = r[n]) && (s && o.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(o, s), s = o);
1075
1082
  return this;
1076
1083
  }
1077
- function Mc(t) {
1078
- t || (t = Dc);
1084
+ function Dc(t) {
1085
+ t || (t = Nc);
1079
1086
  function e(d, h) {
1080
1087
  return d && h ? t(d.__data__, h.__data__) : !d - !h;
1081
1088
  }
@@ -1086,17 +1093,17 @@ function Mc(t) {
1086
1093
  }
1087
1094
  return new xt(n, this._parents).order();
1088
1095
  }
1089
- function Dc(t, e) {
1096
+ function Nc(t, e) {
1090
1097
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
1091
1098
  }
1092
- function Nc() {
1099
+ function $c() {
1093
1100
  var t = arguments[0];
1094
1101
  return arguments[0] = this, t.apply(null, arguments), this;
1095
1102
  }
1096
- function $c() {
1103
+ function Rc() {
1097
1104
  return Array.from(this);
1098
1105
  }
1099
- function Rc() {
1106
+ function qc() {
1100
1107
  for (var t = this._groups, e = 0, i = t.length; e < i; ++e)
1101
1108
  for (var r = t[e], n = 0, s = r.length; n < s; ++n) {
1102
1109
  var o = r[n];
@@ -1104,103 +1111,103 @@ function Rc() {
1104
1111
  }
1105
1112
  return null;
1106
1113
  }
1107
- function qc() {
1114
+ function Pc() {
1108
1115
  let t = 0;
1109
1116
  for (const e of this) ++t;
1110
1117
  return t;
1111
1118
  }
1112
- function Pc() {
1119
+ function zc() {
1113
1120
  return !this.node();
1114
1121
  }
1115
- function zc(t) {
1122
+ function Wc(t) {
1116
1123
  for (var e = this._groups, i = 0, r = e.length; i < r; ++i)
1117
1124
  for (var n = e[i], s = 0, o = n.length, a; s < o; ++s)
1118
1125
  (a = n[s]) && t.call(a, a.__data__, s, n);
1119
1126
  return this;
1120
1127
  }
1121
- function Wc(t) {
1128
+ function Yc(t) {
1122
1129
  return function() {
1123
1130
  this.removeAttribute(t);
1124
1131
  };
1125
1132
  }
1126
- function Yc(t) {
1133
+ function Hc(t) {
1127
1134
  return function() {
1128
1135
  this.removeAttributeNS(t.space, t.local);
1129
1136
  };
1130
1137
  }
1131
- function Hc(t, e) {
1138
+ function Uc(t, e) {
1132
1139
  return function() {
1133
1140
  this.setAttribute(t, e);
1134
1141
  };
1135
1142
  }
1136
- function Uc(t, e) {
1143
+ function Xc(t, e) {
1137
1144
  return function() {
1138
1145
  this.setAttributeNS(t.space, t.local, e);
1139
1146
  };
1140
1147
  }
1141
- function Xc(t, e) {
1148
+ function jc(t, e) {
1142
1149
  return function() {
1143
1150
  var i = e.apply(this, arguments);
1144
1151
  i == null ? this.removeAttribute(t) : this.setAttribute(t, i);
1145
1152
  };
1146
1153
  }
1147
- function jc(t, e) {
1154
+ function Gc(t, e) {
1148
1155
  return function() {
1149
1156
  var i = e.apply(this, arguments);
1150
1157
  i == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, i);
1151
1158
  };
1152
1159
  }
1153
- function Gc(t, e) {
1160
+ function Vc(t, e) {
1154
1161
  var i = gr(t);
1155
1162
  if (arguments.length < 2) {
1156
1163
  var r = this.node();
1157
1164
  return i.local ? r.getAttributeNS(i.space, i.local) : r.getAttribute(i);
1158
1165
  }
1159
- return this.each((e == null ? i.local ? Yc : Wc : typeof e == "function" ? i.local ? jc : Xc : i.local ? Uc : Hc)(i, e));
1166
+ return this.each((e == null ? i.local ? Hc : Yc : typeof e == "function" ? i.local ? Gc : jc : i.local ? Xc : Uc)(i, e));
1160
1167
  }
1161
1168
  function ws(t) {
1162
1169
  return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
1163
1170
  }
1164
- function Vc(t) {
1171
+ function Kc(t) {
1165
1172
  return function() {
1166
1173
  this.style.removeProperty(t);
1167
1174
  };
1168
1175
  }
1169
- function Kc(t, e, i) {
1176
+ function Zc(t, e, i) {
1170
1177
  return function() {
1171
1178
  this.style.setProperty(t, e, i);
1172
1179
  };
1173
1180
  }
1174
- function Zc(t, e, i) {
1181
+ function Jc(t, e, i) {
1175
1182
  return function() {
1176
1183
  var r = e.apply(this, arguments);
1177
1184
  r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, i);
1178
1185
  };
1179
1186
  }
1180
- function Jc(t, e, i) {
1181
- return arguments.length > 1 ? this.each((e == null ? Vc : typeof e == "function" ? Zc : Kc)(t, e, i ?? "")) : Oe(this.node(), t);
1187
+ function Qc(t, e, i) {
1188
+ return arguments.length > 1 ? this.each((e == null ? Kc : typeof e == "function" ? Jc : Zc)(t, e, i ?? "")) : Oe(this.node(), t);
1182
1189
  }
1183
1190
  function Oe(t, e) {
1184
1191
  return t.style.getPropertyValue(e) || ws(t).getComputedStyle(t, null).getPropertyValue(e);
1185
1192
  }
1186
- function Qc(t) {
1193
+ function th(t) {
1187
1194
  return function() {
1188
1195
  delete this[t];
1189
1196
  };
1190
1197
  }
1191
- function th(t, e) {
1198
+ function eh(t, e) {
1192
1199
  return function() {
1193
1200
  this[t] = e;
1194
1201
  };
1195
1202
  }
1196
- function eh(t, e) {
1203
+ function ih(t, e) {
1197
1204
  return function() {
1198
1205
  var i = e.apply(this, arguments);
1199
1206
  i == null ? delete this[t] : this[t] = i;
1200
1207
  };
1201
1208
  }
1202
- function ih(t, e) {
1203
- return arguments.length > 1 ? this.each((e == null ? Qc : typeof e == "function" ? eh : th)(t, e)) : this.node()[t];
1209
+ function rh(t, e) {
1210
+ return arguments.length > 1 ? this.each((e == null ? th : typeof e == "function" ? ih : eh)(t, e)) : this.node()[t];
1204
1211
  }
1205
1212
  function As(t) {
1206
1213
  return t.trim().split(/^|\s+/);
@@ -1230,123 +1237,123 @@ function Ls(t, e) {
1230
1237
  function Es(t, e) {
1231
1238
  for (var i = bn(t), r = -1, n = e.length; ++r < n; ) i.remove(e[r]);
1232
1239
  }
1233
- function rh(t) {
1240
+ function nh(t) {
1234
1241
  return function() {
1235
1242
  Ls(this, t);
1236
1243
  };
1237
1244
  }
1238
- function nh(t) {
1245
+ function oh(t) {
1239
1246
  return function() {
1240
1247
  Es(this, t);
1241
1248
  };
1242
1249
  }
1243
- function oh(t, e) {
1250
+ function sh(t, e) {
1244
1251
  return function() {
1245
1252
  (e.apply(this, arguments) ? Ls : Es)(this, t);
1246
1253
  };
1247
1254
  }
1248
- function sh(t, e) {
1255
+ function ah(t, e) {
1249
1256
  var i = As(t + "");
1250
1257
  if (arguments.length < 2) {
1251
1258
  for (var r = bn(this.node()), n = -1, s = i.length; ++n < s; ) if (!r.contains(i[n])) return !1;
1252
1259
  return !0;
1253
1260
  }
1254
- return this.each((typeof e == "function" ? oh : e ? rh : nh)(i, e));
1261
+ return this.each((typeof e == "function" ? sh : e ? nh : oh)(i, e));
1255
1262
  }
1256
- function ah() {
1263
+ function lh() {
1257
1264
  this.textContent = "";
1258
1265
  }
1259
- function lh(t) {
1266
+ function ch(t) {
1260
1267
  return function() {
1261
1268
  this.textContent = t;
1262
1269
  };
1263
1270
  }
1264
- function ch(t) {
1271
+ function hh(t) {
1265
1272
  return function() {
1266
1273
  var e = t.apply(this, arguments);
1267
1274
  this.textContent = e ?? "";
1268
1275
  };
1269
1276
  }
1270
- function hh(t) {
1271
- return arguments.length ? this.each(t == null ? ah : (typeof t == "function" ? ch : lh)(t)) : this.node().textContent;
1277
+ function uh(t) {
1278
+ return arguments.length ? this.each(t == null ? lh : (typeof t == "function" ? hh : ch)(t)) : this.node().textContent;
1272
1279
  }
1273
- function uh() {
1280
+ function dh() {
1274
1281
  this.innerHTML = "";
1275
1282
  }
1276
- function dh(t) {
1283
+ function fh(t) {
1277
1284
  return function() {
1278
1285
  this.innerHTML = t;
1279
1286
  };
1280
1287
  }
1281
- function fh(t) {
1288
+ function ph(t) {
1282
1289
  return function() {
1283
1290
  var e = t.apply(this, arguments);
1284
1291
  this.innerHTML = e ?? "";
1285
1292
  };
1286
1293
  }
1287
- function ph(t) {
1288
- return arguments.length ? this.each(t == null ? uh : (typeof t == "function" ? fh : dh)(t)) : this.node().innerHTML;
1289
- }
1290
- function gh() {
1291
- this.nextSibling && this.parentNode.appendChild(this);
1294
+ function gh(t) {
1295
+ return arguments.length ? this.each(t == null ? dh : (typeof t == "function" ? ph : fh)(t)) : this.node().innerHTML;
1292
1296
  }
1293
1297
  function mh() {
1294
- return this.each(gh);
1298
+ this.nextSibling && this.parentNode.appendChild(this);
1295
1299
  }
1296
1300
  function yh() {
1297
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
1301
+ return this.each(mh);
1298
1302
  }
1299
1303
  function _h() {
1300
- return this.each(yh);
1304
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
1305
+ }
1306
+ function Ch() {
1307
+ return this.each(_h);
1301
1308
  }
1302
- function Ch(t) {
1309
+ function xh(t) {
1303
1310
  var e = typeof t == "function" ? t : bs(t);
1304
1311
  return this.select(function() {
1305
1312
  return this.appendChild(e.apply(this, arguments));
1306
1313
  });
1307
1314
  }
1308
- function xh() {
1315
+ function bh() {
1309
1316
  return null;
1310
1317
  }
1311
- function bh(t, e) {
1312
- var i = typeof t == "function" ? t : bs(t), r = e == null ? xh : typeof e == "function" ? e : xn(e);
1318
+ function Th(t, e) {
1319
+ var i = typeof t == "function" ? t : bs(t), r = e == null ? bh : typeof e == "function" ? e : xn(e);
1313
1320
  return this.select(function() {
1314
1321
  return this.insertBefore(i.apply(this, arguments), r.apply(this, arguments) || null);
1315
1322
  });
1316
1323
  }
1317
- function Th() {
1324
+ function kh() {
1318
1325
  var t = this.parentNode;
1319
1326
  t && t.removeChild(this);
1320
1327
  }
1321
- function kh() {
1322
- return this.each(Th);
1323
- }
1324
1328
  function Sh() {
1329
+ return this.each(kh);
1330
+ }
1331
+ function vh() {
1325
1332
  var t = this.cloneNode(!1), e = this.parentNode;
1326
1333
  return e ? e.insertBefore(t, this.nextSibling) : t;
1327
1334
  }
1328
- function vh() {
1335
+ function wh() {
1329
1336
  var t = this.cloneNode(!0), e = this.parentNode;
1330
1337
  return e ? e.insertBefore(t, this.nextSibling) : t;
1331
1338
  }
1332
- function wh(t) {
1333
- return this.select(t ? vh : Sh);
1334
- }
1335
1339
  function Ah(t) {
1336
- return arguments.length ? this.property("__data__", t) : this.node().__data__;
1340
+ return this.select(t ? wh : vh);
1337
1341
  }
1338
1342
  function Bh(t) {
1343
+ return arguments.length ? this.property("__data__", t) : this.node().__data__;
1344
+ }
1345
+ function Lh(t) {
1339
1346
  return function(e) {
1340
1347
  t.call(this, e, this.__data__);
1341
1348
  };
1342
1349
  }
1343
- function Lh(t) {
1350
+ function Eh(t) {
1344
1351
  return t.trim().split(/^|\s+/).map(function(e) {
1345
1352
  var i = "", r = e.indexOf(".");
1346
1353
  return r >= 0 && (i = e.slice(r + 1), e = e.slice(0, r)), { type: e, name: i };
1347
1354
  });
1348
1355
  }
1349
- function Eh(t) {
1356
+ function Fh(t) {
1350
1357
  return function() {
1351
1358
  var e = this.__on;
1352
1359
  if (e) {
@@ -1356,9 +1363,9 @@ function Eh(t) {
1356
1363
  }
1357
1364
  };
1358
1365
  }
1359
- function Fh(t, e, i) {
1366
+ function Ih(t, e, i) {
1360
1367
  return function() {
1361
- var r = this.__on, n, s = Bh(e);
1368
+ var r = this.__on, n, s = Lh(e);
1362
1369
  if (r) {
1363
1370
  for (var o = 0, a = r.length; o < a; ++o)
1364
1371
  if ((n = r[o]).type === t.type && n.name === t.name) {
@@ -1369,8 +1376,8 @@ function Fh(t, e, i) {
1369
1376
  this.addEventListener(t.type, s, i), n = { type: t.type, name: t.name, value: e, listener: s, options: i }, r ? r.push(n) : this.__on = [n];
1370
1377
  };
1371
1378
  }
1372
- function Ih(t, e, i) {
1373
- var r = Lh(t + ""), n, s = r.length, o;
1379
+ function Oh(t, e, i) {
1380
+ var r = Eh(t + ""), n, s = r.length, o;
1374
1381
  if (arguments.length < 2) {
1375
1382
  var a = this.node().__on;
1376
1383
  if (a) {
@@ -1381,27 +1388,27 @@ function Ih(t, e, i) {
1381
1388
  }
1382
1389
  return;
1383
1390
  }
1384
- for (a = e ? Fh : Eh, n = 0; n < s; ++n) this.each(a(r[n], e, i));
1391
+ for (a = e ? Ih : Fh, n = 0; n < s; ++n) this.each(a(r[n], e, i));
1385
1392
  return this;
1386
1393
  }
1387
1394
  function Fs(t, e, i) {
1388
1395
  var r = ws(t), n = r.CustomEvent;
1389
1396
  typeof n == "function" ? n = new n(e, i) : (n = r.document.createEvent("Event"), i ? (n.initEvent(e, i.bubbles, i.cancelable), n.detail = i.detail) : n.initEvent(e, !1, !1)), t.dispatchEvent(n);
1390
1397
  }
1391
- function Oh(t, e) {
1398
+ function Mh(t, e) {
1392
1399
  return function() {
1393
1400
  return Fs(this, t, e);
1394
1401
  };
1395
1402
  }
1396
- function Mh(t, e) {
1403
+ function Dh(t, e) {
1397
1404
  return function() {
1398
1405
  return Fs(this, t, e.apply(this, arguments));
1399
1406
  };
1400
1407
  }
1401
- function Dh(t, e) {
1402
- return this.each((typeof e == "function" ? Mh : Oh)(t, e));
1408
+ function Nh(t, e) {
1409
+ return this.each((typeof e == "function" ? Dh : Mh)(t, e));
1403
1410
  }
1404
- function* Nh() {
1411
+ function* $h() {
1405
1412
  for (var t = this._groups, e = 0, i = t.length; e < i; ++e)
1406
1413
  for (var r = t[e], n = 0, s = r.length, o; n < s; ++n)
1407
1414
  (o = r[n]) && (yield o);
@@ -1413,46 +1420,46 @@ function xt(t, e) {
1413
1420
  function _i() {
1414
1421
  return new xt([[document.documentElement]], Is);
1415
1422
  }
1416
- function $h() {
1423
+ function Rh() {
1417
1424
  return this;
1418
1425
  }
1419
1426
  xt.prototype = _i.prototype = {
1420
1427
  constructor: xt,
1421
- select: cc,
1422
- selectAll: fc,
1423
- selectChild: yc,
1424
- selectChildren: bc,
1425
- filter: Tc,
1426
- data: Bc,
1427
- enter: kc,
1428
- exit: Ec,
1429
- join: Fc,
1430
- merge: Ic,
1431
- selection: $h,
1432
- order: Oc,
1433
- sort: Mc,
1434
- call: Nc,
1435
- nodes: $c,
1436
- node: Rc,
1437
- size: qc,
1438
- empty: Pc,
1439
- each: zc,
1440
- attr: Gc,
1441
- style: Jc,
1442
- property: ih,
1443
- classed: sh,
1444
- text: hh,
1445
- html: ph,
1446
- raise: mh,
1447
- lower: _h,
1448
- append: Ch,
1449
- insert: bh,
1450
- remove: kh,
1451
- clone: wh,
1452
- datum: Ah,
1453
- on: Ih,
1454
- dispatch: Dh,
1455
- [Symbol.iterator]: Nh
1428
+ select: hc,
1429
+ selectAll: pc,
1430
+ selectChild: _c,
1431
+ selectChildren: Tc,
1432
+ filter: kc,
1433
+ data: Lc,
1434
+ enter: Sc,
1435
+ exit: Fc,
1436
+ join: Ic,
1437
+ merge: Oc,
1438
+ selection: Rh,
1439
+ order: Mc,
1440
+ sort: Dc,
1441
+ call: $c,
1442
+ nodes: Rc,
1443
+ node: qc,
1444
+ size: Pc,
1445
+ empty: zc,
1446
+ each: Wc,
1447
+ attr: Vc,
1448
+ style: Qc,
1449
+ property: rh,
1450
+ classed: ah,
1451
+ text: uh,
1452
+ html: gh,
1453
+ raise: yh,
1454
+ lower: Ch,
1455
+ append: xh,
1456
+ insert: Th,
1457
+ remove: Sh,
1458
+ clone: Ah,
1459
+ datum: Bh,
1460
+ on: Oh,
1461
+ dispatch: Nh,
1462
+ [Symbol.iterator]: $h
1456
1463
  };
1457
1464
  function St(t) {
1458
1465
  return typeof t == "string" ? new xt([[document.querySelector(t)]], [document.documentElement]) : new xt([[t]], Is);
@@ -1467,7 +1474,7 @@ function Os(t, e) {
1467
1474
  }
1468
1475
  function Ci() {
1469
1476
  }
1470
- var ui = 0.7, Ki = 1 / ui, Le = "\\s*([+-]?\\d+)\\s*", di = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Pt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Rh = /^#([0-9a-f]{3,8})$/, qh = new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`), Ph = new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`), zh = new RegExp(`^rgba\\(${Le},${Le},${Le},${di}\\)$`), Wh = new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${di}\\)$`), Yh = new RegExp(`^hsl\\(${di},${Pt},${Pt}\\)$`), Hh = new RegExp(`^hsla\\(${di},${Pt},${Pt},${di}\\)$`), xo = {
1477
+ var ui = 0.7, Ki = 1 / ui, Le = "\\s*([+-]?\\d+)\\s*", di = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Pt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", qh = /^#([0-9a-f]{3,8})$/, Ph = new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`), zh = new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`), Wh = new RegExp(`^rgba\\(${Le},${Le},${Le},${di}\\)$`), Yh = new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${di}\\)$`), Hh = new RegExp(`^hsl\\(${di},${Pt},${Pt}\\)$`), Uh = new RegExp(`^hsla\\(${di},${Pt},${Pt},${di}\\)$`), xo = {
1471
1478
  aliceblue: 15792383,
1472
1479
  antiquewhite: 16444375,
1473
1480
  aqua: 65535,
@@ -1627,18 +1634,18 @@ Tn(Ci, fi, {
1627
1634
  hex: bo,
1628
1635
  // Deprecated! Use color.formatHex.
1629
1636
  formatHex: bo,
1630
- formatHex8: Uh,
1631
- formatHsl: Xh,
1637
+ formatHex8: Xh,
1638
+ formatHsl: jh,
1632
1639
  formatRgb: To,
1633
1640
  toString: To
1634
1641
  });
1635
1642
  function bo() {
1636
1643
  return this.rgb().formatHex();
1637
1644
  }
1638
- function Uh() {
1645
+ function Xh() {
1639
1646
  return this.rgb().formatHex8();
1640
1647
  }
1641
- function Xh() {
1648
+ function jh() {
1642
1649
  return Ms(this).formatHsl();
1643
1650
  }
1644
1651
  function To() {
@@ -1646,7 +1653,7 @@ function To() {
1646
1653
  }
1647
1654
  function fi(t) {
1648
1655
  var e, i;
1649
- return t = (t + "").trim().toLowerCase(), (e = Rh.exec(t)) ? (i = e[1].length, e = parseInt(e[1], 16), i === 6 ? ko(e) : i === 3 ? new yt(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : i === 8 ? Ei(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : i === 4 ? Ei(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qh.exec(t)) ? new yt(e[1], e[2], e[3], 1) : (e = Ph.exec(t)) ? new yt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = zh.exec(t)) ? Ei(e[1], e[2], e[3], e[4]) : (e = Wh.exec(t)) ? Ei(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Yh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, 1) : (e = Hh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, e[4]) : xo.hasOwnProperty(t) ? ko(xo[t]) : t === "transparent" ? new yt(NaN, NaN, NaN, 0) : null;
1656
+ return t = (t + "").trim().toLowerCase(), (e = qh.exec(t)) ? (i = e[1].length, e = parseInt(e[1], 16), i === 6 ? ko(e) : i === 3 ? new yt(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : i === 8 ? Ei(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : i === 4 ? Ei(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = Ph.exec(t)) ? new yt(e[1], e[2], e[3], 1) : (e = zh.exec(t)) ? new yt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Wh.exec(t)) ? Ei(e[1], e[2], e[3], e[4]) : (e = Yh.exec(t)) ? Ei(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Hh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, 1) : (e = Uh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, e[4]) : xo.hasOwnProperty(t) ? ko(xo[t]) : t === "transparent" ? new yt(NaN, NaN, NaN, 0) : null;
1650
1657
  }
1651
1658
  function ko(t) {
1652
1659
  return new yt(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
@@ -1654,11 +1661,11 @@ function ko(t) {
1654
1661
  function Ei(t, e, i, r) {
1655
1662
  return r <= 0 && (t = e = i = NaN), new yt(t, e, i, r);
1656
1663
  }
1657
- function jh(t) {
1664
+ function Gh(t) {
1658
1665
  return t instanceof Ci || (t = fi(t)), t ? (t = t.rgb(), new yt(t.r, t.g, t.b, t.opacity)) : new yt();
1659
1666
  }
1660
1667
  function en(t, e, i, r) {
1661
- return arguments.length === 1 ? jh(t) : new yt(t, e, i, r ?? 1);
1668
+ return arguments.length === 1 ? Gh(t) : new yt(t, e, i, r ?? 1);
1662
1669
  }
1663
1670
  function yt(t, e, i, r) {
1664
1671
  this.r = +t, this.g = +e, this.b = +i, this.opacity = +r;
@@ -1682,14 +1689,14 @@ Tn(yt, en, Os(Ci, {
1682
1689
  hex: So,
1683
1690
  // Deprecated! Use color.formatHex.
1684
1691
  formatHex: So,
1685
- formatHex8: Gh,
1692
+ formatHex8: Vh,
1686
1693
  formatRgb: vo,
1687
1694
  toString: vo
1688
1695
  }));
1689
1696
  function So() {
1690
1697
  return `#${pe(this.r)}${pe(this.g)}${pe(this.b)}`;
1691
1698
  }
1692
- function Gh() {
1699
+ function Vh() {
1693
1700
  return `#${pe(this.r)}${pe(this.g)}${pe(this.b)}${pe((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1694
1701
  }
1695
1702
  function vo() {
@@ -1716,13 +1723,13 @@ function Ms(t) {
1716
1723
  var e = t.r / 255, i = t.g / 255, r = t.b / 255, n = Math.min(e, i, r), s = Math.max(e, i, r), o = NaN, a = s - n, l = (s + n) / 2;
1717
1724
  return a ? (e === s ? o = (i - r) / a + (i < r) * 6 : i === s ? o = (r - e) / a + 2 : o = (e - i) / a + 4, a /= l < 0.5 ? s + n : 2 - s - n, o *= 60) : a = l > 0 && l < 1 ? 0 : o, new Ft(o, a, l, t.opacity);
1718
1725
  }
1719
- function Vh(t, e, i, r) {
1726
+ function Kh(t, e, i, r) {
1720
1727
  return arguments.length === 1 ? Ms(t) : new Ft(t, e, i, r ?? 1);
1721
1728
  }
1722
1729
  function Ft(t, e, i, r) {
1723
1730
  this.h = +t, this.s = +e, this.l = +i, this.opacity = +r;
1724
1731
  }
1725
- Tn(Ft, Vh, Os(Ci, {
1732
+ Tn(Ft, Kh, Os(Ci, {
1726
1733
  brighter(t) {
1727
1734
  return t = t == null ? Ki : Math.pow(Ki, t), new Ft(this.h, this.s, this.l * t, this.opacity);
1728
1735
  },
@@ -1764,18 +1771,18 @@ function Ds(t, e) {
1764
1771
  return t + i * e;
1765
1772
  };
1766
1773
  }
1767
- function Kh(t, e, i) {
1774
+ function Zh(t, e, i) {
1768
1775
  return t = Math.pow(t, i), e = Math.pow(e, i) - t, i = 1 / i, function(r) {
1769
1776
  return Math.pow(t + r * e, i);
1770
1777
  };
1771
1778
  }
1772
- function U_(t, e) {
1779
+ function X_(t, e) {
1773
1780
  var i = e - t;
1774
1781
  return i ? Ds(t, i > 180 || i < -180 ? i - 360 * Math.round(i / 360) : i) : kn(isNaN(t) ? e : t);
1775
1782
  }
1776
- function Zh(t) {
1783
+ function Jh(t) {
1777
1784
  return (t = +t) == 1 ? Ns : function(e, i) {
1778
- return i - e ? Kh(e, i, t) : kn(isNaN(e) ? i : e);
1785
+ return i - e ? Zh(e, i, t) : kn(isNaN(e) ? i : e);
1779
1786
  };
1780
1787
  }
1781
1788
  function Ns(t, e) {
@@ -1783,7 +1790,7 @@ function Ns(t, e) {
1783
1790
  return i ? Ds(t, i) : kn(isNaN(t) ? e : t);
1784
1791
  }
1785
1792
  const Bo = (function t(e) {
1786
- var i = Zh(e);
1793
+ var i = Jh(e);
1787
1794
  function r(n, s) {
1788
1795
  var o = i((n = en(n)).r, (s = en(s)).r), a = i(n.g, s.g), l = i(n.b, s.b), c = Ns(n.opacity, s.opacity);
1789
1796
  return function(u) {
@@ -1798,21 +1805,21 @@ function se(t, e) {
1798
1805
  };
1799
1806
  }
1800
1807
  var rn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Pr = new RegExp(rn.source, "g");
1801
- function Jh(t) {
1808
+ function Qh(t) {
1802
1809
  return function() {
1803
1810
  return t;
1804
1811
  };
1805
1812
  }
1806
- function Qh(t) {
1813
+ function tu(t) {
1807
1814
  return function(e) {
1808
1815
  return t(e) + "";
1809
1816
  };
1810
1817
  }
1811
- function tu(t, e) {
1818
+ function eu(t, e) {
1812
1819
  var i = rn.lastIndex = Pr.lastIndex = 0, r, n, s, o = -1, a = [], l = [];
1813
1820
  for (t = t + "", e = e + ""; (r = rn.exec(t)) && (n = Pr.exec(e)); )
1814
1821
  (s = n.index) > i && (s = e.slice(i, s), a[o] ? a[o] += s : a[++o] = s), (r = r[0]) === (n = n[0]) ? a[o] ? a[o] += n : a[++o] = n : (a[++o] = null, l.push({ i: o, x: se(r, n) })), i = Pr.lastIndex;
1815
- return i < e.length && (s = e.slice(i), a[o] ? a[o] += s : a[++o] = s), a.length < 2 ? l[0] ? Qh(l[0].x) : Jh(e) : (e = l.length, function(c) {
1822
+ return i < e.length && (s = e.slice(i), a[o] ? a[o] += s : a[++o] = s), a.length < 2 ? l[0] ? tu(l[0].x) : Qh(e) : (e = l.length, function(c) {
1816
1823
  for (var u = 0, d; u < e; ++u) a[(d = l[u]).i] = d.x(c);
1817
1824
  return a.join("");
1818
1825
  });
@@ -1837,11 +1844,11 @@ function $s(t, e, i, r, n, s) {
1837
1844
  };
1838
1845
  }
1839
1846
  var Ii;
1840
- function eu(t) {
1847
+ function iu(t) {
1841
1848
  const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
1842
1849
  return e.isIdentity ? nn : $s(e.a, e.b, e.c, e.d, e.e, e.f);
1843
1850
  }
1844
- function iu(t) {
1851
+ function ru(t) {
1845
1852
  return t == null || (Ii || (Ii = document.createElementNS("http://www.w3.org/2000/svg", "g")), Ii.setAttribute("transform", t), !(t = Ii.transform.baseVal.consolidate())) ? nn : (t = t.matrix, $s(t.a, t.b, t.c, t.d, t.e, t.f));
1846
1853
  }
1847
1854
  function Rs(t, e, i, r) {
@@ -1874,13 +1881,13 @@ function Rs(t, e, i, r) {
1874
1881
  };
1875
1882
  };
1876
1883
  }
1877
- var ru = Rs(eu, "px, ", "px)", "deg)"), nu = Rs(iu, ", ", ")", ")"), Me = 0, ei = 0, Ge = 0, qs = 1e3, Ji, ii, Qi = 0, _e = 0, mr = 0, pi = typeof performance == "object" && performance.now ? performance : Date, Ps = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1884
+ var nu = Rs(iu, "px, ", "px)", "deg)"), ou = Rs(ru, ", ", ")", ")"), Me = 0, ei = 0, Ge = 0, qs = 1e3, Ji, ii, Qi = 0, _e = 0, mr = 0, pi = typeof performance == "object" && performance.now ? performance : Date, Ps = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1878
1885
  setTimeout(t, 17);
1879
1886
  };
1880
1887
  function Sn() {
1881
- return _e || (Ps(ou), _e = pi.now() + mr);
1888
+ return _e || (Ps(su), _e = pi.now() + mr);
1882
1889
  }
1883
- function ou() {
1890
+ function su() {
1884
1891
  _e = 0;
1885
1892
  }
1886
1893
  function tr() {
@@ -1900,7 +1907,7 @@ function zs(t, e, i) {
1900
1907
  var r = new tr();
1901
1908
  return r.restart(t, e, i), r;
1902
1909
  }
1903
- function su() {
1910
+ function au() {
1904
1911
  Sn(), ++Me;
1905
1912
  for (var t = Ji, e; t; )
1906
1913
  (e = _e - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
@@ -1909,16 +1916,16 @@ function su() {
1909
1916
  function Eo() {
1910
1917
  _e = (Qi = pi.now()) + mr, Me = ei = 0;
1911
1918
  try {
1912
- su();
1919
+ au();
1913
1920
  } finally {
1914
- Me = 0, lu(), _e = 0;
1921
+ Me = 0, cu(), _e = 0;
1915
1922
  }
1916
1923
  }
1917
- function au() {
1924
+ function lu() {
1918
1925
  var t = pi.now(), e = t - Qi;
1919
1926
  e > qs && (mr -= e, Qi = t);
1920
1927
  }
1921
- function lu() {
1928
+ function cu() {
1922
1929
  for (var t, e = Ji, i, r = 1 / 0; e; )
1923
1930
  e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (i = e._next, e._next = null, e = t ? t._next = i : Ji = i);
1924
1931
  ii = t, on(r);
@@ -1927,7 +1934,7 @@ function on(t) {
1927
1934
  if (!Me) {
1928
1935
  ei && (ei = clearTimeout(ei));
1929
1936
  var e = t - _e;
1930
- e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() - mr)), Ge && (Ge = clearInterval(Ge))) : (Ge || (Qi = pi.now(), Ge = setInterval(au, qs)), Me = 1, Ps(Eo));
1937
+ e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() - mr)), Ge && (Ge = clearInterval(Ge))) : (Ge || (Qi = pi.now(), Ge = setInterval(lu, qs)), Me = 1, Ps(Eo));
1931
1938
  }
1932
1939
  }
1933
1940
  function Fo(t, e, i) {
@@ -1936,19 +1943,19 @@ function Fo(t, e, i) {
1936
1943
  r.stop(), t(n + e);
1937
1944
  }, e, i), r;
1938
1945
  }
1939
- var cu = xs("start", "end", "cancel", "interrupt"), hu = [], Ws = 0, Io = 1, sn = 2, Pi = 3, Oo = 4, an = 5, zi = 6;
1946
+ var hu = xs("start", "end", "cancel", "interrupt"), uu = [], Ws = 0, Io = 1, sn = 2, Pi = 3, Oo = 4, an = 5, zi = 6;
1940
1947
  function yr(t, e, i, r, n, s) {
1941
1948
  var o = t.__transition;
1942
1949
  if (!o) t.__transition = {};
1943
1950
  else if (i in o) return;
1944
- uu(t, i, {
1951
+ du(t, i, {
1945
1952
  name: e,
1946
1953
  index: r,
1947
1954
  // For context during callback.
1948
1955
  group: n,
1949
1956
  // For context during callback.
1950
- on: cu,
1951
- tween: hu,
1957
+ on: hu,
1958
+ tween: uu,
1952
1959
  time: s.time,
1953
1960
  delay: s.delay,
1954
1961
  duration: s.duration,
@@ -1972,7 +1979,7 @@ function Ot(t, e) {
1972
1979
  if (!i || !(i = i[e])) throw new Error("transition not found");
1973
1980
  return i;
1974
1981
  }
1975
- function uu(t, e, i) {
1982
+ function du(t, e, i) {
1976
1983
  var r = t.__transition, n;
1977
1984
  r[e] = i, i.timer = zs(s, 0, i.time);
1978
1985
  function s(c) {
@@ -2005,7 +2012,7 @@ function uu(t, e, i) {
2005
2012
  delete t.__transition;
2006
2013
  }
2007
2014
  }
2008
- function du(t, e) {
2015
+ function fu(t, e) {
2009
2016
  var i = t.__transition, r, n, s = !0, o;
2010
2017
  if (i) {
2011
2018
  e = e == null ? null : e + "";
@@ -2019,12 +2026,12 @@ function du(t, e) {
2019
2026
  s && delete t.__transition;
2020
2027
  }
2021
2028
  }
2022
- function fu(t) {
2029
+ function pu(t) {
2023
2030
  return this.each(function() {
2024
- du(this, t);
2031
+ fu(this, t);
2025
2032
  });
2026
2033
  }
2027
- function pu(t, e) {
2034
+ function gu(t, e) {
2028
2035
  var i, r;
2029
2036
  return function() {
2030
2037
  var n = Ut(this, t), s = n.tween;
@@ -2039,7 +2046,7 @@ function pu(t, e) {
2039
2046
  n.tween = r;
2040
2047
  };
2041
2048
  }
2042
- function gu(t, e, i) {
2049
+ function mu(t, e, i) {
2043
2050
  var r, n;
2044
2051
  if (typeof i != "function") throw new Error();
2045
2052
  return function() {
@@ -2056,7 +2063,7 @@ function gu(t, e, i) {
2056
2063
  s.tween = n;
2057
2064
  };
2058
2065
  }
2059
- function mu(t, e) {
2066
+ function yu(t, e) {
2060
2067
  var i = this._id;
2061
2068
  if (t += "", arguments.length < 2) {
2062
2069
  for (var r = Ot(this.node(), i).tween, n = 0, s = r.length, o; n < s; ++n)
@@ -2064,7 +2071,7 @@ function mu(t, e) {
2064
2071
  return o.value;
2065
2072
  return null;
2066
2073
  }
2067
- return this.each((e == null ? pu : gu)(i, t, e));
2074
+ return this.each((e == null ? gu : mu)(i, t, e));
2068
2075
  }
2069
2076
  function wn(t, e, i) {
2070
2077
  var r = t._id;
@@ -2077,141 +2084,141 @@ function wn(t, e, i) {
2077
2084
  }
2078
2085
  function Ys(t, e) {
2079
2086
  var i;
2080
- return (typeof e == "number" ? se : e instanceof fi ? Bo : (i = fi(e)) ? (e = i, Bo) : tu)(t, e);
2087
+ return (typeof e == "number" ? se : e instanceof fi ? Bo : (i = fi(e)) ? (e = i, Bo) : eu)(t, e);
2081
2088
  }
2082
- function yu(t) {
2089
+ function _u(t) {
2083
2090
  return function() {
2084
2091
  this.removeAttribute(t);
2085
2092
  };
2086
2093
  }
2087
- function _u(t) {
2094
+ function Cu(t) {
2088
2095
  return function() {
2089
2096
  this.removeAttributeNS(t.space, t.local);
2090
2097
  };
2091
2098
  }
2092
- function Cu(t, e, i) {
2099
+ function xu(t, e, i) {
2093
2100
  var r, n = i + "", s;
2094
2101
  return function() {
2095
2102
  var o = this.getAttribute(t);
2096
2103
  return o === n ? null : o === r ? s : s = e(r = o, i);
2097
2104
  };
2098
2105
  }
2099
- function xu(t, e, i) {
2106
+ function bu(t, e, i) {
2100
2107
  var r, n = i + "", s;
2101
2108
  return function() {
2102
2109
  var o = this.getAttributeNS(t.space, t.local);
2103
2110
  return o === n ? null : o === r ? s : s = e(r = o, i);
2104
2111
  };
2105
2112
  }
2106
- function bu(t, e, i) {
2113
+ function Tu(t, e, i) {
2107
2114
  var r, n, s;
2108
2115
  return function() {
2109
2116
  var o, a = i(this), l;
2110
2117
  return a == null ? void this.removeAttribute(t) : (o = this.getAttribute(t), l = a + "", o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a)));
2111
2118
  };
2112
2119
  }
2113
- function Tu(t, e, i) {
2120
+ function ku(t, e, i) {
2114
2121
  var r, n, s;
2115
2122
  return function() {
2116
2123
  var o, a = i(this), l;
2117
2124
  return a == null ? void this.removeAttributeNS(t.space, t.local) : (o = this.getAttributeNS(t.space, t.local), l = a + "", o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a)));
2118
2125
  };
2119
2126
  }
2120
- function ku(t, e) {
2121
- var i = gr(t), r = i === "transform" ? nu : Ys;
2122
- return this.attrTween(t, typeof e == "function" ? (i.local ? Tu : bu)(i, r, wn(this, "attr." + t, e)) : e == null ? (i.local ? _u : yu)(i) : (i.local ? xu : Cu)(i, r, e));
2123
- }
2124
2127
  function Su(t, e) {
2128
+ var i = gr(t), r = i === "transform" ? ou : Ys;
2129
+ return this.attrTween(t, typeof e == "function" ? (i.local ? ku : Tu)(i, r, wn(this, "attr." + t, e)) : e == null ? (i.local ? Cu : _u)(i) : (i.local ? bu : xu)(i, r, e));
2130
+ }
2131
+ function vu(t, e) {
2125
2132
  return function(i) {
2126
2133
  this.setAttribute(t, e.call(this, i));
2127
2134
  };
2128
2135
  }
2129
- function vu(t, e) {
2136
+ function wu(t, e) {
2130
2137
  return function(i) {
2131
2138
  this.setAttributeNS(t.space, t.local, e.call(this, i));
2132
2139
  };
2133
2140
  }
2134
- function wu(t, e) {
2141
+ function Au(t, e) {
2135
2142
  var i, r;
2136
2143
  function n() {
2137
2144
  var s = e.apply(this, arguments);
2138
- return s !== r && (i = (r = s) && vu(t, s)), i;
2145
+ return s !== r && (i = (r = s) && wu(t, s)), i;
2139
2146
  }
2140
2147
  return n._value = e, n;
2141
2148
  }
2142
- function Au(t, e) {
2149
+ function Bu(t, e) {
2143
2150
  var i, r;
2144
2151
  function n() {
2145
2152
  var s = e.apply(this, arguments);
2146
- return s !== r && (i = (r = s) && Su(t, s)), i;
2153
+ return s !== r && (i = (r = s) && vu(t, s)), i;
2147
2154
  }
2148
2155
  return n._value = e, n;
2149
2156
  }
2150
- function Bu(t, e) {
2157
+ function Lu(t, e) {
2151
2158
  var i = "attr." + t;
2152
2159
  if (arguments.length < 2) return (i = this.tween(i)) && i._value;
2153
2160
  if (e == null) return this.tween(i, null);
2154
2161
  if (typeof e != "function") throw new Error();
2155
2162
  var r = gr(t);
2156
- return this.tween(i, (r.local ? wu : Au)(r, e));
2163
+ return this.tween(i, (r.local ? Au : Bu)(r, e));
2157
2164
  }
2158
- function Lu(t, e) {
2165
+ function Eu(t, e) {
2159
2166
  return function() {
2160
2167
  vn(this, t).delay = +e.apply(this, arguments);
2161
2168
  };
2162
2169
  }
2163
- function Eu(t, e) {
2170
+ function Fu(t, e) {
2164
2171
  return e = +e, function() {
2165
2172
  vn(this, t).delay = e;
2166
2173
  };
2167
2174
  }
2168
- function Fu(t) {
2175
+ function Iu(t) {
2169
2176
  var e = this._id;
2170
- return arguments.length ? this.each((typeof t == "function" ? Lu : Eu)(e, t)) : Ot(this.node(), e).delay;
2177
+ return arguments.length ? this.each((typeof t == "function" ? Eu : Fu)(e, t)) : Ot(this.node(), e).delay;
2171
2178
  }
2172
- function Iu(t, e) {
2179
+ function Ou(t, e) {
2173
2180
  return function() {
2174
2181
  Ut(this, t).duration = +e.apply(this, arguments);
2175
2182
  };
2176
2183
  }
2177
- function Ou(t, e) {
2184
+ function Mu(t, e) {
2178
2185
  return e = +e, function() {
2179
2186
  Ut(this, t).duration = e;
2180
2187
  };
2181
2188
  }
2182
- function Mu(t) {
2189
+ function Du(t) {
2183
2190
  var e = this._id;
2184
- return arguments.length ? this.each((typeof t == "function" ? Iu : Ou)(e, t)) : Ot(this.node(), e).duration;
2191
+ return arguments.length ? this.each((typeof t == "function" ? Ou : Mu)(e, t)) : Ot(this.node(), e).duration;
2185
2192
  }
2186
- function Du(t, e) {
2193
+ function Nu(t, e) {
2187
2194
  if (typeof e != "function") throw new Error();
2188
2195
  return function() {
2189
2196
  Ut(this, t).ease = e;
2190
2197
  };
2191
2198
  }
2192
- function Nu(t) {
2199
+ function $u(t) {
2193
2200
  var e = this._id;
2194
- return arguments.length ? this.each(Du(e, t)) : Ot(this.node(), e).ease;
2201
+ return arguments.length ? this.each(Nu(e, t)) : Ot(this.node(), e).ease;
2195
2202
  }
2196
- function $u(t, e) {
2203
+ function Ru(t, e) {
2197
2204
  return function() {
2198
2205
  var i = e.apply(this, arguments);
2199
2206
  if (typeof i != "function") throw new Error();
2200
2207
  Ut(this, t).ease = i;
2201
2208
  };
2202
2209
  }
2203
- function Ru(t) {
2210
+ function qu(t) {
2204
2211
  if (typeof t != "function") throw new Error();
2205
- return this.each($u(this._id, t));
2212
+ return this.each(Ru(this._id, t));
2206
2213
  }
2207
- function qu(t) {
2214
+ function Pu(t) {
2208
2215
  typeof t != "function" && (t = ks(t));
2209
2216
  for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
2210
2217
  for (var s = e[n], o = s.length, a = r[n] = [], l, c = 0; c < o; ++c)
2211
2218
  (l = s[c]) && t.call(l, l.__data__, c, s) && a.push(l);
2212
2219
  return new ee(r, this._parents, this._name, this._id);
2213
2220
  }
2214
- function Pu(t) {
2221
+ function zu(t) {
2215
2222
  if (t._id !== this._id) throw new Error();
2216
2223
  for (var e = this._groups, i = t._groups, r = e.length, n = i.length, s = Math.min(r, n), o = new Array(r), a = 0; a < s; ++a)
2217
2224
  for (var l = e[a], c = i[a], u = l.length, d = o[a] = new Array(u), h, f = 0; f < u; ++f)
@@ -2220,34 +2227,34 @@ function Pu(t) {
2220
2227
  o[a] = e[a];
2221
2228
  return new ee(o, this._parents, this._name, this._id);
2222
2229
  }
2223
- function zu(t) {
2230
+ function Wu(t) {
2224
2231
  return (t + "").trim().split(/^|\s+/).every(function(e) {
2225
2232
  var i = e.indexOf(".");
2226
2233
  return i >= 0 && (e = e.slice(0, i)), !e || e === "start";
2227
2234
  });
2228
2235
  }
2229
- function Wu(t, e, i) {
2230
- var r, n, s = zu(e) ? vn : Ut;
2236
+ function Yu(t, e, i) {
2237
+ var r, n, s = Wu(e) ? vn : Ut;
2231
2238
  return function() {
2232
2239
  var o = s(this, t), a = o.on;
2233
2240
  a !== r && (n = (r = a).copy()).on(e, i), o.on = n;
2234
2241
  };
2235
2242
  }
2236
- function Yu(t, e) {
2243
+ function Hu(t, e) {
2237
2244
  var i = this._id;
2238
- return arguments.length < 2 ? Ot(this.node(), i).on.on(t) : this.each(Wu(i, t, e));
2245
+ return arguments.length < 2 ? Ot(this.node(), i).on.on(t) : this.each(Yu(i, t, e));
2239
2246
  }
2240
- function Hu(t) {
2247
+ function Uu(t) {
2241
2248
  return function() {
2242
2249
  var e = this.parentNode;
2243
2250
  for (var i in this.__transition) if (+i !== t) return;
2244
2251
  e && e.removeChild(this);
2245
2252
  };
2246
2253
  }
2247
- function Uu() {
2248
- return this.on("end.remove", Hu(this._id));
2254
+ function Xu() {
2255
+ return this.on("end.remove", Uu(this._id));
2249
2256
  }
2250
- function Xu(t) {
2257
+ function ju(t) {
2251
2258
  var e = this._name, i = this._id;
2252
2259
  typeof t != "function" && (t = xn(t));
2253
2260
  for (var r = this._groups, n = r.length, s = new Array(n), o = 0; o < n; ++o)
@@ -2255,7 +2262,7 @@ function Xu(t) {
2255
2262
  (u = a[h]) && (d = t.call(u, u.__data__, h, a)) && ("__data__" in u && (d.__data__ = u.__data__), c[h] = d, yr(c[h], e, i, h, c, Ot(u, i)));
2256
2263
  return new ee(s, this._parents, e, i);
2257
2264
  }
2258
- function ju(t) {
2265
+ function Gu(t) {
2259
2266
  var e = this._name, i = this._id;
2260
2267
  typeof t != "function" && (t = Ts(t));
2261
2268
  for (var r = this._groups, n = r.length, s = [], o = [], a = 0; a < n; ++a)
@@ -2267,11 +2274,11 @@ function ju(t) {
2267
2274
  }
2268
2275
  return new ee(s, o, e, i);
2269
2276
  }
2270
- var Gu = _i.prototype.constructor;
2271
- function Vu() {
2272
- return new Gu(this._groups, this._parents);
2277
+ var Vu = _i.prototype.constructor;
2278
+ function Ku() {
2279
+ return new Vu(this._groups, this._parents);
2273
2280
  }
2274
- function Ku(t, e) {
2281
+ function Zu(t, e) {
2275
2282
  var i, r, n;
2276
2283
  return function() {
2277
2284
  var s = Oe(this, t), o = (this.style.removeProperty(t), Oe(this, t));
@@ -2283,86 +2290,86 @@ function Hs(t) {
2283
2290
  this.style.removeProperty(t);
2284
2291
  };
2285
2292
  }
2286
- function Zu(t, e, i) {
2293
+ function Ju(t, e, i) {
2287
2294
  var r, n = i + "", s;
2288
2295
  return function() {
2289
2296
  var o = Oe(this, t);
2290
2297
  return o === n ? null : o === r ? s : s = e(r = o, i);
2291
2298
  };
2292
2299
  }
2293
- function Ju(t, e, i) {
2300
+ function Qu(t, e, i) {
2294
2301
  var r, n, s;
2295
2302
  return function() {
2296
2303
  var o = Oe(this, t), a = i(this), l = a + "";
2297
2304
  return a == null && (l = a = (this.style.removeProperty(t), Oe(this, t))), o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a));
2298
2305
  };
2299
2306
  }
2300
- function Qu(t, e) {
2307
+ function td(t, e) {
2301
2308
  var i, r, n, s = "style." + e, o = "end." + s, a;
2302
2309
  return function() {
2303
2310
  var l = Ut(this, t), c = l.on, u = l.value[s] == null ? a || (a = Hs(e)) : void 0;
2304
2311
  (c !== i || n !== u) && (r = (i = c).copy()).on(o, n = u), l.on = r;
2305
2312
  };
2306
2313
  }
2307
- function td(t, e, i) {
2308
- var r = (t += "") == "transform" ? ru : Ys;
2309
- return e == null ? this.styleTween(t, Ku(t, r)).on("end.style." + t, Hs(t)) : typeof e == "function" ? this.styleTween(t, Ju(t, r, wn(this, "style." + t, e))).each(Qu(this._id, t)) : this.styleTween(t, Zu(t, r, e), i).on("end.style." + t, null);
2310
- }
2311
2314
  function ed(t, e, i) {
2315
+ var r = (t += "") == "transform" ? nu : Ys;
2316
+ return e == null ? this.styleTween(t, Zu(t, r)).on("end.style." + t, Hs(t)) : typeof e == "function" ? this.styleTween(t, Qu(t, r, wn(this, "style." + t, e))).each(td(this._id, t)) : this.styleTween(t, Ju(t, r, e), i).on("end.style." + t, null);
2317
+ }
2318
+ function id(t, e, i) {
2312
2319
  return function(r) {
2313
2320
  this.style.setProperty(t, e.call(this, r), i);
2314
2321
  };
2315
2322
  }
2316
- function id(t, e, i) {
2323
+ function rd(t, e, i) {
2317
2324
  var r, n;
2318
2325
  function s() {
2319
2326
  var o = e.apply(this, arguments);
2320
- return o !== n && (r = (n = o) && ed(t, o, i)), r;
2327
+ return o !== n && (r = (n = o) && id(t, o, i)), r;
2321
2328
  }
2322
2329
  return s._value = e, s;
2323
2330
  }
2324
- function rd(t, e, i) {
2331
+ function nd(t, e, i) {
2325
2332
  var r = "style." + (t += "");
2326
2333
  if (arguments.length < 2) return (r = this.tween(r)) && r._value;
2327
2334
  if (e == null) return this.tween(r, null);
2328
2335
  if (typeof e != "function") throw new Error();
2329
- return this.tween(r, id(t, e, i ?? ""));
2336
+ return this.tween(r, rd(t, e, i ?? ""));
2330
2337
  }
2331
- function nd(t) {
2338
+ function od(t) {
2332
2339
  return function() {
2333
2340
  this.textContent = t;
2334
2341
  };
2335
2342
  }
2336
- function od(t) {
2343
+ function sd(t) {
2337
2344
  return function() {
2338
2345
  var e = t(this);
2339
2346
  this.textContent = e ?? "";
2340
2347
  };
2341
2348
  }
2342
- function sd(t) {
2343
- return this.tween("text", typeof t == "function" ? od(wn(this, "text", t)) : nd(t == null ? "" : t + ""));
2344
- }
2345
2349
  function ad(t) {
2350
+ return this.tween("text", typeof t == "function" ? sd(wn(this, "text", t)) : od(t == null ? "" : t + ""));
2351
+ }
2352
+ function ld(t) {
2346
2353
  return function(e) {
2347
2354
  this.textContent = t.call(this, e);
2348
2355
  };
2349
2356
  }
2350
- function ld(t) {
2357
+ function cd(t) {
2351
2358
  var e, i;
2352
2359
  function r() {
2353
2360
  var n = t.apply(this, arguments);
2354
- return n !== i && (e = (i = n) && ad(n)), e;
2361
+ return n !== i && (e = (i = n) && ld(n)), e;
2355
2362
  }
2356
2363
  return r._value = t, r;
2357
2364
  }
2358
- function cd(t) {
2365
+ function hd(t) {
2359
2366
  var e = "text";
2360
2367
  if (arguments.length < 1) return (e = this.tween(e)) && e._value;
2361
2368
  if (t == null) return this.tween(e, null);
2362
2369
  if (typeof t != "function") throw new Error();
2363
- return this.tween(e, ld(t));
2370
+ return this.tween(e, cd(t));
2364
2371
  }
2365
- function hd() {
2372
+ function ud() {
2366
2373
  for (var t = this._name, e = this._id, i = Us(), r = this._groups, n = r.length, s = 0; s < n; ++s)
2367
2374
  for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
2368
2375
  if (l = o[c]) {
@@ -2376,7 +2383,7 @@ function hd() {
2376
2383
  }
2377
2384
  return new ee(r, this._parents, t, i);
2378
2385
  }
2379
- function ud() {
2386
+ function dd() {
2380
2387
  var t, e, i = this, r = i._id, n = i.size();
2381
2388
  return new Promise(function(s, o) {
2382
2389
  var a = { value: o }, l = { value: function() {
@@ -2388,77 +2395,77 @@ function ud() {
2388
2395
  }), n === 0 && s();
2389
2396
  });
2390
2397
  }
2391
- var dd = 0;
2398
+ var fd = 0;
2392
2399
  function ee(t, e, i, r) {
2393
2400
  this._groups = t, this._parents = e, this._name = i, this._id = r;
2394
2401
  }
2395
2402
  function Us() {
2396
- return ++dd;
2403
+ return ++fd;
2397
2404
  }
2398
2405
  var Vt = _i.prototype;
2399
2406
  ee.prototype = {
2400
2407
  constructor: ee,
2401
- select: Xu,
2402
- selectAll: ju,
2408
+ select: ju,
2409
+ selectAll: Gu,
2403
2410
  selectChild: Vt.selectChild,
2404
2411
  selectChildren: Vt.selectChildren,
2405
- filter: qu,
2406
- merge: Pu,
2407
- selection: Vu,
2408
- transition: hd,
2412
+ filter: Pu,
2413
+ merge: zu,
2414
+ selection: Ku,
2415
+ transition: ud,
2409
2416
  call: Vt.call,
2410
2417
  nodes: Vt.nodes,
2411
2418
  node: Vt.node,
2412
2419
  size: Vt.size,
2413
2420
  empty: Vt.empty,
2414
2421
  each: Vt.each,
2415
- on: Yu,
2416
- attr: ku,
2417
- attrTween: Bu,
2418
- style: td,
2419
- styleTween: rd,
2420
- text: sd,
2421
- textTween: cd,
2422
- remove: Uu,
2423
- tween: mu,
2424
- delay: Fu,
2425
- duration: Mu,
2426
- ease: Nu,
2427
- easeVarying: Ru,
2428
- end: ud,
2422
+ on: Hu,
2423
+ attr: Su,
2424
+ attrTween: Lu,
2425
+ style: ed,
2426
+ styleTween: nd,
2427
+ text: ad,
2428
+ textTween: hd,
2429
+ remove: Xu,
2430
+ tween: yu,
2431
+ delay: Iu,
2432
+ duration: Du,
2433
+ ease: $u,
2434
+ easeVarying: qu,
2435
+ end: dd,
2429
2436
  [Symbol.iterator]: Vt[Symbol.iterator]
2430
2437
  };
2431
- function fd(t) {
2438
+ function pd(t) {
2432
2439
  return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
2433
2440
  }
2434
- var pd = {
2441
+ var gd = {
2435
2442
  time: null,
2436
2443
  // Set on use.
2437
2444
  delay: 0,
2438
2445
  duration: 250,
2439
- ease: fd
2446
+ ease: pd
2440
2447
  };
2441
- function gd(t, e) {
2448
+ function md(t, e) {
2442
2449
  for (var i; !(i = t.__transition) || !(i = i[e]); )
2443
2450
  if (!(t = t.parentNode))
2444
2451
  throw new Error(`transition ${e} not found`);
2445
2452
  return i;
2446
2453
  }
2447
- function md(t) {
2454
+ function yd(t) {
2448
2455
  var e, i;
2449
- t instanceof ee ? (e = t._id, t = t._name) : (e = Us(), (i = pd).time = Sn(), t = t == null ? null : t + "");
2456
+ t instanceof ee ? (e = t._id, t = t._name) : (e = Us(), (i = gd).time = Sn(), t = t == null ? null : t + "");
2450
2457
  for (var r = this._groups, n = r.length, s = 0; s < n; ++s)
2451
2458
  for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
2452
- (l = o[c]) && yr(l, t, e, c, o, i || gd(l, e));
2459
+ (l = o[c]) && yr(l, t, e, c, o, i || md(l, e));
2453
2460
  return new ee(r, this._parents, t, e);
2454
2461
  }
2455
- _i.prototype.interrupt = fu;
2456
- _i.prototype.transition = md;
2457
- const X_ = Math.abs, j_ = Math.atan2, G_ = Math.cos, V_ = Math.max, K_ = Math.min, Z_ = Math.sin, J_ = Math.sqrt, Mo = 1e-12, An = Math.PI, Do = An / 2, Q_ = 2 * An;
2458
- function tC(t) {
2462
+ _i.prototype.interrupt = pu;
2463
+ _i.prototype.transition = yd;
2464
+ const j_ = Math.abs, G_ = Math.atan2, V_ = Math.cos, K_ = Math.max, Z_ = Math.min, J_ = Math.sin, Q_ = Math.sqrt, Mo = 1e-12, An = Math.PI, Do = An / 2, tC = 2 * An;
2465
+ function eC(t) {
2459
2466
  return t > 1 ? 0 : t < -1 ? An : Math.acos(t);
2460
2467
  }
2461
- function eC(t) {
2468
+ function iC(t) {
2462
2469
  return t >= 1 ? Do : t <= -1 ? -Do : Math.asin(t);
2463
2470
  }
2464
2471
  function Xs(t) {
@@ -2491,7 +2498,7 @@ Xs.prototype = {
2491
2498
  }
2492
2499
  }
2493
2500
  };
2494
- function yd(t) {
2501
+ function _d(t) {
2495
2502
  return new Xs(t);
2496
2503
  }
2497
2504
  class js {
@@ -2527,10 +2534,10 @@ class js {
2527
2534
  this._x0 = e, this._y0 = i;
2528
2535
  }
2529
2536
  }
2530
- function _d(t) {
2537
+ function Cd(t) {
2531
2538
  return new js(t, !0);
2532
2539
  }
2533
- function Cd(t) {
2540
+ function xd(t) {
2534
2541
  return new js(t, !1);
2535
2542
  }
2536
2543
  function ce() {
@@ -2587,7 +2594,7 @@ _r.prototype = {
2587
2594
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
2588
2595
  }
2589
2596
  };
2590
- function xd(t) {
2597
+ function bd(t) {
2591
2598
  return new _r(t);
2592
2599
  }
2593
2600
  function Gs(t) {
@@ -2633,7 +2640,7 @@ Gs.prototype = {
2633
2640
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
2634
2641
  }
2635
2642
  };
2636
- function bd(t) {
2643
+ function Td(t) {
2637
2644
  return new Gs(t);
2638
2645
  }
2639
2646
  function Vs(t) {
@@ -2675,7 +2682,7 @@ Vs.prototype = {
2675
2682
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
2676
2683
  }
2677
2684
  };
2678
- function Td(t) {
2685
+ function kd(t) {
2679
2686
  return new Vs(t);
2680
2687
  }
2681
2688
  function Ks(t, e) {
@@ -2699,7 +2706,7 @@ Ks.prototype = {
2699
2706
  this._x.push(+t), this._y.push(+e);
2700
2707
  }
2701
2708
  };
2702
- const kd = (function t(e) {
2709
+ const Sd = (function t(e) {
2703
2710
  function i(r) {
2704
2711
  return e === 1 ? new _r(r) : new Ks(r, e);
2705
2712
  }
@@ -2759,7 +2766,7 @@ Bn.prototype = {
2759
2766
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
2760
2767
  }
2761
2768
  };
2762
- const Sd = (function t(e) {
2769
+ const vd = (function t(e) {
2763
2770
  function i(r) {
2764
2771
  return new Bn(r, e);
2765
2772
  }
@@ -2810,7 +2817,7 @@ Ln.prototype = {
2810
2817
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
2811
2818
  }
2812
2819
  };
2813
- const vd = (function t(e) {
2820
+ const wd = (function t(e) {
2814
2821
  function i(r) {
2815
2822
  return new Ln(r, e);
2816
2823
  }
@@ -2855,7 +2862,7 @@ En.prototype = {
2855
2862
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
2856
2863
  }
2857
2864
  };
2858
- const wd = (function t(e) {
2865
+ const Ad = (function t(e) {
2859
2866
  function i(r) {
2860
2867
  return new En(r, e);
2861
2868
  }
@@ -2921,7 +2928,7 @@ Zs.prototype = {
2921
2928
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
2922
2929
  }
2923
2930
  };
2924
- const Ad = (function t(e) {
2931
+ const Bd = (function t(e) {
2925
2932
  function i(r) {
2926
2933
  return e ? new Zs(r, e) : new Bn(r, 0);
2927
2934
  }
@@ -2976,7 +2983,7 @@ Js.prototype = {
2976
2983
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
2977
2984
  }
2978
2985
  };
2979
- const Bd = (function t(e) {
2986
+ const Ld = (function t(e) {
2980
2987
  function i(r) {
2981
2988
  return e ? new Js(r, e) : new Ln(r, 0);
2982
2989
  }
@@ -3025,7 +3032,7 @@ Qs.prototype = {
3025
3032
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
3026
3033
  }
3027
3034
  };
3028
- const Ld = (function t(e) {
3035
+ const Ed = (function t(e) {
3029
3036
  function i(r) {
3030
3037
  return e ? new Qs(r, e) : new En(r, 0);
3031
3038
  }
@@ -3049,7 +3056,7 @@ ta.prototype = {
3049
3056
  t = +t, e = +e, this._point ? this._context.lineTo(t, e) : (this._point = 1, this._context.moveTo(t, e));
3050
3057
  }
3051
3058
  };
3052
- function Ed(t) {
3059
+ function Fd(t) {
3053
3060
  return new ta(t);
3054
3061
  }
3055
3062
  function No(t) {
@@ -3135,10 +3142,10 @@ ia.prototype = {
3135
3142
  this._context.bezierCurveTo(e, t, r, i, s, n);
3136
3143
  }
3137
3144
  };
3138
- function Fd(t) {
3145
+ function Id(t) {
3139
3146
  return new rr(t);
3140
3147
  }
3141
- function Id(t) {
3148
+ function Od(t) {
3142
3149
  return new ea(t);
3143
3150
  }
3144
3151
  function ra(t) {
@@ -3176,7 +3183,7 @@ function qo(t) {
3176
3183
  for (s[i - 1] = (t[i] + n[i - 1]) / 2, e = 0; e < i - 1; ++e) s[e] = 2 * t[e + 1] - n[e + 1];
3177
3184
  return [n, s];
3178
3185
  }
3179
- function Od(t) {
3186
+ function Md(t) {
3180
3187
  return new ra(t);
3181
3188
  }
3182
3189
  function Cr(t, e) {
@@ -3216,13 +3223,13 @@ Cr.prototype = {
3216
3223
  this._x = t, this._y = e;
3217
3224
  }
3218
3225
  };
3219
- function Md(t) {
3226
+ function Dd(t) {
3220
3227
  return new Cr(t, 0.5);
3221
3228
  }
3222
- function Dd(t) {
3229
+ function Nd(t) {
3223
3230
  return new Cr(t, 0);
3224
3231
  }
3225
- function Nd(t) {
3232
+ function $d(t) {
3226
3233
  return new Cr(t, 1);
3227
3234
  }
3228
3235
  function ri(t, e, i) {
@@ -3269,9 +3276,9 @@ ri.prototype;
3269
3276
  const {
3270
3277
  entries: na,
3271
3278
  setPrototypeOf: Po,
3272
- isFrozen: $d,
3273
- getPrototypeOf: Rd,
3274
- getOwnPropertyDescriptor: qd
3279
+ isFrozen: Rd,
3280
+ getPrototypeOf: qd,
3281
+ getOwnPropertyDescriptor: Pd
3275
3282
  } = Object;
3276
3283
  let {
3277
3284
  freeze: ft,
@@ -3297,7 +3304,7 @@ hn || (hn = function(e) {
3297
3304
  r[n - 1] = arguments[n];
3298
3305
  return new e(...r);
3299
3306
  });
3300
- const Oi = pt(Array.prototype.forEach), Pd = pt(Array.prototype.lastIndexOf), zo = pt(Array.prototype.pop), Ve = pt(Array.prototype.push), zd = pt(Array.prototype.splice), Wi = pt(String.prototype.toLowerCase), Wr = pt(String.prototype.toString), Yr = pt(String.prototype.match), Ke = pt(String.prototype.replace), Wd = pt(String.prototype.indexOf), Yd = pt(String.prototype.trim), Et = pt(Object.prototype.hasOwnProperty), ht = pt(RegExp.prototype.test), Ze = Hd(TypeError);
3307
+ const Oi = pt(Array.prototype.forEach), zd = pt(Array.prototype.lastIndexOf), zo = pt(Array.prototype.pop), Ve = pt(Array.prototype.push), Wd = pt(Array.prototype.splice), Wi = pt(String.prototype.toLowerCase), Wr = pt(String.prototype.toString), Yr = pt(String.prototype.match), Ke = pt(String.prototype.replace), Yd = pt(String.prototype.indexOf), Hd = pt(String.prototype.trim), Et = pt(Object.prototype.hasOwnProperty), ht = pt(RegExp.prototype.test), Ze = Ud(TypeError);
3301
3308
  function pt(t) {
3302
3309
  return function(e) {
3303
3310
  e instanceof RegExp && (e.lastIndex = 0);
@@ -3306,7 +3313,7 @@ function pt(t) {
3306
3313
  return cn(t, e, r);
3307
3314
  };
3308
3315
  }
3309
- function Hd(t) {
3316
+ function Ud(t) {
3310
3317
  return function() {
3311
3318
  for (var e = arguments.length, i = new Array(e), r = 0; r < e; r++)
3312
3319
  i[r] = arguments[r];
@@ -3321,13 +3328,13 @@ function H(t, e) {
3321
3328
  let n = e[r];
3322
3329
  if (typeof n == "string") {
3323
3330
  const s = i(n);
3324
- s !== n && ($d(e) || (e[r] = s), n = s);
3331
+ s !== n && (Rd(e) || (e[r] = s), n = s);
3325
3332
  }
3326
3333
  t[n] = !0;
3327
3334
  }
3328
3335
  return t;
3329
3336
  }
3330
- function Ud(t) {
3337
+ function Xd(t) {
3331
3338
  for (let e = 0; e < t.length; e++)
3332
3339
  Et(t, e) || (t[e] = null);
3333
3340
  return t;
@@ -3335,44 +3342,44 @@ function Ud(t) {
3335
3342
  function $t(t) {
3336
3343
  const e = ln(null);
3337
3344
  for (const [i, r] of na(t))
3338
- Et(t, i) && (Array.isArray(r) ? e[i] = Ud(r) : r && typeof r == "object" && r.constructor === Object ? e[i] = $t(r) : e[i] = r);
3345
+ Et(t, i) && (Array.isArray(r) ? e[i] = Xd(r) : r && typeof r == "object" && r.constructor === Object ? e[i] = $t(r) : e[i] = r);
3339
3346
  return e;
3340
3347
  }
3341
3348
  function Je(t, e) {
3342
3349
  for (; t !== null; ) {
3343
- const r = qd(t, e);
3350
+ const r = Pd(t, e);
3344
3351
  if (r) {
3345
3352
  if (r.get)
3346
3353
  return pt(r.get);
3347
3354
  if (typeof r.value == "function")
3348
3355
  return pt(r.value);
3349
3356
  }
3350
- t = Rd(t);
3357
+ t = qd(t);
3351
3358
  }
3352
3359
  function i() {
3353
3360
  return null;
3354
3361
  }
3355
3362
  return i;
3356
3363
  }
3357
- const Wo = ft(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Hr = ft(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ur = ft(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Xd = ft(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Xr = ft(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), jd = ft(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Yo = ft(["#text"]), Ho = ft(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jr = ft(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Uo = ft(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Mi = ft(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Gd = vt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Vd = vt(/<%[\w\W]*|[\w\W]*%>/gm), Kd = vt(/\$\{[\w\W]*/gm), Zd = vt(/^data-[\-\w.\u00B7-\uFFFF]+$/), Jd = vt(/^aria-[\-\w]+$/), oa = vt(
3364
+ const Wo = ft(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Hr = ft(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ur = ft(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), jd = ft(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Xr = ft(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Gd = ft(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Yo = ft(["#text"]), Ho = ft(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jr = ft(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Uo = ft(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Mi = ft(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Vd = vt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Kd = vt(/<%[\w\W]*|[\w\W]*%>/gm), Zd = vt(/\$\{[\w\W]*/gm), Jd = vt(/^data-[\-\w.\u00B7-\uFFFF]+$/), Qd = vt(/^aria-[\-\w]+$/), oa = vt(
3358
3365
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
3359
3366
  // eslint-disable-line no-useless-escape
3360
- ), Qd = vt(/^(?:\w+script|data):/i), tf = vt(
3367
+ ), tf = vt(/^(?:\w+script|data):/i), ef = vt(
3361
3368
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
3362
3369
  // eslint-disable-line no-control-regex
3363
- ), sa = vt(/^html$/i), ef = vt(/^[a-z][.\w]*(-[.\w]+)+$/i);
3370
+ ), sa = vt(/^html$/i), rf = vt(/^[a-z][.\w]*(-[.\w]+)+$/i);
3364
3371
  var Xo = /* @__PURE__ */ Object.freeze({
3365
3372
  __proto__: null,
3366
- ARIA_ATTR: Jd,
3367
- ATTR_WHITESPACE: tf,
3368
- CUSTOM_ELEMENT: ef,
3369
- DATA_ATTR: Zd,
3373
+ ARIA_ATTR: Qd,
3374
+ ATTR_WHITESPACE: ef,
3375
+ CUSTOM_ELEMENT: rf,
3376
+ DATA_ATTR: Jd,
3370
3377
  DOCTYPE_NAME: sa,
3371
- ERB_EXPR: Vd,
3378
+ ERB_EXPR: Kd,
3372
3379
  IS_ALLOWED_URI: oa,
3373
- IS_SCRIPT_OR_DATA: Qd,
3374
- MUSTACHE_EXPR: Gd,
3375
- TMPLIT_EXPR: Kd
3380
+ IS_SCRIPT_OR_DATA: tf,
3381
+ MUSTACHE_EXPR: Vd,
3382
+ TMPLIT_EXPR: Zd
3376
3383
  });
3377
3384
  const Qe = {
3378
3385
  element: 1,
@@ -3381,9 +3388,9 @@ const Qe = {
3381
3388
  progressingInstruction: 7,
3382
3389
  comment: 8,
3383
3390
  document: 9
3384
- }, rf = function() {
3391
+ }, nf = function() {
3385
3392
  return typeof window > "u" ? null : window;
3386
- }, nf = function(e, i) {
3393
+ }, of = function(e, i) {
3387
3394
  if (typeof e != "object" || typeof e.createPolicy != "function")
3388
3395
  return null;
3389
3396
  let r = null;
@@ -3416,7 +3423,7 @@ const Qe = {
3416
3423
  };
3417
3424
  };
3418
3425
  function aa() {
3419
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rf();
3426
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : nf();
3420
3427
  const e = (O) => aa(O);
3421
3428
  if (e.version = "3.3.1", e.removed = [], !t || !t.document || t.document.nodeType !== Qe.document || !t.Element)
3422
3429
  return e.isSupported = !1, e;
@@ -3527,10 +3534,10 @@ function aa() {
3527
3534
  throw Ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
3528
3535
  x = p.TRUSTED_TYPES_POLICY, S = x.createHTML("");
3529
3536
  } else
3530
- x === void 0 && (x = nf(f, n)), x !== null && typeof S == "string" && (S = x.createHTML(""));
3537
+ x === void 0 && (x = of(f, n)), x !== null && typeof S == "string" && (S = x.createHTML(""));
3531
3538
  ft && ft(p), ke = p;
3532
3539
  }
3533
- }, ro = H({}, [...Hr, ...Ur, ...Xd]), no = H({}, [...Xr, ...jd]), Ol = function(p) {
3540
+ }, ro = H({}, [...Hr, ...Ur, ...jd]), no = H({}, [...Xr, ...Gd]), Ol = function(p) {
3534
3541
  let _ = R(p);
3535
3542
  (!_ || !_.tagName) && (_ = {
3536
3543
  namespaceURI: Te,
@@ -3659,7 +3666,7 @@ function aa() {
3659
3666
  ) return !1;
3660
3667
  } else if (!Ir[_]) {
3661
3668
  if (!ht(W, Ke(B, v, ""))) {
3662
- if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" && Wd(B, "data:") === 0 && Qn[p])) {
3669
+ if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" && Yd(B, "data:") === 0 && Qn[p])) {
3663
3670
  if (!(Bt && !ht(E, Ke(B, v, "")))) {
3664
3671
  if (B)
3665
3672
  return !1;
@@ -3694,7 +3701,7 @@ function aa() {
3694
3701
  namespaceURI: gt,
3695
3702
  value: Gt
3696
3703
  } = st, Se = it(K), $r = Gt;
3697
- let ot = K === "value" ? $r : Yd($r);
3704
+ let ot = K === "value" ? $r : Hd($r);
3698
3705
  if (B.attrName = Se, B.attrValue = ot, B.keepAttr = !0, B.forceKeepAttr = void 0, jt(A.uponSanitizeAttribute, p, B), ot = B.attrValue, Jn && (Se === "id" || Se === "name") && (de(K, p), ot = Al + ot), Ti && ht(/((--!?|])>)|<\/(style|title|textarea)/i, ot)) {
3699
3706
  de(K, p);
3700
3707
  continue;
@@ -3804,8 +3811,8 @@ function aa() {
3804
3811
  typeof p == "function" && Ve(A[O], p);
3805
3812
  }, e.removeHook = function(O, p) {
3806
3813
  if (p !== void 0) {
3807
- const _ = Pd(A[O], p);
3808
- return _ === -1 ? void 0 : zd(A[O], _, 1)[0];
3814
+ const _ = zd(A[O], p);
3815
+ return _ === -1 ? void 0 : Wd(A[O], _, 1)[0];
3809
3816
  }
3810
3817
  return zo(A[O]);
3811
3818
  }, e.removeHooks = function(O) {
@@ -3886,11 +3893,11 @@ const Yi = {
3886
3893
  return -1;
3887
3894
  }
3888
3895
  }
3889
- }, of = {
3896
+ }, sf = {
3890
3897
  /* API */
3891
3898
  clamp: (t, e, i) => e > i ? Math.min(e, Math.max(i, t)) : Math.min(i, Math.max(e, t)),
3892
3899
  round: (t) => Math.round(t * 1e10) / 1e10
3893
- }, sf = {
3900
+ }, af = {
3894
3901
  /* API */
3895
3902
  dec2hex: (t) => {
3896
3903
  const e = Math.round(t).toString(16);
@@ -3898,8 +3905,8 @@ const Yi = {
3898
3905
  }
3899
3906
  }, P = {
3900
3907
  channel: Yi,
3901
- lang: of,
3902
- unit: sf
3908
+ lang: sf,
3909
+ unit: af
3903
3910
  }, oe = {};
3904
3911
  for (let t = 0; t <= 255; t++)
3905
3912
  oe[t] = P.unit.dec2hex(t);
@@ -3908,7 +3915,7 @@ const at = {
3908
3915
  RGB: 1,
3909
3916
  HSL: 2
3910
3917
  };
3911
- class af {
3918
+ class lf {
3912
3919
  constructor() {
3913
3920
  this.type = at.ALL;
3914
3921
  }
@@ -3928,10 +3935,10 @@ class af {
3928
3935
  return this.type === e;
3929
3936
  }
3930
3937
  }
3931
- class lf {
3938
+ class cf {
3932
3939
  /* CONSTRUCTOR */
3933
3940
  constructor(e, i) {
3934
- this.color = i, this.changed = !1, this.data = e, this.type = new af();
3941
+ this.color = i, this.changed = !1, this.data = e, this.type = new lf();
3935
3942
  }
3936
3943
  /* API */
3937
3944
  set(e, i) {
@@ -3997,7 +4004,7 @@ class lf {
3997
4004
  this.changed = !0, this.data.a = e;
3998
4005
  }
3999
4006
  }
4000
- const xr = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
4007
+ const xr = new cf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
4001
4008
  /* VARIABLES */
4002
4009
  re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
4003
4010
  /* API */
@@ -4281,10 +4288,10 @@ const xr = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
4281
4288
  a: P.channel.clamp.a(r)
4282
4289
  });
4283
4290
  return Wt.stringify(n);
4284
- }, cf = (t) => {
4291
+ }, hf = (t) => {
4285
4292
  const { r: e, g: i, b: r } = Wt.parse(t), n = 0.2126 * P.channel.toLinear(e) + 0.7152 * P.channel.toLinear(i) + 0.0722 * P.channel.toLinear(r);
4286
4293
  return P.lang.round(n);
4287
- }, hf = (t) => cf(t) >= 0.5, xi = (t) => !hf(t), ca = (t, e, i) => {
4294
+ }, uf = (t) => hf(t) >= 0.5, xi = (t) => !uf(t), ca = (t, e, i) => {
4288
4295
  const r = Wt.parse(t), n = r[e], s = P.channel.clamp[e](n + i);
4289
4296
  return n !== s && (r[e] = s), Wt.stringify(r);
4290
4297
  }, F = (t, e) => ca(t, "l", e), $ = (t, e) => ca(t, "l", -e), g = (t, e) => {
@@ -4292,21 +4299,21 @@ const xr = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
4292
4299
  for (const n in e)
4293
4300
  e[n] && (r[n] = i[n] + e[n]);
4294
4301
  return la(t, r);
4295
- }, uf = (t, e, i = 50) => {
4302
+ }, df = (t, e, i = 50) => {
4296
4303
  const { r, g: n, b: s, a: o } = Wt.parse(t), { r: a, g: l, b: c, a: u } = Wt.parse(e), d = i / 100, h = d * 2 - 1, f = o - u, y = ((h * f === -1 ? h : (h + f) / (1 + h * f)) + 1) / 2, C = 1 - y, L = r * y + a * C, b = n * y + l * C, R = s * y + c * C, x = o * d + u * (1 - d);
4297
4304
  return ai(L, b, R, x);
4298
4305
  }, k = (t, e = 100) => {
4299
4306
  const i = Wt.parse(t);
4300
- return i.r = 255 - i.r, i.g = 255 - i.g, i.b = 255 - i.b, uf(i, t, e);
4307
+ return i.r = 255 - i.r, i.g = 255 - i.g, i.b = 255 - i.b, df(i, t, e);
4301
4308
  };
4302
- var ha = "comm", ua = "rule", da = "decl", df = "@import", ff = "@namespace", pf = "@keyframes", gf = "@layer", fa = Math.abs, In = String.fromCharCode;
4309
+ var ha = "comm", ua = "rule", da = "decl", ff = "@import", pf = "@namespace", gf = "@keyframes", mf = "@layer", fa = Math.abs, In = String.fromCharCode;
4303
4310
  function pa(t) {
4304
4311
  return t.trim();
4305
4312
  }
4306
4313
  function Hi(t, e, i) {
4307
4314
  return t.replace(e, i);
4308
4315
  }
4309
- function mf(t, e, i) {
4316
+ function yf(t, e, i) {
4310
4317
  return t.indexOf(e, i);
4311
4318
  }
4312
4319
  function Fe(t, e) {
@@ -4318,7 +4325,7 @@ function Ne(t, e, i) {
4318
4325
  function qt(t) {
4319
4326
  return t.length;
4320
4327
  }
4321
- function yf(t) {
4328
+ function _f(t) {
4322
4329
  return t.length;
4323
4330
  }
4324
4331
  function Di(t, e) {
@@ -4328,10 +4335,10 @@ var br = 1, $e = 1, ga = 0, wt = 0, Z = 0, Ye = "";
4328
4335
  function On(t, e, i, r, n, s, o, a) {
4329
4336
  return { value: t, root: e, parent: i, type: r, props: n, children: s, line: br, column: $e, length: o, return: "", siblings: a };
4330
4337
  }
4331
- function _f() {
4338
+ function Cf() {
4332
4339
  return Z;
4333
4340
  }
4334
- function Cf() {
4341
+ function xf() {
4335
4342
  return Z = wt > 0 ? Fe(Ye, --wt) : 0, $e--, Z === 10 && ($e = 1, br--), Z;
4336
4343
  }
4337
4344
  function It() {
@@ -4384,21 +4391,21 @@ function gi(t) {
4384
4391
  }
4385
4392
  return 0;
4386
4393
  }
4387
- function xf(t) {
4394
+ function bf(t) {
4388
4395
  return br = $e = 1, ga = qt(Ye = t), wt = 0, [];
4389
4396
  }
4390
- function bf(t) {
4397
+ function Tf(t) {
4391
4398
  return Ye = "", t;
4392
4399
  }
4393
4400
  function Gr(t) {
4394
4401
  return pa(Tr(wt - 1, un(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
4395
4402
  }
4396
- function Tf(t) {
4403
+ function kf(t) {
4397
4404
  for (; (Z = ae()) && Z < 33; )
4398
4405
  It();
4399
4406
  return gi(t) > 2 || gi(Z) > 3 ? "" : " ";
4400
4407
  }
4401
- function kf(t, e) {
4408
+ function Sf(t, e) {
4402
4409
  for (; --e && It() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
4403
4410
  ;
4404
4411
  return Tr(t, Ui() + (e < 6 && ae() == 32 && It() == 32));
@@ -4425,19 +4432,19 @@ function un(t) {
4425
4432
  }
4426
4433
  return wt;
4427
4434
  }
4428
- function Sf(t, e) {
4435
+ function vf(t, e) {
4429
4436
  for (; It() && t + Z !== 57; )
4430
4437
  if (t + Z === 84 && ae() === 47)
4431
4438
  break;
4432
4439
  return "/*" + Tr(e, wt - 1) + "*" + In(t === 47 ? t : It());
4433
4440
  }
4434
- function vf(t) {
4441
+ function wf(t) {
4435
4442
  for (; !gi(ae()); )
4436
4443
  It();
4437
4444
  return Tr(t, wt);
4438
4445
  }
4439
- function wf(t) {
4440
- return bf(Xi("", null, null, null, [""], t = xf(t), 0, [0], t));
4446
+ function Af(t) {
4447
+ return Tf(Xi("", null, null, null, [""], t = bf(t), 0, [0], t));
4441
4448
  }
4442
4449
  function Xi(t, e, i, r, n, s, o, a, l) {
4443
4450
  for (var c = 0, u = 0, d = o, h = 0, f = 0, m = 0, y = 1, C = 1, L = 1, b = 0, R = "", x = n, S = s, X = r, N = R; C; )
@@ -4445,7 +4452,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
4445
4452
  // (
4446
4453
  case 40:
4447
4454
  if (m != 108 && Fe(N, d - 1) == 58) {
4448
- mf(N += Hi(Gr(b), "&", "&\f"), "&\f", fa(c ? a[c - 1] : 0)) != -1 && (L = -1);
4455
+ yf(N += Hi(Gr(b), "&", "&\f"), "&\f", fa(c ? a[c - 1] : 0)) != -1 && (L = -1);
4449
4456
  break;
4450
4457
  }
4451
4458
  // " ' [
@@ -4459,18 +4466,18 @@ function Xi(t, e, i, r, n, s, o, a, l) {
4459
4466
  case 10:
4460
4467
  case 13:
4461
4468
  case 32:
4462
- N += Tf(m);
4469
+ N += kf(m);
4463
4470
  break;
4464
4471
  // \
4465
4472
  case 92:
4466
- N += kf(Ui() - 1, 7);
4473
+ N += Sf(Ui() - 1, 7);
4467
4474
  continue;
4468
4475
  // /
4469
4476
  case 47:
4470
4477
  switch (ae()) {
4471
4478
  case 42:
4472
4479
  case 47:
4473
- Di(Af(Sf(It(), Ui()), e, i, l), l), (gi(m || 1) == 5 || gi(ae() || 1) == 5) && qt(N) && Ne(N, -1, void 0) !== " " && (N += " ");
4480
+ Di(Bf(vf(It(), Ui()), e, i, l), l), (gi(m || 1) == 5 || gi(ae() || 1) == 5) && qt(N) && Ne(N, -1, void 0) !== " " && (N += " ");
4474
4481
  break;
4475
4482
  default:
4476
4483
  N += "/";
@@ -4527,7 +4534,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
4527
4534
  if (y < 1) {
4528
4535
  if (b == 123)
4529
4536
  --y;
4530
- else if (b == 125 && y++ == 0 && Cf() == 125)
4537
+ else if (b == 125 && y++ == 0 && xf() == 125)
4531
4538
  continue;
4532
4539
  }
4533
4540
  switch (N += In(b), b * y) {
@@ -4541,7 +4548,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
4541
4548
  break;
4542
4549
  // @
4543
4550
  case 64:
4544
- ae() === 45 && (N += Gr(It())), h = ae(), u = d = qt(R = N += vf(Ui())), b++;
4551
+ ae() === 45 && (N += Gr(It())), h = ae(), u = d = qt(R = N += wf(Ui())), b++;
4545
4552
  break;
4546
4553
  // -
4547
4554
  case 45:
@@ -4551,13 +4558,13 @@ function Xi(t, e, i, r, n, s, o, a, l) {
4551
4558
  return s;
4552
4559
  }
4553
4560
  function Go(t, e, i, r, n, s, o, a, l, c, u, d) {
4554
- for (var h = n - 1, f = n === 0 ? s : [""], m = yf(f), y = 0, C = 0, L = 0; y < r; ++y)
4561
+ for (var h = n - 1, f = n === 0 ? s : [""], m = _f(f), y = 0, C = 0, L = 0; y < r; ++y)
4555
4562
  for (var b = 0, R = Ne(t, h + 1, h = fa(C = o[y])), x = t; b < m; ++b)
4556
4563
  (x = pa(C > 0 ? f[b] + " " + R : Hi(R, /&\f/g, f[b]))) && (l[L++] = x);
4557
4564
  return On(t, e, i, n === 0 ? ua : a, l, c, u, d);
4558
4565
  }
4559
- function Af(t, e, i, r) {
4560
- return On(t, e, i, ha, In(_f()), Ne(t, 2, -2), 0, r);
4566
+ function Bf(t, e, i, r) {
4567
+ return On(t, e, i, ha, In(Cf()), Ne(t, 2, -2), 0, r);
4561
4568
  }
4562
4569
  function Vo(t, e, i, r, n) {
4563
4570
  return On(t, e, i, da, Ne(t, 0, r), Ne(t, r + 1, -1), r, n);
@@ -4567,17 +4574,17 @@ function dn(t, e) {
4567
4574
  i += e(t[r], r, t, e) || "";
4568
4575
  return i;
4569
4576
  }
4570
- function Bf(t, e, i, r) {
4577
+ function Lf(t, e, i, r) {
4571
4578
  switch (t.type) {
4572
- case gf:
4579
+ case mf:
4573
4580
  if (t.children.length) break;
4574
- case df:
4575
4581
  case ff:
4582
+ case pf:
4576
4583
  case da:
4577
4584
  return t.return = t.return || t.value;
4578
4585
  case ha:
4579
4586
  return "";
4580
- case pf:
4587
+ case gf:
4581
4588
  return t.return = t.value + "{" + dn(t.children, r) + "}";
4582
4589
  case ua:
4583
4590
  if (!qt(t.value = t.props.join(","))) return "";
@@ -4613,13 +4620,13 @@ const Kt = {
4613
4620
  }, D.error = () => {
4614
4621
  }, D.fatal = () => {
4615
4622
  }, e <= Kt.fatal && (D.fatal = console.error ? console.error.bind(console, kt("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", kt("FATAL"))), e <= Kt.error && (D.error = console.error ? console.error.bind(console, kt("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", kt("ERROR"))), e <= Kt.warn && (D.warn = console.warn ? console.warn.bind(console, kt("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", kt("WARN"))), e <= Kt.info && (D.info = console.info ? console.info.bind(console, kt("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", kt("INFO"))), e <= Kt.debug && (D.debug = console.debug ? console.debug.bind(console, kt("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("DEBUG"))), e <= Kt.trace && (D.trace = console.debug ? console.debug.bind(console, kt("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("TRACE")));
4616
- }, kt = (t) => `%c${ic().format("ss.SSS")} : ${t} : `, bi = /<br\s*\/?>/gi, Lf = (t) => t ? ya(t).replace(/\\n/g, "#br#").split("#br#") : [""], Ef = /* @__PURE__ */ (() => {
4623
+ }, kt = (t) => `%c${rc().format("ss.SSS")} : ${t} : `, bi = /<br\s*\/?>/gi, Ef = (t) => t ? ya(t).replace(/\\n/g, "#br#").split("#br#") : [""], Ff = /* @__PURE__ */ (() => {
4617
4624
  let t = !1;
4618
4625
  return () => {
4619
- t || (Ff(), t = !0);
4626
+ t || (If(), t = !0);
4620
4627
  };
4621
4628
  })();
4622
- function Ff() {
4629
+ function If() {
4623
4630
  const t = "data-temp-href-target";
4624
4631
  De.addHook("beforeSanitizeAttributes", (e) => {
4625
4632
  e.tagName === "A" && e.hasAttribute("target") && e.setAttribute(t, e.getAttribute("target") ?? "");
@@ -4627,39 +4634,39 @@ function Ff() {
4627
4634
  e.tagName === "A" && e.hasAttribute(t) && (e.setAttribute("target", e.getAttribute(t) ?? ""), e.removeAttribute(t), e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener"));
4628
4635
  });
4629
4636
  }
4630
- const ma = (t) => (Ef(), De.sanitize(t)), Ko = (t, e) => {
4637
+ const ma = (t) => (Ff(), De.sanitize(t)), Ko = (t, e) => {
4631
4638
  var i;
4632
4639
  if (((i = e.flowchart) == null ? void 0 : i.htmlLabels) !== !1) {
4633
4640
  const r = e.securityLevel;
4634
- r === "antiscript" || r === "strict" ? t = ma(t) : r !== "loose" && (t = ya(t), t = t.replace(/</g, "&lt;").replace(/>/g, "&gt;"), t = t.replace(/=/g, "&equals;"), t = Df(t));
4641
+ r === "antiscript" || r === "strict" ? t = ma(t) : r !== "loose" && (t = ya(t), t = t.replace(/</g, "&lt;").replace(/>/g, "&gt;"), t = t.replace(/=/g, "&equals;"), t = Nf(t));
4635
4642
  }
4636
4643
  return t;
4637
4644
  }, Re = (t, e) => t && (e.dompurifyConfig ? t = De.sanitize(Ko(t, e), e.dompurifyConfig).toString() : t = De.sanitize(Ko(t, e), {
4638
4645
  FORBID_TAGS: ["style"]
4639
- }).toString(), t), If = (t, e) => typeof t == "string" ? Re(t, e) : t.flat().map((i) => Re(i, e)), Of = (t) => bi.test(t), Mf = (t) => t.split(bi), Df = (t) => t.replace(/#br#/g, "<br/>"), ya = (t) => t.replace(bi, "#br#"), Nf = (t) => {
4646
+ }).toString(), t), Of = (t, e) => typeof t == "string" ? Re(t, e) : t.flat().map((i) => Re(i, e)), Mf = (t) => bi.test(t), Df = (t) => t.split(bi), Nf = (t) => t.replace(/#br#/g, "<br/>"), ya = (t) => t.replace(bi, "#br#"), $f = (t) => {
4640
4647
  let e = "";
4641
4648
  return t && (e = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, e = e.replaceAll(/\(/g, "\\("), e = e.replaceAll(/\)/g, "\\)")), e;
4642
- }, _a = (t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())), $f = function(...t) {
4649
+ }, _a = (t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())), Rf = function(...t) {
4643
4650
  const e = t.filter((i) => !isNaN(i));
4644
4651
  return Math.max(...e);
4645
- }, Rf = function(...t) {
4652
+ }, qf = function(...t) {
4646
4653
  const e = t.filter((i) => !isNaN(i));
4647
4654
  return Math.min(...e);
4648
- }, iC = function(t) {
4655
+ }, rC = function(t) {
4649
4656
  const e = t.split(/(,)/), i = [];
4650
4657
  for (let r = 0; r < e.length; r++) {
4651
4658
  let n = e[r];
4652
4659
  if (n === "," && r > 0 && r + 1 < e.length) {
4653
4660
  const s = e[r - 1], o = e[r + 1];
4654
- qf(s, o) && (n = s + "," + o, r++, i.pop());
4661
+ Pf(s, o) && (n = s + "," + o, r++, i.pop());
4655
4662
  }
4656
- i.push(Pf(n));
4663
+ i.push(zf(n));
4657
4664
  }
4658
4665
  return i.join("");
4659
- }, fn = (t, e) => Math.max(0, t.split(e).length - 1), qf = (t, e) => {
4666
+ }, fn = (t, e) => Math.max(0, t.split(e).length - 1), Pf = (t, e) => {
4660
4667
  const i = fn(t, "~"), r = fn(e, "~");
4661
4668
  return i === 1 && r === 1;
4662
- }, Pf = (t) => {
4669
+ }, zf = (t) => {
4663
4670
  const e = fn(t, "~");
4664
4671
  let i = !1;
4665
4672
  if (e <= 1)
@@ -4673,19 +4680,19 @@ const ma = (t) => (Ef(), De.sanitize(t)), Ko = (t, e) => {
4673
4680
  }, Zo = () => window.MathMLElement !== void 0, pn = /\$\$(.*)\$\$/g, Jo = (t) => {
4674
4681
  var e;
4675
4682
  return (((e = t.match(pn)) == null ? void 0 : e.length) ?? 0) > 0;
4676
- }, rC = async (t, e) => {
4683
+ }, nC = async (t, e) => {
4677
4684
  const i = document.createElement("div");
4678
- i.innerHTML = await Wf(t, e), i.id = "katex-temp", i.style.visibility = "hidden", i.style.position = "absolute", i.style.top = "0";
4685
+ i.innerHTML = await Yf(t, e), i.id = "katex-temp", i.style.visibility = "hidden", i.style.position = "absolute", i.style.top = "0";
4679
4686
  const r = document.querySelector("body");
4680
4687
  r == null || r.insertAdjacentElement("beforeend", i);
4681
4688
  const n = { width: i.clientWidth, height: i.clientHeight };
4682
4689
  return i.remove(), n;
4683
- }, zf = async (t, e) => {
4690
+ }, Wf = async (t, e) => {
4684
4691
  if (!Jo(t))
4685
4692
  return t;
4686
4693
  if (!Zo() && !e.legacyMathML)
4687
4694
  return t.replace(pn, "MathML is unsupported in this environment.");
4688
- const { default: i } = await import("./layers.b9B2NY7n.js");
4695
+ const { default: i } = await import("./layers.CbTtLiC-.js").then((r) => r.Q);
4689
4696
  return t.split(bi).map(
4690
4697
  (r) => Jo(r) ? `
4691
4698
  <div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">
@@ -4700,20 +4707,20 @@ const ma = (t) => (Ef(), De.sanitize(t)), Ko = (t, e) => {
4700
4707
  output: Zo() ? "mathml" : "htmlAndMathml"
4701
4708
  }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, "")
4702
4709
  );
4703
- }, Wf = async (t, e) => Re(await zf(t, e), e), Dn = {
4704
- getRows: Lf,
4710
+ }, Yf = async (t, e) => Re(await Wf(t, e), e), Dn = {
4711
+ getRows: Ef,
4705
4712
  sanitizeText: Re,
4706
- sanitizeTextOrArray: If,
4707
- hasBreaks: Of,
4708
- splitBreaks: Mf,
4713
+ sanitizeTextOrArray: Of,
4714
+ hasBreaks: Mf,
4715
+ splitBreaks: Df,
4709
4716
  lineBreakRegex: bi,
4710
4717
  removeScript: ma,
4711
- getUrl: Nf,
4718
+ getUrl: $f,
4712
4719
  evaluate: _a,
4713
- getMax: $f,
4714
- getMin: Rf
4720
+ getMax: Rf,
4721
+ getMin: qf
4715
4722
  }, dt = (t, e) => e ? g(t, { s: -40, l: 10 }) : g(t, { s: -40, l: -10 }), kr = "#ffffff", Sr = "#f2f2f2";
4716
- let Yf = class {
4723
+ let Hf = class {
4717
4724
  constructor() {
4718
4725
  this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
4719
4726
  }
@@ -4762,11 +4769,11 @@ let Yf = class {
4762
4769
  });
4763
4770
  }
4764
4771
  };
4765
- const Hf = (t) => {
4766
- const e = new Yf();
4772
+ const Uf = (t) => {
4773
+ const e = new Hf();
4767
4774
  return e.calculate(t), e;
4768
4775
  };
4769
- let Uf = class {
4776
+ let Xf = class {
4770
4777
  constructor() {
4771
4778
  this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = F(this.primaryColor, 16), this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.background), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = F(k("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#81B1DB", this.border2 = ai(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = $("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = $(this.sectionBkgColor, 10), this.taskBorderColor = ai(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = ai(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
4772
4779
  }
@@ -4811,11 +4818,11 @@ let Uf = class {
4811
4818
  });
4812
4819
  }
4813
4820
  };
4814
- const Xf = (t) => {
4815
- const e = new Uf();
4821
+ const jf = (t) => {
4822
+ const e = new Xf();
4816
4823
  return e.calculate(t), e;
4817
4824
  };
4818
- let jf = class {
4825
+ let Gf = class {
4819
4826
  constructor() {
4820
4827
  this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = g(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#e8e8e8", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.sectionBkgColor = ai(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
4821
4828
  }
@@ -4860,11 +4867,11 @@ let jf = class {
4860
4867
  });
4861
4868
  }
4862
4869
  };
4863
- const Gf = (t) => {
4864
- const e = new jf();
4870
+ const Vf = (t) => {
4871
+ const e = new Gf();
4865
4872
  return e.calculate(t), e;
4866
4873
  };
4867
- let Vf = class {
4874
+ let Kf = class {
4868
4875
  constructor() {
4869
4876
  this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = F("#cde498", 10), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.primaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
4870
4877
  }
@@ -4907,11 +4914,11 @@ let Vf = class {
4907
4914
  });
4908
4915
  }
4909
4916
  };
4910
- const Kf = (t) => {
4911
- const e = new Vf();
4917
+ const Zf = (t) => {
4918
+ const e = new Kf();
4912
4919
  return e.calculate(t), e;
4913
4920
  };
4914
- class Zf {
4921
+ class Jf {
4915
4922
  constructor() {
4916
4923
  this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = F(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
4917
4924
  }
@@ -4957,24 +4964,24 @@ class Zf {
4957
4964
  });
4958
4965
  }
4959
4966
  }
4960
- const Jf = (t) => {
4961
- const e = new Zf();
4967
+ const Qf = (t) => {
4968
+ const e = new Jf();
4962
4969
  return e.calculate(t), e;
4963
4970
  }, te = {
4964
4971
  base: {
4965
- getThemeVariables: Hf
4972
+ getThemeVariables: Uf
4966
4973
  },
4967
4974
  dark: {
4968
- getThemeVariables: Xf
4975
+ getThemeVariables: jf
4969
4976
  },
4970
4977
  default: {
4971
- getThemeVariables: Gf
4978
+ getThemeVariables: Vf
4972
4979
  },
4973
4980
  forest: {
4974
- getThemeVariables: Kf
4981
+ getThemeVariables: Zf
4975
4982
  },
4976
4983
  neutral: {
4977
- getThemeVariables: Jf
4984
+ getThemeVariables: Qf
4978
4985
  }
4979
4986
  }, Zt = {
4980
4987
  flowchart: {
@@ -5640,14 +5647,14 @@ const Jf = (t) => {
5640
5647
  // TODO: can we make this default to `true` instead?
5641
5648
  useMaxWidth: !1
5642
5649
  }
5643
- }, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []), Qf = new Set(xa(Ca, "")), tp = Ca, nr = (t) => {
5650
+ }, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []), tp = new Set(xa(Ca, "")), ep = Ca, nr = (t) => {
5644
5651
  if (D.debug("sanitizeDirective called with", t), !(typeof t != "object" || t == null)) {
5645
5652
  if (Array.isArray(t)) {
5646
5653
  t.forEach((e) => nr(e));
5647
5654
  return;
5648
5655
  }
5649
5656
  for (const e of Object.keys(t)) {
5650
- if (D.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !Qf.has(e) || t[e] == null) {
5657
+ if (D.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !tp.has(e) || t[e] == null) {
5651
5658
  D.debug("sanitize deleting key: ", e), delete t[e];
5652
5659
  continue;
5653
5660
  }
@@ -5657,7 +5664,7 @@ const Jf = (t) => {
5657
5664
  }
5658
5665
  const i = ["themeCSS", "fontFamily", "altFontFamily"];
5659
5666
  for (const r of i)
5660
- e.includes(r) && (D.debug("sanitizing css option", e), t[e] = ep(t[e]));
5667
+ e.includes(r) && (D.debug("sanitizing css option", e), t[e] = ip(t[e]));
5661
5668
  }
5662
5669
  if (t.themeVariables)
5663
5670
  for (const e of Object.keys(t.themeVariables)) {
@@ -5666,7 +5673,7 @@ const Jf = (t) => {
5666
5673
  }
5667
5674
  D.debug("After sanitization", t);
5668
5675
  }
5669
- }, ep = (t) => {
5676
+ }, ip = (t) => {
5670
5677
  let e = 0, i = 0;
5671
5678
  for (const r of t) {
5672
5679
  if (e < i)
@@ -5674,14 +5681,14 @@ const Jf = (t) => {
5674
5681
  r === "{" ? e++ : r === "}" && i++;
5675
5682
  }
5676
5683
  return e !== i ? "{ /* ERROR: Unbalanced CSS */ }" : t;
5677
- }, ba = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, li = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ip = /\s*%%.*\n/gm;
5684
+ }, ba = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, li = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, rp = /\s*%%.*\n/gm;
5678
5685
  class Ta extends Error {
5679
5686
  constructor(e) {
5680
5687
  super(e), this.name = "UnknownDiagramError";
5681
5688
  }
5682
5689
  }
5683
5690
  const qe = {}, vr = function(t, e) {
5684
- t = t.replace(ba, "").replace(li, "").replace(ip, `
5691
+ t = t.replace(ba, "").replace(li, "").replace(rp, `
5685
5692
  `);
5686
5693
  for (const [i, { detector: r }] of Object.entries(qe))
5687
5694
  if (r(t, e))
@@ -5694,35 +5701,35 @@ const qe = {}, vr = function(t, e) {
5694
5701
  Sa(e, i, r);
5695
5702
  }, Sa = (t, e, i) => {
5696
5703
  qe[t] ? D.error(`Detector with key ${t} already exists`) : qe[t] = { detector: e, loader: i }, D.debug(`Detector with key ${t} added${i ? " with loader" : ""}`);
5697
- }, rp = (t) => qe[t].loader, gn = (t, e, { depth: i = 2, clobber: r = !1 } = {}) => {
5704
+ }, np = (t) => qe[t].loader, gn = (t, e, { depth: i = 2, clobber: r = !1 } = {}) => {
5698
5705
  const n = { depth: i, clobber: r };
5699
5706
  return Array.isArray(e) && !Array.isArray(t) ? (e.forEach((s) => gn(t, s, n)), t) : Array.isArray(e) && Array.isArray(t) ? (e.forEach((s) => {
5700
5707
  t.includes(s) || t.push(s);
5701
5708
  }), t) : t === void 0 || i <= 0 ? t != null && typeof t == "object" && typeof e == "object" ? Object.assign(t, e) : e : (e !== void 0 && typeof t == "object" && typeof e == "object" && Object.keys(e).forEach((s) => {
5702
5709
  typeof e[s] == "object" && (t[s] === void 0 || typeof t[s] == "object") ? (t[s] === void 0 && (t[s] = Array.isArray(e[s]) ? [] : {}), t[s] = gn(t[s], e[s], { depth: i - 1, clobber: r })) : (r || typeof t[s] != "object" && typeof e[s] != "object") && (t[s] = e[s]);
5703
5710
  }), t);
5704
- }, lt = gn, np = "​", op = {
5705
- curveBasis: xd,
5706
- curveBasisClosed: bd,
5707
- curveBasisOpen: Td,
5708
- curveBumpX: _d,
5709
- curveBumpY: Cd,
5710
- curveBundle: kd,
5711
- curveCardinalClosed: vd,
5712
- curveCardinalOpen: wd,
5713
- curveCardinal: Sd,
5714
- curveCatmullRomClosed: Bd,
5715
- curveCatmullRomOpen: Ld,
5716
- curveCatmullRom: Ad,
5717
- curveLinear: yd,
5718
- curveLinearClosed: Ed,
5719
- curveMonotoneX: Fd,
5720
- curveMonotoneY: Id,
5721
- curveNatural: Od,
5722
- curveStep: Md,
5723
- curveStepAfter: Nd,
5724
- curveStepBefore: Dd
5725
- }, sp = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ap = function(t, e) {
5711
+ }, lt = gn, op = "​", sp = {
5712
+ curveBasis: bd,
5713
+ curveBasisClosed: Td,
5714
+ curveBasisOpen: kd,
5715
+ curveBumpX: Cd,
5716
+ curveBumpY: xd,
5717
+ curveBundle: Sd,
5718
+ curveCardinalClosed: wd,
5719
+ curveCardinalOpen: Ad,
5720
+ curveCardinal: vd,
5721
+ curveCatmullRomClosed: Ld,
5722
+ curveCatmullRomOpen: Ed,
5723
+ curveCatmullRom: Bd,
5724
+ curveLinear: _d,
5725
+ curveLinearClosed: Fd,
5726
+ curveMonotoneX: Id,
5727
+ curveMonotoneY: Od,
5728
+ curveNatural: Md,
5729
+ curveStep: Dd,
5730
+ curveStepAfter: $d,
5731
+ curveStepBefore: Nd
5732
+ }, ap = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, lp = function(t, e) {
5726
5733
  const i = va(t, /(?:init\b)|(?:initialize\b)/);
5727
5734
  let r = {};
5728
5735
  if (Array.isArray(i)) {
@@ -5738,7 +5745,7 @@ const qe = {}, vr = function(t, e) {
5738
5745
  }, va = function(t, e = null) {
5739
5746
  try {
5740
5747
  const i = new RegExp(
5741
- `[%]{2}(?![{]${sp.source})(?=[}][%]{2}).*
5748
+ `[%]{2}(?![{]${ap.source})(?=[}][%]{2}).*
5742
5749
  `,
5743
5750
  "ig"
5744
5751
  );
@@ -5758,26 +5765,26 @@ const qe = {}, vr = function(t, e) {
5758
5765
  `ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`
5759
5766
  ), { type: void 0, args: null };
5760
5767
  }
5761
- }, lp = function(t) {
5768
+ }, cp = function(t) {
5762
5769
  return t.replace(li, "");
5763
- }, cp = function(t, e) {
5770
+ }, hp = function(t, e) {
5764
5771
  for (const [i, r] of e.entries())
5765
5772
  if (r.match(t))
5766
5773
  return i;
5767
5774
  return -1;
5768
5775
  };
5769
- function hp(t, e) {
5776
+ function up(t, e) {
5770
5777
  if (!t)
5771
5778
  return e;
5772
5779
  const i = `curve${t.charAt(0).toUpperCase() + t.slice(1)}`;
5773
- return op[i] ?? e;
5780
+ return sp[i] ?? e;
5774
5781
  }
5775
- function up(t, e) {
5782
+ function dp(t, e) {
5776
5783
  const i = t.trim();
5777
5784
  if (i)
5778
- return e.securityLevel !== "loose" ? Dl.sanitizeUrl(i) : i;
5785
+ return e.securityLevel !== "loose" ? Nl.sanitizeUrl(i) : i;
5779
5786
  }
5780
- const dp = (t, ...e) => {
5787
+ const fp = (t, ...e) => {
5781
5788
  const i = t.split("."), r = i.length - 1, n = i[r];
5782
5789
  let s = window;
5783
5790
  for (let o = 0; o < r; o++)
@@ -5790,7 +5797,7 @@ const dp = (t, ...e) => {
5790
5797
  function wa(t, e) {
5791
5798
  return !t || !e ? 0 : Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
5792
5799
  }
5793
- function fp(t) {
5800
+ function pp(t) {
5794
5801
  let e, i = 0;
5795
5802
  t.forEach((n) => {
5796
5803
  i += wa(n, e), e = n;
@@ -5798,8 +5805,8 @@ function fp(t) {
5798
5805
  const r = i / 2;
5799
5806
  return Nn(t, r);
5800
5807
  }
5801
- function pp(t) {
5802
- return t.length === 1 ? t[0] : fp(t);
5808
+ function gp(t) {
5809
+ return t.length === 1 ? t[0] : pp(t);
5803
5810
  }
5804
5811
  const Qo = (t, e = 2) => {
5805
5812
  const i = Math.pow(10, e);
@@ -5827,33 +5834,33 @@ const Qo = (t, e = 2) => {
5827
5834
  i = n;
5828
5835
  }
5829
5836
  throw new Error("Could not find a suitable point for the given distance");
5830
- }, gp = (t, e, i) => {
5837
+ }, mp = (t, e, i) => {
5831
5838
  D.info(`our points ${JSON.stringify(e)}`), e[0] !== i && (e = e.reverse());
5832
5839
  const n = Nn(e, 25), s = t ? 10 : 5, o = Math.atan2(e[0].y - n.y, e[0].x - n.x), a = { x: 0, y: 0 };
5833
5840
  return a.x = Math.sin(o) * s + (e[0].x + n.x) / 2, a.y = -Math.cos(o) * s + (e[0].y + n.y) / 2, a;
5834
5841
  };
5835
- function mp(t, e, i) {
5842
+ function yp(t, e, i) {
5836
5843
  const r = structuredClone(i);
5837
5844
  D.info("our points", r), e !== "start_left" && e !== "start_right" && r.reverse();
5838
5845
  const n = 25 + t, s = Nn(r, n), o = 10 + t * 0.5, a = Math.atan2(r[0].y - s.y, r[0].x - s.x), l = { x: 0, y: 0 };
5839
5846
  return e === "start_left" ? (l.x = Math.sin(a + Math.PI) * o + (r[0].x + s.x) / 2, l.y = -Math.cos(a + Math.PI) * o + (r[0].y + s.y) / 2) : e === "end_right" ? (l.x = Math.sin(a - Math.PI) * o + (r[0].x + s.x) / 2 - 5, l.y = -Math.cos(a - Math.PI) * o + (r[0].y + s.y) / 2 - 5) : e === "end_left" ? (l.x = Math.sin(a) * o + (r[0].x + s.x) / 2 - 5, l.y = -Math.cos(a) * o + (r[0].y + s.y) / 2 - 5) : (l.x = Math.sin(a) * o + (r[0].x + s.x) / 2, l.y = -Math.cos(a) * o + (r[0].y + s.y) / 2), l;
5840
5847
  }
5841
- function yp(t) {
5848
+ function _p(t) {
5842
5849
  let e = "", i = "";
5843
5850
  for (const r of t)
5844
5851
  r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? i = i + r + ";" : e = e + r + ";");
5845
5852
  return { style: e, labelStyle: i };
5846
5853
  }
5847
5854
  let ts = 0;
5848
- const _p = () => (ts++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + ts);
5849
- function Cp(t) {
5855
+ const Cp = () => (ts++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + ts);
5856
+ function xp(t) {
5850
5857
  let e = "";
5851
5858
  const i = "0123456789abcdef", r = i.length;
5852
5859
  for (let n = 0; n < t; n++)
5853
5860
  e += i.charAt(Math.floor(Math.random() * r));
5854
5861
  return e;
5855
5862
  }
5856
- const xp = (t) => Cp(t.length), bp = function() {
5863
+ const bp = (t) => xp(t.length), Tp = function() {
5857
5864
  return {
5858
5865
  x: 0,
5859
5866
  y: 0,
@@ -5868,12 +5875,12 @@ const xp = (t) => Cp(t.length), bp = function() {
5868
5875
  valign: void 0,
5869
5876
  text: ""
5870
5877
  };
5871
- }, Tp = function(t, e) {
5878
+ }, kp = function(t, e) {
5872
5879
  const i = e.text.replace(Dn.lineBreakRegex, " "), [, r] = Rn(e.fontSize), n = t.append("text");
5873
5880
  n.attr("x", e.x), n.attr("y", e.y), n.style("text-anchor", e.anchor), n.style("font-family", e.fontFamily), n.style("font-size", r), n.style("font-weight", e.fontWeight), n.attr("fill", e.fill), e.class !== void 0 && n.attr("class", e.class);
5874
5881
  const s = n.append("tspan");
5875
5882
  return s.attr("x", e.x + e.textMargin * 2), s.attr("fill", e.fill), s.text(i), n;
5876
- }, kp = _n(
5883
+ }, Sp = _n(
5877
5884
  (t, e, i) => {
5878
5885
  if (!t || (i = Object.assign(
5879
5886
  { fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
@@ -5885,14 +5892,14 @@ const xp = (t) => Cp(t.length), bp = function() {
5885
5892
  return r.forEach((o, a) => {
5886
5893
  const l = or(`${o} `, i), c = or(s, i);
5887
5894
  if (l > e) {
5888
- const { hyphenatedStrings: h, remainingWord: f } = Sp(o, e, "-", i);
5895
+ const { hyphenatedStrings: h, remainingWord: f } = vp(o, e, "-", i);
5889
5896
  n.push(s, ...h), s = f;
5890
5897
  } else c + l >= e ? (n.push(s), s = o) : s = [s, o].filter(Boolean).join(" ");
5891
5898
  a + 1 === r.length && n.push(s);
5892
5899
  }), n.filter((o) => o !== "").join(i.joinWith);
5893
5900
  },
5894
5901
  (t, e, i) => `${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`
5895
- ), Sp = _n(
5902
+ ), vp = _n(
5896
5903
  (t, e, i = "-", r) => {
5897
5904
  r = Object.assign(
5898
5905
  { fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 0 },
@@ -5911,7 +5918,7 @@ const xp = (t) => Cp(t.length), bp = function() {
5911
5918
  },
5912
5919
  (t, e, i = "-", r) => `${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`
5913
5920
  );
5914
- function vp(t, e) {
5921
+ function wp(t, e) {
5915
5922
  return $n(t, e).height;
5916
5923
  }
5917
5924
  function or(t, e) {
@@ -5930,9 +5937,9 @@ const $n = _n(
5930
5937
  let f = 0;
5931
5938
  const m = { width: 0, height: 0, lineHeight: 0 };
5932
5939
  for (const y of a) {
5933
- const C = bp();
5934
- C.text = y || np;
5935
- const L = Tp(u, C).style("font-size", s).style("font-weight", n).style("font-family", h), b = (L._groups || L)[0][0].getBBox();
5940
+ const C = Tp();
5941
+ C.text = y || op;
5942
+ const L = kp(u, C).style("font-size", s).style("font-weight", n).style("font-family", h), b = (L._groups || L)[0][0].getBBox();
5936
5943
  if (b.width === 0 && b.height === 0)
5937
5944
  throw new Error("svg element not in render tree");
5938
5945
  m.width = Math.round(Math.max(m.width, b.width)), f = Math.round(b.height), m.height += f, m.lineHeight = Math.round(Math.max(m.lineHeight, f));
@@ -5945,19 +5952,19 @@ const $n = _n(
5945
5952
  },
5946
5953
  (t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
5947
5954
  );
5948
- class wp {
5955
+ class Ap {
5949
5956
  constructor(e = !1, i) {
5950
5957
  this.count = 0, this.count = i ? i.length : 0, this.next = e ? () => this.count++ : () => Date.now();
5951
5958
  }
5952
5959
  }
5953
5960
  let Ni;
5954
- const Ap = function(t) {
5961
+ const Bp = function(t) {
5955
5962
  return Ni = Ni || document.createElement("div"), t = escape(t).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Ni.innerHTML = t, unescape(Ni.textContent);
5956
5963
  };
5957
5964
  function Aa(t) {
5958
5965
  return "str" in t;
5959
5966
  }
5960
- const Bp = (t, e, i, r) => {
5967
+ const Lp = (t, e, i, r) => {
5961
5968
  var n;
5962
5969
  if (!r)
5963
5970
  return;
@@ -5974,28 +5981,28 @@ function Ba(t, e) {
5974
5981
  }
5975
5982
  const ci = {
5976
5983
  assignWithDepth: lt,
5977
- wrapLabel: kp,
5978
- calculateTextHeight: vp,
5984
+ wrapLabel: Sp,
5985
+ calculateTextHeight: wp,
5979
5986
  calculateTextWidth: or,
5980
5987
  calculateTextDimensions: $n,
5981
5988
  cleanAndMerge: Ba,
5982
- detectInit: ap,
5989
+ detectInit: lp,
5983
5990
  detectDirective: va,
5984
- isSubstringInArray: cp,
5985
- interpolateToCurve: hp,
5986
- calcLabelPosition: pp,
5987
- calcCardinalityPosition: gp,
5988
- calcTerminalLabelPosition: mp,
5989
- formatUrl: up,
5990
- getStylesFromArray: yp,
5991
- generateId: _p,
5992
- random: xp,
5993
- runFunc: dp,
5994
- entityDecode: Ap,
5995
- insertTitle: Bp,
5991
+ isSubstringInArray: hp,
5992
+ interpolateToCurve: up,
5993
+ calcLabelPosition: gp,
5994
+ calcCardinalityPosition: mp,
5995
+ calcTerminalLabelPosition: yp,
5996
+ formatUrl: dp,
5997
+ getStylesFromArray: _p,
5998
+ generateId: Cp,
5999
+ random: bp,
6000
+ runFunc: fp,
6001
+ entityDecode: Bp,
6002
+ insertTitle: Lp,
5996
6003
  parseFontSize: Rn,
5997
- InitIDGenerator: wp
5998
- }, Lp = function(t) {
6004
+ InitIDGenerator: Ap
6005
+ }, Ep = function(t) {
5999
6006
  let e = t;
6000
6007
  return e = e.replace(/style.*:\S*#.*;/g, function(i) {
6001
6008
  return i.substring(0, i.length - 1);
@@ -6005,9 +6012,9 @@ const ci = {
6005
6012
  const r = i.substring(1, i.length - 1);
6006
6013
  return /^\+?\d+$/.test(r) ? "fl°°" + r + "¶ß" : "fl°" + r + "¶ß";
6007
6014
  }), e;
6008
- }, Ep = function(t) {
6015
+ }, Fp = function(t) {
6009
6016
  return t.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
6010
- }, es = "10.9.5", Pe = Object.freeze(tp);
6017
+ }, es = "10.9.5", Pe = Object.freeze(ep);
6011
6018
  let mt = lt({}, Pe), La, ze = [], hi = lt({}, Pe);
6012
6019
  const wr = (t, e) => {
6013
6020
  let i = lt({}, t), r = {};
@@ -6021,9 +6028,9 @@ const wr = (t, e) => {
6021
6028
  i.theme && i.theme in te && (i.themeVariables = te[i.theme].getThemeVariables(s));
6022
6029
  }
6023
6030
  return hi = i, Oa(hi), hi;
6024
- }, Fp = (t) => (mt = lt({}, Pe), mt = lt(mt, t), t.theme && te[t.theme] && (mt.themeVariables = te[t.theme].getThemeVariables(t.themeVariables)), wr(mt, ze), mt), Ip = (t) => {
6031
+ }, Ip = (t) => (mt = lt({}, Pe), mt = lt(mt, t), t.theme && te[t.theme] && (mt.themeVariables = te[t.theme].getThemeVariables(t.themeVariables)), wr(mt, ze), mt), Op = (t) => {
6025
6032
  La = lt({}, t);
6026
- }, Op = (t) => (mt = lt(mt, t), wr(mt, ze), mt), Ea = () => lt({}, mt), Fa = (t) => (Oa(t), lt(hi, t), Yt()), Yt = () => lt({}, hi), Ia = (t) => {
6033
+ }, Mp = (t) => (mt = lt(mt, t), wr(mt, ze), mt), Ea = () => lt({}, mt), Fa = (t) => (Oa(t), lt(hi, t), Yt()), Yt = () => lt({}, hi), Ia = (t) => {
6027
6034
  t && (["secure", ...mt.secure ?? []].forEach((e) => {
6028
6035
  Object.hasOwn(t, e) && (D.debug(`Denied attempt to modify a secure key ${e}`, t[e]), delete t[e]);
6029
6036
  }), Object.keys(t).forEach((e) => {
@@ -6031,170 +6038,170 @@ const wr = (t, e) => {
6031
6038
  }), Object.keys(t).forEach((e) => {
6032
6039
  typeof t[e] == "string" && (t[e].includes("<") || t[e].includes(">") || t[e].includes("url(data:")) && delete t[e], typeof t[e] == "object" && Ia(t[e]);
6033
6040
  }));
6034
- }, Mp = (t) => {
6041
+ }, Dp = (t) => {
6035
6042
  nr(t), t.fontFamily && (!t.themeVariables || !t.themeVariables.fontFamily) && (t.themeVariables = { fontFamily: t.fontFamily }), ze.push(t), wr(mt, ze);
6036
6043
  }, sr = (t = mt) => {
6037
6044
  ze = [], wr(t, ze);
6038
- }, Dp = {
6045
+ }, Np = {
6039
6046
  LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
6040
- }, is = {}, Np = (t) => {
6041
- is[t] || (D.warn(Dp[t]), is[t] = !0);
6047
+ }, is = {}, $p = (t) => {
6048
+ is[t] || (D.warn(Np[t]), is[t] = !0);
6042
6049
  }, Oa = (t) => {
6043
- t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && Np("LAZY_LOAD_DEPRECATED");
6044
- }, Ma = "c4", $p = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), Rp = async () => {
6045
- const { diagram: t } = await import("./layers.Cce-5srG.js");
6050
+ t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && $p("LAZY_LOAD_DEPRECATED");
6051
+ }, Ma = "c4", Rp = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), qp = async () => {
6052
+ const { diagram: t } = await import("./layers.CHdXKlXk.js");
6046
6053
  return { id: Ma, diagram: t };
6047
- }, qp = {
6054
+ }, Pp = {
6048
6055
  id: Ma,
6049
- detector: $p,
6050
- loader: Rp
6051
- }, Pp = qp, Da = "flowchart", zp = (t, e) => {
6056
+ detector: Rp,
6057
+ loader: qp
6058
+ }, zp = Pp, Da = "flowchart", Wp = (t, e) => {
6052
6059
  var i, r;
6053
6060
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
6054
- }, Wp = async () => {
6055
- const { diagram: t } = await import("./layers.DyG10Lz7.js");
6061
+ }, Yp = async () => {
6062
+ const { diagram: t } = await import("./layers.Czo4N9da.js");
6056
6063
  return { id: Da, diagram: t };
6057
- }, Yp = {
6064
+ }, Hp = {
6058
6065
  id: Da,
6059
- detector: zp,
6060
- loader: Wp
6061
- }, Hp = Yp, Na = "flowchart-v2", Up = (t, e) => {
6066
+ detector: Wp,
6067
+ loader: Yp
6068
+ }, Up = Hp, Na = "flowchart-v2", Xp = (t, e) => {
6062
6069
  var i, r, n;
6063
6070
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t) && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t);
6064
- }, Xp = async () => {
6065
- const { diagram: t } = await import("./layers.fcY3pMI5.js");
6071
+ }, jp = async () => {
6072
+ const { diagram: t } = await import("./layers.CJvs1ehb.js");
6066
6073
  return { id: Na, diagram: t };
6067
- }, jp = {
6074
+ }, Gp = {
6068
6075
  id: Na,
6069
- detector: Up,
6070
- loader: Xp
6071
- }, Gp = jp, $a = "er", Vp = (t) => /^\s*erDiagram/.test(t), Kp = async () => {
6072
- const { diagram: t } = await import("./layers.DieEj3MA.js");
6076
+ detector: Xp,
6077
+ loader: jp
6078
+ }, Vp = Gp, $a = "er", Kp = (t) => /^\s*erDiagram/.test(t), Zp = async () => {
6079
+ const { diagram: t } = await import("./layers.BZjGZC6Y.js");
6073
6080
  return { id: $a, diagram: t };
6074
- }, Zp = {
6081
+ }, Jp = {
6075
6082
  id: $a,
6076
- detector: Vp,
6077
- loader: Kp
6078
- }, Jp = Zp, Ra = "gitGraph", Qp = (t) => /^\s*gitGraph/.test(t), tg = async () => {
6079
- const { diagram: t } = await import("./layers.BWUNH5Xy.js");
6083
+ detector: Kp,
6084
+ loader: Zp
6085
+ }, Qp = Jp, Ra = "gitGraph", tg = (t) => /^\s*gitGraph/.test(t), eg = async () => {
6086
+ const { diagram: t } = await import("./layers.BSFvSxAW.js");
6080
6087
  return { id: Ra, diagram: t };
6081
- }, eg = {
6088
+ }, ig = {
6082
6089
  id: Ra,
6083
- detector: Qp,
6084
- loader: tg
6085
- }, ig = eg, qa = "gantt", rg = (t) => /^\s*gantt/.test(t), ng = async () => {
6086
- const { diagram: t } = await import("./layers.RsPeXxK5.js");
6090
+ detector: tg,
6091
+ loader: eg
6092
+ }, rg = ig, qa = "gantt", ng = (t) => /^\s*gantt/.test(t), og = async () => {
6093
+ const { diagram: t } = await import("./layers.uJXaMwcZ.js");
6087
6094
  return { id: qa, diagram: t };
6088
- }, og = {
6095
+ }, sg = {
6089
6096
  id: qa,
6090
- detector: rg,
6091
- loader: ng
6092
- }, sg = og, Pa = "info", ag = (t) => /^\s*info/.test(t), lg = async () => {
6093
- const { diagram: t } = await import("./layers.CckR2apD.js");
6097
+ detector: ng,
6098
+ loader: og
6099
+ }, ag = sg, Pa = "info", lg = (t) => /^\s*info/.test(t), cg = async () => {
6100
+ const { diagram: t } = await import("./layers.CEDQUMRS.js");
6094
6101
  return { id: Pa, diagram: t };
6095
- }, cg = {
6102
+ }, hg = {
6096
6103
  id: Pa,
6097
- detector: ag,
6098
- loader: lg
6099
- }, za = "pie", hg = (t) => /^\s*pie/.test(t), ug = async () => {
6100
- const { diagram: t } = await import("./layers.BLJrZsq6.js");
6104
+ detector: lg,
6105
+ loader: cg
6106
+ }, za = "pie", ug = (t) => /^\s*pie/.test(t), dg = async () => {
6107
+ const { diagram: t } = await import("./layers.LyVM1EwO.js");
6101
6108
  return { id: za, diagram: t };
6102
- }, dg = {
6109
+ }, fg = {
6103
6110
  id: za,
6104
- detector: hg,
6105
- loader: ug
6106
- }, Wa = "quadrantChart", fg = (t) => /^\s*quadrantChart/.test(t), pg = async () => {
6107
- const { diagram: t } = await import("./layers.CpIn_bCD.js");
6111
+ detector: ug,
6112
+ loader: dg
6113
+ }, Wa = "quadrantChart", pg = (t) => /^\s*quadrantChart/.test(t), gg = async () => {
6114
+ const { diagram: t } = await import("./layers.ii-DkG87.js");
6108
6115
  return { id: Wa, diagram: t };
6109
- }, gg = {
6116
+ }, mg = {
6110
6117
  id: Wa,
6111
- detector: fg,
6112
- loader: pg
6113
- }, mg = gg, Ya = "xychart", yg = (t) => /^\s*xychart-beta/.test(t), _g = async () => {
6114
- const { diagram: t } = await import("./layers.BpAoJ8d0.js");
6118
+ detector: pg,
6119
+ loader: gg
6120
+ }, yg = mg, Ya = "xychart", _g = (t) => /^\s*xychart-beta/.test(t), Cg = async () => {
6121
+ const { diagram: t } = await import("./layers.C-R-oVhg.js");
6115
6122
  return { id: Ya, diagram: t };
6116
- }, Cg = {
6123
+ }, xg = {
6117
6124
  id: Ya,
6118
- detector: yg,
6119
- loader: _g
6120
- }, xg = Cg, Ha = "requirement", bg = (t) => /^\s*requirement(Diagram)?/.test(t), Tg = async () => {
6121
- const { diagram: t } = await import("./layers.KhUHE5ne.js");
6125
+ detector: _g,
6126
+ loader: Cg
6127
+ }, bg = xg, Ha = "requirement", Tg = (t) => /^\s*requirement(Diagram)?/.test(t), kg = async () => {
6128
+ const { diagram: t } = await import("./layers.Dlc_qb9C.js");
6122
6129
  return { id: Ha, diagram: t };
6123
- }, kg = {
6130
+ }, Sg = {
6124
6131
  id: Ha,
6125
- detector: bg,
6126
- loader: Tg
6127
- }, Sg = kg, Ua = "sequence", vg = (t) => /^\s*sequenceDiagram/.test(t), wg = async () => {
6128
- const { diagram: t } = await import("./layers.CiY-YFpH.js");
6132
+ detector: Tg,
6133
+ loader: kg
6134
+ }, vg = Sg, Ua = "sequence", wg = (t) => /^\s*sequenceDiagram/.test(t), Ag = async () => {
6135
+ const { diagram: t } = await import("./layers.BuHZ-Ghv.js");
6129
6136
  return { id: Ua, diagram: t };
6130
- }, Ag = {
6137
+ }, Bg = {
6131
6138
  id: Ua,
6132
- detector: vg,
6133
- loader: wg
6134
- }, Bg = Ag, Xa = "class", Lg = (t, e) => {
6139
+ detector: wg,
6140
+ loader: Ag
6141
+ }, Lg = Bg, Xa = "class", Eg = (t, e) => {
6135
6142
  var i;
6136
6143
  return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
6137
- }, Eg = async () => {
6138
- const { diagram: t } = await import("./layers.F82lqsPC.js");
6144
+ }, Fg = async () => {
6145
+ const { diagram: t } = await import("./layers.B5tfuvvb.js");
6139
6146
  return { id: Xa, diagram: t };
6140
- }, Fg = {
6147
+ }, Ig = {
6141
6148
  id: Xa,
6142
- detector: Lg,
6143
- loader: Eg
6144
- }, Ig = Fg, ja = "classDiagram", Og = (t, e) => {
6149
+ detector: Eg,
6150
+ loader: Fg
6151
+ }, Og = Ig, ja = "classDiagram", Mg = (t, e) => {
6145
6152
  var i;
6146
6153
  return /^\s*classDiagram/.test(t) && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
6147
- }, Mg = async () => {
6148
- const { diagram: t } = await import("./layers.CfHRM0FG.js");
6154
+ }, Dg = async () => {
6155
+ const { diagram: t } = await import("./layers.CcCAMrS6.js");
6149
6156
  return { id: ja, diagram: t };
6150
- }, Dg = {
6157
+ }, Ng = {
6151
6158
  id: ja,
6152
- detector: Og,
6153
- loader: Mg
6154
- }, Ng = Dg, Ga = "state", $g = (t, e) => {
6159
+ detector: Mg,
6160
+ loader: Dg
6161
+ }, $g = Ng, Ga = "state", Rg = (t, e) => {
6155
6162
  var i;
6156
6163
  return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
6157
- }, Rg = async () => {
6158
- const { diagram: t } = await import("./layers.CQhZnqZ4.js");
6164
+ }, qg = async () => {
6165
+ const { diagram: t } = await import("./layers.C_hg39kk.js");
6159
6166
  return { id: Ga, diagram: t };
6160
- }, qg = {
6167
+ }, Pg = {
6161
6168
  id: Ga,
6162
- detector: $g,
6163
- loader: Rg
6164
- }, Pg = qg, Va = "stateDiagram", zg = (t, e) => {
6169
+ detector: Rg,
6170
+ loader: qg
6171
+ }, zg = Pg, Va = "stateDiagram", Wg = (t, e) => {
6165
6172
  var i;
6166
6173
  return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper");
6167
- }, Wg = async () => {
6168
- const { diagram: t } = await import("./layers.0JEG6r0M.js");
6174
+ }, Yg = async () => {
6175
+ const { diagram: t } = await import("./layers.DNUD-CJ8.js");
6169
6176
  return { id: Va, diagram: t };
6170
- }, Yg = {
6177
+ }, Hg = {
6171
6178
  id: Va,
6172
- detector: zg,
6173
- loader: Wg
6174
- }, Hg = Yg, Ka = "journey", Ug = (t) => /^\s*journey/.test(t), Xg = async () => {
6175
- const { diagram: t } = await import("./layers.CQ6PlE30.js");
6179
+ detector: Wg,
6180
+ loader: Yg
6181
+ }, Ug = Hg, Ka = "journey", Xg = (t) => /^\s*journey/.test(t), jg = async () => {
6182
+ const { diagram: t } = await import("./layers.CM8dv7Gh.js");
6176
6183
  return { id: Ka, diagram: t };
6177
- }, jg = {
6184
+ }, Gg = {
6178
6185
  id: Ka,
6179
- detector: Ug,
6180
- loader: Xg
6181
- }, Gg = jg, Vg = function(t, e) {
6186
+ detector: Xg,
6187
+ loader: jg
6188
+ }, Vg = Gg, Kg = function(t, e) {
6182
6189
  for (let i of e)
6183
6190
  t.attr(i[0], i[1]);
6184
- }, Kg = function(t, e, i) {
6191
+ }, Zg = function(t, e, i) {
6185
6192
  let r = /* @__PURE__ */ new Map();
6186
6193
  return i ? (r.set("width", "100%"), r.set("style", `max-width: ${e}px;`)) : (r.set("height", t), r.set("width", e)), r;
6187
6194
  }, Za = function(t, e, i, r) {
6188
- const n = Kg(e, i, r);
6189
- Vg(t, n);
6190
- }, Zg = function(t, e, i, r) {
6195
+ const n = Zg(e, i, r);
6196
+ Kg(t, n);
6197
+ }, Jg = function(t, e, i, r) {
6191
6198
  const n = e.node().getBBox(), s = n.width, o = n.height;
6192
6199
  D.info(`SVG bounds: ${s}x${o}`, n);
6193
6200
  let a = 0, l = 0;
6194
6201
  D.info(`Graph bounds: ${a}x${l}`, t), a = s + i * 2, l = o + i * 2, D.info(`Calculated bounds: ${a}x${l}`), Za(e, l, a, r);
6195
6202
  const c = `${n.x - i} ${n.y - i} ${n.width + 2 * i} ${n.height + 2 * i}`;
6196
6203
  e.attr("viewBox", c);
6197
- }, ji = {}, Jg = (t, e, i) => {
6204
+ }, ji = {}, Qg = (t, e, i) => {
6198
6205
  let r = "";
6199
6206
  return t in ji && ji[t] ? r = ji[t](i) : D.warn(`No theme found for ${t}`), ` & {
6200
6207
  font-family: ${i.fontFamily};
@@ -6246,54 +6253,54 @@ const wr = (t, e) => {
6246
6253
 
6247
6254
  ${e}
6248
6255
  `;
6249
- }, Qg = (t, e) => {
6256
+ }, tm = (t, e) => {
6250
6257
  e !== void 0 && (ji[t] = e);
6251
- }, tm = Jg;
6258
+ }, em = Qg;
6252
6259
  let qn = "", Pn = "", zn = "";
6253
- const Wn = (t) => Re(t, Yt()), em = () => {
6260
+ const Wn = (t) => Re(t, Yt()), im = () => {
6254
6261
  qn = "", zn = "", Pn = "";
6255
- }, im = (t) => {
6262
+ }, rm = (t) => {
6256
6263
  qn = Wn(t).replace(/^\s+/g, "");
6257
- }, rm = () => qn, nm = (t) => {
6264
+ }, nm = () => qn, om = (t) => {
6258
6265
  zn = Wn(t).replace(/\n\s+/g, `
6259
6266
  `);
6260
- }, om = () => zn, sm = (t) => {
6267
+ }, sm = () => zn, am = (t) => {
6261
6268
  Pn = Wn(t);
6262
- }, am = () => Pn, lm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6269
+ }, lm = () => Pn, cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6263
6270
  __proto__: null,
6264
- clear: em,
6265
- getAccDescription: om,
6266
- getAccTitle: rm,
6267
- getDiagramTitle: am,
6268
- setAccDescription: nm,
6269
- setAccTitle: im,
6270
- setDiagramTitle: sm
6271
- }, Symbol.toStringTag, { value: "Module" })), cm = D, hm = Mn, Yn = Yt, lC = Fa, cC = Pe, um = (t) => Re(t, Yn()), dm = Zg, fm = () => lm, ar = {}, lr = (t, e, i) => {
6271
+ clear: im,
6272
+ getAccDescription: sm,
6273
+ getAccTitle: nm,
6274
+ getDiagramTitle: lm,
6275
+ setAccDescription: om,
6276
+ setAccTitle: rm,
6277
+ setDiagramTitle: am
6278
+ }, Symbol.toStringTag, { value: "Module" })), hm = D, um = Mn, Yn = Yt, cC = Fa, hC = Pe, dm = (t) => Re(t, Yn()), fm = Jg, pm = () => cm, ar = {}, lr = (t, e, i) => {
6272
6279
  var r;
6273
6280
  if (ar[t])
6274
6281
  throw new Error(`Diagram ${t} already registered.`);
6275
- ar[t] = e, i && Sa(t, i), Qg(t, e.styles), (r = e.injectUtils) == null || r.call(
6282
+ ar[t] = e, i && Sa(t, i), tm(t, e.styles), (r = e.injectUtils) == null || r.call(
6276
6283
  e,
6277
- cm,
6278
6284
  hm,
6279
- Yn,
6280
6285
  um,
6286
+ Yn,
6281
6287
  dm,
6282
- fm(),
6288
+ fm,
6289
+ pm(),
6283
6290
  () => {
6284
6291
  }
6285
6292
  );
6286
6293
  }, Hn = (t) => {
6287
6294
  if (t in ar)
6288
6295
  return ar[t];
6289
- throw new pm(t);
6296
+ throw new gm(t);
6290
6297
  };
6291
- class pm extends Error {
6298
+ class gm extends Error {
6292
6299
  constructor(e) {
6293
6300
  super(`Diagram ${e} not found.`);
6294
6301
  }
6295
6302
  }
6296
- const gm = (t) => {
6303
+ const mm = (t) => {
6297
6304
  var e;
6298
6305
  const { securityLevel: i } = Yn();
6299
6306
  let r = St("body");
@@ -6302,10 +6309,10 @@ const gm = (t) => {
6302
6309
  r = St(o.body);
6303
6310
  }
6304
6311
  return r.select(`#${t}`);
6305
- }, mm = (t, e, i) => {
6312
+ }, ym = (t, e, i) => {
6306
6313
  D.debug(`rendering svg for syntax error
6307
6314
  `);
6308
- const r = gm(e), n = r.append("g");
6315
+ const r = mm(e), n = r.append("g");
6309
6316
  r.attr("viewBox", "0 0 2412 512"), Za(r, 100, 512, !0), n.append("path").attr("class", "error-icon").attr(
6310
6317
  "d",
6311
6318
  "m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"
@@ -6325,7 +6332,7 @@ const gm = (t) => {
6325
6332
  "d",
6326
6333
  "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"
6327
6334
  ), n.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), n.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${i}`);
6328
- }, Ja = { draw: mm }, ym = Ja, _m = {
6335
+ }, Ja = { draw: ym }, _m = Ja, Cm = {
6329
6336
  db: {},
6330
6337
  renderer: Ja,
6331
6338
  parser: {
@@ -6333,52 +6340,52 @@ const gm = (t) => {
6333
6340
  parse: () => {
6334
6341
  }
6335
6342
  }
6336
- }, Cm = _m, Qa = "flowchart-elk", xm = (t, e) => {
6343
+ }, xm = Cm, Qa = "flowchart-elk", bm = (t, e) => {
6337
6344
  var i;
6338
6345
  return (
6339
6346
  // If diagram explicitly states flowchart-elk
6340
6347
  !!(/^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
6341
6348
  /^\s*flowchart|graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
6342
6349
  );
6343
- }, bm = async () => {
6344
- const { diagram: t } = await import("./layers.sWtltbAD.js");
6350
+ }, Tm = async () => {
6351
+ const { diagram: t } = await import("./layers.CeYuOfPG.js");
6345
6352
  return { id: Qa, diagram: t };
6346
- }, Tm = {
6353
+ }, km = {
6347
6354
  id: Qa,
6348
- detector: xm,
6349
- loader: bm
6350
- }, km = Tm, tl = "timeline", Sm = (t) => /^\s*timeline/.test(t), vm = async () => {
6351
- const { diagram: t } = await import("./layers.DWpG_WDk.js");
6355
+ detector: bm,
6356
+ loader: Tm
6357
+ }, Sm = km, tl = "timeline", vm = (t) => /^\s*timeline/.test(t), wm = async () => {
6358
+ const { diagram: t } = await import("./layers.qX5GXECm.js");
6352
6359
  return { id: tl, diagram: t };
6353
- }, wm = {
6360
+ }, Am = {
6354
6361
  id: tl,
6355
- detector: Sm,
6356
- loader: vm
6357
- }, Am = wm, el = "mindmap", Bm = (t) => /^\s*mindmap/.test(t), Lm = async () => {
6358
- const { diagram: t } = await import("./layers.Dt27XqD2.js");
6362
+ detector: vm,
6363
+ loader: wm
6364
+ }, Bm = Am, el = "mindmap", Lm = (t) => /^\s*mindmap/.test(t), Em = async () => {
6365
+ const { diagram: t } = await import("./layers.BMP4kJwf.js");
6359
6366
  return { id: el, diagram: t };
6360
- }, Em = {
6367
+ }, Fm = {
6361
6368
  id: el,
6362
- detector: Bm,
6363
- loader: Lm
6364
- }, Fm = Em, il = "sankey", Im = (t) => /^\s*sankey-beta/.test(t), Om = async () => {
6365
- const { diagram: t } = await import("./layers.RGHJiijE.js");
6369
+ detector: Lm,
6370
+ loader: Em
6371
+ }, Im = Fm, il = "sankey", Om = (t) => /^\s*sankey-beta/.test(t), Mm = async () => {
6372
+ const { diagram: t } = await import("./layers.CjfwbokM.js");
6366
6373
  return { id: il, diagram: t };
6367
- }, Mm = {
6374
+ }, Dm = {
6368
6375
  id: il,
6369
- detector: Im,
6370
- loader: Om
6371
- }, Dm = Mm, rl = "block", Nm = (t) => /^\s*block-beta/.test(t), $m = async () => {
6372
- const { diagram: t } = await import("./layers.fo9GMZ-S.js");
6376
+ detector: Om,
6377
+ loader: Mm
6378
+ }, Nm = Dm, rl = "block", $m = (t) => /^\s*block-beta/.test(t), Rm = async () => {
6379
+ const { diagram: t } = await import("./layers.DpNa42gZ.js");
6373
6380
  return { id: rl, diagram: t };
6374
- }, Rm = {
6381
+ }, qm = {
6375
6382
  id: rl,
6376
- detector: Nm,
6377
- loader: $m
6378
- }, qm = Rm;
6383
+ detector: $m,
6384
+ loader: Rm
6385
+ }, Pm = qm;
6379
6386
  let rs = !1;
6380
6387
  const Un = () => {
6381
- rs || (rs = !0, lr("error", Cm, (t) => t.toLowerCase().trim() === "error"), lr(
6388
+ rs || (rs = !0, lr("error", xm, (t) => t.toLowerCase().trim() === "error"), lr(
6382
6389
  "---",
6383
6390
  // --- diagram type may appear if YAML front-matter is not parsed correctly
6384
6391
  {
@@ -6405,33 +6412,33 @@ const Un = () => {
6405
6412
  },
6406
6413
  (t) => t.toLowerCase().trimStart().startsWith("---")
6407
6414
  ), ka(
6408
- Pp,
6409
- Ng,
6410
- Ig,
6411
- Jp,
6412
- sg,
6413
- cg,
6414
- dg,
6415
- Sg,
6416
- Bg,
6417
- km,
6418
- Gp,
6419
- Hp,
6420
- Fm,
6421
- Am,
6422
- ig,
6423
- Hg,
6424
- Pg,
6425
- Gg,
6426
- mg,
6427
- Dm,
6428
- xg,
6429
- qm
6415
+ zp,
6416
+ $g,
6417
+ Og,
6418
+ Qp,
6419
+ ag,
6420
+ hg,
6421
+ fg,
6422
+ vg,
6423
+ Lg,
6424
+ Sm,
6425
+ Vp,
6426
+ Up,
6427
+ Im,
6428
+ Bm,
6429
+ rg,
6430
+ Ug,
6431
+ zg,
6432
+ Vg,
6433
+ yg,
6434
+ Nm,
6435
+ bg,
6436
+ Pm
6430
6437
  ));
6431
6438
  };
6432
6439
  class nl {
6433
6440
  constructor(e, i = {}) {
6434
- this.text = e, this.metadata = i, this.type = "graph", this.text = Lp(e), this.text += `
6441
+ this.text = e, this.metadata = i, this.type = "graph", this.text = Ep(e), this.text += `
6435
6442
  `;
6436
6443
  const r = Yt();
6437
6444
  try {
@@ -6460,12 +6467,12 @@ class nl {
6460
6467
  return this.type;
6461
6468
  }
6462
6469
  }
6463
- const Pm = async (t, e = {}) => {
6470
+ const zm = async (t, e = {}) => {
6464
6471
  const i = vr(t, Yt());
6465
6472
  try {
6466
6473
  Hn(i);
6467
6474
  } catch {
6468
- const n = rp(i);
6475
+ const n = np(i);
6469
6476
  if (!n)
6470
6477
  throw new Ta(`Diagram ${i} not found.`);
6471
6478
  const { id: s, diagram: o } = await n();
@@ -6474,15 +6481,15 @@ const Pm = async (t, e = {}) => {
6474
6481
  return new nl(t, e);
6475
6482
  };
6476
6483
  let ns = [];
6477
- const zm = () => {
6484
+ const Wm = () => {
6478
6485
  ns.forEach((t) => {
6479
6486
  t();
6480
6487
  }), ns = [];
6481
- }, Wm = "graphics-document document";
6482
- function Ym(t, e) {
6483
- t.attr("role", Wm), e !== "" && t.attr("aria-roledescription", e);
6488
+ }, Ym = "graphics-document document";
6489
+ function Hm(t, e) {
6490
+ t.attr("role", Ym), e !== "" && t.attr("aria-roledescription", e);
6484
6491
  }
6485
- function Hm(t, e, i, r) {
6492
+ function Um(t, e, i, r) {
6486
6493
  if (t.insert !== void 0) {
6487
6494
  if (i) {
6488
6495
  const n = `chart-desc-${r}`;
@@ -6494,40 +6501,40 @@ function Hm(t, e, i, r) {
6494
6501
  }
6495
6502
  }
6496
6503
  }
6497
- const Um = (t) => t.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart();
6504
+ const Xm = (t) => t.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart();
6498
6505
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
6499
6506
  function ol(t) {
6500
6507
  return typeof t > "u" || t === null;
6501
6508
  }
6502
- function Xm(t) {
6509
+ function jm(t) {
6503
6510
  return typeof t == "object" && t !== null;
6504
6511
  }
6505
- function jm(t) {
6512
+ function Gm(t) {
6506
6513
  return Array.isArray(t) ? t : ol(t) ? [] : [t];
6507
6514
  }
6508
- function Gm(t, e) {
6515
+ function Vm(t, e) {
6509
6516
  var i, r, n, s;
6510
6517
  if (e)
6511
6518
  for (s = Object.keys(e), i = 0, r = s.length; i < r; i += 1)
6512
6519
  n = s[i], t[n] = e[n];
6513
6520
  return t;
6514
6521
  }
6515
- function Vm(t, e) {
6522
+ function Km(t, e) {
6516
6523
  var i = "", r;
6517
6524
  for (r = 0; r < e; r += 1)
6518
6525
  i += t;
6519
6526
  return i;
6520
6527
  }
6521
- function Km(t) {
6528
+ function Zm(t) {
6522
6529
  return t === 0 && Number.NEGATIVE_INFINITY === 1 / t;
6523
6530
  }
6524
- var Zm = ol, Jm = Xm, Qm = jm, t0 = Vm, e0 = Km, i0 = Gm, ut = {
6525
- isNothing: Zm,
6526
- isObject: Jm,
6527
- toArray: Qm,
6528
- repeat: t0,
6529
- isNegativeZero: e0,
6530
- extend: i0
6531
+ var Jm = ol, Qm = jm, t0 = Gm, e0 = Km, i0 = Zm, r0 = Vm, ut = {
6532
+ isNothing: Jm,
6533
+ isObject: Qm,
6534
+ toArray: t0,
6535
+ repeat: e0,
6536
+ isNegativeZero: i0,
6537
+ extend: r0
6531
6538
  };
6532
6539
  function sl(t, e) {
6533
6540
  var i = "", r = t.reason || "(unknown reason)";
@@ -6555,7 +6562,7 @@ function Vr(t, e, i, r, n) {
6555
6562
  function Kr(t, e) {
6556
6563
  return ut.repeat(" ", e - t.length) + t;
6557
6564
  }
6558
- function r0(t, e) {
6565
+ function n0(t, e) {
6559
6566
  if (e = Object.create(e || null), !t.buffer)
6560
6567
  return null;
6561
6568
  e.maxLength || (e.maxLength = 79), typeof e.indent != "number" && (e.indent = 1), typeof e.linesBefore != "number" && (e.linesBefore = 3), typeof e.linesAfter != "number" && (e.linesAfter = 2);
@@ -6585,7 +6592,7 @@ function r0(t, e) {
6585
6592
  `;
6586
6593
  return a.replace(/\n$/, "");
6587
6594
  }
6588
- var n0 = r0, o0 = [
6595
+ var o0 = n0, s0 = [
6589
6596
  "kind",
6590
6597
  "multi",
6591
6598
  "resolve",
@@ -6596,12 +6603,12 @@ var n0 = r0, o0 = [
6596
6603
  "representName",
6597
6604
  "defaultStyle",
6598
6605
  "styleAliases"
6599
- ], s0 = [
6606
+ ], a0 = [
6600
6607
  "scalar",
6601
6608
  "sequence",
6602
6609
  "mapping"
6603
6610
  ];
6604
- function a0(t) {
6611
+ function l0(t) {
6605
6612
  var e = {};
6606
6613
  return t !== null && Object.keys(t).forEach(function(i) {
6607
6614
  t[i].forEach(function(r) {
@@ -6609,18 +6616,18 @@ function a0(t) {
6609
6616
  });
6610
6617
  }), e;
6611
6618
  }
6612
- function l0(t, e) {
6619
+ function c0(t, e) {
6613
6620
  if (e = e || {}, Object.keys(e).forEach(function(i) {
6614
- if (o0.indexOf(i) === -1)
6621
+ if (s0.indexOf(i) === -1)
6615
6622
  throw new Jt('Unknown option "' + i + '" is met in definition of "' + t + '" YAML type.');
6616
6623
  }), this.options = e, this.tag = t, this.kind = e.kind || null, this.resolve = e.resolve || function() {
6617
6624
  return !0;
6618
6625
  }, this.construct = e.construct || function(i) {
6619
6626
  return i;
6620
- }, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = a0(e.styleAliases || null), s0.indexOf(this.kind) === -1)
6627
+ }, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = l0(e.styleAliases || null), a0.indexOf(this.kind) === -1)
6621
6628
  throw new Jt('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.');
6622
6629
  }
6623
- var ct = l0;
6630
+ var ct = c0;
6624
6631
  function os(t, e) {
6625
6632
  var i = [];
6626
6633
  return t[e].forEach(function(r) {
@@ -6630,7 +6637,7 @@ function os(t, e) {
6630
6637
  }), i[n] = r;
6631
6638
  }), i;
6632
6639
  }
6633
- function c0() {
6640
+ function h0() {
6634
6641
  var t = {
6635
6642
  scalar: {},
6636
6643
  sequence: {},
@@ -6675,47 +6682,47 @@ mn.prototype.extend = function(e) {
6675
6682
  throw new Jt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
6676
6683
  });
6677
6684
  var n = Object.create(mn.prototype);
6678
- return n.implicit = (this.implicit || []).concat(i), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = os(n, "implicit"), n.compiledExplicit = os(n, "explicit"), n.compiledTypeMap = c0(n.compiledImplicit, n.compiledExplicit), n;
6685
+ return n.implicit = (this.implicit || []).concat(i), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = os(n, "implicit"), n.compiledExplicit = os(n, "explicit"), n.compiledTypeMap = h0(n.compiledImplicit, n.compiledExplicit), n;
6679
6686
  };
6680
- var h0 = mn, u0 = new ct("tag:yaml.org,2002:str", {
6687
+ var u0 = mn, d0 = new ct("tag:yaml.org,2002:str", {
6681
6688
  kind: "scalar",
6682
6689
  construct: function(t) {
6683
6690
  return t !== null ? t : "";
6684
6691
  }
6685
- }), d0 = new ct("tag:yaml.org,2002:seq", {
6692
+ }), f0 = new ct("tag:yaml.org,2002:seq", {
6686
6693
  kind: "sequence",
6687
6694
  construct: function(t) {
6688
6695
  return t !== null ? t : [];
6689
6696
  }
6690
- }), f0 = new ct("tag:yaml.org,2002:map", {
6697
+ }), p0 = new ct("tag:yaml.org,2002:map", {
6691
6698
  kind: "mapping",
6692
6699
  construct: function(t) {
6693
6700
  return t !== null ? t : {};
6694
6701
  }
6695
- }), p0 = new h0({
6702
+ }), g0 = new u0({
6696
6703
  explicit: [
6697
- u0,
6698
6704
  d0,
6699
- f0
6705
+ f0,
6706
+ p0
6700
6707
  ]
6701
6708
  });
6702
- function g0(t) {
6709
+ function m0(t) {
6703
6710
  if (t === null)
6704
6711
  return !0;
6705
6712
  var e = t.length;
6706
6713
  return e === 1 && t === "~" || e === 4 && (t === "null" || t === "Null" || t === "NULL");
6707
6714
  }
6708
- function m0() {
6715
+ function y0() {
6709
6716
  return null;
6710
6717
  }
6711
- function y0(t) {
6718
+ function _0(t) {
6712
6719
  return t === null;
6713
6720
  }
6714
- var _0 = new ct("tag:yaml.org,2002:null", {
6721
+ var C0 = new ct("tag:yaml.org,2002:null", {
6715
6722
  kind: "scalar",
6716
- resolve: g0,
6717
- construct: m0,
6718
- predicate: y0,
6723
+ resolve: m0,
6724
+ construct: y0,
6725
+ predicate: _0,
6719
6726
  represent: {
6720
6727
  canonical: function() {
6721
6728
  return "~";
@@ -6735,23 +6742,23 @@ var _0 = new ct("tag:yaml.org,2002:null", {
6735
6742
  },
6736
6743
  defaultStyle: "lowercase"
6737
6744
  });
6738
- function C0(t) {
6745
+ function x0(t) {
6739
6746
  if (t === null)
6740
6747
  return !1;
6741
6748
  var e = t.length;
6742
6749
  return e === 4 && (t === "true" || t === "True" || t === "TRUE") || e === 5 && (t === "false" || t === "False" || t === "FALSE");
6743
6750
  }
6744
- function x0(t) {
6751
+ function b0(t) {
6745
6752
  return t === "true" || t === "True" || t === "TRUE";
6746
6753
  }
6747
- function b0(t) {
6754
+ function T0(t) {
6748
6755
  return Object.prototype.toString.call(t) === "[object Boolean]";
6749
6756
  }
6750
- var T0 = new ct("tag:yaml.org,2002:bool", {
6757
+ var k0 = new ct("tag:yaml.org,2002:bool", {
6751
6758
  kind: "scalar",
6752
- resolve: C0,
6753
- construct: x0,
6754
- predicate: b0,
6759
+ resolve: x0,
6760
+ construct: b0,
6761
+ predicate: T0,
6755
6762
  represent: {
6756
6763
  lowercase: function(t) {
6757
6764
  return t ? "true" : "false";
@@ -6765,16 +6772,16 @@ var T0 = new ct("tag:yaml.org,2002:bool", {
6765
6772
  },
6766
6773
  defaultStyle: "lowercase"
6767
6774
  });
6768
- function k0(t) {
6775
+ function S0(t) {
6769
6776
  return 48 <= t && t <= 57 || 65 <= t && t <= 70 || 97 <= t && t <= 102;
6770
6777
  }
6771
- function S0(t) {
6778
+ function v0(t) {
6772
6779
  return 48 <= t && t <= 55;
6773
6780
  }
6774
- function v0(t) {
6781
+ function w0(t) {
6775
6782
  return 48 <= t && t <= 57;
6776
6783
  }
6777
- function w0(t) {
6784
+ function A0(t) {
6778
6785
  if (t === null)
6779
6786
  return !1;
6780
6787
  var e = t.length, i = 0, r = !1, n;
@@ -6795,7 +6802,7 @@ function w0(t) {
6795
6802
  if (n === "x") {
6796
6803
  for (i++; i < e; i++)
6797
6804
  if (n = t[i], n !== "_") {
6798
- if (!k0(t.charCodeAt(i)))
6805
+ if (!S0(t.charCodeAt(i)))
6799
6806
  return !1;
6800
6807
  r = !0;
6801
6808
  }
@@ -6804,7 +6811,7 @@ function w0(t) {
6804
6811
  if (n === "o") {
6805
6812
  for (i++; i < e; i++)
6806
6813
  if (n = t[i], n !== "_") {
6807
- if (!S0(t.charCodeAt(i)))
6814
+ if (!v0(t.charCodeAt(i)))
6808
6815
  return !1;
6809
6816
  r = !0;
6810
6817
  }
@@ -6815,13 +6822,13 @@ function w0(t) {
6815
6822
  return !1;
6816
6823
  for (; i < e; i++)
6817
6824
  if (n = t[i], n !== "_") {
6818
- if (!v0(t.charCodeAt(i)))
6825
+ if (!w0(t.charCodeAt(i)))
6819
6826
  return !1;
6820
6827
  r = !0;
6821
6828
  }
6822
6829
  return !(!r || n === "_");
6823
6830
  }
6824
- function A0(t) {
6831
+ function B0(t) {
6825
6832
  var e = t, i = 1, r;
6826
6833
  if (e.indexOf("_") !== -1 && (e = e.replace(/_/g, "")), r = e[0], (r === "-" || r === "+") && (r === "-" && (i = -1), e = e.slice(1), r = e[0]), e === "0")
6827
6834
  return 0;
@@ -6835,14 +6842,14 @@ function A0(t) {
6835
6842
  }
6836
6843
  return i * parseInt(e, 10);
6837
6844
  }
6838
- function B0(t) {
6845
+ function L0(t) {
6839
6846
  return Object.prototype.toString.call(t) === "[object Number]" && t % 1 === 0 && !ut.isNegativeZero(t);
6840
6847
  }
6841
- var L0 = new ct("tag:yaml.org,2002:int", {
6848
+ var E0 = new ct("tag:yaml.org,2002:int", {
6842
6849
  kind: "scalar",
6843
- resolve: w0,
6844
- construct: A0,
6845
- predicate: B0,
6850
+ resolve: A0,
6851
+ construct: B0,
6852
+ predicate: L0,
6846
6853
  represent: {
6847
6854
  binary: function(t) {
6848
6855
  return t >= 0 ? "0b" + t.toString(2) : "-0b" + t.toString(2).slice(1);
@@ -6865,21 +6872,21 @@ var L0 = new ct("tag:yaml.org,2002:int", {
6865
6872
  decimal: [10, "dec"],
6866
6873
  hexadecimal: [16, "hex"]
6867
6874
  }
6868
- }), E0 = new RegExp(
6875
+ }), F0 = new RegExp(
6869
6876
  // 2.5e4, 2.5 and integers
6870
6877
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
6871
6878
  );
6872
- function F0(t) {
6873
- return !(t === null || !E0.test(t) || // Quick hack to not allow integers end with `_`
6879
+ function I0(t) {
6880
+ return !(t === null || !F0.test(t) || // Quick hack to not allow integers end with `_`
6874
6881
  // Probably should update regexp & check speed
6875
6882
  t[t.length - 1] === "_");
6876
6883
  }
6877
- function I0(t) {
6884
+ function O0(t) {
6878
6885
  var e, i;
6879
6886
  return e = t.replace(/_/g, "").toLowerCase(), i = e[0] === "-" ? -1 : 1, "+-".indexOf(e[0]) >= 0 && (e = e.slice(1)), e === ".inf" ? i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : e === ".nan" ? NaN : i * parseFloat(e, 10);
6880
6887
  }
6881
- var O0 = /^[-+]?[0-9]+e/;
6882
- function M0(t, e) {
6888
+ var M0 = /^[-+]?[0-9]+e/;
6889
+ function D0(t, e) {
6883
6890
  var i;
6884
6891
  if (isNaN(t))
6885
6892
  switch (e) {
@@ -6910,34 +6917,34 @@ function M0(t, e) {
6910
6917
  }
6911
6918
  else if (ut.isNegativeZero(t))
6912
6919
  return "-0.0";
6913
- return i = t.toString(10), O0.test(i) ? i.replace("e", ".e") : i;
6920
+ return i = t.toString(10), M0.test(i) ? i.replace("e", ".e") : i;
6914
6921
  }
6915
- function D0(t) {
6922
+ function N0(t) {
6916
6923
  return Object.prototype.toString.call(t) === "[object Number]" && (t % 1 !== 0 || ut.isNegativeZero(t));
6917
6924
  }
6918
- var N0 = new ct("tag:yaml.org,2002:float", {
6925
+ var $0 = new ct("tag:yaml.org,2002:float", {
6919
6926
  kind: "scalar",
6920
- resolve: F0,
6921
- construct: I0,
6922
- predicate: D0,
6923
- represent: M0,
6927
+ resolve: I0,
6928
+ construct: O0,
6929
+ predicate: N0,
6930
+ represent: D0,
6924
6931
  defaultStyle: "lowercase"
6925
- }), al = p0.extend({
6932
+ }), al = g0.extend({
6926
6933
  implicit: [
6927
- _0,
6928
- T0,
6929
- L0,
6930
- N0
6934
+ C0,
6935
+ k0,
6936
+ E0,
6937
+ $0
6931
6938
  ]
6932
- }), $0 = al, ll = new RegExp(
6939
+ }), R0 = al, ll = new RegExp(
6933
6940
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
6934
6941
  ), cl = new RegExp(
6935
6942
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
6936
6943
  );
6937
- function R0(t) {
6944
+ function q0(t) {
6938
6945
  return t === null ? !1 : ll.exec(t) !== null || cl.exec(t) !== null;
6939
6946
  }
6940
- function q0(t) {
6947
+ function P0(t) {
6941
6948
  var e, i, r, n, s, o, a, l = 0, c = null, u, d, h;
6942
6949
  if (e = ll.exec(t), e === null && (e = cl.exec(t)), e === null)
6943
6950
  throw new Error("Date resolve error");
@@ -6950,25 +6957,25 @@ function q0(t) {
6950
6957
  }
6951
6958
  return e[9] && (u = +e[10], d = +(e[11] || 0), c = (u * 60 + d) * 6e4, e[9] === "-" && (c = -c)), h = new Date(Date.UTC(i, r, n, s, o, a, l)), c && h.setTime(h.getTime() - c), h;
6952
6959
  }
6953
- function P0(t) {
6960
+ function z0(t) {
6954
6961
  return t.toISOString();
6955
6962
  }
6956
- var z0 = new ct("tag:yaml.org,2002:timestamp", {
6963
+ var W0 = new ct("tag:yaml.org,2002:timestamp", {
6957
6964
  kind: "scalar",
6958
- resolve: R0,
6959
- construct: q0,
6965
+ resolve: q0,
6966
+ construct: P0,
6960
6967
  instanceOf: Date,
6961
- represent: P0
6968
+ represent: z0
6962
6969
  });
6963
- function W0(t) {
6970
+ function Y0(t) {
6964
6971
  return t === "<<" || t === null;
6965
6972
  }
6966
- var Y0 = new ct("tag:yaml.org,2002:merge", {
6973
+ var H0 = new ct("tag:yaml.org,2002:merge", {
6967
6974
  kind: "scalar",
6968
- resolve: W0
6975
+ resolve: Y0
6969
6976
  }), Xn = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
6970
6977
  \r`;
6971
- function H0(t) {
6978
+ function U0(t) {
6972
6979
  if (t === null)
6973
6980
  return !1;
6974
6981
  var e, i, r = 0, n = t.length, s = Xn;
@@ -6980,37 +6987,37 @@ function H0(t) {
6980
6987
  }
6981
6988
  return r % 8 === 0;
6982
6989
  }
6983
- function U0(t) {
6990
+ function X0(t) {
6984
6991
  var e, i, r = t.replace(/[\r\n=]/g, ""), n = r.length, s = Xn, o = 0, a = [];
6985
6992
  for (e = 0; e < n; e++)
6986
6993
  e % 4 === 0 && e && (a.push(o >> 16 & 255), a.push(o >> 8 & 255), a.push(o & 255)), o = o << 6 | s.indexOf(r.charAt(e));
6987
6994
  return i = n % 4 * 6, i === 0 ? (a.push(o >> 16 & 255), a.push(o >> 8 & 255), a.push(o & 255)) : i === 18 ? (a.push(o >> 10 & 255), a.push(o >> 2 & 255)) : i === 12 && a.push(o >> 4 & 255), new Uint8Array(a);
6988
6995
  }
6989
- function X0(t) {
6996
+ function j0(t) {
6990
6997
  var e = "", i = 0, r, n, s = t.length, o = Xn;
6991
6998
  for (r = 0; r < s; r++)
6992
6999
  r % 3 === 0 && r && (e += o[i >> 18 & 63], e += o[i >> 12 & 63], e += o[i >> 6 & 63], e += o[i & 63]), i = (i << 8) + t[r];
6993
7000
  return n = s % 3, n === 0 ? (e += o[i >> 18 & 63], e += o[i >> 12 & 63], e += o[i >> 6 & 63], e += o[i & 63]) : n === 2 ? (e += o[i >> 10 & 63], e += o[i >> 4 & 63], e += o[i << 2 & 63], e += o[64]) : n === 1 && (e += o[i >> 2 & 63], e += o[i << 4 & 63], e += o[64], e += o[64]), e;
6994
7001
  }
6995
- function j0(t) {
7002
+ function G0(t) {
6996
7003
  return Object.prototype.toString.call(t) === "[object Uint8Array]";
6997
7004
  }
6998
- var G0 = new ct("tag:yaml.org,2002:binary", {
7005
+ var V0 = new ct("tag:yaml.org,2002:binary", {
6999
7006
  kind: "scalar",
7000
- resolve: H0,
7001
- construct: U0,
7002
- predicate: j0,
7003
- represent: X0
7004
- }), V0 = Object.prototype.hasOwnProperty, K0 = Object.prototype.toString;
7005
- function Z0(t) {
7007
+ resolve: U0,
7008
+ construct: X0,
7009
+ predicate: G0,
7010
+ represent: j0
7011
+ }), K0 = Object.prototype.hasOwnProperty, Z0 = Object.prototype.toString;
7012
+ function J0(t) {
7006
7013
  if (t === null)
7007
7014
  return !0;
7008
7015
  var e = [], i, r, n, s, o, a = t;
7009
7016
  for (i = 0, r = a.length; i < r; i += 1) {
7010
- if (n = a[i], o = !1, K0.call(n) !== "[object Object]")
7017
+ if (n = a[i], o = !1, Z0.call(n) !== "[object Object]")
7011
7018
  return !1;
7012
7019
  for (s in n)
7013
- if (V0.call(n, s))
7020
+ if (K0.call(n, s))
7014
7021
  if (!o)
7015
7022
  o = !0;
7016
7023
  else
@@ -7024,26 +7031,26 @@ function Z0(t) {
7024
7031
  }
7025
7032
  return !0;
7026
7033
  }
7027
- function J0(t) {
7034
+ function Q0(t) {
7028
7035
  return t !== null ? t : [];
7029
7036
  }
7030
- var Q0 = new ct("tag:yaml.org,2002:omap", {
7037
+ var ty = new ct("tag:yaml.org,2002:omap", {
7031
7038
  kind: "sequence",
7032
- resolve: Z0,
7033
- construct: J0
7034
- }), ty = Object.prototype.toString;
7035
- function ey(t) {
7039
+ resolve: J0,
7040
+ construct: Q0
7041
+ }), ey = Object.prototype.toString;
7042
+ function iy(t) {
7036
7043
  if (t === null)
7037
7044
  return !0;
7038
7045
  var e, i, r, n, s, o = t;
7039
7046
  for (s = new Array(o.length), e = 0, i = o.length; e < i; e += 1) {
7040
- if (r = o[e], ty.call(r) !== "[object Object]" || (n = Object.keys(r), n.length !== 1))
7047
+ if (r = o[e], ey.call(r) !== "[object Object]" || (n = Object.keys(r), n.length !== 1))
7041
7048
  return !1;
7042
7049
  s[e] = [n[0], r[n[0]]];
7043
7050
  }
7044
7051
  return !0;
7045
7052
  }
7046
- function iy(t) {
7053
+ function ry(t) {
7047
7054
  if (t === null)
7048
7055
  return [];
7049
7056
  var e, i, r, n, s, o = t;
@@ -7051,39 +7058,39 @@ function iy(t) {
7051
7058
  r = o[e], n = Object.keys(r), s[e] = [n[0], r[n[0]]];
7052
7059
  return s;
7053
7060
  }
7054
- var ry = new ct("tag:yaml.org,2002:pairs", {
7061
+ var ny = new ct("tag:yaml.org,2002:pairs", {
7055
7062
  kind: "sequence",
7056
- resolve: ey,
7057
- construct: iy
7058
- }), ny = Object.prototype.hasOwnProperty;
7059
- function oy(t) {
7063
+ resolve: iy,
7064
+ construct: ry
7065
+ }), oy = Object.prototype.hasOwnProperty;
7066
+ function sy(t) {
7060
7067
  if (t === null)
7061
7068
  return !0;
7062
7069
  var e, i = t;
7063
7070
  for (e in i)
7064
- if (ny.call(i, e) && i[e] !== null)
7071
+ if (oy.call(i, e) && i[e] !== null)
7065
7072
  return !1;
7066
7073
  return !0;
7067
7074
  }
7068
- function sy(t) {
7075
+ function ay(t) {
7069
7076
  return t !== null ? t : {};
7070
7077
  }
7071
- var ay = new ct("tag:yaml.org,2002:set", {
7078
+ var ly = new ct("tag:yaml.org,2002:set", {
7072
7079
  kind: "mapping",
7073
- resolve: oy,
7074
- construct: sy
7075
- }), ly = $0.extend({
7080
+ resolve: sy,
7081
+ construct: ay
7082
+ }), cy = R0.extend({
7076
7083
  implicit: [
7077
- z0,
7078
- Y0
7084
+ W0,
7085
+ H0
7079
7086
  ],
7080
7087
  explicit: [
7081
- G0,
7082
- Q0,
7083
- ry,
7084
- ay
7088
+ V0,
7089
+ ty,
7090
+ ny,
7091
+ ly
7085
7092
  ]
7086
- }), he = Object.prototype.hasOwnProperty, cr = 1, hl = 2, ul = 3, hr = 4, Zr = 1, cy = 2, ss = 3, hy = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, uy = /[\x85\u2028\u2029]/, dy = /[,\[\]\{\}]/, dl = /^(?:!|!!|![a-z\-]+!)$/i, fl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
7093
+ }), he = Object.prototype.hasOwnProperty, cr = 1, hl = 2, ul = 3, hr = 4, Zr = 1, hy = 2, ss = 3, uy = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, dy = /[\x85\u2028\u2029]/, fy = /[,\[\]\{\}]/, dl = /^(?:!|!!|![a-z\-]+!)$/i, fl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
7087
7094
  function as(t) {
7088
7095
  return Object.prototype.toString.call(t);
7089
7096
  }
@@ -7099,21 +7106,21 @@ function _t(t) {
7099
7106
  function Ae(t) {
7100
7107
  return t === 44 || t === 91 || t === 93 || t === 123 || t === 125;
7101
7108
  }
7102
- function fy(t) {
7109
+ function py(t) {
7103
7110
  var e;
7104
7111
  return 48 <= t && t <= 57 ? t - 48 : (e = t | 32, 97 <= e && e <= 102 ? e - 97 + 10 : -1);
7105
7112
  }
7106
- function py(t) {
7113
+ function gy(t) {
7107
7114
  return t === 120 ? 2 : t === 117 ? 4 : t === 85 ? 8 : 0;
7108
7115
  }
7109
- function gy(t) {
7116
+ function my(t) {
7110
7117
  return 48 <= t && t <= 57 ? t - 48 : -1;
7111
7118
  }
7112
7119
  function ls(t) {
7113
7120
  return t === 48 ? "\0" : t === 97 ? "\x07" : t === 98 ? "\b" : t === 116 || t === 9 ? " " : t === 110 ? `
7114
7121
  ` : t === 118 ? "\v" : t === 102 ? "\f" : t === 114 ? "\r" : t === 101 ? "\x1B" : t === 32 ? " " : t === 34 ? '"' : t === 47 ? "/" : t === 92 ? "\\" : t === 78 ? "…" : t === 95 ? " " : t === 76 ? "\u2028" : t === 80 ? "\u2029" : "";
7115
7122
  }
7116
- function my(t) {
7123
+ function yy(t) {
7117
7124
  return t <= 65535 ? String.fromCharCode(t) : String.fromCharCode(
7118
7125
  (t - 65536 >> 10) + 55296,
7119
7126
  (t - 65536 & 1023) + 56320
@@ -7122,8 +7129,8 @@ function my(t) {
7122
7129
  var pl = new Array(256), gl = new Array(256);
7123
7130
  for (var ve = 0; ve < 256; ve++)
7124
7131
  pl[ve] = ls(ve) ? 1 : 0, gl[ve] = ls(ve);
7125
- function yy(t, e) {
7126
- this.input = t, this.filename = e.filename || null, this.schema = e.schema || ly, this.onWarning = e.onWarning || null, this.legacy = e.legacy || !1, this.json = e.json || !1, this.listener = e.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = t.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
7132
+ function _y(t, e) {
7133
+ this.input = t, this.filename = e.filename || null, this.schema = e.schema || cy, this.onWarning = e.onWarning || null, this.legacy = e.legacy || !1, this.json = e.json || !1, this.listener = e.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = t.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
7127
7134
  }
7128
7135
  function ml(t, e) {
7129
7136
  var i = {
@@ -7134,7 +7141,7 @@ function ml(t, e) {
7134
7141
  line: t.line,
7135
7142
  column: t.position - t.lineStart
7136
7143
  };
7137
- return i.snippet = n0(i), new Jt(e, i);
7144
+ return i.snippet = o0(i), new Jt(e, i);
7138
7145
  }
7139
7146
  function I(t, e) {
7140
7147
  throw ml(t, e);
@@ -7164,7 +7171,7 @@ function le(t, e, i, r) {
7164
7171
  if (a = t.input.slice(e, i), r)
7165
7172
  for (n = 0, s = a.length; n < s; n += 1)
7166
7173
  o = a.charCodeAt(n), o === 9 || 32 <= o && o <= 1114111 || I(t, "expected valid JSON character");
7167
- else hy.test(a) && I(t, "the stream contains non-printable characters");
7174
+ else uy.test(a) && I(t, "the stream contains non-printable characters");
7168
7175
  t.result += a;
7169
7176
  }
7170
7177
  }
@@ -7221,7 +7228,7 @@ function Gn(t, e) {
7221
7228
  e === 1 ? t.result += " " : e > 1 && (t.result += ut.repeat(`
7222
7229
  `, e - 1));
7223
7230
  }
7224
- function _y(t, e, i) {
7231
+ function Cy(t, e, i) {
7225
7232
  var r, n, s, o, a, l, c, u, d = t.kind, h = t.result, f;
7226
7233
  if (f = t.input.charCodeAt(t.position), _t(f) || Ae(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (n = t.input.charCodeAt(t.position + 1), _t(n) || i && Ae(n)))
7227
7234
  return !1;
@@ -7248,7 +7255,7 @@ function _y(t, e, i) {
7248
7255
  }
7249
7256
  return le(t, s, o, !1), t.result ? !0 : (t.kind = d, t.result = h, !1);
7250
7257
  }
7251
- function Cy(t, e) {
7258
+ function xy(t, e) {
7252
7259
  var i, r, n;
7253
7260
  if (i = t.input.charCodeAt(t.position), i !== 39)
7254
7261
  return !1;
@@ -7261,7 +7268,7 @@ function Cy(t, e) {
7261
7268
  else zt(i) ? (le(t, r, n, !0), Gn(t, J(t, !1, e)), r = n = t.position) : t.position === t.lineStart && Ar(t) ? I(t, "unexpected end of the document within a single quoted scalar") : (t.position++, n = t.position);
7262
7269
  I(t, "unexpected end of the stream within a single quoted scalar");
7263
7270
  }
7264
- function xy(t, e) {
7271
+ function by(t, e) {
7265
7272
  var i, r, n, s, o, a;
7266
7273
  if (a = t.input.charCodeAt(t.position), a !== 34)
7267
7274
  return !1;
@@ -7273,10 +7280,10 @@ function xy(t, e) {
7273
7280
  J(t, !1, e);
7274
7281
  else if (a < 256 && pl[a])
7275
7282
  t.result += gl[a], t.position++;
7276
- else if ((o = py(a)) > 0) {
7283
+ else if ((o = gy(a)) > 0) {
7277
7284
  for (n = o, s = 0; n > 0; n--)
7278
- a = t.input.charCodeAt(++t.position), (o = fy(a)) >= 0 ? s = (s << 4) + o : I(t, "expected hexadecimal character");
7279
- t.result += my(s), t.position++;
7285
+ a = t.input.charCodeAt(++t.position), (o = py(a)) >= 0 ? s = (s << 4) + o : I(t, "expected hexadecimal character");
7286
+ t.result += yy(s), t.position++;
7280
7287
  } else
7281
7288
  I(t, "unknown escape sequence");
7282
7289
  i = r = t.position;
@@ -7284,7 +7291,7 @@ function xy(t, e) {
7284
7291
  }
7285
7292
  I(t, "unexpected end of the stream within a double quoted scalar");
7286
7293
  }
7287
- function by(t, e) {
7294
+ function Ty(t, e) {
7288
7295
  var i = !0, r, n, s, o = t.tag, a, l = t.anchor, c, u, d, h, f, m = /* @__PURE__ */ Object.create(null), y, C, L, b;
7289
7296
  if (b = t.input.charCodeAt(t.position), b === 91)
7290
7297
  u = 93, f = !1, a = [];
@@ -7299,7 +7306,7 @@ function by(t, e) {
7299
7306
  }
7300
7307
  I(t, "unexpected end of the stream within a flow collection");
7301
7308
  }
7302
- function Ty(t, e) {
7309
+ function ky(t, e) {
7303
7310
  var i, r, n = Zr, s = !1, o = !1, a = e, l = 0, c = !1, u, d;
7304
7311
  if (d = t.input.charCodeAt(t.position), d === 124)
7305
7312
  r = !1;
@@ -7309,8 +7316,8 @@ function Ty(t, e) {
7309
7316
  return !1;
7310
7317
  for (t.kind = "scalar", t.result = ""; d !== 0; )
7311
7318
  if (d = t.input.charCodeAt(++t.position), d === 43 || d === 45)
7312
- Zr === n ? n = d === 43 ? ss : cy : I(t, "repeat of a chomping mode identifier");
7313
- else if ((u = gy(d)) >= 0)
7319
+ Zr === n ? n = d === 43 ? ss : hy : I(t, "repeat of a chomping mode identifier");
7320
+ else if ((u = my(d)) >= 0)
7314
7321
  u === 0 ? I(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? I(t, "repeat of an indentation width identifier") : (a = e + u - 1, o = !0);
7315
7322
  else
7316
7323
  break;
@@ -7362,7 +7369,7 @@ function us(t, e) {
7362
7369
  }
7363
7370
  return a ? (t.tag = r, t.anchor = n, t.kind = "sequence", t.result = s, !0) : !1;
7364
7371
  }
7365
- function ky(t, e, i) {
7372
+ function Sy(t, e, i) {
7366
7373
  var r, n, s, o, a, l, c = t.tag, u = t.anchor, d = {}, h = /* @__PURE__ */ Object.create(null), f = null, m = null, y = null, C = !1, L = !1, b;
7367
7374
  if (t.firstTabInLine !== -1)
7368
7375
  return !1;
@@ -7393,7 +7400,7 @@ function ky(t, e, i) {
7393
7400
  }
7394
7401
  return C && Be(t, d, h, f, m, null, o, a, l), L && (t.tag = c, t.anchor = u, t.kind = "mapping", t.result = d), L;
7395
7402
  }
7396
- function Sy(t) {
7403
+ function vy(t) {
7397
7404
  var e, i = !1, r = !1, n, s, o;
7398
7405
  if (o = t.input.charCodeAt(t.position), o !== 33)
7399
7406
  return !1;
@@ -7405,7 +7412,7 @@ function Sy(t) {
7405
7412
  } else {
7406
7413
  for (; o !== 0 && !_t(o); )
7407
7414
  o === 33 && (r ? I(t, "tag suffix cannot contain exclamation marks") : (n = t.input.slice(e - 1, t.position + 1), dl.test(n) || I(t, "named tag handle cannot contain such characters"), r = !0, e = t.position + 1)), o = t.input.charCodeAt(++t.position);
7408
- s = t.input.slice(e, t.position), dy.test(s) && I(t, "tag suffix cannot contain flow indicator characters");
7415
+ s = t.input.slice(e, t.position), fy.test(s) && I(t, "tag suffix cannot contain flow indicator characters");
7409
7416
  }
7410
7417
  s && !fl.test(s) && I(t, "tag name cannot contain such characters: " + s);
7411
7418
  try {
@@ -7415,7 +7422,7 @@ function Sy(t) {
7415
7422
  }
7416
7423
  return i ? t.tag = s : he.call(t.tagMap, n) ? t.tag = t.tagMap[n] + s : n === "!" ? t.tag = "!" + s : n === "!!" ? t.tag = "tag:yaml.org,2002:" + s : I(t, 'undeclared tag handle "' + n + '"'), !0;
7417
7424
  }
7418
- function vy(t) {
7425
+ function wy(t) {
7419
7426
  var e, i;
7420
7427
  if (i = t.input.charCodeAt(t.position), i !== 38)
7421
7428
  return !1;
@@ -7423,7 +7430,7 @@ function vy(t) {
7423
7430
  i = t.input.charCodeAt(++t.position);
7424
7431
  return t.position === e && I(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0;
7425
7432
  }
7426
- function wy(t) {
7433
+ function Ay(t) {
7427
7434
  var e, i, r;
7428
7435
  if (r = t.input.charCodeAt(t.position), r !== 42)
7429
7436
  return !1;
@@ -7434,9 +7441,9 @@ function wy(t) {
7434
7441
  function We(t, e, i, r, n) {
7435
7442
  var s, o, a, l = 1, c = !1, u = !1, d, h, f, m, y, C;
7436
7443
  if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, s = o = a = hr === i || ul === i, r && J(t, !0, -1) && (c = !0, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)), l === 1)
7437
- for (; Sy(t) || vy(t); )
7444
+ for (; vy(t) || wy(t); )
7438
7445
  J(t, !0, -1) ? (c = !0, a = s, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)) : a = !1;
7439
- if (a && (a = c || n), (l === 1 || hr === i) && (cr === i || hl === i ? y = e : y = e + 1, C = t.position - t.lineStart, l === 1 ? a && (us(t, C) || ky(t, C, y)) || by(t, y) ? u = !0 : (o && Ty(t, y) || Cy(t, y) || xy(t, y) ? u = !0 : wy(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && I(t, "alias node should not have any properties")) : _y(t, y, cr === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && us(t, C))), t.tag === null)
7446
+ if (a && (a = c || n), (l === 1 || hr === i) && (cr === i || hl === i ? y = e : y = e + 1, C = t.position - t.lineStart, l === 1 ? a && (us(t, C) || Sy(t, C, y)) || Ty(t, y) ? u = !0 : (o && ky(t, y) || xy(t, y) || by(t, y) ? u = !0 : Ay(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && I(t, "alias node should not have any properties")) : Cy(t, y, cr === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && us(t, C))), t.tag === null)
7440
7447
  t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
7441
7448
  else if (t.tag === "?") {
7442
7449
  for (t.result !== null && t.kind !== "scalar" && I(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), d = 0, h = t.implicitTypes.length; d < h; d += 1)
@@ -7457,7 +7464,7 @@ function We(t, e, i, r, n) {
7457
7464
  }
7458
7465
  return t.listener !== null && t.listener("close", t), t.tag !== null || t.anchor !== null || u;
7459
7466
  }
7460
- function Ay(t) {
7467
+ function By(t) {
7461
7468
  var e = t.position, i, r, n, s = !1, o;
7462
7469
  for (t.version = null, t.checkLineBreaks = t.legacy, t.tagMap = /* @__PURE__ */ Object.create(null), t.anchorMap = /* @__PURE__ */ Object.create(null); (o = t.input.charCodeAt(t.position)) !== 0 && (J(t, !0, -1), o = t.input.charCodeAt(t.position), !(t.lineIndent > 0 || o !== 37)); ) {
7463
7470
  for (s = !0, o = t.input.charCodeAt(++t.position), i = t.position; o !== 0 && !_t(o); )
@@ -7479,7 +7486,7 @@ function Ay(t) {
7479
7486
  }
7480
7487
  o !== 0 && jn(t), he.call(cs, r) ? cs[r](t, r, n) : ur(t, 'unknown document directive "' + r + '"');
7481
7488
  }
7482
- if (J(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1, hr, !1, !0), J(t, !0, -1), t.checkLineBreaks && uy.test(t.input.slice(e, t.position)) && ur(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && Ar(t)) {
7489
+ if (J(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1, hr, !1, !0), J(t, !0, -1), t.checkLineBreaks && dy.test(t.input.slice(e, t.position)) && ur(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && Ar(t)) {
7483
7490
  t.input.charCodeAt(t.position) === 46 && (t.position += 3, J(t, !0, -1));
7484
7491
  return;
7485
7492
  }
@@ -7488,38 +7495,38 @@ function Ay(t) {
7488
7495
  else
7489
7496
  return;
7490
7497
  }
7491
- function By(t, e) {
7498
+ function Ly(t, e) {
7492
7499
  t = String(t), e = e || {}, t.length !== 0 && (t.charCodeAt(t.length - 1) !== 10 && t.charCodeAt(t.length - 1) !== 13 && (t += `
7493
7500
  `), t.charCodeAt(0) === 65279 && (t = t.slice(1)));
7494
- var i = new yy(t, e), r = t.indexOf("\0");
7501
+ var i = new _y(t, e), r = t.indexOf("\0");
7495
7502
  for (r !== -1 && (i.position = r, I(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
7496
7503
  i.lineIndent += 1, i.position += 1;
7497
7504
  for (; i.position < i.length - 1; )
7498
- Ay(i);
7505
+ By(i);
7499
7506
  return i.documents;
7500
7507
  }
7501
- function Ly(t, e) {
7502
- var i = By(t, e);
7508
+ function Ey(t, e) {
7509
+ var i = Ly(t, e);
7503
7510
  if (i.length !== 0) {
7504
7511
  if (i.length === 1)
7505
7512
  return i[0];
7506
7513
  throw new Jt("expected a single document in the stream, but found more");
7507
7514
  }
7508
7515
  }
7509
- var Ey = Ly, Fy = {
7510
- load: Ey
7511
- }, Iy = al, Oy = Fy.load;
7512
- function My(t) {
7516
+ var Fy = Ey, Iy = {
7517
+ load: Fy
7518
+ }, Oy = al, My = Iy.load;
7519
+ function Dy(t) {
7513
7520
  const e = t.match(ba);
7514
7521
  if (!e)
7515
7522
  return {
7516
7523
  text: t,
7517
7524
  metadata: {}
7518
7525
  };
7519
- let i = Oy(e[1], {
7526
+ let i = My(e[1], {
7520
7527
  // To support config, we need JSON schema.
7521
7528
  // https://www.yaml.org/spec/1.2/spec.html#id2803231
7522
- schema: Iy
7529
+ schema: Oy
7523
7530
  }) ?? {};
7524
7531
  i = typeof i == "object" && !Array.isArray(i) ? i : {};
7525
7532
  const r = {};
@@ -7528,35 +7535,35 @@ function My(t) {
7528
7535
  metadata: r
7529
7536
  };
7530
7537
  }
7531
- const Dy = (t) => t.replace(/\r\n?/g, `
7538
+ const Ny = (t) => t.replace(/\r\n?/g, `
7532
7539
  `).replace(
7533
7540
  /<(\w+)([^>]*)>/g,
7534
7541
  (e, i, r) => "<" + i + r.replace(/="([^"]*)"/g, "='$1'") + ">"
7535
- ), Ny = (t) => {
7536
- const { text: e, metadata: i } = My(t), { displayMode: r, title: n, config: s = {} } = i;
7542
+ ), $y = (t) => {
7543
+ const { text: e, metadata: i } = Dy(t), { displayMode: r, title: n, config: s = {} } = i;
7537
7544
  return r && (s.gantt || (s.gantt = {}), s.gantt.displayMode = r), { title: n, config: s, text: e };
7538
- }, $y = (t) => {
7545
+ }, Ry = (t) => {
7539
7546
  const e = ci.detectInit(t) ?? {}, i = ci.detectDirective(t, "wrap");
7540
7547
  return Array.isArray(i) ? e.wrap = i.some(({ type: r }) => {
7541
7548
  }) : (i == null ? void 0 : i.type) === "wrap" && (e.wrap = !0), {
7542
- text: lp(t),
7549
+ text: cp(t),
7543
7550
  directive: e
7544
7551
  };
7545
7552
  };
7546
7553
  function yl(t) {
7547
- const e = Dy(t), i = Ny(e), r = $y(i.text), n = Ba(i.config, r.directive);
7548
- return t = Um(r.text), {
7554
+ const e = Ny(t), i = $y(e), r = Ry(i.text), n = Ba(i.config, r.directive);
7555
+ return t = Xm(r.text), {
7549
7556
  code: t,
7550
7557
  title: i.title,
7551
7558
  config: n
7552
7559
  };
7553
7560
  }
7554
- const Ry = 5e4, qy = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Py = "sandbox", zy = "loose", Wy = "http://www.w3.org/2000/svg", Yy = "http://www.w3.org/1999/xlink", Hy = "http://www.w3.org/1999/xhtml", Uy = "100%", Xy = "100%", jy = "border:0;margin:0;", Gy = "margin:0", Vy = "allow-top-navigation-by-user-activation allow-popups", Ky = 'The "iframe" tag is not supported by your browser.', Zy = ["foreignobject"], Jy = ["dominant-baseline"];
7561
+ const qy = 5e4, Py = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", zy = "sandbox", Wy = "loose", Yy = "http://www.w3.org/2000/svg", Hy = "http://www.w3.org/1999/xlink", Uy = "http://www.w3.org/1999/xhtml", Xy = "100%", jy = "100%", Gy = "border:0;margin:0;", Vy = "margin:0", Ky = "allow-top-navigation-by-user-activation allow-popups", Zy = 'The "iframe" tag is not supported by your browser.', Jy = ["foreignobject"], Qy = ["dominant-baseline"];
7555
7562
  function _l(t) {
7556
7563
  const e = yl(t);
7557
- return sr(), Mp(e.config ?? {}), e;
7564
+ return sr(), Dp(e.config ?? {}), e;
7558
7565
  }
7559
- async function Qy(t, e) {
7566
+ async function t_(t, e) {
7560
7567
  Un(), t = _l(t).code;
7561
7568
  try {
7562
7569
  await Vn(t);
@@ -7568,7 +7575,7 @@ async function Qy(t, e) {
7568
7575
  return !0;
7569
7576
  }
7570
7577
  const ds = (t, e, i = []) => `
7571
- .${t} ${e} { ${i.join(" !important; ")} !important; }`, t_ = (t, e = {}) => {
7578
+ .${t} ${e} { ${i.join(" !important; ")} !important; }`, e_ = (t, e = {}) => {
7572
7579
  var i;
7573
7580
  let r = "";
7574
7581
  if (t.themeCSS !== void 0 && (r += `
@@ -7584,52 +7591,52 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
7584
7591
  }
7585
7592
  }
7586
7593
  return r;
7587
- }, e_ = (t, e, i, r) => {
7588
- const n = t_(t, i), s = tm(e, n, t.themeVariables);
7589
- return dn(wf(`${r}{${s}}`), Bf);
7590
- }, i_ = (t = "", e, i) => {
7594
+ }, i_ = (t, e, i, r) => {
7595
+ const n = e_(t, i), s = em(e, n, t.themeVariables);
7596
+ return dn(Af(`${r}{${s}}`), Lf);
7597
+ }, r_ = (t = "", e, i) => {
7591
7598
  let r = t;
7592
7599
  return !i && !e && (r = r.replace(
7593
7600
  /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
7594
7601
  'marker-end="url(#'
7595
- )), r = Ep(r), r = r.replace(/<br>/g, "<br/>"), r;
7596
- }, r_ = (t = "", e) => {
7602
+ )), r = Fp(r), r = r.replace(/<br>/g, "<br/>"), r;
7603
+ }, n_ = (t = "", e) => {
7597
7604
  var i, r;
7598
- const n = (r = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && r.height ? e.viewBox.baseVal.height + "px" : Xy, s = btoa('<body style="' + Gy + '">' + t + "</body>");
7599
- return `<iframe style="width:${Uy};height:${n};${jy}" src="data:text/html;base64,${s}" sandbox="${Vy}">
7600
- ${Ky}
7605
+ const n = (r = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && r.height ? e.viewBox.baseVal.height + "px" : jy, s = btoa('<body style="' + Vy + '">' + t + "</body>");
7606
+ return `<iframe style="width:${Xy};height:${n};${Gy}" src="data:text/html;base64,${s}" sandbox="${Ky}">
7607
+ ${Zy}
7601
7608
  </iframe>`;
7602
7609
  }, fs = (t, e, i, r, n) => {
7603
7610
  const s = t.append("div");
7604
7611
  s.attr("id", i), r && s.attr("style", r);
7605
- const o = s.append("svg").attr("id", e).attr("width", "100%").attr("xmlns", Wy);
7612
+ const o = s.append("svg").attr("id", e).attr("width", "100%").attr("xmlns", Yy);
7606
7613
  return n && o.attr("xmlns:xlink", n), o.append("g"), t;
7607
7614
  };
7608
7615
  function ps(t, e) {
7609
7616
  return t.append("iframe").attr("id", e).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
7610
7617
  }
7611
- const n_ = (t, e, i, r) => {
7618
+ const o_ = (t, e, i, r) => {
7612
7619
  var n, s, o;
7613
7620
  (n = t.getElementById(e)) == null || n.remove(), (s = t.getElementById(i)) == null || s.remove(), (o = t.getElementById(r)) == null || o.remove();
7614
- }, o_ = async function(t, e, i) {
7621
+ }, s_ = async function(t, e, i) {
7615
7622
  var r, n, s, o, a, l;
7616
7623
  Un();
7617
7624
  const c = _l(e);
7618
7625
  e = c.code;
7619
7626
  const u = Yt();
7620
- D.debug(u), e.length > ((u == null ? void 0 : u.maxTextSize) ?? Ry) && (e = qy);
7627
+ D.debug(u), e.length > ((u == null ? void 0 : u.maxTextSize) ?? qy) && (e = Py);
7621
7628
  const d = "#" + t, h = "i" + t, f = "#" + h, m = "d" + t, y = "#" + m;
7622
7629
  let C = St("body");
7623
- const L = u.securityLevel === Py, b = u.securityLevel === zy, R = u.fontFamily;
7630
+ const L = u.securityLevel === zy, b = u.securityLevel === Wy, R = u.fontFamily;
7624
7631
  if (i !== void 0) {
7625
7632
  if (i && (i.innerHTML = ""), L) {
7626
7633
  const M = ps(St(i), h);
7627
7634
  C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
7628
7635
  } else
7629
7636
  C = St(i);
7630
- fs(C, t, m, `font-family: ${R}`, Yy);
7637
+ fs(C, t, m, `font-family: ${R}`, Hy);
7631
7638
  } else {
7632
- if (n_(document, t, m, h), L) {
7639
+ if (o_(document, t, m, h), L) {
7633
7640
  const M = ps(St("body"), h);
7634
7641
  C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
7635
7642
  } else
@@ -7642,25 +7649,25 @@ const n_ = (t, e, i, r) => {
7642
7649
  } catch (M) {
7643
7650
  x = new nl("error"), S = M;
7644
7651
  }
7645
- const X = C.select(y).node(), N = x.type, Q = X.firstChild, nt = Q.firstChild, Y = (n = (r = x.renderer).getClasses) == null ? void 0 : n.call(r, e, x), A = e_(u, N, Y, d), tt = document.createElement("style");
7652
+ const X = C.select(y).node(), N = x.type, Q = X.firstChild, nt = Q.firstChild, Y = (n = (r = x.renderer).getClasses) == null ? void 0 : n.call(r, e, x), A = i_(u, N, Y, d), tt = document.createElement("style");
7646
7653
  tt.innerHTML = A, Q.insertBefore(tt, nt);
7647
7654
  try {
7648
7655
  await x.renderer.draw(e, t, es, x);
7649
7656
  } catch (M) {
7650
- throw ym.draw(e, t, es), M;
7657
+ throw _m.draw(e, t, es), M;
7651
7658
  }
7652
7659
  const ie = C.select(`${y} svg`), q = (o = (s = x.db).getAccTitle) == null ? void 0 : o.call(s), w = (l = (a = x.db).getAccDescription) == null ? void 0 : l.call(a);
7653
- a_(N, ie, q, w), C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", Hy);
7660
+ l_(N, ie, q, w), C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", Uy);
7654
7661
  let T = C.select(y).node().innerHTML;
7655
- if (D.debug("config.arrowMarkerAbsolute", u.arrowMarkerAbsolute), T = i_(T, L, _a(u.arrowMarkerAbsolute)), L) {
7662
+ if (D.debug("config.arrowMarkerAbsolute", u.arrowMarkerAbsolute), T = r_(T, L, _a(u.arrowMarkerAbsolute)), L) {
7656
7663
  const M = C.select(y + " svg").node();
7657
- T = r_(T, M);
7664
+ T = n_(T, M);
7658
7665
  } else b || (T = De.sanitize(T, {
7659
- ADD_TAGS: Zy,
7660
- ADD_ATTR: Jy,
7666
+ ADD_TAGS: Jy,
7667
+ ADD_ATTR: Qy,
7661
7668
  HTML_INTEGRATION_POINTS: { foreignobject: !0 }
7662
7669
  }));
7663
- if (zm(), S)
7670
+ if (Wm(), S)
7664
7671
  throw S;
7665
7672
  const v = St(L ? f : y).node();
7666
7673
  return v && "remove" in v && v.remove(), {
@@ -7668,30 +7675,30 @@ const n_ = (t, e, i, r) => {
7668
7675
  bindFunctions: x.db.bindFunctions
7669
7676
  };
7670
7677
  };
7671
- function s_(t = {}) {
7678
+ function a_(t = {}) {
7672
7679
  var e;
7673
- t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), Ip(t), t != null && t.theme && t.theme in te ? t.themeVariables = te[t.theme].getThemeVariables(
7680
+ t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), Op(t), t != null && t.theme && t.theme in te ? t.themeVariables = te[t.theme].getThemeVariables(
7674
7681
  t.themeVariables
7675
7682
  ) : t && (t.themeVariables = te.default.getThemeVariables(t.themeVariables));
7676
- const i = typeof t == "object" ? Fp(t) : Ea();
7683
+ const i = typeof t == "object" ? Ip(t) : Ea();
7677
7684
  Mn(i.logLevel), Un();
7678
7685
  }
7679
7686
  const Vn = (t, e = {}) => {
7680
7687
  const { code: i } = yl(t);
7681
- return Pm(i, e);
7688
+ return zm(i, e);
7682
7689
  };
7683
- function a_(t, e, i, r) {
7684
- Ym(e, t), Hm(e, i, r, e.attr("id"));
7690
+ function l_(t, e, i, r) {
7691
+ Hm(e, t), Um(e, i, r, e.attr("id"));
7685
7692
  }
7686
7693
  const Ce = Object.freeze({
7687
- render: o_,
7688
- parse: Qy,
7694
+ render: s_,
7695
+ parse: t_,
7689
7696
  getDiagramFromText: Vn,
7690
- initialize: s_,
7697
+ initialize: a_,
7691
7698
  getConfig: Yt,
7692
7699
  setConfig: Fa,
7693
7700
  getSiteConfig: Ea,
7694
- updateSiteConfig: Op,
7701
+ updateSiteConfig: Mp,
7695
7702
  reset: () => {
7696
7703
  sr();
7697
7704
  },
@@ -7702,7 +7709,7 @@ const Ce = Object.freeze({
7702
7709
  });
7703
7710
  Mn(Yt().logLevel);
7704
7711
  sr(Yt());
7705
- const l_ = async () => {
7712
+ const c_ = async () => {
7706
7713
  D.debug("Loading registered diagrams");
7707
7714
  const e = (await Promise.allSettled(
7708
7715
  Object.entries(qe).map(async ([i, { detector: r, loader: n }]) => {
@@ -7725,7 +7732,7 @@ const l_ = async () => {
7725
7732
  D.error(i);
7726
7733
  throw new Error(`Failed to load ${e.length} external diagrams`);
7727
7734
  }
7728
- }, c_ = (t, e, i) => {
7735
+ }, h_ = (t, e, i) => {
7729
7736
  D.warn(t), Aa(t) ? (i && i(t.str, t.hash), e.push({ ...t, message: t.str, error: t })) : (i && i(t), t instanceof Error && e.push({
7730
7737
  str: t.message,
7731
7738
  message: t.message,
@@ -7736,12 +7743,12 @@ const l_ = async () => {
7736
7743
  querySelector: ".mermaid"
7737
7744
  }) {
7738
7745
  try {
7739
- await h_(t);
7746
+ await u_(t);
7740
7747
  } catch (e) {
7741
7748
  if (Aa(e) && D.error(e.str), Ct.parseError && Ct.parseError(e), !t.suppressErrors)
7742
7749
  throw D.error("Use the suppressErrors option to suppress these errors"), e;
7743
7750
  }
7744
- }, h_ = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
7751
+ }, u_ = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
7745
7752
  querySelector: ".mermaid"
7746
7753
  }) {
7747
7754
  const r = Ce.getConfig();
@@ -7764,28 +7771,28 @@ const l_ = async () => {
7764
7771
  continue;
7765
7772
  l.setAttribute("data-processed", "true");
7766
7773
  const c = `mermaid-${s.next()}`;
7767
- o = l.innerHTML, o = Jl(ci.entityDecode(o)).trim().replace(/<br\s*\/?>/gi, "<br/>");
7774
+ o = l.innerHTML, o = Ql(ci.entityDecode(o)).trim().replace(/<br\s*\/?>/gi, "<br/>");
7768
7775
  const u = ci.detectInit(o);
7769
7776
  u && D.debug("Detected early reinit: ", u);
7770
7777
  try {
7771
7778
  const { svg: d, bindFunctions: h } = await kl(c, o, l);
7772
7779
  l.innerHTML = d, t && await t(c), h && h(l);
7773
7780
  } catch (d) {
7774
- c_(d, a, Ct.parseError);
7781
+ h_(d, a, Ct.parseError);
7775
7782
  }
7776
7783
  }
7777
7784
  if (a.length > 0)
7778
7785
  throw a[0];
7779
7786
  }, xl = function(t) {
7780
7787
  Ce.initialize(t);
7781
- }, u_ = async function(t, e, i) {
7788
+ }, d_ = async function(t, e, i) {
7782
7789
  D.warn("mermaid.init is deprecated. Please use run instead."), t && xl(t);
7783
7790
  const r = { postRenderCallback: i, querySelector: ".mermaid" };
7784
7791
  typeof e == "string" ? r.querySelector = e : e && (e instanceof HTMLElement ? r.nodes = [e] : r.nodes = e), await Cl(r);
7785
- }, d_ = async (t, {
7792
+ }, f_ = async (t, {
7786
7793
  lazyLoad: e = !0
7787
7794
  } = {}) => {
7788
- ka(...t), e === !1 && await l_();
7795
+ ka(...t), e === !1 && await c_();
7789
7796
  }, bl = function() {
7790
7797
  if (Ct.startOnLoad) {
7791
7798
  const { startOnLoad: t } = Ce.getConfig();
@@ -7798,7 +7805,7 @@ if (typeof document < "u") {
7798
7805
  */
7799
7806
  window.addEventListener("load", bl, !1);
7800
7807
  }
7801
- const f_ = function(t) {
7808
+ const p_ = function(t) {
7802
7809
  Ct.parseError = t;
7803
7810
  }, dr = [];
7804
7811
  let Jr = !1;
@@ -7815,7 +7822,7 @@ const Tl = async () => {
7815
7822
  }
7816
7823
  Jr = !1;
7817
7824
  }
7818
- }, p_ = async (t, e) => new Promise((i, r) => {
7825
+ }, g_ = async (t, e) => new Promise((i, r) => {
7819
7826
  const n = () => new Promise((s, o) => {
7820
7827
  Ce.parse(t, e).then(
7821
7828
  (a) => {
@@ -7844,31 +7851,31 @@ const Tl = async () => {
7844
7851
  }), Ct = {
7845
7852
  startOnLoad: !0,
7846
7853
  mermaidAPI: Ce,
7847
- parse: p_,
7854
+ parse: g_,
7848
7855
  render: kl,
7849
- init: u_,
7856
+ init: d_,
7850
7857
  run: Cl,
7851
- registerExternalDiagrams: d_,
7858
+ registerExternalDiagrams: f_,
7852
7859
  initialize: xl,
7853
7860
  parseError: void 0,
7854
7861
  contentLoaded: bl,
7855
- setParseErrorHandler: f_,
7862
+ setParseErrorHandler: p_,
7856
7863
  detectType: vr
7857
7864
  }, He = (t) => {
7858
- t = m_(t);
7865
+ t = y_(t);
7859
7866
  const e = t.replace(/#(\d+);/g, "&#$1;").replace(/#([a-z]+);/g, "&$1;"), i = document.createElement("textarea");
7860
7867
  return i.innerHTML = e, i.value;
7861
7868
  }, Ie = (t) => {
7862
7869
  const e = t.getAttribute("transform"), i = e == null ? void 0 : e.match(/translate\(([ \d.-]+),\s*([\d.-]+)\)/);
7863
7870
  let r = 0, n = 0;
7864
7871
  return i && (r = Number(i[1]), n = Number(i[2])), { transformX: r, transformY: n };
7865
- }, g_ = (t) => {
7872
+ }, m_ = (t) => {
7866
7873
  let e = t;
7867
7874
  return e = e.replace(/style.*:\S*#.*;/g, (i) => i.substring(0, i.length - 1)), e = e.replace(/classDef.*:\S*#.*;/g, (i) => i.substring(0, i.length - 1)), e = e.replace(/#\w+;/g, (i) => {
7868
7875
  const r = i.substring(1, i.length - 1);
7869
7876
  return /^\+?\d+$/.test(r) ? `fl°°${r}¶ß` : `fl°${r}¶ß`;
7870
7877
  }), e;
7871
- }, m_ = function(t) {
7878
+ }, y_ = function(t) {
7872
7879
  return t.replace(/fl°°/g, "#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
7873
7880
  }, Sl = (t, e = { x: 0, y: 0 }) => {
7874
7881
  if (t.tagName.toLowerCase() !== "path")
@@ -7900,7 +7907,7 @@ const Tl = async () => {
7900
7907
  endY: s[1] + e.y,
7901
7908
  reflectionPoints: o
7902
7909
  };
7903
- }, y_ = (t, e) => {
7910
+ }, __ = (t, e) => {
7904
7911
  const i = t.nodes.map((a) => a.startsWith("flowchart-") ? a.split("-")[1] : a), r = e.querySelector(`[id='${t.id}']`);
7905
7912
  if (!r)
7906
7913
  throw new Error("SubGraph element not found");
@@ -7915,7 +7922,7 @@ const Tl = async () => {
7915
7922
  ...o,
7916
7923
  text: He(t.title)
7917
7924
  };
7918
- }, __ = (t, e) => {
7925
+ }, C_ = (t, e) => {
7919
7926
  var d, h, f;
7920
7927
  const i = e.querySelector(`[id*="flowchart-${t.id}-"]`);
7921
7928
  if (!i)
@@ -7949,7 +7956,7 @@ const Tl = async () => {
7949
7956
  containerStyle: c,
7950
7957
  labelStyle: u
7951
7958
  };
7952
- }, C_ = (t, e, i) => {
7959
+ }, x_ = (t, e, i) => {
7953
7960
  const r = i.querySelector(`[id*="L-${t.start}-${t.end}-${e}"]`);
7954
7961
  if (!r)
7955
7962
  throw new Error("Edge element not found");
@@ -7985,23 +7992,23 @@ const Tl = async () => {
7985
7992
  i = i.parentElement;
7986
7993
  }
7987
7994
  return a;
7988
- }, x_ = (t, e) => {
7995
+ }, b_ = (t, e) => {
7989
7996
  t.parse();
7990
7997
  const i = t.parser.yy, r = i.getVertices();
7991
7998
  Object.keys(r).forEach((a) => {
7992
- r[a] = __(r[a], e);
7999
+ r[a] = C_(r[a], e);
7993
8000
  });
7994
8001
  const n = /* @__PURE__ */ new Map(), s = i.getEdges().filter((a) => e.querySelector(`[id*="L-${a.start}-${a.end}"]`)).map((a) => {
7995
8002
  const l = `${a.start}-${a.end}`, c = n.get(l) || 0;
7996
- return n.set(l, c + 1), C_(a, c, e);
8003
+ return n.set(l, c + 1), x_(a, c, e);
7997
8004
  });
7998
8005
  return {
7999
8006
  type: "flowchart",
8000
- subGraphs: i.getSubGraphs().map((a) => y_(a, e)),
8007
+ subGraphs: i.getSubGraphs().map((a) => __(a, e)),
8001
8008
  vertices: r,
8002
8009
  edges: s
8003
8010
  };
8004
- }, b_ = (t, e) => {
8011
+ }, T_ = (t, e) => {
8005
8012
  const i = {};
8006
8013
  e != null && e.label && (i.label = { text: He(e.label), fontSize: 16 });
8007
8014
  const r = t.tagName;
@@ -8090,7 +8097,7 @@ const Tl = async () => {
8090
8097
  SOLID_POINT: 24,
8091
8098
  DOTTED_POINT: 25,
8092
8099
  CRITICAL_START: 27
8093
- }, T_ = (t) => {
8100
+ }, k_ = (t) => {
8094
8101
  let e;
8095
8102
  switch (t) {
8096
8103
  case Rt.SOLID:
@@ -8110,7 +8117,7 @@ const Tl = async () => {
8110
8117
  break;
8111
8118
  }
8112
8119
  return e;
8113
- }, k_ = (t, e) => {
8120
+ }, S_ = (t, e) => {
8114
8121
  var r, n;
8115
8122
  if (!!((r = t.nextElementSibling) != null && r.classList.contains("sequenceNumber"))) {
8116
8123
  const s = (n = t.nextElementSibling) == null ? void 0 : n.textContent;
@@ -8160,7 +8167,7 @@ const Tl = async () => {
8160
8167
  }
8161
8168
  s.push(c);
8162
8169
  }), s;
8163
- }, S_ = (t, e) => {
8170
+ }, v_ = (t, e) => {
8164
8171
  const i = Array.from(e.querySelectorAll(".actor-top")), r = Array.from(e.querySelectorAll(".actor-bottom")), n = [], s = [];
8165
8172
  return Object.values(t).forEach((o, a) => {
8166
8173
  var d;
@@ -8202,17 +8209,17 @@ const Tl = async () => {
8202
8209
  }
8203
8210
  }
8204
8211
  }), { nodes: n, lines: s };
8205
- }, v_ = (t, e) => {
8212
+ }, w_ = (t, e) => {
8206
8213
  const i = [], r = Array.from(e.querySelectorAll('[class*="messageLine"]')), n = Object.keys(gs), s = t.filter((o) => n.includes(o.type.toString()));
8207
8214
  return r.forEach((o, a) => {
8208
- const l = s[a], c = gs[l.type], u = b_(o, {
8215
+ const l = s[a], c = gs[l.type], u = T_(o, {
8209
8216
  label: l == null ? void 0 : l.message,
8210
- strokeStyle: T_(l.type),
8217
+ strokeStyle: k_(l.type),
8211
8218
  endArrowhead: c === "SOLID_OPEN" || c === "DOTTED_OPEN" ? null : "arrow"
8212
8219
  });
8213
- k_(o, u), i.push(u);
8220
+ S_(o, u), i.push(u);
8214
8221
  }), i;
8215
- }, w_ = (t, e) => {
8222
+ }, A_ = (t, e) => {
8216
8223
  const i = Array.from(e.querySelectorAll(".note")).map((s) => s.parentElement), r = t.filter((s) => s.type === Rt.NOTE), n = [];
8217
8224
  return i.forEach((s, o) => {
8218
8225
  if (!s)
@@ -8223,7 +8230,7 @@ const Tl = async () => {
8223
8230
  });
8224
8231
  n.push(c);
8225
8232
  }), n;
8226
- }, A_ = (t) => {
8233
+ }, B_ = (t) => {
8227
8234
  const e = Array.from(t.querySelectorAll("[class*=activation]")), i = [];
8228
8235
  return e.forEach((r) => {
8229
8236
  const n = Ht(r, "rectangle", {
@@ -8232,7 +8239,7 @@ const Tl = async () => {
8232
8239
  });
8233
8240
  i.push(n);
8234
8241
  }), i;
8235
- }, B_ = (t, e) => {
8242
+ }, L_ = (t, e) => {
8236
8243
  const i = Array.from(e.querySelectorAll(".loopLine")), r = [], n = [], s = [];
8237
8244
  i.forEach((u) => {
8238
8245
  const d = Number(u.getAttribute("x1")), h = Number(u.getAttribute("y1")), f = Number(u.getAttribute("x2")), m = Number(u.getAttribute("y2")), y = yi(u, d, h, f, m);
@@ -8252,7 +8259,7 @@ const Tl = async () => {
8252
8259
  });
8253
8260
  f.strokeColor = "#adb5bd", f.bgColor = "#e9ecef", f.width = void 0, s.push(f);
8254
8261
  }), { lines: r, texts: n, nodes: s };
8255
- }, L_ = (t) => {
8262
+ }, E_ = (t) => {
8256
8263
  const e = Array.from(t.querySelectorAll(".rect")).filter((r) => {
8257
8264
  var n;
8258
8265
  return ((n = r.parentElement) == null ? void 0 : n.tagName) !== "g";
@@ -8264,9 +8271,9 @@ const Tl = async () => {
8264
8271
  });
8265
8272
  i.push(n);
8266
8273
  }), i;
8267
- }, E_ = (t, e) => {
8274
+ }, F_ = (t, e) => {
8268
8275
  t.parse();
8269
- const i = t.parser.yy, r = [], n = i.getBoxes(), s = L_(e), o = i.getActors(), { nodes: a, lines: l } = S_(o, e), c = i.getMessages(), u = v_(c, e), d = w_(c, e), h = A_(e), f = B_(c, e);
8276
+ const i = t.parser.yy, r = [], n = i.getBoxes(), s = E_(e), o = i.getActors(), { nodes: a, lines: l } = v_(o, e), c = i.getMessages(), u = w_(c, e), d = A_(c, e), h = B_(e), f = L_(c, e);
8270
8277
  return r.push(s), r.push(...a), r.push(d), r.push(h), { type: "sequence", lines: l, arrows: u, nodes: r, loops: f, groups: n };
8271
8278
  }, $i = {
8272
8279
  AGGREGATION: 0,
@@ -8276,7 +8283,7 @@ const Tl = async () => {
8276
8283
  }, ys = {
8277
8284
  LINE: 0,
8278
8285
  DOTTED_LINE: 1
8279
- }, ne = 16, F_ = (t) => {
8286
+ }, ne = 16, I_ = (t) => {
8280
8287
  let e;
8281
8288
  switch (t) {
8282
8289
  case ys.LINE:
@@ -8310,7 +8317,7 @@ const Tl = async () => {
8310
8317
  break;
8311
8318
  }
8312
8319
  return e;
8313
- }, I_ = (t, e) => {
8320
+ }, O_ = (t, e) => {
8314
8321
  const i = [], r = [], n = [];
8315
8322
  return Object.values(t).forEach((s) => {
8316
8323
  var y;
@@ -8342,24 +8349,24 @@ const Tl = async () => {
8342
8349
  n.push(N);
8343
8350
  });
8344
8351
  }), { nodes: i, lines: r, text: n };
8345
- }, O_ = (t, e) => {
8352
+ }, M_ = (t, e) => {
8346
8353
  const i = ["triangle_outline", "diamond", "diamond_outline"], r = e.startArrowhead && i.includes(e.startArrowhead), n = e.endArrowhead && i.includes(e.endArrowhead);
8347
8354
  return !n && !r || (r && (t === "LR" ? e.startX -= ne : t === "RL" ? e.startX += ne : t === "TB" ? e.startY -= ne : t === "BT" && (e.startY += ne)), n && (t === "LR" ? e.endX += ne : t === "RL" ? e.endX -= ne : t === "TB" ? e.endY += ne : t === "BT" && (e.endY -= ne))), e;
8348
- }, M_ = (t, e, i, r) => {
8355
+ }, D_ = (t, e, i, r) => {
8349
8356
  var a;
8350
8357
  const n = (a = i.querySelector(".edgePaths")) == null ? void 0 : a.children;
8351
8358
  if (!n)
8352
8359
  throw new Error("No Edges found!");
8353
8360
  const s = [], o = [];
8354
8361
  return t.forEach((l, c) => {
8355
- const { id1: u, id2: d, relation: h } = l, f = e.find((tt) => tt.id === u), m = e.find((tt) => tt.id === d), y = F_(h.lineType), C = _s(h.type1), L = _s(h.type2), b = Sl(n[c]), R = vl(b.startX, b.startY, b.endX, b.endY, {
8362
+ const { id1: u, id2: d, relation: h } = l, f = e.find((tt) => tt.id === u), m = e.find((tt) => tt.id === d), y = I_(h.lineType), C = _s(h.type1), L = _s(h.type2), b = Sl(n[c]), R = vl(b.startX, b.startY, b.endX, b.endY, {
8356
8363
  strokeStyle: y,
8357
8364
  startArrowhead: C,
8358
8365
  endArrowhead: L,
8359
8366
  label: l.title ? { text: l.title } : void 0,
8360
8367
  start: { type: "rectangle", id: f.id },
8361
8368
  end: { type: "rectangle", id: m.id }
8362
- }), x = O_(r, R);
8369
+ }), x = M_(r, R);
8363
8370
  s.push(x);
8364
8371
  const { relationTitle1: S, relationTitle2: X } = l, N = 20, Q = 15, nt = 15;
8365
8372
  let Y, A;
@@ -8408,7 +8415,7 @@ const Tl = async () => {
8408
8415
  o.push(tt);
8409
8416
  }
8410
8417
  }), { arrows: s, text: o };
8411
- }, D_ = (t, e, i) => {
8418
+ }, N_ = (t, e, i) => {
8412
8419
  const r = [], n = [];
8413
8420
  return t.forEach((s) => {
8414
8421
  const { id: o, text: a, class: l } = s, c = e.querySelector(`#${o}`);
@@ -8436,16 +8443,16 @@ const Tl = async () => {
8436
8443
  n.push(R);
8437
8444
  }
8438
8445
  }), { notes: r, connectors: n };
8439
- }, N_ = (t, e) => {
8446
+ }, $_ = (t, e) => {
8440
8447
  t.parse();
8441
8448
  const i = t.parser.yy, r = i.getDirection(), n = [], s = [], o = [], a = [], l = i.getNamespaces(), c = i.getClasses();
8442
8449
  if (Object.keys(c).length) {
8443
- const y = I_(c, e);
8450
+ const y = O_(c, e);
8444
8451
  n.push(y.nodes), s.push(...y.lines), o.push(...y.text), a.push(...y.nodes);
8445
8452
  }
8446
- const u = i.getRelations(), { arrows: d, text: h } = M_(u, a, e, r), { notes: f, connectors: m } = D_(i.getNotes(), e, a);
8453
+ const u = i.getRelations(), { arrows: d, text: h } = D_(u, a, e, r), { notes: f, connectors: m } = N_(i.getNotes(), e, a);
8447
8454
  return n.push(f), d.push(...m), o.push(...h), { type: "class", nodes: n, lines: s, arrows: d, text: o, namespaces: l };
8448
- }, $_ = (t) => {
8455
+ }, R_ = (t) => {
8449
8456
  const e = t.querySelector("svg");
8450
8457
  if (!e)
8451
8458
  throw new Error("SVG element not found");
@@ -8459,32 +8466,32 @@ const Tl = async () => {
8459
8466
  width: r,
8460
8467
  height: n
8461
8468
  };
8462
- }, R_ = async (t, e = go) => {
8469
+ }, q_ = async (t, e = go) => {
8463
8470
  Ct.initialize({ ...go, ...e });
8464
- const i = await Ct.mermaidAPI.getDiagramFromText(g_(t)), { svg: r } = await Ct.render("mermaid-to-excalidraw", t), n = document.createElement("div");
8471
+ const i = await Ct.mermaidAPI.getDiagramFromText(m_(t)), { svg: r } = await Ct.render("mermaid-to-excalidraw", t), n = document.createElement("div");
8465
8472
  n.setAttribute("style", "opacity: 0; position: relative; z-index: -1;"), n.innerHTML = r, n.id = "mermaid-diagram", document.body.appendChild(n);
8466
8473
  let s;
8467
8474
  switch (i.type) {
8468
8475
  case "flowchart-v2": {
8469
- s = x_(i, n);
8476
+ s = b_(i, n);
8470
8477
  break;
8471
8478
  }
8472
8479
  case "sequence": {
8473
- s = E_(i, n);
8480
+ s = F_(i, n);
8474
8481
  break;
8475
8482
  }
8476
8483
  case "classDiagram": {
8477
- s = N_(i, n);
8484
+ s = $_(i, n);
8478
8485
  break;
8479
8486
  }
8480
8487
  // fallback to image if diagram type not-supported
8481
8488
  default:
8482
- s = $_(n);
8489
+ s = R_(n);
8483
8490
  }
8484
8491
  return n.remove(), s;
8485
- }, q_ = async (t, e) => {
8492
+ }, P_ = async (t, e) => {
8486
8493
  var o;
8487
- const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") || fr, n = await R_(t, {
8494
+ const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") || fr, n = await q_(t, {
8488
8495
  ...i,
8489
8496
  themeVariables: {
8490
8497
  ...i.themeVariables,
@@ -8492,71 +8499,71 @@ const Tl = async () => {
8492
8499
  fontSize: `${r * 1.25}px`
8493
8500
  }
8494
8501
  });
8495
- return Zl(n, {
8502
+ return Jl(n, {
8496
8503
  fontSize: r
8497
8504
  });
8498
- }, hC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8505
+ }, uC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8499
8506
  __proto__: null,
8500
- parseMermaidToExcalidraw: q_
8507
+ parseMermaidToExcalidraw: P_
8501
8508
  }, Symbol.toStringTag, { value: "Module" }));
8502
8509
  export {
8503
- hp as $,
8504
- gm as A,
8510
+ up as $,
8511
+ mm as A,
8505
8512
  An as B,
8506
8513
  Wt as C,
8507
- G_ as D,
8508
- Z_ as E,
8514
+ V_ as D,
8515
+ J_ as E,
8509
8516
  Do as F,
8510
8517
  Mo as G,
8511
- Q_ as H,
8512
- J_ as I,
8513
- K_ as J,
8514
- X_ as K,
8515
- j_ as L,
8516
- eC as M,
8517
- V_ as N,
8518
- tC as O,
8519
- tp as P,
8520
- Gf as Q,
8518
+ tC as H,
8519
+ Q_ as I,
8520
+ Z_ as J,
8521
+ j_ as K,
8522
+ G_ as L,
8523
+ iC as M,
8524
+ K_ as N,
8525
+ eC as O,
8526
+ ep as P,
8527
+ Vf as Q,
8521
8528
  Jo as R,
8522
- rC as S,
8529
+ nC as S,
8523
8530
  Rn as T,
8524
8531
  P as U,
8525
- Wf as V,
8532
+ Yf as V,
8526
8533
  Yt as W,
8527
- iC as X,
8528
- Zg as Y,
8529
- np as Z,
8530
- yp as _,
8531
- om as a,
8532
- yd as a0,
8533
- _p as a1,
8534
+ rC as X,
8535
+ Jg as Y,
8536
+ op as Z,
8537
+ _p as _,
8538
+ sm as a,
8539
+ _d as a0,
8540
+ Cp as a1,
8534
8541
  xi as a2,
8535
8542
  F as a3,
8536
8543
  $ as a4,
8537
- lm as a5,
8544
+ cm as a5,
8538
8545
  ai as a6,
8539
8546
  Ba as a7,
8540
8547
  xt as a8,
8541
8548
  Is as a9,
8542
- hc as aa,
8549
+ uc as aa,
8543
8550
  yt as ab,
8544
- jh as ac,
8551
+ Gh as ac,
8545
8552
  Tn as ad,
8546
8553
  Os as ae,
8547
8554
  Ci as af,
8548
8555
  Ns as ag,
8549
- U_ as ah,
8550
- ic as ai,
8556
+ X_ as ah,
8557
+ rc as ai,
8551
8558
  kn as aj,
8552
8559
  se as ak,
8553
8560
  Bo as al,
8554
- tu as am,
8561
+ eu as am,
8555
8562
  fi as an,
8556
- Jl as ao,
8557
- hC as ap,
8558
- rm as b,
8559
- im as c,
8563
+ Ql as ao,
8564
+ uC as ap,
8565
+ nm as b,
8566
+ rm as c,
8560
8567
  St as d,
8561
8568
  Za as e,
8562
8569
  lt as f,
@@ -8564,20 +8571,20 @@ export {
8564
8571
  or as h,
8565
8572
  Re as i,
8566
8573
  Dn as j,
8567
- vp as k,
8574
+ wp as k,
8568
8575
  D as l,
8569
8576
  bi as m,
8570
- am as n,
8571
- sm as o,
8572
- cC as p,
8573
- em as q,
8574
- xd as r,
8575
- nm as s,
8577
+ lm as n,
8578
+ am as o,
8579
+ hC as p,
8580
+ im as q,
8581
+ bd as r,
8582
+ om as s,
8576
8583
  _a as t,
8577
8584
  ci as u,
8578
- Ep as v,
8579
- kp as w,
8580
- lC as x,
8581
- dm as y,
8582
- xp as z
8585
+ Fp as v,
8586
+ Sp as w,
8587
+ cC as x,
8588
+ fm as y,
8589
+ bp as z
8583
8590
  };