vue-data-ui 3.25.5 → 3.25.7

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-UfoQuPMf.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-B-3S5q00.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-CAXK7ycr.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-DlWT702n.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-DbOk2kpM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-C7_mGIRk.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CDy_dkYz.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DP24leiD.js} +380 -380
  101. package/dist/vue-ui-candlestick-kJLmYaR7.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-BQzAQDw6.js} +2 -2
  103. package/dist/vue-ui-chestnut-DnnRp3Kl.js +2016 -0
  104. package/dist/vue-ui-chord-DO15ZDCS.js +1347 -0
  105. package/dist/vue-ui-circle-pack-DYTllMPV.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CtViSjNp.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-NXtGYzqg.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-D3_4QohV.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-CB09pLQx.js} +2 -2
  110. package/dist/vue-ui-donut-evolution-DhrtxvAd.js +1552 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-eysaEyTy.js} +2 -2
  112. package/dist/vue-ui-donut-yTE6D8yV.js +2415 -0
  113. package/dist/vue-ui-dumbbell-CmGIeULQ.js +1533 -0
  114. package/dist/vue-ui-flow-qYAq3Rmn.js +1217 -0
  115. package/dist/vue-ui-funnel-CLAii4wi.js +749 -0
  116. package/dist/vue-ui-galaxy-BVX-o2f-.js +1085 -0
  117. package/dist/vue-ui-gauge-D76-4Z_0.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-BQ7-UnuG.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-C47zjcs-.js} +2 -2
  120. package/dist/vue-ui-heatmap-XJef60IZ.js +1558 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-D5BYGPXB.js} +470 -470
  122. package/dist/vue-ui-history-plot-D-d-1ZiM.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-BgFHi6_7.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-Cb8QJeaj.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-BzwMl-in.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-BUR_YCcr.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-BEB4nfsD.js +1503 -0
  130. package/dist/vue-ui-onion-CG6myK7a.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-CSO4johj.js} +407 -407
  132. package/dist/vue-ui-quadrant-CKav0I6g.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BAQNS9_2.js} +4 -4
  134. package/dist/vue-ui-radar-ClPAgf5I.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-Da2MhrVe.js +905 -0
  137. package/dist/vue-ui-ridgeline-D7gFs8yR.js +1630 -0
  138. package/dist/vue-ui-rings-DkDJ0k5b.js +1252 -0
  139. package/dist/vue-ui-scatter-yv4JzJID.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-oFnh5zWs.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-IqZWPvSB.js +457 -0
  143. package/dist/vue-ui-sparkbar-_FW47iYj.js +401 -0
  144. package/dist/vue-ui-sparkgauge--2vk2Y23.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CFEIPa5n.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-Cs9CJR6W.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +738 -0
  148. package/dist/vue-ui-stackbar-C5ANS2hd.js +2355 -0
  149. package/dist/vue-ui-stackline-7yajJFW4.js +2469 -0
  150. package/dist/vue-ui-strip-plot-BT6Eqhup.js +1740 -0
  151. package/dist/vue-ui-table-CiccGbRB.js +1352 -0
  152. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  153. package/dist/vue-ui-table-sparkline-Bp7RiZh4.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-CawumQKP.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-CXinMW7q.js} +153 -153
  156. package/dist/vue-ui-tiremarks-BnI2uhki.js +540 -0
  157. package/dist/vue-ui-treemap-DTlFbfD6.js +1733 -0
  158. package/dist/vue-ui-waffle-CjgRkQAp.js +1621 -0
  159. package/dist/vue-ui-wheel-B02tiG0p.js +873 -0
  160. package/dist/vue-ui-word-cloud-BZnCOMHx.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-DO2VZ-T-.js} +524 -524
  162. package/dist/vue-ui-xy-BC9GVdWE.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-CD6BiP_g.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { C as t, It as n, Zt as r, q as i } from "./lib-Dql7cqyA.js";
3
3
  import { n as a, t as o } from "./useHints-Dq_w2E8B.js";
4
- import { t as s } from "./useConfig-C_mX5pOZ.js";
4
+ import { t as s } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as c } from "./usePrinter-DISD7q5m.js";
6
6
  import { t as l } from "./dom-to-png-C6cQJ5Hq.js";
7
7
  import { t as ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { t as u } from "./BaseIcon-t83PDe9k.js";
9
- import { t as te } from "./vue-ui-accordion-DRf3NQyH.js";
10
- import { t as ne } from "./ColorPicker-Bn3MY7eL.js";
8
+ import { t as u } from "./BaseIcon-D8R6_sKH.js";
9
+ import { t as te } from "./vue-ui-accordion-BSmBUjwZ.js";
10
+ import { t as ne } from "./ColorPicker-CUy15T72.js";
11
11
  import { Fragment as re, Teleport as ie, computed as ae, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as oe, guardReactiveProps as se, nextTick as ce, normalizeClass as g, normalizeProps as le, normalizeStyle as _, onBeforeUnmount as ue, onMounted as de, openBlock as v, ref as y, renderList as fe, renderSlot as b, toDisplayString as x, unref as pe, vModelCheckbox as me, vModelText as he, watch as ge, withCtx as S, withDirectives as _e, withModifiers as ve } from "vue";
12
12
  //#region src/registerAnnotatorShortcuts.js
13
13
  function ye(e) {
@@ -338,18 +338,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
338
338
  height: 12,
339
339
  width: 12
340
340
  }
341
- }), z = y(!1), Jt = y(1), Yt = y(void 0), Xt = y(1), Zt = y(1), B = y("start"), Qt = y(20), $t = y(100), en = n, V = y(null), tn = y(null), H = y(null), nn = y(null), rn = y(null), an = y(!1), on = y({
341
+ }), z = y(!1), Jt = y(1), Yt = y(void 0), Xt = y(1), Zt = y(1), B = y("start"), Qt = y(20), $t = y(100), en = n, tn = y(null), nn = y(null), V = y(null), rn = y(null), an = y(null), on = y(!1), sn = y({
342
342
  row: 0,
343
343
  col: 0
344
- }), U = y(null), W = y(!1), G = y(null), K = y({
344
+ }), H = y(null), U = y(!1), W = y(null), G = y({
345
345
  x: 0,
346
346
  y: 0
347
- }), sn = y(null), q = y([]), cn = y(!1), ln = y(null), un = y({
347
+ }), cn = y(null), ln = y([]), un = y(!1), dn = y(null), fn = y({
348
348
  undo: 0,
349
349
  redo: 0
350
- }), dn = y(null);
350
+ }), pn = y(null);
351
351
  y(null), y(null);
352
- let fn = y(null), J = ae(() => {
352
+ let mn = y(null), K = ae(() => {
353
353
  let e = s().vue_ui_annotator;
354
354
  if (!Object.keys(be.config || {}).length) return e;
355
355
  let n = r({
@@ -357,15 +357,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
357
357
  userConfig: be.config
358
358
  });
359
359
  return t(n);
360
- }), pn = y(J.value.style.paletteColor);
360
+ }), hn = y(K.value.style.paletteColor), q = ae(() => K.value.style.buttons), J = ae(() => K.value.style);
361
361
  a({
362
- config: () => J.value,
362
+ config: () => K.value,
363
363
  dataset: () => [],
364
364
  component: "VueUiAnnotator",
365
365
  rules: [o.noHint]
366
366
  });
367
- let Y = ae(() => J.value.useCursorPointer), X = ae(() => {
368
- let e = J.value.style.tooltips;
367
+ let Y = ae(() => K.value.useCursorPointer), X = ae(() => {
368
+ let e = J.value.tooltips;
369
369
  return {
370
370
  backgroundColor: e.backgroundColor,
371
371
  color: e.color,
@@ -373,7 +373,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
373
373
  borderRadius: `${e.borderRadius}px`,
374
374
  boxShadow: e.boxShadow
375
375
  };
376
- }), mn = ae(() => L.value.filter((e) => e.type !== "group" || Array.isArray(e.source) && e.source.length > 0).length > 1), hn = ae(() => en[$t.value > 98 ? 98 : $t.value]), gn = ae(() => {
376
+ }), gn = ae(() => L.value.filter((e) => e.type !== "group" || Array.isArray(e.source) && e.source.length > 0).length > 1), _n = ae(() => en[$t.value > 98 ? 98 : $t.value]), vn = ae(() => {
377
377
  switch (!0) {
378
378
  case D.value: return "default";
379
379
  case k.value: return "move";
@@ -381,11 +381,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
381
381
  case A.value: return "move";
382
382
  default: return "";
383
383
  }
384
- }), _n = ae(() => L.value), vn = y(null);
385
- function yn(e) {
384
+ }), yn = ae(() => L.value), bn = y(null);
385
+ function xn(e) {
386
386
  return e ? !!(F.value && F.value.id === e.id) : !1;
387
387
  }
388
- function bn(e = "") {
388
+ function Sn(e = "") {
389
389
  let t = String(e).trim().split(/\s+/).map(Number).filter(Number.isFinite), n = [];
390
390
  for (let e = 0; e + 1 < t.length; e += 2) n.push({
391
391
  x: t[e],
@@ -393,11 +393,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
393
393
  });
394
394
  return n;
395
395
  }
396
- function xn(e = []) {
396
+ function Cn(e = []) {
397
397
  return e.map(({ x: e, y: t }) => `${e} ${t}`).join(" ");
398
398
  }
399
- function Sn(e = "") {
400
- let t = bn(e);
399
+ function wn(e = "") {
400
+ let t = Sn(e);
401
401
  if (!t.length) return null;
402
402
  let n = t.map((e) => e.x), r = t.map((e) => e.y), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r);
403
403
  return {
@@ -409,9 +409,9 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
409
409
  height: Math.max(1, s - o)
410
410
  };
411
411
  }
412
- function Cn(e) {
412
+ function Tn(e) {
413
413
  if (!e || !M.value || !A.value || !F.value || F.value.id !== e.id) return "";
414
- let t = J.value.style.color || "grey", n = J.value.style.backgroundColor || "rgba(255,255,255,0.95)", r = ({ handle: r, x: i, y: a, cursor: o = "nwse-resize" }) => `
414
+ let t = J.value.color || "grey", n = J.value.backgroundColor || "rgba(255,255,255,0.95)", r = ({ handle: r, x: i, y: a, cursor: o = "nwse-resize" }) => `
415
415
  <circle
416
416
  data-dom-to-png-ignore
417
417
  id="${e.id}"
@@ -441,7 +441,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
441
441
  })}
442
442
  `;
443
443
  if (e.type === "line") {
444
- let t = Sn(e.path);
444
+ let t = wn(e.path);
445
445
  return t ? r({
446
446
  handle: "line-scale",
447
447
  x: t.maxX,
@@ -449,7 +449,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
449
449
  }) : "";
450
450
  }
451
451
  if (e.type === "circle") {
452
- let t = Math.max(1, Number(e.circleRadius) || 1), n = tn.value === "circle-radius" && H.value?.shapeId === e.id && H.value?.handlePoint ? H.value.handlePoint : null;
452
+ let t = Math.max(1, Number(e.circleRadius) || 1), n = nn.value === "circle-radius" && V.value?.shapeId === e.id && V.value?.handlePoint ? V.value.handlePoint : null;
453
453
  return r({
454
454
  handle: "circle-radius",
455
455
  x: n?.x ?? e.x + t,
@@ -492,9 +492,9 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
492
492
  y: e.y + e.rectHeight
493
493
  }) : "";
494
494
  }
495
- function wn(e) {
496
- if (!e || e.type === "text" && P.value && nn.value === e.id) return "";
497
- let t = yn(e) ? "initial" : "none";
495
+ function En(e) {
496
+ if (!e || e.type === "text" && P.value && rn.value === e.id) return "";
497
+ let t = xn(e) ? "initial" : "none";
498
498
  switch (e.type) {
499
499
  case "rect": return `
500
500
  <rect
@@ -538,7 +538,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
538
538
  `;
539
539
  }
540
540
  case "line": {
541
- let n = Sn(e.path);
541
+ let n = wn(e.path);
542
542
  return n ? `
543
543
  <rect
544
544
  style="stroke-dasharray: 10; display:${t}"
@@ -553,7 +553,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
553
553
  ` : "";
554
554
  }
555
555
  case "text": {
556
- let n = vn.value ? Array.from(vn.value.getElementsByTagName("text")).find((t) => t.getAttribute("data-shape-id") === e.id) : null;
556
+ let n = bn.value ? Array.from(bn.value.getElementsByTagName("text")).find((t) => t.getAttribute("data-shape-id") === e.id) : null;
557
557
  if (!n) return "";
558
558
  let { x: r, y: i, width: a, height: o } = n.getBBox();
559
559
  return `
@@ -572,7 +572,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
572
572
  default: return "";
573
573
  }
574
574
  }
575
- function Tn(e, t = !1) {
575
+ function Dn(e, t = !1) {
576
576
  switch (!0) {
577
577
  case e.type === "circle": return `
578
578
  <g id="${e.id}" style="display:${D.value ? "initial" : "none"};">
@@ -651,25 +651,25 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
651
651
  `;
652
652
  }
653
653
  }
654
- function En(e = "") {
654
+ function On(e = "") {
655
655
  return String(e).replace(/&nbsp;/g, "\xA0");
656
656
  }
657
- function Dn(e) {
658
- return String(e?.textContent ?? "").split(Tt).map(En);
657
+ function kn(e) {
658
+ return String(e?.textContent ?? "").split(Tt).map(On);
659
659
  }
660
- function On(e, t) {
660
+ function An(e, t) {
661
661
  if (!e) return;
662
662
  let n = t.length ? t : [""];
663
663
  e.textContent = n.join(Tt), e.lines = Math.max(0, n.length - 1);
664
664
  }
665
- function kn(e = "") {
665
+ function jn(e = "") {
666
666
  return String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
667
667
  }
668
- function An(e = "") {
669
- return kn(En(e)) || "&#8203;";
668
+ function Mn(e = "") {
669
+ return jn(On(e)) || "&#8203;";
670
670
  }
671
- function jn(e, t, n = !1) {
672
- let r = Dn(e), i = Math.max(1, r.length), a = r.reduce((e, t) => Math.max(e, t.length), 0), o = Math.max(24, a * e.fontSize * .7 + 16), s = e.textAlign === "middle" ? e.x - o / 2 : e.textAlign === "end" ? e.x - o : e.x, c = Math.max(e.fontSize * 1.2, e.fontSize * i);
671
+ function Nn(e, t, n = !1) {
672
+ let r = kn(e), i = Math.max(1, r.length), a = r.reduce((e, t) => Math.max(e, t.length), 0), o = Math.max(24, a * e.fontSize * .7 + 16), s = e.textAlign === "middle" ? e.x - o / 2 : e.textAlign === "end" ? e.x - o : e.x, c = Math.max(e.fontSize * 1.2, e.fontSize * i);
673
673
  return `
674
674
  <g id="${e.id}">
675
675
  <rect
@@ -698,11 +698,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
698
698
  >
699
699
  ${t.join("")}
700
700
  </text>
701
- ${Tn(e, n)}
701
+ ${Dn(e, n)}
702
702
  </g>
703
703
  `;
704
704
  }
705
- let Mn = ae(() => _n.value.map((e) => {
705
+ let Pn = ae(() => yn.value.map((e) => {
706
706
  switch (!0) {
707
707
  case e && e.type === "arrow": {
708
708
  let t = e.strokeWidth > 3 ? 5 : 10, n = e.strokeWidth > 3 ? 2.5 : 5, r = `marker_${e.id}`, i = Math.max(24, Number(e.strokeWidth || 1) + 24);
@@ -724,7 +724,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
724
724
  </marker>
725
725
  </defs>
726
726
  <g id="${e.id}">
727
- ${wn(e)}
727
+ ${En(e)}
728
728
  <path
729
729
  id="${e.id}"
730
730
  data-shape-hit-area="true"
@@ -745,8 +745,8 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
745
745
  pointer-events="stroke"
746
746
  marker-end="url(#${r})"
747
747
  />
748
- ${Cn(e)}
749
748
  ${Tn(e)}
749
+ ${Dn(e)}
750
750
  </g>
751
751
  `,
752
752
  id: e.id
@@ -755,7 +755,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
755
755
  case e && e.type === "circle": return {
756
756
  html: `
757
757
  <g id="${e.id}">
758
- ${wn(e)}
758
+ ${En(e)}
759
759
  <circle
760
760
  id="${e.id}"
761
761
  cx="${e.x}"
@@ -767,10 +767,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
767
767
  style="${e.isDash ? `stroke-dasharray: ${e.strokeWidth * 3}` : ""}"
768
768
  >
769
769
  </circle>
770
- ${Cn(e)}
770
+ ${Tn(e)}
771
771
  </g>
772
772
 
773
- ${Tn(e)}`,
773
+ ${Dn(e)}`,
774
774
  id: e.id
775
775
  };
776
776
  case e && e.type === "group": return {
@@ -785,19 +785,19 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
785
785
  width="${e.rectWidth}"
786
786
  stroke="grey"
787
787
  stroke-width="1"
788
- style="rx:1 !important; ry:1 !important; ${e.isDash ? `stroke-dasharray: ${e.strokeWidth * 3}` : ""}; display:${j.value || D.value || yn(e) ? "initial" : "none"};"
788
+ style="rx:1 !important; ry:1 !important; ${e.isDash ? `stroke-dasharray: ${e.strokeWidth * 3}` : ""}; display:${j.value || D.value || xn(e) ? "initial" : "none"};"
789
789
  />
790
790
  <g id="${e.id}">
791
791
  ${e.content ? e.content : ""}
792
792
  </g>
793
- ${Cn(e)}
794
793
  ${Tn(e)}
794
+ ${Dn(e)}
795
795
  </g> `,
796
796
  id: e.id
797
797
  };
798
798
  case e && e.type === "rect": return {
799
799
  html: `<g id="${e.id}">
800
- ${wn(e)}
800
+ ${En(e)}
801
801
  <rect
802
802
  id="${A.value ? "" : e.id}"
803
803
  x="${e.x}"
@@ -809,8 +809,8 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
809
809
  stroke-width="${e.strokeWidth}"
810
810
  style="rx:1 !important; ry:1 !important; ${e.isDash ? `stroke-dasharray: ${e.strokeWidth * 3}` : ""}"
811
811
  />
812
- ${Cn(e)}
813
812
  ${Tn(e)}
813
+ ${Dn(e)}
814
814
  </g> `,
815
815
  id: e.id
816
816
  };
@@ -819,7 +819,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
819
819
  return {
820
820
  html: `
821
821
  <g id="${e.id}">
822
- ${wn(e)}
822
+ ${En(e)}
823
823
  <path
824
824
  id="${e.id}"
825
825
  data-shape-hit-area="true"
@@ -838,15 +838,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
838
838
  style="stroke:${e.color + e.alpha} !important; fill:none; stroke-width:${e.strokeWidth} !important; stroke-linecap: round !important; stroke-linejoin: round !important; ${e.isDash ? `stroke-dasharray: ${e.strokeWidth * 3}` : ""}"
839
839
  pointer-events="stroke"
840
840
  />
841
- ${Cn(e)}
842
841
  ${Tn(e)}
842
+ ${Dn(e)}
843
843
  </g>
844
844
  `,
845
845
  id: e.id
846
846
  };
847
847
  }
848
848
  case e && e.type === "text": {
849
- let t = Dn(e), n = [];
849
+ let t = kn(e), n = [];
850
850
  for (let r = 0; r < t.length; r += 1) n.push(`
851
851
  ${e.isBulletTextMode ? `<tspan
852
852
  data-bullet-line="${r}"
@@ -860,11 +860,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
860
860
  id="${e.id}"
861
861
  x="${e.x}"
862
862
  y="${e.y + e.fontSize * r}"
863
- >${An(t[r])}</tspan>`);
863
+ >${Mn(t[r])}</tspan>`);
864
864
  return {
865
865
  html: `
866
- ${wn(e)}
867
- ${jn(e, n, e.isBulletTextMode)}
866
+ ${En(e)}
867
+ ${Nn(e, n, e.isBulletTextMode)}
868
868
  `,
869
869
  id: e.id
870
870
  };
@@ -879,7 +879,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
879
879
  return Array.isArray(e) ? e.map((e) => Z(e)) : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, t]) => [e, Z(t)])) : e;
880
880
  }
881
881
  }
882
- function Nn(e = !1) {
882
+ function Fn(e = !1) {
883
883
  if (!w.value || !Lt.value) return;
884
884
  T.value.end = {
885
885
  x: I.value.x,
@@ -903,43 +903,43 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
903
903
  case ["rect", "group"].includes(w.value): L.value.at(-1).rectWidth = Z(T.value.end.x - L.value.at(-1).x) > 0 ? Z(T.value.end.x - L.value.at(-1).x) : 20, L.value.at(-1).rectHeight = Z(T.value.end.y - L.value.at(-1).y) > 0 ? Z(T.value.end.y - L.value.at(-1).y) : 20;
904
904
  }
905
905
  }
906
- function Pn() {
906
+ function In() {
907
907
  if (!Lt.value) {
908
- dn.value = null;
908
+ pn.value = null;
909
909
  return;
910
910
  }
911
- Nn(), dn.value = requestAnimationFrame(Pn);
911
+ Fn(), pn.value = requestAnimationFrame(In);
912
912
  }
913
- function Fn(e) {
913
+ function Ln(e) {
914
914
  let t = L.value.findIndex((t) => t.id === e);
915
915
  if (t > -1 && t !== L.value.length - 1) {
916
916
  let [e] = L.value.splice(t, 1);
917
917
  L.value.push(e);
918
918
  }
919
919
  }
920
- function In(e) {
920
+ function Rn(e) {
921
921
  let t = e;
922
- for (; t && t !== vn.value;) {
922
+ for (; t && t !== bn.value;) {
923
923
  let e = t.id;
924
924
  if (e && L.value.some((t) => t.id === e)) return e;
925
925
  t = t.parentElement;
926
926
  }
927
927
  return null;
928
928
  }
929
- function Ln(e) {
929
+ function zn(e) {
930
930
  if (!M.value) return null;
931
- let t = In(e?.target);
931
+ let t = Rn(e?.target);
932
932
  if (t) return t;
933
- let n = vn.value?.querySelector(".annotator__glass");
933
+ let n = bn.value?.querySelector(".annotator__glass");
934
934
  if (!n) return null;
935
935
  let r = e?.touches?.[0] || e?.changedTouches?.[0], i = r ? r.clientX : e?.clientX, a = r ? r.clientY : e?.clientY;
936
936
  if (!Number.isFinite(i) || !Number.isFinite(a)) return null;
937
937
  let o = n.style.pointerEvents;
938
938
  n.style.pointerEvents = "none";
939
939
  let s = document.elementFromPoint(i, a);
940
- return n.style.pointerEvents = o || "all", In(s);
940
+ return n.style.pointerEvents = o || "all", Rn(s);
941
941
  }
942
- function Rn(e = {}) {
942
+ function Bn(e = {}) {
943
943
  let { maxEntries: t = 200, maxBytes: n = 2e6 } = e, r = {
944
944
  open: !1,
945
945
  before: null,
@@ -953,9 +953,9 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
953
953
  lastSelectedShape: Z(F.value)
954
954
  }), s = (e) => {
955
955
  let t = JSON.parse(e);
956
- L.value = t.shapes, F.value = t.lastSelectedShape?.id ? L.value.find((e) => e.id === t.lastSelectedShape.id) : void 0, E.value = F.value ? { id: F.value.id } : void 0, nn.value = null, rn.value = null, an.value = !1, P.value = !1, z.value = !1, U.value = null;
956
+ L.value = t.shapes, F.value = t.lastSelectedShape?.id ? L.value.find((e) => e.id === t.lastSelectedShape.id) : void 0, E.value = F.value ? { id: F.value.id } : void 0, rn.value = null, an.value = null, on.value = !1, P.value = !1, z.value = !1, H.value = null;
957
957
  }, c = () => {
958
- un.value.undo = r.undo.length, un.value.redo = r.redo.length;
958
+ fn.value.undo = r.undo.length, fn.value.redo = r.redo.length;
959
959
  }, l = (e, o) => {
960
960
  let s = r[e];
961
961
  for (s.push(o), i[e] += a(o); s.length > t || i[e] > n;) {
@@ -996,24 +996,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
996
996
  }
997
997
  };
998
998
  }
999
- function zn() {
1000
- if (!sn.value) return;
1001
- let e = sn.value.getBoundingClientRect();
1002
- K.value = {
999
+ function Vn() {
1000
+ if (!cn.value) return;
1001
+ let e = cn.value.getBoundingClientRect();
1002
+ G.value = {
1003
1003
  x: e.left + e.width / 2,
1004
1004
  y: e.top
1005
1005
  };
1006
1006
  }
1007
1007
  function Q(e, t, n = "top") {
1008
- G.value = e, sn.value = t.currentTarget || t.target, zn(), W.value = !0, window.addEventListener("scroll", zn, !0), window.addEventListener("resize", zn, { passive: !0 });
1008
+ W.value = e, cn.value = t.currentTarget || t.target, Vn(), U.value = !0, window.addEventListener("scroll", Vn, !0), window.addEventListener("resize", Vn, { passive: !0 });
1009
1009
  }
1010
1010
  function $() {
1011
- W.value = !1, G.value = null, sn.value = null, window.removeEventListener("scroll", zn, !0), window.removeEventListener("resize", zn);
1011
+ U.value = !1, W.value = null, cn.value = null, window.removeEventListener("scroll", Vn, !0), window.removeEventListener("resize", Vn);
1012
1012
  }
1013
- function Bn(e) {
1014
- let t = In(e?.target) || E.value?.id || Nt.value, n = L.value.find((e) => e.id === t);
1013
+ function Hn(e) {
1014
+ let t = Rn(e?.target) || E.value?.id || Nt.value, n = L.value.find((e) => e.id === t);
1015
1015
  if (!n) {
1016
- V.value = null;
1016
+ tn.value = null;
1017
1017
  return;
1018
1018
  }
1019
1019
  F.value = n, E.value = { id: n.id };
@@ -1022,13 +1022,13 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1022
1022
  case "rect":
1023
1023
  case "circle":
1024
1024
  case "text":
1025
- V.value = {
1025
+ tn.value = {
1026
1026
  dx: r - n.x,
1027
1027
  dy: i - n.y
1028
1028
  };
1029
1029
  break;
1030
1030
  case "arrow":
1031
- V.value = {
1031
+ tn.value = {
1032
1032
  dx: r - n.x,
1033
1033
  dy: i - n.y,
1034
1034
  endDx: r - n.endX,
@@ -1036,30 +1036,30 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1036
1036
  };
1037
1037
  break;
1038
1038
  case "line":
1039
- V.value = {
1039
+ tn.value = {
1040
1040
  startX: r,
1041
1041
  startY: i,
1042
1042
  path: n.path
1043
1043
  };
1044
1044
  break;
1045
1045
  case "group":
1046
- V.value = {
1046
+ tn.value = {
1047
1047
  dx: r - (n.x || 0),
1048
1048
  dy: i - (n.y || 0)
1049
1049
  };
1050
1050
  break;
1051
- default: V.value = {
1051
+ default: tn.value = {
1052
1052
  dx: 0,
1053
1053
  dy: 0
1054
1054
  };
1055
1055
  }
1056
1056
  }
1057
- function Vn(e, t) {
1058
- if (tn.value = t || null, H.value = null, e) {
1057
+ function Un(e, t) {
1058
+ if (nn.value = t || null, V.value = null, e) {
1059
1059
  if (e.type === "line" && t === "line-scale") {
1060
- let t = bn(e.path), n = Sn(e.path);
1060
+ let t = Sn(e.path), n = wn(e.path);
1061
1061
  if (!t.length || !n) return;
1062
- H.value = {
1062
+ V.value = {
1063
1063
  shapeId: e.id,
1064
1064
  points: t,
1065
1065
  bounds: n
@@ -1068,7 +1068,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1068
1068
  }
1069
1069
  if (e.type === "rect" && t?.startsWith("rect-")) {
1070
1070
  let t = Number(e.x) || 0, n = Number(e.y) || 0, r = t + Math.max(0, Number(e.rectWidth) || 0), i = n + Math.max(0, Number(e.rectHeight) || 0);
1071
- H.value = {
1071
+ V.value = {
1072
1072
  shapeId: e.id,
1073
1073
  bounds: {
1074
1074
  left: t,
@@ -1081,7 +1081,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1081
1081
  }
1082
1082
  if (e.type === "circle" && t === "circle-radius") {
1083
1083
  let t = Math.max(1, Number(e.circleRadius) || 1);
1084
- H.value = {
1084
+ V.value = {
1085
1085
  shapeId: e.id,
1086
1086
  anchor: {
1087
1087
  x: (Number(e.x) || 0) - t,
@@ -1095,7 +1095,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1095
1095
  }
1096
1096
  }
1097
1097
  }
1098
- function Hn(e) {
1098
+ function Wn(e) {
1099
1099
  let t = L.value.find((e) => e.id === F.value.id);
1100
1100
  switch (!0) {
1101
1101
  case e === "front":
@@ -1107,7 +1107,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1107
1107
  default: return;
1108
1108
  }
1109
1109
  }
1110
- function Un() {
1110
+ function Gn() {
1111
1111
  if (!F.value?.id) return;
1112
1112
  let e = {
1113
1113
  ...F.value,
@@ -1117,98 +1117,98 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1117
1117
  };
1118
1118
  L.value.push(e);
1119
1119
  }
1120
- function Wn(e) {
1121
- e && (e.color && (pn.value = e.color), Number.isFinite(Number(e.strokeWidth)) && (Mt.value = Number(e.strokeWidth)), "isDash" in e && (It.value = !!e.isDash), e.type === "circle" ? (R.value.circle.filled = !!e.isFilled, w.value = "circle") : e.type === "rect" ? (R.value.rect.filled = !!e.isFilled, w.value = "rect") : e.type === "arrow" ? w.value = "arrow" : e.type === "line" ? w.value = "line" : e.type === "text" && (B.value = e.textAlign || "start", Qt.value = Number(e.fontSize) || Qt.value, Pt.value = !!e.isBold, zt.value = !!e.isItalic, Ht.value = !!e.isUnderline, Ft.value = !!e.isBulletTextMode));
1120
+ function Kn(e) {
1121
+ e && (e.color && (hn.value = e.color), Number.isFinite(Number(e.strokeWidth)) && (Mt.value = Number(e.strokeWidth)), "isDash" in e && (It.value = !!e.isDash), e.type === "circle" ? (R.value.circle.filled = !!e.isFilled, w.value = "circle") : e.type === "rect" ? (R.value.rect.filled = !!e.isFilled, w.value = "rect") : e.type === "arrow" ? w.value = "arrow" : e.type === "line" ? w.value = "line" : e.type === "text" && (B.value = e.textAlign || "start", Qt.value = Number(e.fontSize) || Qt.value, Pt.value = !!e.isBold, zt.value = !!e.isItalic, Ht.value = !!e.isUnderline, Ft.value = !!e.isBulletTextMode));
1122
1122
  }
1123
- function Gn(e) {
1123
+ function qn(e) {
1124
1124
  if (!M.value) {
1125
1125
  Nt.value = void 0;
1126
1126
  return;
1127
1127
  }
1128
- e.preventDefault(), Ut.value = !1, Nt.value = In(e.target) || void 0;
1128
+ e.preventDefault(), Ut.value = !1, Nt.value = Rn(e.target) || void 0;
1129
1129
  }
1130
- function Kn() {
1131
- let e = nn.value;
1132
- if (!e || !vn.value || !P.value) {
1133
- U.value = null;
1130
+ function Jn() {
1131
+ let e = rn.value;
1132
+ if (!e || !bn.value || !P.value) {
1133
+ H.value = null;
1134
1134
  return;
1135
1135
  }
1136
1136
  ce(() => {
1137
- if (!vn.value || !P.value || nn.value !== e) {
1138
- U.value = null;
1137
+ if (!bn.value || !P.value || rn.value !== e) {
1138
+ H.value = null;
1139
1139
  return;
1140
1140
  }
1141
1141
  let t = L.value.find((t) => t.id === e);
1142
1142
  if (!t || t.type !== "text") {
1143
- U.value = null;
1143
+ H.value = null;
1144
1144
  return;
1145
1145
  }
1146
- let n = Array.from(vn.value.getElementsByTagName("text")).find((t) => t.getAttribute("data-shape-id") === e);
1146
+ let n = Array.from(bn.value.getElementsByTagName("text")).find((t) => t.getAttribute("data-shape-id") === e);
1147
1147
  if (!n) {
1148
- U.value = null;
1148
+ H.value = null;
1149
1149
  return;
1150
1150
  }
1151
- let r = Dn(t), i = Math.max(0, Math.min(on.value.row, r.length - 1)), a = r[i] || "", o = Math.max(0, Math.min(on.value.col, a.length)), s = a.slice(0, o), c = document.createElementNS("http://www.w3.org/2000/svg", "text");
1152
- c.setAttribute("font-size", String(t.fontSize)), c.setAttribute("font-family", n.getAttribute("font-family") || "Helvetica"), c.setAttribute("font-weight", t.isBold ? "bold" : "normal"), c.setAttribute("font-style", t.isItalic ? "italic" : "normal"), c.setAttribute("visibility", "hidden"), c.setAttribute("pointer-events", "none"), vn.value.appendChild(c);
1151
+ let r = kn(t), i = Math.max(0, Math.min(sn.value.row, r.length - 1)), a = r[i] || "", o = Math.max(0, Math.min(sn.value.col, a.length)), s = a.slice(0, o), c = document.createElementNS("http://www.w3.org/2000/svg", "text");
1152
+ c.setAttribute("font-size", String(t.fontSize)), c.setAttribute("font-family", n.getAttribute("font-family") || "Helvetica"), c.setAttribute("font-weight", t.isBold ? "bold" : "normal"), c.setAttribute("font-style", t.isItalic ? "italic" : "normal"), c.setAttribute("visibility", "hidden"), c.setAttribute("pointer-events", "none"), bn.value.appendChild(c);
1153
1153
  let l = (e) => (c.textContent = e || "​", typeof c.getComputedTextLength == "function" ? c.getComputedTextLength() : c.getBBox().width), ee = l(s), u = l(a);
1154
1154
  c.remove();
1155
1155
  let te = t.x;
1156
1156
  t.textAlign === "middle" ? te -= u / 2 : t.textAlign === "end" && (te -= u);
1157
1157
  let ne = t.y + t.fontSize * i;
1158
- U.value = {
1158
+ H.value = {
1159
1159
  x: te + ee,
1160
1160
  y1: ne - t.fontSize * .85,
1161
1161
  y2: ne + t.fontSize * .15,
1162
- color: t.color || J.value.style.color
1162
+ color: t.color || J.value.color
1163
1163
  };
1164
1164
  });
1165
1165
  }
1166
- function qn(e, { isNew: t = !1 } = {}) {
1166
+ function Yn(e, { isNew: t = !1 } = {}) {
1167
1167
  if (!e || e.type !== "text") return;
1168
- if (P.value && nn.value === e.id) {
1169
- let t = Dn(e), n = Math.max(0, t.length - 1);
1170
- on.value = {
1168
+ if (P.value && rn.value === e.id) {
1169
+ let t = kn(e), n = Math.max(0, t.length - 1);
1170
+ sn.value = {
1171
1171
  row: n,
1172
1172
  col: (t[n] || "").length
1173
- }, z.value = !0, Kn();
1173
+ }, z.value = !0, Jn();
1174
1174
  return;
1175
1175
  }
1176
- P.value && Jn(), t || q.value?.begin?.(), F.value = e, E.value = { id: e.id }, nn.value = e.id, rn.value = t ? null : Z(e), an.value = t;
1177
- let n = Dn(e), r = Math.max(0, n.length - 1);
1178
- on.value = {
1176
+ P.value && Xn(), t || ln.value?.begin?.(), F.value = e, E.value = { id: e.id }, rn.value = e.id, an.value = t ? null : Z(e), on.value = t;
1177
+ let n = kn(e), r = Math.max(0, n.length - 1);
1178
+ sn.value = {
1179
1179
  row: r,
1180
1180
  col: (n[r] || "").length
1181
- }, Wn(e), N.value = !0, P.value = !0, z.value = !0, O.value = !1, w.value = void 0, U.value = null, Kn();
1181
+ }, Kn(e), N.value = !0, P.value = !0, z.value = !0, O.value = !1, w.value = void 0, H.value = null, Jn();
1182
1182
  }
1183
- function Jn({ cancel: e = !1 } = {}) {
1184
- let t = nn.value;
1183
+ function Xn({ cancel: e = !1 } = {}) {
1184
+ let t = rn.value;
1185
1185
  if (!t) {
1186
- P.value = !1, z.value = !1, U.value = null;
1186
+ P.value = !1, z.value = !1, H.value = null;
1187
1187
  return;
1188
1188
  }
1189
1189
  let n = L.value.find((e) => e.id === t);
1190
1190
  if (e) {
1191
- if (an.value) L.value = L.value.filter((e) => e.id !== t), n = null;
1192
- else if (rn.value) {
1191
+ if (on.value) L.value = L.value.filter((e) => e.id !== t), n = null;
1192
+ else if (an.value) {
1193
1193
  let e = L.value.findIndex((e) => e.id === t);
1194
- e !== -1 && (L.value[e] = Z(rn.value), n = L.value[e]);
1194
+ e !== -1 && (L.value[e] = Z(an.value), n = L.value[e]);
1195
1195
  }
1196
- } else n && Dn(n).every((e) => e.length === 0) && (L.value = L.value.filter((e) => e.id !== t), n = null);
1197
- nn.value = null, rn.value = null, an.value = !1, on.value = {
1196
+ } else n && kn(n).every((e) => e.length === 0) && (L.value = L.value.filter((e) => e.id !== t), n = null);
1197
+ rn.value = null, an.value = null, on.value = !1, sn.value = {
1198
1198
  row: 0,
1199
1199
  col: 0
1200
- }, P.value = !1, z.value = !1, U.value = null, q.value?.end?.(), n ? (F.value = n, E.value = { id: n.id }) : F.value?.id === t && (F.value = void 0, E.value = void 0);
1200
+ }, P.value = !1, z.value = !1, H.value = null, ln.value?.end?.(), n ? (F.value = n, E.value = { id: n.id }) : F.value?.id === t && (F.value = void 0, E.value = void 0);
1201
1201
  }
1202
- function Yn() {
1202
+ function Zn() {
1203
1203
  if (P.value) {
1204
- Jn();
1204
+ Xn();
1205
1205
  return;
1206
1206
  }
1207
1207
  let e = F.value;
1208
- !e || e.type !== "text" || Dn(e).every((e) => e.length === 0) && (L.value = L.value.filter((t) => t.id !== e.id), F.value = L.value.at(-1));
1208
+ !e || e.type !== "text" || kn(e).every((e) => e.length === 0) && (L.value = L.value.filter((t) => t.id !== e.id), F.value = L.value.at(-1));
1209
1209
  }
1210
- function Xn() {
1211
- q.value?.begin?.();
1210
+ function Qn() {
1211
+ ln.value?.begin?.();
1212
1212
  let e = {
1213
1213
  id: `text_${i()}`,
1214
1214
  type: "text",
@@ -1221,42 +1221,42 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1221
1221
  isBold: Z(Pt.value),
1222
1222
  isItalic: Z(zt.value),
1223
1223
  isUnderline: Z(Ht.value),
1224
- color: Z(pn.value),
1224
+ color: Z(hn.value),
1225
1225
  isBulletTextMode: Z(Ft.value)
1226
1226
  };
1227
- L.value.push(e), F.value = e, E.value = { id: e.id }, qn(e, { isNew: !0 });
1227
+ L.value.push(e), F.value = e, E.value = { id: e.id }, Yn(e, { isNew: !0 });
1228
1228
  }
1229
- let Zn = 0;
1230
- function Qn(e) {
1231
- if (!(!M.value || D.value) && (e.preventDefault(), e.stopPropagation(), Nr(e), !In(e.target) && !(Date.now() < Zn))) {
1232
- if (P.value && Jn(), N.value && !A.value) {
1233
- Xn();
1229
+ let $n = 0;
1230
+ function er(e) {
1231
+ if (!(!M.value || D.value) && (e.preventDefault(), e.stopPropagation(), Fr(e), !Rn(e.target) && !(Date.now() < $n))) {
1232
+ if (P.value && Xn(), N.value && !A.value) {
1233
+ Qn();
1234
1234
  return;
1235
1235
  }
1236
- !O.value && !j.value && (F.value = void 0, E.value = void 0, Nt.value = void 0, k.value || (w.value = void 0)), z.value = !1, U.value = null;
1236
+ !O.value && !j.value && (F.value = void 0, E.value = void 0, Nt.value = void 0, k.value || (w.value = void 0)), z.value = !1, H.value = null;
1237
1237
  }
1238
1238
  }
1239
- function $n(e) {
1240
- !F.value || F.value.type !== "text" || (F.value.textAlign = e, B.value = e, Kn());
1239
+ function tr(e) {
1240
+ !F.value || F.value.type !== "text" || (F.value.textAlign = e, B.value = e, Jn());
1241
1241
  }
1242
- function er() {
1243
- P.value && Jn(), q.value?.undo?.();
1242
+ function nr() {
1243
+ P.value && Xn(), ln.value?.undo?.();
1244
1244
  }
1245
- function tr() {
1246
- P.value && Jn(), q.value?.redo?.();
1245
+ function rr() {
1246
+ P.value && Xn(), ln.value?.redo?.();
1247
1247
  }
1248
- function nr(e) {
1249
- if (!P.value || !nn.value) return;
1250
- let t = L.value.find((e) => e.id === nn.value);
1248
+ function ir(e) {
1249
+ if (!P.value || !rn.value) return;
1250
+ let t = L.value.find((e) => e.id === rn.value);
1251
1251
  if (!t || t.type !== "text") {
1252
- Jn();
1252
+ Xn();
1253
1253
  return;
1254
1254
  }
1255
- let n = Dn(t);
1255
+ let n = kn(t);
1256
1256
  n.length || (n = [""]);
1257
- let r = Math.max(0, Math.min(on.value.row, n.length - 1)), i = Math.max(0, Math.min(on.value.col, n[r].length)), a = !1, o = !1;
1257
+ let r = Math.max(0, Math.min(sn.value.row, n.length - 1)), i = Math.max(0, Math.min(sn.value.col, n[r].length)), a = !1, o = !1;
1258
1258
  if (e.key === "Escape") {
1259
- e.preventDefault(), Jn({ cancel: !0 });
1259
+ e.preventDefault(), Xn({ cancel: !0 });
1260
1260
  return;
1261
1261
  }
1262
1262
  if (e.key === "Enter") {
@@ -1279,12 +1279,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1279
1279
  else if (e.key === "Tab") e.preventDefault(), n[r] = n[r].slice(0, i) + " " + n[r].slice(i), i += 4, a = !0;
1280
1280
  else if (e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey) e.preventDefault(), n[r] = n[r].slice(0, i) + e.key + n[r].slice(i), i += e.key.length, a = !0;
1281
1281
  else return;
1282
- a && (t.isBold = Z(Pt.value), t.isItalic = Z(zt.value), t.isUnderline = Z(Ht.value), On(t, n)), (a || o) && (on.value = {
1282
+ a && (t.isBold = Z(Pt.value), t.isItalic = Z(zt.value), t.isUnderline = Z(Ht.value), An(t, n)), (a || o) && (sn.value = {
1283
1283
  row: r,
1284
1284
  col: i
1285
- }, z.value = !0, Kn());
1285
+ }, z.value = !0, Jn());
1286
1286
  }
1287
- function rr(e) {
1287
+ function ar(e) {
1288
1288
  if (!e) return null;
1289
1289
  switch (e.type) {
1290
1290
  case "arrow": return {
@@ -1310,7 +1310,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1310
1310
  bottom: e.y + e.rectHeight
1311
1311
  };
1312
1312
  case "line": {
1313
- let t = Sn(e.path);
1313
+ let t = wn(e.path);
1314
1314
  return t ? {
1315
1315
  left: t.minX,
1316
1316
  top: t.minY,
@@ -1327,13 +1327,13 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1327
1327
  default: return null;
1328
1328
  }
1329
1329
  }
1330
- function ir(e, t) {
1331
- let n = rr(e);
1330
+ function or(e, t) {
1331
+ let n = ar(e);
1332
1332
  if (!n) return !1;
1333
1333
  let r = Math.min(t.x, t.x + t.rectWidth), i = Math.min(t.y, t.y + t.rectHeight), a = Math.max(t.x, t.x + t.rectWidth), o = Math.max(t.y, t.y + t.rectHeight);
1334
1334
  return r <= n.left && i <= n.top && a >= n.right && o >= n.bottom;
1335
1335
  }
1336
- function ar(e, t) {
1336
+ function sr(e, t) {
1337
1337
  let n = Z(e), r = Number(t.x) || 0, i = Number(t.y) || 0;
1338
1338
  switch (n.type) {
1339
1339
  case "circle":
@@ -1344,17 +1344,17 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1344
1344
  case "arrow":
1345
1345
  n.x = r + (Number(n.diffX) || 0), n.y = i + (Number(n.diffY) || 0), n.endX = r + (Number(n.diffEndX) || 0), n.endY = i + (Number(n.diffEndY) || 0);
1346
1346
  break;
1347
- case "line": Array.isArray(n.diffPoints) && n.diffPoints.length && (n.path = xn(n.diffPoints.map((e) => ({
1347
+ case "line": Array.isArray(n.diffPoints) && n.diffPoints.length && (n.path = Cn(n.diffPoints.map((e) => ({
1348
1348
  x: r + e.x,
1349
1349
  y: i + e.y
1350
1350
  }))));
1351
1351
  }
1352
1352
  return n.id = n.oldId || n.id, delete n.diffX, delete n.diffY, delete n.diffEndX, delete n.diffEndY, delete n.diffPoints, n;
1353
1353
  }
1354
- function or(e) {
1355
- return e.type === "group" ? (e.source || []).flatMap((t) => t.type === "group" ? or(ar(t, e)) : [ar(t, e)]) : [Z(e)];
1354
+ function cr(e) {
1355
+ return e.type === "group" ? (e.source || []).flatMap((t) => t.type === "group" ? cr(sr(t, e)) : [sr(t, e)]) : [Z(e)];
1356
1356
  }
1357
- function sr(e, t) {
1357
+ function lr(e, t) {
1358
1358
  let n = {
1359
1359
  ...Z(e),
1360
1360
  id: t.id,
@@ -1364,23 +1364,23 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1364
1364
  diffEndX: Number.isFinite(Number(e.endX)) ? Number(e.endX) - t.x : 0,
1365
1365
  diffEndY: Number.isFinite(Number(e.endY)) ? Number(e.endY) - t.y : 0
1366
1366
  };
1367
- return e.type === "line" && (n.diffPoints = bn(e.path).map((e) => ({
1367
+ return e.type === "line" && (n.diffPoints = Sn(e.path).map((e) => ({
1368
1368
  x: e.x - t.x,
1369
1369
  y: e.y - t.y
1370
1370
  }))), n;
1371
1371
  }
1372
- function cr() {
1372
+ function ur() {
1373
1373
  if (Wt.value = [], w.value !== "group") return j.value = !1, L.value = L.value.filter((e) => e.type !== "group"), null;
1374
1374
  let e = L.value.at(-1);
1375
1375
  if (!e || e.type !== "group") return null;
1376
- let t = L.value.filter((t) => t.id !== e.id && ir(t, e));
1376
+ let t = L.value.filter((t) => t.id !== e.id && or(t, e));
1377
1377
  if (t.length < 2) return L.value = L.value.filter((t) => t.id !== e.id), null;
1378
- let n = t.flatMap((e) => or(e));
1379
- Wt.value = n.map((t) => sr(t, e)), e.source = Wt.value, e.content = "";
1378
+ let n = t.flatMap((e) => cr(e));
1379
+ Wt.value = n.map((t) => lr(t, e)), e.source = Wt.value, e.content = "";
1380
1380
  let r = new Set(t.map((e) => e.id));
1381
- return L.value = L.value.filter((t) => t.id === e.id || !r.has(t.id)), lr(e), e;
1381
+ return L.value = L.value.filter((t) => t.id === e.id || !r.has(t.id)), dr(e), e;
1382
1382
  }
1383
- function lr(e) {
1383
+ function dr(e) {
1384
1384
  e.content = "";
1385
1385
  let t = e.x || 0, n = e.y || 0;
1386
1386
  (e.source || []).forEach((r) => {
@@ -1446,10 +1446,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1446
1446
  break;
1447
1447
  }
1448
1448
  case "line": {
1449
- let i = xn(Array.isArray(r.diffPoints) && r.diffPoints.length ? r.diffPoints.map((e) => ({
1449
+ let i = Cn(Array.isArray(r.diffPoints) && r.diffPoints.length ? r.diffPoints.map((e) => ({
1450
1450
  x: t + e.x,
1451
1451
  y: n + e.y
1452
- })) : bn(r.path));
1452
+ })) : Sn(r.path));
1453
1453
  e.content += `
1454
1454
  <path
1455
1455
  id="${r.id}"
@@ -1488,10 +1488,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1488
1488
  }
1489
1489
  });
1490
1490
  }
1491
- function ur(e) {
1492
- e.relatedTarget && vn.value && vn.value.contains(e.relatedTarget) || (Ut.value = !0, Nt.value = void 0);
1491
+ function fr(e) {
1492
+ e.relatedTarget && bn.value && bn.value.contains(e.relatedTarget) || (Ut.value = !0, Nt.value = void 0);
1493
1493
  }
1494
- function dr() {
1494
+ function pr() {
1495
1495
  if (Lt.value = !0, !w.value && !j.value || !Lt.value) return;
1496
1496
  Rt.value = !0, T.value.start = {
1497
1497
  x: I.value.x,
@@ -1507,16 +1507,16 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1507
1507
  endX: I.value.x,
1508
1508
  endY: I.value.y,
1509
1509
  type: w.value,
1510
- color: Z(pn.value),
1510
+ color: Z(hn.value),
1511
1511
  strokeWidth: Z(Math.abs(Mt.value)),
1512
1512
  isDash: Z(It.value)
1513
1513
  }), F.value = L.value.at(-1);
1514
1514
  break;
1515
1515
  case w.value === "circle":
1516
1516
  L.value.push({
1517
- alpha: R.value.circle.filled ? hn.value : "",
1517
+ alpha: R.value.circle.filled ? _n.value : "",
1518
1518
  id: e,
1519
- color: Z(pn.value),
1519
+ color: Z(hn.value),
1520
1520
  isFilled: Z(R.value.circle.filled),
1521
1521
  circleRadius: Z(R.value.circle.radius),
1522
1522
  circleStrokeWidth: Z(R.value.circle.strokeWidth),
@@ -1529,12 +1529,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1529
1529
  break;
1530
1530
  case w.value === "line":
1531
1531
  L.value.push({
1532
- alpha: Z(hn.value),
1532
+ alpha: Z(_n.value),
1533
1533
  id: e,
1534
1534
  x: I.value.x,
1535
1535
  y: I.value.y,
1536
1536
  type: w.value,
1537
- color: Z(pn.value),
1537
+ color: Z(hn.value),
1538
1538
  strokeWidth: Z(Math.abs(Mt.value)),
1539
1539
  isDash: Z(It.value),
1540
1540
  path: `${I.value.x} ${I.value.y}`
@@ -1542,9 +1542,9 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1542
1542
  break;
1543
1543
  case w.value === "rect":
1544
1544
  L.value.push({
1545
- alpha: R.value.rect.filled ? hn.value : "",
1545
+ alpha: R.value.rect.filled ? _n.value : "",
1546
1546
  id: e,
1547
- color: Z(pn.value),
1547
+ color: Z(hn.value),
1548
1548
  isFilled: Z(R.value.rect.filled),
1549
1549
  rectStrokeWidth: Z(R.value.rect.strokeWidth),
1550
1550
  rectHeight: Z(R.value.rect.height),
@@ -1572,48 +1572,48 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1572
1572
  content: ""
1573
1573
  });
1574
1574
  }
1575
- dn.value ||= requestAnimationFrame(Pn);
1575
+ pn.value ||= requestAnimationFrame(In);
1576
1576
  }
1577
- function fr(e) {
1577
+ function mr(e) {
1578
1578
  if (!M.value) return;
1579
- Nr(e);
1580
- let t = Ln(e), n = t ? L.value.find((e) => e.id === t) : null;
1581
- if (P.value && nn.value && t !== nn.value && Jn(), D.value) {
1579
+ Fr(e);
1580
+ let t = zn(e), n = t ? L.value.find((e) => e.id === t) : null;
1581
+ if (P.value && rn.value && t !== rn.value && Xn(), D.value) {
1582
1582
  Bt.value = !1;
1583
1583
  return;
1584
1584
  }
1585
1585
  if (n) {
1586
- let t = Number.isFinite(e?.timeStamp) ? e.timeStamp : Date.now(), r = vr.id === n.id && t - vr.at >= 0 && t - vr.at <= Et;
1587
- if (vr = r ? {
1586
+ let t = Number.isFinite(e?.timeStamp) ? e.timeStamp : Date.now(), r = br.id === n.id && t - br.at >= 0 && t - br.at <= Et;
1587
+ if (br = r ? {
1588
1588
  id: null,
1589
1589
  at: 0
1590
1590
  } : {
1591
1591
  id: n.id,
1592
1592
  at: t
1593
1593
  }, r) {
1594
- e.preventDefault(), e.stopPropagation(), Bt.value = !1, V.value = null, tn.value = null, H.value = null, _r(n);
1594
+ e.preventDefault(), e.stopPropagation(), Bt.value = !1, tn.value = null, nn.value = null, V.value = null, yr(n);
1595
1595
  return;
1596
1596
  }
1597
- } else vr = {
1597
+ } else br = {
1598
1598
  id: null,
1599
1599
  at: 0
1600
1600
  };
1601
1601
  if (e.preventDefault(), e.stopPropagation(), Bt.value = !0, e.pointerId != null) {
1602
1602
  try {
1603
- vn.value?.setPointerCapture?.(e.pointerId);
1603
+ bn.value?.setPointerCapture?.(e.pointerId);
1604
1604
  } catch {}
1605
- fn.value = e.pointerId;
1606
- } else fn.value = null;
1605
+ mn.value = e.pointerId;
1606
+ } else mn.value = null;
1607
1607
  if (O.value) {
1608
1608
  if (n) {
1609
- Bt.value = !1, O.value = !1, F.value = n, E.value = { id: n.id }, Wn(n);
1609
+ Bt.value = !1, O.value = !1, F.value = n, E.value = { id: n.id }, Kn(n);
1610
1610
  return;
1611
1611
  }
1612
- q.value?.begin?.(), dr();
1612
+ ln.value?.begin?.(), pr();
1613
1613
  return;
1614
1614
  }
1615
1615
  if (j.value) {
1616
- q.value?.begin?.(), dr();
1616
+ ln.value?.begin?.(), pr();
1617
1617
  return;
1618
1618
  }
1619
1619
  if (k.value) {
@@ -1621,60 +1621,60 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1621
1621
  Bt.value = !1, E.value = void 0;
1622
1622
  return;
1623
1623
  }
1624
- q.value?.begin?.(), Fn(n.id);
1624
+ ln.value?.begin?.(), Ln(n.id);
1625
1625
  let t = L.value.find((e) => e.id === n.id);
1626
- F.value = t, E.value = { id: t.id }, Bn({ target: e.target });
1626
+ F.value = t, E.value = { id: t.id }, Hn({ target: e.target });
1627
1627
  return;
1628
1628
  }
1629
1629
  if (A.value) {
1630
1630
  if (!n) {
1631
- Bt.value = !1, E.value = void 0, V.value = null, tn.value = null, H.value = null;
1631
+ Bt.value = !1, E.value = void 0, tn.value = null, nn.value = null, V.value = null;
1632
1632
  return;
1633
1633
  }
1634
1634
  let t = e.target?.getAttribute?.("data-resize-handle") || null;
1635
- F.value = n, E.value = { id: n.id }, Wn(n), t ? (V.value = null, Vn(n, t)) : (tn.value = null, H.value = null, Bn(e)), q.value?.begin?.();
1635
+ F.value = n, E.value = { id: n.id }, Kn(n), t ? (tn.value = null, Un(n, t)) : (nn.value = null, V.value = null, Hn(e)), ln.value?.begin?.();
1636
1636
  }
1637
1637
  }
1638
- function pr(e) {
1639
- if (!e || !e.id || !V.value && (Bn({ target: { id: e.id } }), !V.value)) return;
1638
+ function hr(e) {
1639
+ if (!e || !e.id || !tn.value && (Hn({ target: { id: e.id } }), !tn.value)) return;
1640
1640
  let t = I.value.x, n = I.value.y;
1641
1641
  switch (F.value = e, e.type) {
1642
1642
  case "arrow": {
1643
- let { dx: r, dy: i, endDx: a, endDy: o } = V.value;
1643
+ let { dx: r, dy: i, endDx: a, endDy: o } = tn.value;
1644
1644
  e.x = t - r, e.y = n - i, e.endX = t - (a ?? r), e.endY = n - (o ?? i);
1645
1645
  break;
1646
1646
  }
1647
1647
  case "circle":
1648
1648
  case "rect":
1649
1649
  case "text": {
1650
- let { dx: r, dy: i } = V.value;
1650
+ let { dx: r, dy: i } = tn.value;
1651
1651
  e.x = t - r, e.y = n - i;
1652
1652
  break;
1653
1653
  }
1654
1654
  case "line": {
1655
- let { startX: r, startY: i, path: a } = V.value, o = t - r, s = n - i;
1656
- e.path = xn(bn(a).map((e) => ({
1655
+ let { startX: r, startY: i, path: a } = tn.value, o = t - r, s = n - i;
1656
+ e.path = Cn(Sn(a).map((e) => ({
1657
1657
  x: e.x + o,
1658
1658
  y: e.y + s
1659
1659
  })));
1660
- let c = Sn(e.path);
1660
+ let c = wn(e.path);
1661
1661
  c && (e.x = c.minX, e.y = c.minY);
1662
1662
  break;
1663
1663
  }
1664
1664
  case "group": {
1665
- let { dx: r, dy: i } = V.value;
1666
- e.x = t - r, e.y = n - i, lr(e);
1665
+ let { dx: r, dy: i } = tn.value;
1666
+ e.x = t - r, e.y = n - i, dr(e);
1667
1667
  break;
1668
1668
  }
1669
1669
  }
1670
1670
  }
1671
- function mr() {
1671
+ function gr() {
1672
1672
  let e = E.value?.id || Nt.value;
1673
1673
  if (!e) return;
1674
1674
  let t = L.value.find((t) => t.id === e);
1675
- t && pr(t);
1675
+ t && hr(t);
1676
1676
  }
1677
- function hr() {
1677
+ function _r() {
1678
1678
  let e = E.value?.id;
1679
1679
  if (!e) return;
1680
1680
  let t = L.value.find((t) => t.id === e);
@@ -1682,20 +1682,20 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1682
1682
  let n = I.value.x, r = I.value.y;
1683
1683
  switch (w.value = t.type, F.value = t, t.type) {
1684
1684
  case "arrow":
1685
- tn.value === "arrow-start" ? (t.x = n, t.y = r) : tn.value === "arrow-end" && (t.endX = n, t.endY = r);
1685
+ nn.value === "arrow-start" ? (t.x = n, t.y = r) : nn.value === "arrow-end" && (t.endX = n, t.endY = r);
1686
1686
  break;
1687
1687
  case "line": {
1688
- if (tn.value !== "line-scale" || !H.value?.bounds || !H.value?.points) return;
1689
- let { bounds: e, points: i } = H.value, a = Math.max(1, n - e.minX), o = Math.max(1, r - e.minY), s = a / Math.max(1, e.width), c = o / Math.max(1, e.height);
1690
- t.path = xn(i.map((t) => ({
1688
+ if (nn.value !== "line-scale" || !V.value?.bounds || !V.value?.points) return;
1689
+ let { bounds: e, points: i } = V.value, a = Math.max(1, n - e.minX), o = Math.max(1, r - e.minY), s = a / Math.max(1, e.width), c = o / Math.max(1, e.height);
1690
+ t.path = Cn(i.map((t) => ({
1691
1691
  x: e.minX + (t.x - e.minX) * s,
1692
1692
  y: e.minY + (t.y - e.minY) * c
1693
1693
  }))), t.x = e.minX, t.y = e.minY;
1694
1694
  break;
1695
1695
  }
1696
1696
  case "circle": {
1697
- if (tn.value !== "circle-radius" || H.value?.shapeId !== t.id || !H.value?.anchor) return;
1698
- let e = H.value.anchor, i = n, a = r, o = i - e.x, s = a - e.y, c = Math.hypot(o, s);
1697
+ if (nn.value !== "circle-radius" || V.value?.shapeId !== t.id || !V.value?.anchor) return;
1698
+ let e = V.value.anchor, i = n, a = r, o = i - e.x, s = a - e.y, c = Math.hypot(o, s);
1699
1699
  if (c < 2) {
1700
1700
  if (c > 0) {
1701
1701
  let e = 2 / c;
@@ -1703,15 +1703,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1703
1703
  } else o = 2, s = 0;
1704
1704
  i = e.x + o, a = e.y + s, c = 2;
1705
1705
  }
1706
- t.x = e.x + o / 2, t.y = e.y + s / 2, t.circleRadius = c / 2, H.value.handlePoint = {
1706
+ t.x = e.x + o / 2, t.y = e.y + s / 2, t.circleRadius = c / 2, V.value.handlePoint = {
1707
1707
  x: i,
1708
1708
  y: a
1709
1709
  };
1710
1710
  break;
1711
1711
  }
1712
1712
  case "rect": {
1713
- let e = tn.value, i = H.value?.bounds;
1714
- if (!e?.startsWith("rect-") || H.value?.shapeId !== t.id || !i) return;
1713
+ let e = nn.value, i = V.value?.bounds;
1714
+ if (!e?.startsWith("rect-") || V.value?.shapeId !== t.id || !i) return;
1715
1715
  let a = i.left, o = i.top, s = i.right, c = i.bottom;
1716
1716
  switch (e) {
1717
1717
  case "rect-nw":
@@ -1732,85 +1732,85 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1732
1732
  break;
1733
1733
  }
1734
1734
  case "group":
1735
- if (tn.value !== "group-scale") return;
1735
+ if (nn.value !== "group-scale") return;
1736
1736
  t.rectWidth = Math.max(20, n - t.x), t.rectHeight = Math.max(20, r - t.y);
1737
1737
  }
1738
1738
  }
1739
- function gr(e) {
1739
+ function vr(e) {
1740
1740
  if (!M.value || D.value) return;
1741
- e.preventDefault(), e.stopPropagation(), Nr(e);
1742
- let t = Ln(e);
1743
- t && (Nt.value = t), k.value && Bt.value ? mr() : A.value && Bt.value && (tn.value ? hr() : mr());
1741
+ e.preventDefault(), e.stopPropagation(), Fr(e);
1742
+ let t = zn(e);
1743
+ t && (Nt.value = t), k.value && Bt.value ? gr() : A.value && Bt.value && (nn.value ? _r() : gr());
1744
1744
  }
1745
- function _r(e) {
1745
+ function yr(e) {
1746
1746
  if (e) {
1747
- if (P.value && nn.value !== e.id && Jn(), F.value = e, E.value = { id: e.id }, k.value = !1, D.value = !1, A.value = !0, j.value = !1, O.value = !1, e.type === "text") {
1748
- w.value = void 0, Wn(e), qn(e);
1747
+ if (P.value && rn.value !== e.id && Xn(), F.value = e, E.value = { id: e.id }, k.value = !1, D.value = !1, A.value = !0, j.value = !1, O.value = !1, e.type === "text") {
1748
+ w.value = void 0, Kn(e), Yn(e);
1749
1749
  return;
1750
1750
  }
1751
- N.value = !1, P.value = !1, z.value = !1, U.value = null, Wn(e);
1751
+ N.value = !1, P.value = !1, z.value = !1, H.value = null, Kn(e);
1752
1752
  }
1753
1753
  }
1754
- let vr = {
1754
+ let br = {
1755
1755
  id: null,
1756
1756
  at: 0
1757
- }, yr = {
1757
+ }, xr = {
1758
1758
  id: null,
1759
1759
  at: 0
1760
1760
  };
1761
- function br(e, t) {
1761
+ function Sr(e, t) {
1762
1762
  if (!M.value) return;
1763
- let n = t || In(e.target);
1763
+ let n = t || Rn(e.target);
1764
1764
  if (!n) return;
1765
- yr = {
1765
+ xr = {
1766
1766
  id: null,
1767
1767
  at: 0
1768
1768
  };
1769
1769
  let r = L.value.find((e) => e.id === n);
1770
- r && _r(r);
1770
+ r && yr(r);
1771
1771
  }
1772
- function xr(e, t) {
1772
+ function Cr(e, t) {
1773
1773
  if (!M.value) return;
1774
- let n = t || In(e.target);
1774
+ let n = t || Rn(e.target);
1775
1775
  if (!n) return;
1776
1776
  let r = L.value.find((e) => e.id === n);
1777
1777
  if (!r) return;
1778
- let i = Number.isFinite(e?.timeStamp) ? e.timeStamp : Date.now(), a = yr.id === n && i - yr.at >= 0 && i - yr.at <= Et;
1779
- if (yr = a ? {
1778
+ let i = Number.isFinite(e?.timeStamp) ? e.timeStamp : Date.now(), a = xr.id === n && i - xr.at >= 0 && i - xr.at <= Et;
1779
+ if (xr = a ? {
1780
1780
  id: null,
1781
1781
  at: 0
1782
1782
  } : {
1783
1783
  id: n,
1784
1784
  at: i
1785
1785
  }, a && !D.value) {
1786
- _r(r);
1786
+ yr(r);
1787
1787
  return;
1788
1788
  }
1789
1789
  let o = F.value?.id === n, s = N.value;
1790
1790
  if (D.value) {
1791
- P.value && Jn(), q.value?.begin?.(), L.value = L.value.filter((e) => e.id !== n), F.value?.id === n && (F.value = void 0), E.value = void 0, q.value?.end?.();
1791
+ P.value && Xn(), ln.value?.begin?.(), L.value = L.value.filter((e) => e.id !== n), F.value?.id === n && (F.value = void 0), E.value = void 0, ln.value?.end?.();
1792
1792
  return;
1793
1793
  }
1794
- if (P.value && nn.value && nn.value !== n && Jn(), F.value = r, E.value = { id: r.id }, k.value) {
1795
- z.value = !1, U.value = null;
1794
+ if (P.value && rn.value && rn.value !== n && Xn(), F.value = r, E.value = { id: r.id }, k.value) {
1795
+ z.value = !1, H.value = null;
1796
1796
  return;
1797
1797
  }
1798
- if (Wn(r), r.type === "text") {
1798
+ if (Kn(r), r.type === "text") {
1799
1799
  let e = !k.value && !A.value && !O.value && !j.value;
1800
- N.value = e, e && (s || o) && qn(r);
1800
+ N.value = e, e && (s || o) && Yn(r);
1801
1801
  return;
1802
1802
  }
1803
- N.value = !1, z.value = !1, U.value = null;
1803
+ N.value = !1, z.value = !1, H.value = null;
1804
1804
  }
1805
- let Sr = y(null);
1806
- function Cr(e, t) {
1807
- for (t(e), e = e.firstChild; e;) Cr(e, t), e = e.nextSibling;
1805
+ let wr = y(null);
1806
+ function Tr(e, t) {
1807
+ for (t(e), e = e.firstChild; e;) Tr(e, t), e = e.nextSibling;
1808
1808
  }
1809
- function wr() {
1810
- P.value && Jn(), Vt.value = !0, D.value = !1, k.value = !1, A.value = !1, N.value = !1, P.value = !1, j.value = !1, w.value = void 0, z.value = !1, ce(async () => {
1811
- let e = Sr.value;
1809
+ function Er() {
1810
+ P.value && Xn(), Vt.value = !0, D.value = !1, k.value = !1, A.value = !1, N.value = !1, P.value = !1, j.value = !1, w.value = void 0, z.value = !1, ce(async () => {
1811
+ let e = wr.value;
1812
1812
  if (e) {
1813
- Cr(e, (e) => {
1813
+ Tr(e, (e) => {
1814
1814
  e && e.nodeType === 1 && (e.setAttribute("font-family", "Helvetica"), e.style.fontFamily = "Helvetica");
1815
1815
  });
1816
1816
  try {
@@ -1836,55 +1836,55 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1836
1836
  } catch (e) {
1837
1837
  console.error("Error generating image:", e);
1838
1838
  } finally {
1839
- Vt.value = !1, Cr(e, (e) => {
1840
- e && e.nodeType === 1 && (e.setAttribute("font-family", J.value.style.fontFamily), e.style.fontFamily = J.value.style.fontFamily);
1839
+ Vt.value = !1, Tr(e, (e) => {
1840
+ e && e.nodeType === 1 && (e.setAttribute("font-family", J.value.fontFamily), e.style.fontFamily = J.value.fontFamily);
1841
1841
  });
1842
1842
  }
1843
1843
  }
1844
1844
  });
1845
1845
  }
1846
- function Tr(e) {
1846
+ function Dr(e) {
1847
1847
  let t = O.value && Lt.value && F.value && [
1848
1848
  "arrow",
1849
1849
  "circle",
1850
1850
  "line",
1851
1851
  "rect"
1852
1852
  ].includes(F.value.type) ? L.value.find((e) => e.id === F.value.id) : null;
1853
- if (!D.value && e && (e.preventDefault(), e.stopPropagation()), Lt.value = !1, Bt.value = !1, V.value = null, tn.value = null, H.value = null, fn.value != null) {
1853
+ if (!D.value && e && (e.preventDefault(), e.stopPropagation()), Lt.value = !1, Bt.value = !1, tn.value = null, nn.value = null, V.value = null, mn.value != null) {
1854
1854
  try {
1855
- vn.value?.releasePointerCapture?.(fn.value);
1855
+ bn.value?.releasePointerCapture?.(mn.value);
1856
1856
  } catch {}
1857
- fn.value = null;
1857
+ mn.value = null;
1858
1858
  }
1859
- dn.value &&= (cancelAnimationFrame(dn.value), null);
1860
- let n = j.value ? cr() : null;
1861
- q.value?.end(), n && (j.value = !1, k.value = !0, A.value = !1, O.value = !1, D.value = !1, N.value = !1, P.value = !1, z.value = !1, U.value = null, F.value = n, E.value = { id: n.id }, Nt.value = void 0, Zn = Date.now() + 250), t && (Zn = Date.now() + 250, _r(t));
1859
+ pn.value &&= (cancelAnimationFrame(pn.value), null);
1860
+ let n = j.value ? ur() : null;
1861
+ ln.value?.end(), n && (j.value = !1, k.value = !0, A.value = !1, O.value = !1, D.value = !1, N.value = !1, P.value = !1, z.value = !1, H.value = null, F.value = n, E.value = { id: n.id }, Nt.value = void 0, $n = Date.now() + 250), t && ($n = Date.now() + 250, yr(t));
1862
1862
  }
1863
- function Er() {
1863
+ function Or() {
1864
1864
  !F.value || !F.value.id.includes("rect") || (F.value.isFilled = !F.value.isFilled);
1865
1865
  }
1866
- function Dr() {
1866
+ function kr() {
1867
1867
  !F.value || !F.value.id.includes("circle") || (F.value.isFilled = !F.value.isFilled);
1868
1868
  }
1869
- function Or(e = pn.value) {
1870
- let t = typeof e == "string" && e.length ? e : pn.value;
1871
- if (pn.value = t, !F.value || k.value) return;
1869
+ function Ar(e = hn.value) {
1870
+ let t = typeof e == "string" && e.length ? e : hn.value;
1871
+ if (hn.value = t, !F.value || k.value) return;
1872
1872
  let n = L.value.find((e) => e.id === F.value.id);
1873
1873
  if (n) {
1874
1874
  if (n.color = Z(t), F.value = n, ["arrow", "text"].includes(n.type)) {
1875
- Kn();
1875
+ Jn();
1876
1876
  return;
1877
1877
  }
1878
- n.alpha = Z(hn.value);
1878
+ n.alpha = Z(_n.value);
1879
1879
  }
1880
1880
  }
1881
- function kr() {
1881
+ function jr() {
1882
1882
  !F.value || F.value.type === "text" || (F.value.isDash = Z(It.value));
1883
1883
  }
1884
- function Ar() {
1885
- !F.value || ["arrow", "text"].includes(F.value.type) || (F.value.alpha = Z(hn.value));
1884
+ function Mr() {
1885
+ !F.value || ["arrow", "text"].includes(F.value.type) || (F.value.alpha = Z(_n.value));
1886
1886
  }
1887
- function jr() {
1887
+ function Nr() {
1888
1888
  !F.value || ![
1889
1889
  "arrow",
1890
1890
  "circle",
@@ -1892,35 +1892,35 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1892
1892
  "line"
1893
1893
  ].includes(F.value.type) || (F.value.strokeWidth = Z(Math.abs(Mt.value)));
1894
1894
  }
1895
- function Mr() {
1896
- !F.value || F.value.type !== "text" || (F.value.isBold = Z(Pt.value), F.value.isItalic = Z(zt.value), F.value.isUnderline = Z(Ht.value), F.value.fontSize = Z(Qt.value), F.value.isBulletTextMode = Z(Ft.value), Kn());
1895
+ function Pr() {
1896
+ !F.value || F.value.type !== "text" || (F.value.isBold = Z(Pt.value), F.value.isItalic = Z(zt.value), F.value.isUnderline = Z(Ht.value), F.value.fontSize = Z(Qt.value), F.value.isBulletTextMode = Z(Ft.value), Jn());
1897
1897
  }
1898
- function Nr(e) {
1899
- if (e.preventDefault(), !vn.value) return;
1900
- let t = vn.value.getBoundingClientRect(), n, r;
1898
+ function Fr(e) {
1899
+ if (e.preventDefault(), !bn.value) return;
1900
+ let t = bn.value.getBoundingClientRect(), n, r;
1901
1901
  e.touches && e.touches.length > 0 ? (n = e.touches[0].clientX, r = e.touches[0].clientY) : (n = e.clientX, r = e.clientY), I.value.x = (n - t.left) / t.width * qt.value, I.value.y = (r - t.top) / t.height * Kt.value;
1902
1902
  }
1903
- function Pr(e) {
1904
- if (z.value = !1, Yn(), e === w.value) {
1903
+ function Ir(e) {
1904
+ if (z.value = !1, Zn(), e === w.value) {
1905
1905
  w.value = void 0, O.value = !1;
1906
1906
  return;
1907
1907
  }
1908
1908
  O.value = !0, D.value = !1, k.value = !1, A.value = !1, N.value = !1, w.value = e;
1909
1909
  }
1910
- function Fr() {
1911
- P.value && Jn(), M.value = !M.value, M.value || (k.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, F.value = void 0, E.value = void 0, Nt.value = void 0, Wt.value = [], z.value = !1, D.value = !1), xe("toggleOpenState", { isOpen: M.value });
1910
+ function Lr() {
1911
+ P.value && Xn(), M.value = !M.value, M.value || (k.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, F.value = void 0, E.value = void 0, Nt.value = void 0, Wt.value = [], z.value = !1, D.value = !1), xe("toggleOpenState", { isOpen: M.value });
1912
1912
  }
1913
- function Ir() {
1914
- P.value && Jn(), xe("saveAnnotations", {
1913
+ function Rr() {
1914
+ P.value && Xn(), xe("saveAnnotations", {
1915
1915
  shapes: L.value,
1916
1916
  lastSelectedShape: F.value
1917
1917
  });
1918
1918
  }
1919
- let Lr = null;
1919
+ let zr = null;
1920
1920
  return de(() => {
1921
- if (Sr.value) {
1921
+ if (wr.value) {
1922
1922
  let e = !1;
1923
- Cr(Sr.value, (t) => {
1923
+ Tr(wr.value, (t) => {
1924
1924
  if (!e && [
1925
1925
  "DIV",
1926
1926
  "svg",
@@ -1932,7 +1932,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1932
1932
  }
1933
1933
  });
1934
1934
  }
1935
- cn.value = (() => {
1935
+ un.value = (() => {
1936
1936
  if (typeof navigator > "u") return !1;
1937
1937
  let e = navigator.userAgentData?.platform ?? "";
1938
1938
  if (e) return /mac|ios/i.test(e);
@@ -1944,12 +1944,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1944
1944
  e.forEach((e) => {
1945
1945
  Xt.value = e.contentRect.width, Zt.value = e.contentRect.height, Jt.value = e.contentRect.height / e.contentRect.width, Kt.value = Jt.value * 1e3;
1946
1946
  });
1947
- }).observe(Yt.value), ln.value = (e) => nr(e), window.addEventListener("keydown", ln.value), q.value = Rn(), q.value.size) {
1948
- let e = q.value.size();
1949
- un.value.undo = e.undo, un.value.redo = e.redo;
1947
+ }).observe(Yt.value), dn.value = (e) => ir(e), window.addEventListener("keydown", dn.value), ln.value = Bn(), ln.value.size) {
1948
+ let e = ln.value.size();
1949
+ fn.value.undo = e.undo, fn.value.redo = e.redo;
1950
1950
  }
1951
- Lr = ye({
1952
- isMacLike: cn,
1951
+ zr = ye({
1952
+ isMacLike: un,
1953
1953
  isSummaryOpen: M,
1954
1954
  isWriting: P,
1955
1955
  isDeleteMode: D,
@@ -1962,45 +1962,45 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
1962
1962
  showCaret: z,
1963
1963
  lastSelectedShape: F,
1964
1964
  shapes: L,
1965
- history: q,
1966
- setShapeTo: Pr,
1967
- undoLastShape: er,
1968
- redoLastShape: tr
1965
+ history: ln,
1966
+ setShapeTo: Ir,
1967
+ undoLastShape: nr,
1968
+ redoLastShape: rr
1969
1969
  });
1970
1970
  }), ue(() => {
1971
- $(), dn.value && cancelAnimationFrame(dn.value), ln.value && window.removeEventListener("keydown", ln.value), Lr && Lr(), window.removeEventListener("keydown", nr);
1971
+ $(), pn.value && cancelAnimationFrame(pn.value), dn.value && window.removeEventListener("keydown", dn.value), zr && zr(), window.removeEventListener("keydown", ir);
1972
1972
  }), ge(L, (e) => {
1973
1973
  e.length === 0 && (F.value = void 0);
1974
1974
  }), ge(N, (e) => {
1975
1975
  if (!e && P.value) {
1976
- Jn();
1976
+ Xn();
1977
1977
  return;
1978
1978
  }
1979
- z.value = !!(e && P.value), z.value && Kn();
1979
+ z.value = !!(e && P.value), z.value && Jn();
1980
1980
  }), (e, t) => (v(), p("div", Se, [m("div", Ce, [
1981
1981
  b(e.$slots, "toggle", le(se({
1982
- toggle: Fr,
1982
+ toggle: Lr,
1983
1983
  isOpen: M.value
1984
1984
  })), () => [oe(te, {
1985
1985
  config: {
1986
1986
  maxHeight: 1e3,
1987
1987
  useCursorPointer: Y.value,
1988
1988
  head: {
1989
- backgroundColor: J.value.style.backgroundColor,
1990
- color: J.value.style.color,
1991
- iconColor: J.value.style.color,
1989
+ backgroundColor: J.value.backgroundColor,
1990
+ color: J.value.color,
1991
+ iconColor: J.value.color,
1992
1992
  iconSize: 20,
1993
1993
  icon: M.value ? "close" : "annotator",
1994
1994
  padding: "6px"
1995
1995
  },
1996
1996
  body: {
1997
- backgroundColor: J.value.style.backgroundColor,
1998
- color: J.value.style.color
1997
+ backgroundColor: J.value.backgroundColor,
1998
+ color: J.value.color
1999
1999
  }
2000
2000
  },
2001
- onToggle: Fr
2001
+ onToggle: Lr
2002
2002
  }, {
2003
- title: S(({ color: e }) => [m("div", { style: _({ color: e }) }, x(J.value.translations.title), 5)]),
2003
+ title: S(({ color: e }) => [m("div", { style: _({ color: e }) }, x(K.value.translations.title), 5)]),
2004
2004
  content: S(({ backgroundColor: e }) => [m("div", { id: `toggle_default_${kt.value}` }, null, 8, we)]),
2005
2005
  _: 1
2006
2006
  }, 8, ["config"])], !0),
@@ -2015,10 +2015,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2015
2015
  m("button", {
2016
2016
  disabled: L.value.length === 0,
2017
2017
  style: _({
2018
- background: k.value ? J.value.style.buttons.controls.selected.backgroundColor : J.value.style.buttons.controls.backgroundColor,
2019
- border: k.value ? J.value.style.buttons.controls.selected.border : J.value.style.buttons.controls.border,
2020
- color: k.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color,
2021
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2018
+ background: k.value ? q.value.controls.selected.backgroundColor : q.value.controls.backgroundColor,
2019
+ border: k.value ? q.value.controls.selected.border : q.value.controls.border,
2020
+ color: k.value ? q.value.controls.selected.color : q.value.controls.color,
2021
+ borderRadius: `${q.value.borderRadius}px`,
2022
2022
  cursor: Y.value ? "pointer" : "default"
2023
2023
  }),
2024
2024
  class: g({
@@ -2027,24 +2027,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2027
2027
  tooltip: !0
2028
2028
  }),
2029
2029
  onClick: t[0] ||= (e) => {
2030
- Yn(), k.value = !k.value, D.value = !1, O.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1;
2030
+ Zn(), k.value = !k.value, D.value = !1, O.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1;
2031
2031
  },
2032
- onMouseenter: t[1] ||= (e) => J.value.style.showTooltips && Q("move", e, "top"),
2032
+ onMouseenter: t[1] ||= (e) => J.value.showTooltips && Q("move", e, "top"),
2033
2033
  onMouseleave: $,
2034
- onFocus: t[2] ||= (e) => J.value.style.showTooltips && Q("move", e, "top"),
2034
+ onFocus: t[2] ||= (e) => J.value.showTooltips && Q("move", e, "top"),
2035
2035
  onBlur: $
2036
2036
  }, [b(e.$slots, "icon-move", le(se({ active: k.value })), () => [oe(u, {
2037
2037
  name: "move",
2038
- stroke: k.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color
2039
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2038
+ stroke: k.value ? q.value.controls.selected.color : q.value.controls.color
2039
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2040
2040
  key: 0,
2041
- show: W.value && G.value === "move",
2042
- x: K.value.x,
2043
- y: K.value.y - 6,
2041
+ show: U.value && W.value === "move",
2042
+ x: G.value.x,
2043
+ y: G.value.y - 6,
2044
2044
  placement: "top",
2045
2045
  styleObject: X.value
2046
2046
  }, {
2047
- default: S(() => [h(x(J.value.translations.tooltipMove) + " ", 1), t[91] ||= m("kbd", null, "M", -1)]),
2047
+ default: S(() => [h(x(K.value.translations.tooltipMove) + " ", 1), t[91] ||= m("kbd", null, "M", -1)]),
2048
2048
  _: 1
2049
2049
  }, 8, [
2050
2050
  "show",
@@ -2055,10 +2055,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2055
2055
  m("button", {
2056
2056
  disabled: L.value.length === 0,
2057
2057
  style: _({
2058
- background: A.value ? J.value.style.buttons.controls.selected.backgroundColor : J.value.style.buttons.controls.backgroundColor,
2059
- border: A.value ? J.value.style.buttons.controls.selected.border : J.value.style.buttons.controls.border,
2060
- color: A.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color,
2061
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2058
+ background: A.value ? q.value.controls.selected.backgroundColor : q.value.controls.backgroundColor,
2059
+ border: A.value ? q.value.controls.selected.border : q.value.controls.border,
2060
+ color: A.value ? q.value.controls.selected.color : q.value.controls.color,
2061
+ borderRadius: `${q.value.borderRadius}px`,
2062
2062
  cursor: Y.value ? "pointer" : "default"
2063
2063
  }),
2064
2064
  class: g({
@@ -2067,24 +2067,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2067
2067
  tooltip: !0
2068
2068
  }),
2069
2069
  onClick: t[3] ||= (e) => {
2070
- Yn(), A.value = !A.value, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1;
2070
+ Zn(), A.value = !A.value, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1;
2071
2071
  },
2072
- onMouseenter: t[4] ||= (e) => J.value.style.showTooltips && Q("resize", e, "top"),
2072
+ onMouseenter: t[4] ||= (e) => J.value.showTooltips && Q("resize", e, "top"),
2073
2073
  onMouseleave: $,
2074
- onFocus: t[5] ||= (e) => J.value.style.showTooltips && Q("resize", e, "top"),
2074
+ onFocus: t[5] ||= (e) => J.value.showTooltips && Q("resize", e, "top"),
2075
2075
  onBlur: $
2076
2076
  }, [b(e.$slots, "icon-resize", le(se({ active: A.value })), () => [oe(u, {
2077
2077
  name: "resize",
2078
- stroke: A.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color
2079
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2078
+ stroke: A.value ? q.value.controls.selected.color : q.value.controls.color
2079
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2080
2080
  key: 0,
2081
- show: W.value && G.value === "resize",
2082
- x: K.value.x,
2083
- y: K.value.y - 6,
2081
+ show: U.value && W.value === "resize",
2082
+ x: G.value.x,
2083
+ y: G.value.y - 6,
2084
2084
  placement: "top",
2085
2085
  styleObject: X.value
2086
2086
  }, {
2087
- default: S(() => [h(x(J.value.translations.tooltipResize) + " ", 1), t[92] ||= m("kbd", null, "R", -1)]),
2087
+ default: S(() => [h(x(K.value.translations.tooltipResize) + " ", 1), t[92] ||= m("kbd", null, "R", -1)]),
2088
2088
  _: 1
2089
2089
  }, 8, [
2090
2090
  "show",
@@ -2095,10 +2095,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2095
2095
  m("button", {
2096
2096
  disabled: L.value.length === 0,
2097
2097
  style: _({
2098
- background: D.value ? J.value.style.buttons.controls.selected.backgroundColor : J.value.style.buttons.controls.backgroundColor,
2099
- border: D.value ? J.value.style.buttons.controls.selected.border : J.value.style.buttons.controls.border,
2100
- color: D.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color,
2101
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2098
+ background: D.value ? q.value.controls.selected.backgroundColor : q.value.controls.backgroundColor,
2099
+ border: D.value ? q.value.controls.selected.border : q.value.controls.border,
2100
+ color: D.value ? q.value.controls.selected.color : q.value.controls.color,
2101
+ borderRadius: `${q.value.borderRadius}px`,
2102
2102
  cursor: Y.value ? "pointer" : "default"
2103
2103
  }),
2104
2104
  class: g({
@@ -2107,24 +2107,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2107
2107
  tooltip: !0
2108
2108
  }),
2109
2109
  onClick: t[6] ||= (e) => {
2110
- Yn(), D.value = !D.value, k.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1;
2110
+ Zn(), D.value = !D.value, k.value = !1, A.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1;
2111
2111
  },
2112
- onMouseenter: t[7] ||= (e) => J.value.style.showTooltips && Q("delete", e, "top"),
2112
+ onMouseenter: t[7] ||= (e) => J.value.showTooltips && Q("delete", e, "top"),
2113
2113
  onMouseleave: $,
2114
- onFocus: t[8] ||= (e) => J.value.style.showTooltips && Q("delete", e, "top"),
2114
+ onFocus: t[8] ||= (e) => J.value.showTooltips && Q("delete", e, "top"),
2115
2115
  onBlur: $
2116
2116
  }, [b(e.$slots, "icon-delete", le(se({ active: D.value })), () => [oe(u, {
2117
2117
  name: "trash",
2118
- stroke: D.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color
2119
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2118
+ stroke: D.value ? q.value.controls.selected.color : q.value.controls.color
2119
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2120
2120
  key: 0,
2121
- show: W.value && G.value === "delete",
2122
- x: K.value.x,
2123
- y: K.value.y - 6,
2121
+ show: U.value && W.value === "delete",
2122
+ x: G.value.x,
2123
+ y: G.value.y - 6,
2124
2124
  placement: "top",
2125
2125
  styleObject: X.value
2126
2126
  }, {
2127
- default: S(() => [h(x(J.value.translations.tooltipDelete) + " ", 1), t[93] ||= m("kbd", null, "D", -1)]),
2127
+ default: S(() => [h(x(K.value.translations.tooltipDelete) + " ", 1), t[93] ||= m("kbd", null, "D", -1)]),
2128
2128
  _: 1
2129
2129
  }, 8, [
2130
2130
  "show",
@@ -2133,12 +2133,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2133
2133
  "styleObject"
2134
2134
  ])) : f("", !0)], 46, ke),
2135
2135
  m("button", {
2136
- disabled: !mn.value,
2136
+ disabled: !gn.value,
2137
2137
  style: _({
2138
- background: j.value ? J.value.style.buttons.controls.selected.backgroundColor : J.value.style.buttons.controls.backgroundColor,
2139
- border: j.value ? J.value.style.buttons.controls.selected.border : J.value.style.buttons.controls.border,
2140
- color: j.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color,
2141
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2138
+ background: j.value ? q.value.controls.selected.backgroundColor : q.value.controls.backgroundColor,
2139
+ border: j.value ? q.value.controls.selected.border : q.value.controls.border,
2140
+ color: j.value ? q.value.controls.selected.color : q.value.controls.color,
2141
+ borderRadius: `${q.value.borderRadius}px`,
2142
2142
  cursor: Y.value ? "pointer" : "default"
2143
2143
  }),
2144
2144
  class: g({
@@ -2147,24 +2147,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2147
2147
  tooltip: !0
2148
2148
  }),
2149
2149
  onClick: t[9] ||= (e) => {
2150
- Yn(), Pr("group"), j.value = !j.value, D.value = !1, k.value = !1, A.value = !1, N.value = !1, P.value = !1, w.value = "group", z.value = !1;
2150
+ Zn(), Ir("group"), j.value = !j.value, D.value = !1, k.value = !1, A.value = !1, N.value = !1, P.value = !1, w.value = "group", z.value = !1;
2151
2151
  },
2152
- onMouseenter: t[10] ||= (e) => J.value.style.showTooltips && Q("selectAndGroup", e, "top"),
2152
+ onMouseenter: t[10] ||= (e) => J.value.showTooltips && Q("selectAndGroup", e, "top"),
2153
2153
  onMouseleave: $,
2154
- onFocus: t[11] ||= (e) => J.value.style.showTooltips && Q("selectAndGroup", e, "top"),
2154
+ onFocus: t[11] ||= (e) => J.value.showTooltips && Q("selectAndGroup", e, "top"),
2155
2155
  onBlur: $
2156
2156
  }, [b(e.$slots, "icon-select-group", le(se({ active: j.value })), () => [oe(u, {
2157
2157
  name: "selectAndGroup",
2158
- stroke: j.value ? J.value.style.buttons.controls.selected.color : J.value.style.buttons.controls.color
2159
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2158
+ stroke: j.value ? q.value.controls.selected.color : q.value.controls.color
2159
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2160
2160
  key: 0,
2161
- show: W.value && G.value === "selectAndGroup",
2162
- x: K.value.x,
2163
- y: K.value.y - 6,
2161
+ show: U.value && W.value === "selectAndGroup",
2162
+ x: G.value.x,
2163
+ y: G.value.y - 6,
2164
2164
  placement: "top",
2165
2165
  styleObject: X.value
2166
2166
  }, {
2167
- default: S(() => [h(x(J.value.translations.tooltipGroup) + " ", 1), t[94] ||= m("kbd", null, "G", -1)]),
2167
+ default: S(() => [h(x(K.value.translations.tooltipGroup) + " ", 1), t[94] ||= m("kbd", null, "G", -1)]),
2168
2168
  _: 1
2169
2169
  }, 8, [
2170
2170
  "show",
@@ -2175,10 +2175,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2175
2175
  m("button", {
2176
2176
  disabled: L.value.length === 0,
2177
2177
  style: _({
2178
- background: J.value.style.buttons.controls.backgroundColor,
2179
- border: J.value.style.buttons.controls.border,
2180
- color: J.value.style.buttons.controls.color,
2181
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2178
+ background: q.value.controls.backgroundColor,
2179
+ border: q.value.controls.border,
2180
+ color: q.value.controls.color,
2181
+ borderRadius: `${q.value.borderRadius}px`,
2182
2182
  cursor: Y.value ? "pointer" : "default"
2183
2183
  }),
2184
2184
  class: g({
@@ -2186,24 +2186,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2186
2186
  tooltip: !0
2187
2187
  }),
2188
2188
  onClick: t[12] ||= (e) => {
2189
- A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Hn("front");
2189
+ A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Wn("front");
2190
2190
  },
2191
- onMouseenter: t[13] ||= (e) => J.value.style.showTooltips && Q("bringToFront", e, "top"),
2191
+ onMouseenter: t[13] ||= (e) => J.value.showTooltips && Q("bringToFront", e, "top"),
2192
2192
  onMouseleave: $,
2193
- onFocus: t[14] ||= (e) => J.value.style.showTooltips && Q("bringToFront", e, "top"),
2193
+ onFocus: t[14] ||= (e) => J.value.showTooltips && Q("bringToFront", e, "top"),
2194
2194
  onBlur: $
2195
2195
  }, [b(e.$slots, "icon-bring-to-front", {}, () => [oe(u, {
2196
2196
  name: "bringToFront",
2197
- stroke: J.value.style.buttons.controls.color
2198
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2197
+ stroke: q.value.controls.color
2198
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2199
2199
  key: 0,
2200
- show: W.value && G.value === "bringToFront",
2201
- x: K.value.x,
2202
- y: K.value.y - 6,
2200
+ show: U.value && W.value === "bringToFront",
2201
+ x: G.value.x,
2202
+ y: G.value.y - 6,
2203
2203
  placement: "top",
2204
2204
  styleObject: X.value
2205
2205
  }, {
2206
- default: S(() => [h(x(J.value.translations.tooltipBringToFront), 1)]),
2206
+ default: S(() => [h(x(K.value.translations.tooltipBringToFront), 1)]),
2207
2207
  _: 1
2208
2208
  }, 8, [
2209
2209
  "show",
@@ -2214,10 +2214,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2214
2214
  m("button", {
2215
2215
  disabled: L.value.length === 0,
2216
2216
  style: _({
2217
- background: J.value.style.buttons.controls.backgroundColor,
2218
- border: J.value.style.buttons.controls.border,
2219
- color: J.value.style.buttons.controls.color,
2220
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2217
+ background: q.value.controls.backgroundColor,
2218
+ border: q.value.controls.border,
2219
+ color: q.value.controls.color,
2220
+ borderRadius: `${q.value.borderRadius}px`,
2221
2221
  cursor: Y.value ? "pointer" : "default"
2222
2222
  }),
2223
2223
  class: g({
@@ -2225,24 +2225,24 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2225
2225
  tooltip: !0
2226
2226
  }),
2227
2227
  onClick: t[15] ||= (e) => {
2228
- A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Hn("back");
2228
+ A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Wn("back");
2229
2229
  },
2230
- onMouseenter: t[16] ||= (e) => J.value.style.showTooltips && Q("bringToBack", e, "top"),
2230
+ onMouseenter: t[16] ||= (e) => J.value.showTooltips && Q("bringToBack", e, "top"),
2231
2231
  onMouseleave: $,
2232
- onFocus: t[17] ||= (e) => J.value.style.showTooltips && Q("bringToBack", e, "top"),
2232
+ onFocus: t[17] ||= (e) => J.value.showTooltips && Q("bringToBack", e, "top"),
2233
2233
  onBlur: $
2234
2234
  }, [b(e.$slots, "icon-bring-to-back", {}, () => [oe(u, {
2235
2235
  name: "bringToBack",
2236
- stroke: J.value.style.buttons.controls.color
2237
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2236
+ stroke: q.value.controls.color
2237
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2238
2238
  key: 0,
2239
- show: W.value && G.value === "bringToBack",
2240
- x: K.value.x,
2241
- y: K.value.y - 6,
2239
+ show: U.value && W.value === "bringToBack",
2240
+ x: G.value.x,
2241
+ y: G.value.y - 6,
2242
2242
  placement: "top",
2243
2243
  styleObject: X.value
2244
2244
  }, {
2245
- default: S(() => [h(x(J.value.translations.tooltipBringToBack), 1)]),
2245
+ default: S(() => [h(x(K.value.translations.tooltipBringToBack), 1)]),
2246
2246
  _: 1
2247
2247
  }, 8, [
2248
2248
  "show",
@@ -2253,10 +2253,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2253
2253
  m("button", {
2254
2254
  disabled: L.value.length === 0 || w.value === "line",
2255
2255
  style: _({
2256
- background: J.value.style.buttons.controls.backgroundColor,
2257
- border: J.value.style.buttons.controls.border,
2258
- color: J.value.style.buttons.controls.color,
2259
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2256
+ background: q.value.controls.backgroundColor,
2257
+ border: q.value.controls.border,
2258
+ color: q.value.controls.color,
2259
+ borderRadius: `${q.value.borderRadius}px`,
2260
2260
  cursor: Y.value ? "pointer" : "default"
2261
2261
  }),
2262
2262
  class: g({
@@ -2264,25 +2264,25 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2264
2264
  tooltip: !0
2265
2265
  }),
2266
2266
  onClick: t[18] ||= (e) => {
2267
- Yn(), A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Un();
2267
+ Zn(), A.value = !1, k.value = !0, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, z.value = !1, Gn();
2268
2268
  },
2269
- onMouseenter: t[19] ||= (e) => J.value.style.showTooltips && Q("duplicate", e, "top"),
2269
+ onMouseenter: t[19] ||= (e) => J.value.showTooltips && Q("duplicate", e, "top"),
2270
2270
  onMouseleave: $,
2271
- onFocus: t[20] ||= (e) => J.value.style.showTooltips && Q("duplicate", e, "top"),
2271
+ onFocus: t[20] ||= (e) => J.value.showTooltips && Q("duplicate", e, "top"),
2272
2272
  onBlur: $
2273
2273
  }, [b(e.$slots, "icon-copy", {}, () => [oe(u, {
2274
2274
  name: "copy",
2275
- stroke: J.value.style.buttons.controls.color,
2275
+ stroke: q.value.controls.color,
2276
2276
  size: 18
2277
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2277
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2278
2278
  key: 0,
2279
- show: W.value && G.value === "duplicate",
2280
- x: K.value.x,
2281
- y: K.value.y - 6,
2279
+ show: U.value && W.value === "duplicate",
2280
+ x: G.value.x,
2281
+ y: G.value.y - 6,
2282
2282
  placement: "top",
2283
2283
  styleObject: X.value
2284
2284
  }, {
2285
- default: S(() => [h(x(J.value.translations.tooltipDuplicate), 1)]),
2285
+ default: S(() => [h(x(K.value.translations.tooltipDuplicate), 1)]),
2286
2286
  _: 1
2287
2287
  }, 8, [
2288
2288
  "show",
@@ -2291,12 +2291,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2291
2291
  "styleObject"
2292
2292
  ])) : f("", !0)], 44, Ne),
2293
2293
  m("button", {
2294
- disabled: un.value.undo === 0,
2294
+ disabled: fn.value.undo === 0,
2295
2295
  style: _({
2296
- background: J.value.style.buttons.controls.backgroundColor,
2297
- border: J.value.style.buttons.controls.border,
2298
- color: J.value.style.buttons.controls.color,
2299
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2296
+ background: q.value.controls.backgroundColor,
2297
+ border: q.value.controls.border,
2298
+ color: q.value.controls.color,
2299
+ borderRadius: `${q.value.borderRadius}px`,
2300
2300
  cursor: Y.value ? "pointer" : "default"
2301
2301
  }),
2302
2302
  class: g({
@@ -2305,27 +2305,27 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2305
2305
  tooltip: !0
2306
2306
  }),
2307
2307
  onClick: t[21] ||= (e) => {
2308
- A.value = !1, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1, er();
2308
+ A.value = !1, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1, nr();
2309
2309
  },
2310
- onMouseenter: t[22] ||= (e) => J.value.style.showTooltips && Q("undoLast", e, "top"),
2310
+ onMouseenter: t[22] ||= (e) => J.value.showTooltips && Q("undoLast", e, "top"),
2311
2311
  onMouseleave: $,
2312
- onFocus: t[23] ||= (e) => J.value.style.showTooltips && Q("undoLast", e, "top"),
2312
+ onFocus: t[23] ||= (e) => J.value.showTooltips && Q("undoLast", e, "top"),
2313
2313
  onBlur: $
2314
2314
  }, [b(e.$slots, "icon-undo", {}, () => [oe(u, {
2315
2315
  name: "refresh",
2316
- stroke: J.value.style.buttons.controls.color,
2316
+ stroke: q.value.controls.color,
2317
2317
  size: 20
2318
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2318
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2319
2319
  key: 0,
2320
- show: W.value && G.value === "undoLast",
2321
- x: K.value.x,
2322
- y: K.value.y - 6,
2320
+ show: U.value && W.value === "undoLast",
2321
+ x: G.value.x,
2322
+ y: G.value.y - 6,
2323
2323
  placement: "top",
2324
2324
  styleObject: X.value
2325
2325
  }, {
2326
2326
  default: S(() => [
2327
- h(x(J.value.translations.tooltipUndo) + " ", 1),
2328
- m("kbd", null, x(cn.value ? "⌘" : "Ctrl"), 1),
2327
+ h(x(K.value.translations.tooltipUndo) + " ", 1),
2328
+ m("kbd", null, x(un.value ? "⌘" : "Ctrl"), 1),
2329
2329
  t[95] ||= m("kbd", null, "Z", -1)
2330
2330
  ]),
2331
2331
  _: 1
@@ -2336,12 +2336,12 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2336
2336
  "styleObject"
2337
2337
  ])) : f("", !0)], 44, Pe),
2338
2338
  m("button", {
2339
- disabled: un.value.redo === 0,
2339
+ disabled: fn.value.redo === 0,
2340
2340
  style: _({
2341
- background: J.value.style.buttons.controls.backgroundColor,
2342
- border: J.value.style.buttons.controls.border,
2343
- color: J.value.style.buttons.controls.color,
2344
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2341
+ background: q.value.controls.backgroundColor,
2342
+ border: q.value.controls.border,
2343
+ color: q.value.controls.color,
2344
+ borderRadius: `${q.value.borderRadius}px`,
2345
2345
  cursor: Y.value ? "pointer" : "default"
2346
2346
  }),
2347
2347
  class: g({
@@ -2350,28 +2350,28 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2350
2350
  tooltip: !0
2351
2351
  }),
2352
2352
  onClick: t[24] ||= (e) => {
2353
- A.value = !1, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1, tr();
2353
+ A.value = !1, k.value = !1, D.value = !1, O.value = !1, j.value = !1, N.value = !1, P.value = !1, w.value = void 0, z.value = !1, rr();
2354
2354
  },
2355
- onMouseenter: t[25] ||= (e) => J.value.style.showTooltips && Q("redoLast", e, "top"),
2355
+ onMouseenter: t[25] ||= (e) => J.value.showTooltips && Q("redoLast", e, "top"),
2356
2356
  onMouseleave: $,
2357
- onFocus: t[26] ||= (e) => J.value.style.showTooltips && Q("redoLast", e, "top"),
2357
+ onFocus: t[26] ||= (e) => J.value.showTooltips && Q("redoLast", e, "top"),
2358
2358
  onBlur: $
2359
2359
  }, [b(e.$slots, "icon-redo", {}, () => [oe(u, {
2360
2360
  name: "refresh",
2361
- stroke: J.value.style.buttons.controls.color,
2361
+ stroke: q.value.controls.color,
2362
2362
  size: 20,
2363
2363
  style: { transform: "rotateX(0deg) rotateY(180deg)" }
2364
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2364
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2365
2365
  key: 0,
2366
- show: W.value && G.value === "redoLast",
2367
- x: K.value.x,
2368
- y: K.value.y - 6,
2366
+ show: U.value && W.value === "redoLast",
2367
+ x: G.value.x,
2368
+ y: G.value.y - 6,
2369
2369
  placement: "top",
2370
2370
  styleObject: X.value
2371
2371
  }, {
2372
2372
  default: S(() => [
2373
- h(x(J.value.translations.tooltipRedo) + " ", 1),
2374
- m("kbd", null, x(cn.value ? "⌘" : "Ctrl"), 1),
2373
+ h(x(K.value.translations.tooltipRedo) + " ", 1),
2374
+ m("kbd", null, x(un.value ? "⌘" : "Ctrl"), 1),
2375
2375
  t[96] ||= m("kbd", null, "Y", -1)
2376
2376
  ]),
2377
2377
  _: 1
@@ -2381,36 +2381,36 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2381
2381
  "y",
2382
2382
  "styleObject"
2383
2383
  ])) : f("", !0)], 44, Fe),
2384
- J.value.style.showPrint ? (v(), p("button", {
2384
+ J.value.showPrint ? (v(), p("button", {
2385
2385
  key: 0,
2386
2386
  style: _({
2387
- background: J.value.style.buttons.controls.backgroundColor,
2388
- border: J.value.style.buttons.controls.border,
2389
- color: J.value.style.buttons.controls.color,
2390
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2387
+ background: q.value.controls.backgroundColor,
2388
+ border: q.value.controls.border,
2389
+ color: q.value.controls.color,
2390
+ borderRadius: `${q.value.borderRadius}px`,
2391
2391
  cursor: Y.value ? "pointer" : "default"
2392
2392
  }),
2393
2393
  class: g({
2394
2394
  "button-tool": !0,
2395
2395
  tooltip: !0
2396
2396
  }),
2397
- onClick: wr,
2398
- onMouseenter: t[27] ||= (e) => J.value.style.showTooltips && Q("printPdf", e, "top"),
2397
+ onClick: Er,
2398
+ onMouseenter: t[27] ||= (e) => J.value.showTooltips && Q("printPdf", e, "top"),
2399
2399
  onMouseleave: $,
2400
- onFocus: t[28] ||= (e) => J.value.style.showTooltips && Q("printPdf", e, "top"),
2400
+ onFocus: t[28] ||= (e) => J.value.showTooltips && Q("printPdf", e, "top"),
2401
2401
  onBlur: $
2402
2402
  }, [b(e.$slots, "icon-print", {}, () => [oe(u, {
2403
2403
  name: "printer",
2404
- stroke: J.value.style.buttons.controls.color
2405
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2404
+ stroke: q.value.controls.color
2405
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2406
2406
  key: 0,
2407
- show: W.value && G.value === "printPdf",
2408
- x: K.value.x,
2409
- y: K.value.y - 6,
2407
+ show: U.value && W.value === "printPdf",
2408
+ x: G.value.x,
2409
+ y: G.value.y - 6,
2410
2410
  placement: "top",
2411
2411
  styleObject: X.value
2412
2412
  }, {
2413
- default: S(() => [h(x(J.value.translations.tooltipPdf), 1)]),
2413
+ default: S(() => [h(x(K.value.translations.tooltipPdf), 1)]),
2414
2414
  _: 1
2415
2415
  }, 8, [
2416
2416
  "show",
@@ -2418,13 +2418,13 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2418
2418
  "y",
2419
2419
  "styleObject"
2420
2420
  ])) : f("", !0)], 36)) : f("", !0),
2421
- J.value.style.showImage ? (v(), p("button", {
2421
+ J.value.showImage ? (v(), p("button", {
2422
2422
  key: 1,
2423
2423
  style: _({
2424
- background: J.value.style.buttons.controls.backgroundColor,
2425
- border: J.value.style.buttons.controls.border,
2426
- color: J.value.style.buttons.controls.color,
2427
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2424
+ background: q.value.controls.backgroundColor,
2425
+ border: q.value.controls.border,
2426
+ color: q.value.controls.color,
2427
+ borderRadius: `${q.value.borderRadius}px`,
2428
2428
  cursor: Y.value ? "pointer" : "default"
2429
2429
  }),
2430
2430
  class: g({
@@ -2432,23 +2432,23 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2432
2432
  tooltip: !0
2433
2433
  }),
2434
2434
  onClick: t[29] ||= (...e) => pe(jt) && pe(jt)(...e),
2435
- onMouseenter: t[30] ||= (e) => J.value.style.showTooltips && Q("printImage", e, "top"),
2435
+ onMouseenter: t[30] ||= (e) => J.value.showTooltips && Q("printImage", e, "top"),
2436
2436
  onMouseleave: $,
2437
- onFocus: t[31] ||= (e) => J.value.style.showTooltips && Q("printImage", e, "top"),
2437
+ onFocus: t[31] ||= (e) => J.value.showTooltips && Q("printImage", e, "top"),
2438
2438
  onBlur: $
2439
2439
  }, [b(e.$slots, "icon-export-image", {}, () => [oe(u, {
2440
2440
  name: "image",
2441
- stroke: J.value.style.buttons.controls.color,
2441
+ stroke: q.value.controls.color,
2442
2442
  size: 20
2443
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2443
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2444
2444
  key: 0,
2445
- show: W.value && G.value === "printImage",
2446
- x: K.value.x,
2447
- y: K.value.y - 6,
2445
+ show: U.value && W.value === "printImage",
2446
+ x: G.value.x,
2447
+ y: G.value.y - 6,
2448
2448
  placement: "top",
2449
2449
  styleObject: X.value
2450
2450
  }, {
2451
- default: S(() => [h(x(J.value.translations.tooltipImage), 1)]),
2451
+ default: S(() => [h(x(K.value.translations.tooltipImage), 1)]),
2452
2452
  _: 1
2453
2453
  }, 8, [
2454
2454
  "show",
@@ -2456,36 +2456,36 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2456
2456
  "y",
2457
2457
  "styleObject"
2458
2458
  ])) : f("", !0)], 36)) : f("", !0),
2459
- J.value.style.showSave ? (v(), p("button", {
2459
+ J.value.showSave ? (v(), p("button", {
2460
2460
  key: 2,
2461
2461
  style: _({
2462
- background: J.value.style.buttons.controls.backgroundColor,
2463
- border: J.value.style.buttons.controls.border,
2464
- color: J.value.style.buttons.controls.color,
2465
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2462
+ background: q.value.controls.backgroundColor,
2463
+ border: q.value.controls.border,
2464
+ color: q.value.controls.color,
2465
+ borderRadius: `${q.value.borderRadius}px`,
2466
2466
  cursor: Y.value ? "pointer" : "default"
2467
2467
  }),
2468
2468
  class: g({
2469
2469
  "button-tool": !0,
2470
2470
  tooltip: !0
2471
2471
  }),
2472
- onClick: Ir,
2473
- onMouseenter: t[32] ||= (e) => J.value.style.showTooltips && Q("saveAction", e, "top"),
2472
+ onClick: Rr,
2473
+ onMouseenter: t[32] ||= (e) => J.value.showTooltips && Q("saveAction", e, "top"),
2474
2474
  onMouseleave: $,
2475
- onFocus: t[33] ||= (e) => J.value.style.showTooltips && Q("saveAction", e, "top"),
2475
+ onFocus: t[33] ||= (e) => J.value.showTooltips && Q("saveAction", e, "top"),
2476
2476
  onBlur: $
2477
2477
  }, [b(e.$slots, "icon-save", {}, () => [oe(u, {
2478
2478
  name: "save",
2479
- stroke: J.value.style.buttons.controls.color
2480
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2479
+ stroke: q.value.controls.color
2480
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2481
2481
  key: 0,
2482
- show: W.value && G.value === "saveAction",
2483
- x: K.value.x,
2484
- y: K.value.y - 6,
2482
+ show: U.value && W.value === "saveAction",
2483
+ x: G.value.x,
2484
+ y: G.value.y - 6,
2485
2485
  placement: "top",
2486
2486
  styleObject: X.value
2487
2487
  }, {
2488
- default: S(() => [h(x(J.value.translations.tooltipSave), 1)]),
2488
+ default: S(() => [h(x(K.value.translations.tooltipSave), 1)]),
2489
2489
  _: 1
2490
2490
  }, 8, [
2491
2491
  "show",
@@ -2501,34 +2501,34 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2501
2501
  tooltip: !0
2502
2502
  }),
2503
2503
  style: _({
2504
- background: w.value === "circle" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2505
- border: w.value === "circle" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2506
- color: w.value === "circle" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2507
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2504
+ background: w.value === "circle" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2505
+ border: w.value === "circle" ? q.value.shapes.selected.border : q.value.shapes.border,
2506
+ color: w.value === "circle" ? q.value.shapes.selected.color : q.value.shapes.color,
2507
+ borderRadius: `${q.value.borderRadius}px`,
2508
2508
  cursor: Y.value ? "pointer" : "default"
2509
2509
  }),
2510
2510
  onClick: t[34] ||= (e) => {
2511
- Pr("circle"), j.value = !1;
2511
+ Ir("circle"), j.value = !1;
2512
2512
  },
2513
- onMouseenter: t[35] ||= (e) => J.value.style.showTooltips && Q("setCircle", e, "top"),
2513
+ onMouseenter: t[35] ||= (e) => J.value.showTooltips && Q("setCircle", e, "top"),
2514
2514
  onMouseleave: $,
2515
- onFocus: t[36] ||= (e) => J.value.style.showTooltips && Q("setCircle", e, "top"),
2515
+ onFocus: t[36] ||= (e) => J.value.showTooltips && Q("setCircle", e, "top"),
2516
2516
  onBlur: $
2517
2517
  }, [b(e.$slots, "icon-circle", le(se({ filled: R.value.circle.filled })), () => [(v(), p("svg", Le, [m("circle", {
2518
2518
  cx: 6,
2519
2519
  cy: 6,
2520
2520
  r: "4",
2521
- fill: R.value.circle.filled ? (w.value, pn.value + hn.value) : "none",
2521
+ fill: R.value.circle.filled ? (w.value, hn.value + _n.value) : "none",
2522
2522
  stroke: "currentColor"
2523
- }, null, 8, Re)]))], !0), J.value.style.showTooltips ? (v(), d(C, {
2523
+ }, null, 8, Re)]))], !0), J.value.showTooltips ? (v(), d(C, {
2524
2524
  key: 0,
2525
- show: W.value && G.value === "setCircle",
2526
- x: K.value.x,
2527
- y: K.value.y - 6,
2525
+ show: U.value && W.value === "setCircle",
2526
+ x: G.value.x,
2527
+ y: G.value.y - 6,
2528
2528
  placement: "top",
2529
2529
  styleObject: X.value
2530
2530
  }, {
2531
- default: S(() => [h(x(J.value.translations.tooltipShapeCircle) + " ", 1), t[97] ||= m("kbd", null, "C", -1)]),
2531
+ default: S(() => [h(x(K.value.translations.tooltipShapeCircle) + " ", 1), t[97] ||= m("kbd", null, "C", -1)]),
2532
2532
  _: 1
2533
2533
  }, 8, [
2534
2534
  "show",
@@ -2536,16 +2536,16 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2536
2536
  "y",
2537
2537
  "styleObject"
2538
2538
  ])) : f("", !0)], 38),
2539
- w.value === "circle" ? (v(), p("div", ze, [m("label", Be, [h(x(J.value.translations.filled) + " ", 1), _e(m("input", {
2539
+ w.value === "circle" ? (v(), p("div", ze, [m("label", Be, [h(x(K.value.translations.filled) + " ", 1), _e(m("input", {
2540
2540
  type: "checkbox",
2541
2541
  "onUpdate:modelValue": t[37] ||= (e) => R.value.circle.filled = e,
2542
- onChange: Dr,
2542
+ onChange: kr,
2543
2543
  checked: R.value.circle.filled,
2544
2544
  style: _({
2545
2545
  all: "revert",
2546
2546
  appearance: "auto",
2547
2547
  "-webkit-appearance": "auto",
2548
- accentColor: J.value.style.color + " !important"
2548
+ accentColor: J.value.color + " !important"
2549
2549
  })
2550
2550
  }, null, 44, Ve), [[me, R.value.circle.filled]])])])) : f("", !0),
2551
2551
  m("button", {
@@ -2555,18 +2555,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2555
2555
  tooltip: !0
2556
2556
  }),
2557
2557
  style: _({
2558
- background: w.value === "rect" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2559
- border: w.value === "rect" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2560
- color: w.value === "rect" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2561
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2558
+ background: w.value === "rect" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2559
+ border: w.value === "rect" ? q.value.shapes.selected.border : q.value.shapes.border,
2560
+ color: w.value === "rect" ? q.value.shapes.selected.color : q.value.shapes.color,
2561
+ borderRadius: `${q.value.borderRadius}px`,
2562
2562
  cursor: Y.value ? "pointer" : "default"
2563
2563
  }),
2564
2564
  onClick: t[38] ||= (e) => {
2565
- Pr("rect"), j.value = !1;
2565
+ Ir("rect"), j.value = !1;
2566
2566
  },
2567
- onMouseenter: t[39] ||= (e) => J.value.style.showTooltips && Q("setRect", e, "top"),
2567
+ onMouseenter: t[39] ||= (e) => J.value.showTooltips && Q("setRect", e, "top"),
2568
2568
  onMouseleave: $,
2569
- onFocus: t[40] ||= (e) => J.value.style.showTooltips && Q("setRect", e, "top"),
2569
+ onFocus: t[40] ||= (e) => J.value.showTooltips && Q("setRect", e, "top"),
2570
2570
  onBlur: $
2571
2571
  }, [b(e.$slots, "icon-rect", le(se({ filled: R.value.rect.filled })), () => [(v(), p("svg", He, [m("rect", {
2572
2572
  x: "3",
@@ -2577,17 +2577,17 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2577
2577
  },
2578
2578
  height: "6",
2579
2579
  width: "6",
2580
- fill: R.value.rect.filled ? (w.value, pn.value + hn.value) : "none",
2580
+ fill: R.value.rect.filled ? (w.value, hn.value + _n.value) : "none",
2581
2581
  stroke: "currentColor"
2582
- }, null, 8, Ue)]))], !0), J.value.style.showTooltips ? (v(), d(C, {
2582
+ }, null, 8, Ue)]))], !0), J.value.showTooltips ? (v(), d(C, {
2583
2583
  key: 0,
2584
- show: W.value && G.value === "setRect",
2585
- x: K.value.x,
2586
- y: K.value.y - 6,
2584
+ show: U.value && W.value === "setRect",
2585
+ x: G.value.x,
2586
+ y: G.value.y - 6,
2587
2587
  placement: "top",
2588
2588
  styleObject: X.value
2589
2589
  }, {
2590
- default: S(() => [h(x(J.value.translations.tooltipShapeRect) + " ", 1), t[98] ||= m("kbd", null, "S", -1)]),
2590
+ default: S(() => [h(x(K.value.translations.tooltipShapeRect) + " ", 1), t[98] ||= m("kbd", null, "S", -1)]),
2591
2591
  _: 1
2592
2592
  }, 8, [
2593
2593
  "show",
@@ -2595,16 +2595,16 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2595
2595
  "y",
2596
2596
  "styleObject"
2597
2597
  ])) : f("", !0)], 38),
2598
- w.value === "rect" ? (v(), p("div", We, [m("label", Ge, [h(x(J.value.translations.filled) + " ", 1), _e(m("input", {
2598
+ w.value === "rect" ? (v(), p("div", We, [m("label", Ge, [h(x(K.value.translations.filled) + " ", 1), _e(m("input", {
2599
2599
  type: "checkbox",
2600
2600
  "onUpdate:modelValue": t[41] ||= (e) => R.value.rect.filled = e,
2601
- onChange: Er,
2601
+ onChange: Or,
2602
2602
  checked: R.value.rect.filled,
2603
2603
  style: _({
2604
2604
  all: "revert",
2605
2605
  appearance: "auto",
2606
2606
  "-webkit-appearance": "auto",
2607
- accentColor: J.value.style.color + " !important"
2607
+ accentColor: J.value.color + " !important"
2608
2608
  })
2609
2609
  }, null, 44, Ke), [[me, R.value.rect.filled]])])])) : f("", !0),
2610
2610
  m("button", {
@@ -2614,18 +2614,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2614
2614
  tooltip: !0
2615
2615
  }),
2616
2616
  style: _({
2617
- background: w.value === "arrow" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2618
- border: w.value === "arrow" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2619
- color: w.value === "arrow" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2620
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2617
+ background: w.value === "arrow" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2618
+ border: w.value === "arrow" ? q.value.shapes.selected.border : q.value.shapes.border,
2619
+ color: w.value === "arrow" ? q.value.shapes.selected.color : q.value.shapes.color,
2620
+ borderRadius: `${q.value.borderRadius}px`,
2621
2621
  cursor: Y.value ? "pointer" : "default"
2622
2622
  }),
2623
2623
  onClick: t[42] ||= (e) => {
2624
- Pr("arrow"), j.value = !1;
2624
+ Ir("arrow"), j.value = !1;
2625
2625
  },
2626
- onMouseenter: t[43] ||= (e) => J.value.style.showTooltips && Q("setArrow", e, "top"),
2626
+ onMouseenter: t[43] ||= (e) => J.value.showTooltips && Q("setArrow", e, "top"),
2627
2627
  onMouseleave: $,
2628
- onFocus: t[44] ||= (e) => J.value.style.showTooltips && Q("setArrow", e, "top"),
2628
+ onFocus: t[44] ||= (e) => J.value.showTooltips && Q("setArrow", e, "top"),
2629
2629
  onBlur: $
2630
2630
  }, [b(e.$slots, "icon-arrow", {}, () => [(v(), p("svg", qe, [m("path", {
2631
2631
  stroke: R.value.arrow.filled ? w.value === "arrow" ? "white" : "grey" : "none",
@@ -2634,15 +2634,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2634
2634
  fill: "none",
2635
2635
  "stroke-linecap": "round",
2636
2636
  "stroke-linejoin": "round"
2637
- }, null, 8, Je)]))], !0), J.value.style.showTooltips ? (v(), d(C, {
2637
+ }, null, 8, Je)]))], !0), J.value.showTooltips ? (v(), d(C, {
2638
2638
  key: 0,
2639
- show: W.value && G.value === "setArrow",
2640
- x: K.value.x,
2641
- y: K.value.y - 6,
2639
+ show: U.value && W.value === "setArrow",
2640
+ x: G.value.x,
2641
+ y: G.value.y - 6,
2642
2642
  placement: "top",
2643
2643
  styleObject: X.value
2644
2644
  }, {
2645
- default: S(() => [h(x(J.value.translations.tooltipShapeArrow) + " ", 1), t[99] ||= m("kbd", null, "A", -1)]),
2645
+ default: S(() => [h(x(K.value.translations.tooltipShapeArrow) + " ", 1), t[99] ||= m("kbd", null, "A", -1)]),
2646
2646
  _: 1
2647
2647
  }, 8, [
2648
2648
  "show",
@@ -2657,18 +2657,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2657
2657
  tooltip: !0
2658
2658
  }),
2659
2659
  style: _({
2660
- background: w.value === "line" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2661
- border: w.value === "line" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2662
- color: w.value === "line" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2663
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2660
+ background: w.value === "line" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2661
+ border: w.value === "line" ? q.value.shapes.selected.border : q.value.shapes.border,
2662
+ color: w.value === "line" ? q.value.shapes.selected.color : q.value.shapes.color,
2663
+ borderRadius: `${q.value.borderRadius}px`,
2664
2664
  cursor: Y.value ? "pointer" : "default"
2665
2665
  }),
2666
2666
  onClick: t[45] ||= (e) => {
2667
- Pr("line"), j.value = !1;
2667
+ Ir("line"), j.value = !1;
2668
2668
  },
2669
- onMouseenter: t[46] ||= (e) => J.value.style.showTooltips && Q("setFreehand", e, "top"),
2669
+ onMouseenter: t[46] ||= (e) => J.value.showTooltips && Q("setFreehand", e, "top"),
2670
2670
  onMouseleave: $,
2671
- onFocus: t[47] ||= (e) => J.value.style.showTooltips && Q("setFreehand", e, "top"),
2671
+ onFocus: t[47] ||= (e) => J.value.showTooltips && Q("setFreehand", e, "top"),
2672
2672
  onBlur: $
2673
2673
  }, [b(e.$slots, "icon-freehand", {}, () => [t[100] ||= m("svg", {
2674
2674
  width: "80%",
@@ -2682,15 +2682,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2682
2682
  stroke: "none",
2683
2683
  d: "M0 0h24v24H0z",
2684
2684
  fill: "none"
2685
- }), m("path", { d: "M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5" })], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
2685
+ }), m("path", { d: "M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5" })], -1)], !0), J.value.showTooltips ? (v(), d(C, {
2686
2686
  key: 0,
2687
- show: W.value && G.value === "setFreehand",
2688
- x: K.value.x,
2689
- y: K.value.y - 6,
2687
+ show: U.value && W.value === "setFreehand",
2688
+ x: G.value.x,
2689
+ y: G.value.y - 6,
2690
2690
  placement: "top",
2691
2691
  styleObject: X.value
2692
2692
  }, {
2693
- default: S(() => [h(x(J.value.translations.tooltipShapeFreehand) + " ", 1), t[101] ||= m("kbd", null, "L", -1)]),
2693
+ default: S(() => [h(x(K.value.translations.tooltipShapeFreehand) + " ", 1), t[101] ||= m("kbd", null, "L", -1)]),
2694
2694
  _: 1
2695
2695
  }, 8, [
2696
2696
  "show",
@@ -2703,10 +2703,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2703
2703
  "circle",
2704
2704
  "rect",
2705
2705
  "line"
2706
- ].includes(w.value) ? (v(), p("div", Ye, [m("div", Xe, [m("label", Ze, [h(x(J.value.translations.thickness) + " ", 1), _e(m("input", {
2706
+ ].includes(w.value) ? (v(), p("div", Ye, [m("div", Xe, [m("label", Ze, [h(x(K.value.translations.thickness) + " ", 1), _e(m("input", {
2707
2707
  type: "number",
2708
2708
  "onUpdate:modelValue": t[48] ||= (e) => Mt.value = e,
2709
- onInput: jr,
2709
+ onInput: Nr,
2710
2710
  min: 1,
2711
2711
  style: {
2712
2712
  padding: "0 4px",
@@ -2719,17 +2719,17 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2719
2719
  "arrow",
2720
2720
  "circle",
2721
2721
  "rect"
2722
- ].includes(w.value) ? (v(), p("div", Qe, [m("div", $e, [m("label", et, [h(x(J.value.translations.dashedLines) + " ", 1), _e(m("input", {
2722
+ ].includes(w.value) ? (v(), p("div", Qe, [m("div", $e, [m("label", et, [h(x(K.value.translations.dashedLines) + " ", 1), _e(m("input", {
2723
2723
  name: "dashStyle",
2724
2724
  type: "checkbox",
2725
2725
  "onUpdate:modelValue": t[49] ||= (e) => It.value = e,
2726
- onChange: kr,
2726
+ onChange: jr,
2727
2727
  checked: It.value,
2728
2728
  style: _({
2729
2729
  all: "revert",
2730
2730
  appearance: "auto",
2731
2731
  "-webkit-appearance": "auto",
2732
- accentColor: J.value.style.color + " !important"
2732
+ accentColor: J.value.color + " !important"
2733
2733
  })
2734
2734
  }, null, 44, tt), [[me, It.value]])])])])) : f("", !0),
2735
2735
  m("button", {
@@ -2739,31 +2739,31 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2739
2739
  tooltip: !0
2740
2740
  }),
2741
2741
  style: _({
2742
- background: N.value ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2743
- border: N.value ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2744
- color: N.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2745
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2742
+ background: N.value ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2743
+ border: N.value ? q.value.shapes.selected.border : q.value.shapes.border,
2744
+ color: N.value ? q.value.shapes.selected.color : q.value.shapes.color,
2745
+ borderRadius: `${q.value.borderRadius}px`,
2746
2746
  cursor: Y.value ? "pointer" : "default"
2747
2747
  }),
2748
2748
  onClick: t[50] ||= (e) => {
2749
- Yn(), N.value = !N.value, D.value = !1, k.value = !1, A.value = !1, j.value = !1, O.value = !1, w.value = void 0;
2749
+ Zn(), N.value = !N.value, D.value = !1, k.value = !1, A.value = !1, j.value = !1, O.value = !1, w.value = void 0;
2750
2750
  },
2751
- onMouseenter: t[51] ||= (e) => J.value.style.showTooltips && Q("setText", e, "top"),
2751
+ onMouseenter: t[51] ||= (e) => J.value.showTooltips && Q("setText", e, "top"),
2752
2752
  onMouseleave: $,
2753
- onFocus: t[52] ||= (e) => J.value.style.showTooltips && Q("setText", e, "top"),
2753
+ onFocus: t[52] ||= (e) => J.value.showTooltips && Q("setText", e, "top"),
2754
2754
  onBlur: $
2755
2755
  }, [b(e.$slots, "icon-text", le(se({ active: N.value })), () => [oe(u, {
2756
2756
  name: "text",
2757
- stroke: N.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color
2758
- }, null, 8, ["stroke"])], !0), J.value.style.showTooltips ? (v(), d(C, {
2757
+ stroke: N.value ? q.value.shapes.selected.color : q.value.shapes.color
2758
+ }, null, 8, ["stroke"])], !0), J.value.showTooltips ? (v(), d(C, {
2759
2759
  key: 0,
2760
- show: W.value && G.value === "setText",
2761
- x: K.value.x,
2762
- y: K.value.y - 6,
2760
+ show: U.value && W.value === "setText",
2761
+ x: G.value.x,
2762
+ y: G.value.y - 6,
2763
2763
  placement: "top",
2764
2764
  styleObject: X.value
2765
2765
  }, {
2766
- default: S(() => [h(x(J.value.translations.tooltipShapeText) + " ", 1), t[102] ||= m("kbd", null, "T", -1)]),
2766
+ default: S(() => [h(x(K.value.translations.tooltipShapeText) + " ", 1), t[102] ||= m("kbd", null, "T", -1)]),
2767
2767
  _: 1
2768
2768
  }, 8, [
2769
2769
  "show",
@@ -2771,10 +2771,10 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2771
2771
  "y",
2772
2772
  "styleObject"
2773
2773
  ])) : f("", !0)], 38),
2774
- N.value ? (v(), p("div", nt, [m("div", rt, [m("label", it, [h(x(J.value.translations.fontSize) + " ", 1), _e(m("input", {
2774
+ N.value ? (v(), p("div", nt, [m("div", rt, [m("label", it, [h(x(K.value.translations.fontSize) + " ", 1), _e(m("input", {
2775
2775
  type: "number",
2776
2776
  "onUpdate:modelValue": t[53] ||= (e) => Qt.value = e,
2777
- onInput: Mr,
2777
+ onInput: Pr,
2778
2778
  style: {
2779
2779
  padding: "0 4px",
2780
2780
  width: "40px",
@@ -2789,18 +2789,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2789
2789
  tooltip: !0
2790
2790
  }),
2791
2791
  style: _({
2792
- background: B.value === "start" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2793
- border: B.value === "start" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2794
- color: B.value === "start" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2795
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2792
+ background: B.value === "start" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2793
+ border: B.value === "start" ? q.value.shapes.selected.border : q.value.shapes.border,
2794
+ color: B.value === "start" ? q.value.shapes.selected.color : q.value.shapes.color,
2795
+ borderRadius: `${q.value.borderRadius}px`,
2796
2796
  cursor: Y.value ? "pointer" : "default"
2797
2797
  }),
2798
2798
  onClick: t[54] ||= (e) => {
2799
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "start", $n("start");
2799
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "start", tr("start");
2800
2800
  },
2801
- onMouseenter: t[55] ||= (e) => J.value.style.showTooltips && Q("setAlignStart", e, "top"),
2801
+ onMouseenter: t[55] ||= (e) => J.value.showTooltips && Q("setAlignStart", e, "top"),
2802
2802
  onMouseleave: $,
2803
- onFocus: t[56] ||= (e) => J.value.style.showTooltips && Q("setAlignStart", e, "top"),
2803
+ onFocus: t[56] ||= (e) => J.value.showTooltips && Q("setAlignStart", e, "top"),
2804
2804
  onBlur: $
2805
2805
  }, [b(e.$slots, "icon-text-align-left", {}, () => [t[103] ||= m("svg", {
2806
2806
  width: "80%",
@@ -2819,15 +2819,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2819
2819
  m("path", { d: "M4 6l16 0" }),
2820
2820
  m("path", { d: "M4 12l10 0" }),
2821
2821
  m("path", { d: "M4 18l14 0" })
2822
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
2822
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
2823
2823
  key: 0,
2824
- show: W.value && G.value === "setAlignStart",
2825
- x: K.value.x,
2826
- y: K.value.y - 6,
2824
+ show: U.value && W.value === "setAlignStart",
2825
+ x: G.value.x,
2826
+ y: G.value.y - 6,
2827
2827
  placement: "top",
2828
2828
  styleObject: X.value
2829
2829
  }, {
2830
- default: S(() => [h(x(J.value.translations.tooltipShapeTextLeft), 1)]),
2830
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextLeft), 1)]),
2831
2831
  _: 1
2832
2832
  }, 8, [
2833
2833
  "show",
@@ -2842,19 +2842,19 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2842
2842
  tooltip: !0
2843
2843
  }),
2844
2844
  style: _({
2845
- background: B.value === "middle" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2846
- border: B.value === "middle" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2847
- color: B.value === "middle" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2848
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2845
+ background: B.value === "middle" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2846
+ border: B.value === "middle" ? q.value.shapes.selected.border : q.value.shapes.border,
2847
+ color: B.value === "middle" ? q.value.shapes.selected.color : q.value.shapes.color,
2848
+ borderRadius: `${q.value.borderRadius}px`,
2849
2849
  cursor: Y.value ? "pointer" : "default"
2850
2850
  }),
2851
2851
  disabled: Ft.value,
2852
2852
  onClick: t[57] ||= (e) => {
2853
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "middle", $n("middle");
2853
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "middle", tr("middle");
2854
2854
  },
2855
- onMouseenter: t[58] ||= (e) => J.value.style.showTooltips && Q("setAlignMiddle", e, "top"),
2855
+ onMouseenter: t[58] ||= (e) => J.value.showTooltips && Q("setAlignMiddle", e, "top"),
2856
2856
  onMouseleave: $,
2857
- onFocus: t[59] ||= (e) => J.value.style.showTooltips && Q("setAlignMiddle", e, "top"),
2857
+ onFocus: t[59] ||= (e) => J.value.showTooltips && Q("setAlignMiddle", e, "top"),
2858
2858
  onBlur: $
2859
2859
  }, [b(e.$slots, "icon-text-align-center", {}, () => [t[104] ||= m("svg", {
2860
2860
  width: "80%",
@@ -2873,15 +2873,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2873
2873
  m("path", { d: "M4 6l16 0" }),
2874
2874
  m("path", { d: "M8 12l8 0" }),
2875
2875
  m("path", { d: "M6 18l12 0" })
2876
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
2876
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
2877
2877
  key: 0,
2878
- show: W.value && G.value === "setAlignMiddle",
2879
- x: K.value.x,
2880
- y: K.value.y - 6,
2878
+ show: U.value && W.value === "setAlignMiddle",
2879
+ x: G.value.x,
2880
+ y: G.value.y - 6,
2881
2881
  placement: "top",
2882
2882
  styleObject: X.value
2883
2883
  }, {
2884
- default: S(() => [h(x(J.value.translations.tooltipShapeTextCenter), 1)]),
2884
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextCenter), 1)]),
2885
2885
  _: 1
2886
2886
  }, 8, [
2887
2887
  "show",
@@ -2896,19 +2896,19 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2896
2896
  tooltip: !0
2897
2897
  }),
2898
2898
  style: _({
2899
- background: B.value === "end" ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2900
- border: B.value === "end" ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2901
- color: B.value === "end" ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2902
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2899
+ background: B.value === "end" ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2900
+ border: B.value === "end" ? q.value.shapes.selected.border : q.value.shapes.border,
2901
+ color: B.value === "end" ? q.value.shapes.selected.color : q.value.shapes.color,
2902
+ borderRadius: `${q.value.borderRadius}px`,
2903
2903
  cursor: Y.value ? "pointer" : "default"
2904
2904
  }),
2905
2905
  disabled: Ft.value,
2906
2906
  onClick: t[60] ||= (e) => {
2907
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "end", $n("end");
2907
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, B.value = "end", tr("end");
2908
2908
  },
2909
- onMouseenter: t[61] ||= (e) => J.value.style.showTooltips && Q("setAlignEnd", e, "top"),
2909
+ onMouseenter: t[61] ||= (e) => J.value.showTooltips && Q("setAlignEnd", e, "top"),
2910
2910
  onMouseleave: $,
2911
- onFocus: t[62] ||= (e) => J.value.style.showTooltips && Q("setAlignEnd", e, "top"),
2911
+ onFocus: t[62] ||= (e) => J.value.showTooltips && Q("setAlignEnd", e, "top"),
2912
2912
  onBlur: $
2913
2913
  }, [b(e.$slots, "icon-text-align-right", {}, () => [t[105] ||= m("svg", {
2914
2914
  width: "80%",
@@ -2927,15 +2927,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2927
2927
  m("path", { d: "M4 6l16 0" }),
2928
2928
  m("path", { d: "M10 12l10 0" }),
2929
2929
  m("path", { d: "M6 18l14 0" })
2930
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
2930
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
2931
2931
  key: 0,
2932
- show: W.value && G.value === "setAlignEnd",
2933
- x: K.value.x,
2934
- y: K.value.y - 6,
2932
+ show: U.value && W.value === "setAlignEnd",
2933
+ x: G.value.x,
2934
+ y: G.value.y - 6,
2935
2935
  placement: "top",
2936
2936
  styleObject: X.value
2937
2937
  }, {
2938
- default: S(() => [h(x(J.value.translations.tooltipShapeTextRight), 1)]),
2938
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextRight), 1)]),
2939
2939
  _: 1
2940
2940
  }, 8, [
2941
2941
  "show",
@@ -2950,18 +2950,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2950
2950
  tooltip: !0
2951
2951
  }),
2952
2952
  style: _({
2953
- background: Ft.value ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
2954
- border: Ft.value ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
2955
- color: Ft.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
2956
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
2953
+ background: Ft.value ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
2954
+ border: Ft.value ? q.value.shapes.selected.border : q.value.shapes.border,
2955
+ color: Ft.value ? q.value.shapes.selected.color : q.value.shapes.color,
2956
+ borderRadius: `${q.value.borderRadius}px`,
2957
2957
  cursor: Y.value ? "pointer" : "default"
2958
2958
  }),
2959
2959
  onClick: t[63] ||= (e) => {
2960
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Ft.value = !Ft.value, B.value = "start", $n("start"), Mr();
2960
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Ft.value = !Ft.value, B.value = "start", tr("start"), Pr();
2961
2961
  },
2962
- onMouseenter: t[64] ||= (e) => J.value.style.showTooltips && Q("setBulletMode", e, "top"),
2962
+ onMouseenter: t[64] ||= (e) => J.value.showTooltips && Q("setBulletMode", e, "top"),
2963
2963
  onMouseleave: $,
2964
- onFocus: t[65] ||= (e) => J.value.style.showTooltips && Q("setBulletMode", e, "top"),
2964
+ onFocus: t[65] ||= (e) => J.value.showTooltips && Q("setBulletMode", e, "top"),
2965
2965
  onBlur: $
2966
2966
  }, [b(e.$slots, "icon-text-bullet-points", {}, () => [t[106] ||= m("svg", {
2967
2967
  width: "100%",
@@ -2983,15 +2983,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
2983
2983
  m("path", { d: "M5 6l0 .01" }),
2984
2984
  m("path", { d: "M5 12l0 .01" }),
2985
2985
  m("path", { d: "M5 18l0 .01" })
2986
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
2986
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
2987
2987
  key: 0,
2988
- show: W.value && G.value === "setBulletMode",
2989
- x: K.value.x,
2990
- y: K.value.y - 6,
2988
+ show: U.value && W.value === "setBulletMode",
2989
+ x: G.value.x,
2990
+ y: G.value.y - 6,
2991
2991
  placement: "top",
2992
2992
  styleObject: X.value
2993
2993
  }, {
2994
- default: S(() => [h(x(J.value.translations.tooltipShapeTextBullet), 1)]),
2994
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextBullet), 1)]),
2995
2995
  _: 1
2996
2996
  }, 8, [
2997
2997
  "show",
@@ -3006,18 +3006,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3006
3006
  tooltip: !0
3007
3007
  }),
3008
3008
  style: _({
3009
- background: Pt.value ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
3010
- border: Pt.value ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
3011
- color: Pt.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
3012
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
3009
+ background: Pt.value ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
3010
+ border: Pt.value ? q.value.shapes.selected.border : q.value.shapes.border,
3011
+ color: Pt.value ? q.value.shapes.selected.color : q.value.shapes.color,
3012
+ borderRadius: `${q.value.borderRadius}px`,
3013
3013
  cursor: Y.value ? "pointer" : "default"
3014
3014
  }),
3015
3015
  onClick: t[66] ||= (e) => {
3016
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Pt.value = !Pt.value, Mr();
3016
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Pt.value = !Pt.value, Pr();
3017
3017
  },
3018
- onMouseenter: t[67] ||= (e) => J.value.style.showTooltips && Q("setBold", e, "top"),
3018
+ onMouseenter: t[67] ||= (e) => J.value.showTooltips && Q("setBold", e, "top"),
3019
3019
  onMouseleave: $,
3020
- onFocus: t[68] ||= (e) => J.value.style.showTooltips && Q("setBold", e, "top"),
3020
+ onFocus: t[68] ||= (e) => J.value.showTooltips && Q("setBold", e, "top"),
3021
3021
  onBlur: $
3022
3022
  }, [b(e.$slots, "icon-text-bold", {}, () => [t[107] ||= m("svg", {
3023
3023
  width: "100%",
@@ -3035,15 +3035,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3035
3035
  }),
3036
3036
  m("path", { d: "M7 5h6a3.5 3.5 0 0 1 0 7h-6z" }),
3037
3037
  m("path", { d: "M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7" })
3038
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
3038
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
3039
3039
  key: 0,
3040
- show: W.value && G.value === "setBold",
3041
- x: K.value.x,
3042
- y: K.value.y - 6,
3040
+ show: U.value && W.value === "setBold",
3041
+ x: G.value.x,
3042
+ y: G.value.y - 6,
3043
3043
  placement: "top",
3044
3044
  styleObject: X.value
3045
3045
  }, {
3046
- default: S(() => [h(x(J.value.translations.tooltipShapeTextBold), 1)]),
3046
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextBold), 1)]),
3047
3047
  _: 1
3048
3048
  }, 8, [
3049
3049
  "show",
@@ -3058,18 +3058,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3058
3058
  tooltip: !0
3059
3059
  }),
3060
3060
  style: _({
3061
- background: zt.value ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
3062
- border: zt.value ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
3063
- color: zt.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
3064
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
3061
+ background: zt.value ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
3062
+ border: zt.value ? q.value.shapes.selected.border : q.value.shapes.border,
3063
+ color: zt.value ? q.value.shapes.selected.color : q.value.shapes.color,
3064
+ borderRadius: `${q.value.borderRadius}px`,
3065
3065
  cursor: Y.value ? "pointer" : "default"
3066
3066
  }),
3067
3067
  onClick: t[69] ||= (e) => {
3068
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, zt.value = !zt.value, Mr();
3068
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, zt.value = !zt.value, Pr();
3069
3069
  },
3070
- onMouseenter: t[70] ||= (e) => J.value.style.showTooltips && Q("setItalic", e, "top"),
3070
+ onMouseenter: t[70] ||= (e) => J.value.showTooltips && Q("setItalic", e, "top"),
3071
3071
  onMouseleave: $,
3072
- onFocus: t[71] ||= (e) => J.value.style.showTooltips && Q("setItalic", e, "top"),
3072
+ onFocus: t[71] ||= (e) => J.value.showTooltips && Q("setItalic", e, "top"),
3073
3073
  onBlur: $
3074
3074
  }, [b(e.$slots, "icon-text-italic", {}, () => [t[108] ||= m("svg", {
3075
3075
  width: "100%",
@@ -3089,15 +3089,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3089
3089
  m("path", { d: "M11 5l6 0" }),
3090
3090
  m("path", { d: "M7 19l6 0" }),
3091
3091
  m("path", { d: "M14 5l-4 14" })
3092
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
3092
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
3093
3093
  key: 0,
3094
- show: W.value && G.value === "setItalic",
3095
- x: K.value.x,
3096
- y: K.value.y - 6,
3094
+ show: U.value && W.value === "setItalic",
3095
+ x: G.value.x,
3096
+ y: G.value.y - 6,
3097
3097
  placement: "top",
3098
3098
  styleObject: X.value
3099
3099
  }, {
3100
- default: S(() => [h(x(J.value.translations.tooltipShapeTextItalic), 1)]),
3100
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextItalic), 1)]),
3101
3101
  _: 1
3102
3102
  }, 8, [
3103
3103
  "show",
@@ -3112,18 +3112,18 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3112
3112
  tooltip: !0
3113
3113
  }),
3114
3114
  style: _({
3115
- background: Ht.value ? J.value.style.buttons.shapes.selected.backgroundColor : J.value.style.buttons.shapes.backgroundColor,
3116
- border: Ht.value ? J.value.style.buttons.shapes.selected.border : J.value.style.buttons.shapes.border,
3117
- color: Ht.value ? J.value.style.buttons.shapes.selected.color : J.value.style.buttons.shapes.color,
3118
- borderRadius: `${J.value.style.buttons.borderRadius}px`,
3115
+ background: Ht.value ? q.value.shapes.selected.backgroundColor : q.value.shapes.backgroundColor,
3116
+ border: Ht.value ? q.value.shapes.selected.border : q.value.shapes.border,
3117
+ color: Ht.value ? q.value.shapes.selected.color : q.value.shapes.color,
3118
+ borderRadius: `${q.value.borderRadius}px`,
3119
3119
  cursor: Y.value ? "pointer" : "default"
3120
3120
  }),
3121
3121
  onClick: t[72] ||= (e) => {
3122
- D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Ht.value = !Ht.value, Mr();
3122
+ D.value = !1, k.value = !1, A.value = !1, O.value = !1, j.value = !1, w.value = void 0, Ht.value = !Ht.value, Pr();
3123
3123
  },
3124
- onMouseenter: t[73] ||= (e) => J.value.style.showTooltips && Q("setUnderline", e, "top"),
3124
+ onMouseenter: t[73] ||= (e) => J.value.showTooltips && Q("setUnderline", e, "top"),
3125
3125
  onMouseleave: $,
3126
- onFocus: t[74] ||= (e) => J.value.style.showTooltips && Q("setUnderline", e, "top"),
3126
+ onFocus: t[74] ||= (e) => J.value.showTooltips && Q("setUnderline", e, "top"),
3127
3127
  onBlur: $
3128
3128
  }, [b(e.$slots, "icon-text-underline", {}, () => [t[109] ||= m("svg", {
3129
3129
  width: "100%",
@@ -3141,15 +3141,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3141
3141
  }),
3142
3142
  m("path", { d: "M7 5v5a5 5 0 0 0 10 0v-5" }),
3143
3143
  m("path", { d: "M5 19h14" })
3144
- ], -1)], !0), J.value.style.showTooltips ? (v(), d(C, {
3144
+ ], -1)], !0), J.value.showTooltips ? (v(), d(C, {
3145
3145
  key: 0,
3146
- show: W.value && G.value === "setUnderline",
3147
- x: K.value.x,
3148
- y: K.value.y - 6,
3146
+ show: U.value && W.value === "setUnderline",
3147
+ x: G.value.x,
3148
+ y: G.value.y - 6,
3149
3149
  placement: "top",
3150
3150
  styleObject: X.value
3151
3151
  }, {
3152
- default: S(() => [h(x(J.value.translations.tooltipShapeTextUnderline), 1)]),
3152
+ default: S(() => [h(x(K.value.translations.tooltipShapeTextUnderline), 1)]),
3153
3153
  _: 1
3154
3154
  }, 8, [
3155
3155
  "show",
@@ -3163,22 +3163,22 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3163
3163
  tooltip: !0
3164
3164
  }),
3165
3165
  style: { borderRadius: "6px" },
3166
- onMouseenter: t[77] ||= (e) => J.value.style.showTooltips && Q("setColor", e, "top"),
3166
+ onMouseenter: t[77] ||= (e) => J.value.showTooltips && Q("setColor", e, "top"),
3167
3167
  onMouseleave: $,
3168
- onFocus: t[78] ||= (e) => J.value.style.showTooltips && Q("setColor", e, "top"),
3168
+ onFocus: t[78] ||= (e) => J.value.showTooltips && Q("setColor", e, "top"),
3169
3169
  onBlur: $
3170
3170
  }, [oe(ne, {
3171
- value: pn.value,
3172
- "onUpdate:value": [t[75] ||= (e) => pn.value = e, t[76] ||= (e) => Or(e)],
3173
- backgroundColor: J.value.style.backgroundColor,
3174
- buttonBorderColor: J.value.style.color,
3171
+ value: hn.value,
3172
+ "onUpdate:value": [t[75] ||= (e) => hn.value = e, t[76] ||= (e) => Ar(e)],
3173
+ backgroundColor: J.value.backgroundColor,
3174
+ buttonBorderColor: J.value.color,
3175
3175
  isCursorPointer: Y.value,
3176
- palette: J.value.style.palette,
3176
+ palette: J.value.palette,
3177
3177
  teleported: ""
3178
3178
  }, {
3179
3179
  "annotator-action-color": S(({ color: t }) => [b(e.$slots, "icon-color", le(se({
3180
3180
  color: t,
3181
- backgroundColor: pn.value
3181
+ backgroundColor: hn.value
3182
3182
  })), void 0, !0)]),
3183
3183
  _: 3
3184
3184
  }, 8, [
@@ -3187,15 +3187,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3187
3187
  "buttonBorderColor",
3188
3188
  "isCursorPointer",
3189
3189
  "palette"
3190
- ])], 32), J.value.style.showTooltips ? (v(), d(C, {
3190
+ ])], 32), J.value.showTooltips ? (v(), d(C, {
3191
3191
  key: 0,
3192
- show: W.value && G.value === "setColor",
3193
- x: K.value.x,
3194
- y: K.value.y - 6,
3192
+ show: U.value && W.value === "setColor",
3193
+ x: G.value.x,
3194
+ y: G.value.y - 6,
3195
3195
  placement: "top",
3196
3196
  styleObject: X.value
3197
3197
  }, {
3198
- default: S(() => [h(x(J.value.translations.tooltipShapeColor), 1)]),
3198
+ default: S(() => [h(x(K.value.translations.tooltipShapeColor), 1)]),
3199
3199
  _: 1
3200
3200
  }, 8, [
3201
3201
  "show",
@@ -3203,23 +3203,23 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3203
3203
  "y",
3204
3204
  "styleObject"
3205
3205
  ])) : f("", !0)]),
3206
- m("div", ht, [m("label", gt, [h(x(J.value.translations.colorAlpha) + ": " + x($t.value > 98 ? 100 : $t.value) + " % ", 1), _e(m("input", {
3206
+ m("div", ht, [m("label", gt, [h(x(K.value.translations.colorAlpha) + ": " + x($t.value > 98 ? 100 : $t.value) + " % ", 1), _e(m("input", {
3207
3207
  name: "colorTransparency",
3208
3208
  type: "range",
3209
3209
  "onUpdate:modelValue": t[79] ||= (e) => $t.value = e,
3210
- onInput: Ar,
3210
+ onInput: Mr,
3211
3211
  min: 0,
3212
3212
  max: 100,
3213
3213
  style: _({
3214
3214
  width: "100%",
3215
- accentColor: J.value.style.color + " !important"
3215
+ accentColor: J.value.color + " !important"
3216
3216
  })
3217
3217
  }, null, 36), [[he, $t.value]])])])
3218
3218
  ])])], 8, ["to"])) : f("", !0)
3219
3219
  ]), m("div", {
3220
3220
  class: "annotator annotator__wrapper",
3221
3221
  ref_key: "drawSvgContainer",
3222
- ref: Sr,
3222
+ ref: wr,
3223
3223
  style: { position: "relative" },
3224
3224
  id: kt.value,
3225
3225
  "data-annotator-content": ""
@@ -3228,11 +3228,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3228
3228
  class: "annotator__content-layer",
3229
3229
  style: _(`${M.value ? "pointer-events: none;" : ""}`)
3230
3230
  }, [b(e.$slots, "default", {}, void 0, !0)], 4),
3231
- M.value || J.value.alwaysVisible ? (v(), p("svg", {
3231
+ M.value || K.value.alwaysVisible ? (v(), p("svg", {
3232
3232
  id: "annotatorSvg",
3233
3233
  key: Gt.value,
3234
3234
  ref_key: "mainSvg",
3235
- ref: vn,
3235
+ ref: bn,
3236
3236
  class: g({
3237
3237
  annotator__overlay: !0,
3238
3238
  "annotator__overlay--inactive": !M.value,
@@ -3242,21 +3242,21 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3242
3242
  viewBox: `0 0 ${qt.value} ${Kt.value}`,
3243
3243
  width: Xt.value,
3244
3244
  height: Zt.value,
3245
- onPointerdown: t[83] ||= (e) => fr(e),
3246
- onPointerup: t[84] ||= (e) => Tr(e),
3247
- onTouchend: t[85] ||= (e) => Tr(e),
3248
- onTouchstart: t[86] ||= (e) => Nr(e),
3245
+ onPointerdown: t[83] ||= (e) => mr(e),
3246
+ onPointerup: t[84] ||= (e) => Dr(e),
3247
+ onTouchend: t[85] ||= (e) => Dr(e),
3248
+ onTouchstart: t[86] ||= (e) => Fr(e),
3249
3249
  onPointermove: t[87] ||= (e) => {
3250
- Nr(e), gr(e);
3250
+ Fr(e), vr(e);
3251
3251
  },
3252
- onPointerout: t[88] ||= (e) => ur(e),
3253
- onPointerover: t[89] ||= (e) => Gn(e),
3254
- onClick: t[90] ||= (e) => Qn(e),
3252
+ onPointerout: t[88] ||= (e) => fr(e),
3253
+ onPointerover: t[89] ||= (e) => qn(e),
3254
+ onClick: t[90] ||= (e) => er(e),
3255
3255
  style: _({
3256
3256
  position: "absolute",
3257
3257
  top: 0,
3258
3258
  left: 0,
3259
- cursor: gn.value,
3259
+ cursor: vn.value,
3260
3260
  fontFamily: "Helvetica",
3261
3261
  zIndex: 1e8,
3262
3262
  pointerEvents: M.value ? "all" : "none"
@@ -3271,28 +3271,28 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3271
3271
  fill: "transparent",
3272
3272
  "pointer-events": M.value ? "all" : "none",
3273
3273
  style: { cursor: "inherit" },
3274
- onPointerdown: t[80] ||= ve((e) => fr(e), ["stop", "prevent"]),
3274
+ onPointerdown: t[80] ||= ve((e) => mr(e), ["stop", "prevent"]),
3275
3275
  onPointermove: t[81] ||= ve((e) => {
3276
- Nr(e), gr(e);
3276
+ Fr(e), vr(e);
3277
3277
  }, ["stop", "prevent"]),
3278
- onPointerup: ve(Tr, ["stop", "prevent"]),
3279
- onClick: t[82] ||= ve((e) => Qn(e), ["stop", "prevent"])
3278
+ onPointerup: ve(Dr, ["stop", "prevent"]),
3279
+ onClick: t[82] ||= ve((e) => er(e), ["stop", "prevent"])
3280
3280
  }, null, 40, yt),
3281
- (v(!0), p(re, null, fe(Mn.value, (e) => (v(), p("g", {
3281
+ (v(!0), p(re, null, fe(Pn.value, (e) => (v(), p("g", {
3282
3282
  key: e.id,
3283
3283
  innerHTML: e.html,
3284
3284
  style: _({ pointerEvents: M.value ? null : "none" }),
3285
- onClick: (t) => xr(t, e.id),
3286
- onDblclick: ve((t) => br(t, e.id), ["stop", "prevent"])
3285
+ onClick: (t) => Cr(t, e.id),
3286
+ onDblclick: ve((t) => Sr(t, e.id), ["stop", "prevent"])
3287
3287
  }, null, 44, bt))), 128)),
3288
- U.value && P.value ? (v(), p("line", {
3288
+ H.value && P.value ? (v(), p("line", {
3289
3289
  key: 0,
3290
3290
  class: "vue-ui-annotator-caret",
3291
- x1: U.value.x,
3292
- x2: U.value.x,
3293
- y1: U.value.y1,
3294
- y2: U.value.y2,
3295
- stroke: U.value.color,
3291
+ x1: H.value.x,
3292
+ x2: H.value.x,
3293
+ y1: H.value.y1,
3294
+ y2: H.value.y2,
3295
+ stroke: H.value.color,
3296
3296
  "stroke-width": "2",
3297
3297
  "pointer-events": "none",
3298
3298
  "vector-effect": "non-scaling-stroke"
@@ -3320,6 +3320,6 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
3320
3320
  }, null, 8, Ct)], 8, St)) : f("", !0)
3321
3321
  ], 8, _t)]));
3322
3322
  }
3323
- }, [["__scopeId", "data-v-c9b9850e"]]);
3323
+ }, [["__scopeId", "data-v-9a06c054"]]);
3324
3324
  //#endregion
3325
3325
  export { xe as n, Dt as t };