@camera.ui/server 0.0.19-alpha.5 → 0.0.19

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 (182) hide show
  1. package/dist/interface/@tanstack.Se2iT8Do.0.0.19.js +1 -0
  2. package/dist/interface/{@vee-validate.DStmr-3X.0.0.19-alpha.5.js → @vee-validate.Bcx_WiV5.0.0.19.js} +1 -1
  3. package/dist/interface/@vue.CstzJJLy.0.0.19.js +17 -0
  4. package/dist/interface/@vueform.CvaHGYFj.0.0.19.js +1 -0
  5. package/dist/interface/@vueuse.Nf7ssJjc.0.0.19.js +1 -0
  6. package/dist/interface/Account.DXKkPVBt.0.0.19.js +1 -0
  7. package/dist/interface/Adminpanel.pkKALSus.0.0.19.js +2 -0
  8. package/dist/interface/Appearance.D_9yfajW.0.0.19.js +1 -0
  9. package/dist/interface/Backup.CFTHUcsr.0.0.19.js +1 -0
  10. package/dist/interface/Camera.HhwHREdr.0.0.19.js +1 -0
  11. package/dist/interface/Cameras.DaA0aZ8n.0.0.19.js +1 -0
  12. package/dist/interface/Camview.CZ_MZGKR.0.0.19.js +1 -0
  13. package/dist/interface/Config.QI-7ISAF.0.0.19.js +1 -0
  14. package/dist/interface/Console.CuW7zaET.0.0.19.js +4 -0
  15. package/dist/interface/FirstSteps.B0msYtHY.0.0.19.js +1 -0
  16. package/dist/interface/{NewCamera.tkFiwE0J.0.0.19-alpha.5.js → NewCamera.B2es_aOR.0.0.19.js} +2 -2
  17. package/dist/interface/Plugin.v7XIFUCb.0.0.19.js +1 -0
  18. package/dist/interface/Plugins.0rlSje63.0.0.19.js +1 -0
  19. package/dist/interface/Recordings.D2BO0mej.0.0.19.js +1 -0
  20. package/dist/interface/Recordings.zSEMtMS4.0.0.19.js +1 -0
  21. package/dist/interface/Settings.Mc_k_t84.0.0.19.js +1 -0
  22. package/dist/interface/System.mhkORZrl.0.0.19.js +4 -0
  23. package/dist/interface/User.fyvKVRwY.0.0.19.js +1 -0
  24. package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.C0_inHCi.0.0.19.js +2 -0
  25. package/dist/interface/VConsole.CL8o82Ja.0.0.19.js +1 -0
  26. package/dist/interface/VPlayer.C999p1UQ.0.0.19.js +1 -0
  27. package/dist/interface/VPluginCard.BewJDf5m.0.0.19.js +4 -0
  28. package/dist/interface/{ace-builds.DD-6Vqoq.0.0.19-alpha.5.js → ace-builds.DcyMKdND.0.0.19.js} +3 -3
  29. package/dist/interface/{apexcharts.DvTScRK3.0.0.19-alpha.5.js → apexcharts.CnkKUZWL.0.0.19.js} +1 -1
  30. package/dist/interface/assets/Adminpanel.0.0.19.DGj4gqg2.css +1 -0
  31. package/dist/interface/assets/User.0.0.19.3wRfclxd.css +1 -0
  32. package/dist/interface/assets/VPluginCard.0.0.19.Dc6BSSnE.css +1 -0
  33. package/dist/interface/assets/{main.0.0.19-alpha.5.DMf0DuDl.css → main.0.0.19.DtbCLMJ4.css} +1 -1
  34. package/dist/interface/axios.C-n2IhIP.0.0.19.js +6 -0
  35. package/dist/interface/dnd-core.dlvDoZdo.0.0.19.js +1 -0
  36. package/dist/interface/{draggabilly.BPUAZ6Of.0.0.19-alpha.5.js → draggabilly.C9C_3o7g.0.0.19.js} +1 -1
  37. package/dist/interface/engine.io-client.CWvL04zC.0.0.19.js +1 -0
  38. package/dist/interface/ev-emitter.BRBSy4T4.0.0.19.js +1 -0
  39. package/dist/interface/fast-deep-equal.BTYbOpwI.0.0.19.js +1 -0
  40. package/dist/interface/{highlight.js.CakxOzYb.0.0.19-alpha.5.js → highlight.js.C5P4pCkt.0.0.19.js} +1 -1
  41. package/dist/interface/index.html +33 -33
  42. package/dist/interface/linkify-it.tc7RSb5j.0.0.19.js +1 -0
  43. package/dist/interface/main.DccKR3Rr.0.0.19.js +4 -0
  44. package/dist/interface/{markdown-it.B2lXyWBQ.0.0.19-alpha.5.js → markdown-it.B5C1G3BB.0.0.19.js} +1 -1
  45. package/dist/interface/{nprogress.CRXfHSl0.0.0.19-alpha.5.js → nprogress.BkPA-CXl.0.0.19.js} +1 -1
  46. package/dist/interface/{pinia.Cvmf_9te.0.0.19-alpha.5.js → pinia.DMDlYZhC.0.0.19.js} +1 -1
  47. package/dist/interface/plugins.BY6m5qSg.0.0.19.js +1 -0
  48. package/dist/interface/{qrcode.C8UqHTeg.0.0.19-alpha.5.js → qrcode.CtBvZWgA.0.0.19.js} +1 -1
  49. package/dist/interface/react-dnd-touch-backend.DfkVjpsx.0.0.19.js +1 -0
  50. package/dist/interface/{rxjs.BPe36hrO.0.0.19-alpha.5.js → rxjs.BKLhTuUF.0.0.19.js} +1 -1
  51. package/dist/interface/socket.io-client.BKegZC2j.0.0.19.js +1 -0
  52. package/dist/interface/socket.io-parser.DiIpQQVr.0.0.19.js +1 -0
  53. package/dist/interface/sw.js +1 -1
  54. package/dist/interface/system.D3E9CAdY.0.0.19.js +1 -0
  55. package/dist/interface/ui.D5OPc46X.0.0.19.js +1 -0
  56. package/dist/interface/{unidragger.DDH9HHnT.0.0.19-alpha.5.js → unidragger.DBjqFOK7.0.0.19.js} +1 -1
  57. package/dist/interface/v-calendar.D11VqVoA.0.0.19.js +1 -0
  58. package/dist/interface/{vee-validate.DtDZb1MS.0.0.19-alpha.5.js → vee-validate.CfdwUlPs.0.0.19.js} +1 -1
  59. package/dist/interface/{vue-i18n.DcXcaqHL.0.0.19-alpha.5.js → vue-i18n.D1wIbtVk.0.0.19.js} +1 -1
  60. package/dist/interface/vue-inline-svg.BXS9IorY.0.0.19.js +1 -0
  61. package/dist/interface/{vue-router.CyLjPvCV.0.0.19-alpha.5.js → vue-router.ZlB7kDV8.0.0.19.js} +1 -1
  62. package/dist/interface/vue3-apexcharts.CIFHRTWV.0.0.19.js +1 -0
  63. package/dist/interface/vue3-dnd.BLjq82gz.0.0.19.js +1 -0
  64. package/dist/interface/vue3-toastify.njN-Q4fO.0.0.19.js +1 -0
  65. package/dist/interface/{vuetify.CPCRs65p.0.0.19-alpha.5.js → vuetify.Ct3F8hZz.0.0.19.js} +1 -1
  66. package/dist/server/bin/cameraui.d.ts +2 -1
  67. package/dist/server/bin/cameraui.js +35 -3
  68. package/dist/server/bin/cameraui.js.map +1 -1
  69. package/dist/server/package.json +5 -5
  70. package/dist/server/src/api/controllers/cameras.controller.js +10 -2
  71. package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
  72. package/dist/server/src/api/schemas/users.schema.js +2 -2
  73. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  74. package/dist/server/src/api/services/auth.service.js +11 -9
  75. package/dist/server/src/api/services/auth.service.js.map +1 -1
  76. package/dist/server/src/api/websocket/nsp/metrics.d.ts +5 -1
  77. package/dist/server/src/api/websocket/nsp/metrics.js +42 -2
  78. package/dist/server/src/api/websocket/nsp/metrics.js.map +1 -1
  79. package/dist/server/src/camera/streaming/peer-connection.d.ts +1 -0
  80. package/dist/server/src/camera/streaming/peer-connection.js +72 -79
  81. package/dist/server/src/camera/streaming/peer-connection.js.map +1 -1
  82. package/dist/server/src/camera/streaming/werift-session.js +4 -6
  83. package/dist/server/src/camera/streaming/werift-session.js.map +1 -1
  84. package/dist/server/src/camera/types.d.ts +1 -1
  85. package/dist/server/src/decoder/worker.js +6 -6
  86. package/dist/server/src/decoder/worker.js.map +1 -1
  87. package/dist/server/src/plugins/worker.js +0 -1
  88. package/dist/server/src/plugins/worker.js.map +1 -1
  89. package/package.json +5 -5
  90. package/dist/interface/@tanstack.CKZ-4dSC.0.0.19-alpha.5.js +0 -1
  91. package/dist/interface/@vue.CIFymae3.0.0.19-alpha.5.js +0 -17
  92. package/dist/interface/@vueform.BQ_mow6Q.0.0.19-alpha.5.js +0 -1
  93. package/dist/interface/@vueuse.Mbetc9g3.0.0.19-alpha.5.js +0 -1
  94. package/dist/interface/Account.BoZ2aXSy.0.0.19-alpha.5.js +0 -1
  95. package/dist/interface/Adminpanel.DiFIcWrU.0.0.19-alpha.5.js +0 -2
  96. package/dist/interface/Appearance.Cg2-5afg.0.0.19-alpha.5.js +0 -1
  97. package/dist/interface/Backup.FAxAcv2w.0.0.19-alpha.5.js +0 -1
  98. package/dist/interface/Camera.BzrqdxNn.0.0.19-alpha.5.js +0 -1
  99. package/dist/interface/Cameras.BIj5-hw4.0.0.19-alpha.5.js +0 -1
  100. package/dist/interface/Camview.CKwkewt6.0.0.19-alpha.5.js +0 -1
  101. package/dist/interface/Config.BDC_tIYH.0.0.19-alpha.5.js +0 -1
  102. package/dist/interface/Console.8OamXkFi.0.0.19-alpha.5.js +0 -4
  103. package/dist/interface/FirstSteps.BwvxvpX9.0.0.19-alpha.5.js +0 -1
  104. package/dist/interface/Plugin.uCxxVtYA.0.0.19-alpha.5.js +0 -1
  105. package/dist/interface/Plugins.DlyRtZzf.0.0.19-alpha.5.js +0 -1
  106. package/dist/interface/Recordings.CpQoB4qP.0.0.19-alpha.5.js +0 -1
  107. package/dist/interface/Recordings.ziVuT7xn.0.0.19-alpha.5.js +0 -1
  108. package/dist/interface/Settings.DRvhO_yx.0.0.19-alpha.5.js +0 -1
  109. package/dist/interface/System.z5-DqGXZ.0.0.19-alpha.5.js +0 -4
  110. package/dist/interface/User.CnNDjL1m.0.0.19-alpha.5.js +0 -1
  111. package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.Co4boVAq.0.0.19-alpha.5.js +0 -2
  112. package/dist/interface/VConsole.D73mQQPu.0.0.19-alpha.5.js +0 -1
  113. package/dist/interface/VPlayer.F2cuo1V7.0.0.19-alpha.5.js +0 -1
  114. package/dist/interface/VPluginCard.BUey_YRl.0.0.19-alpha.5.js +0 -4
  115. package/dist/interface/assets/Adminpanel.0.0.19-alpha.5.A2JXV1Ib.css +0 -1
  116. package/dist/interface/assets/User.0.0.19-alpha.5.DAaNwzw2.css +0 -1
  117. package/dist/interface/assets/VPluginCard.0.0.19-alpha.5.C2OqX7DJ.css +0 -1
  118. package/dist/interface/axios.CpM4fnec.0.0.19-alpha.5.js +0 -6
  119. package/dist/interface/dnd-core.BjmZcWC3.0.0.19-alpha.5.js +0 -1
  120. package/dist/interface/engine.io-client.DRlltzLw.0.0.19-alpha.5.js +0 -1
  121. package/dist/interface/ev-emitter.C7PqJD7l.0.0.19-alpha.5.js +0 -1
  122. package/dist/interface/fast-deep-equal.oQ-osDgF.0.0.19-alpha.5.js +0 -1
  123. package/dist/interface/linkify-it.BOw8iAG-.0.0.19-alpha.5.js +0 -1
  124. package/dist/interface/main.D_8d1vlR.0.0.19-alpha.5.js +0 -4
  125. package/dist/interface/plugins.9CKDC1Nm.0.0.19-alpha.5.js +0 -1
  126. package/dist/interface/react-dnd-touch-backend.BasY3hy6.0.0.19-alpha.5.js +0 -1
  127. package/dist/interface/socket.io-client.B3ixC1Ox.0.0.19-alpha.5.js +0 -1
  128. package/dist/interface/socket.io-parser.T0GPuCF3.0.0.19-alpha.5.js +0 -1
  129. package/dist/interface/system.CWSzxm0p.0.0.19-alpha.5.js +0 -1
  130. package/dist/interface/ui.rRsaTUrE.0.0.19-alpha.5.js +0 -1
  131. package/dist/interface/v-calendar.DExQEy4p.0.0.19-alpha.5.js +0 -1
  132. package/dist/interface/vue-inline-svg.CZVb-d1z.0.0.19-alpha.5.js +0 -1
  133. package/dist/interface/vue3-apexcharts.Clrc4czK.0.0.19-alpha.5.js +0 -1
  134. package/dist/interface/vue3-dnd.DARfH71K.0.0.19-alpha.5.js +0 -1
  135. package/dist/interface/vue3-toastify.D_WkAnfA.0.0.19-alpha.5.js +0 -1
  136. /package/dist/interface/{@babel.l0sNRNKZ.0.0.19-alpha.5.js → @babel.l0sNRNKZ.0.0.19.js} +0 -0
  137. /package/dist/interface/{@intlify.YW_pt133.0.0.19-alpha.5.js → @intlify.YW_pt133.0.0.19.js} +0 -0
  138. /package/dist/interface/{@mdi.DnMbZhUH.0.0.19-alpha.5.js → @mdi.DnMbZhUH.0.0.19.js} +0 -0
  139. /package/dist/interface/{@popperjs.BQBsAJpH.0.0.19-alpha.5.js → @popperjs.BQBsAJpH.0.0.19.js} +0 -0
  140. /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.19-alpha.5.js → @react-dnd.CcwRs9xb.0.0.19.js} +0 -0
  141. /package/dist/interface/{@socket.io.Dkula2eQ.0.0.19-alpha.5.js → @socket.io.Dkula2eQ.0.0.19.js} +0 -0
  142. /package/dist/interface/{@xterm.Diz8y-up.0.0.19-alpha.5.js → @xterm.C8pywIfa.0.0.19.js} +0 -0
  143. /package/dist/interface/assets/{@vueform.0.0.19-alpha.5.h7tNX9p6.css → @vueform.0.0.19.h7tNX9p6.css} +0 -0
  144. /package/dist/interface/assets/{@xterm.0.0.19-alpha.5.CGrrDQr5.css → @xterm.0.0.19.CGrrDQr5.css} +0 -0
  145. /package/dist/interface/assets/{Account.0.0.19-alpha.5.BCEftDNE.css → Account.0.0.19.BCEftDNE.css} +0 -0
  146. /package/dist/interface/assets/{Backup.0.0.19-alpha.5.BIwaSlv3.css → Backup.0.0.19.BIwaSlv3.css} +0 -0
  147. /package/dist/interface/assets/{Camera.0.0.19-alpha.5.BDtUJ-lA.css → Camera.0.0.19.BDtUJ-lA.css} +0 -0
  148. /package/dist/interface/assets/{Cameras.0.0.19-alpha.5.Djx0F2MM.css → Cameras.0.0.19.Djx0F2MM.css} +0 -0
  149. /package/dist/interface/assets/{Camview.0.0.19-alpha.5.Ce_V-Nxj.css → Camview.0.0.19.Ce_V-Nxj.css} +0 -0
  150. /package/dist/interface/assets/{Config.0.0.19-alpha.5.k4QpWumg.css → Config.0.0.19.k4QpWumg.css} +0 -0
  151. /package/dist/interface/assets/{Console.0.0.19-alpha.5.DWrfRWs9.css → Console.0.0.19.DWrfRWs9.css} +0 -0
  152. /package/dist/interface/assets/{FirstSteps.0.0.19-alpha.5.27JF_jaE.css → FirstSteps.0.0.19.27JF_jaE.css} +0 -0
  153. /package/dist/interface/assets/{NewCamera.0.0.19-alpha.5.DJ3tUBT_.css → NewCamera.0.0.19.DJ3tUBT_.css} +0 -0
  154. /package/dist/interface/assets/{Plugin.0.0.19-alpha.5.BtRA6zDt.css → Plugin.0.0.19.BtRA6zDt.css} +0 -0
  155. /package/dist/interface/assets/{Plugins.0.0.19-alpha.5.Cwu0aGUO.css → Plugins.0.0.19.Cwu0aGUO.css} +0 -0
  156. /package/dist/interface/assets/{Settings.0.0.19-alpha.5.DC_-E3CR.css → Settings.0.0.19.DC_-E3CR.css} +0 -0
  157. /package/dist/interface/assets/{VConsole.0.0.19-alpha.5.BZT1WyS-.css → VConsole.0.0.19.BZT1WyS-.css} +0 -0
  158. /package/dist/interface/assets/{VPlayer.0.0.19-alpha.5.YEg8PV4J.css → VPlayer.0.0.19.YEg8PV4J.css} +0 -0
  159. /package/dist/interface/assets/{highlight.0.0.19-alpha.5.DgoK_Xib.css → highlight.0.0.19.DgoK_Xib.css} +0 -0
  160. /package/dist/interface/assets/{logo-256.0.0.19-alpha.5.BCQk9H1-.png → logo-256.0.0.19.BCQk9H1-.png} +0 -0
  161. /package/dist/interface/assets/{logo-512.0.0.19-alpha.5.DLKVOU2S.png → logo-512.0.0.19.DLKVOU2S.png} +0 -0
  162. /package/dist/interface/assets/{logo.0.0.19-alpha.5.DmEiRk0z.png → logo.0.0.19.DmEiRk0z.png} +0 -0
  163. /package/dist/interface/assets/{mode-json.0.0.19-alpha.5.Br7xisR1.js → mode-json.0.0.19.Br7xisR1.js} +0 -0
  164. /package/dist/interface/assets/{mode-yaml.0.0.19-alpha.5.CIYL8U3d.js → mode-yaml.0.0.19.CIYL8U3d.js} +0 -0
  165. /package/dist/interface/assets/{v-calendar.0.0.19-alpha.5.CtSuDYZU.css → v-calendar.0.0.19.CtSuDYZU.css} +0 -0
  166. /package/dist/interface/assets/{vue3-toastify.0.0.19-alpha.5.DTY1DMRs.css → vue3-toastify.0.0.19.DTY1DMRs.css} +0 -0
  167. /package/dist/interface/assets/{vuetify.0.0.19-alpha.5.Cd1awv3t.css → vuetify.0.0.19.Cd1awv3t.css} +0 -0
  168. /package/dist/interface/{compare-versions.DqEOhma6.0.0.19-alpha.5.js → compare-versions.DqEOhma6.0.0.19.js} +0 -0
  169. /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.19-alpha.5.js → dijkstrajs.D_NXgYpA.0.0.19.js} +0 -0
  170. /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.19-alpha.5.js → engine.io-parser.BiEtp6m2.0.0.19.js} +0 -0
  171. /package/dist/interface/{entities.C20TfXL6.0.0.19-alpha.5.js → entities.C20TfXL6.0.0.19.js} +0 -0
  172. /package/dist/interface/{get-size.D1dS-IaP.0.0.19-alpha.5.js → get-size.D1dS-IaP.0.0.19.js} +0 -0
  173. /package/dist/interface/{mdurl.k9Sl0PQj.0.0.19-alpha.5.js → mdurl.k9Sl0PQj.0.0.19.js} +0 -0
  174. /package/dist/interface/{punycode.js.Dj65hjkv.0.0.19-alpha.5.js → punycode.js.Dj65hjkv.0.0.19.js} +0 -0
  175. /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.19-alpha.5.js → react-dnd-html5-backend.1HQjlkwI.0.0.19.js} +0 -0
  176. /package/dist/interface/{redux.CuxFRhX_.0.0.19-alpha.5.js → redux.CuxFRhX_.0.0.19.js} +0 -0
  177. /package/dist/interface/{tslib.9k7AwCpt.0.0.19-alpha.5.js → tslib.9k7AwCpt.0.0.19.js} +0 -0
  178. /package/dist/interface/{uc.micro.kMc2yuuw.0.0.19-alpha.5.js → uc.micro.kMc2yuuw.0.0.19.js} +0 -0
  179. /package/dist/interface/{utils.BvINh1mj.0.0.19-alpha.5.js → utils.BvINh1mj.0.0.19.js} +0 -0
  180. /package/dist/interface/{uuid.DvF23Exx.0.0.19-alpha.5.js → uuid.DvF23Exx.0.0.19.js} +0 -0
  181. /package/dist/interface/{vue.l0sNRNKZ.0.0.19-alpha.5.js → vue.l0sNRNKZ.0.0.19.js} +0 -0
  182. /package/dist/interface/{zod.BaF2dDCd.0.0.19-alpha.5.js → zod.BaF2dDCd.0.0.19.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{g as Se}from"./@xterm.Diz8y-up.0.0.19-alpha.5.js";function Ae(he,fe){for(var I=0;I<fe.length;I++){const x=fe[I];if(typeof x!="string"&&!Array.isArray(x)){for(const H in x)if(H!=="default"&&!(H in he)){const T=Object.getOwnPropertyDescriptor(x,H);T&&Object.defineProperty(he,H,T.get?T:{enumerable:!0,get:()=>x[H]})}}}return Object.freeze(Object.defineProperty(he,Symbol.toStringTag,{value:"Module"}))}const xe="/assets/mode-json.0.0.19-alpha.5.Br7xisR1.js",ke="/assets/mode-yaml.0.0.19-alpha.5.CIYL8U3d.js",Te="data:text/javascript;base64,YWNlLmRlZmluZSgiYWNlL3RoZW1lL3RvbW9ycm93LWNzcyIsWyJyZXF1aXJlIiwiZXhwb3J0cyIsIm1vZHVsZSJdLCBmdW5jdGlvbihyZXF1aXJlLCBleHBvcnRzLCBtb2R1bGUpe21vZHVsZS5leHBvcnRzID0gIi5hY2UtdG9tb3Jyb3cgLmFjZV9ndXR0ZXIge1xuICBiYWNrZ3JvdW5kOiAjZjZmNmY2O1xuICBjb2xvcjogIzRENEQ0Q1xufVxuXG4uYWNlLXRvbW9ycm93IC5hY2VfcHJpbnQtbWFyZ2luIHtcbiAgd2lkdGg6IDFweDtcbiAgYmFja2dyb3VuZDogI2Y2ZjZmNlxufVxuXG4uYWNlLXRvbW9ycm93IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjtcbiAgY29sb3I6ICM0RDRENENcbn1cblxuLmFjZS10b21vcnJvdyAuYWNlX2N1cnNvciB7XG4gIGNvbG9yOiAjQUVBRkFEXG59XG5cbi5hY2UtdG9tb3Jyb3cgLmFjZV9tYXJrZXItbGF5ZXIgLmFjZV9zZWxlY3Rpb24ge1xuICBiYWNrZ3JvdW5kOiAjRDZENkQ2XG59XG5cbi5hY2UtdG9tb3Jyb3cuYWNlX211bHRpc2VsZWN0IC5hY2Vfc2VsZWN0aW9uLmFjZV9zdGFydCB7XG4gIGJveC1zaGFkb3c6IDAgMCAzcH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KTsKdmFyIGRvbSA9IHJlcXVpcmUoIi4uL2xpYi9kb20iKTsKZG9tLmltcG9ydENzc1N0cmluZyhleHBvcnRzLmNzc1RleHQsIGV4cG9ydHMuY3NzQ2xhc3MsIGZhbHNlKTsKCn0pOyAgICAgICAgICAgICAgICAoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgYWNlLnJlcXVpcmUoWyJhY2UvdGhlbWUvdHdpbGlnaHQiXSwgZnVuY3Rpb24obSkgewogICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIG1vZHVsZSA9PSAib2JqZWN0IiAmJiB0eXBlb2YgZXhwb3J0cyA9PSAib2JqZWN0IiAmJiBtb2R1bGUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1vZHVsZS5leHBvcnRzID0gbTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgfSkoKTsKICAgICAgICAgICAg";var we={exports:{}};(function(he,fe){(function(){var I="ace",x=function(){return this}();!x&&typeof window<"u"&&(x=window);var H=function(o,i,n){if(typeof o!="string"){H.original?H.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=i),H.modules[o]||(H.payloads[o]=n,H.modules[o]=null)};H.modules={},H.payloads={};var T=function(o,i,n){if(typeof i=="string"){var t=a(o,i);if(t!=null)return n&&n(),t}else if(Object.prototype.toString.call(i)==="[object Array]"){for(var e=[],r=0,s=i.length;r<s;++r){var l=a(o,i[r]);if(l==null&&M.original)return;e.push(l)}return n&&n.apply(null,e)||!0}},M=function(o,i){var n=T("",o,i);return n==null&&M.original?M.original.apply(this,arguments):n},S=function(o,i){if(i.indexOf("!")!==-1){var n=i.split("!");return S(o,n[0])+"!"+S(o,n[1])}if(i.charAt(0)=="."){var t=o.split("/").slice(0,-1).join("/");for(i=t+"/"+i;i.indexOf(".")!==-1&&e!=i;){var e=i;i=i.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},a=function(o,i){i=S(o,i);var n=H.modules[i];if(!n){if(n=H.payloads[i],typeof n=="function"){var t={},e={id:i,uri:"",exports:t,packaged:!0},r=function(l,u){return T(i,l,u)},s=n(r,t,e);t=s||e.exports,H.modules[i]=t,delete H.payloads[i]}n=H.modules[i]=t||n}return n};function c(o){var i=x;x[o]||(x[o]={}),i=x[o],(!i.define||!i.define.packaged)&&(H.original=i.define,i.define=H,i.define.packaged=!0),(!i.require||!i.require.packaged)&&(M.original=i.require,i.require=M,i.require.packaged=!0)}c(I)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(I,x,H){function T(M,S,a){Object.defineProperty(M,S,{value:a,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||T(String.prototype,"startsWith",function(M,S){return S=S||0,this.lastIndexOf(M,S)===S}),String.prototype.endsWith||T(String.prototype,"endsWith",function(M,S){var a=this;(S===void 0||S>a.length)&&(S=a.length),S-=M.length;var c=a.indexOf(M,S);return c!==-1&&c===S}),String.prototype.repeat||T(String.prototype,"repeat",function(M){for(var S="",a=this;M>0;)M&1&&(S+=a),(M>>=1)&&(a+=a);return S}),String.prototype.includes||T(String.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Object.assign||(Object.assign=function(M){if(M==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(M),a=1;a<arguments.length;a++){var c=arguments[a];c!=null&&Object.keys(c).forEach(function(o){S[o]=c[o]})}return S}),Object.values||(Object.values=function(M){return Object.keys(M).map(function(S){return M[S]})}),Array.prototype.find||T(Array.prototype,"find",function(M){for(var S=this.length,a=arguments[1],c=0;c<S;c++){var o=this[c];if(M.call(a,o,c,this))return o}}),Array.prototype.findIndex||T(Array.prototype,"findIndex",function(M){for(var S=this.length,a=arguments[1],c=0;c<S;c++){var o=this[c];if(M.call(a,o,c,this))return c}}),Array.prototype.includes||T(Array.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Array.prototype.fill||T(Array.prototype,"fill",function(M){for(var S=this,a=S.length>>>0,c=arguments[1],o=c>>0,i=o<0?Math.max(a+o,0):Math.min(o,a),n=arguments[2],t=n===void 0?a:n>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);i<e;)S[i]=M,i++;return S}),Array.of||T(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(I,x,H){I("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(I,x,H){x.deepCopy=function T(M){if(typeof M!="object"||!M)return M;var S;if(Array.isArray(M)){S=[];for(var a=0;a<M.length;a++)S[a]=T(M[a]);return S}if(Object.prototype.toString.call(M)!=="[object Object]")return M;S={};for(var a in M)S[a]=T(M[a]);return S}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(I,x,H){x.last=function(S){return S[S.length-1]},x.stringReverse=function(S){return S.split("").reverse().join("")},x.stringRepeat=function(S,a){for(var c="";a>0;)a&1&&(c+=S),(a>>=1)&&(S+=S);return c};var T=/^\s\s*/,M=/\s\s*$/;x.stringTrimLeft=function(S){return S.replace(T,"")},x.stringTrimRight=function(S){return S.replace(M,"")},x.copyObject=function(S){var a={};for(var c in S)a[c]=S[c];return a},x.copyArray=function(S){for(var a=[],c=0,o=S.length;c<o;c++)S[c]&&typeof S[c]=="object"?a[c]=this.copyObject(S[c]):a[c]=S[c];return a},x.deepCopy=I("./deep_copy").deepCopy,x.arrayToMap=function(S){for(var a={},c=0;c<S.length;c++)a[S[c]]=1;return a},x.createMap=function(S){var a=Object.create(null);for(var c in S)a[c]=S[c];return a},x.arrayRemove=function(S,a){for(var c=0;c<=S.length;c++)a===S[c]&&S.splice(c,1)},x.escapeRegExp=function(S){return S.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},x.escapeHTML=function(S){return(""+S).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},x.getMatchOffsets=function(S,a){var c=[];return S.replace(a,function(o){c.push({offset:arguments[arguments.length-2],length:o.length})}),c},x.deferredCall=function(S){var a=null,c=function(){a=null,S()},o=function(i){return o.cancel(),a=setTimeout(c,i||0),o};return o.schedule=o,o.call=function(){return this.cancel(),S(),o},o.cancel=function(){return clearTimeout(a),a=null,o},o.isPending=function(){return a},o},x.delayedCall=function(S,a){var c=null,o=function(){c=null,S()},i=function(n){c==null&&(c=setTimeout(o,n||a))};return i.delay=function(n){c&&clearTimeout(c),c=setTimeout(o,n||a)},i.schedule=i,i.call=function(){this.cancel(),S()},i.cancel=function(){c&&clearTimeout(c),c=null},i.isPending=function(){return c},i},x.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},x.skipEmptyMatch=function(S,a,c){return c&&S.codePointAt(a)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(I,x,H){x.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},x.getOS=function(){return x.isMac?x.OS.MAC:x.isLinux?x.OS.LINUX:x.OS.WINDOWS};var T=typeof navigator=="object"?navigator:{},M=(/mac|win|linux/i.exec(T.platform)||["other"])[0].toLowerCase(),S=T.userAgent||"",a=T.appName||"";x.isWin=M=="win",x.isMac=M=="mac",x.isLinux=M=="linux",x.isIE=a=="Microsoft Internet Explorer"||a.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),x.isOldIE=x.isIE&&x.isIE<9,x.isGecko=x.isMozilla=S.match(/ Gecko\/\d+/),x.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",x.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,x.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,x.isSafari=parseFloat(S.split(" Safari/")[1])&&!x.isChrome||void 0,x.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,x.isAIR=S.indexOf("AdobeAIR")>=0,x.isAndroid=S.indexOf("Android")>=0,x.isChromeOS=S.indexOf(" CrOS ")>=0,x.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,x.isIOS&&(x.isMac=!0),x.isMobile=x.isIOS||x.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(I,x,H){var T=I("./useragent"),M="http://www.w3.org/1999/xhtml";x.buildDom=function n(t,e,r){if(typeof t=="string"&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!="string"||!t[0]){for(var l=[],u=0;u<t.length;u++){var b=n(t[u],e,r);b&&l.push(b)}return l}var m=document.createElement(t[0]),g=t[1],d=1;g&&typeof g=="object"&&!Array.isArray(g)&&(d=2);for(var u=d;u<t.length;u++)n(t[u],m,r);return d==2&&Object.keys(g).forEach(function(C){var k=g[C];C==="class"?m.className=Array.isArray(k)?k.join(" "):k:typeof k=="function"||C=="value"||C[0]=="$"?m[C]=k:C==="ref"?r&&(r[k]=m):C==="style"?typeof k=="string"&&(m.style.cssText=k):k!=null&&m.setAttribute(C,k)}),e&&e.appendChild(m),m},x.getDocumentHead=function(n){return n||(n=document),n.head||n.getElementsByTagName("head")[0]||n.documentElement},x.createElement=function(n,t){return document.createElementNS?document.createElementNS(t||M,n):document.createElement(n)},x.removeChildren=function(n){n.innerHTML=""},x.createTextNode=function(n,t){var e=t?t.ownerDocument:document;return e.createTextNode(n)},x.createFragment=function(n){var t=n?n.ownerDocument:document;return t.createDocumentFragment()},x.hasCssClass=function(n,t){var e=(n.className+"").split(/\s+/g);return e.indexOf(t)!==-1},x.addCssClass=function(n,t){x.hasCssClass(n,t)||(n.className+=" "+t)},x.removeCssClass=function(n,t){for(var e=n.className.split(/\s+/g);;){var r=e.indexOf(t);if(r==-1)break;e.splice(r,1)}n.className=e.join(" ")},x.toggleCssClass=function(n,t){for(var e=n.className.split(/\s+/g),r=!0;;){var s=e.indexOf(t);if(s==-1)break;r=!1,e.splice(s,1)}return r&&e.push(t),n.className=e.join(" "),r},x.setCssClass=function(n,t,e){e?x.addCssClass(n,t):x.removeCssClass(n,t)},x.hasCssString=function(n,t){var e=0,r;if(t=t||document,r=t.querySelectorAll("style")){for(;e<r.length;)if(r[e++].id===n)return!0}},x.removeElementById=function(n,t){t=t||document,t.getElementById(n)&&t.getElementById(n).remove()};var S,a=[];x.useStrictCSP=function(n){S=n,n==!1?c():a||(a=[])};function c(){var n=a;a=null,n&&n.forEach(function(t){o(t[0],t[1])})}function o(n,t,e){if(!(typeof document>"u")){if(a){if(e)c();else if(e===!1)return a.push([n,t])}if(!S){var r=e;!e||!e.getRootNode?r=document:(r=e.getRootNode(),(!r||r==e)&&(r=document));var s=r.ownerDocument||r;if(t&&x.hasCssString(t,r))return null;t&&(n+=`
1
+ import{g as Se}from"./@xterm.C8pywIfa.0.0.19.js";function Ae(he,fe){for(var I=0;I<fe.length;I++){const x=fe[I];if(typeof x!="string"&&!Array.isArray(x)){for(const H in x)if(H!=="default"&&!(H in he)){const T=Object.getOwnPropertyDescriptor(x,H);T&&Object.defineProperty(he,H,T.get?T:{enumerable:!0,get:()=>x[H]})}}}return Object.freeze(Object.defineProperty(he,Symbol.toStringTag,{value:"Module"}))}const xe="/assets/mode-json.0.0.19.Br7xisR1.js",ke="/assets/mode-yaml.0.0.19.CIYL8U3d.js",Te="data:text/javascript;base64,YWNlLmRlZmluZSgiYWNlL3RoZW1lL3RvbW9ycm93LWNzcyIsWyJyZXF1aXJlIiwiZXhwb3J0cyIsIm1vZHVsZSJdLCBmdW5jdGlvbihyZXF1aXJlLCBleHBvcnRzLCBtb2R1bGUpe21vZHVsZS5leHBvcnRzID0gIi5hY2UtdG9tb3Jyb3cgLmFjZV9ndXR0ZXIge1xuICBiYWNrZ3JvdW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{}};(function(he,fe){(function(){var I="ace",x=function(){return this}();!x&&typeof window<"u"&&(x=window);var H=function(o,i,n){if(typeof o!="string"){H.original?H.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=i),H.modules[o]||(H.payloads[o]=n,H.modules[o]=null)};H.modules={},H.payloads={};var T=function(o,i,n){if(typeof i=="string"){var t=a(o,i);if(t!=null)return n&&n(),t}else if(Object.prototype.toString.call(i)==="[object Array]"){for(var e=[],r=0,s=i.length;r<s;++r){var l=a(o,i[r]);if(l==null&&M.original)return;e.push(l)}return n&&n.apply(null,e)||!0}},M=function(o,i){var n=T("",o,i);return n==null&&M.original?M.original.apply(this,arguments):n},S=function(o,i){if(i.indexOf("!")!==-1){var n=i.split("!");return S(o,n[0])+"!"+S(o,n[1])}if(i.charAt(0)=="."){var t=o.split("/").slice(0,-1).join("/");for(i=t+"/"+i;i.indexOf(".")!==-1&&e!=i;){var e=i;i=i.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},a=function(o,i){i=S(o,i);var n=H.modules[i];if(!n){if(n=H.payloads[i],typeof n=="function"){var t={},e={id:i,uri:"",exports:t,packaged:!0},r=function(l,u){return T(i,l,u)},s=n(r,t,e);t=s||e.exports,H.modules[i]=t,delete H.payloads[i]}n=H.modules[i]=t||n}return n};function c(o){var i=x;x[o]||(x[o]={}),i=x[o],(!i.define||!i.define.packaged)&&(H.original=i.define,i.define=H,i.define.packaged=!0),(!i.require||!i.require.packaged)&&(M.original=i.require,i.require=M,i.require.packaged=!0)}c(I)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(I,x,H){function T(M,S,a){Object.defineProperty(M,S,{value:a,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||T(String.prototype,"startsWith",function(M,S){return S=S||0,this.lastIndexOf(M,S)===S}),String.prototype.endsWith||T(String.prototype,"endsWith",function(M,S){var a=this;(S===void 0||S>a.length)&&(S=a.length),S-=M.length;var c=a.indexOf(M,S);return c!==-1&&c===S}),String.prototype.repeat||T(String.prototype,"repeat",function(M){for(var S="",a=this;M>0;)M&1&&(S+=a),(M>>=1)&&(a+=a);return S}),String.prototype.includes||T(String.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Object.assign||(Object.assign=function(M){if(M==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(M),a=1;a<arguments.length;a++){var c=arguments[a];c!=null&&Object.keys(c).forEach(function(o){S[o]=c[o]})}return S}),Object.values||(Object.values=function(M){return Object.keys(M).map(function(S){return M[S]})}),Array.prototype.find||T(Array.prototype,"find",function(M){for(var S=this.length,a=arguments[1],c=0;c<S;c++){var o=this[c];if(M.call(a,o,c,this))return o}}),Array.prototype.findIndex||T(Array.prototype,"findIndex",function(M){for(var S=this.length,a=arguments[1],c=0;c<S;c++){var o=this[c];if(M.call(a,o,c,this))return c}}),Array.prototype.includes||T(Array.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Array.prototype.fill||T(Array.prototype,"fill",function(M){for(var S=this,a=S.length>>>0,c=arguments[1],o=c>>0,i=o<0?Math.max(a+o,0):Math.min(o,a),n=arguments[2],t=n===void 0?a:n>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);i<e;)S[i]=M,i++;return S}),Array.of||T(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(I,x,H){I("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(I,x,H){x.deepCopy=function T(M){if(typeof M!="object"||!M)return M;var S;if(Array.isArray(M)){S=[];for(var a=0;a<M.length;a++)S[a]=T(M[a]);return S}if(Object.prototype.toString.call(M)!=="[object Object]")return M;S={};for(var a in M)S[a]=T(M[a]);return S}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(I,x,H){x.last=function(S){return S[S.length-1]},x.stringReverse=function(S){return S.split("").reverse().join("")},x.stringRepeat=function(S,a){for(var c="";a>0;)a&1&&(c+=S),(a>>=1)&&(S+=S);return c};var T=/^\s\s*/,M=/\s\s*$/;x.stringTrimLeft=function(S){return S.replace(T,"")},x.stringTrimRight=function(S){return S.replace(M,"")},x.copyObject=function(S){var a={};for(var c in S)a[c]=S[c];return a},x.copyArray=function(S){for(var a=[],c=0,o=S.length;c<o;c++)S[c]&&typeof S[c]=="object"?a[c]=this.copyObject(S[c]):a[c]=S[c];return a},x.deepCopy=I("./deep_copy").deepCopy,x.arrayToMap=function(S){for(var a={},c=0;c<S.length;c++)a[S[c]]=1;return a},x.createMap=function(S){var a=Object.create(null);for(var c in S)a[c]=S[c];return a},x.arrayRemove=function(S,a){for(var c=0;c<=S.length;c++)a===S[c]&&S.splice(c,1)},x.escapeRegExp=function(S){return S.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},x.escapeHTML=function(S){return(""+S).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},x.getMatchOffsets=function(S,a){var c=[];return S.replace(a,function(o){c.push({offset:arguments[arguments.length-2],length:o.length})}),c},x.deferredCall=function(S){var a=null,c=function(){a=null,S()},o=function(i){return o.cancel(),a=setTimeout(c,i||0),o};return o.schedule=o,o.call=function(){return this.cancel(),S(),o},o.cancel=function(){return clearTimeout(a),a=null,o},o.isPending=function(){return a},o},x.delayedCall=function(S,a){var c=null,o=function(){c=null,S()},i=function(n){c==null&&(c=setTimeout(o,n||a))};return i.delay=function(n){c&&clearTimeout(c),c=setTimeout(o,n||a)},i.schedule=i,i.call=function(){this.cancel(),S()},i.cancel=function(){c&&clearTimeout(c),c=null},i.isPending=function(){return c},i},x.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},x.skipEmptyMatch=function(S,a,c){return c&&S.codePointAt(a)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(I,x,H){x.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},x.getOS=function(){return x.isMac?x.OS.MAC:x.isLinux?x.OS.LINUX:x.OS.WINDOWS};var T=typeof navigator=="object"?navigator:{},M=(/mac|win|linux/i.exec(T.platform)||["other"])[0].toLowerCase(),S=T.userAgent||"",a=T.appName||"";x.isWin=M=="win",x.isMac=M=="mac",x.isLinux=M=="linux",x.isIE=a=="Microsoft Internet Explorer"||a.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),x.isOldIE=x.isIE&&x.isIE<9,x.isGecko=x.isMozilla=S.match(/ Gecko\/\d+/),x.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",x.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,x.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,x.isSafari=parseFloat(S.split(" Safari/")[1])&&!x.isChrome||void 0,x.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,x.isAIR=S.indexOf("AdobeAIR")>=0,x.isAndroid=S.indexOf("Android")>=0,x.isChromeOS=S.indexOf(" CrOS ")>=0,x.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,x.isIOS&&(x.isMac=!0),x.isMobile=x.isIOS||x.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(I,x,H){var T=I("./useragent"),M="http://www.w3.org/1999/xhtml";x.buildDom=function n(t,e,r){if(typeof t=="string"&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!="string"||!t[0]){for(var l=[],u=0;u<t.length;u++){var b=n(t[u],e,r);b&&l.push(b)}return l}var m=document.createElement(t[0]),g=t[1],d=1;g&&typeof g=="object"&&!Array.isArray(g)&&(d=2);for(var u=d;u<t.length;u++)n(t[u],m,r);return d==2&&Object.keys(g).forEach(function(C){var k=g[C];C==="class"?m.className=Array.isArray(k)?k.join(" "):k:typeof k=="function"||C=="value"||C[0]=="$"?m[C]=k:C==="ref"?r&&(r[k]=m):C==="style"?typeof k=="string"&&(m.style.cssText=k):k!=null&&m.setAttribute(C,k)}),e&&e.appendChild(m),m},x.getDocumentHead=function(n){return n||(n=document),n.head||n.getElementsByTagName("head")[0]||n.documentElement},x.createElement=function(n,t){return document.createElementNS?document.createElementNS(t||M,n):document.createElement(n)},x.removeChildren=function(n){n.innerHTML=""},x.createTextNode=function(n,t){var e=t?t.ownerDocument:document;return e.createTextNode(n)},x.createFragment=function(n){var t=n?n.ownerDocument:document;return t.createDocumentFragment()},x.hasCssClass=function(n,t){var e=(n.className+"").split(/\s+/g);return e.indexOf(t)!==-1},x.addCssClass=function(n,t){x.hasCssClass(n,t)||(n.className+=" "+t)},x.removeCssClass=function(n,t){for(var e=n.className.split(/\s+/g);;){var r=e.indexOf(t);if(r==-1)break;e.splice(r,1)}n.className=e.join(" ")},x.toggleCssClass=function(n,t){for(var e=n.className.split(/\s+/g),r=!0;;){var s=e.indexOf(t);if(s==-1)break;r=!1,e.splice(s,1)}return r&&e.push(t),n.className=e.join(" "),r},x.setCssClass=function(n,t,e){e?x.addCssClass(n,t):x.removeCssClass(n,t)},x.hasCssString=function(n,t){var e=0,r;if(t=t||document,r=t.querySelectorAll("style")){for(;e<r.length;)if(r[e++].id===n)return!0}},x.removeElementById=function(n,t){t=t||document,t.getElementById(n)&&t.getElementById(n).remove()};var S,a=[];x.useStrictCSP=function(n){S=n,n==!1?c():a||(a=[])};function c(){var n=a;a=null,n&&n.forEach(function(t){o(t[0],t[1])})}function o(n,t,e){if(!(typeof document>"u")){if(a){if(e)c();else if(e===!1)return a.push([n,t])}if(!S){var r=e;!e||!e.getRootNode?r=document:(r=e.getRootNode(),(!r||r==e)&&(r=document));var s=r.ownerDocument||r;if(t&&x.hasCssString(t,r))return null;t&&(n+=`
2
2
  /*# sourceURL=ace/css/`+t+" */");var l=x.createElement("style");l.appendChild(s.createTextNode(n)),t&&(l.id=t),r==s&&(r=x.getDocumentHead(s)),r.insertBefore(l,r.firstChild)}}}if(x.importCssString=o,x.importCssStylsheet=function(n,t){x.buildDom(["link",{rel:"stylesheet",href:n}],x.getDocumentHead(t))},x.scrollbarWidth=function(n){var t=x.createElement("ace_inner");t.style.width="100%",t.style.minWidth="0px",t.style.height="200px",t.style.display="block";var e=x.createElement("ace_outer"),r=e.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",e.appendChild(t);var s=n&&n.documentElement||document&&document.documentElement;if(!s)return 0;s.appendChild(e);var l=t.offsetWidth;r.overflow="scroll";var u=t.offsetWidth;return l===u&&(u=e.clientWidth),s.removeChild(e),l-u},x.computedStyle=function(n,t){return window.getComputedStyle(n,"")||{}},x.setStyle=function(n,t,e){n[t]!==e&&(n[t]=e)},x.HAS_CSS_ANIMATION=!1,x.HAS_CSS_TRANSFORMS=!1,x.HI_DPI=T.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,T.isChromeOS&&(x.HI_DPI=!1),typeof document<"u"){var i=document.createElement("div");x.HI_DPI&&i.style.transform!==void 0&&(x.HAS_CSS_TRANSFORMS=!0),!T.isEdge&&typeof i.style.animationName<"u"&&(x.HAS_CSS_ANIMATION=!0),i=null}x.HAS_CSS_TRANSFORMS?x.translate=function(n,t,e){n.style.transform="translate("+Math.round(t)+"px, "+Math.round(e)+"px)"}:x.translate=function(n,t,e){n.style.top=Math.round(e)+"px",n.style.left=Math.round(t)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(I,x,H){/*
3
3
  * based on code from:
4
4
  *
@@ -163,7 +163,7 @@ import{g as Se}from"./@xterm.Diz8y-up.0.0.19-alpha.5.js";function Ae(he,fe){for(
163
163
  .ace-tm .ace_indent-guide-active {
164
164
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;
165
165
  }
166
- `}),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(I,x,H){x.isDark=!1,x.cssClass="ace-tm",x.cssText=I("./textmate-css"),x.$id="ace/theme/textmate";var T=I("../lib/dom");T.importCssString(x.cssText,x.cssClass,!1)}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/net","ace/lib/dom","ace/lib/app_config","ace/theme/textmate"],function(I,x,H){"no use strict";var T=I("./lib/lang"),M=I("./lib/net"),S=I("./lib/dom"),a=I("./lib/app_config").AppConfig;H.exports=x=new a;var c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{},loadWorkerFromBlob:!0,sharedPopups:!1,useStrictCSP:null};x.get=function(t){if(!c.hasOwnProperty(t))throw new Error("Unknown config key: "+t);return c[t]},x.set=function(t,e){if(c.hasOwnProperty(t))c[t]=e;else if(this.setDefaultValue("",t,e)==!1)throw new Error("Unknown config key: "+t);t=="useStrictCSP"&&S.useStrictCSP(e)},x.all=function(){return T.copyObject(c)},x.$modes={},x.moduleUrl=function(t,e){if(c.$moduleUrls[t])return c.$moduleUrls[t];var r=t.split("/");e=e||r[r.length-2]||"";var s=e=="snippets"?"/":"-",l=r[r.length-1];if(e=="worker"&&s=="-"){var u=new RegExp("^"+e+"[\\-_]|[\\-_]"+e+"$","g");l=l.replace(u,"")}(!l||l==e)&&r.length>1&&(l=r[r.length-2]);var b=c[e+"Path"];return b==null?b=c.basePath:s=="/"&&(e=s=""),b&&b.slice(-1)!="/"&&(b+="/"),b+e+s+l+this.get("suffix")},x.setModuleUrl=function(t,e){return c.$moduleUrls[t]=e};var o=function(t,e){if(t==="ace/theme/textmate"||t==="./theme/textmate")return e(null,I("./theme/textmate"));if(i)return i(t,e);console.error("loader is not configured")},i;x.setLoader=function(t){i=t},x.dynamicModules=Object.create(null),x.$loading={},x.$loaded={},x.loadModule=function(t,e){var r;if(Array.isArray(t))var s=t[0],l=t[1];else if(typeof t=="string")var l=t;var u=function(b){if(b&&!x.$loading[l])return e&&e(b);if(x.$loading[l]||(x.$loading[l]=[]),x.$loading[l].push(e),!(x.$loading[l].length>1)){var m=function(){o(l,function(g,d){d&&(x.$loaded[l]=d),x._emit("load.module",{name:l,module:d});var C=x.$loading[l];x.$loading[l]=null,C.forEach(function(k){k&&k(d)})})};if(!x.get("packaged"))return m();M.loadScript(x.moduleUrl(l,s),m),n()}};if(x.dynamicModules[l])x.dynamicModules[l]().then(function(b){b.default?u(b.default):u(b)});else{try{r=this.$require(l)}catch{}u(r||x.$loaded[l])}},x.$require=function(t){if(typeof H.require=="function"){var e="require";return H[e](t)}},x.setModuleLoader=function(t,e){x.dynamicModules[t]=e};var n=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};x.version="1.36.1"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(I,x,H){I("./lib/fixoldbrowsers");var T=I("./config");T.setLoader(function(c,o){I([c],function(i){o(null,i)})});var M=function(){return this||typeof window<"u"&&window}();H.exports=function(c){T.init=S,T.$require=I,c.require=I},S(!0);function S(c){if(!(!M||!M.document)){T.set("packaged",c||I.packaged||H.packaged||M.define&&(void 0).packaged);var o={},i="",n=document.currentScript||document._currentScript,t=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var e=t.getElementsByTagName("script"),r=0;r<e.length;r++){var s=e[r],l=s.src||s.getAttribute("src");if(l){for(var u=s.attributes,b=0,m=u.length;b<m;b++){var g=u[b];g.name.indexOf("data-ace-")===0&&(o[a(g.name.replace(/^data-ace-/,""))]=g.value)}var d=l.match(/^(.*)\/ace([\-.]\w+)?\.js(\?|$)/);d&&(i=d[1])}}i&&(o.base=o.base||i,o.packaged=!0),o.basePath=o.base,o.workerPath=o.workerPath||o.base,o.modePath=o.modePath||o.base,o.themePath=o.themePath||o.base,delete o.base;for(var C in o)typeof o[C]<"u"&&T.set(C,o[C])}}function a(c){return c.replace(/-(.)/g,function(o,i){return i.toUpperCase()})}}),ace.define("ace/range",["require","exports","module"],function(I,x,H){var T=function(){function M(S,a,c,o){this.start={row:S,column:a},this.end={row:c,column:o}}return M.prototype.isEqual=function(S){return this.start.row===S.start.row&&this.end.row===S.end.row&&this.start.column===S.start.column&&this.end.column===S.end.column},M.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},M.prototype.contains=function(S,a){return this.compare(S,a)==0},M.prototype.compareRange=function(S){var a,c=S.end,o=S.start;return a=this.compare(c.row,c.column),a==1?(a=this.compare(o.row,o.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(o.row,o.column),a==-1?-1:a==1?42:0)},M.prototype.comparePoint=function(S){return this.compare(S.row,S.column)},M.prototype.containsRange=function(S){return this.comparePoint(S.start)==0&&this.comparePoint(S.end)==0},M.prototype.intersects=function(S){var a=this.compareRange(S);return a==-1||a==0||a==1},M.prototype.isEnd=function(S,a){return this.end.row==S&&this.end.column==a},M.prototype.isStart=function(S,a){return this.start.row==S&&this.start.column==a},M.prototype.setStart=function(S,a){typeof S=="object"?(this.start.column=S.column,this.start.row=S.row):(this.start.row=S,this.start.column=a)},M.prototype.setEnd=function(S,a){typeof S=="object"?(this.end.column=S.column,this.end.row=S.row):(this.end.row=S,this.end.column=a)},M.prototype.inside=function(S,a){return this.compare(S,a)==0?!(this.isEnd(S,a)||this.isStart(S,a)):!1},M.prototype.insideStart=function(S,a){return this.compare(S,a)==0?!this.isEnd(S,a):!1},M.prototype.insideEnd=function(S,a){return this.compare(S,a)==0?!this.isStart(S,a):!1},M.prototype.compare=function(S,a){return!this.isMultiLine()&&S===this.start.row?a<this.start.column?-1:a>this.end.column?1:0:S<this.start.row?-1:S>this.end.row?1:this.start.row===S?a>=this.start.column?0:-1:this.end.row===S?a<=this.end.column?0:1:0},M.prototype.compareStart=function(S,a){return this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.compareEnd=function(S,a){return this.end.row==S&&this.end.column==a?1:this.compare(S,a)},M.prototype.compareInside=function(S,a){return this.end.row==S&&this.end.column==a?1:this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.clipRows=function(S,a){if(this.end.row>a)var c={row:a+1,column:0};else if(this.end.row<S)var c={row:S,column:0};if(this.start.row>a)var o={row:a+1,column:0};else if(this.start.row<S)var o={row:S,column:0};return M.fromPoints(o||this.start,c||this.end)},M.prototype.extend=function(S,a){var c=this.compare(S,a);if(c==0)return this;if(c==-1)var o={row:S,column:a};else var i={row:S,column:a};return M.fromPoints(o||this.start,i||this.end)},M.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},M.prototype.isMultiLine=function(){return this.start.row!==this.end.row},M.prototype.clone=function(){return M.fromPoints(this.start,this.end)},M.prototype.collapseRows=function(){return this.end.column==0?new M(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new M(this.start.row,0,this.end.row,0)},M.prototype.toScreenRange=function(S){var a=S.documentToScreenPosition(this.start),c=S.documentToScreenPosition(this.end);return new M(a.row,a.column,c.row,c.column)},M.prototype.moveBy=function(S,a){this.start.row+=S,this.start.column+=a,this.end.row+=S,this.end.column+=a},M}();T.fromPoints=function(M,S){return new T(M.row,M.column,S.row,S.column)},T.comparePoints=function(M,S){return M.row-S.row||M.column-S.column},x.Range=T}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(I,x,H){for(var T=I("./oop"),M={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete","-13":"NumpadEnter",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",59:";",61:"=",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},S={Command:224,Backspace:8,Tab:9,Return:13,Enter:13,Pause:19,Escape:27,PageUp:33,PageDown:34,End:35,Home:36,Insert:45,Delete:46,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Backquote:192,Minus:189,Equal:187,BracketLeft:219,Backslash:220,BracketRight:221,Semicolon:186,Quote:222,Comma:188,Period:190,Slash:191,Space:32,NumpadAdd:107,NumpadDecimal:110,NumpadSubtract:109,NumpadDivide:111,NumpadMultiply:106},a=0;a<10;a++)S["Digit"+a]=48+a,S["Numpad"+a]=96+a,M.PRINTABLE_KEYS[48+a]=""+a,M.FUNCTION_KEYS[96+a]="Numpad"+a;for(var a=65;a<91;a++){var c=String.fromCharCode(a+32);S["Key"+c.toUpperCase()]=a,M.PRINTABLE_KEYS[a]=c}for(var a=1;a<13;a++)S["F"+a]=111+a,M.FUNCTION_KEYS[111+a]="F"+a;var o={Shift:16,Control:17,Alt:18,Meta:224};for(var i in o)S[i]=S[i+"Left"]=S[i+"Right"]=o[i];x.$codeToKeyCode=S,M.PRINTABLE_KEYS[173]="-";for(var n in M.FUNCTION_KEYS){var t=M.FUNCTION_KEYS[n].toLowerCase();M[t]=parseInt(n,10)}for(var n in M.PRINTABLE_KEYS){var t=M.PRINTABLE_KEYS[n].toLowerCase();M[t]=parseInt(n,10)}T.mixin(M,M.MODIFIER_KEYS),T.mixin(M,M.PRINTABLE_KEYS),T.mixin(M,M.FUNCTION_KEYS),M.enter=M.return,M.escape=M.esc,M.del=M.delete,function(){for(var e=["cmd","ctrl","alt","shift"],r=Math.pow(2,e.length);r--;)M.KEY_MODS[r]=e.filter(function(s){return r&M.KEY_MODS[s]}).join("-")+"-"}(),M.KEY_MODS[0]="",M.KEY_MODS[-1]="input-",T.mixin(x,M),x.default=x,x.keyCodeToString=function(e){var r=M[e];return typeof r!="string"&&(r=String.fromCharCode(e)),r.toLowerCase()}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(I,x,H){var T=I("./keys"),M=I("./useragent"),S=null,a=0,c;function o(){c=!1;try{document.createComment("").addEventListener("test",function(){},{get passive(){return c={passive:!1},!0}})}catch{}}function i(){return c==null&&o(),c}function n(b,m,g){this.elem=b,this.type=m,this.callback=g}n.prototype.destroy=function(){e(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var t=x.addListener=function(b,m,g,d){b.addEventListener(m,g,i()),d&&d.$toDestroy.push(new n(b,m,g))},e=x.removeListener=function(b,m,g){b.removeEventListener(m,g,i())};x.stopEvent=function(b){return x.stopPropagation(b),x.preventDefault(b),!1},x.stopPropagation=function(b){b.stopPropagation&&b.stopPropagation()},x.preventDefault=function(b){b.preventDefault&&b.preventDefault()},x.getButton=function(b){return b.type=="dblclick"?0:b.type=="contextmenu"||M.isMac&&b.ctrlKey&&!b.altKey&&!b.shiftKey?2:b.button},x.capture=function(b,m,g){var d=b&&b.ownerDocument||document;function C(k){m&&m(k),g&&g(k),e(d,"mousemove",m),e(d,"mouseup",C),e(d,"dragstart",C)}return t(d,"mousemove",m),t(d,"mouseup",C),t(d,"dragstart",C),C},x.addMouseWheelListener=function(b,m,g){t(b,"wheel",function(d){var C=.15,k=d.deltaX||0,A=d.deltaY||0;switch(d.deltaMode){case d.DOM_DELTA_PIXEL:d.wheelX=k*C,d.wheelY=A*C;break;case d.DOM_DELTA_LINE:var $=15;d.wheelX=k*$,d.wheelY=A*$;break;case d.DOM_DELTA_PAGE:var w=150;d.wheelX=k*w,d.wheelY=A*w;break}m(d)},g)},x.addMultiMouseDownListener=function(b,m,g,d,C){var k=0,A,$,w,f={2:"dblclick",3:"tripleclick",4:"quadclick"};function p(h){if(x.getButton(h)!==0?k=0:h.detail>1?(k++,k>4&&(k=1)):k=1,M.isIE){var v=Math.abs(h.clientX-A)>5||Math.abs(h.clientY-$)>5;(!w||v)&&(k=1),w&&clearTimeout(w),w=setTimeout(function(){w=null},m[k-1]||600),k==1&&(A=h.clientX,$=h.clientY)}if(h._clicks=k,g[d]("mousedown",h),k>4)k=0;else if(k>1)return g[d](f[k],h)}Array.isArray(b)||(b=[b]),b.forEach(function(h){t(h,"mousedown",p,C)})};function r(b){return 0|(b.ctrlKey?1:0)|(b.altKey?2:0)|(b.shiftKey?4:0)|(b.metaKey?8:0)}x.getModifierString=function(b){return T.KEY_MODS[r(b)]};function s(b,m,g){var d=r(m);if(!g&&m.code&&(g=T.$codeToKeyCode[m.code]||g),!M.isMac&&S){if(m.getModifierState&&(m.getModifierState("OS")||m.getModifierState("Win"))&&(d|=8),S.altGr)if((3&d)!=3)S.altGr=0;else return;if(g===18||g===17){var C=m.location;if(g===17&&C===1)S[g]==1&&(a=m.timeStamp);else if(g===18&&d===3&&C===2){var k=m.timeStamp-a;k<50&&(S.altGr=!0)}}}if(g in T.MODIFIER_KEYS&&(g=-1),!(!d&&g===13&&m.location===3&&(b(m,d,-g),m.defaultPrevented))){if(M.isChromeOS&&d&8){if(b(m,d,g),m.defaultPrevented)return;d&=-9}return!d&&!(g in T.FUNCTION_KEYS)&&!(g in T.PRINTABLE_KEYS)?!1:b(m,d,g)}}x.addCommandKeyListener=function(b,m,g){var d=null;t(b,"keydown",function(C){S[C.keyCode]=(S[C.keyCode]||0)+1;var k=s(m,C,C.keyCode);return d=C.defaultPrevented,k},g),t(b,"keypress",function(C){d&&(C.ctrlKey||C.altKey||C.shiftKey||C.metaKey)&&(x.stopEvent(C),d=null)},g),t(b,"keyup",function(C){S[C.keyCode]=null},g),S||(l(),t(window,"focus",l))};function l(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!M.isOldIE){var u=1;x.nextTick=function(b,m){m=m||window;var g="zero-timeout-message-"+u++,d=function(C){C.data==g&&(x.stopPropagation(C),e(m,"message",d),b())};t(m,"message",d),m.postMessage(g,"*")}}x.$idleBlocked=!1,x.onIdle=function(b,m){return setTimeout(function g(){x.$idleBlocked?setTimeout(g,100):b()},m)},x.$idleBlockId=null,x.blockIdle=function(b){x.$idleBlockId&&clearTimeout(x.$idleBlockId),x.$idleBlocked=!0,x.$idleBlockId=setTimeout(function(){x.$idleBlocked=!1},b||100)},x.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),x.nextFrame?x.nextFrame=x.nextFrame.bind(window):x.nextFrame=function(b){setTimeout(b,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(I,x,H){var T;H.exports={lineMode:!1,pasteCancelled:function(){return T&&T>Date.now()-50?!0:T=!1},cancel:function(){T=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(I,x,H){var T=I("../lib/event"),M=I("../config").nls,S=I("../lib/useragent"),a=I("../lib/dom"),c=I("../lib/lang"),o=I("../clipboard"),i=S.isChrome<18,n=S.isIE,t=S.isChrome>63,e=400,r=I("../lib/keys"),s=r.KEY_MODS,l=S.isIOS,u=l?/\s/:/\n/,b=S.isMobile,m;m=function(g,d){var C=a.createElement("textarea");C.className="ace_text-input",C.setAttribute("wrap","off"),C.setAttribute("autocorrect","off"),C.setAttribute("autocapitalize","off"),C.setAttribute("spellcheck","false"),C.style.opacity="0",g.insertBefore(C,g.firstChild);var k=!1,A=!1,$=!1,w=!1,f="";b||(C.style.fontSize="1px");var p=!1,h=!1,v="",y=0,L=0,E=0,R=Number.MAX_SAFE_INTEGER,_=Number.MIN_SAFE_INTEGER,W=0;try{var F=document.activeElement===C}catch{}this.setNumberOfExtraLines=function(z){if(R=Number.MAX_SAFE_INTEGER,_=Number.MIN_SAFE_INTEGER,z<0){W=0;return}W=z},this.setAriaOptions=function(z){if(z.activeDescendant?(C.setAttribute("aria-haspopup","true"),C.setAttribute("aria-autocomplete",z.inline?"both":"list"),C.setAttribute("aria-activedescendant",z.activeDescendant)):(C.setAttribute("aria-haspopup","false"),C.setAttribute("aria-autocomplete","both"),C.removeAttribute("aria-activedescendant")),z.role&&C.setAttribute("role",z.role),z.setLabel){C.setAttribute("aria-roledescription",M("text-input.aria-roledescription","editor"));var P="";if(d.$textInputAriaLabel&&(P+="".concat(d.$textInputAriaLabel,", ")),d.session){var Y=d.session.selection.cursor.row;P+=M("text-input.aria-label","Cursor at row $0",[Y+1])}C.setAttribute("aria-label",P)}},this.setAriaOptions({role:"textbox"}),T.addListener(C,"blur",function(z){h||(d.onBlur(z),F=!1)},d),T.addListener(C,"focus",function(z){if(!h){if(F=!0,S.isEdge)try{if(!document.hasFocus())return}catch{}d.onFocus(z),S.isEdge?setTimeout(N):N()}},d),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:d.renderer.enableKeyboardAccessibility}),f||t||this.$focusScroll=="browser")return C.focus({preventScroll:!0});var z=C.style.top;C.style.position="fixed",C.style.top="0px";try{var P=C.getBoundingClientRect().top!=0}catch{return}var Y=[];if(P)for(var X=C.parentElement;X&&X.nodeType==1;)Y.push(X),X.setAttribute("ace_nocontext","true"),!X.parentElement&&X.getRootNode?X=X.getRootNode().host:X=X.parentElement;C.focus({preventScroll:!0}),P&&Y.forEach(function(Q){Q.removeAttribute("ace_nocontext")}),setTimeout(function(){C.style.position="",C.style.top=="0px"&&(C.style.top=z)},0)},this.blur=function(){C.blur()},this.isFocused=function(){return F},d.on("beforeEndOperation",function(){var z=d.curOp,P=z&&z.command&&z.command.name;if(P!="insertstring"){var Y=P&&(z.docChanged||z.selectionChanged);$&&Y&&(v=C.value="",ce()),N()}});var D=function(z,P){for(var Y=P,X=1;X<=z-R&&X<2*W+1;X++)Y+=d.session.getLine(z-X).length+1;return Y},N=l?function(z){if(!(!F||k&&!z||w)){z||(z="");var P=`
166
+ `}),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(I,x,H){x.isDark=!1,x.cssClass="ace-tm",x.cssText=I("./textmate-css"),x.$id="ace/theme/textmate";var T=I("../lib/dom");T.importCssString(x.cssText,x.cssClass,!1)}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/net","ace/lib/dom","ace/lib/app_config","ace/theme/textmate"],function(I,x,H){"no use strict";var T=I("./lib/lang"),M=I("./lib/net"),S=I("./lib/dom"),a=I("./lib/app_config").AppConfig;H.exports=x=new a;var c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{},loadWorkerFromBlob:!0,sharedPopups:!1,useStrictCSP:null};x.get=function(t){if(!c.hasOwnProperty(t))throw new Error("Unknown config key: "+t);return c[t]},x.set=function(t,e){if(c.hasOwnProperty(t))c[t]=e;else if(this.setDefaultValue("",t,e)==!1)throw new Error("Unknown config key: "+t);t=="useStrictCSP"&&S.useStrictCSP(e)},x.all=function(){return T.copyObject(c)},x.$modes={},x.moduleUrl=function(t,e){if(c.$moduleUrls[t])return c.$moduleUrls[t];var r=t.split("/");e=e||r[r.length-2]||"";var s=e=="snippets"?"/":"-",l=r[r.length-1];if(e=="worker"&&s=="-"){var u=new RegExp("^"+e+"[\\-_]|[\\-_]"+e+"$","g");l=l.replace(u,"")}(!l||l==e)&&r.length>1&&(l=r[r.length-2]);var b=c[e+"Path"];return b==null?b=c.basePath:s=="/"&&(e=s=""),b&&b.slice(-1)!="/"&&(b+="/"),b+e+s+l+this.get("suffix")},x.setModuleUrl=function(t,e){return c.$moduleUrls[t]=e};var o=function(t,e){if(t==="ace/theme/textmate"||t==="./theme/textmate")return e(null,I("./theme/textmate"));if(i)return i(t,e);console.error("loader is not configured")},i;x.setLoader=function(t){i=t},x.dynamicModules=Object.create(null),x.$loading={},x.$loaded={},x.loadModule=function(t,e){var r;if(Array.isArray(t))var s=t[0],l=t[1];else if(typeof t=="string")var l=t;var u=function(b){if(b&&!x.$loading[l])return e&&e(b);if(x.$loading[l]||(x.$loading[l]=[]),x.$loading[l].push(e),!(x.$loading[l].length>1)){var m=function(){o(l,function(g,d){d&&(x.$loaded[l]=d),x._emit("load.module",{name:l,module:d});var C=x.$loading[l];x.$loading[l]=null,C.forEach(function(k){k&&k(d)})})};if(!x.get("packaged"))return m();M.loadScript(x.moduleUrl(l,s),m),n()}};if(x.dynamicModules[l])x.dynamicModules[l]().then(function(b){b.default?u(b.default):u(b)});else{try{r=this.$require(l)}catch{}u(r||x.$loaded[l])}},x.$require=function(t){if(typeof H.require=="function"){var e="require";return H[e](t)}},x.setModuleLoader=function(t,e){x.dynamicModules[t]=e};var n=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};x.version="1.36.2"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(I,x,H){I("./lib/fixoldbrowsers");var T=I("./config");T.setLoader(function(c,o){I([c],function(i){o(null,i)})});var M=function(){return this||typeof window<"u"&&window}();H.exports=function(c){T.init=S,T.$require=I,c.require=I},S(!0);function S(c){if(!(!M||!M.document)){T.set("packaged",c||I.packaged||H.packaged||M.define&&(void 0).packaged);var o={},i="",n=document.currentScript||document._currentScript,t=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var e=t.getElementsByTagName("script"),r=0;r<e.length;r++){var s=e[r],l=s.src||s.getAttribute("src");if(l){for(var u=s.attributes,b=0,m=u.length;b<m;b++){var g=u[b];g.name.indexOf("data-ace-")===0&&(o[a(g.name.replace(/^data-ace-/,""))]=g.value)}var d=l.match(/^(.*)\/ace([\-.]\w+)?\.js(\?|$)/);d&&(i=d[1])}}i&&(o.base=o.base||i,o.packaged=!0),o.basePath=o.base,o.workerPath=o.workerPath||o.base,o.modePath=o.modePath||o.base,o.themePath=o.themePath||o.base,delete o.base;for(var C in o)typeof o[C]<"u"&&T.set(C,o[C])}}function a(c){return c.replace(/-(.)/g,function(o,i){return i.toUpperCase()})}}),ace.define("ace/range",["require","exports","module"],function(I,x,H){var T=function(){function M(S,a,c,o){this.start={row:S,column:a},this.end={row:c,column:o}}return M.prototype.isEqual=function(S){return this.start.row===S.start.row&&this.end.row===S.end.row&&this.start.column===S.start.column&&this.end.column===S.end.column},M.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},M.prototype.contains=function(S,a){return this.compare(S,a)==0},M.prototype.compareRange=function(S){var a,c=S.end,o=S.start;return a=this.compare(c.row,c.column),a==1?(a=this.compare(o.row,o.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(o.row,o.column),a==-1?-1:a==1?42:0)},M.prototype.comparePoint=function(S){return this.compare(S.row,S.column)},M.prototype.containsRange=function(S){return this.comparePoint(S.start)==0&&this.comparePoint(S.end)==0},M.prototype.intersects=function(S){var a=this.compareRange(S);return a==-1||a==0||a==1},M.prototype.isEnd=function(S,a){return this.end.row==S&&this.end.column==a},M.prototype.isStart=function(S,a){return this.start.row==S&&this.start.column==a},M.prototype.setStart=function(S,a){typeof S=="object"?(this.start.column=S.column,this.start.row=S.row):(this.start.row=S,this.start.column=a)},M.prototype.setEnd=function(S,a){typeof S=="object"?(this.end.column=S.column,this.end.row=S.row):(this.end.row=S,this.end.column=a)},M.prototype.inside=function(S,a){return this.compare(S,a)==0?!(this.isEnd(S,a)||this.isStart(S,a)):!1},M.prototype.insideStart=function(S,a){return this.compare(S,a)==0?!this.isEnd(S,a):!1},M.prototype.insideEnd=function(S,a){return this.compare(S,a)==0?!this.isStart(S,a):!1},M.prototype.compare=function(S,a){return!this.isMultiLine()&&S===this.start.row?a<this.start.column?-1:a>this.end.column?1:0:S<this.start.row?-1:S>this.end.row?1:this.start.row===S?a>=this.start.column?0:-1:this.end.row===S?a<=this.end.column?0:1:0},M.prototype.compareStart=function(S,a){return this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.compareEnd=function(S,a){return this.end.row==S&&this.end.column==a?1:this.compare(S,a)},M.prototype.compareInside=function(S,a){return this.end.row==S&&this.end.column==a?1:this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.clipRows=function(S,a){if(this.end.row>a)var c={row:a+1,column:0};else if(this.end.row<S)var c={row:S,column:0};if(this.start.row>a)var o={row:a+1,column:0};else if(this.start.row<S)var o={row:S,column:0};return M.fromPoints(o||this.start,c||this.end)},M.prototype.extend=function(S,a){var c=this.compare(S,a);if(c==0)return this;if(c==-1)var o={row:S,column:a};else var i={row:S,column:a};return M.fromPoints(o||this.start,i||this.end)},M.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},M.prototype.isMultiLine=function(){return this.start.row!==this.end.row},M.prototype.clone=function(){return M.fromPoints(this.start,this.end)},M.prototype.collapseRows=function(){return this.end.column==0?new M(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new M(this.start.row,0,this.end.row,0)},M.prototype.toScreenRange=function(S){var a=S.documentToScreenPosition(this.start),c=S.documentToScreenPosition(this.end);return new M(a.row,a.column,c.row,c.column)},M.prototype.moveBy=function(S,a){this.start.row+=S,this.start.column+=a,this.end.row+=S,this.end.column+=a},M}();T.fromPoints=function(M,S){return new T(M.row,M.column,S.row,S.column)},T.comparePoints=function(M,S){return M.row-S.row||M.column-S.column},x.Range=T}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(I,x,H){for(var T=I("./oop"),M={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete","-13":"NumpadEnter",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",59:";",61:"=",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},S={Command:224,Backspace:8,Tab:9,Return:13,Enter:13,Pause:19,Escape:27,PageUp:33,PageDown:34,End:35,Home:36,Insert:45,Delete:46,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Backquote:192,Minus:189,Equal:187,BracketLeft:219,Backslash:220,BracketRight:221,Semicolon:186,Quote:222,Comma:188,Period:190,Slash:191,Space:32,NumpadAdd:107,NumpadDecimal:110,NumpadSubtract:109,NumpadDivide:111,NumpadMultiply:106},a=0;a<10;a++)S["Digit"+a]=48+a,S["Numpad"+a]=96+a,M.PRINTABLE_KEYS[48+a]=""+a,M.FUNCTION_KEYS[96+a]="Numpad"+a;for(var a=65;a<91;a++){var c=String.fromCharCode(a+32);S["Key"+c.toUpperCase()]=a,M.PRINTABLE_KEYS[a]=c}for(var a=1;a<13;a++)S["F"+a]=111+a,M.FUNCTION_KEYS[111+a]="F"+a;var o={Shift:16,Control:17,Alt:18,Meta:224};for(var i in o)S[i]=S[i+"Left"]=S[i+"Right"]=o[i];x.$codeToKeyCode=S,M.PRINTABLE_KEYS[173]="-";for(var n in M.FUNCTION_KEYS){var t=M.FUNCTION_KEYS[n].toLowerCase();M[t]=parseInt(n,10)}for(var n in M.PRINTABLE_KEYS){var t=M.PRINTABLE_KEYS[n].toLowerCase();M[t]=parseInt(n,10)}T.mixin(M,M.MODIFIER_KEYS),T.mixin(M,M.PRINTABLE_KEYS),T.mixin(M,M.FUNCTION_KEYS),M.enter=M.return,M.escape=M.esc,M.del=M.delete,function(){for(var e=["cmd","ctrl","alt","shift"],r=Math.pow(2,e.length);r--;)M.KEY_MODS[r]=e.filter(function(s){return r&M.KEY_MODS[s]}).join("-")+"-"}(),M.KEY_MODS[0]="",M.KEY_MODS[-1]="input-",T.mixin(x,M),x.default=x,x.keyCodeToString=function(e){var r=M[e];return typeof r!="string"&&(r=String.fromCharCode(e)),r.toLowerCase()}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(I,x,H){var T=I("./keys"),M=I("./useragent"),S=null,a=0,c;function o(){c=!1;try{document.createComment("").addEventListener("test",function(){},{get passive(){return c={passive:!1},!0}})}catch{}}function i(){return c==null&&o(),c}function n(b,m,g){this.elem=b,this.type=m,this.callback=g}n.prototype.destroy=function(){e(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var t=x.addListener=function(b,m,g,d){b.addEventListener(m,g,i()),d&&d.$toDestroy.push(new n(b,m,g))},e=x.removeListener=function(b,m,g){b.removeEventListener(m,g,i())};x.stopEvent=function(b){return x.stopPropagation(b),x.preventDefault(b),!1},x.stopPropagation=function(b){b.stopPropagation&&b.stopPropagation()},x.preventDefault=function(b){b.preventDefault&&b.preventDefault()},x.getButton=function(b){return b.type=="dblclick"?0:b.type=="contextmenu"||M.isMac&&b.ctrlKey&&!b.altKey&&!b.shiftKey?2:b.button},x.capture=function(b,m,g){var d=b&&b.ownerDocument||document;function C(k){m&&m(k),g&&g(k),e(d,"mousemove",m),e(d,"mouseup",C),e(d,"dragstart",C)}return t(d,"mousemove",m),t(d,"mouseup",C),t(d,"dragstart",C),C},x.addMouseWheelListener=function(b,m,g){t(b,"wheel",function(d){var C=.15,k=d.deltaX||0,A=d.deltaY||0;switch(d.deltaMode){case d.DOM_DELTA_PIXEL:d.wheelX=k*C,d.wheelY=A*C;break;case d.DOM_DELTA_LINE:var $=15;d.wheelX=k*$,d.wheelY=A*$;break;case d.DOM_DELTA_PAGE:var w=150;d.wheelX=k*w,d.wheelY=A*w;break}m(d)},g)},x.addMultiMouseDownListener=function(b,m,g,d,C){var k=0,A,$,w,f={2:"dblclick",3:"tripleclick",4:"quadclick"};function p(h){if(x.getButton(h)!==0?k=0:h.detail>1?(k++,k>4&&(k=1)):k=1,M.isIE){var v=Math.abs(h.clientX-A)>5||Math.abs(h.clientY-$)>5;(!w||v)&&(k=1),w&&clearTimeout(w),w=setTimeout(function(){w=null},m[k-1]||600),k==1&&(A=h.clientX,$=h.clientY)}if(h._clicks=k,g[d]("mousedown",h),k>4)k=0;else if(k>1)return g[d](f[k],h)}Array.isArray(b)||(b=[b]),b.forEach(function(h){t(h,"mousedown",p,C)})};function r(b){return 0|(b.ctrlKey?1:0)|(b.altKey?2:0)|(b.shiftKey?4:0)|(b.metaKey?8:0)}x.getModifierString=function(b){return T.KEY_MODS[r(b)]};function s(b,m,g){var d=r(m);if(!g&&m.code&&(g=T.$codeToKeyCode[m.code]||g),!M.isMac&&S){if(m.getModifierState&&(m.getModifierState("OS")||m.getModifierState("Win"))&&(d|=8),S.altGr)if((3&d)!=3)S.altGr=0;else return;if(g===18||g===17){var C=m.location;if(g===17&&C===1)S[g]==1&&(a=m.timeStamp);else if(g===18&&d===3&&C===2){var k=m.timeStamp-a;k<50&&(S.altGr=!0)}}}if(g in T.MODIFIER_KEYS&&(g=-1),!(!d&&g===13&&m.location===3&&(b(m,d,-g),m.defaultPrevented))){if(M.isChromeOS&&d&8){if(b(m,d,g),m.defaultPrevented)return;d&=-9}return!d&&!(g in T.FUNCTION_KEYS)&&!(g in T.PRINTABLE_KEYS)?!1:b(m,d,g)}}x.addCommandKeyListener=function(b,m,g){var d=null;t(b,"keydown",function(C){S[C.keyCode]=(S[C.keyCode]||0)+1;var k=s(m,C,C.keyCode);return d=C.defaultPrevented,k},g),t(b,"keypress",function(C){d&&(C.ctrlKey||C.altKey||C.shiftKey||C.metaKey)&&(x.stopEvent(C),d=null)},g),t(b,"keyup",function(C){S[C.keyCode]=null},g),S||(l(),t(window,"focus",l))};function l(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!M.isOldIE){var u=1;x.nextTick=function(b,m){m=m||window;var g="zero-timeout-message-"+u++,d=function(C){C.data==g&&(x.stopPropagation(C),e(m,"message",d),b())};t(m,"message",d),m.postMessage(g,"*")}}x.$idleBlocked=!1,x.onIdle=function(b,m){return setTimeout(function g(){x.$idleBlocked?setTimeout(g,100):b()},m)},x.$idleBlockId=null,x.blockIdle=function(b){x.$idleBlockId&&clearTimeout(x.$idleBlockId),x.$idleBlocked=!0,x.$idleBlockId=setTimeout(function(){x.$idleBlocked=!1},b||100)},x.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),x.nextFrame?x.nextFrame=x.nextFrame.bind(window):x.nextFrame=function(b){setTimeout(b,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(I,x,H){var T;H.exports={lineMode:!1,pasteCancelled:function(){return T&&T>Date.now()-50?!0:T=!1},cancel:function(){T=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(I,x,H){var T=I("../lib/event"),M=I("../config").nls,S=I("../lib/useragent"),a=I("../lib/dom"),c=I("../lib/lang"),o=I("../clipboard"),i=S.isChrome<18,n=S.isIE,t=S.isChrome>63,e=400,r=I("../lib/keys"),s=r.KEY_MODS,l=S.isIOS,u=l?/\s/:/\n/,b=S.isMobile,m;m=function(g,d){var C=a.createElement("textarea");C.className="ace_text-input",C.setAttribute("wrap","off"),C.setAttribute("autocorrect","off"),C.setAttribute("autocapitalize","off"),C.setAttribute("spellcheck","false"),C.style.opacity="0",g.insertBefore(C,g.firstChild);var k=!1,A=!1,$=!1,w=!1,f="";b||(C.style.fontSize="1px");var p=!1,h=!1,v="",y=0,L=0,E=0,R=Number.MAX_SAFE_INTEGER,_=Number.MIN_SAFE_INTEGER,W=0;try{var F=document.activeElement===C}catch{}this.setNumberOfExtraLines=function(z){if(R=Number.MAX_SAFE_INTEGER,_=Number.MIN_SAFE_INTEGER,z<0){W=0;return}W=z},this.setAriaOptions=function(z){if(z.activeDescendant?(C.setAttribute("aria-haspopup","true"),C.setAttribute("aria-autocomplete",z.inline?"both":"list"),C.setAttribute("aria-activedescendant",z.activeDescendant)):(C.setAttribute("aria-haspopup","false"),C.setAttribute("aria-autocomplete","both"),C.removeAttribute("aria-activedescendant")),z.role&&C.setAttribute("role",z.role),z.setLabel){C.setAttribute("aria-roledescription",M("text-input.aria-roledescription","editor"));var P="";if(d.$textInputAriaLabel&&(P+="".concat(d.$textInputAriaLabel,", ")),d.session){var Y=d.session.selection.cursor.row;P+=M("text-input.aria-label","Cursor at row $0",[Y+1])}C.setAttribute("aria-label",P)}},this.setAriaOptions({role:"textbox"}),T.addListener(C,"blur",function(z){h||(d.onBlur(z),F=!1)},d),T.addListener(C,"focus",function(z){if(!h){if(F=!0,S.isEdge)try{if(!document.hasFocus())return}catch{}d.onFocus(z),S.isEdge?setTimeout(N):N()}},d),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:d.renderer.enableKeyboardAccessibility}),f||t||this.$focusScroll=="browser")return C.focus({preventScroll:!0});var z=C.style.top;C.style.position="fixed",C.style.top="0px";try{var P=C.getBoundingClientRect().top!=0}catch{return}var Y=[];if(P)for(var X=C.parentElement;X&&X.nodeType==1;)Y.push(X),X.setAttribute("ace_nocontext","true"),!X.parentElement&&X.getRootNode?X=X.getRootNode().host:X=X.parentElement;C.focus({preventScroll:!0}),P&&Y.forEach(function(Q){Q.removeAttribute("ace_nocontext")}),setTimeout(function(){C.style.position="",C.style.top=="0px"&&(C.style.top=z)},0)},this.blur=function(){C.blur()},this.isFocused=function(){return F},d.on("beforeEndOperation",function(){var z=d.curOp,P=z&&z.command&&z.command.name;if(P!="insertstring"){var Y=P&&(z.docChanged||z.selectionChanged);$&&Y&&(v=C.value="",ce()),N()}});var D=function(z,P){for(var Y=P,X=1;X<=z-R&&X<2*W+1;X++)Y+=d.session.getLine(z-X).length+1;return Y},N=l?function(z){if(!(!F||k&&!z||w)){z||(z="");var P=`
167
167
  ab`+z+`cde fg
168
168
  `;P!=C.value&&(C.value=v=P);var Y=4,X=4+(z.length||(d.selection.isEmpty()?0:1));(y!=Y||L!=X)&&C.setSelectionRange(Y,X),y=Y,L=X}}:function(){if(!($||w)&&!(!F&&!V)){$=!0;var z=0,P=0,Y="";if(d.session){var X=d.selection,Q=X.getRange(),te=X.cursor.row;te===_+1?(R=_+1,_=R+2*W):te===R-1?(_=R-1,R=_-2*W):(te<R-1||te>_+1)&&(R=te>W?te-W:0,_=te>W?te+W:2*W);for(var ne=[],ie=R;ie<=_;ie++)ne.push(d.session.getLine(ie));if(Y=ne.join(`
169
169
  `),z=D(Q.start.row,Q.start.column),P=D(Q.end.row,Q.end.column),Q.start.row<R){var ee=d.session.getLine(R-1);z=Q.start.row<R-1?0:z,P+=ee.length+1,Y=ee+`
@@ -204,7 +204,7 @@ import{g as Se}from"./@xterm.Diz8y-up.0.0.19-alpha.5.js";function Ae(he,fe){for(
204
204
  `||h==`\r
205
205
  `){var N=y.getLine(E.row);if(E.column>N.search(/\S|$/)){var W=N.substr(E.column).search(/\S|$/);y.doc.removeInLine(E.row,E.column,E.column+W)}}this.clearSelection();var F=E.column,D=y.getState(E.row),N=y.getLine(E.row),O=L.checkOutdent(D,N,h);if(y.insert(E,h),R&&R.selection&&(R.selection.length==2?this.selection.setSelectionRange(new s(E.row,F+R.selection[0],E.row,F+R.selection[1])):this.selection.setSelectionRange(new s(E.row+R.selection[0],R.selection[1],E.row+R.selection[2],R.selection[3]))),this.$enableAutoIndent){if(y.getDocument().isNewLine(h)){var B=L.getNextLineIndent(D,N.slice(0,E.column),y.getTabString());y.insert({row:E.row+1,column:0},B)}O&&L.autoOutdent(D,y,E.row)}},p.prototype.autoIndent=function(){for(var h=this.session,v=h.getMode(),y=this.selection.isEmpty()?[new s(0,0,h.doc.getLength()-1,0)]:this.selection.getAllRanges(),L="",E="",R="",_=h.getTabString(),W=0;W<y.length;W++)for(var F=y[W].start.row,D=y[W].end.row,N=F;N<=D;N++){N>0&&(L=h.getState(N-1),E=h.getLine(N-1),R=v.getNextLineIndent(L,E,_));var O=h.getLine(N),B=v.$getIndent(O);if(R!==B){if(B.length>0){var G=new s(N,0,N,B.length);h.remove(G)}R.length>0&&h.insert({row:N,column:0},R)}v.autoOutdent(L,h,N)}},p.prototype.onTextInput=function(h,v){if(!v)return this.keyBinding.onTextInput(h);this.startOperation({command:{name:"insertstring"}});var y=this.applyComposition.bind(this,h,v);this.selection.rangeCount?this.forEachSelection(y):y(),this.endOperation()},p.prototype.applyComposition=function(h,v){if(v.extendLeft||v.extendRight){var y=this.selection.getRange();y.start.column-=v.extendLeft,y.end.column+=v.extendRight,y.start.column<0&&(y.start.row--,y.start.column+=this.session.getLine(y.start.row).length+1),this.selection.setRange(y),!h&&!y.isEmpty()&&this.remove()}if((h||!this.selection.isEmpty())&&this.insert(h,!0),v.restoreStart||v.restoreEnd){var y=this.selection.getRange();y.start.column-=v.restoreStart,y.end.column-=v.restoreEnd,this.selection.setRange(y)}},p.prototype.onCommandKey=function(h,v,y){return this.keyBinding.onCommandKey(h,v,y)},p.prototype.setOverwrite=function(h){this.session.setOverwrite(h)},p.prototype.getOverwrite=function(){return this.session.getOverwrite()},p.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},p.prototype.setScrollSpeed=function(h){this.setOption("scrollSpeed",h)},p.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},p.prototype.setDragDelay=function(h){this.setOption("dragDelay",h)},p.prototype.getDragDelay=function(){return this.getOption("dragDelay")},p.prototype.setSelectionStyle=function(h){this.setOption("selectionStyle",h)},p.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},p.prototype.setHighlightActiveLine=function(h){this.setOption("highlightActiveLine",h)},p.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},p.prototype.setHighlightGutterLine=function(h){this.setOption("highlightGutterLine",h)},p.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},p.prototype.setHighlightSelectedWord=function(h){this.setOption("highlightSelectedWord",h)},p.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},p.prototype.setAnimatedScroll=function(h){this.renderer.setAnimatedScroll(h)},p.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},p.prototype.setShowInvisibles=function(h){this.renderer.setShowInvisibles(h)},p.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},p.prototype.setDisplayIndentGuides=function(h){this.renderer.setDisplayIndentGuides(h)},p.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},p.prototype.setHighlightIndentGuides=function(h){this.renderer.setHighlightIndentGuides(h)},p.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},p.prototype.setShowPrintMargin=function(h){this.renderer.setShowPrintMargin(h)},p.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},p.prototype.setPrintMarginColumn=function(h){this.renderer.setPrintMarginColumn(h)},p.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},p.prototype.setReadOnly=function(h){this.setOption("readOnly",h)},p.prototype.getReadOnly=function(){return this.getOption("readOnly")},p.prototype.setBehavioursEnabled=function(h){this.setOption("behavioursEnabled",h)},p.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},p.prototype.setWrapBehavioursEnabled=function(h){this.setOption("wrapBehavioursEnabled",h)},p.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},p.prototype.setShowFoldWidgets=function(h){this.setOption("showFoldWidgets",h)},p.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},p.prototype.setFadeFoldWidgets=function(h){this.setOption("fadeFoldWidgets",h)},p.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},p.prototype.remove=function(h){this.selection.isEmpty()&&(h=="left"?this.selection.selectLeft():this.selection.selectRight());var v=this.getSelectionRange();if(this.getBehavioursEnabled()){var y=this.session,L=y.getState(v.start.row),E=y.getMode().transformAction(L,"deletion",this,y,v);if(v.end.column===0){var R=y.getTextRange(v);if(R[R.length-1]==`
206
206
  `){var _=y.getLine(v.end.row);/^\s+$/.test(_)&&(v.end.column=_.length)}}E&&(v=E)}this.session.remove(v),this.clearSelection()},p.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var h=this.getSelectionRange();h.start.column==h.end.column&&h.start.row==h.end.row&&(h.end.column=0,h.end.row++),this.session.remove(h),this.clearSelection()},p.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var h=this.getCursorPosition();this.insert(`
207
- `),this.moveCursorToPosition(h)},p.prototype.setGhostText=function(h,v){this.session.widgetManager||(this.session.widgetManager=new d(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(h,v)},p.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},p.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var h=this.getCursorPosition(),v=h.column;if(v!==0){var y=this.session.getLine(h.row),L,E;v<y.length?(L=y.charAt(v)+y.charAt(v-1),E=new s(h.row,v-1,h.row,v+1)):(L=y.charAt(v-1)+y.charAt(v-2),E=new s(h.row,v-2,h.row,v)),this.session.replace(E,L),this.session.selection.moveToPosition(E.end)}}},p.prototype.toLowerCase=function(){var h=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var v=this.getSelectionRange(),y=this.session.getTextRange(v);this.session.replace(v,y.toLowerCase()),this.selection.setSelectionRange(h)},p.prototype.toUpperCase=function(){var h=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var v=this.getSelectionRange(),y=this.session.getTextRange(v);this.session.replace(v,y.toUpperCase()),this.selection.setSelectionRange(h)},p.prototype.indent=function(){var h=this.session,v=this.getSelectionRange();if(v.start.row<v.end.row){var y=this.$getSelectedRows();h.indentRows(y.first,y.last," ");return}else if(v.start.column<v.end.column){var L=h.getTextRange(v);if(!/^\s+$/.test(L)){var y=this.$getSelectedRows();h.indentRows(y.first,y.last," ");return}}var E=h.getLine(v.start.row),R=v.start,_=h.getTabSize(),W=h.documentToScreenColumn(R.row,R.column);if(this.session.getUseSoftTabs())var F=_-W%_,D=a.stringRepeat(" ",F);else{for(var F=W%_;E[v.start.column-1]==" "&&F;)v.start.column--,F--;this.selection.setSelectionRange(v),D=" "}return this.insert(D)},p.prototype.blockIndent=function(){var h=this.$getSelectedRows();this.session.indentRows(h.first,h.last," ")},p.prototype.blockOutdent=function(){var h=this.session.getSelection();this.session.outdentRows(h.getRange())},p.prototype.sortLines=function(){for(var h=this.$getSelectedRows(),v=this.session,y=[],L=h.first;L<=h.last;L++)y.push(v.getLine(L));y.sort(function(_,W){return _.toLowerCase()<W.toLowerCase()?-1:_.toLowerCase()>W.toLowerCase()?1:0});for(var E=new s(0,0,0,0),L=h.first;L<=h.last;L++){var R=v.getLine(L);E.start.row=L,E.end.row=L,E.end.column=R.length,v.replace(E,y[L-h.first])}},p.prototype.toggleCommentLines=function(){var h=this.session.getState(this.getCursorPosition().row),v=this.$getSelectedRows();this.session.getMode().toggleCommentLines(h,this.session,v.first,v.last)},p.prototype.toggleBlockComment=function(){var h=this.getCursorPosition(),v=this.session.getState(h.row),y=this.getSelectionRange();this.session.getMode().toggleBlockComment(v,this.session,y,h)},p.prototype.getNumberAt=function(h,v){var y=/[\-]?[0-9]+(?:\.[0-9]+)?/g;y.lastIndex=0;for(var L=this.session.getLine(h);y.lastIndex<v;){var E=y.exec(L);if(E.index<=v&&E.index+E[0].length>=v){var R={value:E[0],start:E.index,end:E.index+E[0].length};return R}}return null},p.prototype.modifyNumber=function(h){var v=this.selection.getCursor().row,y=this.selection.getCursor().column,L=new s(v,y-1,v,y),E=this.session.getTextRange(L);if(!isNaN(parseFloat(E))&&isFinite(E)){var R=this.getNumberAt(v,y);if(R){var _=R.value.indexOf(".")>=0?R.start+R.value.indexOf(".")+1:R.end,W=R.start+R.value.length-_,F=parseFloat(R.value);F*=Math.pow(10,W),_!==R.end&&y<_?h*=Math.pow(10,R.end-y-1):h*=Math.pow(10,R.end-y),F+=h,F/=Math.pow(10,W);var D=F.toFixed(W),N=new s(v,R.start,v,R.end);this.session.replace(N,D),this.moveCursorTo(v,Math.max(R.start+1,y+D.length-R.value.length))}}else this.toggleWord()},p.prototype.toggleWord=function(){var h=this.selection.getCursor().row,v=this.selection.getCursor().column;this.selection.selectWord();var y=this.getSelectedText(),L=this.selection.getWordRange().start.column,E=y.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),R=v-L-1;R<0&&(R=0);var _=0,W=0,F=this;y.match(/[A-Za-z0-9_]+/)&&E.forEach(function(Z,K){W=_+Z.length,R>=_&&R<=W&&(y=Z,F.selection.clearSelection(),F.moveCursorTo(h,_+L),F.selection.selectTo(h,W+L)),_=W});for(var D=this.$toggleWordPairs,N,O=0;O<D.length;O++)for(var B=D[O],G=0;G<=1;G++){var V=+!G,U=y.match(new RegExp("^\\s?_?("+a.escapeRegExp(B[G])+")\\s?$","i"));if(U){var j=y.match(new RegExp("([_]|^|\\s)("+a.escapeRegExp(U[1])+")($|\\s)","g"));j&&(N=y.replace(new RegExp(a.escapeRegExp(B[G]),"i"),function(Z){var K=B[V];return Z.toUpperCase()==Z?K=K.toUpperCase():Z.charAt(0).toUpperCase()==Z.charAt(0)&&(K=K.substr(0,0)+B[V].charAt(0).toUpperCase()+K.substr(1)),K}),this.insert(N),N="")}}},p.prototype.findLinkAt=function(h,v){var y,L,E=this.session.getLine(h),R=E.split(/((?:https?|ftp):\/\/[\S]+)/),_=v;_<0&&(_=0);var W=0,F=0,D;try{for(var N=T(R),O=N.next();!O.done;O=N.next()){var B=O.value;if(F=W+B.length,_>=W&&_<=F&&B.match(/((?:https?|ftp):\/\/[\S]+)/)){D=B.replace(/[\s:.,'";}\]]+$/,"");break}W=F}}catch(G){y={error:G}}finally{try{O&&!O.done&&(L=N.return)&&L.call(N)}finally{if(y)throw y.error}}return D},p.prototype.openLink=function(){var h=this.selection.getCursor(),v=this.findLinkAt(h.row,h.column);return v&&window.open(v,"_blank"),v!=null},p.prototype.removeLines=function(){var h=this.$getSelectedRows();this.session.removeFullLines(h.first,h.last),this.clearSelection()},p.prototype.duplicateSelection=function(){var h=this.selection,v=this.session,y=h.getRange(),L=h.isBackwards();if(y.isEmpty()){var E=y.start.row;v.duplicateLines(E,E)}else{var R=L?y.start:y.end,_=v.insert(R,v.getTextRange(y));y.start=R,y.end=_,h.setSelectionRange(y,L)}},p.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},p.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},p.prototype.moveText=function(h,v,y){return this.session.moveText(h,v,y)},p.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},p.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},p.prototype.$moveLines=function(h,v){var y,L,E=this.selection;if(!E.inMultiSelectMode||this.inVirtualSelectionMode){var R=E.toOrientedRange();y=this.$getSelectedRows(R),L=this.session.$moveLines(y.first,y.last,v?0:h),v&&h==-1&&(L=0),R.moveBy(L,0),E.fromOrientedRange(R)}else{var _=E.rangeList.ranges;E.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var W=0,F=0,D=_.length,N=0;N<D;N++){var O=N;_[N].moveBy(W,0),y=this.$getSelectedRows(_[N]);for(var B=y.first,G=y.last;++N<D;){F&&_[N].moveBy(F,0);var V=this.$getSelectedRows(_[N]);if(v&&V.first!=G)break;if(!v&&V.first>G+1)break;G=V.last}for(N--,W=this.session.$moveLines(B,G,v?0:h),v&&h==-1&&(O=N+1);O<=N;)_[O].moveBy(W,0),O++;v||(W=0),F+=W}E.fromOrientedRange(E.ranges[0]),E.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},p.prototype.$getSelectedRows=function(h){return h=(h||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(h.start.row),last:this.session.getRowFoldEnd(h.end.row)}},p.prototype.onCompositionStart=function(h){this.renderer.showComposition(h)},p.prototype.onCompositionUpdate=function(h){this.renderer.setCompositionText(h)},p.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},p.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},p.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},p.prototype.isRowVisible=function(h){return h>=this.getFirstVisibleRow()&&h<=this.getLastVisibleRow()},p.prototype.isRowFullyVisible=function(h){return h>=this.renderer.getFirstFullyVisibleRow()&&h<=this.renderer.getLastFullyVisibleRow()},p.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},p.prototype.$moveByPage=function(h,v){var y=this.renderer,L=this.renderer.layerConfig,E=h*Math.floor(L.height/L.lineHeight);v===!0?this.selection.$moveSelection(function(){this.moveCursorBy(E,0)}):v===!1&&(this.selection.moveCursorBy(E,0),this.selection.clearSelection());var R=y.scrollTop;y.scrollBy(0,E*L.lineHeight),v!=null&&y.scrollCursorIntoView(null,.5),y.animateScrolling(R)},p.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},p.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},p.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},p.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},p.prototype.scrollPageDown=function(){this.$moveByPage(1)},p.prototype.scrollPageUp=function(){this.$moveByPage(-1)},p.prototype.scrollToRow=function(h){this.renderer.scrollToRow(h)},p.prototype.scrollToLine=function(h,v,y,L){this.renderer.scrollToLine(h,v,y,L)},p.prototype.centerSelection=function(){var h=this.getSelectionRange(),v={row:Math.floor(h.start.row+(h.end.row-h.start.row)/2),column:Math.floor(h.start.column+(h.end.column-h.start.column)/2)};this.renderer.alignCursor(v,.5)},p.prototype.getCursorPosition=function(){return this.selection.getCursor()},p.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},p.prototype.getSelectionRange=function(){return this.selection.getRange()},p.prototype.selectAll=function(){this.selection.selectAll()},p.prototype.clearSelection=function(){this.selection.clearSelection()},p.prototype.moveCursorTo=function(h,v){this.selection.moveCursorTo(h,v)},p.prototype.moveCursorToPosition=function(h){this.selection.moveCursorToPosition(h)},p.prototype.jumpToMatching=function(h,v){var y=this.getCursorPosition(),L=new g(this.session,y.row,y.column),E=L.getCurrentToken(),R=0;E&&E.type.indexOf("tag-name")!==-1&&(E=L.stepBackward());var _=E||L.stepForward();if(_){var W,F=!1,D={},N=y.column-_.start,O,B={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(_.value.match(/[{}()\[\]]/g)){for(;N<_.value.length&&!F;N++)if(B[_.value[N]])switch(O=B[_.value[N]]+"."+_.type.replace("rparen","lparen"),isNaN(D[O])&&(D[O]=0),_.value[N]){case"(":case"[":case"{":D[O]++;break;case")":case"]":case"}":D[O]--,D[O]===-1&&(W="bracket",F=!0);break}}else _.type.indexOf("tag-name")!==-1&&(isNaN(D[_.value])&&(D[_.value]=0),E.value==="<"&&R>1?D[_.value]++:E.value==="</"&&D[_.value]--,D[_.value]===-1&&(W="tag",F=!0));F||(E=_,R++,_=L.stepForward(),N=0)}while(_&&!F);if(W){var G,V;if(W==="bracket")G=this.session.getBracketRange(y),G||(G=new s(L.getCurrentTokenRow(),L.getCurrentTokenColumn()+N-1,L.getCurrentTokenRow(),L.getCurrentTokenColumn()+N-1),V=G.start,(v||V.row===y.row&&Math.abs(V.column-y.column)<2)&&(G=this.session.getBracketRange(V)));else if(W==="tag"){if(!_||_.type.indexOf("tag-name")===-1)return;if(G=new s(L.getCurrentTokenRow(),L.getCurrentTokenColumn()-2,L.getCurrentTokenRow(),L.getCurrentTokenColumn()-2),G.compare(y.row,y.column)===0){var U=this.session.getMatchingTags(y);U&&(U.openTag.contains(y.row,y.column)?(G=U.closeTag,V=G.start):(G=U.openTag,U.closeTag.start.row===y.row&&U.closeTag.start.column===y.column?V=G.end:V=G.start))}V=V||G.start}V=G&&G.cursor||V,V&&(h?G&&v?this.selection.setRange(G):G&&G.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(V.row,V.column):this.selection.moveTo(V.row,V.column))}}},p.prototype.gotoLine=function(h,v,y){this.selection.clearSelection(),this.session.unfold({row:h-1,column:v||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(h-1,v||0),this.isRowFullyVisible(h-1)||this.scrollToLine(h-1,!0,y)},p.prototype.navigateTo=function(h,v){this.selection.moveTo(h,v)},p.prototype.navigateUp=function(h){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var v=this.selection.anchor.getPosition();return this.moveCursorToPosition(v)}this.selection.clearSelection(),this.selection.moveCursorBy(-h||-1,0)},p.prototype.navigateDown=function(h){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var v=this.selection.anchor.getPosition();return this.moveCursorToPosition(v)}this.selection.clearSelection(),this.selection.moveCursorBy(h||1,0)},p.prototype.navigateLeft=function(h){if(this.selection.isEmpty())for(h=h||1;h--;)this.selection.moveCursorLeft();else{var v=this.getSelectionRange().start;this.moveCursorToPosition(v)}this.clearSelection()},p.prototype.navigateRight=function(h){if(this.selection.isEmpty())for(h=h||1;h--;)this.selection.moveCursorRight();else{var v=this.getSelectionRange().end;this.moveCursorToPosition(v)}this.clearSelection()},p.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},p.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},p.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},p.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},p.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},p.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},p.prototype.replace=function(h,v){v&&this.$search.set(v);var y=this.$search.find(this.session),L=0;return y&&(this.$tryReplace(y,h)&&(L=1),this.selection.setSelectionRange(y),this.renderer.scrollSelectionIntoView(y.start,y.end)),L},p.prototype.replaceAll=function(h,v){v&&this.$search.set(v);var y=this.$search.findAll(this.session),L=0;if(!y.length)return L;var E=this.getSelectionRange();this.selection.moveTo(0,0);for(var R=y.length-1;R>=0;--R)this.$tryReplace(y[R],h)&&L++;return this.selection.setSelectionRange(E),L},p.prototype.$tryReplace=function(h,v){var y=this.session.getTextRange(h);return v=this.$search.replace(y,v),v!==null?(h.end=this.session.replace(h,v),h):null},p.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},p.prototype.find=function(h,v,y){v||(v={}),typeof h=="string"||h instanceof RegExp?v.needle=h:typeof h=="object"&&M.mixin(v,h);var L=this.selection.getRange();v.needle==null&&(h=this.session.getTextRange(L)||this.$search.$options.needle,h||(L=this.session.getWordRange(L.start.row,L.start.column),h=this.session.getTextRange(L)),this.$search.set({needle:h})),this.$search.set(v),v.start||this.$search.set({start:L});var E=this.$search.find(this.session);if(v.preventScroll)return E;if(E)return this.revealRange(E,y),E;v.backwards?L.start=L.end:L.end=L.start,this.selection.setRange(L)},p.prototype.findNext=function(h,v){this.find({skipCurrent:!0,backwards:!1},h,v)},p.prototype.findPrevious=function(h,v){this.find(h,{skipCurrent:!0,backwards:!0},v)},p.prototype.revealRange=function(h,v){this.session.unfold(h),this.selection.setSelectionRange(h);var y=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(h.start,h.end,.5),v!==!1&&this.renderer.animateScrolling(y)},p.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(h){h.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},p.prototype.setAutoScrollEditorIntoView=function(h){if(h){var v,y=this,L=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var E=this.$scrollAnchor;E.style.cssText="position:absolute",this.container.insertBefore(E,this.container.firstChild);var R=this.on("changeSelection",function(){L=!0}),_=this.renderer.on("beforeRender",function(){L&&(v=y.renderer.container.getBoundingClientRect())}),W=this.renderer.on("afterRender",function(){if(L&&v&&(y.isFocused()||y.searchBox&&y.searchBox.isFocused())){var F=y.renderer,D=F.$cursorLayer.$pixelPos,N=F.layerConfig,O=D.top-N.offset;D.top>=0&&O+v.top<0?L=!0:D.top<N.height&&D.top+v.top+N.lineHeight>window.innerHeight?L=!1:L=null,L!=null&&(E.style.top=O+"px",E.style.left=D.left+"px",E.style.height=N.lineHeight+"px",E.scrollIntoView(L)),L=v=null}});this.setAutoScrollEditorIntoView=function(F){F||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",R),this.renderer.off("afterRender",W),this.renderer.off("beforeRender",_))}}},p.prototype.$resetCursorStyle=function(){var h=this.$cursorStyle||"ace",v=this.renderer.$cursorLayer;v&&(v.setSmoothBlinking(/smooth/.test(h)),v.isBlinking=!this.$readOnly&&h!="wide",S.setCssClass(v.element,"ace_slim-cursors",/slim/.test(h)))},p.prototype.prompt=function(h,v,y){var L=this;m.loadModule("ace/ext/prompt",function(E){E.prompt(L,h,v,y)})},p}();w.$uid=0,w.prototype.curOp=null,w.prototype.prevOp={},w.prototype.$mergeableCommands=["backspace","del","insertstring"],w.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],M.implement(w.prototype,l),m.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(p){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:p})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(p){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(p){this.textInput.setReadOnly(p),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(p){this.textInput.setCopyWithEmptySelection(p)},initialValue:!1},cursorStyle:{set:function(p){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(p){this.setAutoScrollEditorIntoView(p)}},keyboardHandler:{set:function(p){this.setKeyboardHandler(p)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(p){this.session.setValue(p)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(p){this.setSession(p)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(p){this.renderer.$gutterLayer.setShowLineNumbers(p),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),p&&this.$relativeLineNumbers?f.attach(this):f.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(p){this.$showLineNumbers&&p?f.attach(this):f.detach(this)}},placeholder:{set:function(p){this.$updatePlaceholder||(this.$updatePlaceholder=(function(){var h=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(h&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!h&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var v=S.createElement("div");v.className="ace_placeholder",v.textContent=this.$placeholder||"",this.renderer.placeholderNode=v,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!h&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}).bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(p){var h={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(L){L.blur(),L.renderer.scroller.focus()},readOnly:!0},v=function(L){if(L.target==this.renderer.scroller&&L.keyCode===$.enter){L.preventDefault();var E=this.getCursorPosition().row;this.isRowVisible(E)||this.scrollToLine(E,!0,!0),this.focus()}},y;p?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(c.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",k("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",k("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",v.bind(this)),this.commands.addCommand(h),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",k("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",k("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),y||(y=new C(this)),y.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",v.bind(this)),this.commands.removeCommand(h),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),y&&y.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(p){this.$textInputAriaLabel=p},initialValue:""},enableMobileMenu:{set:function(p){this.$enableMobileMenu=p},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var f={getText:function(p,h){return(Math.abs(p.selection.lead.row-h)||h+1+(h<9?"·":""))+""},getWidth:function(p,h,v){return Math.max(h.toString().length,(v.lastRow+1).toString().length,2)*v.characterWidth},update:function(p,h){h.renderer.$loop.schedule(h.renderer.CHANGE_GUTTER)},attach:function(p){p.renderer.$gutterLayer.$renderer=this,p.on("changeSelection",this.update),this.update(null,p)},detach:function(p){p.renderer.$gutterLayer.$renderer==this&&(p.renderer.$gutterLayer.$renderer=null),p.off("changeSelection",this.update),this.update(null,p)}};x.Editor=w}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(I,x,H){var T=I("../lib/dom"),M=function(){function S(a,c){this.element=a,this.canvasHeight=c||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(a){T.translate(this.element,0,-(a.firstRowScreen*a.lineHeight%this.canvasHeight)-a.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(a,c){return Math.floor(a.firstRowScreen*a.lineHeight/this.canvasHeight)!==Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(a,c,o){var i=c.firstRowScreen*c.lineHeight,n=Math.floor(i/this.canvasHeight),t=o.documentToScreenRow(a,0)*c.lineHeight;return t-n*this.canvasHeight},S.prototype.computeLineHeight=function(a,c,o){return c.lineHeight*o.getRowLineCount(a)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(a){return this.cells[a]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(a){if(Array.isArray(a)){this.cells.push.apply(this.cells,a);for(var c=T.createFragment(this.element),o=0;o<a.length;o++)c.appendChild(a[o].element);this.element.appendChild(c)}else this.cells.push(a),this.element.appendChild(a.element)},S.prototype.unshift=function(a){if(Array.isArray(a)){this.cells.unshift.apply(this.cells,a);for(var c=T.createFragment(this.element),o=0;o<a.length;o++)c.appendChild(a[o].element);this.element.firstChild?this.element.insertBefore(c,this.element.firstChild):this.element.appendChild(c)}else this.cells.unshift(a),this.element.insertAdjacentElement("afterbegin",a.element)},S.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},S.prototype.$cacheCell=function(a){a&&(a.element.remove(),this.cellCache.push(a))},S.prototype.createCell=function(a,c,o,i){var n=this.cellCache.pop();if(!n){var t=T.createElement("div");i&&i(t),this.element.appendChild(t),n={element:t,text:"",row:a}}return n.row=a,n},S}();x.Lines=M}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/layer/lines","ace/config"],function(I,x,H){var T=I("../lib/dom"),M=I("../lib/oop"),S=I("../lib/lang"),a=I("../lib/event_emitter").EventEmitter,c=I("./lines").Lines,o=I("../config").nls,i=function(){function t(e){this.element=T.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new c(this.element),this.$lines.$offsetCoefficient=1}return t.prototype.setSession=function(e){this.session&&this.session.off("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},t.prototype.addGutterDecoration=function(e,r){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,r)},t.prototype.removeGutterDecoration=function(e,r){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,r)},t.prototype.setAnnotations=function(e){this.$annotations=[];for(var r=0;r<e.length;r++){var s=e[r],l=s.row,u=this.$annotations[l];u||(u=this.$annotations[l]={text:[],type:[],displayText:[]});var b=s.text,m=s.text,g=s.type;b=b?S.escapeHTML(b):s.html||"",m=m||s.html||"",u.text.indexOf(b)===-1&&(u.text.push(b),u.type.push(g),u.displayText.push(m));var d=s.className;d?u.className=d:g==="error"?u.className=" ace_error":g==="security"&&!/\bace_error\b/.test(u.className)?u.className=" ace_security":g==="warning"&&!/\bace_(error|security)\b/.test(u.className)?u.className=" ace_warning":g==="info"&&!u.className?u.className=" ace_info":g==="hint"&&!u.className&&(u.className=" ace_hint")}},t.prototype.$updateAnnotations=function(e){if(this.$annotations.length){var r=e.start.row,s=e.end.row-r;if(s!==0)if(e.action=="remove")this.$annotations.splice(r,s+1,null);else{var l=new Array(s+1);l.unshift(r,1),this.$annotations.splice.apply(this.$annotations,l)}}},t.prototype.update=function(e){this.config=e;var r=this.session,s=e.firstRow,l=Math.min(e.lastRow+e.gutterOffset,r.getLength()-1);this.oldLastRow=l,this.config=e,this.$lines.moveContainer(e),this.$updateCursorRow();for(var u=r.getNextFoldLine(s),b=u?u.start.row:1/0,m=null,g=-1,d=s;;){if(d>b&&(d=u.end.row+1,u=r.getNextFoldLine(d,u),b=u?u.start.row:1/0),d>l){for(;this.$lines.getLength()>g+1;)this.$lines.pop();break}m=this.$lines.get(++g),m?m.row=d:(m=this.$lines.createCell(d,e,this.session,n),this.$lines.push(m)),this.$renderCell(m,e,u,d),d++}this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$updateGutterWidth=function(e){var r=this.session,s=r.gutterRenderer||this.$renderer,l=r.$firstLineNumber,u=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||r.$useWrapMode)&&(u=r.getLength()+l-1);var b=s?s.getWidth(r,u,e):u.toString().length*e.characterWidth,m=this.$padding||this.$computePadding();b+=m.left+m.right,b!==this.gutterWidth&&!isNaN(b)&&(this.gutterWidth=b,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",b))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},t.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!(this.$cursorCell&&this.$cursorCell.row==e)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var r=this.$lines.cells;this.$cursorCell=null;for(var s=0;s<r.length;s++){var l=r[s];if(l.row>=this.$cursorRow){if(l.row>this.$cursorRow){var u=this.session.getFoldLine(this.$cursorRow);if(s>0&&u&&u.start.row==r[s-1].row)l=r[s-1];else break}l.element.className="ace_gutter-active-line "+l.element.className,this.$cursorCell=l;break}}}}},t.prototype.scrollLines=function(e){var r=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(r,e))return this.update(e);this.$lines.moveContainer(e);var s=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),l=this.oldLastRow;if(this.oldLastRow=s,!r||l<e.firstRow)return this.update(e);if(s<r.firstRow)return this.update(e);if(r.firstRow<e.firstRow)for(var u=this.session.getFoldedRowCount(r.firstRow,e.firstRow-1);u>0;u--)this.$lines.shift();if(l>s)for(var u=this.session.getFoldedRowCount(s+1,l);u>0;u--)this.$lines.pop();e.firstRow<r.firstRow&&this.$lines.unshift(this.$renderLines(e,e.firstRow,r.firstRow-1)),s>l&&this.$lines.push(this.$renderLines(e,l+1,s)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$renderLines=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session,n);this.$renderCell(g,e,b,u),l.push(g),u++}return l},t.prototype.$renderCell=function(e,r,s,l){var u=e.element,b=this.session,m=u.childNodes[0],g=u.childNodes[1],d=u.childNodes[2],C=d.firstChild,k=b.$firstLineNumber,A=b.$breakpoints,$=b.$decorations,w=b.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&b.foldWidgets,p=s?s.start.row:Number.MAX_VALUE,h=r.lineHeight+"px",v=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",y=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",L=(w?w.getText(b,l):l+k).toString();if(this.$highlightGutterLine&&(l==this.$cursorRow||s&&l<this.$cursorRow&&l>=p&&this.$cursorRow<=s.end.row)&&(v+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),A[l]&&(v+=A[l]),$[l]&&(v+=$[l]),this.$annotations[l]&&l!==p&&(v+=this.$annotations[l].className),f){var E=f[l];E==null&&(E=f[l]=b.getFoldWidget(l))}if(E){var R="ace_fold-widget ace_"+E,_=E=="start"&&l==p&&l<s.end.row;if(_){R+=" ace_closed";for(var W="",F=!1,D=l+1;D<=s.end.row;D++)if(this.$annotations[D]){if(this.$annotations[D].className===" ace_error"){F=!0,W=" ace_error_fold";break}this.$annotations[D].className===" ace_security"?(F=!0,W=" ace_security_fold"):this.$annotations[D].className===" ace_warning"&&W!==" ace_security_fold"&&(F=!0,W=" ace_warning_fold")}v+=W}else R+=" ace_open";g.className!=R&&(g.className=R),T.setStyle(g.style,"height",h),T.setStyle(g.style,"display","inline-block"),g.setAttribute("role","button"),g.setAttribute("tabindex","-1");var N=b.getFoldWidgetRange(l);N?g.setAttribute("aria-label",o("gutter.code-folding.range.aria-label","Toggle code folding, rows $0 through $1",[N.start.row+1,N.end.row+1])):s?g.setAttribute("aria-label",o("gutter.code-folding.closed.aria-label","Toggle code folding, rows $0 through $1",[s.start.row+1,s.end.row+1])):g.setAttribute("aria-label",o("gutter.code-folding.open.aria-label","Toggle code folding, row $0",[l+1])),_?(g.setAttribute("aria-expanded","false"),g.setAttribute("title",o("gutter.code-folding.closed.title","Unfold code"))):(g.setAttribute("aria-expanded","true"),g.setAttribute("title",o("gutter.code-folding.open.title","Fold code")))}else g&&(T.setStyle(g.style,"display","none"),g.setAttribute("tabindex","0"),g.removeAttribute("role"),g.removeAttribute("aria-label"));if(F&&this.$showFoldedAnnotations){d.className="ace_gutter_annotation",C.className=y,C.className+=W,T.setStyle(C.style,"height",h),T.setStyle(d.style,"display","block"),T.setStyle(d.style,"height",h);var O;switch(W){case" ace_error_fold":O=o("gutter.annotation.aria-label.error","Error, read annotations row $0",[L]);break;case" ace_security_fold":O=o("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[L]);break;case" ace_warning_fold":O=o("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[L]);break}d.setAttribute("aria-label",O),d.setAttribute("tabindex","-1"),d.setAttribute("role","button")}else if(this.$annotations[l]){d.className="ace_gutter_annotation",C.className=y,this.$useSvgGutterIcons?C.className+=this.$annotations[l].className:u.classList.add(this.$annotations[l].className.replace(" ","")),T.setStyle(C.style,"height",h),T.setStyle(d.style,"display","block"),T.setStyle(d.style,"height",h);var O;switch(this.$annotations[l].className){case" ace_error":O=o("gutter.annotation.aria-label.error","Error, read annotations row $0",[L]);break;case" ace_security":O=o("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[L]);break;case" ace_warning":O=o("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[L]);break;case" ace_info":O=o("gutter.annotation.aria-label.info","Info, read annotations row $0",[L]);break;case" ace_hint":O=o("gutter.annotation.aria-label.hint","Suggestion, read annotations row $0",[L]);break}d.setAttribute("aria-label",O),d.setAttribute("tabindex","-1"),d.setAttribute("role","button")}else T.setStyle(d.style,"display","none"),d.removeAttribute("aria-label"),d.removeAttribute("role"),d.setAttribute("tabindex","0");return L!==m.data&&(m.data=L),u.className!=v&&(u.className=v),T.setStyle(e.element.style,"height",this.$lines.computeLineHeight(l,r,b)+"px"),T.setStyle(e.element.style,"top",this.$lines.computeLineTop(l,r,b)+"px"),e.text=L,d.style.display==="none"&&g.style.display==="none"?e.element.setAttribute("aria-hidden",!0):e.element.setAttribute("aria-hidden",!1),e},t.prototype.setHighlightGutterLine=function(e){this.$highlightGutterLine=e},t.prototype.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return 0},getText:function(){return""}}},t.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},t.prototype.setShowFoldWidgets=function(e){e?T.addCssClass(this.element,"ace_folding-enabled"):T.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},t.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},t.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=T.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(e.borderLeftWidth)||0)+(parseInt(e.paddingLeft)||0)+1,this.$padding.right=(parseInt(e.borderRightWidth)||0)+(parseInt(e.paddingRight)||0),this.$padding},t.prototype.getRegion=function(e){var r=this.$padding||this.$computePadding(),s=this.element.getBoundingClientRect();if(e.x<r.left+s.left)return"markers";if(this.$showFoldWidgets&&e.x>s.right-r.right)return"foldWidgets"},t}();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,M.implement(i.prototype,a);function n(t){var e=document.createTextNode("");t.appendChild(e);var r=T.createElement("span");t.appendChild(r);var s=T.createElement("span");t.appendChild(s);var l=T.createElement("span");return s.appendChild(l),t}x.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(I,x,H){var T=I("../range").Range,M=I("../lib/dom"),S=function(){function c(o){this.element=M.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)}return c.prototype.setPadding=function(o){this.$padding=o},c.prototype.setSession=function(o){this.session=o},c.prototype.setMarkers=function(o){this.markers=o},c.prototype.elt=function(o,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=o},c.prototype.update=function(o){if(o){this.config=o,this.i=0;var i;for(var n in this.markers){var t=this.markers[n];if(!t.range){t.update(i,this,this.session,o);continue}var e=t.range.clipRows(o.firstRow,o.lastRow);if(!e.isEmpty())if(e=e.toScreenRange(this.session),t.renderer){var r=this.$getTop(e.start.row,o),s=this.$padding+e.start.column*o.characterWidth;t.renderer(i,e,s,r,o)}else t.type=="fullLine"?this.drawFullLineMarker(i,e,t.clazz,o):t.type=="screenLine"?this.drawScreenLineMarker(i,e,t.clazz,o):e.isMultiLine()?t.type=="text"?this.drawTextMarker(i,e,t.clazz,o):this.drawMultiLineMarker(i,e,t.clazz,o):this.drawSingleLineMarker(i,e,t.clazz+" ace_start ace_br15",o)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},c.prototype.$getTop=function(o,i){return(o-i.firstRowScreen)*i.lineHeight},c.prototype.drawTextMarker=function(o,i,n,t,e){for(var r=this.session,s=i.start.row,l=i.end.row,u=s,b=0,m=0,g=r.getScreenLastRowColumn(u),d=new T(u,i.start.column,u,m);u<=l;u++)d.start.row=d.end.row=u,d.start.column=u==s?i.start.column:r.getRowWrapIndent(u),d.end.column=g,b=m,m=g,g=u+1<l?r.getScreenLastRowColumn(u+1):u==l?0:i.end.column,this.drawSingleLineMarker(o,d,n+(u==s?" ace_start":"")+" ace_br"+a(u==s||u==s+1&&i.start.column,b<m,m>g,u==l),t,u==l?0:1,e)},c.prototype.drawMultiLineMarker=function(o,i,n,t,e){var r=this.$padding,s=t.lineHeight,l=this.$getTop(i.start.row,t),u=r+i.start.column*t.characterWidth;if(e=e||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var b=i.clone();b.end.row=b.start.row,b.end.column=this.session.getLine(b.start.row).length,this.drawBidiSingleLineMarker(o,b,n+" ace_br1 ace_start",t,null,e)}else this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+l+"px;left:"+u+"px;"+(e||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var b=i.clone();b.start.row=b.end.row,b.start.column=0,this.drawBidiSingleLineMarker(o,b,n+" ace_br12",t,null,e)}else{l=this.$getTop(i.end.row,t);var m=i.end.column*t.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+m+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}if(s=(i.end.row-i.start.row-1)*t.lineHeight,!(s<=0)){l=this.$getTop(i.start.row+1,t);var g=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(g?" ace_br"+g:""),"height:"+s+"px;right:0;top:"+l+"px;left:"+r+"px;"+(e||""))}},c.prototype.drawSingleLineMarker=function(o,i,n,t,e,r){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(o,i,n,t,e,r);var s=t.lineHeight,l=(i.end.column+(e||0)-i.start.column)*t.characterWidth,u=this.$getTop(i.start.row,t),b=this.$padding+i.start.column*t.characterWidth;this.elt(n,"height:"+s+"px;width:"+l+"px;top:"+u+"px;left:"+b+"px;"+(r||""))},c.prototype.drawBidiSingleLineMarker=function(o,i,n,t,e,r){var s=t.lineHeight,l=this.$getTop(i.start.row,t),u=this.$padding,b=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);b.forEach(function(m){this.elt(n,"height:"+s+"px;width:"+(m.width+(e||0))+"px;top:"+l+"px;left:"+(u+m.left)+"px;"+(r||""))},this)},c.prototype.drawFullLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;i.start.row!=i.end.row&&(s+=this.$getTop(i.end.row,t)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c.prototype.drawScreenLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c}();S.prototype.$padding=0;function a(c,o,i,n){return(c?1:0)|(o?2:0)|(i?4:0)|(n?8:0)}x.Marker=S}),ace.define("ace/layer/text_util",["require","exports","module"],function(I,x,H){var T=new Set(["text","rparen","lparen"]);x.isTextToken=function(M){return T.has(M)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(I,x,H){var T=I("../lib/oop"),M=I("../lib/dom"),S=I("../lib/lang"),a=I("./lines").Lines,c=I("../lib/event_emitter").EventEmitter,o=I("../config").nls,i=I("./text_util").isTextToken,n=function(){function t(e){this.dom=M,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return t.prototype.$updateEolChar=function(){var e=this.session.doc,r=e.getNewLineCharacter()==`
207
+ `),this.moveCursorToPosition(h)},p.prototype.setGhostText=function(h,v){this.session.widgetManager||(this.session.widgetManager=new d(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(h,v)},p.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},p.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var h=this.getCursorPosition(),v=h.column;if(v!==0){var y=this.session.getLine(h.row),L,E;v<y.length?(L=y.charAt(v)+y.charAt(v-1),E=new s(h.row,v-1,h.row,v+1)):(L=y.charAt(v-1)+y.charAt(v-2),E=new s(h.row,v-2,h.row,v)),this.session.replace(E,L),this.session.selection.moveToPosition(E.end)}}},p.prototype.toLowerCase=function(){var h=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var v=this.getSelectionRange(),y=this.session.getTextRange(v);this.session.replace(v,y.toLowerCase()),this.selection.setSelectionRange(h)},p.prototype.toUpperCase=function(){var h=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var v=this.getSelectionRange(),y=this.session.getTextRange(v);this.session.replace(v,y.toUpperCase()),this.selection.setSelectionRange(h)},p.prototype.indent=function(){var h=this.session,v=this.getSelectionRange();if(v.start.row<v.end.row){var y=this.$getSelectedRows();h.indentRows(y.first,y.last," ");return}else if(v.start.column<v.end.column){var L=h.getTextRange(v);if(!/^\s+$/.test(L)){var y=this.$getSelectedRows();h.indentRows(y.first,y.last," ");return}}var E=h.getLine(v.start.row),R=v.start,_=h.getTabSize(),W=h.documentToScreenColumn(R.row,R.column);if(this.session.getUseSoftTabs())var F=_-W%_,D=a.stringRepeat(" ",F);else{for(var F=W%_;E[v.start.column-1]==" "&&F;)v.start.column--,F--;this.selection.setSelectionRange(v),D=" "}return this.insert(D)},p.prototype.blockIndent=function(){var h=this.$getSelectedRows();this.session.indentRows(h.first,h.last," ")},p.prototype.blockOutdent=function(){var h=this.session.getSelection();this.session.outdentRows(h.getRange())},p.prototype.sortLines=function(){for(var h=this.$getSelectedRows(),v=this.session,y=[],L=h.first;L<=h.last;L++)y.push(v.getLine(L));y.sort(function(_,W){return _.toLowerCase()<W.toLowerCase()?-1:_.toLowerCase()>W.toLowerCase()?1:0});for(var E=new s(0,0,0,0),L=h.first;L<=h.last;L++){var R=v.getLine(L);E.start.row=L,E.end.row=L,E.end.column=R.length,v.replace(E,y[L-h.first])}},p.prototype.toggleCommentLines=function(){var h=this.session.getState(this.getCursorPosition().row),v=this.$getSelectedRows();this.session.getMode().toggleCommentLines(h,this.session,v.first,v.last)},p.prototype.toggleBlockComment=function(){var h=this.getCursorPosition(),v=this.session.getState(h.row),y=this.getSelectionRange();this.session.getMode().toggleBlockComment(v,this.session,y,h)},p.prototype.getNumberAt=function(h,v){var y=/[\-]?[0-9]+(?:\.[0-9]+)?/g;y.lastIndex=0;for(var L=this.session.getLine(h);y.lastIndex<v;){var E=y.exec(L);if(E.index<=v&&E.index+E[0].length>=v){var R={value:E[0],start:E.index,end:E.index+E[0].length};return R}}return null},p.prototype.modifyNumber=function(h){var v=this.selection.getCursor().row,y=this.selection.getCursor().column,L=new s(v,y-1,v,y),E=this.session.getTextRange(L);if(!isNaN(parseFloat(E))&&isFinite(E)){var R=this.getNumberAt(v,y);if(R){var _=R.value.indexOf(".")>=0?R.start+R.value.indexOf(".")+1:R.end,W=R.start+R.value.length-_,F=parseFloat(R.value);F*=Math.pow(10,W),_!==R.end&&y<_?h*=Math.pow(10,R.end-y-1):h*=Math.pow(10,R.end-y),F+=h,F/=Math.pow(10,W);var D=F.toFixed(W),N=new s(v,R.start,v,R.end);this.session.replace(N,D),this.moveCursorTo(v,Math.max(R.start+1,y+D.length-R.value.length))}}else this.toggleWord()},p.prototype.toggleWord=function(){var h=this.selection.getCursor().row,v=this.selection.getCursor().column;this.selection.selectWord();var y=this.getSelectedText(),L=this.selection.getWordRange().start.column,E=y.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),R=v-L-1;R<0&&(R=0);var _=0,W=0,F=this;y.match(/[A-Za-z0-9_]+/)&&E.forEach(function(Z,K){W=_+Z.length,R>=_&&R<=W&&(y=Z,F.selection.clearSelection(),F.moveCursorTo(h,_+L),F.selection.selectTo(h,W+L)),_=W});for(var D=this.$toggleWordPairs,N,O=0;O<D.length;O++)for(var B=D[O],G=0;G<=1;G++){var V=+!G,U=y.match(new RegExp("^\\s?_?("+a.escapeRegExp(B[G])+")\\s?$","i"));if(U){var j=y.match(new RegExp("([_]|^|\\s)("+a.escapeRegExp(U[1])+")($|\\s)","g"));j&&(N=y.replace(new RegExp(a.escapeRegExp(B[G]),"i"),function(Z){var K=B[V];return Z.toUpperCase()==Z?K=K.toUpperCase():Z.charAt(0).toUpperCase()==Z.charAt(0)&&(K=K.substr(0,0)+B[V].charAt(0).toUpperCase()+K.substr(1)),K}),this.insert(N),N="")}}},p.prototype.findLinkAt=function(h,v){var y,L,E=this.session.getLine(h),R=E.split(/((?:https?|ftp):\/\/[\S]+)/),_=v;_<0&&(_=0);var W=0,F=0,D;try{for(var N=T(R),O=N.next();!O.done;O=N.next()){var B=O.value;if(F=W+B.length,_>=W&&_<=F&&B.match(/((?:https?|ftp):\/\/[\S]+)/)){D=B.replace(/[\s:.,'";}\]]+$/,"");break}W=F}}catch(G){y={error:G}}finally{try{O&&!O.done&&(L=N.return)&&L.call(N)}finally{if(y)throw y.error}}return D},p.prototype.openLink=function(){var h=this.selection.getCursor(),v=this.findLinkAt(h.row,h.column);return v&&window.open(v,"_blank"),v!=null},p.prototype.removeLines=function(){var h=this.$getSelectedRows();this.session.removeFullLines(h.first,h.last),this.clearSelection()},p.prototype.duplicateSelection=function(){var h=this.selection,v=this.session,y=h.getRange(),L=h.isBackwards();if(y.isEmpty()){var E=y.start.row;v.duplicateLines(E,E)}else{var R=L?y.start:y.end,_=v.insert(R,v.getTextRange(y));y.start=R,y.end=_,h.setSelectionRange(y,L)}},p.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},p.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},p.prototype.moveText=function(h,v,y){return this.session.moveText(h,v,y)},p.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},p.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},p.prototype.$moveLines=function(h,v){var y,L,E=this.selection;if(!E.inMultiSelectMode||this.inVirtualSelectionMode){var R=E.toOrientedRange();y=this.$getSelectedRows(R),L=this.session.$moveLines(y.first,y.last,v?0:h),v&&h==-1&&(L=0),R.moveBy(L,0),E.fromOrientedRange(R)}else{var _=E.rangeList.ranges;E.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var W=0,F=0,D=_.length,N=0;N<D;N++){var O=N;_[N].moveBy(W,0),y=this.$getSelectedRows(_[N]);for(var B=y.first,G=y.last;++N<D;){F&&_[N].moveBy(F,0);var V=this.$getSelectedRows(_[N]);if(v&&V.first!=G)break;if(!v&&V.first>G+1)break;G=V.last}for(N--,W=this.session.$moveLines(B,G,v?0:h),v&&h==-1&&(O=N+1);O<=N;)_[O].moveBy(W,0),O++;v||(W=0),F+=W}E.fromOrientedRange(E.ranges[0]),E.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},p.prototype.$getSelectedRows=function(h){return h=(h||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(h.start.row),last:this.session.getRowFoldEnd(h.end.row)}},p.prototype.onCompositionStart=function(h){this.renderer.showComposition(h)},p.prototype.onCompositionUpdate=function(h){this.renderer.setCompositionText(h)},p.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},p.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},p.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},p.prototype.isRowVisible=function(h){return h>=this.getFirstVisibleRow()&&h<=this.getLastVisibleRow()},p.prototype.isRowFullyVisible=function(h){return h>=this.renderer.getFirstFullyVisibleRow()&&h<=this.renderer.getLastFullyVisibleRow()},p.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},p.prototype.$moveByPage=function(h,v){var y=this.renderer,L=this.renderer.layerConfig,E=h*Math.floor(L.height/L.lineHeight);v===!0?this.selection.$moveSelection(function(){this.moveCursorBy(E,0)}):v===!1&&(this.selection.moveCursorBy(E,0),this.selection.clearSelection());var R=y.scrollTop;y.scrollBy(0,E*L.lineHeight),v!=null&&y.scrollCursorIntoView(null,.5),y.animateScrolling(R)},p.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},p.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},p.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},p.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},p.prototype.scrollPageDown=function(){this.$moveByPage(1)},p.prototype.scrollPageUp=function(){this.$moveByPage(-1)},p.prototype.scrollToRow=function(h){this.renderer.scrollToRow(h)},p.prototype.scrollToLine=function(h,v,y,L){this.renderer.scrollToLine(h,v,y,L)},p.prototype.centerSelection=function(){var h=this.getSelectionRange(),v={row:Math.floor(h.start.row+(h.end.row-h.start.row)/2),column:Math.floor(h.start.column+(h.end.column-h.start.column)/2)};this.renderer.alignCursor(v,.5)},p.prototype.getCursorPosition=function(){return this.selection.getCursor()},p.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},p.prototype.getSelectionRange=function(){return this.selection.getRange()},p.prototype.selectAll=function(){this.selection.selectAll()},p.prototype.clearSelection=function(){this.selection.clearSelection()},p.prototype.moveCursorTo=function(h,v){this.selection.moveCursorTo(h,v)},p.prototype.moveCursorToPosition=function(h){this.selection.moveCursorToPosition(h)},p.prototype.jumpToMatching=function(h,v){var y=this.getCursorPosition(),L=new g(this.session,y.row,y.column),E=L.getCurrentToken(),R=0;E&&E.type.indexOf("tag-name")!==-1&&(E=L.stepBackward());var _=E||L.stepForward();if(_){var W,F=!1,D={},N=y.column-_.start,O,B={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(_.value.match(/[{}()\[\]]/g)){for(;N<_.value.length&&!F;N++)if(B[_.value[N]])switch(O=B[_.value[N]]+"."+_.type.replace("rparen","lparen"),isNaN(D[O])&&(D[O]=0),_.value[N]){case"(":case"[":case"{":D[O]++;break;case")":case"]":case"}":D[O]--,D[O]===-1&&(W="bracket",F=!0);break}}else _.type.indexOf("tag-name")!==-1&&(isNaN(D[_.value])&&(D[_.value]=0),E.value==="<"&&R>1?D[_.value]++:E.value==="</"&&D[_.value]--,D[_.value]===-1&&(W="tag",F=!0));F||(E=_,R++,_=L.stepForward(),N=0)}while(_&&!F);if(W){var G,V;if(W==="bracket")G=this.session.getBracketRange(y),G||(G=new s(L.getCurrentTokenRow(),L.getCurrentTokenColumn()+N-1,L.getCurrentTokenRow(),L.getCurrentTokenColumn()+N-1),V=G.start,(v||V.row===y.row&&Math.abs(V.column-y.column)<2)&&(G=this.session.getBracketRange(V)));else if(W==="tag"){if(!_||_.type.indexOf("tag-name")===-1)return;if(G=new s(L.getCurrentTokenRow(),L.getCurrentTokenColumn()-2,L.getCurrentTokenRow(),L.getCurrentTokenColumn()-2),G.compare(y.row,y.column)===0){var U=this.session.getMatchingTags(y);U&&(U.openTag.contains(y.row,y.column)?(G=U.closeTag,V=G.start):(G=U.openTag,U.closeTag.start.row===y.row&&U.closeTag.start.column===y.column?V=G.end:V=G.start))}V=V||G.start}V=G&&G.cursor||V,V&&(h?G&&v?this.selection.setRange(G):G&&G.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(V.row,V.column):this.selection.moveTo(V.row,V.column))}}},p.prototype.gotoLine=function(h,v,y){this.selection.clearSelection(),this.session.unfold({row:h-1,column:v||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(h-1,v||0),this.isRowFullyVisible(h-1)||this.scrollToLine(h-1,!0,y)},p.prototype.navigateTo=function(h,v){this.selection.moveTo(h,v)},p.prototype.navigateUp=function(h){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var v=this.selection.anchor.getPosition();return this.moveCursorToPosition(v)}this.selection.clearSelection(),this.selection.moveCursorBy(-h||-1,0)},p.prototype.navigateDown=function(h){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var v=this.selection.anchor.getPosition();return this.moveCursorToPosition(v)}this.selection.clearSelection(),this.selection.moveCursorBy(h||1,0)},p.prototype.navigateLeft=function(h){if(this.selection.isEmpty())for(h=h||1;h--;)this.selection.moveCursorLeft();else{var v=this.getSelectionRange().start;this.moveCursorToPosition(v)}this.clearSelection()},p.prototype.navigateRight=function(h){if(this.selection.isEmpty())for(h=h||1;h--;)this.selection.moveCursorRight();else{var v=this.getSelectionRange().end;this.moveCursorToPosition(v)}this.clearSelection()},p.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},p.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},p.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},p.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},p.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},p.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},p.prototype.replace=function(h,v){v&&this.$search.set(v);var y=this.$search.find(this.session),L=0;return y&&(this.$tryReplace(y,h)&&(L=1),this.selection.setSelectionRange(y),this.renderer.scrollSelectionIntoView(y.start,y.end)),L},p.prototype.replaceAll=function(h,v){v&&this.$search.set(v);var y=this.$search.findAll(this.session),L=0;if(!y.length)return L;var E=this.getSelectionRange();this.selection.moveTo(0,0);for(var R=y.length-1;R>=0;--R)this.$tryReplace(y[R],h)&&L++;return this.selection.setSelectionRange(E),L},p.prototype.$tryReplace=function(h,v){var y=this.session.getTextRange(h);return v=this.$search.replace(y,v),v!==null?(h.end=this.session.replace(h,v),h):null},p.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},p.prototype.find=function(h,v,y){v||(v={}),typeof h=="string"||h instanceof RegExp?v.needle=h:typeof h=="object"&&M.mixin(v,h);var L=this.selection.getRange();v.needle==null&&(h=this.session.getTextRange(L)||this.$search.$options.needle,h||(L=this.session.getWordRange(L.start.row,L.start.column),h=this.session.getTextRange(L)),this.$search.set({needle:h})),this.$search.set(v),v.start||this.$search.set({start:L});var E=this.$search.find(this.session);if(v.preventScroll)return E;if(E)return this.revealRange(E,y),E;v.backwards?L.start=L.end:L.end=L.start,this.selection.setRange(L)},p.prototype.findNext=function(h,v){this.find({skipCurrent:!0,backwards:!1},h,v)},p.prototype.findPrevious=function(h,v){this.find(h,{skipCurrent:!0,backwards:!0},v)},p.prototype.revealRange=function(h,v){this.session.unfold(h),this.selection.setSelectionRange(h);var y=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(h.start,h.end,.5),v!==!1&&this.renderer.animateScrolling(y)},p.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(h){h.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},p.prototype.setAutoScrollEditorIntoView=function(h){if(h){var v,y=this,L=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var E=this.$scrollAnchor;E.style.cssText="position:absolute",this.container.insertBefore(E,this.container.firstChild);var R=this.on("changeSelection",function(){L=!0}),_=this.renderer.on("beforeRender",function(){L&&(v=y.renderer.container.getBoundingClientRect())}),W=this.renderer.on("afterRender",function(){if(L&&v&&(y.isFocused()||y.searchBox&&y.searchBox.isFocused())){var F=y.renderer,D=F.$cursorLayer.$pixelPos,N=F.layerConfig,O=D.top-N.offset;D.top>=0&&O+v.top<0?L=!0:D.top<N.height&&D.top+v.top+N.lineHeight>window.innerHeight?L=!1:L=null,L!=null&&(E.style.top=O+"px",E.style.left=D.left+"px",E.style.height=N.lineHeight+"px",E.scrollIntoView(L)),L=v=null}});this.setAutoScrollEditorIntoView=function(F){F||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",R),this.renderer.off("afterRender",W),this.renderer.off("beforeRender",_))}}},p.prototype.$resetCursorStyle=function(){var h=this.$cursorStyle||"ace",v=this.renderer.$cursorLayer;v&&(v.setSmoothBlinking(/smooth/.test(h)),v.isBlinking=!this.$readOnly&&h!="wide",S.setCssClass(v.element,"ace_slim-cursors",/slim/.test(h)))},p.prototype.prompt=function(h,v,y){var L=this;m.loadModule("ace/ext/prompt",function(E){E.prompt(L,h,v,y)})},p}();w.$uid=0,w.prototype.curOp=null,w.prototype.prevOp={},w.prototype.$mergeableCommands=["backspace","del","insertstring"],w.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],M.implement(w.prototype,l),m.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(p){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:p})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(p){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(p){this.textInput.setReadOnly(p),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(p){this.textInput.setCopyWithEmptySelection(p)},initialValue:!1},cursorStyle:{set:function(p){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(p){this.setAutoScrollEditorIntoView(p)}},keyboardHandler:{set:function(p){this.setKeyboardHandler(p)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(p){this.session.setValue(p)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(p){this.setSession(p)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(p){this.renderer.$gutterLayer.setShowLineNumbers(p),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),p&&this.$relativeLineNumbers?f.attach(this):f.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(p){this.$showLineNumbers&&p?f.attach(this):f.detach(this)}},placeholder:{set:function(p){this.$updatePlaceholder||(this.$updatePlaceholder=(function(){var h=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(h&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!h&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var v=S.createElement("div");v.className="ace_placeholder",v.textContent=this.$placeholder||"",this.renderer.placeholderNode=v,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!h&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}).bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(p){var h={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(L){L.blur(),L.renderer.scroller.focus()},readOnly:!0},v=function(L){if(L.target==this.renderer.scroller&&L.keyCode===$.enter){L.preventDefault();var E=this.getCursorPosition().row;this.isRowVisible(E)||this.scrollToLine(E,!0,!0),this.focus()}},y;p?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(c.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",k("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",k("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",v.bind(this)),this.commands.addCommand(h),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",k("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",k("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),y||(y=new C(this)),y.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",v.bind(this)),this.commands.removeCommand(h),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),y&&y.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(p){this.$textInputAriaLabel=p},initialValue:""},enableMobileMenu:{set:function(p){this.$enableMobileMenu=p},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var f={getText:function(p,h){return(Math.abs(p.selection.lead.row-h)||h+1+(h<9?"·":""))+""},getWidth:function(p,h,v){return Math.max(h.toString().length,(v.lastRow+1).toString().length,2)*v.characterWidth},update:function(p,h){h.renderer.$loop.schedule(h.renderer.CHANGE_GUTTER)},attach:function(p){p.renderer.$gutterLayer.$renderer=this,p.on("changeSelection",this.update),this.update(null,p)},detach:function(p){p.renderer.$gutterLayer.$renderer==this&&(p.renderer.$gutterLayer.$renderer=null),p.off("changeSelection",this.update),this.update(null,p)}};x.Editor=w}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(I,x,H){var T=I("../lib/dom"),M=function(){function S(a,c){this.element=a,this.canvasHeight=c||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(a){T.translate(this.element,0,-(a.firstRowScreen*a.lineHeight%this.canvasHeight)-a.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(a,c){return Math.floor(a.firstRowScreen*a.lineHeight/this.canvasHeight)!==Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(a,c,o){var i=c.firstRowScreen*c.lineHeight,n=Math.floor(i/this.canvasHeight),t=o.documentToScreenRow(a,0)*c.lineHeight;return t-n*this.canvasHeight},S.prototype.computeLineHeight=function(a,c,o){return c.lineHeight*o.getRowLineCount(a)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(a){return this.cells[a]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(a){if(Array.isArray(a)){this.cells.push.apply(this.cells,a);for(var c=T.createFragment(this.element),o=0;o<a.length;o++)c.appendChild(a[o].element);this.element.appendChild(c)}else this.cells.push(a),this.element.appendChild(a.element)},S.prototype.unshift=function(a){if(Array.isArray(a)){this.cells.unshift.apply(this.cells,a);for(var c=T.createFragment(this.element),o=0;o<a.length;o++)c.appendChild(a[o].element);this.element.firstChild?this.element.insertBefore(c,this.element.firstChild):this.element.appendChild(c)}else this.cells.unshift(a),this.element.insertAdjacentElement("afterbegin",a.element)},S.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},S.prototype.$cacheCell=function(a){a&&(a.element.remove(),this.cellCache.push(a))},S.prototype.createCell=function(a,c,o,i){var n=this.cellCache.pop();if(!n){var t=T.createElement("div");i&&i(t),this.element.appendChild(t),n={element:t,text:"",row:a}}return n.row=a,n},S}();x.Lines=M}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/layer/lines","ace/config"],function(I,x,H){var T=I("../lib/dom"),M=I("../lib/oop"),S=I("../lib/lang"),a=I("../lib/event_emitter").EventEmitter,c=I("./lines").Lines,o=I("../config").nls,i=function(){function t(e){this.element=T.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new c(this.element),this.$lines.$offsetCoefficient=1}return t.prototype.setSession=function(e){this.session&&this.session.off("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},t.prototype.addGutterDecoration=function(e,r){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,r)},t.prototype.removeGutterDecoration=function(e,r){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,r)},t.prototype.setAnnotations=function(e){this.$annotations=[];for(var r=0;r<e.length;r++){var s=e[r],l=s.row,u=this.$annotations[l];u||(u=this.$annotations[l]={text:[],type:[],displayText:[]});var b=s.text,m=s.text,g=s.type;b=b?S.escapeHTML(b):s.html||"",m=m||s.html||"",u.text.indexOf(b)===-1&&(u.text.push(b),u.type.push(g),u.displayText.push(m));var d=s.className;d?u.className=d:g==="error"?u.className=" ace_error":g==="security"&&!/\bace_error\b/.test(u.className)?u.className=" ace_security":g==="warning"&&!/\bace_(error|security)\b/.test(u.className)?u.className=" ace_warning":g==="info"&&!u.className?u.className=" ace_info":g==="hint"&&!u.className&&(u.className=" ace_hint")}},t.prototype.$updateAnnotations=function(e){if(this.$annotations.length){var r=e.start.row,s=e.end.row-r;if(s!==0)if(e.action=="remove")this.$annotations.splice(r,s+1,null);else{var l=new Array(s+1);l.unshift(r,1),this.$annotations.splice.apply(this.$annotations,l)}}},t.prototype.update=function(e){this.config=e;var r=this.session,s=e.firstRow,l=Math.min(e.lastRow+e.gutterOffset,r.getLength()-1);this.oldLastRow=l,this.config=e,this.$lines.moveContainer(e),this.$updateCursorRow();for(var u=r.getNextFoldLine(s),b=u?u.start.row:1/0,m=null,g=-1,d=s;;){if(d>b&&(d=u.end.row+1,u=r.getNextFoldLine(d,u),b=u?u.start.row:1/0),d>l){for(;this.$lines.getLength()>g+1;)this.$lines.pop();break}m=this.$lines.get(++g),m?m.row=d:(m=this.$lines.createCell(d,e,this.session,n),this.$lines.push(m)),this.$renderCell(m,e,u,d),d++}this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$updateGutterWidth=function(e){var r=this.session,s=r.gutterRenderer||this.$renderer,l=r.$firstLineNumber,u=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||r.$useWrapMode)&&(u=r.getLength()+l-1);var b=s?s.getWidth(r,u,e):u.toString().length*e.characterWidth,m=this.$padding||this.$computePadding();b+=m.left+m.right,b!==this.gutterWidth&&!isNaN(b)&&(this.gutterWidth=b,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",b))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},t.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!(this.$cursorCell&&this.$cursorCell.row==e)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var r=this.$lines.cells;this.$cursorCell=null;for(var s=0;s<r.length;s++){var l=r[s];if(l.row>=this.$cursorRow){if(l.row>this.$cursorRow){var u=this.session.getFoldLine(this.$cursorRow);if(s>0&&u&&u.start.row==r[s-1].row)l=r[s-1];else break}l.element.className="ace_gutter-active-line "+l.element.className,this.$cursorCell=l;break}}}}},t.prototype.scrollLines=function(e){var r=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(r,e))return this.update(e);this.$lines.moveContainer(e);var s=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),l=this.oldLastRow;if(this.oldLastRow=s,!r||l<e.firstRow)return this.update(e);if(s<r.firstRow)return this.update(e);if(r.firstRow<e.firstRow)for(var u=this.session.getFoldedRowCount(r.firstRow,e.firstRow-1);u>0;u--)this.$lines.shift();if(l>s)for(var u=this.session.getFoldedRowCount(s+1,l);u>0;u--)this.$lines.pop();e.firstRow<r.firstRow&&this.$lines.unshift(this.$renderLines(e,e.firstRow,r.firstRow-1)),s>l&&this.$lines.push(this.$renderLines(e,l+1,s)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$renderLines=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session,n);this.$renderCell(g,e,b,u),l.push(g),u++}return l},t.prototype.$renderCell=function(e,r,s,l){var u=e.element,b=this.session,m=u.childNodes[0],g=u.childNodes[1],d=u.childNodes[2],C=d.firstChild,k=b.$firstLineNumber,A=b.$breakpoints,$=b.$decorations,w=b.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&b.foldWidgets,p=s?s.start.row:Number.MAX_VALUE,h=r.lineHeight+"px",v=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",y=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",L=(w?w.getText(b,l):l+k).toString();if(this.$highlightGutterLine&&(l==this.$cursorRow||s&&l<this.$cursorRow&&l>=p&&this.$cursorRow<=s.end.row)&&(v+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),A[l]&&(v+=A[l]),$[l]&&(v+=$[l]),this.$annotations[l]&&l!==p&&(v+=this.$annotations[l].className),f){var E=f[l];E==null&&(E=f[l]=b.getFoldWidget(l))}if(E){var R="ace_fold-widget ace_"+E,_=E=="start"&&l==p&&l<s.end.row;if(_){R+=" ace_closed";for(var W="",F=!1,D=l+1;D<=s.end.row;D++)if(this.$annotations[D]){if(this.$annotations[D].className===" ace_error"){F=!0,W=" ace_error_fold";break}this.$annotations[D].className===" ace_security"?(F=!0,W=" ace_security_fold"):this.$annotations[D].className===" ace_warning"&&W!==" ace_security_fold"&&(F=!0,W=" ace_warning_fold")}v+=W}else R+=" ace_open";g.className!=R&&(g.className=R),T.setStyle(g.style,"height",h),T.setStyle(g.style,"display","inline-block"),g.setAttribute("role","button"),g.setAttribute("tabindex","-1");var N=b.getFoldWidgetRange(l);N?g.setAttribute("aria-label",o("gutter.code-folding.range.aria-label","Toggle code folding, rows $0 through $1",[N.start.row+1,N.end.row+1])):s?g.setAttribute("aria-label",o("gutter.code-folding.closed.aria-label","Toggle code folding, rows $0 through $1",[s.start.row+1,s.end.row+1])):g.setAttribute("aria-label",o("gutter.code-folding.open.aria-label","Toggle code folding, row $0",[l+1])),_?(g.setAttribute("aria-expanded","false"),g.setAttribute("title",o("gutter.code-folding.closed.title","Unfold code"))):(g.setAttribute("aria-expanded","true"),g.setAttribute("title",o("gutter.code-folding.open.title","Fold code")))}else g&&(T.setStyle(g.style,"display","none"),g.setAttribute("tabindex","0"),g.removeAttribute("role"),g.removeAttribute("aria-label"));if(F&&this.$showFoldedAnnotations){d.className="ace_gutter_annotation",C.className=y,C.className+=W,T.setStyle(C.style,"height",h),T.setStyle(d.style,"display","block"),T.setStyle(d.style,"height",h);var O;switch(W){case" ace_error_fold":O=o("gutter.annotation.aria-label.error","Error, read annotations row $0",[L]);break;case" ace_security_fold":O=o("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[L]);break;case" ace_warning_fold":O=o("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[L]);break}d.setAttribute("aria-label",O),d.setAttribute("tabindex","-1"),d.setAttribute("role","button")}else if(this.$annotations[l]){d.className="ace_gutter_annotation",C.className=y,this.$useSvgGutterIcons?C.className+=this.$annotations[l].className:u.classList.add(this.$annotations[l].className.replace(" ","")),T.setStyle(C.style,"height",h),T.setStyle(d.style,"display","block"),T.setStyle(d.style,"height",h);var O;switch(this.$annotations[l].className){case" ace_error":O=o("gutter.annotation.aria-label.error","Error, read annotations row $0",[L]);break;case" ace_security":O=o("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[L]);break;case" ace_warning":O=o("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[L]);break;case" ace_info":O=o("gutter.annotation.aria-label.info","Info, read annotations row $0",[L]);break;case" ace_hint":O=o("gutter.annotation.aria-label.hint","Suggestion, read annotations row $0",[L]);break}d.setAttribute("aria-label",O),d.setAttribute("tabindex","-1"),d.setAttribute("role","button")}else T.setStyle(d.style,"display","none"),d.removeAttribute("aria-label"),d.removeAttribute("role"),d.setAttribute("tabindex","0");return L!==m.data&&(m.data=L),u.className!=v&&(u.className=v),T.setStyle(e.element.style,"height",this.$lines.computeLineHeight(l,r,b)+"px"),T.setStyle(e.element.style,"top",this.$lines.computeLineTop(l,r,b)+"px"),e.text=L,d.style.display==="none"&&g.style.display==="none"?e.element.setAttribute("aria-hidden",!0):e.element.setAttribute("aria-hidden",!1),e},t.prototype.setHighlightGutterLine=function(e){this.$highlightGutterLine=e},t.prototype.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return 0},getText:function(){return""}}},t.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},t.prototype.setShowFoldWidgets=function(e){e?T.addCssClass(this.element,"ace_folding-enabled"):T.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},t.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},t.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=T.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(e.borderLeftWidth)||0)+(parseInt(e.paddingLeft)||0)+1,this.$padding.right=(parseInt(e.borderRightWidth)||0)+(parseInt(e.paddingRight)||0),this.$padding},t.prototype.getRegion=function(e){var r=this.$padding||this.$computePadding(),s=this.element.getBoundingClientRect();if(e.x<r.left+s.left)return"markers";if(this.$showFoldWidgets&&e.x>s.right-r.right)return"foldWidgets"},t}();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,M.implement(i.prototype,a);function n(t){var e=document.createTextNode("");t.appendChild(e);var r=T.createElement("span");t.appendChild(r);var s=T.createElement("span");t.appendChild(s);var l=T.createElement("span");return s.appendChild(l),t}x.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(I,x,H){var T=I("../range").Range,M=I("../lib/dom"),S=function(){function c(o){this.element=M.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)}return c.prototype.setPadding=function(o){this.$padding=o},c.prototype.setSession=function(o){this.session=o},c.prototype.setMarkers=function(o){this.markers=o},c.prototype.elt=function(o,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=o},c.prototype.update=function(o){if(o){this.config=o,this.i=0;var i;for(var n in this.markers){var t=this.markers[n];if(!t.range){t.update(i,this,this.session,o);continue}var e=t.range.clipRows(o.firstRow,o.lastRow);if(!e.isEmpty())if(e=e.toScreenRange(this.session),t.renderer){var r=this.$getTop(e.start.row,o),s=this.$padding+e.start.column*o.characterWidth;t.renderer(i,e,s,r,o)}else t.type=="fullLine"?this.drawFullLineMarker(i,e,t.clazz,o):t.type=="screenLine"?this.drawScreenLineMarker(i,e,t.clazz,o):e.isMultiLine()?t.type=="text"?this.drawTextMarker(i,e,t.clazz,o):this.drawMultiLineMarker(i,e,t.clazz,o):this.drawSingleLineMarker(i,e,t.clazz+" ace_start ace_br15",o)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},c.prototype.$getTop=function(o,i){return(o-i.firstRowScreen)*i.lineHeight},c.prototype.drawTextMarker=function(o,i,n,t,e){for(var r=this.session,s=i.start.row,l=i.end.row,u=s,b=0,m=0,g=r.getScreenLastRowColumn(u),d=new T(u,i.start.column,u,m);u<=l;u++)d.start.row=d.end.row=u,d.start.column=u==s?i.start.column:r.getRowWrapIndent(u),d.end.column=g,b=m,m=g,g=u+1<l?r.getScreenLastRowColumn(u+1):u==l?0:i.end.column,this.drawSingleLineMarker(o,d,n+(u==s?" ace_start":"")+" ace_br"+a(u==s||u==s+1&&i.start.column,b<m,m>g,u==l),t,u==l?0:1,e)},c.prototype.drawMultiLineMarker=function(o,i,n,t,e){var r=this.$padding,s=t.lineHeight,l=this.$getTop(i.start.row,t),u=r+i.start.column*t.characterWidth;if(e=e||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var b=i.clone();b.end.row=b.start.row,b.end.column=this.session.getLine(b.start.row).length,this.drawBidiSingleLineMarker(o,b,n+" ace_br1 ace_start",t,null,e)}else this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+u+"px;"+(e||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var b=i.clone();b.start.row=b.end.row,b.start.column=0,this.drawBidiSingleLineMarker(o,b,n+" ace_br12",t,null,e)}else{l=this.$getTop(i.end.row,t);var m=i.end.column*t.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+m+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}if(s=(i.end.row-i.start.row-1)*t.lineHeight,!(s<=0)){l=this.$getTop(i.start.row+1,t);var g=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(g?" ace_br"+g:""),"height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}},c.prototype.drawSingleLineMarker=function(o,i,n,t,e,r){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(o,i,n,t,e,r);var s=t.lineHeight,l=(i.end.column+(e||0)-i.start.column)*t.characterWidth,u=this.$getTop(i.start.row,t),b=this.$padding+i.start.column*t.characterWidth;this.elt(n,"height:"+s+"px;width:"+l+"px;top:"+u+"px;left:"+b+"px;"+(r||""))},c.prototype.drawBidiSingleLineMarker=function(o,i,n,t,e,r){var s=t.lineHeight,l=this.$getTop(i.start.row,t),u=this.$padding,b=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);b.forEach(function(m){this.elt(n,"height:"+s+"px;width:"+(m.width+(e||0))+"px;top:"+l+"px;left:"+(u+m.left)+"px;"+(r||""))},this)},c.prototype.drawFullLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;i.start.row!=i.end.row&&(s+=this.$getTop(i.end.row,t)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c.prototype.drawScreenLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c}();S.prototype.$padding=0;function a(c,o,i,n){return(c?1:0)|(o?2:0)|(i?4:0)|(n?8:0)}x.Marker=S}),ace.define("ace/layer/text_util",["require","exports","module"],function(I,x,H){var T=new Set(["text","rparen","lparen"]);x.isTextToken=function(M){return T.has(M)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(I,x,H){var T=I("../lib/oop"),M=I("../lib/dom"),S=I("../lib/lang"),a=I("./lines").Lines,c=I("../lib/event_emitter").EventEmitter,o=I("../config").nls,i=I("./text_util").isTextToken,n=function(){function t(e){this.dom=M,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return t.prototype.$updateEolChar=function(){var e=this.session.doc,r=e.getNewLineCharacter()==`
208
208
  `&&e.getNewLineMode()!="windows",s=r?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=s)return this.EOL_CHAR=s,!0},t.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},t.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},t.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},t.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(r){this._signal("changeCharacterSize",r)}).bind(this)),this.$pollSizeChanges()},t.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},t.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},t.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},t.prototype.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},t.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},t.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides===e?!1:(this.$highlightIndentGuides=e,e)},t.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var r=this.$tabStrings=[0],s=1;s<e+1;s++)if(this.showTabs){var l=this.dom.createElement("span");l.className="ace_invisible ace_invisible_tab",l.textContent=S.stringRepeat(this.TAB_CHAR,s),r.push(l)}else r.push(this.dom.createTextNode(S.stringRepeat(" ",s),this.element));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var u="ace_indent-guide",b=this.showSpaces?" ace_invisible ace_invisible_space":"",m=this.showSpaces?S.stringRepeat(this.SPACE_CHAR,this.tabSize):S.stringRepeat(" ",this.tabSize),g=this.showTabs?" ace_invisible ace_invisible_tab":"",d=this.showTabs?S.stringRepeat(this.TAB_CHAR,this.tabSize):m,l=this.dom.createElement("span");l.className=u+b,l.textContent=m,this.$tabStrings[" "]=l;var l=this.dom.createElement("span");l.className=u+g,l.textContent=d,this.$tabStrings[" "]=l}},t.prototype.updateLines=function(e,r,s){if(this.config.lastRow!=e.lastRow||this.config.firstRow!=e.firstRow)return this.update(e);this.config=e;for(var l=Math.max(r,e.firstRow),u=Math.min(s,e.lastRow),b=this.element.childNodes,m=0,d=e.firstRow;d<l;d++){var C=this.session.getFoldLine(d);if(C)if(C.containsRow(l)){l=C.start.row;break}else d=C.end.row;m++}for(var g=!1,d=l,C=this.session.getNextFoldLine(d),k=C?C.start.row:1/0;d>k&&(d=C.end.row+1,C=this.session.getNextFoldLine(d,C),k=C?C.start.row:1/0),!(d>u);){var A=b[m++];if(A){this.dom.removeChildren(A),this.$renderLine(A,d,d==k?C:!1),g&&(A.style.top=this.$lines.computeLineTop(d,e,this.session)+"px");var $=e.lineHeight*this.session.getRowLength(d)+"px";A.style.height!=$&&(g=!0,A.style.height=$)}d++}if(g)for(;m<this.$lines.cells.length;){var w=this.$lines.cells[m++];w.element.style.top=this.$lines.computeLineTop(w.row,e,this.session)+"px"}},t.prototype.scrollLines=function(e){var r=this.config;if(this.config=e,this.$lines.pageChanged(r,e))return this.update(e);this.$lines.moveContainer(e);var s=e.lastRow,l=r?r.lastRow:-1;if(!r||l<e.firstRow)return this.update(e);if(s<r.firstRow)return this.update(e);if(!r||r.lastRow<e.firstRow)return this.update(e);if(e.lastRow<r.firstRow)return this.update(e);if(r.firstRow<e.firstRow)for(var u=this.session.getFoldedRowCount(r.firstRow,e.firstRow-1);u>0;u--)this.$lines.shift();if(r.lastRow>e.lastRow)for(var u=this.session.getFoldedRowCount(e.lastRow+1,r.lastRow);u>0;u--)this.$lines.pop();e.firstRow<r.firstRow&&this.$lines.unshift(this.$renderLinesFragment(e,e.firstRow,r.firstRow-1)),e.lastRow>r.lastRow&&this.$lines.push(this.$renderLinesFragment(e,r.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},t.prototype.$renderLinesFragment=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session),d=g.element;this.dom.removeChildren(d),M.setStyle(d.style,"height",this.$lines.computeLineHeight(u,e,this.session)+"px"),M.setStyle(d.style,"top",this.$lines.computeLineTop(u,e,this.session)+"px"),this.$renderLine(d,u,u==m?b:!1),this.$useLineGroups()?d.className="ace_line_group":d.className="ace_line",l.push(g),u++}return l},t.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var r=e.firstRow,s=e.lastRow,l=this.$lines;l.getLength();)l.pop();l.push(this.$renderLinesFragment(e,r,s))},t.prototype.$renderToken=function(e,r,s,l){for(var u=this,b=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,m=this.dom.createFragment(this.element),g,d=0;g=b.exec(l);){var C=g[1],k=g[2],A=g[3],$=g[4],w=g[5];if(!(!u.showSpaces&&k)){var f=d!=g.index?l.slice(d,g.index):"";if(d=g.index+g[0].length,f&&m.appendChild(this.dom.createTextNode(f,this.element)),C){var p=u.session.getScreenTabSize(r+g.index);m.appendChild(u.$tabStrings[p].cloneNode(!0)),r+=p-1}else if(k)if(u.showSpaces){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space",h.textContent=S.stringRepeat(u.SPACE_CHAR,k.length),m.appendChild(h)}else m.appendChild(this.dom.createTextNode(k,this.element));else if(A){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space ace_invalid",h.textContent=S.stringRepeat(u.SPACE_CHAR,A.length),m.appendChild(h)}else if($){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className=u.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",h.textContent=u.showSpaces?u.SPACE_CHAR:$,m.appendChild(h)}else if(w){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className="ace_cjk",h.textContent=w,m.appendChild(h)}}}if(m.appendChild(this.dom.createTextNode(d?l.slice(d):l,this.element)),i(s.type))e.appendChild(m);else{var v="ace_"+s.type.replace(/\./g," ace_"),h=this.dom.createElement("span");s.type=="fold"&&(h.style.width=s.value.length*this.config.characterWidth+"px",h.setAttribute("title",o("inline-fold.closed.title","Unfold code"))),h.className=v,h.appendChild(m),e.appendChild(h)}return r+l.length},t.prototype.renderIndentGuide=function(e,r,s){var l=r.search(this.$indentGuideRe);if(l<=0||l>=s)return r;if(r[0]==" "){l-=l%this.tabSize;for(var u=l/this.tabSize,b=0;b<u;b++)e.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),r.substr(l)}else if(r[0]==" "){for(var b=0;b<l;b++)e.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),r.substr(l)}return this.$highlightIndentGuide(),r},t.prototype.$highlightIndentGuide=function(){if(!(!this.$highlightIndentGuides||!this.displayIndentGuides)){this.$highlightIndentGuideMarker={indentLevel:void 0,start:void 0,end:void 0,dir:void 0};var e=this.session.doc.$lines;if(e){var r=this.session.selection.getCursor(),s=/^\s*/.exec(this.session.doc.getLine(r.row))[0].length,l=Math.floor(s/this.tabSize);this.$highlightIndentGuideMarker={indentLevel:l,start:r.row};var u=this.session.$bracketHighlight;if(u){for(var b=this.session.$bracketHighlight.ranges,m=0;m<b.length;m++)if(r.row!==b[m].start.row){this.$highlightIndentGuideMarker.end=b[m].start.row,r.row>b[m].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&e[r.row]!==""&&r.column===e[r.row].length){this.$highlightIndentGuideMarker.dir=1;for(var m=r.row+1;m<e.length;m++){var g=e[m],d=/^\s*/.exec(g)[0].length;if(g!==""&&(this.$highlightIndentGuideMarker.end=m,d<=s))break}}this.$renderHighlightIndentGuide()}}},t.prototype.$clearActiveIndentGuide=function(){for(var e=this.$lines.cells,r=0;r<e.length;r++){var s=e[r],l=s.element.childNodes;if(l.length>0){for(var u=0;u<l.length;u++)if(l[u].classList&&l[u].classList.contains("ace_indent-guide-active")){l[u].classList.remove("ace_indent-guide-active");break}}}},t.prototype.$setIndentGuideActive=function(e,r){var s=this.session.doc.getLine(e.row);if(s!==""){var l=e.element.childNodes;if(l){var u=l[r-1];u&&u.classList&&u.classList.contains("ace_indent-guide")&&u.classList.add("ace_indent-guide-active")}}},t.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var e=this.$lines.cells;this.$clearActiveIndentGuide();var r=this.$highlightIndentGuideMarker.indentLevel;if(r!==0)if(this.$highlightIndentGuideMarker.dir===1)for(var s=0;s<e.length;s++){var l=e[s];if(this.$highlightIndentGuideMarker.end&&l.row>=this.$highlightIndentGuideMarker.start+1){if(l.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(l,r)}}else for(var s=e.length-1;s>=0;s--){var l=e[s];if(this.$highlightIndentGuideMarker.end&&l.row<this.$highlightIndentGuideMarker.start){if(l.row<=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(l,r)}}}},t.prototype.$createLineElement=function(e){var r=this.dom.createElement("div");return r.className="ace_line",r.style.height=this.config.lineHeight+"px",r},t.prototype.$renderWrappedLine=function(e,r,s){var l=0,u=0,b=s[0],m=0,g=this.$createLineElement();e.appendChild(g);for(var d=0;d<r.length;d++){var C=r[d],k=C.value;if(d==0&&this.displayIndentGuides){if(l=k.length,k=this.renderIndentGuide(g,k,b),!k)continue;l-=k.length}if(l+k.length<b)m=this.$renderToken(g,m,C,k),l+=k.length;else{for(;l+k.length>=b;)m=this.$renderToken(g,m,C,k.substring(0,b-l)),k=k.substring(b-l),l=b,g=this.$createLineElement(),e.appendChild(g),g.appendChild(this.dom.createTextNode(S.stringRepeat(" ",s.indent),this.element)),u++,m=0,b=s[u]||Number.MAX_VALUE;k.length!=0&&(l+=k.length,m=this.$renderToken(g,m,C,k))}}s[s.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(g,m,null,"",!0)},t.prototype.$renderSimpleLine=function(e,r){for(var s=0,l=0;l<r.length;l++){var u=r[l],b=u.value;if(!(l==0&&this.displayIndentGuides&&(b=this.renderIndentGuide(e,b),!b))){if(s+b.length>this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,s,u,b);s=this.$renderToken(e,s,u,b)}}},t.prototype.$renderOverflowMessage=function(e,r,s,l,u){s&&this.$renderToken(e,r,s,l.slice(0,this.MAX_LINE_LENGTH-r));var b=this.dom.createElement("span");b.className="ace_inline_button ace_keyword ace_toggle_wrap",b.textContent=u?"<hide>":"<click to see more...>",e.appendChild(b)},t.prototype.$renderLine=function(e,r,s){if(!s&&s!=!1&&(s=this.session.getFoldLine(r)),s)var l=this.$getFoldLineTokens(r,s);else var l=this.session.getTokens(r);var u=e;if(l.length){var b=this.session.getRowSplitData(r);if(b&&b.length){this.$renderWrappedLine(e,l,b);var u=e.lastChild}else{var u=e;this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u)),this.$renderSimpleLine(u,l)}}else this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u));if(this.showEOL&&u){s&&(r=s.end.row);var m=this.dom.createElement("span");m.className="ace_invisible ace_invisible_eol",m.textContent=r==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,u.appendChild(m)}},t.prototype.$getFoldLineTokens=function(e,r){var s=this.session,l=[];function u(m,g,d){for(var C=0,k=0;k+m[C].value.length<g;)if(k+=m[C].value.length,C++,C==m.length)return;if(k!=g){var A=m[C].value.substring(g-k);A.length>d-g&&(A=A.substring(0,d-g)),l.push({type:m[C].type,value:A}),k=g+A.length,C+=1}for(;k<d&&C<m.length;){var A=m[C].value;A.length+k>d?l.push({type:m[C].type,value:A.substring(0,d-k)}):l.push(m[C]),k+=A.length,C+=1}}var b=s.getTokens(e);return r.walk(function(m,g,d,C,k){m!=null?l.push({type:"fold",value:m}):(k&&(b=s.getTokens(g)),b.length&&u(b,C,d))},r.end.row,this.session.getLine(r.end.row).length),l},t.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},t}();n.prototype.EOF_CHAR="¶",n.prototype.EOL_CHAR_LF="¬",n.prototype.EOL_CHAR_CRLF="¤",n.prototype.EOL_CHAR=n.prototype.EOL_CHAR_LF,n.prototype.TAB_CHAR="—",n.prototype.SPACE_CHAR="·",n.prototype.$padding=0,n.prototype.MAX_LINE_LENGTH=1e4,n.prototype.showInvisibles=!1,n.prototype.showSpaces=!1,n.prototype.showTabs=!1,n.prototype.showEOL=!1,n.prototype.displayIndentGuides=!0,n.prototype.$highlightIndentGuides=!0,n.prototype.$tabStrings=[],n.prototype.destroy={},n.prototype.onChangeTabSize=n.prototype.$computeTabString,T.implement(n.prototype,c),x.Text=n}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(I,x,H){var T=I("../lib/dom"),M=function(){function S(a){this.element=T.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),T.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return S.prototype.$updateOpacity=function(a){for(var c=this.cursors,o=c.length;o--;)T.setStyle(c[o].style,"opacity",a?"":"0")},S.prototype.$startCssAnimation=function(){for(var a=this.cursors,c=a.length;c--;)a[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout((function(){this.$isAnimating&&T.addCssClass(this.element,"ace_animate-blinking")}).bind(this))},S.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,T.removeCssClass(this.element,"ace_animate-blinking")},S.prototype.setPadding=function(a){this.$padding=a},S.prototype.setSession=function(a){this.session=a},S.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},S.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},S.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,T.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.restartTimer())},S.prototype.addCursor=function(){var a=T.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},S.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},S.prototype.hideCursor=function(){this.isVisible=!1,T.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.showCursor=function(){this.isVisible=!0,T.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,T.removeCssClass(this.element,"ace_smooth-blinking")),a(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout((function(){this.$isSmoothBlinking&&T.addCssClass(this.element,"ace_smooth-blinking")}).bind(this))),T.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=(function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){a(!0),c()},this.blinkInterval),c()}},S.prototype.getPixelPosition=function(a,c){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var o=this.session.documentToScreenPosition(a),i=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,a.row)?this.session.$bidiHandler.getPosLeft(o.column):o.column*this.config.characterWidth),n=(o.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:n}},S.prototype.isCursorInView=function(a,c){return a.top>=0&&a.top<c.maxHeight},S.prototype.update=function(a){this.config=a;var c=this.session.$selectionMarkers,o=0,i=0;(c===void 0||c.length===0)&&(c=[{cursor:null}]);for(var o=0,n=c.length;o<n;o++){var t=this.getPixelPosition(c[o].cursor,!0);if(!((t.top>a.height+a.offset||t.top<0)&&o>1)){var e=this.cursors[i++]||this.addCursor(),r=e.style;this.drawCursor?this.drawCursor(e,t,a,c[o],this.session):this.isCursorInView(t,a)?(T.setStyle(r,"display","block"),T.translate(e,t.left,t.top),T.setStyle(r,"width",Math.round(a.characterWidth)+"px"),T.setStyle(r,"height",a.lineHeight+"px")):T.setStyle(r,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=t,this.restartTimer()},S.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?T.addCssClass(this.element,"ace_overwrite-cursors"):T.removeCssClass(this.element,"ace_overwrite-cursors"))},S.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},S}();M.prototype.$padding=0,M.prototype.drawCursor=null,x.Cursor=M}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(I,x,H){var T=this&&this.__extends||function(){var e=function(r,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(l[b]=u[b])},e(r,s)};return function(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");e(r,s);function l(){this.constructor=r}r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}(),M=I("./lib/oop"),S=I("./lib/dom"),a=I("./lib/event"),c=I("./lib/event_emitter").EventEmitter,o=32768,i=function(){function e(r,s){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+s,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),r.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(r){this.element.style.display=r?"":"none",this.isVisible=r,this.coeff=1},e}();M.implement(i.prototype,c);var n=function(e){T(r,e);function r(s,l){var u=e.call(this,s,"-v")||this;return u.scrollTop=0,u.scrollHeight=0,l.$scrollbarWidth=u.width=S.scrollbarWidth(s.ownerDocument),u.inner.style.width=u.element.style.width=(u.width||15)+5+"px",u.$minWidth=0,u}return r.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var s=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-s)/(this.coeff-s)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},r.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},r.prototype.setHeight=function(s){this.element.style.height=s+"px"},r.prototype.setScrollHeight=function(s){this.scrollHeight=s,s>o?(this.coeff=o/s,s=o):this.coeff!=1&&(this.coeff=1),this.inner.style.height=s+"px"},r.prototype.setScrollTop=function(s){this.scrollTop!=s&&(this.skipEvent=!0,this.scrollTop=s,this.element.scrollTop=s*this.coeff)},r}(i);n.prototype.setInnerHeight=n.prototype.setScrollHeight;var t=function(e){T(r,e);function r(s,l){var u=e.call(this,s,"-h")||this;return u.scrollLeft=0,u.height=l.$scrollbarWidth,u.inner.style.height=u.element.style.height=(u.height||15)+5+"px",u}return r.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},r.prototype.getHeight=function(){return this.isVisible?this.height:0},r.prototype.setWidth=function(s){this.element.style.width=s+"px"},r.prototype.setInnerWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollLeft=function(s){this.scrollLeft!=s&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=s)},r}(i);x.ScrollBar=n,x.ScrollBarV=n,x.ScrollBarH=t,x.VScrollBar=n,x.HScrollBar=t}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(I,x,H){var T=this&&this.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(s[u]=l[u])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}(),M=I("./lib/oop"),S=I("./lib/dom"),a=I("./lib/event"),c=I("./lib/event_emitter").EventEmitter;S.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{
209
209
  position: absolute;
210
210
  background: rgba(128, 128, 128, 0.6);
@@ -1,4 +1,4 @@
1
- import{g as Zt}from"./@xterm.Diz8y-up.0.0.19-alpha.5.js";var Oe={exports:{}};/*!
1
+ import{g as Zt}from"./@xterm.C8pywIfa.0.0.19.js";var Oe={exports:{}};/*!
2
2
  * ApexCharts v3.52.0
3
3
  * (c) 2018-2024 ApexCharts
4
4
  * Released under the MIT License.
@@ -0,0 +1 @@
1
+ div[data-v-5af279b1] .v-data-table__tr,div[data-v-6a64f1d1] .v-data-table__tr,div[data-v-f4268855] .v-data-table__tr,div[data-v-f040dd8b] .v-data-table__tr{overflow:hidden}
@@ -0,0 +1 @@
1
+ .image-upload[data-v-aa6efa0d]{position:absolute;right:10px;top:-12px;border:4px solid var(--background-app);border-radius:100px}div[data-v-aa6efa0d] .v-data-table__tr .v-data-table__td{padding-top:10px;padding-bottom:10px}
@@ -0,0 +1 @@
1
+ .plugin-card[data-v-e23d8439]{box-shadow:0 3px 1px -2px #0000000f,0 2px 2px #00000014,0 1px 5px #0000000d;border:1px solid rgba(var(--color-rgb),0)}.truncate-box[data-v-e23d8439]{max-height:100px;overflow:hidden;position:relative}.toggle-primary[data-v-e23d8439]{--toggle-bg-on: #df2a4c;--toggle-border-on: #df2a4c;--toggle-bg-on-disabled: #df2a4c;--toggle-border-on-disabled: #df2a4c;--toggle-bg-off: var(--toggle-off-color);--toggle-border-off: transparent;--toggle-bg-off-disabled: var(--toggle-off-color);--toggle-border-off-disabled: var(--toggle-off-color)}.toggle-container[data-v-e23d8439]:focus{box-shadow:none!important}.config-editor[data-v-e23d8439]{z-index:1;background:var(--background-app)!important}.plugin-inner-type[data-v-e23d8439]{width:20px;height:20px;border-radius:50%;overflow:hidden}.plugin-logo-type[data-v-e23d8439]{width:20px;height:20px;border-radius:50%;border:2px solid var(--background-inner-component);overflow:hidden}.multiline-ellipsis[data-v-e23d8439]{display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}