@sme.up/ketchup2 2.0.0-SNAPSHOT-20251204170803 → 2.0.0-SNAPSHOT-20251205145110

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 (119) hide show
  1. package/dist/{_baseIsEqual-LfD8_HG5.cjs → _baseIsEqual-BEVxlx4t.cjs} +1 -1
  2. package/dist/{_baseIsEqual-q8RjZd7u.js → _baseIsEqual-BhoF20D4.js} +1 -1
  3. package/dist/{_basePickBy-TLx0yixH.js → _basePickBy-3enhgJwn.js} +3 -3
  4. package/dist/{_basePickBy-4s28mGAZ.cjs → _basePickBy-COhEpatf.cjs} +1 -1
  5. package/dist/{_baseUniq-nKV_lmTf.cjs → _baseUniq-BCEFTJ8z.cjs} +1 -1
  6. package/dist/{_baseUniq-DaJpqvRN.js → _baseUniq-pNHXQ2Ix.js} +2 -2
  7. package/dist/{arc-DD7prnx0.cjs → arc-B4JcOb_H.cjs} +1 -1
  8. package/dist/{arc-CM2aKo3T.js → arc-RacdiBh7.js} +1 -1
  9. package/dist/{architecture-O4VJ6CD3-DEfz-dnN.cjs → architecture-O4VJ6CD3-Bznc9CTH.cjs} +1 -1
  10. package/dist/{architecture-O4VJ6CD3-BFxioHQ2.js → architecture-O4VJ6CD3-D_UovF3D.js} +1 -1
  11. package/dist/{architectureDiagram-VXUJARFQ-C_co7NHp.cjs → architectureDiagram-VXUJARFQ-BrNCA3C0.cjs} +1 -1
  12. package/dist/{architectureDiagram-VXUJARFQ-4GrZzhr5.js → architectureDiagram-VXUJARFQ-MTpC82GO.js} +3 -3
  13. package/dist/{blockDiagram-VD42YOAC-GBFGDVHg.cjs → blockDiagram-VD42YOAC-C_ypPK34.cjs} +1 -1
  14. package/dist/{blockDiagram-VD42YOAC-BgoWSyNH.js → blockDiagram-VD42YOAC-DfgrH6Rr.js} +5 -5
  15. package/dist/{c4Diagram-YG6GDRKO-Bx2foXWD.js → c4Diagram-YG6GDRKO-BWjvufQO.js} +2 -2
  16. package/dist/{c4Diagram-YG6GDRKO-DFoZH0yg.cjs → c4Diagram-YG6GDRKO-BYYM1pdK.cjs} +1 -1
  17. package/dist/channel-JjFlVKJY.cjs +1 -0
  18. package/dist/{channel-BQfzI8GF.js → channel-wYR-VRfC.js} +1 -1
  19. package/dist/{chunk-4BX2VUAB-D9AUeqNd.cjs → chunk-4BX2VUAB-BigB_EbB.cjs} +1 -1
  20. package/dist/{chunk-4BX2VUAB-K7tYc9t2.js → chunk-4BX2VUAB-DTMKCOCu.js} +1 -1
  21. package/dist/{chunk-55IACEB6-Cecz9kPE.cjs → chunk-55IACEB6-C8Wd2CLE.cjs} +1 -1
  22. package/dist/{chunk-55IACEB6-C4-KtLNi.js → chunk-55IACEB6-Dl4w1M2f.js} +1 -1
  23. package/dist/{chunk-B4BG7PRW-D6kufwXH.cjs → chunk-B4BG7PRW-ChZ8-N4R.cjs} +1 -1
  24. package/dist/{chunk-B4BG7PRW-BAksJb4e.js → chunk-B4BG7PRW-CyZsHhKg.js} +4 -4
  25. package/dist/{chunk-DI55MBZ5-Bd-WP87i.cjs → chunk-DI55MBZ5-DGZYOfOZ.cjs} +1 -1
  26. package/dist/{chunk-DI55MBZ5-DMnkGIUD.js → chunk-DI55MBZ5-Dn-oiX-v.js} +3 -3
  27. package/dist/{chunk-FMBD7UC4-BkIyo0m3.js → chunk-FMBD7UC4-ACi1dDWD.js} +1 -1
  28. package/dist/{chunk-FMBD7UC4-D2VgaWxx.cjs → chunk-FMBD7UC4-D4_Uyj1w.cjs} +1 -1
  29. package/dist/{chunk-QN33PNHL-D12vtiLB.cjs → chunk-QN33PNHL-BzbnZyfQ.cjs} +1 -1
  30. package/dist/{chunk-QN33PNHL-l6tIPGB6.js → chunk-QN33PNHL-D1ee5Nfx.js} +1 -1
  31. package/dist/{chunk-QZHKN3VN-Ydud8ae3.cjs → chunk-QZHKN3VN-BNyoxATt.cjs} +1 -1
  32. package/dist/{chunk-QZHKN3VN-BlihhCc2.js → chunk-QZHKN3VN-CRQqGFs5.js} +1 -1
  33. package/dist/{chunk-TZMSLE5B-Dz-BNRLT.cjs → chunk-TZMSLE5B-BjynTgKe.cjs} +1 -1
  34. package/dist/{chunk-TZMSLE5B-DLLNCCCy.js → chunk-TZMSLE5B-CBexOOZB.js} +1 -1
  35. package/dist/{classDiagram-2ON5EDUG-B-C-tqmm.cjs → classDiagram-2ON5EDUG-BcXHJ_5v.cjs} +1 -1
  36. package/dist/{classDiagram-v2-WZHVMYZB-ikFRIqAC.js → classDiagram-2ON5EDUG-g7wisYdw.js} +2 -2
  37. package/dist/{classDiagram-v2-WZHVMYZB-B-C-tqmm.cjs → classDiagram-v2-WZHVMYZB-BcXHJ_5v.cjs} +1 -1
  38. package/dist/{classDiagram-2ON5EDUG-ikFRIqAC.js → classDiagram-v2-WZHVMYZB-g7wisYdw.js} +2 -2
  39. package/dist/{clone-eeP_gOfD.js → clone-C6BuByKe.js} +1 -1
  40. package/dist/clone-D19-2utz.cjs +1 -0
  41. package/dist/{cloneDeep-BiU8prdB.cjs → cloneDeep-Ndd6Tmah.cjs} +1 -1
  42. package/dist/{cloneDeep-DUK5a4jz.js → cloneDeep-x1OTC7iP.js} +1 -1
  43. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  44. package/dist/{cose-bilkent-S5V4N54A-D775O1gT.js → cose-bilkent-S5V4N54A-Bw5yRSPB.js} +1 -1
  45. package/dist/{cose-bilkent-S5V4N54A-Bg5ukT9K.cjs → cose-bilkent-S5V4N54A-CpsSzR3A.cjs} +1 -1
  46. package/dist/{dagre-6UL2VRFP-CV4qUFJw.js → dagre-6UL2VRFP-4o7zvUX-.js} +6 -6
  47. package/dist/{dagre-6UL2VRFP-Cykb1HDg.cjs → dagre-6UL2VRFP-BvcLUjAM.cjs} +1 -1
  48. package/dist/{diagram-PSM6KHXK-BB9D5lPp.cjs → diagram-PSM6KHXK-BpZ_lxTl.cjs} +1 -1
  49. package/dist/{diagram-PSM6KHXK-BT3QVBBt.js → diagram-PSM6KHXK-DEoMGY58.js} +4 -4
  50. package/dist/{diagram-QEK2KX5R-_sva80zA.js → diagram-QEK2KX5R-6prx4MnQ.js} +3 -3
  51. package/dist/{diagram-QEK2KX5R-DIPMX4Tl.cjs → diagram-QEK2KX5R-CmS3iHrZ.cjs} +1 -1
  52. package/dist/{diagram-S2PKOQOG-FzeZLAHc.js → diagram-S2PKOQOG-BnNJZMgf.js} +3 -3
  53. package/dist/{diagram-S2PKOQOG-CHo5RmW6.cjs → diagram-S2PKOQOG-C25cuqvm.cjs} +1 -1
  54. package/dist/{erDiagram-Q2GNP2WA-Dl_VmHVZ.js → erDiagram-Q2GNP2WA-BtsIerlA.js} +4 -4
  55. package/dist/{erDiagram-Q2GNP2WA-DSpFo6t3.cjs → erDiagram-Q2GNP2WA-BuiHe_sF.cjs} +1 -1
  56. package/dist/{flowDiagram-NV44I4VS-7TbJAxVy.js → flowDiagram-NV44I4VS-B7CP3s6G.js} +5 -5
  57. package/dist/{flowDiagram-NV44I4VS-Ro1eB5IL.cjs → flowDiagram-NV44I4VS-g6hS5rZO.cjs} +1 -1
  58. package/dist/{ganttDiagram-LVOFAZNH-KPuRI0ld.js → ganttDiagram-LVOFAZNH-Ck9CDSmA.js} +2 -2
  59. package/dist/{ganttDiagram-LVOFAZNH-CobM2wPJ.cjs → ganttDiagram-LVOFAZNH-CvP_nH3w.cjs} +1 -1
  60. package/dist/{gitGraph-ZV4HHKMB-BiP4EV0K.js → gitGraph-ZV4HHKMB-B3toqC4F.js} +1 -1
  61. package/dist/{gitGraph-ZV4HHKMB-QU9Q0Z_8.cjs → gitGraph-ZV4HHKMB-CiWBsjZZ.cjs} +1 -1
  62. package/dist/{gitGraphDiagram-NY62KEGX-ECgi-RlL.js → gitGraphDiagram-NY62KEGX-2F3fYBXc.js} +4 -4
  63. package/dist/{gitGraphDiagram-NY62KEGX-T_yxbwwU.cjs → gitGraphDiagram-NY62KEGX-CcPfBFfJ.cjs} +1 -1
  64. package/dist/{graph-Dut83anE.cjs → graph-DjJ01GfJ.cjs} +1 -1
  65. package/dist/{graph-B-qXaHh4.js → graph-E6fMPXXb.js} +3 -3
  66. package/dist/{index-7nz7OG11.js → index-4zrZFGg1.js} +400 -398
  67. package/dist/{index-B5k-C7B2.cjs → index-QNiWP69V.cjs} +33 -33
  68. package/dist/{info-63CPKGFF-CZJmJ-Yp.cjs → info-63CPKGFF-D6lZl8J0.cjs} +1 -1
  69. package/dist/info-63CPKGFF-yeS5UN5R.js +5 -0
  70. package/dist/{infoDiagram-F6ZHWCRC-BI1kyXJ-.cjs → infoDiagram-F6ZHWCRC-Bs_DRtaK.cjs} +1 -1
  71. package/dist/{infoDiagram-F6ZHWCRC-CcqVVltf.js → infoDiagram-F6ZHWCRC-DpsXsk1t.js} +2 -2
  72. package/dist/{journeyDiagram-XKPGCS4Q-BKheH68i.cjs → journeyDiagram-XKPGCS4Q-DxpTkrig.cjs} +1 -1
  73. package/dist/{journeyDiagram-XKPGCS4Q-BbuVKu1o.js → journeyDiagram-XKPGCS4Q-Ph-9sk5D.js} +4 -4
  74. package/dist/{kanban-definition-3W4ZIXB7-NVWwA-L_.js → kanban-definition-3W4ZIXB7-BNEz5Wp0.js} +2 -2
  75. package/dist/{kanban-definition-3W4ZIXB7-XGJWygfb.cjs → kanban-definition-3W4ZIXB7-CnY9Pjau.cjs} +1 -1
  76. package/dist/ketchup2.cjs.js +1 -1
  77. package/dist/ketchup2.es.js +1 -1
  78. package/dist/{layout-Cddz_2YJ.js → layout-BTfqxQNt.js} +5 -5
  79. package/dist/{layout-DZUhoWg7.cjs → layout-DPoCdty0.cjs} +1 -1
  80. package/dist/{linear-jncCmcGv.cjs → linear-D0cDF6cT.cjs} +1 -1
  81. package/dist/{linear-CO80y2wP.js → linear-og3HxmMv.js} +1 -1
  82. package/dist/{mermaid-parser.core-CNiuHvyl.js → mermaid-parser.core-Cr54SbxT.js} +12 -12
  83. package/dist/{mermaid-parser.core-Bf7C2cF3.cjs → mermaid-parser.core-DTvNi6HA.cjs} +2 -2
  84. package/dist/{mindmap-definition-VGOIOE7T-DX0XpTRM.cjs → mindmap-definition-VGOIOE7T-D6Exk3nQ.cjs} +1 -1
  85. package/dist/{mindmap-definition-VGOIOE7T-CNZMSPzg.js → mindmap-definition-VGOIOE7T-DinZJDoT.js} +3 -3
  86. package/dist/{packet-HUATNLJX-C8zhhXdv.js → packet-HUATNLJX-AJGcxUTx.js} +1 -1
  87. package/dist/{packet-HUATNLJX-CwyrgYiz.cjs → packet-HUATNLJX-DG0UAxSL.cjs} +1 -1
  88. package/dist/pie-WTHONI2E-CHZa90LO.js +5 -0
  89. package/dist/{pie-WTHONI2E-BTOQN_09.cjs → pie-WTHONI2E-DQyfnVzb.cjs} +1 -1
  90. package/dist/{pieDiagram-ADFJNKIX-BsF3MULc.cjs → pieDiagram-ADFJNKIX-DNlhw6p4.cjs} +1 -1
  91. package/dist/{pieDiagram-ADFJNKIX-CHZYQt8o.js → pieDiagram-ADFJNKIX-DOMA5vuc.js} +4 -4
  92. package/dist/{quadrantDiagram-AYHSOK5B-BQSyRvZF.js → quadrantDiagram-AYHSOK5B-BY13H0hA.js} +2 -2
  93. package/dist/{quadrantDiagram-AYHSOK5B-8Mi7YXpF.cjs → quadrantDiagram-AYHSOK5B-CdJpc0H6.cjs} +1 -1
  94. package/dist/{quill-CwnZ4GD6.js → quill-Dl6YTC5X.js} +3 -3
  95. package/dist/{quill-WG5dKiTn.cjs → quill-dISd--2o.cjs} +1 -1
  96. package/dist/{radar-NJJJXTRR-Cr-m2eO8.cjs → radar-NJJJXTRR-BrQy48Am.cjs} +1 -1
  97. package/dist/radar-NJJJXTRR-D5mLu2im.js +5 -0
  98. package/dist/{requirementDiagram-UZGBJVZJ-Cffd5u1q.cjs → requirementDiagram-UZGBJVZJ-CSYE_3B1.cjs} +1 -1
  99. package/dist/{requirementDiagram-UZGBJVZJ-Ctxm0mOO.js → requirementDiagram-UZGBJVZJ-DlN759J2.js} +3 -3
  100. package/dist/{sankeyDiagram-TZEHDZUN-BAVly5aw.js → sankeyDiagram-TZEHDZUN-CNHScftI.js} +1 -1
  101. package/dist/{sankeyDiagram-TZEHDZUN-rPp5ZLSY.cjs → sankeyDiagram-TZEHDZUN-DXX70rb9.cjs} +1 -1
  102. package/dist/{sequenceDiagram-WL72ISMW-BinzKBfm.cjs → sequenceDiagram-WL72ISMW-C0CaUfcN.cjs} +1 -1
  103. package/dist/{sequenceDiagram-WL72ISMW-KRliIOx2.js → sequenceDiagram-WL72ISMW-yiuqHl5N.js} +3 -3
  104. package/dist/{stateDiagram-FKZM4ZOC-DNOxda4U.js → stateDiagram-FKZM4ZOC-B2g0zliw.js} +4 -4
  105. package/dist/{stateDiagram-FKZM4ZOC-CHROH1Yv.cjs → stateDiagram-FKZM4ZOC-DcXNaM0I.cjs} +1 -1
  106. package/dist/{stateDiagram-v2-4FDKWEC3-B9RRFBOb.js → stateDiagram-v2-4FDKWEC3-CJ7GJ1IM.js} +2 -2
  107. package/dist/{stateDiagram-v2-4FDKWEC3-BElwsvqP.cjs → stateDiagram-v2-4FDKWEC3-D8_9iKUy.cjs} +1 -1
  108. package/dist/{timeline-definition-IT6M3QCI-E1Gxp6M-.cjs → timeline-definition-IT6M3QCI-CkraO0UN.cjs} +1 -1
  109. package/dist/{timeline-definition-IT6M3QCI-DoGCHbh5.js → timeline-definition-IT6M3QCI-rd-dJz2B.js} +2 -2
  110. package/dist/{treemap-75Q7IDZK-CF1cMcQf.cjs → treemap-75Q7IDZK-DnsnvjxF.cjs} +1 -1
  111. package/dist/{treemap-75Q7IDZK-BaoBJMJS.js → treemap-75Q7IDZK-_ZheEb7M.js} +1 -1
  112. package/dist/{xychartDiagram-PRI3JC2R-BKEJeylJ.js → xychartDiagram-PRI3JC2R-B_IIqKEo.js} +2 -2
  113. package/dist/{xychartDiagram-PRI3JC2R-CNfb1Em8.cjs → xychartDiagram-PRI3JC2R-C7FN8rHf.cjs} +1 -1
  114. package/package.json +1 -1
  115. package/dist/channel-ZdLtqMQK.cjs +0 -1
  116. package/dist/clone-CxxB1NP9.cjs +0 -1
  117. package/dist/info-63CPKGFF-Du-uFLpa.js +0 -5
  118. package/dist/pie-WTHONI2E-zLpwYVZR.js +0 -5
  119. package/dist/radar-NJJJXTRR-Bez1zneo.js +0 -5
@@ -12,7 +12,7 @@ var RP = (t, e, r, i) => ({
12
12
  }
13
13
  });
14
14
  import * as qb from "react";
15
- import Tg, { useState as ze, useEffect as xt, useRef as Lt, useCallback as jt, useLayoutEffect as pW, useContext as gW, useId as Cc, useMemo as al, createContext as Zle, useImperativeHandle as mW, forwardRef as Jle, createElement as Qle } from "react";
15
+ import Tg, { useState as ze, useEffect as yt, useRef as Lt, useCallback as jt, useLayoutEffect as pW, useContext as gW, useId as Cc, useMemo as al, createContext as Zle, useImperativeHandle as mW, forwardRef as Jle, createElement as Qle } from "react";
16
16
  import { createPortal as ece } from "react-dom";
17
17
  var ntt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
18
  function tce(t) {
@@ -492,7 +492,7 @@ var lce = oce(), Yp = /* @__PURE__ */ new Map(), vW = function(e) {
492
492
  var G;
493
493
  Array.prototype.forEach.call(_, function(te) {
494
494
  G = u.querySelectorAll("[" + te + '*="' + S + '"]');
495
- for (var ae = 0, ye = G.length; ae < ye; ae++) {
495
+ for (var ae = 0, ve = G.length; ae < ve; ae++) {
496
496
  var le = G[ae].getAttribute(te);
497
497
  le && !le.match(new RegExp('url\\("?#' + S + '"?\\)')) || G[ae].setAttribute(te, "url(#" + C + ")");
498
498
  }
@@ -629,14 +629,14 @@ function vce() {
629
629
  case u:
630
630
  return ae;
631
631
  default:
632
- var ye = ae && ae.$$typeof;
633
- switch (ye) {
632
+ var ve = ae && ae.$$typeof;
633
+ switch (ve) {
634
634
  case o:
635
635
  case h:
636
636
  case p:
637
637
  case d:
638
638
  case s:
639
- return ye;
639
+ return ve;
640
640
  default:
641
641
  return te;
642
642
  }
@@ -1427,7 +1427,7 @@ function Lo({
1427
1427
  children: t
1428
1428
  }) {
1429
1429
  const [e, r] = ze(!1);
1430
- return xt(() => {
1430
+ return yt(() => {
1431
1431
  r(!0);
1432
1432
  }, []), e ? ece(t, document.body) : null;
1433
1433
  }
@@ -1921,7 +1921,7 @@ function Vce(t, e, r) {
1921
1921
  }
1922
1922
  const _W = (t) => {
1923
1923
  const e = Lt(null);
1924
- return xt(() => () => {
1924
+ return yt(() => () => {
1925
1925
  e.current && clearTimeout(e.current);
1926
1926
  }, []), (i) => {
1927
1927
  e.current && clearTimeout(e.current), e.current = setTimeout(() => {
@@ -2011,7 +2011,7 @@ const _W = (t) => {
2011
2011
  ), { anchorRef: q, targetRef: X } = dl({
2012
2012
  position: "bottom",
2013
2013
  open: j
2014
- }), J = Cc(), te = `${J}-helper`, ae = x ? "danger" : c, ye = y || !!x, le = (Ke) => {
2014
+ }), J = Cc(), te = `${J}-helper`, ae = x ? "danger" : c, ve = y || !!x, le = (Ke) => {
2015
2015
  V?.({
2016
2016
  bindValue: Ke.target.value
2017
2017
  });
@@ -2068,7 +2068,7 @@ const _W = (t) => {
2068
2068
  onKeyDown: _e,
2069
2069
  "aria-label": m,
2070
2070
  ref: p,
2071
- "aria-describedby": ye ? te : void 0,
2071
+ "aria-describedby": ve ? te : void 0,
2072
2072
  min: C,
2073
2073
  max: A,
2074
2074
  step: T,
@@ -2131,7 +2131,7 @@ const _W = (t) => {
2131
2131
  }
2132
2132
  ) })
2133
2133
  ] }),
2134
- ye && /* @__PURE__ */ U.jsx(
2134
+ ve && /* @__PURE__ */ U.jsx(
2135
2135
  Fm,
2136
2136
  {
2137
2137
  helperText: x,
@@ -2248,13 +2248,13 @@ const op = {
2248
2248
  containerHeight: 200,
2249
2249
  overscan: 5
2250
2250
  });
2251
- xt(() => {
2251
+ yt(() => {
2252
2252
  a !== null && a !== v && y(a);
2253
- }, [a]), xt(() => {
2253
+ }, [a]), yt(() => {
2254
2254
  v >= 0 && v < C.length && I(v);
2255
- }, [v, C]), xt(() => {
2255
+ }, [v, C]), yt(() => {
2256
2256
  u && (h?.(_?.current), w?.current && w.current.focus());
2257
- }, [u, w, h]), xt(() => {
2257
+ }, [u, w, h]), yt(() => {
2258
2258
  const O = Hce(e, r);
2259
2259
  b(O);
2260
2260
  }, [e, r]);
@@ -2485,7 +2485,7 @@ const op = {
2485
2485
  u
2486
2486
  ) });
2487
2487
  }, O0 = (t, e, r) => {
2488
- xt(() => {
2488
+ yt(() => {
2489
2489
  if (!e) return;
2490
2490
  const i = (n) => {
2491
2491
  t?.some((s) => {
@@ -2513,7 +2513,7 @@ const op = {
2513
2513
  }, []);
2514
2514
  O0(l, !0, () => {
2515
2515
  c([]), s?.();
2516
- }), xt(() => {
2516
+ }), yt(() => {
2517
2517
  h && o.current.forEach((b) => {
2518
2518
  b && f({ current: b });
2519
2519
  });
@@ -2529,7 +2529,7 @@ const op = {
2529
2529
  ), v = _W(400), y = {
2530
2530
  floatingContainer: th["smp-floating-toolbar-container"]
2531
2531
  };
2532
- xt(() => {
2532
+ yt(() => {
2533
2533
  if (!h && a) {
2534
2534
  const b = a();
2535
2535
  b && typeof b.then == "function" && b.then((w) => {
@@ -2867,7 +2867,7 @@ const Pi = ({
2867
2867
  onTypographyRightClick: c
2868
2868
  }) => {
2869
2869
  const [h, u] = ze(i ?? 0), [f, d] = ze(!1), [p, g] = ze(!1), m = Lt(null);
2870
- if (xt(() => {
2870
+ if (yt(() => {
2871
2871
  const S = m.current;
2872
2872
  if (!S) return;
2873
2873
  b();
@@ -2875,7 +2875,7 @@ const Pi = ({
2875
2875
  return S.addEventListener("scroll", C), window.addEventListener("resize", b), () => {
2876
2876
  S.removeEventListener("scroll", C), window.removeEventListener("resize", b);
2877
2877
  };
2878
- }, []), xt(() => {
2878
+ }, []), yt(() => {
2879
2879
  i !== void 0 && u(i);
2880
2880
  }, [i]), !t.children || t.children.length === 0)
2881
2881
  return /* @__PURE__ */ U.jsx("div", { className: "tab-bar-empty", children: "No tabs available" });
@@ -3020,11 +3020,11 @@ const v1 = {
3020
3020
  const u = t?.children || n, [f, d] = ze(
3021
3021
  u
3022
3022
  );
3023
- xt(() => {
3023
+ yt(() => {
3024
3024
  d(u);
3025
3025
  }, [u]);
3026
3026
  const p = Lt(null), [g, m] = ze(!1), [v, y] = ze(0);
3027
- xt(() => {
3027
+ yt(() => {
3028
3028
  !f && r && e && r(e, void 0).then(
3029
3029
  (N) => d(gc(N) || [])
3030
3030
  ).catch((N) => {
@@ -5055,12 +5055,12 @@ const cd = (t, e) => ({
5055
5055
  }, []);
5056
5056
  O0([V], A, () => F());
5057
5057
  const z = _W(400);
5058
- xt(() => {
5058
+ yt(() => {
5059
5059
  v != null && (d ? d(l, void 0).then((q) => {
5060
5060
  const X = gc(q) || [];
5061
5061
  E(X), v < X.length && W(X[v]);
5062
5062
  }) : v < r.length && W(r[v]));
5063
- }, []), xt(() => {
5063
+ }, []), yt(() => {
5064
5064
  c || w(t);
5065
5065
  }, [t, c]);
5066
5066
  const H = (q) => {
@@ -5176,7 +5176,7 @@ const cd = (t, e) => ({
5176
5176
  const [h, u] = ze(a), f = Cc(), d = (g) => {
5177
5177
  e || (c.onChange?.(wh(g)), c.onConfirmedChange?.(wh(g)));
5178
5178
  };
5179
- xt(() => {
5179
+ yt(() => {
5180
5180
  !h && s && o && s(o, void 0).then(
5181
5181
  (g) => u(gc(g))
5182
5182
  ).catch((g) => {
@@ -5253,9 +5253,9 @@ const cd = (t, e) => ({
5253
5253
  const m = t?.children || e, [v, y] = ze(
5254
5254
  m
5255
5255
  );
5256
- xt(() => {
5256
+ yt(() => {
5257
5257
  y(m);
5258
- }, [m]), xt(() => {
5258
+ }, [m]), yt(() => {
5259
5259
  !v && g && r && g(r, void 0).then(
5260
5260
  (w) => y(gc(w) || [])
5261
5261
  ).catch((w) => {
@@ -5360,7 +5360,7 @@ const cd = (t, e) => ({
5360
5360
  };
5361
5361
  function tI(t, e) {
5362
5362
  const r = Lt(null);
5363
- xt(() => {
5363
+ yt(() => {
5364
5364
  if (!t) return;
5365
5365
  const i = typeof e == "object" && e !== null && "current" in e ? e.current : null;
5366
5366
  if (!i) return;
@@ -5621,7 +5621,7 @@ function hue({
5621
5621
  D.push(null);
5622
5622
  L.push(D), D = [];
5623
5623
  }
5624
- }), xt(() => {
5624
+ }), yt(() => {
5625
5625
  if (p !== null) {
5626
5626
  const O = M.findIndex(
5627
5627
  (V) => V !== null && V.getDate() === p
@@ -5823,7 +5823,7 @@ const uue = {
5823
5823
  },
5824
5824
  [b, x]
5825
5825
  );
5826
- xt(() => {
5826
+ yt(() => {
5827
5827
  const { formattedDate: E, isoDate: I, isValid: M } = w(t);
5828
5828
  d(M && I || t), g(M && E || t);
5829
5829
  }, [t, x, w]);
@@ -5891,7 +5891,7 @@ const uue = {
5891
5891
  "smp-file-upload-dropzone-small": "_smp-file-upload-dropzone-small_1na7j_124"
5892
5892
  }, NW = () => Math.random().toString(36).slice(2, 9), fue = (t) => {
5893
5893
  const [e, r] = ze([]), i = Lt(!1), n = Lt(t);
5894
- xt(() => {
5894
+ yt(() => {
5895
5895
  if (i.current) {
5896
5896
  i.current = !1;
5897
5897
  return;
@@ -5922,7 +5922,7 @@ const uue = {
5922
5922
  const [e, r] = ze(
5923
5923
  t
5924
5924
  );
5925
- return xt(() => {
5925
+ return yt(() => {
5926
5926
  r(t);
5927
5927
  }, [t]), { validationError: e, setValidationError: r };
5928
5928
  }, pue = ({
@@ -5978,11 +5978,11 @@ const uue = {
5978
5978
  });
5979
5979
  b((X) => {
5980
5980
  const J = X.map((ae) => {
5981
- const ye = K.findIndex(
5981
+ const ve = K.findIndex(
5982
5982
  (le) => le.id === ae.id
5983
5983
  );
5984
- if (ye >= 0 && q.files[ye]) {
5985
- const le = q.files[ye];
5984
+ if (ve >= 0 && q.files[ve]) {
5985
+ const le = q.files[ve];
5986
5986
  return le.success ? {
5987
5987
  ...ae,
5988
5988
  status: "done",
@@ -6005,8 +6005,8 @@ const uue = {
6005
6005
  bindValue: le.uploadFolder,
6006
6006
  optionalDisplayValue: le.fileInstance.name
6007
6007
  })
6008
- ), ye = ae.length === 1 ? ae[0] : ae;
6009
- o?.(ye);
6008
+ ), ve = ae.length === 1 ? ae[0] : ae;
6009
+ o?.(ve);
6010
6010
  }
6011
6011
  return J;
6012
6012
  });
@@ -6021,7 +6021,7 @@ const uue = {
6021
6021
  }
6022
6022
  }
6023
6023
  }, [l, T, x, a, d, o, b]);
6024
- xt(() => {
6024
+ yt(() => {
6025
6025
  E && y && l && !T && (x.filter(
6026
6026
  (q) => q.status === "idle" || q.status === "error"
6027
6027
  ).length > 0 && N(), I(!1));
@@ -6302,7 +6302,7 @@ const uue = {
6302
6302
  ), y = jt(iue, [g, m]), x = jt(eue, [t, e]), [b, w] = ze(
6303
6303
  a ? v(a) : ""
6304
6304
  ), _ = Lt(a ?? null);
6305
- xt(() => {
6305
+ yt(() => {
6306
6306
  a ? (w(v(a)), _.current = a) : (w(""), _.current = null);
6307
6307
  }, [a, v]);
6308
6308
  const S = jt(
@@ -6577,7 +6577,7 @@ const cp = {
6577
6577
  ...c
6578
6578
  }) => {
6579
6579
  const [h, u] = ze(n), f = Cc();
6580
- xt(() => {
6580
+ yt(() => {
6581
6581
  !h && a && o && a(o, void 0).then(
6582
6582
  (w) => u(gc(w))
6583
6583
  ).catch((w) => {
@@ -6645,7 +6645,7 @@ const cp = {
6645
6645
  }, o = (l) => {
6646
6646
  n(l.bindValue), t?.(l);
6647
6647
  };
6648
- return xt(() => {
6648
+ return yt(() => {
6649
6649
  n(r.bindValue);
6650
6650
  }, [r.bindValue]), /* @__PURE__ */ U.jsx(
6651
6651
  zo,
@@ -6755,7 +6755,7 @@ const cp = {
6755
6755
  isOpen: i
6756
6756
  }) => {
6757
6757
  const n = Lt(null);
6758
- xt(() => {
6758
+ yt(() => {
6759
6759
  i && n?.current && n.current.focus();
6760
6760
  }, [i, n]);
6761
6761
  const [a, s, o] = t, l = (c) => Array.from({ length: c }, (h, u) => /* @__PURE__ */ U.jsx("option", { value: u, children: u.toString().padStart(2, "0") }, u));
@@ -6825,10 +6825,10 @@ const cp = {
6825
6825
  }), v = jt(() => {
6826
6826
  h(!1), l?.current?.focus();
6827
6827
  }, []);
6828
- O0([m, g], c, () => h(!1)), tI(c, m), xt(() => {
6828
+ O0([m, g], c, () => h(!1)), tI(c, m), yt(() => {
6829
6829
  const C = t || "", A = CR(C) ? C : t || "";
6830
6830
  f(C), p(A);
6831
- }, [t]), xt(() => {
6831
+ }, [t]), yt(() => {
6832
6832
  const C = (A) => {
6833
6833
  A.key === "Escape" && h(!1);
6834
6834
  };
@@ -7075,7 +7075,7 @@ const Ll = {
7075
7075
  "smp-tree": "_smp-tree_19u9h_1"
7076
7076
  }, Sue = ({ fun: t, onOptionsRequest: e, onClick: r }) => {
7077
7077
  const [i, n] = ze(void 0);
7078
- xt(() => {
7078
+ yt(() => {
7079
7079
  !i && e && t && e(t, void 0).then((s) => n(gc(s))).catch((s) => {
7080
7080
  console.error("Errore nel caricamento delle opzioni per il Tree", s);
7081
7081
  });
@@ -7152,7 +7152,7 @@ const Ll = {
7152
7152
  }), T = jt(() => {
7153
7153
  g(!1), d?.current?.focus();
7154
7154
  }, []);
7155
- O0([C, S], p, () => T()), tI(p, C), xt(() => {
7155
+ O0([C, S], p, () => T()), tI(p, C), yt(() => {
7156
7156
  s != null && (l && (!m || m.length == 0) ? l(o, void 0).then((L) => {
7157
7157
  const D = gc(L) || [];
7158
7158
  v(D), s < D.length && k(D[s]);
@@ -7304,7 +7304,7 @@ const Ll = {
7304
7304
  "smp-backdrop-closing": "_smp-backdrop-closing_cxsow_142"
7305
7305
  }, Mue = (t, e = {}) => {
7306
7306
  const { exitDuration: r = 300 } = e, [i, n] = ze(t), [a, s] = ze(!1);
7307
- return xt(() => {
7307
+ return yt(() => {
7308
7308
  if (t)
7309
7309
  n(!0), s(!1);
7310
7310
  else if (i) {
@@ -7511,13 +7511,13 @@ const Ll = {
7511
7511
  z.match(/<(\w+)(?:\s[^>]*)?>\s*<\/\1>/g) ? (d.current?.({ bindValue: "" }), p.current?.({ bindValue: "" })) : (d.current?.({ bindValue: z }), p.current?.({ bindValue: z }));
7512
7512
  }
7513
7513
  };
7514
- xt(() => {
7514
+ yt(() => {
7515
7515
  const P = c.current;
7516
7516
  if (!P) return;
7517
7517
  let F;
7518
7518
  return (async () => {
7519
7519
  try {
7520
- const G = (await import("./quill-CwnZ4GD6.js")).default, j = P.appendChild(
7520
+ const G = (await import("./quill-Dl6YTC5X.js")).default, j = P.appendChild(
7521
7521
  document.createElement("div")
7522
7522
  ), W = new G(j, {
7523
7523
  theme: "snow",
@@ -7584,7 +7584,7 @@ const Ll = {
7584
7584
  description: m(VC[z])
7585
7585
  });
7586
7586
  };
7587
- xt(() => {
7587
+ yt(() => {
7588
7588
  if (u.current && t !== void 0 && u.current.getSemanticHTML() !== t) {
7589
7589
  const F = u.current.clipboard.convert({ html: t });
7590
7590
  u.current.setContents(F, "silent");
@@ -8405,7 +8405,7 @@ const Ll = {
8405
8405
  },
8406
8406
  [r, i, n]
8407
8407
  );
8408
- return xt(() => {
8408
+ return yt(() => {
8409
8409
  t && l(h(t));
8410
8410
  }, [t, h]), !t?.rows?.length || !t.columns?.length ? null : o && /* @__PURE__ */ U.jsx(
8411
8411
  ib.Provider,
@@ -8792,7 +8792,7 @@ const Ll = {
8792
8792
  (x) => x.visible == null || x.visible == !0
8793
8793
  );
8794
8794
  }, [a, t.columns]);
8795
- xt(() => {
8795
+ yt(() => {
8796
8796
  Zr(i) && t.rows.length > 0 && c?.({
8797
8797
  row: t.rows[0]
8798
8798
  }), r && parseInt(r) - 1 <= t.rows.length && c?.({
@@ -8919,8 +8919,8 @@ const Ll = {
8919
8919
  (we) => parseInt(we || "0")
8920
8920
  ), te = "0,0" + (J ? "." + "0".repeat(J) : ""), ae = R(q, te, "it");
8921
8921
  if (!X) return ae;
8922
- const [ye, le] = ae.split(",");
8923
- return ye + (le ? `,${le}` : "");
8922
+ const [ve, le] = ae.split(",");
8923
+ return ve + (le ? `,${le}` : "");
8924
8924
  }, F = (q) => q.includes(";") ? q.split(";") : [q], z = (q) => {
8925
8925
  const X = (te) => {
8926
8926
  if (te)
@@ -8957,7 +8957,7 @@ const Ll = {
8957
8957
  value: (J) => /* @__PURE__ */ U.jsx("div", { className: X.value, children: J }, `${q}-${E}`)
8958
8958
  };
8959
8959
  })(y), Y = (q) => {
8960
- const { descr: X, icon: J, um: te, value: ae } = z(q), ye = {
8960
+ const { descr: X, icon: J, um: te, value: ae } = z(q), ve = {
8961
8961
  [O(A)]: V(n),
8962
8962
  [O(k)]: V(p),
8963
8963
  [O(E)]: V(v)
@@ -8979,7 +8979,7 @@ const Ll = {
8979
8979
  {
8980
8980
  className: W.className.container,
8981
8981
  role: "button",
8982
- style: ye,
8982
+ style: ve,
8983
8983
  tabIndex: 0,
8984
8984
  onClick: () => H(q),
8985
8985
  onKeyDown: (_e) => G(_e, q),
@@ -9130,7 +9130,7 @@ const Kue = ({
9130
9130
  sizingMode: i
9131
9131
  }) => {
9132
9132
  const [n, a] = ze({}), s = 3, o = 7;
9133
- return xt(() => {
9133
+ return yt(() => {
9134
9134
  if (!(!t || t.length === 0)) {
9135
9135
  if (i === "fixed") {
9136
9136
  const c = Object.fromEntries(
@@ -10200,7 +10200,7 @@ const hg = {
10200
10200
  } : { columns: [], rows: [] }), [b, w] = ze(
10201
10201
  UW(a)
10202
10202
  ), [_, S] = ze(s ?? /* @__PURE__ */ new Set()), [C, A] = ze(!1), [T, k] = ze(/* @__PURE__ */ new Set()), [E, I] = ze(null), M = al(() => ife(e?.columns || []), [e?.columns]), [L, D] = ze(() => ER(c, M));
10203
- xt(() => {
10203
+ yt(() => {
10204
10204
  g?.(Tfe({
10205
10205
  groups: b,
10206
10206
  expandedGroups: _
@@ -10266,7 +10266,7 @@ const hg = {
10266
10266
  const Te = j.map((he, Ue) => Ue);
10267
10267
  return Te.every((he) => T.has(he)) && Te.length > 0;
10268
10268
  }, [T, j]);
10269
- xt(() => {
10269
+ yt(() => {
10270
10270
  if (Zr(h) && d) {
10271
10271
  const Te = Array.from(T).map((he) => j[he]).filter(Boolean);
10272
10272
  d(Te);
@@ -10280,7 +10280,7 @@ const hg = {
10280
10280
  A((Te) => !Te);
10281
10281
  }, []), ae = jt((Te) => {
10282
10282
  I((he) => he === Te ? null : Te);
10283
- }, []), ye = (Te) => {
10283
+ }, []), ve = (Te) => {
10284
10284
  w(Wue(Te, b));
10285
10285
  }, le = (Te) => {
10286
10286
  Te.preventDefault();
@@ -10348,7 +10348,7 @@ const hg = {
10348
10348
  onToggleColumnFilter: ae,
10349
10349
  onFiltersChange: X,
10350
10350
  onResetFilters: J,
10351
- onGroupChange: ye,
10351
+ onGroupChange: ve,
10352
10352
  onGroupDrop: le,
10353
10353
  onGroupDragOver: we,
10354
10354
  onMouseDown: _e,
@@ -10469,7 +10469,7 @@ const hg = {
10469
10469
  c
10470
10470
  ]
10471
10471
  ), [u, f] = ze(h(t));
10472
- if (xt(() => {
10472
+ if (yt(() => {
10473
10473
  if (o) {
10474
10474
  const p = a?.();
10475
10475
  f(h(p || t));
@@ -10550,7 +10550,7 @@ const hg = {
10550
10550
  onAdvanceResearchLeafNodeClick: v
10551
10551
  }) => {
10552
10552
  const [y, x] = ze(), b = Lt(void 0);
10553
- xt(() => {
10553
+ yt(() => {
10554
10554
  x(() => {
10555
10555
  if (!t)
10556
10556
  return;
@@ -10744,7 +10744,7 @@ const hg = {
10744
10744
  []
10745
10745
  );
10746
10746
  const V = Lt(!1);
10747
- xt(() => {
10747
+ yt(() => {
10748
10748
  if (!V.current && w) {
10749
10749
  V.current = !0;
10750
10750
  const te = w();
@@ -10754,17 +10754,17 @@ const hg = {
10754
10754
  const P = Lt(
10755
10755
  b
10756
10756
  );
10757
- xt(() => {
10757
+ yt(() => {
10758
10758
  P.current = b;
10759
- }, [b]), xt(() => () => {
10759
+ }, [b]), yt(() => () => {
10760
10760
  P.current && !R.current && !O.current && P.current(
10761
10761
  JSON.stringify(N.current)
10762
10762
  );
10763
- }, []), xt(() => {
10763
+ }, []), yt(() => {
10764
10764
  const te = D.current;
10765
10765
  if (!te) return;
10766
- const ae = (ye) => {
10767
- z(ye.detail.id);
10766
+ const ae = (ve) => {
10767
+ z(ve.detail.id);
10768
10768
  };
10769
10769
  return te.addEventListener(
10770
10770
  LR,
@@ -10775,13 +10775,13 @@ const hg = {
10775
10775
  ae
10776
10776
  );
10777
10777
  };
10778
- }, []), xt(() => {
10778
+ }, []), yt(() => {
10779
10779
  if (R.current = !1, O.current = !0, S.current) {
10780
10780
  const ae = PR(t, s, r).state;
10781
10781
  E(ae);
10782
10782
  } else
10783
- S.current = !0, D.current && D.current.querySelectorAll('[type="text"]').forEach((ye) => {
10784
- ye instanceof HTMLInputElement && C.current.push(ye);
10783
+ S.current = !0, D.current && D.current.querySelectorAll('[type="text"]').forEach((ve) => {
10784
+ ve instanceof HTMLInputElement && C.current.push(ve);
10785
10785
  });
10786
10786
  const te = setTimeout(() => {
10787
10787
  O.current = !1;
@@ -10789,40 +10789,40 @@ const hg = {
10789
10789
  return () => {
10790
10790
  clearTimeout(te);
10791
10791
  };
10792
- }, [t]), xt(() => {
10792
+ }, [t]), yt(() => {
10793
10793
  Zr(o) && D.current && C.current.length > 0 && C.current[0].focus();
10794
- }, [o]), xt(() => {
10794
+ }, [o]), yt(() => {
10795
10795
  N.current = k;
10796
10796
  }, [k]);
10797
10797
  const F = (te, ae) => {
10798
- if (R.current = !1, E((ye) => ({
10799
- ...ye,
10798
+ if (R.current = !1, E((ve) => ({
10799
+ ...ve,
10800
10800
  [te]: {
10801
- ...ye[te],
10801
+ ...ve[te],
10802
10802
  obj: {
10803
- t: ye[te].obj?.t || "",
10804
- p: ye[te].obj?.p || "",
10803
+ t: ve[te].obj?.t || "",
10804
+ p: ve[te].obj?.p || "",
10805
10805
  k: ae.obj?.k || ""
10806
10806
  },
10807
10807
  decode: ae.decode,
10808
10808
  data: {
10809
- ...ye[te].data,
10809
+ ...ve[te].data,
10810
10810
  error: void 0
10811
10811
  },
10812
10812
  // FIXME: remove this when webup.js will not use value
10813
10813
  value: ae.obj?.k
10814
10814
  }
10815
10815
  })), Zr(a) && (ae.shape == Ze.CHECKBOX || ae.shape == Ze.SWITCH || ae.shape == Ze.RADIO)) {
10816
- const ye = structuredClone(k);
10817
- ye[te].obj.k = ae.obj.k, ye[te].value = ae.obj.k, f({
10818
- value: jC(t, ye)
10816
+ const ve = structuredClone(k);
10817
+ ve[te].obj.k = ae.obj.k, ve[te].value = ae.obj.k, f({
10818
+ value: jC(t, ve)
10819
10819
  });
10820
10820
  }
10821
10821
  if (Zr(l) && ae.data?.maxLength && ae.data.maxLength <= ae.obj.k.length) {
10822
- const ye = C.current.findIndex(
10822
+ const ve = C.current.findIndex(
10823
10823
  (le) => le.name == te
10824
10824
  );
10825
- ye < C.current.length - 1 && C.current[ye + 1].focus();
10825
+ ve < C.current.length - 1 && C.current[ve + 1].focus();
10826
10826
  }
10827
10827
  }, z = (te) => {
10828
10828
  const ae = jC(t, k);
@@ -10862,12 +10862,12 @@ const hg = {
10862
10862
  }
10863
10863
  }
10864
10864
  }))), t.rows[0].cells?.[te].inputSettings?.checkValueOnExit)) {
10865
- const ye = structuredClone(k);
10866
- ye[te] = {
10865
+ const ve = structuredClone(k);
10866
+ ve[te] = {
10867
10867
  id: te,
10868
10868
  ...ae
10869
- }, ye[te].value = ye[te].obj?.k;
10870
- const le = jC(t, ye);
10869
+ }, ve[te].value = ve[te].obj?.k;
10870
+ const le = jC(t, ve);
10871
10871
  d?.({
10872
10872
  value: le,
10873
10873
  cell: te
@@ -10932,7 +10932,7 @@ const hg = {
10932
10932
  }))
10933
10933
  }
10934
10934
  ]
10935
- }, q = W.length > 0 && /* @__PURE__ */ U.jsx("div", { className: Y.smpFormCommands, children: /* @__PURE__ */ U.jsx(Hy, { layout: K(), children: W }) }), X = () => c === "INLINE" || c === "UPINLINE" ? Dfe(t.columns) : t.rows[0].layout, J = async (te, ae) => (b && b(JSON.stringify(k)), x ? await x(te, ae) : { type: "SmeupDataTree", nodes: [] });
10935
+ }, q = W.length > 0 && /* @__PURE__ */ U.jsx("div", { className: Y.smpFormCommands, children: /* @__PURE__ */ U.jsx(Hy, { layout: K(), children: W }) }), X = () => c === "INLINE" || c === "UPINLINE" ? Dfe(t.columns) : t.rows[0].layout, J = async (te, ae, ve) => (b && b(JSON.stringify(k)), x ? await x(te, ae, ve) : { type: "SmeupDataTree", nodes: [] });
10936
10936
  return /* @__PURE__ */ U.jsx(
10937
10937
  ib.Provider,
10938
10938
  {
@@ -10959,9 +10959,9 @@ const hg = {
10959
10959
  Do,
10960
10960
  {
10961
10961
  ...te,
10962
- onOptionsRequest: te.fun ? async (ae, ye) => await u(
10962
+ onOptionsRequest: te.fun ? async (ae, ve) => await u(
10963
10963
  ae,
10964
- ye,
10964
+ ve,
10965
10965
  t,
10966
10966
  te.id
10967
10967
  ) : void 0,
@@ -11554,12 +11554,12 @@ let KW = /* @__PURE__ */ Object.create(null), ZW = /* @__PURE__ */ Object.create
11554
11554
  function Wfe() {
11555
11555
  KW = /* @__PURE__ */ Object.create(null), ZW = /* @__PURE__ */ Object.create(null), f_ = /* @__PURE__ */ Object.create(null);
11556
11556
  }
11557
- class ve {
11557
+ class ye {
11558
11558
  constructor(e) {
11559
11559
  this.name = e;
11560
11560
  }
11561
11561
  static get(e) {
11562
- return ZW[e] ||= new ve(e);
11562
+ return ZW[e] ||= new ye(e);
11563
11563
  }
11564
11564
  }
11565
11565
  class $i {
@@ -11625,7 +11625,7 @@ class re {
11625
11625
  r != null && this.set(e, r);
11626
11626
  }
11627
11627
  setIfName(e, r) {
11628
- typeof r == "string" ? this.set(e, ve.get(r)) : r instanceof ve && this.set(e, r);
11628
+ typeof r == "string" ? this.set(e, ye.get(r)) : r instanceof ye && this.set(e, r);
11629
11629
  }
11630
11630
  has(e) {
11631
11631
  return this._map.has(e);
@@ -11752,7 +11752,7 @@ class _s {
11752
11752
  }
11753
11753
  }
11754
11754
  function Qr(t, e) {
11755
- return t instanceof ve && (e === void 0 || t.name === e);
11755
+ return t instanceof ye && (e === void 0 || t.name === e);
11756
11756
  }
11757
11757
  function gn(t, e) {
11758
11758
  return t instanceof $i && (e === void 0 || t.cmd === e);
@@ -13532,7 +13532,7 @@ class gr {
13532
13532
  return f;
13533
13533
  e = r.fetch(e);
13534
13534
  }
13535
- if (e instanceof ve) {
13535
+ if (e instanceof ye) {
13536
13536
  c = e.name;
13537
13537
  const f = s.getByName(c);
13538
13538
  if (f)
@@ -13568,7 +13568,7 @@ class gr {
13568
13568
  pdfFunctionFactory: a,
13569
13569
  globalColorSpaceCache: s
13570
13570
  } = r;
13571
- if (e = i.fetchIfRef(e), e instanceof ve)
13571
+ if (e = i.fetchIfRef(e), e instanceof ye)
13572
13572
  switch (e.name) {
13573
13573
  case "G":
13574
13574
  case "DeviceGray":
@@ -13589,7 +13589,7 @@ class gr {
13589
13589
  if (o instanceof re) {
13590
13590
  const l = o.get(e.name);
13591
13591
  if (l) {
13592
- if (l instanceof ve)
13592
+ if (l instanceof ye)
13593
13593
  return this.#t(l, r);
13594
13594
  e = l;
13595
13595
  break;
@@ -14503,7 +14503,7 @@ async function $de(t = {}) {
14503
14503
  for (let $n = 0; $n < $t; $n++)
14504
14504
  Tr[4 * $n] = cr[$n], Tr[4 * $n + 1] = qr[$n], Tr[4 * $n + 2] = Xr[$n], Tr[4 * $n + 3] = Ta[$n];
14505
14505
  }
14506
- var te = () => 2147483648, ae = (Se, Ce) => Math.ceil(Se / Ce) * Ce, ye = (Se) => {
14506
+ var te = () => 2147483648, ae = (Se, Ce) => Math.ceil(Se / Ce) * Ce, ve = (Se) => {
14507
14507
  var Ce = d.buffer.byteLength, Be = (Se - Ce + 65535) / 65536 | 0;
14508
14508
  try {
14509
14509
  return d.grow(Be), x(), 1;
@@ -14518,7 +14518,7 @@ async function $de(t = {}) {
14518
14518
  for (var kt = 1; kt <= 4; kt *= 2) {
14519
14519
  var $t = Ce * (1 + 0.2 / kt);
14520
14520
  $t = Math.min($t, Se + 100663296);
14521
- var Tr = Math.min(Be, ae(Math.max(Se, $t), 65536)), cr = ye(Tr);
14521
+ var Tr = Math.min(Be, ae(Math.max(Se, $t), 65536)), cr = ve(Tr);
14522
14522
  if (cr)
14523
14523
  return !0;
14524
14524
  }
@@ -17486,7 +17486,7 @@ class vu {
17486
17486
  case "<<":
17487
17487
  const n = new re(this.xref);
17488
17488
  for (; !gn(this.buf1, ">>") && this.buf1 !== In; ) {
17489
- if (!(this.buf1 instanceof ve)) {
17489
+ if (!(this.buf1 instanceof ye)) {
17490
17490
  Wt("Malformed dictionary: key must be a name object"), this.shift();
17491
17491
  continue;
17492
17492
  }
@@ -17675,7 +17675,7 @@ class vu {
17675
17675
  const r = this.lexer, i = r.stream, n = /* @__PURE__ */ Object.create(null);
17676
17676
  let a;
17677
17677
  for (; !gn(this.buf1, "ID") && this.buf1 !== In; ) {
17678
- if (!(this.buf1 instanceof ve))
17678
+ if (!(this.buf1 instanceof ye))
17679
17679
  throw new fe("Dictionary key must be a name object");
17680
17680
  const d = this.buf1.name;
17681
17681
  if (this.shift(), this.buf1 === In)
@@ -17685,11 +17685,11 @@ class vu {
17685
17685
  r.beginInlineImagePos !== -1 && (a = i.pos - r.beginInlineImagePos);
17686
17686
  const s = this.xref.fetchIfRef(n.F || n.Filter);
17687
17687
  let o;
17688
- if (s instanceof ve)
17688
+ if (s instanceof ye)
17689
17689
  o = s.name;
17690
17690
  else if (Array.isArray(s)) {
17691
17691
  const d = this.xref.fetchIfRef(s[0]);
17692
- d instanceof ve && (o = d.name);
17692
+ d instanceof ye && (o = d.name);
17693
17693
  }
17694
17694
  const l = i.pos;
17695
17695
  let c;
@@ -17781,13 +17781,13 @@ class vu {
17781
17781
  }
17782
17782
  filter(e, r, i) {
17783
17783
  let n = r.get("F", "Filter"), a = r.get("DP", "DecodeParms");
17784
- if (n instanceof ve)
17784
+ if (n instanceof ye)
17785
17785
  return Array.isArray(a) && ee("/DecodeParms should not be an Array, when /Filter is a Name."), this.makeFilter(e, n.name, i, a);
17786
17786
  let s = i;
17787
17787
  if (Array.isArray(n)) {
17788
17788
  const o = n, l = a;
17789
17789
  for (let c = 0, h = o.length; c < h; ++c) {
17790
- if (n = this.xref.fetchIfRef(o[c]), !(n instanceof ve))
17790
+ if (n = this.xref.fetchIfRef(o[c]), !(n instanceof ye))
17791
17791
  throw new fe(`Bad filter name "${n}"`);
17792
17792
  a = null, Array.isArray(l) && c in l && (a = this.xref.fetchIfRef(l[c])), e = this.makeFilter(e, n.name, s, a), s = null;
17793
17793
  }
@@ -17981,7 +17981,7 @@ class Qo {
17981
17981
  i.push("#", String.fromCharCode(e));
17982
17982
  } else
17983
17983
  i.push(String.fromCharCode(e));
17984
- return i.length > 127 && ee(`Name token is longer than allowed by the spec: ${i.length}`), ve.get(i.join(""));
17984
+ return i.length > 127 && ee(`Name token is longer than allowed by the spec: ${i.length}`), ye.get(i.join(""));
17985
17985
  }
17986
17986
  _hexStringWarn(e) {
17987
17987
  if (this._hexStringNumWarn++ === 5) {
@@ -18382,7 +18382,7 @@ function D0e(t, e) {
18382
18382
  }
18383
18383
  function M0e(t, e) {
18384
18384
  const r = e.getObj();
18385
- r instanceof ve && (t.name = r.name);
18385
+ r instanceof ye && (t.name = r.name);
18386
18386
  }
18387
18387
  async function wq(t, e, r, i) {
18388
18388
  let n, a;
@@ -18391,14 +18391,14 @@ async function wq(t, e, r, i) {
18391
18391
  const s = e.getObj();
18392
18392
  if (s === In)
18393
18393
  break;
18394
- if (s instanceof ve)
18394
+ if (s instanceof ye)
18395
18395
  s.name === "WMode" ? D0e(t, e) : s.name === "CMapName" && M0e(t, e), n = s;
18396
18396
  else if (s instanceof $i)
18397
18397
  switch (s.cmd) {
18398
18398
  case "endcmap":
18399
18399
  break e;
18400
18400
  case "usecmap":
18401
- n instanceof ve && (a = n.name);
18401
+ n instanceof ye && (a = n.name);
18402
18402
  break;
18403
18403
  case "begincodespacerange":
18404
18404
  I0e(t, e);
@@ -18459,7 +18459,7 @@ class g2 {
18459
18459
  fetchBuiltInCMap: r,
18460
18460
  useCMap: i
18461
18461
  }) {
18462
- if (e instanceof ve)
18462
+ if (e instanceof ye)
18463
18463
  return tT(e.name, r);
18464
18464
  if (e instanceof Bt) {
18465
18465
  const n = await wq(new uI(), new Qo(e), r, i);
@@ -21771,7 +21771,7 @@ class TN {
21771
21771
  if (!J.name)
21772
21772
  throw new fe('TrueType Collection font must contain a "name" table.');
21773
21773
  const [te] = m(J.name);
21774
- for (let ae = 0, ye = te.length; ae < ye; ae++)
21774
+ for (let ae = 0, ve = te.length; ae < ve; ae++)
21775
21775
  for (let le = 0, we = te[ae].length; le < we; le++) {
21776
21776
  const _e = te[ae][le]?.replaceAll(/\s/g, "");
21777
21777
  if (_e) {
@@ -21845,12 +21845,12 @@ class TN {
21845
21845
  };
21846
21846
  const te = G.getUint16();
21847
21847
  let ae = !1;
21848
- const ye = [];
21848
+ const ve = [];
21849
21849
  let le, we;
21850
21850
  if (te === 0) {
21851
21851
  for (G.skip(4), le = 0; le < 256; le++) {
21852
21852
  const Me = G.getByte();
21853
- Me && ye.push({
21853
+ Me && ve.push({
21854
21854
  charCode: le,
21855
21855
  glyphId: Me
21856
21856
  });
@@ -21874,7 +21874,7 @@ class TN {
21874
21874
  });
21875
21875
  for (let Te = 0; Te < 256; Te++)
21876
21876
  if (Me[Te] === 0)
21877
- G.pos = Ve[0].idRangePos + 2 * Te, we = G.getUint16(), ye.push({
21877
+ G.pos = Ve[0].idRangePos + 2 * Te, we = G.getUint16(), ve.push({
21878
21878
  charCode: Te,
21879
21879
  glyphId: we
21880
21880
  });
@@ -21882,7 +21882,7 @@ class TN {
21882
21882
  const he = Ve[Me[Te]];
21883
21883
  for (le = 0; le < he.entryCount; le++) {
21884
21884
  const Ue = (Te << 8) + le + he.firstCode;
21885
- G.pos = he.idRangePos + 2 * le, we = G.getUint16(), we !== 0 && (we = (we + he.idDelta) % 65536), ye.push({
21885
+ G.pos = he.idRangePos + 2 * le, we = G.getUint16(), we !== 0 && (we = (we + he.idDelta) % 65536), ve.push({
21886
21886
  charCode: Ue,
21887
21887
  glyphId: we
21888
21888
  });
@@ -21919,7 +21919,7 @@ class TN {
21919
21919
  Y = Le[Ve], K = Y.start;
21920
21920
  const qe = Y.end, ut = Y.delta;
21921
21921
  for (he = Y.offsetIndex, le = K; le <= qe; le++)
21922
- le !== 65535 && (we = he < 0 ? le : Ue[he + le - K], we = we + ut & 65535, ye.push({
21922
+ le !== 65535 && (we = he < 0 ? le : Ue[he + le - K], we = we + ut & 65535, ve.push({
21923
21923
  charCode: le,
21924
21924
  glyphId: we
21925
21925
  }));
@@ -21930,7 +21930,7 @@ class TN {
21930
21930
  for (le = 0; le < Le; le++) {
21931
21931
  we = G.getUint16();
21932
21932
  const Ve = Me + le;
21933
- ye.push({
21933
+ ve.push({
21934
21934
  charCode: Ve,
21935
21935
  glyphId: we
21936
21936
  });
@@ -21942,7 +21942,7 @@ class TN {
21942
21942
  const Le = G.getInt32() >>> 0, Ve = G.getInt32() >>> 0;
21943
21943
  let Te = G.getInt32() >>> 0;
21944
21944
  for (let he = Le; he <= Ve; he++)
21945
- ye.push({
21945
+ ve.push({
21946
21946
  charCode: he,
21947
21947
  glyphId: Te++
21948
21948
  });
@@ -21954,9 +21954,9 @@ class TN {
21954
21954
  mappings: [],
21955
21955
  hasShortCmap: !1
21956
21956
  };
21957
- ye.sort((Me, Le) => Me.charCode - Le.charCode);
21957
+ ve.sort((Me, Le) => Me.charCode - Le.charCode);
21958
21958
  const _e = [], Oe = /* @__PURE__ */ new Set();
21959
- for (const Me of ye) {
21959
+ for (const Me of ve) {
21960
21960
  const {
21961
21961
  charCode: Le
21962
21962
  } = Me;
@@ -21992,8 +21992,8 @@ class TN {
21992
21992
  };
21993
21993
  if (G < 0 || G >= H.length || j > H.length || j - G <= 12)
21994
21994
  return q;
21995
- const X = H.subarray(G, j), J = Ls(X[2], X[3]), te = Ls(X[4], X[5]), ae = Ls(X[6], X[7]), ye = Ls(X[8], X[9]);
21996
- J > ae && (C1(X, 2, ae), C1(X, 6, J)), te > ye && (C1(X, 4, ye), C1(X, 8, te));
21995
+ const X = H.subarray(G, j), J = Ls(X[2], X[3]), te = Ls(X[4], X[5]), ae = Ls(X[6], X[7]), ve = Ls(X[8], X[9]);
21996
+ J > ae && (C1(X, 2, ae), C1(X, 6, J)), te > ve && (C1(X, 4, ve), C1(X, 8, te));
21997
21997
  const le = Ls(X[0], X[1]);
21998
21998
  if (le < 0)
21999
21999
  return le < -1 || (W.set(X, Y), q.length = X.length), q;
@@ -22048,8 +22048,8 @@ class TN {
22048
22048
  }, te = function(ut, Ke, Fr) {
22049
22049
  ut[Ke] = Fr >> 9 & 255, ut[Ke + 1] = Fr >> 1 & 255;
22050
22050
  });
22051
- const ae = K ? j + 1 : j, ye = X * (1 + ae), le = new Uint8Array(ye);
22052
- le.set(H.data.subarray(0, ye)), H.data = le;
22051
+ const ae = K ? j + 1 : j, ve = X * (1 + ae), le = new Uint8Array(ve);
22052
+ le.set(H.data.subarray(0, ve)), H.data = le;
22053
22053
  const we = G.data, _e = we.length, Oe = new Uint8Array(_e);
22054
22054
  let Me, Le;
22055
22055
  const Ve = [];
@@ -22115,14 +22115,14 @@ class TN {
22115
22115
  J = !1;
22116
22116
  break;
22117
22117
  }
22118
- const ye = [];
22118
+ const ve = [];
22119
22119
  for (te = 0; te < ae; ++te) {
22120
22120
  const _e = r.getUint16();
22121
22121
  if (_e >= 32768) {
22122
22122
  J = !1;
22123
22123
  break;
22124
22124
  }
22125
- ye.push(_e);
22125
+ ve.push(_e);
22126
22126
  }
22127
22127
  if (!J)
22128
22128
  break;
@@ -22134,7 +22134,7 @@ class TN {
22134
22134
  le.push(we.join(""));
22135
22135
  }
22136
22136
  for (X = [], te = 0; te < ae; ++te) {
22137
- const _e = ye[te];
22137
+ const _e = ve[te];
22138
22138
  if (_e < 258) {
22139
22139
  X.push(aN[_e]);
22140
22140
  continue;
@@ -22157,8 +22157,8 @@ class TN {
22157
22157
  if (r.getUint16() !== 0 || Y < 6)
22158
22158
  return [j, W];
22159
22159
  const J = r.getUint16(), te = r.getUint16(), ae = 12;
22160
- let ye, le;
22161
- for (ye = 0; ye < J && r.pos + ae <= K; ye++) {
22160
+ let ve, le;
22161
+ for (ve = 0; ve < J && r.pos + ae <= K; ve++) {
22162
22162
  const we = {
22163
22163
  platform: r.getUint16(),
22164
22164
  encoding: r.getUint16(),
@@ -22169,8 +22169,8 @@ class TN {
22169
22169
  };
22170
22170
  (Bpe(we) || Lq(we)) && W.push(we);
22171
22171
  }
22172
- for (ye = 0, le = W.length; ye < le; ye++) {
22173
- const we = W[ye];
22172
+ for (ve = 0, le = W.length; ve < le; ve++) {
22173
+ const we = W[ve];
22174
22174
  if (we.length <= 0)
22175
22175
  continue;
22176
22176
  const _e = G + te + we.offset;
@@ -22191,7 +22191,7 @@ class TN {
22191
22191
  const v = [0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, -2, -5, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, -1, 1, -1, -999, 0, 1, 0, -1, -2, 0, -1, -2, -1, -1, 0, -1, -1, 0, 0, -999, -999, -1, -1, -1, -1, -2, -999, -2, -2, -999, 0, -2, -2, 0, 0, -2, 0, -2, 0, 0, 0, -2, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, -999, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -999, -999, -999, -999, -999, -1, -1, -2, -2, 0, 0, 0, 0, -1, -1, -999, -2, -2, 0, 0, -1, -2, -2, 0, 0, 0, -1, -1, -1, -2];
22192
22192
  function y(H, G) {
22193
22193
  let j = H.data, W = 0, Y, K, q, X, J, te = 0, ae = 0;
22194
- const ye = [], le = [], we = [];
22194
+ const ve = [], le = [], we = [];
22195
22195
  let _e = G.tooComplexToFollowFunctions, Oe = !1, Me = 0, Le = 0;
22196
22196
  for (let Te = j.length; W < Te; ) {
22197
22197
  const he = j[W++];
@@ -22200,41 +22200,41 @@ class TN {
22200
22200
  W += K;
22201
22201
  else
22202
22202
  for (Y = 0; Y < K; Y++)
22203
- ye.push(j[W++]);
22203
+ ve.push(j[W++]);
22204
22204
  else if (he === 65)
22205
22205
  if (K = j[W++], Oe || Le)
22206
22206
  W += K * 2;
22207
22207
  else
22208
22208
  for (Y = 0; Y < K; Y++)
22209
- q = j[W++], ye.push(q << 8 | j[W++]);
22209
+ q = j[W++], ve.push(q << 8 | j[W++]);
22210
22210
  else if ((he & 248) === 176)
22211
22211
  if (K = he - 176 + 1, Oe || Le)
22212
22212
  W += K;
22213
22213
  else
22214
22214
  for (Y = 0; Y < K; Y++)
22215
- ye.push(j[W++]);
22215
+ ve.push(j[W++]);
22216
22216
  else if ((he & 248) === 184)
22217
22217
  if (K = he - 184 + 1, Oe || Le)
22218
22218
  W += K * 2;
22219
22219
  else
22220
22220
  for (Y = 0; Y < K; Y++)
22221
- q = j[W++], ye.push(Ls(q, j[W++]));
22221
+ q = j[W++], ve.push(Ls(q, j[W++]));
22222
22222
  else if (he === 43 && !_e) {
22223
22223
  if (!Oe && !Le) {
22224
- if (X = ye.at(-1), isNaN(X))
22224
+ if (X = ve.at(-1), isNaN(X))
22225
22225
  Wt("TT: CALL empty stack (or invalid entry).");
22226
22226
  else if (G.functionsUsed[X] = !0, X in G.functionsStackDeltas) {
22227
- const Ue = ye.length + G.functionsStackDeltas[X];
22227
+ const Ue = ve.length + G.functionsStackDeltas[X];
22228
22228
  if (Ue < 0) {
22229
22229
  ee("TT: CALL invalid functions stack delta."), G.hintsValid = !1;
22230
22230
  return;
22231
22231
  }
22232
- ye.length = Ue;
22232
+ ve.length = Ue;
22233
22233
  } else if (X in G.functionsDefined && !we.includes(X)) {
22234
22234
  if (le.push({
22235
22235
  data: j,
22236
22236
  i: W,
22237
- stackTop: ye.length - 1
22237
+ stackTop: ve.length - 1
22238
22238
  }), we.push(X), J = G.functionsDefined[X], !J) {
22239
22239
  ee("TT: CALL non-existent function"), G.hintsValid = !1;
22240
22240
  return;
@@ -22243,7 +22243,7 @@ class TN {
22243
22243
  }
22244
22244
  }
22245
22245
  } else if (he === 44 && !_e)
22246
- (Oe || Le) && (ee("TT: nested FDEFs not allowed"), _e = !0), Oe = !0, ae = W, X = ye.pop(), G.functionsDefined[X] = {
22246
+ (Oe || Le) && (ee("TT: nested FDEFs not allowed"), _e = !0), Oe = !0, ae = W, X = ve.pop(), G.functionsDefined[X] = {
22247
22247
  data: j,
22248
22248
  i: W
22249
22249
  };
@@ -22255,7 +22255,7 @@ class TN {
22255
22255
  ee("TT: ENDF bad stack"), G.hintsValid = !1;
22256
22256
  return;
22257
22257
  }
22258
- X = we.pop(), j = J.data, W = J.i, G.functionsStackDeltas[X] = ye.length - J.stackTop;
22258
+ X = we.pop(), j = J.data, W = J.i, G.functionsStackDeltas[X] = ve.length - J.stackTop;
22259
22259
  }
22260
22260
  else if (he === 137)
22261
22261
  (Oe || Le) && (ee("TT: nested IDEFs not allowed"), _e = !0), Oe = !0, ae = W;
@@ -22266,15 +22266,15 @@ class TN {
22266
22266
  else if (he === 89)
22267
22267
  Le === Me && (Le = 0), --Me;
22268
22268
  else if (he === 28 && !Oe && !Le) {
22269
- const Ue = ye.at(-1);
22269
+ const Ue = ve.at(-1);
22270
22270
  Ue > 0 && (W += Ue - 1);
22271
22271
  }
22272
22272
  if (!Oe && !Le) {
22273
22273
  let Ue = 0;
22274
- for (he <= 142 ? Ue = v[he] : he >= 192 && he <= 223 ? Ue = -1 : he >= 224 && (Ue = -2), he >= 113 && he <= 117 && (K = ye.pop(), isNaN(K) || (Ue = -K * 2)); Ue < 0 && ye.length > 0; )
22275
- ye.pop(), Ue++;
22274
+ for (he <= 142 ? Ue = v[he] : he >= 192 && he <= 223 ? Ue = -1 : he >= 224 && (Ue = -2), he >= 113 && he <= 117 && (K = ve.pop(), isNaN(K) || (Ue = -K * 2)); Ue < 0 && ve.length > 0; )
22275
+ ve.pop(), Ue++;
22276
22276
  for (; Ue > 0; )
22277
- ye.push(NaN), Ue--;
22277
+ ve.push(NaN), Ue--;
22278
22278
  }
22279
22279
  }
22280
22280
  G.tooComplexToFollowFunctions = _e;
@@ -22439,15 +22439,15 @@ class TN {
22439
22439
  let ae;
22440
22440
  if (G === 3 && j === 1 ? ae = q[te] : G === 1 && j === 0 && (ae = fI.indexOf(te)), ae === void 0) {
22441
22441
  if (!i.glyphNames && i.hasIncludedToUnicodeMap && !(this.toUnicode instanceof wo)) {
22442
- const ye = this.toUnicode.get(X);
22443
- ye && (ae = ye.codePointAt(0));
22442
+ const ve = this.toUnicode.get(X);
22443
+ ve && (ae = ve.codePointAt(0));
22444
22444
  }
22445
22445
  if (ae === void 0)
22446
22446
  continue;
22447
22447
  }
22448
- for (const ye of W)
22449
- if (ye.charCode === ae) {
22450
- V[X] = ye.glyphId;
22448
+ for (const ve of W)
22449
+ if (ve.charCode === ae) {
22450
+ V[X] = ve.glyphId;
22451
22451
  break;
22452
22452
  }
22453
22453
  }
@@ -23738,7 +23738,7 @@ function Ege(t) {
23738
23738
  }
23739
23739
  function Rq(t) {
23740
23740
  const e = Ege(t), r = new re(null);
23741
- r.set("BaseFont", ve.get(t)), r.set("Type", ve.get("Font")), r.set("Subtype", ve.get("CIDFontType2")), r.set("Encoding", ve.get("Identity-H")), r.set("CIDToGIDMap", ve.get("Identity")), r.set("W", e), r.set("FirstChar", e[0]), r.set("LastChar", e.at(-2) + e.at(-1).length - 1);
23741
+ r.set("BaseFont", ye.get(t)), r.set("Type", ye.get("Font")), r.set("Subtype", ye.get("CIDFontType2")), r.set("Encoding", ye.get("Identity-H")), r.set("CIDToGIDMap", ye.get("Identity")), r.set("W", e), r.set("FirstChar", e[0]), r.set("LastChar", e.at(-2) + e.at(-1).length - 1);
23742
23742
  const i = new re(null);
23743
23743
  r.set("FontDescriptor", i);
23744
23744
  const n = new re(null);
@@ -25022,11 +25022,11 @@ class Pu {
25022
25022
  this.image = i;
25023
25023
  const u = i.dict, f = u.get("F", "Filter");
25024
25024
  let d;
25025
- if (f instanceof ve)
25025
+ if (f instanceof ye)
25026
25026
  d = f.name;
25027
25027
  else if (Array.isArray(f)) {
25028
25028
  const v = e.fetchIfRef(f[0]);
25029
- v instanceof ve && (d = v.name);
25029
+ v instanceof ye && (d = v.name);
25030
25030
  }
25031
25031
  switch (d) {
25032
25032
  case "JPXDecode":
@@ -25073,19 +25073,19 @@ class Pu {
25073
25073
  let v = u.getRaw("CS") || u.getRaw("ColorSpace");
25074
25074
  const y = !!v;
25075
25075
  if (y)
25076
- this.jpxDecoderOptions?.smaskInData && (v = ve.get("DeviceRGBA"));
25076
+ this.jpxDecoderOptions?.smaskInData && (v = ye.get("DeviceRGBA"));
25077
25077
  else if (this.jpxDecoderOptions)
25078
- v = ve.get("DeviceRGBA");
25078
+ v = ye.get("DeviceRGBA");
25079
25079
  else
25080
25080
  switch (i.numComps) {
25081
25081
  case 1:
25082
- v = ve.get("DeviceGray");
25082
+ v = ye.get("DeviceGray");
25083
25083
  break;
25084
25084
  case 3:
25085
- v = ve.get("DeviceRGB");
25085
+ v = ye.get("DeviceRGB");
25086
25086
  break;
25087
25087
  case 4:
25088
- v = ve.get("DeviceCMYK");
25088
+ v = ye.get("DeviceCMYK");
25089
25089
  break;
25090
25090
  default:
25091
25091
  throw new Error(`Images with ${i.numComps} color components not supported.`);
@@ -25501,7 +25501,7 @@ function Fq(t, e = !1) {
25501
25501
  }
25502
25502
  return ee(`Unsupported blend mode Array: ${t}`), "source-over";
25503
25503
  }
25504
- if (!(t instanceof ve))
25504
+ if (!(t instanceof ye))
25505
25505
  return e ? null : "source-over";
25506
25506
  switch (t.name) {
25507
25507
  case "Normal":
@@ -25616,14 +25616,14 @@ class am {
25616
25616
  continue;
25617
25617
  c.objId && i.put(c.objId);
25618
25618
  const h = c.get("BM");
25619
- if (h instanceof ve) {
25619
+ if (h instanceof ye) {
25620
25620
  if (h.name !== "Normal")
25621
25621
  return !0;
25622
25622
  continue;
25623
25623
  }
25624
25624
  if (h !== void 0 && Array.isArray(h)) {
25625
25625
  for (const u of h)
25626
- if (u instanceof ve && u.name !== "Normal")
25626
+ if (u instanceof ye && u.name !== "Normal")
25627
25627
  return !0;
25628
25628
  }
25629
25629
  }
@@ -25921,7 +25921,7 @@ class am {
25921
25921
  });
25922
25922
  }
25923
25923
  async handleSetFont(e, r, i, n, a, s, o = null, l = null) {
25924
- const c = r?.[0] instanceof ve ? r[0].name : null, h = await this.loadFont(c, i, e, a, o, l);
25924
+ const c = r?.[0] instanceof ye ? r[0].name : null, h = await this.loadFont(c, i, e, a, o, l);
25925
25925
  return h.font.isType3Font && n.addDependencies(h.type3Dependencies), s.font = h.font, h.send(this.handler), h.loadedName;
25926
25926
  }
25927
25927
  handleText(e, r) {
@@ -26185,7 +26185,7 @@ class am {
26185
26185
  }
26186
26186
  handleColorN(e, r, i, n, a, s, o, l, c, h) {
26187
26187
  const u = i.pop();
26188
- if (u instanceof ve) {
26188
+ if (u instanceof ye) {
26189
26189
  const f = a.getRaw(u.name), d = f instanceof De && c.getByRef(f);
26190
26190
  if (d)
26191
26191
  try {
@@ -26224,7 +26224,7 @@ class am {
26224
26224
  return;
26225
26225
  }
26226
26226
  const a = e.length, s = this.xref.fetchIfRef(e[0]);
26227
- if (a < 2 || !(s instanceof ve)) {
26227
+ if (a < 2 || !(s instanceof ye)) {
26228
26228
  ee("Invalid visibility expression");
26229
26229
  return;
26230
26230
  }
@@ -26248,7 +26248,7 @@ class am {
26248
26248
  }
26249
26249
  async parseMarkedContentProps(e, r) {
26250
26250
  let i;
26251
- if (e instanceof ve)
26251
+ if (e instanceof ye)
26252
26252
  i = r.get("Properties").get(e.name);
26253
26253
  else if (e instanceof re)
26254
26254
  i = e;
@@ -26281,7 +26281,7 @@ class am {
26281
26281
  return {
26282
26282
  type: n,
26283
26283
  ids: o,
26284
- policy: i.get("P") instanceof ve ? i.get("P").name : null,
26284
+ policy: i.get("P") instanceof ye ? i.get("P").name : null,
26285
26285
  expression: null
26286
26286
  };
26287
26287
  } else if (s instanceof De)
@@ -26331,7 +26331,7 @@ class am {
26331
26331
  let R = k.args, O = k.fn;
26332
26332
  switch (O | 0) {
26333
26333
  case Z.paintXObject:
26334
- if (N = R[0] instanceof ve, D = R[0].name, N) {
26334
+ if (N = R[0] instanceof ye, D = R[0].name, N) {
26335
26335
  const j = f.getByName(D);
26336
26336
  if (j) {
26337
26337
  l8(n, j), R = null;
@@ -26353,7 +26353,7 @@ class am {
26353
26353
  if (!(Y instanceof Bt))
26354
26354
  throw new fe("XObject should be a stream");
26355
26355
  const K = Y.dict.get("Subtype");
26356
- if (!(K instanceof ve))
26356
+ if (!(K instanceof ye))
26357
26357
  throw new fe("XObject should have a Name subtype");
26358
26358
  if (K.name === "Form") {
26359
26359
  x.save(), h.buildFormXObject(i, Y, null, n, r, x.state.clone({
@@ -26550,7 +26550,7 @@ class am {
26550
26550
  R = [G], O = Z.shadingFill;
26551
26551
  break;
26552
26552
  case Z.setGState:
26553
- if (N = R[0] instanceof ve, D = R[0].name, N) {
26553
+ if (N = R[0] instanceof ye, D = R[0].name, N) {
26554
26554
  const j = p.getByName(D);
26555
26555
  if (j) {
26556
26556
  j.length > 0 && n.addOp(Z.setGState, [j]), R = null;
@@ -26646,7 +26646,7 @@ class am {
26646
26646
  case Z.endCompat:
26647
26647
  continue;
26648
26648
  case Z.beginMarkedContentProps:
26649
- if (!(R[0] instanceof ve)) {
26649
+ if (!(R[0] instanceof ye)) {
26650
26650
  ee(`Expected name for beginMarkedContentProps arg0=${R[0]}`), n.addOp(Z.beginMarkedContentProps, ["OC", null]);
26651
26651
  continue;
26652
26652
  }
@@ -26946,7 +26946,7 @@ class am {
26946
26946
  const we = v.items.length;
26947
26947
  we !== 0 && (le && we < Zge || (s?.enqueue(v, we), v.items = [], v.styles = /* @__PURE__ */ Object.create(null)));
26948
26948
  }
26949
- const ye = new ix();
26949
+ const ve = new ix();
26950
26950
  return new Promise(function le(we, _e) {
26951
26951
  const Oe = function(Ue) {
26952
26952
  ae(!0), Promise.all([Ue, s?.ready]).then(function() {
@@ -26957,10 +26957,10 @@ class am {
26957
26957
  }
26958
26958
  }, _e);
26959
26959
  };
26960
- r.ensureNotTerminated(), ye.reset();
26960
+ r.ensureNotTerminated(), ve.reset();
26961
26961
  const Me = {};
26962
26962
  let Le, Ve, Te, he = [];
26963
- for (; !(Le = ye.check()) && (he.length = 0, Me.args = he, !!V.read(Me)); ) {
26963
+ for (; !(Le = ve.check()) && (he.length = 0, Me.args = he, !!V.read(Me)); ) {
26964
26964
  const Ue = P;
26965
26965
  P = n.state;
26966
26966
  const qe = Me.fn;
@@ -27058,7 +27058,7 @@ class am {
27058
27058
  });
27059
27059
  break;
27060
27060
  case Z.paintXObject:
27061
- if (te(), N ??= i.get("XObject") || re.empty, Te = he[0] instanceof ve, Ve = he[0].name, Te && R.getByName(Ve))
27061
+ if (te(), N ??= i.get("XObject") || re.empty, Te = he[0] instanceof ye, Ve = he[0].name, Te && R.getByName(Ve))
27062
27062
  break;
27063
27063
  Oe(new Promise(function(Ir, os) {
27064
27064
  if (!Te)
@@ -27080,7 +27080,7 @@ class am {
27080
27080
  const {
27081
27081
  dict: Si
27082
27082
  } = fi, Aa = Si.get("Subtype");
27083
- if (!(Aa instanceof ve))
27083
+ if (!(Aa instanceof ye))
27084
27084
  throw new fe("XObject should have a Name subtype");
27085
27085
  if (Aa.name !== "Form") {
27086
27086
  R.set(Ve, Si.objId, !0), Ir();
@@ -27130,7 +27130,7 @@ class am {
27130
27130
  }));
27131
27131
  return;
27132
27132
  case Z.setGState:
27133
- if (Te = he[0] instanceof ve, Ve = he[0].name, Te && O.getByName(Ve))
27133
+ if (Te = he[0] instanceof ye, Ve = he[0].name, Te && O.getByName(Ve))
27134
27134
  break;
27135
27135
  Oe(new Promise(function(Ir, os) {
27136
27136
  if (!Te)
@@ -27160,7 +27160,7 @@ class am {
27160
27160
  case Z.beginMarkedContent:
27161
27161
  te(), a && (h.level++, v.items.push({
27162
27162
  type: "beginMarkedContent",
27163
- tag: he[0] instanceof ve ? he[0].name : null
27163
+ tag: he[0] instanceof ye ? he[0].name : null
27164
27164
  }));
27165
27165
  break;
27166
27166
  case Z.beginMarkedContentProps:
@@ -27170,7 +27170,7 @@ class am {
27170
27170
  he[1] instanceof re && (Ir = he[1].get("MCID")), v.items.push({
27171
27171
  type: "beginMarkedContentProps",
27172
27172
  id: Number.isInteger(Ir) ? `${M.idFactory.getPageObjId()}_mc${Ir}` : null,
27173
- tag: he[0] instanceof ve ? he[0].name : null
27173
+ tag: he[0] instanceof ye ? he[0].name : null
27174
27174
  });
27175
27175
  }
27176
27176
  break;
@@ -27231,20 +27231,20 @@ class am {
27231
27231
  let o = null, l;
27232
27232
  if (e.has("Encoding")) {
27233
27233
  if (l = e.get("Encoding"), l instanceof re) {
27234
- if (o = l.get("BaseEncoding"), o = o instanceof ve ? o.name : null, l.has("Differences")) {
27234
+ if (o = l.get("BaseEncoding"), o = o instanceof ye ? o.name : null, l.has("Differences")) {
27235
27235
  const f = l.get("Differences");
27236
27236
  let d = 0;
27237
27237
  for (const p of f) {
27238
27238
  const g = i.fetchIfRef(p);
27239
27239
  if (typeof g == "number")
27240
27240
  d = g;
27241
- else if (g instanceof ve)
27241
+ else if (g instanceof ye)
27242
27242
  s[d++] = g.name;
27243
27243
  else
27244
27244
  throw new fe(`Invalid entry in 'Differences' array: ${g}`);
27245
27245
  }
27246
27246
  }
27247
- } else if (l instanceof ve)
27247
+ } else if (l instanceof ye)
27248
27248
  o = l.name;
27249
27249
  else {
27250
27250
  const f = "Encoding is not a Name nor a Dict";
@@ -27338,7 +27338,7 @@ class am {
27338
27338
  const {
27339
27339
  registry: r,
27340
27340
  ordering: i
27341
- } = e.cidSystemInfo, n = ve.get(`${r}-${i}-UCS2`), a = await g2.create({
27341
+ } = e.cidSystemInfo, n = ye.get(`${r}-${i}-UCS2`), a = await g2.create({
27342
27342
  encoding: n,
27343
27343
  fetchBuiltInCMap: this._fetchBuiltInCMapBound,
27344
27344
  useCMap: null
@@ -27360,7 +27360,7 @@ class am {
27360
27360
  async readToUnicode(e) {
27361
27361
  if (!e)
27362
27362
  return null;
27363
- if (e instanceof ve) {
27363
+ if (e instanceof ye) {
27364
27364
  const r = await g2.create({
27365
27365
  encoding: e,
27366
27366
  fetchBuiltInCMap: this._fetchBuiltInCMapBound,
@@ -27479,7 +27479,7 @@ class am {
27479
27479
  s = typeof d == "number" ? d : 0;
27480
27480
  } else {
27481
27481
  const f = e.get("BaseFont");
27482
- if (f instanceof ve) {
27482
+ if (f instanceof ye) {
27483
27483
  const d = this.getBaseFontMetrics(f.name);
27484
27484
  a = this.buildCharCodeToWidth(d.widths, i), s = d.defaultWidth;
27485
27485
  }
@@ -27533,7 +27533,7 @@ class am {
27533
27533
  preEvaluateFont(e) {
27534
27534
  const r = e;
27535
27535
  let i = e.get("Subtype");
27536
- if (!(i instanceof ve))
27536
+ if (!(i instanceof ye))
27537
27537
  throw new fe("invalid font Subtype");
27538
27538
  let n = !1, a;
27539
27539
  if (i.name === "Type0") {
@@ -27542,7 +27542,7 @@ class am {
27542
27542
  throw new fe("Descendant fonts are not specified");
27543
27543
  if (e = Array.isArray(h) ? this.xref.fetchIfRef(h[0]) : h, !(e instanceof re))
27544
27544
  throw new fe("Descendant font is not a dictionary.");
27545
- if (i = e.get("Subtype"), !(i instanceof ve))
27545
+ if (i = e.get("Subtype"), !(i instanceof ye))
27546
27546
  throw new fe("invalid font Subtype");
27547
27547
  n = !0;
27548
27548
  }
@@ -27554,13 +27554,13 @@ class am {
27554
27554
  if (l) {
27555
27555
  a = new Yge();
27556
27556
  const h = r.getRaw("Encoding");
27557
- if (h instanceof ve)
27557
+ if (h instanceof ye)
27558
27558
  a.update(h.name);
27559
27559
  else if (h instanceof De)
27560
27560
  a.update(h.toString());
27561
27561
  else if (h instanceof re) {
27562
27562
  for (const f of h.getRawValues())
27563
- if (f instanceof ve)
27563
+ if (f instanceof ye)
27564
27564
  a.update(f.name);
27565
27565
  else if (f instanceof De)
27566
27566
  a.update(f.toString());
@@ -27568,7 +27568,7 @@ class am {
27568
27568
  const d = f.length, p = new Array(d);
27569
27569
  for (let g = 0; g < d; g++) {
27570
27570
  const m = f[g];
27571
- m instanceof ve ? p[g] = m.name : (typeof m == "number" || m instanceof De) && (p[g] = m.toString());
27571
+ m instanceof ye ? p[g] = m.name : (typeof m == "number" || m instanceof De) && (p[g] = m.toString());
27572
27572
  }
27573
27573
  a.update(p.join());
27574
27574
  }
@@ -27576,7 +27576,7 @@ class am {
27576
27576
  if (a.update(`${s}-${o}`), c instanceof Bt) {
27577
27577
  const f = c.stream || c, d = f.buffer ? new Uint8Array(f.buffer.buffer, 0, f.bufferLength) : new Uint8Array(f.bytes.buffer, f.start, f.end - f.start);
27578
27578
  a.update(d);
27579
- } else c instanceof ve && a.update(c.name);
27579
+ } else c instanceof ye && a.update(c.name);
27580
27580
  const u = e.get("Widths") || r.get("Widths");
27581
27581
  if (Array.isArray(u)) {
27582
27582
  const f = [];
@@ -27601,7 +27601,7 @@ class am {
27601
27601
  a.update(p.join());
27602
27602
  }
27603
27603
  const d = e.getRaw("CIDToGIDMap") || r.getRaw("CIDToGIDMap");
27604
- d instanceof ve ? a.update(d.name) : d instanceof De ? a.update(d.toString()) : d instanceof Bt && a.update(d.peekBytes());
27604
+ d instanceof ye ? a.update(d.name) : d instanceof De ? a.update(d.toString()) : d instanceof Bt && a.update(d.peekBytes());
27605
27605
  }
27606
27606
  }
27607
27607
  return {
@@ -27633,7 +27633,7 @@ class am {
27633
27633
  e = re.empty;
27634
27634
  else {
27635
27635
  let N = r.get("BaseFont");
27636
- if (!(N instanceof ve))
27636
+ if (!(N instanceof ye))
27637
27637
  throw new fe("Base font is not specified");
27638
27638
  N = N.name.replaceAll(/[,_]/g, "-");
27639
27639
  const R = this.getBaseFontMetrics(N), O = N.split("-", 1)[0], V = (this.isSerifFont(O) ? Zo.Serif : 0) | (R.monospace ? Zo.FixedPitch : 0) | (nT()[O] ? Zo.Symbolic : Zo.Nonsymbolic), P = {
@@ -27669,9 +27669,9 @@ class am {
27669
27669
  return new TN(N, H, G, this.options);
27670
27670
  }
27671
27671
  let u = e.get("FontName"), f = r.get("BaseFont");
27672
- typeof u == "string" && (u = ve.get(u)), typeof f == "string" && (f = ve.get(f));
27672
+ typeof u == "string" && (u = ye.get(u)), typeof f == "string" && (f = ye.get(f));
27673
27673
  const d = u?.name, p = f?.name;
27674
- if (h ? d || (u = ve.get(a)) : d !== p && (Wt(`The FontDescriptor's FontName is "${d}" but should be the same as the Font's BaseFont "${p}".`), d && p && (p.startsWith(d) || !hN(d) && hN(p)) && (u = null), u ||= f), !(u instanceof ve))
27674
+ if (h ? d || (u = ye.get(a)) : d !== p && (Wt(`The FontDescriptor's FontName is "${d}" but should be the same as the Font's BaseFont "${p}".`), d && p && (p.startsWith(d) || !hN(d) && hN(p)) && (u = null), u ||= f), !(u instanceof ye))
27675
27675
  throw new fe("invalid font name");
27676
27676
  let g, m, v, y, x;
27677
27677
  try {
@@ -27689,7 +27689,7 @@ class am {
27689
27689
  if (g) {
27690
27690
  if (g.dict) {
27691
27691
  const N = g.dict.get("Subtype");
27692
- N instanceof ve && (m = N.name), v = g.dict.get("Length1"), y = g.dict.get("Length2"), x = g.dict.get("Length3");
27692
+ N instanceof ye && (m = N.name), v = g.dict.get("Length1"), y = g.dict.get("Length2"), x = g.dict.get("Length3");
27693
27693
  }
27694
27694
  } else if (c) {
27695
27695
  const N = wI(u.name);
@@ -27741,7 +27741,7 @@ class am {
27741
27741
  };
27742
27742
  if (n) {
27743
27743
  const N = i.get("Encoding");
27744
- N instanceof ve && (L.cidEncoding = N.name);
27744
+ N instanceof ye && (L.cidEncoding = N.name);
27745
27745
  const R = await g2.create({
27746
27746
  encoding: N,
27747
27747
  fetchBuiltInCMap: this._fetchBuiltInCMapBound,
@@ -27775,7 +27775,7 @@ class am {
27775
27775
  }
27776
27776
  static get fallbackFontDict() {
27777
27777
  const e = new re();
27778
- return e.set("BaseFont", ve.get("Helvetica")), e.set("Type", ve.get("FallbackType")), e.set("Subtype", ve.get("FallbackType")), e.set("Encoding", ve.get("WinAnsiEncoding")), Ae(this, "fallbackFontDict", e);
27778
+ return e.set("BaseFont", ye.get("Helvetica")), e.set("Type", ye.get("FallbackType")), e.set("Subtype", ye.get("FallbackType")), e.set("Encoding", ye.get("WinAnsiEncoding")), Ae(this, "fallbackFontDict", e);
27779
27779
  }
27780
27780
  }
27781
27781
  class c8 {
@@ -28436,7 +28436,7 @@ class Qge extends Wu {
28436
28436
  switch (i | 0) {
28437
28437
  case Z.setFont:
28438
28438
  const [a, s] = n;
28439
- a instanceof ve && (r.fontName = a.name), typeof s == "number" && s > 0 && (r.fontSize = s);
28439
+ a instanceof ye && (r.fontName = a.name), typeof s == "number" && s > 0 && (r.fontSize = s);
28440
28440
  break;
28441
28441
  case Z.setFillRGBColor:
28442
28442
  gr.rgb.getRgbItem(n, 0, r.fontColor, 0);
@@ -28499,7 +28499,7 @@ class eme extends Wu {
28499
28499
  break;
28500
28500
  case Z.setFont:
28501
28501
  const [o, l] = s;
28502
- o instanceof ve && (r.fontName = o.name), typeof l == "number" && l > 0 && (r.fontSize = l * r.scaleFactor);
28502
+ o instanceof ye && (r.fontName = o.name), typeof l == "number" && l > 0 && (r.fontSize = l * r.scaleFactor);
28503
28503
  break;
28504
28504
  case Z.setFillColorSpace:
28505
28505
  r.fillColorSpace = gr.parse({
@@ -28570,7 +28570,7 @@ class rc {
28570
28570
  const i = new OffscreenCanvas(1, 1);
28571
28571
  this.ctxMeasure = i.getContext("2d", {
28572
28572
  willReadFrequently: !0
28573
- }), rc._fontNameId || (rc._fontNameId = 1), this.fontName = ve.get(`InvalidPDFjsFont_${r}_${rc._fontNameId++}`);
28573
+ }), rc._fontNameId || (rc._fontNameId = 1), this.fontName = ye.get(`InvalidPDFjsFont_${r}_${rc._fontNameId++}`);
28574
28574
  }
28575
28575
  get fontDescriptorRef() {
28576
28576
  if (!rc._fontDescriptorRef) {
@@ -29260,7 +29260,7 @@ class Ru {
29260
29260
  const e = this.dict.get("RoleMap");
29261
29261
  if (e instanceof re)
29262
29262
  for (const [r, i] of e)
29263
- i instanceof ve && this.roleMap.set(r, i.name);
29263
+ i instanceof ye && this.roleMap.set(r, i.name);
29264
29264
  }
29265
29265
  static async canCreateStructureTree({
29266
29266
  catalogRef: e,
@@ -29301,7 +29301,7 @@ class Ru {
29301
29301
  const l = r.getNewTemporaryRef();
29302
29302
  s.set("StructTreeRoot", l);
29303
29303
  const c = new re(r);
29304
- c.set("Type", ve.get("StructTreeRoot"));
29304
+ c.set("Type", ye.get("StructTreeRoot"));
29305
29305
  const h = r.getNewTemporaryRef();
29306
29306
  c.set("ParentTree", h);
29307
29307
  const u = [];
@@ -29417,7 +29417,7 @@ class Ru {
29417
29417
  changes: l,
29418
29418
  cache: c
29419
29419
  }) {
29420
- const h = ve.get("OBJR");
29420
+ const h = ye.get("OBJR");
29421
29421
  let u = -1, f;
29422
29422
  for (const [d, p] of e) {
29423
29423
  const g = await o.getPage(d), {
@@ -29471,7 +29471,7 @@ class Ru {
29471
29471
  expanded: s,
29472
29472
  actualText: o
29473
29473
  }) {
29474
- e.set("S", ve.get(r)), i && e.set("T", js(i)), n && e.set("Lang", js(n)), a && e.set("Alt", js(a)), s && e.set("E", js(s)), o && e.set("ActualText", js(o));
29474
+ e.set("S", ye.get(r)), i && e.set("T", js(i)), n && e.set("Lang", js(n)), a && e.set("Alt", js(a)), s && e.set("E", js(s)), o && e.set("ActualText", js(o));
29475
29475
  }
29476
29476
  static #r({
29477
29477
  elements: e,
@@ -29563,7 +29563,7 @@ class lme {
29563
29563
  this.tree = e, this.xref = e.xref, this.dict = r, this.kids = [], this.parseKids();
29564
29564
  }
29565
29565
  get role() {
29566
- const e = this.dict.get("S"), r = e instanceof ve ? e.name : "", {
29566
+ const e = this.dict.get("S"), r = e instanceof ye ? e.name : "", {
29567
29567
  root: i
29568
29568
  } = this.tree;
29569
29569
  return i.roleMap.get(r) ?? r;
@@ -29617,7 +29617,7 @@ class lme {
29617
29617
  return null;
29618
29618
  const i = r.getRaw("Pg");
29619
29619
  i instanceof De && (e = i.toString());
29620
- const n = r.get("Type") instanceof ve ? r.get("Type").name : null;
29620
+ const n = r.get("Type") instanceof ye ? r.get("Type").name : null;
29621
29621
  if (n === "MCR") {
29622
29622
  if (this.tree.pageDict.objId !== e)
29623
29623
  return null;
@@ -29794,7 +29794,7 @@ function h8(t) {
29794
29794
  function XN(t) {
29795
29795
  let e = t.get("D");
29796
29796
  if (e) {
29797
- if (e instanceof ve && (e = e.name), typeof e == "string")
29797
+ if (e instanceof ye && (e = e.name), typeof e == "string")
29798
29798
  return lr(e, !0);
29799
29799
  if (CS(e))
29800
29800
  return JSON.stringify(e);
@@ -29824,7 +29824,7 @@ class sm {
29824
29824
  }
29825
29825
  get version() {
29826
29826
  const e = this.#t.get("Version");
29827
- if (e instanceof ve) {
29827
+ if (e instanceof ye) {
29828
29828
  if (eq.test(e.name))
29829
29829
  return Ae(this, "version", e.name);
29830
29830
  ee(`Invalid PDF catalog version: ${e.name}`);
@@ -30067,14 +30067,14 @@ class sm {
30067
30067
  }, n = r.get("Name");
30068
30068
  typeof n == "string" && (i.name = lr(n));
30069
30069
  let a = r.getArray("Intent");
30070
- Array.isArray(a) || (a = [a]), a.every((h) => h instanceof ve) && (i.intent = a.map((h) => h.name));
30070
+ Array.isArray(a) || (a = [a]), a.every((h) => h instanceof ye) && (i.intent = a.map((h) => h.name));
30071
30071
  const s = r.get("Usage");
30072
30072
  if (!(s instanceof re))
30073
30073
  return i;
30074
30074
  const o = i.usage, l = s.get("Print");
30075
30075
  if (l instanceof re) {
30076
30076
  const h = l.get("PrintState");
30077
- if (h instanceof ve)
30077
+ if (h instanceof ye)
30078
30078
  switch (h.name) {
30079
30079
  case "ON":
30080
30080
  case "OFF":
@@ -30086,7 +30086,7 @@ class sm {
30086
30086
  const c = s.get("View");
30087
30087
  if (c instanceof re) {
30088
30088
  const h = c.get("ViewState");
30089
- if (h instanceof ve)
30089
+ if (h instanceof ye)
30090
30090
  switch (h.name) {
30091
30091
  case "ON":
30092
30092
  case "OFF":
@@ -30157,7 +30157,7 @@ class sm {
30157
30157
  return s(e.get("RBGroups")), {
30158
30158
  name: typeof e.get("Name") == "string" ? lr(e.get("Name")) : null,
30159
30159
  creator: typeof e.get("Creator") == "string" ? lr(e.get("Creator")) : null,
30160
- baseState: e.get("BaseState") instanceof ve ? e.get("BaseState").name : null,
30160
+ baseState: e.get("BaseState") instanceof ye ? e.get("BaseState").name : null,
30161
30161
  on: i(e.get("ON")),
30162
30162
  off: i(e.get("OFF")),
30163
30163
  order: n(e.get("Order")),
@@ -30243,7 +30243,7 @@ class sm {
30243
30243
  throw new fe("Invalid type in PageLabel dictionary.");
30244
30244
  if (u.has("S")) {
30245
30245
  const f = u.get("S");
30246
- if (!(f instanceof ve))
30246
+ if (!(f instanceof ye))
30247
30247
  throw new fe("Invalid style in PageLabel dictionary.");
30248
30248
  i = f.name;
30249
30249
  } else
@@ -30288,7 +30288,7 @@ class sm {
30288
30288
  get pageLayout() {
30289
30289
  const e = this.#t.get("PageLayout");
30290
30290
  let r = "";
30291
- if (e instanceof ve)
30291
+ if (e instanceof ye)
30292
30292
  switch (e.name) {
30293
30293
  case "SinglePage":
30294
30294
  case "OneColumn":
@@ -30303,7 +30303,7 @@ class sm {
30303
30303
  get pageMode() {
30304
30304
  const e = this.#t.get("PageMode");
30305
30305
  let r = "UseNone";
30306
- if (e instanceof ve)
30306
+ if (e instanceof ye)
30307
30307
  switch (e.name) {
30308
30308
  case "UseNone":
30309
30309
  case "UseOutlines":
@@ -30333,7 +30333,7 @@ class sm {
30333
30333
  typeof n == "boolean" && (a = n);
30334
30334
  break;
30335
30335
  case "NonFullScreenPageMode":
30336
- if (n instanceof ve)
30336
+ if (n instanceof ye)
30337
30337
  switch (n.name) {
30338
30338
  case "UseNone":
30339
30339
  case "UseOutlines":
@@ -30346,7 +30346,7 @@ class sm {
30346
30346
  }
30347
30347
  break;
30348
30348
  case "Direction":
30349
- if (n instanceof ve)
30349
+ if (n instanceof ye)
30350
30350
  switch (n.name) {
30351
30351
  case "L2R":
30352
30352
  case "R2L":
@@ -30360,7 +30360,7 @@ class sm {
30360
30360
  case "ViewClip":
30361
30361
  case "PrintArea":
30362
30362
  case "PrintClip":
30363
- if (n instanceof ve)
30363
+ if (n instanceof ye)
30364
30364
  switch (n.name) {
30365
30365
  case "MediaBox":
30366
30366
  case "CropBox":
@@ -30374,7 +30374,7 @@ class sm {
30374
30374
  }
30375
30375
  break;
30376
30376
  case "PrintScaling":
30377
- if (n instanceof ve)
30377
+ if (n instanceof ye)
30378
30378
  switch (n.name) {
30379
30379
  case "None":
30380
30380
  case "AppDefault":
@@ -30385,7 +30385,7 @@ class sm {
30385
30385
  }
30386
30386
  break;
30387
30387
  case "Duplex":
30388
- if (n instanceof ve)
30388
+ if (n instanceof ye)
30389
30389
  switch (n.name) {
30390
30390
  case "Simplex":
30391
30391
  case "DuplexFlipShortEdge":
@@ -30703,7 +30703,7 @@ class sm {
30703
30703
  let a = e.get("A"), s, o;
30704
30704
  if (a instanceof re || (e.has("Dest") ? a = e.get("Dest") : (a = e.get("AA"), a instanceof re && (a.has("D") ? a = a.get("D") : a.has("U") && (a = a.get("U"))))), a instanceof re) {
30705
30705
  const l = a.get("S");
30706
- if (!(l instanceof ve)) {
30706
+ if (!(l instanceof ye)) {
30707
30707
  ee("parseDestDictionary: Invalid type in Action dictionary.");
30708
30708
  return;
30709
30709
  }
@@ -30720,7 +30720,7 @@ class sm {
30720
30720
  };
30721
30721
  break;
30722
30722
  case "URI":
30723
- s = a.get("URI"), s instanceof ve && (s = "/" + s.name);
30723
+ s = a.get("URI"), s instanceof ye && (s = "/" + s.name);
30724
30724
  break;
30725
30725
  case "GoTo":
30726
30726
  o = a.get("D");
@@ -30755,7 +30755,7 @@ class sm {
30755
30755
  break;
30756
30756
  case "Named":
30757
30757
  const x = a.get("N");
30758
- x instanceof ve && (r.action = x.name);
30758
+ x instanceof ye && (r.action = x.name);
30759
30759
  break;
30760
30760
  case "SetOCGState":
30761
30761
  const b = a.get("State"), w = a.get("PreserveRB");
@@ -30763,7 +30763,7 @@ class sm {
30763
30763
  break;
30764
30764
  const _ = [];
30765
30765
  for (const T of b)
30766
- if (T instanceof ve)
30766
+ if (T instanceof ye)
30767
30767
  switch (T.name) {
30768
30768
  case "ON":
30769
30769
  case "OFF":
@@ -30802,7 +30802,7 @@ class sm {
30802
30802
  });
30803
30803
  l && (r.url = l.href), r.unsafeUrl = s;
30804
30804
  }
30805
- o && (o instanceof ve && (o = o.name), typeof o == "string" ? r.dest = lr(o, !0) : CS(o) && (r.dest = o));
30805
+ o && (o instanceof ye && (o = o.name), typeof o == "string" ? r.dest = lr(o, !0) : CS(o) && (r.dest = o));
30806
30806
  }
30807
30807
  }
30808
30808
  function hme(t) {
@@ -37743,7 +37743,7 @@ class fh {
37743
37743
  if (!(h instanceof re))
37744
37744
  return;
37745
37745
  let u = h.get("Subtype");
37746
- if (u = u instanceof ve ? u.name : null, o && !o.has(_n[u.toUpperCase()]))
37746
+ if (u = u instanceof ye ? u.name : null, o && !o.has(_n[u.toUpperCase()]))
37747
37747
  return null;
37748
37748
  const {
37749
37749
  acroForm: f,
@@ -37772,7 +37772,7 @@ class fh {
37772
37772
  dict: h,
37773
37773
  key: "FT"
37774
37774
  });
37775
- switch (m = m instanceof ve ? m.name : null, m) {
37775
+ switch (m = m instanceof ye ? m.name : null, m) {
37776
37776
  case "Tx":
37777
37777
  return new n2e(g);
37778
37778
  case "Btn":
@@ -38052,7 +38052,7 @@ class fb {
38052
38052
  this.data.actions = F3(i, r, YW), this.data.fieldName = this._constructFieldName(r), this.data.pageIndex = e.pageIndex;
38053
38053
  }
38054
38054
  const u = r.get("IT");
38055
- u instanceof ve && (this.data.it = u.name), this._isOffscreenCanvasSupported = e.evaluatorOptions.isOffscreenCanvasSupported, this._fallbackFontDict = null, this._needAppearances = !1;
38055
+ u instanceof ye && (this.data.it = u.name), this._isOffscreenCanvasSupported = e.evaluatorOptions.isOffscreenCanvasSupported, this._fallbackFontDict = null, this._needAppearances = !1;
38056
38056
  }
38057
38057
  _hasFlag(e, r) {
38058
38058
  return !!(e & r);
@@ -38128,7 +38128,7 @@ class fb {
38128
38128
  if (this.lineEndings = ["None", "None"], Array.isArray(e) && e.length === 2)
38129
38129
  for (let r = 0; r < 2; r++) {
38130
38130
  const i = e[r];
38131
- if (i instanceof ve)
38131
+ if (i instanceof ye)
38132
38132
  switch (i.name) {
38133
38133
  case "None":
38134
38134
  continue;
@@ -38182,7 +38182,7 @@ class fb {
38182
38182
  if (!(i instanceof re))
38183
38183
  return;
38184
38184
  const n = e.get("AS");
38185
- if (!(n instanceof ve) || !i.has(n.name))
38185
+ if (!(n instanceof ye) || !i.has(n.name))
38186
38186
  return;
38187
38187
  const a = i.get(n.name);
38188
38188
  a instanceof Bt && (this.appearance = a);
@@ -38190,7 +38190,7 @@ class fb {
38190
38190
  setOptionalContent(e) {
38191
38191
  this.oc = null;
38192
38192
  const r = e.get("OC");
38193
- r instanceof ve ? ee("setOptionalContent: Support for /Name-entry is not implemented.") : r instanceof re && (this.oc = r);
38193
+ r instanceof ye ? ee("setOptionalContent: Support for /Name-entry is not implemented.") : r instanceof re && (this.oc = r);
38194
38194
  }
38195
38195
  async loadResources(e, r) {
38196
38196
  const i = await r.dict.getAsync("Resources");
@@ -38320,7 +38320,7 @@ class i2e {
38320
38320
  this.width = 1, this.rawWidth = 1, this.style = hp.SOLID, this.dashArray = [3], this.horizontalCornerRadius = 0, this.verticalCornerRadius = 0;
38321
38321
  }
38322
38322
  setWidth(e, r = [0, 0, 0, 0]) {
38323
- if (e instanceof ve) {
38323
+ if (e instanceof ye) {
38324
38324
  this.width = 0;
38325
38325
  return;
38326
38326
  }
@@ -38334,7 +38334,7 @@ class i2e {
38334
38334
  }
38335
38335
  }
38336
38336
  setStyle(e) {
38337
- if (e instanceof ve)
38337
+ if (e instanceof ye)
38338
38338
  switch (e.name) {
38339
38339
  case "S":
38340
38340
  this.style = hp.SOLID;
@@ -38363,7 +38363,7 @@ class i2e {
38363
38363
  i = !1;
38364
38364
  break;
38365
38365
  }
38366
- e.length === 0 || i && !n ? (this.dashArray = e, r && this.setStyle(ve.get("D"))) : this.width = 0;
38366
+ e.length === 0 || i && !n ? (this.dashArray = e, r && this.setStyle(ye.get("D"))) : this.width = 0;
38367
38367
  } else e && (this.width = 0);
38368
38368
  }
38369
38369
  setHorizontalCornerRadius(e) {
@@ -38383,7 +38383,7 @@ class Ds extends fb {
38383
38383
  const n = r.getRaw("IRT");
38384
38384
  this.data.inReplyTo = n instanceof De ? n.toString() : null;
38385
38385
  const a = r.get("RT");
38386
- this.data.replyType = a instanceof ve ? a.name : $7.REPLY;
38386
+ this.data.replyType = a instanceof ye ? a.name : $7.REPLY;
38387
38387
  }
38388
38388
  let i = null;
38389
38389
  if (this.data.replyType === $7.GROUP) {
@@ -38502,7 +38502,7 @@ class gl extends fb {
38502
38502
  dict: r,
38503
38503
  key: "FT"
38504
38504
  });
38505
- a.fieldType = l instanceof ve ? l.name : null;
38505
+ a.fieldType = l instanceof ye ? l.name : null;
38506
38506
  const c = Co({
38507
38507
  dict: r,
38508
38508
  key: "DR"
@@ -38522,7 +38522,7 @@ class gl extends fb {
38522
38522
  }), (!Number.isInteger(a.fieldFlags) || a.fieldFlags < 0) && (a.fieldFlags = 0), a.password = this.hasFieldFlag(il.PASSWORD), a.readOnly = this.hasFieldFlag(il.READONLY), a.required = this.hasFieldFlag(il.REQUIRED), a.hidden = this._hasFlag(a.annotationFlags, en.HIDDEN) || this._hasFlag(a.annotationFlags, en.NOVIEW);
38523
38523
  }
38524
38524
  _decodeFormValue(e) {
38525
- return Array.isArray(e) ? e.filter((r) => typeof r == "string").map((r) => lr(r)) : e instanceof ve ? lr(e.name) : typeof e == "string" ? lr(e) : null;
38525
+ return Array.isArray(e) ? e.filter((r) => typeof r == "string").map((r) => lr(r)) : e instanceof ye ? lr(e.name) : typeof e == "string" ? lr(e) : null;
38526
38526
  }
38527
38527
  hasFieldFlag(e) {
38528
38528
  return !!(this.data.fieldFlags & e);
@@ -38736,7 +38736,7 @@ class gl extends fb {
38736
38736
  fontName: o,
38737
38737
  fontSize: l
38738
38738
  } = i;
38739
- return await e.handleSetFont(n, [o && ve.get(o), l], null, a, r, s, null), s.font;
38739
+ return await e.handleSetFont(n, [o && ye.get(o), l], null, a, r, s, null), s.font;
38740
38740
  }
38741
38741
  _getTextWidth(e, r) {
38742
38742
  return Math.sumPrecise(r.charsToGlyphs(e).map((i) => i.width)) / 1e3;
@@ -39007,7 +39007,7 @@ class a2e extends gl {
39007
39007
  const h = {
39008
39008
  path: this.data.fieldName,
39009
39009
  value: l ? this.data.exportValue : ""
39010
- }, u = ve.get(l ? this.data.exportValue : "Off");
39010
+ }, u = ye.get(l ? this.data.exportValue : "Off");
39011
39011
  this.setValue(c, u, e.xref, n), c.set("AS", u), c.set("M", `D:${d0()}`), s !== void 0 && c.set("F", s);
39012
39012
  const f = this._getMKDict(o);
39013
39013
  f && c.set("MK", f), n.put(this.ref, {
@@ -39030,7 +39030,7 @@ class a2e extends gl {
39030
39030
  const h = {
39031
39031
  path: this.data.fieldName,
39032
39032
  value: l ? this.data.buttonValue : ""
39033
- }, u = ve.get(l ? this.data.buttonValue : "Off");
39033
+ }, u = ye.get(l ? this.data.buttonValue : "Off");
39034
39034
  l && this.setValue(c, u, e.xref, n), c.set("AS", u), c.set("M", `D:${d0()}`), s !== void 0 && c.set("F", s);
39035
39035
  const f = this._getMKDict(o);
39036
39036
  f && c.set("MK", f), n.put(this.ref, {
@@ -39089,7 +39089,7 @@ class a2e extends gl {
39089
39089
  if (r instanceof re) {
39090
39090
  this.parent = e.dict.getRaw("Parent");
39091
39091
  const o = r.get("V");
39092
- o instanceof ve && (this.data.fieldValue = this._decodeFormValue(o));
39092
+ o instanceof ye && (this.data.fieldValue = this._decodeFormValue(o));
39093
39093
  }
39094
39094
  const i = e.dict.get("AP");
39095
39095
  if (!(i instanceof re))
@@ -39346,7 +39346,7 @@ class zI extends fb {
39346
39346
  rect: a,
39347
39347
  parent: s
39348
39348
  } = e, o = n || new re(r);
39349
- return o.setIfNotExists("Type", ve.get("Annot")), o.setIfNotExists("Subtype", ve.get("Popup")), o.setIfNotExists("Open", !1), o.setIfArray("Rect", a), o.set("Parent", s), o;
39349
+ return o.setIfNotExists("Type", ye.get("Annot")), o.setIfNotExists("Subtype", ye.get("Popup")), o.setIfNotExists("Open", !1), o.setIfArray("Rect", a), o.set("Parent", s), o;
39350
39350
  }
39351
39351
  static async createNewAppearanceStream(e, r, i) {
39352
39352
  return null;
@@ -39405,7 +39405,7 @@ class m8 extends Ds {
39405
39405
  user: u,
39406
39406
  value: f
39407
39407
  } = e, d = l || new re(r);
39408
- d.setIfNotExists("Type", ve.get("Annot")), d.setIfNotExists("Subtype", ve.get("FreeText")), d.set(l ? "M" : "CreationDate", `D:${d0(s)}`), l && d.delete("RC"), d.setIfArray("Rect", c);
39408
+ d.setIfNotExists("Type", ye.get("Annot")), d.setIfNotExists("Subtype", ye.get("FreeText")), d.set(l ? "M" : "CreationDate", `D:${d0(s)}`), l && d.delete("RC"), d.setIfArray("Rect", c);
39409
39409
  const p = `/Helv ${o} Tf ${Ac(a, !0)}`;
39410
39410
  if (d.set("DA", p), d.setIfDefined("Contents", js(f)), d.setIfNotExists("F", 4), d.setIfNotExists("Border", [0, 0, 0]), d.setIfNumber("Rotate", h), d.setIfDefined("T", js(u)), i || n) {
39411
39411
  const g = new re(r);
@@ -39673,7 +39673,7 @@ class N1 extends Ds {
39673
39673
  thickness: d,
39674
39674
  user: p
39675
39675
  } = e, g = a || new re(r);
39676
- if (g.setIfNotExists("Type", ve.get("Annot")), g.setIfNotExists("Subtype", ve.get("Ink")), g.set(a ? "M" : "CreationDate", `D:${d0(o)}`), g.setIfArray("Rect", u), g.setIfArray("InkList", h?.points || c?.points), g.setIfNotExists("F", 4), g.setIfNumber("Rotate", f), g.setIfDefined("T", js(p)), h && g.setIfName("IT", "InkHighlight"), d > 0) {
39676
+ if (g.setIfNotExists("Type", ye.get("Annot")), g.setIfNotExists("Subtype", ye.get("Ink")), g.set(a ? "M" : "CreationDate", `D:${d0(o)}`), g.setIfArray("Rect", u), g.setIfArray("InkList", h?.points || c?.points), g.setIfNotExists("F", 4), g.setIfNumber("Rotate", f), g.setIfDefined("T", js(p)), h && g.setIfName("IT", "InkHighlight"), d > 0) {
39677
39677
  const m = new re(r);
39678
39678
  g.set("BS", m), m.set("W", d);
39679
39679
  }
@@ -39790,7 +39790,7 @@ class v8 extends Ds {
39790
39790
  user: u,
39791
39791
  quadPoints: f
39792
39792
  } = e, d = o || new re(r);
39793
- if (d.setIfNotExists("Type", ve.get("Annot")), d.setIfNotExists("Subtype", ve.get("Highlight")), d.set(o ? "M" : "CreationDate", `D:${d0(s)}`), d.setIfArray("Rect", c), d.setIfNotExists("F", 4), d.setIfNotExists("Border", [0, 0, 0]), d.setIfNumber("Rotate", h), d.setIfArray("QuadPoints", f), d.setIfArray("C", aa(a)), d.setIfNumber("CA", l), d.setIfDefined("T", js(u)), i || n) {
39793
+ if (d.setIfNotExists("Type", ye.get("Annot")), d.setIfNotExists("Subtype", ye.get("Highlight")), d.set(o ? "M" : "CreationDate", `D:${d0(s)}`), d.setIfArray("Rect", c), d.setIfNotExists("F", 4), d.setIfNotExists("Border", [0, 0, 0]), d.setIfNumber("Rotate", h), d.setIfArray("QuadPoints", f), d.setIfArray("C", aa(a)), d.setIfNumber("CA", l), d.setIfDefined("T", js(u)), i || n) {
39794
39794
  const p = new re(r);
39795
39795
  d.set("AP", p), p.set("N", i || n);
39796
39796
  }
@@ -39930,7 +39930,7 @@ class vp extends Ds {
39930
39930
  const h = a.convertToBlob({
39931
39931
  type: "image/jpeg",
39932
39932
  quality: 1
39933
- }).then((m) => m.arrayBuffer()), u = ve.get("XObject"), f = ve.get("Image"), d = new re(r);
39933
+ }).then((m) => m.arrayBuffer()), u = ye.get("XObject"), f = ye.get("Image"), d = new re(r);
39934
39934
  d.set("Type", u), d.set("Subtype", f), d.set("BitsPerComponent", 8), d.setIfName("ColorSpace", "DeviceRGB"), d.setIfName("Filter", "DCTDecode"), d.set("BBox", [0, 0, i, n]), d.set("Width", i), d.set("Height", n);
39935
39935
  let p = null;
39936
39936
  if (c) {
@@ -39962,7 +39962,7 @@ class vp extends Ds {
39962
39962
  rotation: l,
39963
39963
  user: c
39964
39964
  } = e, h = s || new re(r);
39965
- if (h.setIfNotExists("Type", ve.get("Annot")), h.setIfNotExists("Subtype", ve.get("Stamp")), h.set(s ? "M" : "CreationDate", `D:${d0(a)}`), h.setIfArray("Rect", o), h.setIfNotExists("F", 4), h.setIfNotExists("Border", [0, 0, 0]), h.setIfNumber("Rotate", l), h.setIfDefined("T", js(c)), i || n) {
39965
+ if (h.setIfNotExists("Type", ye.get("Annot")), h.setIfNotExists("Subtype", ye.get("Stamp")), h.set(s ? "M" : "CreationDate", `D:${d0(a)}`), h.setIfArray("Rect", o), h.setIfNotExists("F", 4), h.setIfNotExists("Border", [0, 0, 0]), h.setIfNumber("Rotate", l), h.setIfDefined("T", js(c)), i || n) {
39966
39966
  const u = new re(r);
39967
39967
  h.set("AP", u), u.set("N", i || n);
39968
39968
  }
@@ -40028,7 +40028,7 @@ class m2e extends Ds {
40028
40028
  } = e, n = new lT(r.get("FS"), i);
40029
40029
  this.data.annotationType = _n.FILEATTACHMENT, this.data.hasOwnCanvas = this.data.noRotate, this.data.noHTML = !1, this.data.file = n.serializable;
40030
40030
  const a = r.get("Name");
40031
- this.data.name = a instanceof ve ? lr(a.name) : "PushPin";
40031
+ this.data.name = a instanceof ye ? lr(a.name) : "PushPin";
40032
40032
  const s = r.get("ca");
40033
40033
  this.data.fillAlpha = typeof s == "number" && s >= 0 && s <= 1 ? s : null;
40034
40034
  }
@@ -40723,7 +40723,7 @@ class pg {
40723
40723
  return s[o++] = e & 255, s[o++] = e >> 8 & 255, s[o++] = e >> 16 & 255, s[o++] = r & 255, s[o++] = r >> 8 & 255, n && (s[o++] = 115, s[o++] = 65, s[o++] = 108, s[o++] = 84), bu(s, 0, o).subarray(0, Math.min(a + 5, 16));
40724
40724
  }
40725
40725
  #n(e, r, i, n, a) {
40726
- if (!(r instanceof ve))
40726
+ if (!(r instanceof ye))
40727
40727
  throw new fe("Invalid crypt filter name.");
40728
40728
  const s = this, l = e.get(r.name)?.get("CFM");
40729
40729
  if (!l || l.name === "None")
@@ -40759,7 +40759,7 @@ class pg {
40759
40759
  s = 40;
40760
40760
  else {
40761
40761
  const v = e.get("CF"), y = e.get("StmF");
40762
- v instanceof re && y instanceof ve && (v.suppressEncryption = !0, s = v.get(y.name)?.get("Length") || 128, s < 40 && (s <<= 3));
40762
+ v instanceof re && y instanceof ye && (v.suppressEncryption = !0, s = v.get(y.name)?.get("Length") || 128, s < 40 && (s <<= 3));
40763
40763
  }
40764
40764
  if (!Number.isInteger(s) || s < 40 || s % 8 !== 0)
40765
40765
  throw new fe("invalid key length");
@@ -40793,7 +40793,7 @@ class pg {
40793
40793
  throw new Gy("Incorrect Password", OR.INCORRECT_PASSWORD);
40794
40794
  if (a === 4 && m.length < 16 ? (this.encryptionKey = new Uint8Array(16), this.encryptionKey.set(m)) : this.encryptionKey = m, a >= 4) {
40795
40795
  const v = e.get("CF");
40796
- v instanceof re && (v.suppressEncryption = !0), this.cf = v, this.stmf = e.get("StmF") || ve.get("Identity"), this.strf = e.get("StrF") || ve.get("Identity"), this.eff = e.get("EFF") || this.stmf;
40796
+ v instanceof re && (v.suppressEncryption = !0), this.cf = v, this.stmf = e.get("StmF") || ye.get("Identity"), this.strf = e.get("StrF") || ye.get("Identity"), this.eff = e.get("EFF") || this.stmf;
40797
40797
  }
40798
40798
  }
40799
40799
  createCipherTransform(e, r) {
@@ -41904,7 +41904,7 @@ class DX {
41904
41904
  clone() {
41905
41905
  return this;
41906
41906
  }
41907
- }, p = (y, x, b) => h.handleSetFont(n, [ve.get(y), 1], null, u, r, d, x, b).catch((w) => (ee(`loadXfaFonts: "${w}".`), null)), g = [];
41907
+ }, p = (y, x, b) => h.handleSetFont(n, [ye.get(y), 1], null, u, r, d, x, b).catch((w) => (ee(`loadXfaFonts: "${w}".`), null)), g = [];
41908
41908
  for (const [y, x] of a) {
41909
41909
  const b = x.get("FontDescriptor");
41910
41910
  if (!(b instanceof re))
@@ -42031,7 +42031,7 @@ class DX {
42031
42031
  }
42032
42032
  break;
42033
42033
  case "Trapped":
42034
- if (o instanceof ve) {
42034
+ if (o instanceof ye) {
42035
42035
  n[s] = o;
42036
42036
  continue;
42037
42037
  }
@@ -42047,7 +42047,7 @@ class DX {
42047
42047
  l = o;
42048
42048
  break;
42049
42049
  default:
42050
- o instanceof ve && (l = o);
42050
+ o instanceof ye && (l = o);
42051
42051
  break;
42052
42052
  }
42053
42053
  if (l === void 0) {
@@ -42200,7 +42200,7 @@ class DX {
42200
42200
  if (!(c instanceof re))
42201
42201
  return;
42202
42202
  let h = await c.getAsync("Subtype");
42203
- switch (h = h instanceof ve ? h.name : null, h) {
42203
+ switch (h = h instanceof ye ? h.name : null, h) {
42204
42204
  case "Link":
42205
42205
  return;
42206
42206
  }
@@ -42738,7 +42738,7 @@ async function PX(t, e, r) {
42738
42738
  const d = await new Response(u.readable).arrayBuffer();
42739
42739
  i = new Uint8Array(d);
42740
42740
  let p, g;
42741
- a ? l || (p = Array.isArray(a) ? [ve.get("FlateDecode"), ...a] : [ve.get("FlateDecode"), a], s && (g = Array.isArray(s) ? [null, ...s] : [null, s])) : p = ve.get("FlateDecode"), p && n.set("Filter", p), g && n.set("DecodeParms", g);
42741
+ a ? l || (p = Array.isArray(a) ? [ye.get("FlateDecode"), ...a] : [ye.get("FlateDecode"), a], s && (g = Array.isArray(s) ? [null, ...s] : [null, s])) : p = ye.get("FlateDecode"), p && n.set("Filter", p), g && n.set("DecodeParms", g);
42742
42742
  } catch (u) {
42743
42743
  Wt(`writeStream - cannot compress data: "${u}".`);
42744
42744
  }
@@ -42755,7 +42755,7 @@ async function RX(t, e, r) {
42755
42755
  e.push("]");
42756
42756
  }
42757
42757
  async function NX(t, e, r) {
42758
- t instanceof ve ? e.push(`/${lI(t.name)}`) : t instanceof De ? e.push(`${t.num} ${t.gen} R`) : Array.isArray(t) || ArrayBuffer.isView(t) ? await RX(t, e, r) : typeof t == "string" ? (r && (t = r.encryptString(t)), e.push(`(${im(t)})`)) : typeof t == "number" ? e.push(tr(t)) : typeof t == "boolean" ? e.push(t.toString()) : t instanceof re ? await Q3(t, e, r) : t instanceof Bt ? await PX(t, e, r) : t === null ? e.push("null") : ee(`Unhandled value in writer: ${typeof t}, please file a bug.`);
42758
+ t instanceof ye ? e.push(`/${lI(t.name)}`) : t instanceof De ? e.push(`${t.num} ${t.gen} R`) : Array.isArray(t) || ArrayBuffer.isView(t) ? await RX(t, e, r) : typeof t == "string" ? (r && (t = r.encryptString(t)), e.push(`(${im(t)})`)) : typeof t == "number" ? e.push(tr(t)) : typeof t == "boolean" ? e.push(t.toString()) : t instanceof re ? await Q3(t, e, r) : t instanceof Bt ? await PX(t, e, r) : t === null ? e.push("null") : ee(`Unhandled value in writer: ${typeof t}, please file a bug.`);
42759
42759
  }
42760
42760
  function x8(t, e, r, i) {
42761
42761
  for (let n = e + r - 1; n > r - 1; n--)
@@ -60963,7 +60963,7 @@ const Btt = ({
60963
60963
  toolbar: b8["smp-pdf-toolbar"],
60964
60964
  errorContainer: b8["smp-pdf-error"]
60965
60965
  };
60966
- xt(() => {
60966
+ yt(() => {
60967
60967
  (async () => {
60968
60968
  try {
60969
60969
  if (o(null), !t || !a.current) return;
@@ -62176,7 +62176,7 @@ function TY() {
62176
62176
  enumerable: !0,
62177
62177
  value: !1
62178
62178
  }
62179
- })), j = null, W = null, Y = !0, K = !0, q = !1, X = !0, J = !1, te = !0, ae = !1, ye = !1, le = !1, we = !1, _e = !1, Oe = !1, Me = !0, Le = !1;
62179
+ })), j = null, W = null, Y = !0, K = !0, q = !1, X = !0, J = !1, te = !0, ae = !1, ve = !1, le = !1, we = !1, _e = !1, Oe = !1, Me = !0, Le = !1;
62180
62180
  const Ve = "user-content-";
62181
62181
  let Te = !0, he = !1, Ue = {}, qe = null;
62182
62182
  const ut = pr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -62428,7 +62428,7 @@ function TY() {
62428
62428
  throw H1("toString is not a function");
62429
62429
  if (!e.isSupported)
62430
62430
  return Et;
62431
- if (ye || Tr(ne), e.removed = [], typeof Et == "string" && (he = !1), he) {
62431
+ if (ve || Tr(ne), e.removed = [], typeof Et == "string" && (he = !1), he) {
62432
62432
  if (Et.nodeName) {
62433
62433
  const jc = Ce(Et.nodeName);
62434
62434
  if (!P[jc] || j[jc])
@@ -62464,9 +62464,9 @@ function TY() {
62464
62464
  }), b && Oe ? b.createHTML(ls) : ls;
62465
62465
  }, e.setConfig = function() {
62466
62466
  let Et = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
62467
- Tr(Et), ye = !0;
62467
+ Tr(Et), ve = !0;
62468
62468
  }, e.clearConfig = function() {
62469
- Be = null, ye = !1;
62469
+ Be = null, ve = !1;
62470
62470
  }, e.isValidAttribute = function(Et, ne, He) {
62471
62471
  Be || Tr({});
62472
62472
  const bt = Ce(Et), di = Ce(ne);
@@ -71504,7 +71504,7 @@ var pt = { canvas: (t, e) => new R4e(t, e), svg: (t, e) => new N4e(t, e), genera
71504
71504
  s = l.getBoundingClientRect(), c.attr("width", s.width), c.attr("height", s.height);
71505
71505
  }
71506
71506
  return i ? n.attr("transform", "translate(" + -s.width / 2 + ", " + -s.height / 2 + ")") : n.attr("transform", "translate(0, " + -s.height / 2 + ")"), r.centerLabel && n.attr("transform", "translate(" + -s.width / 2 + ", " + -s.height / 2 + ")"), n.insert("rect", ":first-child"), { shapeSvg: t, bbox: s, halfPadding: o, label: n };
71507
- }, "insertLabel"), yt = /* @__PURE__ */ B((t, e) => {
71507
+ }, "insertLabel"), xt = /* @__PURE__ */ B((t, e) => {
71508
71508
  const r = e.node().getBBox();
71509
71509
  t.width = r.width, t.height = r.height;
71510
71510
  }, "updateNodeBounds"), Rt = /* @__PURE__ */ B((t, e) => (t.look === "handDrawn" ? "rough-node" : "node") + " " + t.cssClasses + " " + (e || ""), "getNodeClasses");
@@ -71875,7 +71875,7 @@ function IQ(t, e) {
71875
71875
  const a = t.insert("g").attr("class", n).attr("id", e.domId || e.id), s = 1, { cssStyles: o } = e, l = pt.svg(a), c = gt(e, { fill: "black", stroke: "none", fillStyle: "solid" });
71876
71876
  e.look !== "handDrawn" && (c.roughness = 0);
71877
71877
  const h = l.circle(0, 0, s * 2, c), u = a.insert(() => h, ":first-child");
71878
- return u.attr("class", "anchor").attr("style", xa(o)), yt(e, u), e.intersect = function(f) {
71878
+ return u.attr("class", "anchor").attr("style", xa(o)), xt(e, u), e.intersect = function(f) {
71879
71879
  return Ee.info("Circle intersect", e, s, f), st.circle(e, s, f);
71880
71880
  }, a;
71881
71881
  }
@@ -71907,7 +71907,7 @@ async function DQ(t, e) {
71907
71907
  ], f = pt.svg(n), d = gt(e, {});
71908
71908
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
71909
71909
  const p = xr(u), g = f.path(p, d), m = n.insert(() => g, ":first-child");
71910
- return m.attr("class", "basic label-container"), h && e.look !== "handDrawn" && m.selectAll("path").attr("style", h), i && e.look !== "handDrawn" && m.selectAll("path").attr("style", i), m.attr("transform", `translate(${c / 2}, 0)`), yt(e, m), e.intersect = function(v) {
71910
+ return m.attr("class", "basic label-container"), h && e.look !== "handDrawn" && m.selectAll("path").attr("style", h), i && e.look !== "handDrawn" && m.selectAll("path").attr("style", i), m.attr("transform", `translate(${c / 2}, 0)`), xt(e, m), e.intersect = function(v) {
71911
71911
  return st.polygon(e, u, v);
71912
71912
  }, n;
71913
71913
  }
@@ -71939,7 +71939,7 @@ async function MQ(t, e) {
71939
71939
  p = n.insert(() => x, ":first-child").attr("transform", `translate(${-l / 2}, ${s / 2})`), g && p.attr("style", g);
71940
71940
  } else
71941
71941
  p = wf(n, l, s, d);
71942
- return i && p.attr("style", i), yt(e, p), e.intersect = function(m) {
71942
+ return i && p.attr("style", i), xt(e, p), e.intersect = function(m) {
71943
71943
  return st.polygon(e, d, m);
71944
71944
  }, n;
71945
71945
  }
@@ -71971,7 +71971,7 @@ async function QD(t, e, r) {
71971
71971
  h = a.insert(() => p, ":first-child"), h.attr("class", "basic label-container").attr("style", xa(u));
71972
71972
  } else
71973
71973
  h = a.insert("circle", ":first-child").attr("class", "basic label-container").attr("style", n).attr("r", c).attr("cx", 0).attr("cy", 0);
71974
- return yt(e, h), e.calcIntersect = function(f, d) {
71974
+ return xt(e, h), e.calcIntersect = function(f, d) {
71975
71975
  const p = f.width / 2;
71976
71976
  return st.circle(f, p, d);
71977
71977
  }, e.intersect = function(f) {
@@ -71991,7 +71991,7 @@ function RQ(t, e) {
71991
71991
  const n = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), a = Math.max(30, e?.width ?? 0), { cssStyles: s } = e, o = pt.svg(n), l = gt(e, {});
71992
71992
  e.look !== "handDrawn" && (l.roughness = 0, l.fillStyle = "solid");
71993
71993
  const c = o.circle(0, 0, a * 2, l), h = PQ(a), u = o.path(h, l), f = n.insert(() => c, ":first-child");
71994
- return f.insert(() => u), s && e.look !== "handDrawn" && f.selectAll("path").attr("style", s), i && e.look !== "handDrawn" && f.selectAll("path").attr("style", i), yt(e, f), e.intersect = function(d) {
71994
+ return f.insert(() => u), s && e.look !== "handDrawn" && f.selectAll("path").attr("style", s), i && e.look !== "handDrawn" && f.selectAll("path").attr("style", i), xt(e, f), e.intersect = function(d) {
71995
71995
  return Ee.info("crossedCircle intersect", e, { radius: a, point: d }), st.circle(e, a, d);
71996
71996
  }, n;
71997
71997
  }
@@ -72032,7 +72032,7 @@ async function NQ(t, e) {
72032
72032
  return b.insert(() => x, ":first-child").attr("stroke-opacity", 0), b.insert(() => v, ":first-child"), b.attr("class", "text"), h && e.look !== "handDrawn" && b.selectAll("path").attr("style", h), i && e.look !== "handDrawn" && b.selectAll("path").attr("style", i), b.attr("transform", `translate(${c}, 0)`), s.attr(
72033
72033
  "transform",
72034
72034
  `translate(${-o / 2 + c - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
72035
- ), yt(e, b), e.intersect = function(w) {
72035
+ ), xt(e, b), e.intersect = function(w) {
72036
72036
  return st.polygon(e, f, w);
72037
72037
  }, n;
72038
72038
  }
@@ -72073,7 +72073,7 @@ async function OQ(t, e) {
72073
72073
  return b.insert(() => x, ":first-child").attr("stroke-opacity", 0), b.insert(() => v, ":first-child"), b.attr("class", "text"), h && e.look !== "handDrawn" && b.selectAll("path").attr("style", h), i && e.look !== "handDrawn" && b.selectAll("path").attr("style", i), b.attr("transform", `translate(${-c}, 0)`), s.attr(
72074
72074
  "transform",
72075
72075
  `translate(${-o / 2 + (e.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
72076
- ), yt(e, b), e.intersect = function(w) {
72076
+ ), xt(e, b), e.intersect = function(w) {
72077
72077
  return st.polygon(e, f, w);
72078
72078
  }, n;
72079
72079
  }
@@ -72127,7 +72127,7 @@ async function BQ(t, e) {
72127
72127
  return C.insert(() => S, ":first-child").attr("stroke-opacity", 0), C.insert(() => y, ":first-child"), C.insert(() => w, ":first-child"), C.attr("class", "text"), h && e.look !== "handDrawn" && C.selectAll("path").attr("style", h), i && e.look !== "handDrawn" && C.selectAll("path").attr("style", i), C.attr("transform", `translate(${c - c / 4}, 0)`), s.attr(
72128
72128
  "transform",
72129
72129
  `translate(${-o / 2 + (e.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
72130
- ), yt(e, C), e.intersect = function(A) {
72130
+ ), xt(e, C), e.intersect = function(A) {
72131
72131
  return st.polygon(e, d, A);
72132
72132
  }, n;
72133
72133
  }
@@ -72145,7 +72145,7 @@ async function FQ(t, e) {
72145
72145
  { x: m, y: g },
72146
72146
  ...Ax(-m, -g / 2, h, 50, 270, 90)
72147
72147
  ], x = xr(y), b = f.path(x, d), w = n.insert(() => b, ":first-child");
72148
- return w.attr("class", "basic label-container"), u && e.look !== "handDrawn" && w.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && w.selectChildren("path").attr("style", i), w.attr("transform", `translate(${-l / 2}, ${-c / 2})`), yt(e, w), e.intersect = function(_) {
72148
+ return w.attr("class", "basic label-container"), u && e.look !== "handDrawn" && w.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && w.selectChildren("path").attr("style", i), w.attr("transform", `translate(${-l / 2}, ${-c / 2})`), xt(e, w), e.intersect = function(_) {
72149
72149
  return st.polygon(e, y, _);
72150
72150
  }, n;
72151
72151
  }
@@ -72178,7 +72178,7 @@ async function $Q(t, e) {
72178
72178
  const d = Y4e(0, 0, o, h, l, c);
72179
72179
  u = n.insert("path", ":first-child").attr("d", d).attr("class", "basic label-container").attr("style", xa(f)).attr("style", i);
72180
72180
  }
72181
- return u.attr("label-offset-y", c), u.attr("transform", `translate(${-o / 2}, ${-(h / 2 + c)})`), yt(e, u), s.attr(
72181
+ return u.attr("label-offset-y", c), u.attr("transform", `translate(${-o / 2}, ${-(h / 2 + c)})`), xt(e, u), s.attr(
72182
72182
  "transform",
72183
72183
  `translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + (e.padding ?? 0) / 1.5 - (a.y - (a.top ?? 0))})`
72184
72184
  ), e.intersect = function(d) {
@@ -72211,7 +72211,7 @@ async function zQ(t, e) {
72211
72211
  return v.attr("class", "basic label-container"), f && e.look !== "handDrawn" && v.selectAll("path").attr("style", f), i && e.look !== "handDrawn" && v.selectAll("path").attr("style", i), s.attr(
72212
72212
  "transform",
72213
72213
  `translate(${h + (e.padding ?? 0) / 2 - (a.x - (a.left ?? 0))}, ${u + c + (e.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
72214
- ), yt(e, v), e.intersect = function(y) {
72214
+ ), xt(e, v), e.intersect = function(y) {
72215
72215
  return st.rect(e, y);
72216
72216
  }, n;
72217
72217
  }
@@ -72230,7 +72230,7 @@ async function VQ(t, e) {
72230
72230
  const f = h.insert("circle", ":first-child"), d = h.insert("circle");
72231
72231
  h.attr("class", "basic label-container").attr("style", i), f.attr("class", "outer-circle").attr("style", i).attr("r", l).attr("cx", 0).attr("cy", 0), d.attr("class", "inner-circle").attr("style", i).attr("r", c).attr("cx", 0).attr("cy", 0);
72232
72232
  }
72233
- return yt(e, h), e.intersect = function(f) {
72233
+ return xt(e, h), e.intersect = function(f) {
72234
72234
  return Ee.info("DoubleCircle intersect", e, l, f), st.circle(e, l, f);
72235
72235
  }, n;
72236
72236
  }
@@ -72241,7 +72241,7 @@ function UQ(t, e, { config: { themeVariables: r } }) {
72241
72241
  const a = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), s = 7, { cssStyles: o } = e, l = pt.svg(a), { nodeBorder: c } = r, h = gt(e, { fillStyle: "solid" });
72242
72242
  e.look !== "handDrawn" && (h.roughness = 0);
72243
72243
  const u = l.circle(0, 0, s * 2, h), f = a.insert(() => u, ":first-child");
72244
- return f.selectAll("path").attr("style", `fill: ${c} !important;`), o && o.length > 0 && e.look !== "handDrawn" && f.selectAll("path").attr("style", o), n && e.look !== "handDrawn" && f.selectAll("path").attr("style", n), yt(e, f), e.intersect = function(d) {
72244
+ return f.selectAll("path").attr("style", `fill: ${c} !important;`), o && o.length > 0 && e.look !== "handDrawn" && f.selectAll("path").attr("style", o), n && e.look !== "handDrawn" && f.selectAll("path").attr("style", n), xt(e, f), e.intersect = function(d) {
72245
72245
  return Ee.info("filledCircle intersect", e, { radius: s, point: d }), st.circle(e, s, d);
72246
72246
  }, a;
72247
72247
  }
@@ -72256,7 +72256,7 @@ async function HQ(t, e) {
72256
72256
  ], { cssStyles: u } = e, f = pt.svg(n), d = gt(e, {});
72257
72257
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
72258
72258
  const p = xr(h), g = f.path(p, d), m = n.insert(() => g, ":first-child").attr("transform", `translate(${-l / 2}, ${l / 2})`);
72259
- return u && e.look !== "handDrawn" && m.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && m.selectChildren("path").attr("style", i), e.width = o, e.height = l, yt(e, m), s.attr(
72259
+ return u && e.look !== "handDrawn" && m.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && m.selectChildren("path").attr("style", i), e.width = o, e.height = l, xt(e, m), s.attr(
72260
72260
  "transform",
72261
72261
  `translate(${-a.width / 2 - (a.x - (a.left ?? 0))}, ${-l / 2 + (e.padding ?? 0) / 2 + (a.y - (a.top ?? 0))})`
72262
72262
  ), e.intersect = function(v) {
@@ -72276,7 +72276,7 @@ function jQ(t, e, { dir: r, config: { state: i, themeVariables: n } }) {
72276
72276
  });
72277
72277
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
72278
72278
  const p = f.rectangle(h, u, l, c, d), g = s.insert(() => p, ":first-child");
72279
- o && e.look !== "handDrawn" && g.selectAll("path").attr("style", o), a && e.look !== "handDrawn" && g.selectAll("path").attr("style", a), yt(e, g);
72279
+ o && e.look !== "handDrawn" && g.selectAll("path").attr("style", o), a && e.look !== "handDrawn" && g.selectAll("path").attr("style", a), xt(e, g);
72280
72280
  const m = i?.padding ?? 0;
72281
72281
  return e.width && e.height && (e.width += m / 2 || 0, e.height += m / 2 || 0), e.intersect = function(v) {
72282
72282
  return st.rect(e, v);
@@ -72295,7 +72295,7 @@ async function GQ(t, e) {
72295
72295
  { x: l / 2 - h, y: c / 2 },
72296
72296
  { x: -l / 2, y: c / 2 }
72297
72297
  ], g = xr(p), m = f.path(g, d), v = s.insert(() => m, ":first-child");
72298
- return v.attr("class", "basic label-container"), u && e.look !== "handDrawn" && v.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && v.selectChildren("path").attr("style", i), yt(e, v), e.intersect = function(y) {
72298
+ return v.attr("class", "basic label-container"), u && e.look !== "handDrawn" && v.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && v.selectChildren("path").attr("style", i), xt(e, v), e.intersect = function(y) {
72299
72299
  return Ee.info("Pill intersect", e, { radius: h, point: y }), st.polygon(e, p, y);
72300
72300
  }, s;
72301
72301
  }
@@ -72318,7 +72318,7 @@ async function WQ(t, e) {
72318
72318
  { x: -g, y: d },
72319
72319
  { x: -u, y: 0 }
72320
72320
  ], v = xr(m), y = c.path(v, h), x = n.insert(() => y, ":first-child");
72321
- return x.attr("class", "basic label-container"), l && e.look !== "handDrawn" && x.selectChildren("path").attr("style", l), i && e.look !== "handDrawn" && x.selectChildren("path").attr("style", i), e.width = o, e.height = s, yt(e, x), e.intersect = function(b) {
72321
+ return x.attr("class", "basic label-container"), l && e.look !== "handDrawn" && x.selectChildren("path").attr("style", l), i && e.look !== "handDrawn" && x.selectChildren("path").attr("style", i), e.width = o, e.height = s, xt(e, x), e.intersect = function(b) {
72322
72322
  return st.polygon(e, m, b);
72323
72323
  }, n;
72324
72324
  }
@@ -72334,7 +72334,7 @@ async function qQ(t, e) {
72334
72334
  { x: 0, y: s },
72335
72335
  { x: a, y: s }
72336
72336
  ], u = xr(h), f = l.path(u, c), d = n.insert(() => f, ":first-child");
72337
- return d.attr("class", "basic label-container"), o && e.look !== "handDrawn" && d.selectChildren("path").attr("style", o), i && e.look !== "handDrawn" && d.selectChildren("path").attr("style", i), d.attr("transform", `translate(${-a / 2}, ${-s / 2})`), yt(e, d), e.intersect = function(p) {
72337
+ return d.attr("class", "basic label-container"), o && e.look !== "handDrawn" && d.selectChildren("path").attr("style", o), i && e.look !== "handDrawn" && d.selectChildren("path").attr("style", i), d.attr("transform", `translate(${-a / 2}, ${-s / 2})`), xt(e, d), e.intersect = function(p) {
72338
72338
  return Ee.info("Pill intersect", e, { points: h }), st.polygon(e, h, p);
72339
72339
  }, n;
72340
72340
  }
@@ -72372,7 +72372,7 @@ async function XQ(t, e, { config: { themeVariables: r, flowchart: i } }) {
72372
72372
  ), T.attr(
72373
72373
  "transform",
72374
72374
  `translate(0,${f ? h.height / 2 + x / 2 : -h.height / 2 - x / 2})`
72375
- ), yt(e, k), e.intersect = function(E) {
72375
+ ), xt(e, k), e.intersect = function(E) {
72376
72376
  if (Ee.info("iconSquare intersect", e, E), !e.label)
72377
72377
  return st.rect(e, E);
72378
72378
  const I = e.x ?? 0, M = e.y ?? 0, L = e.height ?? 0;
@@ -72430,7 +72430,7 @@ async function YQ(t, e, { config: { themeVariables: r, flowchart: i } }) {
72430
72430
  ), D.attr(
72431
72431
  "transform",
72432
72432
  `translate(0,${p ? h.height / 2 + d / 2 : -h.height / 2 - d / 2})`
72433
- ), yt(e, N), e.intersect = function(R) {
72433
+ ), xt(e, N), e.intersect = function(R) {
72434
72434
  return Ee.info("iconSquare intersect", e, R), st.rect(e, R);
72435
72435
  }, c;
72436
72436
  }
@@ -72474,7 +72474,7 @@ async function KQ(t, e, { config: { themeVariables: r, flowchart: i } }) {
72474
72474
  ), I.attr(
72475
72475
  "transform",
72476
72476
  `translate(0,${d ? h.height / 2 + w / 2 : -h.height / 2 - w / 2})`
72477
- ), yt(e, M), e.intersect = function(L) {
72477
+ ), xt(e, M), e.intersect = function(L) {
72478
72478
  if (Ee.info("iconSquare intersect", e, L), !e.label)
72479
72479
  return st.rect(e, L);
72480
72480
  const D = e.x ?? 0, N = e.y ?? 0, R = e.height ?? 0;
@@ -72540,7 +72540,7 @@ async function ZQ(t, e, { config: { themeVariables: r, flowchart: i } }) {
72540
72540
  ), I.attr(
72541
72541
  "transform",
72542
72542
  `translate(0,${d ? h.height / 2 + w / 2 : -h.height / 2 - w / 2})`
72543
- ), yt(e, M), e.intersect = function(L) {
72543
+ ), xt(e, M), e.intersect = function(L) {
72544
72544
  if (Ee.info("iconSquare intersect", e, L), !e.label)
72545
72545
  return st.rect(e, L);
72546
72546
  const D = e.x ?? 0, N = e.y ?? 0, R = e.height ?? 0;
@@ -72601,7 +72601,7 @@ async function JQ(t, e, { config: { flowchart: r } }) {
72601
72601
  ), C.attr(
72602
72602
  "transform",
72603
72603
  `translate(0,${p ? f.height / 2 + v / 2 : -f.height / 2 - v / 2})`
72604
- ), yt(e, A), e.intersect = function(T) {
72604
+ ), xt(e, A), e.intersect = function(T) {
72605
72605
  if (Ee.info("iconSquare intersect", e, T), !e.label)
72606
72606
  return st.rect(e, T);
72607
72607
  const k = e.x ?? 0, E = e.y ?? 0, I = e.height ?? 0;
@@ -72644,7 +72644,7 @@ async function QQ(t, e) {
72644
72644
  c = n.insert(() => p, ":first-child").attr("transform", `translate(${-s / 2}, ${o / 2})`), h && c.attr("style", h);
72645
72645
  } else
72646
72646
  c = wf(n, s, o, l);
72647
- return i && c.attr("style", i), e.width = s, e.height = o, yt(e, c), e.intersect = function(u) {
72647
+ return i && c.attr("style", i), e.width = s, e.height = o, xt(e, c), e.intersect = function(u) {
72648
72648
  return st.polygon(e, l, u);
72649
72649
  }, n;
72650
72650
  }
@@ -72660,7 +72660,7 @@ async function I5(t, e, r) {
72660
72660
  u = a.insert(() => v, ":first-child"), u.attr("class", "basic label-container").attr("style", xa(p));
72661
72661
  } else
72662
72662
  u = a.insert("rect", ":first-child"), u.attr("class", "basic label-container").attr("style", n).attr("rx", xa(f)).attr("ry", xa(d)).attr("x", c).attr("y", h).attr("width", o).attr("height", l);
72663
- return yt(e, u), e.calcIntersect = function(g, m) {
72663
+ return xt(e, u), e.calcIntersect = function(g, m) {
72664
72664
  return st.rect(g, m);
72665
72665
  }, e.intersect = function(g) {
72666
72666
  return st.rect(e, g);
@@ -72672,7 +72672,7 @@ async function eee(t, e) {
72672
72672
  return a.attr("width", 0.1).attr("height", 0.1), r.attr("class", "label edgeLabel"), n.attr(
72673
72673
  "transform",
72674
72674
  `translate(${-(i.width / 2) - (i.x - (i.left ?? 0))}, ${-(i.height / 2) - (i.y - (i.top ?? 0))})`
72675
- ), yt(e, a), e.intersect = function(l) {
72675
+ ), xt(e, a), e.intersect = function(l) {
72676
72676
  return st.rect(e, l);
72677
72677
  }, r;
72678
72678
  }
@@ -72693,7 +72693,7 @@ async function tee(t, e) {
72693
72693
  c = n.insert(() => p, ":first-child").attr("transform", `translate(${-s / 2}, ${o / 2})`), h && c.attr("style", h);
72694
72694
  } else
72695
72695
  c = wf(n, s, o, l);
72696
- return i && c.attr("style", i), e.width = s, e.height = o, yt(e, c), e.intersect = function(u) {
72696
+ return i && c.attr("style", i), e.width = s, e.height = o, xt(e, c), e.intersect = function(u) {
72697
72697
  return st.polygon(e, l, u);
72698
72698
  }, n;
72699
72699
  }
@@ -72714,7 +72714,7 @@ async function ree(t, e) {
72714
72714
  c = n.insert(() => p, ":first-child").attr("transform", `translate(${-s / 2}, ${o / 2})`), h && c.attr("style", h);
72715
72715
  } else
72716
72716
  c = wf(n, s, o, l);
72717
- return i && c.attr("style", i), e.width = s, e.height = o, yt(e, c), e.intersect = function(u) {
72717
+ return i && c.attr("style", i), e.width = s, e.height = o, xt(e, c), e.intersect = function(u) {
72718
72718
  return st.polygon(e, l, u);
72719
72719
  }, n;
72720
72720
  }
@@ -72732,7 +72732,7 @@ function iee(t, e) {
72732
72732
  ], h = pt.svg(n), u = gt(e, {});
72733
72733
  e.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
72734
72734
  const f = xr(c), d = h.path(f, u), p = n.insert(() => d, ":first-child");
72735
- return a && e.look !== "handDrawn" && p.selectAll("path").attr("style", a), i && e.look !== "handDrawn" && p.selectAll("path").attr("style", i), p.attr("transform", `translate(-${s / 2},${-o})`), yt(e, p), e.intersect = function(g) {
72735
+ return a && e.look !== "handDrawn" && p.selectAll("path").attr("style", a), i && e.look !== "handDrawn" && p.selectAll("path").attr("style", i), p.attr("transform", `translate(-${s / 2},${-o})`), xt(e, p), e.intersect = function(g) {
72736
72736
  return Ee.info("lightningBolt intersect", e, g), st.polygon(e, c, g);
72737
72737
  }, n;
72738
72738
  }
@@ -72769,7 +72769,7 @@ async function nee(t, e) {
72769
72769
  const p = J4e(0, 0, o, h, l, c, u);
72770
72770
  f = n.insert("path", ":first-child").attr("d", p).attr("class", "basic label-container").attr("style", xa(d)).attr("style", i);
72771
72771
  }
72772
- return f.attr("label-offset-y", c), f.attr("transform", `translate(${-o / 2}, ${-(h / 2 + c)})`), yt(e, f), s.attr(
72772
+ return f.attr("label-offset-y", c), f.attr("transform", `translate(${-o / 2}, ${-(h / 2 + c)})`), xt(e, f), s.attr(
72773
72773
  "transform",
72774
72774
  `translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c - (a.y - (a.top ?? 0))})`
72775
72775
  ), e.intersect = function(p) {
@@ -72810,7 +72810,7 @@ async function aee(t, e) {
72810
72810
  return m.attr("class", "basic label-container"), u && e.look !== "handDrawn" && m.selectAll("path").attr("style", u), i && e.look !== "handDrawn" && m.selectAll("path").attr("style", i), m.attr("transform", `translate(0,${-c / 2})`), s.attr(
72811
72811
  "transform",
72812
72812
  `translate(${-o / 2 + (e.padding ?? 0) + o / 2 * 0.1 / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) - c / 2 - (a.y - (a.top ?? 0))})`
72813
- ), yt(e, m), e.intersect = function(v) {
72813
+ ), xt(e, m), e.intersect = function(v) {
72814
72814
  return st.polygon(e, p, v);
72815
72815
  }, n;
72816
72816
  }
@@ -72844,7 +72844,7 @@ async function see(t, e) {
72844
72844
  return w.insert(() => y, ":first-child"), w.attr("class", "basic label-container"), f && e.look !== "handDrawn" && w.selectAll("path").attr("style", f), i && e.look !== "handDrawn" && w.selectAll("path").attr("style", i), s.attr(
72845
72845
  "transform",
72846
72846
  `translate(${-(a.width / 2) - c - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c - (a.y - (a.top ?? 0))})`
72847
- ), yt(e, w), e.intersect = function(_) {
72847
+ ), xt(e, w), e.intersect = function(_) {
72848
72848
  return st.polygon(e, g, _);
72849
72849
  }, n;
72850
72850
  }
@@ -72885,7 +72885,7 @@ async function oee(t, e) {
72885
72885
  return A.insert(() => C), A.attr("class", "basic label-container"), p && e.look !== "handDrawn" && A.selectAll("path").attr("style", p), i && e.look !== "handDrawn" && A.selectAll("path").attr("style", i), A.attr("transform", `translate(0,${-c / 2})`), s.attr(
72886
72886
  "transform",
72887
72887
  `translate(${-(a.width / 2) - d - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + d - c / 2 - (a.y - (a.top ?? 0))})`
72888
- ), yt(e, A), e.intersect = function(T) {
72888
+ ), xt(e, A), e.intersect = function(T) {
72889
72889
  return st.polygon(e, v, T);
72890
72890
  }, n;
72891
72891
  }
@@ -72902,7 +72902,7 @@ async function lee(t, e, { config: { themeVariables: r } }) {
72902
72902
  return v.attr("class", "basic label-container"), d && e.look !== "handDrawn" && v.selectAll("path").attr("style", d), n && e.look !== "handDrawn" && v.selectAll("path").attr("style", n), l.attr(
72903
72903
  "transform",
72904
72904
  `translate(${-o.width / 2 - (o.x - (o.left ?? 0))}, ${-(o.height / 2) - (o.y - (o.top ?? 0))})`
72905
- ), yt(e, v), e.intersect = function(y) {
72905
+ ), xt(e, v), e.intersect = function(y) {
72906
72906
  return st.rect(e, y);
72907
72907
  }, s;
72908
72908
  }
@@ -72930,7 +72930,7 @@ async function cee(t, e) {
72930
72930
  u = n.insert(() => m, ":first-child").attr("transform", `translate(${-l / 2 + c}, ${l / 2})`), f && u.attr("style", f);
72931
72931
  } else
72932
72932
  u = wf(n, l, l, h), u.attr("transform", `translate(${-l / 2 + c}, ${l / 2})`);
72933
- return i && u.attr("style", i), yt(e, u), e.calcIntersect = function(d, p) {
72933
+ return i && u.attr("style", i), xt(e, u), e.calcIntersect = function(d, p) {
72934
72934
  const g = d.width, m = [
72935
72935
  { x: g / 2, y: 0 },
72936
72936
  { x: g, y: -g / 2 },
@@ -72958,7 +72958,7 @@ async function hee(t, e) {
72958
72958
  return y.attr("class", "basic label-container"), d && e.look !== "handDrawn" && y.selectAll("path").attr("style", d), i && e.look !== "handDrawn" && y.selectAll("path").attr("style", i), y.attr("transform", `translate(${-u / 2},0)`), s.attr(
72959
72959
  "transform",
72960
72960
  `translate(${-u / 2 - a.width / 2 - (a.x - (a.left ?? 0))}, ${-(a.height / 2) - (a.y - (a.top ?? 0))})`
72961
- ), yt(e, y), e.intersect = function(x) {
72961
+ ), xt(e, y), e.intersect = function(x) {
72962
72962
  return st.polygon(e, f, x);
72963
72963
  }, n;
72964
72964
  }
@@ -73011,7 +73011,7 @@ async function uee(t, e) {
73011
73011
  S = a.insert(() => (Ee.debug("Rough node insert CXC", T), k), ":first-child"), _ = a.insert(() => (Ee.debug("Rough node insert CXC", T), T), ":first-child");
73012
73012
  } else
73013
73013
  _ = s.insert("rect", ":first-child"), S = s.insert("line"), _.attr("class", "outer title-state").attr("style", i).attr("x", -u.width / 2 - v).attr("y", -u.height / 2 - v).attr("width", u.width + (e.padding || 0)).attr("height", u.height + (e.padding || 0)), S.attr("class", "divider").attr("x1", -u.width / 2 - v).attr("x2", u.width / 2 + v).attr("y1", -u.height / 2 - v + d.height + v).attr("y2", -u.height / 2 - v + d.height + v);
73014
- return yt(e, _), e.intersect = function(C) {
73014
+ return xt(e, _), e.intersect = function(C) {
73015
73015
  return st.rect(e, C);
73016
73016
  }, a;
73017
73017
  }
@@ -73066,7 +73066,7 @@ async function fee(t, e) {
73066
73066
  ...qv(-l / 2, -c / 2 + u, -l / 2 + u, -c / 2, h, h, !0)
73067
73067
  // Top-left arc (4 to 5)
73068
73068
  ], m = xr(g), v = d.path(m, p), y = n.insert(() => v, ":first-child");
73069
- return y.attr("class", "basic label-container outer-path"), f && e.look !== "handDrawn" && y.selectChildren("path").attr("style", f), i && e.look !== "handDrawn" && y.selectChildren("path").attr("style", i), yt(e, y), e.intersect = function(x) {
73069
+ return y.attr("class", "basic label-container outer-path"), f && e.look !== "handDrawn" && y.selectChildren("path").attr("style", f), i && e.look !== "handDrawn" && y.selectChildren("path").attr("style", i), xt(e, y), e.intersect = function(x) {
73070
73070
  return st.polygon(e, g, x);
73071
73071
  }, n;
73072
73072
  }
@@ -73091,7 +73091,7 @@ async function dee(t, e) {
73091
73091
  return v.attr("class", "basic label-container").attr("style", xa(f)), i && e.look !== "handDrawn" && v.selectAll("path").attr("style", i), f && e.look !== "handDrawn" && v.selectAll("path").attr("style", i), s.attr(
73092
73092
  "transform",
73093
73093
  `translate(${-l / 2 + 4 + (e.padding ?? 0) - (a.x - (a.left ?? 0))},${-c / 2 + (e.padding ?? 0) - (a.y - (a.top ?? 0))})`
73094
- ), yt(e, v), e.intersect = function(y) {
73094
+ ), xt(e, v), e.intersect = function(y) {
73095
73095
  return st.rect(e, y);
73096
73096
  }, n;
73097
73097
  }
@@ -73110,7 +73110,7 @@ async function pee(t, e) {
73110
73110
  return v.attr("class", "basic label-container"), u && e.look !== "handDrawn" && v.selectChildren("path").attr("style", u), i && e.look !== "handDrawn" && v.selectChildren("path").attr("style", i), v.attr("transform", `translate(0, ${l / 4})`), s.attr(
73111
73111
  "transform",
73112
73112
  `translate(${-o / 2 + (e.padding ?? 0) - (a.x - (a.left ?? 0))}, ${-l / 4 + (e.padding ?? 0) - (a.y - (a.top ?? 0))})`
73113
- ), yt(e, v), e.intersect = function(y) {
73113
+ ), xt(e, v), e.intersect = function(y) {
73114
73114
  return st.polygon(e, p, y);
73115
73115
  }, n;
73116
73116
  }
@@ -73137,7 +73137,7 @@ async function mee(t, e) {
73137
73137
  { x: o / 2 - l, y: s / 2 },
73138
73138
  ...Ax(o / 2 - l, 0, l, 50, 270, 450)
73139
73139
  ], d = xr(f), p = h.path(d, u), g = n.insert(() => p, ":first-child");
73140
- return g.attr("class", "basic label-container outer-path"), c && e.look !== "handDrawn" && g.selectChildren("path").attr("style", c), i && e.look !== "handDrawn" && g.selectChildren("path").attr("style", i), yt(e, g), e.intersect = function(m) {
73140
+ return g.attr("class", "basic label-container outer-path"), c && e.look !== "handDrawn" && g.selectChildren("path").attr("style", c), i && e.look !== "handDrawn" && g.selectChildren("path").attr("style", i), xt(e, g), e.intersect = function(m) {
73141
73141
  return st.polygon(e, f, m);
73142
73142
  }, n;
73143
73143
  }
@@ -73165,7 +73165,7 @@ function yee(t, e, { config: { themeVariables: r } }) {
73165
73165
  strokeWidth: 2,
73166
73166
  fillStyle: "solid"
73167
73167
  }), g = c.insert(() => f, ":first-child");
73168
- return g.insert(() => p), a && g.selectAll("path").attr("style", a), n && g.selectAll("path").attr("style", n), yt(e, g), e.intersect = function(m) {
73168
+ return g.insert(() => p), a && g.selectAll("path").attr("style", a), n && g.selectAll("path").attr("style", n), xt(e, g), e.intersect = function(m) {
73169
73169
  return st.circle(e, 7, m);
73170
73170
  }, c;
73171
73171
  }
@@ -73178,7 +73178,7 @@ function xee(t, e, { config: { themeVariables: r } }) {
73178
73178
  a = n.insert(() => o), a.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
73179
73179
  } else
73180
73180
  a = n.insert("circle", ":first-child"), a.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
73181
- return yt(e, a), e.intersect = function(s) {
73181
+ return xt(e, a), e.intersect = function(s) {
73182
73182
  return st.circle(e, 7, s);
73183
73183
  }, n;
73184
73184
  }
@@ -73202,10 +73202,10 @@ async function bee(t, e) {
73202
73202
  const f = pt.svg(n), d = gt(e, {}), p = f.rectangle(c - 8, h, o + 16, l, d), g = f.line(c, h, c, h + l, d), m = f.line(c + o, h, c + o, h + l, d);
73203
73203
  n.insert(() => g, ":first-child"), n.insert(() => m, ":first-child");
73204
73204
  const v = n.insert(() => p, ":first-child"), { cssStyles: y } = e;
73205
- v.attr("class", "basic label-container").attr("style", xa(y)), yt(e, v);
73205
+ v.attr("class", "basic label-container").attr("style", xa(y)), xt(e, v);
73206
73206
  } else {
73207
73207
  const f = wf(n, o, l, u);
73208
- i && f.attr("style", i), yt(e, f);
73208
+ i && f.attr("style", i), xt(e, f);
73209
73209
  }
73210
73210
  return e.intersect = function(f) {
73211
73211
  return st.polygon(e, u, f);
@@ -73227,7 +73227,7 @@ async function wee(t, e) {
73227
73227
  ];
73228
73228
  e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
73229
73229
  const v = xr(g), y = d.path(v, p), x = xr(m), b = d.path(x, { ...p, fillStyle: "solid" }), w = n.insert(() => b, ":first-child");
73230
- return w.insert(() => y, ":first-child"), w.attr("class", "basic label-container"), f && e.look !== "handDrawn" && w.selectAll("path").attr("style", f), i && e.look !== "handDrawn" && w.selectAll("path").attr("style", i), yt(e, w), e.intersect = function(_) {
73230
+ return w.insert(() => y, ":first-child"), w.attr("class", "basic label-container"), f && e.look !== "handDrawn" && w.selectAll("path").attr("style", f), i && e.look !== "handDrawn" && w.selectAll("path").attr("style", i), xt(e, w), e.intersect = function(_) {
73231
73231
  return st.polygon(e, g, _);
73232
73232
  }, n;
73233
73233
  }
@@ -73268,7 +73268,7 @@ async function _ee(t, e) {
73268
73268
  return C.insert(() => w, ":first-child"), C.attr("class", "basic label-container"), d && e.look !== "handDrawn" && C.selectAll("path").attr("style", d), i && e.look !== "handDrawn" && C.selectAll("path").attr("style", i), C.attr("transform", `translate(0,${-c / 2})`), s.attr(
73269
73269
  "transform",
73270
73270
  `translate(${-o / 2 + (e.padding ?? 0) - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) - c / 2 - (a.y - (a.top ?? 0))})`
73271
- ), yt(e, C), e.intersect = function(A) {
73271
+ ), xt(e, C), e.intersect = function(A) {
73272
73272
  return st.polygon(e, m, A);
73273
73273
  }, n;
73274
73274
  }
@@ -73277,7 +73277,7 @@ async function See(t, e) {
73277
73277
  const { labelStyles: r, nodeStyles: i } = mt(e);
73278
73278
  e.labelStyle = r;
73279
73279
  const { shapeSvg: n, bbox: a } = await Ot(t, e, Rt(e)), s = Math.max(a.width + e.padding, e?.width || 0), o = Math.max(a.height + e.padding, e?.height || 0), l = -s / 2, c = -o / 2, h = n.insert("rect", ":first-child");
73280
- return h.attr("class", "text").attr("style", i).attr("rx", 0).attr("ry", 0).attr("x", l).attr("y", c).attr("width", s).attr("height", o), yt(e, h), e.intersect = function(u) {
73280
+ return h.attr("class", "text").attr("style", i).attr("rx", 0).attr("ry", 0).attr("x", l).attr("y", c).attr("width", s).attr("height", o), xt(e, h), e.intersect = function(u) {
73281
73281
  return st.rect(e, u);
73282
73282
  }, n;
73283
73283
  }
@@ -73315,7 +73315,7 @@ async function Cee(t, e) {
73315
73315
  return p.attr("label-offset-x", u), p.attr("transform", `translate(${-f / 2}, ${c / 2} )`), s.attr(
73316
73316
  "transform",
73317
73317
  `translate(${-(a.width / 2) - u - (a.x - (a.left ?? 0))}, ${-(a.height / 2) - (a.y - (a.top ?? 0))})`
73318
- ), yt(e, p), e.intersect = function(g) {
73318
+ ), xt(e, p), e.intersect = function(g) {
73319
73319
  const m = st.rect(e, g), v = m.y - (e.y ?? 0);
73320
73320
  if (h != 0 && (Math.abs(v) < (e.height ?? 0) / 2 || Math.abs(v) == (e.height ?? 0) / 2 && Math.abs(m.x - (e.x ?? 0)) > (e.width ?? 0) / 2 - u)) {
73321
73321
  let y = u * u * (1 - v * v / (h * h));
@@ -73341,7 +73341,7 @@ async function Aee(t, e) {
73341
73341
  c = n.insert(() => p, ":first-child").attr("transform", `translate(${-s / 2}, ${o / 2})`), h && c.attr("style", h);
73342
73342
  } else
73343
73343
  c = wf(n, s, o, l);
73344
- return i && c.attr("style", i), e.width = s, e.height = o, yt(e, c), e.intersect = function(u) {
73344
+ return i && c.attr("style", i), e.width = s, e.height = o, xt(e, c), e.intersect = function(u) {
73345
73345
  return st.polygon(e, l, u);
73346
73346
  }, n;
73347
73347
  }
@@ -73359,7 +73359,7 @@ async function Tee(t, e) {
73359
73359
  { x: -l / 2, y: c / 2 },
73360
73360
  { x: -l / 2, y: -c / 2 * 0.6 }
73361
73361
  ], p = xr(d), g = u.path(p, f), m = n.insert(() => g, ":first-child");
73362
- return m.attr("class", "basic label-container"), h && e.look !== "handDrawn" && m.selectChildren("path").attr("style", h), i && e.look !== "handDrawn" && m.selectChildren("path").attr("style", i), yt(e, m), e.intersect = function(v) {
73362
+ return m.attr("class", "basic label-container"), h && e.look !== "handDrawn" && m.selectChildren("path").attr("style", h), i && e.look !== "handDrawn" && m.selectChildren("path").attr("style", i), xt(e, m), e.intersect = function(v) {
73363
73363
  return st.polygon(e, d, v);
73364
73364
  }, n;
73365
73365
  }
@@ -73374,7 +73374,7 @@ async function kee(t, e) {
73374
73374
  ], { cssStyles: f } = e, d = pt.svg(n), p = gt(e, {});
73375
73375
  e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
73376
73376
  const g = xr(u), m = d.path(g, p), v = n.insert(() => m, ":first-child").attr("transform", `translate(${-c / 2}, ${c / 2})`);
73377
- return f && e.look !== "handDrawn" && v.selectChildren("path").attr("style", f), i && e.look !== "handDrawn" && v.selectChildren("path").attr("style", i), e.width = l, e.height = c, yt(e, v), s.attr(
73377
+ return f && e.look !== "handDrawn" && v.selectChildren("path").attr("style", f), i && e.look !== "handDrawn" && v.selectChildren("path").attr("style", i), e.width = l, e.height = c, xt(e, v), s.attr(
73378
73378
  "transform",
73379
73379
  `translate(${-a.width / 2 - (a.x - (a.left ?? 0))}, ${c / 2 - (a.height + (e.padding ?? 0) / (o ? 2 : 1) - (a.y - (a.top ?? 0)))})`
73380
73380
  ), e.intersect = function(y) {
@@ -73403,7 +73403,7 @@ async function Eee(t, e) {
73403
73403
  return b.attr("class", "basic label-container"), u && e.look !== "handDrawn" && b.selectAll("path").attr("style", u), i && e.look !== "handDrawn" && b.selectAll("path").attr("style", i), b.attr("transform", `translate(0,${-c / 2})`), s.attr(
73404
73404
  "transform",
73405
73405
  `translate(${-o / 2 + (e.padding ?? 0) - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) - c - (a.y - (a.top ?? 0))})`
73406
- ), yt(e, b), e.intersect = function(w) {
73406
+ ), xt(e, b), e.intersect = function(w) {
73407
73407
  return st.polygon(e, v, w);
73408
73408
  }, n;
73409
73409
  }
@@ -73422,7 +73422,7 @@ async function Iee(t, e) {
73422
73422
  { x: u / 2, y: -p / 2 },
73423
73423
  ...lf(u / 2, -p / 2, -u / 2, -p / 2, d, -1)
73424
73424
  ], x = xr(y), b = m.path(x, v), w = n.insert(() => b, ":first-child");
73425
- return w.attr("class", "basic label-container"), g && e.look !== "handDrawn" && w.selectAll("path").attr("style", g), i && e.look !== "handDrawn" && w.selectAll("path").attr("style", i), yt(e, w), e.intersect = function(_) {
73425
+ return w.attr("class", "basic label-container"), g && e.look !== "handDrawn" && w.selectAll("path").attr("style", g), i && e.look !== "handDrawn" && w.selectAll("path").attr("style", i), xt(e, w), e.intersect = function(_) {
73426
73426
  return st.polygon(e, y, _);
73427
73427
  }, n;
73428
73428
  }
@@ -73443,7 +73443,7 @@ async function Dee(t, e) {
73443
73443
  return y.attr("transform", `translate(${c / 2}, ${c / 2})`), y.attr("class", "basic label-container"), f && e.look !== "handDrawn" && y.selectAll("path").attr("style", f), i && e.look !== "handDrawn" && y.selectAll("path").attr("style", i), s.attr(
73444
73444
  "transform",
73445
73445
  `translate(${-(a.width / 2) + c / 2 - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c / 2 - (a.y - (a.top ?? 0))})`
73446
- ), yt(e, y), e.intersect = function(x) {
73446
+ ), xt(e, y), e.intersect = function(x) {
73447
73447
  return st.polygon(e, g, x);
73448
73448
  }, n;
73449
73449
  }
@@ -73586,7 +73586,7 @@ async function eM(t, e) {
73586
73586
  u.height + M + F,
73587
73587
  A
73588
73588
  ), h.insert(() => P).attr("class", "divider");
73589
- if (yt(e, D), l && e.look !== "handDrawn") {
73589
+ if (xt(e, D), l && e.look !== "handDrawn") {
73590
73590
  const z = l.split(";")?.filter((H) => H.includes("stroke"))?.map((H) => `${H}`).join("; ");
73591
73591
  h.selectAll("path").attr("style", z ?? ""), h.selectAll(".row-rect-even path").attr("style", l);
73592
73592
  }
@@ -73778,7 +73778,7 @@ async function Lee(t, e) {
73778
73778
  }
73779
73779
  }
73780
73780
  }
73781
- return yt(e, b), e.intersect = function(A) {
73781
+ return xt(e, b), e.intersect = function(A) {
73782
73782
  return st.rect(e, A);
73783
73783
  }, o;
73784
73784
  }
@@ -73865,7 +73865,7 @@ async function Pee(t, e) {
73865
73865
  );
73866
73866
  h.insert(() => _).attr("style", i);
73867
73867
  }
73868
- return yt(e, w), e.intersect = function(_) {
73868
+ return xt(e, w), e.intersect = function(_) {
73869
73869
  return st.rect(e, _);
73870
73870
  }, h;
73871
73871
  }
@@ -73973,7 +73973,7 @@ async function Ree(t, e, { config: r }) {
73973
73973
  I.attr("x1", M).attr("y1", L).attr("x2", M).attr("y2", D).attr("stroke-width", "4").attr("stroke", ake(E));
73974
73974
  }
73975
73975
  }
73976
- return yt(e, C), e.height = w, e.intersect = function(E) {
73976
+ return xt(e, C), e.height = w, e.intersect = function(E) {
73977
73977
  return st.rect(e, E);
73978
73978
  }, o;
73979
73979
  }
@@ -74012,7 +74012,7 @@ async function Nee(t, e) {
74012
74012
  m = n.insert(() => b, ":first-child"), m.attr("class", "basic label-container").attr("style", xa(u));
74013
74013
  } else
74014
74014
  m = n.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", v);
74015
- return m.attr("transform", `translate(${-p / 2}, ${-g / 2})`), yt(e, m), e.calcIntersect = function(y, x) {
74015
+ return m.attr("transform", `translate(${-p / 2}, ${-g / 2})`), xt(e, m), e.calcIntersect = function(y, x) {
74016
74016
  return st.rect(y, x);
74017
74017
  }, e.intersect = function(y) {
74018
74018
  return Ee.info("Bang intersect", e, y), st.rect(e, y);
@@ -74048,7 +74048,7 @@ async function Oee(t, e) {
74048
74048
  g = n.insert(() => x, ":first-child"), g.attr("class", "basic label-container").attr("style", xa(p));
74049
74049
  } else
74050
74050
  g = n.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", m);
74051
- return o.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), g.attr("transform", `translate(${-l / 2}, ${-c / 2})`), yt(e, g), e.calcIntersect = function(v, y) {
74051
+ return o.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), g.attr("transform", `translate(${-l / 2}, ${-c / 2})`), xt(e, g), e.calcIntersect = function(v, y) {
74052
74052
  return st.rect(v, y);
74053
74053
  }, e.intersect = function(v) {
74054
74054
  return Ee.info("Cloud intersect", e, v), st.rect(e, v);
@@ -74074,7 +74074,7 @@ async function Bee(t, e) {
74074
74074
  q-${h},0 -${h},-${h}
74075
74075
  Z
74076
74076
  `, f = n.append("path").attr("id", "node-" + e.id).attr("class", "node-bkg node-" + e.type).attr("style", i).attr("d", u);
74077
- return n.append("line").attr("class", "node-line-").attr("x1", -l / 2).attr("y1", c / 2).attr("x2", l / 2).attr("y2", c / 2), o.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), n.append(() => o.node()), yt(e, f), e.calcIntersect = function(d, p) {
74077
+ return n.append("line").attr("class", "node-line-").attr("x1", -l / 2).attr("y1", c / 2).attr("x2", l / 2).attr("y2", c / 2), o.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), n.append(() => o.node()), xt(e, f), e.calcIntersect = function(d, p) {
74078
74078
  return st.rect(d, p);
74079
74079
  }, e.intersect = function(d) {
74080
74080
  return st.rect(e, d);
@@ -75054,11 +75054,11 @@ var yke = /* @__PURE__ */ B((t, e, r, i) => {
75054
75054
  jee([
75055
75055
  {
75056
75056
  name: "dagre",
75057
- loader: /* @__PURE__ */ B(async () => await import("./dagre-6UL2VRFP-CV4qUFJw.js"), "loader")
75057
+ loader: /* @__PURE__ */ B(async () => await import("./dagre-6UL2VRFP-4o7zvUX-.js"), "loader")
75058
75058
  },
75059
75059
  {
75060
75060
  name: "cose-bilkent",
75061
- loader: /* @__PURE__ */ B(async () => await import("./cose-bilkent-S5V4N54A-D775O1gT.js"), "loader")
75061
+ loader: /* @__PURE__ */ B(async () => await import("./cose-bilkent-S5V4N54A-Bw5yRSPB.js"), "loader")
75062
75062
  }
75063
75063
  ]);
75064
75064
  }, "registerDefaultLayoutLoaders");
@@ -75405,119 +75405,119 @@ function wF(t) {
75405
75405
  return !0;
75406
75406
  }
75407
75407
  var Zee = "c4", gEe = /* @__PURE__ */ B((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), mEe = /* @__PURE__ */ B(async () => {
75408
- const { diagram: t } = await import("./c4Diagram-YG6GDRKO-Bx2foXWD.js");
75408
+ const { diagram: t } = await import("./c4Diagram-YG6GDRKO-BWjvufQO.js");
75409
75409
  return { id: Zee, diagram: t };
75410
75410
  }, "loader"), vEe = {
75411
75411
  id: Zee,
75412
75412
  detector: gEe,
75413
75413
  loader: mEe
75414
75414
  }, yEe = vEe, Jee = "flowchart", xEe = /* @__PURE__ */ B((t, e) => e?.flowchart?.defaultRenderer === "dagre-wrapper" || e?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(t), "detector"), bEe = /* @__PURE__ */ B(async () => {
75415
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-7TbJAxVy.js");
75415
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-B7CP3s6G.js");
75416
75416
  return { id: Jee, diagram: t };
75417
75417
  }, "loader"), wEe = {
75418
75418
  id: Jee,
75419
75419
  detector: xEe,
75420
75420
  loader: bEe
75421
75421
  }, _Ee = wEe, Qee = "flowchart-v2", SEe = /* @__PURE__ */ B((t, e) => e?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (e?.flowchart?.defaultRenderer === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && e?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t)), "detector"), CEe = /* @__PURE__ */ B(async () => {
75422
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-7TbJAxVy.js");
75422
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-B7CP3s6G.js");
75423
75423
  return { id: Qee, diagram: t };
75424
75424
  }, "loader"), AEe = {
75425
75425
  id: Qee,
75426
75426
  detector: SEe,
75427
75427
  loader: CEe
75428
75428
  }, TEe = AEe, ete = "er", kEe = /* @__PURE__ */ B((t) => /^\s*erDiagram/.test(t), "detector"), EEe = /* @__PURE__ */ B(async () => {
75429
- const { diagram: t } = await import("./erDiagram-Q2GNP2WA-Dl_VmHVZ.js");
75429
+ const { diagram: t } = await import("./erDiagram-Q2GNP2WA-BtsIerlA.js");
75430
75430
  return { id: ete, diagram: t };
75431
75431
  }, "loader"), IEe = {
75432
75432
  id: ete,
75433
75433
  detector: kEe,
75434
75434
  loader: EEe
75435
75435
  }, DEe = IEe, tte = "gitGraph", MEe = /* @__PURE__ */ B((t) => /^\s*gitGraph/.test(t), "detector"), LEe = /* @__PURE__ */ B(async () => {
75436
- const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-ECgi-RlL.js");
75436
+ const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-2F3fYBXc.js");
75437
75437
  return { id: tte, diagram: t };
75438
75438
  }, "loader"), PEe = {
75439
75439
  id: tte,
75440
75440
  detector: MEe,
75441
75441
  loader: LEe
75442
75442
  }, REe = PEe, rte = "gantt", NEe = /* @__PURE__ */ B((t) => /^\s*gantt/.test(t), "detector"), OEe = /* @__PURE__ */ B(async () => {
75443
- const { diagram: t } = await import("./ganttDiagram-LVOFAZNH-KPuRI0ld.js");
75443
+ const { diagram: t } = await import("./ganttDiagram-LVOFAZNH-Ck9CDSmA.js");
75444
75444
  return { id: rte, diagram: t };
75445
75445
  }, "loader"), BEe = {
75446
75446
  id: rte,
75447
75447
  detector: NEe,
75448
75448
  loader: OEe
75449
75449
  }, FEe = BEe, ite = "info", $Ee = /* @__PURE__ */ B((t) => /^\s*info/.test(t), "detector"), zEe = /* @__PURE__ */ B(async () => {
75450
- const { diagram: t } = await import("./infoDiagram-F6ZHWCRC-CcqVVltf.js");
75450
+ const { diagram: t } = await import("./infoDiagram-F6ZHWCRC-DpsXsk1t.js");
75451
75451
  return { id: ite, diagram: t };
75452
75452
  }, "loader"), VEe = {
75453
75453
  id: ite,
75454
75454
  detector: $Ee,
75455
75455
  loader: zEe
75456
75456
  }, nte = "pie", UEe = /* @__PURE__ */ B((t) => /^\s*pie/.test(t), "detector"), HEe = /* @__PURE__ */ B(async () => {
75457
- const { diagram: t } = await import("./pieDiagram-ADFJNKIX-CHZYQt8o.js");
75457
+ const { diagram: t } = await import("./pieDiagram-ADFJNKIX-DOMA5vuc.js");
75458
75458
  return { id: nte, diagram: t };
75459
75459
  }, "loader"), jEe = {
75460
75460
  id: nte,
75461
75461
  detector: UEe,
75462
75462
  loader: HEe
75463
75463
  }, ate = "quadrantChart", GEe = /* @__PURE__ */ B((t) => /^\s*quadrantChart/.test(t), "detector"), WEe = /* @__PURE__ */ B(async () => {
75464
- const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-BQSyRvZF.js");
75464
+ const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-BY13H0hA.js");
75465
75465
  return { id: ate, diagram: t };
75466
75466
  }, "loader"), qEe = {
75467
75467
  id: ate,
75468
75468
  detector: GEe,
75469
75469
  loader: WEe
75470
75470
  }, XEe = qEe, ste = "xychart", YEe = /* @__PURE__ */ B((t) => /^\s*xychart(-beta)?/.test(t), "detector"), KEe = /* @__PURE__ */ B(async () => {
75471
- const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-BKEJeylJ.js");
75471
+ const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-B_IIqKEo.js");
75472
75472
  return { id: ste, diagram: t };
75473
75473
  }, "loader"), ZEe = {
75474
75474
  id: ste,
75475
75475
  detector: YEe,
75476
75476
  loader: KEe
75477
75477
  }, JEe = ZEe, ote = "requirement", QEe = /* @__PURE__ */ B((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), eIe = /* @__PURE__ */ B(async () => {
75478
- const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-Ctxm0mOO.js");
75478
+ const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-DlN759J2.js");
75479
75479
  return { id: ote, diagram: t };
75480
75480
  }, "loader"), tIe = {
75481
75481
  id: ote,
75482
75482
  detector: QEe,
75483
75483
  loader: eIe
75484
75484
  }, rIe = tIe, lte = "sequence", iIe = /* @__PURE__ */ B((t) => /^\s*sequenceDiagram/.test(t), "detector"), nIe = /* @__PURE__ */ B(async () => {
75485
- const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-KRliIOx2.js");
75485
+ const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-yiuqHl5N.js");
75486
75486
  return { id: lte, diagram: t };
75487
75487
  }, "loader"), aIe = {
75488
75488
  id: lte,
75489
75489
  detector: iIe,
75490
75490
  loader: nIe
75491
75491
  }, sIe = aIe, cte = "class", oIe = /* @__PURE__ */ B((t, e) => e?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t), "detector"), lIe = /* @__PURE__ */ B(async () => {
75492
- const { diagram: t } = await import("./classDiagram-2ON5EDUG-ikFRIqAC.js");
75492
+ const { diagram: t } = await import("./classDiagram-2ON5EDUG-g7wisYdw.js");
75493
75493
  return { id: cte, diagram: t };
75494
75494
  }, "loader"), cIe = {
75495
75495
  id: cte,
75496
75496
  detector: oIe,
75497
75497
  loader: lIe
75498
75498
  }, hIe = cIe, hte = "classDiagram", uIe = /* @__PURE__ */ B((t, e) => /^\s*classDiagram/.test(t) && e?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t), "detector"), fIe = /* @__PURE__ */ B(async () => {
75499
- const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-ikFRIqAC.js");
75499
+ const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-g7wisYdw.js");
75500
75500
  return { id: hte, diagram: t };
75501
75501
  }, "loader"), dIe = {
75502
75502
  id: hte,
75503
75503
  detector: uIe,
75504
75504
  loader: fIe
75505
75505
  }, pIe = dIe, ute = "state", gIe = /* @__PURE__ */ B((t, e) => e?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t), "detector"), mIe = /* @__PURE__ */ B(async () => {
75506
- const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-DNOxda4U.js");
75506
+ const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-B2g0zliw.js");
75507
75507
  return { id: ute, diagram: t };
75508
75508
  }, "loader"), vIe = {
75509
75509
  id: ute,
75510
75510
  detector: gIe,
75511
75511
  loader: mIe
75512
75512
  }, yIe = vIe, fte = "stateDiagram", xIe = /* @__PURE__ */ B((t, e) => !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && e?.state?.defaultRenderer === "dagre-wrapper"), "detector"), bIe = /* @__PURE__ */ B(async () => {
75513
- const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-B9RRFBOb.js");
75513
+ const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-CJ7GJ1IM.js");
75514
75514
  return { id: fte, diagram: t };
75515
75515
  }, "loader"), wIe = {
75516
75516
  id: fte,
75517
75517
  detector: xIe,
75518
75518
  loader: bIe
75519
75519
  }, _Ie = wIe, dte = "journey", SIe = /* @__PURE__ */ B((t) => /^\s*journey/.test(t), "detector"), CIe = /* @__PURE__ */ B(async () => {
75520
- const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-BbuVKu1o.js");
75520
+ const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-Ph-9sk5D.js");
75521
75521
  return { id: dte, diagram: t };
75522
75522
  }, "loader"), AIe = {
75523
75523
  id: dte,
@@ -75558,70 +75558,70 @@ var Zee = "c4", gEe = /* @__PURE__ */ B((t) => /^\s*C4Context|C4Container|C4Comp
75558
75558
  /^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
75559
75559
  /^\s*(flowchart|graph)/.test(t) && e?.flowchart?.defaultRenderer === "elk" ? (e.layout = "elk", !0) : !1
75560
75560
  ), "detector"), LIe = /* @__PURE__ */ B(async () => {
75561
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-7TbJAxVy.js");
75561
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-B7CP3s6G.js");
75562
75562
  return { id: gte, diagram: t };
75563
75563
  }, "loader"), PIe = {
75564
75564
  id: gte,
75565
75565
  detector: MIe,
75566
75566
  loader: LIe
75567
75567
  }, RIe = PIe, mte = "timeline", NIe = /* @__PURE__ */ B((t) => /^\s*timeline/.test(t), "detector"), OIe = /* @__PURE__ */ B(async () => {
75568
- const { diagram: t } = await import("./timeline-definition-IT6M3QCI-DoGCHbh5.js");
75568
+ const { diagram: t } = await import("./timeline-definition-IT6M3QCI-rd-dJz2B.js");
75569
75569
  return { id: mte, diagram: t };
75570
75570
  }, "loader"), BIe = {
75571
75571
  id: mte,
75572
75572
  detector: NIe,
75573
75573
  loader: OIe
75574
75574
  }, FIe = BIe, vte = "mindmap", $Ie = /* @__PURE__ */ B((t) => /^\s*mindmap/.test(t), "detector"), zIe = /* @__PURE__ */ B(async () => {
75575
- const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-CNZMSPzg.js");
75575
+ const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-DinZJDoT.js");
75576
75576
  return { id: vte, diagram: t };
75577
75577
  }, "loader"), VIe = {
75578
75578
  id: vte,
75579
75579
  detector: $Ie,
75580
75580
  loader: zIe
75581
75581
  }, UIe = VIe, yte = "kanban", HIe = /* @__PURE__ */ B((t) => /^\s*kanban/.test(t), "detector"), jIe = /* @__PURE__ */ B(async () => {
75582
- const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-NVWwA-L_.js");
75582
+ const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-BNEz5Wp0.js");
75583
75583
  return { id: yte, diagram: t };
75584
75584
  }, "loader"), GIe = {
75585
75585
  id: yte,
75586
75586
  detector: HIe,
75587
75587
  loader: jIe
75588
75588
  }, WIe = GIe, xte = "sankey", qIe = /* @__PURE__ */ B((t) => /^\s*sankey(-beta)?/.test(t), "detector"), XIe = /* @__PURE__ */ B(async () => {
75589
- const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-BAVly5aw.js");
75589
+ const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-CNHScftI.js");
75590
75590
  return { id: xte, diagram: t };
75591
75591
  }, "loader"), YIe = {
75592
75592
  id: xte,
75593
75593
  detector: qIe,
75594
75594
  loader: XIe
75595
75595
  }, KIe = YIe, bte = "packet", ZIe = /* @__PURE__ */ B((t) => /^\s*packet(-beta)?/.test(t), "detector"), JIe = /* @__PURE__ */ B(async () => {
75596
- const { diagram: t } = await import("./diagram-S2PKOQOG-FzeZLAHc.js");
75596
+ const { diagram: t } = await import("./diagram-S2PKOQOG-BnNJZMgf.js");
75597
75597
  return { id: bte, diagram: t };
75598
75598
  }, "loader"), QIe = {
75599
75599
  id: bte,
75600
75600
  detector: ZIe,
75601
75601
  loader: JIe
75602
75602
  }, wte = "radar", eDe = /* @__PURE__ */ B((t) => /^\s*radar-beta/.test(t), "detector"), tDe = /* @__PURE__ */ B(async () => {
75603
- const { diagram: t } = await import("./diagram-QEK2KX5R-_sva80zA.js");
75603
+ const { diagram: t } = await import("./diagram-QEK2KX5R-6prx4MnQ.js");
75604
75604
  return { id: wte, diagram: t };
75605
75605
  }, "loader"), rDe = {
75606
75606
  id: wte,
75607
75607
  detector: eDe,
75608
75608
  loader: tDe
75609
75609
  }, _te = "block", iDe = /* @__PURE__ */ B((t) => /^\s*block(-beta)?/.test(t), "detector"), nDe = /* @__PURE__ */ B(async () => {
75610
- const { diagram: t } = await import("./blockDiagram-VD42YOAC-BgoWSyNH.js");
75610
+ const { diagram: t } = await import("./blockDiagram-VD42YOAC-DfgrH6Rr.js");
75611
75611
  return { id: _te, diagram: t };
75612
75612
  }, "loader"), aDe = {
75613
75613
  id: _te,
75614
75614
  detector: iDe,
75615
75615
  loader: nDe
75616
75616
  }, sDe = aDe, Ste = "architecture", oDe = /* @__PURE__ */ B((t) => /^\s*architecture/.test(t), "detector"), lDe = /* @__PURE__ */ B(async () => {
75617
- const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-4GrZzhr5.js");
75617
+ const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-MTpC82GO.js");
75618
75618
  return { id: Ste, diagram: t };
75619
75619
  }, "loader"), cDe = {
75620
75620
  id: Ste,
75621
75621
  detector: oDe,
75622
75622
  loader: lDe
75623
75623
  }, hDe = cDe, Cte = "treemap", uDe = /* @__PURE__ */ B((t) => /^\s*treemap/.test(t), "detector"), fDe = /* @__PURE__ */ B(async () => {
75624
- const { diagram: t } = await import("./diagram-PSM6KHXK-BT3QVBBt.js");
75624
+ const { diagram: t } = await import("./diagram-PSM6KHXK-DEoMGY58.js");
75625
75625
  return { id: Cte, diagram: t };
75626
75626
  }, "loader"), dDe = {
75627
75627
  id: Cte,
@@ -76126,7 +76126,7 @@ const prt = ({ data: t }) => {
76126
76126
  }
76127
76127
  return null;
76128
76128
  }, []);
76129
- xt(() => {
76129
+ yt(() => {
76130
76130
  (async () => {
76131
76131
  const o = t.children?.map(n).find((l) => l) ?? null;
76132
76132
  if (o)
@@ -89121,12 +89121,12 @@ function Em(t, e) {
89121
89121
  I += v[M], ++L, ++M, M === v.length && (M = 0);
89122
89122
  }
89123
89123
  function Y(K, q, X, J, te) {
89124
- var ae = n ? 1 : r, ye = Xi(te, K * ae, q * ae, X * ae, J * ae, s.color, s.symbolKeepAspect);
89124
+ var ae = n ? 1 : r, ve = Xi(te, K * ae, q * ae, X * ae, J * ae, s.color, s.symbolKeepAspect);
89125
89125
  if (n) {
89126
- var le = i.painter.renderOneToVNode(ye);
89126
+ var le = i.painter.renderOneToVNode(ve);
89127
89127
  le && _.children.push(le);
89128
89128
  } else
89129
- Mne(C, ye);
89129
+ Mne(C, ve);
89130
89130
  }
89131
89131
  }
89132
89132
  }
@@ -93605,10 +93605,10 @@ function dC(t, e, r, i) {
93605
93605
  for (var X = Y.getTracks(), J = Y.getMaxTime(), te = 0; te < X.length; te++) {
93606
93606
  var ae = X[te];
93607
93607
  if (ae.needsAnimate()) {
93608
- var ye = ae.keyframes, le = ae.propName;
93608
+ var ve = ae.keyframes, le = ae.propName;
93609
93609
  if (q && (le = q(le)), le)
93610
- for (var we = 0; we < ye.length; we++) {
93611
- var _e = ye[we], Oe = Math.round(_e.time / J * 100) + "%", Me = CV(_e.easing), Le = _e.rawValue;
93610
+ for (var we = 0; we < ve.length; we++) {
93611
+ var _e = ve[we], Oe = Math.round(_e.time / J * 100) + "%", Me = CV(_e.easing), Le = _e.rawValue;
93612
93612
  (Re(Le) || nr(Le)) && (K[Oe] = K[Oe] || {}, K[Oe][le] = _e.rawValue, Me && (K[Oe][C] = Me));
93613
93613
  }
93614
93614
  }
@@ -96761,19 +96761,19 @@ function vVe(t) {
96761
96761
  }
96762
96762
  W = Y ? "center" : L === "edge" ? F > 0 ? "right" : "left" : F > 0 ? "left" : "right";
96763
96763
  }
96764
- var ye = Math.PI, le = 0, we = E.get("rotate");
96764
+ var ve = Math.PI, le = 0, we = E.get("rotate");
96765
96765
  if (nr(we))
96766
- le = we * (ye / 180);
96766
+ le = we * (ve / 180);
96767
96767
  else if (I === "center")
96768
96768
  le = 0;
96769
96769
  else if (we === "radial" || we === !0) {
96770
- var _e = F < 0 ? -P + ye : -P;
96770
+ var _e = F < 0 ? -P + ve : -P;
96771
96771
  le = _e;
96772
96772
  } else if (we === "tangential" && I !== "outside" && I !== "outer") {
96773
96773
  var Oe = Math.atan2(F, z);
96774
- Oe < 0 && (Oe = ye * 2 + Oe);
96774
+ Oe < 0 && (Oe = ve * 2 + Oe);
96775
96775
  var Me = z > 0;
96776
- Me && (Oe = ye + Oe), le = Oe - ye;
96776
+ Me && (Oe = ve + Oe), le = Oe - ve;
96777
96777
  }
96778
96778
  if (a = !!le, A.x = H, A.y = G, A.rotation = le, A.setStyle({
96779
96779
  verticalAlign: "middle"
@@ -103144,8 +103144,8 @@ function fje(t, e, r, i, n, a, s, o, l, c) {
103144
103144
  K.invisible = !1;
103145
103145
  var J = s.getVisual("style"), te = J.stroke, ae = ZU(_);
103146
103146
  ae.fill = te;
103147
- var ye = yd(S);
103148
- ye.fill = S.get("borderColor");
103147
+ var ve = yd(S);
103148
+ ve.fill = S.get("borderColor");
103149
103149
  var le = yd(C);
103150
103150
  le.fill = C.get("borderColor");
103151
103151
  var we = yd(A);
@@ -103165,7 +103165,7 @@ function fje(t, e, r, i, n, a, s, o, l, c) {
103165
103165
  );
103166
103166
  } else
103167
103167
  K.removeTextContent();
103168
- K.setStyle(ae), K.ensureState("emphasis").style = ye, K.ensureState("blur").style = le, K.ensureState("select").style = we, D0(K);
103168
+ K.setStyle(ae), K.ensureState("emphasis").style = ve, K.ensureState("blur").style = le, K.ensureState("select").style = we, D0(K);
103169
103169
  }
103170
103170
  Y.add(K);
103171
103171
  }
@@ -103183,10 +103183,10 @@ function fje(t, e, r, i, n, a, s, o, l, c) {
103183
103183
  F(K);
103184
103184
  else {
103185
103185
  K.invisible = !1;
103186
- var te = s.getVisual("style"), ae = te.fill, ye = ZU(_);
103187
- ye.fill = ae, ye.decal = te.decal;
103186
+ var te = s.getVisual("style"), ae = te.fill, ve = ZU(_);
103187
+ ve.fill = ae, ve.decal = te.decal;
103188
103188
  var le = yd(S), we = yd(C), _e = yd(A);
103189
- z(K, ae, te.opacity, null), K.setStyle(ye), K.ensureState("emphasis").style = le, K.ensureState("blur").style = we, K.ensureState("select").style = _e, D0(K);
103189
+ z(K, ae, te.opacity, null), K.setStyle(ve), K.ensureState("emphasis").style = le, K.ensureState("blur").style = we, K.ensureState("select").style = _e, D0(K);
103190
103190
  }
103191
103191
  Y.add(K);
103192
103192
  }
@@ -103202,19 +103202,19 @@ function fje(t, e, r, i, n, a, s, o, l, c) {
103202
103202
  labelFetcher: t,
103203
103203
  labelDataIndex: s.dataIndex
103204
103204
  });
103205
- var ye = Y.getTextContent();
103206
- if (ye) {
103207
- var le = ye.style, we = O5(le.padding || 0);
103205
+ var ve = Y.getTextContent();
103206
+ if (ve) {
103207
+ var le = ve.style, we = O5(le.padding || 0);
103208
103208
  X && (Y.setTextConfig({
103209
103209
  layoutRect: X
103210
- }), ye.disableLabelLayout = !0), ye.beforeUpdate = function() {
103210
+ }), ve.disableLabelLayout = !0), ve.beforeUpdate = function() {
103211
103211
  var Oe = Math.max((X ? X.width : Y.shape.width) - we[1] - we[3], 0), Me = Math.max((X ? X.height : Y.shape.height) - we[0] - we[2], 0);
103212
- (le.width !== Oe || le.height !== Me) && ye.setStyle({
103212
+ (le.width !== Oe || le.height !== Me) && ve.setStyle({
103213
103213
  width: Oe,
103214
103214
  height: Me
103215
103215
  });
103216
103216
  }, le.truncateMinChar = 2, le.lineOverflow = "truncate", H(le, X, h);
103217
- var _e = ye.getState("emphasis");
103217
+ var _e = ve.getState("emphasis");
103218
103218
  H(_e ? _e.style : null, X, h);
103219
103219
  }
103220
103220
  }
@@ -103236,8 +103236,8 @@ function fje(t, e, r, i, n, a, s, o, l, c) {
103236
103236
  function W(Y, K) {
103237
103237
  var q = Y[v] = {}, X = s.parentNode, J = K instanceof Je;
103238
103238
  if (X && (!i || i.direction === "drillDown")) {
103239
- var te = 0, ae = 0, ye = n.background[X.getRawIndex()];
103240
- !i && ye && ye.oldShape && (te = ye.oldShape.width, ae = ye.oldShape.height), J ? (q.oldX = 0, q.oldY = ae) : q.oldShape = {
103239
+ var te = 0, ae = 0, ve = n.background[X.getRawIndex()];
103240
+ !i && ve && ve.oldShape && (te = ve.oldShape.width, ae = ve.oldShape.height), J ? (q.oldX = 0, q.oldY = ae) : q.oldShape = {
103241
103241
  x: te,
103242
103242
  y: ae,
103243
103243
  width: 0,
@@ -123527,13 +123527,13 @@ function Net(t, e, r, i, n) {
123527
123527
  fill: "none"
123528
123528
  }, D = I ? 0 : 1, N = 1 - D, R = i[vt[N]] + i[Wi[N]];
123529
123529
  function O(te) {
123530
- var ae = [], ye = [];
123531
- ae[D] = ye[D] = te, ae[N] = i[vt[N]], ye[N] = R;
123530
+ var ae = [], ve = [];
123531
+ ae[D] = ve[D] = te, ae[N] = i[vt[N]], ve[N] = R;
123532
123532
  var le = {
123533
123533
  x1: ae[0],
123534
123534
  y1: ae[1],
123535
- x2: ye[0],
123536
- y2: ye[1]
123535
+ x2: ve[0],
123536
+ y2: ve[1]
123537
123537
  };
123538
123538
  return K5(le, le, {
123539
123539
  lineWidth: 1
@@ -123800,7 +123800,7 @@ const mrt = ({ data: t }) => {
123800
123800
  },
123801
123801
  []
123802
123802
  );
123803
- return xt(() => {
123803
+ return yt(() => {
123804
123804
  const a = t?.children?.[0], s = a ? n(a) : null;
123805
123805
  if (!e.current) return;
123806
123806
  r.current && r.current.dispose(), r.current = cFe(e.current), s ? r.current.setOption(s) : e.current.innerHTML = '<pre style="color: orange">No valid ECharts option found in data.</pre>';
@@ -123863,7 +123863,9 @@ const mrt = ({ data: t }) => {
123863
123863
  const [n, a] = ze(r ?? !1), s = () => {
123864
123864
  a((o) => !o);
123865
123865
  };
123866
- return /* @__PURE__ */ U.jsx(
123866
+ return yt(() => {
123867
+ a(r);
123868
+ }, [r]), /* @__PURE__ */ U.jsx(
123867
123869
  VW.Provider,
123868
123870
  {
123869
123871
  value: {
@@ -124183,7 +124185,7 @@ function Jet(t = {}) {
124183
124185
  }
124184
124186
  s.current = null, l(!1);
124185
124187
  }, []);
124186
- return xt(() => () => {
124188
+ return yt(() => () => {
124187
124189
  const m = s.current;
124188
124190
  if (m)
124189
124191
  try {
@@ -124279,9 +124281,9 @@ const ett = (t) => {
124279
124281
  typingSpinner: Vn["smp-chat-typingSpinner"],
124280
124282
  wrapper: `${Vn["smp-chat-wrapper"]} ${Vn["smp-chat-wrapper-" + a]}`
124281
124283
  }, [x, b] = ze([]), [w, _] = ze(""), [S, C] = ze(!1), A = Lt(null), T = Lt(x), k = Lt(!1), E = Lt(f);
124282
- xt(() => {
124284
+ yt(() => {
124283
124285
  E.current = f;
124284
- }, [f]), xt(() => {
124286
+ }, [f]), yt(() => {
124285
124287
  if (E.current) {
124286
124288
  const O = E.current();
124287
124289
  if (O) {
@@ -124299,15 +124301,15 @@ const ett = (t) => {
124299
124301
  }
124300
124302
  }, []);
124301
124303
  const I = Lt(u);
124302
- xt(() => {
124304
+ yt(() => {
124303
124305
  I.current = u;
124304
- }, [u]), xt(() => () => {
124306
+ }, [u]), yt(() => () => {
124305
124307
  I.current && I.current(
124306
124308
  JSON.stringify(T.current)
124307
124309
  );
124308
- }, []), xt(() => {
124310
+ }, []), yt(() => {
124309
124311
  T.current = x;
124310
- }, [x]), xt(() => {
124312
+ }, [x]), yt(() => {
124311
124313
  if (k.current) {
124312
124314
  k.current = !1;
124313
124315
  return;
@@ -124316,7 +124318,7 @@ const ett = (t) => {
124316
124318
  const V = ett(i);
124317
124319
  return [...O, ...V];
124318
124320
  });
124319
- }, [i]), xt(() => {
124321
+ }, [i]), yt(() => {
124320
124322
  A.current && (A.current.scrollTop = A.current.scrollHeight);
124321
124323
  }, [x]);
124322
124324
  const M = jt(async () => {
@@ -124509,7 +124511,7 @@ const ett = (t) => {
124509
124511
  onAdvanceResearchLeafNodeClick: s
124510
124512
  }) => {
124511
124513
  const [o, l] = ze(e || ""), c = Lt(!0);
124512
- if (xt(() => {
124514
+ if (yt(() => {
124513
124515
  if (c.current) {
124514
124516
  c.current = !1;
124515
124517
  return;
@@ -124644,7 +124646,7 @@ export {
124644
124646
  crt as au,
124645
124647
  urt as av,
124646
124648
  ort as aw,
124647
- yt as ax,
124649
+ xt as ax,
124648
124650
  lrt as ay,
124649
124651
  vke as az,
124650
124652
  w9e as b,