@hpcc-js/codemirror 2.54.0 → 2.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Palette, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/codemirror";
4
- var PKG_VERSION = "2.54.0";
5
- var BUILD_VERSION = "2.95.0";
4
+ var PKG_VERSION = "2.55.0";
5
+ var BUILD_VERSION = "2.97.0";
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -48,21 +48,11 @@ var __assign = function() {
48
48
 
49
49
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
50
50
 
51
- function createCommonjsModule(fn, basedir, module) {
52
- return module = {
53
- path: basedir,
54
- exports: {},
55
- require: function (path, base) {
56
- return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
57
- }
58
- }, fn(module, module.exports), module.exports;
59
- }
51
+ var css = {exports: {}};
60
52
 
61
- function commonjsRequire () {
62
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
63
- }
53
+ var codemirror = {exports: {}};
64
54
 
65
- var codemirror = createCommonjsModule(function (module, exports) {
55
+ (function (module, exports) {
66
56
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
67
57
  // Distributed under an MIT license: https://codemirror.net/LICENSE
68
58
 
@@ -73,7 +63,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
73
63
  // at http://marijnhaverbeke.nl/blog/#cm-internals .
74
64
 
75
65
  (function (global, factory) {
76
- module.exports = factory() ;
66
+ module.exports = factory() ;
77
67
  }(commonjsGlobal, (function () {
78
68
  // Kludges for bugs and behavior differences that can't be feature
79
69
  // detected are enabled based on userAgent etc sniffing.
@@ -5849,7 +5839,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5849
5839
  };
5850
5840
 
5851
5841
  LineWidget.prototype.changed = function () {
5852
- var this$1 = this;
5842
+ var this$1$1 = this;
5853
5843
 
5854
5844
  var oldH = this.height, cm = this.doc.cm, line = this.line;
5855
5845
  this.height = null;
@@ -5860,7 +5850,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5860
5850
  runInOp(cm, function () {
5861
5851
  cm.curOp.forceUpdate = true;
5862
5852
  adjustScrollWhenAboveVisible(cm, line, diff);
5863
- signalLater(cm, "lineWidgetChanged", cm, this$1, lineNo(line));
5853
+ signalLater(cm, "lineWidgetChanged", cm, this$1$1, lineNo(line));
5864
5854
  });
5865
5855
  }
5866
5856
  };
@@ -5985,7 +5975,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5985
5975
  // Signals that the marker's widget changed, and surrounding layout
5986
5976
  // should be recomputed.
5987
5977
  TextMarker.prototype.changed = function () {
5988
- var this$1 = this;
5978
+ var this$1$1 = this;
5989
5979
 
5990
5980
  var pos = this.find(-1, true), widget = this, cm = this.doc.cm;
5991
5981
  if (!pos || !cm) { return }
@@ -6004,7 +5994,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
6004
5994
  if (dHeight)
6005
5995
  { updateLineHeight(line, line.height + dHeight); }
6006
5996
  }
6007
- signalLater(cm, "markerChanged", cm, this$1);
5997
+ signalLater(cm, "markerChanged", cm, this$1$1);
6008
5998
  });
6009
5999
  };
6010
6000
 
@@ -6349,10 +6339,10 @@ var codemirror = createCommonjsModule(function (module, exports) {
6349
6339
  return {undo: done, redo: undone}
6350
6340
  },
6351
6341
  clearHistory: function() {
6352
- var this$1 = this;
6342
+ var this$1$1 = this;
6353
6343
 
6354
6344
  this.history = new History(this.history);
6355
- linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true);
6345
+ linkedDocs(this, function (doc) { return doc.history = this$1$1.history; }, true);
6356
6346
  },
6357
6347
 
6358
6348
  markClean: function() {
@@ -6387,11 +6377,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
6387
6377
  }),
6388
6378
 
6389
6379
  clearGutter: docMethodOp(function(gutterID) {
6390
- var this$1 = this;
6380
+ var this$1$1 = this;
6391
6381
 
6392
6382
  this.iter(function (line) {
6393
6383
  if (line.gutterMarkers && line.gutterMarkers[gutterID]) {
6394
- changeLine(this$1, line, "gutter", function () {
6384
+ changeLine(this$1$1, line, "gutter", function () {
6395
6385
  line.gutterMarkers[gutterID] = null;
6396
6386
  if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; }
6397
6387
  return true
@@ -7943,7 +7933,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7943
7933
  // that user code is usually dealing with.
7944
7934
 
7945
7935
  function CodeMirror(place, options) {
7946
- var this$1 = this;
7936
+ var this$1$1 = this;
7947
7937
 
7948
7938
  if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }
7949
7939
 
@@ -7984,7 +7974,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7984
7974
 
7985
7975
  // Override magic textarea content restore that IE sometimes does
7986
7976
  // on our hidden textarea on reload
7987
- if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); }
7977
+ if (ie && ie_version < 11) { setTimeout(function () { return this$1$1.display.input.reset(true); }, 20); }
7988
7978
 
7989
7979
  registerEventHandlers(this);
7990
7980
  ensureGlobalHandlers();
@@ -7995,7 +7985,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7995
7985
 
7996
7986
  if ((options.autofocus && !mobile) || this.hasFocus())
7997
7987
  { setTimeout(function () {
7998
- if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); }
7988
+ if (this$1$1.hasFocus() && !this$1$1.state.focused) { onFocus(this$1$1); }
7999
7989
  }, 20); }
8000
7990
  else
8001
7991
  { onBlur(this); }
@@ -8576,11 +8566,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
8576
8566
  },
8577
8567
 
8578
8568
  moveH: methodOp(function(dir, unit) {
8579
- var this$1 = this;
8569
+ var this$1$1 = this;
8580
8570
 
8581
8571
  this.extendSelectionsBy(function (range) {
8582
- if (this$1.display.shift || this$1.doc.extend || range.empty())
8583
- { return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually) }
8572
+ if (this$1$1.display.shift || this$1$1.doc.extend || range.empty())
8573
+ { return findPosH(this$1$1.doc, range.head, dir, unit, this$1$1.options.rtlMoveVisually) }
8584
8574
  else
8585
8575
  { return dir < 0 ? range.from() : range.to() }
8586
8576
  }, sel_move);
@@ -8612,19 +8602,19 @@ var codemirror = createCommonjsModule(function (module, exports) {
8612
8602
  },
8613
8603
 
8614
8604
  moveV: methodOp(function(dir, unit) {
8615
- var this$1 = this;
8605
+ var this$1$1 = this;
8616
8606
 
8617
8607
  var doc = this.doc, goals = [];
8618
8608
  var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected();
8619
8609
  doc.extendSelectionsBy(function (range) {
8620
8610
  if (collapse)
8621
8611
  { return dir < 0 ? range.from() : range.to() }
8622
- var headPos = cursorCoords(this$1, range.head, "div");
8612
+ var headPos = cursorCoords(this$1$1, range.head, "div");
8623
8613
  if (range.goalColumn != null) { headPos.left = range.goalColumn; }
8624
8614
  goals.push(headPos.left);
8625
- var pos = findPosV(this$1, headPos, dir, unit);
8615
+ var pos = findPosV(this$1$1, headPos, dir, unit);
8626
8616
  if (unit == "page" && range == doc.sel.primary())
8627
- { addToScrollTop(this$1, charCoords(this$1, pos, "div").top - headPos.top); }
8617
+ { addToScrollTop(this$1$1, charCoords(this$1$1, pos, "div").top - headPos.top); }
8628
8618
  return pos
8629
8619
  }, sel_move);
8630
8620
  if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++)
@@ -8690,7 +8680,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8690
8680
  }),
8691
8681
 
8692
8682
  setSize: methodOp(function(width, height) {
8693
- var this$1 = this;
8683
+ var this$1$1 = this;
8694
8684
 
8695
8685
  var interpret = function (val) { return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; };
8696
8686
  if (width != null) { this.display.wrapper.style.width = interpret(width); }
@@ -8699,7 +8689,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8699
8689
  var lineNo = this.display.viewFrom;
8700
8690
  this.doc.iter(lineNo, this.display.viewTo, function (line) {
8701
8691
  if (line.widgets) { for (var i = 0; i < line.widgets.length; i++)
8702
- { if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, "widget"); break } } }
8692
+ { if (line.widgets[i].noHScroll) { regLineChange(this$1$1, lineNo, "widget"); break } } }
8703
8693
  ++lineNo;
8704
8694
  });
8705
8695
  this.curOp.forceUpdate = true;
@@ -8868,7 +8858,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8868
8858
  };
8869
8859
 
8870
8860
  ContentEditableInput.prototype.init = function (display) {
8871
- var this$1 = this;
8861
+ var this$1$1 = this;
8872
8862
 
8873
8863
  var input = this, cm = input.cm;
8874
8864
  var div = input.div = display.lineDiv;
@@ -8886,26 +8876,26 @@ var codemirror = createCommonjsModule(function (module, exports) {
8886
8876
  on(div, "paste", function (e) {
8887
8877
  if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }
8888
8878
  // IE doesn't fire input events, so we schedule a read for the pasted content in this way
8889
- if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); }
8879
+ if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1$1.updateFromDOM(); }), 20); }
8890
8880
  });
8891
8881
 
8892
8882
  on(div, "compositionstart", function (e) {
8893
- this$1.composing = {data: e.data, done: false};
8883
+ this$1$1.composing = {data: e.data, done: false};
8894
8884
  });
8895
8885
  on(div, "compositionupdate", function (e) {
8896
- if (!this$1.composing) { this$1.composing = {data: e.data, done: false}; }
8886
+ if (!this$1$1.composing) { this$1$1.composing = {data: e.data, done: false}; }
8897
8887
  });
8898
8888
  on(div, "compositionend", function (e) {
8899
- if (this$1.composing) {
8900
- if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); }
8901
- this$1.composing.done = true;
8889
+ if (this$1$1.composing) {
8890
+ if (e.data != this$1$1.composing.data) { this$1$1.readFromDOMSoon(); }
8891
+ this$1$1.composing.done = true;
8902
8892
  }
8903
8893
  });
8904
8894
 
8905
8895
  on(div, "touchstart", function () { return input.forceCompositionEnd(); });
8906
8896
 
8907
8897
  on(div, "input", function () {
8908
- if (!this$1.composing) { this$1.readFromDOMSoon(); }
8898
+ if (!this$1$1.composing) { this$1$1.readFromDOMSoon(); }
8909
8899
  });
8910
8900
 
8911
8901
  function onCopyCut(e) {
@@ -9028,13 +9018,13 @@ var codemirror = createCommonjsModule(function (module, exports) {
9028
9018
  };
9029
9019
 
9030
9020
  ContentEditableInput.prototype.startGracePeriod = function () {
9031
- var this$1 = this;
9021
+ var this$1$1 = this;
9032
9022
 
9033
9023
  clearTimeout(this.gracePeriod);
9034
9024
  this.gracePeriod = setTimeout(function () {
9035
- this$1.gracePeriod = false;
9036
- if (this$1.selectionChanged())
9037
- { this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); }
9025
+ this$1$1.gracePeriod = false;
9026
+ if (this$1$1.selectionChanged())
9027
+ { this$1$1.cm.operation(function () { return this$1$1.cm.curOp.selectionChanged = true; }); }
9038
9028
  }, 20);
9039
9029
  };
9040
9030
 
@@ -9069,11 +9059,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
9069
9059
  ContentEditableInput.prototype.supportsTouch = function () { return true };
9070
9060
 
9071
9061
  ContentEditableInput.prototype.receivedFocus = function () {
9072
- var this$1 = this;
9062
+ var this$1$1 = this;
9073
9063
 
9074
9064
  var input = this;
9075
9065
  if (this.selectionInEditor())
9076
- { setTimeout(function () { return this$1.pollSelection(); }, 20); }
9066
+ { setTimeout(function () { return this$1$1.pollSelection(); }, 20); }
9077
9067
  else
9078
9068
  { runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); }
9079
9069
 
@@ -9203,24 +9193,24 @@ var codemirror = createCommonjsModule(function (module, exports) {
9203
9193
  this.div.focus();
9204
9194
  };
9205
9195
  ContentEditableInput.prototype.readFromDOMSoon = function () {
9206
- var this$1 = this;
9196
+ var this$1$1 = this;
9207
9197
 
9208
9198
  if (this.readDOMTimeout != null) { return }
9209
9199
  this.readDOMTimeout = setTimeout(function () {
9210
- this$1.readDOMTimeout = null;
9211
- if (this$1.composing) {
9212
- if (this$1.composing.done) { this$1.composing = null; }
9200
+ this$1$1.readDOMTimeout = null;
9201
+ if (this$1$1.composing) {
9202
+ if (this$1$1.composing.done) { this$1$1.composing = null; }
9213
9203
  else { return }
9214
9204
  }
9215
- this$1.updateFromDOM();
9205
+ this$1$1.updateFromDOM();
9216
9206
  }, 80);
9217
9207
  };
9218
9208
 
9219
9209
  ContentEditableInput.prototype.updateFromDOM = function () {
9220
- var this$1 = this;
9210
+ var this$1$1 = this;
9221
9211
 
9222
9212
  if (this.cm.isReadOnly() || !this.pollContent())
9223
- { runInOp(this.cm, function () { return regChange(this$1.cm); }); }
9213
+ { runInOp(this.cm, function () { return regChange(this$1$1.cm); }); }
9224
9214
  };
9225
9215
 
9226
9216
  ContentEditableInput.prototype.setUneditable = function (node) {
@@ -9413,7 +9403,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9413
9403
  };
9414
9404
 
9415
9405
  TextareaInput.prototype.init = function (display) {
9416
- var this$1 = this;
9406
+ var this$1$1 = this;
9417
9407
 
9418
9408
  var input = this, cm = this.cm;
9419
9409
  this.createField(display);
@@ -9425,7 +9415,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9425
9415
  if (ios) { te.style.width = "0px"; }
9426
9416
 
9427
9417
  on(te, "input", function () {
9428
- if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; }
9418
+ if (ie && ie_version >= 9 && this$1$1.hasSelection) { this$1$1.hasSelection = null; }
9429
9419
  input.poll();
9430
9420
  });
9431
9421
 
@@ -9578,12 +9568,12 @@ var codemirror = createCommonjsModule(function (module, exports) {
9578
9568
  // Poll for input changes, using the normal rate of polling. This
9579
9569
  // runs as long as the editor is focused.
9580
9570
  TextareaInput.prototype.slowPoll = function () {
9581
- var this$1 = this;
9571
+ var this$1$1 = this;
9582
9572
 
9583
9573
  if (this.pollingFast) { return }
9584
9574
  this.polling.set(this.cm.options.pollInterval, function () {
9585
- this$1.poll();
9586
- if (this$1.cm.state.focused) { this$1.slowPoll(); }
9575
+ this$1$1.poll();
9576
+ if (this$1$1.cm.state.focused) { this$1$1.slowPoll(); }
9587
9577
  });
9588
9578
  };
9589
9579
 
@@ -9608,7 +9598,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9608
9598
  // seen text (can be empty), which is stored in prevInput (we must
9609
9599
  // not reset the textarea when typing, because that breaks IME).
9610
9600
  TextareaInput.prototype.poll = function () {
9611
- var this$1 = this;
9601
+ var this$1$1 = this;
9612
9602
 
9613
9603
  var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
9614
9604
  // Since this is called a *lot*, try to bail out as cheaply as
@@ -9643,15 +9633,15 @@ var codemirror = createCommonjsModule(function (module, exports) {
9643
9633
 
9644
9634
  runInOp(cm, function () {
9645
9635
  applyTextInput(cm, text.slice(same), prevInput.length - same,
9646
- null, this$1.composing ? "*compose" : null);
9636
+ null, this$1$1.composing ? "*compose" : null);
9647
9637
 
9648
9638
  // Don't leave long text in the textarea, since it makes further polling slow
9649
- if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1.prevInput = ""; }
9650
- else { this$1.prevInput = text; }
9639
+ if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1$1.prevInput = ""; }
9640
+ else { this$1$1.prevInput = text; }
9651
9641
 
9652
- if (this$1.composing) {
9653
- this$1.composing.range.clear();
9654
- this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor("to"),
9642
+ if (this$1$1.composing) {
9643
+ this$1$1.composing.range.clear();
9644
+ this$1$1.composing.range = cm.markText(this$1$1.composing.start, cm.getCursor("to"),
9655
9645
  {className: "CodeMirror-composing"});
9656
9646
  }
9657
9647
  });
@@ -9907,14 +9897,16 @@ var codemirror = createCommonjsModule(function (module, exports) {
9907
9897
  return CodeMirror;
9908
9898
 
9909
9899
  })));
9910
- });
9900
+ }(codemirror));
9901
+
9902
+ var CodeMirror = codemirror.exports;
9911
9903
 
9912
- var css = createCommonjsModule(function (module, exports) {
9904
+ (function (module, exports) {
9913
9905
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
9914
9906
  // Distributed under an MIT license: https://codemirror.net/LICENSE
9915
9907
 
9916
9908
  (function(mod) {
9917
- mod(codemirror);
9909
+ mod(codemirror.exports);
9918
9910
  })(function(CodeMirror) {
9919
9911
 
9920
9912
  CodeMirror.defineMode("css", function(config, parserConfig) {
@@ -10770,14 +10762,14 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
10770
10762
  });
10771
10763
 
10772
10764
  });
10773
- });
10765
+ }());
10774
10766
 
10775
- var ecl = createCommonjsModule(function (module, exports) {
10767
+ (function (module, exports) {
10776
10768
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10777
10769
  // Distributed under an MIT license: https://codemirror.net/LICENSE
10778
10770
 
10779
10771
  (function(mod) {
10780
- mod(codemirror);
10772
+ mod(codemirror.exports);
10781
10773
  })(function(CodeMirror) {
10782
10774
 
10783
10775
  CodeMirror.defineMode("ecl", function(config) {
@@ -10973,14 +10965,18 @@ CodeMirror.defineMode("ecl", function(config) {
10973
10965
  CodeMirror.defineMIME("text/x-ecl", "ecl");
10974
10966
 
10975
10967
  });
10976
- });
10968
+ }());
10969
+
10970
+ var markdown = {exports: {}};
10971
+
10972
+ var xml = {exports: {}};
10977
10973
 
10978
- var xml = createCommonjsModule(function (module, exports) {
10974
+ (function (module, exports) {
10979
10975
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10980
10976
  // Distributed under an MIT license: https://codemirror.net/LICENSE
10981
10977
 
10982
10978
  (function(mod) {
10983
- mod(codemirror);
10979
+ mod(codemirror.exports);
10984
10980
  })(function(CodeMirror) {
10985
10981
 
10986
10982
  var htmlConfig = {
@@ -11387,14 +11383,16 @@ if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
11387
11383
  CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
11388
11384
 
11389
11385
  });
11390
- });
11386
+ }());
11387
+
11388
+ var meta = {exports: {}};
11391
11389
 
11392
- var meta = createCommonjsModule(function (module, exports) {
11390
+ (function (module, exports) {
11393
11391
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
11394
11392
  // Distributed under an MIT license: https://codemirror.net/LICENSE
11395
11393
 
11396
11394
  (function(mod) {
11397
- mod(codemirror);
11395
+ mod(codemirror.exports);
11398
11396
  })(function(CodeMirror) {
11399
11397
 
11400
11398
  CodeMirror.modeInfo = [
@@ -11605,14 +11603,14 @@ var meta = createCommonjsModule(function (module, exports) {
11605
11603
  }
11606
11604
  };
11607
11605
  });
11608
- });
11606
+ }());
11609
11607
 
11610
- var markdown = createCommonjsModule(function (module, exports) {
11608
+ (function (module, exports) {
11611
11609
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
11612
11610
  // Distributed under an MIT license: https://codemirror.net/LICENSE
11613
11611
 
11614
11612
  (function(mod) {
11615
- mod(codemirror, xml, meta);
11613
+ mod(codemirror.exports, xml.exports, meta.exports);
11616
11614
  })(function(CodeMirror) {
11617
11615
 
11618
11616
  CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
@@ -12488,9 +12486,11 @@ CodeMirror.defineMIME("text/markdown", "markdown");
12488
12486
  CodeMirror.defineMIME("text/x-markdown", "markdown");
12489
12487
 
12490
12488
  });
12491
- });
12489
+ }());
12490
+
12491
+ var overlay = {exports: {}};
12492
12492
 
12493
- var overlay = createCommonjsModule(function (module, exports) {
12493
+ (function (module, exports) {
12494
12494
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12495
12495
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12496
12496
 
@@ -12504,7 +12504,7 @@ var overlay = createCommonjsModule(function (module, exports) {
12504
12504
  // combined.
12505
12505
 
12506
12506
  (function(mod) {
12507
- mod(codemirror);
12507
+ mod(codemirror.exports);
12508
12508
  })(function(CodeMirror) {
12509
12509
 
12510
12510
  CodeMirror.overlayMode = function(base, overlay, combine) {
@@ -12575,14 +12575,14 @@ CodeMirror.overlayMode = function(base, overlay, combine) {
12575
12575
  };
12576
12576
 
12577
12577
  });
12578
- });
12578
+ }());
12579
12579
 
12580
- var gfm = createCommonjsModule(function (module, exports) {
12580
+ (function (module, exports) {
12581
12581
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12582
12582
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12583
12583
 
12584
12584
  (function(mod) {
12585
- mod(codemirror, markdown, overlay);
12585
+ mod(codemirror.exports, markdown.exports, overlay.exports);
12586
12586
  })(function(CodeMirror) {
12587
12587
 
12588
12588
  var urlRE = /^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;
@@ -12701,14 +12701,16 @@ CodeMirror.defineMode("gfm", function(config, modeConfig) {
12701
12701
 
12702
12702
  CodeMirror.defineMIME("text/x-gfm", "gfm");
12703
12703
  });
12704
- });
12704
+ }());
12705
+
12706
+ var javascript = {exports: {}};
12705
12707
 
12706
- var javascript = createCommonjsModule(function (module, exports) {
12708
+ (function (module, exports) {
12707
12709
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12708
12710
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12709
12711
 
12710
12712
  (function(mod) {
12711
- mod(codemirror);
12713
+ mod(codemirror.exports);
12712
12714
  })(function(CodeMirror) {
12713
12715
 
12714
12716
  CodeMirror.defineMode("javascript", function(config, parserConfig) {
@@ -13656,14 +13658,14 @@ CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true
13656
13658
  CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
13657
13659
 
13658
13660
  });
13659
- });
13661
+ }());
13660
13662
 
13661
- var htmlmixed = createCommonjsModule(function (module, exports) {
13663
+ (function (module, exports) {
13662
13664
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13663
13665
  // Distributed under an MIT license: https://codemirror.net/LICENSE
13664
13666
 
13665
13667
  (function(mod) {
13666
- mod(codemirror, xml, javascript, css);
13668
+ mod(codemirror.exports, xml.exports, javascript.exports, css.exports);
13667
13669
  })(function(CodeMirror) {
13668
13670
 
13669
13671
  var defaultTags = {
@@ -13805,10 +13807,10 @@ var htmlmixed = createCommonjsModule(function (module, exports) {
13805
13807
 
13806
13808
  CodeMirror.defineMIME("text/html", "htmlmixed");
13807
13809
  });
13808
- });
13810
+ }());
13809
13811
 
13810
13812
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13811
- codemirror.defineMode("dot", function (config) {
13813
+ CodeMirror.defineMode("dot", function (config) {
13812
13814
  var ops = /--|->|=|;/;
13813
13815
  var brackets = /[\[\]{}]/;
13814
13816
  return {
@@ -13903,22 +13905,22 @@ codemirror.defineMode("dot", function (config) {
13903
13905
  blockCommentEnd: "*/"
13904
13906
  };
13905
13907
  });
13906
- codemirror.defineMIME("text/x-dot", "dot");
13908
+ CodeMirror.defineMIME("text/x-dot", "dot");
13907
13909
 
13908
13910
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13909
- codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
13910
- var htmlMode = codemirror.getMode(cmCfg, "text/html");
13911
+ CodeMirror.defineMode("markdown", function (cmCfg, modeCfg) {
13912
+ var htmlMode = CodeMirror.getMode(cmCfg, "text/html");
13911
13913
  var htmlModeMissing = htmlMode.name == "null";
13912
13914
  if (modeCfg.defaultMode === undefined)
13913
13915
  modeCfg.defaultMode = "";
13914
13916
  function getMode(name) {
13915
13917
  name = name === "" ? modeCfg.defaultMode : name;
13916
- if (codemirror.findModeByName) {
13917
- var found = codemirror.findModeByName(name);
13918
+ if (CodeMirror.findModeByName) {
13919
+ var found = CodeMirror.findModeByName(name);
13918
13920
  if (found)
13919
13921
  name = found.mime || found.mimes[0];
13920
13922
  }
13921
- var mode = codemirror.getMode(cmCfg, name);
13923
+ var mode = CodeMirror.getMode(cmCfg, name);
13922
13924
  return mode.name == "null" ? null : mode;
13923
13925
  }
13924
13926
  // Should characters that affect highlighting be highlighted separate?
@@ -14003,7 +14005,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14003
14005
  if (state.f == htmlBlock) {
14004
14006
  var exit = htmlModeMissing;
14005
14007
  if (!exit) {
14006
- var inner = codemirror.innerMode(htmlMode, state.htmlState);
14008
+ var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
14007
14009
  exit = inner.mode.name == "xml" && inner.state.tagStart === null &&
14008
14010
  (!inner.state.context && inner.state.tokenize.isInText);
14009
14011
  }
@@ -14111,7 +14113,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14111
14113
  // try switching mode
14112
14114
  state.localMode = modeCfg.fencedCodeBlockHighlighting && getMode(match[2]);
14113
14115
  if (state.localMode)
14114
- state.localState = codemirror.startState(state.localMode);
14116
+ state.localState = CodeMirror.startState(state.localMode);
14115
14117
  state.f = state.block = local;
14116
14118
  if (modeCfg.highlightFormatting)
14117
14119
  state.formatting = "code-block";
@@ -14157,7 +14159,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14157
14159
  function htmlBlock(stream, state) {
14158
14160
  var style = htmlMode.token(stream, state.htmlState);
14159
14161
  if (!htmlModeMissing) {
14160
- var inner = codemirror.innerMode(htmlMode, state.htmlState);
14162
+ var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
14161
14163
  if ((inner.mode.name == "xml" && inner.state.tagStart === null &&
14162
14164
  (!inner.state.context && inner.state.tokenize.isInText)) ||
14163
14165
  (state.md_inside && stream.current().indexOf(">") > -1)) {
@@ -14444,7 +14446,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14444
14446
  state.md_inside = true;
14445
14447
  }
14446
14448
  stream.backUp(1);
14447
- state.htmlState = codemirror.startState(htmlMode);
14449
+ state.htmlState = CodeMirror.startState(htmlMode);
14448
14450
  return switchBlock(stream, state, htmlBlock);
14449
14451
  }
14450
14452
  if (modeCfg.xml && ch === '<' && stream.match(/^\/\w*?>/)) {
@@ -14673,10 +14675,10 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14673
14675
  prevLine: s.prevLine,
14674
14676
  thisLine: s.thisLine,
14675
14677
  block: s.block,
14676
- htmlState: s.htmlState && codemirror.copyState(htmlMode, s.htmlState),
14678
+ htmlState: s.htmlState && CodeMirror.copyState(htmlMode, s.htmlState),
14677
14679
  indentation: s.indentation,
14678
14680
  localMode: s.localMode,
14679
- localState: s.localMode ? codemirror.copyState(s.localMode, s.localState) : null,
14681
+ localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,
14680
14682
  inline: s.inline,
14681
14683
  text: s.text,
14682
14684
  formatting: false,
@@ -14744,7 +14746,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14744
14746
  return htmlMode.indent(state.htmlState, textAfter, line);
14745
14747
  if (state.localState && state.localMode.indent)
14746
14748
  return state.localMode.indent(state.localState, textAfter, line);
14747
- return codemirror.Pass;
14749
+ return CodeMirror.Pass;
14748
14750
  },
14749
14751
  blankLine: blankLine,
14750
14752
  getType: getType,
@@ -14755,10 +14757,10 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14755
14757
  };
14756
14758
  return mode;
14757
14759
  }, "xml");
14758
- codemirror.defineMIME("text/markdown", "markdown");
14759
- codemirror.defineMIME("text/x-markdown", "markdown");
14760
+ CodeMirror.defineMIME("text/markdown", "markdown");
14761
+ CodeMirror.defineMIME("text/x-markdown", "markdown");
14760
14762
 
14761
- function styleInject(css, ref) {
14763
+ function styleInject$1(css, ref) {
14762
14764
  if ( ref === void 0 ) ref = {};
14763
14765
  var insertAt = ref.insertAt;
14764
14766
 
@@ -14785,15 +14787,15 @@ function styleInject(css, ref) {
14785
14787
  }
14786
14788
  }
14787
14789
 
14788
- var css_248z = ".CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}";
14789
- styleInject(css_248z);
14790
+ var css_248z$2 = ".CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}";
14791
+ styleInject$1(css_248z$2);
14790
14792
 
14791
- var braceFold = createCommonjsModule(function (module, exports) {
14793
+ (function (module, exports) {
14792
14794
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14793
14795
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14794
14796
 
14795
14797
  (function(mod) {
14796
- mod(codemirror);
14798
+ mod(codemirror.exports);
14797
14799
  })(function(CodeMirror) {
14798
14800
 
14799
14801
  CodeMirror.registerHelper("fold", "brace", function(cm, start) {
@@ -14893,14 +14895,14 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
14893
14895
  });
14894
14896
 
14895
14897
  });
14896
- });
14898
+ }());
14897
14899
 
14898
- var commentFold = createCommonjsModule(function (module, exports) {
14900
+ (function (module, exports) {
14899
14901
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14900
14902
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14901
14903
 
14902
14904
  (function(mod) {
14903
- mod(codemirror);
14905
+ mod(codemirror.exports);
14904
14906
  })(function(CodeMirror) {
14905
14907
 
14906
14908
  CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
@@ -14949,14 +14951,16 @@ CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
14949
14951
  });
14950
14952
 
14951
14953
  });
14952
- });
14954
+ }());
14955
+
14956
+ var foldcode = {exports: {}};
14953
14957
 
14954
- var foldcode = createCommonjsModule(function (module, exports) {
14958
+ (function (module, exports) {
14955
14959
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14956
14960
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14957
14961
 
14958
14962
  (function(mod) {
14959
- mod(codemirror);
14963
+ mod(codemirror.exports);
14960
14964
  })(function(CodeMirror) {
14961
14965
 
14962
14966
  function doFold(cm, pos, options, force) {
@@ -15105,14 +15109,14 @@ var foldcode = createCommonjsModule(function (module, exports) {
15105
15109
  return getOption(this, options, name);
15106
15110
  });
15107
15111
  });
15108
- });
15112
+ }());
15109
15113
 
15110
- var foldgutter = createCommonjsModule(function (module, exports) {
15114
+ (function (module, exports) {
15111
15115
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15112
15116
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15113
15117
 
15114
15118
  (function(mod) {
15115
- mod(codemirror, foldcode);
15119
+ mod(codemirror.exports, foldcode.exports);
15116
15120
  })(function(CodeMirror) {
15117
15121
 
15118
15122
  CodeMirror.defineOption("foldGutter", false, function(cm, val, old) {
@@ -15265,14 +15269,14 @@ var foldgutter = createCommonjsModule(function (module, exports) {
15265
15269
  updateFoldInfo(cm, line, line + 1);
15266
15270
  }
15267
15271
  });
15268
- });
15272
+ }());
15269
15273
 
15270
- var indentFold = createCommonjsModule(function (module, exports) {
15274
+ (function (module, exports) {
15271
15275
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15272
15276
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15273
15277
 
15274
15278
  (function(mod) {
15275
- mod(codemirror);
15279
+ mod(codemirror.exports);
15276
15280
  })(function(CodeMirror) {
15277
15281
 
15278
15282
  function lineIndent(cm, lineNo) {
@@ -15309,14 +15313,14 @@ CodeMirror.registerHelper("fold", "indent", function(cm, start) {
15309
15313
  });
15310
15314
 
15311
15315
  });
15312
- });
15316
+ }());
15313
15317
 
15314
- var xmlFold = createCommonjsModule(function (module, exports) {
15318
+ (function (module, exports) {
15315
15319
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15316
15320
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15317
15321
 
15318
15322
  (function(mod) {
15319
- mod(codemirror);
15323
+ mod(codemirror.exports);
15320
15324
  })(function(CodeMirror) {
15321
15325
 
15322
15326
  var Pos = CodeMirror.Pos;
@@ -15490,19 +15494,21 @@ var xmlFold = createCommonjsModule(function (module, exports) {
15490
15494
  return findMatchingClose(iter, name);
15491
15495
  };
15492
15496
  });
15493
- });
15497
+ }());
15494
15498
 
15495
- var css_248z$1 = ".CodeMirror-foldmarker{color:#00f;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px;font-family:arial;line-height:.3;cursor:pointer}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}";
15496
- styleInject(css_248z$1);
15499
+ var css_248z$1$1 = ".CodeMirror-foldmarker{color:blue;cursor:pointer;font-family:arial;line-height:.3;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}";
15500
+ styleInject$1(css_248z$1$1);
15501
+
15502
+ var dialog = {exports: {}};
15497
15503
 
15498
- var dialog = createCommonjsModule(function (module, exports) {
15504
+ (function (module, exports) {
15499
15505
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15500
15506
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15501
15507
 
15502
15508
  // Open simple dialogs on top of an editor. Relies on dialog.css.
15503
15509
 
15504
15510
  (function(mod) {
15505
- mod(codemirror);
15511
+ mod(codemirror.exports);
15506
15512
  })(function(CodeMirror) {
15507
15513
  function dialogDiv(cm, template, bottom) {
15508
15514
  var wrap = cm.getWrapperElement();
@@ -15654,16 +15660,16 @@ var dialog = createCommonjsModule(function (module, exports) {
15654
15660
  return close;
15655
15661
  });
15656
15662
  });
15657
- });
15663
+ }());
15658
15664
 
15659
- var jumpToLine = createCommonjsModule(function (module, exports) {
15665
+ (function (module, exports) {
15660
15666
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15661
15667
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15662
15668
 
15663
15669
  // Defines jumpToLine command. Uses dialog.js if present.
15664
15670
 
15665
15671
  (function(mod) {
15666
- mod(codemirror, dialog);
15672
+ mod(codemirror.exports, dialog.exports);
15667
15673
  })(function(CodeMirror) {
15668
15674
 
15669
15675
  // default search panel location
@@ -15704,14 +15710,16 @@ var jumpToLine = createCommonjsModule(function (module, exports) {
15704
15710
 
15705
15711
  CodeMirror.keyMap["default"]["Alt-G"] = "jumpToLine";
15706
15712
  });
15707
- });
15713
+ }());
15714
+
15715
+ var searchcursor = {exports: {}};
15708
15716
 
15709
- var searchcursor = createCommonjsModule(function (module, exports) {
15717
+ (function (module, exports) {
15710
15718
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15711
15719
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15712
15720
 
15713
15721
  (function(mod) {
15714
- mod(codemirror);
15722
+ mod(codemirror.exports);
15715
15723
  })(function(CodeMirror) {
15716
15724
  var Pos = CodeMirror.Pos;
15717
15725
 
@@ -16006,9 +16014,9 @@ var searchcursor = createCommonjsModule(function (module, exports) {
16006
16014
  this.setSelections(ranges, 0);
16007
16015
  });
16008
16016
  });
16009
- });
16017
+ }());
16010
16018
 
16011
- var search = createCommonjsModule(function (module, exports) {
16019
+ (function (module, exports) {
16012
16020
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
16013
16021
  // Distributed under an MIT license: https://codemirror.net/LICENSE
16014
16022
 
@@ -16021,7 +16029,7 @@ var search = createCommonjsModule(function (module, exports) {
16021
16029
  // Ctrl-G.
16022
16030
 
16023
16031
  (function(mod) {
16024
- mod(codemirror, searchcursor, dialog);
16032
+ mod(codemirror.exports, searchcursor.exports, dialog.exports);
16025
16033
  })(function(CodeMirror) {
16026
16034
 
16027
16035
  // default search panel location
@@ -16295,12 +16303,12 @@ var search = createCommonjsModule(function (module, exports) {
16295
16303
  CodeMirror.commands.replace = replace;
16296
16304
  CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};
16297
16305
  });
16298
- });
16306
+ }());
16299
16307
 
16300
- var css_248z$2 = ".CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}";
16301
- styleInject(css_248z$2);
16308
+ var css_248z$3 = ".CodeMirror-dialog{background:inherit;color:inherit;left:0;overflow:hidden;padding:.1em .8em;position:absolute;right:0;z-index:15}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{background:transparent;border:none;color:inherit;font-family:monospace;outline:none;width:20em}.CodeMirror-dialog button{font-size:70%}";
16309
+ styleInject$1(css_248z$3);
16302
16310
 
16303
- function styleInject$1(css, ref) {
16311
+ function styleInject(css, ref) {
16304
16312
  if ( ref === void 0 ) ref = {};
16305
16313
  var insertAt = ref.insertAt;
16306
16314
 
@@ -16327,8 +16335,8 @@ function styleInject$1(css, ref) {
16327
16335
  }
16328
16336
  }
16329
16337
 
16330
- var css_248z$3 = ".codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-warning{display:inline-block;position:relative;background-position:0 100%;background-repeat:repeat-x}.codemirror_Editor .cm-marked-info{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==\")}.codemirror_Editor .cm-marked-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=\")}.codemirror_Editor .cm-marked-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=\")}";
16331
- styleInject$1(css_248z$3);
16338
+ var css_248z$1 = ".codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-warning{background-position:0 100%;background-repeat:repeat-x;display:inline-block;position:relative}.codemirror_Editor .cm-marked-info{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==\")}.codemirror_Editor .cm-marked-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=\")}.codemirror_Editor .cm-marked-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=\")}";
16339
+ styleInject(css_248z$1);
16332
16340
 
16333
16341
  var Editor = /** @class */ (function (_super) {
16334
16342
  __extends(Editor, _super);
@@ -16351,7 +16359,7 @@ var Editor = /** @class */ (function (_super) {
16351
16359
  if (this.gutterMarkerWidth() > 0) {
16352
16360
  gutters.unshift({
16353
16361
  className: "CodeMirror-guttermarker",
16354
- style: "width:" + this.gutterMarkerWidth() + "px;"
16362
+ style: "width:".concat(this.gutterMarkerWidth(), "px;")
16355
16363
  });
16356
16364
  }
16357
16365
  return gutters;
@@ -16463,7 +16471,7 @@ var Editor = /** @class */ (function (_super) {
16463
16471
  Editor.prototype.enter = function (domNode, element) {
16464
16472
  var _this = this;
16465
16473
  _super.prototype.enter.call(this, domNode, element);
16466
- this._codemirror = codemirror.fromTextArea(element.append("textarea").node(), this.options());
16474
+ this._codemirror = CodeMirror.fromTextArea(element.append("textarea").node(), this.options());
16467
16475
  this._codemirror.on("changes", function (cm, changes) {
16468
16476
  _this.changes(changes);
16469
16477
  });
@@ -16525,8 +16533,8 @@ var DOTEditor = /** @class */ (function (_super) {
16525
16533
  }(Editor));
16526
16534
  DOTEditor.prototype._class += " codemirror_JSEditor";
16527
16535
 
16528
- var css_248z$4 = ".codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{font-weight:700;color:navy}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:grey}.cm-s-default span.cm-atom,.codemirror_ECLEditor .cm-s-default span.cm-number{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{background:#c00!important;color:#fff!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}";
16529
- styleInject$1(css_248z$4);
16536
+ var css_248z = ".codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{color:navy;font-weight:700}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:grey}.cm-s-default span.cm-atom,.codemirror_ECLEditor .cm-s-default span.cm-number{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{background:#c00!important;color:#fff!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}";
16537
+ styleInject(css_248z);
16530
16538
 
16531
16539
  var ECLEditor = /** @class */ (function (_super) {
16532
16540
  __extends(ECLEditor, _super);