@openc3/vue-common 6.2.1 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (541) hide show
  1. package/dist/{ArrayWidget-BIQi_bWC.cjs → ArrayWidget-Ba-YDfZB.cjs} +3 -3
  2. package/dist/{ArrayWidget-BIQi_bWC.cjs.map → ArrayWidget-Ba-YDfZB.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-BxEO5hEG.js → ArrayWidget-DAZApfkV.js} +5 -5
  4. package/dist/{ArrayWidget-BxEO5hEG.js.map → ArrayWidget-DAZApfkV.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-B_VPoV4v.js → ArrayplotWidget-BfsxDplv.js} +4 -4
  6. package/dist/{ArrayplotWidget-B_VPoV4v.js.map → ArrayplotWidget-BfsxDplv.js.map} +1 -1
  7. package/dist/ArrayplotWidget-Ckm4lmSc.cjs +2 -0
  8. package/dist/{ArrayplotWidget-Donxhd8_.cjs.map → ArrayplotWidget-Ckm4lmSc.cjs.map} +1 -1
  9. package/dist/{BarColumn-CyRSZHMh.cjs → BarColumn-Cp7oEFJR.cjs} +2 -2
  10. package/dist/{BarColumn-CyRSZHMh.cjs.map → BarColumn-Cp7oEFJR.cjs.map} +1 -1
  11. package/dist/{BarColumn-C9dkpg2O.js → BarColumn-q0nAsvrd.js} +3 -3
  12. package/dist/{BarColumn-C9dkpg2O.js.map → BarColumn-q0nAsvrd.js.map} +1 -1
  13. package/dist/BlockWidget-DRB-TDL_.cjs +3 -0
  14. package/dist/{BlockWidget-DPLN1jgj.cjs.map → BlockWidget-DRB-TDL_.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CuefOin6.js → BlockWidget-SDCUWcMQ.js} +5 -5
  16. package/dist/{BlockWidget-CuefOin6.js.map → BlockWidget-SDCUWcMQ.js.map} +1 -1
  17. package/dist/{ButtonWidget-B6HM0Doo.js → ButtonWidget-BVMjwC19.js} +7 -7
  18. package/dist/{ButtonWidget-B6HM0Doo.js.map → ButtonWidget-BVMjwC19.js.map} +1 -1
  19. package/dist/ButtonWidget-yJ70adEU.cjs +3 -0
  20. package/dist/{ButtonWidget-DccYzIY3.cjs.map → ButtonWidget-yJ70adEU.cjs.map} +1 -1
  21. package/dist/CanvasWidget-DXkxnt1x.cjs +2 -0
  22. package/dist/{CanvasWidget-BzTU9rc9.cjs.map → CanvasWidget-DXkxnt1x.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DZQGG-yQ.js → CanvasWidget-bVkufjRQ.js} +3 -3
  24. package/dist/{CanvasWidget-DZQGG-yQ.js.map → CanvasWidget-bVkufjRQ.js.map} +1 -1
  25. package/dist/CanvasdotWidget-Bi3nZh7g.cjs +2 -0
  26. package/dist/{CanvasdotWidget-B7VTS1QI.cjs.map → CanvasdotWidget-Bi3nZh7g.cjs.map} +1 -1
  27. package/dist/{CanvasdotWidget-6wuCSnw_.js → CanvasdotWidget-DpniFfca.js} +3 -3
  28. package/dist/{CanvasdotWidget-6wuCSnw_.js.map → CanvasdotWidget-DpniFfca.js.map} +1 -1
  29. package/dist/CanvasimageWidget-C-aBl-by.cjs +2 -0
  30. package/dist/{CanvasimageWidget-BwYpfmDE.cjs.map → CanvasimageWidget-C-aBl-by.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-mhcPpAuN.js → CanvasimageWidget-DHOSz-dJ.js} +4 -4
  32. package/dist/{CanvasimageWidget-mhcPpAuN.js.map → CanvasimageWidget-DHOSz-dJ.js.map} +1 -1
  33. package/dist/CanvasimagevalueWidget-DAbbV-LB.cjs +2 -0
  34. package/dist/{CanvasimagevalueWidget-E_NsZ82T.cjs.map → CanvasimagevalueWidget-DAbbV-LB.cjs.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js → CanvasimagevalueWidget-zrURWWUL.js} +4 -4
  36. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js.map → CanvasimagevalueWidget-zrURWWUL.js.map} +1 -1
  37. package/dist/CanvaslabelWidget-82bf_Awf.cjs +2 -0
  38. package/dist/{CanvaslabelWidget-BBDuXWfU.cjs.map → CanvaslabelWidget-82bf_Awf.cjs.map} +1 -1
  39. package/dist/{CanvaslabelWidget-CQZCeohU.js → CanvaslabelWidget-D-XAMifp.js} +3 -3
  40. package/dist/{CanvaslabelWidget-CQZCeohU.js.map → CanvaslabelWidget-D-XAMifp.js.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js → CanvaslabelvalueWidget-BsIdBtEb.js} +3 -3
  42. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js.map → CanvaslabelvalueWidget-BsIdBtEb.js.map} +1 -1
  43. package/dist/CanvaslabelvalueWidget-DgDzwLdi.cjs +2 -0
  44. package/dist/{CanvaslabelvalueWidget-DAdu7ujn.cjs.map → CanvaslabelvalueWidget-DgDzwLdi.cjs.map} +1 -1
  45. package/dist/CanvaslineWidget-BRRPuuqS.cjs +2 -0
  46. package/dist/{CanvaslineWidget-Bv5da1Vy.cjs.map → CanvaslineWidget-BRRPuuqS.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-nTP3fJB4.js → CanvaslineWidget-CA2aPGRg.js} +3 -3
  48. package/dist/{CanvaslineWidget-nTP3fJB4.js.map → CanvaslineWidget-CA2aPGRg.js.map} +1 -1
  49. package/dist/CanvaslinevalueWidget-BYjWr2gq.cjs +2 -0
  50. package/dist/{CanvaslinevalueWidget-BVfUB96K.cjs.map → CanvaslinevalueWidget-BYjWr2gq.cjs.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js → CanvaslinevalueWidget-J7epKRlo.js} +3 -3
  52. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js.map → CanvaslinevalueWidget-J7epKRlo.js.map} +1 -1
  53. package/dist/{CheckbuttonWidget-5-8YDsQL.js → CheckbuttonWidget-ByH-PDRG.js} +3 -3
  54. package/dist/{CheckbuttonWidget-5-8YDsQL.js.map → CheckbuttonWidget-ByH-PDRG.js.map} +1 -1
  55. package/dist/CheckbuttonWidget-DkoFFTcM.cjs +2 -0
  56. package/dist/{CheckbuttonWidget-BGqD-BGc.cjs.map → CheckbuttonWidget-DkoFFTcM.cjs.map} +1 -1
  57. package/dist/{ComboboxWidget-DzBL8h9f.js → ComboboxWidget-Bdm_fMzW.js} +3 -3
  58. package/dist/{ComboboxWidget-DzBL8h9f.js.map → ComboboxWidget-Bdm_fMzW.js.map} +1 -1
  59. package/dist/ComboboxWidget-Dq28F4bs.cjs +2 -0
  60. package/dist/{ComboboxWidget-DoHMlSAr.cjs.map → ComboboxWidget-Dq28F4bs.cjs.map} +1 -1
  61. package/dist/{CriticalCmdDialog-DLEasFsx.js → CriticalCmdDialog-Bcq8PGag.js} +17 -17
  62. package/dist/CriticalCmdDialog-Bcq8PGag.js.map +1 -0
  63. package/dist/CriticalCmdDialog-CLF7hYKu.cjs +2 -0
  64. package/dist/CriticalCmdDialog-CLF7hYKu.cjs.map +1 -0
  65. package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
  66. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
  67. package/dist/CustomIcon-h5X7369N.js +50 -0
  68. package/dist/CustomIcon-h5X7369N.js.map +1 -0
  69. package/dist/{DateWidget-CW7Od7lB.js → DateWidget-BaQqthC7.js} +4 -4
  70. package/dist/{DateWidget-CW7Od7lB.js.map → DateWidget-BaQqthC7.js.map} +1 -1
  71. package/dist/DateWidget-DCayVS3o.cjs +2 -0
  72. package/dist/{DateWidget-DKZz1J9J.cjs.map → DateWidget-DCayVS3o.cjs.map} +1 -1
  73. package/dist/{DetailsDialog-BvbziA7Y.js → DetailsDialog-C5jf8o0K.js} +16 -16
  74. package/dist/DetailsDialog-C5jf8o0K.js.map +1 -0
  75. package/dist/DetailsDialog-CangkVuF.cjs +2 -0
  76. package/dist/DetailsDialog-CangkVuF.cjs.map +1 -0
  77. package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
  78. package/dist/{DynamicWidget-3wHr6Ng-.cjs.map → DynamicWidget-BWEVCUfd.cjs.map} +1 -1
  79. package/dist/{DynamicWidget-gFSYxzvT.js → DynamicWidget-CfMtj7H8.js} +2 -2
  80. package/dist/{DynamicWidget-gFSYxzvT.js.map → DynamicWidget-CfMtj7H8.js.map} +1 -1
  81. package/dist/EventListDialog-Bniar26O.js +1509 -0
  82. package/dist/EventListDialog-Bniar26O.js.map +1 -0
  83. package/dist/EventListDialog-D_KXhGDO.cjs +2 -0
  84. package/dist/EventListDialog-D_KXhGDO.cjs.map +1 -0
  85. package/dist/FormatvalueWidget--H5B9i_Y.js +48 -0
  86. package/dist/FormatvalueWidget--H5B9i_Y.js.map +1 -0
  87. package/dist/FormatvalueWidget-CDh1rF5P.cjs +2 -0
  88. package/dist/FormatvalueWidget-CDh1rF5P.cjs.map +1 -0
  89. package/dist/Graph-DIR-5tJu.cjs +2 -0
  90. package/dist/Graph-DIR-5tJu.cjs.map +1 -0
  91. package/dist/{Graph-3rkhFP3G.js → Graph-M382Zo8o.js} +676 -806
  92. package/dist/Graph-M382Zo8o.js.map +1 -0
  93. package/dist/{GraphWidget-22NxFa9k.cjs → GraphWidget-CNUOLw5-.cjs} +2 -2
  94. package/dist/{GraphWidget-22NxFa9k.cjs.map → GraphWidget-CNUOLw5-.cjs.map} +1 -1
  95. package/dist/{GraphWidget-Dycey-mj.js → GraphWidget-_YOGDD1U.js} +2 -2
  96. package/dist/{GraphWidget-Dycey-mj.js.map → GraphWidget-_YOGDD1U.js.map} +1 -1
  97. package/dist/HorizontalWidget-Bix4q7It.cjs +2 -0
  98. package/dist/{HorizontalWidget-BBeB0eBI.cjs.map → HorizontalWidget-Bix4q7It.cjs.map} +1 -1
  99. package/dist/{HorizontalWidget-D31NRWy5.js → HorizontalWidget-D_gzrOWs.js} +3 -3
  100. package/dist/{HorizontalWidget-D31NRWy5.js.map → HorizontalWidget-D_gzrOWs.js.map} +1 -1
  101. package/dist/HorizontalboxWidget-B8a4-h2J.cjs +2 -0
  102. package/dist/HorizontalboxWidget-B8a4-h2J.cjs.map +1 -0
  103. package/dist/HorizontalboxWidget-GDcjO-UB.js +47 -0
  104. package/dist/HorizontalboxWidget-GDcjO-UB.js.map +1 -0
  105. package/dist/HorizontallineWidget-BD6dqVhE.cjs +2 -0
  106. package/dist/{HorizontallineWidget-BCKOQase.cjs.map → HorizontallineWidget-BD6dqVhE.cjs.map} +1 -1
  107. package/dist/HorizontallineWidget-DZvOYFxf.js +16 -0
  108. package/dist/{HorizontallineWidget-CbxREBYI.js.map → HorizontallineWidget-DZvOYFxf.js.map} +1 -1
  109. package/dist/{IframeWidget-Ctj8OIcG.js → IframeWidget-CuUav9b3.js} +3 -3
  110. package/dist/{IframeWidget-Ctj8OIcG.js.map → IframeWidget-CuUav9b3.js.map} +1 -1
  111. package/dist/IframeWidget-DL_CET3B.cjs +2 -0
  112. package/dist/{IframeWidget-CZwsTgvX.cjs.map → IframeWidget-DL_CET3B.cjs.map} +1 -1
  113. package/dist/{ImageLoader-BrNrCBvi.js → ImageLoader-3KLKJ5mV.js} +2 -2
  114. package/dist/{ImageLoader-BrNrCBvi.js.map → ImageLoader-3KLKJ5mV.js.map} +1 -1
  115. package/dist/{ImageLoader-D_Gq-KxR.cjs → ImageLoader-DaWMqoJS.cjs} +2 -2
  116. package/dist/{ImageLoader-D_Gq-KxR.cjs.map → ImageLoader-DaWMqoJS.cjs.map} +1 -1
  117. package/dist/{ImageviewerWidget-XrsqxmLo.js → ImageviewerWidget-BMZ6REN4.js} +3 -3
  118. package/dist/{ImageviewerWidget-XrsqxmLo.js.map → ImageviewerWidget-BMZ6REN4.js.map} +1 -1
  119. package/dist/ImageviewerWidget-_0YopZ1s.cjs +2 -0
  120. package/dist/{ImageviewerWidget-DwRPFSLR.cjs.map → ImageviewerWidget-_0YopZ1s.cjs.map} +1 -1
  121. package/dist/InterfacesTab-DGrLsTA0.cjs +2 -0
  122. package/dist/InterfacesTab-DGrLsTA0.cjs.map +1 -0
  123. package/dist/InterfacesTab-DTixVrGo.js +83 -0
  124. package/dist/InterfacesTab-DTixVrGo.js.map +1 -0
  125. package/dist/LabelWidget-DkZvBxYg.cjs +2 -0
  126. package/dist/LabelWidget-DkZvBxYg.cjs.map +1 -0
  127. package/dist/{LabelWidget-t7I87dp7.js → LabelWidget-oh6FIG6s.js} +5 -5
  128. package/dist/LabelWidget-oh6FIG6s.js.map +1 -0
  129. package/dist/{LabelledWidget-C7TDf92M.js → LabelledWidget-Bic36les.js} +5 -5
  130. package/dist/{LabelledWidget-C7TDf92M.js.map → LabelledWidget-Bic36les.js.map} +1 -1
  131. package/dist/LabelledWidget-D7nm73kj.cjs +2 -0
  132. package/dist/{LabelledWidget-DUpHxc9z.cjs.map → LabelledWidget-D7nm73kj.cjs.map} +1 -1
  133. package/dist/{LabelprogressbarWidget-wwLURt1u.js → LabelprogressbarWidget-CqIiGoDb.js} +5 -5
  134. package/dist/{LabelprogressbarWidget-wwLURt1u.js.map → LabelprogressbarWidget-CqIiGoDb.js.map} +1 -1
  135. package/dist/LabelprogressbarWidget-DY0Xd2c2.cjs +2 -0
  136. package/dist/{LabelprogressbarWidget-D6cpayCR.cjs.map → LabelprogressbarWidget-DY0Xd2c2.cjs.map} +1 -1
  137. package/dist/{LabelsparklineWidget-B3awLUyP.js → LabelsparklineWidget-DLhmqO02.js} +5 -5
  138. package/dist/{LabelsparklineWidget-B3awLUyP.js.map → LabelsparklineWidget-DLhmqO02.js.map} +1 -1
  139. package/dist/LabelsparklineWidget-DZ5-iEcK.cjs +2 -0
  140. package/dist/{LabelsparklineWidget-CJRnLETe.cjs.map → LabelsparklineWidget-DZ5-iEcK.cjs.map} +1 -1
  141. package/dist/{LabelvalueWidget-Zx_yHCtl.js → LabelvalueWidget-BefwSSVq.js} +5 -5
  142. package/dist/{LabelvalueWidget-Zx_yHCtl.js.map → LabelvalueWidget-BefwSSVq.js.map} +1 -1
  143. package/dist/LabelvalueWidget-D-u38nLh.cjs +2 -0
  144. package/dist/{LabelvalueWidget-owiMSCYl.cjs.map → LabelvalueWidget-D-u38nLh.cjs.map} +1 -1
  145. package/dist/LabelvaluedescWidget-DMuBCLM8.cjs +2 -0
  146. package/dist/{LabelvaluedescWidget-MRmZBUc0.cjs.map → LabelvaluedescWidget-DMuBCLM8.cjs.map} +1 -1
  147. package/dist/{LabelvaluedescWidget-BBSBh4vI.js → LabelvaluedescWidget-NxrCzznm.js} +10 -10
  148. package/dist/{LabelvaluedescWidget-BBSBh4vI.js.map → LabelvaluedescWidget-NxrCzznm.js.map} +1 -1
  149. package/dist/LabelvaluelimitsbarWidget-BY212bgc.cjs +2 -0
  150. package/dist/{LabelvaluelimitsbarWidget-BQ2XYPNE.cjs.map → LabelvaluelimitsbarWidget-BY212bgc.cjs.map} +1 -1
  151. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js → LabelvaluelimitsbarWidget-pq7qoolL.js} +5 -5
  152. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js.map → LabelvaluelimitsbarWidget-pq7qoolL.js.map} +1 -1
  153. package/dist/LabelvaluelimitscolumnWidget-DVLGU6ja.cjs +2 -0
  154. package/dist/{LabelvaluelimitscolumnWidget-DNmVpU8J.cjs.map → LabelvaluelimitscolumnWidget-DVLGU6ja.cjs.map} +1 -1
  155. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js → LabelvaluelimitscolumnWidget-edkpogsl.js} +6 -6
  156. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js.map → LabelvaluelimitscolumnWidget-edkpogsl.js.map} +1 -1
  157. package/dist/LabelvaluerangebarWidget-CA_7kTS2.cjs +2 -0
  158. package/dist/{LabelvaluerangebarWidget-DL0U8cbw.cjs.map → LabelvaluerangebarWidget-CA_7kTS2.cjs.map} +1 -1
  159. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js → LabelvaluerangebarWidget-DpJNv9dh.js} +5 -5
  160. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js.map → LabelvaluerangebarWidget-DpJNv9dh.js.map} +1 -1
  161. package/dist/{Layout-Bh7VzCZd.js → Layout-B0hvhBQO.js} +2 -2
  162. package/dist/{Layout-Bh7VzCZd.js.map → Layout-B0hvhBQO.js.map} +1 -1
  163. package/dist/Layout-BLADjt_A.cjs +2 -0
  164. package/dist/{Layout-DRL0EeSA.cjs.map → Layout-BLADjt_A.cjs.map} +1 -1
  165. package/dist/LedWidget--4eSxBnn.js +148 -0
  166. package/dist/LedWidget--4eSxBnn.js.map +1 -0
  167. package/dist/LedWidget-BoZKOBZg.cjs +2 -0
  168. package/dist/LedWidget-BoZKOBZg.cjs.map +1 -0
  169. package/dist/{LimitsbarWidget-Djui0IpK.js → LimitsbarWidget-BQaumgRt.js} +11 -8
  170. package/dist/LimitsbarWidget-BQaumgRt.js.map +1 -0
  171. package/dist/LimitsbarWidget-CyHbbNx3.cjs +2 -0
  172. package/dist/LimitsbarWidget-CyHbbNx3.cjs.map +1 -0
  173. package/dist/{LimitscolorWidget-DdmvKzmx.js → LimitscolorWidget-BBF9sRtF.js} +3 -3
  174. package/dist/{LimitscolorWidget-DdmvKzmx.js.map → LimitscolorWidget-BBF9sRtF.js.map} +1 -1
  175. package/dist/LimitscolorWidget-CsuRoqxm.cjs +2 -0
  176. package/dist/{LimitscolorWidget-CS0wpX9A.cjs.map → LimitscolorWidget-CsuRoqxm.cjs.map} +1 -1
  177. package/dist/LimitscolumnWidget-Cr1qFT8M.cjs +2 -0
  178. package/dist/{LimitscolumnWidget-C_UW6xKq.cjs.map → LimitscolumnWidget-Cr1qFT8M.cjs.map} +1 -1
  179. package/dist/{LimitscolumnWidget-Cc19IEjq.js → LimitscolumnWidget-DZZtSoXw.js} +3 -3
  180. package/dist/{LimitscolumnWidget-Cc19IEjq.js.map → LimitscolumnWidget-DZZtSoXw.js.map} +1 -1
  181. package/dist/LinegraphWidget-Cw9vua8K.cjs +2 -0
  182. package/dist/{LinegraphWidget-8td_PqgU.cjs.map → LinegraphWidget-Cw9vua8K.cjs.map} +1 -1
  183. package/dist/{LinegraphWidget-BtieJxeL.js → LinegraphWidget-DTLZmyWs.js} +5 -5
  184. package/dist/{LinegraphWidget-BtieJxeL.js.map → LinegraphWidget-DTLZmyWs.js.map} +1 -1
  185. package/dist/MatrixbycolumnsWidget-Digh2kY7.cjs +2 -0
  186. package/dist/{MatrixbycolumnsWidget-CGOeCNW2.cjs.map → MatrixbycolumnsWidget-Digh2kY7.cjs.map} +1 -1
  187. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js → MatrixbycolumnsWidget-dpgZz4wR.js} +4 -4
  188. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js.map → MatrixbycolumnsWidget-dpgZz4wR.js.map} +1 -1
  189. package/dist/MicroservicesTab-BQywJ_ya.cjs +2 -0
  190. package/dist/MicroservicesTab-BQywJ_ya.cjs.map +1 -0
  191. package/dist/MicroservicesTab-DbL48MBc.js +219 -0
  192. package/dist/MicroservicesTab-DbL48MBc.js.map +1 -0
  193. package/dist/Openc3Screen-COi4u-9k.cjs +5 -0
  194. package/dist/Openc3Screen-COi4u-9k.cjs.map +1 -0
  195. package/dist/Openc3Screen-CtwGKfq-.js +1690 -0
  196. package/dist/Openc3Screen-CtwGKfq-.js.map +1 -0
  197. package/dist/{OutputDialog-Ci5OT_fH.js → OutputDialog-B5qHVyck.js} +66 -81
  198. package/dist/OutputDialog-B5qHVyck.js.map +1 -0
  199. package/dist/OutputDialog-CFhG2RY9.cjs +2 -0
  200. package/dist/OutputDialog-CFhG2RY9.cjs.map +1 -0
  201. package/dist/PackagesTab-Bw34RkLc.js +313 -0
  202. package/dist/PackagesTab-Bw34RkLc.js.map +1 -0
  203. package/dist/PackagesTab-DXSowjd4.cjs +2 -0
  204. package/dist/PackagesTab-DXSowjd4.cjs.map +1 -0
  205. package/dist/{PluginsTab-Ds3jk64b.js → PluginsTab-C9t0-QVm.js} +206 -245
  206. package/dist/PluginsTab-C9t0-QVm.js.map +1 -0
  207. package/dist/PluginsTab-CPaBGJMa.cjs +6 -0
  208. package/dist/PluginsTab-CPaBGJMa.cjs.map +1 -0
  209. package/dist/{ProgressbarWidget-DIfqhHRE.js → ProgressbarWidget-7cYr8136.js} +3 -3
  210. package/dist/{ProgressbarWidget-DIfqhHRE.js.map → ProgressbarWidget-7cYr8136.js.map} +1 -1
  211. package/dist/ProgressbarWidget-CdOWGViG.cjs +2 -0
  212. package/dist/{ProgressbarWidget-CUIAYySg.cjs.map → ProgressbarWidget-CdOWGViG.cjs.map} +1 -1
  213. package/dist/RadiobuttonWidget-5t4ofYx3.cjs +2 -0
  214. package/dist/{RadiobuttonWidget-Cjk1JAP_.cjs.map → RadiobuttonWidget-5t4ofYx3.cjs.map} +1 -1
  215. package/dist/{RadiobuttonWidget-QzIkNP7m.js → RadiobuttonWidget-DTfn-7F2.js} +3 -3
  216. package/dist/{RadiobuttonWidget-QzIkNP7m.js.map → RadiobuttonWidget-DTfn-7F2.js.map} +1 -1
  217. package/dist/{RadiogroupWidget-Ci9sCX39.js → RadiogroupWidget-DWvTpw94.js} +3 -3
  218. package/dist/{RadiogroupWidget-Ci9sCX39.js.map → RadiogroupWidget-DWvTpw94.js.map} +1 -1
  219. package/dist/RadiogroupWidget-emxyymRZ.cjs +2 -0
  220. package/dist/{RadiogroupWidget-B4lkYWaC.cjs.map → RadiogroupWidget-emxyymRZ.cjs.map} +1 -1
  221. package/dist/{RangebarWidget-CN0YuHqy.js → RangebarWidget-CG2Y7eYp.js} +3 -3
  222. package/dist/{RangebarWidget-CN0YuHqy.js.map → RangebarWidget-CG2Y7eYp.js.map} +1 -1
  223. package/dist/RangebarWidget-CLMKfbiT.cjs +2 -0
  224. package/dist/{RangebarWidget-nl0rzj93.cjs.map → RangebarWidget-CLMKfbiT.cjs.map} +1 -1
  225. package/dist/{RedisTab-CVimDkIE.js → RedisTab-CvPLS0Qe.js} +3 -3
  226. package/dist/{RedisTab-CVimDkIE.js.map → RedisTab-CvPLS0Qe.js.map} +1 -1
  227. package/dist/RedisTab-PbizvHjY.cjs +2 -0
  228. package/dist/{RedisTab-DhS4GHDj.cjs.map → RedisTab-PbizvHjY.cjs.map} +1 -1
  229. package/dist/{RollupWidget-y4jBtJB2.js → RollupWidget-C6HKTfCR.js} +3 -3
  230. package/dist/{RollupWidget-y4jBtJB2.js.map → RollupWidget-C6HKTfCR.js.map} +1 -1
  231. package/dist/RollupWidget-CHKUdXMx.cjs +2 -0
  232. package/dist/{RollupWidget-Bgudi_bt.cjs.map → RollupWidget-CHKUdXMx.cjs.map} +1 -1
  233. package/dist/RoutersTab-D-ex_yMO.js +85 -0
  234. package/dist/RoutersTab-D-ex_yMO.js.map +1 -0
  235. package/dist/RoutersTab-zkaML-Xt.cjs +2 -0
  236. package/dist/RoutersTab-zkaML-Xt.cjs.map +1 -0
  237. package/dist/ScriptChooser-Dkf84RzQ.cjs +2 -0
  238. package/dist/ScriptChooser-Dkf84RzQ.cjs.map +1 -0
  239. package/dist/ScriptChooser-qiC2xQ_W.js +176 -0
  240. package/dist/ScriptChooser-qiC2xQ_W.js.map +1 -0
  241. package/dist/ScrollwindowWidget-CVc9EXW2.cjs +2 -0
  242. package/dist/{ScrollwindowWidget-BIiV7xwi.cjs.map → ScrollwindowWidget-CVc9EXW2.cjs.map} +1 -1
  243. package/dist/{ScrollwindowWidget-CBzYk4Y3.js → ScrollwindowWidget-DvhBCYd2.js} +4 -4
  244. package/dist/{ScrollwindowWidget-CBzYk4Y3.js.map → ScrollwindowWidget-DvhBCYd2.js.map} +1 -1
  245. package/dist/{SecretsTab-BjviaTxh.js → SecretsTab-CLkJfzf-.js} +39 -49
  246. package/dist/SecretsTab-CLkJfzf-.js.map +1 -0
  247. package/dist/SecretsTab-Clw9ErBz.cjs +2 -0
  248. package/dist/SecretsTab-Clw9ErBz.cjs.map +1 -0
  249. package/dist/SettingsTab-BJ9mrQ8U.cjs +3 -0
  250. package/dist/SettingsTab-BJ9mrQ8U.cjs.map +1 -0
  251. package/dist/{SettingsTab-Bo_dYXgb.js → SettingsTab-CysOMBFu.js} +198 -135
  252. package/dist/SettingsTab-CysOMBFu.js.map +1 -0
  253. package/dist/{SignalWidget-DQ5Uc2uV.js → SignalWidget-BZIoGjam.js} +16 -18
  254. package/dist/SignalWidget-BZIoGjam.js.map +1 -0
  255. package/dist/SignalWidget-DpNUpQNW.cjs +2 -0
  256. package/dist/SignalWidget-DpNUpQNW.cjs.map +1 -0
  257. package/dist/SimpleTextDialog-CGStqYvO.js +97 -0
  258. package/dist/SimpleTextDialog-CGStqYvO.js.map +1 -0
  259. package/dist/SimpleTextDialog-P2KPhVHq.cjs +2 -0
  260. package/dist/SimpleTextDialog-P2KPhVHq.cjs.map +1 -0
  261. package/dist/SpacerWidget-CHuv4qDR.cjs +2 -0
  262. package/dist/{SpacerWidget-BBJR6HBQ.cjs.map → SpacerWidget-CHuv4qDR.cjs.map} +1 -1
  263. package/dist/{SpacerWidget-6rsc_dSM.js → SpacerWidget-YBS8RZIE.js} +3 -3
  264. package/dist/{SpacerWidget-6rsc_dSM.js.map → SpacerWidget-YBS8RZIE.js.map} +1 -1
  265. package/dist/{SparklineWidget-CZtvu2ss.js → SparklineWidget-BMhY9vYe.js} +5 -5
  266. package/dist/{SparklineWidget-CZtvu2ss.js.map → SparklineWidget-BMhY9vYe.js.map} +1 -1
  267. package/dist/SparklineWidget-qWQGTMwn.cjs +2 -0
  268. package/dist/{SparklineWidget-BxBLnjAO.cjs.map → SparklineWidget-qWQGTMwn.cjs.map} +1 -1
  269. package/dist/TabbookWidget-C4jdzkQl.cjs +2 -0
  270. package/dist/{TabbookWidget-DyFQnA10.cjs.map → TabbookWidget-C4jdzkQl.cjs.map} +1 -1
  271. package/dist/{TabbookWidget-DNALU0jl.js → TabbookWidget-RfET19pq.js} +3 -3
  272. package/dist/{TabbookWidget-DNALU0jl.js.map → TabbookWidget-RfET19pq.js.map} +1 -1
  273. package/dist/TargetsTab-CVZR_Bp6.cjs +2 -0
  274. package/dist/TargetsTab-CVZR_Bp6.cjs.map +1 -0
  275. package/dist/TargetsTab-CfBt-dZW.js +117 -0
  276. package/dist/TargetsTab-CfBt-dZW.js.map +1 -0
  277. package/dist/TextBoxDialog-C60jmnyN.js +98 -0
  278. package/dist/TextBoxDialog-C60jmnyN.js.map +1 -0
  279. package/dist/TextBoxDialog-DWt30tB8.cjs +2 -0
  280. package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -0
  281. package/dist/TextboxWidget-Cm7-yWTZ.cjs +2 -0
  282. package/dist/{TextboxWidget-D6lW_dsU.cjs.map → TextboxWidget-Cm7-yWTZ.cjs.map} +1 -1
  283. package/dist/{TextboxWidget-5hqPj74D.js → TextboxWidget-M8vFBSxS.js} +5 -5
  284. package/dist/{TextboxWidget-5hqPj74D.js.map → TextboxWidget-M8vFBSxS.js.map} +1 -1
  285. package/dist/TextfieldWidget-Bfk2NPtC.cjs +2 -0
  286. package/dist/{TextfieldWidget-iHN7-fyF.cjs.map → TextfieldWidget-Bfk2NPtC.cjs.map} +1 -1
  287. package/dist/{TextfieldWidget-Df0ANSiU.js → TextfieldWidget-Dev7lCsT.js} +3 -3
  288. package/dist/{TextfieldWidget-Df0ANSiU.js.map → TextfieldWidget-Dev7lCsT.js.map} +1 -1
  289. package/dist/TimeWidget-BqkZJdg7.cjs +2 -0
  290. package/dist/{TimeWidget-C3NZqTEG.cjs.map → TimeWidget-BqkZJdg7.cjs.map} +1 -1
  291. package/dist/{TimeWidget-C6XQMUG2.js → TimeWidget-CQzn13rQ.js} +4 -4
  292. package/dist/{TimeWidget-C6XQMUG2.js.map → TimeWidget-CQzn13rQ.js.map} +1 -1
  293. package/dist/{TitleWidget-B9SPUlbW.js → TitleWidget-C4zbSian.js} +3 -3
  294. package/dist/{TitleWidget-B9SPUlbW.js.map → TitleWidget-C4zbSian.js.map} +1 -1
  295. package/dist/TitleWidget-DW0hJ0FE.cjs +2 -0
  296. package/dist/{TitleWidget-CWZs33c4.cjs.map → TitleWidget-DW0hJ0FE.cjs.map} +1 -1
  297. package/dist/ToolsTab-CKeFb94Y.cjs +7 -0
  298. package/dist/{ToolsTab-CUpUmkZL.cjs.map → ToolsTab-CKeFb94Y.cjs.map} +1 -1
  299. package/dist/ToolsTab-CnhhRS3J.js +1501 -0
  300. package/dist/{ToolsTab-Cgpb2nAW.js.map → ToolsTab-CnhhRS3J.js.map} +1 -1
  301. package/dist/TopBar-4zZ-wYMY.cjs +2 -0
  302. package/dist/TopBar-4zZ-wYMY.cjs.map +1 -0
  303. package/dist/{TopBar-F1jHuFan.js → TopBar-BQhv8Jcc.js} +102 -68
  304. package/dist/TopBar-BQhv8Jcc.js.map +1 -0
  305. package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs +2 -0
  306. package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs.map +1 -0
  307. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js → UpgradeToEnterpriseDialog-c6twungI.js} +27 -27
  308. package/dist/UpgradeToEnterpriseDialog-c6twungI.js.map +1 -0
  309. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs +1497 -0
  310. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs.map +1 -0
  311. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js +30244 -0
  312. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js.map +1 -0
  313. package/dist/{VWidget-C4spAawK.js → VWidget-iASFPjdx.js} +3 -3
  314. package/dist/{VWidget-C4spAawK.js.map → VWidget-iASFPjdx.js.map} +1 -1
  315. package/dist/{VWidget-C2x_zSC2.cjs → VWidget-iTwRH6Qq.cjs} +2 -2
  316. package/dist/{VWidget-C2x_zSC2.cjs.map → VWidget-iTwRH6Qq.cjs.map} +1 -1
  317. package/dist/{ValueWidget-D4RrYVEK.js → ValueWidget-BVI6uUVX.js} +17 -15
  318. package/dist/ValueWidget-BVI6uUVX.js.map +1 -0
  319. package/dist/ValueWidget-CPuSUgn9.cjs +2 -0
  320. package/dist/ValueWidget-CPuSUgn9.cjs.map +1 -0
  321. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js → ValuelimitsbarWidget-BiIcery0.js} +5 -5
  322. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js.map → ValuelimitsbarWidget-BiIcery0.js.map} +1 -1
  323. package/dist/ValuelimitsbarWidget-CNdyobcf.cjs +2 -0
  324. package/dist/{ValuelimitsbarWidget-DJuh7FOs.cjs.map → ValuelimitsbarWidget-CNdyobcf.cjs.map} +1 -1
  325. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js → ValuelimitscolumnWidget-BiRI8GbI.js} +5 -5
  326. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js.map → ValuelimitscolumnWidget-BiRI8GbI.js.map} +1 -1
  327. package/dist/ValuelimitscolumnWidget-Db0K4OjQ.cjs +2 -0
  328. package/dist/{ValuelimitscolumnWidget-BFpG-H7v.cjs.map → ValuelimitscolumnWidget-Db0K4OjQ.cjs.map} +1 -1
  329. package/dist/{ValuerangebarWidget-CecQRIok.js → ValuerangebarWidget-CtMFQu9-.js} +5 -5
  330. package/dist/{ValuerangebarWidget-CecQRIok.js.map → ValuerangebarWidget-CtMFQu9-.js.map} +1 -1
  331. package/dist/ValuerangebarWidget-DAEr-D_E.cjs +2 -0
  332. package/dist/{ValuerangebarWidget-BlZSaiXo.cjs.map → ValuerangebarWidget-DAEr-D_E.cjs.map} +1 -1
  333. package/dist/{VerticalWidget-D8jUFxjS.js → VerticalWidget-CRmcpQBn.js} +3 -3
  334. package/dist/{VerticalWidget-D8jUFxjS.js.map → VerticalWidget-CRmcpQBn.js.map} +1 -1
  335. package/dist/VerticalWidget-YG3auPJa.cjs +2 -0
  336. package/dist/{VerticalWidget--8UErB4q.cjs.map → VerticalWidget-YG3auPJa.cjs.map} +1 -1
  337. package/dist/VerticalboxWidget-C-qChjug.js +46 -0
  338. package/dist/VerticalboxWidget-C-qChjug.js.map +1 -0
  339. package/dist/VerticalboxWidget-DX8-gFay.cjs +2 -0
  340. package/dist/VerticalboxWidget-DX8-gFay.cjs.map +1 -0
  341. package/dist/{Widget-fRCERxGf.js → Widget-CFEnOKms.js} +19 -19
  342. package/dist/Widget-CFEnOKms.js.map +1 -0
  343. package/dist/Widget-EsyLQi_8.cjs +2 -0
  344. package/dist/Widget-EsyLQi_8.cjs.map +1 -0
  345. package/dist/components.cjs +3 -6
  346. package/dist/components.cjs.map +1 -1
  347. package/dist/components.js +402 -2029
  348. package/dist/components.js.map +1 -1
  349. package/dist/icons.cjs +1 -1
  350. package/dist/icons.cjs.map +1 -1
  351. package/dist/icons.js +59 -52
  352. package/dist/icons.js.map +1 -1
  353. package/dist/index-DcL65Mqb.cjs +7 -0
  354. package/dist/index-DcL65Mqb.cjs.map +1 -0
  355. package/dist/{index-CFQnWdPA.js → index-qCq0L4jN.js} +404 -406
  356. package/dist/index-qCq0L4jN.js.map +1 -0
  357. package/dist/plugins.cjs +4 -4
  358. package/dist/plugins.cjs.map +1 -1
  359. package/dist/plugins.js +86 -77
  360. package/dist/plugins.js.map +1 -1
  361. package/dist/{timeFilters-CRYpYDdf.js → timeFilters-BKnCM4rv.js} +139 -136
  362. package/dist/{timeFilters-CRYpYDdf.js.map → timeFilters-BKnCM4rv.js.map} +1 -1
  363. package/dist/timeFilters-CJFxfjqN.cjs +2 -0
  364. package/dist/{timeFilters-8SaYvcH0.cjs.map → timeFilters-CJFxfjqN.cjs.map} +1 -1
  365. package/dist/tools/admin.cjs +10 -10
  366. package/dist/tools/admin.cjs.map +1 -1
  367. package/dist/tools/admin.js +790 -736
  368. package/dist/tools/admin.js.map +1 -1
  369. package/dist/tools/base.cjs +1 -1
  370. package/dist/tools/base.cjs.map +1 -1
  371. package/dist/tools/base.js +217 -226
  372. package/dist/tools/base.js.map +1 -1
  373. package/dist/tools/calendar.cjs +1 -1
  374. package/dist/tools/calendar.cjs.map +1 -1
  375. package/dist/tools/calendar.js +9 -1583
  376. package/dist/tools/calendar.js.map +1 -1
  377. package/dist/tools/scriptrunner.cjs +85 -0
  378. package/dist/tools/scriptrunner.cjs.map +1 -0
  379. package/dist/tools/scriptrunner.js +4574 -0
  380. package/dist/tools/scriptrunner.js.map +1 -0
  381. package/dist/util.cjs +1 -1
  382. package/dist/util.js +1 -1
  383. package/dist/vue-common.css +1 -1
  384. package/dist/widgets.cjs +1 -1
  385. package/dist/widgets.js +64 -64
  386. package/package.json +20 -15
  387. package/dist/ArrayplotWidget-Donxhd8_.cjs +0 -2
  388. package/dist/BlockWidget-DPLN1jgj.cjs +0 -3
  389. package/dist/ButtonWidget-DccYzIY3.cjs +0 -3
  390. package/dist/CanvasWidget-BzTU9rc9.cjs +0 -2
  391. package/dist/CanvasdotWidget-B7VTS1QI.cjs +0 -2
  392. package/dist/CanvasimageWidget-BwYpfmDE.cjs +0 -2
  393. package/dist/CanvasimagevalueWidget-E_NsZ82T.cjs +0 -2
  394. package/dist/CanvaslabelWidget-BBDuXWfU.cjs +0 -2
  395. package/dist/CanvaslabelvalueWidget-DAdu7ujn.cjs +0 -2
  396. package/dist/CanvaslineWidget-Bv5da1Vy.cjs +0 -2
  397. package/dist/CanvaslinevalueWidget-BVfUB96K.cjs +0 -2
  398. package/dist/CheckbuttonWidget-BGqD-BGc.cjs +0 -2
  399. package/dist/ComboboxWidget-DoHMlSAr.cjs +0 -2
  400. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs +0 -2
  401. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs.map +0 -1
  402. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js +0 -10
  403. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js.map +0 -1
  404. package/dist/CriticalCmdDialog-DLEasFsx.js.map +0 -1
  405. package/dist/CriticalCmdDialog-DoLBrU2k.cjs +0 -2
  406. package/dist/CriticalCmdDialog-DoLBrU2k.cjs.map +0 -1
  407. package/dist/DateWidget-DKZz1J9J.cjs +0 -2
  408. package/dist/DetailsDialog-BvbziA7Y.js.map +0 -1
  409. package/dist/DetailsDialog-CiuQYvJK.cjs +0 -2
  410. package/dist/DetailsDialog-CiuQYvJK.cjs.map +0 -1
  411. package/dist/DynamicWidget-3wHr6Ng-.cjs +0 -2
  412. package/dist/FormatvalueWidget-CGpnTqVH.js +0 -44
  413. package/dist/FormatvalueWidget-CGpnTqVH.js.map +0 -1
  414. package/dist/FormatvalueWidget-DFrbeKb9.cjs +0 -2
  415. package/dist/FormatvalueWidget-DFrbeKb9.cjs.map +0 -1
  416. package/dist/Graph-3rkhFP3G.js.map +0 -1
  417. package/dist/Graph-C3vGMcos.cjs +0 -2
  418. package/dist/Graph-C3vGMcos.cjs.map +0 -1
  419. package/dist/HorizontalWidget-BBeB0eBI.cjs +0 -2
  420. package/dist/HorizontalboxWidget-Br8dSVHD.js +0 -38
  421. package/dist/HorizontalboxWidget-Br8dSVHD.js.map +0 -1
  422. package/dist/HorizontalboxWidget-DsdzrCJx.cjs +0 -2
  423. package/dist/HorizontalboxWidget-DsdzrCJx.cjs.map +0 -1
  424. package/dist/HorizontallineWidget-BCKOQase.cjs +0 -2
  425. package/dist/HorizontallineWidget-CbxREBYI.js +0 -11
  426. package/dist/IframeWidget-CZwsTgvX.cjs +0 -2
  427. package/dist/ImageviewerWidget-DwRPFSLR.cjs +0 -2
  428. package/dist/InterfacesTab-CLaicsHA.cjs +0 -2
  429. package/dist/InterfacesTab-CLaicsHA.cjs.map +0 -1
  430. package/dist/InterfacesTab-DAeNlGlB.js +0 -93
  431. package/dist/InterfacesTab-DAeNlGlB.js.map +0 -1
  432. package/dist/LabelWidget-C-s8OVmA.cjs +0 -2
  433. package/dist/LabelWidget-C-s8OVmA.cjs.map +0 -1
  434. package/dist/LabelWidget-t7I87dp7.js.map +0 -1
  435. package/dist/LabelledWidget-DUpHxc9z.cjs +0 -2
  436. package/dist/LabelprogressbarWidget-D6cpayCR.cjs +0 -2
  437. package/dist/LabelsparklineWidget-CJRnLETe.cjs +0 -2
  438. package/dist/LabelvalueWidget-owiMSCYl.cjs +0 -2
  439. package/dist/LabelvaluedescWidget-MRmZBUc0.cjs +0 -2
  440. package/dist/LabelvaluelimitsbarWidget-BQ2XYPNE.cjs +0 -2
  441. package/dist/LabelvaluelimitscolumnWidget-DNmVpU8J.cjs +0 -2
  442. package/dist/LabelvaluerangebarWidget-DL0U8cbw.cjs +0 -2
  443. package/dist/Layout-DRL0EeSA.cjs +0 -2
  444. package/dist/LedWidget-B8rjFe1b.cjs +0 -2
  445. package/dist/LedWidget-B8rjFe1b.cjs.map +0 -1
  446. package/dist/LedWidget-CxJjJBBS.js +0 -71
  447. package/dist/LedWidget-CxJjJBBS.js.map +0 -1
  448. package/dist/LimitsbarWidget-CYIH8fdp.cjs +0 -2
  449. package/dist/LimitsbarWidget-CYIH8fdp.cjs.map +0 -1
  450. package/dist/LimitsbarWidget-Djui0IpK.js.map +0 -1
  451. package/dist/LimitscolorWidget-CS0wpX9A.cjs +0 -2
  452. package/dist/LimitscolumnWidget-C_UW6xKq.cjs +0 -2
  453. package/dist/LinegraphWidget-8td_PqgU.cjs +0 -2
  454. package/dist/MatrixbycolumnsWidget-CGOeCNW2.cjs +0 -2
  455. package/dist/MicroservicesTab-IbTmbPxO.js +0 -268
  456. package/dist/MicroservicesTab-IbTmbPxO.js.map +0 -1
  457. package/dist/MicroservicesTab-uMC8NebS.cjs +0 -2
  458. package/dist/MicroservicesTab-uMC8NebS.cjs.map +0 -1
  459. package/dist/OutputDialog-B4Q0QMJ1.cjs +0 -2
  460. package/dist/OutputDialog-B4Q0QMJ1.cjs.map +0 -1
  461. package/dist/OutputDialog-Ci5OT_fH.js.map +0 -1
  462. package/dist/PackagesTab-BX8YP3H1.js +0 -332
  463. package/dist/PackagesTab-BX8YP3H1.js.map +0 -1
  464. package/dist/PackagesTab-eYbk2vw7.cjs +0 -2
  465. package/dist/PackagesTab-eYbk2vw7.cjs.map +0 -1
  466. package/dist/PluginsTab-Ck3DvEGm.cjs +0 -6
  467. package/dist/PluginsTab-Ck3DvEGm.cjs.map +0 -1
  468. package/dist/PluginsTab-Ds3jk64b.js.map +0 -1
  469. package/dist/ProgressbarWidget-CUIAYySg.cjs +0 -2
  470. package/dist/RadiobuttonWidget-Cjk1JAP_.cjs +0 -2
  471. package/dist/RadiogroupWidget-B4lkYWaC.cjs +0 -2
  472. package/dist/RangebarWidget-nl0rzj93.cjs +0 -2
  473. package/dist/RedisTab-DhS4GHDj.cjs +0 -2
  474. package/dist/RollupWidget-Bgudi_bt.cjs +0 -2
  475. package/dist/RoutersTab-CzO10cVP.cjs +0 -2
  476. package/dist/RoutersTab-CzO10cVP.cjs.map +0 -1
  477. package/dist/RoutersTab-Dki_66av.js +0 -95
  478. package/dist/RoutersTab-Dki_66av.js.map +0 -1
  479. package/dist/ScriptChooser-BNm_zXxX.cjs +0 -2
  480. package/dist/ScriptChooser-BNm_zXxX.cjs.map +0 -1
  481. package/dist/ScriptChooser-l5i8c8KP.js +0 -199
  482. package/dist/ScriptChooser-l5i8c8KP.js.map +0 -1
  483. package/dist/ScrollwindowWidget-BIiV7xwi.cjs +0 -2
  484. package/dist/SecretsTab-BSzFZ81X.cjs +0 -2
  485. package/dist/SecretsTab-BSzFZ81X.cjs.map +0 -1
  486. package/dist/SecretsTab-BjviaTxh.js.map +0 -1
  487. package/dist/SettingsTab-Bo_dYXgb.js.map +0 -1
  488. package/dist/SettingsTab-DH8LAAoG.cjs +0 -3
  489. package/dist/SettingsTab-DH8LAAoG.cjs.map +0 -1
  490. package/dist/SignalWidget-CvZkvejy.cjs +0 -2
  491. package/dist/SignalWidget-CvZkvejy.cjs.map +0 -1
  492. package/dist/SignalWidget-DQ5Uc2uV.js.map +0 -1
  493. package/dist/SimpleTextDialog-CheuP_ls.js +0 -108
  494. package/dist/SimpleTextDialog-CheuP_ls.js.map +0 -1
  495. package/dist/SimpleTextDialog-DmeNMMCR.cjs +0 -2
  496. package/dist/SimpleTextDialog-DmeNMMCR.cjs.map +0 -1
  497. package/dist/SpacerWidget-BBJR6HBQ.cjs +0 -2
  498. package/dist/SparklineWidget-BxBLnjAO.cjs +0 -2
  499. package/dist/TabbookWidget-DyFQnA10.cjs +0 -2
  500. package/dist/TargetsTab-Cd8U1aN_.js +0 -129
  501. package/dist/TargetsTab-Cd8U1aN_.js.map +0 -1
  502. package/dist/TargetsTab-DMiOliqg.cjs +0 -2
  503. package/dist/TargetsTab-DMiOliqg.cjs.map +0 -1
  504. package/dist/TextBoxDialog-DvUf3Cak.cjs +0 -2
  505. package/dist/TextBoxDialog-DvUf3Cak.cjs.map +0 -1
  506. package/dist/TextBoxDialog-fHkDTtzI.js +0 -110
  507. package/dist/TextBoxDialog-fHkDTtzI.js.map +0 -1
  508. package/dist/TextboxWidget-D6lW_dsU.cjs +0 -2
  509. package/dist/TextfieldWidget-iHN7-fyF.cjs +0 -2
  510. package/dist/TimeWidget-C3NZqTEG.cjs +0 -2
  511. package/dist/TitleWidget-CWZs33c4.cjs +0 -2
  512. package/dist/ToolsTab-CUpUmkZL.cjs +0 -7
  513. package/dist/ToolsTab-Cgpb2nAW.js +0 -1521
  514. package/dist/TopBar-DuXL27iD.cjs +0 -2
  515. package/dist/TopBar-DuXL27iD.cjs.map +0 -1
  516. package/dist/TopBar-F1jHuFan.js.map +0 -1
  517. package/dist/UpgradeToEnterpriseDialog-DVcAH30Y.js.map +0 -1
  518. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs +0 -2
  519. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs.map +0 -1
  520. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs +0 -1417
  521. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs.map +0 -1
  522. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js +0 -26941
  523. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js.map +0 -1
  524. package/dist/ValueWidget-D4RrYVEK.js.map +0 -1
  525. package/dist/ValueWidget-Do3Yn47P.cjs +0 -2
  526. package/dist/ValueWidget-Do3Yn47P.cjs.map +0 -1
  527. package/dist/ValuelimitsbarWidget-DJuh7FOs.cjs +0 -2
  528. package/dist/ValuelimitscolumnWidget-BFpG-H7v.cjs +0 -2
  529. package/dist/ValuerangebarWidget-BlZSaiXo.cjs +0 -2
  530. package/dist/VerticalWidget--8UErB4q.cjs +0 -2
  531. package/dist/VerticalboxWidget-B4eGUSYH.js +0 -37
  532. package/dist/VerticalboxWidget-B4eGUSYH.js.map +0 -1
  533. package/dist/VerticalboxWidget-cxHq1WKQ.cjs +0 -2
  534. package/dist/VerticalboxWidget-cxHq1WKQ.cjs.map +0 -1
  535. package/dist/Widget-DNf52jRQ.cjs +0 -2
  536. package/dist/Widget-DNf52jRQ.cjs.map +0 -1
  537. package/dist/Widget-fRCERxGf.js.map +0 -1
  538. package/dist/index-Bz_jHTkl.cjs +0 -7
  539. package/dist/index-Bz_jHTkl.cjs.map +0 -1
  540. package/dist/index-CFQnWdPA.js.map +0 -1
  541. package/dist/timeFilters-8SaYvcH0.cjs +0 -2
@@ -1,10 +1,10 @@
1
- import { a as pe } from "../index-CFQnWdPA.js";
2
- import { resolveComponent as _, createBlock as M, openBlock as S, withCtx as u, createVNode as g, createElementVNode as k, createElementBlock as V, createTextVNode as E, Fragment as P, renderList as F, createCommentVNode as H, toDisplayString as A, mergeProps as me, withModifiers as j, normalizeProps as _e, guardReactiveProps as be, withDirectives as we, vShow as ye, toRaw as ve } from "vue";
3
- import { _ as U } from "../CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js";
4
- import { c as R, a as xe } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
1
+ import { a as we } from "../index-qCq0L4jN.js";
2
+ import { resolveComponent as m, createBlock as M, openBlock as E, withCtx as g, createVNode as c, createElementVNode as T, createElementBlock as V, createTextVNode as S, Fragment as G, renderList as $, createCommentVNode as j, toDisplayString as A, withModifiers as H, withDirectives as ye, vShow as ve, toRaw as xe } from "vue";
3
+ import { _ as q } from "../CustomIcon-h5X7369N.js";
4
+ import { b as I, l as Ce } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js";
5
+ import { A as U, T as Ee } from "../TopBar-BQhv8Jcc.js";
5
6
  import "single-spa";
6
- import { T as Le } from "../TopBar-F1jHuFan.js";
7
- const Se = {
7
+ const Le = {
8
8
  props: {
9
9
  modelValue: Boolean
10
10
  },
@@ -40,7 +40,7 @@ const Se = {
40
40
  }));
41
41
  },
42
42
  getResponse: function() {
43
- this.disableSearch = !0, pe.get(this.url).then((e) => {
43
+ this.disableSearch = !0, we.get(this.url).then((e) => {
44
44
  this.response = e.data;
45
45
  }), setTimeout(() => {
46
46
  this.disableSearch = !1;
@@ -54,66 +54,66 @@ const Se = {
54
54
  t.href = e.url, t.setAttribute("download", e.name), t.click(), t.remove();
55
55
  }
56
56
  }
57
- }, Ee = { class: "pa-3" }, Ce = { class: "px-2" }, De = {
57
+ }, Se = { class: "pa-3" }, De = { class: "px-2" }, Me = {
58
58
  key: 0,
59
59
  class: "mt-4"
60
60
  }, Te = {
61
61
  key: 1,
62
62
  class: "mt-4"
63
- }, ke = { key: 0 }, Ie = { key: 1 };
64
- function Me(e, t, n, o, s, i) {
65
- const l = _("v-spacer"), r = _("v-toolbar"), a = _("v-row"), f = _("v-icon"), c = _("v-btn"), h = _("v-col"), p = _("v-list-item-title"), m = _("v-progress-circular"), w = _("v-tooltip"), v = _("v-list-item"), y = _("v-divider"), b = _("v-card-text"), L = _("v-card"), x = _("v-dialog");
66
- return S(), M(x, {
63
+ };
64
+ function ke(e, t, n, o, l, i) {
65
+ const s = m("v-spacer"), r = m("v-toolbar"), a = m("v-row"), f = m("v-icon"), u = m("v-btn"), h = m("v-col"), p = m("v-list-item-title"), _ = m("v-progress-circular"), w = m("v-list-item"), C = m("v-divider"), y = m("v-card-text"), b = m("v-card"), v = m("v-dialog");
66
+ return E(), M(v, {
67
67
  modelValue: i.show,
68
- "onUpdate:modelValue": t[0] || (t[0] = (C) => i.show = C),
68
+ "onUpdate:modelValue": t[0] || (t[0] = (x) => i.show = x),
69
69
  width: "600"
70
70
  }, {
71
- default: u(() => [
72
- g(L, null, {
73
- default: u(() => [
74
- g(r, { height: "24" }, {
75
- default: u(() => [
76
- g(l),
77
- t[1] || (t[1] = k("span", null, " Download Gems ", -1)),
78
- g(l)
71
+ default: g(() => [
72
+ c(b, null, {
73
+ default: g(() => [
74
+ c(r, { height: "24" }, {
75
+ default: g(() => [
76
+ c(s),
77
+ t[1] || (t[1] = T("span", null, " Download Gems ", -1)),
78
+ c(s)
79
79
  ]),
80
80
  _: 1
81
81
  }),
82
- g(b, null, {
83
- default: u(() => [
84
- k("div", Ee, [
85
- g(a, { class: "my-2" }, {
86
- default: u(() => t[2] || (t[2] = [
87
- E(" Select a download option ")
82
+ c(y, null, {
83
+ default: g(() => [
84
+ T("div", Se, [
85
+ c(a, { class: "my-2" }, {
86
+ default: g(() => t[2] || (t[2] = [
87
+ S(" Select a download option ")
88
88
  ])),
89
89
  _: 1
90
90
  }),
91
- g(a, null, {
92
- default: u(() => [
93
- g(h, null, {
94
- default: u(() => [
95
- k("div", Ce, [
96
- g(c, {
97
- onClick: i.searchGithub,
91
+ c(a, null, {
92
+ default: g(() => [
93
+ c(h, null, {
94
+ default: g(() => [
95
+ T("div", De, [
96
+ c(u, {
98
97
  block: "",
99
98
  "data-test": "searchGithub",
100
99
  color: "primary",
101
- disabled: s.disableSearch
100
+ disabled: l.disableSearch,
101
+ onClick: i.searchGithub
102
102
  }, {
103
- default: u(() => [
104
- t[4] || (t[4] = E(" Github ")),
105
- g(f, {
103
+ default: g(() => [
104
+ t[4] || (t[4] = S(" Github ")),
105
+ c(f, {
106
106
  end: "",
107
107
  theme: "dark"
108
108
  }, {
109
- default: u(() => t[3] || (t[3] = [
110
- E(" mdi-github ")
109
+ default: g(() => t[3] || (t[3] = [
110
+ S(" mdi-github ")
111
111
  ])),
112
112
  _: 1
113
113
  })
114
114
  ]),
115
115
  _: 1
116
- }, 8, ["onClick", "disabled"])
116
+ }, 8, ["disabled", "onClick"])
117
117
  ])
118
118
  ]),
119
119
  _: 1
@@ -121,62 +121,49 @@ function Me(e, t, n, o, s, i) {
121
121
  ]),
122
122
  _: 1
123
123
  }),
124
- g(a, { class: "mt-5" }, {
125
- default: u(() => t[5] || (t[5] = [
126
- E(" Community Gems ")
124
+ c(a, { class: "mt-5" }, {
125
+ default: g(() => t[5] || (t[5] = [
126
+ S(" Community Gems ")
127
127
  ])),
128
128
  _: 1
129
129
  }),
130
- i.listData.length < 1 ? (S(), V("div", De, [
131
- g(a, { class: "mx-2" }, {
132
- default: u(() => t[6] || (t[6] = [
133
- k("span", null, " I’m sorry, Dave. No gems available.... ", -1)
130
+ i.listData.length < 1 ? (E(), V("div", Me, [
131
+ c(a, { class: "mx-2" }, {
132
+ default: g(() => t[6] || (t[6] = [
133
+ T("span", null, " I’m sorry, Dave. No gems available.... ", -1)
134
134
  ])),
135
135
  _: 1
136
136
  })
137
- ])) : (S(), V("div", Te, [
138
- (S(!0), V(P, null, F(i.listData, (C, D) => (S(), V("div", { key: D }, [
139
- g(v, null, {
140
- default: u(() => [
141
- g(p, null, {
142
- default: u(() => [
143
- E(A(C.name), 1)
137
+ ])) : (E(), V("div", Te, [
138
+ (E(!0), V(G, null, $(i.listData, (x, L) => (E(), V("div", { key: L }, [
139
+ c(w, null, {
140
+ default: g(() => [
141
+ c(p, null, {
142
+ default: g(() => [
143
+ S(A(x.name), 1)
144
144
  ]),
145
145
  _: 2
146
146
  }, 1024),
147
- g(v, { icon: "" }, {
148
- default: u(() => [
149
- s.activeDownload ? (S(), V("div", ke, [
150
- g(m, {
151
- indeterminate: "",
152
- color: "primary"
153
- })
154
- ])) : (S(), V("div", Ie, [
155
- g(w, { location: "top" }, {
156
- activator: u(({ props: I }) => [
157
- g(f, me({ ref_for: !0 }, I, {
158
- onClick: (N) => i.downloadGem(C),
159
- disabled: s.activeDownload
160
- }), {
161
- default: u(() => t[7] || (t[7] = [
162
- E(" mdi-cloud-download ")
163
- ])),
164
- _: 2
165
- }, 1040, ["onClick", "disabled"])
166
- ]),
167
- default: u(() => [
168
- t[8] || (t[8] = k("span", null, "Download Gem", -1))
169
- ]),
170
- _: 2
171
- }, 1024)
172
- ]))
147
+ c(w, { icon: "" }, {
148
+ default: g(() => [
149
+ l.activeDownload ? (E(), M(_, {
150
+ key: 0,
151
+ indeterminate: "",
152
+ color: "primary"
153
+ })) : (E(), M(u, {
154
+ key: 1,
155
+ icon: "mdi-cloud-download",
156
+ variant: "text",
157
+ disabled: l.activeDownload,
158
+ onClick: (k) => i.downloadGem(x)
159
+ }, null, 8, ["disabled", "onClick"]))
173
160
  ]),
174
161
  _: 2
175
162
  }, 1024)
176
163
  ]),
177
164
  _: 2
178
165
  }, 1024),
179
- D < i.listData.length - 1 ? (S(), M(y, { key: D })) : H("", !0)
166
+ L < i.listData.length - 1 ? (E(), M(C, { key: L })) : j("", !0)
180
167
  ]))), 128))
181
168
  ]))
182
169
  ])
@@ -190,7 +177,7 @@ function Me(e, t, n, o, s, i) {
190
177
  _: 1
191
178
  }, 8, ["modelValue"]);
192
179
  }
193
- const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
180
+ const ht = /* @__PURE__ */ q(Le, [["render", ke]]), Ie = {
194
181
  props: {
195
182
  content: {
196
183
  type: String,
@@ -203,16 +190,12 @@ const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
203
190
  },
204
191
  data() {
205
192
  return {
206
- editor: null
193
+ editor: null,
194
+ contextMenu: !1,
195
+ menuX: 0,
196
+ menuY: 0
207
197
  };
208
198
  },
209
- mounted() {
210
- const e = this.buildPluginMode();
211
- this.editor = R.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.content), this.editor.clearSelection(), this.editor.focus(), this.readonly && this.editor.setReadOnly(!0);
212
- },
213
- beforeUnmount() {
214
- this.editor && this.editor.destroy();
215
- },
216
199
  computed: {
217
200
  show: {
218
201
  get() {
@@ -229,6 +212,13 @@ const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
229
212
  return this.editor && this.editor.getValue() === "" && !this.file ? "Input can not be blank." : null;
230
213
  }
231
214
  },
215
+ mounted() {
216
+ const e = this.buildPluginMode();
217
+ this.editor = I.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.content), this.editor.clearSelection(), U.applyVimModeIfEnabled(this.editor), this.editor.focus(), this.readonly && this.editor.setReadOnly(!0);
218
+ },
219
+ beforeUnmount() {
220
+ this.editor && this.editor.destroy();
221
+ },
232
222
  methods: {
233
223
  submit: function() {
234
224
  this.$emit("submit", this.editor.getValue()), this.show = !this.show;
@@ -246,110 +236,105 @@ const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
246
236
  ), t.click();
247
237
  },
248
238
  buildPluginMode() {
249
- let e = R.require("ace/lib/oop"), t = R.require(
239
+ let e = I.require("ace/lib/oop"), t = I.require(
250
240
  "ace/mode/json_highlight_rules"
251
- ).JsonHighlightRules, n = R.require(
241
+ ).JsonHighlightRules, n = I.require(
252
242
  "ace/mode/matching_brace_outdent"
253
- ).MatchingBraceOutdent, o = R.require(
243
+ ).MatchingBraceOutdent, o = I.require(
254
244
  "ace/mode/behaviour/cstyle"
255
- ).CstyleBehaviour, s = R.require("ace/mode/folding/ruby").FoldMode, i = function() {
256
- this.HighlightRules = t, this.$outdent = new n(), this.$behaviour = new o(), this.foldingRules = new s(), this.indentKeywords = this.foldingRules.indentKeywords;
257
- }, l = R.require("ace/mode/ruby").Mode;
258
- return e.inherits(i, l), (function() {
245
+ ).CstyleBehaviour, l = I.require("ace/mode/folding/ruby").FoldMode, i = function() {
246
+ this.HighlightRules = t, this.$outdent = new n(), this.$behaviour = new o(), this.foldingRules = new l(), this.indentKeywords = this.foldingRules.indentKeywords;
247
+ }, s = I.require("ace/mode/ruby").Mode;
248
+ return e.inherits(i, s), (function() {
259
249
  this.$id = "ace/mode/openc3";
260
250
  }).call(i.prototype), i;
251
+ },
252
+ showContextMenu: function(e) {
253
+ this.menuX = e.pageX, this.menuY = e.pageY;
254
+ let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
255
+ if (n) {
256
+ let o = n.value.trim();
257
+ o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
258
+ }
259
+ },
260
+ toggleVimMode: function() {
261
+ U.toggleVimMode(this.editor);
261
262
  }
262
263
  }
263
- }, Ve = ["textContent"], Ae = { class: "mx-2" }, Ne = { class: "pa-3" }, Oe = { key: 0 }, Pe = {
264
- class: "editor",
265
- ref: "editor"
266
- }, Fe = ["textContent"];
267
- function He(e, t, n, o, s, i) {
268
- const l = _("v-spacer"), r = _("v-icon"), a = _("v-tooltip"), f = _("v-toolbar"), c = _("v-row"), h = _("v-btn"), p = _("v-col"), m = _("v-file-input"), w = _("v-card-text"), v = _("v-card"), y = _("v-dialog");
269
- return S(), M(y, {
270
- persistent: !n.readonly,
264
+ }, Re = ["textContent"], Ve = { class: "pa-3" }, Ae = { key: 0 }, Ne = ["textContent"];
265
+ function Oe(e, t, n, o, l, i) {
266
+ const s = m("v-spacer"), r = m("v-btn"), a = m("v-toolbar"), f = m("v-row"), u = m("v-col"), h = m("v-file-input"), p = m("v-list-item"), _ = m("v-list"), w = m("v-menu"), C = m("v-card-text"), y = m("v-card"), b = m("v-dialog");
267
+ return E(), M(b, {
271
268
  modelValue: i.show,
272
- "onUpdate:modelValue": t[2] || (t[2] = (b) => i.show = b),
269
+ "onUpdate:modelValue": t[4] || (t[4] = (v) => i.show = v),
270
+ persistent: !n.readonly,
273
271
  width: "80vw"
274
272
  }, {
275
- default: u(() => [
276
- g(v, null, {
277
- default: u(() => [
278
- k("form", {
279
- onSubmit: t[1] || (t[1] = j((...b) => i.submit && i.submit(...b), ["prevent"]))
273
+ default: g(() => [
274
+ c(y, null, {
275
+ default: g(() => [
276
+ T("form", {
277
+ onSubmit: t[3] || (t[3] = H((...v) => i.submit && i.submit(...v), ["prevent"]))
280
278
  }, [
281
- g(f, { height: "24" }, {
282
- default: u(() => [
283
- g(l),
284
- k("span", {
279
+ c(a, { height: "24" }, {
280
+ default: g(() => [
281
+ c(s),
282
+ T("span", {
285
283
  textContent: A(i.title)
286
- }, null, 8, Ve),
287
- g(l),
288
- k("div", Ae, [
289
- g(a, { location: "top" }, {
290
- activator: u(({ props: b }) => [
291
- k("div", _e(be(b)), [
292
- g(r, {
293
- "data-test": "downloadIcon",
294
- onClick: i.download
295
- }, {
296
- default: u(() => t[3] || (t[3] = [
297
- E(" mdi-download ")
298
- ])),
299
- _: 1
300
- }, 8, ["onClick"])
301
- ], 16)
302
- ]),
303
- default: u(() => [
304
- t[4] || (t[4] = k("span", null, " Download ", -1))
305
- ]),
306
- _: 1
307
- })
308
- ])
284
+ }, null, 8, Re),
285
+ c(s),
286
+ c(r, {
287
+ class: "mx-2",
288
+ icon: "mdi-download",
289
+ variant: "text",
290
+ density: "compact",
291
+ "data-test": "downloadIcon",
292
+ onClick: i.download
293
+ }, null, 8, ["onClick"])
309
294
  ]),
310
295
  _: 1
311
296
  }),
312
- g(w, null, {
313
- default: u(() => [
314
- k("div", Ne, [
315
- n.readonly ? H("", !0) : (S(), V("div", Oe, [
316
- g(c, { class: "mt-3" }, {
317
- default: u(() => t[5] || (t[5] = [
318
- E(" Upload a file. ")
297
+ c(C, null, {
298
+ default: g(() => [
299
+ T("div", Ve, [
300
+ n.readonly ? j("", !0) : (E(), V("div", Ae, [
301
+ c(f, { class: "mt-3" }, {
302
+ default: g(() => t[5] || (t[5] = [
303
+ S(" Upload a file. ")
319
304
  ])),
320
305
  _: 1
321
306
  }),
322
- g(c, {
307
+ c(f, {
323
308
  "no-gutters": "",
324
309
  align: "center"
325
310
  }, {
326
- default: u(() => [
327
- g(p, { cols: "3" }, {
328
- default: u(() => [
329
- g(h, {
311
+ default: g(() => [
312
+ c(u, { cols: "3" }, {
313
+ default: g(() => [
314
+ c(r, {
330
315
  block: "",
331
316
  color: "success",
332
- onClick: e.loadFile,
333
317
  disabled: !e.file || e.loadingFile || n.readonly,
334
318
  loading: e.loadingFile,
335
- "data-test": "editScreenLoadBtn"
319
+ "data-test": "editScreenLoadBtn",
320
+ onClick: e.loadFile
336
321
  }, {
337
- loader: u(() => t[6] || (t[6] = [
338
- k("span", null, "Loading...", -1)
322
+ loader: g(() => t[6] || (t[6] = [
323
+ T("span", null, "Loading...", -1)
339
324
  ])),
340
- default: u(() => [
341
- t[7] || (t[7] = E(" Load "))
325
+ default: g(() => [
326
+ t[7] || (t[7] = S(" Load "))
342
327
  ]),
343
328
  _: 1
344
- }, 8, ["onClick", "disabled", "loading"])
329
+ }, 8, ["disabled", "loading", "onClick"])
345
330
  ]),
346
331
  _: 1
347
332
  }),
348
- g(p, { cols: "9" }, {
349
- default: u(() => [
350
- g(m, {
333
+ c(u, { cols: "9" }, {
334
+ default: g(() => [
335
+ c(h, {
351
336
  modelValue: e.file,
352
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e.file = b),
337
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => e.file = v),
353
338
  accept: ".json",
354
339
  label: "Click to select .json file.",
355
340
  disabled: n.readonly
@@ -361,38 +346,61 @@ function He(e, t, n, o, s, i) {
361
346
  _: 1
362
347
  })
363
348
  ])),
364
- g(c, { "no-gutters": "" }, {
365
- default: u(() => [
366
- k("pre", Pe, null, 512)
349
+ c(f, { "no-gutters": "" }, {
350
+ default: g(() => [
351
+ T("pre", {
352
+ ref: "editor",
353
+ class: "editor",
354
+ onContextmenu: t[1] || (t[1] = H((...v) => i.showContextMenu && i.showContextMenu(...v), ["prevent"]))
355
+ }, null, 544),
356
+ c(w, {
357
+ modelValue: l.contextMenu,
358
+ "onUpdate:modelValue": t[2] || (t[2] = (v) => l.contextMenu = v),
359
+ target: [l.menuX, l.menuY]
360
+ }, {
361
+ default: g(() => [
362
+ c(_, null, {
363
+ default: g(() => [
364
+ c(p, {
365
+ title: "Toggle Vim mode",
366
+ "prepend-icon": "extras:vim",
367
+ onClick: i.toggleVimMode
368
+ }, null, 8, ["onClick"])
369
+ ]),
370
+ _: 1
371
+ })
372
+ ]),
373
+ _: 1
374
+ }, 8, ["modelValue", "target"])
367
375
  ]),
368
376
  _: 1
369
377
  }),
370
- g(c, { class: "my-3" }, {
371
- default: u(() => [
372
- we(k("span", {
378
+ c(f, { class: "my-3" }, {
379
+ default: g(() => [
380
+ ye(T("span", {
373
381
  class: "text-red",
374
382
  textContent: A(i.error)
375
- }, null, 8, Fe), [
376
- [ye, i.error]
383
+ }, null, 8, Ne), [
384
+ [ve, i.error]
377
385
  ])
378
386
  ]),
379
387
  _: 1
380
388
  }),
381
- g(c, null, {
382
- default: u(() => [
383
- g(l),
384
- g(h, {
385
- onClick: j(i.close, ["prevent"]),
389
+ c(f, null, {
390
+ default: g(() => [
391
+ c(s),
392
+ c(r, {
386
393
  variant: "outlined",
387
394
  class: "mx-2",
388
- "data-test": "editCancelBtn"
395
+ "data-test": "editCancelBtn",
396
+ onClick: H(i.close, ["prevent"])
389
397
  }, {
390
- default: u(() => t[8] || (t[8] = [
391
- E(" Cancel ")
398
+ default: g(() => t[8] || (t[8] = [
399
+ S(" Cancel ")
392
400
  ])),
393
401
  _: 1
394
402
  }, 8, ["onClick"]),
395
- n.readonly ? H("", !0) : (S(), M(h, {
403
+ n.readonly ? j("", !0) : (E(), M(r, {
396
404
  key: 0,
397
405
  class: "mx-2",
398
406
  color: "primary",
@@ -400,8 +408,8 @@ function He(e, t, n, o, s, i) {
400
408
  "data-test": "editSubmitBtn",
401
409
  disabled: !!i.error || n.readonly
402
410
  }, {
403
- default: u(() => t[9] || (t[9] = [
404
- E(" Save ")
411
+ default: g(() => t[9] || (t[9] = [
412
+ S(" Save ")
405
413
  ])),
406
414
  _: 1
407
415
  }, 8, ["disabled"]))
@@ -418,9 +426,9 @@ function He(e, t, n, o, s, i) {
418
426
  })
419
427
  ]),
420
428
  _: 1
421
- }, 8, ["persistent", "modelValue"]);
429
+ }, 8, ["modelValue", "persistent"]);
422
430
  }
423
- const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47"]]), Ue = {
431
+ const ut = /* @__PURE__ */ q(Ie, [["render", Oe], ["__scopeId", "data-v-e84cb3ed"]]), Pe = {
424
432
  props: {
425
433
  modelValue: Boolean,
426
434
  plugin: String,
@@ -445,7 +453,7 @@ const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47
445
453
  },
446
454
  created() {
447
455
  for (const e of this.targets)
448
- xe.get(`/openc3-api/targets/${e.name}/modified_files`).then(
456
+ Ce.get(`/openc3-api/targets/${e.name}/modified_files`).then(
449
457
  (t) => {
450
458
  t.data.length !== 0 && this.modifiedTargets.push({
451
459
  name: e.name,
@@ -455,50 +463,50 @@ const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47
455
463
  );
456
464
  }
457
465
  };
458
- function $e(e, t, n, o, s, i) {
459
- const l = _("v-spacer"), r = _("v-toolbar"), a = _("v-list-item-title"), f = _("v-list-item-subtitle"), c = _("v-list-item"), h = _("v-checkbox"), p = _("v-card-text"), m = _("v-btn"), w = _("v-card-actions"), v = _("v-card"), y = _("v-dialog");
460
- return S(), M(y, {
466
+ function Fe(e, t, n, o, l, i) {
467
+ const s = m("v-spacer"), r = m("v-toolbar"), a = m("v-list-item-title"), f = m("v-list-item-subtitle"), u = m("v-list-item"), h = m("v-checkbox"), p = m("v-card-text"), _ = m("v-btn"), w = m("v-card-actions"), C = m("v-card"), y = m("v-dialog");
468
+ return E(), M(y, {
461
469
  modelValue: i.show,
462
470
  "onUpdate:modelValue": t[3] || (t[3] = (b) => i.show = b),
463
471
  width: "600"
464
472
  }, {
465
- default: u(() => [
466
- g(v, null, {
467
- default: u(() => [
468
- g(r, { height: "24" }, {
469
- default: u(() => [
470
- g(l),
471
- t[4] || (t[4] = k("span", null, " Modified Plugin ", -1)),
472
- g(l)
473
+ default: g(() => [
474
+ c(C, null, {
475
+ default: g(() => [
476
+ c(r, { height: "24" }, {
477
+ default: g(() => [
478
+ c(s),
479
+ t[4] || (t[4] = T("span", null, " Modified Plugin ", -1)),
480
+ c(s)
473
481
  ]),
474
482
  _: 1
475
483
  }),
476
- g(p, { class: "pa-3" }, {
477
- default: u(() => [
478
- k("div", null, " Plugin " + A(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
479
- (S(!0), V(P, null, F(s.modifiedTargets, (b, L) => (S(), M(c, {
480
- lines: "two",
481
- key: L
484
+ c(p, { class: "pa-3" }, {
485
+ default: g(() => [
486
+ T("div", null, " Plugin " + A(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
487
+ (E(!0), V(G, null, $(l.modifiedTargets, (b, v) => (E(), M(u, {
488
+ key: v,
489
+ lines: "two"
482
490
  }, {
483
- default: u(() => [
484
- g(a, null, {
485
- default: u(() => [
486
- E(A(b.name), 1)
491
+ default: g(() => [
492
+ c(a, null, {
493
+ default: g(() => [
494
+ S(A(b.name), 1)
487
495
  ]),
488
496
  _: 2
489
497
  }, 1024),
490
- (S(!0), V(P, null, F(b.files, (x, C) => (S(), M(f, { key: C }, {
491
- default: u(() => [
492
- E(A(x), 1)
498
+ (E(!0), V(G, null, $(b.files, (x, L) => (E(), M(f, { key: L }, {
499
+ default: g(() => [
500
+ S(A(x), 1)
493
501
  ]),
494
502
  _: 2
495
503
  }, 1024))), 128))
496
504
  ]),
497
505
  _: 2
498
506
  }, 1024))), 128)),
499
- g(h, {
500
- modelValue: s.deleteModified,
501
- "onUpdate:modelValue": t[0] || (t[0] = (b) => s.deleteModified = b),
507
+ c(h, {
508
+ modelValue: l.deleteModified,
509
+ "onUpdate:modelValue": t[0] || (t[0] = (b) => l.deleteModified = b),
502
510
  label: "DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",
503
511
  color: "error",
504
512
  "data-test": "modified-plugin-delete-checkbox"
@@ -506,30 +514,30 @@ function $e(e, t, n, o, s, i) {
506
514
  ]),
507
515
  _: 1
508
516
  }),
509
- g(w, { class: "px-2" }, {
510
- default: u(() => [
511
- g(l),
512
- g(m, {
517
+ c(w, { class: "px-2" }, {
518
+ default: g(() => [
519
+ c(s),
520
+ c(_, {
513
521
  variant: "outlined",
514
522
  "data-test": "modified-plugin-cancel",
515
523
  onClick: t[1] || (t[1] = () => {
516
524
  i.show = !1, e.$emit("cancel");
517
525
  })
518
526
  }, {
519
- default: u(() => t[5] || (t[5] = [
520
- E(" Cancel ")
527
+ default: g(() => t[5] || (t[5] = [
528
+ S(" Cancel ")
521
529
  ])),
522
530
  _: 1
523
531
  }),
524
- g(m, {
532
+ c(_, {
525
533
  variant: "flat",
526
534
  "data-test": "modified-plugin-submit",
527
535
  onClick: t[2] || (t[2] = () => {
528
- i.show = !1, e.$emit("submit", s.deleteModified);
536
+ i.show = !1, e.$emit("submit", l.deleteModified);
529
537
  })
530
538
  }, {
531
- default: u(() => t[6] || (t[6] = [
532
- E(" Confirm ")
539
+ default: g(() => t[6] || (t[6] = [
540
+ S(" Confirm ")
533
541
  ])),
534
542
  _: 1
535
543
  })
@@ -543,70 +551,70 @@ function $e(e, t, n, o, s, i) {
543
551
  _: 1
544
552
  }, 8, ["modelValue"]);
545
553
  }
546
- const _t = /* @__PURE__ */ U(Ue, [["render", $e]]), Be = [
554
+ const ct = /* @__PURE__ */ q(Pe, [["render", Fe]]), Ue = [
547
555
  {
548
556
  displayName: "Plugins",
549
557
  name: "PluginsTab",
550
558
  path: "plugins",
551
- component: () => import("../PluginsTab-Ds3jk64b.js")
559
+ component: () => import("../PluginsTab-C9t0-QVm.js")
552
560
  },
553
561
  {
554
562
  displayName: "Targets",
555
563
  name: "TargetsTab",
556
564
  path: "targets",
557
- component: () => import("../TargetsTab-Cd8U1aN_.js")
565
+ component: () => import("../TargetsTab-CfBt-dZW.js")
558
566
  },
559
567
  {
560
568
  displayName: "Interfaces",
561
569
  name: "InterfacesTab",
562
570
  path: "interfaces",
563
- component: () => import("../InterfacesTab-DAeNlGlB.js")
571
+ component: () => import("../InterfacesTab-DTixVrGo.js")
564
572
  },
565
573
  {
566
574
  displayName: "Routers",
567
575
  name: "RoutersTab",
568
576
  path: "routers",
569
- component: () => import("../RoutersTab-Dki_66av.js")
577
+ component: () => import("../RoutersTab-D-ex_yMO.js")
570
578
  },
571
579
  {
572
580
  displayName: "Microservices",
573
581
  name: "MicroservicesTab",
574
582
  path: "microservices",
575
- component: () => import("../MicroservicesTab-IbTmbPxO.js")
583
+ component: () => import("../MicroservicesTab-DbL48MBc.js")
576
584
  },
577
585
  {
578
586
  displayName: "Packages",
579
587
  name: "PackagesTab",
580
588
  path: "packages",
581
- component: () => import("../PackagesTab-BX8YP3H1.js")
589
+ component: () => import("../PackagesTab-Bw34RkLc.js")
582
590
  },
583
591
  {
584
592
  displayName: "Tools",
585
593
  name: "ToolsTab",
586
594
  path: "tools",
587
- component: () => import("../ToolsTab-Cgpb2nAW.js")
595
+ component: () => import("../ToolsTab-CnhhRS3J.js")
588
596
  },
589
597
  {
590
598
  displayName: "Redis",
591
599
  name: "RedisTab",
592
600
  path: "redis",
593
- component: () => import("../RedisTab-CVimDkIE.js")
601
+ component: () => import("../RedisTab-CvPLS0Qe.js")
594
602
  },
595
603
  {
596
604
  displayName: "Secrets",
597
605
  name: "SecretsTab",
598
606
  path: "secrets",
599
- component: () => import("../SecretsTab-BjviaTxh.js")
607
+ component: () => import("../SecretsTab-CLkJfzf-.js")
600
608
  },
601
609
  {
602
610
  displayName: "Settings",
603
611
  name: "SettingsTab",
604
612
  path: "settings",
605
- component: () => import("../SettingsTab-Bo_dYXgb.js")
613
+ component: () => import("../SettingsTab-CysOMBFu.js")
606
614
  }
607
- ], Ge = {
615
+ ], He = {
608
616
  components: {
609
- TopBar: Le
617
+ TopBar: Ee
610
618
  },
611
619
  data() {
612
620
  return {
@@ -616,44 +624,44 @@ const _t = /* @__PURE__ */ U(Ue, [["render", $e]]), Be = [
616
624
  },
617
625
  computed: {
618
626
  tabs: function() {
619
- return Be.map((e) => ({
627
+ return Ue.map((e) => ({
620
628
  displayName: e.displayName,
621
629
  path: { name: e.name }
622
630
  }));
623
631
  }
624
632
  }
625
633
  };
626
- function je(e, t, n, o, s, i) {
627
- const l = _("top-bar"), r = _("v-tab"), a = _("v-tabs"), f = _("router-view"), c = _("v-card");
628
- return S(), V("div", null, [
629
- g(l, { title: s.title }, null, 8, ["title"]),
630
- g(c, null, {
631
- default: u(() => [
632
- g(a, {
633
- modelValue: s.curTab,
634
- "onUpdate:modelValue": t[0] || (t[0] = (h) => s.curTab = h),
634
+ function Be(e, t, n, o, l, i) {
635
+ const s = m("top-bar"), r = m("v-tab"), a = m("v-tabs"), f = m("router-view"), u = m("v-card");
636
+ return E(), V("div", null, [
637
+ c(s, { title: l.title }, null, 8, ["title"]),
638
+ c(u, null, {
639
+ default: g(() => [
640
+ c(a, {
641
+ modelValue: l.curTab,
642
+ "onUpdate:modelValue": t[0] || (t[0] = (h) => l.curTab = h),
635
643
  "fixed-tabs": ""
636
644
  }, {
637
- default: u(() => [
638
- (S(!0), V(P, null, F(i.tabs, (h, p) => (S(), M(r, {
645
+ default: g(() => [
646
+ (E(!0), V(G, null, $(i.tabs, (h, p) => (E(), M(r, {
639
647
  key: p,
640
648
  to: h.path
641
649
  }, {
642
- default: u(() => [
643
- E(A(h.displayName), 1)
650
+ default: g(() => [
651
+ S(A(h.displayName), 1)
644
652
  ]),
645
653
  _: 2
646
654
  }, 1032, ["to"]))), 128))
647
655
  ]),
648
656
  _: 1
649
657
  }, 8, ["modelValue"]),
650
- g(f)
658
+ c(f)
651
659
  ]),
652
660
  _: 1
653
661
  })
654
662
  ]);
655
663
  }
656
- const bt = /* @__PURE__ */ U(Ge, [["render", je]]), d = function() {
664
+ const gt = /* @__PURE__ */ q(He, [["render", Be]]), d = function() {
657
665
  this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
658
666
  };
659
667
  d.Diff = function(e, t) {
@@ -665,198 +673,198 @@ d.Diff.prototype.toString = function() {
665
673
  };
666
674
  d.prototype.diff_main = function(e, t, n, o) {
667
675
  typeof o > "u" && (this.Diff_Timeout <= 0 ? o = Number.MAX_VALUE : o = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
668
- let s = o;
676
+ let l = o;
669
677
  if (e == null || t == null) throw new Error("Null input. (diff_main)");
670
678
  if (e == t) return e ? [new d.Diff(0, e)] : [];
671
679
  typeof n > "u" && (n = !0);
672
- let i = n, l = this.diff_commonPrefix(e, t), r = e.substring(0, l);
673
- e = e.substring(l), t = t.substring(l), l = this.diff_commonSuffix(e, t);
674
- let a = e.substring(e.length - l);
675
- e = e.substring(0, e.length - l), t = t.substring(0, t.length - l);
676
- let f = this.diff_compute_(e, t, i, s);
680
+ let i = n, s = this.diff_commonPrefix(e, t), r = e.substring(0, s);
681
+ e = e.substring(s), t = t.substring(s), s = this.diff_commonSuffix(e, t);
682
+ let a = e.substring(e.length - s);
683
+ e = e.substring(0, e.length - s), t = t.substring(0, t.length - s);
684
+ let f = this.diff_compute_(e, t, i, l);
677
685
  return r && f.unshift(new d.Diff(0, r)), a && f.push(new d.Diff(0, a)), this.diff_cleanupMerge(f), f;
678
686
  };
679
687
  d.prototype.diff_compute_ = function(e, t, n, o) {
680
- let s;
688
+ let l;
681
689
  if (!e) return [new d.Diff(1, t)];
682
690
  if (!t) return [new d.Diff(-1, e)];
683
- let i = e.length > t.length ? e : t, l = e.length > t.length ? t : e, r = i.indexOf(l);
684
- return r != -1 ? (s = [new d.Diff(1, i.substring(0, r)), new d.Diff(0, l), new d.Diff(1, i.substring(r + l.length))], e.length > t.length && (s[0][0] = s[2][0] = -1), s) : l.length == 1 ? [new d.Diff(-1, e), new d.Diff(1, t)] : n && e.length > 100 && t.length > 100 ? this.diff_lineMode_(e, t, o) : this.diff_bisect_(e, t, o);
691
+ let i = e.length > t.length ? e : t, s = e.length > t.length ? t : e, r = i.indexOf(s);
692
+ return r != -1 ? (l = [new d.Diff(1, i.substring(0, r)), new d.Diff(0, s), new d.Diff(1, i.substring(r + s.length))], e.length > t.length && (l[0][0] = l[2][0] = -1), l) : s.length == 1 ? [new d.Diff(-1, e), new d.Diff(1, t)] : n && e.length > 100 && t.length > 100 ? this.diff_lineMode_(e, t, o) : this.diff_bisect_(e, t, o);
685
693
  };
686
694
  d.prototype.diff_lineMode_ = function(e, t, n) {
687
695
  let o = this.diff_linesToChars_(e, t);
688
696
  e = o.chars1, t = o.chars2;
689
- let s = o.lineArray, i = this.diff_main(e, t, !1, n);
690
- this.diff_charsToLines_(i, s), this.diff_cleanupSemantic(i), i.push(new d.Diff(0, ""));
691
- let l = 0, r = 0, a = 0, f = "", c = "";
692
- for (; l < i.length; ) {
693
- switch (i[l][0]) {
697
+ let l = o.lineArray, i = this.diff_main(e, t, !1, n);
698
+ this.diff_charsToLines_(i, l), this.diff_cleanupSemantic(i), i.push(new d.Diff(0, ""));
699
+ let s = 0, r = 0, a = 0, f = "", u = "";
700
+ for (; s < i.length; ) {
701
+ switch (i[s][0]) {
694
702
  case 1:
695
- a++, c += i[l][1];
703
+ a++, u += i[s][1];
696
704
  break;
697
705
  case -1:
698
- r++, f += i[l][1];
706
+ r++, f += i[s][1];
699
707
  break;
700
708
  case 0:
701
709
  if (r >= 1 && a >= 1) {
702
- i.splice(l - r - a, r + a), l = l - r - a;
703
- let h = this.diff_main(f, c, !1, n);
704
- for (let p = h.length - 1; p >= 0; p--) i.splice(l, 0, h[p]);
705
- l = l + h.length;
710
+ i.splice(s - r - a, r + a), s = s - r - a;
711
+ let h = this.diff_main(f, u, !1, n);
712
+ for (let p = h.length - 1; p >= 0; p--) i.splice(s, 0, h[p]);
713
+ s = s + h.length;
706
714
  }
707
- a = 0, r = 0, f = "", c = "";
715
+ a = 0, r = 0, f = "", u = "";
708
716
  break;
709
717
  }
710
- l++;
718
+ s++;
711
719
  }
712
720
  return i.pop(), i;
713
721
  };
714
722
  d.prototype.diff_bisect_ = function(e, t, n) {
715
- let o = e.length, s = t.length, i = Math.ceil((o + s) / 2), l = i, r = 2 * i, a = new Array(r), f = new Array(r);
723
+ let o = e.length, l = t.length, i = Math.ceil((o + l) / 2), s = i, r = 2 * i, a = new Array(r), f = new Array(r);
716
724
  for (let y = 0; y < r; y++) a[y] = -1, f[y] = -1;
717
- a[l + 1] = 0, f[l + 1] = 0;
718
- let c = o - s, h = c % 2 != 0, p = 0, m = 0, w = 0, v = 0;
725
+ a[s + 1] = 0, f[s + 1] = 0;
726
+ let u = o - l, h = u % 2 != 0, p = 0, _ = 0, w = 0, C = 0;
719
727
  for (let y = 0; y < i && !((/* @__PURE__ */ new Date()).getTime() > n); y++) {
720
- for (let b = -y + p; b <= y - m; b += 2) {
721
- let L = l + b, x;
722
- b == -y || b != y && a[L - 1] < a[L + 1] ? x = a[L + 1] : x = a[L - 1] + 1;
723
- let C = x - b;
724
- for (; x < o && C < s && e.charAt(x) == t.charAt(C); ) x++, C++;
725
- if (a[L] = x, x > o) m += 2;
726
- else if (C > s) p += 2;
728
+ for (let b = -y + p; b <= y - _; b += 2) {
729
+ let v = s + b, x;
730
+ b == -y || b != y && a[v - 1] < a[v + 1] ? x = a[v + 1] : x = a[v - 1] + 1;
731
+ let L = x - b;
732
+ for (; x < o && L < l && e.charAt(x) == t.charAt(L); ) x++, L++;
733
+ if (a[v] = x, x > o) _ += 2;
734
+ else if (L > l) p += 2;
727
735
  else if (h) {
728
- let D = l + c - b;
729
- if (D >= 0 && D < r && f[D] != -1) {
730
- let I = o - f[D];
731
- if (x >= I) return this.diff_bisectSplit_(e, t, x, C, n);
736
+ let k = s + u - b;
737
+ if (k >= 0 && k < r && f[k] != -1) {
738
+ let N = o - f[k];
739
+ if (x >= N) return this.diff_bisectSplit_(e, t, x, L, n);
732
740
  }
733
741
  }
734
742
  }
735
- for (let b = -y + w; b <= y - v; b += 2) {
736
- let L = l + b, x;
737
- b == -y || b != y && f[L - 1] < f[L + 1] ? x = f[L + 1] : x = f[L - 1] + 1;
738
- let C = x - b;
739
- for (; x < o && C < s && e.charAt(o - x - 1) == t.charAt(s - C - 1); ) x++, C++;
740
- if (f[L] = x, x > o) v += 2;
741
- else if (C > s) w += 2;
743
+ for (let b = -y + w; b <= y - C; b += 2) {
744
+ let v = s + b, x;
745
+ b == -y || b != y && f[v - 1] < f[v + 1] ? x = f[v + 1] : x = f[v - 1] + 1;
746
+ let L = x - b;
747
+ for (; x < o && L < l && e.charAt(o - x - 1) == t.charAt(l - L - 1); ) x++, L++;
748
+ if (f[v] = x, x > o) C += 2;
749
+ else if (L > l) w += 2;
742
750
  else if (!h) {
743
- let D = l + c - b;
744
- if (D >= 0 && D < r && a[D] != -1) {
745
- let I = a[D], N = l + I - D;
746
- if (x = o - x, I >= x) return this.diff_bisectSplit_(e, t, I, N, n);
751
+ let k = s + u - b;
752
+ if (k >= 0 && k < r && a[k] != -1) {
753
+ let N = a[k], O = s + N - k;
754
+ if (x = o - x, N >= x) return this.diff_bisectSplit_(e, t, N, O, n);
747
755
  }
748
756
  }
749
757
  }
750
758
  }
751
759
  return [new d.Diff(-1, e), new d.Diff(1, t)];
752
760
  };
753
- d.prototype.diff_bisectSplit_ = function(e, t, n, o, s) {
754
- let i = e.substring(0, n), l = t.substring(0, o), r = e.substring(n), a = t.substring(o), f = this.diff_main(i, l, !1, s), c = this.diff_main(r, a, !1, s);
755
- return f.concat(c);
761
+ d.prototype.diff_bisectSplit_ = function(e, t, n, o, l) {
762
+ let i = e.substring(0, n), s = t.substring(0, o), r = e.substring(n), a = t.substring(o), f = this.diff_main(i, s, !1, l), u = this.diff_main(r, a, !1, l);
763
+ return f.concat(u);
756
764
  };
757
765
  d.prototype.diff_linesToChars_ = function(e, t) {
758
766
  let n = [], o = {};
759
767
  n[0] = "";
760
- function s(a) {
761
- let f = "", c = 0, h = -1, p = n.length;
768
+ function l(a) {
769
+ let f = "", u = 0, h = -1, p = n.length;
762
770
  for (; h < a.length - 1; ) {
763
771
  h = a.indexOf(`
764
- `, c), h == -1 && (h = a.length - 1);
765
- let m = a.substring(c, h + 1);
766
- (o.hasOwnProperty ? o.hasOwnProperty(m) : o[m] !== void 0) ? f += String.fromCharCode(o[m]) : (p == i && (m = a.substring(c), h = a.length), f += String.fromCharCode(p), o[m] = p, n[p++] = m), c = h + 1;
772
+ `, u), h == -1 && (h = a.length - 1);
773
+ let _ = a.substring(u, h + 1);
774
+ (o.hasOwnProperty ? o.hasOwnProperty(_) : o[_] !== void 0) ? f += String.fromCharCode(o[_]) : (p == i && (_ = a.substring(u), h = a.length), f += String.fromCharCode(p), o[_] = p, n[p++] = _), u = h + 1;
767
775
  }
768
776
  return f;
769
777
  }
770
- let i = 4e4, l = s(e);
778
+ let i = 4e4, s = l(e);
771
779
  i = 65535;
772
- let r = s(t);
773
- return { chars1: l, chars2: r, lineArray: n };
780
+ let r = l(t);
781
+ return { chars1: s, chars2: r, lineArray: n };
774
782
  };
775
783
  d.prototype.diff_charsToLines_ = function(e, t) {
776
784
  for (let n = 0; n < e.length; n++) {
777
- let o = e[n][1], s = [];
778
- for (let i = 0; i < o.length; i++) s[i] = t[o.charCodeAt(i)];
779
- e[n][1] = s.join("");
785
+ let o = e[n][1], l = [];
786
+ for (let i = 0; i < o.length; i++) l[i] = t[o.charCodeAt(i)];
787
+ e[n][1] = l.join("");
780
788
  }
781
789
  };
782
790
  d.prototype.diff_commonPrefix = function(e, t) {
783
791
  if (!e || !t || e.charAt(0) != t.charAt(0)) return 0;
784
- let n = 0, o = Math.min(e.length, t.length), s = o, i = 0;
785
- for (; n < s; ) e.substring(i, s) == t.substring(i, s) ? (n = s, i = n) : o = s, s = Math.floor((o - n) / 2 + n);
786
- return s;
792
+ let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
793
+ for (; n < l; ) e.substring(i, l) == t.substring(i, l) ? (n = l, i = n) : o = l, l = Math.floor((o - n) / 2 + n);
794
+ return l;
787
795
  };
788
796
  d.prototype.diff_commonSuffix = function(e, t) {
789
797
  if (!e || !t || e.charAt(e.length - 1) != t.charAt(t.length - 1)) return 0;
790
- let n = 0, o = Math.min(e.length, t.length), s = o, i = 0;
791
- for (; n < s; ) e.substring(e.length - s, e.length - i) == t.substring(t.length - s, t.length - i) ? (n = s, i = n) : o = s, s = Math.floor((o - n) / 2 + n);
792
- return s;
798
+ let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
799
+ for (; n < l; ) e.substring(e.length - l, e.length - i) == t.substring(t.length - l, t.length - i) ? (n = l, i = n) : o = l, l = Math.floor((o - n) / 2 + n);
800
+ return l;
793
801
  };
794
802
  d.prototype.diff_commonOverlap_ = function(e, t) {
795
803
  let n = e.length, o = t.length;
796
804
  if (n == 0 || o == 0) return 0;
797
805
  n > o ? e = e.substring(n - o) : n < o && (t = t.substring(0, n));
798
- let s = Math.min(n, o);
799
- if (e == t) return s;
800
- let i = 0, l = 1;
806
+ let l = Math.min(n, o);
807
+ if (e == t) return l;
808
+ let i = 0, s = 1;
801
809
  for (; ; ) {
802
- let r = e.substring(s - l), a = t.indexOf(r);
810
+ let r = e.substring(l - s), a = t.indexOf(r);
803
811
  if (a == -1) return i;
804
- l += a, (a == 0 || e.substring(s - l) == t.substring(0, l)) && (i = l, l++);
812
+ s += a, (a == 0 || e.substring(l - s) == t.substring(0, s)) && (i = s, s++);
805
813
  }
806
814
  };
807
815
  d.prototype.diff_halfMatch_ = function(e, t) {
808
816
  if (this.Diff_Timeout <= 0) return null;
809
817
  let n = e.length > t.length ? e : t, o = e.length > t.length ? t : e;
810
818
  if (n.length < 4 || o.length * 2 < n.length) return null;
811
- let s = this;
812
- function i(w, v, y) {
813
- let b = w.substring(y, y + Math.floor(w.length / 4)), L = -1, x = "", C, D, I, N;
814
- for (; (L = v.indexOf(b, L + 1)) != -1; ) {
815
- let $ = s.diff_commonPrefix(w.substring(y), v.substring(L)), B = s.diff_commonSuffix(w.substring(0, y), v.substring(0, L));
816
- x.length < B + $ && (x = v.substring(L - B, L) + v.substring(L, L + $), C = w.substring(0, y - B), D = w.substring(y + $), I = v.substring(0, L - B), N = v.substring(L + $));
819
+ let l = this;
820
+ function i(w, C, y) {
821
+ let b = w.substring(y, y + Math.floor(w.length / 4)), v = -1, x = "", L, k, N, O;
822
+ for (; (v = C.indexOf(b, v + 1)) != -1; ) {
823
+ let P = l.diff_commonPrefix(w.substring(y), C.substring(v)), F = l.diff_commonSuffix(w.substring(0, y), C.substring(0, v));
824
+ x.length < F + P && (x = C.substring(v - F, v) + C.substring(v, v + P), L = w.substring(0, y - F), k = w.substring(y + P), N = C.substring(0, v - F), O = C.substring(v + P));
817
825
  }
818
- return x.length * 2 >= w.length ? [C, D, I, N, x] : null;
826
+ return x.length * 2 >= w.length ? [L, k, N, O, x] : null;
819
827
  }
820
- let l = i(n, o, Math.ceil(n.length / 4)), r = i(n, o, Math.ceil(n.length / 2)), a;
821
- if (!l && !r) return null;
822
- r ? l ? a = l[4].length > r[4].length ? l : r : a = r : a = l;
823
- let f, c, h, p;
824
- e.length > t.length ? (f = a[0], c = a[1], h = a[2], p = a[3]) : (h = a[0], p = a[1], f = a[2], c = a[3]);
825
- let m = a[4];
826
- return [f, c, h, p, m];
828
+ let s = i(n, o, Math.ceil(n.length / 4)), r = i(n, o, Math.ceil(n.length / 2)), a;
829
+ if (!s && !r) return null;
830
+ r ? s ? a = s[4].length > r[4].length ? s : r : a = r : a = s;
831
+ let f, u, h, p;
832
+ e.length > t.length ? (f = a[0], u = a[1], h = a[2], p = a[3]) : (h = a[0], p = a[1], f = a[2], u = a[3]);
833
+ let _ = a[4];
834
+ return [f, u, h, p, _];
827
835
  };
828
836
  d.prototype.diff_cleanupSemantic = function(e) {
829
- let t = !1, n = [], o = 0, s = null, i = 0, l = 0, r = 0, a = 0, f = 0;
830
- for (; i < e.length; ) e[i][0] == 0 ? (n[o++] = i, l = a, r = f, a = 0, f = 0, s = e[i][1]) : (e[i][0] == 1 ? a += e[i][1].length : f += e[i][1].length, s && s.length <= Math.max(l, r) && s.length <= Math.max(a, f) && (e.splice(n[o - 1], 0, new d.Diff(-1, s)), e[n[o - 1] + 1][0] = 1, o--, o--, i = o > 0 ? n[o - 1] : -1, l = 0, r = 0, a = 0, f = 0, s = null, t = !0)), i++;
837
+ let t = !1, n = [], o = 0, l = null, i = 0, s = 0, r = 0, a = 0, f = 0;
838
+ for (; i < e.length; ) e[i][0] == 0 ? (n[o++] = i, s = a, r = f, a = 0, f = 0, l = e[i][1]) : (e[i][0] == 1 ? a += e[i][1].length : f += e[i][1].length, l && l.length <= Math.max(s, r) && l.length <= Math.max(a, f) && (e.splice(n[o - 1], 0, new d.Diff(-1, l)), e[n[o - 1] + 1][0] = 1, o--, o--, i = o > 0 ? n[o - 1] : -1, s = 0, r = 0, a = 0, f = 0, l = null, t = !0)), i++;
831
839
  for (t && this.diff_cleanupMerge(e), this.diff_cleanupSemanticLossless(e), i = 1; i < e.length; ) {
832
840
  if (e[i - 1][0] == -1 && e[i][0] == 1) {
833
- let c = e[i - 1][1], h = e[i][1], p = this.diff_commonOverlap_(c, h), m = this.diff_commonOverlap_(h, c);
834
- p >= m ? (p >= c.length / 2 || p >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, h.substring(0, p))), e[i - 1][1] = c.substring(0, c.length - p), e[i + 1][1] = h.substring(p), i++) : (m >= c.length / 2 || m >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, c.substring(0, m))), e[i - 1][0] = 1, e[i - 1][1] = h.substring(0, h.length - m), e[i + 1][0] = -1, e[i + 1][1] = c.substring(m), i++), i++;
841
+ let u = e[i - 1][1], h = e[i][1], p = this.diff_commonOverlap_(u, h), _ = this.diff_commonOverlap_(h, u);
842
+ p >= _ ? (p >= u.length / 2 || p >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, h.substring(0, p))), e[i - 1][1] = u.substring(0, u.length - p), e[i + 1][1] = h.substring(p), i++) : (_ >= u.length / 2 || _ >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, u.substring(0, _))), e[i - 1][0] = 1, e[i - 1][1] = h.substring(0, h.length - _), e[i + 1][0] = -1, e[i + 1][1] = u.substring(_), i++), i++;
835
843
  }
836
844
  i++;
837
845
  }
838
846
  };
839
847
  d.prototype.diff_cleanupSemanticLossless = function(e) {
840
- function t(o, s) {
841
- if (!o || !s) return 6;
842
- let i = o.charAt(o.length - 1), l = s.charAt(0), r = i.match(d.nonAlphaNumericRegex_), a = l.match(d.nonAlphaNumericRegex_), f = r && i.match(d.whitespaceRegex_), c = a && l.match(d.whitespaceRegex_), h = f && i.match(d.linebreakRegex_), p = c && l.match(d.linebreakRegex_), m = h && o.match(d.blanklineEndRegex_), w = p && s.match(d.blanklineStartRegex_);
843
- return m || w ? 5 : h || p ? 4 : r && !f && c ? 3 : f || c ? 2 : r || a ? 1 : 0;
848
+ function t(o, l) {
849
+ if (!o || !l) return 6;
850
+ let i = o.charAt(o.length - 1), s = l.charAt(0), r = i.match(d.nonAlphaNumericRegex_), a = s.match(d.nonAlphaNumericRegex_), f = r && i.match(d.whitespaceRegex_), u = a && s.match(d.whitespaceRegex_), h = f && i.match(d.linebreakRegex_), p = u && s.match(d.linebreakRegex_), _ = h && o.match(d.blanklineEndRegex_), w = p && l.match(d.blanklineStartRegex_);
851
+ return _ || w ? 5 : h || p ? 4 : r && !f && u ? 3 : f || u ? 2 : r || a ? 1 : 0;
844
852
  }
845
853
  let n = 1;
846
854
  for (; n < e.length - 1; ) {
847
855
  if (e[n - 1][0] == 0 && e[n + 1][0] == 0) {
848
- let o = e[n - 1][1], s = e[n][1], i = e[n + 1][1], l = this.diff_commonSuffix(o, s);
849
- if (l) {
850
- o[o.length - l] === `
851
- ` && (l -= 1);
852
- let h = s.substring(s.length - l);
853
- o = o.substring(0, o.length - l), s = h + s.substring(0, s.length - l), i = h + i;
856
+ let o = e[n - 1][1], l = e[n][1], i = e[n + 1][1], s = this.diff_commonSuffix(o, l);
857
+ if (s) {
858
+ o[o.length - s] === `
859
+ ` && (s -= 1);
860
+ let h = l.substring(l.length - s);
861
+ o = o.substring(0, o.length - s), l = h + l.substring(0, l.length - s), i = h + i;
854
862
  }
855
- let r = o, a = s, f = i, c = t(o, s) + t(s, i);
856
- for (; s.charAt(0) === i.charAt(0); ) {
857
- o += s.charAt(0), s = s.substring(1) + i.charAt(0), i = i.substring(1);
858
- let h = t(o, s) + t(s, i);
859
- h >= c && (c = h, r = o, a = s, f = i);
863
+ let r = o, a = l, f = i, u = t(o, l) + t(l, i);
864
+ for (; l.charAt(0) === i.charAt(0); ) {
865
+ o += l.charAt(0), l = l.substring(1) + i.charAt(0), i = i.substring(1);
866
+ let h = t(o, l) + t(l, i);
867
+ h >= u && (u = h, r = o, a = l, f = i);
860
868
  }
861
869
  e[n - 1][1] != r && (r ? e[n - 1][1] = r : (e.splice(n - 1, 1), n--), e[n][1] = a, f ? e[n + 1][1] = f : (e.splice(n + 1, 1), n--));
862
870
  }
@@ -869,22 +877,22 @@ d.linebreakRegex_ = /[\r\n]/;
869
877
  d.blanklineEndRegex_ = /\n\r?\n$/;
870
878
  d.blanklineStartRegex_ = /^\r?\n\r?\n/;
871
879
  d.prototype.diff_cleanupEfficiency = function(e) {
872
- let t = !1, n = [], o = 0, s = null, i = 0, l = !1, r = !1, a = !1, f = !1;
873
- for (; i < e.length; ) e[i][0] == 0 ? (e[i][1].length < this.Diff_EditCost && (a || f) ? (n[o++] = i, l = a, r = f, s = e[i][1]) : (o = 0, s = null), a = f = !1) : (e[i][0] == -1 ? f = !0 : a = !0, s && (l && r && a && f || s.length < this.Diff_EditCost / 2 && l + r + a + f == 3) && (e.splice(n[o - 1], 0, new d.Diff(-1, s)), e[n[o - 1] + 1][0] = 1, o--, s = null, l && r ? (a = f = !0, o = 0) : (o--, i = o > 0 ? n[o - 1] : -1, a = f = !1), t = !0)), i++;
880
+ let t = !1, n = [], o = 0, l = null, i = 0, s = !1, r = !1, a = !1, f = !1;
881
+ for (; i < e.length; ) e[i][0] == 0 ? (e[i][1].length < this.Diff_EditCost && (a || f) ? (n[o++] = i, s = a, r = f, l = e[i][1]) : (o = 0, l = null), a = f = !1) : (e[i][0] == -1 ? f = !0 : a = !0, l && (s && r && a && f || l.length < this.Diff_EditCost / 2 && s + r + a + f == 3) && (e.splice(n[o - 1], 0, new d.Diff(-1, l)), e[n[o - 1] + 1][0] = 1, o--, l = null, s && r ? (a = f = !0, o = 0) : (o--, i = o > 0 ? n[o - 1] : -1, a = f = !1), t = !0)), i++;
874
882
  t && this.diff_cleanupMerge(e);
875
883
  };
876
884
  d.prototype.diff_cleanupMerge = function(e) {
877
885
  e.push(new d.Diff(0, ""));
878
- let t = 0, n = 0, o = 0, s = "", i = "", l;
886
+ let t = 0, n = 0, o = 0, l = "", i = "", s;
879
887
  for (; t < e.length; ) switch (e[t][0]) {
880
888
  case 1:
881
889
  o++, i += e[t][1], t++;
882
890
  break;
883
891
  case -1:
884
- n++, s += e[t][1], t++;
892
+ n++, l += e[t][1], t++;
885
893
  break;
886
894
  case 0:
887
- n + o > 1 ? (n !== 0 && o !== 0 && (l = this.diff_commonPrefix(i, s), l !== 0 && (t - n - o > 0 && e[t - n - o - 1][0] == 0 ? e[t - n - o - 1][1] += i.substring(0, l) : (e.splice(0, 0, new d.Diff(0, i.substring(0, l))), t++), i = i.substring(l), s = s.substring(l)), l = this.diff_commonSuffix(i, s), l !== 0 && (e[t][1] = i.substring(i.length - l) + e[t][1], i = i.substring(0, i.length - l), s = s.substring(0, s.length - l))), t -= n + o, e.splice(t, n + o), s.length && (e.splice(t, 0, new d.Diff(-1, s)), t++), i.length && (e.splice(t, 0, new d.Diff(1, i)), t++), t++) : t !== 0 && e[t - 1][0] == 0 ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, o = 0, n = 0, s = "", i = "";
895
+ n + o > 1 ? (n !== 0 && o !== 0 && (s = this.diff_commonPrefix(i, l), s !== 0 && (t - n - o > 0 && e[t - n - o - 1][0] == 0 ? e[t - n - o - 1][1] += i.substring(0, s) : (e.splice(0, 0, new d.Diff(0, i.substring(0, s))), t++), i = i.substring(s), l = l.substring(s)), s = this.diff_commonSuffix(i, l), s !== 0 && (e[t][1] = i.substring(i.length - s) + e[t][1], i = i.substring(0, i.length - s), l = l.substring(0, l.length - s))), t -= n + o, e.splice(t, n + o), l.length && (e.splice(t, 0, new d.Diff(-1, l)), t++), i.length && (e.splice(t, 0, new d.Diff(1, i)), t++), t++) : t !== 0 && e[t - 1][0] == 0 ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, o = 0, n = 0, l = "", i = "";
888
896
  break;
889
897
  }
890
898
  e[e.length - 1][1] === "" && e.pop();
@@ -895,12 +903,12 @@ d.prototype.diff_cleanupMerge = function(e) {
895
903
  d.prototype.diff_cleanupSplitSurrogates = function(e) {
896
904
  let t;
897
905
  for (let n = 0; n < e.length; n++) {
898
- let o = e[n], s = o[1][0], i = o[1][o[1].length - 1];
906
+ let o = e[n], l = o[1][0], i = o[1][o[1].length - 1];
899
907
  if (o[1].length === 0) {
900
908
  e.splice(n--, 1);
901
909
  continue;
902
910
  }
903
- if (i && this.isHighSurrogate(i) && (t = i, o[1] = o[1].slice(0, -1)), t && s && this.isHighSurrogate(t) && this.isLowSurrogate(s) && (o[1] = t + o[1]), o[1].length === 0) {
911
+ if (i && this.isHighSurrogate(i) && (t = i, o[1] = o[1].slice(0, -1)), t && l && this.isHighSurrogate(t) && this.isLowSurrogate(l) && (o[1] = t + o[1]), o[1].length === 0) {
904
912
  e.splice(n--, 1);
905
913
  continue;
906
914
  }
@@ -970,29 +978,29 @@ d.prototype.decodeURI = function(e) {
970
978
  continue;
971
979
  }
972
980
  let o = (this.digit16(e[t + 1]) << 4) + this.digit16(e[t + 2]);
973
- if (!(o & 128)) {
981
+ if ((o & 128) === 0) {
974
982
  n += String.fromCharCode(o), t += 3;
975
983
  continue;
976
984
  }
977
985
  if (e[t + 3] !== "%") throw new URIError("URI malformed");
978
- let s = (this.digit16(e[t + 4]) << 4) + this.digit16(e[t + 5]);
979
- if ((s & 192) !== 128) throw new URIError("URI malformed");
980
- if (s = s & 63, (o & 224) === 192) {
981
- n += String.fromCharCode((o & 31) << 6 | s), t += 6;
986
+ let l = (this.digit16(e[t + 4]) << 4) + this.digit16(e[t + 5]);
987
+ if ((l & 192) !== 128) throw new URIError("URI malformed");
988
+ if (l = l & 63, (o & 224) === 192) {
989
+ n += String.fromCharCode((o & 31) << 6 | l), t += 6;
982
990
  continue;
983
991
  }
984
992
  if (e[t + 6] !== "%") throw new URIError("URI malformed");
985
993
  let i = (this.digit16(e[t + 7]) << 4) + this.digit16(e[t + 8]);
986
994
  if ((i & 192) !== 128) throw new URIError("URI malformed");
987
995
  if (i = i & 63, (o & 240) === 224) {
988
- n += String.fromCharCode((o & 15) << 12 | s << 6 | i), t += 9;
996
+ n += String.fromCharCode((o & 15) << 12 | l << 6 | i), t += 9;
989
997
  continue;
990
998
  }
991
999
  if (e[t + 9] !== "%") throw new URIError("URI malformed");
992
- let l = (this.digit16(e[t + 10]) << 4) + this.digit16(e[t + 11]);
993
- if ((l & 192) !== 128) throw new URIError("URI malformed");
994
- if (l = l & 63, (o & 248) === 240) {
995
- let r = (o & 7) << 18 | s << 12 | i << 6 | l;
1000
+ let s = (this.digit16(e[t + 10]) << 4) + this.digit16(e[t + 11]);
1001
+ if ((s & 192) !== 128) throw new URIError("URI malformed");
1002
+ if (s = s & 63, (o & 248) === 240) {
1003
+ let r = (o & 7) << 18 | l << 12 | i << 6 | s;
996
1004
  if (r >= 65536 && r <= 1114111) {
997
1005
  n += String.fromCharCode((r & 65535) >>> 10 & 1023 | 55296), n += String.fromCharCode(56320 | r & 65535 & 1023), t += 12;
998
1006
  continue;
@@ -1004,24 +1012,24 @@ d.prototype.decodeURI = function(e) {
1004
1012
  }
1005
1013
  };
1006
1014
  d.prototype.diff_xIndex = function(e, t) {
1007
- let n = 0, o = 0, s = 0, i = 0, l;
1008
- for (l = 0; l < e.length && (e[l][0] !== 1 && (n += e[l][1].length), e[l][0] !== -1 && (o += e[l][1].length), !(n > t)); l++) s = n, i = o;
1009
- return e.length != l && e[l][0] === -1 ? i : i + (t - s);
1015
+ let n = 0, o = 0, l = 0, i = 0, s;
1016
+ for (s = 0; s < e.length && (e[s][0] !== 1 && (n += e[s][1].length), e[s][0] !== -1 && (o += e[s][1].length), !(n > t)); s++) l = n, i = o;
1017
+ return e.length != s && e[s][0] === -1 ? i : i + (t - l);
1010
1018
  };
1011
1019
  d.prototype.diff_prettyHtml = function(e) {
1012
1020
  e = this.diff_cleanupSplitSurrogates(e);
1013
- let t = [], n = /&/g, o = /</g, s = />/g, i = /\n/g;
1014
- for (let l = 0; l < e.length; l++) {
1015
- let r = e[l][0], a = e[l][1].replace(n, "&amp;").replace(o, "&lt;").replace(s, "&gt;").replace(i, "&para;<br>");
1021
+ let t = [], n = /&/g, o = /</g, l = />/g, i = /\n/g;
1022
+ for (let s = 0; s < e.length; s++) {
1023
+ let r = e[s][0], a = e[s][1].replace(n, "&amp;").replace(o, "&lt;").replace(l, "&gt;").replace(i, "&para;<br>");
1016
1024
  switch (r) {
1017
1025
  case 1:
1018
- t[l] = '<ins style="background:#e6ffe6;">' + a + "</ins>";
1026
+ t[s] = '<ins style="background:#e6ffe6;">' + a + "</ins>";
1019
1027
  break;
1020
1028
  case -1:
1021
- t[l] = '<del style="background:#ffe6e6;">' + a + "</del>";
1029
+ t[s] = '<del style="background:#ffe6e6;">' + a + "</del>";
1022
1030
  break;
1023
1031
  case 0:
1024
- t[l] = "<span>" + a + "</span>";
1032
+ t[s] = "<span>" + a + "</span>";
1025
1033
  break;
1026
1034
  }
1027
1035
  }
@@ -1039,14 +1047,14 @@ d.prototype.diff_text2 = function(e) {
1039
1047
  };
1040
1048
  d.prototype.diff_levenshtein = function(e) {
1041
1049
  let t = 0, n = 0, o = 0;
1042
- for (let s = 0; s < e.length; s++) {
1043
- let i = e[s][0], l = e[s][1];
1050
+ for (let l = 0; l < e.length; l++) {
1051
+ let i = e[l][0], s = e[l][1];
1044
1052
  switch (i) {
1045
1053
  case 1:
1046
- n += l.length;
1054
+ n += s.length;
1047
1055
  break;
1048
1056
  case -1:
1049
- o += l.length;
1057
+ o += s.length;
1050
1058
  break;
1051
1059
  case 0:
1052
1060
  t += Math.max(n, o), n = 0, o = 0;
@@ -1072,13 +1080,13 @@ d.prototype.diff_toDelta = function(e) {
1072
1080
  return t.join(" ").replace(/%20/g, " ");
1073
1081
  };
1074
1082
  d.prototype.diff_fromDelta = function(e, t) {
1075
- let n = 0, o = "", s = [], i = 0, l = 0, r = t.split(/\t/g);
1083
+ let n = 0, o = "", l = [], i = 0, s = 0, r = t.split(/\t/g);
1076
1084
  for (let a = 0; a < r.length; a++) {
1077
1085
  let f = r[a].substring(1);
1078
1086
  switch (r[a].charAt(0)) {
1079
1087
  case "+":
1080
1088
  try {
1081
- s[i++] = new d.Diff(1, this.decodeURI(f));
1089
+ l[i++] = new d.Diff(1, this.decodeURI(f));
1082
1090
  } catch {
1083
1091
  throw new Error("Illegal escape in diff_fromDelta: " + f);
1084
1092
  }
@@ -1086,14 +1094,14 @@ d.prototype.diff_fromDelta = function(e, t) {
1086
1094
  case "-":
1087
1095
  case "=":
1088
1096
  if (n = parseInt(f, 10), isNaN(n) || n < 0) throw new Error("Invalid number in diff_fromDelta: " + f);
1089
- o = e.substring(l, l += n), r[a].charAt(0) == "=" ? s[i++] = new d.Diff(0, o) : s[i++] = new d.Diff(-1, o);
1097
+ o = e.substring(s, s += n), r[a].charAt(0) == "=" ? l[i++] = new d.Diff(0, o) : l[i++] = new d.Diff(-1, o);
1090
1098
  break;
1091
1099
  default:
1092
1100
  if (r[a]) throw new Error("Invalid diff operation in diff_fromDelta: " + r[a]);
1093
1101
  }
1094
1102
  }
1095
- if (l != e.length) throw new Error("Delta length (" + l + ") does not equal source text length (" + e.length + ").");
1096
- return s;
1103
+ if (s != e.length) throw new Error("Delta length (" + s + ") does not equal source text length (" + e.length + ").");
1104
+ return l;
1097
1105
  };
1098
1106
  d.prototype.match_main = function(e, t, n) {
1099
1107
  if (e == null || t == null || n == null) throw new Error("Null input. (match_main)");
@@ -1101,30 +1109,30 @@ d.prototype.match_main = function(e, t, n) {
1101
1109
  };
1102
1110
  d.prototype.match_bitap_ = function(e, t, n) {
1103
1111
  if (t.length > this.Match_MaxBits) throw new Error("Pattern too long for this browser.");
1104
- let o = this.match_alphabet_(t), s = this;
1105
- function i(m, w) {
1106
- let v = m / t.length, y = Math.abs(n - w);
1107
- return s.Match_Distance ? v + y / s.Match_Distance : y ? 1 : v;
1112
+ let o = this.match_alphabet_(t), l = this;
1113
+ function i(_, w) {
1114
+ let C = _ / t.length, y = Math.abs(n - w);
1115
+ return l.Match_Distance ? C + y / l.Match_Distance : y ? 1 : C;
1108
1116
  }
1109
- let l = this.Match_Threshold, r = e.indexOf(t, n);
1110
- r != -1 && (l = Math.min(i(0, r), l), r = e.lastIndexOf(t, n + t.length), r != -1 && (l = Math.min(i(0, r), l)));
1117
+ let s = this.Match_Threshold, r = e.indexOf(t, n);
1118
+ r != -1 && (s = Math.min(i(0, r), s), r = e.lastIndexOf(t, n + t.length), r != -1 && (s = Math.min(i(0, r), s)));
1111
1119
  let a = 1 << t.length - 1;
1112
1120
  r = -1;
1113
- let f, c, h = t.length + e.length, p;
1114
- for (let m = 0; m < t.length; m++) {
1115
- for (f = 0, c = h; f < c; ) i(m, n + c) <= l ? f = c : h = c, c = Math.floor((h - f) / 2 + f);
1116
- h = c;
1117
- let w = Math.max(1, n - c + 1), v = Math.min(n + c, e.length) + t.length, y = Array(v + 2);
1118
- y[v + 1] = (1 << m) - 1;
1119
- for (let b = v; b >= w; b--) {
1120
- let L = o[e.charAt(b - 1)];
1121
- if (m === 0 ? y[b] = (y[b + 1] << 1 | 1) & L : y[b] = (y[b + 1] << 1 | 1) & L | ((p[b + 1] | p[b]) << 1 | 1) | p[b + 1], y[b] & a) {
1122
- let x = i(m, b - 1);
1123
- if (x <= l) if (l = x, r = b - 1, r > n) w = Math.max(1, 2 * n - r);
1121
+ let f, u, h = t.length + e.length, p;
1122
+ for (let _ = 0; _ < t.length; _++) {
1123
+ for (f = 0, u = h; f < u; ) i(_, n + u) <= s ? f = u : h = u, u = Math.floor((h - f) / 2 + f);
1124
+ h = u;
1125
+ let w = Math.max(1, n - u + 1), C = Math.min(n + u, e.length) + t.length, y = Array(C + 2);
1126
+ y[C + 1] = (1 << _) - 1;
1127
+ for (let b = C; b >= w; b--) {
1128
+ let v = o[e.charAt(b - 1)];
1129
+ if (_ === 0 ? y[b] = (y[b + 1] << 1 | 1) & v : y[b] = (y[b + 1] << 1 | 1) & v | ((p[b + 1] | p[b]) << 1 | 1) | p[b + 1], y[b] & a) {
1130
+ let x = i(_, b - 1);
1131
+ if (x <= s) if (s = x, r = b - 1, r > n) w = Math.max(1, 2 * n - r);
1124
1132
  else break;
1125
1133
  }
1126
1134
  }
1127
- if (i(m + 1, n) > l) break;
1135
+ if (i(_ + 1, n) > s) break;
1128
1136
  p = y;
1129
1137
  }
1130
1138
  return r;
@@ -1141,45 +1149,45 @@ d.prototype.patch_addContext_ = function(e, t) {
1141
1149
  let n = t.substring(e.start2, e.start2 + e.length1), o = 0;
1142
1150
  for (; t.indexOf(n) != t.lastIndexOf(n) && n.length < this.Match_MaxBits - this.Patch_Margin - this.Patch_Margin; ) o += this.Patch_Margin, n = t.substring(e.start2 - o, e.start2 + e.length1 + o);
1143
1151
  o += this.Patch_Margin, e.start2 - o > 0 && d.prototype.isLowSurrogate(t[e.start2 - o]) && o++;
1144
- let s = t.substring(e.start2 - o, e.start2);
1145
- s && e.diffs.unshift(new d.Diff(0, s)), e.start2 + e.length1 + o < t.length && d.prototype.isHighSurrogate(t[e.start2 + e.length1 + o]) && o++;
1152
+ let l = t.substring(e.start2 - o, e.start2);
1153
+ l && e.diffs.unshift(new d.Diff(0, l)), e.start2 + e.length1 + o < t.length && d.prototype.isHighSurrogate(t[e.start2 + e.length1 + o]) && o++;
1146
1154
  let i = t.substring(e.start2 + e.length1, e.start2 + e.length1 + o);
1147
- i && e.diffs.push(new d.Diff(0, i)), e.start1 -= s.length, e.start2 -= s.length, e.length1 += s.length + i.length, e.length2 += s.length + i.length;
1155
+ i && e.diffs.push(new d.Diff(0, i)), e.start1 -= l.length, e.start2 -= l.length, e.length1 += l.length + i.length, e.length2 += l.length + i.length;
1148
1156
  };
1149
1157
  d.prototype.patch_make = function(e, t, n) {
1150
- let o, s;
1151
- if (typeof e == "string" && typeof t == "string" && typeof n > "u") o = e, s = this.diff_main(o, t, !0), s.length > 2 && (this.diff_cleanupSemantic(s), this.diff_cleanupEfficiency(s));
1152
- else if (e && typeof e == "object" && typeof t > "u" && typeof n > "u") s = e, o = this.diff_text1(s);
1153
- else if (typeof e == "string" && t && typeof t == "object" && typeof n > "u") o = e, s = t;
1154
- else if (typeof e == "string" && typeof t == "string" && n && typeof n == "object") o = e, s = n;
1158
+ let o, l;
1159
+ if (typeof e == "string" && typeof t == "string" && typeof n > "u") o = e, l = this.diff_main(o, t, !0), l.length > 2 && (this.diff_cleanupSemantic(l), this.diff_cleanupEfficiency(l));
1160
+ else if (e && typeof e == "object" && typeof t > "u" && typeof n > "u") l = e, o = this.diff_text1(l);
1161
+ else if (typeof e == "string" && t && typeof t == "object" && typeof n > "u") o = e, l = t;
1162
+ else if (typeof e == "string" && typeof t == "string" && n && typeof n == "object") o = e, l = n;
1155
1163
  else throw new Error("Unknown call format to patch_make.");
1156
- if (s.length === 0) return [];
1157
- s = this.diff_cleanupSplitSurrogates(s);
1158
- let i = [], l = new d.patch_obj(), r = 0, a = 0, f = 0, c = o, h = o;
1159
- for (let p = 0; p < s.length; p++) {
1160
- let m = s[p][0], w = s[p][1];
1161
- switch (!r && m !== 0 && (l.start1 = a, l.start2 = f), m) {
1164
+ if (l.length === 0) return [];
1165
+ l = this.diff_cleanupSplitSurrogates(l);
1166
+ let i = [], s = new d.patch_obj(), r = 0, a = 0, f = 0, u = o, h = o;
1167
+ for (let p = 0; p < l.length; p++) {
1168
+ let _ = l[p][0], w = l[p][1];
1169
+ switch (!r && _ !== 0 && (s.start1 = a, s.start2 = f), _) {
1162
1170
  case 1:
1163
- l.diffs[r++] = s[p], l.length2 += w.length, h = h.substring(0, f) + w + h.substring(f);
1171
+ s.diffs[r++] = l[p], s.length2 += w.length, h = h.substring(0, f) + w + h.substring(f);
1164
1172
  break;
1165
1173
  case -1:
1166
- l.length1 += w.length, l.diffs[r++] = s[p], h = h.substring(0, f) + h.substring(f + w.length);
1174
+ s.length1 += w.length, s.diffs[r++] = l[p], h = h.substring(0, f) + h.substring(f + w.length);
1167
1175
  break;
1168
1176
  case 0:
1169
- w.length <= 2 * this.Patch_Margin && r && s.length != p + 1 ? (l.diffs[r++] = s[p], l.length1 += w.length, l.length2 += w.length) : w.length >= 2 * this.Patch_Margin && r && (this.patch_addContext_(l, c), i.push(l), l = new d.patch_obj(), r = 0, c = h, a = f);
1177
+ w.length <= 2 * this.Patch_Margin && r && l.length != p + 1 ? (s.diffs[r++] = l[p], s.length1 += w.length, s.length2 += w.length) : w.length >= 2 * this.Patch_Margin && r && (this.patch_addContext_(s, u), i.push(s), s = new d.patch_obj(), r = 0, u = h, a = f);
1170
1178
  break;
1171
1179
  }
1172
- m !== 1 && (a += w.length), m !== -1 && (f += w.length);
1180
+ _ !== 1 && (a += w.length), _ !== -1 && (f += w.length);
1173
1181
  }
1174
- return r && (this.patch_addContext_(l, c), i.push(l)), i;
1182
+ return r && (this.patch_addContext_(s, u), i.push(s)), i;
1175
1183
  };
1176
1184
  d.prototype.patch_deepCopy = function(e) {
1177
1185
  let t = [];
1178
1186
  for (let n = 0; n < e.length; n++) {
1179
- let o = e[n], s = new d.patch_obj();
1180
- s.diffs = [];
1181
- for (let i = 0; i < o.diffs.length; i++) s.diffs[i] = new d.Diff(o.diffs[i][0], o.diffs[i][1]);
1182
- s.start1 = o.start1, s.start2 = o.start2, s.length1 = o.length1, s.length2 = o.length2, t[n] = s;
1187
+ let o = e[n], l = new d.patch_obj();
1188
+ l.diffs = [];
1189
+ for (let i = 0; i < o.diffs.length; i++) l.diffs[i] = new d.Diff(o.diffs[i][0], o.diffs[i][1]);
1190
+ l.start1 = o.start1, l.start2 = o.start2, l.length1 = o.length1, l.length2 = o.length2, t[n] = l;
1183
1191
  }
1184
1192
  return t;
1185
1193
  };
@@ -1188,44 +1196,44 @@ d.prototype.patch_apply = function(e, t) {
1188
1196
  e = this.patch_deepCopy(e);
1189
1197
  let n = this.patch_addPadding(e);
1190
1198
  t = n + t + n, this.patch_splitMax(e);
1191
- let o = 0, s = [];
1199
+ let o = 0, l = [];
1192
1200
  for (let i = 0; i < e.length; i++) {
1193
- let l = e[i].start2 + o, r = this.diff_text1(e[i].diffs), a, f = -1;
1194
- if (r.length > this.Match_MaxBits ? (a = this.match_main(t, r.substring(0, this.Match_MaxBits), l), a != -1 && (f = this.match_main(t, r.substring(r.length - this.Match_MaxBits), l + r.length - this.Match_MaxBits), (f == -1 || a >= f) && (a = -1))) : a = this.match_main(t, r, l), a == -1) s[i] = !1, o -= e[i].length2 - e[i].length1;
1201
+ let s = e[i].start2 + o, r = this.diff_text1(e[i].diffs), a, f = -1;
1202
+ if (r.length > this.Match_MaxBits ? (a = this.match_main(t, r.substring(0, this.Match_MaxBits), s), a != -1 && (f = this.match_main(t, r.substring(r.length - this.Match_MaxBits), s + r.length - this.Match_MaxBits), (f == -1 || a >= f) && (a = -1))) : a = this.match_main(t, r, s), a == -1) l[i] = !1, o -= e[i].length2 - e[i].length1;
1195
1203
  else {
1196
- s[i] = !0, o = a - l;
1197
- let c;
1198
- if (f == -1 ? c = t.substring(a, a + r.length) : c = t.substring(a, f + this.Match_MaxBits), r == c) t = t.substring(0, a) + this.diff_text2(e[i].diffs) + t.substring(a + r.length);
1204
+ l[i] = !0, o = a - s;
1205
+ let u;
1206
+ if (f == -1 ? u = t.substring(a, a + r.length) : u = t.substring(a, f + this.Match_MaxBits), r == u) t = t.substring(0, a) + this.diff_text2(e[i].diffs) + t.substring(a + r.length);
1199
1207
  else {
1200
- let h = this.diff_main(r, c, !1);
1201
- if (r.length > this.Match_MaxBits && this.diff_levenshtein(h) / r.length > this.Patch_DeleteThreshold) s[i] = !1;
1208
+ let h = this.diff_main(r, u, !1);
1209
+ if (r.length > this.Match_MaxBits && this.diff_levenshtein(h) / r.length > this.Patch_DeleteThreshold) l[i] = !1;
1202
1210
  else {
1203
1211
  this.diff_cleanupSemanticLossless(h);
1204
- let p = 0, m;
1212
+ let p = 0, _;
1205
1213
  for (let w = 0; w < e[i].diffs.length; w++) {
1206
- let v = e[i].diffs[w];
1207
- v[0] !== 0 && (m = this.diff_xIndex(h, p)), v[0] === 1 ? t = t.substring(0, a + m) + v[1] + t.substring(a + m) : v[0] === -1 && (t = t.substring(0, a + m) + t.substring(a + this.diff_xIndex(h, p + v[1].length))), v[0] !== -1 && (p += v[1].length);
1214
+ let C = e[i].diffs[w];
1215
+ C[0] !== 0 && (_ = this.diff_xIndex(h, p)), C[0] === 1 ? t = t.substring(0, a + _) + C[1] + t.substring(a + _) : C[0] === -1 && (t = t.substring(0, a + _) + t.substring(a + this.diff_xIndex(h, p + C[1].length))), C[0] !== -1 && (p += C[1].length);
1208
1216
  }
1209
1217
  }
1210
1218
  }
1211
1219
  }
1212
1220
  }
1213
- return t = t.substring(n.length, t.length - n.length), [t, s];
1221
+ return t = t.substring(n.length, t.length - n.length), [t, l];
1214
1222
  };
1215
1223
  d.prototype.patch_addPadding = function(e) {
1216
1224
  let t = this.Patch_Margin, n = "";
1217
1225
  for (let i = 1; i <= t; i++) n += String.fromCharCode(i);
1218
1226
  for (let i = 0; i < e.length; i++) e[i].start1 += t, e[i].start2 += t;
1219
- let o = e[0], s = o.diffs;
1220
- if (s.length == 0 || s[0][0] != 0) s.unshift(new d.Diff(0, n)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
1221
- else if (t > s[0][1].length) {
1222
- let i = t - s[0][1].length;
1223
- s[0][1] = n.substring(s[0][1].length) + s[0][1], o.start1 -= i, o.start2 -= i, o.length1 += i, o.length2 += i;
1227
+ let o = e[0], l = o.diffs;
1228
+ if (l.length == 0 || l[0][0] != 0) l.unshift(new d.Diff(0, n)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
1229
+ else if (t > l[0][1].length) {
1230
+ let i = t - l[0][1].length;
1231
+ l[0][1] = n.substring(l[0][1].length) + l[0][1], o.start1 -= i, o.start2 -= i, o.length1 += i, o.length2 += i;
1224
1232
  }
1225
- if (o = e[e.length - 1], s = o.diffs, s.length == 0 || s[s.length - 1][0] != 0) s.push(new d.Diff(0, n)), o.length1 += t, o.length2 += t;
1226
- else if (t > s[s.length - 1][1].length) {
1227
- let i = t - s[s.length - 1][1].length;
1228
- s[s.length - 1][1] += n.substring(0, i), o.length1 += i, o.length2 += i;
1233
+ if (o = e[e.length - 1], l = o.diffs, l.length == 0 || l[l.length - 1][0] != 0) l.push(new d.Diff(0, n)), o.length1 += t, o.length2 += t;
1234
+ else if (t > l[l.length - 1][1].length) {
1235
+ let i = t - l[l.length - 1][1].length;
1236
+ l[l.length - 1][1] += n.substring(0, i), o.length1 += i, o.length2 += i;
1229
1237
  }
1230
1238
  return n;
1231
1239
  };
@@ -1235,14 +1243,14 @@ d.prototype.patch_splitMax = function(e) {
1235
1243
  if (e[n].length1 <= t) continue;
1236
1244
  let o = e[n];
1237
1245
  e.splice(n--, 1);
1238
- let s = o.start1, i = o.start2, l = "";
1246
+ let l = o.start1, i = o.start2, s = "";
1239
1247
  for (; o.diffs.length !== 0; ) {
1240
1248
  let r = new d.patch_obj(), a = !0;
1241
- for (r.start1 = s - l.length, r.start2 = i - l.length, l !== "" && (r.length1 = r.length2 = l.length, r.diffs.push(new d.Diff(0, l))); o.diffs.length !== 0 && r.length1 < t - this.Patch_Margin; ) {
1242
- let c = o.diffs[0][0], h = o.diffs[0][1];
1243
- c === 1 ? (r.length2 += h.length, i += h.length, r.diffs.push(o.diffs.shift()), a = !1) : c === -1 && r.diffs.length == 1 && r.diffs[0][0] == 0 && h.length > 2 * t ? (r.length1 += h.length, s += h.length, a = !1, r.diffs.push(new d.Diff(c, h)), o.diffs.shift()) : (h = h.substring(0, t - r.length1 - this.Patch_Margin), r.length1 += h.length, s += h.length, c === 0 ? (r.length2 += h.length, i += h.length) : a = !1, r.diffs.push(new d.Diff(c, h)), h == o.diffs[0][1] ? o.diffs.shift() : o.diffs[0][1] = o.diffs[0][1].substring(h.length));
1249
+ for (r.start1 = l - s.length, r.start2 = i - s.length, s !== "" && (r.length1 = r.length2 = s.length, r.diffs.push(new d.Diff(0, s))); o.diffs.length !== 0 && r.length1 < t - this.Patch_Margin; ) {
1250
+ let u = o.diffs[0][0], h = o.diffs[0][1];
1251
+ u === 1 ? (r.length2 += h.length, i += h.length, r.diffs.push(o.diffs.shift()), a = !1) : u === -1 && r.diffs.length == 1 && r.diffs[0][0] == 0 && h.length > 2 * t ? (r.length1 += h.length, l += h.length, a = !1, r.diffs.push(new d.Diff(u, h)), o.diffs.shift()) : (h = h.substring(0, t - r.length1 - this.Patch_Margin), r.length1 += h.length, l += h.length, u === 0 ? (r.length2 += h.length, i += h.length) : a = !1, r.diffs.push(new d.Diff(u, h)), h == o.diffs[0][1] ? o.diffs.shift() : o.diffs[0][1] = o.diffs[0][1].substring(h.length));
1244
1252
  }
1245
- l = this.diff_text2(r.diffs), l = l.substring(l.length - this.Patch_Margin);
1253
+ s = this.diff_text2(r.diffs), s = s.substring(s.length - this.Patch_Margin);
1246
1254
  let f = this.diff_text1(o.diffs).substring(0, this.Patch_Margin);
1247
1255
  f !== "" && (r.length1 += f.length, r.length2 += f.length, r.diffs.length !== 0 && r.diffs[r.diffs.length - 1][0] === 0 ? r.diffs[r.diffs.length - 1][1] += f : r.diffs.push(new d.Diff(0, f))), a || e.splice(++n, 0, r);
1248
1256
  }
@@ -1257,21 +1265,21 @@ d.prototype.patch_fromText = function(e) {
1257
1265
  let t = [];
1258
1266
  if (!e) return t;
1259
1267
  let n = e.split(`
1260
- `), o = 0, s = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
1268
+ `), o = 0, l = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
1261
1269
  for (; o < n.length; ) {
1262
- let i = n[o].match(s);
1270
+ let i = n[o].match(l);
1263
1271
  if (!i) throw new Error("Invalid patch string: " + n[o]);
1264
- let l = new d.patch_obj();
1265
- for (t.push(l), l.start1 = parseInt(i[1], 10), i[2] === "" ? (l.start1--, l.length1 = 1) : i[2] == "0" ? l.length1 = 0 : (l.start1--, l.length1 = parseInt(i[2], 10)), l.start2 = parseInt(i[3], 10), i[4] === "" ? (l.start2--, l.length2 = 1) : i[4] == "0" ? l.length2 = 0 : (l.start2--, l.length2 = parseInt(i[4], 10)), o++; o < n.length; ) {
1272
+ let s = new d.patch_obj();
1273
+ for (t.push(s), s.start1 = parseInt(i[1], 10), i[2] === "" ? (s.start1--, s.length1 = 1) : i[2] == "0" ? s.length1 = 0 : (s.start1--, s.length1 = parseInt(i[2], 10)), s.start2 = parseInt(i[3], 10), i[4] === "" ? (s.start2--, s.length2 = 1) : i[4] == "0" ? s.length2 = 0 : (s.start2--, s.length2 = parseInt(i[4], 10)), o++; o < n.length; ) {
1266
1274
  let r = n[o].charAt(0), a = "";
1267
1275
  try {
1268
1276
  a = decodeURI(n[o].substring(1));
1269
1277
  } catch {
1270
1278
  throw new Error("Illegal escape in patch_fromText: " + a);
1271
1279
  }
1272
- if (r == "-") l.diffs.push(new d.Diff(-1, a));
1273
- else if (r == "+") l.diffs.push(new d.Diff(1, a));
1274
- else if (r == " ") l.diffs.push(new d.Diff(0, a));
1280
+ if (r == "-") s.diffs.push(new d.Diff(-1, a));
1281
+ else if (r == "+") s.diffs.push(new d.Diff(1, a));
1282
+ else if (r == " ") s.diffs.push(new d.Diff(0, a));
1275
1283
  else {
1276
1284
  if (r == "@") break;
1277
1285
  if (r !== "") throw new Error('Invalid patch mode "' + r + '" in: ' + a);
@@ -1290,8 +1298,8 @@ d.patch_obj.prototype.toString = function() {
1290
1298
  let n = ["@@ -" + e + " +" + t + ` @@
1291
1299
  `], o;
1292
1300
  d.prototype.diff_cleanupSplitSurrogates(this.diffs);
1293
- for (let s = 0; s < this.diffs.length; s++) {
1294
- switch (this.diffs[s][0]) {
1301
+ for (let l = 0; l < this.diffs.length; l++) {
1302
+ switch (this.diffs[l][0]) {
1295
1303
  case 1:
1296
1304
  o = "+";
1297
1305
  break;
@@ -1302,268 +1310,268 @@ d.patch_obj.prototype.toString = function() {
1302
1310
  o = " ";
1303
1311
  break;
1304
1312
  }
1305
- n[s + 1] = o + encodeURI(this.diffs[s][1]) + `
1313
+ n[l + 1] = o + encodeURI(this.diffs[l][1]) + `
1306
1314
  `;
1307
1315
  }
1308
1316
  return n.join("").replace(/%20/g, " ");
1309
1317
  };
1310
- function G(e) {
1318
+ function z(e) {
1311
1319
  return e && typeof e == "object" && !Array.isArray(e) && e !== null;
1312
1320
  }
1313
- function W(e, t) {
1314
- return G(e) && G(t) && Object.keys(t).forEach((n) => {
1315
- n === "__proto__" || n === "constructor" || (G(t[n]) ? ((!e[n] || !G(e[n])) && (e[n] = t[n]), W(e[n], t[n])) : Object.assign(e, { [n]: t[n] }));
1321
+ function J(e, t) {
1322
+ return z(e) && z(t) && Object.keys(t).forEach((n) => {
1323
+ n === "__proto__" || n === "constructor" || (z(t[n]) ? ((!e[n] || !z(e[n])) && (e[n] = t[n]), J(e[n], t[n])) : Object.assign(e, { [n]: t[n] }));
1316
1324
  }), e;
1317
1325
  }
1318
- function J(e, t, n = !1) {
1319
- let o = null, s = !0;
1326
+ function Q(e, t, n = !1) {
1327
+ let o = null, l = !0;
1320
1328
  return (...i) => {
1321
- const l = n && s, r = () => {
1329
+ const s = n && l, r = () => {
1322
1330
  e.apply(this, i), o = null;
1323
1331
  };
1324
- l && (s = !1, r()), o || (o = setTimeout(r, t));
1332
+ s && (l = !1, r()), o || (o = setTimeout(r, t));
1325
1333
  };
1326
1334
  }
1327
- function qe(e, t) {
1335
+ function Ge(e, t) {
1328
1336
  let n;
1329
1337
  return (...o) => {
1330
- const s = this;
1331
- clearTimeout(n), n = setTimeout(() => e.apply(s, o), t);
1338
+ const l = this;
1339
+ clearTimeout(n), n = setTimeout(() => e.apply(l, o), t);
1332
1340
  };
1333
1341
  }
1334
- function K(e = "") {
1342
+ function Z(e = "") {
1335
1343
  return e.replace(/\r\n/g, `
1336
1344
  `);
1337
1345
  }
1338
- function Q(e, t, n, o) {
1339
- const s = n - e, i = e + s / 2;
1346
+ function ee(e, t, n, o) {
1347
+ const l = n - e, i = e + l / 2;
1340
1348
  return `M ${e} ${t} C ${i},${t} ${i},${o} ${n},${o}`;
1341
1349
  }
1342
- const T = { DIFF_EQUAL: 0, DIFF_DELETE: -1, DIFF_INSERT: 1, EDITOR_RIGHT: "right", EDITOR_LEFT: "left", RTL: "rtl", LTR: "ltr", SVG_NS: "http://www.w3.org/2000/svg", DIFF_GRANULARITY_SPECIFIC: "specific", DIFF_GRANULARITY_BROAD: "broad" };
1343
- function X(e, t) {
1350
+ const D = { DIFF_EQUAL: 0, DIFF_DELETE: -1, DIFF_INSERT: 1, EDITOR_RIGHT: "right", EDITOR_LEFT: "left", RTL: "rtl", LTR: "ltr", SVG_NS: "http://www.w3.org/2000/svg", DIFF_GRANULARITY_SPECIFIC: "specific", DIFF_GRANULARITY_BROAD: "broad" };
1351
+ function te(e, t) {
1344
1352
  let { mode: n } = e.options;
1345
- return t === T.EDITOR_LEFT && e.options.left.mode !== null && (n = e.options.left.mode), t === T.EDITOR_RIGHT && e.options.right.mode !== null && (n = e.options.right.mode), n;
1353
+ return t === D.EDITOR_LEFT && e.options.left.mode !== null && (n = e.options.left.mode), t === D.EDITOR_RIGHT && e.options.right.mode !== null && (n = e.options.right.mode), n;
1346
1354
  }
1347
- function Z(e, t) {
1355
+ function ne(e, t) {
1348
1356
  let { theme: n } = e.options;
1349
- return t === T.EDITOR_LEFT && e.options.left.theme !== null && (n = e.options.left.theme), t === T.EDITOR_RIGHT && e.options.right.theme !== null && (n = e.options.right.theme), n;
1357
+ return t === D.EDITOR_LEFT && e.options.left.theme !== null && (n = e.options.left.theme), t === D.EDITOR_RIGHT && e.options.right.theme !== null && (n = e.options.right.theme), n;
1350
1358
  }
1351
- function he(e, t) {
1359
+ function ce(e, t) {
1352
1360
  return e.ace.getSession().doc.getLine(t);
1353
1361
  }
1354
- function ze(e) {
1362
+ function $e(e) {
1355
1363
  return document.getElementById(e.options.left.id).offsetHeight;
1356
1364
  }
1357
- function ee(e) {
1365
+ function ie(e) {
1358
1366
  const t = document.createElement("div"), n = { class: e.className, style: `top:${e.topOffset}px`, title: e.tooltip, "data-diff-index": e.diffIndex };
1359
1367
  for (const o in n) t.setAttribute(o, n[o]);
1360
1368
  return t.innerHTML = e.arrowContent, t;
1361
1369
  }
1362
- function Y(e, t) {
1363
- const n = Math.random().toString(36).substr(2, 5), o = `js-${t}-${n}`, s = e.querySelector(`.${t}`);
1364
- if (s) return s.id = s.id || o, s.id;
1370
+ function W(e, t) {
1371
+ const n = Math.random().toString(36).substr(2, 5), o = `js-${t}-${n}`, l = e.querySelector(`.${t}`);
1372
+ if (l) return l.id = l.id || o, l.id;
1365
1373
  const i = document.createElement("div");
1366
1374
  return e.appendChild(i), i.className = t, i.id = o, i.id;
1367
1375
  }
1368
- function te(e, t, n, o) {
1369
- const s = e === "document" ? document : document.querySelector(e);
1370
- s.addEventListener(t, (i) => {
1371
- const l = s.querySelectorAll(n), { target: r } = i;
1372
- for (let a = 0, f = l.length; a < f; a += 1) {
1373
- let c = r;
1374
- const h = l[a];
1375
- for (; c && c !== s; ) c === h && o.call(h, i), c = c.parentNode;
1376
+ function oe(e, t, n, o) {
1377
+ const l = e === "document" ? document : document.querySelector(e);
1378
+ l.addEventListener(t, (i) => {
1379
+ const s = l.querySelectorAll(n), { target: r } = i;
1380
+ for (let a = 0, f = s.length; a < f; a += 1) {
1381
+ let u = r;
1382
+ const h = s[a];
1383
+ for (; u && u !== l; ) u === h && o.call(h, i), u = u.parentNode;
1376
1384
  }
1377
1385
  });
1378
1386
  }
1379
- let q;
1380
- function Ye(e) {
1387
+ let K;
1388
+ function je(e) {
1381
1389
  if (e.Range) return e.Range;
1382
1390
  const t = e.acequire || e.require;
1383
1391
  return t ? t("ace/range") : !1;
1384
1392
  }
1385
- function z(e = {}) {
1386
- if (!(this instanceof z)) return new z(e);
1393
+ function X(e = {}) {
1394
+ if (!(this instanceof X)) return new X(e);
1387
1395
  const t = this, n = () => window ? window.ace : void 0;
1388
- t.options = W({ ace: n(), mode: null, theme: null, element: null, diffGranularity: T.DIFF_GRANULARITY_BROAD, lockScrolling: !1, showDiffs: !0, showConnectors: !0, maxDiffs: 5e3, left: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, right: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, classes: { gutterID: "acediff__gutter", diff: "acediff__diffLine", connector: "acediff__connector", newCodeConnectorLink: "acediff__newCodeConnector", newCodeConnectorLinkContent: "&#8594;", deletedCodeConnectorLink: "acediff__deletedCodeConnector", deletedCodeConnectorLinkContent: "&#8592;", copyRightContainer: "acediff__copy--right", copyLeftContainer: "acediff__copy--left" }, connectorYOffset: 0 }, e);
1396
+ t.options = J({ ace: n(), mode: null, theme: null, element: null, diffGranularity: D.DIFF_GRANULARITY_BROAD, lockScrolling: !1, showDiffs: !0, showConnectors: !0, maxDiffs: 5e3, left: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, right: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, classes: { gutterID: "acediff__gutter", diff: "acediff__diffLine", connector: "acediff__connector", newCodeConnectorLink: "acediff__newCodeConnector", newCodeConnectorLinkContent: "&#8594;", deletedCodeConnectorLink: "acediff__deletedCodeConnector", deletedCodeConnectorLinkContent: "&#8592;", copyRightContainer: "acediff__copy--right", copyLeftContainer: "acediff__copy--left" }, connectorYOffset: 0 }, e);
1389
1397
  const { ace: o } = t.options;
1390
1398
  if (!o) {
1391
- const s = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1392
- return console.error(s), new Error(s);
1399
+ const l = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1400
+ return console.error(l), new Error(l);
1393
1401
  }
1394
- if (q = Ye(o), !q) {
1395
- const s = "Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";
1396
- return console.error(s), new Error(s);
1402
+ if (K = je(o), !K) {
1403
+ const l = "Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";
1404
+ return console.error(l), new Error(l);
1397
1405
  }
1398
1406
  if (t.options.element === null) {
1399
- const s = "You need to specify an element for Ace-diff - `options.element` is missing";
1400
- return console.error(s), new Error(s);
1407
+ const l = "You need to specify an element for Ace-diff - `options.element` is missing";
1408
+ return console.error(l), new Error(l);
1401
1409
  }
1402
1410
  if (t.options.element instanceof HTMLElement ? t.el = t.options.element : t.el = document.body.querySelector(t.options.element), !t.el) {
1403
- const s = `Can't find the specified element ${t.options.element}`;
1404
- return console.error(s), new Error(s);
1411
+ const l = `Can't find the specified element ${t.options.element}`;
1412
+ return console.error(l), new Error(l);
1405
1413
  }
1406
- t.options.left.id = Y(t.el, "acediff__left"), t.options.classes.gutterID = Y(t.el, "acediff__gutter"), t.options.right.id = Y(t.el, "acediff__right"), t.el.innerHTML = `<div class="acediff__wrap">${t.el.innerHTML}</div>`, t.editors = { left: { ace: o.edit(t.options.left.id), markers: [], lineLengths: [] }, right: { ace: o.edit(t.options.right.id), markers: [], lineLengths: [] }, editorHeight: null }, t.editors.left.ace.getSession().setMode(X(t, T.EDITOR_LEFT)), t.editors.right.ace.getSession().setMode(X(t, T.EDITOR_RIGHT)), t.editors.left.ace.setReadOnly(!t.options.left.editable), t.editors.right.ace.setReadOnly(!t.options.right.editable), t.editors.left.ace.setTheme(Z(t, T.EDITOR_LEFT)), t.editors.right.ace.setTheme(Z(t, T.EDITOR_RIGHT)), t.editors.left.ace.setValue(K(t.options.left.content), -1), t.editors.right.ace.setValue(K(t.options.right.content), -1), t.editors.editorHeight = ze(t), setTimeout(() => {
1407
- t.lineHeight = t.editors.left.ace.renderer.lineHeight, We(t), Xe(t), ue(t), t.diff();
1414
+ t.options.left.id = W(t.el, "acediff__left"), t.options.classes.gutterID = W(t.el, "acediff__gutter"), t.options.right.id = W(t.el, "acediff__right"), t.el.innerHTML = `<div class="acediff__wrap">${t.el.innerHTML}</div>`, t.editors = { left: { ace: o.edit(t.options.left.id), markers: [], lineLengths: [] }, right: { ace: o.edit(t.options.right.id), markers: [], lineLengths: [] }, editorHeight: null }, t.editors.left.ace.getSession().setMode(te(t, D.EDITOR_LEFT)), t.editors.right.ace.getSession().setMode(te(t, D.EDITOR_RIGHT)), t.editors.left.ace.setReadOnly(!t.options.left.editable), t.editors.right.ace.setReadOnly(!t.options.right.editable), t.editors.left.ace.setTheme(ne(t, D.EDITOR_LEFT)), t.editors.right.ace.setTheme(ne(t, D.EDITOR_RIGHT)), t.editors.left.ace.setValue(Z(t.options.left.content), -1), t.editors.right.ace.setValue(Z(t.options.right.content), -1), t.editors.editorHeight = $e(t), setTimeout(() => {
1415
+ t.lineHeight = t.editors.left.ace.renderer.lineHeight, qe(t), Xe(t), me(t), t.diff();
1408
1416
  }, 1);
1409
1417
  }
1410
- z.prototype = { setOptions(e) {
1411
- W(this.options, e), this.diff();
1418
+ X.prototype = { setOptions(e) {
1419
+ J(this.options, e), this.diff();
1412
1420
  }, getNumDiffs() {
1413
1421
  return this.diffs.length;
1414
1422
  }, getEditors() {
1415
1423
  return { left: this.editors.left.ace, right: this.editors.right.ace };
1416
1424
  }, diff() {
1417
1425
  const e = new d(), t = this.editors.left.ace.getSession().getValue(), n = this.editors.right.ace.getSession().getValue(), o = e.diff_main(n, t);
1418
- e.diff_cleanupSemantic(o), this.editors.left.lineLengths = ie(this.editors.left), this.editors.right.lineLengths = ie(this.editors.right);
1419
- const s = [], i = { left: 0, right: 0 };
1420
- o.forEach((l) => {
1421
- const r = l[0];
1422
- let a = l[1];
1423
- a.length !== 0 && (r === T.DIFF_EQUAL ? (i.left += a.length, i.right += a.length) : r === T.DIFF_DELETE ? (s.push(le(this, T.DIFF_DELETE, i.left, i.right, a)), i.right += a.length) : r === T.DIFF_INSERT && (s.push(le(this, T.DIFF_INSERT, i.left, i.right, a)), i.left += a.length));
1424
- }, this), this.diffs = tt(this, s), !(this.diffs.length > this.options.maxDiffs) && (ce(this), ge(this));
1426
+ e.diff_cleanupSemantic(o), this.editors.left.lineLengths = se(this.editors.left), this.editors.right.lineLengths = se(this.editors.right);
1427
+ const l = [], i = { left: 0, right: 0 };
1428
+ o.forEach((s) => {
1429
+ const r = s[0];
1430
+ let a = s[1];
1431
+ a.length !== 0 && (r === D.DIFF_EQUAL ? (i.left += a.length, i.right += a.length) : r === D.DIFF_DELETE ? (l.push(fe(this, D.DIFF_DELETE, i.left, i.right, a)), i.right += a.length) : r === D.DIFF_INSERT && (l.push(fe(this, D.DIFF_INSERT, i.left, i.right, a)), i.left += a.length));
1432
+ }, this), this.diffs = Qe(this, l), !(this.diffs.length > this.options.maxDiffs) && (pe(this), _e(this));
1425
1433
  }, destroy() {
1426
1434
  const e = this.editors.left.ace.getValue();
1427
1435
  this.editors.left.ace.destroy();
1428
1436
  let t = this.editors.left.ace.container, n = t.cloneNode(!1);
1429
1437
  n.textContent = e, t.parentNode.replaceChild(n, t);
1430
1438
  const o = this.editors.right.ace.getValue();
1431
- this.editors.right.ace.destroy(), t = this.editors.right.ace.container, n = t.cloneNode(!1), n.textContent = o, t.parentNode.replaceChild(n, t), document.getElementById(this.options.classes.gutterID).innerHTML = "", de();
1439
+ this.editors.right.ace.destroy(), t = this.editors.right.ace.container, n = t.cloneNode(!1), n.textContent = o, t.parentNode.replaceChild(n, t), document.getElementById(this.options.classes.gutterID).innerHTML = "", ge();
1432
1440
  } };
1433
- let de = () => {
1441
+ let ge = () => {
1434
1442
  };
1435
- function We(e) {
1436
- e.editors.left.ace.getSession().on("changeScrollTop", J(() => {
1437
- se(e);
1438
- }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", J(() => {
1439
- se(e);
1443
+ function qe(e) {
1444
+ e.editors.left.ace.getSession().on("changeScrollTop", Q(() => {
1445
+ ae(e);
1446
+ }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", Q(() => {
1447
+ ae(e);
1440
1448
  }, 16));
1441
1449
  const t = e.diff.bind(e);
1442
- e.editors.left.ace.on("change", t), e.editors.right.ace.on("change", t), e.options.left.copyLinkEnabled && te(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.newCodeConnectorLink}`, (o) => {
1443
- ne(e, o, T.LTR);
1444
- }), e.options.right.copyLinkEnabled && te(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (o) => {
1445
- ne(e, o, T.RTL);
1450
+ e.editors.left.ace.on("change", t), e.editors.right.ace.on("change", t), e.options.left.copyLinkEnabled && oe(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.newCodeConnectorLink}`, (o) => {
1451
+ le(e, o, D.LTR);
1452
+ }), e.options.right.copyLinkEnabled && oe(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (o) => {
1453
+ le(e, o, D.RTL);
1446
1454
  });
1447
- const n = qe(() => {
1455
+ const n = Ge(() => {
1448
1456
  e.editors.availableHeight = document.getElementById(e.options.left.id).offsetHeight, e.diff();
1449
1457
  }, 250);
1450
- window.addEventListener("resize", n), de = () => {
1458
+ window.addEventListener("resize", n), ge = () => {
1451
1459
  window.removeEventListener("resize", n);
1452
1460
  };
1453
1461
  }
1454
- function ne(e, t, n) {
1455
- const o = parseInt(t.target.getAttribute("data-diff-index"), 10), s = e.diffs[o];
1456
- let i, l, r, a, f, c;
1457
- n === T.LTR ? (i = e.editors.left, l = e.editors.right, r = s.leftStartLine, a = s.leftEndLine, f = s.rightStartLine, c = s.rightEndLine) : (i = e.editors.right, l = e.editors.left, r = s.rightStartLine, a = s.rightEndLine, f = s.leftStartLine, c = s.leftEndLine);
1462
+ function le(e, t, n) {
1463
+ const o = parseInt(t.target.getAttribute("data-diff-index"), 10), l = e.diffs[o];
1464
+ let i, s, r, a, f, u;
1465
+ n === D.LTR ? (i = e.editors.left, s = e.editors.right, r = l.leftStartLine, a = l.leftEndLine, f = l.rightStartLine, u = l.rightEndLine) : (i = e.editors.right, s = e.editors.left, r = l.rightStartLine, a = l.rightEndLine, f = l.leftStartLine, u = l.leftEndLine);
1458
1466
  let h = "";
1459
- for (let m = r; m < a; m += 1) h += he(i, m), m === r && h === "" && f != 0 && (h += `
1460
- `), m < i.ace.getSession().getLength() - 1 && (h += `
1467
+ for (let _ = r; _ < a; _ += 1) h += ce(i, _), _ === r && h === "" && f != 0 && (h += `
1468
+ `), _ < i.ace.getSession().getLength() - 1 && (h += `
1461
1469
  `);
1462
- const p = l.ace.getSession().getScrollTop();
1463
- l.ace.getSession().replace(new q(f, 0, c, 0), h), l.ace.getSession().setScrollTop(parseInt(p, 10)), e.diff();
1470
+ const p = s.ace.getSession().getScrollTop();
1471
+ s.ace.getSession().replace(new K(f, 0, u, 0), h), s.ace.getSession().setScrollTop(parseInt(p, 10)), e.diff();
1464
1472
  }
1465
- function ie(e) {
1473
+ function se(e) {
1466
1474
  const t = e.ace.getSession().doc.getAllLines(), n = [];
1467
1475
  return t.forEach((o) => {
1468
1476
  n.push(o.length + 1);
1469
1477
  }), n;
1470
1478
  }
1471
- function oe(e, t, n, o, s) {
1479
+ function re(e, t, n, o, l) {
1472
1480
  const i = e.editors[t];
1473
1481
  o < n && (o = n);
1474
- const l = `${s} ${o > n ? "lines" : "targetOnly"}`;
1475
- o > n && (o -= 1), i.markers.push(i.ace.session.addMarker(new q(n, 0, o, 1), l, "fullLine"));
1482
+ const s = `${l} ${o > n ? "lines" : "targetOnly"}`;
1483
+ o > n && (o -= 1), i.markers.push(i.ace.session.addMarker(new K(n, 0, o, 1), s, "fullLine"));
1476
1484
  }
1477
- function se(e) {
1478
- ce(e), ge(e), Qe(e);
1485
+ function ae(e) {
1486
+ pe(e), _e(e), Ke(e);
1479
1487
  }
1480
- function ce(e) {
1488
+ function pe(e) {
1481
1489
  e.editors.left.markers.forEach((t) => {
1482
1490
  e.editors.left.ace.getSession().removeMarker(t);
1483
1491
  }, e), e.editors.right.markers.forEach((t) => {
1484
1492
  e.editors.right.ace.getSession().removeMarker(t);
1485
1493
  }, e);
1486
1494
  }
1487
- function Je(e, t, n, o, s) {
1488
- const i = e.editors.left.ace.getSession().getScrollTop(), l = e.editors.right.ace.getSession().getScrollTop();
1495
+ function Ye(e, t, n, o, l) {
1496
+ const i = e.editors.left.ace.getSession().getScrollTop(), s = e.editors.right.ace.getSession().getScrollTop();
1489
1497
  e.connectorYOffset = 1;
1490
- const r = -1, a = t * e.lineHeight - i + 0.5, f = e.gutterWidth + 1, c = o * e.lineHeight - l + 0.5, h = -1, p = n * e.lineHeight - i + e.connectorYOffset + 0.5, m = e.gutterWidth + 1, w = s * e.lineHeight - l + e.connectorYOffset + 0.5, v = Q(r, a, f, c), y = Q(m, w, h, p), b = `L${f},${c} ${m},${w}`, L = `L${h},${p} ${r},${a}`, x = `${v} ${b} ${y} ${L}`, C = document.createElementNS(T.SVG_NS, "path");
1491
- C.setAttribute("d", x), C.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(C);
1498
+ const r = -1, a = t * e.lineHeight - i + 0.5, f = e.gutterWidth + 1, u = o * e.lineHeight - s + 0.5, h = -1, p = n * e.lineHeight - i + e.connectorYOffset + 0.5, _ = e.gutterWidth + 1, w = l * e.lineHeight - s + e.connectorYOffset + 0.5, C = ee(r, a, f, u), y = ee(_, w, h, p), b = `L${f},${u} ${_},${w}`, v = `L${h},${p} ${r},${a}`, x = `${C} ${b} ${y} ${v}`, L = document.createElementNS(D.SVG_NS, "path");
1499
+ L.setAttribute("d", x), L.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(L);
1492
1500
  }
1493
- function Ke(e, t, n) {
1501
+ function ze(e, t, n) {
1494
1502
  if (t.leftEndLine > t.leftStartLine && e.options.left.copyLinkEnabled) {
1495
- const o = ee({ className: e.options.classes.newCodeConnectorLink, topOffset: t.leftStartLine * e.lineHeight, tooltip: "Copy to right", diffIndex: n, arrowContent: e.options.classes.newCodeConnectorLinkContent });
1503
+ const o = ie({ className: e.options.classes.newCodeConnectorLink, topOffset: t.leftStartLine * e.lineHeight, tooltip: "Copy to right", diffIndex: n, arrowContent: e.options.classes.newCodeConnectorLinkContent });
1496
1504
  e.copyRightContainer.appendChild(o);
1497
1505
  }
1498
1506
  if (t.rightEndLine > t.rightStartLine && e.options.right.copyLinkEnabled) {
1499
- const o = ee({ className: e.options.classes.deletedCodeConnectorLink, topOffset: t.rightStartLine * e.lineHeight, tooltip: "Copy to left", diffIndex: n, arrowContent: e.options.classes.deletedCodeConnectorLinkContent });
1507
+ const o = ie({ className: e.options.classes.deletedCodeConnectorLink, topOffset: t.rightStartLine * e.lineHeight, tooltip: "Copy to left", diffIndex: n, arrowContent: e.options.classes.deletedCodeConnectorLinkContent });
1500
1508
  e.copyLeftContainer.appendChild(o);
1501
1509
  }
1502
1510
  }
1503
- function Qe(e) {
1511
+ function Ke(e) {
1504
1512
  const t = e.editors.left.ace.getSession().getScrollTop(), n = e.editors.right.ace.getSession().getScrollTop();
1505
1513
  e.copyRightContainer.style.cssText = `top: ${-t}px`, e.copyLeftContainer.style.cssText = `top: ${-n}px`;
1506
1514
  }
1507
- function le(e, t, n, o, s) {
1515
+ function fe(e, t, n, o, l) {
1508
1516
  let i = {};
1509
- if (t === T.DIFF_INSERT) {
1510
- let l = re(e.editors.left, n, s), r = ae(e.editors.right, o), a = O(e.editors.right, r);
1511
- const f = O(e.editors.left, l.startLine);
1512
- let c = r, h = l.startLine === l.endLine, p = 0;
1513
- (l.startChar > 0 || h && s.length < f) && a > 0 && l.startChar < f && p++, i = { leftStartLine: l.startLine, leftEndLine: l.endLine + 1, rightStartLine: c, rightEndLine: c + p };
1517
+ if (t === D.DIFF_INSERT) {
1518
+ let s = de(e.editors.left, n, l), r = he(e.editors.right, o), a = B(e.editors.right, r);
1519
+ const f = B(e.editors.left, s.startLine);
1520
+ let u = r, h = s.startLine === s.endLine, p = 0;
1521
+ (s.startChar > 0 || h && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: s.startLine, leftEndLine: s.endLine + 1, rightStartLine: u, rightEndLine: u + p };
1514
1522
  } else {
1515
- let l = re(e.editors.right, o, s), r = ae(e.editors.left, n), a = O(e.editors.left, r);
1516
- const f = O(e.editors.right, l.startLine);
1517
- let c = r, h = l.startLine === l.endLine, p = 0;
1518
- (l.startChar > 0 || h && s.length < f) && a > 0 && l.startChar < f && p++, i = { leftStartLine: c, leftEndLine: c + p, rightStartLine: l.startLine, rightEndLine: l.endLine + 1 };
1523
+ let s = de(e.editors.right, o, l), r = he(e.editors.left, n), a = B(e.editors.left, r);
1524
+ const f = B(e.editors.right, s.startLine);
1525
+ let u = r, h = s.startLine === s.endLine, p = 0;
1526
+ (s.startChar > 0 || h && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: u, leftEndLine: u + p, rightStartLine: s.startLine, rightEndLine: s.endLine + 1 };
1519
1527
  }
1520
1528
  return i;
1521
1529
  }
1522
- function re(e, t, n) {
1523
- const o = { startLine: 0, startChar: 0, endLine: 0, endChar: 0 }, s = t + n.length;
1524
- let i = 0, l = !1, r = !1;
1525
- e.lineLengths.forEach((f, c) => {
1526
- i += f, !l && t < i && (o.startLine = c, o.startChar = t - i + f, l = !0), !r && s <= i && (o.endLine = c, o.endChar = s - i + f, r = !0);
1527
- }), o.startChar > 0 && O(e, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1530
+ function de(e, t, n) {
1531
+ const o = { startLine: 0, startChar: 0, endLine: 0, endChar: 0 }, l = t + n.length;
1532
+ let i = 0, s = !1, r = !1;
1533
+ e.lineLengths.forEach((f, u) => {
1534
+ i += f, !s && t < i && (o.startLine = u, o.startChar = t - i + f, s = !0), !r && l <= i && (o.endLine = u, o.endChar = l - i + f, r = !0);
1535
+ }), o.startChar > 0 && B(e, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1528
1536
  const a = /\n$/.test(n);
1529
1537
  return o.startChar > 0 && a && o.endLine++, o;
1530
1538
  }
1531
- function O(e, t) {
1532
- return he(e, t).length;
1539
+ function B(e, t) {
1540
+ return ce(e, t).length;
1533
1541
  }
1534
- function ae(e, t) {
1542
+ function he(e, t) {
1535
1543
  const n = e.ace.getSession().doc.getAllLines();
1536
- let o = 0, s = 0;
1537
- for (let i = 0; i < n.length; i += 1) if (s += n[i].length + 1, t < s) {
1544
+ let o = 0, l = 0;
1545
+ for (let i = 0; i < n.length; i += 1) if (l += n[i].length + 1, t < l) {
1538
1546
  o = i;
1539
1547
  break;
1540
1548
  }
1541
- return s > e.ace.getSession().getValue().length && (o += 1), o;
1549
+ return l > e.ace.getSession().getValue().length && (o += 1), o;
1542
1550
  }
1543
- function ue(e) {
1551
+ function me(e) {
1544
1552
  e.gutterHeight = document.getElementById(e.options.classes.gutterID).clientHeight, e.gutterWidth = document.getElementById(e.options.classes.gutterID).clientWidth;
1545
- const t = fe(e, T.EDITOR_LEFT), n = fe(e, T.EDITOR_RIGHT), o = Math.max(t, n, e.gutterHeight);
1546
- e.gutterSVG = document.createElementNS(T.SVG_NS, "svg"), e.gutterSVG.setAttribute("width", e.gutterWidth), e.gutterSVG.setAttribute("height", o), document.getElementById(e.options.classes.gutterID).appendChild(e.gutterSVG);
1553
+ const t = ue(e, D.EDITOR_LEFT), n = ue(e, D.EDITOR_RIGHT), o = Math.max(t, n, e.gutterHeight);
1554
+ e.gutterSVG = document.createElementNS(D.SVG_NS, "svg"), e.gutterSVG.setAttribute("width", e.gutterWidth), e.gutterSVG.setAttribute("height", o), document.getElementById(e.options.classes.gutterID).appendChild(e.gutterSVG);
1547
1555
  }
1548
- function fe(e, t) {
1549
- return (t === T.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1556
+ function ue(e, t) {
1557
+ return (t === D.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1550
1558
  }
1551
1559
  function Xe(e) {
1552
1560
  e.copyRightContainer = document.createElement("div"), e.copyRightContainer.setAttribute("class", e.options.classes.copyRightContainer), e.copyLeftContainer = document.createElement("div"), e.copyLeftContainer.setAttribute("class", e.options.classes.copyLeftContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyRightContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyLeftContainer);
1553
1561
  }
1554
- function Ze(e) {
1555
- document.getElementById(e.options.classes.gutterID).removeChild(e.gutterSVG), ue(e);
1562
+ function We(e) {
1563
+ document.getElementById(e.options.classes.gutterID).removeChild(e.gutterSVG), me(e);
1556
1564
  }
1557
- function et(e) {
1565
+ function Je(e) {
1558
1566
  e.copyLeftContainer.innerHTML = "", e.copyRightContainer.innerHTML = "";
1559
1567
  }
1560
- function tt(e, t) {
1568
+ function Qe(e, t) {
1561
1569
  const n = [];
1562
1570
  function o(i) {
1563
- return e.options.diffGranularity === T.DIFF_GRANULARITY_SPECIFIC ? i < 1 : i <= 1;
1571
+ return e.options.diffGranularity === D.DIFF_GRANULARITY_SPECIFIC ? i < 1 : i <= 1;
1564
1572
  }
1565
- t.forEach((i, l) => {
1566
- if (l === 0) {
1573
+ t.forEach((i, s) => {
1574
+ if (s === 0) {
1567
1575
  n.push(i);
1568
1576
  return;
1569
1577
  }
@@ -1574,17 +1582,17 @@ function tt(e, t) {
1574
1582
  }
1575
1583
  r || n.push(i);
1576
1584
  });
1577
- const s = [];
1585
+ const l = [];
1578
1586
  return n.forEach((i) => {
1579
- i.leftStartLine === i.leftEndLine && i.rightStartLine === i.rightEndLine || s.push(i);
1580
- }), s;
1587
+ i.leftStartLine === i.leftEndLine && i.rightStartLine === i.rightEndLine || l.push(i);
1588
+ }), l;
1581
1589
  }
1582
- function ge(e) {
1583
- Ze(e), et(e), e.diffs.forEach((t, n) => {
1584
- e.options.showDiffs && (oe(e, T.EDITOR_LEFT, t.leftStartLine, t.leftEndLine, e.options.classes.diff), oe(e, T.EDITOR_RIGHT, t.rightStartLine, t.rightEndLine, e.options.classes.diff), e.options.showConnectors && Je(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), Ke(e, t, n));
1590
+ function _e(e) {
1591
+ We(e), Je(e), e.diffs.forEach((t, n) => {
1592
+ e.options.showDiffs && (re(e, D.EDITOR_LEFT, t.leftStartLine, t.leftEndLine, e.options.classes.diff), re(e, D.EDITOR_RIGHT, t.rightStartLine, t.rightEndLine, e.options.classes.diff), e.options.showConnectors && Ye(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), ze(e, t, n));
1585
1593
  }, e);
1586
1594
  }
1587
- const nt = {
1595
+ const Ze = {
1588
1596
  props: {
1589
1597
  pluginName: {
1590
1598
  type: String,
@@ -1612,28 +1620,12 @@ const nt = {
1612
1620
  localPluginTxt: "",
1613
1621
  localExistingPluginTxt: null,
1614
1622
  editor: null,
1615
- differ: null
1623
+ differ: null,
1624
+ contextMenu: !1,
1625
+ menuX: 0,
1626
+ menuY: 0
1616
1627
  };
1617
1628
  },
1618
- mounted() {
1619
- const e = this.buildPluginMode();
1620
- this.existingPluginTxt === null ? (this.editor = R.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), this.editor.focus()) : (this.tab = 1, this.differ = new z({
1621
- element: this.$refs.editor,
1622
- mode: new e(),
1623
- theme: "ace/theme/twilight",
1624
- left: {
1625
- content: this.localExistingPluginTxt,
1626
- copyLinkEnabled: !1
1627
- },
1628
- right: {
1629
- content: this.localPluginTxt,
1630
- editable: !1
1631
- }
1632
- }), this.differ.getEditors().left.setFontSize(16), this.differ.getEditors().right.setFontSize(16), this.curDiff = -1);
1633
- },
1634
- beforeUnmount() {
1635
- this.editor && this.editor.destroy(), this.differ && this.differ.destroy();
1636
- },
1637
1629
  computed: {
1638
1630
  show: {
1639
1631
  get() {
@@ -1652,6 +1644,25 @@ const nt = {
1652
1644
  }
1653
1645
  }
1654
1646
  },
1647
+ mounted() {
1648
+ const e = this.buildPluginMode();
1649
+ this.existingPluginTxt === null ? (this.editor = I.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), U.applyVimModeIfEnabled(this.editor), this.editor.focus()) : (this.tab = 1, this.differ = new X({
1650
+ element: this.$refs.editor,
1651
+ mode: new e(),
1652
+ theme: "ace/theme/twilight",
1653
+ left: {
1654
+ content: this.localExistingPluginTxt,
1655
+ copyLinkEnabled: !1
1656
+ },
1657
+ right: {
1658
+ content: this.localPluginTxt,
1659
+ editable: !1
1660
+ }
1661
+ }), this.differ.getEditors().left.setFontSize(16), this.differ.getEditors().right.setFontSize(16), U.applyVimModeIfEnabled(this.differ.getEditors().left), U.applyVimModeIfEnabled(this.differ.getEditors().right), this.curDiff = -1);
1662
+ },
1663
+ beforeUnmount() {
1664
+ this.editor && this.editor.destroy(), this.differ && this.differ.destroy();
1665
+ },
1655
1666
  methods: {
1656
1667
  previousDiff() {
1657
1668
  this.curDiff--, this.curDiff < 0 && (this.curDiff = this.differ.diffs.length - 1), this.scrollToCurDiff();
@@ -1665,24 +1676,24 @@ const nt = {
1665
1676
  e > 5 && (e -= 5), t > 5 && (t -= 5), this.differ.getEditors().left.scrollToLine(e), this.differ.getEditors().right.scrollToLine(t);
1666
1677
  },
1667
1678
  buildPluginMode() {
1668
- let e = R.require("ace/lib/oop"), t = R.require(
1679
+ let e = I.require("ace/lib/oop"), t = I.require(
1669
1680
  "ace/mode/ruby_highlight_rules"
1670
- ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), s = function() {
1681
+ ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), l = function() {
1671
1682
  t.call(this);
1672
- for (let c in this.$rules)
1673
- this.$rules[c].unshift({
1683
+ for (let u in this.$rules)
1684
+ this.$rules[u].unshift({
1674
1685
  regex: o,
1675
1686
  token: "support.function"
1676
1687
  });
1677
1688
  };
1678
- e.inherits(s, t);
1679
- let i = R.require(
1689
+ e.inherits(l, t);
1690
+ let i = I.require(
1680
1691
  "ace/mode/matching_brace_outdent"
1681
- ).MatchingBraceOutdent, l = R.require(
1692
+ ).MatchingBraceOutdent, s = I.require(
1682
1693
  "ace/mode/behaviour/cstyle"
1683
- ).CstyleBehaviour, r = R.require("ace/mode/folding/ruby").FoldMode, a = function() {
1684
- this.HighlightRules = s, this.$outdent = new i(), this.$behaviour = new l(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1685
- }, f = R.require("ace/mode/ruby").Mode;
1694
+ ).CstyleBehaviour, r = I.require("ace/mode/folding/ruby").FoldMode, a = function() {
1695
+ this.HighlightRules = l, this.$outdent = new i(), this.$behaviour = new s(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1696
+ }, f = I.require("ace/mode/ruby").Mode;
1686
1697
  return e.inherits(a, f), (function() {
1687
1698
  this.$id = "ace/mode/openc3";
1688
1699
  }).call(a.prototype), a;
@@ -1707,77 +1718,85 @@ const nt = {
1707
1718
  emitSubmit(e) {
1708
1719
  let t = {
1709
1720
  name: this.pluginName,
1710
- variables: ve(this.localVariables),
1721
+ variables: xe(this.localVariables),
1711
1722
  plugin_txt_lines: e
1712
1723
  };
1713
1724
  this.$emit("callback", t);
1714
1725
  },
1715
1726
  close: function() {
1716
1727
  this.show = !this.show;
1728
+ },
1729
+ showContextMenu: function(e) {
1730
+ this.menuX = e.pageX, this.menuY = e.pageY;
1731
+ let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
1732
+ if (n) {
1733
+ let o = n.value.trim();
1734
+ o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
1735
+ }
1736
+ },
1737
+ toggleVimMode: function() {
1738
+ this.editor && U.toggleVimMode(this.editor);
1717
1739
  }
1718
1740
  }
1719
- }, it = { style: { flex: "1" } }, ot = { class: "pa-3" }, st = {
1720
- ref: "editor",
1721
- class: "editor"
1722
- }, lt = {
1741
+ }, et = { style: { flex: "1" } }, tt = { class: "pa-3" }, nt = {
1723
1742
  ref: "editor",
1724
1743
  class: "editor"
1725
- }, rt = { key: 0 };
1726
- function at(e, t, n, o, s, i) {
1727
- const l = _("v-card-title"), r = _("v-icon"), a = _("v-row"), f = _("v-tab"), c = _("v-tabs"), h = _("v-text-field"), p = _("v-col"), m = _("v-window-item"), w = _("v-window"), v = _("v-btn"), y = _("v-spacer"), b = _("v-card-actions"), L = _("v-card-text"), x = _("v-card"), C = _("v-dialog");
1728
- return S(), M(C, {
1729
- persistent: "",
1744
+ }, it = { key: 0 };
1745
+ function ot(e, t, n, o, l, i) {
1746
+ const s = m("v-card-title"), r = m("v-icon"), a = m("v-row"), f = m("v-tab"), u = m("v-tabs"), h = m("v-text-field"), p = m("v-col"), _ = m("v-window-item"), w = m("v-list-item-title"), C = m("v-list-item"), y = m("v-divider"), b = m("v-list"), v = m("v-menu"), x = m("v-window"), L = m("v-btn"), k = m("v-spacer"), N = m("v-card-actions"), O = m("v-card-text"), P = m("v-card"), F = m("v-dialog");
1747
+ return E(), M(F, {
1730
1748
  modelValue: i.show,
1731
- "onUpdate:modelValue": t[3] || (t[3] = (D) => i.show = D),
1749
+ "onUpdate:modelValue": t[5] || (t[5] = (R) => i.show = R),
1750
+ persistent: "",
1732
1751
  width: "80vw"
1733
1752
  }, {
1734
- default: u(() => [
1735
- g(x, null, {
1736
- default: u(() => [
1737
- g(L, null, {
1738
- default: u(() => [
1739
- g(l, null, {
1740
- default: u(() => [
1741
- E(A(n.pluginName), 1)
1753
+ default: g(() => [
1754
+ c(P, null, {
1755
+ default: g(() => [
1756
+ c(O, null, {
1757
+ default: g(() => [
1758
+ c(s, null, {
1759
+ default: g(() => [
1760
+ S(A(n.pluginName), 1)
1742
1761
  ]),
1743
1762
  _: 1
1744
1763
  }),
1745
- n.existingPluginTxt !== null ? (S(), M(a, {
1764
+ n.existingPluginTxt !== null ? (E(), M(a, {
1746
1765
  key: 0,
1747
1766
  class: "notice d-flex flex-row"
1748
1767
  }, {
1749
- default: u(() => [
1750
- g(r, {
1768
+ default: g(() => [
1769
+ c(r, {
1751
1770
  size: "x-large",
1752
1771
  start: "",
1753
1772
  color: "yellow"
1754
1773
  }, {
1755
- default: u(() => t[4] || (t[4] = [
1756
- E(" mdi-alert-box ")
1774
+ default: g(() => t[6] || (t[6] = [
1775
+ S(" mdi-alert-box ")
1757
1776
  ])),
1758
1777
  _: 1
1759
1778
  }),
1760
- k("div", it, " The existing plugin.txt is different from the " + A(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + A(n.pluginName) + "'s plugin.txt going forward. ", 1)
1779
+ T("div", et, " The existing plugin.txt is different from the " + A(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + A(n.pluginName) + "'s plugin.txt going forward. ", 1)
1761
1780
  ]),
1762
1781
  _: 1
1763
- })) : H("", !0),
1764
- g(a, { class: "pb-3 pr-3" }, {
1765
- default: u(() => [
1766
- g(c, {
1767
- modelValue: s.tab,
1768
- "onUpdate:modelValue": t[0] || (t[0] = (D) => s.tab = D),
1782
+ })) : j("", !0),
1783
+ c(a, { class: "pb-3 pr-3" }, {
1784
+ default: g(() => [
1785
+ c(u, {
1786
+ modelValue: l.tab,
1787
+ "onUpdate:modelValue": t[0] || (t[0] = (R) => l.tab = R),
1769
1788
  class: "ml-3"
1770
1789
  }, {
1771
- default: u(() => [
1772
- (S(), M(f, { key: 0 }, {
1773
- default: u(() => t[5] || (t[5] = [
1774
- E(" Variables ")
1790
+ default: g(() => [
1791
+ (E(), M(f, { key: 0 }, {
1792
+ default: g(() => t[7] || (t[7] = [
1793
+ S(" Variables ")
1775
1794
  ])),
1776
1795
  _: 1
1777
1796
  })),
1778
- (S(), M(f, { key: 1 }, {
1779
- default: u(() => t[6] || (t[6] = [
1780
- E(" plugin.txt ")
1797
+ (E(), M(f, { key: 1 }, {
1798
+ default: g(() => t[8] || (t[8] = [
1799
+ S(" plugin.txt ")
1781
1800
  ])),
1782
1801
  _: 1
1783
1802
  }))
@@ -1787,33 +1806,33 @@ function at(e, t, n, o, s, i) {
1787
1806
  ]),
1788
1807
  _: 1
1789
1808
  }),
1790
- k("form", {
1791
- onSubmit: t[2] || (t[2] = j((...D) => e.onSubmit && e.onSubmit(...D), ["prevent"]))
1809
+ T("form", {
1810
+ onSubmit: t[4] || (t[4] = H((...R) => e.onSubmit && e.onSubmit(...R), ["prevent"]))
1792
1811
  }, [
1793
- g(w, {
1794
- modelValue: s.tab,
1795
- "onUpdate:modelValue": t[1] || (t[1] = (D) => s.tab = D)
1812
+ c(x, {
1813
+ modelValue: l.tab,
1814
+ "onUpdate:modelValue": t[3] || (t[3] = (R) => l.tab = R)
1796
1815
  }, {
1797
- default: u(() => [
1798
- (S(), M(m, {
1816
+ default: g(() => [
1817
+ (E(), M(_, {
1799
1818
  key: 0,
1800
1819
  eager: "true",
1801
1820
  class: "tab"
1802
1821
  }, {
1803
- default: u(() => [
1804
- k("div", ot, [
1805
- g(a, { class: "mt-3" }, {
1806
- default: u(() => [
1807
- (S(!0), V(P, null, F(s.localVariables, (D, I) => (S(), V("div", { key: I }, [
1808
- g(p, { style: { width: "220px" } }, {
1809
- default: u(() => [
1810
- g(h, {
1822
+ default: g(() => [
1823
+ T("div", tt, [
1824
+ c(a, { class: "mt-3" }, {
1825
+ default: g(() => [
1826
+ (E(!0), V(G, null, $(l.localVariables, (R, Y) => (E(), V("div", { key: Y }, [
1827
+ c(p, { style: { width: "220px" } }, {
1828
+ default: g(() => [
1829
+ c(h, {
1830
+ modelValue: l.localVariables[Y],
1831
+ "onUpdate:modelValue": (be) => l.localVariables[Y] = be,
1811
1832
  clearable: "",
1812
1833
  type: "text",
1813
- label: I,
1814
- modelValue: s.localVariables[I],
1815
- "onUpdate:modelValue": (N) => s.localVariables[I] = N
1816
- }, null, 8, ["label", "modelValue", "onUpdate:modelValue"])
1834
+ label: Y
1835
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label"])
1817
1836
  ]),
1818
1837
  _: 2
1819
1838
  }, 1024)
@@ -1825,96 +1844,131 @@ function at(e, t, n, o, s, i) {
1825
1844
  ]),
1826
1845
  _: 1
1827
1846
  })),
1828
- n.existingPluginTxt === null ? (S(), M(m, {
1847
+ n.existingPluginTxt === null ? (E(), M(_, {
1829
1848
  key: "1-new",
1830
1849
  eager: "true",
1831
1850
  class: "tab"
1832
1851
  }, {
1833
- default: u(() => [
1834
- g(a, { class: "pa-3" }, {
1835
- default: u(() => [
1836
- g(p, null, {
1837
- default: u(() => t[7] || (t[7] = [
1838
- E(" This can be edited before installation. ")
1852
+ default: g(() => [
1853
+ c(a, { class: "pa-3" }, {
1854
+ default: g(() => [
1855
+ c(p, null, {
1856
+ default: g(() => t[9] || (t[9] = [
1857
+ S(" This can be edited before installation. ")
1839
1858
  ])),
1840
1859
  _: 1
1841
1860
  })
1842
1861
  ]),
1843
1862
  _: 1
1844
1863
  }),
1845
- k("pre", st, null, 512)
1864
+ T("pre", {
1865
+ ref: "editor",
1866
+ class: "editor",
1867
+ onContextmenu: t[1] || (t[1] = H((...R) => i.showContextMenu && i.showContextMenu(...R), ["prevent"]))
1868
+ }, null, 544),
1869
+ c(v, {
1870
+ modelValue: l.contextMenu,
1871
+ "onUpdate:modelValue": t[2] || (t[2] = (R) => l.contextMenu = R),
1872
+ target: [l.menuX, l.menuY]
1873
+ }, {
1874
+ default: g(() => [
1875
+ c(b, null, {
1876
+ default: g(() => [
1877
+ c(C, { link: "" }, {
1878
+ default: g(() => [
1879
+ c(w, { onClick: e.openDocumentation }, {
1880
+ default: g(() => [
1881
+ S(A(e.docsKeyword) + " documentation ", 1)
1882
+ ]),
1883
+ _: 1
1884
+ }, 8, ["onClick"])
1885
+ ]),
1886
+ _: 1
1887
+ }),
1888
+ c(y),
1889
+ c(C, {
1890
+ title: "Toggle Vim mode",
1891
+ "prepend-icon": "extras:vim",
1892
+ onClick: i.toggleVimMode
1893
+ }, null, 8, ["onClick"])
1894
+ ]),
1895
+ _: 1
1896
+ })
1897
+ ]),
1898
+ _: 1
1899
+ }, 8, ["modelValue", "target"])
1846
1900
  ]),
1847
1901
  _: 1
1848
- })) : (S(), M(m, {
1902
+ })) : (E(), M(_, {
1849
1903
  key: "1-existing",
1850
1904
  eager: "true",
1851
1905
  class: "tab"
1852
1906
  }, {
1853
- default: u(() => [
1854
- g(a, { class: "pa-3" }, {
1855
- default: u(() => [
1856
- g(p, null, {
1857
- default: u(() => t[8] || (t[8] = [
1858
- E(" Existing plugin.txt. This can be edited before installation. ")
1907
+ default: g(() => [
1908
+ c(a, { class: "pa-3" }, {
1909
+ default: g(() => [
1910
+ c(p, null, {
1911
+ default: g(() => t[10] || (t[10] = [
1912
+ S(" Existing plugin.txt. This can be edited before installation. ")
1859
1913
  ])),
1860
1914
  _: 1
1861
1915
  }),
1862
- g(p, { class: "ml-6" }, {
1863
- default: u(() => t[9] || (t[9] = [
1864
- E(" Uneditable plugin.txt from the new plugin. ")
1916
+ c(p, { class: "ml-6" }, {
1917
+ default: g(() => t[11] || (t[11] = [
1918
+ S(" Uneditable plugin.txt from the new plugin. ")
1865
1919
  ])),
1866
1920
  _: 1
1867
1921
  })
1868
1922
  ]),
1869
1923
  _: 1
1870
1924
  }),
1871
- k("pre", lt, null, 512)
1925
+ T("pre", nt, null, 512)
1872
1926
  ]),
1873
1927
  _: 1
1874
1928
  }))
1875
1929
  ]),
1876
1930
  _: 1
1877
1931
  }, 8, ["modelValue"]),
1878
- g(b, { class: "px-2 mt-2" }, {
1879
- default: u(() => [
1880
- n.existingPluginTxt !== null ? (S(), V("div", rt, [
1881
- g(v, {
1932
+ c(N, { class: "px-2 mt-2" }, {
1933
+ default: g(() => [
1934
+ n.existingPluginTxt !== null ? (E(), V("div", it, [
1935
+ c(L, {
1882
1936
  variant: "text",
1883
1937
  onClick: i.nextDiff
1884
1938
  }, {
1885
- default: u(() => t[10] || (t[10] = [
1886
- E(" Next Diff ")
1939
+ default: g(() => t[12] || (t[12] = [
1940
+ S(" Next Diff ")
1887
1941
  ])),
1888
1942
  _: 1
1889
1943
  }, 8, ["onClick"]),
1890
- g(v, {
1944
+ c(L, {
1891
1945
  variant: "text",
1892
1946
  onClick: i.previousDiff
1893
1947
  }, {
1894
- default: u(() => t[11] || (t[11] = [
1895
- E(" Previous Diff ")
1948
+ default: g(() => t[13] || (t[13] = [
1949
+ S(" Previous Diff ")
1896
1950
  ])),
1897
1951
  _: 1
1898
1952
  }, 8, ["onClick"])
1899
- ])) : H("", !0),
1900
- g(y),
1901
- g(v, {
1953
+ ])) : j("", !0),
1954
+ c(k),
1955
+ c(L, {
1902
1956
  variant: "outlined",
1903
- onClick: j(i.close, ["prevent"]),
1904
- "data-test": "edit-cancel"
1957
+ "data-test": "edit-cancel",
1958
+ onClick: H(i.close, ["prevent"])
1905
1959
  }, {
1906
- default: u(() => t[12] || (t[12] = [
1907
- E(" Cancel ")
1960
+ default: g(() => t[14] || (t[14] = [
1961
+ S(" Cancel ")
1908
1962
  ])),
1909
1963
  _: 1
1910
1964
  }, 8, ["onClick"]),
1911
- g(v, {
1965
+ c(L, {
1912
1966
  variant: "flat",
1913
- onClick: i.submit,
1914
- "data-test": "edit-submit"
1967
+ "data-test": "edit-submit",
1968
+ onClick: i.submit
1915
1969
  }, {
1916
- default: u(() => t[13] || (t[13] = [
1917
- E(" Install ")
1970
+ default: g(() => t[15] || (t[15] = [
1971
+ S(" Install ")
1918
1972
  ])),
1919
1973
  _: 1
1920
1974
  }, 8, ["onClick"])
@@ -1932,13 +1986,13 @@ function at(e, t, n, o, s, i) {
1932
1986
  _: 1
1933
1987
  }, 8, ["modelValue"]);
1934
1988
  }
1935
- const wt = /* @__PURE__ */ U(nt, [["render", at], ["__scopeId", "data-v-4a504453"]]);
1989
+ const pt = /* @__PURE__ */ q(Ze, [["render", ot], ["__scopeId", "data-v-5b18ccf5"]]);
1936
1990
  export {
1937
- pt as DownloadDialog,
1938
- mt as EditDialog,
1939
- _t as ModifiedPluginDialog,
1940
- bt as OpenC3Admin,
1941
- wt as PluginDialog,
1942
- Be as TabsList
1991
+ ht as DownloadDialog,
1992
+ ut as EditDialog,
1993
+ ct as ModifiedPluginDialog,
1994
+ gt as OpenC3Admin,
1995
+ pt as PluginDialog,
1996
+ Ue as TabsList
1943
1997
  };
1944
1998
  //# sourceMappingURL=admin.js.map