vue-data-ui 3.28.0 → 3.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/README.md +89 -63
  2. package/dist/{Arrow-D6OAn5rm.js → Arrow-CITPKnWF.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Bw_azO0n.js → BaseDraggableDialog-DHgIPVmz.js} +1 -1
  4. package/dist/{BaseIcon-DDctLkeT.js → BaseIcon-Cm-IJ179.js} +1 -1
  5. package/dist/{BaseLegendToggle-BOcw1ke8.js → BaseLegendToggle-Q3TiW9u1.js} +1 -1
  6. package/dist/{BaseZoomControls-Cq5AOHQ0.js → BaseZoomControls-ByS_7fmI.js} +1 -1
  7. package/dist/{ColorPicker-DHQvvLT9.js → ColorPicker-Dmus34hN.js} +1 -1
  8. package/dist/{DataTable-BcVZLSs8.js → DataTable-0Vv-aGHD.js} +1 -1
  9. package/dist/HillActions-qz6J_uK7.js +1 -0
  10. package/dist/{Legend-D8NunRPr.js → Legend-DM0ClX3D.js} +1 -1
  11. package/dist/{NonSvgPenAndPaper-CxQZ0YED.js → NonSvgPenAndPaper-Do6RcwEr.js} +1 -1
  12. package/dist/{PackageVersion-ATrKWi8V.js → PackageVersion-C4ZM3Vf7.js} +1 -1
  13. package/dist/PenAndPaper-BGEp-TUm.js +1 -0
  14. package/dist/{Shape-gDVRWM6n.js → Shape-CRe8woTu.js} +1 -1
  15. package/dist/SlicerPreview-CFFUOlQr.js +1 -0
  16. package/dist/{SparkTooltip-cWKhrsKX.js → SparkTooltip-Ch06CV71.js} +1 -1
  17. package/dist/{Title-BLA0tM3g.js → Title-BliHuXfT.js} +1 -1
  18. package/dist/Tooltip-C1q0Qoh7.js +1 -0
  19. package/dist/UserOptions-uWHV_zPB.js +1 -0
  20. package/dist/{useResponsive-D2CPcpda.js → canvas-lib-22VpOI4_.js} +1 -1
  21. package/dist/{chartImage-r-G4CkRK.js → chartImage-DPGnEuYM.js} +1 -1
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-graph.js +1 -1
  48. package/dist/components/vue-ui-heatmap.js +1 -1
  49. package/dist/components/vue-ui-hill.js +1 -1
  50. package/dist/components/vue-ui-history-plot.js +1 -1
  51. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  52. package/dist/components/vue-ui-icon.js +1 -1
  53. package/dist/components/vue-ui-kpi.js +1 -1
  54. package/dist/components/vue-ui-label.js +1 -1
  55. package/dist/components/vue-ui-mini-loader.js +1 -1
  56. package/dist/components/vue-ui-molecule.js +1 -1
  57. package/dist/components/vue-ui-mood-radar.js +1 -1
  58. package/dist/components/vue-ui-nested-donuts.js +1 -1
  59. package/dist/components/vue-ui-onion.js +1 -1
  60. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  61. package/dist/components/vue-ui-pattern-seed.js +1 -1
  62. package/dist/components/vue-ui-pattern.js +1 -1
  63. package/dist/components/vue-ui-quadrant.js +1 -1
  64. package/dist/components/vue-ui-quick-chart.js +1 -1
  65. package/dist/components/vue-ui-radar.js +1 -1
  66. package/dist/components/vue-ui-rating.js +1 -1
  67. package/dist/components/vue-ui-relation-circle.js +1 -1
  68. package/dist/components/vue-ui-ridgeline.js +1 -1
  69. package/dist/components/vue-ui-rings.js +1 -1
  70. package/dist/components/vue-ui-scatter.js +1 -1
  71. package/dist/components/vue-ui-skeleton.js +1 -1
  72. package/dist/components/vue-ui-smiley.js +1 -1
  73. package/dist/components/vue-ui-spark-trend.js +1 -1
  74. package/dist/components/vue-ui-sparkbar.js +1 -1
  75. package/dist/components/vue-ui-sparkgauge.js +1 -1
  76. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  77. package/dist/components/vue-ui-sparkline.js +1 -1
  78. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  79. package/dist/components/vue-ui-stackbar.js +1 -1
  80. package/dist/components/vue-ui-stackline.js +1 -1
  81. package/dist/components/vue-ui-strip-plot.js +1 -1
  82. package/dist/components/vue-ui-table-heatmap.js +1 -1
  83. package/dist/components/vue-ui-table-sparkline.js +1 -1
  84. package/dist/components/vue-ui-table.js +1 -1
  85. package/dist/components/vue-ui-thermometer.js +1 -1
  86. package/dist/components/vue-ui-timer.js +1 -1
  87. package/dist/components/vue-ui-tiremarks.js +1 -1
  88. package/dist/components/vue-ui-treemap.js +1 -1
  89. package/dist/components/vue-ui-vertical-bar.js +1 -1
  90. package/dist/components/vue-ui-waffle.js +1 -1
  91. package/dist/components/vue-ui-wheel.js +1 -1
  92. package/dist/components/vue-ui-word-cloud.js +1 -1
  93. package/dist/components/vue-ui-world.js +1 -1
  94. package/dist/components/vue-ui-xy-canvas.js +1 -1
  95. package/dist/components/vue-ui-xy.js +1 -1
  96. package/dist/{dom-to-png-Cp6rAdnI.js → dom-to-png-D56-Zgv4.js} +1 -1
  97. package/dist/{exposedLib-BDGMSW1B.js → exposedLib-BRtClmZy.js} +1 -1
  98. package/dist/{img-DiP2_5_r.js → img-D4RQwASc.js} +1 -1
  99. package/dist/{labelUtils-DXiFpsZl.js → labelUtils-CdtU-yB_.js} +1 -1
  100. package/dist/{lib-DqD8nbyX.js → lib-rPeBMZrn.js} +2 -2
  101. package/dist/package-DGRUegc-.js +1 -0
  102. package/dist/{pdf-y3S8SBFk.js → pdf-DAicVFxx.js} +1 -1
  103. package/dist/{render-common-tsNLeNaX.js → render-common-CJz0wn0I.js} +1 -1
  104. package/dist/{resolveChartConfig-ChGWTt5l.js → resolveChartConfig-CIhClE5R.js} +1 -1
  105. package/dist/ssr/vue-ui-donut.js +1 -1
  106. package/dist/ssr/vue-ui-xy.js +1 -1
  107. package/dist/ssr.js +1 -1
  108. package/dist/style.css +1 -1
  109. package/dist/types/vue-data-ui.d.ts +126 -0
  110. package/dist/useChartExport-BZts4KFb.js +1 -0
  111. package/dist/{useConfig-DM9fSqjh.js → useConfig-6jO1fkp5.js} +1 -1
  112. package/dist/{useNestedProp-DrLnzyHO.js → useNestedProp-DnGoh-XS.js} +1 -1
  113. package/dist/{useObjectBindings-Cn4Vz0RY.js → useObjectBindings-DiMX4HGv.js} +1 -1
  114. package/dist/{usePrinter-Cj4eIYC_.js → usePrinter-sVoTzet1.js} +1 -1
  115. package/dist/useResponsive-CENUxfEL.js +1 -0
  116. package/dist/useSvgLabelLayout-D1I8sQUi.js +1 -0
  117. package/dist/useTimeLabelCollider-BTybMUFi.js +1 -0
  118. package/dist/useTransitions-ChGGrtrv.js +1 -0
  119. package/dist/utils.js +1 -1
  120. package/dist/vue-data-ui-CxiWUtNw.js +1 -0
  121. package/dist/vue-data-ui.js +1 -1
  122. package/dist/vue-ui-3d-bar-CW8ahywt.js +19 -0
  123. package/dist/{vue-ui-accordion-3lBpCjGm.js → vue-ui-accordion-S3nRtTU-.js} +1 -1
  124. package/dist/vue-ui-age-pyramid-CxMwKICA.js +1 -0
  125. package/dist/{vue-ui-annotator-CpTZHnPw.js → vue-ui-annotator-CdCDYzdK.js} +3 -3
  126. package/dist/vue-ui-bullet-ClnewIWQ.js +34 -0
  127. package/dist/vue-ui-bump-C6FuNDUg.js +8 -0
  128. package/dist/vue-ui-candlestick-CyewIjJk.js +22 -0
  129. package/dist/vue-ui-carousel-table-D0dD4kai.js +1 -0
  130. package/dist/vue-ui-chestnut-nS1vjCqH.js +1 -0
  131. package/dist/vue-ui-chord-B963Q_26.js +21 -0
  132. package/dist/vue-ui-circle-pack-DEY9X3jA.js +13 -0
  133. package/dist/{vue-ui-cursor-Dn-IBaP8.js → vue-ui-cursor-CNv12HQG.js} +1 -1
  134. package/dist/vue-ui-dag-s3-TMmid.js +9 -0
  135. package/dist/vue-ui-dashboard-B5zrGAvS.js +1 -0
  136. package/dist/{vue-ui-digits-BBiRMr01.js → vue-ui-digits-DXQwmTUx.js} +1 -1
  137. package/dist/vue-ui-donut-CDryub1L.js +47 -0
  138. package/dist/{vue-ui-donut-CGyBWxzh.js → vue-ui-donut-DHfOfLBF.js} +1 -1
  139. package/dist/vue-ui-donut-evolution-C5pHSrza.js +2 -0
  140. package/dist/vue-ui-dumbbell-CQbGR7yM.js +9 -0
  141. package/dist/vue-ui-flow-B16Mj6MW.js +3 -0
  142. package/dist/vue-ui-funnel-Dh-xi_Qi.js +1 -0
  143. package/dist/vue-ui-galaxy-U_ZIP5vm.js +1 -0
  144. package/dist/vue-ui-gauge-Dr4zsf6D.js +1 -0
  145. package/dist/vue-ui-geo-DFebja0s.js +1 -0
  146. package/dist/{vue-ui-gizmo-K1lfslsA.js → vue-ui-gizmo-CssVcz-O.js} +1 -1
  147. package/dist/vue-ui-graph-BB_97Qz7.js +7 -0
  148. package/dist/vue-ui-heatmap-DEBbVnrg.js +1 -0
  149. package/dist/vue-ui-hill-C1sHz3TI.js +1 -0
  150. package/dist/vue-ui-history-plot-CsBTJXR3.js +2 -0
  151. package/dist/vue-ui-horizontal-bar-D0kfcpEW.js +4 -0
  152. package/dist/{vue-ui-kpi-BZjfQxmY.js → vue-ui-kpi-CltKSYUI.js} +1 -1
  153. package/dist/vue-ui-label-B_1kM28r.js +7 -0
  154. package/dist/{vue-ui-mini-loader-ltQXdeeW.js → vue-ui-mini-loader-7gqQI5jy.js} +1 -1
  155. package/dist/vue-ui-molecule-DtoyWWTf.js +1 -0
  156. package/dist/vue-ui-mood-radar-ClOxfeH8.js +1 -0
  157. package/dist/vue-ui-nested-donuts-CULAXTg1.js +19 -0
  158. package/dist/vue-ui-onion-D7zu861i.js +5 -0
  159. package/dist/vue-ui-parallel-coordinate-plot-Cjbc-WUG.js +9 -0
  160. package/dist/vue-ui-quadrant-DWAb_t6r.js +2 -0
  161. package/dist/vue-ui-quick-chart-oDZwgVo8.js +17 -0
  162. package/dist/vue-ui-radar-BWG_N0xO.js +1 -0
  163. package/dist/{vue-ui-rating-B33u3iIn.js → vue-ui-rating-CV2b0tjA.js} +1 -1
  164. package/dist/vue-ui-relation-circle-BCRiS2n6.js +1 -0
  165. package/dist/vue-ui-ridgeline-VYcGUP_p.js +2 -0
  166. package/dist/vue-ui-rings-Dl0AjrRj.js +1 -0
  167. package/dist/vue-ui-scatter-DTa48HvG.js +9 -0
  168. package/dist/{vue-ui-skeleton-DTn7uIui.js → vue-ui-skeleton-C5mGG8hR.js} +1 -1
  169. package/dist/{vue-ui-smiley-qCRUFmpq.js → vue-ui-smiley-VTdQetY0.js} +1 -1
  170. package/dist/vue-ui-spark-trend--frxeJ8f.js +1 -0
  171. package/dist/{vue-ui-sparkbar-DPFzdX-D.js → vue-ui-sparkbar-BS5v3HMo.js} +1 -1
  172. package/dist/{vue-ui-sparkgauge-DlEPsxc0.js → vue-ui-sparkgauge-B1TGfXvR.js} +1 -1
  173. package/dist/vue-ui-sparkhistogram-Cs97AL6h.js +1 -0
  174. package/dist/vue-ui-sparkline-Bp9J6x7z.js +1 -0
  175. package/dist/vue-ui-sparkstackbar-BVuuRD10.js +1 -0
  176. package/dist/vue-ui-stackbar-CRuXn3XI.js +29 -0
  177. package/dist/vue-ui-stackline-Besmr9vq.js +39 -0
  178. package/dist/vue-ui-strip-plot-D-aRJkR7.js +2 -0
  179. package/dist/{vue-ui-table-3F8i2ZjT.js → vue-ui-table-D_UdQwV3.js} +1 -1
  180. package/dist/{vue-ui-table-heatmap-CtYPYMIJ.js → vue-ui-table-heatmap-BtziURiu.js} +1 -1
  181. package/dist/vue-ui-table-sparkline-BdNo8fW_.js +1 -0
  182. package/dist/vue-ui-thermometer-TFg1SGY7.js +1 -0
  183. package/dist/{vue-ui-timer-DsWRNtRa.js → vue-ui-timer-BdPksC26.js} +2 -2
  184. package/dist/vue-ui-tiremarks-HWuO-eyj.js +1 -0
  185. package/dist/vue-ui-treemap-IegiAqaX.js +1 -0
  186. package/dist/vue-ui-waffle-BEyGfPks.js +1 -0
  187. package/dist/vue-ui-wheel-k8GNPGET.js +1 -0
  188. package/dist/vue-ui-word-cloud-D9_15Ve7.js +4 -0
  189. package/dist/{vue-ui-world-DQWjoFDx.js → vue-ui-world-rCp5Vb7u.js} +2 -2
  190. package/dist/{vue-ui-xy-DfvcqUwW.js → vue-ui-xy-42AXepcQ.js} +2 -2
  191. package/dist/vue-ui-xy-CFgFg11v.js +24 -0
  192. package/dist/vue-ui-xy-canvas-CeC3gcrW.js +9 -0
  193. package/package.json +3 -3
  194. package/dist/HillActions-Bq3UJ1Ut.js +0 -1
  195. package/dist/PenAndPaper-BsBFp16i.js +0 -1
  196. package/dist/SlicerPreview-Dpu4nMz6.js +0 -1
  197. package/dist/Tooltip-Iyb_S6oQ.js +0 -1
  198. package/dist/UserOptions-BSJ_S_us.js +0 -1
  199. package/dist/package-UBaXe2y9.js +0 -1
  200. package/dist/useChartExport-DtPNpc9M.js +0 -1
  201. package/dist/useTimeLabelCollider-XQf_S7-z.js +0 -1
  202. package/dist/useTransitions-DfSHzsdz.js +0 -1
  203. package/dist/vue-data-ui-yeD7UyUU.js +0 -1
  204. package/dist/vue-ui-3d-bar-COrzyTkO.js +0 -19
  205. package/dist/vue-ui-age-pyramid-CAoVjkOA.js +0 -1
  206. package/dist/vue-ui-bullet-yvY_gdw2.js +0 -34
  207. package/dist/vue-ui-bump-ChsFkIq9.js +0 -10
  208. package/dist/vue-ui-candlestick-D9UXZQoN.js +0 -22
  209. package/dist/vue-ui-carousel-table-CKyE4hME.js +0 -1
  210. package/dist/vue-ui-chestnut-BuLjW5nb.js +0 -1
  211. package/dist/vue-ui-chord-Bjwt2_BK.js +0 -21
  212. package/dist/vue-ui-circle-pack-BpAuZruK.js +0 -13
  213. package/dist/vue-ui-dag-CyY3cSa6.js +0 -9
  214. package/dist/vue-ui-dashboard-DmyStkQM.js +0 -1
  215. package/dist/vue-ui-donut-DMF74OY0.js +0 -47
  216. package/dist/vue-ui-donut-evolution-Du4zLc8D.js +0 -2
  217. package/dist/vue-ui-dumbbell-CxL_AY5e.js +0 -9
  218. package/dist/vue-ui-flow-h6kTMamJ.js +0 -3
  219. package/dist/vue-ui-funnel-BG5Addzr.js +0 -1
  220. package/dist/vue-ui-galaxy-CgnshY8i.js +0 -1
  221. package/dist/vue-ui-gauge-a13ojQPr.js +0 -1
  222. package/dist/vue-ui-geo-CflzhtuD.js +0 -1
  223. package/dist/vue-ui-graph-C2Se8bnB.js +0 -7
  224. package/dist/vue-ui-heatmap-5NsQkMwS.js +0 -1
  225. package/dist/vue-ui-hill-COnjVS2L.js +0 -1
  226. package/dist/vue-ui-history-plot-BRJdXsNo.js +0 -2
  227. package/dist/vue-ui-horizontal-bar-G0wEKTRu.js +0 -4
  228. package/dist/vue-ui-label-BD_hTtgZ.js +0 -7
  229. package/dist/vue-ui-molecule-DI-CS5w8.js +0 -1
  230. package/dist/vue-ui-mood-radar-B5ar9WAZ.js +0 -1
  231. package/dist/vue-ui-nested-donuts-BP2YzVma.js +0 -19
  232. package/dist/vue-ui-onion-CCiZ6jmF.js +0 -5
  233. package/dist/vue-ui-parallel-coordinate-plot-3E0CysDx.js +0 -9
  234. package/dist/vue-ui-quadrant-BwgwvKy8.js +0 -2
  235. package/dist/vue-ui-quick-chart-BXNg0LNe.js +0 -17
  236. package/dist/vue-ui-radar-B9Ntj_Gj.js +0 -1
  237. package/dist/vue-ui-relation-circle-B60IUw50.js +0 -1
  238. package/dist/vue-ui-ridgeline-BPbYng2A.js +0 -2
  239. package/dist/vue-ui-rings-BXo9p3Ab.js +0 -1
  240. package/dist/vue-ui-scatter-BwrYPDzh.js +0 -9
  241. package/dist/vue-ui-spark-trend-wKFu-O7B.js +0 -1
  242. package/dist/vue-ui-sparkhistogram-DLZxE6oz.js +0 -1
  243. package/dist/vue-ui-sparkline-BflZPl7s.js +0 -1
  244. package/dist/vue-ui-sparkstackbar-DvSQfGeA.js +0 -1
  245. package/dist/vue-ui-stackbar-JKC9qE6M.js +0 -29
  246. package/dist/vue-ui-stackline-G7-oqfzp.js +0 -39
  247. package/dist/vue-ui-strip-plot-54u7AUip.js +0 -2
  248. package/dist/vue-ui-table-sparkline-CTfYTzhA.js +0 -1
  249. package/dist/vue-ui-thermometer-BpFbPqxK.js +0 -1
  250. package/dist/vue-ui-tiremarks-C4wVcSVP.js +0 -1
  251. package/dist/vue-ui-treemap-mYRv6gga.js +0 -1
  252. package/dist/vue-ui-waffle-DNBIZqZz.js +0 -1
  253. package/dist/vue-ui-wheel-DPHDp0t1.js +0 -1
  254. package/dist/vue-ui-word-cloud-BY4YsW7-.js +0 -4
  255. package/dist/vue-ui-xy-M9aD-G5a.js +0 -24
  256. package/dist/vue-ui-xy-canvas-BpwG1Ipj.js +0 -9
@@ -1 +1 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./lib-DqD8nbyX.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createElementBlock as i,normalizeClass as a,openBlock as o,unref as s,useCssVars as c,useSlots as l}from"vue";var u=/* @__PURE__ */ e({default:()=>v}),d=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],f=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],p=`stroke-linecap="round" stroke-linejoin="round"`,m=`stroke-linecap="round"`,h=`stroke-linejoin="round"`,g=`fill="none"`,_=`stroke="none"`,v=/*#__PURE__*/ n({__name:`BaseIcon`,props:{name:String,size:{type:[Number,String],default:24},stroke:{type:String,default:`#CCCCCC`},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1},spinDuration:{type:String,default:`1s`}},setup(e){c(e=>({v4df85d30:v.value}));let n=e,u=r(()=>n.name===`numbers`?`0 0 20 21`:`0 0 20 20`),v=r(()=>n.spinDuration),y=e=>`fill="${e}"`,b=e=>`style="opacity:${e}"`,x=e=>{let t=[1,.7,.5,.3,.15],n=t.length*2,r=Array.from({length:n},(e,t)=>1+t*2);return r.flatMap(i=>r.map(r=>{let a=(Math.max(Math.abs(r-n),Math.abs(i-n))-1)/2;return`<circle ${y(e)} ${_} cx="${r}" cy="${i}" r="${t[a]}" />`})).join(``)},S={chartHill:`M1 16c9 0 6-8 9-8s0 8 9 8M10 3a1 1 0 000 2 1 1 0 000-2m-8 8a1 1 0 000 2 1 1 0 000-2m16 0a1 1 0 000 2 1 1 0 000-2`,annotation:`M10 17a1 1 0 000 2 1 1 0 000-2m-9 1h6m6 0h6M4 1h12v9h-4l-2 4M7 4h3M7 7h6M4 1v9h4l2 4`,chartAgePyramid:`M2 15v2h7v-2zm9 0v2h7v-2zm-2-2H3v-2h6zm2-2v2h6v-2zM9 9H4V7h5zm2-2v2h5V7zM9 5H6V3h3zm2-2v2h3V3z`,chartLine:`M1 1v18h18M4 13c1 3 2 3 2 3 3 0 1-9 4-9 1 0 3 5 3 5 1 2 3 2 4-9`,dashboard:`M1 5a1 1 0 008 0A1 1 0 001 5m4-4v4h4M1 15h5m-5 3h7m5-9c0 1 0 1 1 1s1 0 1-1V6c0-1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 1 1 0 0 0-14 0m5-8h4M5 3l1 1m9-1-1 1m-4 3v3l3 3`,carouselTable:`M16 2v16M14 4l2-2 2 2m-4 12 2 2 2-2M3 2h8c1 0 1 1 1 1v14c0 1-1 1-1 1H3c-1 0-1-1-1-1V3s0-1 1-1M2 6h10M2 9h10M2 12h10M2 15h10M7 2v16M4 4h1m4 0h1`,trash:`M7 18h6c2 0 2 0 3-12H4c1 12 1 12 3 12M3 4h14M8 2h4m-2 6v7M7 8l.518 7.01M13 8l-.546 6.984`,chartFunnel:`M9 18c1 1 2 0 2 0l1-8 6-4V3C18 1 2 1 2 3v3l6 4zM2 3C1 6 18 6 18 3`,chartTableSparkline:`M1 2v2m0 5v2s0 1 1 1h4s1 0 1-1V9c0-1-1-1-1-1H2C1 8 1 9 1 9m0 7v2s0 1 1 1h4c1 0 1-1 1-1v-2c0-1-1-1-1-1H2c-1 0-1 1-1 1M9 3c2-2 3-2 5 0s3 2 5 0M9 10c2 2 3 2 5 0s3-2 5 0M9 17c2-2 3-2 5 0s3 2 5 0M1 4s0 1 1 1h4s1 0 1-1V2c0-1-1-1-1-1H2S1 1 1 2`,chartCirclePack:`M10 7a1 1 0 0 0 0 6 1 1 0 0 0 0-6M5 5a1 1 0 0 0 2.716 3.039A1 1 0 0 0 5 5m8-1a1 1 0 0 0-1.646 3.322A1 1 0 0 0 13 4m-4.494 8.628a1 1 0 0 0-3.456 4.127 1 1 0 0 0 3.456-4.127m6.459-5.64a1 1 0 0 0-1.43 2.77 1 1 0 0 0 1.43-2.77M16 11a1 1 0 0 0-2.916 3.742A1 1 0 0 0 16 11`,home:`m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8`,icons:`m1 9 4-7 4 7zm11 0V2h7v7zm-7 3c-5 0-5 7 0 7s5-7 0-7m7 0 7 7m0-7-7 7`,robot:`M2 2h16v16H2zm4 3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m8 0a1 1 0 0 0 0 3 1 1 0 0 0 0-3M1 4v5m18-5v5M5 11c1 5 9 5 10 0M7 1h6`,computer:`M3 2S2 2 2 3v10s0 1 1 1h14c1 0 1-1 1-1V3c0-1-1-1-1-1zm6 12v2m2-2v2m-3 1c.333-.333.667-.667 1-2q1 1.5 2 0c.333 1.333.667 1.667 1 2H7c-1 0-2 1-2 2h10c0-1-1-2-2-2h-1M6 5 4 8l2 3m8-6 2 3-2 3m-2-7-4 8`,htmlTag:`m6 5-5 5 5 5m8-10 5 5-5 5m-7 3 6-16`,curlyBrackets:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3`,curlySpread:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3m-5-9a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,world:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18c-7 3-7 15 0 18m0-18c7 3 7 15 0 18m0-18v18m-9-9h18M1 10`,eye:`M1 10q9-9 18 0-9 9-18 0m9-3a1 1 0 0 0 0 6 1 1 0 0 0 0-6m0 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,chartRidgeline:`m1 15 3 1 3-2 3 4 4-8 3 6 2-1M1 12l5-1 4 1 4-6m0 0 3 5 2 1M1 9l5-1h3l5-7 3 5h2`,chartChord:`M9 1Q2 2 1 9m0 2q1 7 8 8m2 0q7-1 8-8m0-2q-1-7-8-8M5.683 2.021C9 6 13 4 14.893 2.322M2.421 4.987c12.048 2.15 13.124 7.229 14.94 10.343M4.83 17.48c4.19-3.707 6.377-3.262 10.603-.111M1.976 14.033c9.231-1.298 13.976-4.968 15.237-9.64`,tableDialogOpen:`M1 4V1m9 4v10m-5-3.364 10 .019M5 8.396l10 .016M4 4 1 1h3m0 15-3 3m0-3v3h3m12-3 3 3m-3 0h3v-3M16 4l3-3m-3 0h3v3M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,tableDialogClose:`M4 4 1 1m3 0v3H1m15 0 3-3m-3 0v3h3m-3 12 3 3m0-3h-3v3M4 16l-3 3m0-3h3v3m6-14v10m-5-3.364 10 .019M5 8.396l10 .016M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,minimap:`M1 3c0-2 3-2 3 0v14c0 2-3 2-3 0zm3 0h12M4 17h12V3c0-2 3-2 3 0v14c0 2-3 2-3 0M6 11l2 3 1-6 3 3 2-6`,move:`M10 2v6m0 4v6m-2-8H2m10 0h6M7 4l3-2 3 2M4 7l-2 3 2 3m3 3 3 2 3-2m3-3 2-3-2-3`,resize:`M2 12v5s0 1 1 1h5s1 0 1-2v-4c0-1-1-1-1-1H3s-1 0-1 1M6 2h3m2 0h3m2 0h1c1 0 1 1 1 1v1M4 2H3S2 2 2 3v1m0 2v3m16-3v3m0 7v1c0 1-1 1-1 1h-1m-2 0h-3m7-7v3`,selectAndGroup:`M2 1h1c1 0 1 1 1 1v1s0 1-1 1H2S1 4 1 3V2c0-1 1-1 1-1m15 0h1c1 0 1 1 1 1v1c0 1-1 1-1 1h-1s-1 0-1-1V2c0-1 1-1 1-1M2 19h1c1 0 1-1 1-1v-1s0-1-1-1H2s-1 0-1 1v1c0 1 1 1 1 1m15 0h1s1 0 1-1v-1s0-1-1-1h-1s-1 0-1 1v1c0 1 1 1 1 1M4 2.497l12-.002M2.498 4l-.012 12M17.508 4l.019 12M4 17.49l12 .009M6 6v6h6V6zm2 6v2h6V8h-2`,printer:`M6 13v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m-1 2H3s-1 0-1-1V9c0-1 1-1 1-1h14c1 0 1 1 1 1v5c0 1-1 1-1 1h-2M6 7V4c0-1 1-1 1-1h6c1 0 1 1 1 1v3`,save:`M3 2h11l4 4v11c0 1-1 1-1 1H3s-1 0-1-1V3s0-1 1-1m2 0v2c0 1 1 1 1 1h6s1 0 1-1V2m-3 7a1 1 0 0 0 0 4 1 1 0 0 0 0-4`,svg:`M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm4.458 8.052L10 16l1.519-6.97M16 11c0-3-3.005-2.19-3 0v3c0 3 2.99 2.299 3 0v-1h-1m-8.018-2.714C6.564 8.238 3.921 8.788 4 11c.757 2.259 2.806.607 3 3 0 3-3.146 2.299-3 0`,zoomUnlock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m7-1a1 1 0 0 0-4-4m1 6v2`,zoomLock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m4 1v2m3-4c1-6-7-6-6 0`,lock:`M16 8C16-1 4-1 4 8M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,unlock:`M16 8c2-7-6-8-8-6M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,triangleInformation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-3v-5m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,triangleExclamation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-7V5m0 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,direction:`M18 8C17-1 3-1 2 9m0 3c1 9 15 9 16-1M1 6l1 3 3-2m10 6 3-2 1 3`,chartGraph:`M2.9 1.6A1 1 0 004.2 3.2 1 1 0 003 1.5M9 1A1 1 0 009 4 1 1 0 009 1M3 6A1 1 0 003 9 1 1 0 003 6M4.2 3.2 6.7 5.7m-.1-.1L8.1 3.7M6.6 5.7 4.4 6.9M3 15a1 1 0 000 3 1 1 0 000-3m8 1a1 1 0 000 2 1 1 0 000-2M7 15 4.4 16M7 15M7 15l3.1 1.6M11 7a1 1 0 000 4 1 1 0 000-4M6.7 5.7 9.4 7.8M7 15l2.9-4.3M18 5a1 1 0 000 3 1 1 0 00-0-3M12.5 10.4l3.4 3.1M17 13a1 1 0 000 3 1 1 0 000-3m1-5-.7 5`,chartDag:`M8 2h4c1 0 1 1 1 1v1s0 1-1 1H8S7 5 7 4V3s0-1 1-1m-6 8v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1H3c-1 0-1 1-1 1m10 0v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1h-4c-1 0-1 1-1 1m-9 6h4c1 0 1 1 1 1v1s0 1-1 1H3c-1 0-1-1-1-1v-1s0-1 1-1m9 1v1s0 1 1 1h4c1 0 1-1 1-1v-1c0-1-1-1-1-1h-4c-1 0-1 1-1 1M10 5c0 3-5 1-5 4m5-4c0 3 5 1 5 4M5 12v4m10-4v4`,chartGeo:`M10 14c3-5 4-5 4-8a1 1 0 0 0-8 0c0 3 2 4 4 8m0-10a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-3 8H4l-3 7h18l-3-7h-3`,revert:`M10 19a1 1 0 0 0 0-16m-8 7c0 5 4 9 8 9m3-18-3 2 2 3`,lineUp:`M1 1v18h18M3 17l3-4 3 2 3-5 3 3 3-10m-2.191 1.399L18 3l.992 2.387`,histogram:`M1 1v18h18M4 19v-7h3v7m2 0V8h3v11m2 0V4h3v15`,histogramUp:`M1 1v18h18M4 19v-5h3v5m2 0v-8h3v8m2 0V8h3v11M4 9l11-7m-2.778-.374L15 2l-.731 2.63`,histogramDown:`M1 1v18h18M4 19V9h3v10m2 0v-6h3v6m2 0v-4h3v4M5 2l11 8m-2.85.336 2.798-.334-.504-2.729`,document:`M1 1v18h18m0 0V1H1m6 3H4m0 3h3m-3 3h3m-3 3h12M4 16h12M10 4v6h6V4z`,database:`M2 16c0 4 16 4 16 0m0 0V4C18 0 2 0 2 4v12M2 4c0 4 16 4 16 0M2 8c0 4 16 4 16 0M2 12c0 4 16 4 16 0`,percentage:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5`,percentageUp:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M14 2h4v4`,percentageDown:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M2 14v4h4`,aToZ:`m3 8 4-7 4 7M4.716 5h4.569M3 12h8l-8 7h8m6-17v16m-2-2 2 2 2-2`,zToA:`m3 19 4-7 4 7m-6.285-2.999L9.284 16M3 1h8L3 8h8m6-6v16m-2-2 2 2 2-2`,zeroToNine:`M7 1C1.653.987 1.663 7.995 7 8c5.337-.005 5.326-7.002 0-7m10 1v16m-2-2 2 2 2-2m-8-2c0-3-8-3-8 0s8 2 8 0m0 0c0 5-3 5-8 5`,nineToZero:`M7 12c-5.338-.002-5.328 6.991 0 7 5.329-.004 5.335-7.005 0-7M17 2v16m-2-2 2 2 2-2M11 4c0-3-8-3-8 0m0 0c0 3 8 2 8 0m0 0c0 5-3 5-8 5`,chip:`M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M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 2-2v-3`,upload:`M10 6v12m-4-8 4-4 4 4M2 7V4c0-2 2-2 2-2h12s2 0 2 2v3`,target:`M10 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 8 1 1 0 0 0 0-8m0-4a1 1 0 0 0 0 16 1 1 0 0 0 0-16`,gisLayerSearch:`M10 1 2 3m8 7a1 1 0 0 0 0 8 1 1 0 0 0 0-8M2 3l8 2 8-2-8-2M2 6l8 2 8-2M2 9l4 1m7.068 6.565L16 19m2-10-4 1M2 9l6-1.499M18 9l-6-1.5M18 6l-6-1.5M2 6l6-1.5`,sqlSearch:`M6.008 3.011C5.99 1.737 2.024 1.646 2 3c.024 1.703 4.008 1.12 3.99 3.013 0 1.437-3.966 1.273-3.984-.182M10 10a1 1 0 0 0 0 8 1 1 0 0 0 0-8m3.068 6.565L16 19M10 2c-3 0-3 5 0 5m0 0c3 0 3-5 0-5m5 0v5h3m-6.538-.537L13 8`,scada:`M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2V4M5.876 5.49l8.227 4.067m-8.207-.005 8.232-4.06M10 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m0 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m8-5a1 1 0 0 0 2 0 1 1 0 0 0-2 0m0 5a1 1 0 0 0 2 0 1 1 0 0 0-2 0`,apiStream:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3M6 6h8m-2-2 2 2-2 2m2 6H6m2-2-2 2 2 2`,wrench:`m2.036 4.452 3.073 2.99c1.786.042 2.451-.498 2.741-2.243L4.736 1.835c4.734-.415 7.475 1.62 5.773 6.105M2.036 4.452c-1.038 3.945 1.578 7.6 6.014 5.654m0 0 7.684 8.152c1.039-.014 2.272-1.262 2.26-2.159L10.509 7.94`,branches:`M4 10a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0m0-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M2.492 8.5l.013-3.499C2.521 4.002 3.536 3.004 4.517 3H7m3 0h6m3 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0M4 10h3m12 7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M8.5 11.5l.011 3.5c-.005 1 .983 1.999 2.015 1.999L16 17m3-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0m-9 0h6`,fork:`M4 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m12 0a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-6 13a1 1 0 0 0 0 4 1 1 0 0 0 0-4M4 6v2c0 2 2 2 2 2h8s2 0 2-2V6m-6 4v5`,resizeX:`m5 6-4 4 4 4m10-8 4 4-4 4`,resizeY:`m14 5-4-4-4 4m8 10-4 4-4-4`,resizeTLBR:`M9 3H3v6m14 2v6h-6`,resizeTRBL:`M17 9V3h-6M9 17H3v-6`,focus:`M1 6V4q0-3 3-3h2m8 0h2q3 0 3 3v2m0 8v2q0 3-3 3h-2m-8 0H4q-3 0-3-3v-2m11-4a1 1 0 0 0-4 0 1 1 0 0 0 4 0`,sql:`M10 7c-3 0-3 6 0 6s3-6 0-6m0 6 2 2M5.988 8.502C5.988 6.993 2 6 2 9c.322 1.725 3.706.249 4 2-.012 3.076-3.993 2.014-3.993.504M14 7v6h4`,monitor:`M3 2S2 2 2 3v10s0 1 1 1h14c1 0 1-1 1-1V3c0-1-1-1-1-1zM2 12h16m-9 2v2m2-2v2m-3 1c.333-.333.667-.667 1-2q1 1.5 2 0c.333 1.333.667 1.667 1 2H7c-1 0-2 1-2 2h10c0-1-1-2-2-2h-1`,workstation:`M2 2S1 2 1 3v10s0 1 1 1h9M1 12h10m-3 2v2m2-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`,pointer:`m2 2 5.015 15.998 2.596-6.384L16 18l2-2-6.514-6.405 6.816-2.164z`,monument:`M2 6h16c1 0 1 2 0 2H2C1 8 1 6 2 6m2 0 6-5 6 5M2 17h16M3 8v9m2-9v9m12-9v9m-2-9v9M9 8v9m2-9v9M1 19h18`,chartBump:`M2 1a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M2 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8-8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-8 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M3 2c3 0 3 8 6 8m-6 0c3 0 3-8 6-8m2 0h6M3 18h6m2 0c3 0 3-8 6-8m-6 0c3 0 3 8 6 8`,folderOpen:`M1 3c0-1 1-1 1-1h3s1 0 1 1v1c0 1 1 1 1 1h8c1 0 1 1 1 1M1 3v14c0 1 1 1 1 1l4-8h13l-4 8H2M16 6v4`,folderOpenFill:`M1 3c0-1 1-1 1-1h3s1 0 1 1v1c0 1 1 1 1 1h8c1 0 1 1 1 1M1 3v14c0 1 1 1 1 1l4-7h13l-4 7H2M16 6v5M4 14.5V8h9v3`,tag:`M2 5v5l8 8s2 2 4 0l4-4c2-2 0-4 0-4l-8-8H5Q2 2 2 5m3.506.48a1 1 0 0 0 1.998 2.016A1 1 0 0 0 5.506 5.48`,lightBulbOff:`M10 1a1 1 0 0 0 0 14 1 1 0 0 0 0-14M6.482 14.053 7 18h6l.501-3.925M12 19H8m2-4V9m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,lightBulbOn:`M10 1a1 1 0 0 0 0 14 1 1 0 0 0 0-14M6.482 14.053 7 18h6l.501-3.925M12 19H8m2-4V9m0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0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96`,externalLink:`m19 1-9 9m5-9h4v4m-9-2H5C4 3 3 4 3 5v10c0 1 1 2 2 2h10c1 0 2-1 2-2v-5`,plotLine:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M16 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-1.414 3.414L5.42 14.592`,plotArrow:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M17 3 5.42 14.592M13 3h4v4`,accessibility:`M10 1a1 1 0 0 0 0 4 1 1 0 0 0 0-4m0 6L4 4a1 1 0 0 0-1 2l5 3v2l-4 6a1 1 0 0 0 2 1l4-5 4 5a1 1 0 0 0 2-1l-4-6V9l5-3a1 1 0 0 0-1-2z`,clankerCrazy:`M2 2h16v17H2zm0 10 8 1 8-1m-8 1v6m-4-6.5V19m8-6.5V19M6 5a1 1 0 0 0 0 4 1 1 0 0 0 0-4m7 0a1 1 0 0 0 0 5 1 1 0 0 0 0-5M1 5v5m18-5v5M7 1h6`,clankerNasty:`M2 2h16v17H2zm0 11 8-2 8 2m-8-2v8m-4-7v7m8-7v7M1 5v5m18-5v5M4 5l4 2m4 0 4-2M7 1h6`},C={chartBar:`M2 12v6c0 1 0 1 1 1h2c1 0 1 0 1-1v-6c0-1 0-1-1-1H3c-1 0-1 0-1 1m6-5v11c0 1 0 1 1 1h2c1 0 1 0 1-1V7c0-1 0-1-1-1H9C8 6 8 6 8 7m6-5v16c0 1 0 1 1 1h2c1 0 1 0 1-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a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 3c3-2 7-2 10 0M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodHappy:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 1c1 7 9 7 10 0zm0-4a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodNeutral:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 2h10M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodSad:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 4c1-5 9-5 10 0zm0-7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,screenshot:`M1 4V3c0-1 1-2 2-2h1m12 0h1c1 0 2 1 2 2v1M1 16v1c0 1 1 2 2 2h1m12 0h1c1 0 2-1 2-2v-1M8 10a1 1 0 0 0 4 0 1 1 0 0 0-4 0m-3 3V8c0-1 0-1 1-1h8c1 0 1 0 1 1v5c0 1 0 1-1 1H6c-1 0-1 0-1-1m2-7h6`,smiley:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 2c3 2 7 2 10 0M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,chartSparkline:`M2.033 13.067c-.071-2.13.213-3.833 1.42-3.94 1.739 0 .78 6.921 3.017 6.886 2.271 0 1.064-7.383 3.265-7.454 2.343 0 1.207 3.798 3.23 3.798C15.059 12.286 14.278 4.016 18 4`,legend:`M3 2h2s1 0 1 1v2c0 1-1 1-1 1H3S2 6 2 5V3c0-1 1-1 1-1m5 2c0-1 1-1 1-1h8s1 0 1 1-1 1-1 1H9S8 5 8 4M3 8h2s1 0 1 1v2c0 1-1 1-1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 0 0 0 0 2 1 1 0 0 0 0-2m1-8 5-1m1.84.582 3.427 3.683m.358 1.688-3.862 5.344m-1.764.435-5.012-1.406M1 1v18h18`};function w(e,{stroke:t,strokeWidth:n}){let r=`stroke="${t}" stroke-width="${n}"`,i=`fill="${t}"`,a=`stroke="${t}"`,o=`${g} ${r} ${p}`,s=`${g} ${r} ${m}`,c=`${i} ${_}`,l=c,u=b(.3),d=b(.4),f=b(.5),v=b(.6),y=S[e];if(y)return`<path d="${y}" ${o}/>`;let w=C[e];return w?`<path d="${w}" ${s}/>`:{annotator:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,annotatorDisabled:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5M2 2l16 16" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,chart3dBar:`<path ${g} ${r} d="M10 1 6 3v14l4 2 4-2V3zM6 3l4 2 4-2m-4 2v14" ${p}/><path ${c} ${u} d="m6 10 4 2 4-2v7l-4 2-4-2z"/>`,chartDonut:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m5 0a1 1 0 0 0 8 0 1 1 0 0 0-8 0m-5 0h5m4 4v5m4-9" /><path ${_} ${i} ${m} d="M1 10h5c0 2 2 4 4 4v5c-4 0-9-3-9-9" ${u} />`,chartNestedDonuts:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m3 0a1 1 0 0 0 12 0 1 1 0 0 0-12 0m-3 0h3"/><path ${g} ${a} stroke-width="${n/2}" ${m} d="M10 16v3m-3-9a1 1 0 0 0 6 0 1 1 0 0 0-6 0"/><path ${u} ${i} ${m} d="M7 10h3v3c-2 0-3-2-3-3"/><path ${u} ${i} ${m} d="M1 10h3c0 4 3 6 6 6v3c-5 0-9-4-9-9"/>`,chartGauge:`<path ${s} d="M19 13a1 1 0 0 0-18 0" ${u} /><path ${s} d="M9 15a1 1 0 0 0 2 0 1 1 0 0 0-2 0m1-1V8m0-4c-4 0-9 3-9 9" />`,chartHeatmap:`<path ${s} d="M2 3v14c0 1 0 1 1 1h14c1 0 1 0 1-1V3c0-1 0-1-1-1H3C2 2 2 2 2 3m8-1v16m-8-8h16M6 2v16m8-16v16M2 6h16M2 14h16"/><rect ${c} x="2" y="6" height="4" width="4" ${f} /><rect ${c} x="6" y="10" height="4" width="4" ${f} /><rect ${c} x="6" y="14" height="4" width="4" ${f} /><rect ${c} x="14" y="2" height="4" width="4" ${f} />`,chartMoodRadar:`<path ${o} d="M10 4 4 9l2 7h8l2-7zM9 2a1 1 0 0 0 2 0 1 1 0 0 0-2 0M1 8a1 1 0 0 0 2 0 1 1 0 0 0-2 0m2 10a1 1 0 0 0 2-1 1 1 0 0 0-2 1m12 0a1 1 0 0 0 2-1 1 1 0 0 0-2 1m2-10a1 1 0 0 0 2 0 1 1 0 0 0-2 0" /><path ${_} ${i} ${p} d="m10 7 3 3v4l-5-1-1-4z" ${u} />`,chartOnion:`<path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9c-4 0-9-4-9-9m9-6c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3s-2 3-3 3-3-1-3-3" ${u} /><path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9m0-15c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3" />`,chartQuadrant:`<path ${s} d="M10 1v18m-9-9h18" /><circle ${c} cx="3" cy="14" r="1"/><circle ${c} cx="5" cy="6" r="1"/><circle ${c} cx="14" cy="17" r="1"/><circle ${c} cx="17" cy="14" r="1"/><circle ${c} cx="15" cy="4" r="1"/>`,chartRadar:`<path ${s} d="M2 6v8l8 5 8-5V6l-8-5z" /><path ${u} ${c} stroke-width="0" ${m} d="m4 7 6-2 8 1-6 5-2 5-4-5z" /><path ${a} stroke-width="${n/3}" ${p} ${g} d="m4 7 6-2 8 1-6 5-2 5-4-5z" />`,chartScatter:`<path ${s} d="M1 1v17c0 1 0 1 1 1h17" /><circle ${c} cx="5" cy="15" r="1"/><circle ${c} cx="6" cy="12" r="1" /><circle ${c} cx="8" cy="15" r="1"/><circle ${c} cx="10" cy="8" r="1"/><circle ${c} cx="12" cy="10" r="1"/><circle ${c} cx="14" cy="6" r="1"/><circle ${c} cx="16" cy="4" r="1"/><circle ${c} cx="11" cy="14" r="1"/>`,chartSparkStackbar:`<path ${c} d="M12 8h5c2 0 2 4 0 4h-5c2 0 2-4 0-4" ${u} /><path ${c} d="M3 8h4c2 0 2 4 0 4H3c-2 0-2-4 0-4" /><path ${c} d="M7 8h5c2 0 2 4 0 4H7c2 0 2-4 0-4" ${f} /><path ${g} ${a} stroke-width="${n/3}" ${m} d="M3 8h14c2 0 2 4 0 4H3c-2 0-2-4 0-4" />`,chartThermometer:`<path ${s} d="M13 4a1 1 0 0 0-6 0v12a1 1 0 0 0 6 0zM7 15h1m-1-3h1M7 9h1M7 6h1m4 9h1m-1-3h1m-1-3h1m-1-3h1" /><path ${r} ${v} d="M10 17v-5" ${m} /><path ${m} ${r} d="M10 17V9" ${u} /><path ${m} ${r} opacity="0.3" d="M10 17V6" /><path ${m} ${r} ${b(.1)} d="M10 17V3" />`,chartTiremarks:`<path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" /><path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" ${d} />`,chartWheel:`<circle cx="10" cy="10" r="7" ${g} ${r} stroke-dasharray="16" ${m}/><circle cx="10" cy="10" r="9" ${g} ${r} stroke-dasharray="2" ${m} ${b(.7)}/><circle cx="10" cy="10" r="1" ${i} />`,close:`<path ${g} stroke-width="${n}" ${g} ${a} ${m} d="m4 4 12 12M4 16 16 4" />`,digit0:`<path ${u} ${l} d="m7 10 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit1:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit2:`<path ${u} ${l} d="m14 11 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm1-1 1-1h4l1 1-1 1H8z" />`,digit3:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm0-8 1-1h4l1 1-1 1H8z" />`,digit4:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit5:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4zm-8 8 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit6:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit7:`<path ${u} ${l} d="m7 18 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit8:`<path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm-1 9 1-1h4l1 1-1 1H8zm0 8 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit9:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,excel:`<path stroke-width="${n}" ${g} ${a} ${h} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm10 7c1 0 2 1 2 2v4c0 1-1 2-2 2H6c-1 0-2-1-2-2v-4c0-1 1-2 2-2Z"/><line ${r} x1="9" x2="9" y1="8" y2="16" /><line ${r} x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${n}" ${g} ${a} ${m} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5ZM1 16c2.333-2.333 2-6 7-4m-1 2c1-1 2-9 12-3"/><circle r="1" cx="6" cy="5" ${c}/>`,menu:`<path stroke-width="${n}" ${g} ${a} ${m} d="M2 10h16M2 5h16M2 15h16" />`,pdf:`<path stroke-width="${n}" ${g} ${a} ${p} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm0 15V9h1q2 0 2 2t-2 2H4m5 3V9q3 0 3 3v1q0 3-3 3m5 0V9h2m-2 3h2"/>`,skeleton:`<path ${s} d="M3 14a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h1a1 1 0 0 0 0-4zm9 8v6c0 1 1 2 2 2h3c1 0 2-1 2-2v-6c0-1-1-2-2-2h-3c-1 0-2 1-2 2" stroke-dasharray="2" />`,sort:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 15 4 3 4-3M5 5v13m10-3V2m-4 3 4-3 4 3" />`,sortReverse:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 8 4-3 4 3M5 5v13m10-3V2m-4 10 4 3 4-3" />`,spin:`<path stroke-width="${n}" ${g} ${a} ${m} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-15 0 1 1 0 0 0 12 0 1 1 0 0 0-9 0 1 1 0 0 0 6 0 1 1 0 0 0-3 0m-9 0q0-5 4-8" />`,starFill:`<path ${i} ${r} ${p} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96-4.345-4.201" />`,tableClose:`<path stroke-width="${n}" ${m} ${g} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 5-4-3-4 3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${a} x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${n}" ${g} ${m} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 2-4 3-4-3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${m} ${a} x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path ${g} ${r} d="M7 10a1 1 0 0 0 6 0 1 1 0 0 0-6 0m3-3V4a1 1 0 0 0 0-3 1 1 0 0 0 0 3m-3 6H4a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 3v3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m3-6h3a1 1 0 0 0 3 0 1 1 0 0 0-3 0" />`,arrowRight:`<path ${l} d="M18 10 3 1q4.5 9 0 18z" ${h} />`,arrowTop:`<path ${l} d="M10 2 1 17q9-4.5 18 0z" ${h} />`,arrowLeft:`<path ${l} d="m2 10 15-9q-4.5 9 0 18z" ${h} />`,arrowBottom:`<path ${l} d="M10 18 1 3q9 4.5 18 0z" ${h} />`,chartSparkbar:`<path ${g} ${r} ${m} d="M2 5h16M2 10h16M2 15h16" ${u} /><path ${g} ${r} ${m} d="M2 5h13M2 10h9m-9 5h5" />`,vueDataUi:`<path ${o} d="m1 2 9 17M1 2h3l6 11h3m-3 6 3-6"/><path ${o} d="m10 13 4.974-9.549L19 13h-3l-1.266-3.447L13 13z"/>`,triangleFill:`<path ${a} ${i} stroke-width="${n}" ${p} d="M10 3 1 17h18z"/>`,squareFill:`<path ${i} ${r}${p} d="M2 2v16h16V2z"/>`,diamondFill:`<path ${i} ${r} ${p} d="m10 1-9 9 9 9 9-9z"/>`,pentagonFill:`<path ${i} ${r} ${p} d="M10 1 1 9l4 10h11l3-10Z"/>`,hexagonFill:`<path ${i} ${r} ${p} d="M10 1 2 6v8l8 5 8-5V6Z"/>`,circleFill:`<path ${r} ${i} ${p} d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18"/>`,numbers:`<path ${g} ${a} stroke-width="${n/2}" ${g} ${p} d="m2 3 2-2v5m4-3c0-1 1-2 2-2s2 1 2 2c0 2-4 0-4 3h4m3-5h3l-2 2c1 0 2 0 2 1 0 2-2 2-3 2M4 13V8l-2 3h4m6-3H8c0 3 4 1 4 3 0 1-1 2-2 2s-2-1-2-2m10 0a1 1 0 0 0-3 1 1 1 0 0 0 3-1m-3 0c0-3 2-3 3-3M2 15h4c-1 3-4 2-4 5m6-4c0-1 1-1 1-1h2c1 0 1 1 1 1s0 1-1 1H9s-1 0-1-1m1 1s-1 0-1 1v1c0 1 1 1 1 1h2c1 0 1-1 1-1v-1s0-1-1-1m7 0a1 1 0 0 0-3-1 1 1 0 0 0 3 1m0 0c0 3-2 3-3 3"/>`,people:`<path ${o} d="M6 1C4 1 4 5 6 5s2-4 0-4m0 5c-4 0-1 4 0 4m0-4c4 0 1 4 0 4m-2 0 1 9m3-9-1 9m-3 0h4M4 5c-2 1-3 5-3 7M14 1c-2 0-2 4 0 4s2-4 0-4m0 5c-4 0-1 4 0 4s4-4 0-4m-2 4 1 9m3-9-1 9m-3 0h4m0-14c2 1 3 5 3 7M8 5c2 3 2 5 2 7 0-2 0-4 2-7"/>`,accordion:`<path ${o} d="M2 2h16l-2 2 2 2-2 2 2 2-2 2 2 2-2 2 2 2H2l2-2-2-2 2-2-2-2 2-2-2-2 2-2z"/><path ${c} ${u} ${p} d="M2 2h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 6h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 10h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 14h16l-2 2H4Z" />`,trend:`<path ${s} stroke-kinejoin="round" d="m1 6 3-2 3 2M4 4v9m3 3s0 2 2 2c3 0 1-9 3-9s2 4 3 4c3 1 2.667-7.333 4-11"/>`,chartStripPlot:`<path ${r} ${g} d="M4 16a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 13a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M8 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 7a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2" />`,chartDumbbell:`<path ${r} ${m} d="M3 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 3h5M5 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m12 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 10h10m-8 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-6 1h5" />`,chartWordCloud:`<text x="10" y="10" ${i} text-anchor="middle" font-size="4.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5.5" y="6" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="15" y="6" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5" y="13.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="14.5" y="14.4" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="3" ${i} text-anchor="middle" font-size="1.8" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="17.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text>`,chartWordCloudZh:`<text x="10" y="10" ${i} text-anchor="middle" font-size="6" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="2" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="14.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="18" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text>`,chartFlow:`<path stroke="transparent" stroke-width="${n}" ${p} ${i} d="M2 2h2v7H2zm7 0h2v4H9zm7 0h2v2h-2zM2 11h2v7H2zm7-3h2v3H9zm0 6h2v2H9zm7-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2zM4 2h5v4H4zm0 4 5 2v3L4 9zm7-4h5v2h-5zm0 2 5 2v2l-5-2zm-7 7 5 3v2l-5-3zm7-3 5 2v2l-5-2zm0 6h5v2h-5z"/>`,pause:`<path ${c} strole-linecap="round" ${h} d="M3 4v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2H5C4 2 3 3 3 4m9 0v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2h-1c-1 0-2 1-2 2"/>`,play:`<path ${i} stroke-width="${n}" ${p} ${g} d="M3 4v12c0 1 1 2 2 2h1c1 0 12-5 12-7v-1C18 8 7 2 6 2H5C4 2 3 3 3 4"/>`,stop:`<path ${i} stroke-width="${n}" ${p} ${g} d="M10 8 4 2H3L2 3v1l6 6-6 6v1l1 1h1l6-6 6 6h1l1-1v-1l-6-6 6-6V3l-1-1h-1z"/>`,battery:`<path ${o} d="M2 6v8c0 2 1 2 2 2h11c1 0 2 0 2-2v-1s1 0 1-1V8c0-1-1-1-1-1V6c0-2-1-2-2-2H4C3 4 2 4 2 6"/><path ${i} ${v} ${_} d="M4 7v6c0 1 1 1 1 1h6V6H5S4 6 4 7"/>`,chartStackbar:`<path ${o} d="M8 18h4V8c0-1-1-1-1-1H9S8 7 8 8zm-6 0h4v-6c0-1-1-1-1-1H3s-1 0-1 1zm12 0h4V3c0-1-1-1-1-1h-2s-1 0-1 1zM2 14h4m2-3h4m2-4h4m-4 5"/><path ${_} ${u} ${i} d="M2 14h4v4H2z" /><path ${_} ${u} ${i} d="M8 11h4v7H8z" /><path ${_} ${u} ${i} d="M14 7h4v11h-4z" />`,starFace:`<path ${a} stroke-width="${n} ${p} ${g} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96ZM6.989 10c.631-1.099 1.649-.753 1.975.02m2.035 0c.672-1.078 1.608-.732 2.016.021m-5.516 1.982c1.233 2.928 4.602 1.849 4.998-.023" />`,chartBullet:`<path ${o} d="M1 7v6h18V7z"/><path ${i} d="M1 9h11v2H1Z" ${_} ${m}/><path ${i} d="M15 5v10h1V5Z" ${_} ${m}/>`,palette:`<path ${s} d="M10 2a1 1 0 0 0 0 16s4 0 4-2c0-3-2-2-3-3-1-3 3-2 4-2 5 0 4-9-5-9"/><path ${c} d="M6 6a1 1 0 0 0 2 2 1 1 0 0 0-2-2" ${b(.7)}/><path ${c} ${f} d="M6 11a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/><path ${c} d="M11 5a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/>`,colorPicker:`<path d="M2 16c0 1 1 2 2 2s2-2 5-2l7-8-4-4-8 7m0 0c0 3-2 4-2 5m14-8c1 1 3-1 2-2l-4-4c-1-1-3 1-2 2m6 2c3-3-1-7-4-4" ${o}/><path d="M2 16c0 1 1 2 2 2s2-2 5-2l4.347-5.011H4.022L4 11m0 0c0 3-2 4-2 5" ${p} ${i} ${d}/>`,boxes:`<path ${s} d="M10 11 6 9l-4 2v5l4 2 4-2zm0 0 4-2 4 2v5l-4 2-4-2M6 9V4l4-2 4 2v5M6 4l4 2 4-2M2 11l4 2 4-2m0 0 4 2 4-2m-8-5v5m-4 2v5m8-5v5"/><path ${c} ${f} d="m6 4 4 2v5L6 9z"/><path ${c} ${f} d="m2 11 4 2v5l-4-2z"/><path ${c} ${f} d="m10 11 4 2v5l-4-2z"/>`,homeFilled:`<path ${i} ${r} ${p} d="m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8"/>`,hourglass:`<path ${o} d="M4 1h12m-3 0c3 2 1 4 1 4M7 1C4 3 6 5 6 5M4 19h12M6 5c4 5 4 5 0 10m8-10c-4 5-4 5 0 10m-1 4c3-2 1-4 1-4m-7 4c-3-2-1-4-1-4"/><path ${u} ${c} d="M7 18h6c1-3-2-5-3-5s-4 2-3 5"/>`,text:`<path d="M1 3V1h12v3c0 1-2 1-2 0V3H8v14h1c1 0 1 2 0 2H5c-1 0-1-2 0-2h1V3H3v1c0 1-2 1-2 0zm10 5h8" ${p} ${i}/><path d="M14 8h5m-8 3h8m-8 3h8" ${o}/>`,bringToFront:`<path ${i} d="M7 6h6s1 0 1 1v6s0 1-1 1H7s-1 0-1-1V7s0-1 1-1"/><path ${o} d="M8 4V3s0-1-1-1H3C2 2 2 3 2 3v4c0 1 1 1 1 1h1m8 8v1c0 1 1 1 1 1h4s1 0 1-1v-4s0-1-1-1h-1"/>`,bringToBack:`<path ${i} d="M7 13v-3h1c2 0 2-1 2-2V7h3v3h-1c-1 0-2 0-2 2v1z"/><path ${g} ${a} ${p} d="M9 8V3s0-1-1-1H3C2 2 2 3 2 3v5c0 1 1 1 1 1h5c1 0 1-1 1-1m2 4v5c0 1 1 1 1 1h5s1 0 1-1v-5s0-1-1-1h-5c-1 0-1 1-1 1"/>`,chartStackline:`<path d="M2 16v2h16v-8l-4 4-3-2-3 3-3-2Z" ${c} ${b(.9)}/><path d="m2 16 3-3 3 2 3-3 3 2 4-4V6l-4 2-3-2-3 3-3-1-3 1Z" ${c}" ${v}/><path d="M2 9V2h16v4l-4 2-3-2-3 3-3-1Z" ${c} ${u}/><path d="M1 1v18h18" ${a} ${p} ${g}/>`,pie:`<path d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18v9l4.025 8.049M10 10H1m9 0 4 8" ${o}/><path d="m10 10 4 8c-3.413 2.069-12.365 1.271-13-8z" ${c} ${u}/><path d="M10 1c-7.472.391-9.069 6.876-9 9h9z" ${c} ${f}/>`,network:`<path d="M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2v-3m-6 0h12c1 0 1-1 1-1V9s0-1-1-1H4S3 8 3 9v2s0 1 1 1m0-6h12c1 0 1-1 1-1V3c0-1-1-1-1-1H4S3 2 3 3v2s0 1 1 1m6 0v2" ${o}/><path d="M6 4h1m2 0h5m-8 6h1m2 0h5" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipAi:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M10 6c-1 3-1 3-4 4 3 1 3 1 4 4 1-3 1-3 4-4-3-1-3-1-4-4" ${c} />`,binary:`<path d="M4 1C2 1 2 4 4 4s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3M4 6v3m4-3C6 6 6 9 8 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3M4 11c-2 0-2 3 0 3s2-3 0-3m4 0v3m4-3v3m4-3v3M4 16v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipBinary:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M6 6C4 6 4 9 6 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m-8 5v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/3}" ${g} ${p}/>`,blur:x(t),sqlQuery:`<path d="M17 10V3C17 1 3 1 3 3v7m0-7c0 2 14 2 14 0" ${o}/><path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/>`,gisLayerQuery:`<path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 1 2 3m0 0 8 2 8-2-8-2M2 6l4 1m12 2-2.482.619M14 7l4-1M2 9l2.493.629M2 6l6-1.5M18 6l-6-1.5M2 9l3-1m13 1-3-1" ${o}/>`,magnify:`<path d="M8 1a1 1 0 0 0 0 14A1 1 0 0 0 8 1m4.95 11.95L19 19" ${o}/><path d="M8 4a1 1 0 0 0 0 8 1 1 0 0 0 0-8" ${c} ${b(.1)} /><path d="M12 8a1 1 0 0 0-8 0" ${a} ${m} stroke-width="${n/3}" ${g} ${d} /><path d="M8 4c-.788-.017-2.544.345-3.456 2.003" ${a} ${m} stroke-width="${n/3}" ${g} />`,spark:`<path d="M10 1c-2 7-2 7-9 9 7 2 7 2 9 9 2-7 2-7 9-9-7-2-7-2-9-9" ${c}/>`,doubleSpark:`<path d="M1 13c5-1 5-1 6-6 1 5 1 5 6 6-5 1-5 1-6 6-1-5-1-5-6-6M15 1c-.514 3.478-.514 3.478-4 4 3.505.505 3.499.505 4 4 .513-3.489.513-3.495 4-4-3.474-.503-3.48-.51-4-4" ${c}/>`,listType:`<path d="M7 4h11M7 10h11M7 16h11" ${o}/><path d="M2 3h2v2H2z" ${i} ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path ${i} d="m3 9-1.2 2h2.4z" ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path d="M3 14.8a1 1 0 0 0 .002 2.4 1 1 0 0 0-.003-2.4" ${i} ${a} stroke-width="${n/2}"/>`,calendar:`<path d="M7 1v3m6-3v3M5 3H4C3 3 2 4 2 5v11c0 1 1 2 2 2h12c1 0 2-1 2-2V5c0-1-1-2-2-2h-1M9 3h2M2 7h16" ${o}/><path d="M4 10h2v1H4zm5 0h2v1H9zm5 0v1h2v-1zM4 14h2v1H4zm5 0h2v1H9z" ${a} stroke-width="${n/3}" ${i} ${p}/>`,test:`<path d="M4 19h12c2 0 2-2 2-2l-6-8V3c1 0 1-2 0-2H8C7 1 7 3 8 3v6l-6 8s0 2 2 2" ${o}/><path d="M5 14c3 2 6-2 10 0l2.141 2.847c.015.793-.071 1.157-1.141 1.153H4c-.75.014-1.171-.252-1.134-1.131z" ${c} ${p} ${d}/><path d="M5 14c3 2 6-2 10 0" ${a} ${m} stroke-width="${n/3}"/>`,pi:`<path d="M1 8c1-5 3-6 4-6h13c1 0 1 2 0 2h-3s-1 4-1 10c0 4 3 3 5 0-1 7-7 6-7 0 0-5 1-10 1-10H9C8 9 7 17 7 17c-1 3-4 2-4 0C7 13 7 4 7 4 4 4 3 5 1 8" ${p} ${i}/>`,fileSvg:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">SVG</text>`,filePdf:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PDF</text>`,fileCsv:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">CSV</text>`,filePng:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PNG</text>`,puzzleFill:`<path d="M16.579 9.304h-1.177V6.167c0-.871-.706-1.569-1.569-1.569h-3.137V3.421a1.96 1.96 0 0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96" ${p} ${i}/>`,npmx:`<path d="m17 2-6 16H9l6-16zM3 13v3h3v-3z" ${p} ${i}/>`}[e]||``}let T=l(),E=r(()=>(T.exp?.()||[])[0]||null),D=r(()=>(T.sub?.()||[])[0]||null),O=r(()=>!!E.value),k=r(()=>!!D.value),A=r(()=>O.value||k.value),j=r(()=>{let e=E.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}}),M=r(()=>{let e=D.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}});function N(e,t,n=`0.5s`){return`<animateTransform attributeName="transform" type="rotate" from="0 ${e} ${t}" to="360 ${e} ${t}" dur="${n}" repeatCount="indefinite"/>`}let P=r(()=>{let e=F.value;return{cx:e.minX+e.width/2,cy:e.minY+e.height/2}}),F=r(()=>{let e=String(n.viewBox).trim().split(/\s+/).map(Number),[t,r,i,a]=e.length===4?e:[0,0,20,20];return{minX:t,minY:r,width:i,height:a}}),I=r(()=>{let e=n.size||24;return(j.value.size||e*.6)/e}),L=r(()=>{let e=n.size||24;return(M.value.size||e*.6)/e}),R=r(()=>{let e=F.value,t=O.value?e.height*I.value:0,n=O.value?e.height*I.value:0,r=k.value?e.height*L.value:0,i=Math.max(n,r),a=k.value?e.height*L.value:0;return`${e.minX} ${e.minY-t} ${e.width+i} ${e.height+t+a}`}),z=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY,r=e.height,i=r*I.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${-i*.8}) scale(${s})`}),B=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY+e.height,r=e.height,i=r*L.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${i*-.2}) scale(${s})`}),V=r(()=>w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}));function H(e){return String(e).replace(/\sstroke(?:-(?:width|linecap|linejoin))?="[^"]*"/g,``)}let U=r(()=>{let e=w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}),t=``;if(O.value&&j.value.name){let e=H(w(j.value.name,{stroke:j.value.stroke,strokeWidth:j.value.strokeWidth})),{cx:n,cy:r}=P.value;t=`<g transform="${z.value}"><g stroke="${j.value.stroke}" stroke-width="${j.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${j.value.isSpin?N(n,r,j.value.spinDuration):``}${e}</g></g>`}let r=``;if(k.value&&M.value.name){let e=H(w(M.value.name,{stroke:M.value.stroke,strokeWidth:M.value.strokeWidth})),{cx:t,cy:n}=P.value;r=`<g transform="${B.value}"><g stroke="${M.value.stroke}" stroke-width="${M.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${M.value.isSpin?N(t,n,M.value.spinDuration):``}${e}</g></g>`}return`${e}${t}${r}`}),W=r(()=>A.value?O.value&&!k.value||k.value&&!O.value?n.size*1.6:n.size*2.2:n.size);return(n,r)=>A.value?(o(),i(`svg`,{key:0,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:R.value,height:W.value,width:W.value,style:{background:`transparent`,display:`block`},innerHTML:U.value},null,10,d)):(o(),i(`svg`,{key:1,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:u.value,height:e.size,width:e.size,innerHTML:V.value,style:{background:`transparent`}},null,10,f))}},[[`__scopeId`,`data-v-7ef95217`]]);export{u as n,v as t};
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./lib-rPeBMZrn.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createElementBlock as i,normalizeClass as a,openBlock as o,unref as s,useCssVars as c,useSlots as l}from"vue";var u=/* @__PURE__ */ e({default:()=>v}),d=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],f=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],p=`stroke-linecap="round" stroke-linejoin="round"`,m=`stroke-linecap="round"`,h=`stroke-linejoin="round"`,g=`fill="none"`,_=`stroke="none"`,v=/*#__PURE__*/ n({__name:`BaseIcon`,props:{name:String,size:{type:[Number,String],default:24},stroke:{type:String,default:`#CCCCCC`},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1},spinDuration:{type:String,default:`1s`}},setup(e){c(e=>({v4df85d30:v.value}));let n=e,u=r(()=>n.name===`numbers`?`0 0 20 21`:`0 0 20 20`),v=r(()=>n.spinDuration),y=e=>`fill="${e}"`,b=e=>`style="opacity:${e}"`,x=e=>{let t=[1,.7,.5,.3,.15],n=t.length*2,r=Array.from({length:n},(e,t)=>1+t*2);return r.flatMap(i=>r.map(r=>{let a=(Math.max(Math.abs(r-n),Math.abs(i-n))-1)/2;return`<circle ${y(e)} ${_} cx="${r}" cy="${i}" r="${t[a]}" />`})).join(``)},S={chartHill:`M1 16c9 0 6-8 9-8s0 8 9 8M10 3a1 1 0 000 2 1 1 0 000-2m-8 8a1 1 0 000 2 1 1 0 000-2m16 0a1 1 0 000 2 1 1 0 000-2`,annotation:`M10 17a1 1 0 000 2 1 1 0 000-2m-9 1h6m6 0h6M4 1h12v9h-4l-2 4M7 4h3M7 7h6M4 1v9h4l2 4`,chartAgePyramid:`M2 15v2h7v-2zm9 0v2h7v-2zm-2-2H3v-2h6zm2-2v2h6v-2zM9 9H4V7h5zm2-2v2h5V7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artParallelCoordinatePlot:`M2 2v16m8-16v16m8-16v16M2 4l8-1h8M2 10l8-4 8 2M2 16h8l8-4`,restart:`M3 10a1 1 0 0 0 14 0c0-4-3-7-7-7V2L7 4m-2 6a1 1 0 0 0 10 0c0-3-2-5-5-5v1L7 4m-4 6h2`,lap:`M3 10a1 1 0 0 0 14 0 1 1 0 0 0-14 0m5-8h4M5 3l1 1m9-1-1 1m-4 3v3l3 3`,carouselTable:`M16 2v16M14 4l2-2 2 2m-4 12 2 2 2-2M3 2h8c1 0 1 1 1 1v14c0 1-1 1-1 1H3c-1 0-1-1-1-1V3s0-1 1-1M2 6h10M2 9h10M2 12h10M2 15h10M7 2v16M4 4h1m4 0h1`,trash:`M7 18h6c2 0 2 0 3-12H4c1 12 1 12 3 12M3 4h14M8 2h4m-2 6v7M7 8l.518 7.01M13 8l-.546 6.984`,chartFunnel:`M9 18c1 1 2 0 2 0l1-8 6-4V3C18 1 2 1 2 3v3l6 4zM2 3C1 6 18 6 18 3`,chartTableSparkline:`M1 2v2m0 5v2s0 1 1 1h4s1 0 1-1V9c0-1-1-1-1-1H2C1 8 1 9 1 9m0 7v2s0 1 1 1h4c1 0 1-1 1-1v-2c0-1-1-1-1-1H2c-1 0-1 1-1 1M9 3c2-2 3-2 5 0s3 2 5 0M9 10c2 2 3 2 5 0s3-2 5 0M9 17c2-2 3-2 5 0s3 2 5 0M1 4s0 1 1 1h4s1 0 1-1V2c0-1-1-1-1-1H2S1 1 1 2`,chartCirclePack:`M10 7a1 1 0 0 0 0 6 1 1 0 0 0 0-6M5 5a1 1 0 0 0 2.716 3.039A1 1 0 0 0 5 5m8-1a1 1 0 0 0-1.646 3.322A1 1 0 0 0 13 4m-4.494 8.628a1 1 0 0 0-3.456 4.127 1 1 0 0 0 3.456-4.127m6.459-5.64a1 1 0 0 0-1.43 2.77 1 1 0 0 0 1.43-2.77M16 11a1 1 0 0 0-2.916 3.742A1 1 0 0 0 16 11`,home:`m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8`,icons:`m1 9 4-7 4 7zm11 0V2h7v7zm-7 3c-5 0-5 7 0 7s5-7 0-7m7 0 7 7m0-7-7 7`,robot:`M2 2h16v16H2zm4 3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m8 0a1 1 0 0 0 0 3 1 1 0 0 0 0-3M1 4v5m18-5v5M5 11c1 5 9 5 10 0M7 1h6`,computer:`M3 2S2 2 2 3v10s0 1 1 1h14c1 0 1-1 1-1V3c0-1-1-1-1-1zm6 12v2m2-2v2m-3 1c.333-.333.667-.667 1-2q1 1.5 2 0c.333 1.333.667 1.667 1 2H7c-1 0-2 1-2 2h10c0-1-1-2-2-2h-1M6 5 4 8l2 3m8-6 2 3-2 3m-2-7-4 8`,htmlTag:`m6 5-5 5 5 5m8-10 5 5-5 5m-7 3 6-16`,curlyBrackets:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3`,curlySpread:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3m-5-9a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,world:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18c-7 3-7 15 0 18m0-18c7 3 7 15 0 18m0-18v18m-9-9h18M1 10`,eye:`M1 10q9-9 18 0-9 9-18 0m9-3a1 1 0 0 0 0 6 1 1 0 0 0 0-6m0 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,chartRidgeline:`m1 15 3 1 3-2 3 4 4-8 3 6 2-1M1 12l5-1 4 1 4-6m0 0 3 5 2 1M1 9l5-1h3l5-7 3 5h2`,chartChord:`M9 1Q2 2 1 9m0 2q1 7 8 8m2 0q7-1 8-8m0-2q-1-7-8-8M5.683 2.021C9 6 13 4 14.893 2.322M2.421 4.987c12.048 2.15 13.124 7.229 14.94 10.343M4.83 17.48c4.19-3.707 6.377-3.262 10.603-.111M1.976 14.033c9.231-1.298 13.976-4.968 15.237-9.64`,tableDialogOpen:`M1 4V1m9 4v10m-5-3.364 10 .019M5 8.396l10 .016M4 4 1 1h3m0 15-3 3m0-3v3h3m12-3 3 3m-3 0h3v-3M16 4l3-3m-3 0h3v3M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,tableDialogClose:`M4 4 1 1m3 0v3H1m15 0 3-3m-3 0v3h3m-3 12 3 3m0-3h-3v3M4 16l-3 3m0-3h3v3m6-14v10m-5-3.364 10 .019M5 8.396l10 .016M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,minimap:`M1 3c0-2 3-2 3 0v14c0 2-3 2-3 0zm3 0h12M4 17h12V3c0-2 3-2 3 0v14c0 2-3 2-3 0M6 11l2 3 1-6 3 3 2-6`,move:`M10 2v6m0 4v6m-2-8H2m10 0h6M7 4l3-2 3 2M4 7l-2 3 2 3m3 3 3 2 3-2m3-3 2-3-2-3`,resize:`M2 12v5s0 1 1 1h5s1 0 1-2v-4c0-1-1-1-1-1H3s-1 0-1 1M6 2h3m2 0h3m2 0h1c1 0 1 1 1 1v1M4 2H3S2 2 2 3v1m0 2v3m16-3v3m0 7v1c0 1-1 1-1 1h-1m-2 0h-3m7-7v3`,selectAndGroup:`M2 1h1c1 0 1 1 1 1v1s0 1-1 1H2S1 4 1 3V2c0-1 1-1 1-1m15 0h1c1 0 1 1 1 1v1c0 1-1 1-1 1h-1s-1 0-1-1V2c0-1 1-1 1-1M2 19h1c1 0 1-1 1-1v-1s0-1-1-1H2s-1 0-1 1v1c0 1 1 1 1 1m15 0h1s1 0 1-1v-1s0-1-1-1h-1s-1 0-1 1v1c0 1 1 1 1 1M4 2.497l12-.002M2.498 4l-.012 12M17.508 4l.019 12M4 17.49l12 .009M6 6v6h6V6zm2 6v2h6V8h-2`,printer:`M6 13v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m-1 2H3s-1 0-1-1V9c0-1 1-1 1-1h14c1 0 1 1 1 1v5c0 1-1 1-1 1h-2M6 7V4c0-1 1-1 1-1h6c1 0 1 1 1 1v3`,save:`M3 2h11l4 4v11c0 1-1 1-1 1H3s-1 0-1-1V3s0-1 1-1m2 0v2c0 1 1 1 1 1h6s1 0 1-1V2m-3 7a1 1 0 0 0 0 4 1 1 0 0 0 0-4`,svg:`M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm4.458 8.052L10 16l1.519-6.97M16 11c0-3-3.005-2.19-3 0v3c0 3 2.99 2.299 3 0v-1h-1m-8.018-2.714C6.564 8.238 3.921 8.788 4 11c.757 2.259 2.806.607 3 3 0 3-3.146 2.299-3 0`,zoomUnlock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m7-1a1 1 0 0 0-4-4m1 6v2`,zoomLock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m4 1v2m3-4c1-6-7-6-6 0`,lock:`M16 8C16-1 4-1 4 8M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,unlock:`M16 8c2-7-6-8-8-6M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,triangleInformation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-3v-5m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,triangleExclamation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-7V5m0 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,direction:`M18 8C17-1 3-1 2 9m0 3c1 9 15 9 16-1M1 6l1 3 3-2m10 6 3-2 1 3`,chartGraph:`M2.9 1.6A1 1 0 004.2 3.2 1 1 0 003 1.5M9 1A1 1 0 009 4 1 1 0 009 1M3 6A1 1 0 003 9 1 1 0 003 6M4.2 3.2 6.7 5.7m-.1-.1L8.1 3.7M6.6 5.7 4.4 6.9M3 15a1 1 0 000 3 1 1 0 000-3m8 1a1 1 0 000 2 1 1 0 000-2M7 15 4.4 16M7 15M7 15l3.1 1.6M11 7a1 1 0 000 4 1 1 0 000-4M6.7 5.7 9.4 7.8M7 15l2.9-4.3M18 5a1 1 0 000 3 1 1 0 00-0-3M12.5 10.4l3.4 3.1M17 13a1 1 0 000 3 1 1 0 000-3m1-5-.7 5`,chartDag:`M8 2h4c1 0 1 1 1 1v1s0 1-1 1H8S7 5 7 4V3s0-1 1-1m-6 8v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1H3c-1 0-1 1-1 1m10 0v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1h-4c-1 0-1 1-1 1m-9 6h4c1 0 1 1 1 1v1s0 1-1 1H3c-1 0-1-1-1-1v-1s0-1 1-1m9 1v1s0 1 1 1h4c1 0 1-1 1-1v-1c0-1-1-1-1-1h-4c-1 0-1 1-1 1M10 5c0 3-5 1-5 4m5-4c0 3 5 1 5 4M5 12v4m10-4v4`,chartGeo:`M10 14c3-5 4-5 4-8a1 1 0 0 0-8 0c0 3 2 4 4 8m0-10a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-3 8H4l-3 7h18l-3-7h-3`,revert:`M10 19a1 1 0 0 0 0-16m-8 7c0 5 4 9 8 9m3-18-3 2 2 3`,lineUp:`M1 1v18h18M3 17l3-4 3 2 3-5 3 3 3-10m-2.191 1.399L18 3l.992 2.387`,histogram:`M1 1v18h18M4 19v-7h3v7m2 0V8h3v11m2 0V4h3v15`,histogramUp:`M1 1v18h18M4 19v-5h3v5m2 0v-8h3v8m2 0V8h3v11M4 9l11-7m-2.778-.374L15 2l-.731 2.63`,histogramDown:`M1 1v18h18M4 19V9h3v10m2 0v-6h3v6m2 0v-4h3v4M5 2l11 8m-2.85.336 2.798-.334-.504-2.729`,document:`M1 1v18h18m0 0V1H1m6 3H4m0 3h3m-3 3h3m-3 3h12M4 16h12M10 4v6h6V4z`,database:`M2 16c0 4 16 4 16 0m0 0V4C18 0 2 0 2 4v12M2 4c0 4 16 4 16 0M2 8c0 4 16 4 16 0M2 12c0 4 16 4 16 0`,percentage:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5`,percentageUp:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M14 2h4v4`,percentageDown:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M2 14v4h4`,aToZ:`m3 8 4-7 4 7M4.716 5h4.569M3 12h8l-8 7h8m6-17v16m-2-2 2 2 2-2`,zToA:`m3 19 4-7 4 7m-6.285-2.999L9.284 16M3 1h8L3 8h8m6-6v16m-2-2 2 2 2-2`,zeroToNine:`M7 1C1.653.987 1.663 7.995 7 8c5.337-.005 5.326-7.002 0-7m10 1v16m-2-2 2 2 2-2m-8-2c0-3-8-3-8 0s8 2 8 0m0 0c0 5-3 5-8 5`,nineToZero:`M7 12c-5.338-.002-5.328 6.991 0 7 5.329-.004 5.335-7.005 0-7M17 2v16m-2-2 2 2 2-2M11 4c0-3-8-3-8 0m0 0c0 3 8 2 8 0m0 0c0 5-3 5-8 5`,chip:`M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2M8 7h4s1 0 1 1v4s0 1-1 1H8c-1 0-1-1-1-1V8c0-1 1-1 1-1`,wifi:`M10 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2M7 4c-2 1-2 5 0 6m6-6c2 1 2 5 0 6M4 3c-2 2-2 6 0 8m12-8c2 2 2 6 0 8m-6 0v5m-8 1h4m0 0c0-1 1-1 1-1h6s1 0 1 1-1 1-1 1H7s-1 0-1-1m8 0h4`,key:`M7 10a1 1 0 0 0-6 0 1 1 0 0 0 6 0h12m-2 0v3l-2-2-2 2v-3`,shield:`M10 1C7 4 4 4 1 4c1 6 3 11 9 15 6-4 8-9 9-15-3 0-6 0-9-3`,shieldExclam:`M10 1C7 4 4 4 1 4c1 6 3 11 9 15 6-4 8-9 9-15-3 0-6 0-9-3m0 4v5m0 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,cloud:`M4 15h12a1 1 0 0 0 1-5 1 1 0 0 0-5-3 1 1 0 0 0-5 2 1 1 0 0 0-3 6`,cloudRain:`M4 15h12a1 1 0 0 0 1-5 1 1 0 0 0-5-3 1 1 0 0 0-5 2 1 1 0 0 0-3 6m2 2-2 2m7-2-2 2m7-2-2 2`,sun:`M10 7a1 1 0 0 0 0 6 1 1 0 0 0 0-6M5 6 4 5m11 1 1-1M5 15l-1 1m11-1 1 1M10 4l.005-1.318M4 10l-1.338.001M10 16l.002 1.333M16 10l1.346.002`,croissant:`M6 3c11 0 11 14 0 14M6 3c5 4 5 10 0 14`,plus:`M10 3v14m-7-7h14`,minus:`M3 10h14`,person:`M10 1c-2 0-2 4 0 4s2-4 0-4m0 5c-4 0-1 4 0 4m0-4c4 0 1 4 0 4m-2 0 1 9m3-9-1 9m-3 0h4M8 5c-2 1-3 5-3 7m7-7c2 1 3 5 3 7`,download:`M10 2v12m-4-4 4 4 4-4M2 13v3c0 2 2 2 2 2h12s2 0 2-2v-3`,upload:`M10 6v12m-4-8 4-4 4 4M2 7V4c0-2 2-2 2-2h12s2 0 2 2v3`,target:`M10 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 8 1 1 0 0 0 0-8m0-4a1 1 0 0 0 0 16 1 1 0 0 0 0-16`,gisLayerSearch:`M10 1 2 3m8 7a1 1 0 0 0 0 8 1 1 0 0 0 0-8M2 3l8 2 8-2-8-2M2 6l8 2 8-2M2 9l4 1m7.068 6.565L16 19m2-10-4 1M2 9l6-1.499M18 9l-6-1.5M18 6l-6-1.5M2 6l6-1.5`,sqlSearch:`M6.008 3.011C5.99 1.737 2.024 1.646 2 3c.024 1.703 4.008 1.12 3.99 3.013 0 1.437-3.966 1.273-3.984-.182M10 10a1 1 0 0 0 0 8 1 1 0 0 0 0-8m3.068 6.565L16 19M10 2c-3 0-3 5 0 5m0 0c3 0 3-5 0-5m5 0v5h3m-6.538-.537L13 8`,scada:`M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2V4M5.876 5.49l8.227 4.067m-8.207-.005 8.232-4.06M10 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m0 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m8-5a1 1 0 0 0 2 0 1 1 0 0 0-2 0m0 5a1 1 0 0 0 2 0 1 1 0 0 0-2 0`,apiStream:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3M6 6h8m-2-2 2 2-2 2m2 6H6m2-2-2 2 2 2`,wrench:`m2.036 4.452 3.073 2.99c1.786.042 2.451-.498 2.741-2.243L4.736 1.835c4.734-.415 7.475 1.62 5.773 6.105M2.036 4.452c-1.038 3.945 1.578 7.6 6.014 5.654m0 0 7.684 8.152c1.039-.014 2.272-1.262 2.26-2.159L10.509 7.94`,branches:`M4 10a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0m0-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M2.492 8.5l.013-3.499C2.521 4.002 3.536 3.004 4.517 3H7m3 0h6m3 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0M4 10h3m12 7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M8.5 11.5l.011 3.5c-.005 1 .983 1.999 2.015 1.999L16 17m3-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0m-9 0h6`,fork:`M4 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m12 0a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-6 13a1 1 0 0 0 0 4 1 1 0 0 0 0-4M4 6v2c0 2 2 2 2 2h8s2 0 2-2V6m-6 4v5`,resizeX:`m5 6-4 4 4 4m10-8 4 4-4 4`,resizeY:`m14 5-4-4-4 4m8 10-4 4-4-4`,resizeTLBR:`M9 3H3v6m14 2v6h-6`,resizeTRBL:`M17 9V3h-6M9 17H3v-6`,focus:`M1 6V4q0-3 3-3h2m8 0h2q3 0 3 3v2m0 8v2q0 3-3 3h-2m-8 0H4q-3 0-3-3v-2m11-4a1 1 0 0 0-4 0 1 1 0 0 0 4 0`,sql:`M10 7c-3 0-3 6 0 6s3-6 0-6m0 6 2 2M5.988 8.502C5.988 6.993 2 6 2 9c.322 1.725 3.706.249 4 2-.012 3.076-3.993 2.014-3.993.504M14 7v6h4`,monitor:`M3 2S2 2 2 3v10s0 1 1 1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 5m-4 0c-4 0-5-2-2-7m6-1h3v-3m-1.363 8.393L11.5 15.5l2 2m-11-8 3-1 1 3`,link:`m7 13 6-6M6 9c-5 5 0 10 5 5M9 6c5-5 10 0 5 5`,puzzle:`M16.579 9.304h-1.177V6.167c0-.871-.706-1.569-1.569-1.569h-3.137V3.421a1.96 1.96 0 0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96`,externalLink:`m19 1-9 9m5-9h4v4m-9-2H5C4 3 3 4 3 5v10c0 1 1 2 2 2h10c1 0 2-1 2-2v-5`,plotLine:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M16 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-1.414 3.414L5.42 14.592`,plotArrow:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M17 3 5.42 14.592M13 3h4v4`,accessibility:`M10 1a1 1 0 0 0 0 4 1 1 0 0 0 0-4m0 6L4 4a1 1 0 0 0-1 2l5 3v2l-4 6a1 1 0 0 0 2 1l4-5 4 5a1 1 0 0 0 2-1l-4-6V9l5-3a1 1 0 0 0-1-2z`,clankerCrazy:`M2 2h16v17H2zm0 10 8 1 8-1m-8 1v6m-4-6.5V19m8-6.5V19M6 5a1 1 0 0 0 0 4 1 1 0 0 0 0-4m7 0a1 1 0 0 0 0 5 1 1 0 0 0 0-5M1 5v5m18-5v5M7 1h6`,clankerNasty:`M2 2h16v17H2zm0 11 8-2 8 2m-8-2v8m-4-7v7m8-7v7M1 5v5m18-5v5M4 5l4 2m4 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-2m-5 12v-8m-3 5 3 3 3-3`,chartHistoryPlot:`M4 4a1 1 0 0 0 2 0 1 1 0 0 0-2 0m8-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m5 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-5 7a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-7-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m1-8 5-1m1.84.582 3.427 3.683m.358 1.688-3.862 5.344m-1.764.435-5.012-1.406M1 1v18h18`};function w(e,{stroke:t,strokeWidth:n}){let r=`stroke="${t}" stroke-width="${n}"`,i=`fill="${t}"`,a=`stroke="${t}"`,o=`${g} ${r} ${p}`,s=`${g} ${r} ${m}`,c=`${i} ${_}`,l=c,u=b(.3),d=b(.4),f=b(.5),v=b(.6),y=S[e];if(y)return`<path d="${y}" ${o}/>`;let w=C[e];return w?`<path d="${w}" ${s}/>`:{annotator:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,annotatorDisabled:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5M2 2l16 16" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,chart3dBar:`<path ${g} ${r} d="M10 1 6 3v14l4 2 4-2V3zM6 3l4 2 4-2m-4 2v14" ${p}/><path ${c} ${u} d="m6 10 4 2 4-2v7l-4 2-4-2z"/>`,chartDonut:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m5 0a1 1 0 0 0 8 0 1 1 0 0 0-8 0m-5 0h5m4 4v5m4-9" /><path ${_} ${i} ${m} d="M1 10h5c0 2 2 4 4 4v5c-4 0-9-3-9-9" ${u} />`,chartNestedDonuts:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m3 0a1 1 0 0 0 12 0 1 1 0 0 0-12 0m-3 0h3"/><path ${g} ${a} stroke-width="${n/2}" ${m} d="M10 16v3m-3-9a1 1 0 0 0 6 0 1 1 0 0 0-6 0"/><path ${u} ${i} ${m} d="M7 10h3v3c-2 0-3-2-3-3"/><path ${u} ${i} ${m} d="M1 10h3c0 4 3 6 6 6v3c-5 0-9-4-9-9"/>`,chartGauge:`<path ${s} d="M19 13a1 1 0 0 0-18 0" ${u} /><path ${s} d="M9 15a1 1 0 0 0 2 0 1 1 0 0 0-2 0m1-1V8m0-4c-4 0-9 3-9 9" />`,chartHeatmap:`<path ${s} d="M2 3v14c0 1 0 1 1 1h14c1 0 1 0 1-1V3c0-1 0-1-1-1H3C2 2 2 2 2 3m8-1v16m-8-8h16M6 2v16m8-16v16M2 6h16M2 14h16"/><rect ${c} x="2" y="6" height="4" width="4" ${f} /><rect ${c} x="6" y="10" height="4" width="4" ${f} /><rect ${c} x="6" y="14" height="4" width="4" ${f} /><rect ${c} x="14" y="2" height="4" width="4" ${f} />`,chartMoodRadar:`<path ${o} d="M10 4 4 9l2 7h8l2-7zM9 2a1 1 0 0 0 2 0 1 1 0 0 0-2 0M1 8a1 1 0 0 0 2 0 1 1 0 0 0-2 0m2 10a1 1 0 0 0 2-1 1 1 0 0 0-2 1m12 0a1 1 0 0 0 2-1 1 1 0 0 0-2 1m2-10a1 1 0 0 0 2 0 1 1 0 0 0-2 0" /><path ${_} ${i} ${p} d="m10 7 3 3v4l-5-1-1-4z" ${u} />`,chartOnion:`<path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9c-4 0-9-4-9-9m9-6c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3s-2 3-3 3-3-1-3-3" ${u} /><path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9m0-15c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3" />`,chartQuadrant:`<path ${s} d="M10 1v18m-9-9h18" /><circle ${c} cx="3" cy="14" r="1"/><circle ${c} cx="5" cy="6" r="1"/><circle ${c} cx="14" cy="17" r="1"/><circle ${c} cx="17" cy="14" r="1"/><circle ${c} cx="15" cy="4" r="1"/>`,chartRadar:`<path ${s} d="M2 6v8l8 5 8-5V6l-8-5z" /><path ${u} ${c} stroke-width="0" ${m} d="m4 7 6-2 8 1-6 5-2 5-4-5z" /><path ${a} stroke-width="${n/3}" ${p} ${g} d="m4 7 6-2 8 1-6 5-2 5-4-5z" />`,chartScatter:`<path ${s} d="M1 1v17c0 1 0 1 1 1h17" /><circle ${c} cx="5" cy="15" r="1"/><circle ${c} cx="6" cy="12" r="1" /><circle ${c} cx="8" cy="15" r="1"/><circle ${c} cx="10" cy="8" r="1"/><circle ${c} cx="12" cy="10" r="1"/><circle ${c} cx="14" cy="6" r="1"/><circle ${c} cx="16" cy="4" r="1"/><circle ${c} cx="11" cy="14" r="1"/>`,chartSparkStackbar:`<path ${c} d="M12 8h5c2 0 2 4 0 4h-5c2 0 2-4 0-4" ${u} /><path ${c} d="M3 8h4c2 0 2 4 0 4H3c-2 0-2-4 0-4" /><path ${c} d="M7 8h5c2 0 2 4 0 4H7c2 0 2-4 0-4" ${f} /><path ${g} ${a} stroke-width="${n/3}" ${m} d="M3 8h14c2 0 2 4 0 4H3c-2 0-2-4 0-4" />`,chartThermometer:`<path ${s} d="M13 4a1 1 0 0 0-6 0v12a1 1 0 0 0 6 0zM7 15h1m-1-3h1M7 9h1M7 6h1m4 9h1m-1-3h1m-1-3h1m-1-3h1" /><path ${r} ${v} d="M10 17v-5" ${m} /><path ${m} ${r} d="M10 17V9" ${u} /><path ${m} ${r} opacity="0.3" d="M10 17V6" /><path ${m} ${r} ${b(.1)} d="M10 17V3" />`,chartTiremarks:`<path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" /><path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" ${d} />`,chartWheel:`<circle cx="10" cy="10" r="7" ${g} ${r} stroke-dasharray="16" ${m}/><circle cx="10" cy="10" r="9" ${g} ${r} stroke-dasharray="2" ${m} ${b(.7)}/><circle cx="10" cy="10" r="1" ${i} />`,close:`<path ${g} stroke-width="${n}" ${g} ${a} ${m} d="m4 4 12 12M4 16 16 4" />`,digit0:`<path ${u} ${l} d="m7 10 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit1:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit2:`<path ${u} ${l} d="m14 11 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm1-1 1-1h4l1 1-1 1H8z" />`,digit3:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm0-8 1-1h4l1 1-1 1H8z" />`,digit4:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit5:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4zm-8 8 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit6:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit7:`<path ${u} ${l} d="m7 18 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit8:`<path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm-1 9 1-1h4l1 1-1 1H8zm0 8 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit9:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,excel:`<path stroke-width="${n}" ${g} ${a} ${h} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm10 7c1 0 2 1 2 2v4c0 1-1 2-2 2H6c-1 0-2-1-2-2v-4c0-1 1-2 2-2Z"/><line ${r} x1="9" x2="9" y1="8" y2="16" /><line ${r} x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${n}" ${g} ${a} ${m} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5ZM1 16c2.333-2.333 2-6 7-4m-1 2c1-1 2-9 12-3"/><circle r="1" cx="6" cy="5" ${c}/>`,menu:`<path stroke-width="${n}" ${g} ${a} ${m} d="M2 10h16M2 5h16M2 15h16" />`,pdf:`<path stroke-width="${n}" ${g} ${a} ${p} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm0 15V9h1q2 0 2 2t-2 2H4m5 3V9q3 0 3 3v1q0 3-3 3m5 0V9h2m-2 3h2"/>`,skeleton:`<path ${s} d="M3 14a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h1a1 1 0 0 0 0-4zm9 8v6c0 1 1 2 2 2h3c1 0 2-1 2-2v-6c0-1-1-2-2-2h-3c-1 0-2 1-2 2" stroke-dasharray="2" />`,sort:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 15 4 3 4-3M5 5v13m10-3V2m-4 3 4-3 4 3" />`,sortReverse:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 8 4-3 4 3M5 5v13m10-3V2m-4 10 4 3 4-3" />`,spin:`<path stroke-width="${n}" ${g} ${a} ${m} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-15 0 1 1 0 0 0 12 0 1 1 0 0 0-9 0 1 1 0 0 0 6 0 1 1 0 0 0-3 0m-9 0q0-5 4-8" />`,starFill:`<path ${i} ${r} ${p} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96-4.345-4.201" />`,tableClose:`<path stroke-width="${n}" ${m} ${g} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 5-4-3-4 3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${a} x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${n}" ${g} ${m} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 2-4 3-4-3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${m} ${a} x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path ${g} ${r} d="M7 10a1 1 0 0 0 6 0 1 1 0 0 0-6 0m3-3V4a1 1 0 0 0 0-3 1 1 0 0 0 0 3m-3 6H4a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 3v3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m3-6h3a1 1 0 0 0 3 0 1 1 0 0 0-3 0" />`,arrowRight:`<path ${l} d="M18 10 3 1q4.5 9 0 18z" ${h} />`,arrowTop:`<path ${l} d="M10 2 1 17q9-4.5 18 0z" ${h} />`,arrowLeft:`<path ${l} d="m2 10 15-9q-4.5 9 0 18z" ${h} />`,arrowBottom:`<path ${l} d="M10 18 1 3q9 4.5 18 0z" ${h} />`,chartSparkbar:`<path ${g} ${r} ${m} d="M2 5h16M2 10h16M2 15h16" ${u} /><path ${g} ${r} ${m} d="M2 5h13M2 10h9m-9 5h5" />`,vueDataUi:`<path ${o} d="m1 2 9 17M1 2h3l6 11h3m-3 6 3-6"/><path ${o} d="m10 13 4.974-9.549L19 13h-3l-1.266-3.447L13 13z"/>`,triangleFill:`<path ${a} ${i} stroke-width="${n}" ${p} d="M10 3 1 17h18z"/>`,squareFill:`<path ${i} ${r}${p} d="M2 2v16h16V2z"/>`,diamondFill:`<path ${i} ${r} ${p} d="m10 1-9 9 9 9 9-9z"/>`,pentagonFill:`<path ${i} ${r} ${p} d="M10 1 1 9l4 10h11l3-10Z"/>`,hexagonFill:`<path ${i} ${r} ${p} d="M10 1 2 6v8l8 5 8-5V6Z"/>`,circleFill:`<path ${r} ${i} ${p} d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18"/>`,numbers:`<path ${g} ${a} stroke-width="${n/2}" ${g} ${p} d="m2 3 2-2v5m4-3c0-1 1-2 2-2s2 1 2 2c0 2-4 0-4 3h4m3-5h3l-2 2c1 0 2 0 2 1 0 2-2 2-3 2M4 13V8l-2 3h4m6-3H8c0 3 4 1 4 3 0 1-1 2-2 2s-2-1-2-2m10 0a1 1 0 0 0-3 1 1 1 0 0 0 3-1m-3 0c0-3 2-3 3-3M2 15h4c-1 3-4 2-4 5m6-4c0-1 1-1 1-1h2c1 0 1 1 1 1s0 1-1 1H9s-1 0-1-1m1 1s-1 0-1 1v1c0 1 1 1 1 1h2c1 0 1-1 1-1v-1s0-1-1-1m7 0a1 1 0 0 0-3-1 1 1 0 0 0 3 1m0 0c0 3-2 3-3 3"/>`,people:`<path ${o} d="M6 1C4 1 4 5 6 5s2-4 0-4m0 5c-4 0-1 4 0 4m0-4c4 0 1 4 0 4m-2 0 1 9m3-9-1 9m-3 0h4M4 5c-2 1-3 5-3 7M14 1c-2 0-2 4 0 4s2-4 0-4m0 5c-4 0-1 4 0 4s4-4 0-4m-2 4 1 9m3-9-1 9m-3 0h4m0-14c2 1 3 5 3 7M8 5c2 3 2 5 2 7 0-2 0-4 2-7"/>`,accordion:`<path ${o} d="M2 2h16l-2 2 2 2-2 2 2 2-2 2 2 2-2 2 2 2H2l2-2-2-2 2-2-2-2 2-2-2-2 2-2z"/><path ${c} ${u} ${p} d="M2 2h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 6h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 10h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 14h16l-2 2H4Z" />`,trend:`<path ${s} stroke-kinejoin="round" d="m1 6 3-2 3 2M4 4v9m3 3s0 2 2 2c3 0 1-9 3-9s2 4 3 4c3 1 2.667-7.333 4-11"/>`,chartStripPlot:`<path ${r} ${g} d="M4 16a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 13a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M8 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 7a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2" />`,chartDumbbell:`<path ${r} ${m} d="M3 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 3h5M5 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m12 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 10h10m-8 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-6 1h5" />`,chartWordCloud:`<text x="10" y="10" ${i} text-anchor="middle" font-size="4.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5.5" y="6" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="15" y="6" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5" y="13.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="14.5" y="14.4" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="3" ${i} text-anchor="middle" font-size="1.8" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="17.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text>`,chartWordCloudZh:`<text x="10" y="10" ${i} text-anchor="middle" font-size="6" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="2" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="14.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="18" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text>`,chartFlow:`<path stroke="transparent" stroke-width="${n}" ${p} ${i} d="M2 2h2v7H2zm7 0h2v4H9zm7 0h2v2h-2zM2 11h2v7H2zm7-3h2v3H9zm0 6h2v2H9zm7-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2zM4 2h5v4H4zm0 4 5 2v3L4 9zm7-4h5v2h-5zm0 2 5 2v2l-5-2zm-7 7 5 3v2l-5-3zm7-3 5 2v2l-5-2zm0 6h5v2h-5z"/>`,pause:`<path ${c} strole-linecap="round" ${h} d="M3 4v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2H5C4 2 3 3 3 4m9 0v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2h-1c-1 0-2 1-2 2"/>`,play:`<path ${i} stroke-width="${n}" ${p} ${g} d="M3 4v12c0 1 1 2 2 2h1c1 0 12-5 12-7v-1C18 8 7 2 6 2H5C4 2 3 3 3 4"/>`,stop:`<path ${i} stroke-width="${n}" ${p} ${g} d="M10 8 4 2H3L2 3v1l6 6-6 6v1l1 1h1l6-6 6 6h1l1-1v-1l-6-6 6-6V3l-1-1h-1z"/>`,battery:`<path ${o} d="M2 6v8c0 2 1 2 2 2h11c1 0 2 0 2-2v-1s1 0 1-1V8c0-1-1-1-1-1V6c0-2-1-2-2-2H4C3 4 2 4 2 6"/><path ${i} ${v} ${_} d="M4 7v6c0 1 1 1 1 1h6V6H5S4 6 4 7"/>`,chartStackbar:`<path ${o} d="M8 18h4V8c0-1-1-1-1-1H9S8 7 8 8zm-6 0h4v-6c0-1-1-1-1-1H3s-1 0-1 1zm12 0h4V3c0-1-1-1-1-1h-2s-1 0-1 1zM2 14h4m2-3h4m2-4h4m-4 5"/><path ${_} ${u} ${i} d="M2 14h4v4H2z" /><path ${_} ${u} ${i} d="M8 11h4v7H8z" /><path ${_} ${u} ${i} d="M14 7h4v11h-4z" />`,starFace:`<path ${a} stroke-width="${n} ${p} ${g} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96ZM6.989 10c.631-1.099 1.649-.753 1.975.02m2.035 0c.672-1.078 1.608-.732 2.016.021m-5.516 1.982c1.233 2.928 4.602 1.849 4.998-.023" />`,chartBullet:`<path ${o} d="M1 7v6h18V7z"/><path ${i} d="M1 9h11v2H1Z" ${_} ${m}/><path ${i} d="M15 5v10h1V5Z" ${_} ${m}/>`,palette:`<path ${s} d="M10 2a1 1 0 0 0 0 16s4 0 4-2c0-3-2-2-3-3-1-3 3-2 4-2 5 0 4-9-5-9"/><path ${c} d="M6 6a1 1 0 0 0 2 2 1 1 0 0 0-2-2" ${b(.7)}/><path ${c} ${f} d="M6 11a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/><path ${c} d="M11 5a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/>`,colorPicker:`<path d="M2 16c0 1 1 2 2 2s2-2 5-2l7-8-4-4-8 7m0 0c0 3-2 4-2 5m14-8c1 1 3-1 2-2l-4-4c-1-1-3 1-2 2m6 2c3-3-1-7-4-4" ${o}/><path d="M2 16c0 1 1 2 2 2s2-2 5-2l4.347-5.011H4.022L4 11m0 0c0 3-2 4-2 5" ${p} ${i} ${d}/>`,boxes:`<path ${s} d="M10 11 6 9l-4 2v5l4 2 4-2zm0 0 4-2 4 2v5l-4 2-4-2M6 9V4l4-2 4 2v5M6 4l4 2 4-2M2 11l4 2 4-2m0 0 4 2 4-2m-8-5v5m-4 2v5m8-5v5"/><path ${c} ${f} d="m6 4 4 2v5L6 9z"/><path ${c} ${f} d="m2 11 4 2v5l-4-2z"/><path ${c} ${f} d="m10 11 4 2v5l-4-2z"/>`,homeFilled:`<path ${i} ${r} ${p} d="m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8"/>`,hourglass:`<path ${o} d="M4 1h12m-3 0c3 2 1 4 1 4M7 1C4 3 6 5 6 5M4 19h12M6 5c4 5 4 5 0 10m8-10c-4 5-4 5 0 10m-1 4c3-2 1-4 1-4m-7 4c-3-2-1-4-1-4"/><path ${u} ${c} d="M7 18h6c1-3-2-5-3-5s-4 2-3 5"/>`,text:`<path d="M1 3V1h12v3c0 1-2 1-2 0V3H8v14h1c1 0 1 2 0 2H5c-1 0-1-2 0-2h1V3H3v1c0 1-2 1-2 0zm10 5h8" ${p} ${i}/><path d="M14 8h5m-8 3h8m-8 3h8" ${o}/>`,bringToFront:`<path ${i} d="M7 6h6s1 0 1 1v6s0 1-1 1H7s-1 0-1-1V7s0-1 1-1"/><path ${o} d="M8 4V3s0-1-1-1H3C2 2 2 3 2 3v4c0 1 1 1 1 1h1m8 8v1c0 1 1 1 1 1h4s1 0 1-1v-4s0-1-1-1h-1"/>`,bringToBack:`<path ${i} d="M7 13v-3h1c2 0 2-1 2-2V7h3v3h-1c-1 0-2 0-2 2v1z"/><path ${g} ${a} ${p} d="M9 8V3s0-1-1-1H3C2 2 2 3 2 3v5c0 1 1 1 1 1h5c1 0 1-1 1-1m2 4v5c0 1 1 1 1 1h5s1 0 1-1v-5s0-1-1-1h-5c-1 0-1 1-1 1"/>`,chartStackline:`<path d="M2 16v2h16v-8l-4 4-3-2-3 3-3-2Z" ${c} ${b(.9)}/><path d="m2 16 3-3 3 2 3-3 3 2 4-4V6l-4 2-3-2-3 3-3-1-3 1Z" ${c}" ${v}/><path d="M2 9V2h16v4l-4 2-3-2-3 3-3-1Z" ${c} ${u}/><path d="M1 1v18h18" ${a} ${p} ${g}/>`,pie:`<path d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18v9l4.025 8.049M10 10H1m9 0 4 8" ${o}/><path d="m10 10 4 8c-3.413 2.069-12.365 1.271-13-8z" ${c} ${u}/><path d="M10 1c-7.472.391-9.069 6.876-9 9h9z" ${c} ${f}/>`,network:`<path d="M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2v-3m-6 0h12c1 0 1-1 1-1V9s0-1-1-1H4S3 8 3 9v2s0 1 1 1m0-6h12c1 0 1-1 1-1V3c0-1-1-1-1-1H4S3 2 3 3v2s0 1 1 1m6 0v2" ${o}/><path d="M6 4h1m2 0h5m-8 6h1m2 0h5" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipAi:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M10 6c-1 3-1 3-4 4 3 1 3 1 4 4 1-3 1-3 4-4-3-1-3-1-4-4" ${c} />`,binary:`<path d="M4 1C2 1 2 4 4 4s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3M4 6v3m4-3C6 6 6 9 8 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3M4 11c-2 0-2 3 0 3s2-3 0-3m4 0v3m4-3v3m4-3v3M4 16v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipBinary:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M6 6C4 6 4 9 6 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m-8 5v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/3}" ${g} ${p}/>`,blur:x(t),sqlQuery:`<path d="M17 10V3C17 1 3 1 3 3v7m0-7c0 2 14 2 14 0" ${o}/><path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/>`,gisLayerQuery:`<path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 1 2 3m0 0 8 2 8-2-8-2M2 6l4 1m12 2-2.482.619M14 7l4-1M2 9l2.493.629M2 6l6-1.5M18 6l-6-1.5M2 9l3-1m13 1-3-1" ${o}/>`,magnify:`<path d="M8 1a1 1 0 0 0 0 14A1 1 0 0 0 8 1m4.95 11.95L19 19" ${o}/><path d="M8 4a1 1 0 0 0 0 8 1 1 0 0 0 0-8" ${c} ${b(.1)} /><path d="M12 8a1 1 0 0 0-8 0" ${a} ${m} stroke-width="${n/3}" ${g} ${d} /><path d="M8 4c-.788-.017-2.544.345-3.456 2.003" ${a} ${m} stroke-width="${n/3}" ${g} />`,spark:`<path d="M10 1c-2 7-2 7-9 9 7 2 7 2 9 9 2-7 2-7 9-9-7-2-7-2-9-9" ${c}/>`,doubleSpark:`<path d="M1 13c5-1 5-1 6-6 1 5 1 5 6 6-5 1-5 1-6 6-1-5-1-5-6-6M15 1c-.514 3.478-.514 3.478-4 4 3.505.505 3.499.505 4 4 .513-3.489.513-3.495 4-4-3.474-.503-3.48-.51-4-4" ${c}/>`,listType:`<path d="M7 4h11M7 10h11M7 16h11" ${o}/><path d="M2 3h2v2H2z" ${i} ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path ${i} d="m3 9-1.2 2h2.4z" ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path d="M3 14.8a1 1 0 0 0 .002 2.4 1 1 0 0 0-.003-2.4" ${i} ${a} stroke-width="${n/2}"/>`,calendar:`<path d="M7 1v3m6-3v3M5 3H4C3 3 2 4 2 5v11c0 1 1 2 2 2h12c1 0 2-1 2-2V5c0-1-1-2-2-2h-1M9 3h2M2 7h16" ${o}/><path d="M4 10h2v1H4zm5 0h2v1H9zm5 0v1h2v-1zM4 14h2v1H4zm5 0h2v1H9z" ${a} stroke-width="${n/3}" ${i} ${p}/>`,test:`<path d="M4 19h12c2 0 2-2 2-2l-6-8V3c1 0 1-2 0-2H8C7 1 7 3 8 3v6l-6 8s0 2 2 2" ${o}/><path d="M5 14c3 2 6-2 10 0l2.141 2.847c.015.793-.071 1.157-1.141 1.153H4c-.75.014-1.171-.252-1.134-1.131z" ${c} ${p} ${d}/><path d="M5 14c3 2 6-2 10 0" ${a} ${m} stroke-width="${n/3}"/>`,pi:`<path d="M1 8c1-5 3-6 4-6h13c1 0 1 2 0 2h-3s-1 4-1 10c0 4 3 3 5 0-1 7-7 6-7 0 0-5 1-10 1-10H9C8 9 7 17 7 17c-1 3-4 2-4 0C7 13 7 4 7 4 4 4 3 5 1 8" ${p} ${i}/>`,fileSvg:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">SVG</text>`,filePdf:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PDF</text>`,fileCsv:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">CSV</text>`,filePng:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PNG</text>`,puzzleFill:`<path d="M16.579 9.304h-1.177V6.167c0-.871-.706-1.569-1.569-1.569h-3.137V3.421a1.96 1.96 0 0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96" ${p} ${i}/>`,npmx:`<path d="m17 2-6 16H9l6-16zM3 13v3h3v-3z" ${p} ${i}/>`}[e]||``}let T=l(),E=r(()=>(T.exp?.()||[])[0]||null),D=r(()=>(T.sub?.()||[])[0]||null),O=r(()=>!!E.value),k=r(()=>!!D.value),A=r(()=>O.value||k.value),j=r(()=>{let e=E.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}}),M=r(()=>{let e=D.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}});function N(e,t,n=`0.5s`){return`<animateTransform attributeName="transform" type="rotate" from="0 ${e} ${t}" to="360 ${e} ${t}" dur="${n}" repeatCount="indefinite"/>`}let P=r(()=>{let e=F.value;return{cx:e.minX+e.width/2,cy:e.minY+e.height/2}}),F=r(()=>{let e=String(n.viewBox).trim().split(/\s+/).map(Number),[t,r,i,a]=e.length===4?e:[0,0,20,20];return{minX:t,minY:r,width:i,height:a}}),I=r(()=>{let e=n.size||24;return(j.value.size||e*.6)/e}),L=r(()=>{let e=n.size||24;return(M.value.size||e*.6)/e}),R=r(()=>{let e=F.value,t=O.value?e.height*I.value:0,n=O.value?e.height*I.value:0,r=k.value?e.height*L.value:0,i=Math.max(n,r),a=k.value?e.height*L.value:0;return`${e.minX} ${e.minY-t} ${e.width+i} ${e.height+t+a}`}),z=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY,r=e.height,i=r*I.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${-i*.8}) scale(${s})`}),B=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY+e.height,r=e.height,i=r*L.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${i*-.2}) scale(${s})`}),V=r(()=>w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}));function H(e){return String(e).replace(/\sstroke(?:-(?:width|linecap|linejoin))?="[^"]*"/g,``)}let U=r(()=>{let e=w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}),t=``;if(O.value&&j.value.name){let e=H(w(j.value.name,{stroke:j.value.stroke,strokeWidth:j.value.strokeWidth})),{cx:n,cy:r}=P.value;t=`<g transform="${z.value}"><g stroke="${j.value.stroke}" stroke-width="${j.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${j.value.isSpin?N(n,r,j.value.spinDuration):``}${e}</g></g>`}let r=``;if(k.value&&M.value.name){let e=H(w(M.value.name,{stroke:M.value.stroke,strokeWidth:M.value.strokeWidth})),{cx:t,cy:n}=P.value;r=`<g transform="${B.value}"><g stroke="${M.value.stroke}" stroke-width="${M.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${M.value.isSpin?N(t,n,M.value.spinDuration):``}${e}</g></g>`}return`${e}${t}${r}`}),W=r(()=>A.value?O.value&&!k.value||k.value&&!O.value?n.size*1.6:n.size*2.2:n.size);return(n,r)=>A.value?(o(),i(`svg`,{key:0,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:R.value,height:W.value,width:W.value,style:{background:`transparent`,display:`block`},innerHTML:U.value},null,10,d)):(o(),i(`svg`,{key:1,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:u.value,height:e.size,width:e.size,innerHTML:V.value,style:{background:`transparent`}},null,10,f))}},[[`__scopeId`,`data-v-7ef95217`]]);export{u as n,v as t};
@@ -1 +1 @@
1
- import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-DDctLkeT.js";import{createElementBlock as n,createElementVNode as r,createVNode as i,normalizeClass as a,normalizeStyle as o,openBlock as s,withKeys as c}from"vue";var l=/*#__PURE__*/ e({__name:`BaseLegendToggle`,props:{backgroundColor:{type:String,default:`#CCCCCC`},color:{type:String,default:`#2D353C`},fontSize:{type:Number,default:14},checked:{type:Boolean},isCursorPointer:{type:Boolean}},emits:[`toggle`],setup(e,{emit:l}){let u=l;return(l,d)=>(s(),n(`div`,{class:a({"vue-ui-legend-toggle-wrapper":e.isCursorPointer}),"data-dom-to-png-ignore":``},[r(`div`,{class:`vue-ui-legend-toggle`,role:`button`,tabindex:`0`,onClick:d[0]||=e=>u(`toggle`),onKeydown:d[1]||=c(e=>u(`toggle`),[`enter`]),style:o({position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundColor:e.backgroundColor,padding:e.fontSize/4+`px`})},[i(t,{name:e.checked?`minus`:`check`,stroke:e.color,size:e.fontSize*.6,"stroke-width":e.fontSize/4},null,8,[`name`,`stroke`,`size`,`stroke-width`])],36)],2))}},[[`__scopeId`,`data-v-f05513e8`]]);export{l as t};
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-Cm-IJ179.js";import{createElementBlock as n,createElementVNode as r,createVNode as i,normalizeClass as a,normalizeStyle as o,openBlock as s,withKeys as c}from"vue";var l=/*#__PURE__*/ e({__name:`BaseLegendToggle`,props:{backgroundColor:{type:String,default:`#CCCCCC`},color:{type:String,default:`#2D353C`},fontSize:{type:Number,default:14},checked:{type:Boolean},isCursorPointer:{type:Boolean}},emits:[`toggle`],setup(e,{emit:l}){let u=l;return(l,d)=>(s(),n(`div`,{class:a({"vue-ui-legend-toggle-wrapper":e.isCursorPointer}),"data-dom-to-png-ignore":``},[r(`div`,{class:`vue-ui-legend-toggle`,role:`button`,tabindex:`0`,onClick:d[0]||=e=>u(`toggle`),onKeydown:d[1]||=c(e=>u(`toggle`),[`enter`]),style:o({position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundColor:e.backgroundColor,padding:e.fontSize/4+`px`})},[i(t,{name:e.checked?`minus`:`check`,stroke:e.color,size:e.fontSize*.6,"stroke-width":e.fontSize/4},null,8,[`name`,`stroke`,`size`,`stroke-width`])],36)],2))}},[[`__scopeId`,`data-v-f05513e8`]]);export{l as t};
@@ -1 +1 @@
1
- import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{r as t}from"./exposedLib-BDGMSW1B.js";import{t as n}from"./BaseIcon-DDctLkeT.js";import{createCommentVNode as r,createElementBlock as i,createElementVNode as a,createVNode as o,normalizeClass as s,normalizeStyle as c,openBlock as l,toDisplayString as u,unref as d}from"vue";var f=[`disabled`],p=[`disabled`],m=[`disabled`],h=[`disabled`],g=[`disabled`],_=/*#__PURE__*/ e({__name:`BaseZoomControls`,props:{config:{type:Object,default(){return{}}},scale:{type:Number,default:0},withDirection:{type:Boolean,default:!1},withFit:{type:Boolean,default:!1},zoomEnabled:{type:Boolean,default:!0},viewLocked:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`zoomIn`,`zoomOut`,`resetZoom`,`switchDirection`,`fitToView`],setup(e,{emit:_}){let v=_;return(_,y)=>(l(),i(`div`,{class:s({"vue-data-ui-zoom-controls":!0,"vue-data-ui-zoom-controls-fullscreen":e.isFullscreen}),"data-dom-to-png-ignore":``,role:`group`,"aria-label":`Chart viewport controls`,style:c({border:e.config.style.chart.controls.border,backgroundColor:e.config.style.chart.controls.backgroundColor,padding:e.config.style.chart.controls.padding,borderRadius:e.config.style.chart.controls.borderRadius,"--vue-data-ui-zoom-control-button-color":e.config.style.chart.controls.buttonColor,"--vue-data-ui-zoom-control-button-color-hover":d(t)(e.config.style.chart.controls.buttonColor,.2)})},[a(`button`,{"aria-label":`Zoom out`,disabled:!e.zoomEnabled,onClick:y[0]||=e=>v(`zoomOut`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-out":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`zoomMinus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,f),a(`button`,{"aria-label":`Reset zoom`,disabled:e.viewLocked,class:`vue-data-ui-zoom-controls-button-zoom`,onClick:y[1]||=e=>v(`resetZoom`),"data-cy-zoom-reset":``,style:c({color:e.config.style.chart.controls.color,width:e.config.style.chart.controls.fontSize*4+`px`,borderRadius:e.config.style.chart.controls.borderRadius,fontSize:e.config.style.chart.controls.fontSize+`px`,cursor:e.isCursorPointer?`pointer`:`default`})},u(Math.round(e.scale*100))+`% `,13,p),a(`button`,{"aria-label":`Zoom in`,disabled:!e.zoomEnabled,onClick:y[2]||=e=>v(`zoomIn`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-in":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`zoomPlus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,m),a(`button`,{"aria-label":`Reset view`,disabled:e.scale===1||e.viewLocked,onClick:y[3]||=e=>v(`resetZoom`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`revert`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,h),e.withFit?(l(),i(`button`,{key:0,"aria-label":`Fit graph to viewport`,disabled:e.viewLocked,title:`Fit graph to viewport`,onClick:y[4]||=e=>v(`fitToView`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`focus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,g)):r(``,!0),e.withDirection?(l(),i(`button`,{key:1,onClick:y[5]||=e=>v(`switchDirection`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`direction`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],4)):r(``,!0)],6))}},[[`__scopeId`,`data-v-cc7bdba9`]]);export{_ as t};
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{r as t}from"./exposedLib-BRtClmZy.js";import{t as n}from"./BaseIcon-Cm-IJ179.js";import{createCommentVNode as r,createElementBlock as i,createElementVNode as a,createVNode as o,normalizeClass as s,normalizeStyle as c,openBlock as l,toDisplayString as u,unref as d}from"vue";var f=[`disabled`],p=[`disabled`],m=[`disabled`],h=[`disabled`],g=[`disabled`],_=/*#__PURE__*/ e({__name:`BaseZoomControls`,props:{config:{type:Object,default(){return{}}},scale:{type:Number,default:0},withDirection:{type:Boolean,default:!1},withFit:{type:Boolean,default:!1},zoomEnabled:{type:Boolean,default:!0},viewLocked:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`zoomIn`,`zoomOut`,`resetZoom`,`switchDirection`,`fitToView`],setup(e,{emit:_}){let v=_;return(_,y)=>(l(),i(`div`,{class:s({"vue-data-ui-zoom-controls":!0,"vue-data-ui-zoom-controls-fullscreen":e.isFullscreen}),"data-dom-to-png-ignore":``,role:`group`,"aria-label":`Chart viewport controls`,style:c({border:e.config.style.chart.controls.border,backgroundColor:e.config.style.chart.controls.backgroundColor,padding:e.config.style.chart.controls.padding,borderRadius:e.config.style.chart.controls.borderRadius,"--vue-data-ui-zoom-control-button-color":e.config.style.chart.controls.buttonColor,"--vue-data-ui-zoom-control-button-color-hover":d(t)(e.config.style.chart.controls.buttonColor,.2)})},[a(`button`,{"aria-label":`Zoom out`,disabled:!e.zoomEnabled,onClick:y[0]||=e=>v(`zoomOut`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-out":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`zoomMinus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,f),a(`button`,{"aria-label":`Reset zoom`,disabled:e.viewLocked,class:`vue-data-ui-zoom-controls-button-zoom`,onClick:y[1]||=e=>v(`resetZoom`),"data-cy-zoom-reset":``,style:c({color:e.config.style.chart.controls.color,width:e.config.style.chart.controls.fontSize*4+`px`,borderRadius:e.config.style.chart.controls.borderRadius,fontSize:e.config.style.chart.controls.fontSize+`px`,cursor:e.isCursorPointer?`pointer`:`default`})},u(Math.round(e.scale*100))+`% `,13,p),a(`button`,{"aria-label":`Zoom in`,disabled:!e.zoomEnabled,onClick:y[2]||=e=>v(`zoomIn`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-in":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`zoomPlus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,m),a(`button`,{"aria-label":`Reset view`,disabled:e.scale===1||e.viewLocked,onClick:y[3]||=e=>v(`resetZoom`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`revert`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,h),e.withFit?(l(),i(`button`,{key:0,"aria-label":`Fit graph to viewport`,disabled:e.viewLocked,title:`Fit graph to viewport`,onClick:y[4]||=e=>v(`fitToView`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`focus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,g)):r(``,!0),e.withDirection?(l(),i(`button`,{key:1,onClick:y[5]||=e=>v(`switchDirection`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(n,{name:`direction`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],4)):r(``,!0)],6))}},[[`__scopeId`,`data-v-cc7bdba9`]]);export{_ as t};
@@ -1 +1 @@
1
- import{r as e}from"./lib-DqD8nbyX.js";import{t}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as n}from"./BaseIcon-DDctLkeT.js";import{t as r}from"./vClickOutside-BxNzkY17.js";import{Fragment as i,Teleport as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeProps as m,normalizeStyle as h,onBeforeUnmount as g,onMounted as _,openBlock as v,ref as y,renderList as b,renderSlot as x,unref as ee,useCssVars as te,watch as S,watchEffect as C,withDirectives as w,withKeys as T,withModifiers as E}from"vue";var D=[`aria-expanded`,`aria-label`],O=[`aria-label`,`aria-pressed`,`onClick`],k={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},A=[`value`],j=[`onClick`],ne={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},re=[`value`],M=/*#__PURE__*/ t({__name:`ColorPicker`,props:{value:{type:String,default:`#ffffff`},size:{type:String,default:`50px`},backgroundColor:{type:String,default:`#FFFFFF`},buttonBorderColor:{type:String,default:`#FFFFFF`},teleported:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1},palette:{type:Array,default:()=>[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`]}},emits:[`update:value`],setup(t,{emit:M}){te(e=>({v22adcab1:t.buttonBorderColor}));let N=t,P=M,F=y(null),I=y(null),L=y(null),R=y(!1),z=y(!1),B=y({top:0,left:0}),V=o(()=>({backgroundColor:N.value,width:`100%`,height:`100%`,cursor:N.isCursorPointer?`pointer`:`default`})),H=o(()=>e(N.value));function U(e){P(`update:value`,e),R.value=!1}function W(e){P(`update:value`,e.target.value)}function G(e){e?.stopPropagation?.(),z.value=!0,L.value?.click()}function K(){R.value=!1}function q(){!z.value&&R.value&&K()}async function J(){R.value=!R.value,R.value&&N.teleported&&(await p(),Y())}function Y(){if(!I.value)return;let e=I.value.getBoundingClientRect();B.value={top:e.top+36,left:e.right-48}}function X(){R.value&&N.teleported&&Y()}function Z(){setTimeout(()=>z.value=!1,0)}C(e=>{let t=L.value;if(!t)return;let n=()=>Z(),r=()=>Z(),i=()=>{};t.addEventListener(`blur`,n),t.addEventListener(`change`,r),t.addEventListener(`input`,i),e(()=>{t.removeEventListener(`blur`,n),t.removeEventListener(`change`,r),t.removeEventListener(`input`,i)})});function Q(){Z()}function $(){document.visibilityState===`visible`&&Z()}return _(()=>{window.addEventListener(`scroll`,X,{passive:!0}),window.addEventListener(`resize`,X,{passive:!0}),window.addEventListener(`focus`,Q),document.addEventListener(`visibilitychange`,$)}),g(()=>{window.removeEventListener(`scroll`,X),window.removeEventListener(`resize`,X),window.removeEventListener(`focus`,Q),document.removeEventListener(`visibilitychange`,$)}),S(()=>N.value,e=>{L.value&&(L.value.value=e)}),(e,o)=>w((v(),l(`div`,{ref_key:`wrapperRef`,ref:F,onKeydown:T(q,[`esc`]),style:{height:`100%`,width:`100%`,position:`relative`},"aria-expanded":R.value?`true`:`false`,"aria-haspopup":`dialog`,"aria-label":`Choose color. Current color ${t.value}`},[u(`button`,{ref_key:`buttonRef`,ref:I,class:`icon`,onClick:J,style:h(V.value),type:`button`},[x(e.$slots,`annotator-action-color`,m(f({color:H.value})),()=>[d(n,{name:`palette`,stroke:H.value,size:22},null,8,[`stroke`])],!0)],4),R.value&&!t.teleported?(v(),l(`div`,{key:0,class:`vue-ui-color-picker`,role:`dialog`,"aria-label":`Color picker`,style:h({backgroundColor:t.backgroundColor,position:`absolute`,left:`calc(100% + 30px)`,top:`50%`,transform:`translateY(-18%)`}),onMousedown:o[2]||=E(()=>{},[`stop`]),onClick:o[3]||=E(()=>{},[`stop`]),onTouchstart:o[4]||=E(()=>{},[`stop`]),onKeydown:T(q,[`esc`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,"aria-label":`Select color ${e}`,"aria-pressed":t.value===e?`true`:`false`,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,O))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),"aria-label":`Open native color picker`,onClick:E(G,[`stop`]),onMousedown:o[0]||=E(()=>{},[`stop`]),onTouchstart:o[1]||=E(()=>{},[`stop`])},[u(`div`,k,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,A)],36)],36)):c(``,!0),R.value&&t.teleported?(v(),s(a,{key:1,to:`body`},[u(`div`,{tabindex:`0`,class:`vue-ui-color-picker`,style:h({backgroundColor:t.backgroundColor,position:`fixed`,top:B.value.top+`px`,left:B.value.left+`px`,zIndex:2147483647}),onMousedown:o[7]||=E(()=>{},[`stop`]),onClick:o[8]||=E(()=>{},[`stop`]),onTouchstart:o[9]||=E(()=>{},[`stop`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,j))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`cursor`:`default`}),onClick:E(G,[`stop`]),onMousedown:o[5]||=E(()=>{},[`stop`]),onTouchstart:o[6]||=E(()=>{},[`stop`])},[u(`div`,ne,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,re)],36)],36)])):c(``,!0)],40,D)),[[ee(r),q]])}},[[`__scopeId`,`data-v-f18faf44`]]);export{M as t};
1
+ import{r as e}from"./lib-rPeBMZrn.js";import{t}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as n}from"./BaseIcon-Cm-IJ179.js";import{t as r}from"./vClickOutside-BxNzkY17.js";import{Fragment as i,Teleport as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeProps as m,normalizeStyle as h,onBeforeUnmount as g,onMounted as _,openBlock as v,ref as y,renderList as b,renderSlot as x,unref as ee,useCssVars as te,watch as S,watchEffect as C,withDirectives as w,withKeys as T,withModifiers as E}from"vue";var D=[`aria-expanded`,`aria-label`],O=[`aria-label`,`aria-pressed`,`onClick`],k={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},A=[`value`],j=[`onClick`],ne={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},re=[`value`],M=/*#__PURE__*/ t({__name:`ColorPicker`,props:{value:{type:String,default:`#ffffff`},size:{type:String,default:`50px`},backgroundColor:{type:String,default:`#FFFFFF`},buttonBorderColor:{type:String,default:`#FFFFFF`},teleported:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1},palette:{type:Array,default:()=>[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`]}},emits:[`update:value`],setup(t,{emit:M}){te(e=>({v22adcab1:t.buttonBorderColor}));let N=t,P=M,F=y(null),I=y(null),L=y(null),R=y(!1),z=y(!1),B=y({top:0,left:0}),V=o(()=>({backgroundColor:N.value,width:`100%`,height:`100%`,cursor:N.isCursorPointer?`pointer`:`default`})),H=o(()=>e(N.value));function U(e){P(`update:value`,e),R.value=!1}function W(e){P(`update:value`,e.target.value)}function G(e){e?.stopPropagation?.(),z.value=!0,L.value?.click()}function K(){R.value=!1}function q(){!z.value&&R.value&&K()}async function J(){R.value=!R.value,R.value&&N.teleported&&(await p(),Y())}function Y(){if(!I.value)return;let e=I.value.getBoundingClientRect();B.value={top:e.top+36,left:e.right-48}}function X(){R.value&&N.teleported&&Y()}function Z(){setTimeout(()=>z.value=!1,0)}C(e=>{let t=L.value;if(!t)return;let n=()=>Z(),r=()=>Z(),i=()=>{};t.addEventListener(`blur`,n),t.addEventListener(`change`,r),t.addEventListener(`input`,i),e(()=>{t.removeEventListener(`blur`,n),t.removeEventListener(`change`,r),t.removeEventListener(`input`,i)})});function Q(){Z()}function $(){document.visibilityState===`visible`&&Z()}return _(()=>{window.addEventListener(`scroll`,X,{passive:!0}),window.addEventListener(`resize`,X,{passive:!0}),window.addEventListener(`focus`,Q),document.addEventListener(`visibilitychange`,$)}),g(()=>{window.removeEventListener(`scroll`,X),window.removeEventListener(`resize`,X),window.removeEventListener(`focus`,Q),document.removeEventListener(`visibilitychange`,$)}),S(()=>N.value,e=>{L.value&&(L.value.value=e)}),(e,o)=>w((v(),l(`div`,{ref_key:`wrapperRef`,ref:F,onKeydown:T(q,[`esc`]),style:{height:`100%`,width:`100%`,position:`relative`},"aria-expanded":R.value?`true`:`false`,"aria-haspopup":`dialog`,"aria-label":`Choose color. Current color ${t.value}`},[u(`button`,{ref_key:`buttonRef`,ref:I,class:`icon`,onClick:J,style:h(V.value),type:`button`},[x(e.$slots,`annotator-action-color`,m(f({color:H.value})),()=>[d(n,{name:`palette`,stroke:H.value,size:22},null,8,[`stroke`])],!0)],4),R.value&&!t.teleported?(v(),l(`div`,{key:0,class:`vue-ui-color-picker`,role:`dialog`,"aria-label":`Color picker`,style:h({backgroundColor:t.backgroundColor,position:`absolute`,left:`calc(100% + 30px)`,top:`50%`,transform:`translateY(-18%)`}),onMousedown:o[2]||=E(()=>{},[`stop`]),onClick:o[3]||=E(()=>{},[`stop`]),onTouchstart:o[4]||=E(()=>{},[`stop`]),onKeydown:T(q,[`esc`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,"aria-label":`Select color ${e}`,"aria-pressed":t.value===e?`true`:`false`,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,O))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),"aria-label":`Open native color picker`,onClick:E(G,[`stop`]),onMousedown:o[0]||=E(()=>{},[`stop`]),onTouchstart:o[1]||=E(()=>{},[`stop`])},[u(`div`,k,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,A)],36)],36)):c(``,!0),R.value&&t.teleported?(v(),s(a,{key:1,to:`body`},[u(`div`,{tabindex:`0`,class:`vue-ui-color-picker`,style:h({backgroundColor:t.backgroundColor,position:`fixed`,top:B.value.top+`px`,left:B.value.left+`px`,zIndex:2147483647}),onMousedown:o[7]||=E(()=>{},[`stop`]),onClick:o[8]||=E(()=>{},[`stop`]),onTouchstart:o[9]||=E(()=>{},[`stop`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,j))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`cursor`:`default`}),onClick:E(G,[`stop`]),onMousedown:o[5]||=E(()=>{},[`stop`]),onTouchstart:o[6]||=E(()=>{},[`stop`])},[u(`div`,ne,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,re)],36)],36)])):c(``,!0)],40,D)),[[ee(r),q]])}},[[`__scopeId`,`data-v-f18faf44`]]);export{M as t};
@@ -1 +1 @@
1
- import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-DDctLkeT.js";import{t as n}from"./Shape-gDVRWM6n.js";import{Fragment as r,computed as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,createVNode as c,normalizeClass as l,normalizeStyle as u,onBeforeUnmount as d,onMounted as f,openBlock as p,ref as m,renderList as h,renderSlot as g,toDisplayString as _,unref as v,useCssVars as y,withKeys as b}from"vue";var x={class:`vue-ui-data-table`},S={style:{display:`flex`,"align-items":`center`,"justify-content":`flex-end`,"padding-right":`3px`,gap:`3px`}},C={style:{width:`12px`,height:`12px`}},w={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`}},T=[`fill`],E=[`data-cell`],D={dir:`auto`,style:{display:`flex`,"align-items":`center`,gap:`5px`,"justify-content":`flex-end`,width:`100%`,"padding-right":`3px`}},O={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`,overflow:`visible`}},k=/*#__PURE__*/ e({__name:`DataTable`,props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object,withCloseButton:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:k}){y(e=>({v6c1f7862:v(I)}));let A=e,{backgroundColor:j,color:M,outline:N}=A.config.th,{backgroundColor:P,color:F,outline:I}=A.config.td,L=i(()=>A.config.breakpoint),R=m(null),z=m(!1),B;d(()=>B?.disconnect()),f(()=>{typeof ResizeObserver<`u`&&(B=new ResizeObserver(e=>{e.forEach(e=>{z.value=e.contentRect.width<L.value})}),R.value&&B.observe(R.value))});let V=k;return(i,d)=>(p(),o(`div`,{ref_key:`tableContainer`,ref:R,style:u(`width: 100%; container-type: inline-size; position:relative;${e.withCloseButton?`padding-top: 36px;`:``}overflow:auto`),class:l({"atom-data-table":!0,"vue-ui-responsive":z.value})},[e.withCloseButton?(p(),o(`div`,{key:0,"data-dom-to-png-ignore":``,role:`button`,tabindex:`0`,style:u(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${e.isCursorPointer?`pointer`:`default`}; background:${v(j)};`),onClick:d[0]||=e=>V(`close`),onKeypress:d[1]||=b(e=>V(`close`),[`enter`])},[c(t,{name:`close`,stroke:v(M),"stroke-width":2},null,8,[`stroke`])],36)):a(``,!0),s(`table`,x,[s(`caption`,{style:u({backgroundColor:v(j),color:v(M),outline:v(N)}),class:`vue-ui-data-table__caption`},_(e.title),5),s(`thead`,null,[s(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:v(j),color:v(M)}]),class:`vue-ui-data-table__thead-row`},[(p(!0),o(r,null,h(e.head,(e,t)=>(p(),o(`th`,{role:`cell`,style:u({outline:v(N)}),key:`th_${t}`},[s(`div`,S,[s(`div`,C,[e?.color?(p(),o(`svg`,w,[s(`circle`,{cx:`10`,cy:`10`,r:`10`,fill:e.color},null,8,T)])):a(``,!0)]),g(i.$slots,`th`,{th:e},void 0,!0)])],4))),128))],4)]),s(`tbody`,null,[(p(!0),o(r,null,h(e.body,(t,d)=>(p(),o(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:v(P),color:v(F)}]),class:l({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":d%2==0,"vue-ui-data-table__tbody__row-odd":d%2!=0})},[(p(!0),o(r,null,h(t,(t,r)=>(p(),o(`td`,{role:`cell`,"data-cell":(e.colNames[r]&&e.colNames[r].name?e.colNames[r].name:``)||e.colNames[r]||``,style:u({outline:v(I)}),class:`vue-ui-data-table__tbody__td`},[s(`div`,D,[t?.color?(p(),o(`svg`,O,[c(n,{plot:{x:10,y:10},color:t.color,radius:9,shape:e.config.shape||t.shape||`circle`},null,8,[`color`,`shape`])])):a(``,!0),g(i.$slots,`td`,{td:t},void 0,!0)])],12,E))),256))],6))),256))])])],6))}},[[`__scopeId`,`data-v-ac6af26d`]]);export{k as default};
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-Cm-IJ179.js";import{t as n}from"./Shape-CRe8woTu.js";import{Fragment as r,computed as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,createVNode as c,normalizeClass as l,normalizeStyle as u,onBeforeUnmount as d,onMounted as f,openBlock as p,ref as m,renderList as h,renderSlot as g,toDisplayString as _,unref as v,useCssVars as y,withKeys as b}from"vue";var x={class:`vue-ui-data-table`},S={style:{display:`flex`,"align-items":`center`,"justify-content":`flex-end`,"padding-right":`3px`,gap:`3px`}},C={style:{width:`12px`,height:`12px`}},w={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`}},T=[`fill`],E=[`data-cell`],D={dir:`auto`,style:{display:`flex`,"align-items":`center`,gap:`5px`,"justify-content":`flex-end`,width:`100%`,"padding-right":`3px`}},O={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`,overflow:`visible`}},k=/*#__PURE__*/ e({__name:`DataTable`,props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object,withCloseButton:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:k}){y(e=>({v6c1f7862:v(I)}));let A=e,{backgroundColor:j,color:M,outline:N}=A.config.th,{backgroundColor:P,color:F,outline:I}=A.config.td,L=i(()=>A.config.breakpoint),R=m(null),z=m(!1),B;d(()=>B?.disconnect()),f(()=>{typeof ResizeObserver<`u`&&(B=new ResizeObserver(e=>{e.forEach(e=>{z.value=e.contentRect.width<L.value})}),R.value&&B.observe(R.value))});let V=k;return(i,d)=>(p(),o(`div`,{ref_key:`tableContainer`,ref:R,style:u(`width: 100%; container-type: inline-size; position:relative;${e.withCloseButton?`padding-top: 36px;`:``}overflow:auto`),class:l({"atom-data-table":!0,"vue-ui-responsive":z.value})},[e.withCloseButton?(p(),o(`div`,{key:0,"data-dom-to-png-ignore":``,role:`button`,tabindex:`0`,style:u(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${e.isCursorPointer?`pointer`:`default`}; background:${v(j)};`),onClick:d[0]||=e=>V(`close`),onKeypress:d[1]||=b(e=>V(`close`),[`enter`])},[c(t,{name:`close`,stroke:v(M),"stroke-width":2},null,8,[`stroke`])],36)):a(``,!0),s(`table`,x,[s(`caption`,{style:u({backgroundColor:v(j),color:v(M),outline:v(N)}),class:`vue-ui-data-table__caption`},_(e.title),5),s(`thead`,null,[s(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:v(j),color:v(M)}]),class:`vue-ui-data-table__thead-row`},[(p(!0),o(r,null,h(e.head,(e,t)=>(p(),o(`th`,{role:`cell`,style:u({outline:v(N)}),key:`th_${t}`},[s(`div`,S,[s(`div`,C,[e?.color?(p(),o(`svg`,w,[s(`circle`,{cx:`10`,cy:`10`,r:`10`,fill:e.color},null,8,T)])):a(``,!0)]),g(i.$slots,`th`,{th:e},void 0,!0)])],4))),128))],4)]),s(`tbody`,null,[(p(!0),o(r,null,h(e.body,(t,d)=>(p(),o(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:v(P),color:v(F)}]),class:l({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":d%2==0,"vue-ui-data-table__tbody__row-odd":d%2!=0})},[(p(!0),o(r,null,h(t,(t,r)=>(p(),o(`td`,{role:`cell`,"data-cell":(e.colNames[r]&&e.colNames[r].name?e.colNames[r].name:``)||e.colNames[r]||``,style:u({outline:v(I)}),class:`vue-ui-data-table__tbody__td`},[s(`div`,D,[t?.color?(p(),o(`svg`,O,[c(n,{plot:{x:10,y:10},color:t.color,radius:9,shape:e.config.shape||t.shape||`circle`},null,8,[`color`,`shape`])])):a(``,!0),g(i.$slots,`td`,{td:t},void 0,!0)])],12,E))),256))],6))),256))])])],6))}},[[`__scopeId`,`data-v-ac6af26d`]]);export{k as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-Cm-IJ179.js";import{Fragment as n,computed as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createVNode as s,normalizeClass as c,normalizeStyle as l,onBeforeUnmount as u,onMounted as d,openBlock as f,ref as p,renderSlot as m,toDisplayString as h}from"vue";var g=[`aria-label`],_=[`aria-label`],v=[`aria-label`],y=/*#__PURE__*/ e(/* @__PURE__ */ Object.assign({name:`HillActions`},{__name:`HillActions`,props:{isEditing:{type:Boolean,default:!1},isEditable:{type:Boolean,default:!0},isFullscreen:{type:Boolean,default:!1},position:{type:String,default:`left`,validator:e=>[`left`,`right`].includes(e)},color:{type:String,default:`#2D353C`},backgroundColor:{type:String,default:`#FFFFFF`},translations:{type:Object,default(){return{edit:`Edit`,cancel:`Cancel`,save:`Save`}}},showTooltips:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1},zIndex:{type:Number,default:1}},emits:[`update`,`cancel`,`save`],setup(e,{emit:y}){let b=e,x=y,S=p(!0),C=p(null),w=r(()=>({zIndex:b.zIndex,position:b.isFullscreen?`fixed`:`absolute`,top:`0`,left:b.position===`left`?b.isFullscreen?`12px`:`0`:`auto`,right:b.position===`right`?b.isFullscreen?`12px`:`0`:`auto`,height:`36px`,padding:`4px`,background:`transparent`,display:`flex`,alignItems:`center`,gap:`4px`,overflow:`visible`})),T=r(()=>({cursor:b.isCursorPointer?`pointer`:`default`,background:b.backgroundColor,color:b.color}));function E(){typeof window>`u`?S.value=!0:S.value=window.innerWidth>600}function D(e){E(),C.value=e}function O(e){C.value===e&&(C.value=null)}function k(e){return{"button-info-left":b.position===`left`,"button-info-right":b.position===`right`,"button-info-left-visible":b.position===`left`&&C.value===e,"button-info-right-visible":b.position===`right`&&C.value===e}}function A(e){b.showTooltips&&D(e)}function j(e){O(e),x(e)}return d(()=>{E(),window.addEventListener(`resize`,E,{passive:!0})}),u(()=>{window.removeEventListener(`resize`,E)}),(r,u)=>e.isEditable?(f(),a(`div`,{key:0,class:`vue-ui-hill-actions`,style:l(w.value),"data-dom-to-png-ignore":``},[e.isEditing?(f(),a(n,{key:1},[o(`button`,{type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.cancel,onMouseenter:u[5]||=e=>A(`cancel`),onMouseout:u[6]||=e=>O(`cancel`),onFocus:u[7]||=e=>A(`cancel`),onBlur:u[8]||=e=>O(`cancel`),onClick:u[9]||=e=>j(`cancel`)},[m(r.$slots,`hill-cancel`,{},()=>[s(t,{name:`circleCancel`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.cancel?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`cancel`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.cancel),7)):i(``,!0)],44,_),o(`button`,{type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.save,onMouseenter:u[10]||=e=>A(`save`),onMouseout:u[11]||=e=>O(`save`),onFocus:u[12]||=e=>A(`save`),onBlur:u[13]||=e=>O(`save`),onClick:u[14]||=e=>j(`save`)},[m(r.$slots,`hill-save`,{},()=>[s(t,{name:`save`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.save?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`save`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.save),7)):i(``,!0)],44,v)],64)):(f(),a(`button`,{key:0,type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.edit,onMouseenter:u[0]||=e=>A(`update`),onMouseout:u[1]||=e=>O(`update`),onFocus:u[2]||=e=>A(`update`),onBlur:u[3]||=e=>O(`update`),onClick:u[4]||=e=>j(`update`)},[m(r.$slots,`hill-edit`,{},()=>[s(t,{name:`move`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.edit?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`update`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.edit),7)):i(``,!0)],44,g))],4)):i(``,!0)}}),[[`__scopeId`,`data-v-f3e67d0c`]]);export{y as default};
@@ -1 +1 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{At as t}from"./lib-DqD8nbyX.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as r}from"./Shape-gDVRWM6n.js";import{Fragment as i,createBlock as a,createCommentVNode as o,createElementBlock as s,createElementVNode as c,mergeProps as l,normalizeClass as u,normalizeStyle as d,openBlock as f,renderList as p,renderSlot as m,unref as h}from"vue";var g=/* @__PURE__ */ e({default:()=>w}),_=[`id`],v=[`role`,`tabindex`,`onKeydown`,`onFocus`],y=[`onClick`,`width`,`viewBox`],b={key:0},x=[`id`],S=[`offset`,`stop-color`],C=[`fill`],w=/*#__PURE__*/ n({__name:`Legend`,props:{legendSet:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}},id:{type:String,default:``},clickable:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`clickMarker`,`focusMarker`],setup(e,{emit:n}){let g=e,w=n;function T(e,t){g.clickable&&w(`clickMarker`,{legend:e,i:t})}function E(e,t,n){g.clickable&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),T(t,n))}function D(e,t,n){e.preventDefault(),w(`focusMarker`,{legend:t,i:n})}function O(e){return Array.isArray(e.gradientColors)&&e.gradientColors.length}function k(e,t){let n=g.id||g.config.cy||`legend`,r=O(e)?e.gradientColors.join(`_`):``;return`${n}_${e.seriesIndex??t}_${t}_${r}_gradient`.replace(/[^a-zA-Z0-9_-]/g,`_`).slice(0,160)}function A(e,t){return t===1?`0%`:`${e/(t-1)*100}%`}function j(e){return O(e)?`0 0 90 60`:e.shape&&e.shape===`star`?`-10 -10 80 80`:`0 0 60 60`}return(n,g)=>(f(),s(`div`,{id:e.id,class:`vue-data-ui-legend`,style:d({background:e.config.backgroundColor,color:e.config.color,paddingBottom:(e.config.paddingBottom??0)+`px`,paddingTop:(e.config.paddingTop??12)+`px`,fontWeight:e.config.fontWeight,fontSize:`var(--legend-font-size, ${e.config.fontSize??14}px)`})},[m(n.$slots,`legendTitle`,{titleSet:e.legendSet},void 0,!0),m(n.$slots,`legendToggle`,{},void 0,!0),(f(!0),s(i,null,p(e.legendSet,(g,_)=>(f(),s(`div`,{key:`legend_${_}`,class:u({"vue-data-ui-legend-item":!0,active:e.clickable&&e.isCursorPointer}),role:e.clickable?`button`:void 0,tabindex:e.clickable?0:void 0,onKeydown:e=>E(e,g,_),onFocus:e=>D(e,g,_)},[g.shape?(f(),s(`svg`,{key:0,onClick:e=>T(g,_),height:`1em`,width:O(g)?`1.4em`:`1em`,viewBox:j(g),style:d(`overflow: visible; opacity:${g.opacity}`),"aria-hidden":`true`},[O(g)?(f(),s(`defs`,b,[c(`linearGradient`,{id:k(g,_),x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`},[(f(!0),s(i,null,p(g.gradientColors,(e,t)=>(f(),s(`stop`,{key:`legend_gradient_${_}_${t}`,offset:A(t,g.gradientColors.length),"stop-color":e},null,8,S))),128))],8,x)])):o(``,!0),O(g)?(f(),s(`rect`,{key:1,x:`3`,y:`12`,width:`84`,height:`38`,rx:`21`,stroke:`none`,fill:`url(#${k(g,_)})`},null,8,C)):(f(),a(r,{key:2,stroke:`none`,shape:g.shape,radius:30,plot:{x:30,y:g.shape===`triangle`?36:30},fill:g.color},null,8,[`shape`,`plot`,`fill`])),m(n.$slots,`legend-pattern`,l({ref_for:!0},{legend:g,index:h(t)(g.absoluteIndex)?g.absoluteIndex:_}),void 0,!0)],12,y)):o(``,!0),m(n.$slots,`item`,{legend:g,index:_},void 0,!0)],42,v))),128)),m(n.$slots,`after`,{},void 0,!0)],12,_))}},[[`__scopeId`,`data-v-a5e2fb14`]]);export{g as n,w as t};
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{At as t}from"./lib-rPeBMZrn.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as r}from"./Shape-CRe8woTu.js";import{Fragment as i,createBlock as a,createCommentVNode as o,createElementBlock as s,createElementVNode as c,mergeProps as l,normalizeClass as u,normalizeStyle as d,openBlock as f,renderList as p,renderSlot as m,unref as h}from"vue";var g=/* @__PURE__ */ e({default:()=>w}),_=[`id`],v=[`role`,`tabindex`,`onKeydown`,`onFocus`],y=[`onClick`,`width`,`viewBox`],b={key:0},x=[`id`],S=[`offset`,`stop-color`],C=[`fill`],w=/*#__PURE__*/ n({__name:`Legend`,props:{legendSet:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}},id:{type:String,default:``},clickable:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`clickMarker`,`focusMarker`],setup(e,{emit:n}){let g=e,w=n;function T(e,t){g.clickable&&w(`clickMarker`,{legend:e,i:t})}function E(e,t,n){g.clickable&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),T(t,n))}function D(e,t,n){e.preventDefault(),w(`focusMarker`,{legend:t,i:n})}function O(e){return Array.isArray(e.gradientColors)&&e.gradientColors.length}function k(e,t){let n=g.id||g.config.cy||`legend`,r=O(e)?e.gradientColors.join(`_`):``;return`${n}_${e.seriesIndex??t}_${t}_${r}_gradient`.replace(/[^a-zA-Z0-9_-]/g,`_`).slice(0,160)}function A(e,t){return t===1?`0%`:`${e/(t-1)*100}%`}function j(e){return O(e)?`0 0 90 60`:e.shape&&e.shape===`star`?`-10 -10 80 80`:`0 0 60 60`}return(n,g)=>(f(),s(`div`,{id:e.id,class:`vue-data-ui-legend`,style:d({background:e.config.backgroundColor,color:e.config.color,paddingBottom:(e.config.paddingBottom??0)+`px`,paddingTop:(e.config.paddingTop??12)+`px`,fontWeight:e.config.fontWeight,fontSize:`var(--legend-font-size, ${e.config.fontSize??14}px)`})},[m(n.$slots,`legendTitle`,{titleSet:e.legendSet},void 0,!0),m(n.$slots,`legendToggle`,{},void 0,!0),(f(!0),s(i,null,p(e.legendSet,(g,_)=>(f(),s(`div`,{key:`legend_${_}`,class:u({"vue-data-ui-legend-item":!0,active:e.clickable&&e.isCursorPointer}),role:e.clickable?`button`:void 0,tabindex:e.clickable?0:void 0,onKeydown:e=>E(e,g,_),onFocus:e=>D(e,g,_)},[g.shape?(f(),s(`svg`,{key:0,onClick:e=>T(g,_),height:`1em`,width:O(g)?`1.4em`:`1em`,viewBox:j(g),style:d(`overflow: visible; opacity:${g.opacity}`),"aria-hidden":`true`},[O(g)?(f(),s(`defs`,b,[c(`linearGradient`,{id:k(g,_),x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`},[(f(!0),s(i,null,p(g.gradientColors,(e,t)=>(f(),s(`stop`,{key:`legend_gradient_${_}_${t}`,offset:A(t,g.gradientColors.length),"stop-color":e},null,8,S))),128))],8,x)])):o(``,!0),O(g)?(f(),s(`rect`,{key:1,x:`3`,y:`12`,width:`84`,height:`38`,rx:`21`,stroke:`none`,fill:`url(#${k(g,_)})`},null,8,C)):(f(),a(r,{key:2,stroke:`none`,shape:g.shape,radius:30,plot:{x:30,y:g.shape===`triangle`?36:30},fill:g.color},null,8,[`shape`,`plot`,`fill`])),m(n.$slots,`legend-pattern`,l({ref_for:!0},{legend:g,index:h(t)(g.absoluteIndex)?g.absoluteIndex:_}),void 0,!0)],12,y)):o(``,!0),m(n.$slots,`item`,{legend:g,index:_},void 0,!0)],42,v))),128)),m(n.$slots,`after`,{},void 0,!0)],12,_))}},[[`__scopeId`,`data-v-a5e2fb14`]]);export{g as n,w as t};
@@ -1 +1 @@
1
- import{$ as e,Ft as t,X as n,t as r}from"./lib-DqD8nbyX.js";import{t as i}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as a}from"./BaseIcon-DDctLkeT.js";import{t as o}from"./ColorPicker-DHQvvLT9.js";import{Fragment as s,computed as c,createCommentVNode as l,createElementBlock as u,createElementVNode as d,createVNode as f,guardReactiveProps as p,nextTick as ee,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as te,onMounted as ne,openBlock as _,ref as v,renderList as y,renderSlot as b,toDisplayString as x,unref as re,vModelText as ie,watch as S,withCtx as ae,withDirectives as oe,withModifiers as se}from"vue";var ce=[`disabled`],le=[`data-mode`,`xmlns`,`viewBox`],ue=[`cx`,`cy`,`r`,`fill`],de=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`],fe=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`,`marker-end`],pe=[`d`,`stroke`,`stroke-width`],me=[`x`,`y`,`fill`,`font-size`],he=[`x`,`dy`],ge=[`d`,`stroke`,`stroke-width`],_e=/*#__PURE__*/ i({__name:`NonSvgPenAndPaper`,props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:`#FFFFFF`},color:{type:String,default:`#2D353C`},active:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(i,{emit:_e}){let C=i,ve=_e,w=v([]),T=v([]),ye=v(`0 0 0 0`),E=v(C.color),D=v(1),O=v(null),k=v(!1),A=v(null),j=v({x:0,y:0}),M=v([``]),N=v({row:0,col:0}),P=v(16),be=1,F=[`arrow`,`text`,`line`,`draw`],I=v(0),L=c(()=>F[I.value]),R=v(null);v(null),v(null);let z=v(`arrow-${n()}`),B=v(`arrow-def-${n()}`),xe={arrow:`plotArrow`,text:`text`,line:`plotLine`,draw:`annotator`};function Se(){I.value+1>=F.length?I.value=0:I.value+=1}function V(){return be++}function Ce(e){let t=J.value;if(!t)return{x:0,y:0};let n=t.createSVGPoint(),r=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,i=r?r.clientX:e.clientX,a=r?r.clientY:e.clientY;n.x=i,n.y=a;let o=t.getScreenCTM()?.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function H(e){if(!O.value||L.value!==`text`||k.value)return;let{x:t,y:n}=Ce(e);j.value={x:t,y:n},M.value=[``],N.value={row:0,col:0};let r=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);r.setAttribute(`x`,t),r.setAttribute(`y`,n),r.setAttribute(`fill`,E.value),r.setAttribute(`font-size`,P.value),r.setAttribute(`font-family`,`sans-serif`),r.setAttribute(`class`,`vue-data-ui-doodle`),r.setAttribute(`dominant-baseline`,`hanging`),r.setAttribute(`pointer-events`,`all`);let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,`0`),i.textContent=``,r.appendChild(i),r.style.pointerEvents=`none`,r.style.userSelect=`none`,O.value.appendChild(r),A.value=r,k.value=!0,window.addEventListener(`keydown`,we),window.addEventListener(`mousedown`,De,!0),Te(),Ee()}function we(e){if(!k.value)return;let{row:t,col:n}=N.value,r=M.value.slice(),i=!1;if(e.key===`Enter`){let a=r[t],o=a.slice(0,n),s=a.slice(n);r.splice(t,1,o,s),t+=1,n=0,i=!0,e.preventDefault()}else if(e.key===`Backspace`){if(n>0)r[t]=r[t].slice(0,n-1)+r[t].slice(n),--n,i=!0;else if(t>0){let e=r[t-1].length;r[t-1]+=r[t],r.splice(t,1),--t,n=e,i=!0}e.preventDefault()}else if(e.key===`Delete`)n<r[t].length?(r[t]=r[t].slice(0,n)+r[t].slice(n+1),i=!0):t<r.length-1&&(r[t]+=r[t+1],r.splice(t+1,1),i=!0),e.preventDefault();else if(e.key===`ArrowLeft`)n>0?--n:t>0&&(--t,n=r[t].length),i=!0,e.preventDefault();else if(e.key===`ArrowRight`)n<r[t].length?n+=1:t<r.length-1&&(t+=1,n=0),i=!0,e.preventDefault();else if(e.key===`ArrowUp`)t>0&&(--t,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key===`ArrowDown`)t<r.length-1&&(t+=1,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)r[t]=r[t].slice(0,n)+e.key+r[t].slice(n),n+=1,i=!0,e.preventDefault();else if(e.key===`Escape`){Oe(!0);return}else e.key===`Tab`&&e.preventDefault();i&&(M.value=r,N.value={row:t,col:n},Te(),Ee())}function Te(){let e=A.value,{x:t,y:n}=j.value;for(;e.firstChild;)e.removeChild(e.firstChild);M.value.forEach((n,r)=>{let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,r===0?`0`:`${P.value*1.2}`),i.textContent=n.length?n:`​`,e.appendChild(i)})}function Ee(){let e=O.value.querySelector(`.vue-data-ui-svg-caret`);e&&O.value.removeChild(e);let t=A.value;if(!t)return;let{x:n,y:r}=j.value,{row:i,col:a}=N.value,o=P.value,s=t.childNodes[i];if(!s)return;let c=s.textContent.slice(0,a);c.endsWith(` `)&&(c+=`\xA0`);let l=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);l.setAttribute(`x`,n),l.setAttribute(`y`,r),l.setAttribute(`font-size`,o),l.setAttribute(`font-family`,`sans-serif`),l.textContent=c||``,O.value.appendChild(l);let u=l.getBBox();O.value.removeChild(l);let d=r+i*o*1.2,f=n+u.width,p=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);p.setAttribute(`x`,f),p.setAttribute(`y`,d),p.setAttribute(`width`,1),p.setAttribute(`height`,o),p.setAttribute(`fill`,E.value),p.setAttribute(`class`,`vue-data-ui-svg-caret`),O.value.appendChild(p)}function De(e){if(A.value&&!A.value.contains(e.target)){let e=A.value.children;e.length===1&&(e[0].textContent===``||e[0].textContent===`​`)&&A.value.remove(),Oe(!1)}}function Oe(e=!1){window.removeEventListener(`keydown`,we),window.removeEventListener(`mousedown`,De,!0);let t=O.value?.querySelector(`.vue-data-ui-svg-caret`);t&&O.value.removeChild(t);let n=M.value.every(e=>!e||e===`​`);e||n||w.value.push({id:V(),type:`text`,x:j.value.x,y:j.value.y,color:E.value,fontSize:P.value,lines:M.value.map(e=>e)}),A.value&&O.value&&O.value.contains(A.value)&&O.value.removeChild(A.value),k.value=!1,A.value=null,M.value=[``],N.value={row:0,col:0}}let U=c(()=>t(C.color,.6));function W({width:e,height:t}){ye.value=`0 0 ${e} ${t}`}let G=v(null);ne(()=>{ee(()=>{if(C.parent){G.value=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;W({width:e,height:n})}}),G.value.observe(C.parent);let{width:e,height:t}=C.parent.getBoundingClientRect();W({width:e,height:t})}}),O.value=J.value.querySelector(`g`)}),te(()=>{G.value&&G.value.disconnect()}),S(()=>C.parent,e=>{if(!e)return;let{width:t,height:n}=C.parent.getBoundingClientRect();W({width:t,height:n})},{immediate:!0}),S(L,e=>{J.value&&(J.value.removeEventListener(`mousedown`,H),J.value.removeEventListener(`touchstart`,H),e===`text`&&(J.value.addEventListener(`mousedown`,H),J.value.addEventListener(`touchstart`,H,{passive:!1})))});let K=v(!1),q=v(``),J=v(null),Y=v(!1),ke=v(null);S(()=>C.active,e=>{J.value&&(J.value.style.touchAction=e?`none`:``)},{immediate:!0});function Ae(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!J.value)return;K.value=!0;let{x:t,y:n}=Q(e);q.value=`M ${t} ${n}`}function je(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!K.value||!J.value)return;let{x:t,y:n}=Q(e);q.value+=` ${t} ${n}`}function Me(){let e=J.value;if(!e)return;let t=e.querySelector(`defs#${B.value}`);if(t||(t=document.createElementNS(r,`defs`),t.setAttribute(`id`,B.value),e.appendChild(t)),t.querySelector(`#${z.value}`))return;let n=document.createElementNS(r,`marker`);n.setAttribute(`id`,z.value),n.setAttribute(`markerUnits`,`strokeWidth`),n.setAttribute(`markerWidth`,`6`),n.setAttribute(`markerHeight`,`6`),n.setAttribute(`refX`,`4`),n.setAttribute(`refY`,`3`),n.setAttribute(`orient`,`auto`),n.setAttribute(`viewBox`,`0 0 6 6`);let i=document.createElementNS(r,`path`);i.setAttribute(`d`,`M 0 0 L 6 3 L 0 6 z`),i.setAttribute(`fill`,`context-stroke`),i.setAttribute(`stroke`,`none`),n.appendChild(i),t.appendChild(n)}function Ne(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!J.value||!O.value)return;L.value===`arrow`&&Me(),Y.value=!0;let{x:t,y:n}=Q(e);ke.value={x:t,y:n},R.value=document.createElementNS(r,`line`),R.value.setAttribute(`x1`,t),R.value.setAttribute(`y1`,n),R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),R.value.setAttribute(`stroke`,E.value),R.value.setAttribute(`stroke-width`,D.value),R.value.setAttribute(`stroke-linecap`,`round`),R.value.setAttribute(`class`,`vue-data-ui-doodle`),L.value===`arrow`&&R.value.setAttribute(`marker-end`,`url(#${z.value})`),O.value.appendChild(R.value)}function Pe(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n)}function X(e){if(e?.cancelable&&e.preventDefault(),!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),w.value.push({id:V(),type:L.value,x1:parseFloat(R.value.getAttribute(`x1`)),y1:parseFloat(R.value.getAttribute(`y1`)),x2:t,y2:n,strokeWidth:D.value,color:E.value}),T.value=[],O.value.contains(R.value)&&O.value.removeChild(R.value),R.value=null,ke.value=null,Y.value=!1}function Fe(e){let t=e.trim().split(/\s+/);if(t.length<4)return e;let n=t.slice(1).map(Number);if(n.length%2!=0)return e;let r=Ie(n),i=[`M ${r[0]} ${r[1]}`];for(let e=2;e<r.length-2;e+=2){let t=r[e-2],n=r[e-1],a=r[e],o=r[e+1],s=(t+a)/2,c=(n+o)/2;i.push(`Q ${t} ${n} ${s} ${c}`)}let a=r[r.length-2],o=r[r.length-1];return i.push(`L ${a} ${o}`),i.join(` `)}function Ie(e,t=1){let n=[...e];for(let r=2;r<e.length-2;r+=2){let i=e[r],a=e[r+1],o=e[r-2],s=e[r-1],c=e[r+2],l=e[r+3];n[r]=i+t*((o+c)/2-i),n[r+1]=a+t*((s+l)/2-a)}return n}function Le(e){let t=e.trim().split(/\s+/),n=``,r=``,i=null,a=null;for(let e=0;e<t.length;e+=1){let o=t[e];if(isNaN(o)){if(r=o,r===`M`||r===`L`)i=parseFloat(t[++e]),a=parseFloat(t[++e]),n+=`${r}${i} ${a}`;else if(r===`Q`){let r=parseFloat(t[++e]),o=parseFloat(t[++e]),s=parseFloat(t[++e]),c=parseFloat(t[++e]);n+=r===i&&o===a?`t${s-i} ${c-a}`:`q${r-i} ${o-a} ${s-i} ${c-a}`,i=s,a=c}}else{let s=parseFloat(o),c=parseFloat(t[++e]);if(r===`L`){let e=s-i,t=c-a;n+=e===0?`v${t}`:t===0?`h${e}`:`l${e} ${t}`,i=s,a=c}else if(r===`Q`){let r=s,o=c,l=parseFloat(t[++e]),u=parseFloat(t[++e]);n+=r===i&&o===a?`t${l-i} ${u-a}`:`q${r-i} ${o-a} ${l-i} ${u-a}`,i=l,a=u}}}return n}function Z(e){e?.cancelable&&e.preventDefault(),L.value===`draw`&&(K.value&&(w.value.push({id:V(),strokeWidth:D.value,path:Le(Fe(q.value)),color:E.value}),T.value=[],q.value=``),K.value=!1)}function Q(e){if(!J.value)return{x:0,y:0};let t=J.value.getBoundingClientRect(),n=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,r=n?n.clientX:e.clientX,i=n?n.clientY:e.clientY;return{x:r-t.left,y:i-t.top}}function Re(){if(w.value.length>0){let e=w.value.pop();T.value.push(e)}}function ze(){if(T.value.length>0){let e=T.value.pop();w.value.push(e)}}function Be(){w.value=[],T.value=[]}let $=v(null);return(t,n)=>(_(),u(s,null,[i.active?(_(),u(`div`,{key:0,"data-dom-to-png-ignore":``,class:m({"vue-ui-pen-and-paper-actions":!0,visible:i.active}),style:g({backgroundColor:i.backgroundColor})},[d(`button`,{class:`vue-ui-pen-and-paper-action`,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:n[0]||=e=>ve(`close`)},[b(t.$slots,`annotator-action-close`,{},()=>[f(a,{name:`close`,stroke:i.color},null,8,[`stroke`])],!0)],4),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0}),style:g({padding:`0 !important`,cursor:i.isCursorPointer?`pointer`:`default`})},[f(o,{value:E.value,"onUpdate:value":n[1]||=e=>E.value=e,backgroundColor:i.backgroundColor,buttonBorderColor:U.value},{"annotator-action-color":ae(({color:e})=>[b(t.$slots,`annotator-action-color`,h(p({color:e})),void 0,!0)]),_:3},8,[`value`,`backgroundColor`,`buttonBorderColor`])],4),d(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-active":L.value===`text`}]),onClick:n[2]||=e=>Se(),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`})},[b(t.$slots,`annotator-action-draw`,h(p({mode:L.value})),()=>[f(a,{name:xe[L.value],stroke:i.color},null,8,[`name`,`stroke`])],!0),d(`div`,{style:g({position:`absolute`,bottom:`-20px`,color:U.value,width:`100%`,textAlign:`center`,fontSize:`12px`})},x(re(e)({v:L.value===`text`?P.value:D.value,s:`px`,r:1})),5)],6),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length}),disabled:!w.value.length,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,marginTop:`20px`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Re},[b(t.$slots,`annotator-action-undo`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color},null,8,[`stroke`])],!0)],14,ce),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!T.value.length}),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:ze},[b(t.$slots,`annotator-action-redo`,h(p({disabled:!T.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color,style:{transform:`scaleX(-1)`}},null,8,[`stroke`])],!0)],6),d(`button`,{class:m([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length},`vue-ui-pen-and-paper-action`]),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Be},[b(t.$slots,`annotator-action-delete`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`trash`,stroke:i.color},null,8,[`stroke`])],!0)],6),L.value===`draw`?oe((_(),u(`input`,{key:0,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:.5,max:12,step:.1,"onUpdate:modelValue":n[3]||=e=>D.value=e,style:g({accentColor:i.color})},null,4)),[[ie,D.value]]):l(``,!0),L.value===`text`?oe((_(),u(`input`,{key:1,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:3,max:48,step:.1,"onUpdate:modelValue":n[4]||=e=>P.value=e,style:g({accentColor:i.color})},null,4)),[[ie,P.value]]):l(``,!0)],6)):l(``,!0),(_(),u(`svg`,{"data-mode":L.value,ref_key:`svgElement`,ref:J,xmlns:re(r),viewBox:ye.value,class:m({"vue-ui-pen-and-paper":!0,inactive:!i.active}),onMousedown:n[5]||=e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,onMousemove:n[6]||=e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,onMouseup:n[7]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onMouseleave:n[8]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchstart:n[9]||=se(e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,[`prevent`]),onTouchmove:n[10]||=se(e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,[`prevent`]),onTouchend:n[11]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchcancel:n[12]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null},[d(`g`,{ref_key:`G`,ref:O},[(_(!0),u(s,null,y(w.value,e=>(_(),u(s,{key:e.id},[e.path&&e.path.replace(`M`,``).split(` `).length===2?(_(),u(`circle`,{key:0,cx:e.path.replace(`M`,``).split(` `)[0],cy:e.path.replace(`M`,``).split(` `)[1],r:e.strokeWidth/2,fill:e.color},null,8,ue)):e.type===`line`?(_(),u(`line`,{key:1,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth},null,8,de)):e.type===`arrow`?(_(),u(`line`,{key:2,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth,"marker-end":`url(#${z.value})`},null,8,fe)):e.path?(_(),u(`path`,{key:3,class:`vue-ui-pen-and-paper-path`,d:e.path,stroke:e.color,"stroke-width":e.strokeWidth,fill:`none`},null,8,pe)):e.type===`text`?(_(),u(`text`,{key:4,x:e.x,y:e.y,fill:e.color,"font-size":e.fontSize,"font-family":`sans-serif`,"dominant-baseline":`hanging`,class:`vue-ui-pen-and-paper-text`},[(_(!0),u(s,null,y(e.lines,(t,n)=>(_(),u(`tspan`,{key:n,x:e.x,dy:n===0?`0`:e.fontSize*1.2},x(t.length?t:`​`),9,he))),128))],8,me)):l(``,!0)],64))),128))],512),K.value?(_(),u(`path`,{key:0,class:`vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing`,d:Fe(q.value),stroke:E.value,"stroke-width":D.value*1.1,fill:`none`},null,8,ge)):l(``,!0)],42,le))],64))}},[[`__scopeId`,`data-v-42e6ba29`]]);export{_e as default};
1
+ import{$ as e,Ft as t,X as n,t as r}from"./lib-rPeBMZrn.js";import{t as i}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as a}from"./BaseIcon-Cm-IJ179.js";import{t as o}from"./ColorPicker-Dmus34hN.js";import{Fragment as s,computed as c,createCommentVNode as l,createElementBlock as u,createElementVNode as d,createVNode as f,guardReactiveProps as p,nextTick as ee,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as te,onMounted as ne,openBlock as _,ref as v,renderList as y,renderSlot as b,toDisplayString as x,unref as re,vModelText as ie,watch as S,withCtx as ae,withDirectives as oe,withModifiers as se}from"vue";var ce=[`disabled`],le=[`data-mode`,`xmlns`,`viewBox`],ue=[`cx`,`cy`,`r`,`fill`],de=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`],fe=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`,`marker-end`],pe=[`d`,`stroke`,`stroke-width`],me=[`x`,`y`,`fill`,`font-size`],he=[`x`,`dy`],ge=[`d`,`stroke`,`stroke-width`],_e=/*#__PURE__*/ i({__name:`NonSvgPenAndPaper`,props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:`#FFFFFF`},color:{type:String,default:`#2D353C`},active:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(i,{emit:_e}){let C=i,ve=_e,w=v([]),T=v([]),ye=v(`0 0 0 0`),E=v(C.color),D=v(1),O=v(null),k=v(!1),A=v(null),j=v({x:0,y:0}),M=v([``]),N=v({row:0,col:0}),P=v(16),be=1,F=[`arrow`,`text`,`line`,`draw`],I=v(0),L=c(()=>F[I.value]),R=v(null);v(null),v(null);let z=v(`arrow-${n()}`),B=v(`arrow-def-${n()}`),xe={arrow:`plotArrow`,text:`text`,line:`plotLine`,draw:`annotator`};function Se(){I.value+1>=F.length?I.value=0:I.value+=1}function V(){return be++}function Ce(e){let t=J.value;if(!t)return{x:0,y:0};let n=t.createSVGPoint(),r=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,i=r?r.clientX:e.clientX,a=r?r.clientY:e.clientY;n.x=i,n.y=a;let o=t.getScreenCTM()?.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function H(e){if(!O.value||L.value!==`text`||k.value)return;let{x:t,y:n}=Ce(e);j.value={x:t,y:n},M.value=[``],N.value={row:0,col:0};let r=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);r.setAttribute(`x`,t),r.setAttribute(`y`,n),r.setAttribute(`fill`,E.value),r.setAttribute(`font-size`,P.value),r.setAttribute(`font-family`,`sans-serif`),r.setAttribute(`class`,`vue-data-ui-doodle`),r.setAttribute(`dominant-baseline`,`hanging`),r.setAttribute(`pointer-events`,`all`);let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,`0`),i.textContent=``,r.appendChild(i),r.style.pointerEvents=`none`,r.style.userSelect=`none`,O.value.appendChild(r),A.value=r,k.value=!0,window.addEventListener(`keydown`,we),window.addEventListener(`mousedown`,De,!0),Te(),Ee()}function we(e){if(!k.value)return;let{row:t,col:n}=N.value,r=M.value.slice(),i=!1;if(e.key===`Enter`){let a=r[t],o=a.slice(0,n),s=a.slice(n);r.splice(t,1,o,s),t+=1,n=0,i=!0,e.preventDefault()}else if(e.key===`Backspace`){if(n>0)r[t]=r[t].slice(0,n-1)+r[t].slice(n),--n,i=!0;else if(t>0){let e=r[t-1].length;r[t-1]+=r[t],r.splice(t,1),--t,n=e,i=!0}e.preventDefault()}else if(e.key===`Delete`)n<r[t].length?(r[t]=r[t].slice(0,n)+r[t].slice(n+1),i=!0):t<r.length-1&&(r[t]+=r[t+1],r.splice(t+1,1),i=!0),e.preventDefault();else if(e.key===`ArrowLeft`)n>0?--n:t>0&&(--t,n=r[t].length),i=!0,e.preventDefault();else if(e.key===`ArrowRight`)n<r[t].length?n+=1:t<r.length-1&&(t+=1,n=0),i=!0,e.preventDefault();else if(e.key===`ArrowUp`)t>0&&(--t,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key===`ArrowDown`)t<r.length-1&&(t+=1,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)r[t]=r[t].slice(0,n)+e.key+r[t].slice(n),n+=1,i=!0,e.preventDefault();else if(e.key===`Escape`){Oe(!0);return}else e.key===`Tab`&&e.preventDefault();i&&(M.value=r,N.value={row:t,col:n},Te(),Ee())}function Te(){let e=A.value,{x:t,y:n}=j.value;for(;e.firstChild;)e.removeChild(e.firstChild);M.value.forEach((n,r)=>{let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,r===0?`0`:`${P.value*1.2}`),i.textContent=n.length?n:`​`,e.appendChild(i)})}function Ee(){let e=O.value.querySelector(`.vue-data-ui-svg-caret`);e&&O.value.removeChild(e);let t=A.value;if(!t)return;let{x:n,y:r}=j.value,{row:i,col:a}=N.value,o=P.value,s=t.childNodes[i];if(!s)return;let c=s.textContent.slice(0,a);c.endsWith(` `)&&(c+=`\xA0`);let l=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);l.setAttribute(`x`,n),l.setAttribute(`y`,r),l.setAttribute(`font-size`,o),l.setAttribute(`font-family`,`sans-serif`),l.textContent=c||``,O.value.appendChild(l);let u=l.getBBox();O.value.removeChild(l);let d=r+i*o*1.2,f=n+u.width,p=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);p.setAttribute(`x`,f),p.setAttribute(`y`,d),p.setAttribute(`width`,1),p.setAttribute(`height`,o),p.setAttribute(`fill`,E.value),p.setAttribute(`class`,`vue-data-ui-svg-caret`),O.value.appendChild(p)}function De(e){if(A.value&&!A.value.contains(e.target)){let e=A.value.children;e.length===1&&(e[0].textContent===``||e[0].textContent===`​`)&&A.value.remove(),Oe(!1)}}function Oe(e=!1){window.removeEventListener(`keydown`,we),window.removeEventListener(`mousedown`,De,!0);let t=O.value?.querySelector(`.vue-data-ui-svg-caret`);t&&O.value.removeChild(t);let n=M.value.every(e=>!e||e===`​`);e||n||w.value.push({id:V(),type:`text`,x:j.value.x,y:j.value.y,color:E.value,fontSize:P.value,lines:M.value.map(e=>e)}),A.value&&O.value&&O.value.contains(A.value)&&O.value.removeChild(A.value),k.value=!1,A.value=null,M.value=[``],N.value={row:0,col:0}}let U=c(()=>t(C.color,.6));function W({width:e,height:t}){ye.value=`0 0 ${e} ${t}`}let G=v(null);ne(()=>{ee(()=>{if(C.parent){G.value=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;W({width:e,height:n})}}),G.value.observe(C.parent);let{width:e,height:t}=C.parent.getBoundingClientRect();W({width:e,height:t})}}),O.value=J.value.querySelector(`g`)}),te(()=>{G.value&&G.value.disconnect()}),S(()=>C.parent,e=>{if(!e)return;let{width:t,height:n}=C.parent.getBoundingClientRect();W({width:t,height:n})},{immediate:!0}),S(L,e=>{J.value&&(J.value.removeEventListener(`mousedown`,H),J.value.removeEventListener(`touchstart`,H),e===`text`&&(J.value.addEventListener(`mousedown`,H),J.value.addEventListener(`touchstart`,H,{passive:!1})))});let K=v(!1),q=v(``),J=v(null),Y=v(!1),ke=v(null);S(()=>C.active,e=>{J.value&&(J.value.style.touchAction=e?`none`:``)},{immediate:!0});function Ae(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!J.value)return;K.value=!0;let{x:t,y:n}=Q(e);q.value=`M ${t} ${n}`}function je(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!K.value||!J.value)return;let{x:t,y:n}=Q(e);q.value+=` ${t} ${n}`}function Me(){let e=J.value;if(!e)return;let t=e.querySelector(`defs#${B.value}`);if(t||(t=document.createElementNS(r,`defs`),t.setAttribute(`id`,B.value),e.appendChild(t)),t.querySelector(`#${z.value}`))return;let n=document.createElementNS(r,`marker`);n.setAttribute(`id`,z.value),n.setAttribute(`markerUnits`,`strokeWidth`),n.setAttribute(`markerWidth`,`6`),n.setAttribute(`markerHeight`,`6`),n.setAttribute(`refX`,`4`),n.setAttribute(`refY`,`3`),n.setAttribute(`orient`,`auto`),n.setAttribute(`viewBox`,`0 0 6 6`);let i=document.createElementNS(r,`path`);i.setAttribute(`d`,`M 0 0 L 6 3 L 0 6 z`),i.setAttribute(`fill`,`context-stroke`),i.setAttribute(`stroke`,`none`),n.appendChild(i),t.appendChild(n)}function Ne(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!J.value||!O.value)return;L.value===`arrow`&&Me(),Y.value=!0;let{x:t,y:n}=Q(e);ke.value={x:t,y:n},R.value=document.createElementNS(r,`line`),R.value.setAttribute(`x1`,t),R.value.setAttribute(`y1`,n),R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),R.value.setAttribute(`stroke`,E.value),R.value.setAttribute(`stroke-width`,D.value),R.value.setAttribute(`stroke-linecap`,`round`),R.value.setAttribute(`class`,`vue-data-ui-doodle`),L.value===`arrow`&&R.value.setAttribute(`marker-end`,`url(#${z.value})`),O.value.appendChild(R.value)}function Pe(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n)}function X(e){if(e?.cancelable&&e.preventDefault(),!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),w.value.push({id:V(),type:L.value,x1:parseFloat(R.value.getAttribute(`x1`)),y1:parseFloat(R.value.getAttribute(`y1`)),x2:t,y2:n,strokeWidth:D.value,color:E.value}),T.value=[],O.value.contains(R.value)&&O.value.removeChild(R.value),R.value=null,ke.value=null,Y.value=!1}function Fe(e){let t=e.trim().split(/\s+/);if(t.length<4)return e;let n=t.slice(1).map(Number);if(n.length%2!=0)return e;let r=Ie(n),i=[`M ${r[0]} ${r[1]}`];for(let e=2;e<r.length-2;e+=2){let t=r[e-2],n=r[e-1],a=r[e],o=r[e+1],s=(t+a)/2,c=(n+o)/2;i.push(`Q ${t} ${n} ${s} ${c}`)}let a=r[r.length-2],o=r[r.length-1];return i.push(`L ${a} ${o}`),i.join(` `)}function Ie(e,t=1){let n=[...e];for(let r=2;r<e.length-2;r+=2){let i=e[r],a=e[r+1],o=e[r-2],s=e[r-1],c=e[r+2],l=e[r+3];n[r]=i+t*((o+c)/2-i),n[r+1]=a+t*((s+l)/2-a)}return n}function Le(e){let t=e.trim().split(/\s+/),n=``,r=``,i=null,a=null;for(let e=0;e<t.length;e+=1){let o=t[e];if(isNaN(o)){if(r=o,r===`M`||r===`L`)i=parseFloat(t[++e]),a=parseFloat(t[++e]),n+=`${r}${i} ${a}`;else if(r===`Q`){let r=parseFloat(t[++e]),o=parseFloat(t[++e]),s=parseFloat(t[++e]),c=parseFloat(t[++e]);n+=r===i&&o===a?`t${s-i} ${c-a}`:`q${r-i} ${o-a} ${s-i} ${c-a}`,i=s,a=c}}else{let s=parseFloat(o),c=parseFloat(t[++e]);if(r===`L`){let e=s-i,t=c-a;n+=e===0?`v${t}`:t===0?`h${e}`:`l${e} ${t}`,i=s,a=c}else if(r===`Q`){let r=s,o=c,l=parseFloat(t[++e]),u=parseFloat(t[++e]);n+=r===i&&o===a?`t${l-i} ${u-a}`:`q${r-i} ${o-a} ${l-i} ${u-a}`,i=l,a=u}}}return n}function Z(e){e?.cancelable&&e.preventDefault(),L.value===`draw`&&(K.value&&(w.value.push({id:V(),strokeWidth:D.value,path:Le(Fe(q.value)),color:E.value}),T.value=[],q.value=``),K.value=!1)}function Q(e){if(!J.value)return{x:0,y:0};let t=J.value.getBoundingClientRect(),n=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,r=n?n.clientX:e.clientX,i=n?n.clientY:e.clientY;return{x:r-t.left,y:i-t.top}}function Re(){if(w.value.length>0){let e=w.value.pop();T.value.push(e)}}function ze(){if(T.value.length>0){let e=T.value.pop();w.value.push(e)}}function Be(){w.value=[],T.value=[]}let $=v(null);return(t,n)=>(_(),u(s,null,[i.active?(_(),u(`div`,{key:0,"data-dom-to-png-ignore":``,class:m({"vue-ui-pen-and-paper-actions":!0,visible:i.active}),style:g({backgroundColor:i.backgroundColor})},[d(`button`,{class:`vue-ui-pen-and-paper-action`,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:n[0]||=e=>ve(`close`)},[b(t.$slots,`annotator-action-close`,{},()=>[f(a,{name:`close`,stroke:i.color},null,8,[`stroke`])],!0)],4),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0}),style:g({padding:`0 !important`,cursor:i.isCursorPointer?`pointer`:`default`})},[f(o,{value:E.value,"onUpdate:value":n[1]||=e=>E.value=e,backgroundColor:i.backgroundColor,buttonBorderColor:U.value},{"annotator-action-color":ae(({color:e})=>[b(t.$slots,`annotator-action-color`,h(p({color:e})),void 0,!0)]),_:3},8,[`value`,`backgroundColor`,`buttonBorderColor`])],4),d(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-active":L.value===`text`}]),onClick:n[2]||=e=>Se(),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`})},[b(t.$slots,`annotator-action-draw`,h(p({mode:L.value})),()=>[f(a,{name:xe[L.value],stroke:i.color},null,8,[`name`,`stroke`])],!0),d(`div`,{style:g({position:`absolute`,bottom:`-20px`,color:U.value,width:`100%`,textAlign:`center`,fontSize:`12px`})},x(re(e)({v:L.value===`text`?P.value:D.value,s:`px`,r:1})),5)],6),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length}),disabled:!w.value.length,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,marginTop:`20px`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Re},[b(t.$slots,`annotator-action-undo`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color},null,8,[`stroke`])],!0)],14,ce),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!T.value.length}),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:ze},[b(t.$slots,`annotator-action-redo`,h(p({disabled:!T.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color,style:{transform:`scaleX(-1)`}},null,8,[`stroke`])],!0)],6),d(`button`,{class:m([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length},`vue-ui-pen-and-paper-action`]),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Be},[b(t.$slots,`annotator-action-delete`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`trash`,stroke:i.color},null,8,[`stroke`])],!0)],6),L.value===`draw`?oe((_(),u(`input`,{key:0,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:.5,max:12,step:.1,"onUpdate:modelValue":n[3]||=e=>D.value=e,style:g({accentColor:i.color})},null,4)),[[ie,D.value]]):l(``,!0),L.value===`text`?oe((_(),u(`input`,{key:1,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:3,max:48,step:.1,"onUpdate:modelValue":n[4]||=e=>P.value=e,style:g({accentColor:i.color})},null,4)),[[ie,P.value]]):l(``,!0)],6)):l(``,!0),(_(),u(`svg`,{"data-mode":L.value,ref_key:`svgElement`,ref:J,xmlns:re(r),viewBox:ye.value,class:m({"vue-ui-pen-and-paper":!0,inactive:!i.active}),onMousedown:n[5]||=e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,onMousemove:n[6]||=e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,onMouseup:n[7]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onMouseleave:n[8]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchstart:n[9]||=se(e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,[`prevent`]),onTouchmove:n[10]||=se(e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,[`prevent`]),onTouchend:n[11]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchcancel:n[12]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null},[d(`g`,{ref_key:`G`,ref:O},[(_(!0),u(s,null,y(w.value,e=>(_(),u(s,{key:e.id},[e.path&&e.path.replace(`M`,``).split(` `).length===2?(_(),u(`circle`,{key:0,cx:e.path.replace(`M`,``).split(` `)[0],cy:e.path.replace(`M`,``).split(` `)[1],r:e.strokeWidth/2,fill:e.color},null,8,ue)):e.type===`line`?(_(),u(`line`,{key:1,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth},null,8,de)):e.type===`arrow`?(_(),u(`line`,{key:2,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth,"marker-end":`url(#${z.value})`},null,8,fe)):e.path?(_(),u(`path`,{key:3,class:`vue-ui-pen-and-paper-path`,d:e.path,stroke:e.color,"stroke-width":e.strokeWidth,fill:`none`},null,8,pe)):e.type===`text`?(_(),u(`text`,{key:4,x:e.x,y:e.y,fill:e.color,"font-size":e.fontSize,"font-family":`sans-serif`,"dominant-baseline":`hanging`,class:`vue-ui-pen-and-paper-text`},[(_(!0),u(s,null,y(e.lines,(t,n)=>(_(),u(`tspan`,{key:n,x:e.x,dy:n===0?`0`:e.fontSize*1.2},x(t.length?t:`​`),9,he))),128))],8,me)):l(``,!0)],64))),128))],512),K.value?(_(),u(`path`,{key:0,class:`vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing`,d:Fe(q.value),stroke:E.value,"stroke-width":D.value*1.1,fill:`none`},null,8,ge)):l(``,!0)],42,le))],64))}},[[`__scopeId`,`data-v-42e6ba29`]]);export{_e as default};
@@ -1 +1 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./package-UBaXe2y9.js";import{createElementBlock as n,openBlock as r,toDisplayString as i,unref as a}from"vue";var o=/* @__PURE__ */ e({default:()=>c}),s={"aria-hidden":`true`},c={__name:`PackageVersion`,setup(e){return(e,o)=>(r(),n(`desc`,s,`Composed with Vue Data UI `+i(a(t)),1))}};export{c as n,o as t};
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./package-DGRUegc-.js";import{createElementBlock as n,openBlock as r,toDisplayString as i,unref as a}from"vue";var o=/* @__PURE__ */ e({default:()=>c}),s={"aria-hidden":`true`},c={__name:`PackageVersion`,setup(e){return(e,o)=>(r(),n(`desc`,s,`Composed with Vue Data UI `+i(a(t)),1))}};export{c as n,o as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{$ as t,Ft as n,X as r,t as i}from"./lib-rPeBMZrn.js";import{t as a}from"./BaseIcon-Cm-IJ179.js";import{t as o}from"./ColorPicker-Dmus34hN.js";import{computed as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as ee,onMounted as te,openBlock as ne,ref as _,renderSlot as v,toDisplayString as re,unref as ie,vModelText as ae,watch as y,withCtx as oe,withDirectives as se}from"vue";var ce=/* @__PURE__ */ e({default:()=>b}),le={"aria-hidden":`true`,viewBox:`0 0 6 12`,style:{width:`100%`}},ue=[`fill`],de=[`fill`],fe=[`fill`],pe=[`disabled`],me=750,he=8,ge=2,b={__name:`PenAndPaper`,props:{svgRef:{type:[Object,null,void 0],required:!0},color:{type:String,default:`#2D353C`},backgroundColor:{type:String,default:`#FFFFFF`},active:{type:Boolean,default:!1},scale:{type:Number,default:1},isCursorPointer:{type:Boolean,default:!1},palette:{type:Array,default:()=>[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`]}},emits:[`close`],setup(e,{emit:ce}){let b=e,_e=ce,x=_([]),S=_([]),C=_(b.color),w=_(2),T=_(!1),ve=_(``),E=_(null),D=_(null),O=_(null),ye=_(null),k=_(null),be=_(null),A=_(!1),j=_(null),xe=_(``),M=_(``),N=_(!1),Se=_(!1),P=_(null),Ce=_(null),we=_(!1),F=_(``),Te=/* @__PURE__ */ new Map,Ee=_(`arrow-def-${r()}`),I=_(!1),L=_(null),De=_({x:0,y:0}),R=_([``]),z=_({row:0,col:0}),B=_(16),Oe=_(!1),ke=_(``),Ae=_(!1),je=[`arrow`,`text`,`line`,`draw`],V=_(0),H=s(()=>je[V.value]),Me={arrow:`plotArrow`,text:`text`,line:`plotLine`,draw:`annotator`},Ne=_(`url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVh2YQcchQnSyIijhKFYtgobQVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi6OSk6CIl/i8ptIjx4Lgf7+497t4BQrPKNKtnAtB020wn4lIuvyqFXhGGiAhCiMnMMpKZxSx8x9c9Any9i/Es/3N/jgG1YDEgIBHPMcO0iTeIZzZtg/M+scjKskp8Tjxu0gWJH7muePzGueSywDNFM5ueJxaJpVIXK13MyqZGPE0cVTWd8oWcxyrnLc5atc7a9+QvDBf0lQzXaY4ggSUkkYIEBXVUUIWNGK06KRbStB/38Q+7/hS5FHJVwMixgBo0yK4f/A9+d2sVpya9pHAc6H1xnI9RILQLtBqO833sOK0TIPgMXOkdf60JzH6S3uho0SNgcBu4uO5oyh5wuQMMPRmyKbtSkKZQLALvZ/RNeSByC/Sveb2193H6AGSpq+Ub4OAQGCtR9rrPu/u6e/v3TLu/H5C7crM1WjgWAAAABmJLR0QAqwB5AHWF+8OUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5gwUExIUagzGcQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABfSURBVBjTldAxDoNQDIPhL0+q1L33P1AvAhN7xfK6WAgoLfSfrNiykpQtE+7RLzx2vgF9D3o8lWDmn1QVVMP0LZQGmNtqp1/cmou0XHdG/+sYeGZwFBqPCub8rkcvvAGvsi1VYarR8wAAAABJRU5ErkJggg==') 5 5, auto`);function Pe(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-doodle`);return n&&E.value?.contains(n)?n:null}function Fe(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-selection-handle`);return n&&E.value?.contains(n)?n:null}function Ie(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-selection-delete`);return n&&E.value?.contains(n)?n:null}function Le(e){if(!e)return``;let t=e.getAttribute(`data-doodle-id`);return t||(t=r(),e.setAttribute(`data-doodle-id`,t)),t}function U(){return E.value?Array.from(E.value.children).filter(e=>e.classList?.contains(`vue-data-ui-doodle`)).map(e=>e.outerHTML).join(``):``}function Re(e){if(!E.value)return;K();let t=E.value.querySelector(`.vue-data-ui-svg-caret`);if(t&&t.remove(),Array.from(E.value.children).forEach(e=>{e.classList?.contains(`vue-data-ui-doodle`)&&e.remove()}),e){let t=document.createElementNS(i,`g`);t.innerHTML=e,Array.from(t.children).forEach(e=>E.value.appendChild(e))}}function W(e,t=null){if(e===U())return;let n=Date.now(),r=x.value[x.value.length-1];t&&r?.mergeKey===t&&n-r.timestamp<=me?r.timestamp=n:x.value.push({state:e,mergeKey:t,timestamp:n}),S.value=[]}function ze(e){let t=e.touches?.[0]||e.changedTouches?.[0];return{x:t?t.clientX:e.clientX,y:t?t.clientY:e.clientY}}function Be(e,t){let n=b.svgRef;if(!n||!e)return null;let{x:r,y:i}=ze(t),a=n.createSVGPoint();a.x=r,a.y=i;let o=e.getScreenCTM()?.inverse();return o?a.matrixTransform(o):null}function Ve(e,t,n,r,i,a){let o=i-n,s=a-r,c=o*o+s*s;if(!c)return Math.hypot(e-n,t-r);let l=Math.max(0,Math.min(1,((e-n)*o+(t-r)*s)/c)),u=n+l*o,d=r+l*s;return Math.hypot(e-u,t-d)}function He(e,t){let n=Be(e,t);if(!n)return!1;let r=e.tagName.toLowerCase(),i=he*b.scale;if(r===`line`){let t=Number(e.getAttribute(`x1`)),r=Number(e.getAttribute(`y1`)),a=Number(e.getAttribute(`x2`)),o=Number(e.getAttribute(`y2`)),s=Number(e.getAttribute(`stroke-width`))||0;return Ve(n.x,n.y,t,r,a,o)<=Math.max(i,s/2)}if(r===`circle`){let t=Number(e.getAttribute(`cx`)),r=Number(e.getAttribute(`cy`)),a=Number(e.getAttribute(`r`))||0;return Math.hypot(n.x-t,n.y-r)<=a+i}if(r===`text`)try{let t=e.getBBox();return n.x>=t.x-i&&n.x<=t.x+t.width+i&&n.y>=t.y-i&&n.y<=t.y+t.height+i}catch{return!1}if(r===`path`)try{let t=e.getBBox();if(n.x<t.x-i||n.x>t.x+t.width+i||n.y<t.y-i||n.y>t.y+t.height+i)return!1;if(typeof e.isPointInStroke==`function`){let t=e.getAttribute(`stroke-width`),r=Math.max(Number(t)||0,i*2);e.setAttribute(`stroke-width`,r);let a=e.isPointInStroke(n);return t===null?e.removeAttribute(`stroke-width`):e.setAttribute(`stroke-width`,t),a}let r=e.getTotalLength(),a=Math.max(2*b.scale,2);for(let t=0;t<=r;t+=a){let r=e.getPointAtLength(t);if(Math.hypot(n.x-r.x,n.y-r.y)<=i)return!0}}catch{return!1}return!1}function Ue(e){return Pe(e)||E.value&&Array.from(E.value.querySelectorAll(`.vue-data-ui-doodle`)).reverse().find(t=>He(t,e))||null}function We(){be.value?.parentNode&&be.value.parentNode.removeChild(be.value),be.value=null}function G(){if(We(),!I.value&&b.active&&E.value&&k.value&&E.value.contains(k.value))try{let e=k.value,t=e.getBBox(),n=4*b.scale,r=document.createElementNS(i,`g`);r.setAttribute(`class`,`vue-data-ui-selection-overlay`);let a=document.createElementNS(i,`rect`);if(a.setAttribute(`class`,`vue-data-ui-selection-box`),a.setAttribute(`x`,t.x-n),a.setAttribute(`y`,t.y-n),a.setAttribute(`width`,Math.max(t.width+n*2,n*2)),a.setAttribute(`height`,Math.max(t.height+n*2,n*2)),a.setAttribute(`fill`,`none`),a.setAttribute(`stroke`,b.color),a.setAttribute(`stroke-width`,Math.max(1,b.scale)),a.setAttribute(`stroke-dasharray`,`${4*b.scale} ${3*b.scale}`),a.setAttribute(`pointer-events`,`none`),r.appendChild(a),e.tagName.toLowerCase()===`line`){let t=Math.max(4,5*b.scale),n=Math.max(1,1.5*b.scale);[{endpoint:`start`,x:Number(e.getAttribute(`x1`)),y:Number(e.getAttribute(`y1`))},{endpoint:`end`,x:Number(e.getAttribute(`x2`)),y:Number(e.getAttribute(`y2`))}].forEach(({endpoint:e,x:a,y:o})=>{let s=document.createElementNS(i,`circle`);s.setAttribute(`class`,`vue-data-ui-selection-handle`),s.setAttribute(`data-line-endpoint`,e),s.setAttribute(`cx`,a),s.setAttribute(`cy`,o),s.setAttribute(`r`,t),s.setAttribute(`fill`,b.backgroundColor),s.setAttribute(`stroke`,b.color),s.setAttribute(`stroke-width`,n),s.setAttribute(`pointer-events`,`all`),r.appendChild(s)})}let o=Math.max(20,24*b.scale),s=Math.max(1,b.scale),c=t.x+t.width+n+4*b.scale,l=t.y-n-o-4*b.scale,u=document.createElementNS(i,`g`);u.setAttribute(`class`,`vue-data-ui-selection-delete`),u.setAttribute(`role`,`button`),u.setAttribute(`tabindex`,`0`),u.setAttribute(`aria-label`,`Delete selected drawing`),u.setAttribute(`pointer-events`,`all`);let d=document.createElementNS(i,`rect`);d.setAttribute(`x`,c),d.setAttribute(`y`,l),d.setAttribute(`width`,o),d.setAttribute(`height`,o),d.setAttribute(`rx`,4*b.scale),d.setAttribute(`fill`,b.backgroundColor),d.setAttribute(`stroke`,J.value),d.setAttribute(`stroke-width`,s),d.setAttribute(`vector-effect`,`non-scaling-stroke`);let f=o/24,p=document.createElementNS(i,`path`);p.setAttribute(`d`,`M 8 8 L 16 16 M 16 8 L 8 16`),p.setAttribute(`transform`,`translate(${c} ${l}) scale(${f})`),p.setAttribute(`fill`,`none`),p.setAttribute(`stroke`,b.color),p.setAttribute(`stroke-width`,Math.max(1.25,1.5*b.scale)),p.setAttribute(`stroke-linecap`,`round`),p.setAttribute(`stroke-linejoin`,`round`),p.setAttribute(`vector-effect`,`non-scaling-stroke`),p.setAttribute(`pointer-events`,`none`),u.appendChild(d),u.appendChild(p),u.addEventListener(`keydown`,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),Ge(e))}),r.appendChild(u);let m=e.getAttribute(`transform`);m&&r.setAttribute(`transform`,m),E.value.appendChild(r),be.value=r}catch{We()}}function K(){k.value=null,A.value=!1,j.value=null,xe.value=``,M.value=``,N.value=!1,Se.value=!1,P.value=null,Ce.value=null,We(),Z()}function Ge(e=null){if(!b.active||!k.value||!E.value||!E.value.contains(k.value))return;e?.cancelable&&e.preventDefault(),e?.stopPropagation?.(),e?.stopImmediatePropagation?.();let t=U();k.value.remove(),W(t),K()}function Ke(e){return e?e.tagName.toLowerCase()===`text`||e.tagName.toLowerCase()===`circle`?e.getAttribute(`fill`):e.getAttribute(`stroke`):null}function qe(e){if(e){we.value=!0;try{let t=e.tagName.toLowerCase(),n=Ke(e);if(n&&(C.value=n),t===`text`){V.value=je.indexOf(`text`);let t=Number(e.getAttribute(`font-size`));Number.isFinite(t)&&b.scale&&(B.value=t/b.scale);return}if(t===`line`?V.value=e.hasAttribute(`marker-end`)?je.indexOf(`arrow`):je.indexOf(`line`):V.value=je.indexOf(`draw`),t===`circle`){let t=Number(e.getAttribute(`r`));Number.isFinite(t)&&b.scale&&(w.value=t*2/b.scale)}else{let t=Number(e.getAttribute(`stroke-width`));Number.isFinite(t)&&b.scale&&(w.value=t/b.scale)}}finally{p(()=>{we.value=!1})}}}function Je(e){b.active&&e&&E.value?.contains(e)&&(Le(e),k.value=e,qe(e),p(G))}function Ye(e){if(!b.active||!E.value||I.value)return;if(Ie(e)){Ge(e);return}let t=Fe(e);if(t&&k.value&&k.value.tagName.toLowerCase()===`line`){e.cancelable&&e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation?.();let n=t.getAttribute(`data-line-endpoint`);if(![`start`,`end`].includes(n))return;P.value=n,Ce.value=Be(k.value,e),A.value=!1,N.value=!1,Se.value=!1,M.value=U(),Z(e);return}let n=Ue(e);if(!n){K();return}e.cancelable&&e.preventDefault(),Se.value=k.value===n,Je(n);let{x:r,y:i}=Y(e);A.value=!0,N.value=!1,j.value={x:r,y:i},xe.value=n.getAttribute(`transform`)||``,M.value=U(),Z(e)}function Xe(e){if(!b.active||!k.value)return;if(Z(e),P.value){let t=Be(k.value,e);if(!t)return;let n=Ce.value;if(!N.value&&n&&Math.hypot(t.x-n.x,t.y-n.y)<ge*b.scale)return;e.cancelable&&e.preventDefault(),N.value=!0,P.value===`start`?(k.value.setAttribute(`x1`,t.x),k.value.setAttribute(`y1`,t.y)):(k.value.setAttribute(`x2`,t.x),k.value.setAttribute(`y2`,t.y)),G();return}if(!A.value||!j.value)return;let{x:t,y:n}=Y(e),r=t-j.value.x,i=n-j.value.y,a=Math.hypot(r,i);if(!N.value&&a<ge*b.scale)return;e.cancelable&&e.preventDefault(),N.value=!0;let o=xe.value.trim();k.value.setAttribute(`transform`,`${o?`${o} `:``}translate(${r} ${i})`),G()}function q(e){let t=k.value,n=!P.value&&t&&t.tagName.toLowerCase()===`text`&&Se.value&&!N.value&&!I.value;N.value&&M.value&&W(M.value),A.value=!1,j.value=null,M.value=``,N.value=!1,Se.value=!1,P.value=null,Ce.value=null,xe.value=t?.getAttribute(`transform`)||``,t&&E.value?.contains(t)&&G(),n&&t&&E.value?.contains(t)&&nt(t,e),Z(e)}function Ze(e){if(!b.active||!k.value||we.value)return;let t=k.value,n=t.tagName.toLowerCase();if(Ke(t)===e)return;let r=U();if(n===`text`||n===`circle`)t.setAttribute(`fill`,e);else if(t.setAttribute(`stroke`,e),n===`line`&&t.hasAttribute(`marker-end`)){let n=_t(e);n&&t.setAttribute(`marker-end`,`url(#${n})`)}I.value&&t===L.value||W(r,`color:${Le(t)}`),G(),I.value&&t===L.value&&ct()}function Qe(e){if(!b.active||!k.value||we.value)return;let t=k.value,n=t.tagName.toLowerCase();if(n===`text`)return;let r=Number(e)*b.scale;if((n===`circle`?Number(t.getAttribute(`r`))*2:Number(t.getAttribute(`stroke-width`)))===r)return;let i=U();n===`circle`?t.setAttribute(`r`,r/2):t.setAttribute(`stroke-width`,r),W(i,`size:${Le(t)}`),G()}function $e(e){if(!b.active||!k.value||we.value)return;let t=k.value;if(t.tagName.toLowerCase()!==`text`)return;let n=Number(e)*b.scale;if(Number(t.getAttribute(`font-size`))===n)return;let r=U();t.setAttribute(`font-size`,n),Array.from(t.children).forEach((e,t)=>{e.setAttribute(`dy`,t===0?`0`:`${n*1.2}`)}),I.value&&t===L.value||W(r,`font-size:${Le(t)}`),G(),I.value&&t===L.value&&ct()}y(C,Ze),y(w,Qe),y(B,$e);function et(){V.value+1>=je.length?V.value=0:V.value+=1}function tt(e){if(!E.value||!b.active||H.value!==`text`||I.value||Fe(e)||Ue(e))return;K();let t=U(),{x:n,y:a}=Y(e);De.value={x:n,y:a},R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=t,Ae.value=!1;let o=document.createElementNS(i,`text`);o.setAttribute(`x`,n),o.setAttribute(`y`,a),o.setAttribute(`fill`,C.value),o.setAttribute(`font-size`,B.value*b.scale),o.setAttribute(`font-family`,`sans-serif`),o.setAttribute(`class`,`vue-data-ui-doodle`),o.setAttribute(`data-doodle-id`,r()),o.setAttribute(`dominant-baseline`,`hanging`),o.setAttribute(`pointer-events`,`all`);let s=document.createElementNS(i,`tspan`);s.setAttribute(`x`,n),s.setAttribute(`dy`,`0`),s.setAttribute(`dominant-baseline`,`hanging`),s.textContent=``,o.appendChild(s),o.style.pointerEvents=`none`,o.style.userSelect=`none`,E.value.appendChild(o),k.value=o,L.value=o,I.value=!0,We(),window.addEventListener(`keydown`,rt),window.addEventListener(`mousedown`,lt,!0),it(),ct()}function nt(e){if(!b.active||!E.value||I.value||!e||e.tagName.toLowerCase()!==`text`||!E.value.contains(e))return;let t=U();k.value=e,qe(e);let n=Number(e.getAttribute(`x`))||0,r=Number(e.getAttribute(`y`))||0,i=Array.from(e.children).map(e=>{let t=e.textContent||``;return t===`​`?``:t.split(`​`).join(``)}),a=i.length?i:[e.textContent||``],o=Math.max(0,a.length-1);De.value={x:n,y:r},R.value=a,z.value={row:o,col:a[o]?.length||0},ke.value=t,Ae.value=!0,Oe.value=!0,L.value=e,I.value=!0,e.style.pointerEvents=`none`,We(),window.addEventListener(`keydown`,rt),window.addEventListener(`mousedown`,lt,!0),it(),ct()}function rt(e){if(!I.value)return;let{row:t,col:n}=z.value,r=R.value.slice(),i=!1;if(e.key===`Enter`){let a=r[t],o=a.slice(0,n),s=a.slice(n);r.splice(t,1,o,s),t+=1,n=0,i=!0,e.preventDefault()}else if(e.key===`Backspace`){if(n>0)r[t]=r[t].slice(0,n-1)+r[t].slice(n),--n,i=!0;else if(t>0){let e=r[t-1].length;r[t-1]+=r[t],r.splice(t,1),--t,n=e,i=!0}e.preventDefault()}else if(e.key===`Delete`)n<r[t].length?(r[t]=r[t].slice(0,n)+r[t].slice(n+1),i=!0):t<r.length-1&&(r[t]+=r[t+1],r.splice(t+1,1),i=!0),e.preventDefault();else if(e.key===`ArrowLeft`)n>0?--n:t>0&&(--t,n=r[t].length),i=!0,e.preventDefault();else if(e.key===`ArrowRight`)n<r[t].length?n+=1:t<r.length-1&&(t+=1,n=0),i=!0,e.preventDefault();else if(e.key===`ArrowUp`)t>0&&(--t,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key===`ArrowDown`)t<r.length-1&&(t+=1,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)r[t]=r[t].slice(0,n)+e.key+r[t].slice(n),n+=1,i=!0,e.preventDefault();else if(e.key===`Escape`){ut(!1,!0);return}else e.key===`Tab`&&e.preventDefault();i&&(R.value=r,z.value={row:t,col:n},it(),ct())}function it(){let e=L.value;if(!e)return;let{x:t}=De.value;for(;e.firstChild;)e.removeChild(e.firstChild);R.value.forEach((n,r)=>{let a=document.createElementNS(i,`tspan`);a.setAttribute(`x`,t),a.setAttribute(`dominant-baseline`,`hanging`),a.setAttribute(`dy`,r===0?`0`:`${B.value*1.2*b.scale}`),a.textContent=n.length?n:`​`,e.appendChild(a)})}let at=_(null);function ot(){at.value!==null&&(clearInterval(at.value),at.value=null)}function st(e){ot();let t=!0;e.style.opacity=`1`,at.value=setInterval(()=>{!E.value||!e||!E.value.contains(e)?ot():(t=!t,e.style.opacity=t?`1`:`0`)},500)}function ct(){let e=E.value?.querySelector(`.vue-data-ui-svg-caret`);e&&E.value&&E.value.removeChild(e);let t=L.value;if(!t||!E.value)return;let{x:n,y:r}=De.value,{row:a,col:o}=z.value,s=B.value*b.scale,c=t.childNodes[a];if(!c)return;let l=c.textContent.slice(0,o);l.endsWith(` `)&&(l+=`\xA0`);let u=document.createElementNS(i,`text`);u.setAttribute(`x`,n),u.setAttribute(`y`,r),u.setAttribute(`font-size`,s),u.setAttribute(`font-family`,`sans-serif`),u.textContent=l||``,E.value.appendChild(u);let d=u.getBBox();E.value.removeChild(u);let f=r+a*s*1.2,p=n+d.width,m=document.createElementNS(i,`rect`);m.setAttribute(`x`,p),m.setAttribute(`y`,f),m.setAttribute(`rx`,1),m.setAttribute(`width`,2),m.setAttribute(`height`,s),m.setAttribute(`fill`,C.value),m.setAttribute(`class`,`vue-data-ui-svg-caret`),m.setAttribute(`pointer-events`,`none`);let h=t.getAttribute(`transform`);h&&m.setAttribute(`transform`,h),E.value.appendChild(m),st(m)}function lt(e){L.value&&(L.value.contains(e.target)||ut(!1))}function ut(e=!1,t=!1){window.removeEventListener(`keydown`,rt),window.removeEventListener(`mousedown`,lt,!0),ot();let n=E.value?.querySelector(`.vue-data-ui-svg-caret`);n&&n.remove();let r=L.value,i=ke.value,a=R.value.every(e=>!e.length);t?(I.value=!1,L.value=null,R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=``,Ae.value=!1,Re(i)):(r&&E.value?.contains(r)&&(e||a?r.remove():r.style.pointerEvents=`all`),I.value=!1,L.value=null,R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=``,Ae.value=!1,W(i),r&&E.value?.contains(r)?Je(r):K())}let J=s(()=>n(b.color,.6));function dt(){if(!E.value)return;let e=E.value.querySelector(`.vue-data-ui-mask`);if(e&&E.value.removeChild(e),b.active){let e=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);e.setAttribute(`class`,`vue-data-ui-mask`),e.setAttribute(`width`,`100%`),e.setAttribute(`height`,`100%`),e.setAttribute(`fill`,`transparent`),e.setAttribute(`pointer-events`,`all`),E.value.insertBefore(e,E.value.firstChild)}}function Y(e){let t=b.svgRef;if(!t)return{x:0,y:0};let n=t.createSVGPoint(),r=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,i=r?r.clientX:e.clientX,a=r?r.clientY:e.clientY;n.x=i,n.y=a;let o=t.getScreenCTM()?.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function ft(e){let t=e.trim().split(/\s+/);if(t.length<4)return e;let n=t.slice(1).map(Number);if(n.length%2!=0)return e;let r=pt(n),i=[`M ${r[0]} ${r[1]}`];for(let e=2;e<r.length-2;e+=2){let t=r[e-2],n=r[e-1],a=r[e],o=r[e+1],s=(t+a)/2,c=(n+o)/2;i.push(`Q ${t} ${n} ${s} ${c}`)}let a=r[r.length-2],o=r[r.length-1];return i.push(`L ${a} ${o}`),i.join(` `)}function pt(e,t=1){let n=[...e];for(let r=2;r<e.length-2;r+=2){let i=e[r],a=e[r+1],o=e[r-2],s=e[r-1],c=e[r+2],l=e[r+3];n[r]=i+t*((o+c)/2-i),n[r+1]=a+t*((s+l)/2-a)}return n}function mt(e){let t=e.trim().split(/\s+/),n=``,r=``,i=null,a=null;for(let e=0;e<t.length;e+=1){let o=t[e];if(isNaN(o)){if(r=o,r===`M`||r===`L`)i=parseFloat(t[++e]),a=parseFloat(t[++e]),n+=`${r}${i} ${a}`;else if(r===`Q`){let r=parseFloat(t[++e]),o=parseFloat(t[++e]),s=parseFloat(t[++e]),c=parseFloat(t[++e]);n+=r===i&&o===a?`t${s-i} ${c-a}`:`q${r-i} ${o-a} ${s-i} ${c-a}`,i=s,a=c}}else{let s=parseFloat(o),c=parseFloat(t[++e]);if(r===`L`){let e=s-i,t=c-a;n+=e===0?`v${t}`:t===0?`h${e}`:`l${e} ${t}`,i=s,a=c}else if(r===`Q`){let r=s,o=c,l=parseFloat(t[++e]),u=parseFloat(t[++e]);n+=r===i&&o===a?`t${l-i} ${u-a}`:`q${r-i} ${o-a} ${l-i} ${u-a}`,i=l,a=u}}}return n}function ht(e){if(H.value!==`draw`||!b.active||!E.value||Fe(e)||Ue(e))return;e.cancelable&&e.preventDefault(),K(),F.value=U(),T.value=!0;let{x:t,y:n}=Y(e);ye.value={x:t,y:n},ve.value=`M ${t} ${n}`,D.value=document.createElementNS(i,`path`),D.value.setAttribute(`stroke`,C.value),D.value.setAttribute(`stroke-width`,w.value*b.scale),D.value.setAttribute(`fill`,`none`),D.value.setAttribute(`stroke-linecap`,`round`),D.value.setAttribute(`stroke-linejoin`,`round`),D.value.setAttribute(`class`,`vue-data-ui-doodle`),D.value.setAttribute(`data-doodle-id`,r()),D.value.setAttribute(`pointer-events`,`stroke`),E.value.appendChild(D.value)}function gt(e){if(e.cancelable&&e.preventDefault(),!T.value||!E.value||!D.value)return;let{x:t,y:n}=Y(e);ve.value+=` ${t} ${n}`,D.value.setAttribute(`d`,ve.value)}function _t(e){let t=b.svgRef;if(!t)return null;let n=t.querySelector(`defs#${Ee.value}`);n||(n=document.createElementNS(i,`defs`),n.setAttribute(`id`,Ee.value),t.appendChild(n));let a=String(e).trim();if(Te.has(a))return Te.get(a);let o=`arrow-${r()}`,s=document.createElementNS(i,`marker`);s.setAttribute(`id`,o),s.setAttribute(`markerUnits`,`strokeWidth`),s.setAttribute(`markerWidth`,`6`),s.setAttribute(`markerHeight`,`6`),s.setAttribute(`refX`,`4`),s.setAttribute(`refY`,`3`),s.setAttribute(`orient`,`auto`),s.setAttribute(`viewBox`,`0 0 6 6`);let c=document.createElementNS(i,`path`);return c.setAttribute(`d`,`M 0 0 L 6 3 L 0 6 z`),c.setAttribute(`fill`,e),c.setAttribute(`stroke`,`none`),s.appendChild(c),n.appendChild(s),Te.set(a,o),o}function vt(e){if(![`line`,`arrow`].includes(H.value)||!b.active||!E.value||Fe(e)||Ue(e))return;e.cancelable&&e.preventDefault(),K(),F.value=U(),T.value=!0;let{x:t,y:n}=Y(e);if(ye.value={x:t,y:n},O.value=document.createElementNS(i,`line`),O.value.setAttribute(`stroke`,C.value),O.value.setAttribute(`stroke-width`,w.value*b.scale),O.value.setAttribute(`stroke-linecap`,`round`),O.value.setAttribute(`class`,`vue-data-ui-doodle`),O.value.setAttribute(`data-doodle-id`,r()),O.value.setAttribute(`pointer-events`,`stroke`),O.value.setAttribute(`x1`,t),O.value.setAttribute(`y1`,n),O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n),H.value===`arrow`){let e=_t(C.value);e&&O.value.setAttribute(`marker-end`,`url(#${e})`)}E.value.appendChild(O.value)}function yt(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(H.value)||!T.value||!E.value||!O.value)return;let{x:t,y:n}=Y(e);O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n)}function bt(e){if(T.value&&E.value&&O.value){let{x:t,y:n}=Y(e);O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n),W(F.value),O.value=null,F.value=``}T.value=!1}function X(e){if(T.value&&E.value&&D.value){let{x:t,y:n}=Y(e);if(ye.value&&ye.value.x===t&&ye.value.y===n){D.value.remove();let e=document.createElementNS(i,`circle`);e.setAttribute(`cx`,t),e.setAttribute(`cy`,n),e.setAttribute(`r`,w.value*b.scale/2),e.setAttribute(`fill`,C.value),e.setAttribute(`class`,`vue-data-ui-doodle`),e.setAttribute(`data-doodle-id`,r()),e.setAttribute(`pointer-events`,`all`),E.value.appendChild(e)}else D.value.setAttribute(`d`,mt(ft(ve.value)));W(F.value),F.value=``,D.value=null}T.value=!1}function xt(){if(!x.value.length||!E.value)return;let e=U(),t=x.value.pop();S.value.push({state:e,mergeKey:null,timestamp:Date.now()}),Re(t.state)}function St(){if(!S.value.length||!E.value)return;let e=U(),t=S.value.pop();x.value.push({state:e,mergeKey:null,timestamp:Date.now()}),Re(t.state)}function Ct(){I.value&&ut(!1),K(),E.value&&(E.value.innerHTML=``),x.value=[],S.value=[],Oe.value=!1,ke.value=``,Ae.value=!1,F.value=``,dt()}y(H,()=>{b.active&&(Tt(),wt(),Z())});function wt(){b.svgRef&&b.active&&(b.svgRef.addEventListener(`mousedown`,Ye),b.svgRef.addEventListener(`mousemove`,Xe),b.svgRef.addEventListener(`mouseup`,q),b.svgRef.addEventListener(`mouseleave`,q),b.svgRef.addEventListener(`touchstart`,Ye,{passive:!1}),b.svgRef.addEventListener(`touchmove`,Xe,{passive:!1}),b.svgRef.addEventListener(`touchend`,q),b.svgRef.addEventListener(`touchcancel`,q),H.value===`draw`?(b.svgRef.addEventListener(`mousedown`,ht),b.svgRef.addEventListener(`mousemove`,gt),b.svgRef.addEventListener(`mouseup`,X),b.svgRef.addEventListener(`mouseleave`,X),b.svgRef.addEventListener(`touchstart`,ht,{passive:!1}),b.svgRef.addEventListener(`touchmove`,gt,{passive:!1}),b.svgRef.addEventListener(`touchend`,X),b.svgRef.addEventListener(`touchcancel`,X)):[`line`,`arrow`].includes(H.value)?(b.svgRef.addEventListener(`mousedown`,vt),b.svgRef.addEventListener(`mousemove`,yt),b.svgRef.addEventListener(`mouseup`,bt),b.svgRef.addEventListener(`touchstart`,vt,{passive:!1}),b.svgRef.addEventListener(`touchmove`,yt,{passive:!1}),b.svgRef.addEventListener(`touchend`,bt),b.svgRef.addEventListener(`touchcancel`,bt)):H.value===`text`&&(b.svgRef.addEventListener(`mousedown`,tt),b.svgRef.addEventListener(`touchstart`,tt,{passive:!1})),E.value&&(E.value.style.pointerEvents=`auto`))}function Tt(){b.svgRef&&(b.svgRef.removeEventListener(`mousedown`,Ye),b.svgRef.removeEventListener(`mousemove`,Xe),b.svgRef.removeEventListener(`mouseup`,q),b.svgRef.removeEventListener(`mouseleave`,q),b.svgRef.removeEventListener(`touchstart`,Ye),b.svgRef.removeEventListener(`touchmove`,Xe),b.svgRef.removeEventListener(`touchend`,q),b.svgRef.removeEventListener(`touchcancel`,q),b.svgRef.removeEventListener(`mousedown`,ht),b.svgRef.removeEventListener(`mousemove`,gt),b.svgRef.removeEventListener(`mouseup`,X),b.svgRef.removeEventListener(`mouseleave`,X),b.svgRef.removeEventListener(`touchstart`,ht),b.svgRef.removeEventListener(`touchmove`,gt),b.svgRef.removeEventListener(`touchend`,X),b.svgRef.removeEventListener(`touchcancel`,X),b.svgRef.removeEventListener(`mousedown`,vt),b.svgRef.removeEventListener(`mousemove`,yt),b.svgRef.removeEventListener(`mouseup`,bt),b.svgRef.removeEventListener(`touchstart`,vt),b.svgRef.removeEventListener(`touchmove`,yt),b.svgRef.removeEventListener(`touchend`,bt),b.svgRef.removeEventListener(`touchcancel`,bt),b.svgRef.removeEventListener(`mousedown`,tt),b.svgRef.removeEventListener(`touchstart`,tt),E.value&&(E.value.style.pointerEvents=`none`))}y(()=>b.active,e=>{e?wt():(K(),Tt()),Z()}),y(()=>b.active,()=>{p(()=>{dt()})}),y(()=>b.active,e=>{b.svgRef&&(e?b.svgRef.style.touchAction=`none`:b.svgRef.style.touchAction=``)},{immediate:!0});function Z(e=null){E.value&&(b.active?I.value?E.value.style.cursor=`text`:e&&Ie(e)?E.value.style.cursor=`pointer`:P.value||e&&Fe(e)?E.value.style.cursor=`move`:A.value&&k.value?E.value.style.cursor=`grabbing`:e&&k.value&&E.value.contains(k.value)&&He(k.value,e)?E.value.style.cursor=`grab`:H.value===`text`?E.value.style.cursor=`text`:[`line`,`arrow`].includes(H.value)?E.value.style.cursor=`crosshair`:E.value.style.cursor=Ne.value:E.value.style.cursor=``)}let Q=_(null),Et=_(null),Dt=_(!1),$=_({x:0,y:0}),Ot=_(null),kt=_(null),At=s(()=>({backgroundColor:b.backgroundColor,"--vue-ui-pen-and-paper-drag-x":`${$.value.x}px`,"--vue-ui-pen-and-paper-drag-y":`${$.value.y}px`}));function jt(){return{width:document.documentElement.clientWidth||window.innerWidth,height:document.documentElement.clientHeight||window.innerHeight}}function Mt(){if(!Q.value)return null;let e=[Q.value,Q.value.querySelector(`.vue-ui-pen-and-paper-drag-handle`),Q.value.querySelector(`.vertical-range`)].filter(Boolean).map(e=>e.getBoundingClientRect());return{left:Math.min(...e.map(e=>e.left)),top:Math.min(...e.map(e=>e.top)),right:Math.max(...e.map(e=>e.right)),bottom:Math.max(...e.map(e=>e.bottom))}}function Nt(e){if(e.pointerType===`mouse`&&e.button!==0||!Q.value)return;e.preventDefault(),e.stopPropagation();let t=Mt();t&&(Dt.value=!0,kt.value=e.pointerId,Ot.value={clientX:e.clientX,clientY:e.clientY,offsetX:$.value.x,offsetY:$.value.y,rect:t},window.addEventListener(`pointermove`,Pt),window.addEventListener(`pointerup`,Ft),window.addEventListener(`pointercancel`,Ft))}function Pt(e){if(!Dt.value||!Ot.value||e.pointerId!==kt.value)return;e.preventDefault();let t=Ot.value,{width:n,height:r}=jt(),i=e.clientX-t.clientX,a=e.clientY-t.clientY,o=Math.min(Math.max(i,-t.rect.left),n-t.rect.right),s=Math.min(Math.max(a,-t.rect.top),r-t.rect.bottom);$.value={x:t.offsetX+o,y:t.offsetY+s}}function Ft(e){(e?.pointerId===void 0||kt.value===null||e.pointerId===kt.value)&&(Dt.value=!1,Ot.value=null,kt.value=null,window.removeEventListener(`pointermove`,Pt),window.removeEventListener(`pointerup`,Ft),window.removeEventListener(`pointercancel`,Ft))}function It(){if(!Q.value||!b.active)return;let e=Mt();if(!e)return;let{width:t,height:n}=jt(),r=0,i=0;e.left<0?r=-e.left:e.right>t&&(r=t-e.right),e.top<0?i=-e.top:e.bottom>n&&(i=n-e.bottom),(r||i)&&($.value={x:$.value.x+r,y:$.value.y+i})}return te(()=>{window.addEventListener(`resize`,It),p(()=>{b.svgRef&&(E.value=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),E.value.setAttribute(`class`,`vue-data-ui-doodles`),b.svgRef.appendChild(E.value),Z(),b.active?wt():Tt(),dt())})}),y(()=>b.active,async e=>{e?(await p(),Et.value?.focus()):(Ft(),$.value={x:0,y:0})},{flush:`post`}),ee(()=>{ot(),K(),Ft(),window.removeEventListener(`resize`,It),E.value&&b.svgRef&&(E.value.remove(),Tt())}),(n,r)=>e.active?(ne(),l(`div`,{key:0,ref_key:`menuRef`,ref:Q,"data-dom-to-png-ignore":``,class:m([`vue-ui-pen-and-paper-actions`,{"vue-ui-pen-and-paper-actions-dragging":Dt.value}]),style:g(At.value)},[u(`button`,{type:`button`,class:`vue-ui-pen-and-paper-drag-handle`,"aria-label":`Move drawing toolbar`,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,color:e.color}),onPointerdown:Nt},[(ne(),l(`svg`,le,[u(`circle`,{fill:e.color,cx:`3`,cy:`3`,r:`0.7`},null,8,ue),u(`circle`,{fill:e.color,cx:`3`,cy:`6`,r:`0.7`},null,8,de),u(`circle`,{fill:e.color,cx:`3`,cy:`9`,r:`0.7`},null,8,fe)]))],36),u(`button`,{ref_key:`buttonToggle`,ref:Et,class:`vue-ui-pen-and-paper-action`,onClick:r[0]||=e=>_e(`close`),style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-close`,{},()=>[d(a,{name:`close`,stroke:e.color},null,8,[`stroke`])])],4),u(`button`,{class:`vue-ui-pen-and-paper-action`,tabindex:`-1`,style:g(`padding: 0 !important; cursor: ${e.isCursorPointer?`pointer`:`default`}`)},[d(o,{value:C.value,"onUpdate:value":r[1]||=e=>C.value=e,backgroundColor:e.backgroundColor,buttonBorderColor:J.value,isCursorPointer:e.isCursorPointer,palette:e.palette},{"annotator-action-color":oe(({color:e})=>[v(n.$slots,`annotator-action-color`,h(f({color:e})))]),_:3},8,[`value`,`backgroundColor`,`buttonBorderColor`,`isCursorPointer`,`palette`])],4),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-active":H.value===`text`}]),onClick:r[2]||=e=>et(),style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-draw`,h(f({mode:H.value})),()=>[d(a,{name:Me[H.value],stroke:e.color},null,8,[`name`,`stroke`])]),u(`div`,{style:g({position:`absolute`,bottom:`-20px`,color:J.value,width:`100%`,textAlign:`center`,fontSize:`12px`,fontVariantNumeric:`tabular-nums`})},re(ie(t)({v:H.value===`text`?Math.round(B.value):Math.round(w.value),s:`px`,r:1})),5)],6),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!x.value.length}]),disabled:!x.value.length,onClick:xt,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,marginTop:`20px`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-undo`,h(f({disabled:!x.value.length})),()=>[d(a,{name:`refresh`,stroke:e.color},null,8,[`stroke`])])],14,pe),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!S.value.length}]),onClick:St,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-redo`,h(f({disabled:!S.value.length})),()=>[d(a,{name:`refresh`,stroke:e.color,style:{transform:`scaleX(-1)`}},null,8,[`stroke`])])],6),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!x.value.length}]),onClick:Ct,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-delete`,h(f({disabled:!x.value.length})),()=>[d(a,{name:`trash`,stroke:e.color},null,8,[`stroke`])])],6),H.value===`text`?se((ne(),l(`input`,{key:0,ref:`range`,type:`range`,class:`vertical-range`,min:3,max:48,step:1,"onUpdate:modelValue":r[3]||=e=>B.value=e,style:g({accentColor:e.color})},null,4)),[[ae,B.value]]):se((ne(),l(`input`,{key:1,ref:`range`,type:`range`,class:`vertical-range`,min:.5,max:12,step:.1,"onUpdate:modelValue":r[4]||=e=>w.value=e,style:g({accentColor:e.color})},null,4)),[[ae,w.value]])],6)):c(``,!0)}};export{b as n,ce as t};
@@ -1 +1 @@
1
- import{B as e,M as t}from"./lib-DqD8nbyX.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createCommentVNode as i,createElementBlock as a,normalizeClass as o,normalizeStyle as s,openBlock as c}from"vue";var l=[`cx`,`cy`,`r`,`fill`,`stroke`,`stroke-width`],u=[`d`,`fill`,`stroke`,`stroke-width`],d=[`points`,`fill`,`stroke`,`stroke-width`],f=/*#__PURE__*/ n({__name:`Shape`,props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3},transition:{type:String},still:{type:Boolean}},emits:[`mouseover`,`mouseout`,`click`],setup(n,{emit:f}){let p=n,m=f;function h(e){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[e]}let g=r(()=>h(p.shape)),_=r(()=>p.shape===`star`?e({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1)}):null),v=r(()=>t({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1),sides:g.value.points,rotation:g.value.rotation}).path);return(e,t)=>(c(),a(`g`,null,[g.value&&g.value.points===1?(c(),a(`circle`,{key:0,class:o([`vdui-shape-circle`,{"vdui-shape-no-transition":n.still}]),cx:n.plot.x,cy:n.plot.y,r:p.radius*(p.isSelected?p.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[0]||=e=>m(`mouseover`),onMouseout:t[1]||=e=>m(`mouseout`),onClick:t[2]||=e=>m(`click`),style:s({transition:n.transition})},null,46,l)):i(``,!0),g.value&&g.value.points>=n.limit?(c(),a(`path`,{key:1,class:o([`vdui-shape-polygon`,{"vdui-shape-no-transition":n.still}]),d:v.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[3]||=e=>m(`mouseover`),onMouseout:t[4]||=e=>m(`mouseout`),onClick:t[5]||=e=>m(`click`),style:s({transition:n.transition})},null,46,u)):i(``,!0),_.value?(c(),a(`polygon`,{key:2,class:o([`vdui-shape-star`,{"vdui-shape-no-transition":n.still}]),points:_.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[6]||=e=>m(`mouseover`),onMouseout:t[7]||=e=>m(`mouseout`),onClick:t[8]||=e=>m(`click`),style:s({transition:n.transition})},null,46,d)):i(``,!0)]))}},[[`__scopeId`,`data-v-848f7c20`]]);export{f as t};
1
+ import{B as e,M as t}from"./lib-rPeBMZrn.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createCommentVNode as i,createElementBlock as a,normalizeClass as o,normalizeStyle as s,openBlock as c}from"vue";var l=[`cx`,`cy`,`r`,`fill`,`stroke`,`stroke-width`],u=[`d`,`fill`,`stroke`,`stroke-width`],d=[`points`,`fill`,`stroke`,`stroke-width`],f=/*#__PURE__*/ n({__name:`Shape`,props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3},transition:{type:String},still:{type:Boolean}},emits:[`mouseover`,`mouseout`,`click`],setup(n,{emit:f}){let p=n,m=f;function h(e){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[e]}let g=r(()=>h(p.shape)),_=r(()=>p.shape===`star`?e({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1)}):null),v=r(()=>t({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1),sides:g.value.points,rotation:g.value.rotation}).path);return(e,t)=>(c(),a(`g`,null,[g.value&&g.value.points===1?(c(),a(`circle`,{key:0,class:o([`vdui-shape-circle`,{"vdui-shape-no-transition":n.still}]),cx:n.plot.x,cy:n.plot.y,r:p.radius*(p.isSelected?p.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[0]||=e=>m(`mouseover`),onMouseout:t[1]||=e=>m(`mouseout`),onClick:t[2]||=e=>m(`click`),style:s({transition:n.transition})},null,46,l)):i(``,!0),g.value&&g.value.points>=n.limit?(c(),a(`path`,{key:1,class:o([`vdui-shape-polygon`,{"vdui-shape-no-transition":n.still}]),d:v.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[3]||=e=>m(`mouseover`),onMouseout:t[4]||=e=>m(`mouseout`),onClick:t[5]||=e=>m(`click`),style:s({transition:n.transition})},null,46,u)):i(``,!0),_.value?(c(),a(`polygon`,{key:2,class:o([`vdui-shape-star`,{"vdui-shape-no-transition":n.still}]),points:_.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[6]||=e=>m(`mouseover`),onMouseout:t[7]||=e=>m(`mouseout`),onClick:t[8]||=e=>m(`click`),style:s({transition:n.transition})},null,46,d)):i(``,!0)]))}},[[`__scopeId`,`data-v-848f7c20`]]);export{f as t};