hzzt-kfb-slide 0.0.9 → 0.1.0

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 (111) hide show
  1. package/dist/components/{annotateDQQc3oYO.js → annotateBCPPxCOM.js} +1 -1
  2. package/dist/components/{annotateBSN_N98d.js → annotateBe1iGjLm.js} +1 -1
  3. package/dist/components/{annotateCskNt8uV.js → annotateBjK38kC5.js} +3 -3
  4. package/dist/components/{annotateWlJ-PlkO.js → annotateDswEmgoP.js} +1 -1
  5. package/dist/components/{arrowqeUXLexE.js → arrowB_iF_C7o.js} +1 -1
  6. package/dist/components/{arrowq3GgyGtl.js → arrowBsGolew1.js} +1 -1
  7. package/dist/components/{arrowCircleCLHjzy7J.js → arrowCircleCwh64ps_.js} +1 -1
  8. package/dist/components/{arrowCircleDN2Qevn_.js → arrowCircleDcEhXBbb.js} +1 -1
  9. package/dist/components/{arrowDownztxcPDK2.js → arrowDownBO1BfpJc.js} +1 -1
  10. package/dist/components/{arrowDownB5PEMVYP.js → arrowDownGBYuSng0.js} +1 -1
  11. package/dist/components/{arrowLeftBTScpoSq.js → arrowLeftC5fR0o6a.js} +1 -1
  12. package/dist/components/{arrowLeftC_h3QrNf.js → arrowLeftD5sInyYk.js} +1 -1
  13. package/dist/components/{arrowRightDaLk5ye2.js → arrowRightD8w_2T2p.js} +1 -1
  14. package/dist/components/{arrowRightBAEhIIeD.js → arrowRightDZ5B3UGP.js} +1 -1
  15. package/dist/components/{arrowUpBuwILzVM.js → arrowUpBc9Kyfxz.js} +1 -1
  16. package/dist/components/{arrowUpB_mDEoVE.js → arrowUpBeusa4Lo.js} +1 -1
  17. package/dist/components/{bilateralC8BCqacM.js → bilateralCZQNj8IO.js} +1 -1
  18. package/dist/components/{bilateralsYVc46ez.js → bilateraliBpUezXT.js} +1 -1
  19. package/dist/components/{channelCxhiBqFa.js → channelCex9iiR2.js} +1 -1
  20. package/dist/components/{channelCm6WfZhE.js → channelD-i4fzni.js} +1 -1
  21. package/dist/components/{checklhwJw6ij.js → checkCt32HIH2.js} +1 -1
  22. package/dist/components/{checkgqabT7oF.js → checkDdnX-C4X.js} +1 -1
  23. package/dist/components/{config8wBzwVWe.js → configBFvCGNtv.js} +1 -1
  24. package/dist/components/{configCo2pzSSl.js → configBwkv57gw.js} +1 -1
  25. package/dist/components/{customDdRy3S9S.js → customCGjGRDJm.js} +1 -1
  26. package/dist/components/{customoXQbJYSP.js → customCjYE_yPK.js} +1 -1
  27. package/dist/components/{deletegLcmbyGU.js → deleteB9iRvKYT.js} +1 -1
  28. package/dist/components/{deleteDFVCacNy.js → deleteBpbziZfN.js} +1 -1
  29. package/dist/components/{dotBOQVdiVZ.js → dotBlqZNkl0.js} +1 -1
  30. package/dist/components/{dotDVIxo3b0.js → dotCF84g70n.js} +1 -1
  31. package/dist/components/{dotB2b_Bc58.js → dotD_biewxL.js} +4 -4
  32. package/dist/components/{dotBx_U-TRs.js → dotDcO8K7mJ.js} +1 -1
  33. package/dist/components/{dotBjtFccSw.js → dotDeJyIiYJ.js} +1 -1
  34. package/dist/components/{dotBdyZ6Zs_.js → dotDvq6YQgW.js} +1 -1
  35. package/dist/components/{downloadDfTBHJ7d.js → downloadBnieQIP8.js} +1 -1
  36. package/dist/components/{downloadCq-yv4BU.js → downloadBwUL0Ea7.js} +1 -1
  37. package/dist/components/{downloadDYN6iKOq.js → downloadC8nKUjq6.js} +3 -3
  38. package/dist/components/{downloadCO9Cz6dr.js → downloadDy93WSTG.js} +1 -1
  39. package/dist/components/{ellipseDxOwmrP-.js → ellipseBxnZw_Wq.js} +1 -1
  40. package/dist/components/{ellipseDPdtULn7.js → ellipseCp5zAGAh.js} +1 -1
  41. package/dist/components/{expandLeftBmr3uw-F.js → expandLeft0jc4WZXg.js} +1 -1
  42. package/dist/components/{expandLeftDgZEeCXR.js → expandLeftC1Ta5tGY.js} +1 -1
  43. package/dist/components/{expandRightBPDxAHAT.js → expandRightBH8iguKS.js} +1 -1
  44. package/dist/components/{expandRightBvHDRlw9.js → expandRightDb0-tlNj.js} +1 -1
  45. package/dist/components/{flagDCxIuLfr.js → flagBEcBfVBz.js} +1 -1
  46. package/dist/components/{flagC_HXmW12.js → flagDbfaF80Z.js} +1 -1
  47. package/dist/components/{flipCNkGkJFc.js → flipBIarRte4.js} +1 -1
  48. package/dist/components/{flipK09gW4-M.js → flipChZNTRna.js} +1 -1
  49. package/dist/components/{fontDXUcdfsw.js → fontBuHpTztq.js} +1 -1
  50. package/dist/components/{fontBIHY17oy.js → fontU7S814K8.js} +1 -1
  51. package/dist/components/{fullscreenDZYz-sfk.js → fullscreenBQ1YkrN_.js} +1 -1
  52. package/dist/components/{fullscreenCEFKqV7l.js → fullscreenBiMgHdq_.js} +2 -2
  53. package/dist/components/{fullscreenDPi8Xahs.js → fullscreenBpAk7wDb.js} +1 -1
  54. package/dist/components/{fullscreenDd3GiUQ4.js → fullscreenuBLuHv03.js} +1 -1
  55. package/dist/components/indexCFzrAiFg.js +4 -0
  56. package/dist/components/{indexBMt2qfwG.js → indexCiVL4LuE.js} +916 -913
  57. package/dist/components/{infolJ1oViok.js → infoC4hGYJaF.js} +1 -1
  58. package/dist/components/{infoBWvCO9_7.js → infoCp7ve5DR.js} +1 -1
  59. package/dist/components/{level3wMXDN6Y.js → levelCeI--h7X.js} +1 -1
  60. package/dist/components/{levelBeCwZgz9.js → levelKqcfU9Ld.js} +1 -1
  61. package/dist/components/{lineBYCqffsD.js → lineC3B9m1Ug.js} +1 -1
  62. package/dist/components/{linerKZy_PBV.js → lineOSorc3WE.js} +1 -1
  63. package/dist/components/{microscopeDsuJ4oWc.js → microscopeBFEz_lq4.js} +1 -1
  64. package/dist/components/{microscopeB6_xwHWr.js → microscopeD9DoPiHa.js} +1 -1
  65. package/dist/components/{microscopeB9wC5wRM.js → microscopeD9m8Vj5p.js} +3 -3
  66. package/dist/components/{microscopeBm3v4wJv.js → microscopemifUUWdo.js} +1 -1
  67. package/dist/components/{moveDB4RR4wM.js → move0dbwvgpp.js} +1 -1
  68. package/dist/components/{moveCCEIbSgO.js → move67AZY9GV.js} +3 -3
  69. package/dist/components/{movel8WgST25.js → moveCoqqrHrF.js} +1 -1
  70. package/dist/components/{moveDU5gi3Hs.js → moveP1udjvew.js} +1 -1
  71. package/dist/components/{next_hDHaXI8.js → next949tlxwI.js} +1 -1
  72. package/dist/components/{nextCU-KJqvj.js → nextF-0K-c0T.js} +1 -1
  73. package/dist/components/{polygonI_Zz93ii.js → polygonCVRu0jGg.js} +1 -1
  74. package/dist/components/{polygonidXC3FDF.js → polygonCY1umCDA.js} +1 -1
  75. package/dist/components/{prevBeyGPDD3.js → prevBoMShTVJ.js} +1 -1
  76. package/dist/components/{prevDVlS4e4B.js → prevZJi0HBQa.js} +1 -1
  77. package/dist/components/{processD0b1s4d4.js → process3Kd9iKAC.js} +1 -1
  78. package/dist/components/{processBUT2dQY5.js → processBtDhC5cN.js} +3 -3
  79. package/dist/components/{processDAd-rsJz.js → processDFHVq7yX.js} +1 -1
  80. package/dist/components/{processpK6pP0DH.js → processX0dS45XF.js} +1 -1
  81. package/dist/components/{rectangleD7n6Vvt6.js → rectangleBRcZJKiG.js} +1 -1
  82. package/dist/components/{rectangleD4mKwQvO.js → rectangleD42v1SqR.js} +1 -1
  83. package/dist/components/{rotateBgGcEeK6.js → rotate5_xJfsZ2.js} +1 -1
  84. package/dist/components/{rotateDh6-tIqc.js → rotate7jt-EuDp.js} +1 -1
  85. package/dist/components/{rotatePTOj7NOR.js → rotateDu_mkWYc.js} +4 -4
  86. package/dist/components/{rotateDZ2LcDRk.js → rotateHyLr1dia.js} +1 -1
  87. package/dist/components/{settingDx9NClvs.js → setting3Ugpfl6Q.js} +1 -1
  88. package/dist/components/{settingsSpWOZGB.js → settingBdsG5NNP.js} +1 -1
  89. package/dist/components/{settingDCw5DNWc.js → settingCutO8H2U.js} +1 -1
  90. package/dist/components/{settingB_4RabuF.js → settingonwvagGo.js} +3 -3
  91. package/dist/components/{starZ-R1XM0P.js → starB6lZrSR_.js} +1 -1
  92. package/dist/components/{starDBBLg7cl.js → starBuk9Zpe8.js} +1 -1
  93. package/dist/components/{tailorBIcgkHyw.js → tailorC1nOu9Zx.js} +1 -1
  94. package/dist/components/{tailorvV9idwBq.js → tailorCxS09ZPn.js} +1 -1
  95. package/dist/components/{useCommonSF_YB4y_.js → useCommonDvVbDPSe.js} +1 -1
  96. package/dist/components/{useCommonDOhNsd5o.js → useCommon_E1byFLe.js} +1 -1
  97. package/dist/components/{voice0zCcCgj_.js → voiceCifc7IPf.js} +1 -1
  98. package/dist/components/{voiceoSSHyjHA.js → voiceDFacjiIM.js} +1 -1
  99. package/dist/components/{zoomluz7C-Dr.js → zoomB7VyAZrz.js} +1 -1
  100. package/dist/components/{zoomDQAi2Vcg.js → zoomBFx-vjsG.js} +1 -1
  101. package/dist/components/{zoomInBW6dNl06.js → zoomInCf25h6Us.js} +1 -1
  102. package/dist/components/{zoomInDtlrDlNR.js → zoomInRDq1eDLi.js} +1 -1
  103. package/dist/components/{zoomOutBKc239cL.js → zoomOutDdDapD_E.js} +1 -1
  104. package/dist/components/{zoomOut_jWy0Idj.js → zoomOutjIFNPuhT.js} +1 -1
  105. package/dist/index.cjs.js +1 -1
  106. package/dist/index.es.js +1 -1
  107. package/package.json +2 -2
  108. package/types/components/KfbView/index.d.ts +2 -0
  109. package/types/components/KfbView/index.vue.d.ts +4 -0
  110. package/types/index.d.ts +12 -0
  111. package/dist/components/indexCIVMES3X.js +0 -4
@@ -2,85 +2,85 @@ var Wt = Object.defineProperty, Zt = Object.defineProperties;
2
2
  var qt = Object.getOwnPropertyDescriptors;
3
3
  var yt = Object.getOwnPropertySymbols;
4
4
  var Yt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var bt = (d, e, n) => e in d ? Wt(d, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : d[e] = n, j = (d, e) => {
6
- for (var n in e || (e = {}))
7
- Yt.call(e, n) && bt(d, n, e[n]);
5
+ var _t = (c, e, o) => e in c ? Wt(c, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : c[e] = o, j = (c, e) => {
6
+ for (var o in e || (e = {}))
7
+ Yt.call(e, o) && _t(c, o, e[o]);
8
8
  if (yt)
9
- for (var n of yt(e))
10
- Xt.call(e, n) && bt(d, n, e[n]);
11
- return d;
12
- }, me = (d, e) => Zt(d, qt(e));
13
- var Ce = (d, e, n) => new Promise((t, b) => {
14
- var v = (m) => {
9
+ for (var o of yt(e))
10
+ Xt.call(e, o) && _t(c, o, e[o]);
11
+ return c;
12
+ }, me = (c, e) => Zt(c, qt(e));
13
+ var Ce = (c, e, o) => new Promise((t, _) => {
14
+ var v = (f) => {
15
15
  try {
16
- i(n.next(m));
16
+ i(o.next(f));
17
17
  } catch (g) {
18
- b(g);
18
+ _(g);
19
19
  }
20
- }, u = (m) => {
20
+ }, u = (f) => {
21
21
  try {
22
- i(n.throw(m));
22
+ i(o.throw(f));
23
23
  } catch (g) {
24
- b(g);
24
+ _(g);
25
25
  }
26
- }, i = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(v, u);
27
- i((n = n.apply(d, e)).next());
26
+ }, i = (f) => f.done ? t(f.value) : Promise.resolve(f.value).then(v, u);
27
+ i((o = o.apply(c, e)).next());
28
28
  });
29
- import { inject as J, ref as $, markRaw as H, defineAsyncComponent as M, defineComponent as ee, createBlock as P, openBlock as w, unref as o, normalizeProps as Qt, guardReactiveProps as Jt, withCtx as x, resolveDynamicComponent as xe, useModel as Ee, computed as B, createElementBlock as L, createElementVNode as _, createVNode as T, toDisplayString as V, Fragment as le, renderList as oe, createTextVNode as G, isRef as Ve, watch as ne, h as el, provide as re, renderSlot as de, mergeProps as Ke, createCommentVNode as A, reactive as ot, onMounted as pe, onBeforeUnmount as Ie, normalizeStyle as W, mergeDefaults as tl, withDirectives as $e, vShow as Re, getCurrentInstance as ll, mergeModels as we, normalizeClass as ye, Teleport as Fe, withModifiers as Be } from "vue";
30
- import { ElIcon as be, ElRow as ol, ElCol as nl, ElSwitch as Le, ElRadioGroup as _t, ElRadio as De, ElDialog as je, ElForm as tt, ElFormItem as se, ElInput as et, ElButton as ge, ElMessage as kt, ElLoading as Ct, ElSlider as al, ElTag as Tt, ElCheckbox as Oe, ElTooltip as zt, ElPopover as sl, ElCheckboxGroup as il, ElPagination as rl } from "element-plus";
29
+ import { inject as J, ref as $, markRaw as H, defineAsyncComponent as M, defineComponent as ee, createBlock as P, openBlock as y, unref as n, normalizeProps as Qt, guardReactiveProps as Jt, withCtx as x, resolveDynamicComponent as xe, useModel as Ee, computed as B, createElementBlock as L, createElementVNode as b, createVNode as T, toDisplayString as V, Fragment as le, renderList as oe, createTextVNode as G, isRef as Ve, watch as ne, h as el, provide as re, renderSlot as ce, mergeProps as Ke, createCommentVNode as A, reactive as ot, onMounted as pe, onBeforeUnmount as Ie, normalizeStyle as W, mergeDefaults as tl, withDirectives as $e, vShow as Re, getCurrentInstance as ll, mergeModels as we, normalizeClass as ye, Teleport as Fe, withModifiers as Be } from "vue";
30
+ import { ElIcon as _e, ElRow as ol, ElCol as nl, ElSwitch as Le, ElRadioGroup as bt, ElRadio as De, ElDialog as je, ElForm as tt, ElFormItem as se, ElInput as et, ElButton as ge, ElMessage as kt, ElLoading as Ct, ElSlider as al, ElTag as Tt, ElCheckbox as Oe, ElTooltip as zt, ElPopover as sl, ElCheckboxGroup as il, ElPagination as rl } from "element-plus";
31
31
  import { KfbView as ue, OpenSeadragon as Te } from "kfb-view";
32
32
  import ul from "v-lazy-image";
33
- function ce() {
34
- const d = J("i18n"), e = (n) => n;
33
+ function de() {
34
+ const c = J("i18n"), e = (o) => o;
35
35
  return {
36
- locale: d == null ? void 0 : d.locale,
37
- t: (d == null ? void 0 : d.t) || e
36
+ locale: c == null ? void 0 : c.locale,
37
+ t: (c == null ? void 0 : c.t) || e
38
38
  };
39
39
  }
40
- const dl = {
41
- install(d, e) {
42
- d.provide("i18n", e == null ? void 0 : e.global);
40
+ const cl = {
41
+ install(c, e) {
42
+ c.provide("i18n", e == null ? void 0 : e.global);
43
43
  }
44
44
  }, O = $({
45
- annotate: H(M(() => import("./annotateDQQc3oYO.js"))),
46
- arrowCircle: H(M(() => import("./arrowCircleDN2Qevn_.js"))),
47
- check: H(M(() => import("./checkgqabT7oF.js"))),
48
- dot: H(M(() => import("./dotBx_U-TRs.js"))),
49
- flip: H(M(() => import("./flipCNkGkJFc.js"))),
50
- info: H(M(() => import("./infoBWvCO9_7.js"))),
51
- microscope: H(M(() => import("./microscopeB6_xwHWr.js"))),
52
- move: H(M(() => import("./movel8WgST25.js"))),
53
- next: H(M(() => import("./next_hDHaXI8.js"))),
54
- prev: H(M(() => import("./prevBeyGPDD3.js"))),
55
- process: H(M(() => import("./processD0b1s4d4.js"))),
56
- rotate: H(M(() => import("./rotateDZ2LcDRk.js"))),
57
- fullscreen: H(M(() => import("./fullscreenDZYz-sfk.js"))),
58
- setting: H(M(() => import("./settingDCw5DNWc.js"))),
59
- tailor: H(M(() => import("./tailorvV9idwBq.js"))),
60
- download: H(M(() => import("./downloadCO9Cz6dr.js"))),
61
- config: H(M(() => import("./config8wBzwVWe.js"))),
62
- arrowDown: H(M(() => import("./arrowDownB5PEMVYP.js"))),
63
- arrowUp: H(M(() => import("./arrowUpB_mDEoVE.js"))),
64
- arrowLeft: H(M(() => import("./arrowLeftC_h3QrNf.js"))),
65
- arrowRight: H(M(() => import("./arrowRightBAEhIIeD.js"))),
66
- zoomIn: H(M(() => import("./zoomInDtlrDlNR.js"))),
67
- zoomOut: H(M(() => import("./zoomOut_jWy0Idj.js"))),
68
- level: H(M(() => import("./levelBeCwZgz9.js"))),
69
- channel: H(M(() => import("./channelCxhiBqFa.js"))),
70
- delete: H(M(() => import("./deleteDFVCacNy.js"))),
71
- expandLeft: H(M(() => import("./expandLeftBmr3uw-F.js"))),
72
- expandRight: H(M(() => import("./expandRightBPDxAHAT.js"))),
73
- markLine: H(M(() => import("./linerKZy_PBV.js"))),
74
- markArrow: H(M(() => import("./arrowq3GgyGtl.js"))),
75
- markBilateral: H(M(() => import("./bilateralsYVc46ez.js"))),
76
- markRectangle: H(M(() => import("./rectangleD4mKwQvO.js"))),
77
- markEllipse: H(M(() => import("./ellipseDPdtULn7.js"))),
78
- markPolygon: H(M(() => import("./polygonI_Zz93ii.js"))),
79
- markFlag: H(M(() => import("./flagC_HXmW12.js"))),
80
- markStar: H(M(() => import("./starZ-R1XM0P.js"))),
81
- markDot: H(M(() => import("./dotDVIxo3b0.js"))),
82
- markFont: H(M(() => import("./fontDXUcdfsw.js"))),
83
- markVoice: H(M(() => import("./voice0zCcCgj_.js")))
45
+ annotate: H(M(() => import("./annotateBCPPxCOM.js"))),
46
+ arrowCircle: H(M(() => import("./arrowCircleDcEhXBbb.js"))),
47
+ check: H(M(() => import("./checkDdnX-C4X.js"))),
48
+ dot: H(M(() => import("./dotDcO8K7mJ.js"))),
49
+ flip: H(M(() => import("./flipBIarRte4.js"))),
50
+ info: H(M(() => import("./infoCp7ve5DR.js"))),
51
+ microscope: H(M(() => import("./microscopeD9DoPiHa.js"))),
52
+ move: H(M(() => import("./moveCoqqrHrF.js"))),
53
+ next: H(M(() => import("./next949tlxwI.js"))),
54
+ prev: H(M(() => import("./prevBoMShTVJ.js"))),
55
+ process: H(M(() => import("./process3Kd9iKAC.js"))),
56
+ rotate: H(M(() => import("./rotateHyLr1dia.js"))),
57
+ fullscreen: H(M(() => import("./fullscreenBQ1YkrN_.js"))),
58
+ setting: H(M(() => import("./settingCutO8H2U.js"))),
59
+ tailor: H(M(() => import("./tailorCxS09ZPn.js"))),
60
+ download: H(M(() => import("./downloadDy93WSTG.js"))),
61
+ config: H(M(() => import("./configBFvCGNtv.js"))),
62
+ arrowDown: H(M(() => import("./arrowDownGBYuSng0.js"))),
63
+ arrowUp: H(M(() => import("./arrowUpBeusa4Lo.js"))),
64
+ arrowLeft: H(M(() => import("./arrowLeftD5sInyYk.js"))),
65
+ arrowRight: H(M(() => import("./arrowRightDZ5B3UGP.js"))),
66
+ zoomIn: H(M(() => import("./zoomInRDq1eDLi.js"))),
67
+ zoomOut: H(M(() => import("./zoomOutjIFNPuhT.js"))),
68
+ level: H(M(() => import("./levelKqcfU9Ld.js"))),
69
+ channel: H(M(() => import("./channelCex9iiR2.js"))),
70
+ delete: H(M(() => import("./deleteBpbziZfN.js"))),
71
+ expandLeft: H(M(() => import("./expandLeft0jc4WZXg.js"))),
72
+ expandRight: H(M(() => import("./expandRightBH8iguKS.js"))),
73
+ markLine: H(M(() => import("./lineOSorc3WE.js"))),
74
+ markArrow: H(M(() => import("./arrowBsGolew1.js"))),
75
+ markBilateral: H(M(() => import("./bilateraliBpUezXT.js"))),
76
+ markRectangle: H(M(() => import("./rectangleD42v1SqR.js"))),
77
+ markEllipse: H(M(() => import("./ellipseCp5zAGAh.js"))),
78
+ markPolygon: H(M(() => import("./polygonCVRu0jGg.js"))),
79
+ markFlag: H(M(() => import("./flagDbfaF80Z.js"))),
80
+ markStar: H(M(() => import("./starB6lZrSR_.js"))),
81
+ markDot: H(M(() => import("./dotCF84g70n.js"))),
82
+ markFont: H(M(() => import("./fontBuHpTztq.js"))),
83
+ markVoice: H(M(() => import("./voiceCifc7IPf.js")))
84
84
  }), X = /* @__PURE__ */ ee({
85
85
  __name: "KfbIcon",
86
86
  props: {
@@ -89,21 +89,21 @@ const dl = {
89
89
  required: !0
90
90
  }
91
91
  },
92
- setup(d) {
93
- return (e, n) => (w(), P(o(be), Qt(Jt(e.$attrs)), {
92
+ setup(c) {
93
+ return (e, o) => (y(), P(n(_e), Qt(Jt(e.$attrs)), {
94
94
  default: x(() => [
95
- (w(), P(xe(o(O)[d.name])))
95
+ (y(), P(xe(n(O)[c.name])))
96
96
  ]),
97
97
  _: 1
98
98
  }, 16));
99
99
  }
100
- }), cl = { class: "hzzt-kfb-tool-config" }, vl = { class: "hzzt-kfb-tool-config__title margin-b-2" }, fl = { class: "hzzt-kfb-tool-config__block flex align-items-center" }, ml = { class: "hzzt-kfb-tool-config__icon flex align-items-center justify-content-center" }, pl = { class: "margin-l-4 flex-1" }, hl = { class: "hzzt-kfb-tool-config__title" }, gl = { class: "flex align-items-center" }, wl = {
100
+ }), dl = { class: "hzzt-kfb-tool-config" }, vl = { class: "hzzt-kfb-tool-config__title margin-b-2" }, fl = { class: "hzzt-kfb-tool-config__block flex align-items-center" }, ml = { class: "hzzt-kfb-tool-config__icon flex align-items-center justify-content-center" }, pl = { class: "margin-l-4 flex-1" }, hl = { class: "hzzt-kfb-tool-config__title" }, gl = { class: "flex align-items-center" }, wl = {
101
101
  class: "margin-t-2 margin-b-2",
102
102
  style: { width: "160px" }
103
- }, yl = { class: "flex align-items-center" }, bl = {
103
+ }, yl = { class: "flex align-items-center" }, _l = {
104
104
  class: "margin-t-2 margin-b-2",
105
105
  style: { width: "160px" }
106
- }, _l = /* @__PURE__ */ ee({
106
+ }, bl = /* @__PURE__ */ ee({
107
107
  name: "KfbToolConfig",
108
108
  __name: "KfbToolConfig",
109
109
  props: {
@@ -115,8 +115,8 @@ const dl = {
115
115
  showTextModifiers: {}
116
116
  },
117
117
  emits: ["update:menus", "update:showText"],
118
- setup(d) {
119
- const e = Ee(d, "menus"), n = Ee(d, "showText"), { t } = ce(), b = B(() => e.value.filter((g) => g.name !== "line" && g.name !== "config" && g.name !== "zoom")), v = {
118
+ setup(c) {
119
+ const e = Ee(c, "menus"), o = Ee(c, "showText"), { t } = de(), _ = B(() => e.value.filter((g) => g.name !== "line" && g.name !== "config" && g.name !== "zoom")), v = {
120
120
  fullscreen: t("全屏"),
121
121
  next: t("上一张"),
122
122
  prev: t("上一张"),
@@ -135,36 +135,36 @@ const dl = {
135
135
  function i(g) {
136
136
  return g in v;
137
137
  }
138
- function m(g) {
138
+ function f(g) {
139
139
  var h;
140
140
  return ((h = g.props) == null ? void 0 : h.text) || (i(g.name) ? v[g.name] : "");
141
141
  }
142
- return (g, h) => (w(), L("div", cl, [
143
- _("h3", vl, V(o(t)("显示管理")), 1),
144
- T(o(ol), { gutter: 10 }, {
142
+ return (g, h) => (y(), L("div", dl, [
143
+ b("h3", vl, V(n(t)("显示管理")), 1),
144
+ T(n(ol), { gutter: 10 }, {
145
145
  default: x(() => [
146
- (w(!0), L(le, null, oe(b.value, (l) => (w(), P(o(nl), {
146
+ (y(!0), L(le, null, oe(_.value, (l) => (y(), P(n(nl), {
147
147
  key: l.name,
148
148
  span: 8
149
149
  }, {
150
150
  default: x(() => {
151
- var a, c;
151
+ var a, m;
152
152
  return [
153
- _("div", fl, [
154
- _("div", ml, [
155
- (a = l.props) != null && a.component ? (w(), P(xe((c = l.props) == null ? void 0 : c.component), {
153
+ b("div", fl, [
154
+ b("div", ml, [
155
+ (a = l.props) != null && a.component ? (y(), P(xe((m = l.props) == null ? void 0 : m.component), {
156
156
  key: 1,
157
157
  size: 24
158
- })) : (w(), P(X, {
158
+ })) : (y(), P(X, {
159
159
  key: 0,
160
160
  size: 24,
161
161
  name: l.name
162
162
  }, null, 8, ["name"]))
163
163
  ]),
164
- _("p", pl, V(m(l)), 1),
165
- T(o(Le), {
164
+ b("p", pl, V(f(l)), 1),
165
+ T(n(Le), {
166
166
  modelValue: l.show,
167
- "onUpdate:modelValue": (s) => l.show = s,
167
+ "onUpdate:modelValue": (r) => l.show = r,
168
168
  "active-text": "",
169
169
  "inactive-text": ""
170
170
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -176,24 +176,24 @@ const dl = {
176
176
  ]),
177
177
  _: 1
178
178
  }),
179
- _("div", null, [
180
- _("h3", hl, V(o(t)("其他设置")), 1),
181
- _("div", gl, [
182
- _("p", wl, V(o(t)("工具列表显示切换")), 1),
183
- T(o(_t), {
184
- modelValue: n.value,
185
- "onUpdate:modelValue": h[0] || (h[0] = (l) => n.value = l)
179
+ b("div", null, [
180
+ b("h3", hl, V(n(t)("其他设置")), 1),
181
+ b("div", gl, [
182
+ b("p", wl, V(n(t)("工具列表显示切换")), 1),
183
+ T(n(bt), {
184
+ modelValue: o.value,
185
+ "onUpdate:modelValue": h[0] || (h[0] = (l) => o.value = l)
186
186
  }, {
187
187
  default: x(() => [
188
- T(o(De), { value: !0 }, {
188
+ T(n(De), { value: !0 }, {
189
189
  default: x(() => [
190
- G(V(o(t)("显示工具名称")), 1)
190
+ G(V(n(t)("显示工具名称")), 1)
191
191
  ]),
192
192
  _: 1
193
193
  }),
194
- T(o(De), { value: !1 }, {
194
+ T(n(De), { value: !1 }, {
195
195
  default: x(() => [
196
- G(V(o(t)("隐藏工具名称")), 1)
196
+ G(V(n(t)("隐藏工具名称")), 1)
197
197
  ]),
198
198
  _: 1
199
199
  })
@@ -201,22 +201,22 @@ const dl = {
201
201
  _: 1
202
202
  }, 8, ["modelValue"])
203
203
  ]),
204
- _("div", yl, [
205
- _("p", bl, V(o(t)("小键盘显示切换")), 1),
206
- T(o(_t), {
207
- modelValue: o(u),
204
+ b("div", yl, [
205
+ b("p", _l, V(n(t)("小键盘显示切换")), 1),
206
+ T(n(bt), {
207
+ modelValue: n(u),
208
208
  "onUpdate:modelValue": h[1] || (h[1] = (l) => Ve(u) ? u.value = l : null)
209
209
  }, {
210
210
  default: x(() => [
211
- T(o(De), { value: !0 }, {
211
+ T(n(De), { value: !0 }, {
212
212
  default: x(() => [
213
- G(V(o(t)("显示小键盘")), 1)
213
+ G(V(n(t)("显示小键盘")), 1)
214
214
  ]),
215
215
  _: 1
216
216
  }),
217
- T(o(De), { value: !1 }, {
217
+ T(n(De), { value: !1 }, {
218
218
  default: x(() => [
219
- G(V(o(t)("隐藏小键盘")), 1)
219
+ G(V(n(t)("隐藏小键盘")), 1)
220
220
  ]),
221
221
  _: 1
222
222
  })
@@ -237,44 +237,44 @@ const dl = {
237
237
  showMenuText: { type: Boolean }
238
238
  },
239
239
  emits: ["tool"],
240
- setup(d, { emit: e }) {
241
- const n = d, t = e, { t: b } = ce(), v = {
242
- prev: b("上一张"),
243
- next: b("下一张"),
244
- config: b("配置"),
245
- info: b("信息"),
246
- flip: b("镜像"),
247
- tailor: b("截图")
248
- }, u = J("kfbViewRef"), i = $(!1), m = $(n.showMenuText), g = $(a(n.menu)), h = {
249
- fullscreen: M(() => import("./fullscreenCEFKqV7l.js")),
240
+ setup(c, { emit: e }) {
241
+ const o = c, t = e, { t: _ } = de(), v = {
242
+ prev: _("上一张"),
243
+ next: _("下一张"),
244
+ config: _("配置"),
245
+ info: _("信息"),
246
+ flip: _("镜像"),
247
+ tailor: _("截图")
248
+ }, u = J("kfbViewRef"), i = $(!1), f = $(o.showMenuText), g = $(a(o.menu)), h = {
249
+ fullscreen: M(() => import("./fullscreenBiMgHdq_.js")),
250
250
  line: M(() => import("./lineBIoJpzbf.js")),
251
- setting: M(() => import("./settingB_4RabuF.js")),
252
- rotate: M(() => import("./rotatePTOj7NOR.js")),
253
- dot: M(() => import("./dotB2b_Bc58.js")),
254
- annotate: M(() => import("./annotateCskNt8uV.js")),
255
- process: M(() => import("./processBUT2dQY5.js")),
256
- microscope: M(() => import("./microscopeB9wC5wRM.js")),
257
- move: M(() => import("./moveCCEIbSgO.js")),
258
- custom: M(() => import("./customoXQbJYSP.js")),
259
- zoom: M(() => import("./zoomDQAi2Vcg.js")),
260
- download: M(() => import("./downloadDYN6iKOq.js"))
261
- }, l = B(() => g.value.filter((s) => s.show !== !1).map((s) => ({
262
- component: h[s.name],
263
- props: s.props,
264
- slots: s.slots
251
+ setting: M(() => import("./settingonwvagGo.js")),
252
+ rotate: M(() => import("./rotateDu_mkWYc.js")),
253
+ dot: M(() => import("./dotD_biewxL.js")),
254
+ annotate: M(() => import("./annotateBjK38kC5.js")),
255
+ process: M(() => import("./processBtDhC5cN.js")),
256
+ microscope: M(() => import("./microscopeD9m8Vj5p.js")),
257
+ move: M(() => import("./move67AZY9GV.js")),
258
+ custom: M(() => import("./customCjYE_yPK.js")),
259
+ zoom: M(() => import("./zoomBFx-vjsG.js")),
260
+ download: M(() => import("./downloadC8nKUjq6.js"))
261
+ }, l = B(() => g.value.filter((r) => r.show !== !1).map((r) => ({
262
+ component: h[r.name],
263
+ props: r.props,
264
+ slots: r.slots
265
265
  })));
266
- ne(() => n.menu, (s) => {
267
- g.value = a(s);
266
+ ne(() => o.menu, (r) => {
267
+ g.value = a(r);
268
268
  });
269
- function a(s) {
270
- return s.map((r) => {
271
- const p = typeof r == "string" ? r : r.name;
269
+ function a(r) {
270
+ return r.map((s) => {
271
+ const p = typeof s == "string" ? s : s.name;
272
272
  return v[p] ? {
273
273
  name: "custom",
274
- show: typeof r == "string" ? !0 : r.show !== !1,
274
+ show: typeof s == "string" ? !0 : s.show !== !1,
275
275
  props: me(j({
276
276
  text: v[p]
277
- }, typeof r == "string" ? {} : r.props), {
277
+ }, typeof s == "string" ? {} : s.props), {
278
278
  name: p,
279
279
  component: el(X, {
280
280
  name: p
@@ -282,84 +282,84 @@ const dl = {
282
282
  })
283
283
  } : p === "process" ? {
284
284
  name: p,
285
- props: typeof r == "string" ? {
286
- process: n.process
285
+ props: typeof s == "string" ? {
286
+ process: o.process
287
287
  } : j({
288
- process: n.process
289
- }, r.props),
290
- slots: typeof r == "string" ? void 0 : r.slots,
291
- show: typeof r == "string" ? !0 : r.show !== !1
288
+ process: o.process
289
+ }, s.props),
290
+ slots: typeof s == "string" ? void 0 : s.slots,
291
+ show: typeof s == "string" ? !0 : s.show !== !1
292
292
  } : p === "microscope" ? {
293
293
  name: p,
294
- props: typeof r == "string" ? {
295
- process: n.process
294
+ props: typeof s == "string" ? {
295
+ process: o.process
296
296
  } : j({
297
- microscope: n.microscope
298
- }, r.props),
299
- slots: typeof r == "string" ? void 0 : r.slots,
300
- show: typeof r == "string" ? !0 : r.show !== !1
297
+ microscope: o.microscope
298
+ }, s.props),
299
+ slots: typeof s == "string" ? void 0 : s.slots,
300
+ show: typeof s == "string" ? !0 : s.show !== !1
301
301
  } : {
302
302
  name: p,
303
- props: typeof r == "string" ? {} : r.props,
304
- slots: typeof r == "string" ? void 0 : r.slots,
305
- show: typeof r == "string" ? !0 : r.show !== !1
303
+ props: typeof s == "string" ? {} : s.props,
304
+ slots: typeof s == "string" ? void 0 : s.slots,
305
+ show: typeof s == "string" ? !0 : s.show !== !1
306
306
  };
307
307
  });
308
308
  }
309
- function c(s, r) {
309
+ function m(r, s) {
310
310
  const p = {
311
- annotate: () => u.value.startDraw(r),
312
- tailor: () => u.value.shotScreen(r),
313
- process: () => u.value.forceRedraw(r),
314
- microscope: () => u.value.scopeChange(r),
315
- move: () => u.value.fastMove(r),
311
+ annotate: () => u.value.startDraw(s),
312
+ tailor: () => u.value.shotScreen(s),
313
+ process: () => u.value.forceRedraw(s),
314
+ microscope: () => u.value.scopeChange(s),
315
+ move: () => u.value.fastMove(s),
316
316
  endDraw: () => u.value.endDraw(),
317
317
  info: () => u.value.info(),
318
- zoom: () => u.value.zoomTo(r),
319
- flip: () => u.value.toggleFlip(r),
318
+ zoom: () => u.value.zoomTo(s),
319
+ flip: () => u.value.toggleFlip(s),
320
320
  config: () => i.value = !0,
321
- grid: () => u.value.updateGrid(r),
322
- ruler: () => u.value.updateGrid(r),
323
- graduation: () => u.value.updateGraduation(r),
324
- navigator: () => u.value.updateNavigator(r),
321
+ grid: () => u.value.updateGrid(s),
322
+ ruler: () => u.value.updateGrid(s),
323
+ graduation: () => u.value.updateGraduation(s),
324
+ navigator: () => u.value.updateNavigator(s),
325
325
  tool: () => {
326
326
  u.value.updateGrid({
327
- show: r
327
+ show: s
328
328
  }), u.value.updateGraduation({
329
- show: r
329
+ show: s
330
330
  }), u.value.updateGrid({
331
- ruler: r
332
- }), u.value.updateNavigator(r);
331
+ ruler: s
332
+ }), u.value.updateNavigator(s);
333
333
  }
334
334
  };
335
- p[s] ? p[s]() : t("tool", s, r);
336
- }
337
- return re("show-text", m), (s, r) => (w(), L("div", kl, [
338
- de(s.$slots, "left"),
339
- _("div", zl, [
340
- (w(!0), L(le, null, oe(l.value, (p, y) => (w(), P(xe(p.component), Ke({ ref_for: !0 }, p.props, {
341
- key: y,
342
- onTool: c
335
+ p[r] ? p[r]() : t("tool", r, s);
336
+ }
337
+ return re("show-text", f), (r, s) => (y(), L("div", kl, [
338
+ ce(r.$slots, "left"),
339
+ b("div", zl, [
340
+ (y(!0), L(le, null, oe(l.value, (p, w) => (y(), P(xe(p.component), Ke({ ref_for: !0 }, p.props, {
341
+ key: w,
342
+ onTool: m
343
343
  }), {
344
344
  default: x(() => [
345
- p.slots ? (w(!0), L(le, { key: 0 }, oe(p.slots, (k) => (w(), P(xe(k)))), 256)) : A("", !0)
345
+ p.slots ? (y(!0), L(le, { key: 0 }, oe(p.slots, (k) => (y(), P(xe(k)))), 256)) : A("", !0)
346
346
  ]),
347
347
  _: 2
348
348
  }, 1040))), 128))
349
349
  ]),
350
- de(s.$slots, "right"),
351
- T(o(je), {
350
+ ce(r.$slots, "right"),
351
+ T(n(je), {
352
352
  modelValue: i.value,
353
- "onUpdate:modelValue": r[2] || (r[2] = (p) => i.value = p),
353
+ "onUpdate:modelValue": s[2] || (s[2] = (p) => i.value = p),
354
354
  width: "800px",
355
- title: o(b)("阅片工具设置中心")
355
+ title: n(_)("阅片工具设置中心")
356
356
  }, {
357
357
  default: x(() => [
358
- T(_l, {
358
+ T(bl, {
359
359
  menus: g.value,
360
- "onUpdate:menus": r[0] || (r[0] = (p) => g.value = p),
361
- showText: m.value,
362
- "onUpdate:showText": r[1] || (r[1] = (p) => m.value = p)
360
+ "onUpdate:menus": s[0] || (s[0] = (p) => g.value = p),
361
+ showText: f.value,
362
+ "onUpdate:showText": s[1] || (s[1] = (p) => f.value = p)
363
363
  }, null, 8, ["menus", "showText"])
364
364
  ]),
365
365
  _: 1
@@ -380,12 +380,12 @@ const dl = {
380
380
  l: 0,
381
381
  ga: 1
382
382
  };
383
- function Cl(d) {
384
- const e = ot(j(j({}, $t), d.process));
385
- ne(() => d.process, (v) => {
386
- b(v);
383
+ function Cl(c) {
384
+ const e = ot(j(j({}, $t), c.process));
385
+ ne(() => c.process, (v) => {
386
+ _(v);
387
387
  });
388
- const n = B(() => {
388
+ const o = B(() => {
389
389
  const v = [
390
390
  1 + e.r + e.l + 0.5 * e.c,
391
391
  0,
@@ -404,42 +404,42 @@ function Cl(d) {
404
404
  1 + e.b + e.l + 0.5 * e.c,
405
405
  0,
406
406
  -0.25 * e.c
407
- ], m = [0, 0, 0, 1, 0];
407
+ ], f = [0, 0, 0, 1, 0];
408
408
  return `${v.join(" ")}
409
409
  ${u.join(" ")}
410
410
  ${i.join(" ")}
411
- ${m.join(" ")}`;
411
+ ${f.join(" ")}`;
412
412
  }), t = B(() => String(1 + e.s));
413
- function b(v) {
413
+ function _(v) {
414
414
  v && Object.assign(e, v);
415
415
  }
416
416
  return {
417
417
  imageProcess: e,
418
- matrixValues: n,
418
+ matrixValues: o,
419
419
  saturateValues: t,
420
- forceRedraw: b
420
+ forceRedraw: _
421
421
  };
422
422
  }
423
- function Tl(d, e) {
424
- function n() {
423
+ function Tl(c, e) {
424
+ function o() {
425
425
  e.value.$on(ue.events.EVENT_TAILORING_SCREENSHOT, t);
426
426
  }
427
427
  function t({ base64: u, region: i }) {
428
428
  if (window.ClipboardItem && (navigator != null && navigator.clipboard)) {
429
- const m = b(u, "image/png");
429
+ const f = _(u, "image/png");
430
430
  navigator.clipboard.write([
431
431
  new window.ClipboardItem({
432
- [m.type]: m
432
+ [f.type]: f
433
433
  })
434
434
  ]);
435
435
  }
436
- d("tool", "screen-shot", { base64: u, region: i });
436
+ c("tool", "screen-shot", { base64: u, region: i });
437
437
  }
438
- function b(u, i) {
439
- var a, c;
440
- const m = u.split(",");
441
- (c = (a = m[0]) == null ? void 0 : a.match(/:(.*?);/)) == null || c[1];
442
- const g = atob(m == null ? void 0 : m[1]);
438
+ function _(u, i) {
439
+ var a, m;
440
+ const f = u.split(",");
441
+ (m = (a = f[0]) == null ? void 0 : a.match(/:(.*?);/)) == null || m[1];
442
+ const g = atob(f == null ? void 0 : f[1]);
443
443
  let h = g.length;
444
444
  const l = new Uint8Array(h);
445
445
  for (; h--; )
@@ -447,19 +447,19 @@ function Tl(d, e) {
447
447
  return new Blob([l], { type: i });
448
448
  }
449
449
  function v(u) {
450
- const { width: i, height: m } = e.value.$options;
451
- u ? i > m ? e.value.tailoring.init(
450
+ const { width: i, height: f } = e.value.$options;
451
+ u ? i > f ? e.value.tailoring.init(
452
452
  {
453
- left: (i - m) / 2,
453
+ left: (i - f) / 2,
454
454
  top: 0,
455
- height: m,
456
- width: m,
455
+ height: f,
456
+ width: f,
457
457
  now: !0
458
458
  }
459
459
  ) : e.value.tailoring.init(
460
460
  {
461
461
  left: 0,
462
- top: (m - i) / 2,
462
+ top: (f - i) / 2,
463
463
  height: i,
464
464
  width: i,
465
465
  now: !0
@@ -467,7 +467,7 @@ function Tl(d, e) {
467
467
  ) : e.value.tailoring.init(
468
468
  {
469
469
  left: i / 2 - 100,
470
- top: m / 2 - 100,
470
+ top: f / 2 - 100,
471
471
  height: 200,
472
472
  width: 200,
473
473
  color: "#ff0000"
@@ -475,7 +475,7 @@ function Tl(d, e) {
475
475
  );
476
476
  }
477
477
  return {
478
- tailorEvent: n,
478
+ tailorEvent: o,
479
479
  shotScreen: v
480
480
  };
481
481
  }
@@ -496,12 +496,12 @@ const $l = ["onClick"], Ll = ["src"], xl = {
496
496
  menus: {}
497
497
  },
498
498
  emits: ["tool"],
499
- setup(d, { emit: e }) {
500
- const n = $({
499
+ setup(c, { emit: e }) {
500
+ const o = $({
501
501
  top: "0",
502
502
  left: "0",
503
503
  display: "none"
504
- }), t = J("kfbView", $({})), b = J("currentLabel"), v = d, u = e, { t: i } = ce(), m = [
504
+ }), t = J("kfbView", $({})), _ = J("currentLabel"), v = c, u = e, { t: i } = de(), f = [
505
505
  {
506
506
  label: i("直线"),
507
507
  value: "line",
@@ -558,15 +558,15 @@ const $l = ["onClick"], Ll = ["src"], xl = {
558
558
  icon: O.value.markVoice
559
559
  }
560
560
  ], g = B(() => {
561
- var s;
562
- return b != null && b.value ? [{
561
+ var r;
562
+ return _ != null && _.value ? [{
563
563
  label: i("删除"),
564
564
  value: "delete",
565
565
  icon: O.value.delete
566
- }] : (s = v.menus) != null && s.length ? v.menus.map((r) => r.value === "annotate" ? me(j({}, r), {
567
- children: m
568
- }) : me(j({}, r), {
569
- icon: r.icon || O.value[r.value]
566
+ }] : (r = v.menus) != null && r.length ? v.menus.map((s) => s.value === "annotate" ? me(j({}, s), {
567
+ children: f
568
+ }) : me(j({}, s), {
569
+ icon: s.icon || O.value[s.value]
570
570
  })) : [
571
571
  {
572
572
  label: i("上一张"),
@@ -580,7 +580,7 @@ const $l = ["onClick"], Ll = ["src"], xl = {
580
580
  label: i("标注"),
581
581
  value: "annotate",
582
582
  icon: O.value.annotate,
583
- children: m
583
+ children: f
584
584
  },
585
585
  {
586
586
  label: i("一键截图"),
@@ -603,103 +603,103 @@ const $l = ["onClick"], Ll = ["src"], xl = {
603
603
  }
604
604
  ];
605
605
  });
606
- ne(() => t.value, (s, r) => {
607
- r != null && r.viewer && (r.viewer.removeHandler("canvas-contextmenu", h), r.viewer.removeHandler("canvas-click", l)), s != null && s.viewer && (s.viewer.addHandler("canvas-contextmenu", h), s.viewer.addHandler("canvas-click", l));
606
+ ne(() => t.value, (r, s) => {
607
+ s != null && s.viewer && (s.viewer.removeHandler("canvas-contextmenu", h), s.viewer.removeHandler("canvas-click", l)), r != null && r.viewer && (r.viewer.addHandler("canvas-contextmenu", h), r.viewer.addHandler("canvas-click", l));
608
608
  }), pe(() => {
609
- var s;
610
- (s = t.value) != null && s.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click", l)), document.body.addEventListener("click", l);
609
+ var r;
610
+ (r = t.value) != null && r.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click", l)), document.body.addEventListener("click", l);
611
611
  }), Ie(() => {
612
- var s;
613
- (s = t.value) != null && s.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", l)), document.body.removeEventListener("click", l);
612
+ var r;
613
+ (r = t.value) != null && r.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", l)), document.body.removeEventListener("click", l);
614
614
  });
615
- function h(s) {
616
- s.preventDefault = !0, n.value.top = `${s.position.y}px`, n.value.left = `${s.position.x}px`, n.value.display === "block" ? n.value.display = "none" : n.value.display = "block";
615
+ function h(r) {
616
+ r.preventDefault = !0, o.value.top = `${r.position.y}px`, o.value.left = `${r.position.x}px`, o.value.display === "block" ? o.value.display = "none" : o.value.display = "block";
617
617
  }
618
618
  function l() {
619
- n.value.display = "none";
619
+ o.value.display = "none";
620
620
  }
621
- function a(s, r) {
622
- s.children || ((r == null ? void 0 : r.value) === "annotate" ? u("tool", "annotate", {
623
- tool: s.value.substring(0, 1).toLocaleUpperCase() + s.value.substring(1),
621
+ function a(r, s) {
622
+ r.children || ((s == null ? void 0 : s.value) === "annotate" ? u("tool", "annotate", {
623
+ tool: r.value.substring(0, 1).toLocaleUpperCase() + r.value.substring(1),
624
624
  once: !0
625
- }) : s.value === "tailor_now" ? u("tool", "tailor", !0) : u("tool", s.value), l());
625
+ }) : r.value === "tailor_now" ? u("tool", "tailor", !0) : u("tool", r.value), l());
626
626
  }
627
- function c(s) {
628
- return s == null || typeof s != "object" && typeof s != "function" ? !1 : (
627
+ function m(r) {
628
+ return r == null || typeof r != "object" && typeof r != "function" ? !1 : (
629
629
  // 函数式组件
630
- typeof s == "function" || // 对象式组件
631
- "render" in s || "setup" in s
630
+ typeof r == "function" || // 对象式组件
631
+ "render" in r || "setup" in r
632
632
  );
633
633
  }
634
- return (s, r) => (w(), L("div", {
634
+ return (r, s) => (y(), L("div", {
635
635
  class: "hzzt-kfb-menu",
636
- style: W(n.value)
636
+ style: W(o.value)
637
637
  }, [
638
- (w(!0), L(le, null, oe(g.value, (p, y) => (w(), L("div", {
639
- key: y,
638
+ (y(!0), L(le, null, oe(g.value, (p, w) => (y(), L("div", {
639
+ key: w,
640
640
  class: "hzzt-kfb-menu-item"
641
641
  }, [
642
- _("div", {
642
+ b("div", {
643
643
  class: "flex align-items-center",
644
644
  onClick: (k) => a(p)
645
645
  }, [
646
- c(p.icon) ? (w(), P(o(be), {
646
+ m(p.icon) ? (y(), P(n(_e), {
647
647
  key: 0,
648
648
  class: "margin-r-3",
649
649
  size: 18
650
650
  }, {
651
651
  default: x(() => [
652
- (w(), P(xe(p.icon)))
652
+ (y(), P(xe(p.icon)))
653
653
  ]),
654
654
  _: 2
655
- }, 1024)) : p.icon ? (w(), L("img", {
655
+ }, 1024)) : p.icon ? (y(), L("img", {
656
656
  key: 1,
657
657
  style: { width: "18px" },
658
658
  class: "margin-r-2",
659
659
  src: p.icon
660
- }, null, 8, Ll)) : (w(), L("div", xl)),
661
- _("span", null, V(p.label), 1)
660
+ }, null, 8, Ll)) : (y(), L("div", xl)),
661
+ b("span", null, V(p.label), 1)
662
662
  ], 8, $l),
663
- p.children ? (w(), P(X, {
663
+ p.children ? (y(), P(X, {
664
664
  key: 0,
665
665
  name: "arrowRight",
666
666
  class: "margin-r-2",
667
667
  size: 14
668
668
  })) : A("", !0),
669
- p.children ? (w(), L("div", El, [
670
- (w(!0), L(le, null, oe(p.children, (k, f) => (w(), L("div", {
671
- key: f,
669
+ p.children ? (y(), L("div", El, [
670
+ (y(!0), L(le, null, oe(p.children, (k, d) => (y(), L("div", {
671
+ key: d,
672
672
  class: "hzzt-kfb-menu-item",
673
673
  onClick: (E) => a(k, p)
674
674
  }, [
675
- _("div", Ml, [
676
- c(k.icon) ? (w(), P(o(be), {
675
+ b("div", Ml, [
676
+ m(k.icon) ? (y(), P(n(_e), {
677
677
  key: 0,
678
678
  class: "margin-r-2",
679
679
  size: 18
680
680
  }, {
681
681
  default: x(() => [
682
- (w(), P(xe(k.icon)))
682
+ (y(), P(xe(k.icon)))
683
683
  ]),
684
684
  _: 2
685
- }, 1024)) : k.icon ? (w(), L("img", {
685
+ }, 1024)) : k.icon ? (y(), L("img", {
686
686
  key: 1,
687
687
  style: { width: "18px" },
688
688
  class: "margin-r-2",
689
689
  src: k.icon
690
- }, null, 8, Il)) : (w(), L("div", Sl)),
691
- _("span", null, V(k.label), 1)
690
+ }, null, 8, Il)) : (y(), L("div", Sl)),
691
+ b("span", null, V(k.label), 1)
692
692
  ])
693
693
  ], 8, Vl))), 128))
694
694
  ])) : A("", !0)
695
695
  ]))), 128))
696
696
  ], 4));
697
697
  }
698
- }), he = (d, e) => {
699
- const n = d.__vccOpts || d;
700
- for (const [t, b] of e)
701
- n[t] = b;
702
- return n;
698
+ }), he = (c, e) => {
699
+ const o = c.__vccOpts || c;
700
+ for (const [t, _] of e)
701
+ o[t] = _;
702
+ return o;
703
703
  }, Pl = /* @__PURE__ */ he(Hl, [["__scopeId", "data-v-414722d0"]]), Rl = {
704
704
  key: 0,
705
705
  class: "hzzt-kfb-microscope"
@@ -711,50 +711,50 @@ const $l = ["onClick"], Ll = ["src"], xl = {
711
711
  color: {},
712
712
  borderWidth: {}
713
713
  }, j({}, lt)),
714
- setup(d, { expose: e }) {
715
- const n = d, t = ot(j(j({}, lt), n));
716
- ne(() => n, (l) => {
714
+ setup(c, { expose: e }) {
715
+ const o = c, t = ot(j(j({}, lt), o));
716
+ ne(() => o, (l) => {
717
717
  h({ name: "change", value: l });
718
718
  });
719
- const b = $("200px"), v = $(!1), u = B(() => ({
719
+ const _ = $("200px"), v = $(!1), u = B(() => ({
720
720
  borderRadius: t.shape,
721
721
  borderColor: t.color,
722
722
  borderWidth: t.borderWidth + "px",
723
- width: b.value,
724
- height: b.value
723
+ width: _.value,
724
+ height: _.value
725
725
  })), i = J("kfbView", $({}));
726
726
  ne(() => i.value, (l, a) => {
727
- a != null && a.viewer && a.viewer.removeHandler("zoom", m), l != null && l.viewer && l.viewer.addHandler("zoom", m);
727
+ a != null && a.viewer && a.viewer.removeHandler("zoom", f), l != null && l.viewer && l.viewer.addHandler("zoom", f);
728
728
  }), pe(() => {
729
729
  var l;
730
- (l = i.value) != null && l.viewer && i.value.viewer.addHandler("zoom", m);
730
+ (l = i.value) != null && l.viewer && i.value.viewer.addHandler("zoom", f);
731
731
  }), Ie(() => {
732
732
  var l;
733
- (l = i.value) != null && l.viewer && i.value.viewer.removeHandler("zoom", m);
733
+ (l = i.value) != null && l.viewer && i.value.viewer.removeHandler("zoom", f);
734
734
  });
735
- function m() {
735
+ function f() {
736
736
  setTimeout(() => {
737
737
  h({ name: "change", value: t });
738
738
  }, 100);
739
739
  }
740
740
  function g(l) {
741
- let { x: a, y: c } = i.value.viewer.viewport.getCenter(!0);
742
- l === "top" ? c -= 6e-3 : l === "bottom" ? c += 6e-3 : l === "left" ? a -= 6e-3 : l === "right" && (a += 6e-3), i.value.area.moveToLabel({ x: a, y: c });
741
+ let { x: a, y: m } = i.value.viewer.viewport.getCenter(!0);
742
+ l === "top" ? m -= 6e-3 : l === "bottom" ? m += 6e-3 : l === "left" ? a -= 6e-3 : l === "right" && (a += 6e-3), i.value.area.moveToLabel({ x: a, y: m });
743
743
  }
744
744
  function h({ name: l, value: a }) {
745
- var s, r;
746
- const c = (r = (s = i.value.$options) == null ? void 0 : s.pxConversion) == null ? void 0 : r.imageCapRes;
745
+ var r, s;
746
+ const m = (s = (r = i.value.$options) == null ? void 0 : r.pxConversion) == null ? void 0 : s.imageCapRes;
747
747
  if (l === "visible") {
748
748
  if (v.value = a, a) {
749
749
  const p = i.value.area.imageToViewerElementRectangle(
750
750
  {
751
751
  x: 0,
752
752
  y: 0,
753
- width: t.width * 1e3 / c,
754
- height: t.width * 1e3 / c
753
+ width: t.width * 1e3 / m,
754
+ height: t.width * 1e3 / m
755
755
  }
756
756
  );
757
- b.value = p.width + "px";
757
+ _.value = p.width + "px";
758
758
  }
759
759
  } else if (l === "change") {
760
760
  Object.assign(t, a);
@@ -762,50 +762,50 @@ const $l = ["onClick"], Ll = ["src"], xl = {
762
762
  {
763
763
  x: 0,
764
764
  y: 0,
765
- width: t.width * 1e3 / c,
766
- height: t.width * 1e3 / c
765
+ width: t.width * 1e3 / m,
766
+ height: t.width * 1e3 / m
767
767
  }
768
768
  );
769
- b.value = p.width + "px";
769
+ _.value = p.width + "px";
770
770
  }
771
771
  }
772
772
  return e({
773
773
  scopeChange: h
774
- }), (l, a) => v.value ? (w(), L("div", Rl, [
775
- _("div", {
774
+ }), (l, a) => v.value ? (y(), L("div", Rl, [
775
+ b("div", {
776
776
  class: "hzzt-kfb-microscope__container",
777
777
  style: W(u.value)
778
778
  }, null, 4),
779
- _("div", {
779
+ b("div", {
780
780
  class: "hzzt-kfb-microscope__top",
781
- onClick: a[0] || (a[0] = (c) => g("top"))
781
+ onClick: a[0] || (a[0] = (m) => g("top"))
782
782
  }, [
783
783
  T(X, {
784
784
  size: "24",
785
785
  name: "arrowUp"
786
786
  })
787
787
  ]),
788
- _("div", {
788
+ b("div", {
789
789
  class: "hzzt-kfb-microscope__bottom",
790
- onClick: a[1] || (a[1] = (c) => g("bottom"))
790
+ onClick: a[1] || (a[1] = (m) => g("bottom"))
791
791
  }, [
792
792
  T(X, {
793
793
  size: "24",
794
794
  name: "arrowDown"
795
795
  })
796
796
  ]),
797
- _("div", {
797
+ b("div", {
798
798
  class: "hzzt-kfb-microscope__left",
799
- onClick: a[2] || (a[2] = (c) => g("left"))
799
+ onClick: a[2] || (a[2] = (m) => g("left"))
800
800
  }, [
801
801
  T(X, {
802
802
  size: "24",
803
803
  name: "arrowLeft"
804
804
  })
805
805
  ]),
806
- _("div", {
806
+ b("div", {
807
807
  class: "hzzt-kfb-microscope__right",
808
- onClick: a[3] || (a[3] = (c) => g("right"))
808
+ onClick: a[3] || (a[3] = (m) => g("right"))
809
809
  }, [
810
810
  T(X, {
811
811
  size: "24",
@@ -828,10 +828,10 @@ const $l = ["onClick"], Ll = ["src"], xl = {
828
828
  pathologyHandle: { type: Function }
829
829
  },
830
830
  emits: ["tool"],
831
- setup(d, { emit: e }) {
832
- const { t: n } = ce(), t = d, b = e, v = $(!0), u = $(!1), i = B(() => t.slide.pathology_id ? n("修改病理号") : n("绑定病理号"));
833
- function m() {
834
- t.slide.angle || (t.slide.angle = 0), t.slide.angle += 90, t.slide.angle > 360 && (t.slide.angle = t.slide.angle % 360), b("tool", "rotate", t.slide.angle);
831
+ setup(c, { emit: e }) {
832
+ const { t: o } = de(), t = c, _ = e, v = $(!0), u = $(!1), i = B(() => t.slide.pathology_id ? o("修改病理号") : o("绑定病理号"));
833
+ function f() {
834
+ t.slide.angle || (t.slide.angle = 0), t.slide.angle += 90, t.slide.angle > 360 && (t.slide.angle = t.slide.angle % 360), _("tool", "rotate", t.slide.angle);
835
835
  }
836
836
  function g() {
837
837
  u.value = !0;
@@ -841,25 +841,25 @@ const $l = ["onClick"], Ll = ["src"], xl = {
841
841
  u.value = !1;
842
842
  });
843
843
  }
844
- return (l, a) => (w(), L("div", Bl, [
845
- $e(_("div", { class: "hzzt-kfb-label__title" }, V(o(n)(`点击标签旋转${l.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
844
+ return (l, a) => (y(), L("div", Bl, [
845
+ $e(b("div", { class: "hzzt-kfb-label__title" }, V(n(o)(`点击标签旋转${l.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
846
846
  [Re, v.value]
847
847
  ]),
848
- $e(_("div", Dl, [
849
- _("img", {
848
+ $e(b("div", Dl, [
849
+ b("img", {
850
850
  src: l.info.labelImg,
851
851
  style: W({ transform: `rotate(${l.slide.angle}deg)` }),
852
- onClick: m
852
+ onClick: f
853
853
  }, null, 12, Ul)
854
854
  ], 512), [
855
855
  [Re, v.value]
856
856
  ]),
857
- l.pathologyHandle ? $e((w(), L("div", {
857
+ l.pathologyHandle ? $e((y(), L("div", {
858
858
  key: 0,
859
859
  class: "hzzt-kfb-label__pathology flex align-items-center justify-content-between",
860
860
  onClick: g
861
861
  }, [
862
- _("span", Fl, V(l.slide.pathology_number), 1),
862
+ b("span", Fl, V(l.slide.pathology_number), 1),
863
863
  T(X, {
864
864
  size: "14",
865
865
  name: "annotate"
@@ -867,97 +867,97 @@ const $l = ["onClick"], Ll = ["src"], xl = {
867
867
  ], 512)), [
868
868
  [Re, v.value]
869
869
  ]) : A("", !0),
870
- _("span", {
871
- onClick: a[0] || (a[0] = (c) => v.value = !v.value),
870
+ b("span", {
871
+ onClick: a[0] || (a[0] = (m) => v.value = !v.value),
872
872
  style: W({
873
873
  transform: `translateY(${v.value ? "-50%" : 0})`
874
874
  }),
875
875
  class: "hzzt-kfb-label__expend flex align-items-center justify-content-center"
876
876
  }, [
877
- v.value ? (w(), P(X, {
877
+ v.value ? (y(), P(X, {
878
878
  key: 0,
879
879
  size: "10",
880
880
  name: "arrowLeft"
881
- })) : (w(), P(X, {
881
+ })) : (y(), P(X, {
882
882
  key: 1,
883
883
  size: "10",
884
884
  name: "arrowRight"
885
885
  }))
886
886
  ], 4),
887
- T(o(je), {
887
+ T(n(je), {
888
888
  modelValue: u.value,
889
- "onUpdate:modelValue": a[5] || (a[5] = (c) => u.value = c),
889
+ "onUpdate:modelValue": a[5] || (a[5] = (m) => u.value = m),
890
890
  "append-to-body": !0,
891
891
  title: i.value,
892
892
  width: "450px"
893
893
  }, {
894
894
  footer: x(() => [
895
- T(o(ge), {
896
- onClick: a[4] || (a[4] = (c) => u.value = !1)
895
+ T(n(ge), {
896
+ onClick: a[4] || (a[4] = (m) => u.value = !1)
897
897
  }, {
898
898
  default: x(() => [
899
- G(V(o(n)("取消")), 1)
899
+ G(V(n(o)("取消")), 1)
900
900
  ]),
901
901
  _: 1
902
902
  }),
903
- T(o(ge), {
903
+ T(n(ge), {
904
904
  type: "primary",
905
905
  onClick: h
906
906
  }, {
907
907
  default: x(() => [
908
- G(V(o(n)("确认")), 1)
908
+ G(V(n(o)("确认")), 1)
909
909
  ]),
910
910
  _: 1
911
911
  })
912
912
  ]),
913
913
  default: x(() => [
914
- _("div", Kl, [
915
- _("div", jl, [
916
- _("img", {
914
+ b("div", Kl, [
915
+ b("div", jl, [
916
+ b("img", {
917
917
  src: l.slide.labelImg
918
918
  }, null, 8, Ol),
919
- _("img", {
919
+ b("img", {
920
920
  src: l.slide.previewImg
921
921
  }, null, 8, Gl)
922
922
  ])
923
923
  ]),
924
- T(o(tt), { class: "margin-t-2" }, {
924
+ T(n(tt), { class: "margin-t-2" }, {
925
925
  default: x(() => [
926
- T(o(se), {
927
- label: o(n)("病理号")
926
+ T(n(se), {
927
+ label: n(o)("病理号")
928
928
  }, {
929
929
  default: x(() => [
930
- T(o(et), {
930
+ T(n(et), {
931
931
  modelValue: l.slide.pathology_number,
932
- "onUpdate:modelValue": a[1] || (a[1] = (c) => l.slide.pathology_number = c),
933
- placeholder: o(n)("输入病理号"),
932
+ "onUpdate:modelValue": a[1] || (a[1] = (m) => l.slide.pathology_number = m),
933
+ placeholder: n(o)("输入病理号"),
934
934
  clearable: ""
935
935
  }, null, 8, ["modelValue", "placeholder"])
936
936
  ]),
937
937
  _: 1
938
938
  }, 8, ["label"]),
939
- T(o(se), {
940
- label: o(n)("蜡块号")
939
+ T(n(se), {
940
+ label: n(o)("蜡块号")
941
941
  }, {
942
942
  default: x(() => [
943
- T(o(et), {
943
+ T(n(et), {
944
944
  modelValue: l.slide.paraffin_block_number,
945
- "onUpdate:modelValue": a[2] || (a[2] = (c) => l.slide.paraffin_block_number = c),
946
- placeholder: o(n)("输入蜡块号"),
945
+ "onUpdate:modelValue": a[2] || (a[2] = (m) => l.slide.paraffin_block_number = m),
946
+ placeholder: n(o)("输入蜡块号"),
947
947
  clearable: ""
948
948
  }, null, 8, ["modelValue", "placeholder"])
949
949
  ]),
950
950
  _: 1
951
951
  }, 8, ["label"]),
952
- l.slide.slide_id ? A("", !0) : (w(), P(o(se), {
952
+ l.slide.slide_id ? A("", !0) : (y(), P(n(se), {
953
953
  key: 0,
954
- label: o(n)("试剂")
954
+ label: n(o)("试剂")
955
955
  }, {
956
956
  default: x(() => [
957
- T(o(et), {
957
+ T(n(et), {
958
958
  modelValue: l.slide.reagent,
959
- "onUpdate:modelValue": a[3] || (a[3] = (c) => l.slide.reagent = c),
960
- placeholder: o(n)("输入试剂"),
959
+ "onUpdate:modelValue": a[3] || (a[3] = (m) => l.slide.reagent = m),
960
+ placeholder: n(o)("输入试剂"),
961
961
  clearable: ""
962
962
  }, null, 8, ["modelValue", "placeholder"])
963
963
  ]),
@@ -972,158 +972,161 @@ const $l = ["onClick"], Ll = ["src"], xl = {
972
972
  ]));
973
973
  }
974
974
  }), Zl = /* @__PURE__ */ he(Wl, [["__scopeId", "data-v-7397de48"]]);
975
- function ql(d, e) {
976
- const n = $(1), t = $(null), b = $(null);
975
+ function ql(c, e) {
976
+ const o = $(1), t = $(null), _ = $(null);
977
977
  function v() {
978
- d.value.viewer.addHandler("canvas-drag", (i) => {
978
+ c.value.viewer.addHandler("canvas-drag", (i) => {
979
979
  t.value || (t.value = i.position);
980
- }), d.value.viewer.addHandler("canvas-drag-end", (i) => {
981
- if (n.value !== 1) {
982
- b.value = i.position;
983
- const m = d.value.viewer.viewport.containerSize.x, g = d.value.viewer.viewport.containerSize.y, h = (b.value.x - t.value.x) / (m * e.value) * (n.value - 1), l = (b.value.y - t.value.y) / (g * e.value) * (n.value - 1), a = d.value.viewer.viewport.getCenter(), c = new Te.Point(a.x - h, a.y - l);
984
- d.value.viewer.viewport.panTo(c), t.value = null;
980
+ }), c.value.viewer.addHandler("canvas-drag-end", (i) => {
981
+ if (o.value !== 1) {
982
+ _.value = i.position;
983
+ const f = c.value.viewer.viewport.containerSize.x, g = c.value.viewer.viewport.containerSize.y, h = (_.value.x - t.value.x) / (f * e.value) * (o.value - 1), l = (_.value.y - t.value.y) / (g * e.value) * (o.value - 1), a = c.value.viewer.viewport.getCenter(), m = new Te.Point(a.x - h, a.y - l);
984
+ c.value.viewer.viewport.panTo(m), t.value = null;
985
985
  }
986
986
  });
987
987
  }
988
- function u({ name: i, value: m }) {
989
- i === "ratio" && (n.value = m / 1);
988
+ function u({ name: i, value: f }) {
989
+ i === "ratio" && (o.value = f / 1);
990
990
  }
991
991
  return {
992
992
  moveEvent: v,
993
993
  fastMove: u
994
994
  };
995
995
  }
996
- function Yl(d, e, n, t, b) {
996
+ function Yl(c, e, o, t, _) {
997
997
  const v = $(void 0), u = $([]);
998
- ne(() => d.aiLabelList, h);
998
+ ne(() => c.aiLabelList, h);
999
999
  function i() {
1000
- n.value.$on(ue.events.EVENT_END_PAINTING, m("add")), n.value.$on(ue.events.EVENT_AREA_MOVE_END, m("move")), n.value.$on(ue.events.EVENT_ADD_POLYGON_POINT, m("add-point")), n.value.$on(ue.events.EVENT_DELETE_POLYGON_POINT, m("delete-point")), n.value.$on(ue.events.EVENT_DELETE_LABEL, m("delete")), n.value.$on(ue.events.EVENT_SELECT_LABEL, (c) => {
1001
- var r, p, y, k;
1002
- v.value = c, (((r = v.value) == null ? void 0 : r.subType) || ((y = (p = v.value) == null ? void 0 : p.__data__) == null ? void 0 : y.subType)) === "voice" && ((k = v.value) != null && k.src) && new Audio(v.value.src).play(), e("tool", "select-label", v.value);
1003
- }), n.value.$on(ue.events.EVENT_CANCEL_SELECT_LABEL, () => {
1000
+ o.value.$on(ue.events.EVENT_END_PAINTING, f("add")), o.value.$on(ue.events.EVENT_AREA_MOVE_END, f("move")), o.value.$on(ue.events.EVENT_ADD_POLYGON_POINT, f("add-point")), o.value.$on(ue.events.EVENT_DELETE_POLYGON_POINT, f("delete-point")), o.value.$on(ue.events.EVENT_DELETE_LABEL, f("delete")), o.value.$on(ue.events.EVENT_SELECT_LABEL, (r) => {
1001
+ v.value = r, m(), e("tool", "select-label", v.value);
1002
+ }), o.value.$on(ue.events.EVENT_CANCEL_SELECT_LABEL, () => {
1004
1003
  v.value = void 0, e("tool", "cancel-select-label", v.value);
1005
- }), m("list")();
1004
+ }), f("list")();
1006
1005
  }
1007
- function m(c) {
1008
- return (s) => g(c, s);
1006
+ function f(r) {
1007
+ return (s) => g(r, s);
1009
1008
  }
1010
- function g(c, s) {
1011
- var r;
1012
- if (c === "add" && s && ((s == null ? void 0 : s.subType) || ((r = s == null ? void 0 : s.__data__) == null ? void 0 : r.subType)) === "voice")
1009
+ function g(r, s) {
1010
+ var p;
1011
+ if (r === "add" && s && ((s == null ? void 0 : s.subType) || ((p = s == null ? void 0 : s.__data__) == null ? void 0 : p.subType)) === "voice")
1013
1012
  t(s);
1014
1013
  else
1015
- return d.labelHandle(c, d.slide, s).then((p) => {
1016
- u.value = p, h();
1014
+ return c.labelHandle(r, c.slide, s).then((w) => {
1015
+ u.value = w, h();
1017
1016
  }).catch(() => {
1018
1017
  h();
1019
1018
  });
1020
1019
  }
1021
1020
  function h() {
1022
- var c;
1023
- if ((c = n.value) != null && c.initLabelList) {
1024
- const s = [...u.value, ...d.aiLabelList || []];
1025
- s.find(({ id: r }) => {
1026
- var p;
1027
- return r === ((p = v.value) == null ? void 0 : p.id);
1028
- }) || (v.value = void 0), n.value.initLabelList(s);
1021
+ var r;
1022
+ if ((r = o.value) != null && r.initLabelList) {
1023
+ const s = [...u.value, ...c.aiLabelList || []];
1024
+ s.find(({ id: p }) => {
1025
+ var w;
1026
+ return p === ((w = v.value) == null ? void 0 : w.id);
1027
+ }) || (v.value = void 0), o.value.initLabelList(s);
1029
1028
  }
1030
1029
  }
1031
- function l(c, s) {
1032
- var p;
1030
+ function l(r, s) {
1031
+ var w, k;
1033
1032
  v.value && (v.value.select = !1, v.value = void 0);
1034
- const r = (n.value.labelList || []).findIndex((y) => y.id === c.id);
1035
- if (r > -1) {
1036
- v.value = (p = n.value.labelList) == null ? void 0 : p[r], v.value.select = !0;
1037
- const y = n.value.area.getCenterPoint(c.region);
1038
- n.value.area.moveToLabel(y);
1033
+ const p = (o.value.labelList || []).findIndex((d) => d.id === r.id);
1034
+ if (p > -1) {
1035
+ v.value = (w = o.value.labelList) == null ? void 0 : w[p], v.value.select = !0;
1036
+ const d = o.value.area.getCenterPoint(r.region);
1037
+ o.value.area.moveToLabel(d), (k = o.value.viewer) != null && k.canvas && o.value.viewer.canvas.focus(), m();
1039
1038
  }
1040
- s && b(s);
1039
+ s && _(s);
1041
1040
  }
1042
- function a(c) {
1043
- return d.labelHandle("add", d.slide, c).then((s) => {
1041
+ function a(r) {
1042
+ return c.labelHandle("add", c.slide, r).then((s) => {
1044
1043
  u.value = s, h();
1045
1044
  }).catch(() => {
1046
1045
  h();
1047
1046
  });
1048
1047
  }
1048
+ function m() {
1049
+ var s, p, w, k;
1050
+ (((s = v.value) == null ? void 0 : s.subType) || ((w = (p = v.value) == null ? void 0 : p.__data__) == null ? void 0 : w.subType)) === "voice" && ((k = v.value) != null && k.src) && new Audio(v.value.src).play();
1051
+ }
1049
1052
  return {
1050
1053
  currentLabel: v,
1051
1054
  localLabelList: u,
1052
1055
  initLabel: i,
1053
1056
  jumpToLabel: l,
1054
1057
  reloadLabelList: h,
1055
- eventHandel: m,
1058
+ eventHandel: f,
1056
1059
  addHandle: a
1057
1060
  };
1058
1061
  }
1059
1062
  function Xl() {
1060
- function d(e, n) {
1061
- e.save(), e.strokeStyle = "rgba(0,0,0,0)", e.miterLimit = 4, e.font = "15px", e.fillStyle = n, e.font = "15px", e.scale(0.02734375, 0.02734375), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 427.023), e.moveTo(422, 427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 3.141592653589793, 6.283185307179586, !0), e.rotate(0), e.translate(-512, -427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 0, 3.141592653589793, !0), e.rotate(0), e.translate(-512, -427.023), e.fill(), e.stroke(), e.restore(), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 910.402), e.bezierCurveTo(492.86, 910.402, 474.51800000000003, 904.548, 458.95799999999997, 893.4730000000001), e.bezierCurveTo(444.895, 883.4630000000001, 434.032, 869.8770000000001, 427.36899999999997, 854.013), e.lineTo(255.043, 585.177), e.lineTo(254.889, 584.927), e.bezierCurveTo(225.522, 537.209, 210, 482.605, 210, 427.021), e.bezierCurveTo(210, 346.35400000000004, 241.414, 270.515, 298.454, 213.47500000000002), e.bezierCurveTo(355.494, 156.43500000000006, 431.333, 125.021, 512, 125.021), e.bezierCurveTo(592.6669999999999, 125.021, 668.506, 156.435, 725.546, 213.475), e.bezierCurveTo(782.587, 270.515, 814, 346.354, 814, 427.021), e.bezierCurveTo(814, 482.87, 798.345, 537.692, 768.726, 585.56), e.lineTo(768.462, 585.9789999999999), e.lineTo(596.381, 854.6949999999999), e.bezierCurveTo(589.626, 870.4209999999999, 578.721, 883.871, 564.677, 893.7499999999999), e.bezierCurveTo(549.192, 904.6449999999999, 530.977, 910.4019999999999, 512, 910.4019999999999), e.closePath(), e.moveTo(309.246, 551.141), e.lineTo(484.74, 824.9209999999999), e.lineTo(485.934, 828.1179999999999), e.bezierCurveTo(490.083, 839.2249999999999, 500.31500000000005, 846.4019999999999, 512, 846.4019999999999), e.bezierCurveTo(523.584, 846.4019999999999, 533.791, 839.3309999999999, 538.004, 828.387), e.lineTo(539.169, 825.3589999999999), e.lineTo(714.43, 551.678), e.bezierCurveTo(737.701, 513.983, 750, 470.884, 750, 427.021), e.bezierCurveTo(750, 363.449, 725.244, 303.682, 680.2909999999999, 258.72900000000004), e.bezierCurveTo(635.3389999999999, 213.77800000000005, 575.5719999999999, 189.02100000000004, 511.99999999999994, 189.02100000000004), e.bezierCurveTo(448.428, 189.02100000000004, 388.66099999999994, 213.77700000000004, 343.70799999999997, 258.72900000000004), e.bezierCurveTo(298.755, 303.68100000000004, 274, 363.449, 274, 427.021), e.bezierCurveTo(274, 470.661, 286.186, 513.573, 309.246, 551.1410000000001), e.closePath(), e.fill(), e.stroke(), e.restore(), e.restore();
1063
+ function c(e, o) {
1064
+ e.save(), e.strokeStyle = "rgba(0,0,0,0)", e.miterLimit = 4, e.font = "15px", e.fillStyle = o, e.font = "15px", e.scale(0.02734375, 0.02734375), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 427.023), e.moveTo(422, 427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 3.141592653589793, 6.283185307179586, !0), e.rotate(0), e.translate(-512, -427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 0, 3.141592653589793, !0), e.rotate(0), e.translate(-512, -427.023), e.fill(), e.stroke(), e.restore(), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 910.402), e.bezierCurveTo(492.86, 910.402, 474.51800000000003, 904.548, 458.95799999999997, 893.4730000000001), e.bezierCurveTo(444.895, 883.4630000000001, 434.032, 869.8770000000001, 427.36899999999997, 854.013), e.lineTo(255.043, 585.177), e.lineTo(254.889, 584.927), e.bezierCurveTo(225.522, 537.209, 210, 482.605, 210, 427.021), e.bezierCurveTo(210, 346.35400000000004, 241.414, 270.515, 298.454, 213.47500000000002), e.bezierCurveTo(355.494, 156.43500000000006, 431.333, 125.021, 512, 125.021), e.bezierCurveTo(592.6669999999999, 125.021, 668.506, 156.435, 725.546, 213.475), e.bezierCurveTo(782.587, 270.515, 814, 346.354, 814, 427.021), e.bezierCurveTo(814, 482.87, 798.345, 537.692, 768.726, 585.56), e.lineTo(768.462, 585.9789999999999), e.lineTo(596.381, 854.6949999999999), e.bezierCurveTo(589.626, 870.4209999999999, 578.721, 883.871, 564.677, 893.7499999999999), e.bezierCurveTo(549.192, 904.6449999999999, 530.977, 910.4019999999999, 512, 910.4019999999999), e.closePath(), e.moveTo(309.246, 551.141), e.lineTo(484.74, 824.9209999999999), e.lineTo(485.934, 828.1179999999999), e.bezierCurveTo(490.083, 839.2249999999999, 500.31500000000005, 846.4019999999999, 512, 846.4019999999999), e.bezierCurveTo(523.584, 846.4019999999999, 533.791, 839.3309999999999, 538.004, 828.387), e.lineTo(539.169, 825.3589999999999), e.lineTo(714.43, 551.678), e.bezierCurveTo(737.701, 513.983, 750, 470.884, 750, 427.021), e.bezierCurveTo(750, 363.449, 725.244, 303.682, 680.2909999999999, 258.72900000000004), e.bezierCurveTo(635.3389999999999, 213.77800000000005, 575.5719999999999, 189.02100000000004, 511.99999999999994, 189.02100000000004), e.bezierCurveTo(448.428, 189.02100000000004, 388.66099999999994, 213.77700000000004, 343.70799999999997, 258.72900000000004), e.bezierCurveTo(298.755, 303.68100000000004, 274, 363.449, 274, 427.021), e.bezierCurveTo(274, 470.661, 286.186, 513.573, 309.246, 551.1410000000001), e.closePath(), e.fill(), e.stroke(), e.restore(), e.restore();
1062
1065
  }
1063
1066
  return {
1064
- drawDot: d
1067
+ drawDot: c
1065
1068
  };
1066
1069
  }
1067
- function Ql(d, e) {
1068
- const { t: n } = ce(), t = $(!1), b = $();
1070
+ function Ql(c, e) {
1071
+ const { t: o } = de(), t = $(!1), _ = $();
1069
1072
  let v = null;
1070
1073
  const u = $(!1), i = $(0);
1071
- let m = 0;
1074
+ let f = 0;
1072
1075
  const g = $([]), h = $(void 0);
1073
1076
  let l = !1;
1074
- function a(f, E) {
1075
- f.save(), f.strokeStyle = "rgba(0,0,0,0)", f.miterLimit = 4, f.font = "15px ''", f.fillStyle = E, f.font = " 15px ''", f.scale(0.03125, 0.03125), f.save(), f.font = " 15px ''", f.beginPath(), f.moveTo(515.041727, 670.617766), f.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), f.lineTo(681.137374, 229.350568), f.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), f.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), f.lineTo(348.93885600000004, 504.52212), f.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), f.closePath(), f.fill(), f.stroke(), f.restore(), f.save(), f.font = " 15px ''", f.beginPath(), f.moveTo(801.643237, 874.001665), f.lineTo(558.391759, 874.001665), f.lineTo(558.391759, 828.578057), f.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), f.translate(801.643237, 501.55986699999994), f.rotate(0), f.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), f.rotate(0), f.translate(-801.643237, -501.55986699999994), f.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), f.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), f.translate(228.44021750000013, 501.5664510740879), f.rotate(0), f.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), f.rotate(0), f.translate(-228.44021750000013, -501.5664510740879), f.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), f.lineTo(471.69169500000015, 874.001665), f.lineTo(228.440217, 874.001665), f.translate(228.440217, 917.3516970000001), f.rotate(0), f.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), f.rotate(0), f.translate(-228.440217, -917.3516970000001), f.lineTo(801.643237, 960.701729), f.translate(801.643237, 917.3516970000001), f.rotate(0), f.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), f.rotate(0), f.translate(-801.643237, -917.3516970000001), f.closePath(), f.fill(), f.stroke(), f.restore(), f.restore();
1077
+ function a(d, E) {
1078
+ d.save(), d.strokeStyle = "rgba(0,0,0,0)", d.miterLimit = 4, d.font = "15px ''", d.fillStyle = E, d.font = " 15px ''", d.scale(0.03125, 0.03125), d.save(), d.font = " 15px ''", d.beginPath(), d.moveTo(515.041727, 670.617766), d.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), d.lineTo(681.137374, 229.350568), d.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), d.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), d.lineTo(348.93885600000004, 504.52212), d.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), d.closePath(), d.fill(), d.stroke(), d.restore(), d.save(), d.font = " 15px ''", d.beginPath(), d.moveTo(801.643237, 874.001665), d.lineTo(558.391759, 874.001665), d.lineTo(558.391759, 828.578057), d.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), d.translate(801.643237, 501.55986699999994), d.rotate(0), d.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), d.rotate(0), d.translate(-801.643237, -501.55986699999994), d.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), d.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), d.translate(228.44021750000013, 501.5664510740879), d.rotate(0), d.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), d.rotate(0), d.translate(-228.44021750000013, -501.5664510740879), d.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), d.lineTo(471.69169500000015, 874.001665), d.lineTo(228.440217, 874.001665), d.translate(228.440217, 917.3516970000001), d.rotate(0), d.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), d.rotate(0), d.translate(-228.440217, -917.3516970000001), d.lineTo(801.643237, 960.701729), d.translate(801.643237, 917.3516970000001), d.rotate(0), d.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), d.rotate(0), d.translate(-801.643237, -917.3516970000001), d.closePath(), d.fill(), d.stroke(), d.restore(), d.restore();
1076
1079
  }
1077
- function c() {
1080
+ function m() {
1078
1081
  return Ce(this, null, function* () {
1079
1082
  try {
1080
- b.value = yield navigator.mediaDevices.getUserMedia({ audio: !0 }), v = new MediaRecorder(b.value), g.value = [], v.addEventListener("dataavailable", (f) => {
1081
- g.value.push(f.data);
1083
+ _.value = yield navigator.mediaDevices.getUserMedia({ audio: !0 }), v = new MediaRecorder(_.value), g.value = [], v.addEventListener("dataavailable", (d) => {
1084
+ g.value.push(d.data);
1082
1085
  }), v.addEventListener("stop", () => Ce(this, null, function* () {
1083
1086
  if (h.value) {
1084
- const f = new Blob(g.value, { type: d.audioType || "audio/wav" });
1085
- h.value.src = URL.createObjectURL(f);
1087
+ const d = new Blob(g.value, { type: c.audioType || "audio/wav" });
1088
+ h.value.src = URL.createObjectURL(d);
1086
1089
  }
1087
1090
  u.value = !1, l && (yield k());
1088
- })), v.start(), u.value = !0, m = window.setInterval(() => {
1091
+ })), v.start(), u.value = !0, f = window.setInterval(() => {
1089
1092
  i.value++;
1090
1093
  }, 1e3);
1091
- } catch (f) {
1092
- kt.error(n("麦克风启用失败,请确认是否开启麦克风权限"));
1094
+ } catch (d) {
1095
+ kt.error(o("麦克风启用失败,请确认是否开启麦克风权限"));
1093
1096
  }
1094
1097
  });
1095
1098
  }
1096
- function s() {
1097
- b.value && v ? (v.stop(), b.value.getTracks().forEach((f) => f.stop()), v = null, b.value = void 0) : (v = null, b.value = void 0), u.value = !1, m && (clearInterval(m), m = 0), i.value = 0;
1099
+ function r() {
1100
+ _.value && v ? (v.stop(), _.value.getTracks().forEach((d) => d.stop()), v = null, _.value = void 0) : (v = null, _.value = void 0), u.value = !1, f && (clearInterval(f), f = 0), i.value = 0;
1098
1101
  }
1099
- function r(f) {
1100
- t.value = !0, h.value = f, g.value = [], l = !1;
1102
+ function s(d) {
1103
+ t.value = !0, h.value = d, g.value = [], l = !1;
1101
1104
  }
1102
1105
  function p() {
1103
- u.value && s(), t.value = !1, u.value = !1, l = !1;
1106
+ u.value && r(), t.value = !1, u.value = !1, l = !1;
1104
1107
  }
1105
- function y() {
1108
+ function w() {
1106
1109
  return Ce(this, null, function* () {
1107
1110
  if (!u.value && !g.value.length) {
1108
- kt.error(n("请先录音"));
1111
+ kt.error(o("请先录音"));
1109
1112
  return;
1110
1113
  }
1111
- u.value && s(), u.value = !1, l = !0, g.value.length && (yield k()), t.value = !1;
1114
+ u.value && r(), u.value = !1, l = !0, g.value.length && (yield k()), t.value = !1;
1112
1115
  });
1113
1116
  }
1114
1117
  function k() {
1115
1118
  return Ce(this, null, function* () {
1116
- if (d.uploadHandle && h.value) {
1117
- const f = Ct.service({
1118
- text: n("录音上传中")
1119
- }), E = new Blob(g.value, { type: d.audioType || "audio/wav" });
1119
+ if (c.uploadHandle && h.value) {
1120
+ const d = Ct.service({
1121
+ text: o("录音上传中")
1122
+ }), E = new Blob(g.value, { type: c.audioType || "audio/wav" });
1120
1123
  g.value = [];
1121
1124
  try {
1122
- yield d.uploadHandle(d.slide, h.value, E).then((R) => {
1125
+ yield c.uploadHandle(c.slide, h.value, E).then((R) => {
1123
1126
  h.value.src = R;
1124
- }), f.close(), e(h.value);
1127
+ }), d.close(), e(h.value);
1125
1128
  } catch (R) {
1126
- f.close();
1129
+ d.close();
1127
1130
  }
1128
1131
  }
1129
1132
  });
@@ -1134,183 +1137,183 @@ function Ql(d, e) {
1134
1137
  recordTime: i,
1135
1138
  isRecording: u,
1136
1139
  drawVoice: a,
1137
- startRecording: c,
1138
- stopRecording: s,
1139
- initVoice: r,
1140
+ startRecording: m,
1141
+ stopRecording: r,
1142
+ initVoice: s,
1140
1143
  cancelRecord: p,
1141
- confirmRecord: y
1144
+ confirmRecord: w
1142
1145
  };
1143
1146
  }
1144
- function Jl(d, e) {
1145
- const n = $([]), t = $(0), b = $(!1);
1147
+ function Jl(c, e) {
1148
+ const o = $([]), t = $(0), _ = $(!1);
1146
1149
  let v = null;
1147
1150
  ne(() => {
1148
1151
  var a;
1149
- return (a = d.hotmap) == null ? void 0 : a.enable;
1152
+ return (a = c.hotmap) == null ? void 0 : a.enable;
1150
1153
  }, () => {
1151
- var a, c;
1152
- if ((c = (a = e.value) == null ? void 0 : a.viewer) != null && c.world) {
1154
+ var a, m;
1155
+ if ((m = (a = e.value) == null ? void 0 : a.viewer) != null && m.world) {
1153
1156
  t.value = 0;
1154
- const s = e.value.viewer.world.getItemAt(0);
1155
- s && (s.tilesMatrix = {}, s.draw());
1157
+ const r = e.value.viewer.world.getItemAt(0);
1158
+ r && (r.tilesMatrix = {}, r.draw());
1156
1159
  }
1157
1160
  }), pe(() => {
1158
- window.addEventListener("mousemove", m), window.addEventListener("mouseup", h);
1161
+ window.addEventListener("mousemove", f), window.addEventListener("mouseup", h);
1159
1162
  }), Ie(() => {
1160
- window.removeEventListener("mousemove", m), window.removeEventListener("mouseup", h);
1163
+ window.removeEventListener("mousemove", f), window.removeEventListener("mouseup", h);
1161
1164
  });
1162
- function u(a, c, s) {
1163
- var p, y, k, f, E, R;
1164
- const r = me(j({}, c), {
1165
- file: (p = d.hotmap) == null ? void 0 : p.file
1165
+ function u(a, m, r) {
1166
+ var p, w, k, d, E, R;
1167
+ const s = me(j({}, m), {
1168
+ file: (p = c.hotmap) == null ? void 0 : p.file
1166
1169
  });
1167
- if ((y = d.hotmap) != null && y.info) {
1168
- if (s[c.x + "_" + c.y + "_" + Number(c.scale)]) {
1169
- if (((k = d.hotmap) == null ? void 0 : k.type) === "switch")
1170
- return d.tileHandle(r);
1171
- if (((f = d.hotmap) == null ? void 0 : f.type) === "drag")
1172
- return i(a, r), a;
1170
+ if ((w = c.hotmap) != null && w.info) {
1171
+ if (r[m.x + "_" + m.y + "_" + Number(m.scale)]) {
1172
+ if (((k = c.hotmap) == null ? void 0 : k.type) === "switch")
1173
+ return c.tileHandle(s);
1174
+ if (((d = c.hotmap) == null ? void 0 : d.type) === "drag")
1175
+ return i(a, s), a;
1173
1176
  }
1174
- } else return ((E = d.hotmap) == null ? void 0 : E.type) === "switch" ? d.tileHandle(r) : (((R = d.hotmap) == null ? void 0 : R.type) === "drag" && i(a, r), a);
1177
+ } else return ((E = c.hotmap) == null ? void 0 : E.type) === "switch" ? c.tileHandle(s) : (((R = c.hotmap) == null ? void 0 : R.type) === "drag" && i(a, s), a);
1175
1178
  }
1176
- function i(a, c) {
1177
- const s = n.value.find((r) => r.url === a) || {
1179
+ function i(a, m) {
1180
+ const r = o.value.find((s) => s.url === a) || {
1178
1181
  url: a,
1179
- x: c.x,
1180
- y: c.y,
1182
+ x: m.x,
1183
+ y: m.y,
1181
1184
  img: void 0,
1182
1185
  load: ""
1183
1186
  };
1184
- if (!(s != null && s.img) && (n.value.push(s), s.load !== "success")) {
1185
- const r = new Image();
1186
- r.src = d.tileHandle(c), r.onload = () => {
1187
- s.load = "success";
1188
- }, s.img = r;
1187
+ if (!(r != null && r.img) && (o.value.push(r), r.load !== "success")) {
1188
+ const s = new Image();
1189
+ s.src = c.tileHandle(m), s.onload = () => {
1190
+ r.load = "success";
1191
+ }, r.img = s;
1189
1192
  }
1190
1193
  }
1191
- function m(a) {
1192
- b.value && v && (t.value += a.x - v.x, t.value < 0 ? t.value = 0 : t.value > e.value.$options.width && (t.value = e.value.$options.width, b.value = !1), e.value.viewer.forceRedraw()), v = { x: a.x, y: a.y };
1194
+ function f(a) {
1195
+ _.value && v && (t.value += a.x - v.x, t.value < 0 ? t.value = 0 : t.value > e.value.$options.width && (t.value = e.value.$options.width, _.value = !1), e.value.viewer.forceRedraw()), v = { x: a.x, y: a.y };
1193
1196
  }
1194
1197
  function g(a) {
1195
- const { x: c, y: s } = a;
1196
- b.value = !0, v = { x: c, y: s };
1198
+ const { x: m, y: r } = a;
1199
+ _.value = !0, v = { x: m, y: r };
1197
1200
  }
1198
1201
  function h() {
1199
- b.value = !1, v = null;
1202
+ _.value = !1, v = null;
1200
1203
  }
1201
1204
  function l(a) {
1202
1205
  const {
1203
- context: c,
1204
- sourceWidth: s,
1205
- sourceHeight: r,
1206
+ context: m,
1207
+ sourceWidth: r,
1208
+ sourceHeight: s,
1206
1209
  position: p,
1207
- size: y,
1210
+ size: w,
1208
1211
  initRendered: k,
1209
- tile: f,
1212
+ tile: d,
1210
1213
  pixelDensityRatio: E
1211
- } = a, R = f.getUrl(), I = t.value * E, Z = p.original.x;
1212
- if (Z < I && Z + y.x > I) {
1213
- const Q = I - Z, ve = y.x - Q, te = n.value.find((ke) => ke.url === R), _e = (te == null ? void 0 : te.load) === "success" ? te.img : k.canvas;
1214
- c.drawImage(
1215
- _e,
1214
+ } = a, R = d.getUrl(), I = t.value * E, Z = p.original.x;
1215
+ if (Z < I && Z + w.x > I) {
1216
+ const Q = I - Z, ve = w.x - Q, te = o.value.find((ke) => ke.url === R), be = (te == null ? void 0 : te.load) === "success" ? te.img : k.canvas;
1217
+ m.drawImage(
1218
+ be,
1216
1219
  0,
1217
1220
  0,
1218
- s * Q / y.x,
1219
- r,
1221
+ r * Q / w.x,
1222
+ s,
1220
1223
  p.x,
1221
1224
  p.y,
1222
1225
  Q,
1223
- y.y
1224
- ), c.drawImage(
1226
+ w.y
1227
+ ), m.drawImage(
1225
1228
  k.canvas,
1226
- s * Q / y.x,
1229
+ r * Q / w.x,
1227
1230
  0,
1228
- s * ve / y.x,
1229
- r,
1231
+ r * ve / w.x,
1232
+ s,
1230
1233
  p.x + Q,
1231
1234
  p.y,
1232
1235
  ve,
1233
- y.y
1236
+ w.y
1234
1237
  );
1235
- } else if (Z + y.x <= I) {
1236
- const Q = n.value.find((te) => te.url === R), ve = (Q == null ? void 0 : Q.load) === "success" ? Q.img : k.canvas;
1237
- c.drawImage(
1238
+ } else if (Z + w.x <= I) {
1239
+ const Q = o.value.find((te) => te.url === R), ve = (Q == null ? void 0 : Q.load) === "success" ? Q.img : k.canvas;
1240
+ m.drawImage(
1238
1241
  ve,
1239
1242
  0,
1240
1243
  0,
1241
- s,
1242
1244
  r,
1245
+ s,
1243
1246
  p.x,
1244
1247
  p.y,
1245
- y.x,
1246
- y.y
1248
+ w.x,
1249
+ w.y
1247
1250
  );
1248
- } else Z >= I && c.drawImage(
1251
+ } else Z >= I && m.drawImage(
1249
1252
  k.canvas,
1250
1253
  0,
1251
1254
  0,
1252
- s,
1253
1255
  r,
1256
+ s,
1254
1257
  p.x,
1255
1258
  p.y,
1256
- y.x,
1257
- y.y
1259
+ w.x,
1260
+ w.y
1258
1261
  );
1259
1262
  }
1260
1263
  return {
1261
1264
  getHotmapUrl: u,
1262
- hotmapImgs: n,
1265
+ hotmapImgs: o,
1263
1266
  handlerImage: l,
1264
1267
  hotmapLine: t,
1265
1268
  lineMouseDown: g
1266
1269
  };
1267
1270
  }
1268
- function eo(d, e, n) {
1269
- const t = ll(), b = $(!1), v = new BroadcastChannel("sync_kfb_view");
1271
+ function eo(c, e, o) {
1272
+ const t = ll(), _ = $(!1), v = new BroadcastChannel("sync_kfb_view");
1270
1273
  v.onmessage = (l) => {
1271
1274
  const a = l.data;
1272
1275
  g(a);
1273
1276
  }, pe(() => {
1274
- var l, a, c;
1275
- (l = n.value) == null || l.addEventListener("mouseenter", u), (a = n.value) == null || a.addEventListener("mousemove", u), (c = n.value) == null || c.addEventListener("mouseleave", i);
1277
+ var l, a, m;
1278
+ (l = o.value) == null || l.addEventListener("mouseenter", u), (a = o.value) == null || a.addEventListener("mousemove", u), (m = o.value) == null || m.addEventListener("mouseleave", i);
1276
1279
  }), Ie(() => {
1277
- var l, a, c;
1278
- (l = n.value) == null || l.removeEventListener("mouseenter", u), (a = n.value) == null || a.removeEventListener("mousemove", u), (c = n.value) == null || c.removeEventListener("mouseleave", i), v.close();
1280
+ var l, a, m;
1281
+ (l = o.value) == null || l.removeEventListener("mouseenter", u), (a = o.value) == null || a.removeEventListener("mousemove", u), (m = o.value) == null || m.removeEventListener("mouseleave", i), v.close();
1279
1282
  });
1280
1283
  function u() {
1281
- b.value = !0;
1284
+ _.value = !0;
1282
1285
  }
1283
1286
  function i() {
1284
- b.value = !1;
1287
+ _.value = !1;
1285
1288
  }
1286
- function m() {
1289
+ function f() {
1287
1290
  let l;
1288
1291
  e.value.viewer.addHandler("pan", (a) => {
1289
- var r, p, y, k;
1292
+ var s, p, w, k;
1290
1293
  if (!l) {
1291
- l = (p = (r = a.center) == null ? void 0 : r.clone) == null ? void 0 : p.call(r);
1294
+ l = (p = (s = a.center) == null ? void 0 : s.clone) == null ? void 0 : p.call(s);
1292
1295
  return;
1293
1296
  }
1294
- const c = a.center, s = (y = c == null ? void 0 : c.minus) == null ? void 0 : y.call(c, l);
1295
- l = (k = c == null ? void 0 : c.clone) == null ? void 0 : k.call(c), d.syncPosition && h({
1296
- position: s,
1297
+ const m = a.center, r = (w = m == null ? void 0 : m.minus) == null ? void 0 : w.call(m, l);
1298
+ l = (k = m == null ? void 0 : m.clone) == null ? void 0 : k.call(m), c.syncPosition && h({
1299
+ position: r,
1297
1300
  type: "sync_position"
1298
1301
  });
1299
1302
  }), e.value.viewer.addHandler("zoom", (a) => {
1300
- d.syncZoom && h({
1303
+ c.syncZoom && h({
1301
1304
  zoom: a.zoom,
1302
1305
  type: "sync_zoom"
1303
1306
  });
1304
1307
  }), e.value.viewer.addHandler("animation-finish", () => {
1305
- var s;
1306
- if (d.syncZoom && h({
1308
+ var r;
1309
+ if (c.syncZoom && h({
1307
1310
  zoom: e.value.viewer.viewport.getZoom(!0),
1308
1311
  type: "sync_zoom"
1309
1312
  }), !l)
1310
1313
  return;
1311
- const a = e.value.viewer.viewport.getCenter(!0), c = (s = a == null ? void 0 : a.minus) == null ? void 0 : s.call(a, l);
1312
- l = void 0, d.syncPosition && h({
1313
- position: c,
1314
+ const a = e.value.viewer.viewport.getCenter(!0), m = (r = a == null ? void 0 : a.minus) == null ? void 0 : r.call(a, l);
1315
+ l = void 0, c.syncPosition && h({
1316
+ position: m,
1314
1317
  type: "sync_position"
1315
1318
  });
1316
1319
  });
@@ -1320,18 +1323,18 @@ function eo(d, e, n) {
1320
1323
  }
1321
1324
  function h(l) {
1322
1325
  var a;
1323
- b.value && v.postMessage(me(j({}, l), {
1326
+ _.value && v.postMessage(me(j({}, l), {
1324
1327
  uuid: t == null ? void 0 : t.uid,
1325
- fileName: (a = d.slide) == null ? void 0 : a.file
1328
+ fileName: (a = c.slide) == null ? void 0 : a.file
1326
1329
  }));
1327
1330
  }
1328
1331
  return {
1329
- initSync: m
1332
+ initSync: f
1330
1333
  };
1331
1334
  }
1332
1335
  const to = { class: "hzzt-kfb-keyword flex wrap" }, lo = ["onMouseenter"], oo = /* @__PURE__ */ ee({
1333
1336
  __name: "KfbKeyword",
1334
- setup(d) {
1337
+ setup(c) {
1335
1338
  const e = $([
1336
1339
  { code: "Q", icon: "zoomIn" },
1337
1340
  { code: "W", icon: "arrowUp" },
@@ -1339,11 +1342,11 @@ const to = { class: "hzzt-kfb-keyword flex wrap" }, lo = ["onMouseenter"], oo =
1339
1342
  { code: "A", icon: "arrowLeft" },
1340
1343
  { code: "S", icon: "arrowDown" },
1341
1344
  { code: "D", icon: "arrowRight" }
1342
- ]), n = J("kfbView", $({}));
1345
+ ]), o = J("kfbView", $({}));
1343
1346
  let t = null;
1344
- function b(u, i) {
1347
+ function _(u, i) {
1345
1348
  u.preventDefault(), t && clearTimeout(t), t = setInterval(() => {
1346
- i === "E" && (n.value.viewer.viewport.zoomBy(1.1), n.value.viewer.viewport.applyConstraints()), i === "Q" && (n.value.viewer.viewport.zoomBy(0.9), n.value.viewer.viewport.applyConstraints()), i === "W" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, -40))), n.value.viewer.viewport.applyConstraints()), i === "S" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, 40))), n.value.viewer.viewport.applyConstraints()), i === "A" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(-40, 0))), n.value.viewer.viewport.applyConstraints()), i === "D" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(40, 0))), n.value.viewer.viewport.applyConstraints());
1349
+ i === "E" && (o.value.viewer.viewport.zoomBy(1.1), o.value.viewer.viewport.applyConstraints()), i === "Q" && (o.value.viewer.viewport.zoomBy(0.9), o.value.viewer.viewport.applyConstraints()), i === "W" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, -40))), o.value.viewer.viewport.applyConstraints()), i === "S" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, 40))), o.value.viewer.viewport.applyConstraints()), i === "A" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(-40, 0))), o.value.viewer.viewport.applyConstraints()), i === "D" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(40, 0))), o.value.viewer.viewport.applyConstraints());
1347
1350
  }, 120);
1348
1351
  }
1349
1352
  function v() {
@@ -1351,73 +1354,73 @@ const to = { class: "hzzt-kfb-keyword flex wrap" }, lo = ["onMouseenter"], oo =
1351
1354
  }
1352
1355
  return Ie(() => {
1353
1356
  clearTimeout(t);
1354
- }), (u, i) => (w(), L("div", to, [
1355
- (w(!0), L(le, null, oe(e.value, (m) => (w(), L("div", {
1356
- key: m.code,
1357
+ }), (u, i) => (y(), L("div", to, [
1358
+ (y(!0), L(le, null, oe(e.value, (f) => (y(), L("div", {
1359
+ key: f.code,
1357
1360
  class: "hzzt-kfb-keyword__code flex column align-items-center justify-content-center",
1358
- onMouseenter: (g) => b(g, m.code),
1361
+ onMouseenter: (g) => _(g, f.code),
1359
1362
  onMouseleave: v
1360
1363
  }, [
1361
- _("p", null, V(m.code), 1),
1364
+ b("p", null, V(f.code), 1),
1362
1365
  T(X, {
1363
1366
  size: "14",
1364
- name: m.icon
1367
+ name: f.icon
1365
1368
  }, null, 8, ["name"])
1366
1369
  ], 40, lo))), 128))
1367
1370
  ]));
1368
1371
  }
1369
1372
  }), no = /* @__PURE__ */ he(oo, [["__scopeId", "data-v-c8d940f0"]]);
1370
- function ao(d, e, n = {}) {
1373
+ function ao(c, e, o = {}) {
1371
1374
  const {
1372
1375
  panSensitivity: t = 0.2,
1373
1376
  // 值越大,鼠标移动时图像移动越快
1374
- zoomSensitivity: b = 1.1,
1377
+ zoomSensitivity: _ = 1.1,
1375
1378
  // 值越大,滚轮缩放幅度越大
1376
1379
  damping: v = 0.6,
1377
1380
  // 值越大,惯性滑动时间越长
1378
1381
  minThreshold: u = 0.05
1379
1382
  // 值越小,停止移动时的精度越高
1380
- } = n;
1381
- let i = !1, m = null, g = 0, h = 0, l = !1;
1383
+ } = o;
1384
+ let i = !1, f = null, g = 0, h = 0, l = !1;
1382
1385
  const a = () => {
1383
- i = document.pointerLockElement === e.value, i || c();
1384
- }, c = () => {
1385
- g = 0, h = 0, m && (cancelAnimationFrame(m), m = null), l = !1;
1386
- }, s = (f) => Ce(this, null, function* () {
1386
+ i = document.pointerLockElement === e.value, i || m();
1387
+ }, m = () => {
1388
+ g = 0, h = 0, f && (cancelAnimationFrame(f), f = null), l = !1;
1389
+ }, r = (d) => Ce(this, null, function* () {
1387
1390
  try {
1388
- f.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
1391
+ d.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
1389
1392
  } catch (E) {
1390
1393
  console.error("无法锁定鼠标:", E);
1391
1394
  }
1392
- }), r = (f) => {
1395
+ }), s = (d) => {
1393
1396
  if (i) {
1394
- f.preventDefault();
1395
- const E = Math.pow(b, Math.sign(f.deltaY) * -1);
1396
- d.value.viewer.viewport.zoomBy(E), d.value.viewer.viewport.applyConstraints();
1397
- }
1398
- }, p = (f) => {
1399
- i && (g += f.movementX * t, h += f.movementY * t, !l && (Math.abs(g) > 1 || Math.abs(h) > 1) && (l = !0, m = requestAnimationFrame(y)));
1400
- }, y = () => {
1401
- const f = d.value.viewer.viewport;
1397
+ d.preventDefault();
1398
+ const E = Math.pow(_, Math.sign(d.deltaY) * -1);
1399
+ c.value.viewer.viewport.zoomBy(E), c.value.viewer.viewport.applyConstraints();
1400
+ }
1401
+ }, p = (d) => {
1402
+ i && (g += d.movementX * t, h += d.movementY * t, !l && (Math.abs(g) > 1 || Math.abs(h) > 1) && (l = !0, f = requestAnimationFrame(w)));
1403
+ }, w = () => {
1404
+ const d = c.value.viewer.viewport;
1402
1405
  if (Math.abs(g) > u || Math.abs(h) > u) {
1403
- const E = f.deltaPointsFromPixels(
1406
+ const E = d.deltaPointsFromPixels(
1404
1407
  new Te.Point(g, h)
1405
1408
  );
1406
- f.panBy(E), f.applyConstraints();
1409
+ d.panBy(E), d.applyConstraints();
1407
1410
  }
1408
- g *= v, h *= v, Math.abs(g) > u || Math.abs(h) > u ? m = requestAnimationFrame(y) : c();
1411
+ g *= v, h *= v, Math.abs(g) > u || Math.abs(h) > u ? f = requestAnimationFrame(w) : m();
1409
1412
  }, k = () => {
1410
1413
  i && document.exitPointerLock();
1411
1414
  };
1412
1415
  return pe(() => {
1413
- var f;
1414
- (f = e.value) == null || f.addEventListener("keydown", s), document.addEventListener("wheel", r, { passive: !1 }), document.addEventListener("click", k), document.addEventListener("mousemove", p), document.addEventListener("pointerlockchange", a);
1416
+ var d;
1417
+ (d = e.value) == null || d.addEventListener("keydown", r), document.addEventListener("wheel", s, { passive: !1 }), document.addEventListener("click", k), document.addEventListener("mousemove", p), document.addEventListener("pointerlockchange", a);
1415
1418
  }), Ie(() => {
1416
- var f;
1417
- (f = e.value) == null || f.removeEventListener("keydown", s), document.removeEventListener("click", k), document.removeEventListener("wheel", r), document.removeEventListener("mousemove", p), document.removeEventListener("pointerlockchange", a), c();
1419
+ var d;
1420
+ (d = e.value) == null || d.removeEventListener("keydown", r), document.removeEventListener("click", k), document.removeEventListener("wheel", s), document.removeEventListener("mousemove", p), document.removeEventListener("pointerlockchange", a), m();
1418
1421
  }), {
1419
- setConfig: (f) => {
1420
- Object.assign(n, f);
1422
+ setConfig: (d) => {
1423
+ Object.assign(o, d);
1421
1424
  }
1422
1425
  };
1423
1426
  }
@@ -1432,15 +1435,15 @@ const so = /* @__PURE__ */ ee({
1432
1435
  "model-valueModifiers": {}
1433
1436
  }),
1434
1437
  emits: ["update:model-value"],
1435
- setup(d) {
1436
- const e = d, n = Ee(d, "model-value"), t = J("kfbView", $({})), b = B(() => Array.from(new Array(e.slides.length + 1)).map((u, i) => i));
1438
+ setup(c) {
1439
+ const e = c, o = Ee(c, "model-value"), t = J("kfbView", $({})), _ = B(() => Array.from(new Array(e.slides.length + 1)).map((u, i) => i));
1437
1440
  function v() {
1438
1441
  const u = t.value.viewer.world.getItemAt(0), i = Object.keys(u.tilesMatrix);
1439
- i.forEach((m, g) => {
1440
- g > i.length - 4 && (u.tilesMatrix[m] = {});
1442
+ i.forEach((f, g) => {
1443
+ g > i.length - 4 && (u.tilesMatrix[f] = {});
1441
1444
  }), u.draw();
1442
1445
  }
1443
- return (u, i) => (w(), L("div", {
1446
+ return (u, i) => (y(), L("div", {
1444
1447
  class: ye(["hzzt-kfb-level flex column align-items-center", u.slides.length > 5 ? "hzzt-kfb-level--large" : ""])
1445
1448
  }, [
1446
1449
  T(X, {
@@ -1448,13 +1451,13 @@ const so = /* @__PURE__ */ ee({
1448
1451
  size: "24",
1449
1452
  class: "margin-b-4 margin-t-2"
1450
1453
  }),
1451
- T(o(al), {
1452
- modelValue: n.value,
1453
- "onUpdate:modelValue": i[0] || (i[0] = (m) => n.value = m),
1454
+ T(n(al), {
1455
+ modelValue: o.value,
1456
+ "onUpdate:modelValue": i[0] || (i[0] = (f) => o.value = f),
1454
1457
  vertical: "",
1455
- min: b.value[0],
1458
+ min: _.value[0],
1456
1459
  step: 1,
1457
- max: b.value[b.value.length - 1],
1460
+ max: _.value[_.value.length - 1],
1458
1461
  "show-stops": "",
1459
1462
  "show-tooltip": !0,
1460
1463
  placement: "left",
@@ -1477,8 +1480,8 @@ const so = /* @__PURE__ */ ee({
1477
1480
  "model-valueModifiers": {}
1478
1481
  }),
1479
1482
  emits: /* @__PURE__ */ we(["load"], ["update:model-value"]),
1480
- setup(d, { emit: e }) {
1481
- const n = d, t = e, b = Ee(d, "model-value"), v = [
1483
+ setup(c, { emit: e }) {
1484
+ const o = c, t = e, _ = Ee(c, "model-value"), v = [
1482
1485
  { key: "DAPI", color: "#4A6CF7" },
1483
1486
  { key: "480", color: "#00BFFF" },
1484
1487
  { key: "520", color: "#32CD32" },
@@ -1487,8 +1490,8 @@ const so = /* @__PURE__ */ ee({
1487
1490
  { key: "670", color: "#DC143C" },
1488
1491
  { key: "780", color: "#4B0082" }
1489
1492
  ], u = B(() => {
1490
- var m;
1491
- return (((m = n.info) == null ? void 0 : m.channel) || []).map((g) => {
1493
+ var f;
1494
+ return (((f = o.info) == null ? void 0 : f.channel) || []).map((g) => {
1492
1495
  const h = v.find((l) => l.key === g.eqt_num);
1493
1496
  return {
1494
1497
  label: g.eqt_num,
@@ -1496,18 +1499,18 @@ const so = /* @__PURE__ */ ee({
1496
1499
  };
1497
1500
  });
1498
1501
  });
1499
- function i(m) {
1500
- b.value.includes(m) ? b.value = b.value.filter((g) => g !== m) : b.value.push(m), t("load");
1502
+ function i(f) {
1503
+ _.value.includes(f) ? _.value = _.value.filter((g) => g !== f) : _.value.push(f), t("load");
1501
1504
  }
1502
- return (m, g) => u.value.length > 0 ? (w(), L("div", io, [
1505
+ return (f, g) => u.value.length > 0 ? (y(), L("div", io, [
1503
1506
  T(X, {
1504
1507
  name: "channel",
1505
1508
  size: "32"
1506
1509
  }),
1507
- (w(!0), L(le, null, oe(u.value, (h) => (w(), L("div", {
1510
+ (y(!0), L(le, null, oe(u.value, (h) => (y(), L("div", {
1508
1511
  key: h.label,
1509
1512
  style: W({ background: h.color }),
1510
- class: ye(["hzzt-kfb-channel__box", b.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
1513
+ class: ye(["hzzt-kfb-channel__box", _.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
1511
1514
  onClick: (l) => i(h.label)
1512
1515
  }, V(h.label), 15, ro))), 128))
1513
1516
  ])) : A("", !0);
@@ -1522,34 +1525,34 @@ const so = /* @__PURE__ */ ee({
1522
1525
  expandModifiers: {}
1523
1526
  }),
1524
1527
  emits: /* @__PURE__ */ we(["select"], ["update:expand"]),
1525
- setup(d, { emit: e }) {
1526
- const n = Ee(d, "expand"), t = e, { t: b } = ce();
1528
+ setup(c, { emit: e }) {
1529
+ const o = Ee(c, "expand"), t = e, { t: _ } = de();
1527
1530
  function v(i) {
1528
- const m = i.subType || i.tool || "";
1529
- return `mark${m.substring(0, 1).toLocaleUpperCase()}${m.substring(1)}`;
1531
+ const f = i.subType || i.tool || "";
1532
+ return `mark${f.substring(0, 1).toLocaleUpperCase()}${f.substring(1)}`;
1530
1533
  }
1531
1534
  function u(i) {
1532
1535
  t("select", i);
1533
1536
  }
1534
- return (i, m) => (w(), L("div", {
1535
- class: ye(["hzzt-kfb-annotation flex column", n.value ? "hzzt-kfb-annotation--expand" : ""])
1537
+ return (i, f) => (y(), L("div", {
1538
+ class: ye(["hzzt-kfb-annotation flex column", o.value ? "hzzt-kfb-annotation--expand" : ""])
1536
1539
  }, [
1537
- _("div", co, [
1538
- $e(_("div", vo, [
1539
- _("span", null, V(o(b)("标注列表")), 1)
1540
+ b("div", co, [
1541
+ $e(b("div", vo, [
1542
+ b("span", null, V(n(_)("标注列表")), 1)
1540
1543
  ], 512), [
1541
- [Re, n.value]
1544
+ [Re, o.value]
1542
1545
  ]),
1543
1546
  T(X, {
1544
1547
  class: "hzzt-kfb-annotation__icon",
1545
- name: n.value ? "expandLeft" : "expandRight",
1546
- onClick: m[0] || (m[0] = (g) => n.value = !n.value)
1548
+ name: o.value ? "expandLeft" : "expandRight",
1549
+ onClick: f[0] || (f[0] = (g) => o.value = !o.value)
1547
1550
  }, null, 8, ["name"])
1548
1551
  ]),
1549
- $e(_("div", fo, [
1550
- (w(!0), L(le, null, oe(i.annotations, (g, h) => {
1552
+ $e(b("div", fo, [
1553
+ (y(!0), L(le, null, oe(i.annotations, (g, h) => {
1551
1554
  var l;
1552
- return w(), L("div", {
1555
+ return y(), L("div", {
1553
1556
  class: ye(["hzzt-kfb-annotation__item", ((l = i.annotation) == null ? void 0 : l.id) === g.id ? "hzzt-kfb-annotation__item--active" : ""]),
1554
1557
  key: h,
1555
1558
  onClick: (a) => u(g)
@@ -1558,11 +1561,11 @@ const so = /* @__PURE__ */ ee({
1558
1561
  size: "16",
1559
1562
  name: v(g)
1560
1563
  }, null, 8, ["name"]),
1561
- _("span", null, V(o(b)("标注")) + V(h + 1), 1)
1564
+ b("span", null, V(n(_)("标注")) + V(h + 1), 1)
1562
1565
  ], 10, mo);
1563
1566
  }), 128))
1564
1567
  ], 512), [
1565
- [Re, n.value]
1568
+ [Re, o.value]
1566
1569
  ])
1567
1570
  ], 2));
1568
1571
  }
@@ -1573,7 +1576,7 @@ const so = /* @__PURE__ */ ee({
1573
1576
  class: "hzzt-kfb-view__filter",
1574
1577
  height: "0",
1575
1578
  width: "0"
1576
- }, bo = { id: "colorMatrixFilter" }, _o = ["values"], ko = ["values"], zo = ["exponent"], Co = ["exponent"], To = ["exponent"], $o = { class: "flex nowrap justify-content-center overflow-hidden" }, Lo = ["src"], xo = ["src"], Eo = { class: "flex-1" }, Vo = { class: "flex-1" }, Mo = { class: "flex-1" }, Io = { class: "flex-1" }, So = { class: "flex-1" }, Ho = { class: "flex-1" }, Po = ["src"], Ro = {
1579
+ }, _o = { id: "colorMatrixFilter" }, bo = ["values"], ko = ["values"], zo = ["exponent"], Co = ["exponent"], To = ["exponent"], $o = { class: "flex nowrap justify-content-center overflow-hidden" }, Lo = ["src"], xo = ["src"], Eo = { class: "flex-1" }, Vo = { class: "flex-1" }, Mo = { class: "flex-1" }, Io = { class: "flex-1" }, So = { class: "flex-1" }, Ho = { class: "flex-1" }, Po = ["src"], Ro = {
1577
1580
  key: 2,
1578
1581
  class: "margin-l-2"
1579
1582
  }, Me = /* @__PURE__ */ ee({
@@ -1599,15 +1602,15 @@ const so = /* @__PURE__ */ ee({
1599
1602
  audioType: {}
1600
1603
  },
1601
1604
  emits: ["tool"],
1602
- setup(d, { expose: e, emit: n }) {
1603
- const t = d, b = n, { t: v, locale: u } = ce(), i = $(), m = $(), g = $(), h = $(!1), l = $({}), a = $(!1), c = $(0), s = $(0), r = $(0), p = $([]), y = $({
1605
+ setup(c, { expose: e, emit: o }) {
1606
+ const t = c, _ = o, { t: v, locale: u } = de(), i = $(), f = $(), g = $(), h = $(!1), l = $({}), a = $(!1), m = $(0), r = $(0), s = $(0), p = $([]), w = $({
1604
1607
  width: 0,
1605
1608
  height: 0,
1606
1609
  fileNum: 0,
1607
1610
  scanScale: 1,
1608
1611
  fileName: "",
1609
1612
  ratiomap: {}
1610
- }), k = J("show-kfb-label", $(!0)), f = J("show-keyboard", $(!1)), E = J("hidden-all-label", $(!1)), R = $(!1), I = Ct.directive;
1613
+ }), k = J("show-kfb-label", $(!0)), d = J("show-keyboard", $(!1)), E = J("hidden-all-label", $(!1)), R = $(!1), I = Ct.directive;
1611
1614
  ne(() => {
1612
1615
  var z;
1613
1616
  return (z = t.slide) == null ? void 0 : z.file;
@@ -1624,12 +1627,12 @@ const so = /* @__PURE__ */ ee({
1624
1627
  saturateValues: ve,
1625
1628
  forceRedraw: te
1626
1629
  } = Cl(t), {
1627
- tailorEvent: _e,
1630
+ tailorEvent: be,
1628
1631
  shotScreen: ke
1629
- } = Tl(b, l), {
1632
+ } = Tl(_, l), {
1630
1633
  moveEvent: Ze,
1631
1634
  fastMove: qe
1632
- } = ql(l, s), { initSync: Ye } = eo(t, l, i);
1635
+ } = ql(l, r), { initSync: Ye } = eo(t, l, i);
1633
1636
  ao(l, i);
1634
1637
  const { drawDot: Xe } = Xl(), {
1635
1638
  voiceVisible: Se,
@@ -1650,7 +1653,7 @@ const so = /* @__PURE__ */ ee({
1650
1653
  reloadLabelList: It,
1651
1654
  eventHandel: St,
1652
1655
  addHandle: Ht
1653
- } = Yl(t, b, l, xt, Je);
1656
+ } = Yl(t, _, l, xt, Je);
1654
1657
  function Pt(z) {
1655
1658
  Ht(z);
1656
1659
  }
@@ -1665,14 +1668,14 @@ const so = /* @__PURE__ */ ee({
1665
1668
  var z;
1666
1669
  (z = t.slide) != null && z.file && t.fileHandle && (a.value || (a.value = !0, t.fileHandle(t.slide).then((S) => {
1667
1670
  var q, ae, fe, K;
1668
- y.value = S, p.value = (((q = y.value) == null ? void 0 : q.channel) || []).map((U) => U.eqt_num), l.value = new ue(j({
1669
- el: m.value,
1671
+ w.value = S, p.value = (((q = w.value) == null ? void 0 : q.channel) || []).map((U) => U.eqt_num), l.value = new ue(j({
1672
+ el: f.value,
1670
1673
  fileName: (ae = t.slide) == null ? void 0 : ae.file,
1671
- scale: y.value.scanScale,
1674
+ scale: w.value.scanScale,
1672
1675
  lang: (u == null ? void 0 : u.value) === "en-US" ? "en" : u == null ? void 0 : u.value,
1673
1676
  navigator: {
1674
1677
  style: "left: 0;bottom: 0",
1675
- thumbnail: y.value.thumbnailImg,
1678
+ thumbnail: w.value.thumbnailImg,
1676
1679
  width: 200,
1677
1680
  height: 180
1678
1681
  },
@@ -1687,7 +1690,7 @@ const so = /* @__PURE__ */ ee({
1687
1690
  graduation: {
1688
1691
  show: !0,
1689
1692
  right: 120,
1690
- bottom: (K = (fe = y.value) == null ? void 0 : fe.channel) != null && K.length ? 120 : 30,
1693
+ bottom: (K = (fe = w.value) == null ? void 0 : fe.channel) != null && K.length ? 120 : 30,
1691
1694
  tick: {
1692
1695
  number: 3,
1693
1696
  height: 8
@@ -1696,10 +1699,10 @@ const so = /* @__PURE__ */ ee({
1696
1699
  pxConversion: {
1697
1700
  units: ["um", "mm"],
1698
1701
  binary: 1e3,
1699
- imageCapRes: y.value.imageCapRes || y.value.scanResolution || 1
1702
+ imageCapRes: w.value.imageCapRes || w.value.scanResolution || 1
1700
1703
  },
1701
1704
  openSeadragonOptions: {
1702
- maxZoomLevel: y.value.scanScale * 20,
1705
+ maxZoomLevel: w.value.scanScale * 20,
1703
1706
  pixelsPerArrowPress: 200,
1704
1707
  animationTime: 0,
1705
1708
  tileSources: rt()
@@ -1742,17 +1745,17 @@ const so = /* @__PURE__ */ ee({
1742
1745
  }
1743
1746
  function rt() {
1744
1747
  var fe, K;
1745
- const z = y.value.tileWidth || y.value.imageBlockLen || 256, S = y.value.tileHeight || y.value.imageBlockLen || 256, q = {};
1748
+ const z = w.value.tileWidth || w.value.imageBlockLen || 256, S = w.value.tileHeight || w.value.imageBlockLen || 256, q = {};
1746
1749
  (fe = t.hotmap) != null && fe.enable && (((K = t.hotmap) == null ? void 0 : K.info) || []).forEach((U) => {
1747
1750
  q[U[0] / z + "_" + U[1] / S + "_" + U[2]] = !0;
1748
1751
  });
1749
1752
  let ae = 10;
1750
- return Object.keys(y.value.ratiomap).forEach((U) => {
1751
- const D = y.value.fileNum - Math.sqrt(y.value.scanScale / Number(U));
1753
+ return Object.keys(w.value.ratiomap).forEach((U) => {
1754
+ const D = w.value.fileNum - Math.sqrt(w.value.scanScale / Number(U));
1752
1755
  D > 0 && (ae = ae ? Math.min(ae, D) : D);
1753
1756
  }), {
1754
- height: y.value.height,
1755
- width: y.value.width,
1757
+ height: w.value.height,
1758
+ width: w.value.width,
1756
1759
  tileWidth: z,
1757
1760
  tileHeight: S,
1758
1761
  minLevel: Math.floor(ae || 8),
@@ -1766,7 +1769,7 @@ const so = /* @__PURE__ */ ee({
1766
1769
  level: U,
1767
1770
  channel: JSON.stringify(p.value)
1768
1771
  };
1769
- y.value.fileNum === U ? (U = y.value.scanScale, Y.scale = U.toFixed(6)) : (U = y.value.scanScale / Math.pow(2, y.value.fileNum - U), Y.scale = U.toFixed(6)), Y.level = Ne, Y.file = r.value === 0 ? Y.file : ((gt = (ht = t.slide) == null ? void 0 : ht.children) == null ? void 0 : gt[r.value - 1]) || "";
1772
+ w.value.fileNum === U ? (U = w.value.scanScale, Y.scale = U.toFixed(6)) : (U = w.value.scanScale / Math.pow(2, w.value.fileNum - U), Y.scale = U.toFixed(6)), Y.level = Ne, Y.file = s.value === 0 ? Y.file : ((gt = (ht = t.slide) == null ? void 0 : ht.children) == null ? void 0 : gt[s.value - 1]) || "";
1770
1773
  const Pe = t.tileHandle(Y);
1771
1774
  return (wt = t.hotmap) != null && wt.enable ? Rt(Pe, Y, q) : Pe;
1772
1775
  }
@@ -1774,40 +1777,40 @@ const so = /* @__PURE__ */ ee({
1774
1777
  }
1775
1778
  function Ut() {
1776
1779
  l.value.viewer.addHandler("rotate", (z) => {
1777
- c.value = z.degrees || 0;
1780
+ m.value = z.degrees || 0;
1778
1781
  }), l.value.viewer.addHandler("zoom", (z) => {
1779
1782
  const S = l.value.viewer.viewport.viewportToImageZoom(
1780
1783
  z.zoom || 0
1781
1784
  ) * Number(l.value.$options.scale);
1782
- s.value = Number(S.toFixed(2));
1785
+ r.value = Number(S.toFixed(2));
1783
1786
  }), l.value.$on(ue.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
1784
1787
  t.navigatorHandle && t.navigatorHandle("add", t.slide, z);
1785
1788
  }), t.navigatorHandle && t.navigatorHandle("list", t.slide).then((z) => {
1786
1789
  var S, q;
1787
1790
  (q = (S = l.value.navigator) == null ? void 0 : S.drawPointList) == null || q.call(S, z);
1788
- }), _e(), Ze();
1791
+ }), be(), Ze();
1789
1792
  }
1790
1793
  function Ft() {
1791
1794
  var z;
1792
- (z = l.value) != null && z.destroy && (l.value.destroy(), l.value = {}, y.value = {
1795
+ (z = l.value) != null && z.destroy && (l.value.destroy(), l.value = {}, w.value = {
1793
1796
  width: 0,
1794
1797
  height: 0,
1795
1798
  fileNum: 0,
1796
1799
  scanScale: 1,
1797
1800
  fileName: "",
1798
1801
  ratiomap: {}
1799
- }, Bt.value = [], p.value = [], s.value = 0, c.value = 0, r.value = 0);
1802
+ }, Bt.value = [], p.value = [], r.value = 0, m.value = 0, s.value = 0);
1800
1803
  }
1801
1804
  function ut(z, S) {
1802
- z === "annotate" ? dt(S) : z === "tailor" ? ke(S) : z === "info" ? h.value = !0 : z === "flip" ? ct() : z === "delete" ? St("delete")(Qe.value) : b("tool", z, S);
1805
+ z === "annotate" ? ct(S) : z === "tailor" ? ke(S) : z === "info" ? h.value = !0 : z === "flip" ? dt() : z === "delete" ? St("delete")(Qe.value) : _("tool", z, S);
1803
1806
  }
1804
- function dt(z) {
1807
+ function ct(z) {
1805
1808
  z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0), l.value.board.startDraw(z);
1806
1809
  }
1807
1810
  function Kt() {
1808
1811
  l.value.board.endDraw();
1809
1812
  }
1810
- function ct() {
1813
+ function dt() {
1811
1814
  l.value.viewer.viewport.toggleFlip();
1812
1815
  }
1813
1816
  function jt(z) {
@@ -1838,11 +1841,11 @@ const so = /* @__PURE__ */ ee({
1838
1841
  }
1839
1842
  return re("kfbView", l), re("currentLabel", Qe), e({
1840
1843
  kfbView: l,
1841
- degrees: c,
1842
- zoom: s,
1844
+ degrees: m,
1845
+ zoom: r,
1843
1846
  forceRedraw: te,
1844
- toggleFlip: ct,
1845
- startDraw: dt,
1847
+ toggleFlip: dt,
1848
+ startDraw: ct,
1846
1849
  endDraw: Kt,
1847
1850
  shotScreen: ke,
1848
1851
  info: Ot,
@@ -1857,27 +1860,27 @@ const so = /* @__PURE__ */ ee({
1857
1860
  reloadLabelList: It
1858
1861
  }), (z, S) => {
1859
1862
  var q, ae, fe;
1860
- return w(), L("div", {
1863
+ return y(), L("div", {
1861
1864
  ref_key: "mainKfbViewRef",
1862
1865
  ref: i,
1863
1866
  class: "hzzt-kfb-view"
1864
1867
  }, [
1865
- z.slide.file ? $e((w(), L("div", {
1868
+ z.slide.file ? $e((y(), L("div", {
1866
1869
  key: 0,
1867
1870
  ref_key: "kfbViewMainRef",
1868
- ref: m,
1871
+ ref: f,
1869
1872
  class: "hzzt-kfb-view__main",
1870
- "element-loading-text": o(v)("加载中"),
1873
+ "element-loading-text": n(v)("加载中"),
1871
1874
  "element-loading-background": "rgba(0, 0, 0, 0.8)"
1872
1875
  }, null, 8, go)), [
1873
- [o(I), a.value]
1874
- ]) : (w(), L("div", wo, S[5] || (S[5] = [
1875
- _("img", {
1876
+ [n(I), a.value]
1877
+ ]) : (y(), L("div", wo, S[5] || (S[5] = [
1878
+ b("img", {
1876
1879
  style: { width: "50%" },
1877
1880
  src: Ge
1878
1881
  }, null, -1)
1879
1882
  ]))),
1880
- z.slide.analysis && z.slide.analysis.result ? (w(), P(o(Tt), {
1883
+ z.slide.analysis && z.slide.analysis.result ? (y(), P(n(Tt), {
1881
1884
  key: 2,
1882
1885
  class: "hzzt-kfb-view__tag"
1883
1886
  }, {
@@ -1886,35 +1889,35 @@ const so = /* @__PURE__ */ ee({
1886
1889
  ]),
1887
1890
  _: 1
1888
1891
  })) : A("", !0),
1889
- (w(), L("svg", yo, [
1890
- _("filter", bo, [
1891
- _("feColorMatrix", {
1892
- values: o(Q),
1892
+ (y(), L("svg", yo, [
1893
+ b("filter", _o, [
1894
+ b("feColorMatrix", {
1895
+ values: n(Q),
1893
1896
  type: "matrix"
1894
- }, null, 8, _o),
1895
- _("feColorMatrix", {
1896
- values: o(ve),
1897
+ }, null, 8, bo),
1898
+ b("feColorMatrix", {
1899
+ values: n(ve),
1897
1900
  type: "saturate"
1898
1901
  }, null, 8, ko),
1899
- _("feComponentTransfer", null, [
1900
- _("feFuncR", {
1902
+ b("feComponentTransfer", null, [
1903
+ b("feFuncR", {
1901
1904
  id: "feFuncR",
1902
1905
  type: "gamma",
1903
- exponent: o(Z).ga,
1906
+ exponent: n(Z).ga,
1904
1907
  amplitude: "1",
1905
1908
  offset: "0"
1906
1909
  }, null, 8, zo),
1907
- _("feFuncG", {
1910
+ b("feFuncG", {
1908
1911
  id: "feFuncG",
1909
1912
  type: "gamma",
1910
- exponent: o(Z).ga,
1913
+ exponent: n(Z).ga,
1911
1914
  amplitude: "1",
1912
1915
  offset: "0"
1913
1916
  }, null, 8, Co),
1914
- _("feFuncB", {
1917
+ b("feFuncB", {
1915
1918
  id: "feFuncB",
1916
1919
  type: "gamma",
1917
- exponent: o(Z).ga,
1920
+ exponent: n(Z).ga,
1918
1921
  amplitude: "1",
1919
1922
  offset: "0"
1920
1923
  }, null, 8, To)
@@ -1929,61 +1932,61 @@ const so = /* @__PURE__ */ ee({
1929
1932
  ref_key: "microscopeRef",
1930
1933
  ref: g
1931
1934
  }), null, 16),
1932
- o(k) && z.slide.file ? (w(), P(Zl, {
1935
+ n(k) && z.slide.file ? (y(), P(Zl, {
1933
1936
  key: 3,
1934
- info: y.value,
1937
+ info: w.value,
1935
1938
  slide: z.slide,
1936
1939
  pathologyHandle: z.pathologyHandle,
1937
1940
  onTool: ut
1938
1941
  }, null, 8, ["info", "slide", "pathologyHandle"])) : A("", !0),
1939
- o(f) ? (w(), P(no, { key: 4 })) : A("", !0),
1940
- (q = z.slide.children) != null && q.length ? (w(), P(so, {
1942
+ n(d) ? (y(), P(no, { key: 4 })) : A("", !0),
1943
+ (q = z.slide.children) != null && q.length ? (y(), P(so, {
1941
1944
  key: 5,
1942
- modelValue: r.value,
1943
- "onUpdate:modelValue": S[0] || (S[0] = (K) => r.value = K),
1945
+ modelValue: s.value,
1946
+ "onUpdate:modelValue": S[0] || (S[0] = (K) => s.value = K),
1944
1947
  slides: z.slide.children
1945
1948
  }, null, 8, ["modelValue", "slides"])) : A("", !0),
1946
- (fe = (ae = y.value) == null ? void 0 : ae.channel) != null && fe.length ? (w(), P(uo, {
1949
+ (fe = (ae = w.value) == null ? void 0 : ae.channel) != null && fe.length ? (y(), P(uo, {
1947
1950
  key: 6,
1948
1951
  modelValue: p.value,
1949
1952
  "onUpdate:modelValue": S[1] || (S[1] = (K) => p.value = K),
1950
- info: y.value,
1953
+ info: w.value,
1951
1954
  onLoad: Dt
1952
1955
  }, null, 8, ["modelValue", "info"])) : A("", !0),
1953
- o(nt).length ? (w(), P(ho, {
1956
+ n(nt).length ? (y(), P(ho, {
1954
1957
  key: 7,
1955
1958
  expand: R.value,
1956
1959
  "onUpdate:expand": S[2] || (S[2] = (K) => R.value = K),
1957
1960
  style: W({
1958
- top: z.slide.analysis && z.slide.analysis.result ? "24px" : "4px;"
1961
+ top: z.slide.analysis && z.slide.analysis.result ? "24px" : "4px"
1959
1962
  }),
1960
- annotation: o(Qe),
1961
- annotations: o(nt),
1962
- onSelect: o(at)
1963
+ annotation: n(Qe),
1964
+ annotations: n(nt),
1965
+ onSelect: n(at)
1963
1966
  }, null, 8, ["expand", "style", "annotation", "annotations", "onSelect"])) : A("", !0),
1964
- T(o(je), {
1967
+ T(n(je), {
1965
1968
  modelValue: h.value,
1966
1969
  "onUpdate:modelValue": S[3] || (S[3] = (K) => h.value = K),
1967
1970
  "append-to-body": !0,
1968
- title: o(v)("图像信息"),
1971
+ title: n(v)("图像信息"),
1969
1972
  width: "700px",
1970
1973
  top: "5vh"
1971
1974
  }, {
1972
1975
  default: x(() => [
1973
- T(o(tt), { "label-position": "left" }, {
1976
+ T(n(tt), { "label-position": "left" }, {
1974
1977
  default: x(() => [
1975
- T(o(se), {
1978
+ T(n(se), {
1976
1979
  class: "flex",
1977
1980
  "label-width": "0px"
1978
1981
  }, {
1979
1982
  default: x(() => [
1980
- _("div", $o, [
1981
- _("img", {
1982
- src: y.value.labelImg,
1983
+ b("div", $o, [
1984
+ b("img", {
1985
+ src: w.value.labelImg,
1983
1986
  style: { height: "180px" }
1984
1987
  }, null, 8, Lo),
1985
- _("img", {
1986
- src: y.value.previewImg,
1988
+ b("img", {
1989
+ src: w.value.previewImg,
1987
1990
  style: { height: "180px" },
1988
1991
  class: "flex-1"
1989
1992
  }, null, 8, xo)
@@ -1991,52 +1994,52 @@ const so = /* @__PURE__ */ ee({
1991
1994
  ]),
1992
1995
  _: 1
1993
1996
  }),
1994
- T(o(se), {
1995
- label: o(v)("文件名")
1997
+ T(n(se), {
1998
+ label: n(v)("文件名")
1996
1999
  }, {
1997
2000
  default: x(() => [
1998
- _("span", Eo, V(y.value.fileName), 1)
2001
+ b("span", Eo, V(w.value.fileName), 1)
1999
2002
  ]),
2000
2003
  _: 1
2001
2004
  }, 8, ["label"]),
2002
- T(o(se), {
2003
- label: o(v)("图像像素")
2005
+ T(n(se), {
2006
+ label: n(v)("图像像素")
2004
2007
  }, {
2005
2008
  default: x(() => [
2006
- _("span", Vo, V(y.value.width) + "Pixel - " + V(y.value.height) + "Pixel", 1)
2009
+ b("span", Vo, V(w.value.width) + "Pixel - " + V(w.value.height) + "Pixel", 1)
2007
2010
  ]),
2008
2011
  _: 1
2009
2012
  }, 8, ["label"]),
2010
- T(o(se), {
2011
- label: o(v)("扫描倍率")
2013
+ T(n(se), {
2014
+ label: n(v)("扫描倍率")
2012
2015
  }, {
2013
2016
  default: x(() => [
2014
- _("span", Mo, V(y.value.scanScale), 1)
2017
+ b("span", Mo, V(w.value.scanScale), 1)
2015
2018
  ]),
2016
2019
  _: 1
2017
2020
  }, 8, ["label"]),
2018
- T(o(se), {
2019
- label: o(v)("扫描时刻")
2021
+ T(n(se), {
2022
+ label: n(v)("扫描时刻")
2020
2023
  }, {
2021
2024
  default: x(() => [
2022
- _("span", Io, V(y.value.scanTime), 1)
2025
+ b("span", Io, V(w.value.scanTime), 1)
2023
2026
  ]),
2024
2027
  _: 1
2025
2028
  }, 8, ["label"]),
2026
- T(o(se), {
2027
- label: o(v)("扫描时间")
2029
+ T(n(se), {
2030
+ label: n(v)("扫描时间")
2028
2031
  }, {
2029
2032
  default: x(() => [
2030
- _("span", So, V(y.value.scanDuration || 0) + "s", 1)
2033
+ b("span", So, V(w.value.scanDuration || 0) + "s", 1)
2031
2034
  ]),
2032
2035
  _: 1
2033
2036
  }, 8, ["label"]),
2034
- y.value.ext ? (w(), P(o(se), {
2037
+ w.value.ext ? (y(), P(n(se), {
2035
2038
  key: 0,
2036
- label: o(v)("扫描设备")
2039
+ label: n(v)("扫描设备")
2037
2040
  }, {
2038
2041
  default: x(() => [
2039
- _("span", Ho, V(y.value.ext.machineNum || ""), 1)
2042
+ b("span", Ho, V(w.value.ext.machineNum || ""), 1)
2040
2043
  ]),
2041
2044
  _: 1
2042
2045
  }, 8, ["label"])) : A("", !0)
@@ -2046,44 +2049,44 @@ const so = /* @__PURE__ */ ee({
2046
2049
  ]),
2047
2050
  _: 1
2048
2051
  }, 8, ["modelValue", "title"]),
2049
- T(o(je), {
2050
- modelValue: o(Se),
2052
+ T(n(je), {
2053
+ modelValue: n(Se),
2051
2054
  "onUpdate:modelValue": S[4] || (S[4] = (K) => Ve(Se) ? Se.value = K : null),
2052
2055
  "append-to-body": !0,
2053
- title: o(v)("语音输入"),
2056
+ title: n(v)("语音输入"),
2054
2057
  width: "500px",
2055
2058
  top: "5vh"
2056
2059
  }, {
2057
2060
  footer: x(() => [
2058
- T(o(ge), { onClick: o(Et) }, {
2061
+ T(n(ge), { onClick: n(Et) }, {
2059
2062
  default: x(() => [
2060
- G(V(o(v)("取消")), 1)
2063
+ G(V(n(v)("取消")), 1)
2061
2064
  ]),
2062
2065
  _: 1
2063
2066
  }, 8, ["onClick"]),
2064
- T(o(ge), {
2067
+ T(n(ge), {
2065
2068
  type: "primary",
2066
- onClick: o(Vt)
2069
+ onClick: n(Vt)
2067
2070
  }, {
2068
2071
  default: x(() => [
2069
- G(V(o(v)("确定")), 1)
2072
+ G(V(n(v)("确定")), 1)
2070
2073
  ]),
2071
2074
  _: 1
2072
2075
  }, 8, ["onClick"])
2073
2076
  ]),
2074
2077
  default: x(() => [
2075
- T(o(tt), { "label-position": "left" }, {
2078
+ T(n(tt), { "label-position": "left" }, {
2076
2079
  default: x(() => {
2077
2080
  var K;
2078
2081
  return [
2079
- T(o(se), null, {
2082
+ T(n(se), null, {
2080
2083
  default: x(() => {
2081
2084
  var U;
2082
2085
  return [
2083
- (U = o(C)) != null && U.src ? (w(), L("audio", {
2086
+ (U = n(C)) != null && U.src ? (y(), L("audio", {
2084
2087
  key: 0,
2085
2088
  class: "width-100%",
2086
- src: o(C).src,
2089
+ src: n(C).src,
2087
2090
  controls: "",
2088
2091
  preload: "auto"
2089
2092
  }, null, 8, Po)) : A("", !0)
@@ -2091,28 +2094,28 @@ const so = /* @__PURE__ */ ee({
2091
2094
  }),
2092
2095
  _: 1
2093
2096
  }),
2094
- (K = o(C)) != null && K.src ? A("", !0) : (w(), P(o(se), { key: 0 }, {
2097
+ (K = n(C)) != null && K.src ? A("", !0) : (y(), P(n(se), { key: 0 }, {
2095
2098
  default: x(() => [
2096
- o(ie) ? (w(), P(o(ge), {
2099
+ n(ie) ? (y(), P(n(ge), {
2097
2100
  key: 1,
2098
2101
  type: "danger",
2099
- onClick: o(Lt)
2102
+ onClick: n(Lt)
2100
2103
  }, {
2101
2104
  default: x(() => [
2102
- G(V(o(v)("结束录音")), 1)
2105
+ G(V(n(v)("结束录音")), 1)
2103
2106
  ]),
2104
2107
  _: 1
2105
- }, 8, ["onClick"])) : (w(), P(o(ge), {
2108
+ }, 8, ["onClick"])) : (y(), P(n(ge), {
2106
2109
  key: 0,
2107
2110
  type: "primary",
2108
- onClick: o(He)
2111
+ onClick: n(He)
2109
2112
  }, {
2110
2113
  default: x(() => [
2111
- G(V(o(v)("开始录音")), 1)
2114
+ G(V(n(v)("开始录音")), 1)
2112
2115
  ]),
2113
2116
  _: 1
2114
2117
  }, 8, ["onClick"])),
2115
- o(ie) ? (w(), L("span", Ro, V(o(v)("录音时长")) + ":" + V(o(F)) + "s", 1)) : A("", !0)
2118
+ n(ie) ? (y(), L("span", Ro, V(n(v)("录音时长")) + ":" + V(n(F)) + "s", 1)) : A("", !0)
2116
2119
  ]),
2117
2120
  _: 1
2118
2121
  }))
@@ -2123,22 +2126,22 @@ const so = /* @__PURE__ */ ee({
2123
2126
  ]),
2124
2127
  _: 1
2125
2128
  }, 8, ["modelValue", "title"]),
2126
- z.hotmap && z.hotmap.enable && z.hotmap.type !== "switch" ? (w(), L("div", {
2129
+ z.hotmap && z.hotmap.enable && z.hotmap.type !== "switch" ? (y(), L("div", {
2127
2130
  key: 8,
2128
2131
  class: "hzzt-kfb-view__hotmap",
2129
- style: W({ left: o(Nt) + "px" })
2132
+ style: W({ left: n(Nt) + "px" })
2130
2133
  }, [
2131
- T(o(be), {
2134
+ T(n(_e), {
2132
2135
  class: "icon-caret-left",
2133
2136
  size: "30",
2134
- onMousedown: o(st)
2137
+ onMousedown: n(st)
2135
2138
  }, {
2136
2139
  default: x(() => S[6] || (S[6] = [
2137
- _("svg", {
2140
+ b("svg", {
2138
2141
  xmlns: "http://www.w3.org/2000/svg",
2139
2142
  viewBox: "0 0 1024 1024"
2140
2143
  }, [
2141
- _("path", {
2144
+ b("path", {
2142
2145
  fill: "currentColor",
2143
2146
  d: "M672 192 288 511.936 672 832z"
2144
2147
  })
@@ -2147,17 +2150,17 @@ const so = /* @__PURE__ */ ee({
2147
2150
  _: 1,
2148
2151
  __: [6]
2149
2152
  }, 8, ["onMousedown"]),
2150
- T(o(be), {
2153
+ T(n(_e), {
2151
2154
  class: "icon-caret-right",
2152
2155
  size: "30",
2153
- onMousedown: o(st)
2156
+ onMousedown: n(st)
2154
2157
  }, {
2155
2158
  default: x(() => S[7] || (S[7] = [
2156
- _("svg", {
2159
+ b("svg", {
2157
2160
  xmlns: "http://www.w3.org/2000/svg",
2158
2161
  viewBox: "0 0 1024 1024"
2159
2162
  }, [
2160
- _("path", {
2163
+ b("path", {
2161
2164
  fill: "currentColor",
2162
2165
  d: "M384 192v640l384-320.064z"
2163
2166
  })
@@ -2167,55 +2170,55 @@ const so = /* @__PURE__ */ ee({
2167
2170
  __: [7]
2168
2171
  }, 8, ["onMousedown"])
2169
2172
  ], 4)) : A("", !0),
2170
- de(z.$slots, "default")
2173
+ ce(z.$slots, "default")
2171
2174
  ], 512);
2172
2175
  };
2173
2176
  }
2174
2177
  });
2175
- function Ao(d, e) {
2178
+ function Ao(c, e) {
2176
2179
  var h, l;
2177
- const n = $(!!((h = d.ai) != null && h.default)), t = $(!!((l = d.ai) != null && l.default)), b = $([]), v = B(
2180
+ const o = $(!!((h = c.ai) != null && h.default)), t = $(!!((l = c.ai) != null && l.default)), _ = $([]), v = B(
2178
2181
  () => {
2179
- var a, c, s, r;
2180
- return (c = (a = e.value) == null ? void 0 : a.analysis) != null && c.id ? ((r = (s = e.value) == null ? void 0 : s.analysis) == null ? void 0 : r.class) || "auto" : "";
2182
+ var a, m, r, s;
2183
+ return (m = (a = e.value) == null ? void 0 : a.analysis) != null && m.id ? ((s = (r = e.value) == null ? void 0 : r.analysis) == null ? void 0 : s.class) || "auto" : "";
2181
2184
  }
2182
2185
  );
2183
2186
  ne(() => {
2184
2187
  var a;
2185
- return (a = d.ai) == null ? void 0 : a.default;
2188
+ return (a = c.ai) == null ? void 0 : a.default;
2186
2189
  }, (a) => {
2187
- n.value = !!a, t.value = !!a;
2190
+ o.value = !!a, t.value = !!a;
2188
2191
  }), ne(() => {
2189
2192
  var a;
2190
2193
  return (a = e == null ? void 0 : e.value) == null ? void 0 : a.id;
2191
2194
  }, u), pe(() => {
2192
- var a, c;
2193
- n.value = !!((a = d.ai) != null && a.default), t.value = !!((c = d.ai) != null && c.default), u();
2195
+ var a, m;
2196
+ o.value = !!((a = c.ai) != null && a.default), t.value = !!((m = c.ai) != null && m.default), u();
2194
2197
  });
2195
2198
  function u() {
2196
2199
  var a;
2197
- (a = e.value) != null && a.id && v.value ? n.value || t.value ? i() : b.value = [] : b.value = [];
2200
+ (a = e.value) != null && a.id && v.value ? o.value || t.value ? i() : _.value = [] : _.value = [];
2198
2201
  }
2199
2202
  function i() {
2200
- d.ai.handle(v.value, e.value).then((a) => {
2201
- b.value = a;
2203
+ c.ai.handle(v.value, e.value).then((a) => {
2204
+ _.value = a;
2202
2205
  }).catch(() => {
2203
- b.value = [], v.value === "IQC" ? t.value = !1 : n.value = !1;
2206
+ _.value = [], v.value === "IQC" ? t.value = !1 : o.value = !1;
2204
2207
  });
2205
2208
  }
2206
- function m() {
2209
+ function f() {
2207
2210
  t.value = !1, u();
2208
2211
  }
2209
2212
  function g() {
2210
- n.value = !1, u();
2213
+ o.value = !1, u();
2211
2214
  }
2212
2215
  return {
2213
2216
  analysisClass: v,
2214
- aiLabelList: b,
2215
- enableAi: n,
2217
+ aiLabelList: _,
2218
+ enableAi: o,
2216
2219
  enableIqc: t,
2217
2220
  toggleIqc: g,
2218
- toggleAi: m
2221
+ toggleAi: f
2219
2222
  };
2220
2223
  }
2221
2224
  const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
@@ -2229,7 +2232,7 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2229
2232
  },
2230
2233
  fit: {
2231
2234
  type: String,
2232
- validator: (d) => ["", "contain", "cover", "fill", "none", "scale-down"].includes(d),
2235
+ validator: (c) => ["", "contain", "cover", "fill", "none", "scale-down"].includes(c),
2233
2236
  default: ""
2234
2237
  },
2235
2238
  retryTimes: {
@@ -2241,15 +2244,15 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2241
2244
  default: () => ({})
2242
2245
  }
2243
2246
  },
2244
- setup(d) {
2245
- const e = d;
2246
- let n = 0;
2247
- const t = $(!1), b = ot({
2247
+ setup(c) {
2248
+ const e = c;
2249
+ let o = 0;
2250
+ const t = $(!1), _ = ot({
2248
2251
  x: 0,
2249
2252
  y: 0
2250
2253
  }), v = B(() => ({
2251
- top: `${b.y + 10}px`,
2252
- left: `${b.x}px`,
2254
+ top: `${_.y + 10}px`,
2255
+ left: `${_.x}px`,
2253
2256
  transform: "translateY(-50%)",
2254
2257
  width: `${4 * 300 / 3}px`,
2255
2258
  height: "300px",
@@ -2258,51 +2261,51 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2258
2261
  }));
2259
2262
  function u(h) {
2260
2263
  const l = h.target;
2261
- n < e.retryTimes ? (l.src = e.src, n++) : l.src = Ge;
2264
+ o < e.retryTimes ? (l.src = e.src, o++) : l.src = Ge;
2262
2265
  }
2263
2266
  function i(h) {
2264
2267
  if (h.target) {
2265
- const r = h.target, p = r.tagName;
2266
- let y = "";
2267
- if (r.tagName === "IMG" ? y = r.src || "" : p === "DIV" && (y = r.children[0].src || ""), y.indexOf(Ge) > -1)
2268
+ const s = h.target, p = s.tagName;
2269
+ let w = "";
2270
+ if (s.tagName === "IMG" ? w = s.src || "" : p === "DIV" && (w = s.children[0].src || ""), w.indexOf(Ge) > -1)
2268
2271
  return;
2269
2272
  }
2270
- const { x: l, y: a } = m(h), c = 4 * 300 / 3, s = 300;
2271
- b.x = Math.min(Math.max(l, c / 2), window.innerWidth - c / 2), b.y = Math.min(Math.max(a, s / 2), window.innerHeight - s / 2), t.value = !0;
2273
+ const { x: l, y: a } = f(h), m = 4 * 300 / 3, r = 300;
2274
+ _.x = Math.min(Math.max(l, m / 2), window.innerWidth - m / 2), _.y = Math.min(Math.max(a, r / 2), window.innerHeight - r / 2), t.value = !0;
2272
2275
  }
2273
- function m(h) {
2274
- const l = h.target, a = h.offsetX, c = h.offsetY, s = l.clientWidth, r = l.clientHeight;
2276
+ function f(h) {
2277
+ const l = h.target, a = h.offsetX, m = h.offsetY, r = l.clientWidth, s = l.clientHeight;
2275
2278
  return {
2276
- x: h.clientX + s - a,
2277
- y: h.clientY - c + r / 2
2279
+ x: h.clientX + r - a,
2280
+ y: h.clientY - m + s / 2
2278
2281
  };
2279
2282
  }
2280
2283
  function g() {
2281
2284
  t.value = !1;
2282
2285
  }
2283
- return (h, l) => (w(), L("div", {
2286
+ return (h, l) => (y(), L("div", {
2284
2287
  class: "relative",
2285
2288
  onMouseenter: i,
2286
2289
  onMouseleave: g
2287
2290
  }, [
2288
- _("img", {
2289
- src: d.src,
2290
- fit: d.fit,
2291
+ b("img", {
2292
+ src: c.src,
2293
+ fit: c.fit,
2291
2294
  onError: u,
2292
2295
  style: {
2293
2296
  height: "100%",
2294
2297
  width: "100%"
2295
2298
  }
2296
2299
  }, null, 40, No),
2297
- (w(), P(Fe, { to: "body" }, [
2298
- t.value ? (w(), L("div", {
2300
+ (y(), P(Fe, { to: "body" }, [
2301
+ t.value ? (y(), L("div", {
2299
2302
  key: 0,
2300
2303
  class: "fixed hzzt-kfb-img-triangle-left",
2301
2304
  style: W(v.value)
2302
2305
  }, [
2303
- _("img", {
2304
- src: d.src,
2305
- fit: d.fit,
2306
+ b("img", {
2307
+ src: c.src,
2308
+ fit: c.fit,
2306
2309
  style: {
2307
2310
  objectFit: "contain",
2308
2311
  height: "100%",
@@ -2321,9 +2324,9 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2321
2324
  xmlns: "http://www.w3.org/2000/svg",
2322
2325
  viewBox: "0 0 1024 1024"
2323
2326
  };
2324
- function Fo(d, e) {
2325
- return w(), L("svg", Uo, e[0] || (e[0] = [
2326
- _("path", {
2327
+ function Fo(c, e) {
2328
+ return y(), L("svg", Uo, e[0] || (e[0] = [
2329
+ b("path", {
2327
2330
  fill: "currentColor",
2328
2331
  d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
2329
2332
  }, null, -1)
@@ -2336,10 +2339,10 @@ const Ko = /* @__PURE__ */ he(Do, [["render", Fo]]), jo = {}, Oo = {
2336
2339
  fill: "none",
2337
2340
  xmlns: "http://www.w3.org/2000/svg"
2338
2341
  };
2339
- function Go(d, e) {
2340
- return w(), L("svg", Oo, e[0] || (e[0] = [
2341
- _("g", { id: "Frame" }, [
2342
- _("path", {
2342
+ function Go(c, e) {
2343
+ return y(), L("svg", Oo, e[0] || (e[0] = [
2344
+ b("g", { id: "Frame" }, [
2345
+ b("path", {
2343
2346
  id: "Vector",
2344
2347
  d: "M5.33333 2.66659H14V3.99992H5.33333V2.66659ZM2 2.33325H4V4.33325H2V2.33325ZM2 6.99992H4V8.99992H2V6.99992ZM2 11.6666H4V13.6666H2V11.6666ZM5.33333 7.33325H14V8.66659H5.33333V7.33325ZM5.33333 11.9999H14V13.3333H5.33333V11.9999Z",
2345
2348
  fill: "currentColor",
@@ -2354,13 +2357,13 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2354
2357
  }, nn = ["onClick"], an = {
2355
2358
  key: 1,
2356
2359
  class: "flex column"
2357
- }, sn = { class: "hzzt-kfb-slides__header" }, rn = { class: "w-30%" }, un = { class: "w-40%" }, dn = { class: "w-20%" }, cn = ["data-index", "onClick"], vn = { class: "w-30% flex" }, fn = { class: "hzzt-kfb-slides__gallery" }, mn = {
2360
+ }, sn = { class: "hzzt-kfb-slides__header" }, rn = { class: "w-30%" }, un = { class: "w-40%" }, cn = { class: "w-20%" }, dn = ["data-index", "onClick"], vn = { class: "w-30% flex" }, fn = { class: "hzzt-kfb-slides__gallery" }, mn = {
2358
2361
  key: 0,
2359
2362
  class: "hzzt-kfb-slides__read"
2360
2363
  }, pn = { class: "w-40% flex" }, hn = ["onClick"], gn = ["onClick"], wn = {
2361
2364
  key: 0,
2362
2365
  class: "flex column py-2"
2363
- }, yn = { class: "flex align-items-center justify-content-center" }, bn = { class: "margin-r-1" }, _n = {
2366
+ }, yn = { class: "flex align-items-center justify-content-center" }, _n = { class: "margin-r-1" }, bn = {
2364
2367
  key: 0,
2365
2368
  class: "margin-r-1 margin-l-2"
2366
2369
  }, kn = /* @__PURE__ */ ee({
@@ -2369,53 +2372,53 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2369
2372
  slides: {}
2370
2373
  },
2371
2374
  emits: ["select", "tool"],
2372
- setup(d, { expose: e, emit: n }) {
2373
- const t = d, b = n, v = J("file-index", {
2375
+ setup(c, { expose: e, emit: o }) {
2376
+ const t = c, _ = o, v = J("file-index", {
2374
2377
  value: 0
2375
2378
  }), u = J("divide", {
2376
2379
  value: !1
2377
2380
  }), i = J("sync", {
2378
2381
  value: !1
2379
- }), m = $(!1), g = $(), h = B(() => t.slides.filter(({ read: p }) => p)), l = B(() => t.slides.filter(({ check: p }) => p)), { t: a } = ce();
2380
- function c(p) {
2381
- v.value = p, b("select", p);
2382
+ }), f = $(!1), g = $(), h = B(() => t.slides.filter(({ read: p }) => p)), l = B(() => t.slides.filter(({ check: p }) => p)), { t: a } = de();
2383
+ function m(p) {
2384
+ v.value = p, _("select", p);
2382
2385
  }
2383
- function s(p) {
2386
+ function r(p) {
2384
2387
  p.check = !p.check;
2385
2388
  }
2386
- function r(p) {
2387
- var k, f, E;
2388
- const y = ((E = (f = (k = g.value.querySelector('[data-index="0"]')) == null ? void 0 : k.getBoundingClientRect) == null ? void 0 : f.call(k)) == null ? void 0 : E.y) || 0;
2389
- g.value.scrollTop = g.value.querySelector(`[data-index="${p}"]`).getBoundingClientRect().y - y;
2389
+ function s(p) {
2390
+ var k, d, E;
2391
+ const w = ((E = (d = (k = g.value.querySelector('[data-index="0"]')) == null ? void 0 : k.getBoundingClientRect) == null ? void 0 : d.call(k)) == null ? void 0 : E.y) || 0;
2392
+ g.value.scrollTop = g.value.querySelector(`[data-index="${p}"]`).getBoundingClientRect().y - w;
2390
2393
  }
2391
2394
  return e({
2392
- jumpToSlide: r
2393
- }), (p, y) => (w(), L("div", Zo, [
2394
- _("div", qo, [
2395
- _("div", Yo, [
2396
- _("span", null, [
2397
- y[4] || (y[4] = G("已读:")),
2398
- _("span", Xo, V(h.value.length), 1),
2395
+ jumpToSlide: s
2396
+ }), (p, w) => (y(), L("div", Zo, [
2397
+ b("div", qo, [
2398
+ b("div", Yo, [
2399
+ b("span", null, [
2400
+ w[4] || (w[4] = G("已读:")),
2401
+ b("span", Xo, V(h.value.length), 1),
2399
2402
  G("/" + V(p.slides.length), 1)
2400
2403
  ]),
2401
- _("div", Qo, [
2402
- T(o(be), {
2404
+ b("div", Qo, [
2405
+ T(n(_e), {
2403
2406
  class: "margin-r-2 pointer",
2404
2407
  size: "16",
2405
- color: m.value ? "#999" : "#000",
2406
- onClick: y[0] || (y[0] = (k) => m.value = !m.value)
2408
+ color: f.value ? "#999" : "#000",
2409
+ onClick: w[0] || (w[0] = (k) => f.value = !f.value)
2407
2410
  }, {
2408
2411
  default: x(() => [
2409
2412
  T(Ko)
2410
2413
  ]),
2411
2414
  _: 1
2412
2415
  }, 8, ["color"]),
2413
- T(o(be), {
2416
+ T(n(_e), {
2414
2417
  class: "pointer",
2415
2418
  name: "cus-list",
2416
2419
  size: "16",
2417
- color: m.value ? "#000" : "#999",
2418
- onClick: y[1] || (y[1] = (k) => m.value = !m.value)
2420
+ color: f.value ? "#000" : "#999",
2421
+ onClick: w[1] || (w[1] = (k) => f.value = !f.value)
2419
2422
  }, {
2420
2423
  default: x(() => [
2421
2424
  T(Wo)
@@ -2424,41 +2427,41 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2424
2427
  }, 8, ["color"])
2425
2428
  ])
2426
2429
  ]),
2427
- _("div", {
2430
+ b("div", {
2428
2431
  class: "flex-1 overflow-auto",
2429
2432
  style: { width: "100%" },
2430
2433
  ref_key: "slidesRef",
2431
2434
  ref: g
2432
2435
  }, [
2433
- m.value ? (w(), L("ul", an, [
2434
- _("li", sn, [
2435
- y[5] || (y[5] = _("div", { class: "w-10%" }, null, -1)),
2436
- _("div", rn, V(o(a)("缩略图")), 1),
2437
- _("div", un, V(o(a)("切片名")), 1),
2438
- _("div", dn, V(o(a)("评分")), 1)
2436
+ f.value ? (y(), L("ul", an, [
2437
+ b("li", sn, [
2438
+ w[5] || (w[5] = b("div", { class: "w-10%" }, null, -1)),
2439
+ b("div", rn, V(n(a)("缩略图")), 1),
2440
+ b("div", un, V(n(a)("切片名")), 1),
2441
+ b("div", cn, V(n(a)("评分")), 1)
2439
2442
  ]),
2440
- (w(!0), L(le, null, oe(p.slides, (k, f) => (w(), L("li", {
2441
- key: f,
2442
- "data-index": f,
2443
+ (y(!0), L(le, null, oe(p.slides, (k, d) => (y(), L("li", {
2444
+ key: d,
2445
+ "data-index": d,
2443
2446
  class: "flex align-items-center overflow-hidden",
2444
2447
  style: W({
2445
- backgroundColor: o(v) === f ? "rgba(6, 85, 195, 0.1)" : "#fff"
2448
+ backgroundColor: n(v) === d ? "rgba(6, 85, 195, 0.1)" : "#fff"
2446
2449
  }),
2447
- onClick: (E) => c(f)
2450
+ onClick: (E) => m(d)
2448
2451
  }, [
2449
- _("div", {
2452
+ b("div", {
2450
2453
  class: "w-10% text-center",
2451
2454
  onClick: Be(() => {
2452
2455
  }, ["stop"])
2453
2456
  }, [
2454
- T(o(Oe), {
2457
+ T(n(Oe), {
2455
2458
  modelValue: k.check,
2456
2459
  "onUpdate:modelValue": (E) => k.check = E,
2457
2460
  style: { width: "14px", height: "16px" }
2458
2461
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
2459
2462
  ]),
2460
- _("div", vn, [
2461
- _("div", fn, [
2463
+ b("div", vn, [
2464
+ b("div", fn, [
2462
2465
  T(Ue, {
2463
2466
  style: W([{ transform: `rotate(${k.angle}deg)` }, { height: "45px" }]),
2464
2467
  "retry-times": 1,
@@ -2473,42 +2476,42 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2473
2476
  style: { height: "45px" },
2474
2477
  class: "flex-1"
2475
2478
  }, null, 8, ["src"]),
2476
- k.read ? A("", !0) : (w(), L("div", mn, V(o(a)("未读")), 1))
2479
+ k.read ? A("", !0) : (y(), L("div", mn, V(n(a)("未读")), 1))
2477
2480
  ])
2478
2481
  ]),
2479
- _("div", pn, [
2480
- T(o(zt), {
2482
+ b("div", pn, [
2483
+ T(n(zt), {
2481
2484
  effect: "dark",
2482
2485
  placement: "bottom",
2483
2486
  content: `${k.name}`
2484
2487
  }, {
2485
2488
  default: x(() => [
2486
- _("span", {
2489
+ b("span", {
2487
2490
  style: { "line-height": "16px" },
2488
2491
  class: "margin-l-1 ellipsis hzzt-kfb-slides__text",
2489
2492
  dir: "rtl",
2490
- onClick: Be((E) => s(k), ["stop"])
2493
+ onClick: Be((E) => r(k), ["stop"])
2491
2494
  }, V(k.name), 9, hn)
2492
2495
  ]),
2493
2496
  _: 2
2494
2497
  }, 1032, ["content"])
2495
2498
  ]),
2496
- _("div", {
2499
+ b("div", {
2497
2500
  class: "w-20% flex text-center pointer",
2498
2501
  style: W({
2499
2502
  color: k.gradeColor
2500
2503
  }),
2501
- onClick: (E) => b("tool", "grade", k)
2504
+ onClick: (E) => _("tool", "grade", k)
2502
2505
  }, V(k.grade), 13, gn)
2503
- ], 12, cn))), 128))
2504
- ])) : (w(), L("div", Jo, [
2505
- (w(!0), L(le, null, oe(p.slides, (k, f) => (w(), L("div", {
2506
- key: f,
2507
- class: ye(["hzzt-kfb-slides__box", o(v) === f ? "hzzt-kfb-slides__box--active" : ""]),
2508
- "data-index": f,
2509
- onClick: (E) => c(f)
2506
+ ], 12, dn))), 128))
2507
+ ])) : (y(), L("div", Jo, [
2508
+ (y(!0), L(le, null, oe(p.slides, (k, d) => (y(), L("div", {
2509
+ key: d,
2510
+ class: ye(["hzzt-kfb-slides__box", n(v) === d ? "hzzt-kfb-slides__box--active" : ""]),
2511
+ "data-index": d,
2512
+ onClick: (E) => m(d)
2510
2513
  }, [
2511
- _("div", tn, [
2514
+ b("div", tn, [
2512
2515
  T(Ue, {
2513
2516
  style: W({ transform: `rotate(${k.angle}deg)` }),
2514
2517
  "retry-times": 1,
@@ -2523,56 +2526,56 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2523
2526
  fit: "cover"
2524
2527
  }, null, 8, ["src"])
2525
2528
  ]),
2526
- _("div", {
2529
+ b("div", {
2527
2530
  class: "flex justify-content-between align-items-center",
2528
2531
  onClick: Be(() => {
2529
2532
  }, ["stop"])
2530
2533
  }, [
2531
- T(o(Oe), {
2534
+ T(n(Oe), {
2532
2535
  modelValue: k.check,
2533
2536
  "onUpdate:modelValue": (E) => k.check = E,
2534
2537
  style: { width: "14px", height: "16px" }
2535
2538
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
2536
- T(o(zt), {
2539
+ T(n(zt), {
2537
2540
  effect: "dark",
2538
2541
  placement: "bottom",
2539
2542
  content: `${k.name}`
2540
2543
  }, {
2541
2544
  default: x(() => [
2542
- _("span", {
2545
+ b("span", {
2543
2546
  style: { "line-height": "16px", "text-align": "center", width: "calc(100% - 14px)" },
2544
2547
  class: "margin-l-1 ellipsis",
2545
- onClick: Be((E) => s(k), ["stop"])
2548
+ onClick: Be((E) => r(k), ["stop"])
2546
2549
  }, V(k.name), 9, ln)
2547
2550
  ]),
2548
2551
  _: 2
2549
2552
  }, 1032, ["content"])
2550
2553
  ]),
2551
- k.read ? A("", !0) : (w(), L("div", on, V(o(a)("未读")), 1)),
2552
- k.grade ? (w(), L("div", {
2554
+ k.read ? A("", !0) : (y(), L("div", on, V(n(a)("未读")), 1)),
2555
+ k.grade ? (y(), L("div", {
2553
2556
  key: 1,
2554
2557
  class: "hzzt-kfb-slides__grade",
2555
2558
  style: W({
2556
2559
  background: k.gradeColor
2557
2560
  }),
2558
- onClick: (E) => b("tool", "grade", k)
2561
+ onClick: (E) => _("tool", "grade", k)
2559
2562
  }, V(k.grade), 13, nn)) : A("", !0),
2560
- de(p.$slots, "slide", { slide: k }, void 0, !0)
2563
+ ce(p.$slots, "slide", { slide: k }, void 0, !0)
2561
2564
  ], 10, en))), 128))
2562
2565
  ]))
2563
2566
  ], 512),
2564
- l.value.length > 1 ? (w(), L("div", wn, [
2565
- _("div", yn, [
2566
- _("span", bn, V(o(a)("分屏")), 1),
2567
- T(o(Le), {
2568
- modelValue: o(u),
2569
- "onUpdate:modelValue": y[2] || (y[2] = (k) => Ve(u) ? u.value = k : null)
2567
+ l.value.length > 1 ? (y(), L("div", wn, [
2568
+ b("div", yn, [
2569
+ b("span", _n, V(n(a)("分屏")), 1),
2570
+ T(n(Le), {
2571
+ modelValue: n(u),
2572
+ "onUpdate:modelValue": w[2] || (w[2] = (k) => Ve(u) ? u.value = k : null)
2570
2573
  }, null, 8, ["modelValue"]),
2571
- o(u) ? (w(), L("span", _n, V(o(a)("同步")), 1)) : A("", !0),
2572
- o(u) ? (w(), P(o(Le), {
2574
+ n(u) ? (y(), L("span", bn, V(n(a)("同步")), 1)) : A("", !0),
2575
+ n(u) ? (y(), P(n(Le), {
2573
2576
  key: 1,
2574
- modelValue: o(i),
2575
- "onUpdate:modelValue": y[3] || (y[3] = (k) => Ve(i) ? i.value = k : null)
2577
+ modelValue: n(i),
2578
+ "onUpdate:modelValue": w[3] || (w[3] = (k) => Ve(i) ? i.value = k : null)
2576
2579
  }, null, 8, ["modelValue"])) : A("", !0)
2577
2580
  ])
2578
2581
  ])) : A("", !0)
@@ -2589,10 +2592,10 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2589
2592
  data: { default: () => [] },
2590
2593
  slide: { default: () => ({}) }
2591
2594
  },
2592
- setup(d, { expose: e }) {
2593
- const n = d, { t } = ce(), b = J("kfbViewRef"), v = $(-1), u = $(1), i = $(100), m = $(!0), g = $([]), h = B(() => n.data.filter((E) => g.value.includes(E.cls || ""))), l = B(() => h.value.slice((u.value - 1) * i.value, u.value * i.value)), a = B(() => {
2595
+ setup(c, { expose: e }) {
2596
+ const o = c, { t } = de(), _ = J("kfbViewRef"), v = $(-1), u = $(1), i = $(100), f = $(!0), g = $([]), h = B(() => o.data.filter((E) => g.value.includes(E.cls || ""))), l = B(() => h.value.slice((u.value - 1) * i.value, u.value * i.value)), a = B(() => {
2594
2597
  var R, I;
2595
- const E = ((I = (R = n.slide) == null ? void 0 : R.analysis) == null ? void 0 : I.result) || "";
2598
+ const E = ((I = (R = o.slide) == null ? void 0 : R.analysis) == null ? void 0 : I.result) || "";
2596
2599
  return E.indexOf("疑似阳性") > -1 ? {
2597
2600
  type: "warning",
2598
2601
  name: E
@@ -2606,83 +2609,83 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2606
2609
  type: "info",
2607
2610
  name: E || t("未知")
2608
2611
  };
2609
- }), c = B(() => {
2612
+ }), m = B(() => {
2610
2613
  const E = /* @__PURE__ */ new Set();
2611
- return n.data.forEach((R) => {
2614
+ return o.data.forEach((R) => {
2612
2615
  const I = R.cls || "";
2613
2616
  I && !E.has(I) && E.add(I);
2614
2617
  }), Array.from(E);
2615
- }), s = B(() => g.value.length !== 0 && g.value.length !== c.value.length);
2616
- ne(() => c.value, (E) => {
2617
- r(), g.value = [...E];
2618
+ }), r = B(() => g.value.length !== 0 && g.value.length !== m.value.length);
2619
+ ne(() => m.value, (E) => {
2620
+ s(), g.value = [...E];
2618
2621
  }), pe(() => {
2619
- g.value = [...c.value];
2622
+ g.value = [...m.value];
2620
2623
  });
2621
- function r() {
2622
- v.value = -1, u.value = 1, i.value = 100, m.value = !0;
2624
+ function s() {
2625
+ v.value = -1, u.value = 1, i.value = 100, f.value = !0;
2623
2626
  }
2624
2627
  function p(E) {
2625
2628
  const R = h.value.findIndex((I) => I.id === E.id);
2626
- v.value = R, b.value.jumpToLabel(E, 5);
2629
+ v.value = R, _.value.jumpToLabel(E, 5);
2627
2630
  }
2628
- function y(E) {
2629
- const R = n.data.filter((I) => I.cls === E);
2631
+ function w(E) {
2632
+ const R = o.data.filter((I) => I.cls === E);
2630
2633
  return R.length ? `(${R.length})` : "";
2631
2634
  }
2632
2635
  function k() {
2633
- v.value = -1, m.value = g.value.length == c.value.length;
2636
+ v.value = -1, f.value = g.value.length == m.value.length;
2634
2637
  }
2635
- function f(E) {
2636
- g.value = E ? [...c.value] : [], v.value = -1;
2638
+ function d(E) {
2639
+ g.value = E ? [...m.value] : [], v.value = -1;
2637
2640
  }
2638
2641
  return e({
2639
2642
  labelList: h
2640
- }), (E, R) => (w(), L("div", Cn, [
2641
- _("div", Tn, [
2642
- T(o(sl), {
2643
+ }), (E, R) => (y(), L("div", Cn, [
2644
+ b("div", Tn, [
2645
+ T(n(sl), {
2643
2646
  placement: "bottom",
2644
2647
  trigger: "click",
2645
2648
  width: "160"
2646
2649
  }, {
2647
2650
  reference: x(() => [
2648
- T(o(ge), {
2651
+ T(n(ge), {
2649
2652
  class: "margin-r-1",
2650
2653
  type: "primary"
2651
2654
  }, {
2652
2655
  default: x(() => [
2653
- G(V(o(t)("分类")) + " ", 1),
2656
+ G(V(n(t)("分类")) + " ", 1),
2654
2657
  T(X, { name: "arrowDown" })
2655
2658
  ]),
2656
2659
  _: 1
2657
2660
  })
2658
2661
  ]),
2659
2662
  default: x(() => [
2660
- _("div", null, [
2661
- T(o(Oe), {
2662
- modelValue: m.value,
2663
- "onUpdate:modelValue": R[0] || (R[0] = (I) => m.value = I),
2664
- indeterminate: s.value,
2665
- onChange: f
2663
+ b("div", null, [
2664
+ T(n(Oe), {
2665
+ modelValue: f.value,
2666
+ "onUpdate:modelValue": R[0] || (R[0] = (I) => f.value = I),
2667
+ indeterminate: r.value,
2668
+ onChange: d
2666
2669
  }, {
2667
2670
  default: x(() => [
2668
- G(V(o(t)("全选")), 1)
2671
+ G(V(n(t)("全选")), 1)
2669
2672
  ]),
2670
2673
  _: 1
2671
2674
  }, 8, ["modelValue", "indeterminate"]),
2672
- T(o(il), {
2675
+ T(n(il), {
2673
2676
  modelValue: g.value,
2674
2677
  "onUpdate:modelValue": R[1] || (R[1] = (I) => g.value = I),
2675
2678
  class: "flex column",
2676
2679
  onChange: k
2677
2680
  }, {
2678
2681
  default: x(() => [
2679
- (w(!0), L(le, null, oe(c.value, (I) => (w(), P(o(Oe), {
2682
+ (y(!0), L(le, null, oe(m.value, (I) => (y(), P(n(Oe), {
2680
2683
  key: I,
2681
2684
  value: I
2682
2685
  }, {
2683
2686
  default: x(() => [
2684
2687
  G(V(I) + " ", 1),
2685
- _("span", $n, V(y(I)), 1)
2688
+ b("span", $n, V(w(I)), 1)
2686
2689
  ]),
2687
2690
  _: 2
2688
2691
  }, 1032, ["value"]))), 128))
@@ -2693,7 +2696,7 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2693
2696
  ]),
2694
2697
  _: 1
2695
2698
  }),
2696
- T(o(Tt), {
2699
+ T(n(Tt), {
2697
2700
  type: a.value.type,
2698
2701
  class: "margin-l-1"
2699
2702
  }, {
@@ -2703,27 +2706,27 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2703
2706
  _: 1
2704
2707
  }, 8, ["type"])
2705
2708
  ]),
2706
- _("div", Ln, [
2707
- (w(!0), L(le, null, oe(l.value, (I, Z) => (w(), L("div", {
2709
+ b("div", Ln, [
2710
+ (y(!0), L(le, null, oe(l.value, (I, Z) => (y(), L("div", {
2708
2711
  key: Z + (u.value - 1) * i.value,
2709
2712
  class: ye(`hzzt-kfb-ai__img ${v.value === Z + (u.value - 1) * i.value ? "hzzt-kfb-ai__img--active" : ""}`),
2710
2713
  onClick: (Q) => p(I)
2711
2714
  }, [
2712
- T(o(ul), {
2715
+ T(n(ul), {
2713
2716
  "retry-times": 1,
2714
2717
  src: I.imageUrl,
2715
- "error-src": o(Ge)
2718
+ "error-src": n(Ge)
2716
2719
  }, null, 8, ["src", "error-src"]),
2717
- _("div", {
2720
+ b("div", {
2718
2721
  style: W({ color: I.strokeStyle }),
2719
2722
  class: "ellipsis"
2720
2723
  }, [
2721
2724
  G(V(I.cls) + " ", 1),
2722
- I.score ? (w(), L("span", En, V(I.score), 1)) : A("", !0)
2725
+ I.score ? (y(), L("span", En, V(I.score), 1)) : A("", !0)
2723
2726
  ], 4)
2724
2727
  ], 10, xn))), 128))
2725
2728
  ]),
2726
- T(o(rl), {
2729
+ T(n(rl), {
2727
2730
  class: "wrap",
2728
2731
  "current-page": u.value,
2729
2732
  "onUpdate:currentPage": R[2] || (R[2] = (I) => u.value = I),
@@ -2761,10 +2764,10 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2761
2764
  indexModifiers: {}
2762
2765
  }),
2763
2766
  emits: /* @__PURE__ */ we(["tool"], ["update:index"]),
2764
- setup(d, { expose: e, emit: n }) {
2765
- const t = d, b = n, v = Ee(d, "index"), u = B(() => t.slides[v.value]), i = B(() => t.slides.filter(({ check: C }) => C)), m = $(), g = $(), h = $(), l = $(), a = $(t.showKeyboard), c = $(t.showKfbLabel), s = $(!1), r = $(!1), p = $(!1), { t: y } = ce(), k = B(() => {
2767
+ setup(c, { expose: e, emit: o }) {
2768
+ const t = c, _ = o, v = Ee(c, "index"), u = B(() => t.slides[v.value]), i = B(() => t.slides.filter(({ check: C }) => C)), f = $(), g = $(), h = $(), l = $(), a = $(t.showKeyboard), m = $(t.showKfbLabel), r = $(!1), s = $(!1), p = $(!1), { t: w } = de(), k = B(() => {
2766
2769
  var C;
2767
- if (s.value) {
2770
+ if (r.value) {
2768
2771
  const N = i.value.findIndex(({ id: F }) => {
2769
2772
  var ie;
2770
2773
  return F === ((ie = u.value) == null ? void 0 : ie.id);
@@ -2772,7 +2775,7 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2772
2775
  return ((C = h.value) == null ? void 0 : C[N]) || g.value;
2773
2776
  } else
2774
2777
  return g.value;
2775
- }), f = B(() => i.value.length <= 1 ? {
2778
+ }), d = B(() => i.value.length <= 1 ? {
2776
2779
  height: "100%",
2777
2780
  width: "100%"
2778
2781
  } : i.value.length <= 2 ? {
@@ -2792,11 +2795,11 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2792
2795
  width: "100%"
2793
2796
  });
2794
2797
  ne(() => i.value, (C) => {
2795
- s.value && C.length <= 1 && (s.value = !1);
2798
+ r.value && C.length <= 1 && (r.value = !1);
2796
2799
  }), ne(() => u.value, (C) => {
2797
2800
  if (C) {
2798
2801
  const N = C.read;
2799
- C.read = !0, b("tool", "choose", {
2802
+ C.read = !0, _("tool", "choose", {
2800
2803
  slide: C,
2801
2804
  read: N
2802
2805
  });
@@ -2811,9 +2814,9 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2811
2814
  toggleAi: ve
2812
2815
  } = Ao(t, u);
2813
2816
  function te(C, N) {
2814
- C === "next" && t.slides[v.value + 1] && v.value++, C === "prev" && t.slides[v.value - 1] && v.value--, (C === "label" || C === "tool") && (c.value = N), b("tool", C, N);
2817
+ C === "next" && t.slides[v.value + 1] && v.value++, C === "prev" && t.slides[v.value - 1] && v.value--, (C === "label" || C === "tool") && (m.value = N), _("tool", C, N);
2815
2818
  }
2816
- function _e(C) {
2819
+ function be(C) {
2817
2820
  var F, ie, He;
2818
2821
  const N = me(j({}, t.kfb), {
2819
2822
  process: t.process,
@@ -2823,8 +2826,8 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2823
2826
  hotmap: (ie = C == null ? void 0 : C.hotmap) != null && ie.file ? me(j({}, (C == null ? void 0 : C.hotmap) || {}), {
2824
2827
  enable: I.value
2825
2828
  }) : void 0,
2826
- syncPosition: r.value,
2827
- syncZoom: r.value,
2829
+ syncPosition: s.value,
2830
+ syncZoom: s.value,
2828
2831
  handle: void 0
2829
2832
  });
2830
2833
  return (He = t.kfb) != null && He.handle ? t.kfb.handle(C, N) : N;
@@ -2833,11 +2836,11 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2833
2836
  v.value = t.slides.findIndex((N) => N.id === C.id);
2834
2837
  }
2835
2838
  function Ze(C) {
2836
- s.value && (t.slides[C].check = !0);
2839
+ r.value && (t.slides[C].check = !0);
2837
2840
  }
2838
2841
  function qe() {
2839
2842
  var C;
2840
- c.value = !p.value, (C = s.value ? h.value : [g.value]) == null || C.forEach((N) => {
2843
+ m.value = !p.value, (C = r.value ? h.value : [g.value]) == null || C.forEach((N) => {
2841
2844
  p.value && (N.updateGrid({
2842
2845
  show: !p.value,
2843
2846
  ruler: !p.value
@@ -2847,7 +2850,7 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2847
2850
  });
2848
2851
  }
2849
2852
  function Ye(C) {
2850
- v.value = C, m.value && m.value.jumpToSlide(C);
2853
+ v.value = C, f.value && f.value.jumpToSlide(C);
2851
2854
  }
2852
2855
  function Xe(C, N) {
2853
2856
  k.value && k.value.jumpToLabel(C, N);
@@ -2855,8 +2858,8 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2855
2858
  function Se(C, N) {
2856
2859
  k.value && k.value.jumpToPosition(C, N);
2857
2860
  }
2858
- return re("kfbViewRef", k), re("show-keyboard", a), re("show-kfb-label", c), re("hidden-all-label", p), re("file-index", v), re("divide", s), re("sync", r), e({
2859
- divide: s,
2861
+ return re("kfbViewRef", k), re("show-keyboard", a), re("show-kfb-label", m), re("hidden-all-label", p), re("file-index", v), re("divide", r), re("sync", s), e({
2862
+ divide: r,
2860
2863
  slide: u,
2861
2864
  kfbViewRef: k,
2862
2865
  jumpToSlide: Ye,
@@ -2866,8 +2869,8 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2866
2869
  var C;
2867
2870
  return ((C = t.ai) == null ? void 0 : C.enable) && R.value.length;
2868
2871
  })
2869
- }), (C, N) => (w(), L("div", Mn, [
2870
- C.menus.length ? (w(), P(Ae, {
2872
+ }), (C, N) => (y(), L("div", Mn, [
2873
+ C.menus.length ? (y(), P(Ae, {
2871
2874
  key: 0,
2872
2875
  menu: C.menus,
2873
2876
  "show-menu-text": C.showMenuText,
@@ -2876,37 +2879,37 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2876
2879
  onTool: te
2877
2880
  }, {
2878
2881
  left: x(() => [
2879
- de(C.$slots, "left")
2882
+ ce(C.$slots, "left")
2880
2883
  ]),
2881
2884
  right: x(() => [
2882
- T(o(Le), {
2885
+ T(n(Le), {
2883
2886
  modelValue: p.value,
2884
2887
  "onUpdate:modelValue": N[0] || (N[0] = (F) => p.value = F),
2885
- "active-text": o(y)("隐藏标签"),
2888
+ "active-text": n(w)("隐藏标签"),
2886
2889
  class: "margin-r-2",
2887
2890
  onChange: qe
2888
2891
  }, null, 8, ["modelValue", "active-text"]),
2889
- C.ai && C.ai.enable && o(E) === "IQC" ? (w(), P(o(Le), {
2892
+ C.ai && C.ai.enable && n(E) === "IQC" ? (y(), P(n(Le), {
2890
2893
  key: 0,
2891
- modelValue: o(Z),
2894
+ modelValue: n(Z),
2892
2895
  "onUpdate:modelValue": N[1] || (N[1] = (F) => Ve(Z) ? Z.value = F : null),
2893
- "active-text": o(y)("AI质控"),
2896
+ "active-text": n(w)("AI质控"),
2894
2897
  class: "margin-r-2",
2895
- onChange: o(Q)
2896
- }, null, 8, ["modelValue", "active-text", "onChange"])) : C.ai && C.ai.enable && o(E) ? (w(), P(o(Le), {
2898
+ onChange: n(Q)
2899
+ }, null, 8, ["modelValue", "active-text", "onChange"])) : C.ai && C.ai.enable && n(E) ? (y(), P(n(Le), {
2897
2900
  key: 1,
2898
- modelValue: o(I),
2901
+ modelValue: n(I),
2899
2902
  "onUpdate:modelValue": N[2] || (N[2] = (F) => Ve(I) ? I.value = F : null),
2900
- "active-text": o(y)("AI分析"),
2903
+ "active-text": n(w)("AI分析"),
2901
2904
  class: "margin-r-2",
2902
- onChange: o(ve)
2905
+ onChange: n(ve)
2903
2906
  }, null, 8, ["modelValue", "active-text", "onChange"])) : A("", !0),
2904
- de(C.$slots, "right")
2907
+ ce(C.$slots, "right")
2905
2908
  ]),
2906
2909
  _: 3
2907
2910
  }, 8, ["menu", "show-menu-text", "process", "microscope"])) : A("", !0),
2908
- _("div", In, [
2909
- C.showList ? (w(), P(Fe, {
2911
+ b("div", In, [
2912
+ C.showList ? (y(), P(Fe, {
2910
2913
  key: 0,
2911
2914
  defer: "",
2912
2915
  to: "#kfb-slide-list",
@@ -2914,56 +2917,56 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2914
2917
  }, [
2915
2918
  T(zn, {
2916
2919
  ref_key: "slidesRef",
2917
- ref: m,
2920
+ ref: f,
2918
2921
  style: W(C.teleport ? "" : "width: 250px"),
2919
2922
  slides: C.slides,
2920
2923
  onSelect: Ze,
2921
2924
  onTool: te
2922
2925
  }, {
2923
2926
  slide: x(({ slide: F }) => [
2924
- de(C.$slots, "list", { slide: F })
2927
+ ce(C.$slots, "list", { slide: F })
2925
2928
  ]),
2926
2929
  _: 3
2927
2930
  }, 8, ["style", "slides"])
2928
2931
  ], 8, ["disabled"])) : A("", !0),
2929
- (w(), P(Fe, {
2932
+ (y(), P(Fe, {
2930
2933
  defer: "",
2931
2934
  to: "#kfb-slide-view",
2932
2935
  disabled: !C.teleport
2933
2936
  }, [
2934
- _("div", Sn, [
2935
- i.value.length && s.value ? (w(), L("ul", Hn, [
2936
- (w(!0), L(le, null, oe(i.value, (F, ie) => (w(), L("li", {
2937
+ b("div", Sn, [
2938
+ i.value.length && r.value ? (y(), L("ul", Hn, [
2939
+ (y(!0), L(le, null, oe(i.value, (F, ie) => (y(), L("li", {
2937
2940
  key: ie,
2938
- style: W(f.value),
2941
+ style: W(d.value),
2939
2942
  class: ye(u.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
2940
2943
  onClick: (He) => ke(F)
2941
2944
  }, [
2942
- (w(), P(Me, Ke({
2945
+ (y(), P(Me, Ke({
2943
2946
  ref_for: !0,
2944
2947
  ref_key: "kfbViewRefs",
2945
2948
  ref: h,
2946
2949
  key: `kfb-${ie}`
2947
- }, { ref_for: !0 }, _e(F), { onTool: te }), {
2950
+ }, { ref_for: !0 }, be(F), { onTool: te }), {
2948
2951
  default: x(() => [
2949
- de(C.$slots, "kfb", { slide: F })
2952
+ ce(C.$slots, "kfb", { slide: F })
2950
2953
  ]),
2951
2954
  _: 2
2952
2955
  }, 1040))
2953
2956
  ], 14, Pn))), 128))
2954
- ])) : u.value ? (w(), P(Me, Ke({
2957
+ ])) : u.value ? (y(), P(Me, Ke({
2955
2958
  key: 1,
2956
2959
  ref_key: "kfbViewRef",
2957
2960
  ref: g
2958
- }, _e(u.value), { onTool: te }), {
2961
+ }, be(u.value), { onTool: te }), {
2959
2962
  default: x(() => [
2960
- de(C.$slots, "kfb", { slide: u.value })
2963
+ ce(C.$slots, "kfb", { slide: u.value })
2961
2964
  ]),
2962
2965
  _: 3
2963
2966
  }, 16)) : A("", !0)
2964
2967
  ])
2965
2968
  ], 8, ["disabled"])),
2966
- C.ai && C.ai.enable && o(R).length ? (w(), P(Fe, {
2969
+ C.ai && C.ai.enable && n(R).length ? (y(), P(Fe, {
2967
2970
  key: 1,
2968
2971
  defer: "",
2969
2972
  to: "#kfb-slide-ai",
@@ -2973,11 +2976,11 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2973
2976
  style: W(C.teleport ? "" : "width: 350px"),
2974
2977
  ref_key: "kfbAiRef",
2975
2978
  ref: l,
2976
- data: o(R),
2979
+ data: n(R),
2977
2980
  slide: u.value
2978
2981
  }, null, 8, ["style", "data", "slide"])
2979
2982
  ], 8, ["disabled"])) : A("", !0),
2980
- de(C.$slots, "default")
2983
+ ce(C.$slots, "default")
2981
2984
  ])
2982
2985
  ]));
2983
2986
  }
@@ -2985,8 +2988,8 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2985
2988
  We.name = "HzztKfbSlide";
2986
2989
  Me.name = "HzztKfbView";
2987
2990
  Ae.name = "HzztKfbToolbox";
2988
- const Rn = (d, e) => {
2989
- d.use(dl, e == null ? void 0 : e.i18n), d.component(We.name, We), d.component(Me.name, Me), d.component(Ae.name, Ae);
2991
+ const Rn = (c, e) => {
2992
+ c.use(cl, e == null ? void 0 : e.i18n), c.component(We.name, We), c.component(Me.name, Me), c.component(Ae.name, Ae);
2990
2993
  }, Fn = {
2991
2994
  install: Rn,
2992
2995
  HzztKfbSlide: We,
@@ -3002,5 +3005,5 @@ export {
3002
3005
  Me as d,
3003
3006
  Ae as e,
3004
3007
  Fn as i,
3005
- ce as u
3008
+ de as u
3006
3009
  };