@openc3/vue-common 6.10.2 → 6.10.4

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 (545) hide show
  1. package/dist/{ArrayWidget-ByKRAWXn.cjs → ArrayWidget-CIMbQsGW.cjs} +3 -3
  2. package/dist/{ArrayWidget-ByKRAWXn.cjs.map → ArrayWidget-CIMbQsGW.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-CR7Wpw3N.js → ArrayWidget-DfiusKpM.js} +11 -11
  4. package/dist/{ArrayWidget-CR7Wpw3N.js.map → ArrayWidget-DfiusKpM.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-Cty7KQ_h.cjs → ArrayplotWidget-DrrqqJEu.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-Cty7KQ_h.cjs.map → ArrayplotWidget-DrrqqJEu.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-DDEd-jRJ.js → ArrayplotWidget-DsvOovu9.js} +4 -4
  8. package/dist/{ArrayplotWidget-DDEd-jRJ.js.map → ArrayplotWidget-DsvOovu9.js.map} +1 -1
  9. package/dist/BarColumn-CWgcL5w1.cjs +2 -0
  10. package/dist/BarColumn-CWgcL5w1.cjs.map +1 -0
  11. package/dist/{BarColumn-XWs-3Cwb.js → BarColumn-DHHJBR3V.js} +11 -11
  12. package/dist/BarColumn-DHHJBR3V.js.map +1 -0
  13. package/dist/{BlockWidget-BDzoqpxO.cjs → BlockWidget-7Ecn_42c.cjs} +3 -3
  14. package/dist/{BlockWidget-BDzoqpxO.cjs.map → BlockWidget-7Ecn_42c.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CfFgdNSv.js → BlockWidget-BdYXWS_0.js} +14 -14
  16. package/dist/{BlockWidget-CfFgdNSv.js.map → BlockWidget-BdYXWS_0.js.map} +1 -1
  17. package/dist/{ButtonWidget-BBMDS_YF.cjs → ButtonWidget-DFxBj0MG.cjs} +3 -3
  18. package/dist/ButtonWidget-DFxBj0MG.cjs.map +1 -0
  19. package/dist/{ButtonWidget-BaSvtElA.js → ButtonWidget-zpSJmiQT.js} +15 -15
  20. package/dist/ButtonWidget-zpSJmiQT.js.map +1 -0
  21. package/dist/{CanvasWidget-CFNpgqfW.cjs → CanvasWidget-C5-iZ-YT.cjs} +2 -2
  22. package/dist/{CanvasWidget-CFNpgqfW.cjs.map → CanvasWidget-C5-iZ-YT.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DcwDi5Zk.js → CanvasWidget-DaUB1G9X.js} +4 -4
  24. package/dist/{CanvasWidget-DcwDi5Zk.js.map → CanvasWidget-DaUB1G9X.js.map} +1 -1
  25. package/dist/{CanvasdotWidget--awMOWyz.js → CanvasdotWidget-C255aTVc.js} +3 -3
  26. package/dist/{CanvasdotWidget--awMOWyz.js.map → CanvasdotWidget-C255aTVc.js.map} +1 -1
  27. package/dist/{CanvasdotWidget-BZ9TrTvw.cjs → CanvasdotWidget-CCrgS1yO.cjs} +2 -2
  28. package/dist/{CanvasdotWidget-BZ9TrTvw.cjs.map → CanvasdotWidget-CCrgS1yO.cjs.map} +1 -1
  29. package/dist/CanvasimageWidget-B2Mm0dYq.cjs +2 -0
  30. package/dist/CanvasimageWidget-B2Mm0dYq.cjs.map +1 -0
  31. package/dist/{CanvasimageWidget-YP1pCtvb.js → CanvasimageWidget-CFlUUFqr.js} +8 -7
  32. package/dist/CanvasimageWidget-CFlUUFqr.js.map +1 -0
  33. package/dist/CanvasimagevalueWidget-B1xVa3FB.cjs +2 -0
  34. package/dist/CanvasimagevalueWidget-B1xVa3FB.cjs.map +1 -0
  35. package/dist/{CanvasimagevalueWidget-CjVHb2uj.js → CanvasimagevalueWidget-s4gR3fo5.js} +5 -4
  36. package/dist/CanvasimagevalueWidget-s4gR3fo5.js.map +1 -0
  37. package/dist/{CanvaslabelWidget-Dw1YmiY0.cjs → CanvaslabelWidget-CAtE3qq_.cjs} +2 -2
  38. package/dist/{CanvaslabelWidget-Dw1YmiY0.cjs.map → CanvaslabelWidget-CAtE3qq_.cjs.map} +1 -1
  39. package/dist/{CanvaslabelWidget-DoMplTTO.js → CanvaslabelWidget-CaOc-lTQ.js} +3 -3
  40. package/dist/{CanvaslabelWidget-DoMplTTO.js.map → CanvaslabelWidget-CaOc-lTQ.js.map} +1 -1
  41. package/dist/CanvaslabelvalueWidget-CvVMrZsu.cjs +2 -0
  42. package/dist/CanvaslabelvalueWidget-CvVMrZsu.cjs.map +1 -0
  43. package/dist/{CanvaslabelvalueWidget-Dyo_ogHn.js → CanvaslabelvalueWidget-hqJoPekq.js} +4 -3
  44. package/dist/CanvaslabelvalueWidget-hqJoPekq.js.map +1 -0
  45. package/dist/{CanvaslineWidget-tm194dw1.cjs → CanvaslineWidget-CjPnyDod.cjs} +2 -2
  46. package/dist/{CanvaslineWidget-tm194dw1.cjs.map → CanvaslineWidget-CjPnyDod.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-D7W1TIxm.js → CanvaslineWidget-DebP2L43.js} +3 -3
  48. package/dist/{CanvaslineWidget-D7W1TIxm.js.map → CanvaslineWidget-DebP2L43.js.map} +1 -1
  49. package/dist/{CanvaslinevalueWidget-BOZyJuLE.js → CanvaslinevalueWidget-BkPG5Vtx.js} +11 -10
  50. package/dist/CanvaslinevalueWidget-BkPG5Vtx.js.map +1 -0
  51. package/dist/CanvaslinevalueWidget-Caadjtan.cjs +2 -0
  52. package/dist/CanvaslinevalueWidget-Caadjtan.cjs.map +1 -0
  53. package/dist/CheckbuttonWidget-CEOWZkt6.cjs +2 -0
  54. package/dist/{CheckbuttonWidget-BSvTWD3x.cjs.map → CheckbuttonWidget-CEOWZkt6.cjs.map} +1 -1
  55. package/dist/{CheckbuttonWidget-B1E4BC6v.js → CheckbuttonWidget-eQIcPATf.js} +6 -6
  56. package/dist/{CheckbuttonWidget-B1E4BC6v.js.map → CheckbuttonWidget-eQIcPATf.js.map} +1 -1
  57. package/dist/{ClassificationBanners-CzZoKcRy.cjs → ClassificationBanners--l3qMxLo.cjs} +2 -2
  58. package/dist/{ClassificationBanners-CzZoKcRy.cjs.map → ClassificationBanners--l3qMxLo.cjs.map} +1 -1
  59. package/dist/{ClassificationBanners-DQeVwmYp.js → ClassificationBanners-CFLQaZJ2.js} +2 -2
  60. package/dist/{ClassificationBanners-DQeVwmYp.js.map → ClassificationBanners-CFLQaZJ2.js.map} +1 -1
  61. package/dist/{ComboboxWidget-BExUBH57.js → ComboboxWidget-B5kzYxFk.js} +6 -6
  62. package/dist/{ComboboxWidget-BExUBH57.js.map → ComboboxWidget-B5kzYxFk.js.map} +1 -1
  63. package/dist/ComboboxWidget-BSs59QzI.cjs +2 -0
  64. package/dist/{ComboboxWidget-B_KAnIVB.cjs.map → ComboboxWidget-BSs59QzI.cjs.map} +1 -1
  65. package/dist/{CriticalCmdDialog-BtzhxuZi.js → CriticalCmdDialog-BYHZbX2w.js} +62 -52
  66. package/dist/CriticalCmdDialog-BYHZbX2w.js.map +1 -0
  67. package/dist/CriticalCmdDialog-BhjiJIo5.cjs +2 -0
  68. package/dist/CriticalCmdDialog-BhjiJIo5.cjs.map +1 -0
  69. package/dist/{CustomIcon-DTfsnDJn.js → CustomIcon-B9m73Gqm.js} +5 -4
  70. package/dist/{CustomIcon-DTfsnDJn.js.map → CustomIcon-B9m73Gqm.js.map} +1 -1
  71. package/dist/CustomIcon-CEc927h0.cjs +2 -0
  72. package/dist/{CustomIcon-eie3rPKh.cjs.map → CustomIcon-CEc927h0.cjs.map} +1 -1
  73. package/dist/{DateWidget-_ZmPsi2l.js → DateWidget-1IZOe50K.js} +3 -3
  74. package/dist/{DateWidget-_ZmPsi2l.js.map → DateWidget-1IZOe50K.js.map} +1 -1
  75. package/dist/{DateWidget-kTJBAHVp.cjs → DateWidget-DkVxE7Xj.cjs} +2 -2
  76. package/dist/{DateWidget-kTJBAHVp.cjs.map → DateWidget-DkVxE7Xj.cjs.map} +1 -1
  77. package/dist/{DetailsDialog-Bq7SS7bc.js → DetailsDialog-D-rjL4oc.js} +130 -100
  78. package/dist/DetailsDialog-D-rjL4oc.js.map +1 -0
  79. package/dist/DetailsDialog-lJG8eclU.cjs +2 -0
  80. package/dist/DetailsDialog-lJG8eclU.cjs.map +1 -0
  81. package/dist/DynamicWidget-C4V2H2VJ.cjs +2 -0
  82. package/dist/DynamicWidget-C4V2H2VJ.cjs.map +1 -0
  83. package/dist/{DynamicWidget-DHL7pbgW.js → DynamicWidget-DEHWYr8i.js} +7 -7
  84. package/dist/DynamicWidget-DEHWYr8i.js.map +1 -0
  85. package/dist/EventListDialog-5UXvnmNE.cjs +2 -0
  86. package/dist/EventListDialog-5UXvnmNE.cjs.map +1 -0
  87. package/dist/{EventListDialog-jdNF3szO.js → EventListDialog-Id3rEQKY.js} +242 -242
  88. package/dist/EventListDialog-Id3rEQKY.js.map +1 -0
  89. package/dist/FilechecksumWidget-D-5GSjyV.cjs +2 -0
  90. package/dist/FilechecksumWidget-D-5GSjyV.cjs.map +1 -0
  91. package/dist/FilechecksumWidget-F_FX1Kjx.js +158 -0
  92. package/dist/FilechecksumWidget-F_FX1Kjx.js.map +1 -0
  93. package/dist/FiledisplayWidget-BF3G22jF.js +114 -0
  94. package/dist/FiledisplayWidget-BF3G22jF.js.map +1 -0
  95. package/dist/FiledisplayWidget-BHLOY_cM.cjs +2 -0
  96. package/dist/FiledisplayWidget-BHLOY_cM.cjs.map +1 -0
  97. package/dist/{FormatvalueWidget-4C0vrL2i.js → FormatvalueWidget-BkF9iiHs.js} +4 -4
  98. package/dist/{FormatvalueWidget-4C0vrL2i.js.map → FormatvalueWidget-BkF9iiHs.js.map} +1 -1
  99. package/dist/{FormatvalueWidget-CVoJgFJA.cjs → FormatvalueWidget-DTsP7isW.cjs} +2 -2
  100. package/dist/{FormatvalueWidget-CVoJgFJA.cjs.map → FormatvalueWidget-DTsP7isW.cjs.map} +1 -1
  101. package/dist/{Graph-B7KPo9Ul.js → Graph-C-7C2Jq5.js} +194 -187
  102. package/dist/Graph-C-7C2Jq5.js.map +1 -0
  103. package/dist/Graph-YYieRGo0.cjs +2 -0
  104. package/dist/Graph-YYieRGo0.cjs.map +1 -0
  105. package/dist/{GraphWidget-D3HueIZi.cjs → GraphWidget-C7hqdqL-.cjs} +2 -2
  106. package/dist/{GraphWidget-D3HueIZi.cjs.map → GraphWidget-C7hqdqL-.cjs.map} +1 -1
  107. package/dist/{GraphWidget-BpkPpAbd.js → GraphWidget-DRkDn8za.js} +2 -2
  108. package/dist/{GraphWidget-BpkPpAbd.js.map → GraphWidget-DRkDn8za.js.map} +1 -1
  109. package/dist/HorizontalWidget-DB64wzZB.js +69 -0
  110. package/dist/HorizontalWidget-DB64wzZB.js.map +1 -0
  111. package/dist/HorizontalWidget-h-U8i3G-.cjs +2 -0
  112. package/dist/HorizontalWidget-h-U8i3G-.cjs.map +1 -0
  113. package/dist/{HorizontalboxWidget-CTomf_Iy.js → HorizontalboxWidget-BsHsGlvK.js} +6 -6
  114. package/dist/{HorizontalboxWidget-CTomf_Iy.js.map → HorizontalboxWidget-BsHsGlvK.js.map} +1 -1
  115. package/dist/{HorizontalboxWidget-ysq7slso.cjs → HorizontalboxWidget-E4LUf2eN.cjs} +2 -2
  116. package/dist/{HorizontalboxWidget-ysq7slso.cjs.map → HorizontalboxWidget-E4LUf2eN.cjs.map} +1 -1
  117. package/dist/{HorizontallineWidget-B7xx7ofY.js → HorizontallineWidget-CyiexzIu.js} +3 -3
  118. package/dist/{HorizontallineWidget-B7xx7ofY.js.map → HorizontallineWidget-CyiexzIu.js.map} +1 -1
  119. package/dist/{HorizontallineWidget-BgXZZymr.cjs → HorizontallineWidget-LibmHnAf.cjs} +2 -2
  120. package/dist/{HorizontallineWidget-BgXZZymr.cjs.map → HorizontallineWidget-LibmHnAf.cjs.map} +1 -1
  121. package/dist/{IframeWidget-DK7rbULe.js → IframeWidget-D9Vh0w2c.js} +3 -3
  122. package/dist/{IframeWidget-DK7rbULe.js.map → IframeWidget-D9Vh0w2c.js.map} +1 -1
  123. package/dist/{IframeWidget-fV9e-Nm1.cjs → IframeWidget-xeXTxP_G.cjs} +2 -2
  124. package/dist/{IframeWidget-fV9e-Nm1.cjs.map → IframeWidget-xeXTxP_G.cjs.map} +1 -1
  125. package/dist/{ImageLoader-C9rN_pSY.js → ImageLoader-B4iBPFyi.js} +2 -2
  126. package/dist/{ImageLoader-C9rN_pSY.js.map → ImageLoader-B4iBPFyi.js.map} +1 -1
  127. package/dist/{ImageLoader-CJxiBXAL.cjs → ImageLoader-Cc4-BNJv.cjs} +2 -2
  128. package/dist/{ImageLoader-CJxiBXAL.cjs.map → ImageLoader-Cc4-BNJv.cjs.map} +1 -1
  129. package/dist/{ImageviewerWidget-6d6Kl3W_.js → ImageviewerWidget-DqV4SClv.js} +10 -9
  130. package/dist/ImageviewerWidget-DqV4SClv.js.map +1 -0
  131. package/dist/ImageviewerWidget-KVt487SJ.cjs +2 -0
  132. package/dist/ImageviewerWidget-KVt487SJ.cjs.map +1 -0
  133. package/dist/{InterfacesTab-BCqTanhV.js → InterfacesTab-C310FRIP.js} +4 -4
  134. package/dist/{InterfacesTab-BCqTanhV.js.map → InterfacesTab-C310FRIP.js.map} +1 -1
  135. package/dist/{InterfacesTab-0pmK3KNu.cjs → InterfacesTab-nZwg-ByS.cjs} +2 -2
  136. package/dist/{InterfacesTab-0pmK3KNu.cjs.map → InterfacesTab-nZwg-ByS.cjs.map} +1 -1
  137. package/dist/{LabelWidget-D71FfOSw.js → LabelWidget-BDukcPet.js} +3 -3
  138. package/dist/{LabelWidget-D71FfOSw.js.map → LabelWidget-BDukcPet.js.map} +1 -1
  139. package/dist/{LabelWidget-DdZz2NWv.cjs → LabelWidget-DYfv4K8h.cjs} +2 -2
  140. package/dist/{LabelWidget-DdZz2NWv.cjs.map → LabelWidget-DYfv4K8h.cjs.map} +1 -1
  141. package/dist/{LabelledWidget-BZ319slb.cjs → LabelledWidget-Dl1x6b3p.cjs} +2 -2
  142. package/dist/{LabelledWidget-BZ319slb.cjs.map → LabelledWidget-Dl1x6b3p.cjs.map} +1 -1
  143. package/dist/{LabelledWidget-D2ir5kVU.js → LabelledWidget-tVHE426s.js} +6 -6
  144. package/dist/{LabelledWidget-D2ir5kVU.js.map → LabelledWidget-tVHE426s.js.map} +1 -1
  145. package/dist/{LabelprogressbarWidget-C4_YbROz.js → LabelprogressbarWidget-CjMDFUUv.js} +6 -6
  146. package/dist/{LabelprogressbarWidget-C4_YbROz.js.map → LabelprogressbarWidget-CjMDFUUv.js.map} +1 -1
  147. package/dist/{LabelprogressbarWidget-LyevJNuz.cjs → LabelprogressbarWidget-DcO0gRM4.cjs} +2 -2
  148. package/dist/{LabelprogressbarWidget-LyevJNuz.cjs.map → LabelprogressbarWidget-DcO0gRM4.cjs.map} +1 -1
  149. package/dist/LabelsparklineWidget-Cp2a-qlI.cjs +2 -0
  150. package/dist/LabelsparklineWidget-Cp2a-qlI.cjs.map +1 -0
  151. package/dist/{LabelsparklineWidget-CdZ_pM2B.js → LabelsparklineWidget-dZl3cGu0.js} +13 -13
  152. package/dist/LabelsparklineWidget-dZl3cGu0.js.map +1 -0
  153. package/dist/{LabelvalueWidget-DSHwAKma.cjs → LabelvalueWidget-CgP4mzP_.cjs} +2 -2
  154. package/dist/{LabelvalueWidget-DSHwAKma.cjs.map → LabelvalueWidget-CgP4mzP_.cjs.map} +1 -1
  155. package/dist/{LabelvalueWidget-BS0EPY5h.js → LabelvalueWidget-UcAc_2Ry.js} +6 -6
  156. package/dist/{LabelvalueWidget-BS0EPY5h.js.map → LabelvalueWidget-UcAc_2Ry.js.map} +1 -1
  157. package/dist/{LabelvaluedescWidget-3lwQxkKj.cjs → LabelvaluedescWidget-CXJ037Qs.cjs} +2 -2
  158. package/dist/{LabelvaluedescWidget-3lwQxkKj.cjs.map → LabelvaluedescWidget-CXJ037Qs.cjs.map} +1 -1
  159. package/dist/{LabelvaluedescWidget-Cpr8_Voq.js → LabelvaluedescWidget-Crb8udVe.js} +6 -6
  160. package/dist/{LabelvaluedescWidget-Cpr8_Voq.js.map → LabelvaluedescWidget-Crb8udVe.js.map} +1 -1
  161. package/dist/{LabelvaluelimitsbarWidget-DbO_Q5ex.cjs → LabelvaluelimitsbarWidget-B3cn7i50.cjs} +2 -2
  162. package/dist/LabelvaluelimitsbarWidget-B3cn7i50.cjs.map +1 -0
  163. package/dist/{LabelvaluelimitsbarWidget-DTcYbEQS.js → LabelvaluelimitsbarWidget-BZGUQrRt.js} +10 -10
  164. package/dist/LabelvaluelimitsbarWidget-BZGUQrRt.js.map +1 -0
  165. package/dist/LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs +2 -0
  166. package/dist/LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs.map +1 -0
  167. package/dist/{LabelvaluelimitscolumnWidget-D0ltQ9Ta.js → LabelvaluelimitscolumnWidget-NNYW2aMO.js} +12 -12
  168. package/dist/LabelvaluelimitscolumnWidget-NNYW2aMO.js.map +1 -0
  169. package/dist/{LabelvaluerangebarWidget-B6_alHq4.cjs → LabelvaluerangebarWidget-B81fLpK0.cjs} +2 -2
  170. package/dist/{LabelvaluerangebarWidget-B6_alHq4.cjs.map → LabelvaluerangebarWidget-B81fLpK0.cjs.map} +1 -1
  171. package/dist/{LabelvaluerangebarWidget-O8IHjvHs.js → LabelvaluerangebarWidget-CjkVDlVJ.js} +6 -6
  172. package/dist/{LabelvaluerangebarWidget-O8IHjvHs.js.map → LabelvaluerangebarWidget-CjkVDlVJ.js.map} +1 -1
  173. package/dist/Layout-FpBx3iic.js +36 -0
  174. package/dist/Layout-FpBx3iic.js.map +1 -0
  175. package/dist/Layout-K7_I6jMV.cjs +2 -0
  176. package/dist/Layout-K7_I6jMV.cjs.map +1 -0
  177. package/dist/{LedWidget-DUvJ2v8k.js → LedWidget-Bsp1aja-.js} +46 -39
  178. package/dist/LedWidget-Bsp1aja-.js.map +1 -0
  179. package/dist/LedWidget-C19KREVz.cjs +2 -0
  180. package/dist/LedWidget-C19KREVz.cjs.map +1 -0
  181. package/dist/LimitsBar-IVv8t4FE.js +134 -0
  182. package/dist/LimitsBar-IVv8t4FE.js.map +1 -0
  183. package/dist/LimitsBar-LRiUSWd7.cjs +2 -0
  184. package/dist/LimitsBar-LRiUSWd7.cjs.map +1 -0
  185. package/dist/LimitsbarWidget-BFjMhTbA.cjs +2 -0
  186. package/dist/LimitsbarWidget-BFjMhTbA.cjs.map +1 -0
  187. package/dist/LimitsbarWidget-Bo1JAoQp.js +65 -0
  188. package/dist/LimitsbarWidget-Bo1JAoQp.js.map +1 -0
  189. package/dist/LimitscolorWidget-D214kS86.cjs +2 -0
  190. package/dist/LimitscolorWidget-D214kS86.cjs.map +1 -0
  191. package/dist/{LimitscolorWidget-FXT0ZPPH.js → LimitscolorWidget-Doq8h_g1.js} +14 -13
  192. package/dist/LimitscolorWidget-Doq8h_g1.js.map +1 -0
  193. package/dist/{LimitscolumnWidget-C5yozwf0.cjs → LimitscolumnWidget-BREF_CBr.cjs} +2 -2
  194. package/dist/{LimitscolumnWidget-C5yozwf0.cjs.map → LimitscolumnWidget-BREF_CBr.cjs.map} +1 -1
  195. package/dist/{LimitscolumnWidget-CjBy-CCI.js → LimitscolumnWidget-qasXHN7m.js} +3 -3
  196. package/dist/{LimitscolumnWidget-CjBy-CCI.js.map → LimitscolumnWidget-qasXHN7m.js.map} +1 -1
  197. package/dist/{LinegraphWidget-lmu_tFKd.js → LinegraphWidget-BNMqcr_r.js} +5 -5
  198. package/dist/{LinegraphWidget-lmu_tFKd.js.map → LinegraphWidget-BNMqcr_r.js.map} +1 -1
  199. package/dist/{LinegraphWidget-dO_B0T3E.cjs → LinegraphWidget-BhpYKxnT.cjs} +2 -2
  200. package/dist/{LinegraphWidget-dO_B0T3E.cjs.map → LinegraphWidget-BhpYKxnT.cjs.map} +1 -1
  201. package/dist/MatrixbycolumnsWidget-BKXkhATe.cjs +2 -0
  202. package/dist/MatrixbycolumnsWidget-BKXkhATe.cjs.map +1 -0
  203. package/dist/MatrixbycolumnsWidget-BlF1CyIT.js +83 -0
  204. package/dist/MatrixbycolumnsWidget-BlF1CyIT.js.map +1 -0
  205. package/dist/MicroservicesTab-BWFwBSuf.cjs +2 -0
  206. package/dist/MicroservicesTab-BWFwBSuf.cjs.map +1 -0
  207. package/dist/MicroservicesTab-xpDXKoa-.js +203 -0
  208. package/dist/MicroservicesTab-xpDXKoa-.js.map +1 -0
  209. package/dist/OpenC3TimePicker-6pE8gGCO.cjs +2 -0
  210. package/dist/OpenC3TimePicker-6pE8gGCO.cjs.map +1 -0
  211. package/dist/OpenC3TimePicker-D-_qqySI.js +219 -0
  212. package/dist/OpenC3TimePicker-D-_qqySI.js.map +1 -0
  213. package/dist/{Openc3Screen-DcIIUO63.js → Openc3Screen-DYJHNotN.js} +730 -510
  214. package/dist/Openc3Screen-DYJHNotN.js.map +1 -0
  215. package/dist/Openc3Screen-Pu1ktpS8.cjs +6 -0
  216. package/dist/Openc3Screen-Pu1ktpS8.cjs.map +1 -0
  217. package/dist/OutputDialog-BwEWPQW9.cjs +2 -0
  218. package/dist/OutputDialog-BwEWPQW9.cjs.map +1 -0
  219. package/dist/{OutputDialog-CNH74LpJ.js → OutputDialog-x4QZFAWe.js} +24 -17
  220. package/dist/OutputDialog-x4QZFAWe.js.map +1 -0
  221. package/dist/{PackagesTab-PEPT4CQu.cjs → PackagesTab-CHwfaqdP.cjs} +2 -2
  222. package/dist/{PackagesTab-PEPT4CQu.cjs.map → PackagesTab-CHwfaqdP.cjs.map} +1 -1
  223. package/dist/{PackagesTab-BE6W7Aru.js → PackagesTab-rzc4hqOb.js} +4 -4
  224. package/dist/{PackagesTab-BE6W7Aru.js.map → PackagesTab-rzc4hqOb.js.map} +1 -1
  225. package/dist/{PluginsTab-DXf9zX0h.cjs → PluginsTab-C7gLbRQn.cjs} +2 -2
  226. package/dist/PluginsTab-C7gLbRQn.cjs.map +1 -0
  227. package/dist/{PluginsTab-B_Pf2A9c.js → PluginsTab-Dff_0j26.js} +8 -8
  228. package/dist/PluginsTab-Dff_0j26.js.map +1 -0
  229. package/dist/{ProgressbarWidget-B5WN658S.js → ProgressbarWidget-DQ80NANH.js} +7 -5
  230. package/dist/ProgressbarWidget-DQ80NANH.js.map +1 -0
  231. package/dist/ProgressbarWidget-cQAtX_Q7.cjs +2 -0
  232. package/dist/ProgressbarWidget-cQAtX_Q7.cjs.map +1 -0
  233. package/dist/RadiobuttonWidget-DFrUZRaV.cjs +2 -0
  234. package/dist/{RadiobuttonWidget-DkG9GtAy.cjs.map → RadiobuttonWidget-DFrUZRaV.cjs.map} +1 -1
  235. package/dist/{RadiobuttonWidget-B_3nys46.js → RadiobuttonWidget-LD18M4IQ.js} +11 -10
  236. package/dist/{RadiobuttonWidget-B_3nys46.js.map → RadiobuttonWidget-LD18M4IQ.js.map} +1 -1
  237. package/dist/{RadiogroupWidget-BiMIL9li.js → RadiogroupWidget-D_pt2MPz.js} +6 -6
  238. package/dist/{RadiogroupWidget-BiMIL9li.js.map → RadiogroupWidget-D_pt2MPz.js.map} +1 -1
  239. package/dist/{RadiogroupWidget-BnUjXU28.cjs → RadiogroupWidget-ljP05k3g.cjs} +2 -2
  240. package/dist/{RadiogroupWidget-BnUjXU28.cjs.map → RadiogroupWidget-ljP05k3g.cjs.map} +1 -1
  241. package/dist/RangebarWidget-BsLWXvTo.cjs +2 -0
  242. package/dist/RangebarWidget-BsLWXvTo.cjs.map +1 -0
  243. package/dist/{RangebarWidget-Dn0GASdi.js → RangebarWidget-DhaWpHjB.js} +12 -11
  244. package/dist/RangebarWidget-DhaWpHjB.js.map +1 -0
  245. package/dist/{RedisTab-BsKrL4fD.js → RedisTab-C3yjh0JX.js} +3 -3
  246. package/dist/{RedisTab-BsKrL4fD.js.map → RedisTab-C3yjh0JX.js.map} +1 -1
  247. package/dist/{RedisTab-C1yaDRSt.cjs → RedisTab-DEKMLop2.cjs} +2 -2
  248. package/dist/{RedisTab-C1yaDRSt.cjs.map → RedisTab-DEKMLop2.cjs.map} +1 -1
  249. package/dist/{RollupWidget-b62qcG5K.js → RollupWidget-CMU1-HwL.js} +15 -13
  250. package/dist/RollupWidget-CMU1-HwL.js.map +1 -0
  251. package/dist/RollupWidget-sXTyo7zH.cjs +2 -0
  252. package/dist/RollupWidget-sXTyo7zH.cjs.map +1 -0
  253. package/dist/{RoutersTab-EHz4wDCn.js → RoutersTab-DaWde6np.js} +4 -4
  254. package/dist/{RoutersTab-EHz4wDCn.js.map → RoutersTab-DaWde6np.js.map} +1 -1
  255. package/dist/{RoutersTab-8wGbiPCk.cjs → RoutersTab-IKuEHQeO.cjs} +2 -2
  256. package/dist/{RoutersTab-8wGbiPCk.cjs.map → RoutersTab-IKuEHQeO.cjs.map} +1 -1
  257. package/dist/ScriptChooser-BmyV6QQD.cjs +2 -0
  258. package/dist/ScriptChooser-BmyV6QQD.cjs.map +1 -0
  259. package/dist/{ScriptChooser-DMPY3m8a.js → ScriptChooser-DCjI5aeZ.js} +118 -93
  260. package/dist/ScriptChooser-DCjI5aeZ.js.map +1 -0
  261. package/dist/ScrollwindowWidget-BcLF_bhy.cjs +2 -0
  262. package/dist/ScrollwindowWidget-BcLF_bhy.cjs.map +1 -0
  263. package/dist/ScrollwindowWidget-D7Ln-QMq.js +69 -0
  264. package/dist/ScrollwindowWidget-D7Ln-QMq.js.map +1 -0
  265. package/dist/{SecretsTab-DSMFodJM.cjs → SecretsTab-BM9HIjT_.cjs} +2 -2
  266. package/dist/{SecretsTab-DSMFodJM.cjs.map → SecretsTab-BM9HIjT_.cjs.map} +1 -1
  267. package/dist/{SecretsTab-Cbt_r-1I.js → SecretsTab-Dhal1RCq.js} +3 -3
  268. package/dist/{SecretsTab-Cbt_r-1I.js.map → SecretsTab-Dhal1RCq.js.map} +1 -1
  269. package/dist/SettingsTab-BrSkK_Fs.cjs +3 -0
  270. package/dist/SettingsTab-BrSkK_Fs.cjs.map +1 -0
  271. package/dist/{SettingsTab-L5xbCAW_.js → SettingsTab-Dtj_AlEW.js} +319 -202
  272. package/dist/SettingsTab-Dtj_AlEW.js.map +1 -0
  273. package/dist/SignalWidget-DHwveppA.cjs +2 -0
  274. package/dist/SignalWidget-DHwveppA.cjs.map +1 -0
  275. package/dist/{SignalWidget-CLi6qask.js → SignalWidget-PreTg4Mt.js} +5 -3
  276. package/dist/SignalWidget-PreTg4Mt.js.map +1 -0
  277. package/dist/SimpleTextDialog-Bdw3jul4.cjs +2 -0
  278. package/dist/SimpleTextDialog-Bdw3jul4.cjs.map +1 -0
  279. package/dist/{SimpleTextDialog-8vDPDt6X.js → SimpleTextDialog-DDIm5Znf.js} +26 -19
  280. package/dist/SimpleTextDialog-DDIm5Znf.js.map +1 -0
  281. package/dist/{SpacerWidget-BCA3gdap.js → SpacerWidget-Chy1NO28.js} +3 -3
  282. package/dist/{SpacerWidget-BCA3gdap.js.map → SpacerWidget-Chy1NO28.js.map} +1 -1
  283. package/dist/{SpacerWidget-BJpqoaeP.cjs → SpacerWidget-Cj-j_MsG.cjs} +2 -2
  284. package/dist/{SpacerWidget-BJpqoaeP.cjs.map → SpacerWidget-Cj-j_MsG.cjs.map} +1 -1
  285. package/dist/SparklineWidget-BE1LieLF.cjs +2 -0
  286. package/dist/SparklineWidget-BE1LieLF.cjs.map +1 -0
  287. package/dist/{SparklineWidget-D8mb4zLt.js → SparklineWidget-Bb-gCNNt.js} +11 -11
  288. package/dist/SparklineWidget-Bb-gCNNt.js.map +1 -0
  289. package/dist/TabbookWidget-FNbiZpjn.cjs +2 -0
  290. package/dist/TabbookWidget-FNbiZpjn.cjs.map +1 -0
  291. package/dist/TabbookWidget-a-LsBhBE.js +96 -0
  292. package/dist/TabbookWidget-a-LsBhBE.js.map +1 -0
  293. package/dist/TargetPacketItemChooser-BPRByyfB.cjs +2 -0
  294. package/dist/TargetPacketItemChooser-BPRByyfB.cjs.map +1 -0
  295. package/dist/{TargetPacketItemChooser-DGcXvdTX.js → TargetPacketItemChooser-DDqBQTWC.js} +232 -183
  296. package/dist/TargetPacketItemChooser-DDqBQTWC.js.map +1 -0
  297. package/dist/{TargetsTab-c-qMsGHh.js → TargetsTab-C7Pn5-19.js} +4 -4
  298. package/dist/{TargetsTab-c-qMsGHh.js.map → TargetsTab-C7Pn5-19.js.map} +1 -1
  299. package/dist/{TargetsTab-C4tQ1auc.cjs → TargetsTab-dndajwC_.cjs} +2 -2
  300. package/dist/{TargetsTab-C4tQ1auc.cjs.map → TargetsTab-dndajwC_.cjs.map} +1 -1
  301. package/dist/{TextBoxDialog-Xs-gitZd.js → TextBoxDialog-CJHrE2Sh.js} +29 -22
  302. package/dist/TextBoxDialog-CJHrE2Sh.js.map +1 -0
  303. package/dist/TextBoxDialog-DzCvdsJj.cjs +2 -0
  304. package/dist/TextBoxDialog-DzCvdsJj.cjs.map +1 -0
  305. package/dist/{TextboxWidget-CR05wO-t.js → TextboxWidget-DIHEOldN.js} +19 -19
  306. package/dist/{TextboxWidget-CR05wO-t.js.map → TextboxWidget-DIHEOldN.js.map} +1 -1
  307. package/dist/{TextboxWidget-BcRfHcF6.cjs → TextboxWidget-DYTNipbi.cjs} +2 -2
  308. package/dist/{TextboxWidget-BcRfHcF6.cjs.map → TextboxWidget-DYTNipbi.cjs.map} +1 -1
  309. package/dist/{TextfieldWidget-Ct1hZr2M.cjs → TextfieldWidget-BE-HpIKs.cjs} +2 -2
  310. package/dist/{TextfieldWidget-Ct1hZr2M.cjs.map → TextfieldWidget-BE-HpIKs.cjs.map} +1 -1
  311. package/dist/{TextfieldWidget-Be_Pz2bF.js → TextfieldWidget-CIBo7Dau.js} +5 -5
  312. package/dist/{TextfieldWidget-Be_Pz2bF.js.map → TextfieldWidget-CIBo7Dau.js.map} +1 -1
  313. package/dist/TimeWidget-CLuOYfPP.js +43 -0
  314. package/dist/TimeWidget-CLuOYfPP.js.map +1 -0
  315. package/dist/TimeWidget-RYL7zDoC.cjs +2 -0
  316. package/dist/TimeWidget-RYL7zDoC.cjs.map +1 -0
  317. package/dist/{TitleWidget-BcmxUDzM.js → TitleWidget-BTHKLAsb.js} +3 -3
  318. package/dist/{TitleWidget-BcmxUDzM.js.map → TitleWidget-BTHKLAsb.js.map} +1 -1
  319. package/dist/{TitleWidget-C1qzja9l.cjs → TitleWidget-DVWOhZqJ.cjs} +2 -2
  320. package/dist/{TitleWidget-C1qzja9l.cjs.map → TitleWidget-DVWOhZqJ.cjs.map} +1 -1
  321. package/dist/{ToolsTab-CbY2K86w.cjs → ToolsTab-D4LFT4tV.cjs} +2 -2
  322. package/dist/{ToolsTab-CbY2K86w.cjs.map → ToolsTab-D4LFT4tV.cjs.map} +1 -1
  323. package/dist/{ToolsTab-Buklih4C.js → ToolsTab-D5yhjVM0.js} +4 -4
  324. package/dist/{ToolsTab-Buklih4C.js.map → ToolsTab-D5yhjVM0.js.map} +1 -1
  325. package/dist/{TopBar-HxaiWynT.cjs → TopBar-DUdrFsMv.cjs} +2 -2
  326. package/dist/{TopBar-HxaiWynT.cjs.map → TopBar-DUdrFsMv.cjs.map} +1 -1
  327. package/dist/{TopBar-D4C9DJcu.js → TopBar-DzxJ69Tt.js} +3 -3
  328. package/dist/{TopBar-D4C9DJcu.js.map → TopBar-DzxJ69Tt.js.map} +1 -1
  329. package/dist/{UpgradeToEnterpriseDialog-D0AGxldj.js → UpgradeToEnterpriseDialog-Bf6rEOgp.js} +16 -13
  330. package/dist/UpgradeToEnterpriseDialog-Bf6rEOgp.js.map +1 -0
  331. package/dist/UpgradeToEnterpriseDialog-CujyHt2o.cjs +2 -0
  332. package/dist/UpgradeToEnterpriseDialog-CujyHt2o.cjs.map +1 -0
  333. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs} +108 -108
  334. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs.map} +1 -1
  335. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js} +5473 -5451
  336. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js.map} +1 -1
  337. package/dist/{VWidget-CBmUpKSV.js → VWidget-BcwkHuIT.js} +3 -3
  338. package/dist/{VWidget-CBmUpKSV.js.map → VWidget-BcwkHuIT.js.map} +1 -1
  339. package/dist/{VWidget-DhGLFGS2.cjs → VWidget-CbdjSkP3.cjs} +2 -2
  340. package/dist/{VWidget-DhGLFGS2.cjs.map → VWidget-CbdjSkP3.cjs.map} +1 -1
  341. package/dist/ValueWidget-BubIamVx.js +138 -0
  342. package/dist/ValueWidget-BubIamVx.js.map +1 -0
  343. package/dist/ValueWidget-CgAl2Av2.cjs +2 -0
  344. package/dist/ValueWidget-CgAl2Av2.cjs.map +1 -0
  345. package/dist/{ValuelimitsbarWidget-BdY02gqc.js → ValuelimitsbarWidget-DKTrV1RT.js} +11 -11
  346. package/dist/{ValuelimitsbarWidget-BdY02gqc.js.map → ValuelimitsbarWidget-DKTrV1RT.js.map} +1 -1
  347. package/dist/{ValuelimitsbarWidget-KsFz7ipK.cjs → ValuelimitsbarWidget-Dn_sS0zt.cjs} +2 -2
  348. package/dist/{ValuelimitsbarWidget-KsFz7ipK.cjs.map → ValuelimitsbarWidget-Dn_sS0zt.cjs.map} +1 -1
  349. package/dist/ValuelimitscolumnWidget-CGhifOZI.cjs +2 -0
  350. package/dist/ValuelimitscolumnWidget-CGhifOZI.cjs.map +1 -0
  351. package/dist/{ValuelimitscolumnWidget-CuJ6rqtC.js → ValuelimitscolumnWidget-D8JIK4Zi.js} +11 -11
  352. package/dist/ValuelimitscolumnWidget-D8JIK4Zi.js.map +1 -0
  353. package/dist/{ValuerangebarWidget-C5rolGDi.js → ValuerangebarWidget-D8hVKp0l.js} +6 -6
  354. package/dist/{ValuerangebarWidget-C5rolGDi.js.map → ValuerangebarWidget-D8hVKp0l.js.map} +1 -1
  355. package/dist/{ValuerangebarWidget-CDJeamPr.cjs → ValuerangebarWidget-DPtR-Dla.cjs} +2 -2
  356. package/dist/{ValuerangebarWidget-CDJeamPr.cjs.map → ValuerangebarWidget-DPtR-Dla.cjs.map} +1 -1
  357. package/dist/VerticalWidget-DMp3DXGa.js +68 -0
  358. package/dist/VerticalWidget-DMp3DXGa.js.map +1 -0
  359. package/dist/VerticalWidget-DScGTfwX.cjs +2 -0
  360. package/dist/VerticalWidget-DScGTfwX.cjs.map +1 -0
  361. package/dist/{VerticalboxWidget-D-3H1PYU.cjs → VerticalboxWidget-CIJ1c7WU.cjs} +2 -2
  362. package/dist/{VerticalboxWidget-D-3H1PYU.cjs.map → VerticalboxWidget-CIJ1c7WU.cjs.map} +1 -1
  363. package/dist/{VerticalboxWidget-CzDgveBl.js → VerticalboxWidget-CVf1d_3_.js} +6 -6
  364. package/dist/{VerticalboxWidget-CzDgveBl.js.map → VerticalboxWidget-CVf1d_3_.js.map} +1 -1
  365. package/dist/Widget-Btu2EoLT.cjs +2 -0
  366. package/dist/Widget-Btu2EoLT.cjs.map +1 -0
  367. package/dist/{Widget-VCl8Ts8s.js → Widget-D4rzBHnr.js} +27 -19
  368. package/dist/Widget-D4rzBHnr.js.map +1 -0
  369. package/dist/components.cjs +3 -3
  370. package/dist/components.cjs.map +1 -1
  371. package/dist/components.js +421 -248
  372. package/dist/components.js.map +1 -1
  373. package/dist/icons.cjs +1 -1
  374. package/dist/icons.cjs.map +1 -1
  375. package/dist/icons.js +6 -4
  376. package/dist/icons.js.map +1 -1
  377. package/dist/plugins.cjs +2 -2
  378. package/dist/plugins.cjs.map +1 -1
  379. package/dist/plugins.js +23 -17
  380. package/dist/plugins.js.map +1 -1
  381. package/dist/{settings-sg_XHXQ-.cjs → settings-B9vbjzwV.cjs} +2 -2
  382. package/dist/{settings-sg_XHXQ-.cjs.map → settings-B9vbjzwV.cjs.map} +1 -1
  383. package/dist/{settings-DlX9yvJJ.js → settings-Ctcx_wMT.js} +2 -2
  384. package/dist/{settings-DlX9yvJJ.js.map → settings-Ctcx_wMT.js.map} +1 -1
  385. package/dist/tools/admin.cjs +4 -5
  386. package/dist/tools/admin.cjs.map +1 -1
  387. package/dist/tools/admin.js +954 -833
  388. package/dist/tools/admin.js.map +1 -1
  389. package/dist/tools/base.cjs +1 -1
  390. package/dist/tools/base.cjs.map +1 -1
  391. package/dist/tools/base.js +38 -37
  392. package/dist/tools/base.js.map +1 -1
  393. package/dist/tools/calendar.cjs +1 -1
  394. package/dist/tools/calendar.js +1 -1
  395. package/dist/tools/scriptrunner.cjs +8 -8
  396. package/dist/tools/scriptrunner.cjs.map +1 -1
  397. package/dist/tools/scriptrunner.js +1121 -1134
  398. package/dist/tools/scriptrunner.js.map +1 -1
  399. package/dist/useContainerHeight-BAw05dIa.js.map +1 -1
  400. package/dist/useContainerHeight-BEd4f2Lr.cjs.map +1 -1
  401. package/dist/vue-common.css +1 -1
  402. package/dist/widgets.cjs +1 -1
  403. package/dist/widgets.js +118 -116
  404. package/dist/widgets.js.map +1 -1
  405. package/package.json +6 -6
  406. package/dist/BarColumn-BZSUr33b.cjs +0 -2
  407. package/dist/BarColumn-BZSUr33b.cjs.map +0 -1
  408. package/dist/BarColumn-XWs-3Cwb.js.map +0 -1
  409. package/dist/ButtonWidget-BBMDS_YF.cjs.map +0 -1
  410. package/dist/ButtonWidget-BaSvtElA.js.map +0 -1
  411. package/dist/CanvasimageWidget-Dk15uRRu.cjs +0 -2
  412. package/dist/CanvasimageWidget-Dk15uRRu.cjs.map +0 -1
  413. package/dist/CanvasimageWidget-YP1pCtvb.js.map +0 -1
  414. package/dist/CanvasimagevalueWidget-BQHjJCuq.cjs +0 -2
  415. package/dist/CanvasimagevalueWidget-BQHjJCuq.cjs.map +0 -1
  416. package/dist/CanvasimagevalueWidget-CjVHb2uj.js.map +0 -1
  417. package/dist/CanvaslabelvalueWidget-BYmsu9r_.cjs +0 -2
  418. package/dist/CanvaslabelvalueWidget-BYmsu9r_.cjs.map +0 -1
  419. package/dist/CanvaslabelvalueWidget-Dyo_ogHn.js.map +0 -1
  420. package/dist/CanvaslinevalueWidget-BOZyJuLE.js.map +0 -1
  421. package/dist/CanvaslinevalueWidget-DM5c-ciY.cjs +0 -2
  422. package/dist/CanvaslinevalueWidget-DM5c-ciY.cjs.map +0 -1
  423. package/dist/CheckbuttonWidget-BSvTWD3x.cjs +0 -2
  424. package/dist/ComboboxWidget-B_KAnIVB.cjs +0 -2
  425. package/dist/CriticalCmdDialog-BtzhxuZi.js.map +0 -1
  426. package/dist/CriticalCmdDialog-CeohXoAG.cjs +0 -2
  427. package/dist/CriticalCmdDialog-CeohXoAG.cjs.map +0 -1
  428. package/dist/CustomIcon-eie3rPKh.cjs +0 -2
  429. package/dist/DetailsDialog-Bc_VEG95.cjs +0 -2
  430. package/dist/DetailsDialog-Bc_VEG95.cjs.map +0 -1
  431. package/dist/DetailsDialog-Bq7SS7bc.js.map +0 -1
  432. package/dist/DynamicWidget-BNfJRfR5.cjs +0 -2
  433. package/dist/DynamicWidget-BNfJRfR5.cjs.map +0 -1
  434. package/dist/DynamicWidget-DHL7pbgW.js.map +0 -1
  435. package/dist/EventListDialog-Dycx70tY.cjs +0 -2
  436. package/dist/EventListDialog-Dycx70tY.cjs.map +0 -1
  437. package/dist/EventListDialog-jdNF3szO.js.map +0 -1
  438. package/dist/Graph-B7KPo9Ul.js.map +0 -1
  439. package/dist/Graph-C9FS6KR3.cjs +0 -2
  440. package/dist/Graph-C9FS6KR3.cjs.map +0 -1
  441. package/dist/HorizontalWidget-CN6goWHY.cjs +0 -2
  442. package/dist/HorizontalWidget-CN6goWHY.cjs.map +0 -1
  443. package/dist/HorizontalWidget-DbEQYjFC.js +0 -41
  444. package/dist/HorizontalWidget-DbEQYjFC.js.map +0 -1
  445. package/dist/ImageviewerWidget-6d6Kl3W_.js.map +0 -1
  446. package/dist/ImageviewerWidget-CULuNsiD.cjs +0 -2
  447. package/dist/ImageviewerWidget-CULuNsiD.cjs.map +0 -1
  448. package/dist/LabelsparklineWidget-Cbug97Ne.cjs +0 -2
  449. package/dist/LabelsparklineWidget-Cbug97Ne.cjs.map +0 -1
  450. package/dist/LabelsparklineWidget-CdZ_pM2B.js.map +0 -1
  451. package/dist/LabelvaluelimitsbarWidget-DTcYbEQS.js.map +0 -1
  452. package/dist/LabelvaluelimitsbarWidget-DbO_Q5ex.cjs.map +0 -1
  453. package/dist/LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs +0 -2
  454. package/dist/LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs.map +0 -1
  455. package/dist/LabelvaluelimitscolumnWidget-D0ltQ9Ta.js.map +0 -1
  456. package/dist/Layout-DDewLzbI.cjs +0 -2
  457. package/dist/Layout-DDewLzbI.cjs.map +0 -1
  458. package/dist/Layout-DW5yNlp7.js +0 -14
  459. package/dist/Layout-DW5yNlp7.js.map +0 -1
  460. package/dist/LedWidget-Cif7vC7q.cjs +0 -2
  461. package/dist/LedWidget-Cif7vC7q.cjs.map +0 -1
  462. package/dist/LedWidget-DUvJ2v8k.js.map +0 -1
  463. package/dist/LimitsbarWidget-BehZv0-k.js +0 -72
  464. package/dist/LimitsbarWidget-BehZv0-k.js.map +0 -1
  465. package/dist/LimitsbarWidget-BodNPbuH.cjs +0 -2
  466. package/dist/LimitsbarWidget-BodNPbuH.cjs.map +0 -1
  467. package/dist/LimitscolorWidget-DPhymKgB.cjs +0 -2
  468. package/dist/LimitscolorWidget-DPhymKgB.cjs.map +0 -1
  469. package/dist/LimitscolorWidget-FXT0ZPPH.js.map +0 -1
  470. package/dist/MatrixbycolumnsWidget-BLkwvpMk.cjs +0 -2
  471. package/dist/MatrixbycolumnsWidget-BLkwvpMk.cjs.map +0 -1
  472. package/dist/MatrixbycolumnsWidget-CCF7rCkV.js +0 -56
  473. package/dist/MatrixbycolumnsWidget-CCF7rCkV.js.map +0 -1
  474. package/dist/MicroservicesTab-rxOATXLO.js +0 -219
  475. package/dist/MicroservicesTab-rxOATXLO.js.map +0 -1
  476. package/dist/MicroservicesTab-uesXuuM4.cjs +0 -2
  477. package/dist/MicroservicesTab-uesXuuM4.cjs.map +0 -1
  478. package/dist/Openc3Screen-CzD9BB0M.cjs +0 -6
  479. package/dist/Openc3Screen-CzD9BB0M.cjs.map +0 -1
  480. package/dist/Openc3Screen-DcIIUO63.js.map +0 -1
  481. package/dist/OutputDialog-CNH74LpJ.js.map +0 -1
  482. package/dist/OutputDialog-QIabyvK1.cjs +0 -2
  483. package/dist/OutputDialog-QIabyvK1.cjs.map +0 -1
  484. package/dist/PluginsTab-B_Pf2A9c.js.map +0 -1
  485. package/dist/PluginsTab-DXf9zX0h.cjs.map +0 -1
  486. package/dist/ProgressbarWidget-B5WN658S.js.map +0 -1
  487. package/dist/ProgressbarWidget-D2NHSJny.cjs +0 -2
  488. package/dist/ProgressbarWidget-D2NHSJny.cjs.map +0 -1
  489. package/dist/RadiobuttonWidget-DkG9GtAy.cjs +0 -2
  490. package/dist/RangebarWidget-CJgtAk5z.cjs +0 -2
  491. package/dist/RangebarWidget-CJgtAk5z.cjs.map +0 -1
  492. package/dist/RangebarWidget-Dn0GASdi.js.map +0 -1
  493. package/dist/RollupWidget-B2pGGoET.cjs +0 -2
  494. package/dist/RollupWidget-B2pGGoET.cjs.map +0 -1
  495. package/dist/RollupWidget-b62qcG5K.js.map +0 -1
  496. package/dist/ScriptChooser-CtV7dDJS.cjs +0 -2
  497. package/dist/ScriptChooser-CtV7dDJS.cjs.map +0 -1
  498. package/dist/ScriptChooser-DMPY3m8a.js.map +0 -1
  499. package/dist/ScrollwindowWidget-ByJRy528.cjs +0 -2
  500. package/dist/ScrollwindowWidget-ByJRy528.cjs.map +0 -1
  501. package/dist/ScrollwindowWidget-Dn29gs-U.js +0 -45
  502. package/dist/ScrollwindowWidget-Dn29gs-U.js.map +0 -1
  503. package/dist/SettingsTab-8Zeg3G0C.cjs +0 -3
  504. package/dist/SettingsTab-8Zeg3G0C.cjs.map +0 -1
  505. package/dist/SettingsTab-L5xbCAW_.js.map +0 -1
  506. package/dist/SignalWidget-CEmQymzQ.cjs +0 -2
  507. package/dist/SignalWidget-CEmQymzQ.cjs.map +0 -1
  508. package/dist/SignalWidget-CLi6qask.js.map +0 -1
  509. package/dist/SimpleTextDialog-8vDPDt6X.js.map +0 -1
  510. package/dist/SimpleTextDialog-CJ8pLBGz.cjs +0 -2
  511. package/dist/SimpleTextDialog-CJ8pLBGz.cjs.map +0 -1
  512. package/dist/SparklineWidget-CIkMm4O-.cjs +0 -2
  513. package/dist/SparklineWidget-CIkMm4O-.cjs.map +0 -1
  514. package/dist/SparklineWidget-D8mb4zLt.js.map +0 -1
  515. package/dist/TabbookWidget-Bkt4g02d.js +0 -66
  516. package/dist/TabbookWidget-Bkt4g02d.js.map +0 -1
  517. package/dist/TabbookWidget-DqcScWwW.cjs +0 -2
  518. package/dist/TabbookWidget-DqcScWwW.cjs.map +0 -1
  519. package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs +0 -2
  520. package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs.map +0 -1
  521. package/dist/TargetPacketItemChooser-DGcXvdTX.js.map +0 -1
  522. package/dist/TextBoxDialog-DXG7H7kQ.cjs +0 -2
  523. package/dist/TextBoxDialog-DXG7H7kQ.cjs.map +0 -1
  524. package/dist/TextBoxDialog-Xs-gitZd.js.map +0 -1
  525. package/dist/TimeWidget-3M7CQ893.cjs +0 -2
  526. package/dist/TimeWidget-3M7CQ893.cjs.map +0 -1
  527. package/dist/TimeWidget-Dy8zpkC6.js +0 -40
  528. package/dist/TimeWidget-Dy8zpkC6.js.map +0 -1
  529. package/dist/UpgradeToEnterpriseDialog-D0AGxldj.js.map +0 -1
  530. package/dist/UpgradeToEnterpriseDialog-D8BkzmVD.cjs +0 -2
  531. package/dist/UpgradeToEnterpriseDialog-D8BkzmVD.cjs.map +0 -1
  532. package/dist/ValueWidget-BxWrHkYY.js +0 -118
  533. package/dist/ValueWidget-BxWrHkYY.js.map +0 -1
  534. package/dist/ValueWidget-yuZ8tPzG.cjs +0 -2
  535. package/dist/ValueWidget-yuZ8tPzG.cjs.map +0 -1
  536. package/dist/ValuelimitscolumnWidget-B0HGnyS5.cjs +0 -2
  537. package/dist/ValuelimitscolumnWidget-B0HGnyS5.cjs.map +0 -1
  538. package/dist/ValuelimitscolumnWidget-CuJ6rqtC.js.map +0 -1
  539. package/dist/VerticalWidget-DsnEzKZ2.js +0 -40
  540. package/dist/VerticalWidget-DsnEzKZ2.js.map +0 -1
  541. package/dist/VerticalWidget-wuRCrd7Q.cjs +0 -2
  542. package/dist/VerticalWidget-wuRCrd7Q.cjs.map +0 -1
  543. package/dist/Widget-CKianvfR.cjs +0 -2
  544. package/dist/Widget-CKianvfR.cjs.map +0 -1
  545. package/dist/Widget-VCl8Ts8s.js.map +0 -1
@@ -1,8 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ve=require("../index-DlWUR7vt.cjs"),n=require("vue"),F=require("../CustomIcon-eie3rPKh.cjs"),k=require("../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs");require("single-spa");const $=require("../TopBar-HxaiWynT.cjs"),Te={props:{modelValue:Boolean},data(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},listData:function(){return this.response?this.type==="github"?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){const t=/\w+.gem/;return this.response.tree.filter(e=>t.exec(e.path)).map(e=>({name:e.path,url:`https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`}))},getResponse:function(){this.disableSearch=!0,Ve.axios.get(this.url).then(t=>{this.response=t.data}),setTimeout(()=>{this.disableSearch=!1},1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){const e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},ke={class:"pa-3"},Ne={class:"px-2"},Se={key:0,class:"mt-4"},$e={key:1,class:"mt-4"};function De(t,e,o,r,i,l){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-row"),d=n.resolveComponent("v-icon"),u=n.resolveComponent("v-btn"),h=n.resolveComponent("v-col"),g=n.resolveComponent("v-list-item-title"),p=n.resolveComponent("v-progress-circular"),_=n.resolveComponent("v-list-item"),L=n.resolveComponent("v-divider"),C=n.resolveComponent("v-card-text"),f=n.resolveComponent("v-card"),x=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(x,{modelValue:l.show,"onUpdate:modelValue":e[0]||(e[0]=m=>l.show=m),width:"600"},{default:n.withCtx(()=>[n.createVNode(f,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[1]||(e[1]=n.createElementVNode("span",null," Download Gems ",-1)),n.createVNode(s)]),_:1}),n.createVNode(C,null,{default:n.withCtx(()=>[n.createElementVNode("div",ke,[n.createVNode(c,{class:"my-2"},{default:n.withCtx(()=>[...e[2]||(e[2]=[n.createTextVNode(" Select a download option ",-1)])]),_:1}),n.createVNode(c,null,{default:n.withCtx(()=>[n.createVNode(h,null,{default:n.withCtx(()=>[n.createElementVNode("div",Ne,[n.createVNode(u,{block:"","data-test":"searchGithub",color:"primary",disabled:i.disableSearch,onClick:l.searchGithub},{default:n.withCtx(()=>[e[4]||(e[4]=n.createTextVNode(" Github ",-1)),n.createVNode(d,{end:"",theme:"dark"},{default:n.withCtx(()=>[...e[3]||(e[3]=[n.createTextVNode(" mdi-github ",-1)])]),_:1})]),_:1},8,["disabled","onClick"])])]),_:1})]),_:1}),n.createVNode(c,{class:"mt-5"},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Community Gems ",-1)])]),_:1}),l.listData.length<1?(n.openBlock(),n.createElementBlock("div",Se,[n.createVNode(c,{class:"mx-2"},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createElementVNode("span",null," I’m sorry, Dave. No gems available.... ",-1)])]),_:1})])):(n.openBlock(),n.createElementBlock("div",$e,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.listData,(m,v)=>(n.openBlock(),n.createElementBlock("div",{key:v},[n.createVNode(_,null,{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m.name),1)]),_:2},1024),n.createVNode(_,{icon:""},{default:n.withCtx(()=>[i.activeDownload?(n.openBlock(),n.createBlock(p,{key:0,indeterminate:"",color:"primary"})):(n.openBlock(),n.createBlock(u,{key:1,icon:"mdi-cloud-download",variant:"text",disabled:i.activeDownload,onClick:y=>l.downloadGem(m)},null,8,["disabled","onClick"]))]),_:2},1024)]),_:2},1024),v<l.listData.length-1?(n.openBlock(),n.createBlock(L,{key:v})):n.createCommentVNode("",!0)]))),128))]))])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Ie=F._export_sfc(Te,[["render",De]]),Me={props:{modelValue:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data(){return{modifiedTargets:[],deleteModified:!1}},methods:{cancel(){this.show=!1,this.$emit("cancel")}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},created(){for(const t of this.targets)k.fi.get(`/openc3-api/targets/${t.name}/modified_files`).then(e=>{e.data.length!==0&&this.modifiedTargets.push({name:t.name,files:e.data})})}},Be={class:"file-list-container"};function Re(t,e,o,r,i,l){const s=n.resolveComponent("v-spacer"),a=n.resolveComponent("v-toolbar"),c=n.resolveComponent("v-list-item-title"),d=n.resolveComponent("v-list-item-subtitle"),u=n.resolveComponent("v-list-item"),h=n.resolveComponent("v-checkbox"),g=n.resolveComponent("v-card-text"),p=n.resolveComponent("v-btn"),_=n.resolveComponent("v-card-actions"),L=n.resolveComponent("v-card"),C=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(C,{modelValue:l.show,"onUpdate:modelValue":e[2]||(e[2]=f=>l.show=f),persistent:"",width:"600",onKeydown:n.withKeys(l.cancel,["esc"])},{default:n.withCtx(()=>[n.createVNode(L,null,{default:n.withCtx(()=>[n.createVNode(a,{height:"24"},{default:n.withCtx(()=>[n.createVNode(s),e[3]||(e[3]=n.createElementVNode("span",null," Modified Plugin ",-1)),n.createVNode(s)]),_:1}),n.createVNode(g,{class:"pa-3 card-container"},{default:n.withCtx(()=>[n.createElementVNode("div",null," Plugin "+n.toDisplayString(o.plugin)+" was modified. Would you like to delete the existing modified files? ",1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.modifiedTargets,(f,x)=>(n.openBlock(),n.createBlock(u,{key:x,lines:"two"},{default:n.withCtx(()=>[n.createVNode(c,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(f.name),1)]),_:2},1024),n.createElementVNode("div",Be,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.files,(m,v)=>(n.openBlock(),n.createBlock(d,{key:v},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m),1)]),_:2},1024))),128))])]),_:2},1024))),128)),n.createVNode(h,{modelValue:i.deleteModified,"onUpdate:modelValue":e[0]||(e[0]=f=>i.deleteModified=f),label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},null,8,["modelValue"])]),_:1}),n.createVNode(_,{class:"px-2"},{default:n.withCtx(()=>[n.createVNode(s),n.createVNode(p,{variant:"outlined","data-test":"modified-plugin-cancel",onClick:l.cancel},{default:n.withCtx(()=>[...e[4]||(e[4]=[n.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),n.createVNode(p,{variant:"flat","data-test":"modified-plugin-submit",onClick:e[1]||(e[1]=()=>{l.show=!1,t.$emit("submit",i.deleteModified)})},{default:n.withCtx(()=>[...e[5]||(e[5]=[n.createTextVNode(" Confirm ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const Oe=F._export_sfc(Me,[["render",Re],["__scopeId","data-v-13bbb65b"]]),_e=[{displayName:"Plugins",name:"PluginsTab",path:"plugins",component:()=>Promise.resolve().then(()=>require("../PluginsTab-DXf9zX0h.cjs"))},{displayName:"Targets",name:"TargetsTab",path:"targets",component:()=>Promise.resolve().then(()=>require("../TargetsTab-C4tQ1auc.cjs"))},{displayName:"Interfaces",name:"InterfacesTab",path:"interfaces",component:()=>Promise.resolve().then(()=>require("../InterfacesTab-0pmK3KNu.cjs"))},{displayName:"Routers",name:"RoutersTab",path:"routers",component:()=>Promise.resolve().then(()=>require("../RoutersTab-8wGbiPCk.cjs"))},{displayName:"Microservices",name:"MicroservicesTab",path:"microservices",component:()=>Promise.resolve().then(()=>require("../MicroservicesTab-uesXuuM4.cjs"))},{displayName:"Packages",name:"PackagesTab",path:"packages",component:()=>Promise.resolve().then(()=>require("../PackagesTab-PEPT4CQu.cjs"))},{displayName:"Tools",name:"ToolsTab",path:"tools",component:()=>Promise.resolve().then(()=>require("../ToolsTab-CbY2K86w.cjs"))},{displayName:"Redis",name:"RedisTab",path:"redis",component:()=>Promise.resolve().then(()=>require("../RedisTab-C1yaDRSt.cjs"))},{displayName:"Secrets",name:"SecretsTab",path:"secrets",component:()=>Promise.resolve().then(()=>require("../SecretsTab-DSMFodJM.cjs"))},{displayName:"Settings",name:"SettingsTab",path:"settings",component:()=>Promise.resolve().then(()=>require("../SettingsTab-8Zeg3G0C.cjs"))}],Ae={components:{TopBar:$.TopBar},data(){return{title:"Administrator Console",curTab:null}},computed:{tabs:function(){return _e.map(t=>({displayName:t.displayName,path:{name:t.name}}))}}};function Fe(t,e,o,r,i,l){const s=n.resolveComponent("top-bar"),a=n.resolveComponent("v-tab"),c=n.resolveComponent("v-tabs"),d=n.resolveComponent("router-view"),u=n.resolveComponent("v-card");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(s,{title:i.title},null,8,["title"]),n.createVNode(u,null,{default:n.withCtx(()=>[n.createVNode(c,{modelValue:i.curTab,"onUpdate:modelValue":e[0]||(e[0]=h=>i.curTab=h),"fixed-tabs":""},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.tabs,(h,g)=>(n.openBlock(),n.createBlock(a,{key:g,to:h.path},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.displayName),1)]),_:2},1032,["to"]))),128))]),_:1},8,["modelValue"]),n.createVNode(d)]),_:1})])}const Pe=F._export_sfc(Ae,[["render",Fe]]);function G(t){const[e,o]=t;return[e,o]}function K(t,e){let o=t,r=e;const i=o.length,l=r.length;if(i===0||l===0)return 0;i>l?o=o.substring(i-l):i<l&&(r=r.substring(0,i));const s=Math.min(i,l);if(o===r)return s;let a=0,c=1;for(let d=0;d!==-1;){const u=o.substring(s-c);if(d=r.indexOf(u),d===-1)return a;c+=d,(d===0||o.substring(s-c)===r.substring(0,c))&&(a=c,c++)}return a}function U(t,e){if(!t||!e||t[0]!==e[0])return 0;let o=0,r=Math.min(t.length,e.length),i=r,l=0;for(;o<i;)t.substring(l,i)===e.substring(l,i)?(o=i,l=o):r=i,i=Math.floor((r-o)/2+o);return i}function P(t,e){if(!t||!e||t[t.length-1]!==e[e.length-1])return 0;let o=0,r=Math.min(t.length,e.length),i=r,l=0;for(;o<i;)t.substring(t.length-i,t.length-l)===e.substring(e.length-i,e.length-l)?(o=i,l=o):r=i,i=Math.floor((r-o)/2+o);return i}function He(t){const e=t.charCodeAt(0);return e>=55296&&e<=56319}function qe(t){const e=t.charCodeAt(0);return e>=56320&&e<=57343}function Ge(t,e,o){const r=t.length,i=e.length,l=Math.ceil((r+i)/2),s=l,a=2*l,c=new Array(a),d=new Array(a);for(let C=0;C<a;C++)c[C]=-1,d[C]=-1;c[s+1]=0,d[s+1]=0;const u=r-i,h=u%2!==0;let g=0,p=0,_=0,L=0;for(let C=0;C<l&&!(Date.now()>o);C++){for(let f=-C+g;f<=C-p;f+=2){const x=s+f;let m;f===-C||f!==C&&c[x-1]<c[x+1]?m=c[x+1]:m=c[x-1]+1;let v=m-f;for(;m<r&&v<i&&t.charAt(m)===e.charAt(v);)m++,v++;if(c[x]=m,m>r)p+=2;else if(v>i)g+=2;else if(h){const y=s+u-f;if(y>=0&&y<a&&d[y]!==-1){const N=r-d[y];if(m>=N)return z(t,e,m,v,o)}}}for(let f=-C+_;f<=C-L;f+=2){const x=s+f;let m;f===-C||f!==C&&d[x-1]<d[x+1]?m=d[x+1]:m=d[x-1]+1;let v=m-f;for(;m<r&&v<i&&t.charAt(r-m-1)===e.charAt(i-v-1);)m++,v++;if(d[x]=m,m>r)L+=2;else if(v>i)_+=2;else if(!h){const y=s+u-f;if(y>=0&&y<a&&c[y]!==-1){const N=c[y],H=s+N-y;if(m=r-m,N>=m)return z(t,e,N,H,o)}}}}return[[V,t],[E,e]]}function z(t,e,o,r,i){const l=t.substring(0,o),s=e.substring(0,r),a=t.substring(o),c=e.substring(r),d=S(l,s,{checkLines:!1,deadline:i}),u=S(a,c,{checkLines:!1,deadline:i});return d.concat(u)}function Ue(t,e,o=1){if(o<=0)return null;const r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||i.length*2<r.length)return null;const l=W(r,i,Math.ceil(r.length/4)),s=W(r,i,Math.ceil(r.length/2));let a;if(l&&s)a=l[4].length>s[4].length?l:s;else{if(!l&&!s)return null;s?l||(a=s):a=l}if(!a)throw new Error("Unable to find a half match.");let c,d,u,h;t.length>e.length?(c=a[0],d=a[1],u=a[2],h=a[3]):(u=a[0],h=a[1],c=a[2],d=a[3]);const g=a[4];return[c,d,u,h,g]}function W(t,e,o){const r=t.slice(o,o+Math.floor(t.length/4));let i=-1,l="",s,a,c,d;for(;(i=e.indexOf(r,i+1))!==-1;){const u=U(t.slice(o),e.slice(i)),h=P(t.slice(0,o),e.slice(0,i));l.length<h+u&&(l=e.slice(i-h,i)+e.slice(i,i+u),s=t.slice(0,o-h),a=t.slice(o+u),c=e.slice(0,i-h),d=e.slice(i+u))}return l.length*2>=t.length?[s||"",a||"",c||"",d||"",l||""]:null}function je(t,e){for(let o=0;o<t.length;o++){const r=t[o][1],i=[];for(let l=0;l<r.length;l++)i[l]=e[r.charCodeAt(l)];t[o][1]=i.join("")}}function Ye(t,e){const o=[],r={};o[0]="";function i(c){let d="",u=0,h=-1,g=o.length;for(;h<c.length-1;){h=c.indexOf(`
2
- `,u),h===-1&&(h=c.length-1);let p=c.slice(u,h+1);(r.hasOwnProperty?r.hasOwnProperty(p):r[p]!==void 0)?d+=String.fromCharCode(r[p]):(g===l&&(p=c.slice(u),h=c.length),d+=String.fromCharCode(g),r[p]=g,o[g++]=p),u=h+1}return d}let l=4e4;const s=i(t);l=65535;const a=i(e);return{chars1:s,chars2:a,lineArray:o}}function Ke(t,e,o){let r=t,i=e;const l=Ye(r,i);r=l.chars1,i=l.chars2;const s=l.lineArray;let a=S(r,i,{checkLines:!1,deadline:o.deadline});je(a,s),a=be(a),a.push([w,""]);let c=0,d=0,u=0,h="",g="";for(;c<a.length;){switch(a[c][0]){case E:u++,g+=a[c][1];break;case V:d++,h+=a[c][1];break;case w:if(d>=1&&u>=1){a.splice(c-d-u,d+u),c=c-d-u;const p=S(h,g,{checkLines:!1,deadline:o.deadline});for(let _=p.length-1;_>=0;_--)a.splice(c,0,p[_]);c+=p.length}u=0,d=0,h="",g="";break;default:throw new Error("Unknown diff operation.")}c++}return a.pop(),a}function ze(t,e,o){let r;if(!t)return[[E,e]];if(!e)return[[V,t]];const i=t.length>e.length?t:e,l=t.length>e.length?e:t,s=i.indexOf(l);if(s!==-1)return r=[[E,i.substring(0,s)],[w,l],[E,i.substring(s+l.length)]],t.length>e.length&&(r[0][0]=V,r[2][0]=V),r;if(l.length===1)return[[V,t],[E,e]];const a=Ue(t,e);if(a){const c=a[0],d=a[1],u=a[2],h=a[3],g=a[4],p=S(c,u,o),_=S(d,h,o);return p.concat([[w,g]],_)}return o.checkLines&&t.length>100&&e.length>100?Ke(t,e,o):Ge(t,e,o.deadline)}var We=Object.defineProperty,Q=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,J=(t,e,o)=>e in t?We(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Xe=(t,e)=>{for(var o in e||(e={}))Qe.call(e,o)&&J(t,o,e[o]);if(Q)for(var o of Q(e))Je.call(e,o)&&J(t,o,e[o]);return t};const V=-1,E=1,w=0;function Ze(t,e,o){if(t===null||e===null)throw new Error("Null input. (diff)");const r=S(t,e,tt(o||{}));return ot(r),r}function S(t,e,o){let r=t,i=e;if(r===i)return r?[[w,r]]:[];let l=U(r,i);const s=r.substring(0,l);r=r.substring(l),i=i.substring(l),l=P(r,i);const a=r.substring(r.length-l);r=r.substring(0,r.length-l),i=i.substring(0,i.length-l);let c=ze(r,i,o);return s&&c.unshift([w,s]),a&&c.push([w,a]),c=j(c),c}function et(t){let e=1;return typeof t<"u"&&(e=t<=0?Number.MAX_VALUE:t),Date.now()+e*1e3}function tt(t){return Xe({checkLines:!0,deadline:et(t.timeout||1)},t)}function M(t,e,o){return o===1?t+e:e+t}function B(t,e){return e===1?[t.substring(0,t.length-1),t[t.length-1]]:[t.substring(1),t[0]]}function nt(t,e,o,r){return r===1?t[e][1][t[e][1].length-1]===t[o][1][t[o][1].length-1]:t[e][1][0]===t[o][1][0]}function X(t,e,o){const r=o===1?-1:1;let i=null,l=null,s=e+o;for(;s>=0&&s<t.length&&(i===null||l===null);s+=o){const[d,u]=t[s];if(u.length!==0){if(d===E){i===null&&(i=s);continue}else if(d===V){l===null&&(l=s);continue}else if(d===w){if(i===null&&l===null){const[h,g]=B(t[e][1],o);t[e][1]=h,t[s][1]=M(t[s][1],g,r);return}break}}}if(i!==null&&l!==null&&nt(t,i,l,o)){const[d,u]=B(t[i][1],r),[h]=B(t[l][1],r);t[i][1]=d,t[l][1]=h,t[e][1]=M(t[e][1],u,o);return}const[a,c]=B(t[e][1],o);t[e][1]=a,i===null?(t.splice(s,0,[E,c]),l!==null&&l>=s&&l++):t[i][1]=M(t[i][1],c,r),l===null?t.splice(s,0,[V,c]):t[l][1]=M(t[l][1],c,r)}function ot(t){for(let e=0;e<t.length;e++){const[o,r]=t[e];if(r.length===0)continue;const i=r[0],l=r[r.length-1];He(l)&&o===w&&X(t,e,1),qe(i)&&o===w&&X(t,e,-1)}for(let e=0;e<t.length;e++)t[e][1].length===0&&t.splice(e,1)}function be(t){let e=t.map(h=>G(h)),o=!1;const r=[];let i=0,l=null,s=0,a=0,c=0,d=0,u=0;for(;s<e.length;)e[s][0]===w?(r[i++]=s,a=d,c=u,d=0,u=0,l=e[s][1]):(e[s][0]===E?d+=e[s][1].length:u+=e[s][1].length,l&&l.length<=Math.max(a,c)&&l.length<=Math.max(d,u)&&(e.splice(r[i-1],0,[V,l]),e[r[i-1]+1][0]=E,i--,i--,s=i>0?r[i-1]:-1,a=0,c=0,d=0,u=0,l=null,o=!0)),s++;for(o&&(e=j(e)),e=lt(e),s=1;s<e.length;){if(e[s-1][0]===V&&e[s][0]===E){const h=e[s-1][1],g=e[s][1],p=K(h,g),_=K(g,h);p>=_?(p>=h.length/2||p>=g.length/2)&&(e.splice(s,0,[w,g.substring(0,p)]),e[s-1][1]=h.substring(0,h.length-p),e[s+1][1]=g.substring(p),s++):(_>=h.length/2||_>=g.length/2)&&(e.splice(s,0,[w,h.substring(0,_)]),e[s-1][0]=E,e[s-1][1]=g.substring(0,g.length-_),e[s+1][0]=V,e[s+1][1]=h.substring(_),s++),s++}s++}return e}const Z=/[^a-zA-Z0-9]/,ee=/\s/,te=/[\r\n]/,it=/\n\r?\n$/,rt=/^\r?\n\r?\n/;function lt(t){const e=t.map(i=>G(i));function o(i,l){if(!i||!l)return 6;const s=i.charAt(i.length-1),a=l.charAt(0),c=s.match(Z),d=a.match(Z),u=c&&s.match(ee),h=d&&a.match(ee),g=u&&s.match(te),p=h&&a.match(te),_=g&&i.match(it),L=p&&l.match(rt);return _||L?5:g||p?4:c&&!u&&h?3:u||h?2:c||d?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===w&&e[r+1][0]===w){let i=e[r-1][1],l=e[r][1],s=e[r+1][1];const a=P(i,l);if(a){const g=l.substring(l.length-a);i=i.substring(0,i.length-a),l=g+l.substring(0,l.length-a),s=g+s}let c=i,d=l,u=s,h=o(i,l)+o(l,s);for(;l.charAt(0)===s.charAt(0);){i+=l.charAt(0),l=l.substring(1)+s.charAt(0),s=s.substring(1);const g=o(i,l)+o(l,s);g>=h&&(h=g,c=i,d=l,u=s)}e[r-1][1]!==c&&(c?e[r-1][1]=c:(e.splice(r-1,1),r--),e[r][1]=d,u?e[r+1][1]=u:(e.splice(r+1,1),r--))}r++}return e}function j(t){let e=t.map(d=>G(d));e.push([w,""]);let o=0,r=0,i=0,l="",s="",a;for(;o<e.length;)switch(e[o][0]){case E:i++,s+=e[o][1],o++;break;case V:r++,l+=e[o][1],o++;break;case w:r+i>1?(r!==0&&i!==0&&(a=U(s,l),a!==0&&(o-r-i>0&&e[o-r-i-1][0]===w?e[o-r-i-1][1]+=s.substring(0,a):(e.splice(0,0,[w,s.substring(0,a)]),o++),s=s.substring(a),l=l.substring(a)),a=P(s,l),a!==0&&(e[o][1]=s.substring(s.length-a)+e[o][1],s=s.substring(0,s.length-a),l=l.substring(0,l.length-a))),o-=r+i,e.splice(o,r+i),l.length&&(e.splice(o,0,[V,l]),o++),s.length&&(e.splice(o,0,[E,s]),o++),o++):o!==0&&e[o-1][0]===w?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,i=0,r=0,l="",s="";break;default:throw new Error("Unknown diff operation")}e[e.length-1][1]===""&&e.pop();let c=!1;for(o=1;o<e.length-1;)e[o-1][0]===w&&e[o+1][0]===w&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)===e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),c=!0):e[o][1].substring(0,e[o+1][1].length)===e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),c=!0)),o++;return c&&(e=j(e)),e}function R(t){return t&&typeof t=="object"&&!Array.isArray(t)&&t!==null}function Y(t,e){return R(t)&&R(e)&&Object.keys(e).forEach(o=>{o==="__proto__"||o==="constructor"||(R(e[o])?((!t[o]||!R(t[o]))&&(t[o]=e[o]),Y(t[o],e[o])):Object.assign(t,{[o]:e[o]}))}),t}function ne(t,e,o=!1){let r=null,i=!0;return(...l)=>{const s=o&&i,a=()=>{t.apply(this,l),r=null};s&&(i=!1,a()),r||(r=setTimeout(a,e))}}function st(t,e){let o;return(...r)=>{const i=this;clearTimeout(o),o=setTimeout(()=>t.apply(i,r),e)}}function oe(t=""){return t.replace(/\r\n/g,`
3
- `)}function ie(t,e,o,r){const i=o-t,l=t+i/2;return`M ${t} ${e} C ${l},${e} ${l},${r} ${o},${r}`}var b={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"};function re(t,e){let{mode:o}=t.options;return e===b.EDITOR_LEFT&&t.options.left.mode!==null&&(o=t.options.left.mode),e===b.EDITOR_RIGHT&&t.options.right.mode!==null&&(o=t.options.right.mode),o}function le(t,e){let{theme:o}=t.options;return e===b.EDITOR_LEFT&&t.options.left.theme!==null&&(o=t.options.left.theme),e===b.EDITOR_RIGHT&&t.options.right.theme!==null&&(o=t.options.right.theme),o}function ve(t,e){return t.ace.getSession().doc.getLine(e)}function at(t){return document.getElementById(t.options.left.id).offsetHeight}function se(t){const e=document.createElement("div"),o={class:t.className,style:`top:${t.topOffset}px`,title:t.tooltip,"data-diff-index":t.diffIndex};for(const r in o)e.setAttribute(r,o[r]);return e.innerHTML=t.arrowContent,e}function q(t,e){const o=Math.random().toString(36).substr(2,5),r=`js-${e}-${o}`,i=t.querySelector(`.${e}`);if(i)return i.id=i.id||r,i.id;const l=document.createElement("div");return t.appendChild(l),l.className=e,l.id=r,l.id}function ae(t,e,o,r){const i=t==="document"?document:document.querySelector(t);i.addEventListener(e,l=>{const s=i.querySelectorAll(o),{target:a}=l;for(let c=0,d=s.length;c<d;c+=1){let u=a;const h=s[c];for(;u&&u!==i;)u===h&&r.call(h,l),u=u.parentNode}})}let O;function ct(t){if(t.Range)return t.Range;const e=t.acequire||t.require;return e?e("ace/range"):!1}function A(t={}){if(!(this instanceof A))return new A(t);const e=this,o=()=>window?window.ace:void 0;e.options=Y({ace:o(),mode:null,theme:null,element:null,diffGranularity:b.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},t);const{ace:r}=e.options;if(!r){const i="No ace editor found nor supplied - `options.ace` or `window.ace` is missing";return console.error(i),new Error(i)}if(O=ct(r),!O){const i="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";return console.error(i),new Error(i)}if(e.options.element===null){const i="You need to specify an element for Ace-diff - `options.element` is missing";return console.error(i),new Error(i)}if(e.options.element instanceof HTMLElement?e.el=e.options.element:e.el=document.body.querySelector(e.options.element),!e.el){const i=`Can't find the specified element ${e.options.element}`;return console.error(i),new Error(i)}e.options.left.id=q(e.el,"acediff__left"),e.options.classes.gutterID=q(e.el,"acediff__gutter"),e.options.right.id=q(e.el,"acediff__right"),e.el.innerHTML=`<div class="acediff__wrap">${e.el.innerHTML}</div>`,e.editors={left:{ace:r.edit(e.options.left.id),markers:[],lineLengths:[]},right:{ace:r.edit(e.options.right.id),markers:[],lineLengths:[]},editorHeight:null},e.editors.left.ace.getSession().setMode(re(e,b.EDITOR_LEFT)),e.editors.right.ace.getSession().setMode(re(e,b.EDITOR_RIGHT)),e.editors.left.ace.setReadOnly(!e.options.left.editable),e.editors.right.ace.setReadOnly(!e.options.right.editable),e.editors.left.ace.setTheme(le(e,b.EDITOR_LEFT)),e.editors.right.ace.setTheme(le(e,b.EDITOR_RIGHT)),e.editors.left.ace.setValue(oe(e.options.left.content),-1),e.editors.right.ace.setValue(oe(e.options.right.content),-1),e.editors.editorHeight=at(e),setTimeout(()=>{e.lineHeight=e.editors.left.ace.renderer.lineHeight,dt(e),pt(e),we(e),e.diff()},1)}A.prototype={setOptions(t){Y(this.options,t),this.diff()},getNumDiffs(){return this.diffs.length},getEditors(){return{left:this.editors.left.ace,right:this.editors.right.ace}},diff(){const t=this.editors.left.ace.getSession().getValue(),e=this.editors.right.ace.getSession().getValue(),o=be(Ze(e,t));this.editors.left.lineLengths=de(this.editors.left),this.editors.right.lineLengths=de(this.editors.right);const r=[],i={left:0,right:0};o.forEach(l=>{const s=l[0];let a=l[1];a.length!==0&&(s===b.DIFF_EQUAL?(i.left+=a.length,i.right+=a.length):s===b.DIFF_DELETE?(r.push(ge(this,b.DIFF_DELETE,i.left,i.right,a)),i.right+=a.length):s===b.DIFF_INSERT&&(r.push(ge(this,b.DIFF_INSERT,i.left,i.right,a)),i.left+=a.length))},this),this.diffs=_t(this,r),!(this.diffs.length>this.options.maxDiffs)&&(Ce(this),xe(this))},destroy(){const t=this.editors.left.ace.getValue();this.editors.left.ace.destroy();let e=this.editors.left.ace.container,o=e.cloneNode(!1);o.textContent=t,e.parentNode.replaceChild(o,e);const r=this.editors.right.ace.getValue();this.editors.right.ace.destroy(),e=this.editors.right.ace.container,o=e.cloneNode(!1),o.textContent=r,e.parentNode.replaceChild(o,e);const i=document.getElementById(this.options.classes.gutterID);i&&(i.innerHTML=""),this.removeEventHandlers()}};function dt(t){t.editors.left.ace.getSession().on("changeScrollTop",ne(()=>{he(t)},16)),t.editors.right.ace.getSession().on("changeScrollTop",ne(()=>{he(t)},16));const e=t.diff.bind(t);t.editors.left.ace.on("change",e),t.editors.right.ace.on("change",e),t.options.left.copyLinkEnabled&&ae(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.newCodeConnectorLink}`,r=>{ce(t,r,b.LTR)}),t.options.right.copyLinkEnabled&&ae(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.deletedCodeConnectorLink}`,r=>{ce(t,r,b.RTL)});const o=st(()=>{t.editors.availableHeight=document.getElementById(t.options.left.id).offsetHeight,t.diff()},250);window.addEventListener("resize",o),t.removeEventHandlers=()=>{window.removeEventListener("resize",o)}}function ce(t,e,o){const r=parseInt(e.target.getAttribute("data-diff-index"),10),i=t.diffs[r];let l,s,a,c,d,u;o===b.LTR?(l=t.editors.left,s=t.editors.right,a=i.leftStartLine,c=i.leftEndLine,d=i.rightStartLine,u=i.rightEndLine):(l=t.editors.right,s=t.editors.left,a=i.rightStartLine,c=i.rightEndLine,d=i.leftStartLine,u=i.leftEndLine);let h="";for(let p=a;p<c;p+=1)h+=ve(l,p),p<l.ace.getSession().getLength()-1&&(h+=`
4
- `);const g=s.ace.getSession().getScrollTop();s.ace.getSession().replace(new O(d,0,u,0),h),s.ace.getSession().setScrollTop(parseInt(g,10)),t.diff()}function de(t){const e=t.ace.getSession().doc.getAllLines(),o=[];return e.forEach(r=>{o.push(r.length+1)}),o}function ue(t,e,o,r,i){const l=t.editors[e];r<o&&(r=o);const s=`${i} ${r>o?"lines":"targetOnly"}`;r>o&&(r-=1),l.markers.push(l.ace.session.addMarker(new O(o,0,r,1),s,"fullLine"))}function he(t){Ce(t),xe(t),gt(t)}function Ce(t){t.editors.left.markers.forEach(e=>{t.editors.left.ace.getSession().removeMarker(e)},t),t.editors.right.markers.forEach(e=>{t.editors.right.ace.getSession().removeMarker(e)},t)}function ut(t,e,o,r,i){const l=t.editors.left.ace.getSession().getScrollTop(),s=t.editors.right.ace.getSession().getScrollTop();t.connectorYOffset=1;const a=-1,c=e*t.lineHeight-l+.5,d=t.gutterWidth+1,u=r*t.lineHeight-s+.5,h=-1,g=o*t.lineHeight-l+t.connectorYOffset+.5,p=t.gutterWidth+1,_=i*t.lineHeight-s+t.connectorYOffset+.5,L=ie(a,c,d,u),C=ie(p,_,h,g),f=`L${d},${u} ${p},${_}`,x=`L${h},${g} ${a},${c}`,m=`${L} ${f} ${C} ${x}`,v=document.createElementNS(b.SVG_NS,"path");v.setAttribute("d",m),v.setAttribute("class",t.options.classes.connector),t.gutterSVG.appendChild(v)}function ht(t,e,o){if(e.leftEndLine>e.leftStartLine&&t.options.left.copyLinkEnabled){const r=se({className:t.options.classes.newCodeConnectorLink,topOffset:e.leftStartLine*t.lineHeight,tooltip:"Copy to right",diffIndex:o,arrowContent:t.options.classes.newCodeConnectorLinkContent});t.copyRightContainer.appendChild(r)}if(e.rightEndLine>e.rightStartLine&&t.options.right.copyLinkEnabled){const r=se({className:t.options.classes.deletedCodeConnectorLink,topOffset:e.rightStartLine*t.lineHeight,tooltip:"Copy to left",diffIndex:o,arrowContent:t.options.classes.deletedCodeConnectorLinkContent});t.copyLeftContainer.appendChild(r)}}function gt(t){const e=t.editors.left.ace.getSession().getScrollTop(),o=t.editors.right.ace.getSession().getScrollTop();t.copyRightContainer.style.cssText=`top: ${-e}px`,t.copyLeftContainer.style.cssText=`top: ${-o}px`}function ge(t,e,o,r,i){let l={};if(e===b.DIFF_INSERT){let s=pe(t.editors.left,o,i),a=me(t.editors.right,r),c=D(t.editors.right,a);const d=D(t.editors.left,s.startLine);let u=a,h=s.startLine===s.endLine,g=0;(s.startChar>0||h&&i.length<d)&&c>0&&s.startChar<d&&g++,l={leftStartLine:s.startLine,leftEndLine:s.endLine+1,rightStartLine:u,rightEndLine:u+g}}else{let s=pe(t.editors.right,r,i),a=me(t.editors.left,o),c=D(t.editors.left,a);const d=D(t.editors.right,s.startLine);let u=a,h=s.startLine===s.endLine,g=0;(s.startChar>0||h&&i.length<d)&&c>0&&s.startChar<d&&g++,l={leftStartLine:u,leftEndLine:u+g,rightStartLine:s.startLine,rightEndLine:s.endLine+1}}return l}function pe(t,e,o){const r={startLine:0,startChar:0,endLine:0,endChar:0},i=e+o.length;let l=0,s=!1,a=!1;t.lineLengths.forEach((d,u)=>{l+=d,!s&&e<l&&(r.startLine=u,r.startChar=e-l+d,s=!0),!a&&i<=l&&(r.endLine=u,r.endChar=i-l+d,a=!0)}),r.startChar>0&&D(t,r.startLine)===r.startChar&&(r.startLine++,r.startChar=0),r.endChar===0&&r.endLine--;const c=/\n$/.test(o);return r.startChar>0&&c&&r.endLine++,r}function D(t,e){return ve(t,e).length}function me(t,e){const o=t.ace.getSession().doc.getAllLines();let r=0,i=0;for(let l=0;l<o.length;l+=1)if(i+=o[l].length+1,e<=i){r=l,e===i&&l<o.length-1&&(r+=1);break}return i>=t.ace.getSession().getValue().length&&(r+=1),r}function we(t){t.gutterHeight=document.getElementById(t.options.classes.gutterID).clientHeight,t.gutterWidth=document.getElementById(t.options.classes.gutterID).clientWidth;const e=fe(t,b.EDITOR_LEFT),o=fe(t,b.EDITOR_RIGHT),r=Math.max(e,o,t.gutterHeight);t.gutterSVG=document.createElementNS(b.SVG_NS,"svg"),t.gutterSVG.setAttribute("width",t.gutterWidth),t.gutterSVG.setAttribute("height",r),document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG)}function fe(t,e){return(e===b.EDITOR_LEFT?t.editors.left:t.editors.right).ace.getSession().getLength()*t.lineHeight}function pt(t){t.copyRightContainer=document.createElement("div"),t.copyRightContainer.setAttribute("class",t.options.classes.copyRightContainer),t.copyLeftContainer=document.createElement("div"),t.copyLeftContainer.setAttribute("class",t.options.classes.copyLeftContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer)}function mt(t){document.getElementById(t.options.classes.gutterID).removeChild(t.gutterSVG),we(t)}function ft(t){t.copyLeftContainer.innerHTML="",t.copyRightContainer.innerHTML=""}function _t(t,e){const o=[];function r(l){return t.options.diffGranularity===b.DIFF_GRANULARITY_SPECIFIC?l<1:l<=1}e.forEach((l,s)=>{if(s===0){o.push(l);return}let a=!1;for(let c=0;c<o.length;c+=1)if(r(Math.abs(l.leftStartLine-o[c].leftEndLine))&&r(Math.abs(l.rightStartLine-o[c].rightEndLine))){o[c].leftStartLine=Math.min(l.leftStartLine,o[c].leftStartLine),o[c].rightStartLine=Math.min(l.rightStartLine,o[c].rightStartLine),o[c].leftEndLine=Math.max(l.leftEndLine,o[c].leftEndLine),o[c].rightEndLine=Math.max(l.rightEndLine,o[c].rightEndLine),a=!0;break}a||o.push(l)});const i=[];return o.forEach(l=>{l.leftStartLine===l.leftEndLine&&l.rightStartLine===l.rightEndLine||i.push(l)}),i}function xe(t){mt(t),ft(t),t.diffs.forEach((e,o)=>{t.options.showDiffs&&(ue(t,b.EDITOR_LEFT,e.leftStartLine,e.leftEndLine,t.options.classes.diff),ue(t,b.EDITOR_RIGHT,e.rightStartLine,e.rightEndLine,t.options.classes.diff),t.options.showConnectors&&ut(t,e.leftStartLine,e.leftEndLine,e.rightStartLine,e.rightEndLine),ht(t,e,o))},t)}const bt={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1,default:null},storeId:{type:Number,required:!1,default:null},modelValue:Boolean},emits:["callback","update:modelValue"],data(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,editor:null,differ:null,contextMenu:!1,menuX:0,menuY:0}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),this.existingPluginTxt!==null&&(this.localExistingPluginTxt=this.existingPluginTxt.slice())}}},mounted(){const t=this.buildPluginMode();this.existingPluginTxt===null?(this.editor=k.aceExports.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),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(),$.AceEditorUtils.applyVimModeIfEnabled(this.editor),this.editor.focus()):(this.tab=1,this.differ=new A({element:this.$refs.editor,mode:new t,theme:"ace/theme/twilight",left:{content:this.localExistingPluginTxt,copyLinkEnabled:!1},right:{content:this.localPluginTxt,editable:!1}}),this.differ.getEditors().left.setFontSize(16),this.differ.getEditors().right.setFontSize(16),$.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().left),$.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().right),this.curDiff=-1)},beforeUnmount(){this.editor&&this.editor.destroy(),this.differ&&this.differ.destroy()},methods:{previousDiff(){this.curDiff--,this.curDiff<0&&(this.curDiff=this.differ.diffs.length-1),this.scrollToCurDiff()},nextDiff(){this.curDiff++,this.curDiff>=this.differ.diffs.length&&(this.curDiff=0),this.scrollToCurDiff()},scrollToCurDiff(){if(this.differ.diffs.length===0)return;let t=this.differ.diffs[this.curDiff].leftStartLine,e=this.differ.diffs[this.curDiff].rightStartLine;t>5&&(t-=5),e>5&&(e-=5),this.differ.getEditors().left.scrollToLine(t),this.differ.getEditors().right.scrollToLine(e)},buildPluginMode(){let t=k.aceExports.require("ace/lib/oop"),e=k.aceExports.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,o=["VARIABLE"],r=new RegExp(`(\\b${o.join("\\b|\\b")}\\b)`),i=function(){e.call(this);for(let u in this.$rules)this.$rules[u].unshift({regex:r,token:"support.function"})};t.inherits(i,e);let l=k.aceExports.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,s=k.aceExports.require("ace/mode/behaviour/cstyle").CstyleBehaviour,a=k.aceExports.require("ace/mode/folding/ruby").FoldMode,c=function(){this.HighlightRules=i,this.$outdent=new l,this.$behaviour=new s,this.foldingRules=new a,this.indentKeywords=this.foldingRules.indentKeywords},d=k.aceExports.require("ace/mode/ruby").Mode;return t.inherits(c,d),(function(){this.$id="ace/mode/openc3"}).call(c.prototype),c},submit:function(){this.existingPluginTxt===null?this.emitSubmit(this.editor.getValue().split(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Te=require("../index-DlWUR7vt.cjs"),o=require("vue"),P=require("../CustomIcon-CEc927h0.cjs"),k=require("../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs");require("single-spa");const D=require("../TopBar-DUdrFsMv.cjs"),Ne={props:{modelValue:Boolean},emits:["update:modelValue"],data(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},listData:function(){return this.response?this.type==="github"?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){const t=/\w+.gem/;return this.response.tree.filter(e=>t.exec(e.path)).map(e=>({name:e.path,url:`https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`}))},getResponse:function(){this.disableSearch=!0,Te.axios.get(this.url).then(t=>{this.response=t.data}),setTimeout(()=>{this.disableSearch=!1},1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){const e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},$e={class:"pa-3"},De={class:"px-2"},Ie={key:0,class:"mt-4"},Oe={key:1,class:"mt-4"};function Me(t,e,n,l,r,s){const i=o.resolveComponent("v-spacer"),a=o.resolveComponent("v-toolbar"),c=o.resolveComponent("v-row"),u=o.resolveComponent("v-icon"),d=o.resolveComponent("v-btn"),h=o.resolveComponent("v-col"),g=o.resolveComponent("v-list-item-title"),p=o.resolveComponent("v-progress-circular"),f=o.resolveComponent("v-list-item"),L=o.resolveComponent("v-divider"),C=o.resolveComponent("v-card-text"),_=o.resolveComponent("v-card"),w=o.resolveComponent("v-dialog");return o.openBlock(),o.createBlock(w,{modelValue:s.show,"onUpdate:modelValue":e[0]||(e[0]=m=>s.show=m),width:"600"},{default:o.withCtx(()=>[o.createVNode(_,null,{default:o.withCtx(()=>[o.createVNode(a,{height:"24"},{default:o.withCtx(()=>[o.createVNode(i),e[1]||(e[1]=o.createElementVNode("span",null," Download Gems ",-1)),o.createVNode(i)]),_:1}),o.createVNode(C,null,{default:o.withCtx(()=>[o.createElementVNode("div",$e,[o.createVNode(c,{class:"my-2"},{default:o.withCtx(()=>[...e[2]||(e[2]=[o.createTextVNode(" Select a download option ",-1)])]),_:1}),o.createVNode(c,null,{default:o.withCtx(()=>[o.createVNode(h,null,{default:o.withCtx(()=>[o.createElementVNode("div",De,[o.createVNode(d,{block:"","data-test":"searchGithub",color:"primary",disabled:r.disableSearch,onClick:s.searchGithub},{default:o.withCtx(()=>[e[4]||(e[4]=o.createTextVNode(" Github ",-1)),o.createVNode(u,{end:"",theme:"dark"},{default:o.withCtx(()=>[...e[3]||(e[3]=[o.createTextVNode(" mdi-github ",-1)])]),_:1})]),_:1},8,["disabled","onClick"])])]),_:1})]),_:1}),o.createVNode(c,{class:"mt-5"},{default:o.withCtx(()=>[...e[5]||(e[5]=[o.createTextVNode(" Community Gems ",-1)])]),_:1}),s.listData.length<1?(o.openBlock(),o.createElementBlock("div",Ie,[o.createVNode(c,{class:"mx-2"},{default:o.withCtx(()=>[...e[6]||(e[6]=[o.createElementVNode("span",null," I’m sorry, Dave. No gems available.... ",-1)])]),_:1})])):(o.openBlock(),o.createElementBlock("div",Oe,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.listData,(m,v)=>(o.openBlock(),o.createElementBlock("div",{key:v},[o.createVNode(f,null,{default:o.withCtx(()=>[o.createVNode(g,null,{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(m.name),1)]),_:2},1024),o.createVNode(f,{icon:""},{default:o.withCtx(()=>[r.activeDownload?(o.openBlock(),o.createBlock(p,{key:0,indeterminate:"",color:"primary"})):(o.openBlock(),o.createBlock(d,{key:1,icon:"mdi-cloud-download",variant:"text",disabled:r.activeDownload,onClick:S=>s.downloadGem(m)},null,8,["disabled","onClick"]))]),_:2},1024)]),_:2},1024),v<s.listData.length-1?(o.openBlock(),o.createBlock(L,{key:v})):o.createCommentVNode("",!0)]))),128))]))])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Be=P._export_sfc(Ne,[["render",Me]]),Re={props:{modelValue:Boolean,plugin:{type:String,default:null},targets:{type:Array,default:null},pluginDelete:Boolean},emits:["update:modelValue","submit","cancel"],data(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},created(){for(const t of this.targets)k.fi.get(`/openc3-api/targets/${t.name}/modified_files`).then(e=>{e.data.length!==0&&this.modifiedTargets.push({name:t.name,files:e.data})})},methods:{cancel(){this.show=!1,this.$emit("cancel")}}},Ae={class:"file-list-container"};function Pe(t,e,n,l,r,s){const i=o.resolveComponent("v-spacer"),a=o.resolveComponent("v-toolbar"),c=o.resolveComponent("v-list-item-title"),u=o.resolveComponent("v-list-item-subtitle"),d=o.resolveComponent("v-list-item"),h=o.resolveComponent("v-checkbox"),g=o.resolveComponent("v-card-text"),p=o.resolveComponent("v-btn"),f=o.resolveComponent("v-card-actions"),L=o.resolveComponent("v-card"),C=o.resolveComponent("v-dialog");return o.openBlock(),o.createBlock(C,{modelValue:s.show,"onUpdate:modelValue":e[2]||(e[2]=_=>s.show=_),persistent:"",width:"600",onKeydown:o.withKeys(s.cancel,["esc"])},{default:o.withCtx(()=>[o.createVNode(L,null,{default:o.withCtx(()=>[o.createVNode(a,{height:"24"},{default:o.withCtx(()=>[o.createVNode(i),e[3]||(e[3]=o.createElementVNode("span",null," Modified Plugin ",-1)),o.createVNode(i)]),_:1}),o.createVNode(g,{class:"pa-3 card-container"},{default:o.withCtx(()=>[o.createElementVNode("div",null," Plugin "+o.toDisplayString(n.plugin)+" was modified. Would you like to delete the existing modified files? ",1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.modifiedTargets,(_,w)=>(o.openBlock(),o.createBlock(d,{key:w,lines:"two"},{default:o.withCtx(()=>[o.createVNode(c,null,{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(_.name),1)]),_:2},1024),o.createElementVNode("div",Ae,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(_.files,(m,v)=>(o.openBlock(),o.createBlock(u,{key:v},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(m),1)]),_:2},1024))),128))])]),_:2},1024))),128)),o.createVNode(h,{modelValue:r.deleteModified,"onUpdate:modelValue":e[0]||(e[0]=_=>r.deleteModified=_),label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},null,8,["modelValue"])]),_:1}),o.createVNode(f,{class:"px-2"},{default:o.withCtx(()=>[o.createVNode(i),o.createVNode(p,{variant:"outlined","data-test":"modified-plugin-cancel",onClick:s.cancel},{default:o.withCtx(()=>[...e[4]||(e[4]=[o.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),o.createVNode(p,{variant:"flat","data-test":"modified-plugin-submit",onClick:e[1]||(e[1]=()=>{s.show=!1,t.$emit("submit",r.deleteModified)})},{default:o.withCtx(()=>[...e[5]||(e[5]=[o.createTextVNode(" Confirm ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const Fe=P._export_sfc(Re,[["render",Pe],["__scopeId","data-v-fb16376a"]]),be=[{displayName:"Plugins",name:"PluginsTab",path:"plugins",component:()=>Promise.resolve().then(()=>require("../PluginsTab-C7gLbRQn.cjs"))},{displayName:"Targets",name:"TargetsTab",path:"targets",component:()=>Promise.resolve().then(()=>require("../TargetsTab-dndajwC_.cjs"))},{displayName:"Interfaces",name:"InterfacesTab",path:"interfaces",component:()=>Promise.resolve().then(()=>require("../InterfacesTab-nZwg-ByS.cjs"))},{displayName:"Routers",name:"RoutersTab",path:"routers",component:()=>Promise.resolve().then(()=>require("../RoutersTab-IKuEHQeO.cjs"))},{displayName:"Microservices",name:"MicroservicesTab",path:"microservices",component:()=>Promise.resolve().then(()=>require("../MicroservicesTab-BWFwBSuf.cjs"))},{displayName:"Packages",name:"PackagesTab",path:"packages",component:()=>Promise.resolve().then(()=>require("../PackagesTab-CHwfaqdP.cjs"))},{displayName:"Tools",name:"ToolsTab",path:"tools",component:()=>Promise.resolve().then(()=>require("../ToolsTab-D4LFT4tV.cjs"))},{displayName:"Redis",name:"RedisTab",path:"redis",component:()=>Promise.resolve().then(()=>require("../RedisTab-DEKMLop2.cjs"))},{displayName:"Secrets",name:"SecretsTab",path:"secrets",component:()=>Promise.resolve().then(()=>require("../SecretsTab-BM9HIjT_.cjs"))},{displayName:"Settings",name:"SettingsTab",path:"settings",component:()=>Promise.resolve().then(()=>require("../SettingsTab-BrSkK_Fs.cjs"))}],He={components:{TopBar:D.TopBar},data(){return{title:"Administrator Console",curTab:null}},computed:{tabs:function(){return be.map(t=>({displayName:t.displayName,path:{name:t.name}}))}}};function Ge(t,e,n,l,r,s){const i=o.resolveComponent("top-bar"),a=o.resolveComponent("v-tab"),c=o.resolveComponent("v-tabs"),u=o.resolveComponent("router-view"),d=o.resolveComponent("v-card");return o.openBlock(),o.createElementBlock("div",null,[o.createVNode(i,{title:r.title},null,8,["title"]),o.createVNode(d,null,{default:o.withCtx(()=>[o.createVNode(c,{modelValue:r.curTab,"onUpdate:modelValue":e[0]||(e[0]=h=>r.curTab=h),"fixed-tabs":""},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.tabs,(h,g)=>(o.openBlock(),o.createBlock(a,{key:g,to:h.path},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(h.displayName),1)]),_:2},1032,["to"]))),128))]),_:1},8,["modelValue"]),o.createVNode(u)]),_:1})])}const qe=P._export_sfc(He,[["render",Ge]]);function j(t){const[e,n]=t;return[e,n]}function K(t,e){let n=t,l=e;const r=n.length,s=l.length;if(r===0||s===0)return 0;r>s?n=n.substring(r-s):r<s&&(l=l.substring(0,r));const i=Math.min(r,s);if(n===l)return i;let a=0,c=1;for(let u=0;u!==-1;){const d=n.substring(i-c);if(u=l.indexOf(d),u===-1)return a;c+=u,(u===0||n.substring(i-c)===l.substring(0,c))&&(a=c,c++)}return a}function W(t,e){if(!t||!e||t[0]!==e[0])return 0;let n=0,l=Math.min(t.length,e.length),r=l,s=0;for(;n<r;)t.substring(s,r)===e.substring(s,r)?(n=r,s=n):l=r,r=Math.floor((l-n)/2+n);return r}function F(t,e){if(!t||!e||t[t.length-1]!==e[e.length-1])return 0;let n=0,l=Math.min(t.length,e.length),r=l,s=0;for(;n<r;)t.substring(t.length-r,t.length-s)===e.substring(e.length-r,e.length-s)?(n=r,s=n):l=r,r=Math.floor((l-n)/2+n);return r}function Ue(t){const e=t.charCodeAt(0);return e>=55296&&e<=56319}function je(t){const e=t.charCodeAt(0);return e>=56320&&e<=57343}function We(t,e,n){const l=t.length,r=e.length,s=Math.ceil((l+r)/2),i=s,a=2*s,c=new Array(a),u=new Array(a);for(let C=0;C<a;C++)c[C]=-1,u[C]=-1;c[i+1]=0,u[i+1]=0;const d=l-r,h=d%2!==0;let g=0,p=0,f=0,L=0;for(let C=0;C<s&&!(Date.now()>n);C++){for(let _=-C+g;_<=C-p;_+=2){const w=i+_;let m;_===-C||_!==C&&c[w-1]<c[w+1]?m=c[w+1]:m=c[w-1]+1;let v=m-_;for(;m<l&&v<r&&t.charAt(m)===e.charAt(v);)m++,v++;if(c[w]=m,m>l)p+=2;else if(v>r)g+=2;else if(h){const S=i+d-_;if(S>=0&&S<a&&u[S]!==-1){const T=l-u[S];if(m>=T)return Q(t,e,m,v,n)}}}for(let _=-C+f;_<=C-L;_+=2){const w=i+_;let m;_===-C||_!==C&&u[w-1]<u[w+1]?m=u[w+1]:m=u[w-1]+1;let v=m-_;for(;m<l&&v<r&&t.charAt(l-m-1)===e.charAt(r-v-1);)m++,v++;if(u[w]=m,m>l)L+=2;else if(v>r)f+=2;else if(!h){const S=i+d-_;if(S>=0&&S<a&&c[S]!==-1){const T=c[S],H=i+T-S;if(m=l-m,T>=m)return Q(t,e,T,H,n)}}}}return[[V,t],[y,e]]}function Q(t,e,n,l,r){const s=t.substring(0,n),i=e.substring(0,l),a=t.substring(n),c=e.substring(l),u=N(s,i,{checkLines:!1,deadline:r}),d=N(a,c,{checkLines:!1,deadline:r});return u.concat(d)}function Ye(t,e,n=1){if(n<=0)return null;const l=t.length>e.length?t:e,r=t.length>e.length?e:t;if(l.length<4||r.length*2<l.length)return null;const s=J(l,r,Math.ceil(l.length/4)),i=J(l,r,Math.ceil(l.length/2));let a;if(s&&i)a=s[4].length>i[4].length?s:i;else{if(!s&&!i)return null;i?s||(a=i):a=s}if(!a)throw new Error("Unable to find a half match.");let c,u,d,h;t.length>e.length?(c=a[0],u=a[1],d=a[2],h=a[3]):(d=a[0],h=a[1],c=a[2],u=a[3]);const g=a[4];return[c,u,d,h,g]}function J(t,e,n){const l=t.slice(n,n+Math.floor(t.length/4));let r=-1,s="",i,a,c,u;for(;(r=e.indexOf(l,r+1))!==-1;){const d=W(t.slice(n),e.slice(r)),h=F(t.slice(0,n),e.slice(0,r));s.length<h+d&&(s=e.slice(r-h,r)+e.slice(r,r+d),i=t.slice(0,n-h),a=t.slice(n+d),c=e.slice(0,r-h),u=e.slice(r+d))}return s.length*2>=t.length?[i||"",a||"",c||"",u||"",s||""]:null}function ze(t,e){for(let n=0;n<t.length;n++){const l=t[n][1],r=[];for(let s=0;s<l.length;s++)r[s]=e[l.charCodeAt(s)];t[n][1]=r.join("")}}function Ke(t,e){const n=[],l={};n[0]="";function r(c){let u="",d=0,h=-1,g=n.length;for(;h<c.length-1;){h=c.indexOf(`
2
+ `,d),h===-1&&(h=c.length-1);let p=c.slice(d,h+1);(l.hasOwnProperty?l.hasOwnProperty(p):l[p]!==void 0)?u+=String.fromCharCode(l[p]):(g===s&&(p=c.slice(d),h=c.length),u+=String.fromCharCode(g),l[p]=g,n[g++]=p),d=h+1}return u}let s=4e4;const i=r(t);s=65535;const a=r(e);return{chars1:i,chars2:a,lineArray:n}}function Qe(t,e,n){let l=t,r=e;const s=Ke(l,r);l=s.chars1,r=s.chars2;const i=s.lineArray;let a=N(l,r,{checkLines:!1,deadline:n.deadline});ze(a,i),a=ve(a),a.push([E,""]);let c=0,u=0,d=0,h="",g="";for(;c<a.length;){switch(a[c][0]){case y:d++,g+=a[c][1];break;case V:u++,h+=a[c][1];break;case E:if(u>=1&&d>=1){a.splice(c-u-d,u+d),c=c-u-d;const p=N(h,g,{checkLines:!1,deadline:n.deadline});for(let f=p.length-1;f>=0;f--)a.splice(c,0,p[f]);c+=p.length}d=0,u=0,h="",g="";break;default:throw new Error("Unknown diff operation.")}c++}return a.pop(),a}function Je(t,e,n){let l;if(!t)return[[y,e]];if(!e)return[[V,t]];const r=t.length>e.length?t:e,s=t.length>e.length?e:t,i=r.indexOf(s);if(i!==-1)return l=[[y,r.substring(0,i)],[E,s],[y,r.substring(i+s.length)]],t.length>e.length&&(l[0][0]=V,l[2][0]=V),l;if(s.length===1)return[[V,t],[y,e]];const a=Ye(t,e);if(a){const c=a[0],u=a[1],d=a[2],h=a[3],g=a[4],p=N(c,d,n),f=N(u,h,n);return p.concat([[E,g]],f)}return n.checkLines&&t.length>100&&e.length>100?Qe(t,e,n):We(t,e,n.deadline)}var Xe=Object.defineProperty,X=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Z=(t,e,n)=>e in t?Xe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tt=(t,e)=>{for(var n in e||(e={}))Ze.call(e,n)&&Z(t,n,e[n]);if(X)for(var n of X(e))et.call(e,n)&&Z(t,n,e[n]);return t};const V=-1,y=1,E=0;function nt(t,e,n){if(t===null||e===null)throw new Error("Null input. (diff)");const l=N(t,e,rt(n||{}));return lt(l),l}function N(t,e,n){let l=t,r=e;if(l===r)return l?[[E,l]]:[];let s=W(l,r);const i=l.substring(0,s);l=l.substring(s),r=r.substring(s),s=F(l,r);const a=l.substring(l.length-s);l=l.substring(0,l.length-s),r=r.substring(0,r.length-s);let c=Je(l,r,n);return i&&c.unshift([E,i]),a&&c.push([E,a]),c=Y(c),c}function ot(t){let e=1;return typeof t<"u"&&(e=t<=0?Number.MAX_VALUE:t),Date.now()+e*1e3}function rt(t){return tt({checkLines:!0,deadline:ot(t.timeout||1)},t)}function M(t,e,n){return n===1?t+e:e+t}function B(t,e){return e===1?[t.substring(0,t.length-1),t[t.length-1]]:[t.substring(1),t[0]]}function it(t,e,n,l){return l===1?t[e][1][t[e][1].length-1]===t[n][1][t[n][1].length-1]:t[e][1][0]===t[n][1][0]}function ee(t,e,n){const l=n===1?-1:1;let r=null,s=null,i=e+n;for(;i>=0&&i<t.length&&(r===null||s===null);i+=n){const[u,d]=t[i];if(d.length!==0){if(u===y){r===null&&(r=i);continue}else if(u===V){s===null&&(s=i);continue}else if(u===E){if(r===null&&s===null){const[h,g]=B(t[e][1],n);t[e][1]=h,t[i][1]=M(t[i][1],g,l);return}break}}}if(r!==null&&s!==null&&it(t,r,s,n)){const[u,d]=B(t[r][1],l),[h]=B(t[s][1],l);t[r][1]=u,t[s][1]=h,t[e][1]=M(t[e][1],d,n);return}const[a,c]=B(t[e][1],n);t[e][1]=a,r===null?(t.splice(i,0,[y,c]),s!==null&&s>=i&&s++):t[r][1]=M(t[r][1],c,l),s===null?t.splice(i,0,[V,c]):t[s][1]=M(t[s][1],c,l)}function lt(t){for(let e=0;e<t.length;e++){const[n,l]=t[e];if(l.length===0)continue;const r=l[0],s=l[l.length-1];Ue(s)&&n===E&&ee(t,e,1),je(r)&&n===E&&ee(t,e,-1)}for(let e=0;e<t.length;e++)t[e][1].length===0&&t.splice(e,1)}function ve(t){let e=t.map(h=>j(h)),n=!1;const l=[];let r=0,s=null,i=0,a=0,c=0,u=0,d=0;for(;i<e.length;)e[i][0]===E?(l[r++]=i,a=u,c=d,u=0,d=0,s=e[i][1]):(e[i][0]===y?u+=e[i][1].length:d+=e[i][1].length,s&&s.length<=Math.max(a,c)&&s.length<=Math.max(u,d)&&(e.splice(l[r-1],0,[V,s]),e[l[r-1]+1][0]=y,r--,r--,i=r>0?l[r-1]:-1,a=0,c=0,u=0,d=0,s=null,n=!0)),i++;for(n&&(e=Y(e)),e=ct(e),i=1;i<e.length;){if(e[i-1][0]===V&&e[i][0]===y){const h=e[i-1][1],g=e[i][1],p=K(h,g),f=K(g,h);p>=f?(p>=h.length/2||p>=g.length/2)&&(e.splice(i,0,[E,g.substring(0,p)]),e[i-1][1]=h.substring(0,h.length-p),e[i+1][1]=g.substring(p),i++):(f>=h.length/2||f>=g.length/2)&&(e.splice(i,0,[E,h.substring(0,f)]),e[i-1][0]=y,e[i-1][1]=g.substring(0,g.length-f),e[i+1][0]=V,e[i+1][1]=h.substring(f),i++),i++}i++}return e}const te=/[^a-zA-Z0-9]/,ne=/\s/,oe=/[\r\n]/,st=/\n\r?\n$/,at=/^\r?\n\r?\n/;function ct(t){const e=t.map(r=>j(r));function n(r,s){if(!r||!s)return 6;const i=r.charAt(r.length-1),a=s.charAt(0),c=i.match(te),u=a.match(te),d=c&&i.match(ne),h=u&&a.match(ne),g=d&&i.match(oe),p=h&&a.match(oe),f=g&&r.match(st),L=p&&s.match(at);return f||L?5:g||p?4:c&&!d&&h?3:d||h?2:c||u?1:0}let l=1;for(;l<e.length-1;){if(e[l-1][0]===E&&e[l+1][0]===E){let r=e[l-1][1],s=e[l][1],i=e[l+1][1];const a=F(r,s);if(a){const g=s.substring(s.length-a);r=r.substring(0,r.length-a),s=g+s.substring(0,s.length-a),i=g+i}let c=r,u=s,d=i,h=n(r,s)+n(s,i);for(;s.charAt(0)===i.charAt(0);){r+=s.charAt(0),s=s.substring(1)+i.charAt(0),i=i.substring(1);const g=n(r,s)+n(s,i);g>=h&&(h=g,c=r,u=s,d=i)}e[l-1][1]!==c&&(c?e[l-1][1]=c:(e.splice(l-1,1),l--),e[l][1]=u,d?e[l+1][1]=d:(e.splice(l+1,1),l--))}l++}return e}function Y(t){let e=t.map(u=>j(u));e.push([E,""]);let n=0,l=0,r=0,s="",i="",a;for(;n<e.length;)switch(e[n][0]){case y:r++,i+=e[n][1],n++;break;case V:l++,s+=e[n][1],n++;break;case E:l+r>1?(l!==0&&r!==0&&(a=W(i,s),a!==0&&(n-l-r>0&&e[n-l-r-1][0]===E?e[n-l-r-1][1]+=i.substring(0,a):(e.splice(0,0,[E,i.substring(0,a)]),n++),i=i.substring(a),s=s.substring(a)),a=F(i,s),a!==0&&(e[n][1]=i.substring(i.length-a)+e[n][1],i=i.substring(0,i.length-a),s=s.substring(0,s.length-a))),n-=l+r,e.splice(n,l+r),s.length&&(e.splice(n,0,[V,s]),n++),i.length&&(e.splice(n,0,[y,i]),n++),n++):n!==0&&e[n-1][0]===E?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,r=0,l=0,s="",i="";break;default:throw new Error("Unknown diff operation")}e[e.length-1][1]===""&&e.pop();let c=!1;for(n=1;n<e.length-1;)e[n-1][0]===E&&e[n+1][0]===E&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)===e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),c=!0):e[n][1].substring(0,e[n+1][1].length)===e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),c=!0)),n++;return c&&(e=Y(e)),e}function R(t){return t&&typeof t=="object"&&!Array.isArray(t)&&t!==null}function z(t,e){return R(t)&&R(e)&&Object.keys(e).forEach(n=>{n==="__proto__"||n==="constructor"||(R(e[n])?((!t[n]||!R(t[n]))&&(t[n]=e[n]),t[n]!=e[n]&&z(t[n],e[n])):Object.assign(t,{[n]:e[n]}))}),t}function re(t,e,n=!1){let l=null,r=!0;return(...s)=>{const i=n&&r,a=()=>{t.apply(this,s),l=null};i&&(r=!1,a()),l||(l=setTimeout(a,e))}}function ut(t,e){let n;return(...l)=>{const r=this;clearTimeout(n),n=setTimeout(()=>t.apply(r,l),e)}}function ie(t=""){return t.replace(/\r\n/g,`
3
+ `)}function le(t,e,n,l){const r=n-t,s=t+r/2;return`M ${t} ${e} C ${s},${e} ${s},${l} ${n},${l}`}var b={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"};function se(t,e){let{mode:n}=t.options;return e===b.EDITOR_LEFT&&t.options.left.mode!==null&&(n=t.options.left.mode),e===b.EDITOR_RIGHT&&t.options.right.mode!==null&&(n=t.options.right.mode),n}function ae(t,e){let{theme:n}=t.options;return e===b.EDITOR_LEFT&&t.options.left.theme!==null&&(n=t.options.left.theme),e===b.EDITOR_RIGHT&&t.options.right.theme!==null&&(n=t.options.right.theme),n}function dt(t,e){return t.ace.getSession().doc.getLine(e)}function ht(t){return document.getElementById(t.options.left.id).offsetHeight}function ce(t){const e=document.createElement("div"),n={class:t.className,style:`top:${t.topOffset}px`,title:t.tooltip,"data-diff-index":t.diffIndex};for(const l in n)e.setAttribute(l,n[l]);return e.innerHTML=t.arrowContent,e}function q(t,e){const n=Math.random().toString(36).substr(2,5),l=`js-${e}-${n}`,r=t.querySelector(`.${e}`);if(r)return r.id=r.id||l,r.id;const s=document.createElement("div");return t.appendChild(s),s.className=e,s.id=l,s.id}function ue(t,e,n,l){const r=t==="document"?document:document.querySelector(t);r.addEventListener(e,s=>{const i=r.querySelectorAll(n),{target:a}=s;for(let c=0,u=i.length;c<u;c+=1){let d=a;const h=i[c];for(;d&&d!==r;)d===h&&l.call(h,s),d=d.parentNode}})}let O;function gt(t){if(t.Range)return t.Range;const e=t.acequire||t.require;return e?e("ace/range"):!1}function A(t={}){if(!(this instanceof A))return new A(t);const e=this,n=()=>window?window.ace:void 0;e.options=z({ace:n(),mode:null,theme:null,element:null,diffGranularity:b.DIFF_GRANULARITY_BROAD,lockScrolling:!0,showDiffs:!0,showConnectors:!0,charDiffs:!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",diffChar:"acediff__diffChar",diffGutter:"acediff__diffGutter",connector:"acediff__connector",newCodeConnectorLink:"acediff__newCodeConnector",newCodeConnectorLinkContent:"&#8594;",deletedCodeConnectorLink:"acediff__deletedCodeConnector",deletedCodeConnectorLinkContent:"&#8592;",copyRightContainer:"acediff__copy--right",copyLeftContainer:"acediff__copy--left"},connectorYOffset:0,onDiffReady:null},t);const{ace:l}=e.options;if(!l){const r="No ace editor found nor supplied - `options.ace` or `window.ace` is missing";return console.error(r),new Error(r)}if(O=gt(l),!O){const r="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";return console.error(r),new Error(r)}if(e.options.element===null){const r="You need to specify an element for Ace-diff - `options.element` is missing";return console.error(r),new Error(r)}if(e.options.element instanceof HTMLElement?e.el=e.options.element:e.el=document.body.querySelector(e.options.element),!e.el){const r=`Can't find the specified element ${e.options.element}`;return console.error(r),new Error(r)}e.options.left.id=q(e.el,"acediff__left"),e.options.classes.gutterID=q(e.el,"acediff__gutter"),e.options.right.id=q(e.el,"acediff__right"),e.el.innerHTML=`<div class="acediff acediff__wrap">${e.el.innerHTML}</div>`,e.editors={left:{ace:l.edit(e.options.left.id),markers:[],lineLengths:[],diffGutters:[]},right:{ace:l.edit(e.options.right.id),markers:[],lineLengths:[],diffGutters:[]},editorHeight:null},e.editors.left.ace.getSession().setMode(se(e,b.EDITOR_LEFT)),e.editors.right.ace.getSession().setMode(se(e,b.EDITOR_RIGHT)),e.editors.left.ace.setReadOnly(!e.options.left.editable),e.editors.right.ace.setReadOnly(!e.options.right.editable),e.editors.left.ace.setShowFoldWidgets(!1),e.editors.right.ace.setShowFoldWidgets(!1),e.editors.left.ace.setTheme(ae(e,b.EDITOR_LEFT)),e.editors.right.ace.setTheme(ae(e,b.EDITOR_RIGHT)),e.editors.left.ace.setValue(ie(e.options.left.content),-1),e.editors.right.ace.setValue(ie(e.options.right.content),-1),e.editors.editorHeight=ht(e),setTimeout(()=>{e.lineHeight=e.editors.left.ace.renderer.lineHeight,pt(e),Ct(e),Ee(e),e.diff()},1)}A.prototype={setOptions(t){z(this.options,t),this.diff()},getNumDiffs(){return this.diffs.length},getEditors(){return{left:this.editors.left.ace,right:this.editors.right.ace}},diff(){const t=this.editors.left.ace.getSession().getValue(),e=this.editors.right.ace.getSession().getValue(),n=ve(nt(e,t));this.editors.left.lineLengths=he(this.editors.left),this.editors.right.lineLengths=he(this.editors.right);const l=[],r={left:0,right:0};n.forEach(s=>{const i=s[0];let a=s[1];a.length!==0&&(i===b.DIFF_EQUAL?(r.left+=a.length,r.right+=a.length):i===b.DIFF_DELETE?(l.push(me(this,b.DIFF_DELETE,r.left,r.right,a)),r.right+=a.length):i===b.DIFF_INSERT&&(l.push(me(this,b.DIFF_INSERT,r.left,r.right,a)),r.left+=a.length))},this),this.diffs=bt(this,l),!(this.diffs.length>this.options.maxDiffs)&&(U(this),Le(this),typeof this.options.onDiffReady=="function"&&this.options.onDiffReady(this.diffs))},clear(){U(this),we(this),xe(this)},destroy(){const t=this.editors.left.ace.getValue();this.editors.left.ace.destroy();let e=this.editors.left.ace.container,n=e.cloneNode(!1);n.textContent=t,e.parentNode.replaceChild(n,e);const l=this.editors.right.ace.getValue();this.editors.right.ace.destroy(),e=this.editors.right.ace.container,n=e.cloneNode(!1),n.textContent=l,e.parentNode.replaceChild(n,e);const r=document.getElementById(this.options.classes.gutterID);r&&(r.innerHTML=""),this.removeEventHandlers()}};function pt(t){let e=!1;function n(s,i){if(!t.options.lockScrolling||e)return;const a=s.ace.getSession(),c=i.ace.getSession(),u=a.getScrollTop(),h=a.getLength()*t.lineHeight,g=s.ace.renderer.$size.scrollerHeight,p=Math.max(0,h-g),f=p>0?u/p:0,C=c.getLength()*t.lineHeight,_=i.ace.renderer.$size.scrollerHeight,w=Math.max(0,C-_),m=f*w;e=!0,c.setScrollTop(m),e=!1}t.editors.left.ace.getSession().on("changeScrollTop",re(()=>{n(t.editors.left,t.editors.right),pe(t)},16)),t.editors.right.ace.getSession().on("changeScrollTop",re(()=>{n(t.editors.right,t.editors.left),pe(t)},16));const l=t.diff.bind(t);t.editors.left.ace.on("change",l),t.editors.right.ace.on("change",l),t.options.left.copyLinkEnabled&&ue(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.newCodeConnectorLink}`,s=>{de(t,s,b.LTR)}),t.options.right.copyLinkEnabled&&ue(`#${t.options.classes.gutterID}`,"click",`.${t.options.classes.deletedCodeConnectorLink}`,s=>{de(t,s,b.RTL)});const r=ut(()=>{t.editors.availableHeight=document.getElementById(t.options.left.id).offsetHeight,t.diff()},250);window.addEventListener("resize",r),t.removeEventHandlers=()=>{window.removeEventListener("resize",r)}}function de(t,e,n){const l=parseInt(e.target.getAttribute("data-diff-index"),10),r=t.diffs[l];let s,i,a,c,u,d;n===b.LTR?(s=t.editors.left,i=t.editors.right,a=r.leftStartOffset,c=r.leftEndOffset,u=r.rightStartOffset,d=r.rightEndOffset):(s=t.editors.right,i=t.editors.left,a=r.rightStartOffset,c=r.rightEndOffset,u=r.leftStartOffset,d=r.leftEndOffset);const g=s.ace.getValue().substring(a,c),p=i.ace.getSession().doc,f=p.indexToPosition(u),L=p.indexToPosition(d),C=i.ace.getSession().getScrollTop();i.ace.getSession().replace(new O(f.row,f.column,L.row,L.column),g),i.ace.getSession().setScrollTop(parseInt(C,10)),t.diff()}function he(t){const e=t.ace.getSession().doc.getAllLines(),n=[];return e.forEach(l=>{n.push(l.length+1)}),n}function ge(t,e,n,l,r,s){const i=t.editors[e];l<n&&(l=n);const a=`${s} ${l>n?"lines":"targetOnly"} ${e}`;let c=l;if(c>n&&(c-=1),i.markers.push(i.ace.session.addMarker(new O(n,0,c,1),a,"fullLine")),t.options.charDiffs&&r&&r.length>0){const d=`${t.options.classes.diffChar} ${e}`;r.forEach(h=>{i.markers.push(i.ace.session.addMarker(new O(h.lineStart,h.start,h.lineEnd-1,h.end),d,"text"))})}const u=`${t.options.classes.diffGutter} ${e}`;for(let d=n;d<l;d+=1)i.ace.session.addGutterDecoration(d,u),i.diffGutters.push({line:d,className:u})}function pe(t){U(t),Le(t),_t(t)}function U(t){t.editors.left.markers.forEach(e=>{t.editors.left.ace.getSession().removeMarker(e)},t),t.editors.right.markers.forEach(e=>{t.editors.right.ace.getSession().removeMarker(e)},t),t.editors.left.markers=[],t.editors.right.markers=[],t.editors.left.diffGutters.forEach(e=>{t.editors.left.ace.session.removeGutterDecoration(e.line,e.className)},t),t.editors.right.diffGutters.forEach(e=>{t.editors.right.ace.session.removeGutterDecoration(e.line,e.className)},t),t.editors.left.diffGutters=[],t.editors.right.diffGutters=[]}function mt(t,e,n,l,r){const s=t.editors.left.ace.getSession().getScrollTop(),i=t.editors.right.ace.getSession().getScrollTop();t.connectorYOffset=1;const a=-1,c=e*t.lineHeight-s+.5,u=t.gutterWidth+1,d=l*t.lineHeight-i+.5,h=-1,g=n*t.lineHeight-s+t.connectorYOffset+.5,p=t.gutterWidth+1,f=r*t.lineHeight-i+t.connectorYOffset+.5,L=le(a,c,u,d),C=le(p,f,h,g),_=`L${u},${d} ${p},${f}`,w=`L${h},${g} ${a},${c}`,m=`${L} ${_} ${C} ${w}`,v=document.createElementNS(b.SVG_NS,"path");v.setAttribute("d",m),v.setAttribute("class",t.options.classes.connector),t.gutterSVG.appendChild(v)}function ft(t,e,n){if(e.leftEndLine>e.leftStartLine&&t.options.left.copyLinkEnabled){const l=ce({className:t.options.classes.newCodeConnectorLink,topOffset:e.leftStartLine*t.lineHeight,tooltip:"Copy to right",diffIndex:n,arrowContent:t.options.classes.newCodeConnectorLinkContent});t.copyRightContainer.appendChild(l)}if(e.rightEndLine>e.rightStartLine&&t.options.right.copyLinkEnabled){const l=ce({className:t.options.classes.deletedCodeConnectorLink,topOffset:e.rightStartLine*t.lineHeight,tooltip:"Copy to left",diffIndex:n,arrowContent:t.options.classes.deletedCodeConnectorLinkContent});t.copyLeftContainer.appendChild(l)}}function _t(t){const e=t.editors.left.ace.getSession().getScrollTop(),n=t.editors.right.ace.getSession().getScrollTop();t.copyRightContainer.style.cssText=`top: ${-e}px`,t.copyLeftContainer.style.cssText=`top: ${-n}px`}function me(t,e,n,l,r){let s={};if(e===b.DIFF_INSERT){let i=fe(t.editors.left,n,r),a=_e(t.editors.right,l),c=I(t.editors.right,a);const u=I(t.editors.left,i.startLine);let d=a,h=i.startLine===i.endLine,g=0;(i.startChar>0||h&&r.length<u)&&c>0&&i.startChar<u&&g++,s={leftStartLine:i.startLine,leftEndLine:i.endLine+1,rightStartLine:d,rightEndLine:d+g,leftStartOffset:n,leftEndOffset:n+r.length,rightStartOffset:l,rightEndOffset:l,leftStartChar:i.startChar,leftEndChar:i.endChar}}else{let i=fe(t.editors.right,l,r),a=_e(t.editors.left,n),c=I(t.editors.left,a);const u=I(t.editors.right,i.startLine);let d=a,h=i.startLine===i.endLine,g=0;(i.startChar>0||h&&r.length<u)&&c>0&&i.startChar<u&&g++,s={leftStartLine:d,leftEndLine:d+g,rightStartLine:i.startLine,rightEndLine:i.endLine+1,leftStartOffset:n,leftEndOffset:n,rightStartOffset:l,rightEndOffset:l+r.length,rightStartChar:i.startChar,rightEndChar:i.endChar}}return s}function fe(t,e,n){const l={startLine:0,startChar:0,endLine:0,endChar:0},r=e+n.length;let s=0,i=!1,a=!1;t.lineLengths.forEach((u,d)=>{s+=u,!i&&e<s&&(l.startLine=d,l.startChar=e-s+u,i=!0),!a&&r<=s&&(l.endLine=d,l.endChar=r-s+u,a=!0)}),l.startChar>0&&I(t,l.startLine)===l.startChar&&(l.startLine++,l.startChar=0),l.endChar===0&&l.endLine--;const c=/\n$/.test(n);return l.startChar>0&&c&&l.endLine++,l}function I(t,e){return dt(t,e).length}function _e(t,e){const n=t.ace.getSession().doc.getAllLines();let l=0,r=0;for(let s=0;s<n.length;s+=1)if(r+=n[s].length+1,e<=r){l=s,e===r&&s<n.length-1&&(l+=1);break}return r>=t.ace.getSession().getValue().length&&(l+=1),l}function Ee(t){t.gutterHeight=document.getElementById(t.options.classes.gutterID).clientHeight,t.gutterWidth=document.getElementById(t.options.classes.gutterID).clientWidth;const e=Ce(t,b.EDITOR_LEFT),n=Ce(t,b.EDITOR_RIGHT),l=Math.max(e,n,t.gutterHeight);t.gutterSVG=document.createElementNS(b.SVG_NS,"svg"),t.gutterSVG.setAttribute("width",t.gutterWidth),t.gutterSVG.setAttribute("height",l),document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG)}function Ce(t,e){return(e===b.EDITOR_LEFT?t.editors.left:t.editors.right).ace.getSession().getLength()*t.lineHeight}function Ct(t){t.copyRightContainer=document.createElement("div"),t.copyRightContainer.setAttribute("class",t.options.classes.copyRightContainer),t.copyLeftContainer=document.createElement("div"),t.copyLeftContainer.setAttribute("class",t.options.classes.copyLeftContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer),document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer)}function we(t){const e=document.getElementById(t.options.classes.gutterID);t.gutterSVG&&e.removeChild(t.gutterSVG),Ee(t)}function xe(t){t.copyLeftContainer&&(t.copyLeftContainer.innerHTML=""),t.copyRightContainer&&(t.copyRightContainer.innerHTML="")}function bt(t,e){const n=[];function l(i){return t.options.diffGranularity===b.DIFF_GRANULARITY_SPECIFIC?i<1:i<=1}function r(i){const a=Object.assign({},i,{leftChars:[],rightChars:[]});return i.leftEndChar!==void 0&&a.leftChars.push({start:i.leftStartChar,end:i.leftEndChar,lineStart:i.leftStartLine,lineEnd:i.leftEndLine}),i.rightEndChar!==void 0&&a.rightChars.push({start:i.rightStartChar,end:i.rightEndChar,lineStart:i.rightStartLine,lineEnd:i.rightEndLine}),a}e.forEach((i,a)=>{if(a===0){n.push(r(i));return}let c=!1;for(let u=0;u<n.length;u+=1)if(l(Math.abs(i.leftStartLine-n[u].leftEndLine))&&l(Math.abs(i.rightStartLine-n[u].rightEndLine))){n[u].leftStartLine=Math.min(i.leftStartLine,n[u].leftStartLine),n[u].rightStartLine=Math.min(i.rightStartLine,n[u].rightStartLine),n[u].leftEndLine=Math.max(i.leftEndLine,n[u].leftEndLine),n[u].rightEndLine=Math.max(i.rightEndLine,n[u].rightEndLine),n[u].leftStartOffset=Math.min(i.leftStartOffset,n[u].leftStartOffset),n[u].leftEndOffset=Math.max(i.leftEndOffset,n[u].leftEndOffset),n[u].rightStartOffset=Math.min(i.rightStartOffset,n[u].rightStartOffset),n[u].rightEndOffset=Math.max(i.rightEndOffset,n[u].rightEndOffset),i.leftEndChar!==void 0&&n[u].leftChars.push({start:i.leftStartChar,end:i.leftEndChar,lineStart:i.leftStartLine,lineEnd:i.leftEndLine}),i.rightEndChar!==void 0&&n[u].rightChars.push({start:i.rightStartChar,end:i.rightEndChar,lineStart:i.rightStartLine,lineEnd:i.rightEndLine}),c=!0;break}c||n.push(r(i))});const s=[];return n.forEach(i=>{i.leftStartLine===i.leftEndLine&&i.rightStartLine===i.rightEndLine||s.push(i)}),s}function Le(t){we(t),xe(t),t.diffs.forEach((e,n)=>{t.options.showDiffs&&(ge(t,b.EDITOR_LEFT,e.leftStartLine,e.leftEndLine,e.leftChars,t.options.classes.diff),ge(t,b.EDITOR_RIGHT,e.rightStartLine,e.rightEndLine,e.rightChars,t.options.classes.diff),t.options.showConnectors&&mt(t,e.leftStartLine,e.leftEndLine,e.rightStartLine,e.rightEndLine),ft(t,e,n))},t)}const vt={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1,default:null},storeId:{type:Number,required:!1,default:null},modelValue:Boolean},emits:["callback","update:modelValue"],data(){return{tab:0,localVariables:{},localPluginTxt:"",localExistingPluginTxt:null,editor:null,differ:null,contextMenu:!1,menuX:0,menuY:0}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{value:{immediate:!0,handler:function(){const t=JSON.parse(JSON.stringify(this.variables));this.localVariables={};for(const[e,n]of Object.entries(t))typeof n=="string"?this.localVariables[e]={value:n}:this.localVariables[e]=n;this.localPluginTxt=this.pluginTxt.slice(),this.existingPluginTxt!==null&&(this.localExistingPluginTxt=this.existingPluginTxt.slice())}}},mounted(){const t=this.buildPluginMode();this.existingPluginTxt===null?(this.editor=k.aceExports.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),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(),D.AceEditorUtils.applyVimModeIfEnabled(this.editor),this.editor.focus()):(this.tab=1,this.differ=new A({element:this.$refs.editor,mode:new t,theme:"ace/theme/twilight",left:{content:this.localExistingPluginTxt,copyLinkEnabled:!1},right:{content:this.localPluginTxt,editable:!1}}),this.differ.getEditors().left.setFontSize(16),this.differ.getEditors().right.setFontSize(16),D.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().left),D.AceEditorUtils.applyVimModeIfEnabled(this.differ.getEditors().right),this.curDiff=-1)},beforeUnmount(){this.editor&&this.editor.destroy(),this.differ&&this.differ.destroy()},methods:{previousDiff(){this.curDiff--,this.curDiff<0&&(this.curDiff=this.differ.diffs.length-1),this.scrollToCurDiff()},nextDiff(){this.curDiff++,this.curDiff>=this.differ.diffs.length&&(this.curDiff=0),this.scrollToCurDiff()},scrollToCurDiff(){if(this.differ.diffs.length===0)return;let t=this.differ.diffs[this.curDiff].leftStartLine,e=this.differ.diffs[this.curDiff].rightStartLine;t>5&&(t-=5),e>5&&(e-=5),this.differ.getEditors().left.scrollToLine(t),this.differ.getEditors().right.scrollToLine(e)},buildPluginMode(){let t=k.aceExports.require("ace/lib/oop"),e=k.aceExports.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,n=["VARIABLE","VARIABLE_DESCRIPTION","VARIABLE_STATE"],l=new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`),r=function(){e.call(this);for(let d in this.$rules)this.$rules[d].unshift({regex:l,token:"support.function"})};t.inherits(r,e);let s=k.aceExports.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,i=k.aceExports.require("ace/mode/behaviour/cstyle").CstyleBehaviour,a=k.aceExports.require("ace/mode/folding/ruby").FoldMode,c=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=new i,this.foldingRules=new a,this.indentKeywords=this.foldingRules.indentKeywords},u=k.aceExports.require("ace/mode/ruby").Mode;return t.inherits(c,u),(function(){this.$id="ace/mode/openc3"}).call(c.prototype),c},submit:function(){this.existingPluginTxt===null?this.emitSubmit(this.editor.getValue().split(`
5
4
  `)):this.differ.diffs.length===0?this.emitSubmit(this.differ.getEditors().left.getValue().split(`
6
5
  `)):this.$dialog.confirm("Diffs still detected! Install using 'Existing plugin.txt' (left) and ignore additional changes in the new plugin.txt (right)?",{okText:"Install",cancelText:"Cancel"}).then(t=>{this.emitSubmit(this.differ.getEditors().left.getValue().split(`
7
- `))}).catch(t=>{})},emitSubmit(t){let e={name:this.pluginName,variables:n.toRaw(this.localVariables),plugin_txt_lines:t,store_id:this.storeId};this.$emit("callback",e)},close:function(){this.show=!this.show},showContextMenu:function(t){this.menuX=t.pageX,this.menuY=t.pageY;let e=this.editor.getCursorPosition(),o=this.editor.session.getTokenAt(e.row,e.column);if(o){let r=o.value.trim();r.includes(" ")?this.docsKeyword=r.split(" ")[0]:this.docsKeyword=r,this.contextMenu=!0}},toggleVimMode:function(){this.editor&&$.AceEditorUtils.toggleVimMode(this.editor)}}},vt={style:{flex:"1"}},Ct={class:"pa-3"},wt={ref:"editor",class:"editor"},xt={key:0};function Et(t,e,o,r,i,l){const s=n.resolveComponent("v-card-title"),a=n.resolveComponent("v-icon"),c=n.resolveComponent("v-row"),d=n.resolveComponent("v-tab"),u=n.resolveComponent("v-tabs"),h=n.resolveComponent("v-text-field"),g=n.resolveComponent("v-col"),p=n.resolveComponent("v-window-item"),_=n.resolveComponent("v-list-item-title"),L=n.resolveComponent("v-list-item"),C=n.resolveComponent("v-divider"),f=n.resolveComponent("v-list"),x=n.resolveComponent("v-menu"),m=n.resolveComponent("v-window"),v=n.resolveComponent("v-btn"),y=n.resolveComponent("v-spacer"),N=n.resolveComponent("v-card-actions"),H=n.resolveComponent("v-card-text"),Ee=n.resolveComponent("v-card"),Le=n.resolveComponent("v-dialog");return n.openBlock(),n.createBlock(Le,{modelValue:l.show,"onUpdate:modelValue":e[5]||(e[5]=T=>l.show=T),persistent:"",width:"80vw",onKeydown:n.withKeys(l.close,["esc"])},{default:n.withCtx(()=>[n.createVNode(Ee,null,{default:n.withCtx(()=>[n.createVNode(H,null,{default:n.withCtx(()=>[n.createVNode(s,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.pluginName),1)]),_:1}),o.existingPluginTxt!==null?(n.openBlock(),n.createBlock(c,{key:0,class:"notice d-flex flex-row"},{default:n.withCtx(()=>[n.createVNode(a,{size:"x-large",start:"",color:"yellow"},{default:n.withCtx(()=>[...e[6]||(e[6]=[n.createTextVNode(" mdi-alert-box ",-1)])]),_:1}),n.createElementVNode("div",vt," The existing plugin.txt is different from the "+n.toDisplayString(o.pluginName)+"'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update "+n.toDisplayString(o.pluginName)+"'s plugin.txt going forward. ",1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(c,{class:"pb-3 pr-3"},{default:n.withCtx(()=>[n.createVNode(u,{modelValue:i.tab,"onUpdate:modelValue":e[0]||(e[0]=T=>i.tab=T),class:"ml-3"},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(d,{key:0},{default:n.withCtx(()=>[...e[7]||(e[7]=[n.createTextVNode(" Variables ",-1)])]),_:1})),(n.openBlock(),n.createBlock(d,{key:1},{default:n.withCtx(()=>[...e[8]||(e[8]=[n.createTextVNode(" plugin.txt ",-1)])]),_:1}))]),_:1},8,["modelValue"])]),_:1}),n.createElementVNode("form",{onSubmit:e[4]||(e[4]=n.withModifiers((...T)=>t.onSubmit&&t.onSubmit(...T),["prevent"]))},[n.createVNode(m,{modelValue:i.tab,"onUpdate:modelValue":e[3]||(e[3]=T=>i.tab=T)},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(p,{key:0,eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createElementVNode("div",Ct,[n.createVNode(c,{class:"mt-3"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.localVariables,(T,I)=>(n.openBlock(),n.createElementBlock("div",{key:I},[n.createVNode(g,{style:{width:"220px"}},{default:n.withCtx(()=>[n.createVNode(h,{modelValue:i.localVariables[I],"onUpdate:modelValue":ye=>i.localVariables[I]=ye,clearable:"",type:"text",label:I},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)]))),128))]),_:1})])]),_:1})),o.existingPluginTxt===null?(n.openBlock(),n.createBlock(p,{key:"1-new",eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createVNode(c,{class:"pa-3"},{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[...e[9]||(e[9]=[n.createTextVNode(" This can be edited before installation. ",-1)])]),_:1})]),_:1}),n.createElementVNode("pre",{ref:"editor",class:"editor",onContextmenu:e[1]||(e[1]=n.withModifiers((...T)=>l.showContextMenu&&l.showContextMenu(...T),["prevent"]))},null,544),n.createVNode(x,{modelValue:i.contextMenu,"onUpdate:modelValue":e[2]||(e[2]=T=>i.contextMenu=T),target:[i.menuX,i.menuY]},{default:n.withCtx(()=>[n.createVNode(f,null,{default:n.withCtx(()=>[n.createVNode(L,{link:""},{default:n.withCtx(()=>[n.createVNode(_,{onClick:t.openDocumentation},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(t.docsKeyword)+" documentation ",1)]),_:1},8,["onClick"])]),_:1}),n.createVNode(C),n.createVNode(L,{title:"Toggle Vim mode","prepend-icon":"extras:vim",onClick:l.toggleVimMode},null,8,["onClick"])]),_:1})]),_:1},8,["modelValue","target"])]),_:1})):(n.openBlock(),n.createBlock(p,{key:"1-existing",eager:"true",class:"tab"},{default:n.withCtx(()=>[n.createVNode(c,{class:"pa-3"},{default:n.withCtx(()=>[n.createVNode(g,null,{default:n.withCtx(()=>[...e[10]||(e[10]=[n.createTextVNode(" Existing plugin.txt. This can be edited before installation. ",-1)])]),_:1}),n.createVNode(g,{class:"ml-6"},{default:n.withCtx(()=>[...e[11]||(e[11]=[n.createTextVNode(" Uneditable plugin.txt from the new plugin. ",-1)])]),_:1})]),_:1}),n.createElementVNode("pre",wt,null,512)]),_:1}))]),_:1},8,["modelValue"]),n.createVNode(N,{class:"px-2 mt-2"},{default:n.withCtx(()=>[o.existingPluginTxt!==null?(n.openBlock(),n.createElementBlock("div",xt,[n.createVNode(v,{variant:"text",onClick:l.nextDiff},{default:n.withCtx(()=>[...e[12]||(e[12]=[n.createTextVNode(" Next Diff ",-1)])]),_:1},8,["onClick"]),n.createVNode(v,{variant:"text",onClick:l.previousDiff},{default:n.withCtx(()=>[...e[13]||(e[13]=[n.createTextVNode(" Previous Diff ",-1)])]),_:1},8,["onClick"])])):n.createCommentVNode("",!0),n.createVNode(y),n.createVNode(v,{variant:"outlined","data-test":"edit-cancel",onClick:n.withModifiers(l.close,["prevent"])},{default:n.withCtx(()=>[...e[14]||(e[14]=[n.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),n.createVNode(v,{variant:"flat","data-test":"edit-submit",onClick:l.submit},{default:n.withCtx(()=>[...e[15]||(e[15]=[n.createTextVNode(" Install ",-1)])]),_:1},8,["onClick"])]),_:1})],32)]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const Lt=F._export_sfc(bt,[["render",Et],["__scopeId","data-v-3b685c50"]]);exports.DownloadDialog=Ie;exports.ModifiedPluginDialog=Oe;exports.OpenC3Admin=Pe;exports.PluginDialog=Lt;exports.TabsList=_e;
6
+ `))}).catch(t=>{})},emitSubmit(t){let e={name:this.pluginName,variables:o.toRaw(this.localVariables),plugin_txt_lines:t,store_id:this.storeId};this.$emit("callback",e)},close:function(){this.show=!this.show},showContextMenu:function(t){this.menuX=t.pageX,this.menuY=t.pageY;let e=this.editor.getCursorPosition(),n=this.editor.session.getTokenAt(e.row,e.column);if(n){let l=n.value.trim();l.includes(" ")?this.docsKeyword=l.split(" ")[0]:this.docsKeyword=l,this.contextMenu=!0}},toggleVimMode:function(){this.editor&&D.AceEditorUtils.toggleVimMode(this.editor)},hasOptions(t){return t.options&&t.options.length>0},getDescription(t){return t.description||""},getOptionItems(t){return t.options?t.options.map(e=>({text:e.text||e.value,value:e.value})):[]}}},Et={key:0,class:"text-body-1 text-medium-emphasis pa-3"},wt={ref:"editor",class:"editor"},xt={key:0};function Lt(t,e,n,l,r,s){const i=o.resolveComponent("v-card-title"),a=o.resolveComponent("v-alert"),c=o.resolveComponent("v-tab"),u=o.resolveComponent("v-tabs"),d=o.resolveComponent("v-list-item"),h=o.resolveComponent("v-combobox"),g=o.resolveComponent("v-text-field"),p=o.resolveComponent("v-col"),f=o.resolveComponent("v-row"),L=o.resolveComponent("v-window-item"),C=o.resolveComponent("v-list-item-title"),_=o.resolveComponent("v-divider"),w=o.resolveComponent("v-list"),m=o.resolveComponent("v-menu"),v=o.resolveComponent("v-window"),S=o.resolveComponent("v-btn"),T=o.resolveComponent("v-spacer"),H=o.resolveComponent("v-card-actions"),Se=o.resolveComponent("v-card-text"),ye=o.resolveComponent("v-card"),Ve=o.resolveComponent("v-dialog");return o.openBlock(),o.createBlock(Ve,{modelValue:s.show,"onUpdate:modelValue":e[5]||(e[5]=x=>s.show=x),persistent:"",width:"80vw",onKeydown:o.withKeys(s.close,["esc"])},{default:o.withCtx(()=>[o.createVNode(ye,null,{default:o.withCtx(()=>[o.createVNode(i,null,{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.pluginName),1)]),_:1}),o.createVNode(Se,{class:"pt-0"},{default:o.withCtx(()=>[n.existingPluginTxt!==null?(o.openBlock(),o.createBlock(a,{key:0,type:"warning",variant:"tonal",class:"mb-3"},{default:o.withCtx(()=>[o.createTextVNode(" The existing plugin.txt is different from the "+o.toDisplayString(n.pluginName)+"'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update "+o.toDisplayString(n.pluginName)+"'s plugin.txt going forward. ",1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(u,{modelValue:r.tab,"onUpdate:modelValue":e[0]||(e[0]=x=>r.tab=x),class:"mb-3"},{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(c,{key:0},{default:o.withCtx(()=>[...e[6]||(e[6]=[o.createTextVNode(" Variables ",-1)])]),_:1})),(o.openBlock(),o.createBlock(c,{key:1},{default:o.withCtx(()=>[...e[7]||(e[7]=[o.createTextVNode(" plugin.txt ",-1)])]),_:1}))]),_:1},8,["modelValue"]),o.createElementVNode("form",{onSubmit:e[4]||(e[4]=o.withModifiers((...x)=>t.onSubmit&&t.onSubmit(...x),["prevent"]))},[o.createVNode(v,{modelValue:r.tab,"onUpdate:modelValue":e[3]||(e[3]=x=>r.tab=x)},{default:o.withCtx(()=>[o.createVNode(L,{value:0,eager:"true",class:"tab"},{default:o.withCtx(()=>[Object.keys(r.localVariables).length===0?(o.openBlock(),o.createElementBlock("div",Et," No variables defined for this plugin. ")):(o.openBlock(),o.createBlock(f,{key:1,class:"pt-2"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.localVariables,(x,G)=>(o.openBlock(),o.createBlock(p,{key:G,cols:"12",sm:"6",md:"3"},{default:o.withCtx(()=>[s.hasOptions(x)?(o.openBlock(),o.createBlock(h,{key:0,modelValue:x.value,"onUpdate:modelValue":$=>x.value=$,items:s.getOptionItems(x),"item-title":"text","item-value":"value","return-object":!1,label:G,hint:s.getDescription(x),"persistent-hint":"",density:"comfortable",variant:"outlined","data-test":"variable-combobox"},{item:o.withCtx(({item:$,props:ke})=>[o.createVNode(d,o.mergeProps({ref_for:!0},ke),{title:o.withCtx(()=>[o.createTextVNode(o.toDisplayString($.raw.text),1)]),_:2},1040)]),_:1},8,["modelValue","onUpdate:modelValue","items","label","hint"])):(o.openBlock(),o.createBlock(g,{key:1,modelValue:x.value,"onUpdate:modelValue":$=>x.value=$,label:G,hint:s.getDescription(x),"persistent-hint":"",clearable:"",density:"comfortable",variant:"outlined","data-test":"variable-text"},null,8,["modelValue","onUpdate:modelValue","label","hint"]))]),_:2},1024))),128))]),_:1}))]),_:1}),n.existingPluginTxt===null?(o.openBlock(),o.createBlock(L,{key:0,value:1,eager:"true",class:"tab"},{default:o.withCtx(()=>[o.createVNode(f,{class:"pa-3"},{default:o.withCtx(()=>[o.createVNode(p,null,{default:o.withCtx(()=>[...e[8]||(e[8]=[o.createTextVNode(" This can be edited before installation. ",-1)])]),_:1})]),_:1}),o.createElementVNode("pre",{ref:"editor",class:"editor",onContextmenu:e[1]||(e[1]=o.withModifiers((...x)=>s.showContextMenu&&s.showContextMenu(...x),["prevent"]))},null,544),o.createVNode(m,{modelValue:r.contextMenu,"onUpdate:modelValue":e[2]||(e[2]=x=>r.contextMenu=x),target:[r.menuX,r.menuY]},{default:o.withCtx(()=>[o.createVNode(w,null,{default:o.withCtx(()=>[o.createVNode(d,{link:""},{default:o.withCtx(()=>[o.createVNode(C,{onClick:t.openDocumentation},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(t.docsKeyword)+" documentation ",1)]),_:1},8,["onClick"])]),_:1}),o.createVNode(_),o.createVNode(d,{title:"Toggle Vim mode","prepend-icon":"extras:vim",onClick:s.toggleVimMode},null,8,["onClick"])]),_:1})]),_:1},8,["modelValue","target"])]),_:1})):(o.openBlock(),o.createBlock(L,{key:1,value:1,eager:"true",class:"tab"},{default:o.withCtx(()=>[o.createVNode(f,{class:"pa-3"},{default:o.withCtx(()=>[o.createVNode(p,null,{default:o.withCtx(()=>[...e[9]||(e[9]=[o.createTextVNode(" Existing plugin.txt. This can be edited before installation. ",-1)])]),_:1}),o.createVNode(p,{class:"ml-6"},{default:o.withCtx(()=>[...e[10]||(e[10]=[o.createTextVNode(" Uneditable plugin.txt from the new plugin. ",-1)])]),_:1})]),_:1}),o.createElementVNode("pre",wt,null,512)]),_:1}))]),_:1},8,["modelValue"]),o.createVNode(H,{class:"px-2 mt-2"},{default:o.withCtx(()=>[n.existingPluginTxt!==null?(o.openBlock(),o.createElementBlock("div",xt,[o.createVNode(S,{variant:"text",onClick:s.nextDiff},{default:o.withCtx(()=>[...e[11]||(e[11]=[o.createTextVNode(" Next Diff ",-1)])]),_:1},8,["onClick"]),o.createVNode(S,{variant:"text",onClick:s.previousDiff},{default:o.withCtx(()=>[...e[12]||(e[12]=[o.createTextVNode(" Previous Diff ",-1)])]),_:1},8,["onClick"])])):o.createCommentVNode("",!0),o.createVNode(T),o.createVNode(S,{variant:"outlined","data-test":"edit-cancel",onClick:o.withModifiers(s.close,["prevent"])},{default:o.withCtx(()=>[...e[13]||(e[13]=[o.createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),o.createVNode(S,{variant:"flat","data-test":"edit-submit",onClick:s.submit},{default:o.withCtx(()=>[...e[14]||(e[14]=[o.createTextVNode(" Install ",-1)])]),_:1},8,["onClick"])]),_:1})],32)]),_:1})]),_:1})]),_:1},8,["modelValue","onKeydown"])}const St=P._export_sfc(vt,[["render",Lt],["__scopeId","data-v-6fd60d2d"]]);exports.DownloadDialog=Be;exports.ModifiedPluginDialog=Fe;exports.OpenC3Admin=qe;exports.PluginDialog=St;exports.TabsList=be;
8
7
  //# sourceMappingURL=admin.cjs.map