@infinilabs/ui-web-cli 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/LICENSE +9 -0
  2. package/README-zh_CN.md +0 -0
  3. package/README.md +2 -0
  4. package/dist/_common-5n7Nh4LD.js +9 -0
  5. package/dist/bulk-Cb_gp4HI.js +33 -0
  6. package/dist/cat.aliases-CTdyGkCx.js +30 -0
  7. package/dist/cat.allocation-Dk_NKrJm.js +37 -0
  8. package/dist/cat.count-BaRuV9k0.js +22 -0
  9. package/dist/cat.fielddata-Dsj8JZdl.js +36 -0
  10. package/dist/cat.health-BUroHIiP.js +31 -0
  11. package/dist/cat.help-DkymuYTu.js +18 -0
  12. package/dist/cat.indices-CVI1MQM0.js +60 -0
  13. package/dist/cat.master-CO-hm2xx.js +23 -0
  14. package/dist/cat.nodeattrs-Ff4nNeXI.js +23 -0
  15. package/dist/cat.nodes-D4_vs31Q.js +46 -0
  16. package/dist/cat.pending_tasks-BNkCJpdi.js +32 -0
  17. package/dist/cat.plugins-Dehk5__o.js +23 -0
  18. package/dist/cat.recovery-B6UD-IA8.js +47 -0
  19. package/dist/cat.repositories-C_lz02zW.js +23 -0
  20. package/dist/cat.segments-DApYGj2j.js +35 -0
  21. package/dist/cat.shards-Cknp8qqf.js +46 -0
  22. package/dist/cat.snapshots-D4WfvKVf.js +33 -0
  23. package/dist/cat.tasks-CSZT2FwV.js +34 -0
  24. package/dist/cat.templates-BDob6Rfd.js +24 -0
  25. package/dist/cat.thread_pool-Oa7LMSqa.js +32 -0
  26. package/dist/clear_scroll-DTHb-58C.js +15 -0
  27. package/dist/clear_scroll-DVgMvvXT.js +11 -0
  28. package/dist/cluster.allocation_explain-CYdNP0G_.js +19 -0
  29. package/dist/cluster.delete_component_template-DBwaFwdW.js +18 -0
  30. package/dist/cluster.get_component_template-DrQV6tby.js +20 -0
  31. package/dist/cluster.get_settings-BLxROkUF.js +20 -0
  32. package/dist/cluster.health-Cy0MsK-_.js +41 -0
  33. package/dist/cluster.health-c9Oq5JvO.js +49 -0
  34. package/dist/cluster.pending_tasks-BPvnGEr-.js +18 -0
  35. package/dist/cluster.put_component_template-B9SJPXm_.js +25 -0
  36. package/dist/cluster.put_component_template-Cu3GNNzk.js +18 -0
  37. package/dist/cluster.put_settings-BjqeejQ_.js +19 -0
  38. package/dist/cluster.put_settings-DFSjMdRK.js +153 -0
  39. package/dist/cluster.remote_info-DZ5BtQXp.js +14 -0
  40. package/dist/cluster.reroute-B6f6Gmgu.js +63 -0
  41. package/dist/cluster.reroute-ChOpPtnE.js +22 -0
  42. package/dist/cluster.state-C3p10h39.js +45 -0
  43. package/dist/cluster.stats-DlMsa15f.js +19 -0
  44. package/dist/count-CeHTsGbe.js +42 -0
  45. package/dist/count-DpQhibag.js +12 -0
  46. package/dist/create-bDnlL29y.js +33 -0
  47. package/dist/delete-a9O4r-Al.js +33 -0
  48. package/dist/delete_by_query-UXK0VTi1.js +65 -0
  49. package/dist/delete_by_query_rethrottle-C0rKdW5t.js +18 -0
  50. package/dist/delete_script-aoWW-JKY.js +19 -0
  51. package/dist/exists-ny-4PdOG.js +32 -0
  52. package/dist/exists_source-CPKUGlNi.js +31 -0
  53. package/dist/explain-CRM7OZkG.js +33 -0
  54. package/dist/favicon.ico +0 -0
  55. package/dist/field_caps-B64nCuEZ.js +30 -0
  56. package/dist/get-BmbJZ5vO.js +32 -0
  57. package/dist/get_script-WdoVCyAu.js +18 -0
  58. package/dist/get_script_context-BR7GsLOb.js +14 -0
  59. package/dist/get_script_languages-BCydMSc2.js +14 -0
  60. package/dist/get_source-ycYopG9R.js +31 -0
  61. package/dist/index-DjzB7hu6.js +40 -0
  62. package/dist/indices.analyze-ClHIyNrM.js +19 -0
  63. package/dist/indices.analyze-Cnk8z9Es.js +22 -0
  64. package/dist/indices.clear_cache-Bn2UQoFp.js +31 -0
  65. package/dist/indices.clone-CTqC1b-E.js +20 -0
  66. package/dist/indices.clone-OsTOcQwU.js +17 -0
  67. package/dist/indices.close-505GURha.js +28 -0
  68. package/dist/indices.create-CiDS2KoE.js +20 -0
  69. package/dist/indices.create-D6vAt5ML.js +20 -0
  70. package/dist/indices.delete-xiFC1EGi.js +27 -0
  71. package/dist/indices.delete_alias-CdCUnANG.js +19 -0
  72. package/dist/indices.delete_template-Ce29Zn4u.js +10 -0
  73. package/dist/indices.delete_template-f4TIEAKW.js +18 -0
  74. package/dist/indices.exists-CIaNfOEf.js +28 -0
  75. package/dist/indices.exists_alias-Dcjzo6TW.js +27 -0
  76. package/dist/indices.exists_template-BCKLcFt8.js +19 -0
  77. package/dist/indices.exists_template-CCI4XB1B.js +10 -0
  78. package/dist/indices.exists_type-D_gplC1G.js +26 -0
  79. package/dist/indices.flush-BQ9SOVxx.js +29 -0
  80. package/dist/indices.flush_synced-DWXJDccX.js +26 -0
  81. package/dist/indices.forcemerge-YZuwINa5.js +29 -0
  82. package/dist/indices.get-BmFk9klr.js +30 -0
  83. package/dist/indices.get_alias-BH5R9F7U.js +29 -0
  84. package/dist/indices.get_field_mapping-BGnjtBQZ.js +29 -0
  85. package/dist/indices.get_field_mapping-CvA9AE6t.js +8 -0
  86. package/dist/indices.get_mapping-1X-z0p-G.js +29 -0
  87. package/dist/indices.get_mapping-oH01DAQw.js +8 -0
  88. package/dist/indices.get_settings-DENLmeOj.js +32 -0
  89. package/dist/indices.get_template-CKMQIoTZ.js +21 -0
  90. package/dist/indices.get_template-Cut8qYjL.js +11 -0
  91. package/dist/indices.get_upgrade-XcKrUFWM.js +26 -0
  92. package/dist/indices.open-55bv4ufO.js +28 -0
  93. package/dist/indices.put_alias-BvKCrFYc.js +20 -0
  94. package/dist/indices.put_alias-DRGMKIZH.js +13 -0
  95. package/dist/indices.put_mapping-DBrIqvkv.js +29 -0
  96. package/dist/indices.put_settings-BkNNavUe.js +10 -0
  97. package/dist/indices.put_settings-ubg7XoYH.js +30 -0
  98. package/dist/indices.put_template-ByuVJUou.js +22 -0
  99. package/dist/indices.put_template-D4DgOXNy.js +26 -0
  100. package/dist/indices.recovery-BvGicjmF.js +19 -0
  101. package/dist/indices.refresh-B0i-iy3V.js +27 -0
  102. package/dist/indices.rollover-DUUD9dzm.js +22 -0
  103. package/dist/indices.rollover-Db8YZpKM.js +25 -0
  104. package/dist/indices.segments-BNzIRPkt.js +27 -0
  105. package/dist/indices.shard_stores-NeCJW61I.js +27 -0
  106. package/dist/indices.shrink-HTHaYCNw.js +21 -0
  107. package/dist/indices.split-CMOvLpHL.js +21 -0
  108. package/dist/indices.stats-lZbc7nYY.js +60 -0
  109. package/dist/indices.update_aliases-B-Xh15nC.js +35 -0
  110. package/dist/indices.update_aliases-CrZkDgP3.js +18 -0
  111. package/dist/indices.upgrade-F08HJEJh.js +28 -0
  112. package/dist/indices.validate_query-DR2M4so7.js +10 -0
  113. package/dist/indices.validate_query-VPrxVylH.js +39 -0
  114. package/dist/info-Uq39Tk5I.js +15 -0
  115. package/dist/ingest.delete_pipeline-DRtC3Dqh.js +18 -0
  116. package/dist/ingest.get_pipeline-JM9q1oH8.js +18 -0
  117. package/dist/ingest.processor_grok-8QBngXVm.js +14 -0
  118. package/dist/ingest.put_pipeline-BHYfeIUR.js +18 -0
  119. package/dist/ingest.simulate-Cfu8Bayu.js +19 -0
  120. package/dist/mget-BeU340PZ.js +27 -0
  121. package/dist/msearch-VXpUl7IB.js +31 -0
  122. package/dist/msearch_template-DIu31ouW.js +29 -0
  123. package/dist/mtermvectors-DgB5RWBU.js +36 -0
  124. package/dist/nodes.hot_threads-JeTUhoqt.js +27 -0
  125. package/dist/nodes.info-CG3dssML.js +35 -0
  126. package/dist/nodes.reload_secure_settings-DWyLnaF3.js +18 -0
  127. package/dist/nodes.stats-C4GRYbPh.js +67 -0
  128. package/dist/nodes.usage-CIENCxoR.js +27 -0
  129. package/dist/ping-Bji5pHwk.js +15 -0
  130. package/dist/put_script-CCLRxaG6.js +22 -0
  131. package/dist/rank_eval-Bu5vQ2D6.js +32 -0
  132. package/dist/reindex-D4uElthB.js +25 -0
  133. package/dist/reindex_rethrottle-CcKws1M4.js +18 -0
  134. package/dist/render_search_template-ay6iLNqt.js +17 -0
  135. package/dist/scripts_painless_execute-ChAFju6q.js +16 -0
  136. package/dist/scroll-rh-CV6XG.js +21 -0
  137. package/dist/search-UrY8NhdC.js +77 -0
  138. package/dist/search_shards-pfmDaePl.js +31 -0
  139. package/dist/search_template-BCt1HTyk.js +43 -0
  140. package/dist/snapshot.cleanup_repository-Cnh4nsU4.js +18 -0
  141. package/dist/snapshot.create-CmKQjbNG.js +28 -0
  142. package/dist/snapshot.create-DZ4Tu9Qk.js +19 -0
  143. package/dist/snapshot.create_repository-BmOMeVMH.js +20 -0
  144. package/dist/snapshot.create_repository-DJO_LqwU.js +128 -0
  145. package/dist/snapshot.delete-DZQxQUz4.js +17 -0
  146. package/dist/snapshot.delete_repository-CQW1kKrI.js +18 -0
  147. package/dist/snapshot.get-DHSFcDIR.js +19 -0
  148. package/dist/snapshot.get_repository-BxwEHWpH.js +19 -0
  149. package/dist/snapshot.restore-CmdKDppJ.js +19 -0
  150. package/dist/snapshot.restore-cGEgaiIV.js +18 -0
  151. package/dist/snapshot.status-GWfxy7Av.js +20 -0
  152. package/dist/snapshot.verify_repository-qrdfHcWm.js +18 -0
  153. package/dist/tasks.cancel-DUgfGug0.js +20 -0
  154. package/dist/tasks.get-BpJX-eED.js +18 -0
  155. package/dist/tasks.list-D5EnZIyw.js +27 -0
  156. package/dist/termvectors-CX5hi46K.js +35 -0
  157. package/dist/update-B8xVC7Qt.js +32 -0
  158. package/dist/update_by_query-DSN1rIIE.js +21 -0
  159. package/dist/update_by_query-DdbkrOvL.js +67 -0
  160. package/dist/update_by_query_rethrottle-BfRXVPcQ.js +18 -0
  161. package/dist/webCli.js +38468 -0
  162. package/dist/worker-BdEgGm_3.js +1069 -0
  163. package/dist/x_json.ace.worker-DoXOeFDR.js +1128 -0
  164. package/package.json +70 -0
@@ -0,0 +1,1128 @@
1
+ var m = { exports: {} };
2
+ (function(l) {
3
+ function c(n, e) {
4
+ for (var i = n, r = ""; i; ) {
5
+ var t = e[i];
6
+ if (typeof t == "string") return t + r;
7
+ if (t) return t.location.replace(/\/*$/, "/") + (r || t.main || t.name);
8
+ if (t === !1) return "";
9
+ var s = i.lastIndexOf("/");
10
+ if (s === -1) break;
11
+ r = i.substr(s) + r, i = i.slice(0, s);
12
+ }
13
+ return n;
14
+ }
15
+ if (!(l.window !== void 0 && l.document || l.acequire && l.define)) {
16
+ l.console || (l.console = function() {
17
+ var n = Array.prototype.slice.call(arguments, 0);
18
+ postMessage({
19
+ type: "log",
20
+ data: n
21
+ });
22
+ }, l.console.error = l.console.warn = l.console.log = l.console.trace = l.console), l.window = l, l.ace = l, l.onerror = function(n, e, i, r, t) {
23
+ postMessage({
24
+ type: "error",
25
+ data: {
26
+ message: n,
27
+ data: t.data,
28
+ file: e,
29
+ line: i,
30
+ col: r,
31
+ stack: t.stack
32
+ }
33
+ });
34
+ }, l.normalizeModule = function(n, e) {
35
+ if (e.indexOf("!") !== -1) {
36
+ var i = e.split("!");
37
+ return l.normalizeModule(n, i[0]) + "!" + l.normalizeModule(n, i[1]);
38
+ }
39
+ if (e.charAt(0) == ".") {
40
+ var r = n.split("/").slice(0, -1).join("/");
41
+ for (e = (r ? r + "/" : "") + e; e.indexOf(".") !== -1 && t != e; ) {
42
+ var t = e;
43
+ e = e.replace(/^\.\//, "").replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, "");
44
+ }
45
+ }
46
+ return e;
47
+ }, l.acequire = function(e, i) {
48
+ if (i || (i = e, e = null), !i.charAt) throw Error("worker.js acequire() accepts only (parentId, id) as arguments");
49
+ i = l.normalizeModule(e, i);
50
+ var r = l.acequire.modules[i];
51
+ if (r) return r.initialized || (r.initialized = !0, r.exports = r.factory().exports), r.exports;
52
+ if (!l.acequire.tlns) return console.log("unable to load " + i);
53
+ var t = c(i, l.acequire.tlns);
54
+ return t.slice(-3) != ".js" && (t += ".js"), l.acequire.id = i, l.acequire.modules[i] = {}, importScripts(t), l.acequire(e, i);
55
+ }, l.acequire.modules = {}, l.acequire.tlns = {}, l.define = function(n, e, i) {
56
+ if (arguments.length == 2 ? (i = e, typeof n != "string" && (e = n, n = l.acequire.id)) : arguments.length == 1 && (i = n, e = [], n = l.acequire.id), typeof i != "function") return l.acequire.modules[n] = {
57
+ exports: i,
58
+ initialized: !0
59
+ }, void 0;
60
+ e.length || (e = ["require", "exports", "module"]);
61
+ var r = function(t) {
62
+ return l.acequire(n, t);
63
+ };
64
+ l.acequire.modules[n] = {
65
+ exports: {},
66
+ factory: function() {
67
+ var t = this, s = i.apply(this, e.map(function(u) {
68
+ switch (u) {
69
+ case "require":
70
+ return r;
71
+ case "exports":
72
+ return t.exports;
73
+ case "module":
74
+ return t;
75
+ default:
76
+ return r(u);
77
+ }
78
+ }));
79
+ return s && (t.exports = s), t;
80
+ }
81
+ };
82
+ }, l.define.amd = {}, acequire.tlns = {}, l.initBaseUrls = function(n) {
83
+ for (var e in n) acequire.tlns[e] = n[e];
84
+ }, l.initSender = function() {
85
+ var n = l.acequire("ace/lib/event_emitter").EventEmitter, e = l.acequire("ace/lib/oop"), i = function() {
86
+ };
87
+ return (function() {
88
+ e.implement(this, n), this.callback = function(r, t) {
89
+ postMessage({
90
+ type: "call",
91
+ id: t,
92
+ data: r
93
+ });
94
+ }, this.emit = function(r, t) {
95
+ postMessage({
96
+ type: "event",
97
+ name: r,
98
+ data: t
99
+ });
100
+ };
101
+ }).call(i.prototype), new i();
102
+ };
103
+ var p = l.main = null, g = l.sender = null;
104
+ l.onmessage = function(n) {
105
+ var e = n.data;
106
+ if (e.event && g) g._signal(e.event, e.data);
107
+ else if (e.command)
108
+ if (p[e.command]) p[e.command].apply(p, e.args);
109
+ else {
110
+ if (!l[e.command]) throw Error("Unknown command:" + e.command);
111
+ l[e.command].apply(l, e.args);
112
+ }
113
+ else if (e.init) {
114
+ l.initBaseUrls(e.tlns), acequire("ace/lib/es5-shim"), g = l.sender = l.initSender();
115
+ var i = acequire(e.module)[e.classname];
116
+ p = l.main = new i(g);
117
+ }
118
+ };
119
+ }
120
+ })(void 0), ace.define("ace/lib/oop", ["require", "exports", "module"], function(l, c) {
121
+ c.inherits = function(p, g) {
122
+ p.super_ = g, p.prototype = Object.create(g.prototype, {
123
+ constructor: {
124
+ value: p,
125
+ enumerable: !1,
126
+ writable: !0,
127
+ configurable: !0
128
+ }
129
+ });
130
+ }, c.mixin = function(p, g) {
131
+ for (var n in g) p[n] = g[n];
132
+ return p;
133
+ }, c.implement = function(p, g) {
134
+ c.mixin(p, g);
135
+ };
136
+ }), ace.define("ace/range", ["require", "exports", "module"], function(l, c) {
137
+ var p = function(n, e) {
138
+ return n.row - e.row || n.column - e.column;
139
+ }, g = function(n, e, i, r) {
140
+ this.start = {
141
+ row: n,
142
+ column: e
143
+ }, this.end = {
144
+ row: i,
145
+ column: r
146
+ };
147
+ };
148
+ (function() {
149
+ this.isEqual = function(n) {
150
+ return this.start.row === n.start.row && this.end.row === n.end.row && this.start.column === n.start.column && this.end.column === n.end.column;
151
+ }, this.toString = function() {
152
+ return "Range: [" + this.start.row + "/" + this.start.column + "] -> [" + this.end.row + "/" + this.end.column + "]";
153
+ }, this.contains = function(n, e) {
154
+ return this.compare(n, e) == 0;
155
+ }, this.compareRange = function(n) {
156
+ var e, i = n.end, r = n.start;
157
+ return e = this.compare(i.row, i.column), e == 1 ? (e = this.compare(r.row, r.column), e == 1 ? 2 : e == 0 ? 1 : 0) : e == -1 ? -2 : (e = this.compare(r.row, r.column), e == -1 ? -1 : e == 1 ? 42 : 0);
158
+ }, this.comparePoint = function(n) {
159
+ return this.compare(n.row, n.column);
160
+ }, this.containsRange = function(n) {
161
+ return this.comparePoint(n.start) == 0 && this.comparePoint(n.end) == 0;
162
+ }, this.intersects = function(n) {
163
+ var e = this.compareRange(n);
164
+ return e == -1 || e == 0 || e == 1;
165
+ }, this.isEnd = function(n, e) {
166
+ return this.end.row == n && this.end.column == e;
167
+ }, this.isStart = function(n, e) {
168
+ return this.start.row == n && this.start.column == e;
169
+ }, this.setStart = function(n, e) {
170
+ typeof n == "object" ? (this.start.column = n.column, this.start.row = n.row) : (this.start.row = n, this.start.column = e);
171
+ }, this.setEnd = function(n, e) {
172
+ typeof n == "object" ? (this.end.column = n.column, this.end.row = n.row) : (this.end.row = n, this.end.column = e);
173
+ }, this.inside = function(n, e) {
174
+ return this.compare(n, e) == 0 ? !(this.isEnd(n, e) || this.isStart(n, e)) : !1;
175
+ }, this.insideStart = function(n, e) {
176
+ return this.compare(n, e) == 0 ? !this.isEnd(n, e) : !1;
177
+ }, this.insideEnd = function(n, e) {
178
+ return this.compare(n, e) == 0 ? !this.isStart(n, e) : !1;
179
+ }, this.compare = function(n, e) {
180
+ return this.isMultiLine() || n !== this.start.row ? this.start.row > n ? -1 : n > this.end.row ? 1 : this.start.row === n ? e >= this.start.column ? 0 : -1 : this.end.row === n ? this.end.column >= e ? 0 : 1 : 0 : this.start.column > e ? -1 : e > this.end.column ? 1 : 0;
181
+ }, this.compareStart = function(n, e) {
182
+ return this.start.row == n && this.start.column == e ? -1 : this.compare(n, e);
183
+ }, this.compareEnd = function(n, e) {
184
+ return this.end.row == n && this.end.column == e ? 1 : this.compare(n, e);
185
+ }, this.compareInside = function(n, e) {
186
+ return this.end.row == n && this.end.column == e ? 1 : this.start.row == n && this.start.column == e ? -1 : this.compare(n, e);
187
+ }, this.clipRows = function(n, e) {
188
+ if (this.end.row > e) var i = {
189
+ row: e + 1,
190
+ column: 0
191
+ };
192
+ else if (n > this.end.row) var i = {
193
+ row: n,
194
+ column: 0
195
+ };
196
+ if (this.start.row > e) var r = {
197
+ row: e + 1,
198
+ column: 0
199
+ };
200
+ else if (n > this.start.row) var r = {
201
+ row: n,
202
+ column: 0
203
+ };
204
+ return g.fromPoints(r || this.start, i || this.end);
205
+ }, this.extend = function(n, e) {
206
+ var i = this.compare(n, e);
207
+ if (i == 0) return this;
208
+ if (i == -1) var r = {
209
+ row: n,
210
+ column: e
211
+ };
212
+ else var t = {
213
+ row: n,
214
+ column: e
215
+ };
216
+ return g.fromPoints(r || this.start, t || this.end);
217
+ }, this.isEmpty = function() {
218
+ return this.start.row === this.end.row && this.start.column === this.end.column;
219
+ }, this.isMultiLine = function() {
220
+ return this.start.row !== this.end.row;
221
+ }, this.clone = function() {
222
+ return g.fromPoints(this.start, this.end);
223
+ }, this.collapseRows = function() {
224
+ return this.end.column == 0 ? new g(this.start.row, 0, Math.max(this.start.row, this.end.row - 1), 0) : new g(this.start.row, 0, this.end.row, 0);
225
+ }, this.toScreenRange = function(n) {
226
+ var e = n.documentToScreenPosition(this.start), i = n.documentToScreenPosition(this.end);
227
+ return new g(e.row, e.column, i.row, i.column);
228
+ }, this.moveBy = function(n, e) {
229
+ this.start.row += n, this.start.column += e, this.end.row += n, this.end.column += e;
230
+ };
231
+ }).call(g.prototype), g.fromPoints = function(n, e) {
232
+ return new g(n.row, n.column, e.row, e.column);
233
+ }, g.comparePoints = p, g.comparePoints = function(n, e) {
234
+ return n.row - e.row || n.column - e.column;
235
+ }, c.Range = g;
236
+ }), ace.define("ace/apply_delta", ["require", "exports", "module"], function(l, c) {
237
+ c.applyDelta = function(p, g) {
238
+ var n = g.start.row, e = g.start.column, i = p[n] || "";
239
+ switch (g.action) {
240
+ case "insert":
241
+ var r = g.lines;
242
+ if (r.length === 1) p[n] = i.substring(0, e) + g.lines[0] + i.substring(e);
243
+ else {
244
+ var t = [n, 1].concat(g.lines);
245
+ p.splice.apply(p, t), p[n] = i.substring(0, e) + p[n], p[n + g.lines.length - 1] += i.substring(e);
246
+ }
247
+ break;
248
+ case "remove":
249
+ var s = g.end.column, u = g.end.row;
250
+ n === u ? p[n] = i.substring(0, e) + i.substring(s) : p.splice(n, u - n + 1, i.substring(0, e) + p[u].substring(s));
251
+ }
252
+ };
253
+ }), ace.define("ace/lib/event_emitter", ["require", "exports", "module"], function(l, c) {
254
+ var p = {}, g = function() {
255
+ this.propagationStopped = !0;
256
+ }, n = function() {
257
+ this.defaultPrevented = !0;
258
+ };
259
+ p._emit = p._dispatchEvent = function(e, i) {
260
+ this._eventRegistry || (this._eventRegistry = {}), this._defaultHandlers || (this._defaultHandlers = {});
261
+ var r = this._eventRegistry[e] || [], t = this._defaultHandlers[e];
262
+ if (r.length || t) {
263
+ typeof i == "object" && i || (i = {}), i.type || (i.type = e), i.stopPropagation || (i.stopPropagation = g), i.preventDefault || (i.preventDefault = n), r = r.slice();
264
+ for (var s = 0; r.length > s && (r[s](i, this), !i.propagationStopped); s++) ;
265
+ return t && !i.defaultPrevented ? t(i, this) : void 0;
266
+ }
267
+ }, p._signal = function(e, i) {
268
+ var r = (this._eventRegistry || {})[e];
269
+ if (r) {
270
+ r = r.slice();
271
+ for (var t = 0; r.length > t; t++) r[t](i, this);
272
+ }
273
+ }, p.once = function(e, i) {
274
+ var r = this;
275
+ i && this.addEventListener(e, function t() {
276
+ r.removeEventListener(e, t), i.apply(null, arguments);
277
+ });
278
+ }, p.setDefaultHandler = function(e, i) {
279
+ var r = this._defaultHandlers;
280
+ if (r || (r = this._defaultHandlers = {
281
+ _disabled_: {}
282
+ }), r[e]) {
283
+ var t = r[e], s = r._disabled_[e];
284
+ s || (r._disabled_[e] = s = []), s.push(t);
285
+ var u = s.indexOf(i);
286
+ u != -1 && s.splice(u, 1);
287
+ }
288
+ r[e] = i;
289
+ }, p.removeDefaultHandler = function(e, i) {
290
+ var r = this._defaultHandlers;
291
+ if (r) {
292
+ var t = r._disabled_[e];
293
+ if (r[e] == i) r[e], t && this.setDefaultHandler(e, t.pop());
294
+ else if (t) {
295
+ var s = t.indexOf(i);
296
+ s != -1 && t.splice(s, 1);
297
+ }
298
+ }
299
+ }, p.on = p.addEventListener = function(e, i, r) {
300
+ this._eventRegistry = this._eventRegistry || {};
301
+ var t = this._eventRegistry[e];
302
+ return t || (t = this._eventRegistry[e] = []), t.indexOf(i) == -1 && t[r ? "unshift" : "push"](i), i;
303
+ }, p.off = p.removeListener = p.removeEventListener = function(e, i) {
304
+ this._eventRegistry = this._eventRegistry || {};
305
+ var r = this._eventRegistry[e];
306
+ if (r) {
307
+ var t = r.indexOf(i);
308
+ t !== -1 && r.splice(t, 1);
309
+ }
310
+ }, p.removeAllListeners = function(e) {
311
+ this._eventRegistry && (this._eventRegistry[e] = []);
312
+ }, c.EventEmitter = p;
313
+ }), ace.define("ace/anchor", ["require", "exports", "module", "ace/lib/oop", "ace/lib/event_emitter"], function(l, c) {
314
+ var p = l("./lib/oop"), g = l("./lib/event_emitter").EventEmitter, n = c.Anchor = function(e, i, r) {
315
+ this.$onChange = this.onChange.bind(this), this.attach(e), r === void 0 ? this.setPosition(i.row, i.column) : this.setPosition(i, r);
316
+ };
317
+ (function() {
318
+ function e(r, t, s) {
319
+ var u = s ? r.column <= t.column : r.column < t.column;
320
+ return r.row < t.row || r.row == t.row && u;
321
+ }
322
+ function i(r, t, s) {
323
+ var u = r.action == "insert", x = (u ? 1 : -1) * (r.end.row - r.start.row), _ = (u ? 1 : -1) * (r.end.column - r.start.column), b = r.start, L = u ? b : r.end;
324
+ return e(t, b, s) ? {
325
+ row: t.row,
326
+ column: t.column
327
+ } : e(L, t, !s) ? {
328
+ row: t.row + x,
329
+ column: t.column + (t.row == L.row ? _ : 0)
330
+ } : {
331
+ row: b.row,
332
+ column: b.column
333
+ };
334
+ }
335
+ p.implement(this, g), this.getPosition = function() {
336
+ return this.$clipPositionToDocument(this.row, this.column);
337
+ }, this.getDocument = function() {
338
+ return this.document;
339
+ }, this.$insertRight = !1, this.onChange = function(r) {
340
+ if (!(r.start.row == r.end.row && r.start.row != this.row || r.start.row > this.row)) {
341
+ var t = i(r, {
342
+ row: this.row,
343
+ column: this.column
344
+ }, this.$insertRight);
345
+ this.setPosition(t.row, t.column, !0);
346
+ }
347
+ }, this.setPosition = function(r, t, s) {
348
+ var u;
349
+ if (u = s ? {
350
+ row: r,
351
+ column: t
352
+ } : this.$clipPositionToDocument(r, t), this.row != u.row || this.column != u.column) {
353
+ var x = {
354
+ row: this.row,
355
+ column: this.column
356
+ };
357
+ this.row = u.row, this.column = u.column, this._signal("change", {
358
+ old: x,
359
+ value: u
360
+ });
361
+ }
362
+ }, this.detach = function() {
363
+ this.document.removeEventListener("change", this.$onChange);
364
+ }, this.attach = function(r) {
365
+ this.document = r || this.document, this.document.on("change", this.$onChange);
366
+ }, this.$clipPositionToDocument = function(r, t) {
367
+ var s = {};
368
+ return r >= this.document.getLength() ? (s.row = Math.max(0, this.document.getLength() - 1), s.column = this.document.getLine(s.row).length) : 0 > r ? (s.row = 0, s.column = 0) : (s.row = r, s.column = Math.min(this.document.getLine(s.row).length, Math.max(0, t))), 0 > t && (s.column = 0), s;
369
+ };
370
+ }).call(n.prototype);
371
+ }), ace.define("ace/document", ["require", "exports", "module", "ace/lib/oop", "ace/apply_delta", "ace/lib/event_emitter", "ace/range", "ace/anchor"], function(l, c) {
372
+ var p = l("./lib/oop"), g = l("./apply_delta").applyDelta, n = l("./lib/event_emitter").EventEmitter, e = l("./range").Range, i = l("./anchor").Anchor, r = function(t) {
373
+ this.$lines = [""], t.length === 0 ? this.$lines = [""] : Array.isArray(t) ? this.insertMergedLines({
374
+ row: 0,
375
+ column: 0
376
+ }, t) : this.insert({
377
+ row: 0,
378
+ column: 0
379
+ }, t);
380
+ };
381
+ (function() {
382
+ p.implement(this, n), this.setValue = function(t) {
383
+ var s = this.getLength() - 1;
384
+ this.remove(new e(0, 0, s, this.getLine(s).length)), this.insert({
385
+ row: 0,
386
+ column: 0
387
+ }, t);
388
+ }, this.getValue = function() {
389
+ return this.getAllLines().join(this.getNewLineCharacter());
390
+ }, this.createAnchor = function(t, s) {
391
+ return new i(this, t, s);
392
+ }, this.$split = "aaa".split(/a/).length === 0 ? function(t) {
393
+ return t.replace(/\r\n|\r/g, `
394
+ `).split(`
395
+ `);
396
+ } : function(t) {
397
+ return t.split(/\r\n|\r|\n/);
398
+ }, this.$detectNewLine = function(t) {
399
+ var s = t.match(/^.*?(\r\n|\r|\n)/m);
400
+ this.$autoNewLine = s ? s[1] : `
401
+ `, this._signal("changeNewLineMode");
402
+ }, this.getNewLineCharacter = function() {
403
+ switch (this.$newLineMode) {
404
+ case "windows":
405
+ return `\r
406
+ `;
407
+ case "unix":
408
+ return `
409
+ `;
410
+ default:
411
+ return this.$autoNewLine || `
412
+ `;
413
+ }
414
+ }, this.$autoNewLine = "", this.$newLineMode = "auto", this.setNewLineMode = function(t) {
415
+ this.$newLineMode !== t && (this.$newLineMode = t, this._signal("changeNewLineMode"));
416
+ }, this.getNewLineMode = function() {
417
+ return this.$newLineMode;
418
+ }, this.isNewLine = function(t) {
419
+ return t == `\r
420
+ ` || t == "\r" || t == `
421
+ `;
422
+ }, this.getLine = function(t) {
423
+ return this.$lines[t] || "";
424
+ }, this.getLines = function(t, s) {
425
+ return this.$lines.slice(t, s + 1);
426
+ }, this.getAllLines = function() {
427
+ return this.getLines(0, this.getLength());
428
+ }, this.getLength = function() {
429
+ return this.$lines.length;
430
+ }, this.getTextRange = function(t) {
431
+ return this.getLinesForRange(t).join(this.getNewLineCharacter());
432
+ }, this.getLinesForRange = function(t) {
433
+ var s;
434
+ if (t.start.row === t.end.row) s = [this.getLine(t.start.row).substring(t.start.column, t.end.column)];
435
+ else {
436
+ s = this.getLines(t.start.row, t.end.row), s[0] = (s[0] || "").substring(t.start.column);
437
+ var u = s.length - 1;
438
+ t.end.row - t.start.row == u && (s[u] = s[u].substring(0, t.end.column));
439
+ }
440
+ return s;
441
+ }, this.insertLines = function(t, s) {
442
+ return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."), this.insertFullLines(t, s);
443
+ }, this.removeLines = function(t, s) {
444
+ return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."), this.removeFullLines(t, s);
445
+ }, this.insertNewLine = function(t) {
446
+ return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."), this.insertMergedLines(t, ["", ""]);
447
+ }, this.insert = function(t, s) {
448
+ return 1 >= this.getLength() && this.$detectNewLine(s), this.insertMergedLines(t, this.$split(s));
449
+ }, this.insertInLine = function(t, s) {
450
+ var u = this.clippedPos(t.row, t.column), x = this.pos(t.row, t.column + s.length);
451
+ return this.applyDelta({
452
+ start: u,
453
+ end: x,
454
+ action: "insert",
455
+ lines: [s]
456
+ }, !0), this.clonePos(x);
457
+ }, this.clippedPos = function(t, s) {
458
+ var u = this.getLength();
459
+ t === void 0 ? t = u : 0 > t ? t = 0 : t >= u && (t = u - 1, s = void 0);
460
+ var x = this.getLine(t);
461
+ return s == null && (s = x.length), s = Math.min(Math.max(s, 0), x.length), {
462
+ row: t,
463
+ column: s
464
+ };
465
+ }, this.clonePos = function(t) {
466
+ return {
467
+ row: t.row,
468
+ column: t.column
469
+ };
470
+ }, this.pos = function(t, s) {
471
+ return {
472
+ row: t,
473
+ column: s
474
+ };
475
+ }, this.$clipPosition = function(t) {
476
+ var s = this.getLength();
477
+ return t.row >= s ? (t.row = Math.max(0, s - 1), t.column = this.getLine(s - 1).length) : (t.row = Math.max(0, t.row), t.column = Math.min(Math.max(t.column, 0), this.getLine(t.row).length)), t;
478
+ }, this.insertFullLines = function(t, s) {
479
+ t = Math.min(Math.max(t, 0), this.getLength());
480
+ var u = 0;
481
+ this.getLength() > t ? (s = s.concat([""]), u = 0) : (s = [""].concat(s), t--, u = this.$lines[t].length), this.insertMergedLines({
482
+ row: t,
483
+ column: u
484
+ }, s);
485
+ }, this.insertMergedLines = function(t, s) {
486
+ var u = this.clippedPos(t.row, t.column), x = {
487
+ row: u.row + s.length - 1,
488
+ column: (s.length == 1 ? u.column : 0) + s[s.length - 1].length
489
+ };
490
+ return this.applyDelta({
491
+ start: u,
492
+ end: x,
493
+ action: "insert",
494
+ lines: s
495
+ }), this.clonePos(x);
496
+ }, this.remove = function(t) {
497
+ var s = this.clippedPos(t.start.row, t.start.column), u = this.clippedPos(t.end.row, t.end.column);
498
+ return this.applyDelta({
499
+ start: s,
500
+ end: u,
501
+ action: "remove",
502
+ lines: this.getLinesForRange({
503
+ start: s,
504
+ end: u
505
+ })
506
+ }), this.clonePos(s);
507
+ }, this.removeInLine = function(t, s, u) {
508
+ var x = this.clippedPos(t, s), _ = this.clippedPos(t, u);
509
+ return this.applyDelta({
510
+ start: x,
511
+ end: _,
512
+ action: "remove",
513
+ lines: this.getLinesForRange({
514
+ start: x,
515
+ end: _
516
+ })
517
+ }, !0), this.clonePos(x);
518
+ }, this.removeFullLines = function(t, s) {
519
+ t = Math.min(Math.max(0, t), this.getLength() - 1), s = Math.min(Math.max(0, s), this.getLength() - 1);
520
+ var u = s == this.getLength() - 1 && t > 0, x = this.getLength() - 1 > s, _ = u ? t - 1 : t, b = u ? this.getLine(_).length : 0, L = x ? s + 1 : s, S = x ? 0 : this.getLine(L).length, v = new e(_, b, L, S), w = this.$lines.slice(t, s + 1);
521
+ return this.applyDelta({
522
+ start: v.start,
523
+ end: v.end,
524
+ action: "remove",
525
+ lines: this.getLinesForRange(v)
526
+ }), w;
527
+ }, this.removeNewLine = function(t) {
528
+ this.getLength() - 1 > t && t >= 0 && this.applyDelta({
529
+ start: this.pos(t, this.getLine(t).length),
530
+ end: this.pos(t + 1, 0),
531
+ action: "remove",
532
+ lines: ["", ""]
533
+ });
534
+ }, this.replace = function(t, s) {
535
+ return t instanceof e || (t = e.fromPoints(t.start, t.end)), s.length === 0 && t.isEmpty() ? t.start : s == this.getTextRange(t) ? t.end : (this.remove(t), s ? this.insert(t.start, s) : t.start);
536
+ }, this.applyDeltas = function(t) {
537
+ for (var s = 0; t.length > s; s++) this.applyDelta(t[s]);
538
+ }, this.revertDeltas = function(t) {
539
+ for (var s = t.length - 1; s >= 0; s--) this.revertDelta(t[s]);
540
+ }, this.applyDelta = function(t, s) {
541
+ var u = t.action == "insert";
542
+ (u ? 1 >= t.lines.length && !t.lines[0] : !e.comparePoints(t.start, t.end)) || (u && t.lines.length > 2e4 && this.$splitAndapplyLargeDelta(t, 2e4), g(this.$lines, t, s), this._signal("change", t));
543
+ }, this.$splitAndapplyLargeDelta = function(t, s) {
544
+ for (var u = t.lines, x = u.length, _ = t.start.row, b = t.start.column, L = 0, S = 0; ; ) {
545
+ L = S, S += s - 1;
546
+ var v = u.slice(L, S);
547
+ if (S > x) {
548
+ t.lines = v, t.start.row = _ + L, t.start.column = b;
549
+ break;
550
+ }
551
+ v.push(""), this.applyDelta({
552
+ start: this.pos(_ + L, b),
553
+ end: this.pos(_ + S, b = 0),
554
+ action: t.action,
555
+ lines: v
556
+ }, !0);
557
+ }
558
+ }, this.revertDelta = function(t) {
559
+ this.applyDelta({
560
+ start: this.clonePos(t.start),
561
+ end: this.clonePos(t.end),
562
+ action: t.action == "insert" ? "remove" : "insert",
563
+ lines: t.lines.slice()
564
+ });
565
+ }, this.indexToPosition = function(t, s) {
566
+ for (var u = this.$lines || this.getAllLines(), x = this.getNewLineCharacter().length, _ = s || 0, b = u.length; b > _; _++)
567
+ if (t -= u[_].length + x, 0 > t) return {
568
+ row: _,
569
+ column: t + u[_].length + x
570
+ };
571
+ return {
572
+ row: b - 1,
573
+ column: u[b - 1].length
574
+ };
575
+ }, this.positionToIndex = function(t, s) {
576
+ for (var u = this.$lines || this.getAllLines(), x = this.getNewLineCharacter().length, _ = 0, b = Math.min(t.row, u.length), L = s || 0; b > L; ++L) _ += u[L].length + x;
577
+ return _ + t.column;
578
+ };
579
+ }).call(r.prototype), c.Document = r;
580
+ }), ace.define("ace/lib/lang", ["require", "exports", "module"], function(l, c) {
581
+ c.last = function(n) {
582
+ return n[n.length - 1];
583
+ }, c.stringReverse = function(n) {
584
+ return n.split("").reverse().join("");
585
+ }, c.stringRepeat = function(n, e) {
586
+ for (var i = ""; e > 0; ) 1 & e && (i += n), (e >>= 1) && (n += n);
587
+ return i;
588
+ };
589
+ var p = /^\s\s*/, g = /\s\s*$/;
590
+ c.stringTrimLeft = function(n) {
591
+ return n.replace(p, "");
592
+ }, c.stringTrimRight = function(n) {
593
+ return n.replace(g, "");
594
+ }, c.copyObject = function(n) {
595
+ var e = {};
596
+ for (var i in n) e[i] = n[i];
597
+ return e;
598
+ }, c.copyArray = function(n) {
599
+ for (var e = [], i = 0, r = n.length; r > i; i++) e[i] = n[i] && typeof n[i] == "object" ? this.copyObject(n[i]) : n[i];
600
+ return e;
601
+ }, c.deepCopy = function n(e) {
602
+ if (typeof e != "object" || !e) return e;
603
+ var i;
604
+ if (Array.isArray(e)) {
605
+ i = [];
606
+ for (var r = 0; e.length > r; r++) i[r] = n(e[r]);
607
+ return i;
608
+ }
609
+ if (Object.prototype.toString.call(e) !== "[object Object]") return e;
610
+ i = {};
611
+ for (var r in e) i[r] = n(e[r]);
612
+ return i;
613
+ }, c.arrayToMap = function(n) {
614
+ for (var e = {}, i = 0; n.length > i; i++) e[n[i]] = 1;
615
+ return e;
616
+ }, c.createMap = function(n) {
617
+ var e = /* @__PURE__ */ Object.create(null);
618
+ for (var i in n) e[i] = n[i];
619
+ return e;
620
+ }, c.arrayRemove = function(n, e) {
621
+ for (var i = 0; n.length >= i; i++) e === n[i] && n.splice(i, 1);
622
+ }, c.escapeRegExp = function(n) {
623
+ return n.replace(/([.*+?^${}()|[\]\/\\])/g, "\\$1");
624
+ }, c.escapeHTML = function(n) {
625
+ return n.replace(/&/g, "&#38;").replace(/"/g, "&#34;").replace(/'/g, "&#39;").replace(/</g, "&#60;");
626
+ }, c.getMatchOffsets = function(n, e) {
627
+ var i = [];
628
+ return n.replace(e, function(r) {
629
+ i.push({
630
+ offset: arguments[arguments.length - 2],
631
+ length: r.length
632
+ });
633
+ }), i;
634
+ }, c.deferredCall = function(n) {
635
+ var e = null, i = function() {
636
+ e = null, n();
637
+ }, r = function(t) {
638
+ return r.cancel(), e = setTimeout(i, t || 0), r;
639
+ };
640
+ return r.schedule = r, r.call = function() {
641
+ return this.cancel(), n(), r;
642
+ }, r.cancel = function() {
643
+ return clearTimeout(e), e = null, r;
644
+ }, r.isPending = function() {
645
+ return e;
646
+ }, r;
647
+ }, c.delayedCall = function(n, e) {
648
+ var i = null, r = function() {
649
+ i = null, n();
650
+ }, t = function(s) {
651
+ i == null && (i = setTimeout(r, s || e));
652
+ };
653
+ return t.delay = function(s) {
654
+ i && clearTimeout(i), i = setTimeout(r, s || e);
655
+ }, t.schedule = t, t.call = function() {
656
+ this.cancel(), n();
657
+ }, t.cancel = function() {
658
+ i && clearTimeout(i), i = null;
659
+ }, t.isPending = function() {
660
+ return i;
661
+ }, t;
662
+ };
663
+ }), ace.define("ace/worker/mirror", ["require", "exports", "module", "ace/range", "ace/document", "ace/lib/lang"], function(l, c) {
664
+ l("../range").Range;
665
+ var p = l("../document").Document, g = l("../lib/lang"), n = c.Mirror = function(e) {
666
+ this.sender = e;
667
+ var i = this.doc = new p(""), r = this.deferredUpdate = g.delayedCall(this.onUpdate.bind(this)), t = this;
668
+ e.on("change", function(s) {
669
+ var u = s.data;
670
+ if (u[0].start) i.applyDeltas(u);
671
+ else
672
+ for (var x = 0; u.length > x; x += 2) {
673
+ if (Array.isArray(u[x + 1])) var _ = {
674
+ action: "insert",
675
+ start: u[x],
676
+ lines: u[x + 1]
677
+ };
678
+ else var _ = {
679
+ action: "remove",
680
+ start: u[x],
681
+ end: u[x + 1]
682
+ };
683
+ i.applyDelta(_, !0);
684
+ }
685
+ return t.$timeout ? r.schedule(t.$timeout) : (t.onUpdate(), void 0);
686
+ });
687
+ };
688
+ (function() {
689
+ this.$timeout = 500, this.setTimeout = function(e) {
690
+ this.$timeout = e;
691
+ }, this.setValue = function(e) {
692
+ this.doc.setValue(e), this.deferredUpdate.schedule(this.$timeout);
693
+ }, this.getValue = function(e) {
694
+ this.sender.callback(this.doc.getValue(), e);
695
+ }, this.onUpdate = function() {
696
+ }, this.isPending = function() {
697
+ return this.deferredUpdate.isPending();
698
+ };
699
+ }).call(n.prototype);
700
+ }), ace.define("ace/mode/json/json_parse", ["require", "exports", "module"], function() {
701
+ var l, c, p, g, n = {
702
+ '"': '"',
703
+ "\\": "\\",
704
+ "/": "/",
705
+ b: "\b",
706
+ f: "\f",
707
+ n: `
708
+ `,
709
+ r: "\r",
710
+ t: " "
711
+ }, e = function(v) {
712
+ throw {
713
+ name: "SyntaxError",
714
+ message: v,
715
+ at: l,
716
+ text: p
717
+ };
718
+ }, i = function(v) {
719
+ c = p.charAt(v), l = v + 1;
720
+ }, r = function(v) {
721
+ return v && v !== c && e("Expected '" + v + "' instead of '" + c + "'"), c = p.charAt(l), l += 1, c;
722
+ }, t = function(v, w) {
723
+ let O = l, M = p.indexOf(v, O);
724
+ return M < 0 && e(w), i(M + v.length), p.substring(O, M);
725
+ }, s = function(v) {
726
+ return p.substr(l, v.length) === v;
727
+ }, u = function() {
728
+ var v, w = "";
729
+ for (c === "-" && (w = "-", r("-")); c >= "0" && "9" >= c; ) w += c, r();
730
+ if (c === ".")
731
+ for (w += "."; r() && c >= "0" && "9" >= c; ) w += c;
732
+ if (c === "e" || c === "E")
733
+ for (w += c, r(), (c === "-" || c === "+") && (w += c, r()); c >= "0" && "9" >= c; ) w += c, r();
734
+ return v = +w, isNaN(v) ? (e("Bad number"), void 0) : v;
735
+ }, x = function() {
736
+ var v, w, O, M = "";
737
+ if (c === '"') {
738
+ if (s('""'))
739
+ return r('"'), r('"'), t('"""', `failed to find closing '"""'`);
740
+ for (; r(); ) {
741
+ if (c === '"') return r(), M;
742
+ if (c === "\\")
743
+ if (r(), c === "u") {
744
+ for (O = 0, w = 0; 4 > w && (v = parseInt(r(), 16), isFinite(v)); w += 1) O = 16 * O + v;
745
+ M += String.fromCharCode(O);
746
+ } else {
747
+ if (typeof n[c] != "string") break;
748
+ M += n[c];
749
+ }
750
+ else M += c;
751
+ }
752
+ }
753
+ e("Bad string");
754
+ }, _ = function() {
755
+ for (; c && " " >= c; ) r();
756
+ }, b = function() {
757
+ switch (c) {
758
+ case "t":
759
+ return r("t"), r("r"), r("u"), r("e"), !0;
760
+ case "f":
761
+ return r("f"), r("a"), r("l"), r("s"), r("e"), !1;
762
+ case "n":
763
+ return r("n"), r("u"), r("l"), r("l"), null;
764
+ }
765
+ e("Unexpected '" + c + "'");
766
+ }, L = function() {
767
+ var v = [];
768
+ if (c === "[") {
769
+ if (r("["), _(), c === "]") return r("]"), v;
770
+ for (; c; ) {
771
+ if (v.push(g()), _(), c === "]") return r("]"), v;
772
+ r(","), _();
773
+ }
774
+ }
775
+ e("Bad array");
776
+ }, S = function() {
777
+ var v, w = {};
778
+ if (c === "{") {
779
+ if (r("{"), _(), c === "}") return r("}"), w;
780
+ for (; c; ) {
781
+ if (v = x(), _(), r(":"), Object.hasOwnProperty.call(w, v) && e('Duplicate key "' + v + '"'), w[v] = g(), _(), c === "}") return r("}"), w;
782
+ r(","), _();
783
+ }
784
+ }
785
+ e("Bad object");
786
+ };
787
+ return g = function() {
788
+ switch (_(), c) {
789
+ case "{":
790
+ return S();
791
+ case "[":
792
+ return L();
793
+ case '"':
794
+ return x();
795
+ case "-":
796
+ return u();
797
+ default:
798
+ return c >= "0" && "9" >= c ? u() : b();
799
+ }
800
+ }, function(v, w) {
801
+ var O;
802
+ return p = v, l = 0, c = " ", O = g(), _(), c && e("Syntax error"), typeof w == "function" ? function M(q, R) {
803
+ var C, $, A = q[R];
804
+ if (A && typeof A == "object")
805
+ for (C in A) Object.hasOwnProperty.call(A, C) && ($ = M(A, C), $ !== void 0 ? A[C] = $ : delete A[C]);
806
+ return w.call(q, R, A);
807
+ }({
808
+ "": O
809
+ }, "") : O;
810
+ };
811
+ }), ace.define("ace/mode/json_worker", ["require", "exports", "module", "ace/lib/oop", "ace/worker/mirror", "ace/mode/json/json_parse"], function(l, c) {
812
+ var p = l("../lib/oop"), g = l("../worker/mirror").Mirror, n = l("./json/json_parse"), e = c.JsonWorker = function(i) {
813
+ g.call(this, i), this.setTimeout(200);
814
+ };
815
+ p.inherits(e, g), (function() {
816
+ this.onUpdate = function() {
817
+ var i = this.doc.getValue(), r = [];
818
+ try {
819
+ i && n(i);
820
+ } catch (s) {
821
+ var t = this.doc.indexToPosition(s.at - 1);
822
+ r.push({
823
+ row: t.row,
824
+ column: t.column,
825
+ text: s.message,
826
+ type: "error"
827
+ });
828
+ }
829
+ this.sender.emit("annotate", r);
830
+ };
831
+ }).call(e.prototype);
832
+ }), ace.define("ace/lib/es5-shim", ["require", "exports", "module"], function() {
833
+ function l() {
834
+ }
835
+ function c(o) {
836
+ try {
837
+ return Object.defineProperty(o, "sentinel", {}), "sentinel" in o;
838
+ } catch {
839
+ }
840
+ }
841
+ function p(o) {
842
+ return o = +o, o !== o ? o = 0 : o !== 0 && o !== 1 / 0 && o !== -1 / 0 && (o = (o > 0 || -1) * Math.floor(Math.abs(o))), o;
843
+ }
844
+ Function.prototype.bind || (Function.prototype.bind = function(o) {
845
+ var h = this;
846
+ if (typeof h != "function") throw new TypeError("Function.prototype.bind called on incompatible " + h);
847
+ var a = x.call(arguments, 1), f = function() {
848
+ if (this instanceof f) {
849
+ var d = h.apply(this, a.concat(x.call(arguments)));
850
+ return Object(d) === d ? d : this;
851
+ }
852
+ return h.apply(o, a.concat(x.call(arguments)));
853
+ };
854
+ return h.prototype && (l.prototype = h.prototype, f.prototype = new l(), l.prototype = null), f;
855
+ });
856
+ var g, n, e, i, r, t = Function.prototype.call, s = Array.prototype, u = Object.prototype, x = s.slice, _ = t.bind(u.toString), b = t.bind(u.hasOwnProperty);
857
+ if ((r = b(u, "__defineGetter__")) && (g = t.bind(u.__defineGetter__), n = t.bind(u.__defineSetter__), e = t.bind(u.__lookupGetter__), i = t.bind(u.__lookupSetter__)), [1, 2].splice(0).length != 2)
858
+ if (function() {
859
+ function o(f) {
860
+ var d = Array(f + 2);
861
+ return d[0] = d[1] = 0, d;
862
+ }
863
+ var h, a = [];
864
+ return a.splice.apply(a, o(20)), a.splice.apply(a, o(26)), h = a.length, a.splice(5, 0, "XXX"), h + 1 == a.length ? !0 : void 0;
865
+ }()) {
866
+ var L = Array.prototype.splice;
867
+ Array.prototype.splice = function(o, h) {
868
+ return arguments.length ? L.apply(this, [o === void 0 ? 0 : o, h === void 0 ? this.length - o : h].concat(x.call(arguments, 2))) : [];
869
+ };
870
+ } else Array.prototype.splice = function(o, h) {
871
+ var a = this.length;
872
+ o > 0 ? o > a && (o = a) : o == null ? o = 0 : 0 > o && (o = Math.max(a + o, 0)), a > o + h || (h = a - o);
873
+ var f = this.slice(o, o + h), d = x.call(arguments, 2), y = d.length;
874
+ if (o === a) y && this.push.apply(this, d);
875
+ else {
876
+ var j = Math.min(h, a - o), P = o + j, J = P + y - j, z = a - P, k = a - j;
877
+ if (P > J)
878
+ for (var E = 0; z > E; ++E) this[J + E] = this[P + E];
879
+ else if (J > P)
880
+ for (E = z; E--; ) this[J + E] = this[P + E];
881
+ if (y && o === k) this.length = k, this.push.apply(this, d);
882
+ else
883
+ for (this.length = k + y, E = 0; y > E; ++E) this[o + E] = d[E];
884
+ }
885
+ return f;
886
+ };
887
+ Array.isArray || (Array.isArray = function(o) {
888
+ return _(o) == "[object Array]";
889
+ });
890
+ var S = Object("a"), v = S[0] != "a" || !(0 in S);
891
+ if (Array.prototype.forEach || (Array.prototype.forEach = function(o) {
892
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = arguments[1], d = -1, y = a.length >>> 0;
893
+ if (_(o) != "[object Function]") throw new TypeError();
894
+ for (; y > ++d; ) d in a && o.call(f, a[d], d, h);
895
+ }), Array.prototype.map || (Array.prototype.map = function(o) {
896
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = a.length >>> 0, d = Array(f), y = arguments[1];
897
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
898
+ for (var j = 0; f > j; j++) j in a && (d[j] = o.call(y, a[j], j, h));
899
+ return d;
900
+ }), Array.prototype.filter || (Array.prototype.filter = function(o) {
901
+ var h, a = T(this), f = v && _(this) == "[object String]" ? this.split("") : a, d = f.length >>> 0, y = [], j = arguments[1];
902
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
903
+ for (var P = 0; d > P; P++) P in f && (h = f[P], o.call(j, h, P, a) && y.push(h));
904
+ return y;
905
+ }), Array.prototype.every || (Array.prototype.every = function(o) {
906
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = a.length >>> 0, d = arguments[1];
907
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
908
+ for (var y = 0; f > y; y++)
909
+ if (y in a && !o.call(d, a[y], y, h)) return !1;
910
+ return !0;
911
+ }), Array.prototype.some || (Array.prototype.some = function(o) {
912
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = a.length >>> 0, d = arguments[1];
913
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
914
+ for (var y = 0; f > y; y++)
915
+ if (y in a && o.call(d, a[y], y, h)) return !0;
916
+ return !1;
917
+ }), Array.prototype.reduce || (Array.prototype.reduce = function(o) {
918
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = a.length >>> 0;
919
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
920
+ if (!f && arguments.length == 1) throw new TypeError("reduce of empty array with no initial value");
921
+ var d, y = 0;
922
+ if (arguments.length >= 2) d = arguments[1];
923
+ else
924
+ for (; ; ) {
925
+ if (y in a) {
926
+ d = a[y++];
927
+ break;
928
+ }
929
+ if (++y >= f) throw new TypeError("reduce of empty array with no initial value");
930
+ }
931
+ for (; f > y; y++) y in a && (d = o.call(void 0, d, a[y], y, h));
932
+ return d;
933
+ }), Array.prototype.reduceRight || (Array.prototype.reduceRight = function(o) {
934
+ var h = T(this), a = v && _(this) == "[object String]" ? this.split("") : h, f = a.length >>> 0;
935
+ if (_(o) != "[object Function]") throw new TypeError(o + " is not a function");
936
+ if (!f && arguments.length == 1) throw new TypeError("reduceRight of empty array with no initial value");
937
+ var d, y = f - 1;
938
+ if (arguments.length >= 2) d = arguments[1];
939
+ else
940
+ for (; ; ) {
941
+ if (y in a) {
942
+ d = a[y--];
943
+ break;
944
+ }
945
+ if (0 > --y) throw new TypeError("reduceRight of empty array with no initial value");
946
+ }
947
+ do
948
+ y in this && (d = o.call(void 0, d, a[y], y, h));
949
+ while (y--);
950
+ return d;
951
+ }), Array.prototype.indexOf && [0, 1].indexOf(1, 2) == -1 || (Array.prototype.indexOf = function(o) {
952
+ var h = v && _(this) == "[object String]" ? this.split("") : T(this), a = h.length >>> 0;
953
+ if (!a) return -1;
954
+ var f = 0;
955
+ for (arguments.length > 1 && (f = p(arguments[1])), f = f >= 0 ? f : Math.max(0, a + f); a > f; f++)
956
+ if (f in h && h[f] === o) return f;
957
+ return -1;
958
+ }), Array.prototype.lastIndexOf && [0, 1].lastIndexOf(0, -3) == -1 || (Array.prototype.lastIndexOf = function(o) {
959
+ var h = v && _(this) == "[object String]" ? this.split("") : T(this), a = h.length >>> 0;
960
+ if (!a) return -1;
961
+ var f = a - 1;
962
+ for (arguments.length > 1 && (f = Math.min(f, p(arguments[1]))), f = f >= 0 ? f : a - Math.abs(f); f >= 0; f--)
963
+ if (f in h && o === h[f]) return f;
964
+ return -1;
965
+ }), Object.getPrototypeOf || (Object.getPrototypeOf = function(o) {
966
+ return o.__proto__ || (o.constructor ? o.constructor.prototype : u);
967
+ }), !Object.getOwnPropertyDescriptor) {
968
+ var w = "Object.getOwnPropertyDescriptor called on a non-object: ";
969
+ Object.getOwnPropertyDescriptor = function(o, h) {
970
+ if (typeof o != "object" && typeof o != "function" || o === null) throw new TypeError(w + o);
971
+ if (b(o, h)) {
972
+ var a, f, d;
973
+ if (a = {
974
+ enumerable: !0,
975
+ configurable: !0
976
+ }, r) {
977
+ var y = o.__proto__;
978
+ o.__proto__ = u;
979
+ var f = e(o, h), d = i(o, h);
980
+ if (o.__proto__ = y, f || d) return f && (a.get = f), d && (a.set = d), a;
981
+ }
982
+ return a.value = o[h], a;
983
+ }
984
+ };
985
+ }
986
+ if (Object.getOwnPropertyNames || (Object.getOwnPropertyNames = function(o) {
987
+ return Object.keys(o);
988
+ }), !Object.create) {
989
+ var O;
990
+ O = Object.prototype.__proto__ === null ? function() {
991
+ return {
992
+ __proto__: null
993
+ };
994
+ } : function() {
995
+ var o = {};
996
+ for (var h in o) o[h] = null;
997
+ return o.constructor = o.hasOwnProperty = o.propertyIsEnumerable = o.isPrototypeOf = o.toLocaleString = o.toString = o.valueOf = o.__proto__ = null, o;
998
+ }, Object.create = function(o, h) {
999
+ var a;
1000
+ if (o === null) a = O();
1001
+ else {
1002
+ if (typeof o != "object") throw new TypeError("typeof prototype[" + typeof o + "] != 'object'");
1003
+ var f = function() {
1004
+ };
1005
+ f.prototype = o, a = new f(), a.__proto__ = o;
1006
+ }
1007
+ return h !== void 0 && Object.defineProperties(a, h), a;
1008
+ };
1009
+ }
1010
+ if (Object.defineProperty) {
1011
+ var M = c({}), q = typeof document > "u" || c(document.createElement("div"));
1012
+ if (!M || !q) var R = Object.defineProperty;
1013
+ }
1014
+ if (!Object.defineProperty || R) {
1015
+ var C = "Property description must be an object: ", $ = "Object.defineProperty called on non-object: ", A = "getters & setters can not be defined on this javascript engine";
1016
+ Object.defineProperty = function(o, h, a) {
1017
+ if (typeof o != "object" && typeof o != "function" || o === null) throw new TypeError($ + o);
1018
+ if (typeof a != "object" && typeof a != "function" || a === null) throw new TypeError(C + a);
1019
+ if (R) try {
1020
+ return R.call(Object, o, h, a);
1021
+ } catch {
1022
+ }
1023
+ if (b(a, "value"))
1024
+ if (r && (e(o, h) || i(o, h))) {
1025
+ var f = o.__proto__;
1026
+ o.__proto__ = u, delete o[h], o[h] = a.value, o.__proto__ = f;
1027
+ } else o[h] = a.value;
1028
+ else {
1029
+ if (!r) throw new TypeError(A);
1030
+ b(a, "get") && g(o, h, a.get), b(a, "set") && n(o, h, a.set);
1031
+ }
1032
+ return o;
1033
+ };
1034
+ }
1035
+ Object.defineProperties || (Object.defineProperties = function(o, h) {
1036
+ for (var a in h) b(h, a) && Object.defineProperty(o, a, h[a]);
1037
+ return o;
1038
+ }), Object.seal || (Object.seal = function(o) {
1039
+ return o;
1040
+ }), Object.freeze || (Object.freeze = function(o) {
1041
+ return o;
1042
+ });
1043
+ try {
1044
+ Object.freeze(function() {
1045
+ });
1046
+ } catch {
1047
+ Object.freeze = /* @__PURE__ */ function(h) {
1048
+ return function(a) {
1049
+ return typeof a == "function" ? a : h(a);
1050
+ };
1051
+ }(Object.freeze);
1052
+ }
1053
+ if (Object.preventExtensions || (Object.preventExtensions = function(o) {
1054
+ return o;
1055
+ }), Object.isSealed || (Object.isSealed = function() {
1056
+ return !1;
1057
+ }), Object.isFrozen || (Object.isFrozen = function() {
1058
+ return !1;
1059
+ }), Object.isExtensible || (Object.isExtensible = function(o) {
1060
+ if (Object(o) === o) throw new TypeError();
1061
+ for (var h = ""; b(o, h); ) h += "?";
1062
+ o[h] = !0;
1063
+ var a = b(o, h);
1064
+ return delete o[h], a;
1065
+ }), !Object.keys) {
1066
+ var F = !0, U = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"], H = U.length;
1067
+ for (var V in {
1068
+ toString: null
1069
+ }) F = !1;
1070
+ Object.keys = function(o) {
1071
+ if (typeof o != "object" && typeof o != "function" || o === null) throw new TypeError("Object.keys called on a non-object");
1072
+ var h = [];
1073
+ for (var a in o) b(o, a) && h.push(a);
1074
+ if (F)
1075
+ for (var f = 0, d = H; d > f; f++) {
1076
+ var y = U[f];
1077
+ b(o, y) && h.push(y);
1078
+ }
1079
+ return h;
1080
+ };
1081
+ }
1082
+ Date.now || (Date.now = function() {
1083
+ return (/* @__PURE__ */ new Date()).getTime();
1084
+ });
1085
+ var D = `
1086
+ \v\f\r   ᠎              \u2028\u2029\uFEFF`;
1087
+ if (!String.prototype.trim || D.trim()) {
1088
+ D = "[" + D + "]";
1089
+ var I = RegExp("^" + D + D + "*"), B = RegExp(D + D + "*$");
1090
+ String.prototype.trim = function() {
1091
+ return (this + "").replace(I, "").replace(B, "");
1092
+ };
1093
+ }
1094
+ var T = function(o) {
1095
+ if (o == null) throw new TypeError("can't convert " + o + " to object");
1096
+ return Object(o);
1097
+ };
1098
+ });
1099
+ const W = (m.exports == null ? {} : m.exports).default || m.exports, G = (m.exports == null ? {} : m.exports).inherits, X = (m.exports == null ? {} : m.exports).mixin, K = (m.exports == null ? {} : m.exports).implement, Q = (m.exports == null ? {} : m.exports).Range, Y = (m.exports == null ? {} : m.exports).applyDelta, Z = (m.exports == null ? {} : m.exports).EventEmitter, N = (m.exports == null ? {} : m.exports).Anchor, tt = (m.exports == null ? {} : m.exports).Document, et = (m.exports == null ? {} : m.exports).last, nt = (m.exports == null ? {} : m.exports).stringReverse, rt = (m.exports == null ? {} : m.exports).stringRepeat, it = (m.exports == null ? {} : m.exports).stringTrimLeft, ot = (m.exports == null ? {} : m.exports).stringTrimRight, st = (m.exports == null ? {} : m.exports).copyObject, at = (m.exports == null ? {} : m.exports).copyArray, ct = (m.exports == null ? {} : m.exports).deepCopy, ut = (m.exports == null ? {} : m.exports).arrayToMap, lt = (m.exports == null ? {} : m.exports).createMap, ht = (m.exports == null ? {} : m.exports).arrayRemove, ft = (m.exports == null ? {} : m.exports).escapeRegExp, pt = (m.exports == null ? {} : m.exports).escapeHTML, gt = (m.exports == null ? {} : m.exports).getMatchOffsets, mt = (m.exports == null ? {} : m.exports).deferredCall, _t = (m.exports == null ? {} : m.exports).delayedCall, vt = (m.exports == null ? {} : m.exports).Mirror, dt = (m.exports == null ? {} : m.exports).JsonWorker;
1100
+ export {
1101
+ N as Anchor,
1102
+ tt as Document,
1103
+ Z as EventEmitter,
1104
+ dt as JsonWorker,
1105
+ vt as Mirror,
1106
+ Q as Range,
1107
+ Y as applyDelta,
1108
+ ht as arrayRemove,
1109
+ ut as arrayToMap,
1110
+ at as copyArray,
1111
+ st as copyObject,
1112
+ lt as createMap,
1113
+ ct as deepCopy,
1114
+ W as default,
1115
+ mt as deferredCall,
1116
+ _t as delayedCall,
1117
+ pt as escapeHTML,
1118
+ ft as escapeRegExp,
1119
+ gt as getMatchOffsets,
1120
+ K as implement,
1121
+ G as inherits,
1122
+ et as last,
1123
+ X as mixin,
1124
+ rt as stringRepeat,
1125
+ nt as stringReverse,
1126
+ it as stringTrimLeft,
1127
+ ot as stringTrimRight
1128
+ };