mixdashboards 1.0.32 → 1.0.39

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 (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1,1864 @@
1
+ import { openBlock as H, createElementBlock as W, normalizeStyle as st, normalizeClass as lt, createCommentVNode as ht, renderSlot as Q } from "vue";
2
+ const q = 3.141592653589793 * 3e3 / 180, T = 3.141592653589793, U = 6378245, $ = 0.006693421622965943;
3
+ function ut(t, l) {
4
+ var n = Math.sqrt(t * t + l * l) + 2e-5 * Math.sin(l * q), c = Math.atan2(l, t) + 3e-6 * Math.cos(t * q), y = n * Math.cos(c) + 65e-4, m = n * Math.sin(c) + 6e-3;
5
+ return [y, m];
6
+ }
7
+ function pt(t, l) {
8
+ if (ft(t, l))
9
+ return [t, l];
10
+ {
11
+ var n = dt(t - 105, l - 35), c = ct(t - 105, l - 35), y = l / 180 * T, m = Math.sin(y);
12
+ m = 1 - $ * m * m;
13
+ var e = Math.sqrt(m);
14
+ n = n * 180 / (U * (1 - $) / (m * e) * T), c = c * 180 / (U / e * Math.cos(y) * T);
15
+ const s = l + n;
16
+ return [t + c, s];
17
+ }
18
+ }
19
+ function At(t, l) {
20
+ const n = pt(t, l);
21
+ return ut(n[0], n[1]);
22
+ }
23
+ function dt(t, l) {
24
+ var n = -100 + 2 * t + 3 * l + 0.2 * l * l + 0.1 * t * l + 0.2 * Math.sqrt(Math.abs(t));
25
+ return n += (20 * Math.sin(6 * t * T) + 20 * Math.sin(2 * t * T)) * 2 / 3, n += (20 * Math.sin(l * T) + 40 * Math.sin(l / 3 * T)) * 2 / 3, n += (160 * Math.sin(l / 12 * T) + 320 * Math.sin(l * T / 30)) * 2 / 3, n;
26
+ }
27
+ function ct(t, l) {
28
+ var n = 300 + t + 2 * l + 0.1 * t * t + 0.1 * t * l + 0.1 * Math.sqrt(Math.abs(t));
29
+ return n += (20 * Math.sin(6 * t * T) + 20 * Math.sin(2 * t * T)) * 2 / 3, n += (20 * Math.sin(t * T) + 40 * Math.sin(t / 3 * T)) * 2 / 3, n += (150 * Math.sin(t / 12 * T) + 300 * Math.sin(t / 30 * T)) * 2 / 3, n;
30
+ }
31
+ function ft(t, l) {
32
+ return t < 72.004 || t > 137.8347 || l < 0.8293 || l > 55.8271 || !1;
33
+ }
34
+ var gt = {
35
+ "bm-map": [
36
+ "click",
37
+ "dblclick",
38
+ "rightclick",
39
+ "rightdblclick",
40
+ "maptypechange",
41
+ "mousemove",
42
+ "mouseover",
43
+ "mouseout",
44
+ "movestart",
45
+ "moving",
46
+ "moveend",
47
+ "zoomstart",
48
+ "zoomend",
49
+ "addoverlay",
50
+ "addcontrol",
51
+ "removecontrol",
52
+ "removeoverlay",
53
+ "clearoverlays",
54
+ "dragstart",
55
+ "dragging",
56
+ "dragend",
57
+ "addtilelayer",
58
+ "removetilelayer",
59
+ "load",
60
+ "resize",
61
+ "hotspotclick",
62
+ "hotspotover",
63
+ "hotspotout",
64
+ "tilesloaded",
65
+ "touchstart",
66
+ "touchmove",
67
+ "touchend",
68
+ "longpress"
69
+ ],
70
+ "bm-geolocation": [
71
+ "locationSuccess",
72
+ "locationError"
73
+ ],
74
+ "bm-overview-map": [
75
+ "viewchanged",
76
+ "viewchanging"
77
+ ],
78
+ "bm-marker": [
79
+ "click",
80
+ "dblclick",
81
+ "mousedown",
82
+ "mouseup",
83
+ "mouseout",
84
+ "mouseover",
85
+ "remove",
86
+ "infowindowclose",
87
+ "infowindowopen",
88
+ "dragstart",
89
+ "dragging",
90
+ "dragend",
91
+ "rightclick"
92
+ ],
93
+ "bm-polyline": [
94
+ "click",
95
+ "dblclick",
96
+ "mousedown",
97
+ "mouseup",
98
+ "mouseout",
99
+ "mouseover",
100
+ "remove",
101
+ "lineupdate"
102
+ ],
103
+ "bm-polygon": [
104
+ "click",
105
+ "dblclick",
106
+ "mousedown",
107
+ "mouseup",
108
+ "mouseout",
109
+ "mouseover",
110
+ "remove",
111
+ "lineupdate"
112
+ ],
113
+ "bm-circle": [
114
+ "click",
115
+ "dblclick",
116
+ "mousedown",
117
+ "mouseup",
118
+ "mouseout",
119
+ "mouseover",
120
+ "remove",
121
+ "lineupdate"
122
+ ],
123
+ "bm-label": [
124
+ "click",
125
+ "dblclick",
126
+ "mousedown",
127
+ "mouseup",
128
+ "mouseout",
129
+ "mouseover",
130
+ "remove",
131
+ "rightclick"
132
+ ],
133
+ "bm-info-window": [
134
+ "close",
135
+ "open",
136
+ "maximize",
137
+ "restore",
138
+ "clickclose"
139
+ ],
140
+ "bm-ground": [
141
+ "click",
142
+ "dblclick"
143
+ ],
144
+ "bm-autocomplete": [
145
+ "onconfirm",
146
+ "onhighlight"
147
+ ],
148
+ "bm-point-collection": [
149
+ "click",
150
+ "mouseover",
151
+ "mouseout"
152
+ ]
153
+ };
154
+ function nt(t, l) {
155
+ const n = l || gt[this.$options.name];
156
+ n && n.forEach((c) => {
157
+ let m = c.slice(0, 2) === "on" ? c.slice(2) : c;
158
+ const e = this.$attrs["on" + m.replace(m[0], m[0].toUpperCase())];
159
+ e && t.addEventListener(c, e);
160
+ });
161
+ }
162
+ function G(t, l = {}) {
163
+ const { lng: n, lat: c } = l;
164
+ return new t.Point(n, c);
165
+ }
166
+ function E(t, l = {}) {
167
+ const { width: n, height: c } = l;
168
+ return new t.Size(n, c);
169
+ }
170
+ function tt(t, l = {}) {
171
+ const { url: n, size: c, opts: y = {} } = l;
172
+ let m = {
173
+ anchor: y.anchor && E(t, y.anchor),
174
+ imageSize: y.imageSize && E(t, y.imageSize),
175
+ imageOffset: y.imageOffset && E(t, y.imageOffset),
176
+ infoWindowAnchor: y.infoWindowAnchor && E(t, y.infoWindowAnchor),
177
+ printImageUrl: y.printImageUrl
178
+ };
179
+ return X(m), new t.Icon(n, E(t, c), m);
180
+ }
181
+ function mt(t, l = {}) {
182
+ const { content: n, opts: c } = l;
183
+ let y = {
184
+ offset: c.offset && E(t, c.offset),
185
+ position: c.position && G(t, c.position),
186
+ enableMassClear: c.enableMassClear
187
+ };
188
+ return X(y), new t.Label(n, y);
189
+ }
190
+ const et = (t) => Object.prototype.toString.call(t).slice(8, -1), X = (t) => {
191
+ Object.keys(t).forEach((l) => {
192
+ typeof t[l] == "undefined" && delete t[l];
193
+ });
194
+ };
195
+ let F = {
196
+ v: "3.0",
197
+ type: "API"
198
+ };
199
+ const vt = (t = {}) => {
200
+ F = Object.assign(F, t), F.ak || console.error("请配置ak:百度地图开发者平台申请的密钥");
201
+ }, D = () => F;
202
+ var N = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Y = { exports: {} };
203
+ function K() {
204
+ }
205
+ K.prototype = {
206
+ on: function(t, l, n) {
207
+ var c = this.e || (this.e = {});
208
+ return (c[t] || (c[t] = [])).push({
209
+ fn: l,
210
+ ctx: n
211
+ }), this;
212
+ },
213
+ once: function(t, l, n) {
214
+ var c = this;
215
+ function y() {
216
+ c.off(t, y), l.apply(n, arguments);
217
+ }
218
+ return y._ = l, this.on(t, y, n);
219
+ },
220
+ emit: function(t) {
221
+ var l = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), c = 0, y = n.length;
222
+ for (c; c < y; c++)
223
+ n[c].fn.apply(n[c].ctx, l);
224
+ return this;
225
+ },
226
+ off: function(t, l) {
227
+ var n = this.e || (this.e = {}), c = n[t], y = [];
228
+ if (c && l)
229
+ for (var m = 0, e = c.length; m < e; m++)
230
+ c[m].fn !== l && c[m].fn._ !== l && y.push(c[m]);
231
+ return y.length ? n[t] = y : delete n[t], this;
232
+ }
233
+ };
234
+ Y.exports = K;
235
+ Y.exports.TinyEmitter = K;
236
+ var yt = Y.exports, R = new yt(), A = {
237
+ $on: (...t) => R.on(...t),
238
+ $once: (...t) => R.once(...t),
239
+ $off: (...t) => R.off(...t),
240
+ $emit: (...t) => R.emit(...t)
241
+ };
242
+ const it = {
243
+ API: {
244
+ "2.0": {
245
+ setMapStyle: "setMapStyle",
246
+ NavigationControl: "NavigationControl"
247
+ },
248
+ "3.0": {
249
+ setMapStyle: "setMapStyleV2",
250
+ NavigationControl: "NavigationControl"
251
+ }
252
+ },
253
+ WebGL: {
254
+ setMapStyle: "setMapStyleV2",
255
+ NavigationControl: "NavigationControl3D"
256
+ }
257
+ }, j = (t) => {
258
+ const l = D();
259
+ return l.type == "WebGL" ? it[l.type][t] : it[l.type][l.v][t];
260
+ };
261
+ let rt;
262
+ new Promise((t) => {
263
+ rt = t;
264
+ });
265
+ var V = (t, l) => {
266
+ const n = t.__vccOpts || t;
267
+ for (const [c, y] of l)
268
+ n[c] = y;
269
+ return n;
270
+ };
271
+ const _t = {
272
+ name: "bm-map",
273
+ inheritAttrs: !1,
274
+ emits: ["ready", "init", "animationed"],
275
+ props: {
276
+ ak: {
277
+ type: String
278
+ },
279
+ v: {
280
+ type: String
281
+ },
282
+ type: {
283
+ type: String
284
+ },
285
+ center: {
286
+ type: [Object, String]
287
+ },
288
+ zoom: {
289
+ type: Number
290
+ },
291
+ minZoom: {
292
+ type: Number
293
+ },
294
+ maxZoom: {
295
+ type: Number
296
+ },
297
+ highResolution: {
298
+ type: Boolean,
299
+ default: !0
300
+ },
301
+ mapClick: {
302
+ type: Boolean,
303
+ default: !0
304
+ },
305
+ mapType: {
306
+ type: String
307
+ },
308
+ dragging: {
309
+ type: Boolean,
310
+ default: !0
311
+ },
312
+ scrollWheelZoom: {
313
+ type: Boolean,
314
+ default: !1
315
+ },
316
+ doubleClickZoom: {
317
+ type: Boolean,
318
+ default: !0
319
+ },
320
+ keyboard: {
321
+ type: Boolean,
322
+ default: !0
323
+ },
324
+ inertialDragging: {
325
+ type: Boolean,
326
+ default: !0
327
+ },
328
+ continuousZoom: {
329
+ type: Boolean,
330
+ default: !0
331
+ },
332
+ pinchToZoom: {
333
+ type: Boolean,
334
+ default: !0
335
+ },
336
+ autoResize: {
337
+ type: Boolean,
338
+ default: !0
339
+ },
340
+ theme: {
341
+ type: Array
342
+ },
343
+ mapStyle: {
344
+ type: Object
345
+ },
346
+ hasAnimation: {
347
+ type: Boolean,
348
+ default: !0
349
+ },
350
+ defaultAnimation: {
351
+ type: Boolean,
352
+ default: !0
353
+ },
354
+ preserveDrawingBuffer: {
355
+ type: Boolean,
356
+ default: !1
357
+ }
358
+ },
359
+ watch: {
360
+ center(t, l) {
361
+ const { map: n, zoom: c } = this;
362
+ et(t) === "String" && t !== l && this.setCenterZoom(n, t, c);
363
+ },
364
+ "center.lng"(t, l) {
365
+ const { BMap: n, map: c, zoom: y, center: m } = this;
366
+ t !== l && t >= -180 && t <= 180 && this.setCenterZoom(c, new n.Point(t, m.lat), y);
367
+ },
368
+ "center.lat"(t, l) {
369
+ const { BMap: n, map: c, zoom: y, center: m } = this;
370
+ t !== l && t >= -74 && t <= 74 && this.setCenterZoom(c, new n.Point(m.lng, t), y);
371
+ },
372
+ zoom(t, l) {
373
+ const { map: n } = this;
374
+ t !== l && t >= 3 && t <= 19 && n.setZoom(t);
375
+ },
376
+ minZoom(t) {
377
+ const { map: l } = this;
378
+ l.setMinZoom(t);
379
+ },
380
+ maxZoom(t) {
381
+ const { map: l } = this;
382
+ l.setMaxZoom(t);
383
+ },
384
+ highResolution() {
385
+ this.reset();
386
+ },
387
+ mapClick() {
388
+ this.reset();
389
+ },
390
+ mapType(t) {
391
+ const { map: l } = this;
392
+ l.setMapType(window[t]);
393
+ },
394
+ dragging(t) {
395
+ const { map: l } = this;
396
+ t ? l.enableDragging() : l.disableDragging();
397
+ },
398
+ scrollWheelZoom(t) {
399
+ const { map: l } = this;
400
+ t ? l.enableScrollWheelZoom() : l.disableScrollWheelZoom();
401
+ },
402
+ doubleClickZoom(t) {
403
+ const { map: l } = this;
404
+ t ? l.enableDoubleClickZoom() : l.disableDoubleClickZoom();
405
+ },
406
+ keyboard(t) {
407
+ const { map: l } = this;
408
+ t ? l.enableKeyboard() : l.disableKeyboard();
409
+ },
410
+ inertialDragging(t) {
411
+ const { map: l } = this;
412
+ t ? l.enableInertialDragging() : l.disableInertialDragging();
413
+ },
414
+ continuousZoom(t) {
415
+ const { map: l } = this;
416
+ t ? l.enableContinuousZoom() : l.disableContinuousZoom();
417
+ },
418
+ pinchToZoom(t) {
419
+ const { map: l } = this;
420
+ t ? l.enablePinchToZoom() : l.disablePinchToZoom();
421
+ },
422
+ autoResize(t) {
423
+ const { map: l } = this;
424
+ t ? l.enableAutoResize() : l.disableAutoResize();
425
+ },
426
+ theme(t) {
427
+ const { map: l } = this;
428
+ l[j("setMapStyle")]({ styleJson: t });
429
+ },
430
+ mapStyle: {
431
+ handler(t) {
432
+ const { map: l, theme: n } = this;
433
+ !n && l[j("setMapStyle")](t);
434
+ },
435
+ deep: !0
436
+ }
437
+ },
438
+ methods: {
439
+ setMapOptions() {
440
+ const { map: t, minZoom: l, maxZoom: n, mapType: c, dragging: y, scrollWheelZoom: m, doubleClickZoom: e, keyboard: s, inertialDragging: i, continuousZoom: r, pinchToZoom: p, autoResize: d } = this;
441
+ l && t.setMinZoom(l), n && t.setMaxZoom(n), c && t.setMapType(window[c]), y ? t.enableDragging() : t.disableDragging(), m ? t.enableScrollWheelZoom() : t.disableScrollWheelZoom(), e ? t.enableDoubleClickZoom() : t.disableDoubleClickZoom(), s ? t.enableKeyboard() : t.disableKeyboard(), i ? t.enableInertialDragging() : t.disableInertialDragging(), r ? t.enableContinuousZoom() : t.disableContinuousZoom(), p ? t.enablePinchToZoom() : t.disablePinchToZoom(), d ? t.enableAutoResize() : t.disableAutoResize();
442
+ },
443
+ init(t) {
444
+ if (this.map)
445
+ return;
446
+ let l = this.$refs.view;
447
+ const n = new t.Map(l, { enableHighResolution: this.highResolution, enableMapClick: this.mapClick, preserveDrawingBuffer: this.preserveDrawingBuffer }), c = Math.random().toString();
448
+ this.mapKey = c, this.map = n;
449
+ const { setMapOptions: y, zoom: m, getCenterPoint: e, theme: s, mapStyle: i } = this;
450
+ y(), nt.call(this, n), n.reset(), this.setCenterZoom(n, e(), m), s ? n[j("setMapStyle")]({ styleJson: s }) : i && n[j("setMapStyle")](i);
451
+ let r = 0;
452
+ this.$emit("init", { BMap: t, map: n, mapKey: c }), A.$emit("init", { BMap: t, map: n, mapKey: c }), n.addEventListener("tilesloaded", () => {
453
+ r || (r++, this.$emit("ready", { BMap: t, map: n, mapKey: c }), A.$emit("ready", { BMap: t, map: n, mapKey: c }));
454
+ }), n.addEventListener("loaded", () => {
455
+ this.$emit("loaded", { BMap: t, map: n, mapKey: c }), A.$emit("loaded", { BMap: t, map: n, mapKey: c });
456
+ });
457
+ },
458
+ setCenterZoom(t, l, n) {
459
+ D().type === "WebGL" && (!this.hasAnimation || !this.defaultAnimation) ? t.setCenter(l, {
460
+ noAnimation: !this.hasAnimation,
461
+ callback: () => {
462
+ t.setZoom(n, {
463
+ noAnimation: !this.hasAnimation,
464
+ zoomCenter: l,
465
+ callback: () => {
466
+ this.$emit("animationed", { BMap: this.BMap, map: t });
467
+ }
468
+ });
469
+ }
470
+ }) : t.centerAndZoom(l, n);
471
+ },
472
+ getCenterPoint() {
473
+ const { center: t, BMap: l } = this;
474
+ switch (et(t)) {
475
+ case "String":
476
+ return t;
477
+ case "Object":
478
+ return new l.Point(t.lng, t.lat);
479
+ default:
480
+ return new l.Point();
481
+ }
482
+ },
483
+ initMap(t) {
484
+ this.BMap = t, this.init(t), rt(t);
485
+ },
486
+ getMapScript() {
487
+ return window.BMap ? window.BMap._preloader ? window.BMap._preloader : Promise.resolve(window.BMap) : (window.BMap = {}, window.BMap._preloader = new Promise((t, l) => {
488
+ window._initBaiduMap = function() {
489
+ window.BMap = D().type == "WebGL" ? window.BMapGL : window.BMap, t(window.BMap), window.document.body.removeChild(n), window.BMap._preloader = null, window._initBaiduMap = null;
490
+ };
491
+ const n = document.createElement("script");
492
+ window.document.body.appendChild(n), D().type === "WebGL" ? n.src = `https://api.map.baidu.com/api?v=1.0&type=webgl&ak=${D().ak}&callback=_initBaiduMap` : n.src = `https://api.map.baidu.com/api?v=${D().v}&ak=${D().ak}&callback=_initBaiduMap`;
493
+ }), window.BMap._preloader);
494
+ },
495
+ reset() {
496
+ const { getMapScript: t, initMap: l } = this;
497
+ t().then(l);
498
+ }
499
+ },
500
+ created() {
501
+ const t = {};
502
+ this.ak && (t.ak = this.ak), this.v && (t.v = this.v), this.type && (t.type = this.type), vt(t);
503
+ },
504
+ mounted() {
505
+ this.reset();
506
+ },
507
+ data() {
508
+ return {
509
+ hasBmView: !1,
510
+ map: null,
511
+ BMap: null,
512
+ name: "bm-map",
513
+ mapKey: ""
514
+ };
515
+ }
516
+ }, wt = {
517
+ key: 0,
518
+ ref: "view",
519
+ style: { width: "100%", height: "100%" }
520
+ };
521
+ function Mt(t, l, n, c, y, m) {
522
+ return H(), W("div", {
523
+ class: lt(t.$attrs.class),
524
+ style: st(t.$attrs.style)
525
+ }, [
526
+ y.hasBmView ? ht("", !0) : (H(), W("div", wt, null, 512)),
527
+ Q(t.$slots, "default")
528
+ ], 6);
529
+ }
530
+ var It = /* @__PURE__ */ V(_t, [["render", Mt]]);
531
+ const bt = {
532
+ control: {
533
+ unload: "removeControl"
534
+ },
535
+ layer: {
536
+ unload: "removeTileLayer"
537
+ },
538
+ overlay: {
539
+ unload: "removeOverlay"
540
+ },
541
+ contextMenu: {
542
+ unload: "removeContextMenu"
543
+ }
544
+ }, I = (t) => t.abstract || t.name !== "bm-map" ? I(t.$parent) : t;
545
+ function xt() {
546
+ const { unload: t, renderByParent: l, $parent: n, ready: c } = this;
547
+ A.$off("ready", c), l && n.reload(), t();
548
+ }
549
+ const Bt = (t = {}) => ({
550
+ emits: ["ready", "init"],
551
+ computed: {
552
+ renderByParent() {
553
+ return this.$parent.preventChildrenRender;
554
+ }
555
+ },
556
+ created() {
557
+ const l = I(this.$parent), n = l.map, { ready: c, _init: y } = this;
558
+ n ? c() : A.$on("ready", ({ mapKey: m }) => this.emitCallBack(m, c)), n ? this.init({ BMap: l.BMap, map: n }) : A.$on("init", ({ mapKey: m }) => this.emitCallBack(m, y));
559
+ },
560
+ mounted() {
561
+ const n = I(this.$parent).map, { mountedReady: c } = this;
562
+ n ? c() : A.$on("ready", ({ mapKey: y }) => this.emitCallBack(y, c));
563
+ },
564
+ unmounted: xt,
565
+ methods: {
566
+ emitCallBack(l, n) {
567
+ const c = I(this.$parent);
568
+ l == c.mapKey && n();
569
+ },
570
+ _init() {
571
+ const l = I(this.$parent), n = this.BMap = l.BMap, c = this.map = l.map;
572
+ this.init({ BMap: n, map: c });
573
+ },
574
+ init() {
575
+ },
576
+ ready() {
577
+ const l = I(this.$parent), n = this.BMap = l.BMap, c = this.map = l.map;
578
+ this.load(), this.$emit("ready", {
579
+ BMap: n,
580
+ map: c
581
+ });
582
+ },
583
+ mountedReady() {
584
+ this.mountedLoad();
585
+ },
586
+ transmitEvent(l) {
587
+ this.$emit(l.type.replace(/^on/, ""), l);
588
+ },
589
+ reload() {
590
+ this && this.BMap && this.$nextTick(() => {
591
+ this.unload(), this.$nextTick(() => {
592
+ this.load(), this.mountedLoad();
593
+ });
594
+ });
595
+ },
596
+ unload() {
597
+ const { map: l, originInstance: n } = this;
598
+ try {
599
+ switch (t.type) {
600
+ case "search":
601
+ return n.clearResults();
602
+ case "autoComplete":
603
+ case "lushu":
604
+ return n.dispose();
605
+ case "markerClusterer":
606
+ return n.clearMarkers();
607
+ default:
608
+ l[bt[t.type].unload](n);
609
+ }
610
+ } catch (c) {
611
+ }
612
+ },
613
+ mountedLoad() {
614
+ }
615
+ }
616
+ });
617
+ var ot = (t) => Bt({ type: t });
618
+ const Ct = {
619
+ name: "bm-marker",
620
+ mixins: [ot("overlay")],
621
+ inject: {
622
+ Cluster: {
623
+ default: () => ({})
624
+ }
625
+ },
626
+ props: {
627
+ position: {},
628
+ offset: {},
629
+ icon: {},
630
+ massClear: {
631
+ type: Boolean,
632
+ default: !0
633
+ },
634
+ dragging: {
635
+ type: Boolean,
636
+ default: !1
637
+ },
638
+ clicking: {
639
+ type: Boolean,
640
+ default: !0
641
+ },
642
+ raiseOnDrag: {
643
+ type: Boolean,
644
+ default: !1
645
+ },
646
+ draggingCursor: {
647
+ type: String
648
+ },
649
+ rotation: {
650
+ type: Number
651
+ },
652
+ shadow: {
653
+ type: Object
654
+ },
655
+ title: {
656
+ type: String
657
+ },
658
+ label: {
659
+ type: Object
660
+ },
661
+ animation: {
662
+ type: String
663
+ },
664
+ top: {
665
+ type: Boolean,
666
+ default: !1
667
+ },
668
+ zIndex: {
669
+ type: Number,
670
+ default: 0
671
+ }
672
+ },
673
+ watch: {
674
+ "position.lng"(t, l) {
675
+ const { BMap: n, originInstance: c, position: y, renderByParent: m, $parent: e } = this;
676
+ t !== l && t >= -180 && t <= 180 && c.setPosition(G(n, { lng: t, lat: y.lat })), m && e.reload();
677
+ },
678
+ "position.lat"(t, l) {
679
+ const { BMap: n, originInstance: c, position: y, renderByParent: m, $parent: e } = this;
680
+ t !== l && t >= -74 && t <= 74 && c.setPosition(G(n, { lng: y.lng, lat: t })), m && e.reload();
681
+ },
682
+ "offset.width"(t, l) {
683
+ const { BMap: n, originInstance: c } = this;
684
+ t !== l && c.setOffset(new n.Size(t, this.offset.height));
685
+ },
686
+ "offset.height"(t, l) {
687
+ const { BMap: n, originInstance: c } = this;
688
+ t !== l && c.setOffset(new n.Size(this.offset.width, t));
689
+ },
690
+ icon: {
691
+ deep: !0,
692
+ handler(t) {
693
+ const { BMap: l, originInstance: n, rotation: c } = this;
694
+ n && n.setIcon(tt(l, t)), c && n && n.setRotation(c);
695
+ }
696
+ },
697
+ massClear(t) {
698
+ t ? this.originInstance.enableMassClear() : this.originInstance.disableMassClear();
699
+ },
700
+ dragging(t) {
701
+ t ? this.originInstance.enableDragging() : this.originInstance.disableDragging();
702
+ },
703
+ clicking() {
704
+ this.reload();
705
+ },
706
+ raiseOnDrag() {
707
+ this.reload();
708
+ },
709
+ draggingCursor(t) {
710
+ this.originInstance.setDraggingCursor(t);
711
+ },
712
+ rotation(t) {
713
+ this.originInstance.setRotation(t);
714
+ },
715
+ shadow(t) {
716
+ this.originInstance.setShadow(t);
717
+ },
718
+ title(t) {
719
+ this.originInstance.setTitle(t);
720
+ },
721
+ label(t) {
722
+ this.reload();
723
+ },
724
+ animation(t) {
725
+ this.originInstance.setAnimation(window[t]);
726
+ },
727
+ top(t) {
728
+ this.originInstance.setTop(t);
729
+ },
730
+ zIndex(t) {
731
+ this.originInstance.setZIndex(t);
732
+ }
733
+ },
734
+ methods: {
735
+ load() {
736
+ var t, l;
737
+ const { BMap: n, map: c, position: y, offset: m, icon: e, massClear: s, dragging: i, clicking: r, raiseOnDrag: p, draggingCursor: d, rotation: f, shadow: o, title: u, label: v, animation: w, top: h, renderByParent: x, $parent: k, zIndex: z } = this;
738
+ let C = {
739
+ offset: m,
740
+ icon: e && tt(n, e),
741
+ enableMassClear: s,
742
+ enableDragging: i,
743
+ enableClicking: r,
744
+ raiseOnDrag: p,
745
+ draggingCursor: d,
746
+ rotation: f,
747
+ shadow: o,
748
+ title: u
749
+ };
750
+ X(C);
751
+ const a = new n.Marker(new n.Point(y.lng, y.lat), C);
752
+ this.originInstance = a, v && a && a.setLabel(mt(n, v)), a.setTop(h), a.setZIndex(z), nt.call(this, a), x ? k.reload() : c.addOverlay(a), a.setAnimation(window[w]), (l = (t = this.Cluster) == null ? void 0 : t.addMaker) == null || l.call(t, this);
753
+ }
754
+ },
755
+ beforeUnmount() {
756
+ var t, l;
757
+ (l = (t = this.Cluster) == null ? void 0 : t.removeMaker) == null || l.call(t, this);
758
+ }
759
+ };
760
+ function kt(t, l, n, c, y, m) {
761
+ return H(), W("div", null, [
762
+ Q(t.$slots, "default")
763
+ ]);
764
+ }
765
+ var Nt = /* @__PURE__ */ V(Ct, [["render", kt]]), at = { exports: {} };
766
+ (function(t, l) {
767
+ (function(n, c) {
768
+ t.exports = c();
769
+ })(N, function() {
770
+ var n = typeof window != "undefined" ? window : typeof N != "undefined" ? N : this;
771
+ function c(o, u) {
772
+ return u = { exports: {} }, o(u, u.exports, n), u.exports;
773
+ }
774
+ var y = c(function(o, u, v) {
775
+ (function(w, h) {
776
+ typeof u == "object" ? o.exports = h() : (w.BMapLib = w.BMapLib || {}, w.BMapLib.TextIconOverlay = w.BMapLib.TextIconOverlay || h());
777
+ })(n, function() {
778
+ var w, h = w = h || { version: "1.3.8" }, x = {};
779
+ h.guid = "$BAIDU$", x[h.guid] = x[h.guid] || {}, h.dom = h.dom || {}, h.dom.g = function(a) {
780
+ return typeof a == "string" || a instanceof String ? document.getElementById(a) : a && a.nodeName && (a.nodeType == 1 || a.nodeType == 9) ? a : null;
781
+ }, h.g = h.G = h.dom.g, h.dom.getDocument = function(a) {
782
+ return a = h.dom.g(a), a.nodeType == 9 ? a : a.ownerDocument || a.document;
783
+ }, h.lang = h.lang || {}, h.lang.isString = function(a) {
784
+ return Object.prototype.toString.call(a) == "[object String]";
785
+ }, h.isString = h.lang.isString, h.dom._g = function(a) {
786
+ return h.lang.isString(a) ? document.getElementById(a) : a;
787
+ }, h._g = h.dom._g, h.browser = h.browser || {}, /msie (\d+\.\d)/i.test(navigator.userAgent) && (h.browser.ie = h.ie = document.documentMode || +RegExp.$1), h.dom.getComputedStyle = function(a, g) {
788
+ a = h.dom._g(a);
789
+ var _ = h.dom.getDocument(a), M;
790
+ return _.defaultView && _.defaultView.getComputedStyle && (M = _.defaultView.getComputedStyle(a, null), M) ? M[g] || M.getPropertyValue(g) : "";
791
+ }, h.dom._styleFixer = h.dom._styleFixer || {}, h.dom._styleFilter = h.dom._styleFilter || [], h.dom._styleFilter.filter = function(a, g, _) {
792
+ for (var M = 0, b = h.dom._styleFilter, S; S = b[M]; M++)
793
+ (S = S[_]) && (g = S(a, g));
794
+ return g;
795
+ }, h.string = h.string || {}, h.string.toCamelCase = function(a) {
796
+ return a.indexOf("-") < 0 && a.indexOf("_") < 0 ? a : a.replace(/[-_][^-_]/g, function(g) {
797
+ return g.charAt(1).toUpperCase();
798
+ });
799
+ }, h.dom.getStyle = function(a, g) {
800
+ var _ = h.dom;
801
+ a = _.g(a), g = h.string.toCamelCase(g);
802
+ var M = a.style[g] || (a.currentStyle ? a.currentStyle[g] : "") || _.getComputedStyle(a, g);
803
+ if (!M) {
804
+ var b = _._styleFixer[g];
805
+ b && (M = b.get ? b.get(a) : h.dom.getStyle(a, b));
806
+ }
807
+ return (b = _._styleFilter) && (M = b.filter(g, M, "get")), M;
808
+ }, h.getStyle = h.dom.getStyle, /opera\/(\d+\.\d)/i.test(navigator.userAgent) && (h.browser.opera = +RegExp.$1), h.browser.isWebkit = /webkit/i.test(navigator.userAgent), h.browser.isGecko = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent), h.browser.isStrict = document.compatMode == "CSS1Compat", h.dom.getPosition = function(a) {
809
+ a = h.dom.g(a);
810
+ var g = h.dom.getDocument(a), _ = h.browser, M = h.dom.getStyle;
811
+ _.isGecko > 0 && g.getBoxObjectFor && M(a, "position") == "absolute" && (a.style.top === "" || a.style.left);
812
+ var b = { left: 0, top: 0 }, S = _.ie && !_.isStrict ? g.body : g.documentElement, B, P;
813
+ if (a == S)
814
+ return b;
815
+ if (a.getBoundingClientRect) {
816
+ P = a.getBoundingClientRect(), b.left = Math.floor(P.left) + Math.max(g.documentElement.scrollLeft, g.body.scrollLeft), b.top = Math.floor(P.top) + Math.max(g.documentElement.scrollTop, g.body.scrollTop), b.left -= g.documentElement.clientLeft, b.top -= g.documentElement.clientTop;
817
+ var O = g.body, Z = parseInt(M(O, "borderLeftWidth")), J = parseInt(M(O, "borderTopWidth"));
818
+ _.ie && !_.isStrict && (b.left -= isNaN(Z) ? 2 : Z, b.top -= isNaN(J) ? 2 : J);
819
+ } else {
820
+ B = a;
821
+ do {
822
+ if (b.left += B.offsetLeft, b.top += B.offsetTop, _.isWebkit > 0 && M(B, "position") == "fixed") {
823
+ b.left += g.body.scrollLeft, b.top += g.body.scrollTop;
824
+ break;
825
+ }
826
+ B = B.offsetParent;
827
+ } while (B && B != a);
828
+ for ((_.opera > 0 || _.isWebkit > 0 && M(a, "position") == "absolute") && (b.top -= g.body.offsetTop), B = a.offsetParent; B && B != g.body; )
829
+ b.left -= B.scrollLeft, (!_.opera || B.tagName != "TR") && (b.top -= B.scrollTop), B = B.offsetParent;
830
+ }
831
+ return b;
832
+ }, h.event = h.event || {}, h.event._listeners = h.event._listeners || [], h.event.on = function(a, g, _) {
833
+ g = g.replace(/^on/i, ""), a = h.dom._g(a);
834
+ var M = function(O) {
835
+ _.call(a, O);
836
+ }, b = h.event._listeners, S = h.event._eventFilter, B, P = g;
837
+ return g = g.toLowerCase(), S && S[g] && (B = S[g](a, g, M), P = B.type, M = B.listener), a.addEventListener ? a.addEventListener(P, M, !1) : a.attachEvent && a.attachEvent("on" + P, M), b[b.length] = [a, g, _, M, P], a;
838
+ }, h.on = h.event.on, (function() {
839
+ var a = x[h.guid];
840
+ h.lang.guid = function() {
841
+ return "TANGRAM__" + (a._counter++).toString(36);
842
+ }, a._counter = a._counter || 1;
843
+ })(), x[h.guid]._instances = x[h.guid]._instances || {}, h.lang.isFunction = function(a) {
844
+ return Object.prototype.toString.call(a) == "[object Function]";
845
+ }, h.lang.Class = function(a) {
846
+ this.guid = a || h.lang.guid(), x[h.guid]._instances[this.guid] = this;
847
+ }, x[h.guid]._instances = x[h.guid]._instances || {}, h.lang.Class.prototype.dispose = function() {
848
+ delete x[h.guid]._instances[this.guid];
849
+ for (var a in this)
850
+ h.lang.isFunction(this[a]) || delete this[a];
851
+ this.disposed = !0;
852
+ }, h.lang.Class.prototype.toString = function() {
853
+ return "[object " + (this._className || "Object") + "]";
854
+ }, h.lang.Event = function(a, g) {
855
+ this.type = a, this.returnValue = !0, this.target = g || null, this.currentTarget = null;
856
+ }, h.lang.Class.prototype.addEventListener = function(a, g, _) {
857
+ if (h.lang.isFunction(g)) {
858
+ !this.__listeners && (this.__listeners = {});
859
+ var M = this.__listeners, b;
860
+ if (typeof _ == "string" && _) {
861
+ if (/[^\w\-]/.test(_))
862
+ throw "nonstandard key:" + _;
863
+ g.hashCode = _, b = _;
864
+ }
865
+ a.indexOf("on") != 0 && (a = "on" + a), typeof M[a] != "object" && (M[a] = {}), b = b || h.lang.guid(), g.hashCode = b, M[a][b] = g;
866
+ }
867
+ }, h.lang.Class.prototype.removeEventListener = function(a, g) {
868
+ if (!(typeof g != "undefined" && (h.lang.isFunction(g) && !(g = g.hashCode) || !h.lang.isString(g)))) {
869
+ !this.__listeners && (this.__listeners = {}), a.indexOf("on") != 0 && (a = "on" + a);
870
+ var _ = this.__listeners;
871
+ if (_[a])
872
+ if (typeof g != "undefined")
873
+ _[a][g] && delete _[a][g];
874
+ else
875
+ for (var M in _[a])
876
+ delete _[a][M];
877
+ }
878
+ }, h.lang.Class.prototype.dispatchEvent = function(a, g) {
879
+ h.lang.isString(a) && (a = new h.lang.Event(a)), !this.__listeners && (this.__listeners = {}), g = g || {};
880
+ for (var _ in g)
881
+ a[_] = g[_];
882
+ var _, M = this.__listeners, b = a.type;
883
+ if (a.target = a.target || this, a.currentTarget = this, b.indexOf("on") != 0 && (b = "on" + b), h.lang.isFunction(this[b]) && this[b].apply(this, arguments), typeof M[b] == "object")
884
+ for (_ in M[b])
885
+ M[b][_].apply(this, arguments);
886
+ return a.returnValue;
887
+ }, h.lang.inherits = function(a, g, _) {
888
+ var M, b, S = a.prototype, B = new Function();
889
+ B.prototype = g.prototype, b = a.prototype = new B();
890
+ for (M in S)
891
+ b[M] = S[M];
892
+ a.prototype.constructor = a, a.superClass = g.prototype, typeof _ == "string" && (b._className = _);
893
+ }, h.inherits = h.lang.inherits;
894
+ var k = "http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m", z = "png", C = function(a, g, _) {
895
+ try {
896
+ BMap;
897
+ } catch (M) {
898
+ throw Error("Baidu Map JS API is not ready yet!");
899
+ }
900
+ w.lang.inherits(C, BMap.Overlay, "TextIconOverlay"), this._position = a, this._text = g, this._options = _ || {}, this._styles = this._options.styles || [], !this._styles.length && this._setupDefaultStyles();
901
+ };
902
+ return C.prototype._setupDefaultStyles = function() {
903
+ for (var a = [53, 56, 66, 78, 90], g = 0, _; _ = a[g]; g++)
904
+ this._styles.push({
905
+ url: k + g + "." + z,
906
+ size: new BMap.Size(_, _)
907
+ });
908
+ }, C.prototype.initialize = function(a) {
909
+ return this._map = a, this._domElement = document.createElement("div"), this._updateCss(), this._updateText(), this._updatePosition(), this._bind(), this._map.getPanes().markerMouseTarget.appendChild(this._domElement), this._domElement;
910
+ }, C.prototype.draw = function() {
911
+ this._map && this._updatePosition();
912
+ }, C.prototype.getText = function() {
913
+ return this._text;
914
+ }, C.prototype.setText = function(a) {
915
+ a && (!this._text || this._text.toString() != a.toString()) && (this._text = a, this._updateText(), this._updateCss(), this._updatePosition());
916
+ }, C.prototype.getPosition = function() {
917
+ return this._position;
918
+ }, C.prototype.setPosition = function(a) {
919
+ a && (!this._position || !this._position.equals(a)) && (this._position = a, this._updatePosition());
920
+ }, C.prototype.getStyleByText = function(a, g) {
921
+ var _ = parseInt(a), M = parseInt(_ / 10);
922
+ return M = Math.max(0, M), M = Math.min(M, g.length - 1), g[M];
923
+ }, C.prototype._updateCss = function() {
924
+ if (this._domElement) {
925
+ var a = this.getStyleByText(this._text, this._styles);
926
+ this._domElement.style.cssText = this._buildCssText(a);
927
+ }
928
+ }, C.prototype._updateText = function() {
929
+ this._domElement && (this._domElement.innerHTML = this._text);
930
+ }, C.prototype._updatePosition = function() {
931
+ if (this._domElement && this._position) {
932
+ var a = this._domElement.style, g = this._map.pointToOverlayPixel(this._position);
933
+ g.x -= Math.ceil(parseInt(a.width) / 2), g.y -= Math.ceil(parseInt(a.height) / 2), a.left = g.x + "px", a.top = g.y + "px";
934
+ }
935
+ }, C.prototype._buildCssText = function(a) {
936
+ var g = a.url, _ = a.size, M = a.anchor, b = a.offset, S = a.textColor || "black", B = a.textSize || 10, P = [];
937
+ if (w.browser.ie < 7)
938
+ P.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="' + g + '");');
939
+ else {
940
+ P.push("background-image:url(" + g + ");");
941
+ var O = "0 0";
942
+ b instanceof BMap.Size && (O = b.width + "px " + b.height + "px"), P.push("background-position:" + O + ";");
943
+ }
944
+ return _ instanceof BMap.Size && (M instanceof BMap.Size ? (M.height > 0 && M.height < _.height && P.push("height:" + (_.height - M.height) + "px; padding-top:" + M.height + "px;"), M.width > 0 && M.width < _.width && P.push("width:" + (_.width - M.width) + "px; padding-left:" + M.width + "px;")) : (P.push("height:" + _.height + "px; line-height:" + _.height + "px;"), P.push("width:" + _.width + "px; text-align:center;"))), P.push("cursor:pointer; color:" + S + "; position:absolute; font-size:" + B + "px; font-family:Arial,sans-serif; font-weight:bold"), P.join("");
945
+ }, C.prototype._bind = function() {
946
+ if (!this._domElement)
947
+ return;
948
+ var a = this, g = this._map, _ = w.lang.Event;
949
+ function M(b, S) {
950
+ var B = b.srcElement || b.target, P = b.clientX || b.pageX, O = b.clientY || b.pageY;
951
+ if (b && S && P && O && B) {
952
+ var Z = w.dom.getPosition(g.getContainer());
953
+ S.pixel = new BMap.Pixel(P - Z.left, O - Z.top), S.point = g.pixelToPoint(S.pixel);
954
+ }
955
+ return S;
956
+ }
957
+ w.event.on(this._domElement, "mouseover", function(b) {
958
+ a.dispatchEvent(M(b, new _("onmouseover")));
959
+ }), w.event.on(this._domElement, "mouseout", function(b) {
960
+ a.dispatchEvent(M(b, new _("onmouseout")));
961
+ }), w.event.on(this._domElement, "click", function(b) {
962
+ a.dispatchEvent(M(b, new _("onclick")));
963
+ });
964
+ }, C;
965
+ });
966
+ }), m = y && typeof y == "object" && "default" in y ? y.default : y, e = function(o, u, v) {
967
+ u = s(u);
968
+ var w = o.pointToPixel(u.getNorthEast()), h = o.pointToPixel(u.getSouthWest());
969
+ w.x += v, w.y -= v, h.x -= v, h.y += v;
970
+ var x = o.pixelToPoint(w), k = o.pixelToPoint(h);
971
+ return new BMap.Bounds(k, x);
972
+ }, s = function(o) {
973
+ var u = i(o.getNorthEast().lng, -180, 180), v = i(o.getSouthWest().lng, -180, 180), w = i(o.getNorthEast().lat, -74, 74), h = i(o.getSouthWest().lat, -74, 74);
974
+ return new BMap.Bounds(new BMap.Point(v, h), new BMap.Point(u, w));
975
+ }, i = function(o, u, v) {
976
+ return u && (o = Math.max(o, u)), v && (o = Math.min(o, v)), o;
977
+ }, r = function(o) {
978
+ return Object.prototype.toString.call(o) === "[object Array]";
979
+ }, p = function(o, u) {
980
+ var v = -1;
981
+ if (r(u)) {
982
+ if (u.indexOf)
983
+ v = u.indexOf(o);
984
+ else
985
+ for (var w = 0, h; h = u[w]; w++)
986
+ if (h === o) {
987
+ v = w;
988
+ break;
989
+ }
990
+ }
991
+ return v;
992
+ }, d = function(o, u) {
993
+ try {
994
+ BMap;
995
+ } catch (x) {
996
+ throw Error("Baidu Map JS API is not ready yet!");
997
+ }
998
+ if (o) {
999
+ this._map = o, this._markers = [], this._clusters = [];
1000
+ var v = u || {};
1001
+ this._gridSize = v.gridSize || 60, this._maxZoom = v.maxZoom || 18, this._minClusterSize = v.minClusterSize || 2, this._isAverageCenter = !1, v.isAverageCenter != null && (this._isAverageCenter = v.isAverageCenter), this._styles = v.styles || [];
1002
+ var w = this;
1003
+ this._map.addEventListener("zoomend", function() {
1004
+ w._redraw();
1005
+ }), this._map.addEventListener("moveend", function() {
1006
+ w._redraw();
1007
+ });
1008
+ var h = v.markers;
1009
+ r(h) && this.addMarkers(h);
1010
+ }
1011
+ };
1012
+ d.prototype.addMarkers = function(o) {
1013
+ if (o.length) {
1014
+ for (var u = 0, v = o.length; u < v; u++)
1015
+ this._pushMarkerTo(o[u]);
1016
+ this._createClusters();
1017
+ }
1018
+ }, d.prototype._pushMarkerTo = function(o) {
1019
+ var u = p(o, this._markers);
1020
+ u === -1 && (o.isInCluster = !1, this._markers.push(o));
1021
+ }, d.prototype.addMarker = function(o) {
1022
+ this._pushMarkerTo(o), this._createClusters();
1023
+ }, d.prototype._createClusters = function() {
1024
+ var o = this._map.getBounds();
1025
+ if (o.getCenter())
1026
+ for (var u = e(this._map, o, this._gridSize), v = 0, w; w = this._markers[v]; v++)
1027
+ !w.isInCluster && u.containsPoint(w.getPosition()) && this._addToClosestCluster(w);
1028
+ }, d.prototype._addToClosestCluster = function(o) {
1029
+ var u = 4e6, v = null;
1030
+ o.getPosition();
1031
+ for (var w = 0, h; h = this._clusters[w]; w++) {
1032
+ var x = h.getCenter();
1033
+ if (x) {
1034
+ var k = this._map.getDistance(x, o.getPosition());
1035
+ k < u && (u = k, v = h);
1036
+ }
1037
+ }
1038
+ if (v && v.isMarkerInClusterBounds(o))
1039
+ v.addMarker(o);
1040
+ else {
1041
+ var h = new f(this);
1042
+ h.addMarker(o), this._clusters.push(h);
1043
+ }
1044
+ }, d.prototype._clearLastClusters = function() {
1045
+ for (var o = 0, u; u = this._clusters[o]; o++)
1046
+ u.remove();
1047
+ this._clusters = [], this._removeMarkersFromCluster();
1048
+ }, d.prototype._removeMarkersFromCluster = function() {
1049
+ for (var o = 0, u; u = this._markers[o]; o++)
1050
+ u.isInCluster = !1;
1051
+ }, d.prototype._removeMarkersFromMap = function() {
1052
+ for (var o = 0, u; u = this._markers[o]; o++) {
1053
+ u.isInCluster = !1;
1054
+ var v = u.getLabel();
1055
+ this._map.removeOverlay(u), u.setLabel(v);
1056
+ }
1057
+ }, d.prototype._removeMarker = function(o) {
1058
+ var u = p(o, this._markers);
1059
+ return u === -1 ? !1 : (this._map.removeOverlay(o), this._markers.splice(u, 1), !0);
1060
+ }, d.prototype.removeMarker = function(o) {
1061
+ var u = this._removeMarker(o);
1062
+ return u && (this._clearLastClusters(), this._createClusters()), u;
1063
+ }, d.prototype.removeMarkers = function(o) {
1064
+ for (var u = !1, v = 0; v < o.length; v++) {
1065
+ var w = this._removeMarker(o[v]);
1066
+ u = u || w;
1067
+ }
1068
+ return u && (this._clearLastClusters(), this._createClusters()), u;
1069
+ }, d.prototype.clearMarkers = function() {
1070
+ this._clearLastClusters(), this._removeMarkersFromMap(), this._markers = [];
1071
+ }, d.prototype._redraw = function() {
1072
+ this._clearLastClusters(), this._createClusters();
1073
+ }, d.prototype.getGridSize = function() {
1074
+ return this._gridSize;
1075
+ }, d.prototype.setGridSize = function(o) {
1076
+ this._gridSize = o, this._redraw();
1077
+ }, d.prototype.getMaxZoom = function() {
1078
+ return this._maxZoom;
1079
+ }, d.prototype.setMaxZoom = function(o) {
1080
+ this._maxZoom = o, this._redraw();
1081
+ }, d.prototype.getStyles = function() {
1082
+ return this._styles;
1083
+ }, d.prototype.setStyles = function(o) {
1084
+ this._styles = o, this._redraw();
1085
+ }, d.prototype.getMinClusterSize = function() {
1086
+ return this._minClusterSize;
1087
+ }, d.prototype.setMinClusterSize = function(o) {
1088
+ this._minClusterSize = o, this._redraw();
1089
+ }, d.prototype.isAverageCenter = function() {
1090
+ return this._isAverageCenter;
1091
+ }, d.prototype.getMap = function() {
1092
+ return this._map;
1093
+ }, d.prototype.getMarkers = function() {
1094
+ return this._markers;
1095
+ }, d.prototype.getClustersCount = function() {
1096
+ for (var o = 0, u = 0, v; v = this._clusters[u]; u++)
1097
+ v.isReal() && o++;
1098
+ return o;
1099
+ };
1100
+ function f(o) {
1101
+ this._markerClusterer = o, this._map = o.getMap(), this._minClusterSize = o.getMinClusterSize(), this._isAverageCenter = o.isAverageCenter(), this._center = null, this._markers = [], this._gridBounds = null, this._isReal = !1, this._clusterMarker = new m(this._center, this._markers.length, { styles: this._markerClusterer.getStyles() });
1102
+ }
1103
+ return f.prototype.addMarker = function(o) {
1104
+ if (this.isMarkerInCluster(o))
1105
+ return !1;
1106
+ if (!this._center)
1107
+ this._center = o.getPosition(), this.updateGridBounds();
1108
+ else if (this._isAverageCenter) {
1109
+ var u = this._markers.length + 1, v = (this._center.lat * (u - 1) + o.getPosition().lat) / u, w = (this._center.lng * (u - 1) + o.getPosition().lng) / u;
1110
+ this._center = new BMap.Point(w, v), this.updateGridBounds();
1111
+ }
1112
+ o.isInCluster = !0, this._markers.push(o);
1113
+ var h = this._markers.length;
1114
+ if (h < this._minClusterSize)
1115
+ return this._map.addOverlay(o), !0;
1116
+ if (h === this._minClusterSize)
1117
+ for (var x = 0; x < h; x++) {
1118
+ var k = this._markers[x].getLabel();
1119
+ this._markers[x].getMap() && this._map.removeOverlay(this._markers[x]), this._markers[x].setLabel(k);
1120
+ }
1121
+ return this._map.addOverlay(this._clusterMarker), this._isReal = !0, this.updateClusterMarker(), !0;
1122
+ }, f.prototype.isMarkerInCluster = function(o) {
1123
+ if (this._markers.indexOf)
1124
+ return this._markers.indexOf(o) != -1;
1125
+ for (var u = 0, v; v = this._markers[u]; u++)
1126
+ if (v === o)
1127
+ return !0;
1128
+ return !1;
1129
+ }, f.prototype.isMarkerInClusterBounds = function(o) {
1130
+ return this._gridBounds.containsPoint(o.getPosition());
1131
+ }, f.prototype.isReal = function(o) {
1132
+ return this._isReal;
1133
+ }, f.prototype.updateGridBounds = function() {
1134
+ var o = new BMap.Bounds(this._center, this._center);
1135
+ this._gridBounds = e(this._map, o, this._markerClusterer.getGridSize());
1136
+ }, f.prototype.updateClusterMarker = function() {
1137
+ if (this._map.getZoom() > this._markerClusterer.getMaxZoom()) {
1138
+ this._clusterMarker && this._map.removeOverlay(this._clusterMarker);
1139
+ for (var o = 0, u; u = this._markers[o]; o++)
1140
+ this._map.addOverlay(u);
1141
+ return;
1142
+ }
1143
+ if (this._markers.length < this._minClusterSize) {
1144
+ this._clusterMarker.hide();
1145
+ return;
1146
+ }
1147
+ this._clusterMarker.setPosition(this._center), this._clusterMarker.setText(this._markers.length), this._clusterMarker.addEventListener && !this._clusterMarker._hasClickEvent && this._clusterMarker.addEventListener("click", function(v) {
1148
+ this._clusterMarker._hasClickEvent = !0, this._markers && this._map.setViewport(this.getBounds());
1149
+ }.bind(this));
1150
+ }, f.prototype.remove = function() {
1151
+ for (var o = 0; this._markers[o]; o++) {
1152
+ var u = this._markers[o].getLabel();
1153
+ this._markers[o].getMap() && this._map.removeOverlay(this._markers[o]), this._markers[o].setLabel(u);
1154
+ }
1155
+ this._map.removeOverlay(this._clusterMarker), this._markers.length = 0, delete this._markers;
1156
+ }, f.prototype.getBounds = function() {
1157
+ for (var o = new BMap.Bounds(this._center, this._center), u = 0, v; v = this._markers[u]; u++)
1158
+ o.extend(v.getPosition());
1159
+ return o;
1160
+ }, f.prototype.getCenter = function() {
1161
+ return this._center;
1162
+ }, d;
1163
+ });
1164
+ })(at);
1165
+ var Pt = at.exports;
1166
+ const L = [], St = {
1167
+ name: "bml-marker-clusterer",
1168
+ mixins: [ot("markerClusterer")],
1169
+ provide() {
1170
+ return {
1171
+ Cluster: this
1172
+ };
1173
+ },
1174
+ props: {
1175
+ gridSize: {
1176
+ type: Number
1177
+ },
1178
+ maxZoom: {
1179
+ type: Number
1180
+ },
1181
+ minClusterSize: {
1182
+ type: Number
1183
+ },
1184
+ styles: {
1185
+ type: Array,
1186
+ default() {
1187
+ return [];
1188
+ }
1189
+ },
1190
+ averageCenter: {
1191
+ type: Boolean,
1192
+ default: !1
1193
+ }
1194
+ },
1195
+ data() {
1196
+ return {};
1197
+ },
1198
+ watch: {
1199
+ gridSize: {
1200
+ handler(t) {
1201
+ const { BMap: l, originInstance: n } = this;
1202
+ n.setGridSize(t);
1203
+ },
1204
+ deep: !0
1205
+ },
1206
+ maxZoom(t) {
1207
+ const { originInstance: l } = this;
1208
+ l.setMaxZoom(t);
1209
+ },
1210
+ minClusterSize: {
1211
+ handler(t) {
1212
+ const { BMap: l, originInstance: n } = this;
1213
+ n.setMinClusterSize(t);
1214
+ },
1215
+ deep: !0
1216
+ },
1217
+ styles: {
1218
+ handler(t) {
1219
+ const { BMap: l, originInstance: n } = this, c = JSON.parse(JSON.stringify(t)).map((y) => (y.size = y.size && E(l, y.size), y));
1220
+ n.setStyles(c);
1221
+ },
1222
+ deep: !0
1223
+ },
1224
+ averageCenter(t) {
1225
+ this.reload();
1226
+ }
1227
+ },
1228
+ methods: {
1229
+ load() {
1230
+ const { BMap: t, map: l, gridSize: n, minClusterSize: c, maxZoom: y, styles: m, averageCenter: e } = this;
1231
+ this.originInstance = new Pt(l, {
1232
+ gridSize: n || 60,
1233
+ maxZoom: y,
1234
+ minClusterSize: c || 2,
1235
+ styles: m.map((s) => (s.size = E(t, s.size), s)),
1236
+ isAverageCenter: e
1237
+ }), this.$nextTick(() => {
1238
+ const s = L.map((i) => i.originInstance).filter((i) => i instanceof t.Marker);
1239
+ this.originInstance.addMarkers(s);
1240
+ });
1241
+ },
1242
+ addMaker(t) {
1243
+ L.push(t);
1244
+ },
1245
+ removeMaker(t) {
1246
+ L.splice(L.indexOf(t), 1);
1247
+ }
1248
+ },
1249
+ beforeCreate() {
1250
+ this.preventChildrenRender = !0;
1251
+ }
1252
+ };
1253
+ function Ot(t, l, n, c, y, m) {
1254
+ return H(), W("span", null, [
1255
+ Q(t.$slots, "default")
1256
+ ]);
1257
+ }
1258
+ var Zt = /* @__PURE__ */ V(St, [["render", Ot]]), zt = { exports: {} };
1259
+ (function(t, l) {
1260
+ (function(n, c) {
1261
+ t.exports = c();
1262
+ })(N, function() {
1263
+ var n = {};
1264
+ n.dom = {}, n.dom.g = function(e) {
1265
+ return typeof e == "string" || e instanceof String ? document.getElementById(e) : e && e.nodeName && (e.nodeType == 1 || e.nodeType == 9) ? e : null;
1266
+ }, n.g = n.G = n.dom.g, n.lang = n.lang || {}, n.lang.isString = function(e) {
1267
+ return Object.prototype.toString.call(e) == "[object String]";
1268
+ }, n.isString = n.lang.isString, n.dom._g = function(e) {
1269
+ return n.lang.isString(e) ? document.getElementById(e) : e;
1270
+ }, n._g = n.dom._g, n.dom.getDocument = function(e) {
1271
+ return e = n.dom.g(e), e.nodeType == 9 ? e : e.ownerDocument || e.document;
1272
+ }, n.browser = n.browser || {}, n.browser.ie = n.ie = /msie (\d+\.\d+)/i.test(navigator.userAgent) ? document.documentMode || +RegExp.$1 : void 0, n.dom.getComputedStyle = function(e, s) {
1273
+ e = n.dom._g(e);
1274
+ var i = n.dom.getDocument(e), r;
1275
+ return i.defaultView && i.defaultView.getComputedStyle && (r = i.defaultView.getComputedStyle(e, null), r) ? r[s] || r.getPropertyValue(s) : "";
1276
+ }, n.dom._styleFixer = n.dom._styleFixer || {}, n.dom._styleFilter = n.dom._styleFilter || [], n.dom._styleFilter.filter = function(e, s, i) {
1277
+ for (var r = 0, p = n.dom._styleFilter, d; d = p[r]; r++)
1278
+ (d = d[i]) && (s = d(e, s));
1279
+ return s;
1280
+ }, n.string = n.string || {}, n.string.toCamelCase = function(e) {
1281
+ return e.indexOf("-") < 0 && e.indexOf("_") < 0 ? e : e.replace(/[-_][^-_]/g, function(s) {
1282
+ return s.charAt(1).toUpperCase();
1283
+ });
1284
+ }, n.dom.getStyle = function(e, s) {
1285
+ var i = n.dom;
1286
+ e = i.g(e), s = n.string.toCamelCase(s);
1287
+ var r = e.style[s] || (e.currentStyle ? e.currentStyle[s] : "") || i.getComputedStyle(e, s);
1288
+ if (!r) {
1289
+ var p = i._styleFixer[s];
1290
+ p && (r = p.get ? p.get(e) : n.dom.getStyle(e, p));
1291
+ }
1292
+ return (p = i._styleFilter) && (r = p.filter(s, r, "get")), r;
1293
+ }, n.getStyle = n.dom.getStyle, n.dom._NAME_ATTRS = (function() {
1294
+ var e = {
1295
+ cellpadding: "cellPadding",
1296
+ cellspacing: "cellSpacing",
1297
+ colspan: "colSpan",
1298
+ rowspan: "rowSpan",
1299
+ valign: "vAlign",
1300
+ usemap: "useMap",
1301
+ frameborder: "frameBorder"
1302
+ };
1303
+ return n.browser.ie < 8 ? (e.for = "htmlFor", e.class = "className") : (e.htmlFor = "for", e.className = "class"), e;
1304
+ })(), n.dom.setAttr = function(e, s, i) {
1305
+ return e = n.dom.g(e), s == "style" ? e.style.cssText = i : (s = n.dom._NAME_ATTRS[s] || s, e.setAttribute(s, i)), e;
1306
+ }, n.setAttr = n.dom.setAttr, n.dom.setAttrs = function(e, s) {
1307
+ e = n.dom.g(e);
1308
+ for (var i in s)
1309
+ n.dom.setAttr(e, i, s[i]);
1310
+ return e;
1311
+ }, n.setAttrs = n.dom.setAttrs, n.dom.create = function(e, s) {
1312
+ var i = document.createElement(e), r = s || {};
1313
+ return n.dom.setAttrs(i, r);
1314
+ }, n.object = n.object || {}, n.extend = n.object.extend = function(e, s) {
1315
+ for (var i in s)
1316
+ s.hasOwnProperty(i) && (e[i] = s[i]);
1317
+ return e;
1318
+ };
1319
+ var c = function(e, s, i) {
1320
+ try {
1321
+ BMap;
1322
+ } catch (r) {
1323
+ throw Error("Baidu Map JS API is not ready yet!");
1324
+ }
1325
+ !s || s.length < 1 || (this._map = e, this._path = s, this.i = 0, this._setTimeoutQuene = [], this._projection = this._map.getMapType().getProjection(), this._opts = {
1326
+ icon: null,
1327
+ speed: 4e3,
1328
+ defaultContent: "",
1329
+ showInfoWindow: !1
1330
+ }, this._setOptions(i), this._rotation = 0, !this._opts.icon instanceof BMap.Icon && (this._opts.icon = defaultIcon));
1331
+ };
1332
+ c.prototype._setOptions = function(e) {
1333
+ if (e)
1334
+ for (var s in e)
1335
+ e.hasOwnProperty(s) && (this._opts[s] = e[s]);
1336
+ }, c.prototype.start = function() {
1337
+ var e = this, s = e._path.length;
1338
+ if (this._opts.onstart && this._opts.onstart(e), e.i && e.i < s - 1)
1339
+ if (e._fromPause)
1340
+ e._fromStop || e._moveNext(++e.i);
1341
+ else return;
1342
+ else
1343
+ !e._marker && e._addMarker(), e._timeoutFlag = setTimeout(function() {
1344
+ !e._overlay && e._addInfoWin(), e._moveNext(e.i);
1345
+ }, 400);
1346
+ this._fromPause = !1, this._fromStop = !1;
1347
+ }, c.prototype.stop = function() {
1348
+ this.i = 0, this._fromStop = !0, clearInterval(this._intervalFlag), this._clearTimeout();
1349
+ for (var e = 0, s = this._opts.landmarkPois, i = s.length; e < i; e++)
1350
+ s[e].bShow = !1;
1351
+ this._opts.onstop && this._opts.onstop(this);
1352
+ }, c.prototype.pause = function() {
1353
+ clearInterval(this._intervalFlag), this._fromPause = !0, this._clearTimeout(), this._opts.onpause && this._opts.onpause(this);
1354
+ }, c.prototype.hideInfoWindow = function() {
1355
+ this._opts.showInfoWindow = !1, this._overlay && (this._overlay._div.style.visibility = "hidden");
1356
+ }, c.prototype.showInfoWindow = function() {
1357
+ this._opts.showInfoWindow = !0, this._overlay && (this._overlay._div.style.visibility = "visible");
1358
+ }, c.prototype.dispose = function() {
1359
+ clearInterval(this._intervalFlag), this._setTimeoutQuene && this._clearTimeout(), this._map && (this._map.removeOverlay(this._overlay), this._map.removeOverlay(this._marker));
1360
+ }, n.object.extend(c.prototype, {
1361
+ _addMarker: function(e) {
1362
+ this._marker && (this.stop(), this._map.removeOverlay(this._marker), clearTimeout(this._timeoutFlag)), this._overlay && this._map.removeOverlay(this._overlay);
1363
+ var s = new BMap.Marker(this._path[0]);
1364
+ this._opts.icon && s.setIcon(this._opts.icon), this._map.addOverlay(s), s.setAnimation(BMAP_ANIMATION_DROP), this._marker = s;
1365
+ },
1366
+ _addInfoWin: function() {
1367
+ var e = this;
1368
+ !y.prototype.initialize && m();
1369
+ var s = new y(e._marker.getPosition(), e._opts.defaultContent);
1370
+ s.setRelatedClass(this), this._overlay = s, this._map.addOverlay(s), this._opts.showInfoWindow ? this.showInfoWindow() : this.hideInfoWindow();
1371
+ },
1372
+ _getMercator: function(e) {
1373
+ return this._map.getMapType().getProjection().lngLatToPoint(e);
1374
+ },
1375
+ _getDistance: function(e, s) {
1376
+ return Math.sqrt(Math.pow(e.x - s.x, 2) + Math.pow(e.y - s.y, 2));
1377
+ },
1378
+ _move: function(e, s, i) {
1379
+ var r = this, p = 0, d = 10, f = this._opts.speed / (1e3 / d), o = this._projection.lngLatToPoint(e), u = this._projection.lngLatToPoint(s), v = Math.round(r._getDistance(o, u) / f);
1380
+ if (v < 1) {
1381
+ r._moveNext(++r.i);
1382
+ return;
1383
+ }
1384
+ r._intervalFlag = setInterval(function() {
1385
+ if (p >= v) {
1386
+ if (clearInterval(r._intervalFlag), r.i > r._path.length)
1387
+ return;
1388
+ r._moveNext(++r.i), r._opts.onmove(r);
1389
+ } else {
1390
+ p++;
1391
+ var w = i(o.x, u.x, p, v), h = i(o.y, u.y, p, v), x = r._projection.pointToLngLat(new BMap.Pixel(w, h));
1392
+ if (p == 1) {
1393
+ var k = null;
1394
+ r.i - 1 >= 0 && (k = r._path[r.i - 1]), r._opts.enableRotation == !0 && r.setRotation(k, e, s), r._opts.autoView && (r._map.getBounds().containsPoint(x) || r._map.setCenter(x));
1395
+ }
1396
+ r._marker.setPosition(x), r._setInfoWin(x);
1397
+ }
1398
+ }, d);
1399
+ },
1400
+ setRotation: function(e, s, i) {
1401
+ var r = this, p = 0;
1402
+ if (s = r._map.pointToPixel(s), i = r._map.pointToPixel(i), i.x != s.x) {
1403
+ var d = (i.y - s.y) / (i.x - s.x), f = Math.atan(d);
1404
+ p = f * 360 / (2 * Math.PI), i.x < s.x ? p = -p + 90 + 90 : p = -p, r._marker.setRotation(-p);
1405
+ } else {
1406
+ var o = i.y - s.y, u = 0;
1407
+ o > 0 ? u = -1 : u = 1, r._marker.setRotation(-u * 90);
1408
+ }
1409
+ },
1410
+ linePixellength: function(e, s) {
1411
+ return Math.sqrt(Math.abs(e.x - s.x) * Math.abs(e.x - s.x) + Math.abs(e.y - s.y) * Math.abs(e.y - s.y));
1412
+ },
1413
+ pointToPoint: function(e, s) {
1414
+ return Math.abs(e.x - s.x) * Math.abs(e.x - s.x) + Math.abs(e.y - s.y) * Math.abs(e.y - s.y);
1415
+ },
1416
+ _moveNext: function(e) {
1417
+ var s = this;
1418
+ e < this._path.length - 1 ? s._move(s._path[e], s._path[e + 1], s._tween.linear) : s.stop();
1419
+ },
1420
+ moveNext: function(e) {
1421
+ var s = this;
1422
+ e < this._path.length - 1 ? s._move(s._path[e], s._path[e + 1], s._tween.linear) : s.stop();
1423
+ },
1424
+ _setInfoWin: function(e) {
1425
+ var s = this;
1426
+ s._overlay.setPosition(e, s._marker.getIcon().size);
1427
+ var i = s._troughPointIndex(e);
1428
+ i != -1 ? (clearInterval(s._intervalFlag), s._overlay.setHtml(s._opts.landmarkPois[i].html), s._overlay.setPosition(e, s._marker.getIcon().size), s._pauseForView(i)) : s._overlay.setHtml(s._opts.defaultContent);
1429
+ },
1430
+ _pauseForView: function(e) {
1431
+ var s = this, i = setTimeout(function() {
1432
+ s._moveNext(++s.i);
1433
+ }, s._opts.landmarkPois[e].pauseTime * 1e3);
1434
+ s._setTimeoutQuene.push(i);
1435
+ },
1436
+ _clearTimeout: function() {
1437
+ for (var e in this._setTimeoutQuene)
1438
+ clearTimeout(this._setTimeoutQuene[e]);
1439
+ this._setTimeoutQuene.length = 0;
1440
+ },
1441
+ _tween: {
1442
+ linear: function(e, s, i, r) {
1443
+ var p = e, d = s - e, f = i, o = r;
1444
+ return d * f / o + p;
1445
+ }
1446
+ },
1447
+ _troughPointIndex: function(e) {
1448
+ for (var s = this._opts.landmarkPois, i, r = 0, p = s.length; r < p; r++)
1449
+ if (!s[r].bShow && (i = this._map.getDistance(new BMap.Point(s[r].lng, s[r].lat), e), i < 10))
1450
+ return s[r].bShow = !0, r;
1451
+ return -1;
1452
+ }
1453
+ });
1454
+ function y(e, s) {
1455
+ this._point = e, this._html = s;
1456
+ }
1457
+ function m() {
1458
+ y.prototype = new BMap.Overlay(), y.prototype.initialize = function(e) {
1459
+ var s = this._div = n.dom.create("div", { style: "border:solid 1px #ccc;width:auto;min-width:50px;text-align:center;position:absolute;background:#fff;color:#000;font-size:12px;border-radius: 10px;padding:5px;white-space: nowrap;" });
1460
+ return s.innerHTML = this._html, e.getPanes().floatPane.appendChild(s), this._map = e, s;
1461
+ }, y.prototype.draw = function() {
1462
+ this.setPosition(this.lushuMain._marker.getPosition(), this.lushuMain._marker.getIcon().size);
1463
+ }, n.object.extend(y.prototype, {
1464
+ setPosition: function(e, s) {
1465
+ var i = this._map.pointToOverlayPixel(e), r = n.dom.getStyle(this._div, "width"), p = n.dom.getStyle(this._div, "height"), d = parseInt(this._div.clientWidth || r, 10);
1466
+ parseInt(this._div.clientHeight || p, 10), this._div.style.left = i.x - d / 2 + "px", this._div.style.bottom = -(i.y - s.height) + "px";
1467
+ },
1468
+ setHtml: function(e) {
1469
+ this._div.innerHTML = e;
1470
+ },
1471
+ setRelatedClass: function(e) {
1472
+ this.lushuMain = e;
1473
+ }
1474
+ });
1475
+ }
1476
+ return c;
1477
+ });
1478
+ })(zt);
1479
+ var Tt = { exports: {} };
1480
+ (function(t, l) {
1481
+ (function(n, c) {
1482
+ t.exports = c();
1483
+ })(N, function() {
1484
+ function n(m, e, s) {
1485
+ var i, r, p = m.prototype, d = new Function();
1486
+ d.prototype = e.prototype, r = m.prototype = new d();
1487
+ for (i in p)
1488
+ r[i] = p[i];
1489
+ m.prototype.constructor = m, m.superClass = e.prototype, r._className = s;
1490
+ }
1491
+ var c = (function() {
1492
+ var m = function(r) {
1493
+ var p = {
1494
+ data: [],
1495
+ heatmap: r
1496
+ };
1497
+ this.max = 1, this.get = function(d) {
1498
+ return p[d];
1499
+ }, this.set = function(d, f) {
1500
+ p[d] = f;
1501
+ };
1502
+ };
1503
+ m.prototype = {
1504
+ addDataPoint: function(i, r) {
1505
+ if (!(i < 0 || r < 0)) {
1506
+ var p = this, d = p.get("heatmap"), f = p.get("data");
1507
+ if (f[i] || (f[i] = []), f[i][r] || (f[i][r] = 0), f[i][r] += arguments.length < 3 ? 1 : arguments[2], p.set("data", f), p.max < f[i][r]) {
1508
+ d.get("actx").clearRect(0, 0, d.get("width"), d.get("height")), p.setDataSet({ max: f[i][r], data: f }, !0);
1509
+ return;
1510
+ }
1511
+ d.drawAlpha(i, r, f[i][r], !0);
1512
+ }
1513
+ },
1514
+ setDataSet: function(i, r) {
1515
+ var p = this, d = p.get("heatmap"), f = [], o = i.data, u = o.length;
1516
+ if (d.clear(), this.max = i.max, d.get("legend") && d.get("legend").update(i.max), r != null && r) {
1517
+ for (var v in o)
1518
+ if (v !== void 0)
1519
+ for (var w in o[v])
1520
+ w !== void 0 && d.drawAlpha(v, w, o[v][w], !1);
1521
+ } else
1522
+ for (; u--; ) {
1523
+ var h = o[u];
1524
+ d.drawAlpha(h.x, h.y, h.count, !1), f[h.x] || (f[h.x] = []), f[h.x][h.y] || (f[h.x][h.y] = 0), f[h.x][h.y] = h.count;
1525
+ }
1526
+ d.colorize(), this.set("data", o);
1527
+ },
1528
+ exportDataSet: function() {
1529
+ var i = this, r = i.get("data"), p = [];
1530
+ for (var d in r)
1531
+ if (d !== void 0)
1532
+ for (var f in r[d])
1533
+ f !== void 0 && p.push({ x: parseInt(d, 10), y: parseInt(f, 10), count: r[d][f] });
1534
+ return { max: i.max, data: p };
1535
+ },
1536
+ generateRandomDataSet: function(i) {
1537
+ var r = this.get("heatmap"), p = r.get("width"), d = r.get("height"), f = {}, o = Math.floor(Math.random() * 1e3 + 1);
1538
+ f.max = o;
1539
+ for (var u = []; i--; )
1540
+ u.push({ x: Math.floor(Math.random() * p + 1), y: Math.floor(Math.random() * d + 1), count: Math.floor(Math.random() * o + 1) });
1541
+ f.data = u, this.setDataSet(f);
1542
+ }
1543
+ };
1544
+ var e = function(r) {
1545
+ this.config = r;
1546
+ var p = {
1547
+ element: null,
1548
+ labelsEl: null,
1549
+ gradientCfg: null,
1550
+ ctx: null
1551
+ };
1552
+ this.get = function(d) {
1553
+ return p[d];
1554
+ }, this.set = function(d, f) {
1555
+ p[d] = f;
1556
+ }, this.init();
1557
+ };
1558
+ e.prototype = {
1559
+ init: function() {
1560
+ var i = this, r = i.config, p = r.title || "Legend", d = r.position, f = r.offset || 10;
1561
+ r.gradient;
1562
+ var o = document.createElement("ul"), u, v, w = "";
1563
+ i.processGradientObject(), d.indexOf("t") > -1 ? w += "top:" + f + "px;" : w += "bottom:" + f + "px;", d.indexOf("l") > -1 ? w += "left:" + f + "px;" : w += "right:" + f + "px;", u = document.createElement("div"), u.style.cssText = "border-radius:5px;position:absolute;" + w + "font-family:Helvetica; width:256px;z-index:10000000000; background:rgba(255,255,255,1);padding:10px;border:1px solid black;margin:0;", u.innerHTML = "<h3 style='padding:0;margin:0;text-align:center;font-size:16px;'>" + p + "</h3>", o.style.cssText = "position:relative;font-size:12px;display:block;list-style:none;list-style-type:none;margin:0;height:15px;", v = document.createElement("div"), v.style.cssText = ["position:relative;display:block;width:256px;height:15px;border-bottom:1px solid black; background-image:url(", i.createGradientImage(), ");"].join(""), u.appendChild(o), u.appendChild(v), i.set("element", u), i.set("labelsEl", o), i.update(1);
1564
+ },
1565
+ processGradientObject: function() {
1566
+ var i = this, r = this.config.gradient, p = [];
1567
+ for (var d in r)
1568
+ r.hasOwnProperty(d) && p.push({ stop: d, value: r[d] });
1569
+ p.sort(function(f, o) {
1570
+ return f.stop - o.stop;
1571
+ }), p.unshift({ stop: 0, value: "rgba(0,0,0,0)" }), i.set("gradientArr", p);
1572
+ },
1573
+ createGradientImage: function() {
1574
+ var i = this, r = i.get("gradientArr"), p = r.length, d = document.createElement("canvas"), f = d.getContext("2d"), o;
1575
+ d.width = "256", d.height = "15", o = f.createLinearGradient(0, 5, 256, 10);
1576
+ for (var u = 0; u < p; u++)
1577
+ o.addColorStop(1 / (p - 1) * u, r[u].value);
1578
+ f.fillStyle = o, f.fillRect(0, 5, 256, 10), f.strokeStyle = "black", f.beginPath();
1579
+ for (var u = 0; u < p; u++)
1580
+ f.moveTo((1 / (p - 1) * u * 256 >> 0) + 0.5, 0), f.lineTo((1 / (p - 1) * u * 256 >> 0) + 0.5, u == 0 ? 15 : 5);
1581
+ return f.moveTo(255.5, 0), f.lineTo(255.5, 15), f.moveTo(255.5, 4.5), f.lineTo(0, 4.5), f.stroke(), i.set("ctx", f), d.toDataURL();
1582
+ },
1583
+ getElement: function() {
1584
+ return this.get("element");
1585
+ },
1586
+ update: function(i) {
1587
+ for (var r = this, p = r.get("gradientArr"), d = r.get("ctx"), f = r.get("labelsEl"), o, u = "", v, w = 0; w < p.length; w++)
1588
+ o = i * p[w].stop >> 0, v = d.measureText(o).width / 2 >> 0, w == 0 && (v = 0), w == p.length - 1 && (v *= 2), u += '<li style="position:absolute;left:' + (((1 / (p.length - 1) * w * 256 || 0) >> 0) - v + 0.5) + 'px">' + o + "</li>";
1589
+ f.innerHTML = u;
1590
+ }
1591
+ };
1592
+ var s = function(r) {
1593
+ var p = {
1594
+ radius: 40,
1595
+ element: {},
1596
+ canvas: {},
1597
+ acanvas: {},
1598
+ ctx: {},
1599
+ actx: {},
1600
+ legend: null,
1601
+ visible: !0,
1602
+ width: 0,
1603
+ height: 0,
1604
+ max: !1,
1605
+ gradient: !1,
1606
+ opacity: 180,
1607
+ premultiplyAlpha: !1,
1608
+ bounds: {
1609
+ l: 1e3,
1610
+ r: 0,
1611
+ t: 1e3,
1612
+ b: 0
1613
+ },
1614
+ debug: !1
1615
+ };
1616
+ this.store = new m(this), this.get = function(d) {
1617
+ return p[d];
1618
+ }, this.set = function(d, f) {
1619
+ p[d] = f;
1620
+ }, this.configure(r), this.init();
1621
+ };
1622
+ return s.prototype = {
1623
+ configure: function(i) {
1624
+ var r = this;
1625
+ if (r.set("radius", i.radius || 40), r.set("element", i.element instanceof Object ? i.element : document.getElementById(i.element)), r.set("visible", i.visible != null ? i.visible : !0), r.set("max", i.max || !1), r.set("gradient", i.gradient || { 0.45: "rgb(0,0,255)", 0.55: "rgb(0,255,255)", 0.65: "rgb(0,255,0)", 0.95: "yellow", 1: "rgb(255,0,0)" }), r.set("opacity", parseInt(255 / (100 / i.opacity), 10) || 180), r.set("width", i.width || 0), r.set("height", i.height || 0), r.set("debug", i.debug), i.legend) {
1626
+ var p = i.legend;
1627
+ p.gradient = r.get("gradient"), r.set("legend", new e(p));
1628
+ }
1629
+ },
1630
+ resize: function() {
1631
+ var i = this, r = i.get("element"), p = i.get("canvas"), d = i.get("acanvas");
1632
+ p.width = d.width = i.get("width") || r.style.width.replace(/px/, "") || i.getWidth(r), this.set("width", p.width), p.height = d.height = i.get("height") || r.style.height.replace(/px/, "") || i.getHeight(r), this.set("height", p.height);
1633
+ },
1634
+ init: function() {
1635
+ var i = this, r = document.createElement("canvas"), p = document.createElement("canvas"), d = r.getContext("2d"), f = p.getContext("2d"), o = i.get("element");
1636
+ i.initColorPalette(), i.set("canvas", r), i.set("ctx", d), i.set("acanvas", p), i.set("actx", f), i.resize(), r.style.cssText = p.style.cssText = "position:absolute;top:0;left:0;z-index:10000000;", i.get("visible") || (r.style.display = "none"), o.appendChild(r), i.get("legend") && o.appendChild(i.get("legend").getElement()), i.get("debug") && document.body.appendChild(p), f.shadowOffsetX = 15e3, f.shadowOffsetY = 15e3, f.shadowBlur = 15;
1637
+ },
1638
+ initColorPalette: function() {
1639
+ var i = this, r = document.createElement("canvas"), p = i.get("gradient"), d, f, o;
1640
+ r.width = "1", r.height = "256", d = r.getContext("2d"), f = d.createLinearGradient(0, 0, 1, 256), o = d.getImageData(0, 0, 1, 1), o.data[0] = o.data[3] = 64, o.data[1] = o.data[2] = 0, d.putImageData(o, 0, 0), o = d.getImageData(0, 0, 1, 1), i.set("premultiplyAlpha", o.data[0] < 60 || o.data[0] > 70);
1641
+ for (var u in p)
1642
+ f.addColorStop(u, p[u]);
1643
+ d.fillStyle = f, d.fillRect(0, 0, 1, 256), i.set("gradient", d.getImageData(0, 0, 1, 256).data);
1644
+ },
1645
+ getWidth: function(i) {
1646
+ var r = i.offsetWidth;
1647
+ return i.style.paddingLeft && (r += i.style.paddingLeft), i.style.paddingRight && (r += i.style.paddingRight), r;
1648
+ },
1649
+ getHeight: function(i) {
1650
+ var r = i.offsetHeight;
1651
+ return i.style.paddingTop && (r += i.style.paddingTop), i.style.paddingBottom && (r += i.style.paddingBottom), r;
1652
+ },
1653
+ colorize: function(i, r) {
1654
+ var p = this, d = p.get("width"), f = p.get("radius"), o = p.get("height"), u = p.get("actx"), v = p.get("ctx"), w = f * 3, h = p.get("premultiplyAlpha"), x = p.get("gradient"), k = p.get("opacity"), z = p.get("bounds"), C, a, g, _, M, b, S, B, P;
1655
+ i != null && r != null ? (i + w > d && (i = d - w), i < 0 && (i = 0), r < 0 && (r = 0), r + w > o && (r = o - w), C = i, a = r, _ = i + w, g = r + w) : (z.l < 0 ? C = 0 : C = z.l, z.r > d ? _ = d : _ = z.r, z.t < 0 ? a = 0 : a = z.t, z.b > o ? g = o : g = z.b), M = u.getImageData(C, a, _ - C, g - a), b = M.data.length;
1656
+ for (var O = 3; O < b; O += 4)
1657
+ S = M.data[O], B = S * 4, B && (P = S < k ? S : k, M.data[O - 3] = x[B], M.data[O - 2] = x[B + 1], M.data[O - 1] = x[B + 2], h && (M.data[O - 3] /= 255 / P, M.data[O - 2] /= 255 / P, M.data[O - 1] /= 255 / P), M.data[O] = P);
1658
+ v.putImageData(M, C, a);
1659
+ },
1660
+ drawAlpha: function(i, r, p, d) {
1661
+ var f = this, o = f.get("radius"), u = f.get("actx");
1662
+ f.get("max");
1663
+ var v = f.get("bounds"), w = i - 1.5 * o >> 0, h = r - 1.5 * o >> 0, x = i + 1.5 * o >> 0, k = r + 1.5 * o >> 0;
1664
+ u.shadowColor = "rgba(0,0,0," + (p ? p / f.store.max : "0.1") + ")", u.shadowOffsetX = 15e3, u.shadowOffsetY = 15e3, u.shadowBlur = 15, u.beginPath(), u.arc(i - 15e3, r - 15e3, o, 0, Math.PI * 2, !0), u.closePath(), u.fill(), d ? f.colorize(w, h) : (w < v.l && (v.l = w), h < v.t && (v.t = h), x > v.r && (v.r = x), k > v.b && (v.b = k));
1665
+ },
1666
+ toggleDisplay: function() {
1667
+ var i = this, r = i.get("visible"), p = i.get("canvas");
1668
+ r ? p.style.display = "none" : p.style.display = "block", i.set("visible", !r);
1669
+ },
1670
+ getImageData: function() {
1671
+ return this.get("canvas").toDataURL();
1672
+ },
1673
+ clear: function() {
1674
+ var i = this, r = i.get("width"), p = i.get("height");
1675
+ i.store.set("data", []), i.get("ctx").clearRect(0, 0, r, p), i.get("actx").clearRect(0, 0, r, p);
1676
+ },
1677
+ cleanup: function() {
1678
+ var i = this;
1679
+ i.get("element").removeChild(i.get("canvas"));
1680
+ }
1681
+ }, {
1682
+ create: function(i) {
1683
+ return new s(i);
1684
+ },
1685
+ util: {
1686
+ mousePosition: function(i) {
1687
+ var r, p;
1688
+ if (i.layerX ? (r = i.layerX, p = i.layerY) : i.offsetX && (r = i.offsetX, p = i.offsetY), typeof r != "undefined")
1689
+ return [r, p];
1690
+ }
1691
+ }
1692
+ };
1693
+ })(), y = function(m) {
1694
+ try {
1695
+ BMap;
1696
+ } catch (s) {
1697
+ throw Error("Baidu Map JS API is not ready yet!");
1698
+ }
1699
+ if (!y._isExtended) {
1700
+ y._isExtended = !0, n(y, BMap.Overlay, "HeatmapOverlay");
1701
+ var e = new y(m);
1702
+ this.__proto__ = e.__proto__;
1703
+ }
1704
+ this.conf = m, this.heatmap = null, this.latlngs = [], this.bounds = null, this._moveendHandler = this._moveendHandler.bind(this);
1705
+ };
1706
+ return y.prototype.initialize = function(m) {
1707
+ this._map = m;
1708
+ var e = document.createElement("div");
1709
+ return e.style.position = "absolute", e.style.top = 0, e.style.left = 0, e.style.border = 0, e.style.width = this._map.getSize().width + "px", e.style.height = this._map.getSize().height + "px", this.conf.element = e, m.getPanes().mapPane.appendChild(e), this.heatmap = c.create(this.conf), this._div = e, e;
1710
+ }, y.prototype.draw = function() {
1711
+ var m = this._map.getBounds();
1712
+ if (!m.equals(this.bounds)) {
1713
+ this.bounds = m;
1714
+ var e = this._map.pointToOverlayPixel(m.getNorthEast()), s = this._map.pointToOverlayPixel(m.getSouthWest());
1715
+ if (!(!e || !s)) {
1716
+ var i = e.y, r = s.x, p = s.y - e.y, d = e.x - s.x;
1717
+ if (this.conf.element.style.left = r + "px", this.conf.element.style.top = i + "px", this.conf.element.style.width = d + "px", this.conf.element.style.height = p + "px", this.heatmap.store.get("heatmap").resize(), this.latlngs.length > 0) {
1718
+ this.heatmap.clear();
1719
+ for (var f = this.latlngs.length, o = {
1720
+ max: this.heatmap.store.max,
1721
+ data: []
1722
+ }; f--; ) {
1723
+ var u = this.latlngs[f].latlng;
1724
+ if (m.containsPoint(u)) {
1725
+ var v = this._map.pointToOverlayPixel(u), w = new BMap.Pixel(v.x - r, v.y - i), h = this.pixelTransform(w);
1726
+ o.data.push({
1727
+ x: h.x,
1728
+ y: h.y,
1729
+ count: this.latlngs[f].c
1730
+ });
1731
+ }
1732
+ }
1733
+ this.heatmap.store.setDataSet(o);
1734
+ }
1735
+ }
1736
+ }
1737
+ }, y.prototype.pixelTransform = function(m) {
1738
+ for (var e = this.heatmap.get("width"), s = this.heatmap.get("height"); m.x < 0; )
1739
+ m.x += e;
1740
+ for (; m.x > e; )
1741
+ m.x -= e;
1742
+ for (; m.y < 0; )
1743
+ m.y += s;
1744
+ for (; m.y > s; )
1745
+ m.y -= s;
1746
+ return m.x = m.x >> 0, m.y = m.y >> 0, m;
1747
+ }, y.prototype._moveendHandler = function(m) {
1748
+ this.setDataSet(this._data), delete this._data, this._map.removeEventListener("moveend", this._moveendHandler);
1749
+ }, y.prototype.setDataSet = function(m) {
1750
+ if (this._map) {
1751
+ var e = this._map.getBounds(), s = this._map.pointToOverlayPixel(e.getNorthEast()), i = this._map.pointToOverlayPixel(e.getSouthWest());
1752
+ (!s || !i) && (this._data = m, this._map.addEventListener("moveend", this._moveendHandler));
1753
+ var r = {
1754
+ max: m.max,
1755
+ data: []
1756
+ }, p = m.data, d = p.length;
1757
+ for (this.latlngs = []; d--; ) {
1758
+ var f = new BMap.Point(p[d].lng, p[d].lat);
1759
+ if (this.latlngs.push({
1760
+ latlng: f,
1761
+ c: p[d].count
1762
+ }), !!e.containsPoint(f)) {
1763
+ var o = this._map.pointToOverlayPixel(f), u = this._map.pointToOverlayPixel(e.getSouthWest()).x, v = this._map.pointToOverlayPixel(e.getNorthEast()).y, w = new BMap.Pixel(o.x - u, o.y - v), h = this.pixelTransform(w);
1764
+ r.data.push({
1765
+ x: h.x,
1766
+ y: h.y,
1767
+ count: p[d].count
1768
+ });
1769
+ }
1770
+ }
1771
+ this.heatmap.clear(), this.heatmap.store.setDataSet(r);
1772
+ }
1773
+ }, y.prototype.addDataPoint = function(m, e, s) {
1774
+ var i = new BMap.Point(m, e), r = this.pixelTransform(this._map.pointToOverlayPixel(i));
1775
+ this.heatmap.store.addDataPoint(r.x, r.y, s), this.latlngs.push({
1776
+ latlng: i,
1777
+ c: s
1778
+ });
1779
+ }, y.prototype.toggle = function() {
1780
+ this.heatmap.toggleDisplay();
1781
+ }, y;
1782
+ });
1783
+ })(Tt);
1784
+ var Et = { exports: {} };
1785
+ (function(t, l) {
1786
+ (function(n, c) {
1787
+ t.exports = c();
1788
+ })(N, function() {
1789
+ function n(m, e) {
1790
+ try {
1791
+ BMap;
1792
+ } catch (r) {
1793
+ throw Error("Baidu Map JS API is not ready yet!");
1794
+ }
1795
+ var s = c(m), i = new BMap.Polyline(s, e);
1796
+ return i.addEventListener("lineupdate", function() {
1797
+ this.isEditing && this.enableEditing();
1798
+ }), i.cornerPoints = m, i.editMarkers = [], i.enableEditing = function() {
1799
+ var r = this;
1800
+ if (r.map) {
1801
+ r.disableEditing();
1802
+ for (var p = 0; p < r.cornerPoints.length; p++) {
1803
+ var d = new BMap.Marker(r.cornerPoints[p], {
1804
+ icon: new BMap.Icon("http://api.map.baidu.com/library/CurveLine/1.5/src/circle.png", new BMap.Size(16, 16)),
1805
+ enableDragging: !0,
1806
+ raiseOnDrag: !0
1807
+ });
1808
+ d.addEventListener("dragend", function() {
1809
+ r.cornerPoints.length = 0;
1810
+ for (var f = 0; f < r.editMarkers.length; f++)
1811
+ r.cornerPoints.push(r.editMarkers[f].getPosition());
1812
+ var o = c(r.cornerPoints);
1813
+ r.setPath(o);
1814
+ }), d.index = p, r.editMarkers.push(d), r.map.addOverlay(d);
1815
+ }
1816
+ }
1817
+ r.isEditing = !0;
1818
+ }, i.disableEditing = function() {
1819
+ this.isEditing = !1;
1820
+ for (var r = 0; r < this.editMarkers.length; r++)
1821
+ this.map.removeOverlay(this.editMarkers[r]), this.editMarkers[r] = null;
1822
+ this.editMarkers.length = 0;
1823
+ }, i.getPath = function() {
1824
+ return s;
1825
+ }, i;
1826
+ }
1827
+ function c(m) {
1828
+ for (var e = [], s = 0; s < m.length - 1; s++) {
1829
+ var i = y(m[s], m[s + 1]);
1830
+ i && i.length > 0 && (e = e.concat(i));
1831
+ }
1832
+ return e;
1833
+ }
1834
+ function y(m, e) {
1835
+ var s = [];
1836
+ if (!m || !e || !(m instanceof BMap.Point) || !(e instanceof BMap.Point))
1837
+ return null;
1838
+ var i = function(_) {
1839
+ return 1 - 2 * _ + _ * _;
1840
+ }, r = function(_) {
1841
+ return 2 * _ - 2 * _ * _;
1842
+ }, p = function(_) {
1843
+ return _ * _;
1844
+ }, d = 30, f, o, u, v, w, h, x = 0, k = 0;
1845
+ if (typeof e == "undefined") {
1846
+ typeof s != "undefined" && (s = []);
1847
+ return;
1848
+ }
1849
+ var z = parseFloat(m.lat), C = parseFloat(e.lat), a = parseFloat(m.lng), g = parseFloat(e.lng);
1850
+ for (g > a && parseFloat(g - a) > 180 && a < 0 && (a = parseFloat(360 + a)), a > g && parseFloat(a - g) > 180 && g < 0 && (g = parseFloat(360 + g)), h = 0, C == z ? (f = 0, o = a - g) : g == a ? (f = Math.PI / 2, o = z - C) : (f = Math.atan((C - z) / (g - a)), o = (C - z) / Math.sin(f)), h == 0 && (h = f + Math.PI / 5), u = o / 2, w = u * Math.cos(h) + a, v = u * Math.sin(h) + z, x = 0; x < d + 1; x++)
1851
+ s.push(new BMap.Point(a * i(k) + w * r(k) + g * p(k), z * i(k) + v * r(k) + C * p(k))), k = k + 1 / d;
1852
+ return s;
1853
+ }
1854
+ return n;
1855
+ });
1856
+ })(Et);
1857
+ const Rt = "data:image/gif;base64,R0lGODlhLAHIAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4ODg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEhISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdHR0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpaWltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1tbW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CAgIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOTk5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5ubq6uru7u7y8vL29vb6+vr+/v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