@readme/markdown 6.35.1 → 6.36.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.
- package/README.md +1 -1
- package/dist/main.js +822 -777
- package/dist/main.node.js +5 -0
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -10366,37 +10366,34 @@ var _typeof = __webpack_require__(8);
|
|
|
10366
10366
|
}
|
|
10367
10367
|
}
|
|
10368
10368
|
|
|
10369
|
-
var s,
|
|
10370
|
-
l,
|
|
10371
|
-
c
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
m =
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
p = g, f = v;
|
|
10390
|
-
break e;
|
|
10369
|
+
var s = "{",
|
|
10370
|
+
l = "}",
|
|
10371
|
+
c = a("{");
|
|
10372
|
+
|
|
10373
|
+
if (null == c && (s = "[", l = "]", c = a("[")), null != c) {
|
|
10374
|
+
var u,
|
|
10375
|
+
d,
|
|
10376
|
+
p = 1,
|
|
10377
|
+
f = t.lastLine();
|
|
10378
|
+
|
|
10379
|
+
e: for (var m = i; m <= f; ++m) {
|
|
10380
|
+
for (var h = t.getLine(m), g = m == i ? c : 0;;) {
|
|
10381
|
+
var y = h.indexOf(s, g),
|
|
10382
|
+
v = h.indexOf(l, g);
|
|
10383
|
+
if (y < 0 && (y = h.length), v < 0 && (v = h.length), (g = Math.min(y, v)) == h.length) break;
|
|
10384
|
+
if (t.getTokenTypeAt(e.Pos(m, g + 1)) == n) if (g == y) ++p;else if (! --p) {
|
|
10385
|
+
u = m, d = g;
|
|
10386
|
+
break e;
|
|
10387
|
+
}
|
|
10388
|
+
++g;
|
|
10391
10389
|
}
|
|
10392
|
-
++v;
|
|
10393
10390
|
}
|
|
10394
|
-
}
|
|
10395
10391
|
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10392
|
+
if (null != u && i != u) return {
|
|
10393
|
+
from: e.Pos(i, c),
|
|
10394
|
+
to: e.Pos(u, d)
|
|
10395
|
+
};
|
|
10396
|
+
}
|
|
10400
10397
|
}), e.registerHelper("fold", "import", function (t, r) {
|
|
10401
10398
|
function n(r) {
|
|
10402
10399
|
if (r < t.firstLine() || r > t.lastLine()) return null;
|
|
@@ -10475,10 +10472,9 @@ var _typeof = __webpack_require__(8);
|
|
|
10475
10472
|
function l(e) {
|
|
10476
10473
|
var n = a(t, r);
|
|
10477
10474
|
if (!n || n.to.line - n.from.line < s) return null;
|
|
10478
|
-
if ("fold" === o) return n;
|
|
10479
10475
|
|
|
10480
10476
|
for (var i = t.findMarksAt(n.from), l = 0; l < i.length; ++l) {
|
|
10481
|
-
if (i[l].__isFold) {
|
|
10477
|
+
if (i[l].__isFold && "fold" !== o) {
|
|
10482
10478
|
if (!e) return null;
|
|
10483
10479
|
n.cleared = !0, i[l].clear();
|
|
10484
10480
|
}
|
|
@@ -10536,23 +10532,17 @@ var _typeof = __webpack_require__(8);
|
|
|
10536
10532
|
}, e.commands.fold = function (e) {
|
|
10537
10533
|
e.foldCode(e.getCursor(), null, "fold");
|
|
10538
10534
|
}, e.commands.unfold = function (e) {
|
|
10539
|
-
e.foldCode(e.getCursor(),
|
|
10540
|
-
scanUp: !1
|
|
10541
|
-
}, "unfold");
|
|
10535
|
+
e.foldCode(e.getCursor(), null, "unfold");
|
|
10542
10536
|
}, e.commands.foldAll = function (t) {
|
|
10543
10537
|
t.operation(function () {
|
|
10544
10538
|
for (var r = t.firstLine(), n = t.lastLine(); r <= n; r++) {
|
|
10545
|
-
t.foldCode(e.Pos(r, 0),
|
|
10546
|
-
scanUp: !1
|
|
10547
|
-
}, "fold");
|
|
10539
|
+
t.foldCode(e.Pos(r, 0), null, "fold");
|
|
10548
10540
|
}
|
|
10549
10541
|
});
|
|
10550
10542
|
}, e.commands.unfoldAll = function (t) {
|
|
10551
10543
|
t.operation(function () {
|
|
10552
10544
|
for (var r = t.firstLine(), n = t.lastLine(); r <= n; r++) {
|
|
10553
|
-
t.foldCode(e.Pos(r, 0),
|
|
10554
|
-
scanUp: !1
|
|
10555
|
-
}, "unfold");
|
|
10545
|
+
t.foldCode(e.Pos(r, 0), null, "unfold");
|
|
10556
10546
|
}
|
|
10557
10547
|
});
|
|
10558
10548
|
}, e.registerHelper("fold", "combine", function () {
|
|
@@ -10740,7 +10730,7 @@ var _typeof = __webpack_require__(8);
|
|
|
10740
10730
|
function r(e, t) {
|
|
10741
10731
|
if (!e) return /(?:)/;
|
|
10742
10732
|
var r = "";
|
|
10743
|
-
return e instanceof RegExp ? (e.ignoreCase && (r = "i"), e
|
|
10733
|
+
return e instanceof RegExp ? (e.ignoreCase && (r = "i"), e = e.source) : e = String(e), new RegExp((!1 === t ? "" : "^") + "(?:" + e + ")", r);
|
|
10744
10734
|
}
|
|
10745
10735
|
|
|
10746
10736
|
function n(e, n) {
|
|
@@ -10783,8 +10773,10 @@ var _typeof = __webpack_require__(8);
|
|
|
10783
10773
|
var p = u.token;
|
|
10784
10774
|
|
|
10785
10775
|
if (p && p.apply && (p = p(d)), d.length > 2 && u.token && "string" != typeof u.token) {
|
|
10776
|
+
n.pending = [];
|
|
10777
|
+
|
|
10786
10778
|
for (var f = 2; f < d.length; f++) {
|
|
10787
|
-
d[f] &&
|
|
10779
|
+
d[f] && n.pending.push({
|
|
10788
10780
|
text: d[f],
|
|
10789
10781
|
token: u.token[f - 1]
|
|
10790
10782
|
});
|
|
@@ -10952,14 +10944,14 @@ var _typeof = __webpack_require__(8);
|
|
|
10952
10944
|
|
|
10953
10945
|
e.runMode = function (t, r, n, i) {
|
|
10954
10946
|
var o = e.getMode(e.defaults, r),
|
|
10955
|
-
a =
|
|
10947
|
+
a = /MSIE \d/.test(navigator.userAgent) && (null == document.documentMode || document.documentMode < 9);
|
|
10956
10948
|
|
|
10957
10949
|
if (n.appendChild) {
|
|
10958
|
-
var s =
|
|
10950
|
+
var s = i && i.tabSize || e.defaults.tabSize,
|
|
10959
10951
|
l = n,
|
|
10960
10952
|
c = 0;
|
|
10961
10953
|
l.innerHTML = "", n = function n(e, t) {
|
|
10962
|
-
if ("\n" == e) return l.appendChild(document.createTextNode(
|
|
10954
|
+
if ("\n" == e) return l.appendChild(document.createTextNode(a ? "\r" : e)), void (c = 0);
|
|
10963
10955
|
|
|
10964
10956
|
for (var r = "", n = 0;;) {
|
|
10965
10957
|
var i = e.indexOf("\t", n);
|
|
@@ -10970,7 +10962,7 @@ var _typeof = __webpack_require__(8);
|
|
|
10970
10962
|
}
|
|
10971
10963
|
|
|
10972
10964
|
c += i - n, r += e.slice(n, i);
|
|
10973
|
-
var o =
|
|
10965
|
+
var o = s - c % s;
|
|
10974
10966
|
c += o;
|
|
10975
10967
|
|
|
10976
10968
|
for (var u = 0; u < o; ++u) {
|
|
@@ -10998,7 +10990,7 @@ var _typeof = __webpack_require__(8);
|
|
|
10998
10990
|
|
|
10999
10991
|
for (!m.string && o.blankLine && o.blankLine(d); !m.eol();) {
|
|
11000
10992
|
var h = o.token(m, d);
|
|
11001
|
-
n(m.current(), h, p, m.start, d
|
|
10993
|
+
n(m.current(), h, p, m.start, d), m.start = m.pos;
|
|
11002
10994
|
}
|
|
11003
10995
|
}
|
|
11004
10996
|
};
|
|
@@ -11033,7 +11025,7 @@ var _typeof = __webpack_require__(8);
|
|
|
11033
11025
|
f = /Apple Computer/.test(navigator.vendor),
|
|
11034
11026
|
m = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),
|
|
11035
11027
|
h = /PhantomJS/.test(e),
|
|
11036
|
-
g =
|
|
11028
|
+
g = !o && /AppleWebKit/.test(e) && /Mobile\/\w+/.test(e),
|
|
11037
11029
|
y = /Android/.test(e),
|
|
11038
11030
|
v = g || y || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),
|
|
11039
11031
|
b = g || /Mac/.test(t),
|
|
@@ -12408,7 +12400,7 @@ var _typeof = __webpack_require__(8);
|
|
|
12408
12400
|
}
|
|
12409
12401
|
} else e.col += t.length, c = document.createTextNode(u), e.map.push(e.pos, e.pos + t.length, c), s && l < 9 && (p = !0), e.pos += t.length;
|
|
12410
12402
|
|
|
12411
|
-
if (e.trailingSpace = 32 == u.charCodeAt(t.length - 1), r || n || i || p || o
|
|
12403
|
+
if (e.trailingSpace = 32 == u.charCodeAt(t.length - 1), r || n || i || p || o) {
|
|
12412
12404
|
var x = r || "";
|
|
12413
12405
|
n && (x += n), i && (x += i);
|
|
12414
12406
|
var k = A("span", [c], x, o);
|
|
@@ -12596,7 +12588,7 @@ var _typeof = __webpack_require__(8);
|
|
|
12596
12588
|
if (e.options.lineNumbers || o) {
|
|
12597
12589
|
var a = dr(t),
|
|
12598
12590
|
s = t.gutter = A("div", null, "CodeMirror-gutter-wrapper", "left: " + (e.options.fixedGutter ? n.fixedPos : -n.gutterTotalWidth) + "px");
|
|
12599
|
-
if (
|
|
12591
|
+
if (e.display.input.setUneditable(s), a.insertBefore(s, t.text), t.line.gutterClass && (s.className += " " + t.line.gutterClass), !e.options.lineNumbers || o && o["CodeMirror-linenumbers"] || (t.lineNumber = s.appendChild(A("div", et(e.options, r), "CodeMirror-linenumber CodeMirror-gutter-elt", "left: " + n.gutterLeft["CodeMirror-linenumbers"] + "px; width: " + e.display.lineNumInnerWidth + "px"))), o) for (var l = 0; l < e.display.gutterSpecs.length; ++l) {
|
|
12600
12592
|
var c = e.display.gutterSpecs[l].className,
|
|
12601
12593
|
u = o.hasOwnProperty(c) && o[c];
|
|
12602
12594
|
u && s.appendChild(A("div", [u], "CodeMirror-gutter-elt", "left: " + n.gutterLeft[c] + "px; width: " + n.gutterWidth[c] + "px"));
|
|
@@ -13201,7 +13193,7 @@ var _typeof = __webpack_require__(8);
|
|
|
13201
13193
|
|
|
13202
13194
|
try {
|
|
13203
13195
|
o = t.clientX - s.left, a = t.clientY - s.top;
|
|
13204
|
-
} catch (
|
|
13196
|
+
} catch (t) {
|
|
13205
13197
|
return null;
|
|
13206
13198
|
}
|
|
13207
13199
|
|
|
@@ -13329,14 +13321,9 @@ var _typeof = __webpack_require__(8);
|
|
|
13329
13321
|
var n = Gr(e, t, "div", null, null, !e.options.singleCursorHeightPerLine),
|
|
13330
13322
|
i = r.appendChild(A("div", " ", "CodeMirror-cursor"));
|
|
13331
13323
|
|
|
13332
|
-
if (i.style.left = n.left + "px", i.style.top = n.top + "px", i.style.height = Math.max(0, n.bottom - n.top) * e.options.cursorHeight + "px",
|
|
13333
|
-
var o =
|
|
13334
|
-
|
|
13335
|
-
}
|
|
13336
|
-
|
|
13337
|
-
if (n.other) {
|
|
13338
|
-
var a = r.appendChild(A("div", " ", "CodeMirror-cursor CodeMirror-secondarycursor"));
|
|
13339
|
-
a.style.display = "", a.style.left = n.other.left + "px", a.style.top = n.other.top + "px", a.style.height = .85 * (n.other.bottom - n.other.top) + "px";
|
|
13324
|
+
if (i.style.left = n.left + "px", i.style.top = n.top + "px", i.style.height = Math.max(0, n.bottom - n.top) * e.options.cursorHeight + "px", n.other) {
|
|
13325
|
+
var o = r.appendChild(A("div", " ", "CodeMirror-cursor CodeMirror-secondarycursor"));
|
|
13326
|
+
o.style.display = "", o.style.left = n.other.left + "px", o.style.top = n.other.top + "px", o.style.height = .85 * (n.other.bottom - n.other.top) + "px";
|
|
13340
13327
|
}
|
|
13341
13328
|
}
|
|
13342
13329
|
|
|
@@ -13429,23 +13416,23 @@ var _typeof = __webpack_require__(8);
|
|
|
13429
13416
|
clearInterval(t.blinker);
|
|
13430
13417
|
var r = !0;
|
|
13431
13418
|
t.cursorDiv.style.visibility = "", e.options.cursorBlinkRate > 0 ? t.blinker = setInterval(function () {
|
|
13432
|
-
|
|
13419
|
+
return t.cursorDiv.style.visibility = (r = !r) ? "" : "hidden";
|
|
13433
13420
|
}, e.options.cursorBlinkRate) : e.options.cursorBlinkRate < 0 && (t.cursorDiv.style.visibility = "hidden");
|
|
13434
13421
|
}
|
|
13435
13422
|
}
|
|
13436
13423
|
|
|
13437
13424
|
function _n(e) {
|
|
13438
|
-
e.
|
|
13425
|
+
e.state.focused || (e.display.input.focus(), Cn(e));
|
|
13439
13426
|
}
|
|
13440
13427
|
|
|
13441
13428
|
function Sn(e) {
|
|
13442
13429
|
e.state.delayingBlurEvent = !0, setTimeout(function () {
|
|
13443
|
-
e.state.delayingBlurEvent && (e.state.delayingBlurEvent = !1,
|
|
13430
|
+
e.state.delayingBlurEvent && (e.state.delayingBlurEvent = !1, Tn(e));
|
|
13444
13431
|
}, 100);
|
|
13445
13432
|
}
|
|
13446
13433
|
|
|
13447
13434
|
function Cn(e, t) {
|
|
13448
|
-
e.state.delayingBlurEvent &&
|
|
13435
|
+
e.state.delayingBlurEvent && (e.state.delayingBlurEvent = !1), "nocursor" != e.options.readOnly && (e.state.focused || (he(e, "focus", e, t), e.state.focused = !0, D(e.display.wrapper, "CodeMirror-focused"), e.curOp || e.display.selForContextMenu == e.doc.sel || (e.display.input.reset(), c && setTimeout(function () {
|
|
13449
13436
|
return e.display.input.reset(!0);
|
|
13450
13437
|
}, 20)), e.display.input.receivedFocus()), wn(e));
|
|
13451
13438
|
}
|
|
@@ -13527,11 +13514,10 @@ var _typeof = __webpack_require__(8);
|
|
|
13527
13514
|
var u = Math.min(t.top, (c ? s : t.bottom) - o);
|
|
13528
13515
|
u != i && (a.scrollTop = u);
|
|
13529
13516
|
}
|
|
13530
|
-
var d = e.
|
|
13531
|
-
p = e
|
|
13532
|
-
f =
|
|
13533
|
-
|
|
13534
|
-
return m && (t.right = t.left + f), t.left < 10 ? a.scrollLeft = 0 : t.left < p ? a.scrollLeft = Math.max(0, t.left + d - (m ? 0 : 10)) : t.right > f + p - 3 && (a.scrollLeft = t.right + (m ? 0 : 10) - f), a;
|
|
13517
|
+
var d = e.curOp && null != e.curOp.scrollLeft ? e.curOp.scrollLeft : r.scroller.scrollLeft,
|
|
13518
|
+
p = Mr(e) - (e.options.fixedGutter ? r.gutters.offsetWidth : 0),
|
|
13519
|
+
f = t.right - t.left > p;
|
|
13520
|
+
return f && (t.right = t.left + p), t.left < 10 ? a.scrollLeft = 0 : t.left < d ? a.scrollLeft = Math.max(0, t.left - (f ? 0 : 10)) : t.right > p + d - 3 && (a.scrollLeft = t.right + (f ? 0 : 10) - p), a;
|
|
13535
13521
|
}
|
|
13536
13522
|
|
|
13537
13523
|
function Nn(e, t) {
|
|
@@ -13710,8 +13696,7 @@ var _typeof = __webpack_require__(8);
|
|
|
13710
13696
|
scrollTop: null,
|
|
13711
13697
|
scrollToPos: null,
|
|
13712
13698
|
focus: !1,
|
|
13713
|
-
id: ++Vn
|
|
13714
|
-
markArrays: null
|
|
13699
|
+
id: ++Vn
|
|
13715
13700
|
}, t = e.curOp, ar ? ar.ops.push(t) : t.ownsGroup = ar = {
|
|
13716
13701
|
ops: [t],
|
|
13717
13702
|
delayedCallbacks: []
|
|
@@ -13809,7 +13794,7 @@ var _typeof = __webpack_require__(8);
|
|
|
13809
13794
|
if (e.updatedDisplay && li(t, e.update), null == r.wheelStartX || null == e.scrollTop && null == e.scrollLeft && !e.scrollToPos || (r.wheelStartX = r.wheelStartY = null), null != e.scrollTop && jn(t, e.scrollTop, e.forceScroll), null != e.scrollLeft && qn(t, e.scrollLeft, !0, !0), e.scrollToPos) {
|
|
13810
13795
|
var i = function (e, t, r, n) {
|
|
13811
13796
|
var i;
|
|
13812
|
-
null == n && (n = 0), e.options.lineWrapping || t != r || (r = "before" == t.
|
|
13797
|
+
null == n && (n = 0), e.options.lineWrapping || t != r || (r = "before" == (t = t.ch ? tt(t.line, "before" == t.sticky ? t.ch - 1 : t.ch, "after") : t).sticky ? tt(t.line, t.ch + 1, "before") : t);
|
|
13813
13798
|
|
|
13814
13799
|
for (var o = 0; o < 5; o++) {
|
|
13815
13800
|
var a = !1,
|
|
@@ -14046,7 +14031,7 @@ var _typeof = __webpack_require__(8);
|
|
|
14046
14031
|
|
|
14047
14032
|
function ui(e) {
|
|
14048
14033
|
var t = e.gutters.offsetWidth;
|
|
14049
|
-
e.sizer.style.marginLeft = t + "px"
|
|
14034
|
+
e.sizer.style.marginLeft = t + "px";
|
|
14050
14035
|
}
|
|
14051
14036
|
|
|
14052
14037
|
function di(e, t) {
|
|
@@ -14134,7 +14119,7 @@ var _typeof = __webpack_require__(8);
|
|
|
14134
14119
|
var o = this;
|
|
14135
14120
|
this.input = n, o.scrollbarFiller = A("div", null, "CodeMirror-scrollbar-filler"), o.scrollbarFiller.setAttribute("cm-not-content", "true"), o.gutterFiller = A("div", null, "CodeMirror-gutter-filler"), o.gutterFiller.setAttribute("cm-not-content", "true"), o.lineDiv = N("div", null, "CodeMirror-code"), o.selectionDiv = A("div", null, null, "position: relative; z-index: 1"), o.cursorDiv = A("div", null, "CodeMirror-cursors"), o.measure = A("div", null, "CodeMirror-measure"), o.lineMeasure = A("div", null, "CodeMirror-measure"), o.lineSpace = N("div", [o.measure, o.lineMeasure, o.selectionDiv, o.cursorDiv, o.lineDiv], null, "position: relative; outline: none");
|
|
14136
14121
|
var a = N("div", [o.lineSpace], "CodeMirror-lines");
|
|
14137
|
-
o.mover = A("div", [a], null, "position: relative"), o.sizer = A("div", [o.mover], "CodeMirror-sizer"), o.sizerWidth = null, o.heightForcer = A("div", null, null, "position: absolute; height: 50px; width: 1px;"), o.gutters = A("div", null, "CodeMirror-gutters"), o.lineGutter = null, o.scroller = A("div", [o.sizer, o.heightForcer, o.gutters], "CodeMirror-scroll"), o.scroller.setAttribute("tabIndex", "-1"), o.wrapper = A("div", [o.scrollbarFiller, o.gutterFiller, o.scroller], "CodeMirror"),
|
|
14122
|
+
o.mover = A("div", [a], null, "position: relative"), o.sizer = A("div", [o.mover], "CodeMirror-sizer"), o.sizerWidth = null, o.heightForcer = A("div", null, null, "position: absolute; height: 50px; width: 1px;"), o.gutters = A("div", null, "CodeMirror-gutters"), o.lineGutter = null, o.scroller = A("div", [o.sizer, o.heightForcer, o.gutters], "CodeMirror-scroll"), o.scroller.setAttribute("tabIndex", "-1"), o.wrapper = A("div", [o.scrollbarFiller, o.gutterFiller, o.scroller], "CodeMirror"), s && l < 8 && (o.gutters.style.zIndex = -1, o.scroller.style.paddingRight = 0), c || r && v || (o.scroller.draggable = !0), e && (e.appendChild ? e.appendChild(o.wrapper) : e(o.wrapper)), o.viewFrom = o.viewTo = t.first, o.reportedViewFrom = o.reportedViewTo = t.first, o.view = [], o.renderedView = null, o.externalMeasured = null, o.viewOffset = 0, o.lastWrapHeight = o.lastWrapWidth = 0, o.updateLineNumbers = null, o.nativeBarWidth = o.barHeight = o.barWidth = 0, o.scrollbarsClipped = !1, o.lineNumWidth = o.lineNumInnerWidth = o.lineNumChars = null, o.alignWidgets = !1, o.cachedCharWidth = o.cachedTextHeight = o.cachedPaddingH = null, o.maxLine = null, o.maxLineLength = 0, o.maxLineChanged = !1, o.wheelDX = o.wheelDY = o.wheelStartX = o.wheelStartY = null, o.shift = !1, o.selForContextMenu = null, o.activeTouch = null, o.gutterSpecs = mi(i.gutters, i.lineNumbers), hi(o), n.init(o);
|
|
14138
14123
|
}
|
|
14139
14124
|
|
|
14140
14125
|
ai.prototype.signal = function (e, t) {
|
|
@@ -14374,7 +14359,7 @@ var _typeof = __webpack_require__(8);
|
|
|
14374
14359
|
|
|
14375
14360
|
function Pi(e, t) {
|
|
14376
14361
|
if (t.cm) throw new Error("This document is already in use.");
|
|
14377
|
-
e.doc = t, t.cm = e, cn(e), Ni(e), ji(e), e.options.
|
|
14362
|
+
e.doc = t, t.cm = e, cn(e), Ni(e), ji(e), e.options.lineWrapping || Vt(e), e.options.mode = t.modeOption, pn(e);
|
|
14378
14363
|
}
|
|
14379
14364
|
|
|
14380
14365
|
function ji(e) {
|
|
@@ -14382,7 +14367,7 @@ var _typeof = __webpack_require__(8);
|
|
|
14382
14367
|
}
|
|
14383
14368
|
|
|
14384
14369
|
function qi(e) {
|
|
14385
|
-
this.done = [], this.undone = [], this.undoDepth =
|
|
14370
|
+
this.done = [], this.undone = [], this.undoDepth = 1 / 0, this.lastModTime = this.lastSelTime = 0, this.lastOp = this.lastSelOp = null, this.lastOrigin = this.lastSelOrigin = null, this.generation = this.maxGeneration = e || 1;
|
|
14386
14371
|
}
|
|
14387
14372
|
|
|
14388
14373
|
function Fi(e, t) {
|
|
@@ -14575,7 +14560,7 @@ var _typeof = __webpack_require__(8);
|
|
|
14575
14560
|
return he(e, "beforeSelectionChange", e, n), e.cm && he(e.cm, "beforeSelectionChange", e.cm, n), n.ranges != t.ranges ? Ci(e.cm, n.ranges, n.ranges.length - 1) : t;
|
|
14576
14561
|
}(e, t, r));
|
|
14577
14562
|
var n = r && r.bias || (rt(t.primary().head, e.sel.primary().head) < 0 ? -1 : 1);
|
|
14578
|
-
ro(e, io(e, t, n, !0)), r && !1 === r.scroll || !e.cm ||
|
|
14563
|
+
ro(e, io(e, t, n, !0)), r && !1 === r.scroll || !e.cm || zn(e.cm);
|
|
14579
14564
|
}
|
|
14580
14565
|
|
|
14581
14566
|
function ro(e, t) {
|
|
@@ -15130,11 +15115,10 @@ var _typeof = __webpack_require__(8);
|
|
|
15130
15115
|
l = t.line,
|
|
15131
15116
|
c = e.cm;
|
|
15132
15117
|
|
|
15133
|
-
if (e.iter(l, r.line + 1, function (
|
|
15134
|
-
c && o.collapsed && !c.options.lineWrapping && Ft(
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
}(n, new St(o, l == t.line ? t.ch : null, l == r.line ? r.ch : null), e.cm && e.cm.curOp), ++l;
|
|
15118
|
+
if (e.iter(l, r.line + 1, function (e) {
|
|
15119
|
+
c && o.collapsed && !c.options.lineWrapping && Ft(e) == c.display.maxLine && (s = !0), o.collapsed && l != t.line && Xe(e, 0), function (e, t) {
|
|
15120
|
+
e.markedSpans = e.markedSpans ? e.markedSpans.concat([t]) : [t], t.marker.attachLine(e);
|
|
15121
|
+
}(e, new St(o, l == t.line ? t.ch : null, l == r.line ? r.ch : null)), ++l;
|
|
15138
15122
|
}), o.collapsed && e.iter(t.line, r.line + 1, function (t) {
|
|
15139
15123
|
$t(e, t) && Xe(t, 0);
|
|
15140
15124
|
}), o.clearOnEnter && pe(o, "beforeCursorEnter", function () {
|
|
@@ -15312,7 +15296,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15312
15296
|
},
|
|
15313
15297
|
getRange: function getRange(e, t, r) {
|
|
15314
15298
|
var n = Ke(this, lt(this, e), lt(this, t));
|
|
15315
|
-
return !1 === r ? n :
|
|
15299
|
+
return !1 === r ? n : n.join(r || this.lineSeparator());
|
|
15316
15300
|
},
|
|
15317
15301
|
getLine: function getLine(e) {
|
|
15318
15302
|
var t = this.getLineHandle(e);
|
|
@@ -15367,7 +15351,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15367
15351
|
setSelections: ni(function (e, t, r) {
|
|
15368
15352
|
if (e.length) {
|
|
15369
15353
|
for (var n = [], i = 0; i < e.length; i++) {
|
|
15370
|
-
n[i] = new Si(lt(this, e[i].anchor), lt(this, e[i].head
|
|
15354
|
+
n[i] = new Si(lt(this, e[i].anchor), lt(this, e[i].head));
|
|
15371
15355
|
}
|
|
15372
15356
|
|
|
15373
15357
|
null == t && (t = Math.min(e.length - 1, this.sel.primIndex)), eo(this, Ci(this.cm, n, t), r);
|
|
@@ -15465,7 +15449,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15465
15449
|
},
|
|
15466
15450
|
clearHistory: function clearHistory() {
|
|
15467
15451
|
var e = this;
|
|
15468
|
-
this.history = new qi(this.history), Ii(this, function (t) {
|
|
15452
|
+
this.history = new qi(this.history.maxGeneration), Ii(this, function (t) {
|
|
15469
15453
|
return t.history = e.history;
|
|
15470
15454
|
}, !0);
|
|
15471
15455
|
},
|
|
@@ -15485,7 +15469,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15485
15469
|
};
|
|
15486
15470
|
},
|
|
15487
15471
|
setHistory: function setHistory(e) {
|
|
15488
|
-
var t = this.history = new qi(this.history);
|
|
15472
|
+
var t = this.history = new qi(this.history.maxGeneration);
|
|
15489
15473
|
t.done = Gi(e.done.slice(0), null, !0), t.undone = Gi(e.undone.slice(0), null, !0);
|
|
15490
15474
|
},
|
|
15491
15475
|
setGutterMarker: ni(function (e, t, r) {
|
|
@@ -15554,7 +15538,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15554
15538
|
return o && i.noHScroll && (o.display.alignWidgets = !0), xo(e, t, "widget", function (t) {
|
|
15555
15539
|
var r = t.widgets || (t.widgets = []);
|
|
15556
15540
|
|
|
15557
|
-
if (null == i.insertAt ? r.push(i) : r.splice(Math.min(r.length, Math.max(0, i.insertAt)), 0, i), i.line = t, o && !$t(e, t)) {
|
|
15541
|
+
if (null == i.insertAt ? r.push(i) : r.splice(Math.min(r.length - 1, Math.max(0, i.insertAt)), 0, i), i.line = t, o && !$t(e, t)) {
|
|
15558
15542
|
var n = Ht(t) < e.scrollTop;
|
|
15559
15543
|
Xe(t, t.height + kr(i)), n && Nn(o, i.height), o.curOp.forceUpdate = !0;
|
|
15560
15544
|
}
|
|
@@ -15834,7 +15818,6 @@ var _typeof = __webpack_require__(8);
|
|
|
15834
15818
|
220: "\\",
|
|
15835
15819
|
221: "]",
|
|
15836
15820
|
222: "'",
|
|
15837
|
-
224: "Mod",
|
|
15838
15821
|
63232: "Up",
|
|
15839
15822
|
63233: "Down",
|
|
15840
15823
|
63234: "Left",
|
|
@@ -15936,7 +15919,7 @@ var _typeof = __webpack_require__(8);
|
|
|
15936
15919
|
|
|
15937
15920
|
function Zo(e, t, r) {
|
|
15938
15921
|
var n = e;
|
|
15939
|
-
return t.altKey && "Alt" != n && (e = "Alt-" + e), (_ ? t.metaKey : t.ctrlKey) && "Ctrl" != n && (e = "Ctrl-" + e), (_ ? t.ctrlKey : t.metaKey) && "
|
|
15922
|
+
return t.altKey && "Alt" != n && (e = "Alt-" + e), (_ ? t.metaKey : t.ctrlKey) && "Ctrl" != n && (e = "Ctrl-" + e), (_ ? t.ctrlKey : t.metaKey) && "Cmd" != n && (e = "Cmd-" + e), !r && t.shiftKey && "Shift" != n && (e = "Shift-" + e), e;
|
|
15940
15923
|
}
|
|
15941
15924
|
|
|
15942
15925
|
function Xo(e, t) {
|
|
@@ -16058,12 +16041,15 @@ var _typeof = __webpack_require__(8);
|
|
|
16058
16041
|
"Ctrl-B": "goCharLeft",
|
|
16059
16042
|
"Ctrl-P": "goLineUp",
|
|
16060
16043
|
"Ctrl-N": "goLineDown",
|
|
16044
|
+
"Alt-F": "goWordRight",
|
|
16045
|
+
"Alt-B": "goWordLeft",
|
|
16061
16046
|
"Ctrl-A": "goLineStart",
|
|
16062
16047
|
"Ctrl-E": "goLineEnd",
|
|
16063
16048
|
"Ctrl-V": "goPageDown",
|
|
16064
16049
|
"Shift-Ctrl-V": "goPageUp",
|
|
16065
16050
|
"Ctrl-D": "delCharAfter",
|
|
16066
16051
|
"Ctrl-H": "delCharBefore",
|
|
16052
|
+
"Alt-D": "delWordAfter",
|
|
16067
16053
|
"Alt-Backspace": "delWordBefore",
|
|
16068
16054
|
"Ctrl-K": "killLine",
|
|
16069
16055
|
"Ctrl-T": "transposeChars",
|
|
@@ -16284,7 +16270,7 @@ var _typeof = __webpack_require__(8);
|
|
|
16284
16270
|
return e.moveH(1, "word");
|
|
16285
16271
|
},
|
|
16286
16272
|
delCharBefore: function delCharBefore(e) {
|
|
16287
|
-
return e.deleteH(-1, "
|
|
16273
|
+
return e.deleteH(-1, "char");
|
|
16288
16274
|
},
|
|
16289
16275
|
delCharAfter: function delCharAfter(e) {
|
|
16290
16276
|
return e.deleteH(1, "char");
|
|
@@ -16537,7 +16523,7 @@ var _typeof = __webpack_require__(8);
|
|
|
16537
16523
|
var i = e.display,
|
|
16538
16524
|
o = !1,
|
|
16539
16525
|
a = ti(e, function (t) {
|
|
16540
|
-
c && (i.scroller.draggable = !1), e.state.draggingText = !1,
|
|
16526
|
+
c && (i.scroller.draggable = !1), e.state.draggingText = !1, me(i.wrapper.ownerDocument, "mouseup", a), me(i.wrapper.ownerDocument, "mousemove", u), me(i.scroller, "dragstart", d), me(i.scroller, "drop", a), o || (xe(t), n.addNew || Zi(e.doc, r, null, null, n.extend), c && !f || s && 9 == l ? setTimeout(function () {
|
|
16541
16527
|
i.wrapper.ownerDocument.body.focus({
|
|
16542
16528
|
preventScroll: !0
|
|
16543
16529
|
}), i.input.focus();
|
|
@@ -16550,40 +16536,39 @@ var _typeof = __webpack_require__(8);
|
|
|
16550
16536
|
return o = !0;
|
|
16551
16537
|
};
|
|
16552
16538
|
|
|
16553
|
-
c && (i.scroller.draggable = !0), e.state.draggingText = a, a.copy = !n.moveOnDrag, pe(i.wrapper.ownerDocument, "mouseup", a), pe(i.wrapper.ownerDocument, "mousemove", u), pe(i.scroller, "dragstart", d), pe(i.scroller, "drop", a), e
|
|
16539
|
+
c && (i.scroller.draggable = !0), e.state.draggingText = a, a.copy = !n.moveOnDrag, i.scroller.dragDrop && i.scroller.dragDrop(), pe(i.wrapper.ownerDocument, "mouseup", a), pe(i.wrapper.ownerDocument, "mousemove", u), pe(i.scroller, "dragstart", d), pe(i.scroller, "drop", a), Sn(e), setTimeout(function () {
|
|
16554
16540
|
return i.input.focus();
|
|
16555
|
-
}, 20)
|
|
16541
|
+
}, 20);
|
|
16556
16542
|
}(e, n, t, o) : function (e, t, r, n) {
|
|
16557
|
-
s && Sn(e);
|
|
16558
16543
|
var i = e.display,
|
|
16559
16544
|
o = e.doc;
|
|
16560
16545
|
xe(t);
|
|
16561
16546
|
var a,
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
if (n.addNew && !n.extend ? (
|
|
16566
|
-
var
|
|
16567
|
-
a = n.extend ? Ki(a,
|
|
16547
|
+
s,
|
|
16548
|
+
l = o.sel,
|
|
16549
|
+
c = l.ranges;
|
|
16550
|
+
if (n.addNew && !n.extend ? (s = o.sel.contains(r), a = s > -1 ? c[s] : new Si(r, r)) : (a = o.sel.primary(), s = o.sel.primIndex), "rectangle" == n.unit) n.addNew || (a = new Si(r, r)), r = un(e, t, !0, !0), s = -1;else {
|
|
16551
|
+
var u = va(e, r, n.unit);
|
|
16552
|
+
a = n.extend ? Ki(a, u.anchor, u.head, n.extend) : u;
|
|
16568
16553
|
}
|
|
16569
|
-
n.addNew ? -1 ==
|
|
16554
|
+
n.addNew ? -1 == s ? (s = c.length, eo(o, Ci(e, c.concat([a]), s), {
|
|
16570
16555
|
scroll: !1,
|
|
16571
16556
|
origin: "*mouse"
|
|
16572
|
-
})) :
|
|
16557
|
+
})) : c.length > 1 && c[s].empty() && "char" == n.unit && !n.extend ? (eo(o, Ci(e, c.slice(0, s).concat(c.slice(s + 1)), 0), {
|
|
16573
16558
|
scroll: !1,
|
|
16574
16559
|
origin: "*mouse"
|
|
16575
|
-
}),
|
|
16576
|
-
var
|
|
16560
|
+
}), l = o.sel) : Yi(o, s, a, H) : (s = 0, eo(o, new _i([a], 0), H), l = o.sel);
|
|
16561
|
+
var d = r;
|
|
16577
16562
|
|
|
16578
|
-
function
|
|
16579
|
-
if (0 != rt(
|
|
16580
|
-
for (var i = [],
|
|
16563
|
+
function p(t) {
|
|
16564
|
+
if (0 != rt(d, t)) if (d = t, "rectangle" == n.unit) {
|
|
16565
|
+
for (var i = [], c = e.options.tabSize, u = F(Ge(o, r.line).text, r.ch, c), p = F(Ge(o, t.line).text, t.ch, c), f = Math.min(u, p), m = Math.max(u, p), h = Math.min(r.line, t.line), g = Math.min(e.lastLine(), Math.max(r.line, t.line)); h <= g; h++) {
|
|
16581
16566
|
var y = Ge(o, h).text,
|
|
16582
|
-
v = V(y, f,
|
|
16583
|
-
f == m ? i.push(new Si(tt(h, v), tt(h, v))) : y.length > v && i.push(new Si(tt(h, v), tt(h, V(y, m,
|
|
16567
|
+
v = V(y, f, c);
|
|
16568
|
+
f == m ? i.push(new Si(tt(h, v), tt(h, v))) : y.length > v && i.push(new Si(tt(h, v), tt(h, V(y, m, c))));
|
|
16584
16569
|
}
|
|
16585
16570
|
|
|
16586
|
-
i.length || i.push(new Si(r, r)), eo(o, Ci(e,
|
|
16571
|
+
i.length || i.push(new Si(r, r)), eo(o, Ci(e, l.ranges.slice(0, s).concat(i), s), {
|
|
16587
16572
|
origin: "*mouse",
|
|
16588
16573
|
scroll: !1
|
|
16589
16574
|
}), e.scrollIntoView(t);
|
|
@@ -16594,9 +16579,9 @@ var _typeof = __webpack_require__(8);
|
|
|
16594
16579
|
w = x.anchor;
|
|
16595
16580
|
rt(k.anchor, w) > 0 ? (b = k.head, w = at(x.from(), k.anchor)) : (b = k.anchor, w = ot(x.to(), k.head));
|
|
16596
16581
|
|
|
16597
|
-
var _ =
|
|
16582
|
+
var _ = l.ranges.slice(0);
|
|
16598
16583
|
|
|
16599
|
-
_[
|
|
16584
|
+
_[s] = function (e, t) {
|
|
16600
16585
|
var r = t.anchor,
|
|
16601
16586
|
n = t.head,
|
|
16602
16587
|
i = Ge(e.doc, r.line);
|
|
@@ -16619,39 +16604,39 @@ var _typeof = __webpack_require__(8);
|
|
|
16619
16604
|
m = f ? p.from : p.to,
|
|
16620
16605
|
h = f ? "after" : "before";
|
|
16621
16606
|
return r.ch == m && r.sticky == h ? t : new Si(new tt(r.line, m, h), n);
|
|
16622
|
-
}(e, new Si(lt(o, w), b)), eo(o, Ci(e, _,
|
|
16607
|
+
}(e, new Si(lt(o, w), b)), eo(o, Ci(e, _, s), H);
|
|
16623
16608
|
}
|
|
16624
16609
|
}
|
|
16625
16610
|
|
|
16626
|
-
var
|
|
16627
|
-
|
|
16611
|
+
var f = i.wrapper.getBoundingClientRect(),
|
|
16612
|
+
m = 0;
|
|
16628
16613
|
|
|
16629
|
-
function
|
|
16630
|
-
var r = ++
|
|
16614
|
+
function h(t) {
|
|
16615
|
+
var r = ++m,
|
|
16631
16616
|
a = un(e, t, !0, "rectangle" == n.unit);
|
|
16632
|
-
if (a) if (0 != rt(a,
|
|
16633
|
-
e.curOp.focus = O(),
|
|
16617
|
+
if (a) if (0 != rt(a, d)) {
|
|
16618
|
+
e.curOp.focus = O(), p(a);
|
|
16634
16619
|
var s = Ln(i, o);
|
|
16635
16620
|
(a.line >= s.to || a.line < s.from) && setTimeout(ti(e, function () {
|
|
16636
|
-
|
|
16621
|
+
m == r && h(t);
|
|
16637
16622
|
}), 150);
|
|
16638
16623
|
} else {
|
|
16639
|
-
var l = t.clientY <
|
|
16624
|
+
var l = t.clientY < f.top ? -20 : t.clientY > f.bottom ? 20 : 0;
|
|
16640
16625
|
l && setTimeout(ti(e, function () {
|
|
16641
|
-
|
|
16626
|
+
m == r && (i.scroller.scrollTop += l, h(t));
|
|
16642
16627
|
}), 50);
|
|
16643
16628
|
}
|
|
16644
16629
|
}
|
|
16645
16630
|
|
|
16646
|
-
function
|
|
16647
|
-
e.state.selectingText = !1,
|
|
16631
|
+
function g(t) {
|
|
16632
|
+
e.state.selectingText = !1, m = 1 / 0, t && (xe(t), i.input.focus()), me(i.wrapper.ownerDocument, "mousemove", y), me(i.wrapper.ownerDocument, "mouseup", v), o.history.lastSelOrigin = null;
|
|
16648
16633
|
}
|
|
16649
16634
|
|
|
16650
|
-
var
|
|
16651
|
-
0 !== e.buttons && Ce(e) ?
|
|
16635
|
+
var y = ti(e, function (e) {
|
|
16636
|
+
0 !== e.buttons && Ce(e) ? h(e) : g(e);
|
|
16652
16637
|
}),
|
|
16653
|
-
|
|
16654
|
-
e.state.selectingText =
|
|
16638
|
+
v = ti(e, g);
|
|
16639
|
+
e.state.selectingText = v, pe(i.wrapper.ownerDocument, "mousemove", y), pe(i.wrapper.ownerDocument, "mouseup", v);
|
|
16655
16640
|
}(e, n, t, o);
|
|
16656
16641
|
}(t, n, o, e) : Se(e) == r.scroller && xe(e) : 2 == i ? (n && Zi(t.doc, n), setTimeout(function () {
|
|
16657
16642
|
return r.input.focus();
|
|
@@ -16671,7 +16656,7 @@ var _typeof = __webpack_require__(8);
|
|
|
16671
16656
|
var i, o;
|
|
16672
16657
|
if (t.touches) i = t.touches[0].clientX, o = t.touches[0].clientY;else try {
|
|
16673
16658
|
i = t.clientX, o = t.clientY;
|
|
16674
|
-
} catch (
|
|
16659
|
+
} catch (t) {
|
|
16675
16660
|
return !1;
|
|
16676
16661
|
}
|
|
16677
16662
|
if (i >= Math.floor(e.display.gutters.getBoundingClientRect().right)) return !1;
|
|
@@ -16861,9 +16846,7 @@ var _typeof = __webpack_require__(8);
|
|
|
16861
16846
|
}), pe(c, "blur", function (t) {
|
|
16862
16847
|
return Tn(e, t);
|
|
16863
16848
|
});
|
|
16864
|
-
}(this), qo(), Gn(this), this.curOp.forceUpdate = !0, Pi(this, n), t.autofocus && !v || this.hasFocus() ? setTimeout(
|
|
16865
|
-
r.hasFocus() && !r.state.focused && Cn(r);
|
|
16866
|
-
}, 20) : Tn(this), Ca) {
|
|
16849
|
+
}(this), qo(), Gn(this), this.curOp.forceUpdate = !0, Pi(this, n), t.autofocus && !v || this.hasFocus() ? setTimeout(j(Cn, this), 20) : Tn(this), Ca) {
|
|
16867
16850
|
Ca.hasOwnProperty(a) && Ca[a](this, t[a], _a);
|
|
16868
16851
|
}
|
|
16869
16852
|
|
|
@@ -16949,7 +16932,7 @@ var _typeof = __webpack_require__(8);
|
|
|
16949
16932
|
var f = n.ranges[p],
|
|
16950
16933
|
m = f.from(),
|
|
16951
16934
|
h = f.to();
|
|
16952
|
-
f.empty() && (r && r > 0 ? m = tt(m.line, m.ch - r) : e.state.overwrite && !s ? h = tt(h.line, Math.min(Ge(o, h.line).text.length, h.ch + Z(l).length)) : s && Na && Na.lineWise && Na.text.join("\n") ==
|
|
16935
|
+
f.empty() && (r && r > 0 ? m = tt(m.line, m.ch - r) : e.state.overwrite && !s ? h = tt(h.line, Math.min(Ge(o, h.line).text.length, h.ch + Z(l).length)) : s && Na && Na.lineWise && Na.text.join("\n") == t && (m = h = tt(m.line, 0)));
|
|
16953
16936
|
var g = {
|
|
16954
16937
|
from: m,
|
|
16955
16938
|
to: h,
|
|
@@ -17023,16 +17006,10 @@ var _typeof = __webpack_require__(8);
|
|
|
17023
17006
|
s = Ge(e, t.line),
|
|
17024
17007
|
l = i && "rtl" == e.direction ? -r : r;
|
|
17025
17008
|
|
|
17026
|
-
function c(
|
|
17027
|
-
var
|
|
17009
|
+
function c(n) {
|
|
17010
|
+
var o, a;
|
|
17028
17011
|
|
|
17029
|
-
if (
|
|
17030
|
-
var u = s.text.charCodeAt(t.ch + (r > 0 ? 0 : -1));
|
|
17031
|
-
if (isNaN(u)) a = null;else {
|
|
17032
|
-
var d = r > 0 ? u >= 55296 && u < 56320 : u >= 56320 && u < 57343;
|
|
17033
|
-
a = new tt(t.line, Math.max(0, Math.min(s.text.length, t.ch + r * (d ? 2 : 1))), -r);
|
|
17034
|
-
}
|
|
17035
|
-
} else a = i ? function (e, t, r, n) {
|
|
17012
|
+
if (o = i ? function (e, t, r, n) {
|
|
17036
17013
|
var i = ue(t, e.doc.direction);
|
|
17037
17014
|
if (!i) return ea(t, r, n);
|
|
17038
17015
|
r.ch >= t.text.length ? (r.ch = t.text.length, r.sticky = "before") : r.ch <= 0 && (r.ch = 0, r.sticky = "after");
|
|
@@ -17078,17 +17055,15 @@ var _typeof = __webpack_require__(8);
|
|
|
17078
17055
|
if (h) return h;
|
|
17079
17056
|
var g = n > 0 ? u.end : l(u.begin, -1);
|
|
17080
17057
|
return null == g || n > 0 && g == t.text.length || !(h = m(n > 0 ? 0 : i.length - 1, n, c(g))) ? null : h;
|
|
17081
|
-
}(e.cm, s, t, r) : ea(s, t, r)
|
|
17082
|
-
|
|
17083
|
-
if (null == a) {
|
|
17084
|
-
if (o || (c = t.line + l) < e.first || c >= e.first + e.size || (t = new tt(c, t.ch, t.sticky), !(s = Ge(e, c)))) return !1;
|
|
17058
|
+
}(e.cm, s, t, r) : ea(s, t, r), null == o) {
|
|
17059
|
+
if (n || (a = t.line + l) < e.first || a >= e.first + e.size || (t = new tt(a, t.ch, t.sticky), !(s = Ge(e, a)))) return !1;
|
|
17085
17060
|
t = ta(i, e.cm, s, t.line, l);
|
|
17086
|
-
} else t =
|
|
17061
|
+
} else t = o;
|
|
17087
17062
|
|
|
17088
17063
|
return !0;
|
|
17089
17064
|
}
|
|
17090
17065
|
|
|
17091
|
-
if ("char" == n
|
|
17066
|
+
if ("char" == n) c();else if ("column" == n) c(!0);else if ("word" == n || "group" == n) for (var u = null, d = "group" == n, p = e.cm && e.cm.getHelper(t, "wordChars"), f = !0; !(r < 0) || c(!f); f = !1) {
|
|
17092
17067
|
var m = s.text.charAt(t.ch) || "\n",
|
|
17093
17068
|
h = te(m, p) ? "w" : d && "\n" == m ? "n" : !d || /\s/.test(m) ? null : "p";
|
|
17094
17069
|
|
|
@@ -17252,14 +17227,14 @@ var _typeof = __webpack_require__(8);
|
|
|
17252
17227
|
var s = qa(),
|
|
17253
17228
|
l = s.firstChild;
|
|
17254
17229
|
n.display.lineSpace.insertBefore(s, n.display.lineSpace.firstChild), l.value = Na.text.join("\n");
|
|
17255
|
-
var c =
|
|
17230
|
+
var c = document.activeElement;
|
|
17256
17231
|
P(l), setTimeout(function () {
|
|
17257
17232
|
n.display.lineSpace.removeChild(s), c.focus(), c == i && r.showPrimarySelection();
|
|
17258
17233
|
}, 50);
|
|
17259
17234
|
}
|
|
17260
17235
|
}
|
|
17261
17236
|
|
|
17262
|
-
|
|
17237
|
+
ja(i, n.options.spellcheck, n.options.autocorrect, n.options.autocapitalize), pe(i, "paste", function (e) {
|
|
17263
17238
|
!o(e) || ge(n, e) || Da(e, n) || l <= 11 && setTimeout(ti(n, function () {
|
|
17264
17239
|
return t.updateFromDOM();
|
|
17265
17240
|
}), 20);
|
|
@@ -17284,7 +17259,7 @@ var _typeof = __webpack_require__(8);
|
|
|
17284
17259
|
e ? this.div.setAttribute("aria-label", e) : this.div.removeAttribute("aria-label");
|
|
17285
17260
|
}, Wa.prototype.prepareSelection = function () {
|
|
17286
17261
|
var e = vn(this.cm, !1);
|
|
17287
|
-
return e.focus =
|
|
17262
|
+
return e.focus = document.activeElement == this.div, e;
|
|
17288
17263
|
}, Wa.prototype.showSelection = function (e, t) {
|
|
17289
17264
|
e && this.cm.display.view.length && ((e.focus || t) && this.showPrimarySelection(), this.showMultipleSelections(e));
|
|
17290
17265
|
}, Wa.prototype.getSelection = function () {
|
|
@@ -17346,7 +17321,7 @@ var _typeof = __webpack_require__(8);
|
|
|
17346
17321
|
var t = e.getRangeAt(0).commonAncestorContainer;
|
|
17347
17322
|
return z(this.div, t);
|
|
17348
17323
|
}, Wa.prototype.focus = function () {
|
|
17349
|
-
"nocursor" != this.cm.options.readOnly && (this.selectionInEditor() &&
|
|
17324
|
+
"nocursor" != this.cm.options.readOnly && (this.selectionInEditor() && document.activeElement == this.div || this.showSelection(this.prepareSelection(), !0), this.div.focus());
|
|
17350
17325
|
}, Wa.prototype.blur = function () {
|
|
17351
17326
|
this.div.blur();
|
|
17352
17327
|
}, Wa.prototype.getField = function () {
|
|
@@ -17679,7 +17654,7 @@ var _typeof = __webpack_require__(8);
|
|
|
17679
17654
|
}
|
|
17680
17655
|
}
|
|
17681
17656
|
}, Va.prototype.readOnlyChanged = function (e) {
|
|
17682
|
-
e || this.reset(), this.textarea.disabled = "nocursor" == e
|
|
17657
|
+
e || this.reset(), this.textarea.disabled = "nocursor" == e;
|
|
17683
17658
|
}, Va.prototype.setUneditable = function () {}, Va.prototype.needsContentAttribute = !1, function (e) {
|
|
17684
17659
|
var t = e.optionHandlers;
|
|
17685
17660
|
|
|
@@ -17713,7 +17688,7 @@ var _typeof = __webpack_require__(8);
|
|
|
17713
17688
|
go(e.doc, t, r[i], tt(r[i].line, r[i].ch + t.length));
|
|
17714
17689
|
}
|
|
17715
17690
|
}
|
|
17716
|
-
}), r("specialChars", /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b
|
|
17691
|
+
}), r("specialChars", /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g, function (e, t, r) {
|
|
17717
17692
|
e.state.specialChars = new RegExp(t.source + (t.test("\t") ? "" : "|\t"), "g"), r != _a && e.refresh();
|
|
17718
17693
|
}), r("specialCharPlaceholder", Jt, function (e) {
|
|
17719
17694
|
return e.refresh();
|
|
@@ -18203,7 +18178,7 @@ var _typeof = __webpack_require__(8);
|
|
|
18203
18178
|
return s;
|
|
18204
18179
|
}, function (e) {
|
|
18205
18180
|
e.off = me, e.on = pe, e.wheelEventPixels = ki, e.Doc = zo, e.splitLines = ze, e.countColumn = F, e.findColumn = V, e.isWordChar = ee, e.Pass = $, e.signal = he, e.Line = Gt, e.changeEnd = Mi, e.scrollbarModel = Hn, e.Pos = tt, e.cmpPos = rt, e.modes = Pe, e.mimeModes = je, e.resolveMode = Fe, e.getMode = Re, e.modeExtensions = We, e.extendMode = $e, e.copyState = Ue, e.startState = Be, e.innerMode = He, e.commands = ra, e.keyMap = Ho, e.keyName = Xo, e.isModifierKey = Ko, e.lookupKey = Go, e.normalizeKeyMap = Vo, e.StringStream = Ve, e.SharedTextMarker = Eo, e.TextMarker = To, e.LineWidget = _o, e.e_preventDefault = xe, e.e_stopPropagation = ke, e.e_stop = _e, e.addClass = D, e.contains = z, e.rmClass = M, e.keyNames = Ro;
|
|
18206
|
-
}(Ea), Ea.version = "5.
|
|
18181
|
+
}(Ea), Ea.version = "5.54.0", Ea;
|
|
18207
18182
|
}, "object" === a(t) ? e.exports = o() : void 0 === (i = "function" == typeof (n = o) ? n.call(t, r, t, e) : n) || (e.exports = i);
|
|
18208
18183
|
},
|
|
18209
18184
|
1736: function _(e, t, r) {
|
|
@@ -18303,14 +18278,13 @@ var _typeof = __webpack_require__(8);
|
|
|
18303
18278
|
|
|
18304
18279
|
return (o || !i && !k) && (t.tokenize = null), "string";
|
|
18305
18280
|
}), t.tokenize(e, t);
|
|
18281
|
+
if (C.test(n)) return c = n, null;
|
|
18306
18282
|
|
|
18307
18283
|
if (T.test(n)) {
|
|
18308
18284
|
if (e.backUp(1), e.match(M)) return "number";
|
|
18309
18285
|
e.next();
|
|
18310
18286
|
}
|
|
18311
18287
|
|
|
18312
|
-
if (C.test(n)) return c = n, null;
|
|
18313
|
-
|
|
18314
18288
|
if ("/" == n) {
|
|
18315
18289
|
if (e.eat("*")) return t.tokenize = z, z(e, t);
|
|
18316
18290
|
if (e.eat("/")) return e.skipToEnd(), "comment";
|
|
@@ -18464,12 +18438,12 @@ var _typeof = __webpack_require__(8);
|
|
|
18464
18438
|
}
|
|
18465
18439
|
|
|
18466
18440
|
function w(e, t) {
|
|
18467
|
-
if (e.backUp(1), e.match(
|
|
18468
|
-
var r = e.match(
|
|
18441
|
+
if (e.backUp(1), e.match(/(R|u8R|uR|UR|LR)/)) {
|
|
18442
|
+
var r = e.match(/"([^\s\\()]{0,16})\(/);
|
|
18469
18443
|
return !!r && (t.cpp11RawStringDelim = r[1], t.tokenize = C, C(e, t));
|
|
18470
18444
|
}
|
|
18471
18445
|
|
|
18472
|
-
return e.match(
|
|
18446
|
+
return e.match(/(u8|u|U|L)/) ? !!e.match(/["']/, !1) && "string" : (e.next(), !1);
|
|
18473
18447
|
}
|
|
18474
18448
|
|
|
18475
18449
|
function _(e) {
|
|
@@ -18597,7 +18571,7 @@ var _typeof = __webpack_require__(8);
|
|
|
18597
18571
|
}), T("text/x-java", {
|
|
18598
18572
|
name: "clike",
|
|
18599
18573
|
keywords: a("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),
|
|
18600
|
-
types: a("
|
|
18574
|
+
types: a("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),
|
|
18601
18575
|
blockKeywords: a("catch class do else finally for if switch try while"),
|
|
18602
18576
|
defKeywords: a("class interface enum @interface"),
|
|
18603
18577
|
typeFirstDefinitions: !0,
|
|
@@ -18661,7 +18635,7 @@ var _typeof = __webpack_require__(8);
|
|
|
18661
18635
|
}
|
|
18662
18636
|
}), T("text/x-kotlin", {
|
|
18663
18637
|
name: "clike",
|
|
18664
|
-
keywords: a("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam
|
|
18638
|
+
keywords: a("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),
|
|
18665
18639
|
types: a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),
|
|
18666
18640
|
intendSwitch: !1,
|
|
18667
18641
|
indentStatements: !1,
|
|
@@ -18716,7 +18690,7 @@ var _typeof = __webpack_require__(8);
|
|
|
18716
18690
|
types: a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),
|
|
18717
18691
|
blockKeywords: a("for while do if else struct"),
|
|
18718
18692
|
builtin: a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),
|
|
18719
|
-
atoms: a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse
|
|
18693
|
+
atoms: a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),
|
|
18720
18694
|
indentSwitch: !1,
|
|
18721
18695
|
hooks: {
|
|
18722
18696
|
"#": v
|
|
@@ -18898,7 +18872,7 @@ var _typeof = __webpack_require__(8);
|
|
|
18898
18872
|
c = /^(?:[\\\[\]\s"(),;@^`{}~]|$)/,
|
|
18899
18873
|
u = /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
|
18900
18874
|
d = /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
18901
|
-
p = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}
|
|
18875
|
+
p = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
|
18902
18876
|
|
|
18903
18877
|
function f(e, t) {
|
|
18904
18878
|
if (e.eatSpace() || e.eat(",")) return ["space", null];
|
|
@@ -19029,14 +19003,13 @@ var _typeof = __webpack_require__(8);
|
|
|
19029
19003
|
v = r.valueKeywords || {},
|
|
19030
19004
|
b = r.allowNested,
|
|
19031
19005
|
x = r.lineComment,
|
|
19032
|
-
k = !0 === r.supportsAtComponent
|
|
19033
|
-
w = !1 !== t.highlightNonStandardPropertyKeywords;
|
|
19006
|
+
k = !0 === r.supportsAtComponent;
|
|
19034
19007
|
|
|
19035
|
-
function
|
|
19008
|
+
function w(e, t) {
|
|
19036
19009
|
return i = t, e;
|
|
19037
19010
|
}
|
|
19038
19011
|
|
|
19039
|
-
function
|
|
19012
|
+
function _(e, t) {
|
|
19040
19013
|
var r = e.next();
|
|
19041
19014
|
|
|
19042
19015
|
if (l[r]) {
|
|
@@ -19044,10 +19017,10 @@ var _typeof = __webpack_require__(8);
|
|
|
19044
19017
|
if (!1 !== n) return n;
|
|
19045
19018
|
}
|
|
19046
19019
|
|
|
19047
|
-
return "@" == r ? (e.eatWhile(/[\w\\\-]/),
|
|
19020
|
+
return "@" == r ? (e.eatWhile(/[\w\\\-]/), w("def", e.current())) : "=" == r || ("~" == r || "|" == r) && e.eat("=") ? w(null, "compare") : '"' == r || "'" == r ? (t.tokenize = S(r), t.tokenize(e, t)) : "#" == r ? (e.eatWhile(/[\w\\\-]/), w("atom", "hash")) : "!" == r ? (e.match(/^\s*\w*/), w("keyword", "important")) : /\d/.test(r) || "." == r && e.eat(/\d/) ? (e.eatWhile(/[\w.%]/), w("number", "unit")) : "-" !== r ? /[,+>*\/]/.test(r) ? w(null, "select-op") : "." == r && e.match(/^-?[_a-z][_a-z0-9-]*/i) ? w("qualifier", "qualifier") : /[:;{}\[\]\(\)]/.test(r) ? w(null, r) : e.match(/[\w-.]+(?=\()/) ? (/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase()) && (t.tokenize = C), w("variable callee", "variable")) : /[\w\\\-]/.test(r) ? (e.eatWhile(/[\w\\\-]/), w("property", "word")) : w(null, null) : /[\d.]/.test(e.peek()) ? (e.eatWhile(/[\w.%]/), w("number", "unit")) : e.match(/^-[\w\\\-]*/) ? (e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1) ? w("variable-2", "variable-definition") : w("variable-2", "variable")) : e.match(/^\w+-/) ? w("meta", "meta") : void 0;
|
|
19048
19021
|
}
|
|
19049
19022
|
|
|
19050
|
-
function
|
|
19023
|
+
function S(e) {
|
|
19051
19024
|
return function (t, r) {
|
|
19052
19025
|
for (var n, i = !1; null != (n = t.next());) {
|
|
19053
19026
|
if (n == e && !i) {
|
|
@@ -19058,129 +19031,129 @@ var _typeof = __webpack_require__(8);
|
|
|
19058
19031
|
i = !i && "\\" == n;
|
|
19059
19032
|
}
|
|
19060
19033
|
|
|
19061
|
-
return (n == e || !i && ")" != e) && (r.tokenize = null),
|
|
19034
|
+
return (n == e || !i && ")" != e) && (r.tokenize = null), w("string", "string");
|
|
19062
19035
|
};
|
|
19063
19036
|
}
|
|
19064
19037
|
|
|
19065
|
-
function
|
|
19066
|
-
return e.next(), e.match(
|
|
19038
|
+
function C(e, t) {
|
|
19039
|
+
return e.next(), e.match(/\s*[\"\')]/, !1) ? t.tokenize = null : t.tokenize = S(")"), w(null, "(");
|
|
19067
19040
|
}
|
|
19068
19041
|
|
|
19069
|
-
function
|
|
19042
|
+
function T(e, t, r) {
|
|
19070
19043
|
this.type = e, this.indent = t, this.prev = r;
|
|
19071
19044
|
}
|
|
19072
19045
|
|
|
19073
|
-
function
|
|
19074
|
-
return e.context = new
|
|
19046
|
+
function M(e, t, r, n) {
|
|
19047
|
+
return e.context = new T(r, t.indentation() + (!1 === n ? 0 : a), e.context), r;
|
|
19075
19048
|
}
|
|
19076
19049
|
|
|
19077
|
-
function
|
|
19050
|
+
function E(e) {
|
|
19078
19051
|
return e.context.prev && (e.context = e.context.prev), e.context.type;
|
|
19079
19052
|
}
|
|
19080
19053
|
|
|
19081
|
-
function
|
|
19082
|
-
return
|
|
19054
|
+
function L(e, t, r) {
|
|
19055
|
+
return z[r.context.type](e, t, r);
|
|
19083
19056
|
}
|
|
19084
19057
|
|
|
19085
|
-
function
|
|
19058
|
+
function A(e, t, r, n) {
|
|
19086
19059
|
for (var i = n || 1; i > 0; i--) {
|
|
19087
19060
|
r.context = r.context.prev;
|
|
19088
19061
|
}
|
|
19089
19062
|
|
|
19090
|
-
return
|
|
19063
|
+
return L(e, t, r);
|
|
19091
19064
|
}
|
|
19092
19065
|
|
|
19093
|
-
function
|
|
19066
|
+
function N(e) {
|
|
19094
19067
|
var t = e.current().toLowerCase();
|
|
19095
19068
|
o = v.hasOwnProperty(t) ? "atom" : y.hasOwnProperty(t) ? "keyword" : "variable";
|
|
19096
19069
|
}
|
|
19097
19070
|
|
|
19098
|
-
var
|
|
19071
|
+
var z = {
|
|
19099
19072
|
top: function top(e, t, r) {
|
|
19100
|
-
if ("{" == e) return
|
|
19101
|
-
if ("}" == e && r.context.prev) return
|
|
19102
|
-
if (k && /@component/i.test(e)) return
|
|
19103
|
-
if (/^@(-moz-)?document$/i.test(e)) return
|
|
19104
|
-
if (/^@(media|supports|(-moz-)?document|import)$/i.test(e)) return
|
|
19073
|
+
if ("{" == e) return M(r, t, "block");
|
|
19074
|
+
if ("}" == e && r.context.prev) return E(r);
|
|
19075
|
+
if (k && /@component/i.test(e)) return M(r, t, "atComponentBlock");
|
|
19076
|
+
if (/^@(-moz-)?document$/i.test(e)) return M(r, t, "documentTypes");
|
|
19077
|
+
if (/^@(media|supports|(-moz-)?document|import)$/i.test(e)) return M(r, t, "atBlock");
|
|
19105
19078
|
if (/^@(font-face|counter-style)/i.test(e)) return r.stateArg = e, "restricted_atBlock_before";
|
|
19106
19079
|
if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e)) return "keyframes";
|
|
19107
|
-
if (e && "@" == e.charAt(0)) return
|
|
19080
|
+
if (e && "@" == e.charAt(0)) return M(r, t, "at");
|
|
19108
19081
|
if ("hash" == e) o = "builtin";else if ("word" == e) o = "tag";else {
|
|
19109
19082
|
if ("variable-definition" == e) return "maybeprop";
|
|
19110
|
-
if ("interpolation" == e) return
|
|
19083
|
+
if ("interpolation" == e) return M(r, t, "interpolation");
|
|
19111
19084
|
if (":" == e) return "pseudo";
|
|
19112
|
-
if (b && "(" == e) return
|
|
19085
|
+
if (b && "(" == e) return M(r, t, "parens");
|
|
19113
19086
|
}
|
|
19114
19087
|
return r.context.type;
|
|
19115
19088
|
},
|
|
19116
19089
|
block: function block(e, t, r) {
|
|
19117
19090
|
if ("word" == e) {
|
|
19118
19091
|
var n = t.current().toLowerCase();
|
|
19119
|
-
return f.hasOwnProperty(n) ? (o = "property", "maybeprop") : m.hasOwnProperty(n) ? (o =
|
|
19092
|
+
return f.hasOwnProperty(n) ? (o = "property", "maybeprop") : m.hasOwnProperty(n) ? (o = "string-2", "maybeprop") : b ? (o = t.match(/^\s*:(?:\s|$)/, !1) ? "property" : "tag", "block") : (o += " error", "maybeprop");
|
|
19120
19093
|
}
|
|
19121
19094
|
|
|
19122
|
-
return "meta" == e ? "block" : b || "hash" != e && "qualifier" != e ?
|
|
19095
|
+
return "meta" == e ? "block" : b || "hash" != e && "qualifier" != e ? z.top(e, t, r) : (o = "error", "block");
|
|
19123
19096
|
},
|
|
19124
19097
|
maybeprop: function maybeprop(e, t, r) {
|
|
19125
|
-
return ":" == e ?
|
|
19098
|
+
return ":" == e ? M(r, t, "prop") : L(e, t, r);
|
|
19126
19099
|
},
|
|
19127
19100
|
prop: function prop(e, t, r) {
|
|
19128
|
-
if (";" == e) return
|
|
19129
|
-
if ("{" == e && b) return
|
|
19130
|
-
if ("}" == e || "{" == e) return
|
|
19131
|
-
if ("(" == e) return
|
|
19101
|
+
if (";" == e) return E(r);
|
|
19102
|
+
if ("{" == e && b) return M(r, t, "propBlock");
|
|
19103
|
+
if ("}" == e || "{" == e) return A(e, t, r);
|
|
19104
|
+
if ("(" == e) return M(r, t, "parens");
|
|
19132
19105
|
|
|
19133
19106
|
if ("hash" != e || /^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())) {
|
|
19134
|
-
if ("word" == e)
|
|
19107
|
+
if ("word" == e) N(t);else if ("interpolation" == e) return M(r, t, "interpolation");
|
|
19135
19108
|
} else o += " error";
|
|
19136
19109
|
|
|
19137
19110
|
return "prop";
|
|
19138
19111
|
},
|
|
19139
19112
|
propBlock: function propBlock(e, t, r) {
|
|
19140
|
-
return "}" == e ?
|
|
19113
|
+
return "}" == e ? E(r) : "word" == e ? (o = "property", "maybeprop") : r.context.type;
|
|
19141
19114
|
},
|
|
19142
19115
|
parens: function parens(e, t, r) {
|
|
19143
|
-
return "{" == e || "}" == e ?
|
|
19116
|
+
return "{" == e || "}" == e ? A(e, t, r) : ")" == e ? E(r) : "(" == e ? M(r, t, "parens") : "interpolation" == e ? M(r, t, "interpolation") : ("word" == e && N(t), "parens");
|
|
19144
19117
|
},
|
|
19145
19118
|
pseudo: function pseudo(e, t, r) {
|
|
19146
|
-
return "meta" == e ? "pseudo" : "word" == e ? (o = "variable-3", r.context.type) :
|
|
19119
|
+
return "meta" == e ? "pseudo" : "word" == e ? (o = "variable-3", r.context.type) : L(e, t, r);
|
|
19147
19120
|
},
|
|
19148
19121
|
documentTypes: function documentTypes(e, t, r) {
|
|
19149
|
-
return "word" == e && c.hasOwnProperty(t.current()) ? (o = "tag", r.context.type) :
|
|
19122
|
+
return "word" == e && c.hasOwnProperty(t.current()) ? (o = "tag", r.context.type) : z.atBlock(e, t, r);
|
|
19150
19123
|
},
|
|
19151
19124
|
atBlock: function atBlock(e, t, r) {
|
|
19152
|
-
if ("(" == e) return
|
|
19153
|
-
if ("}" == e || ";" == e) return
|
|
19154
|
-
if ("{" == e) return
|
|
19155
|
-
if ("interpolation" == e) return
|
|
19125
|
+
if ("(" == e) return M(r, t, "atBlock_parens");
|
|
19126
|
+
if ("}" == e || ";" == e) return A(e, t, r);
|
|
19127
|
+
if ("{" == e) return E(r) && M(r, t, b ? "block" : "top");
|
|
19128
|
+
if ("interpolation" == e) return M(r, t, "interpolation");
|
|
19156
19129
|
|
|
19157
19130
|
if ("word" == e) {
|
|
19158
19131
|
var n = t.current().toLowerCase();
|
|
19159
|
-
o = "only" == n || "not" == n || "and" == n || "or" == n ? "keyword" : u.hasOwnProperty(n) ? "attribute" : d.hasOwnProperty(n) ? "property" : p.hasOwnProperty(n) ? "keyword" : f.hasOwnProperty(n) ? "property" : m.hasOwnProperty(n) ?
|
|
19132
|
+
o = "only" == n || "not" == n || "and" == n || "or" == n ? "keyword" : u.hasOwnProperty(n) ? "attribute" : d.hasOwnProperty(n) ? "property" : p.hasOwnProperty(n) ? "keyword" : f.hasOwnProperty(n) ? "property" : m.hasOwnProperty(n) ? "string-2" : v.hasOwnProperty(n) ? "atom" : y.hasOwnProperty(n) ? "keyword" : "error";
|
|
19160
19133
|
}
|
|
19161
19134
|
|
|
19162
19135
|
return r.context.type;
|
|
19163
19136
|
},
|
|
19164
19137
|
atComponentBlock: function atComponentBlock(e, t, r) {
|
|
19165
|
-
return "}" == e ?
|
|
19138
|
+
return "}" == e ? A(e, t, r) : "{" == e ? E(r) && M(r, t, b ? "block" : "top", !1) : ("word" == e && (o = "error"), r.context.type);
|
|
19166
19139
|
},
|
|
19167
19140
|
atBlock_parens: function atBlock_parens(e, t, r) {
|
|
19168
|
-
return ")" == e ?
|
|
19141
|
+
return ")" == e ? E(r) : "{" == e || "}" == e ? A(e, t, r, 2) : z.atBlock(e, t, r);
|
|
19169
19142
|
},
|
|
19170
19143
|
restricted_atBlock_before: function restricted_atBlock_before(e, t, r) {
|
|
19171
|
-
return "{" == e ?
|
|
19144
|
+
return "{" == e ? M(r, t, "restricted_atBlock") : "word" == e && "@counter-style" == r.stateArg ? (o = "variable", "restricted_atBlock_before") : L(e, t, r);
|
|
19172
19145
|
},
|
|
19173
19146
|
restricted_atBlock: function restricted_atBlock(e, t, r) {
|
|
19174
|
-
return "}" == e ? (r.stateArg = null,
|
|
19147
|
+
return "}" == e ? (r.stateArg = null, E(r)) : "word" == e ? (o = "@font-face" == r.stateArg && !h.hasOwnProperty(t.current().toLowerCase()) || "@counter-style" == r.stateArg && !g.hasOwnProperty(t.current().toLowerCase()) ? "error" : "property", "maybeprop") : "restricted_atBlock";
|
|
19175
19148
|
},
|
|
19176
19149
|
keyframes: function keyframes(e, t, r) {
|
|
19177
|
-
return "word" == e ? (o = "variable", "keyframes") : "{" == e ?
|
|
19150
|
+
return "word" == e ? (o = "variable", "keyframes") : "{" == e ? M(r, t, "top") : L(e, t, r);
|
|
19178
19151
|
},
|
|
19179
19152
|
at: function at(e, t, r) {
|
|
19180
|
-
return ";" == e ?
|
|
19153
|
+
return ";" == e ? E(r) : "{" == e || "}" == e ? A(e, t, r) : ("word" == e ? o = "tag" : "hash" == e && (o = "builtin"), "at");
|
|
19181
19154
|
},
|
|
19182
19155
|
interpolation: function interpolation(e, t, r) {
|
|
19183
|
-
return "}" == e ?
|
|
19156
|
+
return "}" == e ? E(r) : "{" == e || ";" == e ? A(e, t, r) : ("word" == e ? o = "variable" : "variable" != e && "(" != e && ")" != e && (o = "error"), "interpolation");
|
|
19184
19157
|
}
|
|
19185
19158
|
};
|
|
19186
19159
|
return {
|
|
@@ -19189,13 +19162,15 @@ var _typeof = __webpack_require__(8);
|
|
|
19189
19162
|
tokenize: null,
|
|
19190
19163
|
state: n ? "block" : "top",
|
|
19191
19164
|
stateArg: null,
|
|
19192
|
-
context: new
|
|
19165
|
+
context: new T(n ? "block" : "top", e || 0, null)
|
|
19193
19166
|
};
|
|
19194
19167
|
},
|
|
19195
19168
|
token: function token(e, t) {
|
|
19196
19169
|
if (!t.tokenize && e.eatSpace()) return null;
|
|
19197
|
-
|
|
19198
|
-
|
|
19170
|
+
|
|
19171
|
+
var r = (t.tokenize || _)(e, t);
|
|
19172
|
+
|
|
19173
|
+
return r && "object" == s(r) && (i = r[1], r = r[0]), o = r, "comment" != i && (t.state = z[t.state](i, e, t)), o;
|
|
19199
19174
|
},
|
|
19200
19175
|
indent: function indent(e, t) {
|
|
19201
19176
|
var r = e.context,
|
|
@@ -19215,19 +19190,19 @@ var _typeof = __webpack_require__(8);
|
|
|
19215
19190
|
n = t(r),
|
|
19216
19191
|
i = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"],
|
|
19217
19192
|
o = t(i),
|
|
19218
|
-
a = ["width", "min-width", "max-width", "height", "min-height", "max-height", "device-width", "min-device-width", "max-device-width", "device-height", "min-device-height", "max-device-height", "aspect-ratio", "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio", "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color", "max-color", "color-index", "min-color-index", "max-color-index", "monochrome", "min-monochrome", "max-monochrome", "resolution", "min-resolution", "max-resolution", "scan", "grid", "orientation", "device-pixel-ratio", "min-device-pixel-ratio", "max-device-pixel-ratio", "pointer", "any-pointer", "hover", "any-hover"
|
|
19193
|
+
a = ["width", "min-width", "max-width", "height", "min-height", "max-height", "device-width", "min-device-width", "max-device-width", "device-height", "min-device-height", "max-device-height", "aspect-ratio", "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio", "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color", "max-color", "color-index", "min-color-index", "max-color-index", "monochrome", "min-monochrome", "max-monochrome", "resolution", "min-resolution", "max-resolution", "scan", "grid", "orientation", "device-pixel-ratio", "min-device-pixel-ratio", "max-device-pixel-ratio", "pointer", "any-pointer", "hover", "any-hover"],
|
|
19219
19194
|
l = t(a),
|
|
19220
|
-
c = ["landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover", "interlace", "progressive"
|
|
19195
|
+
c = ["landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover", "interlace", "progressive"],
|
|
19221
19196
|
u = t(c),
|
|
19222
|
-
d = ["align-content", "align-items", "align-self", "alignment-adjust", "alignment-baseline", "
|
|
19197
|
+
d = ["align-content", "align-items", "align-self", "alignment-adjust", "alignment-baseline", "anchor-point", "animation", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timing-function", "appearance", "azimuth", "backdrop-filter", "backface-visibility", "background", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "baseline-shift", "binding", "bleed", "block-size", "bookmark-label", "bookmark-level", "bookmark-state", "bookmark-target", "border", "border-bottom", "border-bottom-color", "border-bottom-left-radius", "border-bottom-right-radius", "border-bottom-style", "border-bottom-width", "border-collapse", "border-color", "border-image", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width", "border-left", "border-left-color", "border-left-style", "border-left-width", "border-radius", "border-right", "border-right-color", "border-right-style", "border-right-width", "border-spacing", "border-style", "border-top", "border-top-color", "border-top-left-radius", "border-top-right-radius", "border-top-style", "border-top-width", "border-width", "bottom", "box-decoration-break", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "caret-color", "clear", "clip", "color", "color-profile", "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color", "column-rule-style", "column-rule-width", "column-span", "column-width", "columns", "contain", "content", "counter-increment", "counter-reset", "crop", "cue", "cue-after", "cue-before", "cursor", "direction", "display", "dominant-baseline", "drop-initial-after-adjust", "drop-initial-after-align", "drop-initial-before-adjust", "drop-initial-before-align", "drop-initial-size", "drop-initial-value", "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", "float", "float-offset", "flow-from", "flow-into", "font", "font-family", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-synthesis", "font-variant", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-variation-settings", "font-weight", "gap", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-column", "grid-column-end", "grid-column-gap", "grid-column-start", "grid-gap", "grid-row", "grid-row-end", "grid-row-gap", "grid-row-start", "grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows", "hanging-punctuation", "height", "hyphens", "icon", "image-orientation", "image-rendering", "image-resolution", "inline-box-align", "inset", "inset-block", "inset-block-end", "inset-block-start", "inset-inline", "inset-inline-end", "inset-inline-start", "isolation", "justify-content", "justify-items", "justify-self", "left", "letter-spacing", "line-break", "line-height", "line-height-step", "line-stacking", "line-stacking-ruby", "line-stacking-shift", "line-stacking-strategy", "list-style", "list-style-image", "list-style-position", "list-style-type", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "marks", "marquee-direction", "marquee-loop", "marquee-play-count", "marquee-speed", "marquee-style", "max-block-size", "max-height", "max-inline-size", "max-width", "min-block-size", "min-height", "min-inline-size", "min-width", "mix-blend-mode", "move-to", "nav-down", "nav-index", "nav-left", "nav-right", "nav-up", "object-fit", "object-position", "offset", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "opacity", "order", "orphans", "outline", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y", "padding", "padding-bottom", "padding-left", "padding-right", "padding-top", "page", "page-break-after", "page-break-before", "page-break-inside", "page-policy", "pause", "pause-after", "pause-before", "perspective", "perspective-origin", "pitch", "pitch-range", "place-content", "place-items", "place-self", "play-during", "position", "presentation-level", "punctuation-trim", "quotes", "region-break-after", "region-break-before", "region-break-inside", "region-fragment", "rendering-intent", "resize", "rest", "rest-after", "rest-before", "richness", "right", "rotate", "rotation", "rotation-point", "row-gap", "ruby-align", "ruby-overhang", "ruby-position", "ruby-span", "scale", "scroll-behavior", "scroll-margin", "scroll-margin-block", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-bottom", "scroll-margin-inline", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-margin-left", "scroll-margin-right", "scroll-margin-top", "scroll-padding", "scroll-padding-block", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-bottom", "scroll-padding-inline", "scroll-padding-inline-end", "scroll-padding-inline-start", "scroll-padding-left", "scroll-padding-right", "scroll-padding-top", "scroll-snap-align", "scroll-snap-type", "shape-image-threshold", "shape-inside", "shape-margin", "shape-outside", "size", "speak", "speak-as", "speak-header", "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set", "tab-size", "table-layout", "target", "target-name", "target-new", "target-position", "text-align", "text-align-last", "text-combine-upright", "text-decoration", "text-decoration-color", "text-decoration-line", "text-decoration-skip", "text-decoration-skip-ink", "text-decoration-style", "text-emphasis", "text-emphasis-color", "text-emphasis-position", "text-emphasis-style", "text-height", "text-indent", "text-justify", "text-orientation", "text-outline", "text-overflow", "text-rendering", "text-shadow", "text-size-adjust", "text-space-collapse", "text-transform", "text-underline-position", "text-wrap", "top", "transform", "transform-origin", "transform-style", "transition", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "translate", "unicode-bidi", "user-select", "vertical-align", "visibility", "voice-balance", "voice-duration", "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress", "voice-volume", "volume", "white-space", "widows", "width", "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "z-index", "clip-path", "clip-rule", "mask", "enable-background", "filter", "flood-color", "flood-opacity", "lighting-color", "stop-color", "stop-opacity", "pointer-events", "color-interpolation", "color-interpolation-filters", "color-rendering", "fill", "fill-opacity", "fill-rule", "image-rendering", "marker", "marker-end", "marker-mid", "marker-start", "shape-rendering", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-rendering", "baseline-shift", "dominant-baseline", "glyph-orientation-horizontal", "glyph-orientation-vertical", "text-anchor", "writing-mode"],
|
|
19223
19198
|
p = t(d),
|
|
19224
|
-
f = ["
|
|
19199
|
+
f = ["border-block", "border-block-color", "border-block-end", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-block-start", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-style", "border-block-width", "border-inline", "border-inline-color", "border-inline-end", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width", "border-inline-start", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-style", "border-inline-width", "margin-block", "margin-block-end", "margin-block-start", "margin-inline", "margin-inline-end", "margin-inline-start", "padding-block", "padding-block-end", "padding-block-start", "padding-inline", "padding-inline-end", "padding-inline-start", "scroll-snap-stop", "scrollbar-3d-light-color", "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color", "scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color", "scrollbar-track-color", "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button", "searchfield-results-decoration", "shape-inside", "zoom"],
|
|
19225
19200
|
m = t(f),
|
|
19226
19201
|
h = t(["font-display", "font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"]),
|
|
19227
19202
|
g = t(["additive-symbols", "fallback", "negative", "pad", "prefix", "range", "speak-as", "suffix", "symbols", "system"]),
|
|
19228
|
-
y = ["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "
|
|
19203
|
+
y = ["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"],
|
|
19229
19204
|
v = t(y),
|
|
19230
|
-
b = ["above", "absolute", "activeborder", "additive", "activecaption", "afar", "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate", "always", "amharic", "amharic-abegede", "antialiased", "appworkspace", "arabic-indic", "armenian", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page", "avoid-region", "
|
|
19205
|
+
b = ["above", "absolute", "activeborder", "additive", "activecaption", "afar", "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate", "always", "amharic", "amharic-abegede", "antialiased", "appworkspace", "arabic-indic", "armenian", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page", "avoid-region", "background", "backwards", "baseline", "below", "bidi-override", "binary", "bengali", "blink", "block", "block-axis", "bold", "bolder", "border", "border-box", "both", "bottom", "break", "break-all", "break-word", "bullets", "button", "button-bevel", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "cambodian", "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch", "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote", "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse", "compact", "condensed", "contain", "content", "contents", "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop", "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal", "decimal-leading-zero", "default", "default-button", "dense", "destination-atop", "destination-in", "destination-out", "destination-over", "devanagari", "difference", "disc", "discard", "disclosure-closed", "disclosure-open", "document", "dot-dash", "dot-dot-dash", "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out", "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede", "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er", "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er", "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et", "ethiopic-halehame-gez", "ethiopic-halehame-om-et", "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et", "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig", "ethiopic-numeric", "ew-resize", "exclusion", "expanded", "extends", "extra-condensed", "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "flex", "flex-end", "flex-start", "footnotes", "forwards", "from", "geometricPrecision", "georgian", "graytext", "grid", "groove", "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hard-light", "hebrew", "help", "hidden", "hide", "higher", "highlight", "highlighttext", "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "hue", "icon", "ignore", "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis", "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "inside", "intrinsic", "invert", "italic", "japanese-formal", "japanese-informal", "justify", "kannada", "katakana", "katakana-iroha", "keep-all", "khmer", "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal", "landscape", "lao", "large", "larger", "left", "level", "lighter", "lighten", "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem", "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian", "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian", "lower-roman", "lowercase", "ltr", "luminosity", "malayalam", "match", "matrix", "matrix3d", "media-controls-background", "media-current-time-display", "media-fullscreen-button", "media-mute-button", "media-play-button", "media-return-to-realtime-button", "media-rewind-button", "media-seek-back-button", "media-seek-forward-button", "media-slider", "media-sliderthumb", "media-time-remaining-display", "media-volume-slider", "media-volume-slider-container", "media-volume-sliderthumb", "medium", "menu", "menulist", "menulist-button", "menulist-text", "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic", "mix", "mongolian", "monospace", "move", "multiple", "multiply", "myanmar", "n-resize", "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap", "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "octal", "opacity", "open-quote", "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset", "outside", "outside-shape", "overlay", "overline", "padding", "padding-box", "painted", "page", "paused", "persian", "perspective", "plus-darker", "plus-lighter", "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button", "radial-gradient", "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle", "region", "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running", "s-resize", "sans-serif", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen", "scroll", "scrollbar", "scroll-position", "se-resize", "searchfield", "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button", "searchfield-results-decoration", "self-start", "self-end", "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama", "simp-chinese-formal", "simp-chinese-informal", "single", "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow", "small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "somali", "source-atop", "source-in", "source-out", "source-over", "space", "space-around", "space-between", "space-evenly", "spell-out", "square", "square-button", "start", "static", "status-bar", "stretch", "stroke", "sub", "subpixel-antialiased", "super", "sw-resize", "symbolic", "symbols", "system-ui", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group", "tamil", "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai", "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er", "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top", "trad-chinese-formal", "trad-chinese-informal", "transform", "translate", "translate3d", "translateX", "translateY", "translateZ", "transparent", "ultra-condensed", "ultra-expanded", "underline", "unset", "up", "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal", "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url", "var", "vertical", "vertical-text", "visible", "visibleFill", "visiblePainted", "visibleStroke", "visual", "w-resize", "wait", "wave", "wider", "window", "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small", "xor", "xx-large", "xx-small"],
|
|
19231
19206
|
x = t(b),
|
|
19232
19207
|
k = r.concat(i).concat(a).concat(c).concat(d).concat(f).concat(y).concat(b);
|
|
19233
19208
|
|
|
@@ -19277,7 +19252,7 @@ var _typeof = __webpack_require__(8);
|
|
|
19277
19252
|
return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? (t.tokenize = w, w(e, t)) : ["operator", "operator"];
|
|
19278
19253
|
},
|
|
19279
19254
|
":": function _(e) {
|
|
19280
|
-
return !!e.match(
|
|
19255
|
+
return !!e.match(/\s*\{/, !1) && [null, null];
|
|
19281
19256
|
},
|
|
19282
19257
|
$: function $(e) {
|
|
19283
19258
|
return e.match(/^[\w-]+/), e.match(/^\s*:/, !1) ? ["variable-2", "variable-definition"] : ["variable-2", "variable"];
|
|
@@ -20163,8 +20138,8 @@ var _typeof = __webpack_require__(8);
|
|
|
20163
20138
|
if (e.eatWhile(h), e.match(/\s*\/\s*[0-9]/, !1)) return e.match(/\s*\/\s*[0-9]/, !0), _(t, e, "fun");
|
|
20164
20139
|
var S = e.current();
|
|
20165
20140
|
return w(S, n) ? _(t, e, "keyword") : w(S, a) ? _(t, e, "operator") : e.match(/\s*\(/, !1) ? !w(S, m) || ":" == T(t).token && "erlang" != T(t, 2).token ? w(S, f) ? _(t, e, "guard") : _(t, e, "function") : _(t, e, "builtin") : ":" == function (e) {
|
|
20166
|
-
var t = e.match(
|
|
20167
|
-
return t ? t
|
|
20141
|
+
var t = e.match(/([\n\s]+|%[^\n]*\n)*(.)/, !1);
|
|
20142
|
+
return t ? t.pop() : "";
|
|
20168
20143
|
}(e) ? _(t, e, "erlang" == S ? "builtin" : "function") : w(S, ["true", "false"]) ? _(t, e, "boolean") : _(t, e, "atom");
|
|
20169
20144
|
}
|
|
20170
20145
|
|
|
@@ -20574,8 +20549,7 @@ var _typeof = __webpack_require__(8);
|
|
|
20574
20549
|
name: "xml",
|
|
20575
20550
|
htmlMode: !0,
|
|
20576
20551
|
multilineTagIndentFactor: a.multilineTagIndentFactor,
|
|
20577
|
-
multilineTagIndentPastTag: a.multilineTagIndentPastTag
|
|
20578
|
-
allowMissingTagName: a.allowMissingTagName
|
|
20552
|
+
multilineTagIndentPastTag: a.multilineTagIndentPastTag
|
|
20579
20553
|
}),
|
|
20580
20554
|
l = {},
|
|
20581
20555
|
c = a && a.tags,
|
|
@@ -20738,10 +20712,9 @@ var _typeof = __webpack_require__(8);
|
|
|
20738
20712
|
a = r.statementIndent,
|
|
20739
20713
|
l = r.jsonld,
|
|
20740
20714
|
c = r.json || l,
|
|
20741
|
-
u =
|
|
20742
|
-
d = r.
|
|
20743
|
-
p =
|
|
20744
|
-
f = function () {
|
|
20715
|
+
u = r.typescript,
|
|
20716
|
+
d = r.wordCharacters || /[\w$\xa1-\uffff]/,
|
|
20717
|
+
p = function () {
|
|
20745
20718
|
function e(e) {
|
|
20746
20719
|
return {
|
|
20747
20720
|
type: e,
|
|
@@ -20802,34 +20775,34 @@ var _typeof = __webpack_require__(8);
|
|
|
20802
20775
|
await: n
|
|
20803
20776
|
};
|
|
20804
20777
|
}(),
|
|
20805
|
-
|
|
20806
|
-
|
|
20778
|
+
f = /[+\-*&%=<>!?|~^@]/,
|
|
20779
|
+
m = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
|
|
20807
20780
|
|
|
20808
|
-
function
|
|
20781
|
+
function h(e, t, r) {
|
|
20809
20782
|
return n = e, i = r, t;
|
|
20810
20783
|
}
|
|
20811
20784
|
|
|
20812
|
-
function
|
|
20785
|
+
function g(e, t) {
|
|
20813
20786
|
var r,
|
|
20814
20787
|
n = e.next();
|
|
20815
20788
|
if ('"' == n || "'" == n) return t.tokenize = (r = n, function (e, t) {
|
|
20816
20789
|
var n,
|
|
20817
20790
|
i = !1;
|
|
20818
|
-
if (l && "@" == e.peek() && e.match(
|
|
20791
|
+
if (l && "@" == e.peek() && e.match(m)) return t.tokenize = g, h("jsonld-keyword", "meta");
|
|
20819
20792
|
|
|
20820
20793
|
for (; null != (n = e.next()) && (n != r || i);) {
|
|
20821
20794
|
i = !i && "\\" == n;
|
|
20822
20795
|
}
|
|
20823
20796
|
|
|
20824
|
-
return i || (t.tokenize =
|
|
20797
|
+
return i || (t.tokenize = g), h("string", "string");
|
|
20825
20798
|
}), t.tokenize(e, t);
|
|
20826
|
-
if ("." == n && e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)) return
|
|
20827
|
-
if ("." == n && e.match("..")) return
|
|
20828
|
-
if (/[\[\]{}\(\),;\:\.]/.test(n)) return
|
|
20829
|
-
if ("=" == n && e.eat(">")) return
|
|
20830
|
-
if ("0" == n && e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) return
|
|
20831
|
-
if (/\d/.test(n)) return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),
|
|
20832
|
-
if ("/" == n) return e.eat("*") ? (t.tokenize =
|
|
20799
|
+
if ("." == n && e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)) return h("number", "number");
|
|
20800
|
+
if ("." == n && e.match("..")) return h("spread", "meta");
|
|
20801
|
+
if (/[\[\]{}\(\),;\:\.]/.test(n)) return h(n);
|
|
20802
|
+
if ("=" == n && e.eat(">")) return h("=>", "operator");
|
|
20803
|
+
if ("0" == n && e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) return h("number", "number");
|
|
20804
|
+
if (/\d/.test(n)) return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/), h("number", "number");
|
|
20805
|
+
if ("/" == n) return e.eat("*") ? (t.tokenize = y, y(e, t)) : e.eat("/") ? (e.skipToEnd(), h("comment", "comment")) : Ze(e, t, 1) ? (function (e) {
|
|
20833
20806
|
for (var t, r = !1, n = !1; null != (t = e.next());) {
|
|
20834
20807
|
if (!r) {
|
|
20835
20808
|
if ("/" == t && !n) return;
|
|
@@ -20838,62 +20811,62 @@ var _typeof = __webpack_require__(8);
|
|
|
20838
20811
|
|
|
20839
20812
|
r = !r && "\\" == t;
|
|
20840
20813
|
}
|
|
20841
|
-
}(e), e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),
|
|
20842
|
-
if ("`" == n) return t.tokenize =
|
|
20843
|
-
if ("#" == n && "!" == e.peek()) return e.skipToEnd(),
|
|
20844
|
-
if ("#" == n && e.eatWhile(
|
|
20845
|
-
if ("<" == n && e.match("!--") || "-" == n && e.match("->")
|
|
20846
|
-
if (
|
|
20847
|
-
|
|
20848
|
-
if (
|
|
20849
|
-
e.eatWhile(
|
|
20814
|
+
}(e), e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), h("regexp", "string-2")) : (e.eat("="), h("operator", "operator", e.current()));
|
|
20815
|
+
if ("`" == n) return t.tokenize = v, v(e, t);
|
|
20816
|
+
if ("#" == n && "!" == e.peek()) return e.skipToEnd(), h("meta", "meta");
|
|
20817
|
+
if ("#" == n && e.eatWhile(d)) return h("variable", "property");
|
|
20818
|
+
if ("<" == n && e.match("!--") || "-" == n && e.match("->")) return e.skipToEnd(), h("comment", "comment");
|
|
20819
|
+
if (f.test(n)) return ">" == n && t.lexical && ">" == t.lexical.type || (e.eat("=") ? "!" != n && "=" != n || e.eat("=") : /[<>*+\-]/.test(n) && (e.eat(n), ">" == n && e.eat(n))), "?" == n && e.eat(".") ? h(".") : h("operator", "operator", e.current());
|
|
20820
|
+
|
|
20821
|
+
if (d.test(n)) {
|
|
20822
|
+
e.eatWhile(d);
|
|
20850
20823
|
var i = e.current();
|
|
20851
20824
|
|
|
20852
20825
|
if ("." != t.lastType) {
|
|
20853
|
-
if (
|
|
20854
|
-
var o =
|
|
20855
|
-
return
|
|
20826
|
+
if (p.propertyIsEnumerable(i)) {
|
|
20827
|
+
var o = p[i];
|
|
20828
|
+
return h(o.type, o.style, i);
|
|
20856
20829
|
}
|
|
20857
20830
|
|
|
20858
|
-
if ("async" == i && e.match(/^(\s
|
|
20831
|
+
if ("async" == i && e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/, !1)) return h("async", "keyword", i);
|
|
20859
20832
|
}
|
|
20860
20833
|
|
|
20861
|
-
return
|
|
20834
|
+
return h("variable", "variable", i);
|
|
20862
20835
|
}
|
|
20863
20836
|
}
|
|
20864
20837
|
|
|
20865
|
-
function
|
|
20838
|
+
function y(e, t) {
|
|
20866
20839
|
for (var r, n = !1; r = e.next();) {
|
|
20867
20840
|
if ("/" == r && n) {
|
|
20868
|
-
t.tokenize =
|
|
20841
|
+
t.tokenize = g;
|
|
20869
20842
|
break;
|
|
20870
20843
|
}
|
|
20871
20844
|
|
|
20872
20845
|
n = "*" == r;
|
|
20873
20846
|
}
|
|
20874
20847
|
|
|
20875
|
-
return
|
|
20848
|
+
return h("comment", "comment");
|
|
20876
20849
|
}
|
|
20877
20850
|
|
|
20878
|
-
function
|
|
20851
|
+
function v(e, t) {
|
|
20879
20852
|
for (var r, n = !1; null != (r = e.next());) {
|
|
20880
20853
|
if (!n && ("`" == r || "$" == r && e.eat("{"))) {
|
|
20881
|
-
t.tokenize =
|
|
20854
|
+
t.tokenize = g;
|
|
20882
20855
|
break;
|
|
20883
20856
|
}
|
|
20884
20857
|
|
|
20885
20858
|
n = !n && "\\" == r;
|
|
20886
20859
|
}
|
|
20887
20860
|
|
|
20888
|
-
return
|
|
20861
|
+
return h("quasi", "string-2", e.current());
|
|
20889
20862
|
}
|
|
20890
20863
|
|
|
20891
|
-
function
|
|
20864
|
+
function b(e, t) {
|
|
20892
20865
|
t.fatArrowAt && (t.fatArrowAt = null);
|
|
20893
20866
|
var r = e.string.indexOf("=>", e.start);
|
|
20894
20867
|
|
|
20895
20868
|
if (!(r < 0)) {
|
|
20896
|
-
if (
|
|
20869
|
+
if (u) {
|
|
20897
20870
|
var n = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start, r));
|
|
20898
20871
|
n && (r = n.index);
|
|
20899
20872
|
}
|
|
@@ -20912,7 +20885,7 @@ var _typeof = __webpack_require__(8);
|
|
|
20912
20885
|
"(" == s && (o = !0);
|
|
20913
20886
|
break;
|
|
20914
20887
|
}
|
|
20915
|
-
} else if (l >= 3 && l < 6) ++i;else if (
|
|
20888
|
+
} else if (l >= 3 && l < 6) ++i;else if (d.test(s)) o = !0;else if (/["'\/`]/.test(s)) for (;; --a) {
|
|
20916
20889
|
if (0 == a) return;
|
|
20917
20890
|
|
|
20918
20891
|
if (e.string.charAt(a - 1) == s && "\\" != e.string.charAt(a - 2)) {
|
|
@@ -20929,24 +20902,21 @@ var _typeof = __webpack_require__(8);
|
|
|
20929
20902
|
}
|
|
20930
20903
|
}
|
|
20931
20904
|
|
|
20932
|
-
var
|
|
20905
|
+
var x = {
|
|
20933
20906
|
atom: !0,
|
|
20934
20907
|
number: !0,
|
|
20935
20908
|
variable: !0,
|
|
20936
20909
|
string: !0,
|
|
20937
20910
|
regexp: !0,
|
|
20938
20911
|
this: !0,
|
|
20939
|
-
import: !0,
|
|
20940
20912
|
"jsonld-keyword": !0
|
|
20941
20913
|
};
|
|
20942
20914
|
|
|
20943
|
-
function
|
|
20915
|
+
function k(e, t, r, n, i, o) {
|
|
20944
20916
|
this.indented = e, this.column = t, this.type = r, this.prev = i, this.info = o, null != n && (this.align = n);
|
|
20945
20917
|
}
|
|
20946
20918
|
|
|
20947
|
-
function
|
|
20948
|
-
if (!u) return !1;
|
|
20949
|
-
|
|
20919
|
+
function w(e, t) {
|
|
20950
20920
|
for (var r = e.localVars; r; r = r.next) {
|
|
20951
20921
|
if (r.name == t) return !0;
|
|
20952
20922
|
}
|
|
@@ -20958,38 +20928,24 @@ var _typeof = __webpack_require__(8);
|
|
|
20958
20928
|
}
|
|
20959
20929
|
}
|
|
20960
20930
|
|
|
20961
|
-
|
|
20962
|
-
var o = e.cc;
|
|
20963
|
-
|
|
20964
|
-
for (C.state = e, C.stream = i, C.marked = null, C.cc = o, C.style = t, e.lexical.hasOwnProperty("align") || (e.lexical.align = !0);;) {
|
|
20965
|
-
if ((o.length ? o.pop() : c ? U : W)(r, n)) {
|
|
20966
|
-
for (; o.length && o[o.length - 1].lex;) {
|
|
20967
|
-
o.pop()();
|
|
20968
|
-
}
|
|
20969
|
-
|
|
20970
|
-
return C.marked ? C.marked : "variable" == r && _(e, n) ? "variable-2" : t;
|
|
20971
|
-
}
|
|
20972
|
-
}
|
|
20973
|
-
}
|
|
20974
|
-
|
|
20975
|
-
var C = {
|
|
20931
|
+
var _ = {
|
|
20976
20932
|
state: null,
|
|
20977
20933
|
column: null,
|
|
20978
20934
|
marked: null,
|
|
20979
20935
|
cc: null
|
|
20980
20936
|
};
|
|
20981
20937
|
|
|
20982
|
-
function
|
|
20938
|
+
function S() {
|
|
20983
20939
|
for (var e = arguments.length - 1; e >= 0; e--) {
|
|
20984
|
-
|
|
20940
|
+
_.cc.push(arguments[e]);
|
|
20985
20941
|
}
|
|
20986
20942
|
}
|
|
20987
20943
|
|
|
20988
|
-
function
|
|
20989
|
-
return
|
|
20944
|
+
function C() {
|
|
20945
|
+
return S.apply(null, arguments), !0;
|
|
20990
20946
|
}
|
|
20991
20947
|
|
|
20992
|
-
function
|
|
20948
|
+
function T(e, t) {
|
|
20993
20949
|
for (var r = t; r; r = r.next) {
|
|
20994
20950
|
if (r.name == e) return !0;
|
|
20995
20951
|
}
|
|
@@ -20997,422 +20953,418 @@ var _typeof = __webpack_require__(8);
|
|
|
20997
20953
|
return !1;
|
|
20998
20954
|
}
|
|
20999
20955
|
|
|
21000
|
-
function
|
|
21001
|
-
var t =
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
if (
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
} else if (!E(e, t.localVars)) return void (t.localVars = new O(e, t.localVars));
|
|
21008
|
-
r.globalVars && !E(e, t.globalVars) && (t.globalVars = new O(e, t.globalVars));
|
|
21009
|
-
}
|
|
20956
|
+
function M(e) {
|
|
20957
|
+
var t = _.state;
|
|
20958
|
+
if (_.marked = "def", t.context) if ("var" == t.lexical.info && t.context && t.context.block) {
|
|
20959
|
+
var n = E(e, t.context);
|
|
20960
|
+
if (null != n) return void (t.context = n);
|
|
20961
|
+
} else if (!T(e, t.localVars)) return void (t.localVars = new N(e, t.localVars));
|
|
20962
|
+
r.globalVars && !T(e, t.globalVars) && (t.globalVars = new N(e, t.globalVars));
|
|
21010
20963
|
}
|
|
21011
20964
|
|
|
21012
|
-
function
|
|
20965
|
+
function E(e, t) {
|
|
21013
20966
|
if (t) {
|
|
21014
20967
|
if (t.block) {
|
|
21015
|
-
var r =
|
|
21016
|
-
return r ? r == t.prev ? t : new
|
|
20968
|
+
var r = E(e, t.prev);
|
|
20969
|
+
return r ? r == t.prev ? t : new A(r, t.vars, !0) : null;
|
|
21017
20970
|
}
|
|
21018
20971
|
|
|
21019
|
-
return
|
|
20972
|
+
return T(e, t.vars) ? t : new A(t.prev, new N(e, t.vars), !1);
|
|
21020
20973
|
}
|
|
21021
20974
|
|
|
21022
20975
|
return null;
|
|
21023
20976
|
}
|
|
21024
20977
|
|
|
21025
|
-
function
|
|
20978
|
+
function L(e) {
|
|
21026
20979
|
return "public" == e || "private" == e || "protected" == e || "abstract" == e || "readonly" == e;
|
|
21027
20980
|
}
|
|
21028
20981
|
|
|
21029
|
-
function
|
|
20982
|
+
function A(e, t, r) {
|
|
21030
20983
|
this.prev = e, this.vars = t, this.block = r;
|
|
21031
20984
|
}
|
|
21032
20985
|
|
|
21033
|
-
function
|
|
20986
|
+
function N(e, t) {
|
|
21034
20987
|
this.name = e, this.next = t;
|
|
21035
20988
|
}
|
|
21036
20989
|
|
|
21037
|
-
var
|
|
20990
|
+
var z = new N("this", new N("arguments", null));
|
|
21038
20991
|
|
|
21039
|
-
function
|
|
21040
|
-
|
|
20992
|
+
function O() {
|
|
20993
|
+
_.state.context = new A(_.state.context, _.state.localVars, !1), _.state.localVars = z;
|
|
21041
20994
|
}
|
|
21042
20995
|
|
|
21043
|
-
function
|
|
21044
|
-
|
|
20996
|
+
function D() {
|
|
20997
|
+
_.state.context = new A(_.state.context, _.state.localVars, !0), _.state.localVars = null;
|
|
21045
20998
|
}
|
|
21046
20999
|
|
|
21047
|
-
function
|
|
21048
|
-
|
|
21000
|
+
function I() {
|
|
21001
|
+
_.state.localVars = _.state.context.vars, _.state.context = _.state.context.prev;
|
|
21049
21002
|
}
|
|
21050
21003
|
|
|
21051
|
-
function
|
|
21004
|
+
function P(e, t) {
|
|
21052
21005
|
var r = function r() {
|
|
21053
|
-
var r =
|
|
21006
|
+
var r = _.state,
|
|
21054
21007
|
n = r.indented;
|
|
21055
21008
|
if ("stat" == r.lexical.type) n = r.lexical.indented;else for (var i = r.lexical; i && ")" == i.type && i.align; i = i.prev) {
|
|
21056
21009
|
n = i.indented;
|
|
21057
21010
|
}
|
|
21058
|
-
r.lexical = new
|
|
21011
|
+
r.lexical = new k(n, _.stream.column(), e, null, r.lexical, t);
|
|
21059
21012
|
};
|
|
21060
21013
|
|
|
21061
21014
|
return r.lex = !0, r;
|
|
21062
21015
|
}
|
|
21063
21016
|
|
|
21064
|
-
function
|
|
21065
|
-
var e =
|
|
21017
|
+
function j() {
|
|
21018
|
+
var e = _.state;
|
|
21066
21019
|
e.lexical.prev && (")" == e.lexical.type && (e.indented = e.lexical.indented), e.lexical = e.lexical.prev);
|
|
21067
21020
|
}
|
|
21068
21021
|
|
|
21069
|
-
function
|
|
21022
|
+
function q(e) {
|
|
21070
21023
|
return function t(r) {
|
|
21071
|
-
return r == e ?
|
|
21024
|
+
return r == e ? C() : ";" == e || "}" == r || ")" == r || "]" == r ? S() : C(t);
|
|
21072
21025
|
};
|
|
21073
21026
|
}
|
|
21074
21027
|
|
|
21075
|
-
function
|
|
21076
|
-
return "var" == e ?
|
|
21028
|
+
function F(e, t) {
|
|
21029
|
+
return "var" == e ? C(P("vardef", t), xe, q(";"), j) : "keyword a" == e ? C(P("form"), U, F, j) : "keyword b" == e ? C(P("form"), F, j) : "keyword d" == e ? _.stream.match(/^\s*$/, !1) ? C() : C(P("stat"), B, q(";"), j) : "debugger" == e ? C(q(";")) : "{" == e ? C(P("}"), D, se, j, I) : ";" == e ? C() : "if" == e ? ("else" == _.state.lexical.info && _.state.cc[_.state.cc.length - 1] == j && _.state.cc.pop()(), C(P("form"), U, F, j, Te)) : "function" == e ? C(Ae) : "for" == e ? C(P("form"), Me, F, j) : "class" == e || u && "interface" == t ? (_.marked = "keyword", C(P("form", "class" == e ? e : t), Ie, j)) : "variable" == e ? u && "declare" == t ? (_.marked = "keyword", C(F)) : u && ("module" == t || "enum" == t || "type" == t) && _.stream.match(/^\s*\w/, !1) ? (_.marked = "keyword", "enum" == t ? C(Ge) : "type" == t ? C(ze, q("operator"), pe, q(";")) : C(P("form"), ke, q("{"), P("}"), se, j, j)) : u && "namespace" == t ? (_.marked = "keyword", C(P("form"), W, F, j)) : u && "abstract" == t ? (_.marked = "keyword", C(F)) : C(P("stat"), ee) : "switch" == e ? C(P("form"), U, q("{"), P("}", "switch"), D, se, j, j, I) : "case" == e ? C(W, q(":")) : "default" == e ? C(q(":")) : "catch" == e ? C(P("form"), O, R, F, j, I) : "export" == e ? C(P("stat"), Fe, j) : "import" == e ? C(P("stat"), We, j) : "async" == e ? C(F) : "@" == t ? C(W, F) : S(P("stat"), W, q(";"), j);
|
|
21077
21030
|
}
|
|
21078
21031
|
|
|
21079
|
-
function
|
|
21080
|
-
if ("(" == e) return
|
|
21032
|
+
function R(e) {
|
|
21033
|
+
if ("(" == e) return C(Oe, q(")"));
|
|
21081
21034
|
}
|
|
21082
21035
|
|
|
21083
|
-
function
|
|
21084
|
-
return
|
|
21036
|
+
function W(e, t) {
|
|
21037
|
+
return H(e, t, !1);
|
|
21085
21038
|
}
|
|
21086
21039
|
|
|
21087
|
-
function
|
|
21088
|
-
return
|
|
21040
|
+
function $(e, t) {
|
|
21041
|
+
return H(e, t, !0);
|
|
21089
21042
|
}
|
|
21090
21043
|
|
|
21091
|
-
function
|
|
21092
|
-
return "(" != e ?
|
|
21044
|
+
function U(e) {
|
|
21045
|
+
return "(" != e ? S() : C(P(")"), B, q(")"), j);
|
|
21093
21046
|
}
|
|
21094
21047
|
|
|
21095
|
-
function
|
|
21096
|
-
if (
|
|
21097
|
-
var n = r ?
|
|
21098
|
-
if ("(" == e) return
|
|
21099
|
-
if ("variable" == e) return
|
|
21048
|
+
function H(e, t, r) {
|
|
21049
|
+
if (_.state.fatArrowAt == _.stream.start) {
|
|
21050
|
+
var n = r ? Y : X;
|
|
21051
|
+
if ("(" == e) return C(O, P(")"), oe(Oe, ")"), j, q("=>"), n, I);
|
|
21052
|
+
if ("variable" == e) return S(O, ke, q("=>"), n, I);
|
|
21100
21053
|
}
|
|
21101
21054
|
|
|
21102
|
-
var i = r ?
|
|
21103
|
-
return
|
|
21055
|
+
var i = r ? G : V;
|
|
21056
|
+
return x.hasOwnProperty(e) ? C(i) : "function" == e ? C(Ae, i) : "class" == e || u && "interface" == t ? (_.marked = "keyword", C(P("form"), De, j)) : "keyword c" == e || "async" == e ? C(r ? $ : W) : "(" == e ? C(P(")"), B, q(")"), j, i) : "operator" == e || "spread" == e ? C(r ? $ : W) : "[" == e ? C(P("]"), Ve, j, i) : "{" == e ? ae(re, "}", null, i) : "quasi" == e ? S(K, i) : "new" == e ? C(function (e) {
|
|
21104
21057
|
return function (t) {
|
|
21105
|
-
return "." == t ?
|
|
21058
|
+
return "." == t ? C(e ? J : Q) : "variable" == t && u ? C(ye, e ? G : V) : S(e ? $ : W);
|
|
21106
21059
|
};
|
|
21107
|
-
}(r)) :
|
|
21060
|
+
}(r)) : "import" == e ? C(W) : C();
|
|
21108
21061
|
}
|
|
21109
21062
|
|
|
21110
|
-
function
|
|
21111
|
-
return e.match(/[;\}\)\],]/) ?
|
|
21063
|
+
function B(e) {
|
|
21064
|
+
return e.match(/[;\}\)\],]/) ? S() : S(W);
|
|
21112
21065
|
}
|
|
21113
21066
|
|
|
21114
|
-
function
|
|
21115
|
-
return "," == e ?
|
|
21067
|
+
function V(e, t) {
|
|
21068
|
+
return "," == e ? C(B) : G(e, t, !1);
|
|
21116
21069
|
}
|
|
21117
21070
|
|
|
21118
|
-
function
|
|
21119
|
-
var n = 0 == r ?
|
|
21120
|
-
i = 0 == r ?
|
|
21121
|
-
return "=>" == e ?
|
|
21071
|
+
function G(e, t, r) {
|
|
21072
|
+
var n = 0 == r ? V : G,
|
|
21073
|
+
i = 0 == r ? W : $;
|
|
21074
|
+
return "=>" == e ? C(O, r ? Y : X, I) : "operator" == e ? /\+\+|--/.test(t) || u && "!" == t ? C(n) : u && "<" == t && _.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1) ? C(P(">"), oe(pe, ">"), j, n) : "?" == t ? C(W, q(":"), i) : C(i) : "quasi" == e ? S(K, n) : ";" != e ? "(" == e ? ae($, ")", "call", n) : "." == e ? C(te, n) : "[" == e ? C(P("]"), B, q("]"), j, n) : u && "as" == t ? (_.marked = "keyword", C(pe, n)) : "regexp" == e ? (_.state.lastType = _.marked = "operator", _.stream.backUp(_.stream.pos - _.stream.start - 1), C(i)) : void 0 : void 0;
|
|
21122
21075
|
}
|
|
21123
21076
|
|
|
21124
|
-
function
|
|
21125
|
-
return "quasi" != e ?
|
|
21077
|
+
function K(e, t) {
|
|
21078
|
+
return "quasi" != e ? S() : "${" != t.slice(t.length - 2) ? C(K) : C(W, Z);
|
|
21126
21079
|
}
|
|
21127
21080
|
|
|
21128
|
-
function
|
|
21129
|
-
if ("}" == e) return
|
|
21081
|
+
function Z(e) {
|
|
21082
|
+
if ("}" == e) return _.marked = "string-2", _.state.tokenize = v, C(K);
|
|
21130
21083
|
}
|
|
21131
21084
|
|
|
21132
|
-
function
|
|
21133
|
-
return
|
|
21085
|
+
function X(e) {
|
|
21086
|
+
return b(_.stream, _.state), S("{" == e ? F : W);
|
|
21134
21087
|
}
|
|
21135
21088
|
|
|
21136
|
-
function
|
|
21137
|
-
return
|
|
21089
|
+
function Y(e) {
|
|
21090
|
+
return b(_.stream, _.state), S("{" == e ? F : $);
|
|
21138
21091
|
}
|
|
21139
21092
|
|
|
21140
|
-
function
|
|
21141
|
-
if ("target" == t) return
|
|
21093
|
+
function Q(e, t) {
|
|
21094
|
+
if ("target" == t) return _.marked = "keyword", C(V);
|
|
21142
21095
|
}
|
|
21143
21096
|
|
|
21144
|
-
function
|
|
21145
|
-
if ("target" == t) return
|
|
21097
|
+
function J(e, t) {
|
|
21098
|
+
if ("target" == t) return _.marked = "keyword", C(G);
|
|
21146
21099
|
}
|
|
21147
21100
|
|
|
21148
|
-
function
|
|
21149
|
-
return ":" == e ?
|
|
21101
|
+
function ee(e) {
|
|
21102
|
+
return ":" == e ? C(j, F) : S(V, q(";"), j);
|
|
21150
21103
|
}
|
|
21151
21104
|
|
|
21152
|
-
function
|
|
21153
|
-
if ("variable" == e) return
|
|
21105
|
+
function te(e) {
|
|
21106
|
+
if ("variable" == e) return _.marked = "property", C();
|
|
21154
21107
|
}
|
|
21155
21108
|
|
|
21156
|
-
function
|
|
21157
|
-
return "async" == e ? (
|
|
21109
|
+
function re(e, t) {
|
|
21110
|
+
return "async" == e ? (_.marked = "property", C(re)) : "variable" == e || "keyword" == _.style ? (_.marked = "property", "get" == t || "set" == t ? C(ne) : (u && _.state.fatArrowAt == _.stream.start && (r = _.stream.match(/^\s*:\s*/, !1)) && (_.state.fatArrowAt = _.stream.pos + r[0].length), C(ie))) : "number" == e || "string" == e ? (_.marked = l ? "property" : _.style + " property", C(ie)) : "jsonld-keyword" == e ? C(ie) : u && L(t) ? (_.marked = "keyword", C(re)) : "[" == e ? C(W, le, q("]"), ie) : "spread" == e ? C($, ie) : "*" == t ? (_.marked = "keyword", C(re)) : ":" == e ? S(ie) : void 0;
|
|
21158
21111
|
var r;
|
|
21159
21112
|
}
|
|
21160
21113
|
|
|
21161
|
-
function
|
|
21162
|
-
return "variable" != e ?
|
|
21114
|
+
function ne(e) {
|
|
21115
|
+
return "variable" != e ? S(ie) : (_.marked = "property", C(Ae));
|
|
21163
21116
|
}
|
|
21164
21117
|
|
|
21165
|
-
function
|
|
21166
|
-
return ":" == e ?
|
|
21118
|
+
function ie(e) {
|
|
21119
|
+
return ":" == e ? C($) : "(" == e ? S(Ae) : void 0;
|
|
21167
21120
|
}
|
|
21168
21121
|
|
|
21169
|
-
function
|
|
21122
|
+
function oe(e, t, r) {
|
|
21170
21123
|
function n(i, o) {
|
|
21171
21124
|
if (r ? r.indexOf(i) > -1 : "," == i) {
|
|
21172
|
-
var a =
|
|
21173
|
-
return "call" == a.info && (a.pos = (a.pos || 0) + 1),
|
|
21174
|
-
return r == t || n == t ?
|
|
21125
|
+
var a = _.state.lexical;
|
|
21126
|
+
return "call" == a.info && (a.pos = (a.pos || 0) + 1), C(function (r, n) {
|
|
21127
|
+
return r == t || n == t ? S() : S(e);
|
|
21175
21128
|
}, n);
|
|
21176
21129
|
}
|
|
21177
21130
|
|
|
21178
|
-
return i == t || o == t ?
|
|
21131
|
+
return i == t || o == t ? C() : r && r.indexOf(";") > -1 ? S(e) : C(q(t));
|
|
21179
21132
|
}
|
|
21180
21133
|
|
|
21181
21134
|
return function (r, i) {
|
|
21182
|
-
return r == t || i == t ?
|
|
21135
|
+
return r == t || i == t ? C() : S(e, n);
|
|
21183
21136
|
};
|
|
21184
21137
|
}
|
|
21185
21138
|
|
|
21186
|
-
function
|
|
21139
|
+
function ae(e, t, r) {
|
|
21187
21140
|
for (var n = 3; n < arguments.length; n++) {
|
|
21188
|
-
|
|
21141
|
+
_.cc.push(arguments[n]);
|
|
21189
21142
|
}
|
|
21190
21143
|
|
|
21191
|
-
return
|
|
21144
|
+
return C(P(t, r), oe(e, t), j);
|
|
21192
21145
|
}
|
|
21193
21146
|
|
|
21194
|
-
function
|
|
21195
|
-
return "}" == e ?
|
|
21147
|
+
function se(e) {
|
|
21148
|
+
return "}" == e ? C() : S(F, se);
|
|
21196
21149
|
}
|
|
21197
21150
|
|
|
21198
|
-
function
|
|
21199
|
-
if (
|
|
21200
|
-
if (":" == e) return
|
|
21201
|
-
if ("?" == t) return
|
|
21151
|
+
function le(e, t) {
|
|
21152
|
+
if (u) {
|
|
21153
|
+
if (":" == e) return C(pe);
|
|
21154
|
+
if ("?" == t) return C(le);
|
|
21202
21155
|
}
|
|
21203
21156
|
}
|
|
21204
21157
|
|
|
21158
|
+
function ce(e, t) {
|
|
21159
|
+
if (u && (":" == e || "in" == t)) return C(pe);
|
|
21160
|
+
}
|
|
21161
|
+
|
|
21162
|
+
function ue(e) {
|
|
21163
|
+
if (u && ":" == e) return _.stream.match(/^\s*\w+\s+is\b/, !1) ? C(W, de, pe) : C(pe);
|
|
21164
|
+
}
|
|
21165
|
+
|
|
21205
21166
|
function de(e, t) {
|
|
21206
|
-
if (
|
|
21167
|
+
if ("is" == t) return _.marked = "keyword", C();
|
|
21207
21168
|
}
|
|
21208
21169
|
|
|
21209
|
-
function pe(e) {
|
|
21210
|
-
|
|
21170
|
+
function pe(e, t) {
|
|
21171
|
+
return "keyof" == t || "typeof" == t || "infer" == t ? (_.marked = "keyword", C("typeof" == t ? $ : pe)) : "variable" == e || "void" == t ? (_.marked = "type", C(ge)) : "|" == t || "&" == t ? C(pe) : "string" == e || "number" == e || "atom" == e ? C(ge) : "[" == e ? C(P("]"), oe(pe, "]", ","), j, ge) : "{" == e ? C(P("}"), oe(me, "}", ",;"), j, ge) : "(" == e ? C(oe(he, ")"), fe, ge) : "<" == e ? C(oe(pe, ">"), pe) : void 0;
|
|
21211
21172
|
}
|
|
21212
21173
|
|
|
21213
|
-
function fe(e
|
|
21214
|
-
if ("
|
|
21174
|
+
function fe(e) {
|
|
21175
|
+
if ("=>" == e) return C(pe);
|
|
21215
21176
|
}
|
|
21216
21177
|
|
|
21217
21178
|
function me(e, t) {
|
|
21218
|
-
return "
|
|
21179
|
+
return "variable" == e || "keyword" == _.style ? (_.marked = "property", C(me)) : "?" == t || "number" == e || "string" == e ? C(me) : ":" == e ? C(pe) : "[" == e ? C(q("variable"), ce, q("]"), me) : "(" == e ? S(Ne, me) : void 0;
|
|
21219
21180
|
}
|
|
21220
21181
|
|
|
21221
|
-
function he(e) {
|
|
21222
|
-
|
|
21182
|
+
function he(e, t) {
|
|
21183
|
+
return "variable" == e && _.stream.match(/^\s*[?:]/, !1) || "?" == t ? C(he) : ":" == e ? C(pe) : "spread" == e ? C(he) : S(pe);
|
|
21223
21184
|
}
|
|
21224
21185
|
|
|
21225
|
-
function ge(e) {
|
|
21226
|
-
return
|
|
21186
|
+
function ge(e, t) {
|
|
21187
|
+
return "<" == t ? C(P(">"), oe(pe, ">"), j, ge) : "|" == t || "." == e || "&" == t ? C(pe) : "[" == e ? C(pe, q("]"), ge) : "extends" == t || "implements" == t ? (_.marked = "keyword", C(pe)) : "?" == t ? C(pe, q(":"), pe) : void 0;
|
|
21227
21188
|
}
|
|
21228
21189
|
|
|
21229
21190
|
function ye(e, t) {
|
|
21230
|
-
|
|
21191
|
+
if ("<" == t) return C(P(">"), oe(pe, ">"), j, ge);
|
|
21231
21192
|
}
|
|
21232
21193
|
|
|
21233
|
-
function ve(
|
|
21234
|
-
return
|
|
21194
|
+
function ve() {
|
|
21195
|
+
return S(pe, be);
|
|
21235
21196
|
}
|
|
21236
21197
|
|
|
21237
|
-
function be(e) {
|
|
21238
|
-
if ("
|
|
21198
|
+
function be(e, t) {
|
|
21199
|
+
if ("=" == t) return C(pe);
|
|
21239
21200
|
}
|
|
21240
21201
|
|
|
21241
21202
|
function xe(e, t) {
|
|
21242
|
-
return "
|
|
21203
|
+
return "enum" == t ? (_.marked = "keyword", C(Ge)) : S(ke, le, Se, Ce);
|
|
21243
21204
|
}
|
|
21244
21205
|
|
|
21245
21206
|
function ke(e, t) {
|
|
21246
|
-
return
|
|
21207
|
+
return u && L(t) ? (_.marked = "keyword", C(ke)) : "variable" == e ? (M(t), C()) : "spread" == e ? C(ke) : "[" == e ? ae(_e, "]") : "{" == e ? ae(we, "}") : void 0;
|
|
21247
21208
|
}
|
|
21248
21209
|
|
|
21249
21210
|
function we(e, t) {
|
|
21250
|
-
|
|
21211
|
+
return "variable" != e || _.stream.match(/^\s*:/, !1) ? ("variable" == e && (_.marked = "property"), "spread" == e ? C(ke) : "}" == e ? S() : "[" == e ? C(W, q("]"), q(":"), we) : C(q(":"), ke, Se)) : (M(t), C(Se));
|
|
21251
21212
|
}
|
|
21252
21213
|
|
|
21253
21214
|
function _e() {
|
|
21254
|
-
return
|
|
21215
|
+
return S(ke, Se);
|
|
21255
21216
|
}
|
|
21256
21217
|
|
|
21257
21218
|
function Se(e, t) {
|
|
21258
|
-
if ("=" == t) return
|
|
21219
|
+
if ("=" == t) return C($);
|
|
21259
21220
|
}
|
|
21260
21221
|
|
|
21261
|
-
function Ce(e
|
|
21262
|
-
|
|
21222
|
+
function Ce(e) {
|
|
21223
|
+
if ("," == e) return C(xe);
|
|
21263
21224
|
}
|
|
21264
21225
|
|
|
21265
21226
|
function Te(e, t) {
|
|
21266
|
-
|
|
21227
|
+
if ("keyword b" == e && "else" == t) return C(P("form", "else"), F, j);
|
|
21267
21228
|
}
|
|
21268
21229
|
|
|
21269
21230
|
function Me(e, t) {
|
|
21270
|
-
return "
|
|
21231
|
+
return "await" == t ? C(Me) : "(" == e ? C(P(")"), Ee, j) : void 0;
|
|
21271
21232
|
}
|
|
21272
21233
|
|
|
21273
|
-
function Ee() {
|
|
21274
|
-
return
|
|
21234
|
+
function Ee(e) {
|
|
21235
|
+
return "var" == e ? C(xe, Le) : "variable" == e ? C(Le) : S(Le);
|
|
21275
21236
|
}
|
|
21276
21237
|
|
|
21277
21238
|
function Le(e, t) {
|
|
21278
|
-
|
|
21239
|
+
return ")" == e ? C() : ";" == e ? C(Le) : "in" == t || "of" == t ? (_.marked = "keyword", C(W, Le)) : S(W, Le);
|
|
21279
21240
|
}
|
|
21280
21241
|
|
|
21281
|
-
function Ae(e) {
|
|
21282
|
-
|
|
21242
|
+
function Ae(e, t) {
|
|
21243
|
+
return "*" == t ? (_.marked = "keyword", C(Ae)) : "variable" == e ? (M(t), C(Ae)) : "(" == e ? C(O, P(")"), oe(Oe, ")"), j, ue, F, I) : u && "<" == t ? C(P(">"), oe(ve, ">"), j, Ae) : void 0;
|
|
21283
21244
|
}
|
|
21284
21245
|
|
|
21285
21246
|
function Ne(e, t) {
|
|
21286
|
-
|
|
21247
|
+
return "*" == t ? (_.marked = "keyword", C(Ne)) : "variable" == e ? (M(t), C(Ne)) : "(" == e ? C(O, P(")"), oe(Oe, ")"), j, ue, I) : u && "<" == t ? C(P(">"), oe(ve, ">"), j, Ne) : void 0;
|
|
21287
21248
|
}
|
|
21288
21249
|
|
|
21289
21250
|
function ze(e, t) {
|
|
21290
|
-
return "
|
|
21251
|
+
return "keyword" == e || "variable" == e ? (_.marked = "type", C(ze)) : "<" == t ? C(P(">"), oe(ve, ">"), j) : void 0;
|
|
21291
21252
|
}
|
|
21292
21253
|
|
|
21293
|
-
function Oe(e) {
|
|
21294
|
-
return "
|
|
21254
|
+
function Oe(e, t) {
|
|
21255
|
+
return "@" == t && C(W, Oe), "spread" == e ? C(Oe) : u && L(t) ? (_.marked = "keyword", C(Oe)) : u && "this" == e ? C(le, Se) : S(ke, le, Se);
|
|
21295
21256
|
}
|
|
21296
21257
|
|
|
21297
21258
|
function De(e, t) {
|
|
21298
|
-
return "
|
|
21259
|
+
return "variable" == e ? Ie(e, t) : Pe(e, t);
|
|
21299
21260
|
}
|
|
21300
21261
|
|
|
21301
21262
|
function Ie(e, t) {
|
|
21302
|
-
|
|
21263
|
+
if ("variable" == e) return M(t), C(Pe);
|
|
21303
21264
|
}
|
|
21304
21265
|
|
|
21305
21266
|
function Pe(e, t) {
|
|
21306
|
-
return "
|
|
21267
|
+
return "<" == t ? C(P(">"), oe(ve, ">"), j, Pe) : "extends" == t || "implements" == t || u && "," == e ? ("implements" == t && (_.marked = "keyword"), C(u ? pe : W, Pe)) : "{" == e ? C(P("}"), je, j) : void 0;
|
|
21307
21268
|
}
|
|
21308
21269
|
|
|
21309
21270
|
function je(e, t) {
|
|
21310
|
-
return "
|
|
21271
|
+
return "async" == e || "variable" == e && ("static" == t || "get" == t || "set" == t || u && L(t)) && _.stream.match(/^\s+[\w$\xa1-\uffff]/, !1) ? (_.marked = "keyword", C(je)) : "variable" == e || "keyword" == _.style ? (_.marked = "property", C(qe, je)) : "number" == e || "string" == e ? C(qe, je) : "[" == e ? C(W, le, q("]"), qe, je) : "*" == t ? (_.marked = "keyword", C(je)) : u && "(" == e ? S(Ne, je) : ";" == e || "," == e ? C(je) : "}" == e ? C() : "@" == t ? C(W, je) : void 0;
|
|
21311
21272
|
}
|
|
21312
21273
|
|
|
21313
21274
|
function qe(e, t) {
|
|
21314
|
-
|
|
21275
|
+
if ("?" == t) return C(qe);
|
|
21276
|
+
if (":" == e) return C(pe, Se);
|
|
21277
|
+
if ("=" == t) return C($);
|
|
21278
|
+
var r = _.state.lexical.prev;
|
|
21279
|
+
return S(r && "interface" == r.info ? Ne : Ae);
|
|
21315
21280
|
}
|
|
21316
21281
|
|
|
21317
21282
|
function Fe(e, t) {
|
|
21318
|
-
return "
|
|
21283
|
+
return "*" == t ? (_.marked = "keyword", C(Be, q(";"))) : "default" == t ? (_.marked = "keyword", C(W, q(";"))) : "{" == e ? C(oe(Re, "}"), Be, q(";")) : S(F);
|
|
21319
21284
|
}
|
|
21320
21285
|
|
|
21321
21286
|
function Re(e, t) {
|
|
21322
|
-
|
|
21287
|
+
return "as" == t ? (_.marked = "keyword", C(q("variable"))) : "variable" == e ? S($, Re) : void 0;
|
|
21323
21288
|
}
|
|
21324
21289
|
|
|
21325
|
-
function We(e
|
|
21326
|
-
return "
|
|
21290
|
+
function We(e) {
|
|
21291
|
+
return "string" == e ? C() : "(" == e ? S(W) : S($e, Ue, Be);
|
|
21327
21292
|
}
|
|
21328
21293
|
|
|
21329
21294
|
function $e(e, t) {
|
|
21330
|
-
return "
|
|
21295
|
+
return "{" == e ? ae($e, "}") : ("variable" == e && M(t), "*" == t && (_.marked = "keyword"), C(He));
|
|
21331
21296
|
}
|
|
21332
21297
|
|
|
21333
|
-
function Ue(e
|
|
21334
|
-
if ("
|
|
21335
|
-
if ("?" == t) return M(Ue);
|
|
21336
|
-
if (":" == e) return M(me, Le);
|
|
21337
|
-
if ("=" == t) return M(H);
|
|
21338
|
-
var r = C.state.lexical.prev;
|
|
21339
|
-
return T(r && "interface" == r.info ? Pe : Ie);
|
|
21298
|
+
function Ue(e) {
|
|
21299
|
+
if ("," == e) return C($e, Ue);
|
|
21340
21300
|
}
|
|
21341
21301
|
|
|
21342
21302
|
function He(e, t) {
|
|
21343
|
-
|
|
21303
|
+
if ("as" == t) return _.marked = "keyword", C($e);
|
|
21344
21304
|
}
|
|
21345
21305
|
|
|
21346
21306
|
function Be(e, t) {
|
|
21347
|
-
|
|
21307
|
+
if ("from" == t) return _.marked = "keyword", C(W);
|
|
21348
21308
|
}
|
|
21349
21309
|
|
|
21350
21310
|
function Ve(e) {
|
|
21351
|
-
return "
|
|
21352
|
-
}
|
|
21353
|
-
|
|
21354
|
-
function Ge(e, t) {
|
|
21355
|
-
return "{" == e ? le(Ge, "}") : ("variable" == e && L(t), "*" == t && (C.marked = "keyword"), M(Ze));
|
|
21356
|
-
}
|
|
21357
|
-
|
|
21358
|
-
function Ke(e) {
|
|
21359
|
-
if ("," == e) return M(Ge, Ke);
|
|
21360
|
-
}
|
|
21361
|
-
|
|
21362
|
-
function Ze(e, t) {
|
|
21363
|
-
if ("as" == t) return C.marked = "keyword", M(Ge);
|
|
21364
|
-
}
|
|
21365
|
-
|
|
21366
|
-
function Xe(e, t) {
|
|
21367
|
-
if ("from" == t) return C.marked = "keyword", M(U);
|
|
21368
|
-
}
|
|
21369
|
-
|
|
21370
|
-
function Ye(e) {
|
|
21371
|
-
return "]" == e ? M() : T(se(H, "]"));
|
|
21311
|
+
return "]" == e ? C() : S(oe($, "]"));
|
|
21372
21312
|
}
|
|
21373
21313
|
|
|
21374
|
-
function
|
|
21375
|
-
return
|
|
21314
|
+
function Ge() {
|
|
21315
|
+
return S(P("form"), ke, q("{"), P("}"), oe(Ke, "}"), j, j);
|
|
21376
21316
|
}
|
|
21377
21317
|
|
|
21378
|
-
function
|
|
21379
|
-
return
|
|
21318
|
+
function Ke() {
|
|
21319
|
+
return S(ke, Se);
|
|
21380
21320
|
}
|
|
21381
21321
|
|
|
21382
|
-
function
|
|
21383
|
-
return t.tokenize ==
|
|
21322
|
+
function Ze(e, t, r) {
|
|
21323
|
+
return t.tokenize == g && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType) || "quasi" == t.lastType && /\{\s*$/.test(e.string.slice(0, e.pos - (r || 0)));
|
|
21384
21324
|
}
|
|
21385
21325
|
|
|
21386
|
-
return
|
|
21326
|
+
return I.lex = !0, j.lex = !0, {
|
|
21387
21327
|
startState: function startState(e) {
|
|
21388
21328
|
var t = {
|
|
21389
|
-
tokenize:
|
|
21329
|
+
tokenize: g,
|
|
21390
21330
|
lastType: "sof",
|
|
21391
21331
|
cc: [],
|
|
21392
|
-
lexical: new
|
|
21332
|
+
lexical: new k((e || 0) - o, 0, "block", !1),
|
|
21393
21333
|
localVars: r.localVars,
|
|
21394
|
-
context: r.localVars && new
|
|
21334
|
+
context: r.localVars && new A(null, null, !1),
|
|
21395
21335
|
indented: e || 0
|
|
21396
21336
|
};
|
|
21397
21337
|
return r.globalVars && "object" == s(r.globalVars) && (t.globalVars = r.globalVars), t;
|
|
21398
21338
|
},
|
|
21399
21339
|
token: function token(e, t) {
|
|
21400
|
-
if (e.sol() && (t.lexical.hasOwnProperty("align") || (t.lexical.align = !1), t.indented = e.indentation(),
|
|
21340
|
+
if (e.sol() && (t.lexical.hasOwnProperty("align") || (t.lexical.align = !1), t.indented = e.indentation(), b(e, t)), t.tokenize != y && e.eatSpace()) return null;
|
|
21401
21341
|
var r = t.tokenize(e, t);
|
|
21402
|
-
return "comment" == n ? r : (t.lastType = "operator" != n || "++" != i && "--" != i ? n : "incdec",
|
|
21342
|
+
return "comment" == n ? r : (t.lastType = "operator" != n || "++" != i && "--" != i ? n : "incdec", function (e, t, r, n, i) {
|
|
21343
|
+
var o = e.cc;
|
|
21344
|
+
|
|
21345
|
+
for (_.state = e, _.stream = i, _.marked = null, _.cc = o, _.style = t, e.lexical.hasOwnProperty("align") || (e.lexical.align = !0);;) {
|
|
21346
|
+
if ((o.length ? o.pop() : c ? W : F)(r, n)) {
|
|
21347
|
+
for (; o.length && o[o.length - 1].lex;) {
|
|
21348
|
+
o.pop()();
|
|
21349
|
+
}
|
|
21350
|
+
|
|
21351
|
+
return _.marked ? _.marked : "variable" == r && w(e, n) ? "variable-2" : t;
|
|
21352
|
+
}
|
|
21353
|
+
}
|
|
21354
|
+
}(t, r, n, i, e));
|
|
21403
21355
|
},
|
|
21404
21356
|
indent: function indent(t, n) {
|
|
21405
|
-
if (t.tokenize ==
|
|
21406
|
-
if (t.tokenize !=
|
|
21357
|
+
if (t.tokenize == y) return e.Pass;
|
|
21358
|
+
if (t.tokenize != g) return 0;
|
|
21407
21359
|
var i,
|
|
21408
21360
|
s = n && n.charAt(0),
|
|
21409
21361
|
l = t.lexical;
|
|
21410
21362
|
if (!/^\s*else\b/.test(n)) for (var c = t.cc.length - 1; c >= 0; --c) {
|
|
21411
21363
|
var u = t.cc[c];
|
|
21412
|
-
if (u ==
|
|
21364
|
+
if (u == j) l = l.prev;else if (u != Te) break;
|
|
21413
21365
|
}
|
|
21414
21366
|
|
|
21415
|
-
for (; ("stat" == l.type || "form" == l.type) && ("}" == s || (i = t.cc[t.cc.length - 1]) && (i ==
|
|
21367
|
+
for (; ("stat" == l.type || "form" == l.type) && ("}" == s || (i = t.cc[t.cc.length - 1]) && (i == V || i == G) && !/^[,\.=+\-*:?[\(]/.test(n));) {
|
|
21416
21368
|
l = l.prev;
|
|
21417
21369
|
}
|
|
21418
21370
|
|
|
@@ -21420,7 +21372,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21420
21372
|
var d = l.type,
|
|
21421
21373
|
p = s == d;
|
|
21422
21374
|
return "vardef" == d ? l.indented + ("operator" == t.lastType || "," == t.lastType ? l.info.length + 1 : 0) : "form" == d && "{" == s ? l.indented : "form" == d ? l.indented + o : "stat" == d ? l.indented + (function (e, t) {
|
|
21423
|
-
return "operator" == e.lastType || "," == e.lastType ||
|
|
21375
|
+
return "operator" == e.lastType || "," == e.lastType || f.test(t.charAt(0)) || /[,.]/.test(t.charAt(0));
|
|
21424
21376
|
}(t, n) ? a || o : 0) : "switch" != l.info || p || 0 == r.doubleIndentSwitch ? l.align ? l.column + (p ? 0 : 1) : l.indented + (p ? 0 : o) : l.indented + (/^(?:case|default)\b/.test(n) ? o : 2 * o);
|
|
21425
21377
|
},
|
|
21426
21378
|
electricInput: /^\s*(?:case .*?:|default:|\{|\})$/,
|
|
@@ -21433,9 +21385,10 @@ var _typeof = __webpack_require__(8);
|
|
|
21433
21385
|
helperType: c ? "json" : "javascript",
|
|
21434
21386
|
jsonldMode: l,
|
|
21435
21387
|
jsonMode: c,
|
|
21436
|
-
expressionAllowed:
|
|
21437
|
-
skipExpression: function skipExpression(
|
|
21438
|
-
|
|
21388
|
+
expressionAllowed: Ze,
|
|
21389
|
+
skipExpression: function skipExpression(e) {
|
|
21390
|
+
var t = e.cc[e.cc.length - 1];
|
|
21391
|
+
t != W && t != $ || e.cc.pop();
|
|
21439
21392
|
}
|
|
21440
21393
|
};
|
|
21441
21394
|
}), e.registerHelper("wordChars", "javascript", /[\w$]/), e.defineMIME("text/javascript", "javascript"), e.defineMIME("text/ecmascript", "javascript"), e.defineMIME("application/javascript", "javascript"), e.defineMIME("application/x-javascript", "javascript"), e.defineMIME("application/ecmascript", "javascript"), e.defineMIME("application/json", {
|
|
@@ -21444,9 +21397,6 @@ var _typeof = __webpack_require__(8);
|
|
|
21444
21397
|
}), e.defineMIME("application/x-json", {
|
|
21445
21398
|
name: "javascript",
|
|
21446
21399
|
json: !0
|
|
21447
|
-
}), e.defineMIME("application/manifest+json", {
|
|
21448
|
-
name: "javascript",
|
|
21449
|
-
json: !0
|
|
21450
21400
|
}), e.defineMIME("application/ld+json", {
|
|
21451
21401
|
name: "javascript",
|
|
21452
21402
|
jsonld: !0
|
|
@@ -21528,7 +21478,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21528
21478
|
m = r.current();
|
|
21529
21479
|
return /\btag\b/.test(f) ? />$/.test(m) ? c.state.context ? c.depth = 0 : i.context = i.context.prev : /^</.test(m) && (c.depth = 1) : !f && (p = m.indexOf("{")) > -1 && r.backUp(m.length - p), f;
|
|
21530
21480
|
}(r, i, i.context) : function (r, n, i) {
|
|
21531
|
-
if ("<" == r.peek() && a.expressionAllowed(r, i.state)) return n.context = new t(e.startState(o, a.indent(i.state, "", "")), o, 0, n.context),
|
|
21481
|
+
if ("<" == r.peek() && a.expressionAllowed(r, i.state)) return a.skipExpression(i.state), n.context = new t(e.startState(o, a.indent(i.state, "", "")), o, 0, n.context), null;
|
|
21532
21482
|
var s = a.token(r, i.state);
|
|
21533
21483
|
|
|
21534
21484
|
if (!s && null != i.depth) {
|
|
@@ -21583,49 +21533,46 @@ var _typeof = __webpack_require__(8);
|
|
|
21583
21533
|
"use strict";
|
|
21584
21534
|
|
|
21585
21535
|
e.defineMode("julia", function (t, r) {
|
|
21586
|
-
function n(e, t
|
|
21587
|
-
return void 0 ===
|
|
21588
|
-
}
|
|
21589
|
-
|
|
21590
|
-
var i = ["[<>]:", "[<>=]=", "<<=?", ">>>?=?", "=>", "
|
|
21591
|
-
o = r.
|
|
21592
|
-
a = r.
|
|
21593
|
-
s =
|
|
21594
|
-
l =
|
|
21595
|
-
c = ["
|
|
21596
|
-
|
|
21597
|
-
|
|
21598
|
-
|
|
21599
|
-
p = n(
|
|
21536
|
+
function n(e, t) {
|
|
21537
|
+
return void 0 === t && (t = "\\b"), new RegExp("^((" + e.join(")|(") + "))" + t);
|
|
21538
|
+
}
|
|
21539
|
+
|
|
21540
|
+
var i = r.operators || n(["[<>]:", "[<>=]=", "<<=?", ">>>?=?", "=>", "->", "\\/\\/", "[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?", "\\?", "\\$", "~", ":", "\\u00D7", "\\u2208", "\\u2209", "\\u220B", "\\u220C", "\\u2218", "\\u221A", "\\u221B", "\\u2229", "\\u222A", "\\u2260", "\\u2264", "\\u2265", "\\u2286", "\\u2288", "\\u228A", "\\u22C5", "\\b(in|isa)\\b(?!.?\\()"], ""),
|
|
21541
|
+
o = r.delimiters || /^[;,()[\]{}]/,
|
|
21542
|
+
a = r.identifiers || /^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,
|
|
21543
|
+
s = n(["\\\\[0-7]{1,3}", "\\\\x[A-Fa-f0-9]{1,2}", "\\\\[abefnrtv0%?'\"\\\\]", "([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"], "'"),
|
|
21544
|
+
l = ["if", "else", "elseif", "while", "for", "begin", "let", "end", "do", "try", "catch", "finally", "return", "break", "continue", "global", "local", "const", "export", "import", "importall", "using", "function", "where", "macro", "module", "baremodule", "struct", "type", "mutable", "immutable", "quote", "typealias", "abstract", "primitive", "bitstype"],
|
|
21545
|
+
c = ["true", "false", "nothing", "NaN", "Inf"];
|
|
21546
|
+
e.registerHelper("hintWords", "julia", l.concat(c));
|
|
21547
|
+
var u = n(["begin", "function", "type", "struct", "immutable", "let", "macro", "for", "while", "quote", "if", "else", "elseif", "try", "finally", "catch", "do"]),
|
|
21548
|
+
d = n(["end", "else", "elseif", "catch", "finally"]),
|
|
21549
|
+
p = n(l),
|
|
21600
21550
|
f = n(c),
|
|
21601
|
-
m =
|
|
21602
|
-
h =
|
|
21603
|
-
g =
|
|
21604
|
-
y = /^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,
|
|
21605
|
-
v = n(i, "", "@"),
|
|
21606
|
-
b = n(i, "", ":");
|
|
21551
|
+
m = /^@[_A-Za-z][\w]*/,
|
|
21552
|
+
h = /^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,
|
|
21553
|
+
g = /^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;
|
|
21607
21554
|
|
|
21608
|
-
function
|
|
21555
|
+
function y(e) {
|
|
21609
21556
|
return e.nestedArrays > 0;
|
|
21610
21557
|
}
|
|
21611
21558
|
|
|
21612
|
-
function
|
|
21559
|
+
function v(e, t) {
|
|
21613
21560
|
return void 0 === t && (t = 0), e.scopes.length <= t ? null : e.scopes[e.scopes.length - (t + 1)];
|
|
21614
21561
|
}
|
|
21615
21562
|
|
|
21616
|
-
function
|
|
21617
|
-
if (e.match(
|
|
21563
|
+
function b(e, t) {
|
|
21564
|
+
if (e.match(/^#=/, !1)) return t.tokenize = w, t.tokenize(e, t);
|
|
21618
21565
|
var r = t.leavingExpr;
|
|
21619
21566
|
if (e.sol() && (r = !1), t.leavingExpr = !1, r && e.match(/^'+/)) return "operator";
|
|
21620
21567
|
if (e.match(/\.{4,}/)) return "error";
|
|
21621
21568
|
if (e.match(/\.{1,3}/)) return "operator";
|
|
21622
21569
|
if (e.eatSpace()) return null;
|
|
21623
21570
|
var n,
|
|
21624
|
-
|
|
21625
|
-
if ("#" ===
|
|
21571
|
+
s = e.peek();
|
|
21572
|
+
if ("#" === s) return e.skipToEnd(), "comment";
|
|
21626
21573
|
|
|
21627
|
-
if ("[" ===
|
|
21628
|
-
for (; t.scopes.length && "[" !==
|
|
21574
|
+
if ("[" === s && (t.scopes.push("["), t.nestedArrays++), "(" === s && (t.scopes.push("("), t.nestedGenerators++), y(t) && "]" === s) {
|
|
21575
|
+
for (; t.scopes.length && "[" !== v(t);) {
|
|
21629
21576
|
t.scopes.pop();
|
|
21630
21577
|
}
|
|
21631
21578
|
|
|
@@ -21634,22 +21581,22 @@ var _typeof = __webpack_require__(8);
|
|
|
21634
21581
|
|
|
21635
21582
|
if (function (e) {
|
|
21636
21583
|
return e.nestedGenerators > 0;
|
|
21637
|
-
}(t) && ")" ===
|
|
21638
|
-
for (; t.scopes.length && "(" !==
|
|
21584
|
+
}(t) && ")" === s) {
|
|
21585
|
+
for (; t.scopes.length && "(" !== v(t);) {
|
|
21639
21586
|
t.scopes.pop();
|
|
21640
21587
|
}
|
|
21641
21588
|
|
|
21642
21589
|
t.scopes.pop(), t.nestedGenerators--, t.leavingExpr = !0;
|
|
21643
21590
|
}
|
|
21644
21591
|
|
|
21645
|
-
if (
|
|
21646
|
-
if ("end" == t.lastToken && e.match(
|
|
21647
|
-
if (e.match(
|
|
21592
|
+
if (y(t)) {
|
|
21593
|
+
if ("end" == t.lastToken && e.match(/^:/)) return "operator";
|
|
21594
|
+
if (e.match(/^end/)) return "number";
|
|
21648
21595
|
}
|
|
21649
21596
|
|
|
21650
|
-
if ((n = e.match(
|
|
21651
|
-
if (!r &&
|
|
21652
|
-
if (e.match(
|
|
21597
|
+
if ((n = e.match(u, !1)) && t.scopes.push(n[0]), e.match(d, !1) && t.scopes.pop(), e.match(/^::(?![:\$])/)) return t.tokenize = k, t.tokenize(e, t);
|
|
21598
|
+
if (!r && e.match(h) || e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/)) return "builtin";
|
|
21599
|
+
if (e.match(i)) return "operator";
|
|
21653
21600
|
|
|
21654
21601
|
if (e.match(/^\.?\d/, !1)) {
|
|
21655
21602
|
var l = RegExp(/^im\b/),
|
|
@@ -21657,11 +21604,11 @@ var _typeof = __webpack_require__(8);
|
|
|
21657
21604
|
if (e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i) && (c = !0), e.match(/^0x[0-9a-f_]+/i) && (c = !0), e.match(/^0b[01_]+/i) && (c = !0), e.match(/^0o[0-7_]+/i) && (c = !0), e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i) && (c = !0), e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i) && (c = !0), c) return e.match(l), t.leavingExpr = !0, "number";
|
|
21658
21605
|
}
|
|
21659
21606
|
|
|
21660
|
-
if (e.match(
|
|
21661
|
-
if (e.match(
|
|
21607
|
+
if (e.match(/^'/)) return t.tokenize = _, t.tokenize(e, t);
|
|
21608
|
+
if (e.match(g)) return t.tokenize = function (e) {
|
|
21662
21609
|
function t(t, r) {
|
|
21663
21610
|
if (t.eat("\\")) t.next();else {
|
|
21664
|
-
if (t.match(e)) return r.tokenize =
|
|
21611
|
+
if (t.match(e)) return r.tokenize = b, r.leavingExpr = !0, "string";
|
|
21665
21612
|
t.eat(/[`"]/);
|
|
21666
21613
|
}
|
|
21667
21614
|
return t.eatWhile(/[^\\`"]/), "string";
|
|
@@ -21669,36 +21616,55 @@ var _typeof = __webpack_require__(8);
|
|
|
21669
21616
|
|
|
21670
21617
|
return '"""' === e.substr(-3) ? e = '"""' : '"' === e.substr(-1) && (e = '"'), t;
|
|
21671
21618
|
}(e.current()), t.tokenize(e, t);
|
|
21672
|
-
if (e.match(
|
|
21673
|
-
if (e.match(
|
|
21674
|
-
if (e.match(
|
|
21675
|
-
if (e.match(
|
|
21676
|
-
var
|
|
21677
|
-
return e.match(
|
|
21619
|
+
if (e.match(m)) return "meta";
|
|
21620
|
+
if (e.match(o)) return null;
|
|
21621
|
+
if (e.match(p)) return "keyword";
|
|
21622
|
+
if (e.match(f)) return "builtin";
|
|
21623
|
+
var S = t.isDefinition || "function" == t.lastToken || "macro" == t.lastToken || "type" == t.lastToken || "struct" == t.lastToken || "immutable" == t.lastToken;
|
|
21624
|
+
return e.match(a) ? S ? "." === e.peek() ? (t.isDefinition = !0, "variable") : (t.isDefinition = !1, "def") : e.match(/^({[^}]*})*\(/, !1) ? (t.tokenize = x, t.tokenize(e, t)) : (t.leavingExpr = !0, "variable") : (e.next(), "error");
|
|
21678
21625
|
}
|
|
21679
21626
|
|
|
21680
|
-
function
|
|
21681
|
-
|
|
21627
|
+
function x(e, t) {
|
|
21628
|
+
var r = e.match(/^(\(\s*)/);
|
|
21629
|
+
|
|
21630
|
+
if (r && (t.firstParenPos < 0 && (t.firstParenPos = t.scopes.length), t.scopes.push("("), t.charsAdvanced += r[1].length), "(" == v(t) && e.match(/^\)/) && (t.scopes.pop(), t.charsAdvanced += 1, t.scopes.length <= t.firstParenPos)) {
|
|
21631
|
+
var n = e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/, !1);
|
|
21632
|
+
return e.backUp(t.charsAdvanced), t.firstParenPos = -1, t.charsAdvanced = 0, t.tokenize = b, n ? "def" : "builtin";
|
|
21633
|
+
}
|
|
21634
|
+
|
|
21635
|
+
if (e.match(/^$/g, !1)) {
|
|
21636
|
+
for (e.backUp(t.charsAdvanced); t.scopes.length > t.firstParenPos;) {
|
|
21637
|
+
t.scopes.pop();
|
|
21638
|
+
}
|
|
21639
|
+
|
|
21640
|
+
return t.firstParenPos = -1, t.charsAdvanced = 0, t.tokenize = b, "builtin";
|
|
21641
|
+
}
|
|
21642
|
+
|
|
21643
|
+
return t.charsAdvanced += e.match(/^([^()]*)/)[1].length, t.tokenize(e, t);
|
|
21682
21644
|
}
|
|
21683
21645
|
|
|
21684
|
-
function
|
|
21685
|
-
return e.match(
|
|
21646
|
+
function k(e, t) {
|
|
21647
|
+
return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/), e.match(/^{/) ? t.nestedParameters++ : e.match(/^}/) && t.nestedParameters > 0 && t.nestedParameters--, t.nestedParameters > 0 ? e.match(/.*?(?={|})/) || e.next() : 0 == t.nestedParameters && (t.tokenize = b), "builtin";
|
|
21686
21648
|
}
|
|
21687
21649
|
|
|
21688
|
-
function
|
|
21650
|
+
function w(e, t) {
|
|
21651
|
+
return e.match(/^#=/) && t.nestedComments++, e.match(/.*?(?=(#=|=#))/) || e.skipToEnd(), e.match(/^=#/) && (t.nestedComments--, 0 == t.nestedComments && (t.tokenize = b)), "comment";
|
|
21652
|
+
}
|
|
21653
|
+
|
|
21654
|
+
function _(e, t) {
|
|
21689
21655
|
var r,
|
|
21690
21656
|
n = !1;
|
|
21691
|
-
if (e.match(
|
|
21657
|
+
if (e.match(s)) n = !0;else if (r = e.match(/\\u([a-f0-9]{1,4})(?=')/i)) ((i = parseInt(r[1], 16)) <= 55295 || i >= 57344) && (n = !0, e.next());else if (r = e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)) {
|
|
21692
21658
|
var i;
|
|
21693
21659
|
(i = parseInt(r[1], 16)) <= 1114111 && (n = !0, e.next());
|
|
21694
21660
|
}
|
|
21695
|
-
return n ? (t.leavingExpr = !0, t.tokenize =
|
|
21661
|
+
return n ? (t.leavingExpr = !0, t.tokenize = b, "string") : (e.match(/^[^']+(?=')/) || e.skipToEnd(), e.match(/^'/) && (t.tokenize = b), "error");
|
|
21696
21662
|
}
|
|
21697
21663
|
|
|
21698
21664
|
return {
|
|
21699
21665
|
startState: function startState() {
|
|
21700
21666
|
return {
|
|
21701
|
-
tokenize:
|
|
21667
|
+
tokenize: b,
|
|
21702
21668
|
scopes: [],
|
|
21703
21669
|
lastToken: null,
|
|
21704
21670
|
leavingExpr: !1,
|
|
@@ -21707,6 +21673,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21707
21673
|
nestedComments: 0,
|
|
21708
21674
|
nestedGenerators: 0,
|
|
21709
21675
|
nestedParameters: 0,
|
|
21676
|
+
charsAdvanced: 0,
|
|
21710
21677
|
firstParenPos: -1
|
|
21711
21678
|
};
|
|
21712
21679
|
},
|
|
@@ -21717,7 +21684,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21717
21684
|
},
|
|
21718
21685
|
indent: function indent(e, r) {
|
|
21719
21686
|
var n = 0;
|
|
21720
|
-
return
|
|
21687
|
+
return "]" !== r && ")" !== r && "end" !== r && "else" !== r && "catch" !== r && "elseif" !== r && "finally" !== r || (n = -1), (e.scopes.length + n) * t.indentUnit;
|
|
21721
21688
|
},
|
|
21722
21689
|
electricInput: /\b(end|else|catch|finally)\b/,
|
|
21723
21690
|
blockCommentStart: "#=",
|
|
@@ -21729,6 +21696,96 @@ var _typeof = __webpack_require__(8);
|
|
|
21729
21696
|
}), e.defineMIME("text/x-julia", "julia");
|
|
21730
21697
|
}, "object" == s(t) && "object" == s(e) ? a(r(9074)) : (i = [r(9074)], void 0 === (o = "function" == typeof (n = a) ? n.apply(t, i) : n) || (e.exports = o));
|
|
21731
21698
|
},
|
|
21699
|
+
4581: function _(e, t, r) {
|
|
21700
|
+
var n, i, o, a;
|
|
21701
|
+
|
|
21702
|
+
function s(e) {
|
|
21703
|
+
return s = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) {
|
|
21704
|
+
return _typeof(e);
|
|
21705
|
+
} : function (e) {
|
|
21706
|
+
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e);
|
|
21707
|
+
}, s(e);
|
|
21708
|
+
}
|
|
21709
|
+
|
|
21710
|
+
e = r.nmd(e), a = function a(e) {
|
|
21711
|
+
"use strict";
|
|
21712
|
+
|
|
21713
|
+
e.defineMode("lua", function (e, t) {
|
|
21714
|
+
var r = e.indentUnit;
|
|
21715
|
+
|
|
21716
|
+
function n(e) {
|
|
21717
|
+
return new RegExp("^(?:" + e.join("|") + ")$", "i");
|
|
21718
|
+
}
|
|
21719
|
+
|
|
21720
|
+
var i = n(t.specials || []),
|
|
21721
|
+
o = n(["_G", "_VERSION", "assert", "collectgarbage", "dofile", "error", "getfenv", "getmetatable", "ipairs", "load", "loadfile", "loadstring", "module", "next", "pairs", "pcall", "print", "rawequal", "rawget", "rawset", "require", "select", "setfenv", "setmetatable", "tonumber", "tostring", "type", "unpack", "xpcall", "coroutine.create", "coroutine.resume", "coroutine.running", "coroutine.status", "coroutine.wrap", "coroutine.yield", "debug.debug", "debug.getfenv", "debug.gethook", "debug.getinfo", "debug.getlocal", "debug.getmetatable", "debug.getregistry", "debug.getupvalue", "debug.setfenv", "debug.sethook", "debug.setlocal", "debug.setmetatable", "debug.setupvalue", "debug.traceback", "close", "flush", "lines", "read", "seek", "setvbuf", "write", "io.close", "io.flush", "io.input", "io.lines", "io.open", "io.output", "io.popen", "io.read", "io.stderr", "io.stdin", "io.stdout", "io.tmpfile", "io.type", "io.write", "math.abs", "math.acos", "math.asin", "math.atan", "math.atan2", "math.ceil", "math.cos", "math.cosh", "math.deg", "math.exp", "math.floor", "math.fmod", "math.frexp", "math.huge", "math.ldexp", "math.log", "math.log10", "math.max", "math.min", "math.modf", "math.pi", "math.pow", "math.rad", "math.random", "math.randomseed", "math.sin", "math.sinh", "math.sqrt", "math.tan", "math.tanh", "os.clock", "os.date", "os.difftime", "os.execute", "os.exit", "os.getenv", "os.remove", "os.rename", "os.setlocale", "os.time", "os.tmpname", "package.cpath", "package.loaded", "package.loaders", "package.loadlib", "package.path", "package.preload", "package.seeall", "string.byte", "string.char", "string.dump", "string.find", "string.format", "string.gmatch", "string.gsub", "string.len", "string.lower", "string.match", "string.rep", "string.reverse", "string.sub", "string.upper", "table.concat", "table.insert", "table.maxn", "table.remove", "table.sort"]),
|
|
21722
|
+
a = n(["and", "break", "elseif", "false", "nil", "not", "or", "return", "true", "function", "end", "if", "then", "else", "do", "while", "repeat", "until", "for", "in", "local"]),
|
|
21723
|
+
s = n(["function", "if", "repeat", "do", "\\(", "{"]),
|
|
21724
|
+
l = n(["end", "until", "\\)", "}"]),
|
|
21725
|
+
c = new RegExp("^(?:" + ["end", "until", "\\)", "}", "else", "elseif"].join("|") + ")", "i");
|
|
21726
|
+
|
|
21727
|
+
function u(e) {
|
|
21728
|
+
for (var t = 0; e.eat("=");) {
|
|
21729
|
+
++t;
|
|
21730
|
+
}
|
|
21731
|
+
|
|
21732
|
+
return e.eat("["), t;
|
|
21733
|
+
}
|
|
21734
|
+
|
|
21735
|
+
function d(e, t) {
|
|
21736
|
+
var r,
|
|
21737
|
+
n = e.next();
|
|
21738
|
+
return "-" == n && e.eat("-") ? e.eat("[") && e.eat("[") ? (t.cur = p(u(e), "comment"))(e, t) : (e.skipToEnd(), "comment") : '"' == n || "'" == n ? (t.cur = (r = n, function (e, t) {
|
|
21739
|
+
for (var n, i = !1; null != (n = e.next()) && (n != r || i);) {
|
|
21740
|
+
i = !i && "\\" == n;
|
|
21741
|
+
}
|
|
21742
|
+
|
|
21743
|
+
return i || (t.cur = d), "string";
|
|
21744
|
+
}))(e, t) : "[" == n && /[\[=]/.test(e.peek()) ? (t.cur = p(u(e), "string"))(e, t) : /\d/.test(n) ? (e.eatWhile(/[\w.%]/), "number") : /[\w_]/.test(n) ? (e.eatWhile(/[\w\\\-_.]/), "variable") : null;
|
|
21745
|
+
}
|
|
21746
|
+
|
|
21747
|
+
function p(e, t) {
|
|
21748
|
+
return function (r, n) {
|
|
21749
|
+
for (var i, o = null; null != (i = r.next());) {
|
|
21750
|
+
if (null == o) "]" == i && (o = 0);else if ("=" == i) ++o;else {
|
|
21751
|
+
if ("]" == i && o == e) {
|
|
21752
|
+
n.cur = d;
|
|
21753
|
+
break;
|
|
21754
|
+
}
|
|
21755
|
+
|
|
21756
|
+
o = null;
|
|
21757
|
+
}
|
|
21758
|
+
}
|
|
21759
|
+
|
|
21760
|
+
return t;
|
|
21761
|
+
};
|
|
21762
|
+
}
|
|
21763
|
+
|
|
21764
|
+
return {
|
|
21765
|
+
startState: function startState(e) {
|
|
21766
|
+
return {
|
|
21767
|
+
basecol: e || 0,
|
|
21768
|
+
indentDepth: 0,
|
|
21769
|
+
cur: d
|
|
21770
|
+
};
|
|
21771
|
+
},
|
|
21772
|
+
token: function token(e, t) {
|
|
21773
|
+
if (e.eatSpace()) return null;
|
|
21774
|
+
var r = t.cur(e, t),
|
|
21775
|
+
n = e.current();
|
|
21776
|
+
return "variable" == r && (a.test(n) ? r = "keyword" : o.test(n) ? r = "builtin" : i.test(n) && (r = "variable-2")), "comment" != r && "string" != r && (s.test(n) ? ++t.indentDepth : l.test(n) && --t.indentDepth), r;
|
|
21777
|
+
},
|
|
21778
|
+
indent: function indent(e, t) {
|
|
21779
|
+
var n = c.test(t);
|
|
21780
|
+
return e.basecol + r * (e.indentDepth - (n ? 1 : 0));
|
|
21781
|
+
},
|
|
21782
|
+
lineComment: "--",
|
|
21783
|
+
blockCommentStart: "--[[",
|
|
21784
|
+
blockCommentEnd: "]]"
|
|
21785
|
+
};
|
|
21786
|
+
}), e.defineMIME("text/x-lua", "lua");
|
|
21787
|
+
}, "object" == s(t) && "object" == s(e) ? a(r(9074)) : (i = [r(9074)], void 0 === (o = "function" == typeof (n = a) ? n.apply(t, i) : n) || (e.exports = o));
|
|
21788
|
+
},
|
|
21732
21789
|
318: function _(e, t, r) {
|
|
21733
21790
|
var n, i, o, a;
|
|
21734
21791
|
|
|
@@ -21783,7 +21840,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21783
21840
|
name: "Cobol",
|
|
21784
21841
|
mime: "text/x-cobol",
|
|
21785
21842
|
mode: "cobol",
|
|
21786
|
-
ext: ["cob", "cpy"
|
|
21843
|
+
ext: ["cob", "cpy"]
|
|
21787
21844
|
}, {
|
|
21788
21845
|
name: "C#",
|
|
21789
21846
|
mime: "text/x-csharp",
|
|
@@ -21810,7 +21867,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21810
21867
|
mime: "text/x-cmake",
|
|
21811
21868
|
mode: "cmake",
|
|
21812
21869
|
ext: ["cmake", "cmake.in"],
|
|
21813
|
-
file: /^CMakeLists
|
|
21870
|
+
file: /^CMakeLists.txt$/
|
|
21814
21871
|
}, {
|
|
21815
21872
|
name: "CoffeeScript",
|
|
21816
21873
|
mimes: ["application/vnd.coffeescript", "text/coffeescript", "text/x-coffeescript"],
|
|
@@ -21907,7 +21964,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21907
21964
|
mode: "elm",
|
|
21908
21965
|
ext: ["elm"]
|
|
21909
21966
|
}, {
|
|
21910
|
-
name: "Embedded
|
|
21967
|
+
name: "Embedded Javascript",
|
|
21911
21968
|
mime: "application/x-ejs",
|
|
21912
21969
|
mode: "htmlembedded",
|
|
21913
21970
|
ext: ["ejs"]
|
|
@@ -21964,7 +22021,7 @@ var _typeof = __webpack_require__(8);
|
|
|
21964
22021
|
name: "GitHub Flavored Markdown",
|
|
21965
22022
|
mime: "text/x-gfm",
|
|
21966
22023
|
mode: "gfm",
|
|
21967
|
-
file: /^(readme|contributing|history)
|
|
22024
|
+
file: /^(readme|contributing|history).md$/i
|
|
21968
22025
|
}, {
|
|
21969
22026
|
name: "Go",
|
|
21970
22027
|
mime: "text/x-go",
|
|
@@ -22071,8 +22128,7 @@ var _typeof = __webpack_require__(8);
|
|
|
22071
22128
|
name: "Julia",
|
|
22072
22129
|
mime: "text/x-julia",
|
|
22073
22130
|
mode: "julia",
|
|
22074
|
-
ext: ["jl"]
|
|
22075
|
-
alias: ["jl"]
|
|
22131
|
+
ext: ["jl"]
|
|
22076
22132
|
}, {
|
|
22077
22133
|
name: "Kotlin",
|
|
22078
22134
|
mime: "text/x-kotlin",
|
|
@@ -22537,11 +22593,6 @@ var _typeof = __webpack_require__(8);
|
|
|
22537
22593
|
mime: "text/x-msgenny",
|
|
22538
22594
|
mode: "mscgen",
|
|
22539
22595
|
ext: ["msgenny"]
|
|
22540
|
-
}, {
|
|
22541
|
-
name: "WebAssembly",
|
|
22542
|
-
mime: "text/webassembly",
|
|
22543
|
-
mode: "wast",
|
|
22544
|
-
ext: ["wat", "wast"]
|
|
22545
22596
|
}];
|
|
22546
22597
|
|
|
22547
22598
|
for (var t = 0; t < e.modeInfo.length; t++) {
|
|
@@ -23393,7 +23444,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23393
23444
|
if (c.eatSpace()) return null;
|
|
23394
23445
|
if (u.chain) return s(c, u, u.chain, u.style, u.tail);
|
|
23395
23446
|
if (c.match(/^\-?[\d\.]/, !1) && c.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/)) return "number";
|
|
23396
|
-
if (c.match(/^<<(
|
|
23447
|
+
if (c.match(/^<<(?=\w)/)) return c.eatWhile(/\w/), l(c, u, c.current().substr(2));
|
|
23397
23448
|
if (c.sol() && c.match(/^\=item(?!\w)/)) return l(c, u, "=cut");
|
|
23398
23449
|
var d = c.next();
|
|
23399
23450
|
|
|
@@ -23469,7 +23520,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23469
23520
|
c.pos = p;
|
|
23470
23521
|
}
|
|
23471
23522
|
|
|
23472
|
-
if (/[$@%&]/.test(d) && (c.eatWhile(/[\w
|
|
23523
|
+
if (/[$@%&]/.test(d) && (c.eatWhile(/[\w$\[\]]/) || c.eat("{") && c.eatWhile(/[\w$\[\]]/) && c.eat("}"))) return m = c.current(), e[m] ? "variable-2" : "variable";
|
|
23473
23524
|
if ("#" == d && "$" != t(c, -2)) return c.skipToEnd(), "comment";
|
|
23474
23525
|
|
|
23475
23526
|
if (/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)) {
|
|
@@ -23550,7 +23601,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23550
23601
|
return function (n, i) {
|
|
23551
23602
|
return function (e, t, n, i) {
|
|
23552
23603
|
if (!1 !== i && e.match("${", !1) || e.match("{$", !1)) return t.tokenize = null, "string";
|
|
23553
|
-
if (!1 !== i && e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/)) return e.match("[", !1) && (t.tokenize = r([[["[", null]], [[/\d[\w\.]*/, "number"], [/\$[a-zA-Z_][a-zA-Z0-9_]*/, "variable-2"], [/[\w\$]+/, "variable"]], [["]", null]]], n, i)), e.match(
|
|
23604
|
+
if (!1 !== i && e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/)) return e.match("[", !1) && (t.tokenize = r([[["[", null]], [[/\d[\w\.]*/, "number"], [/\$[a-zA-Z_][a-zA-Z0-9_]*/, "variable-2"], [/[\w\$]+/, "variable"]], [["]", null]]], n, i)), e.match(/\-\>\w/, !1) && (t.tokenize = r([[["->", null]], [[/[\w]+/, "variable"]]], n, i)), "variable-2";
|
|
23554
23605
|
|
|
23555
23606
|
for (var o = !1; !e.eol() && (o || !1 === i || !e.match("{$", !1) && !e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/, !1));) {
|
|
23556
23607
|
if (!o && e.match(n)) {
|
|
@@ -23568,7 +23619,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23568
23619
|
|
|
23569
23620
|
var i = "abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",
|
|
23570
23621
|
o = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",
|
|
23571
|
-
a = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage
|
|
23622
|
+
a = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
|
|
23572
23623
|
e.registerHelper("hintWords", "php", [i, o, a].join(" ").split(" ")), e.registerHelper("wordChars", "php", /[\w$]/);
|
|
23573
23624
|
var s = {
|
|
23574
23625
|
name: "clike",
|
|
@@ -23586,7 +23637,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23586
23637
|
"<": function _(e, t) {
|
|
23587
23638
|
var r;
|
|
23588
23639
|
|
|
23589
|
-
if (r = e.match(
|
|
23640
|
+
if (r = e.match(/<<\s*/)) {
|
|
23590
23641
|
var i = e.eat(/['"]/);
|
|
23591
23642
|
e.eatWhile(/[\w\.]/);
|
|
23592
23643
|
var o = e.current().slice(r[0].length + (i ? 2 : 1));
|
|
@@ -23930,7 +23981,7 @@ var _typeof = __webpack_require__(8);
|
|
|
23930
23981
|
if (h) {
|
|
23931
23982
|
var g = s.identifiers || /^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;
|
|
23932
23983
|
f = f.concat(["nonlocal", "False", "True", "None", "async", "await"]), m = m.concat(["ascii", "bytes", "exec", "print"]);
|
|
23933
|
-
var y = new RegExp("^(([rbuf]|(br)|(
|
|
23984
|
+
var y = new RegExp("^(([rbuf]|(br)|(fr))?('{3}|\"{3}|['\"]))", "i");
|
|
23934
23985
|
} else g = s.identifiers || /^[_A-Za-z][_A-Za-z0-9]*/, f = f.concat(["exec", "print"]), m = m.concat(["apply", "basestring", "buffer", "cmp", "coerce", "execfile", "file", "intern", "long", "raw_input", "reduce", "reload", "unichr", "unicode", "xrange", "False", "True", "None"]), y = new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))", "i");
|
|
23935
23986
|
|
|
23936
23987
|
var v = t(f),
|
|
@@ -24061,16 +24112,16 @@ var _typeof = __webpack_require__(8);
|
|
|
24061
24112
|
}
|
|
24062
24113
|
|
|
24063
24114
|
function S(e, t) {
|
|
24064
|
-
e.sol() && (t.beginningOfLine = !0
|
|
24115
|
+
e.sol() && (t.beginningOfLine = !0);
|
|
24065
24116
|
var r = t.tokenize(e, t),
|
|
24066
24117
|
n = e.current();
|
|
24067
24118
|
if (t.beginningOfLine && "@" == n) return e.match(g, !1) ? "meta" : h ? "operator" : l;
|
|
24068
24119
|
|
|
24069
|
-
if (/\S/.test(n) && (t.beginningOfLine = !1), "variable" != r && "builtin" != r || "meta" != t.lastToken || (r = "meta"), "pass" != n && "return" != n || (t.dedent
|
|
24120
|
+
if (/\S/.test(n) && (t.beginningOfLine = !1), "variable" != r && "builtin" != r || "meta" != t.lastToken || (r = "meta"), "pass" != n && "return" != n || (t.dedent += 1), "lambda" == n && (t.lambda = !0), ":" != n || t.lambda || "py" != a(t).type || w(t), 1 == n.length && !/string|comment/.test(r)) {
|
|
24070
24121
|
var i = "[({".indexOf(n);
|
|
24071
24122
|
|
|
24072
24123
|
if (-1 != i && function (e, t, r) {
|
|
24073
|
-
var n = e.match(/^[\s\[\{\(]
|
|
24124
|
+
var n = e.match(/^([\s\[\{\(]|#.*)*$/, !1) ? null : e.column() + 1;
|
|
24074
24125
|
t.scopes.push({
|
|
24075
24126
|
offset: t.indent + p,
|
|
24076
24127
|
type: r,
|
|
@@ -24082,7 +24133,7 @@ var _typeof = __webpack_require__(8);
|
|
|
24082
24133
|
}
|
|
24083
24134
|
}
|
|
24084
24135
|
|
|
24085
|
-
return t.dedent && e.eol() && "py" == a(t).type && t.scopes.length > 1 && t.scopes.pop(), r;
|
|
24136
|
+
return t.dedent > 0 && e.eol() && "py" == a(t).type && (t.scopes.length > 1 && t.scopes.pop(), t.dedent -= 1), r;
|
|
24086
24137
|
}
|
|
24087
24138
|
|
|
24088
24139
|
return {
|
|
@@ -24109,10 +24160,10 @@ var _typeof = __webpack_require__(8);
|
|
|
24109
24160
|
indent: function indent(t, r) {
|
|
24110
24161
|
if (t.tokenize != x) return t.tokenize.isString ? e.Pass : 0;
|
|
24111
24162
|
var n = a(t),
|
|
24112
|
-
i = n.type == r.charAt(0)
|
|
24163
|
+
i = n.type == r.charAt(0);
|
|
24113
24164
|
return null != n.align ? n.align - (i ? 1 : 0) : n.offset - (i ? p : 0);
|
|
24114
24165
|
},
|
|
24115
|
-
electricInput: /^\s*
|
|
24166
|
+
electricInput: /^\s*[\}\]\)]$/,
|
|
24116
24167
|
closeBrackets: {
|
|
24117
24168
|
triples: "'\""
|
|
24118
24169
|
},
|
|
@@ -24188,9 +24239,9 @@ var _typeof = __webpack_require__(8);
|
|
|
24188
24239
|
return "string";
|
|
24189
24240
|
}), "string";
|
|
24190
24241
|
if ("`" == n) return e.match(/[^`]+`/), "variable-3";
|
|
24191
|
-
if ("." == n && e.match(/.
|
|
24242
|
+
if ("." == n && e.match(/.[.\d]+/)) return "keyword";
|
|
24192
24243
|
|
|
24193
|
-
if (/[
|
|
24244
|
+
if (/[\w\.]/.test(n) && "_" != n) {
|
|
24194
24245
|
e.eatWhile(/[\w\.]/);
|
|
24195
24246
|
var i = e.current();
|
|
24196
24247
|
return s.propertyIsEnumerable(i) ? "atom" : c.propertyIsEnumerable(i) ? (u.propertyIsEnumerable(i) && !e.match(/\s*if(\s+|$)/, !1) && (a = "block"), "keyword") : l.propertyIsEnumerable(i) ? "builtin" : "variable";
|
|
@@ -24268,44 +24319,43 @@ var _typeof = __webpack_require__(8);
|
|
|
24268
24319
|
e = r.nmd(e), a = function a(e) {
|
|
24269
24320
|
"use strict";
|
|
24270
24321
|
|
|
24271
|
-
function t
|
|
24272
|
-
|
|
24273
|
-
t
|
|
24274
|
-
|
|
24322
|
+
e.defineMode("ruby", function (t) {
|
|
24323
|
+
function r(e) {
|
|
24324
|
+
for (var t = {}, r = 0, n = e.length; r < n; ++r) {
|
|
24325
|
+
t[e[r]] = !0;
|
|
24326
|
+
}
|
|
24275
24327
|
|
|
24276
|
-
|
|
24277
|
-
|
|
24328
|
+
return t;
|
|
24329
|
+
}
|
|
24278
24330
|
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24284
|
-
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
e.defineMode("ruby", function (t) {
|
|
24294
|
-
var r;
|
|
24331
|
+
var n,
|
|
24332
|
+
i = r(["alias", "and", "BEGIN", "begin", "break", "case", "class", "def", "defined?", "do", "else", "elsif", "END", "end", "ensure", "false", "for", "if", "in", "module", "next", "not", "or", "redo", "rescue", "retry", "return", "self", "super", "then", "true", "undef", "unless", "until", "when", "while", "yield", "nil", "raise", "throw", "catch", "fail", "loop", "callcc", "caller", "lambda", "proc", "public", "protected", "private", "require", "load", "require_relative", "extend", "autoload", "__END__", "__FILE__", "__LINE__", "__dir__"]),
|
|
24333
|
+
o = r(["def", "class", "case", "for", "while", "until", "module", "then", "catch", "loop", "proc", "begin"]),
|
|
24334
|
+
a = r(["end", "until"]),
|
|
24335
|
+
s = {
|
|
24336
|
+
"[": "]",
|
|
24337
|
+
"{": "}",
|
|
24338
|
+
"(": ")"
|
|
24339
|
+
},
|
|
24340
|
+
l = {
|
|
24341
|
+
"]": "[",
|
|
24342
|
+
"}": "{",
|
|
24343
|
+
")": "("
|
|
24344
|
+
};
|
|
24295
24345
|
|
|
24296
|
-
function
|
|
24346
|
+
function c(e, t, r) {
|
|
24297
24347
|
return r.tokenize.push(e), e(t, r);
|
|
24298
24348
|
}
|
|
24299
24349
|
|
|
24300
|
-
function
|
|
24301
|
-
if (e.sol() && e.match("=begin") && e.eol()) return t.tokenize.push(
|
|
24350
|
+
function u(e, t) {
|
|
24351
|
+
if (e.sol() && e.match("=begin") && e.eol()) return t.tokenize.push(m), "comment";
|
|
24302
24352
|
if (e.eatSpace()) return null;
|
|
24303
|
-
var
|
|
24353
|
+
var r,
|
|
24304
24354
|
i,
|
|
24305
24355
|
o,
|
|
24306
|
-
|
|
24307
|
-
if ("`" ==
|
|
24308
|
-
if ("/" ==
|
|
24356
|
+
a = e.next();
|
|
24357
|
+
if ("`" == a || "'" == a || '"' == a) return c(f(a, "string", '"' == a || "`" == a), e, t);
|
|
24358
|
+
if ("/" == a) return function (e) {
|
|
24309
24359
|
for (var t, r = e.pos, n = 0, i = !1, o = !1; null != (t = e.next());) {
|
|
24310
24360
|
if (o) o = !1;else {
|
|
24311
24361
|
if ("[{(".indexOf(t) > -1) n++;else if ("]})".indexOf(t) > -1) {
|
|
@@ -24319,24 +24369,24 @@ var _typeof = __webpack_require__(8);
|
|
|
24319
24369
|
}
|
|
24320
24370
|
|
|
24321
24371
|
return e.backUp(e.pos - r), i;
|
|
24322
|
-
}(e) ?
|
|
24372
|
+
}(e) ? c(f(a, "string-2", !0), e, t) : "operator";
|
|
24323
24373
|
|
|
24324
|
-
if ("%" ==
|
|
24325
|
-
var
|
|
24374
|
+
if ("%" == a) {
|
|
24375
|
+
var l = "string",
|
|
24326
24376
|
u = !0;
|
|
24327
|
-
e.eat("s") ?
|
|
24377
|
+
e.eat("s") ? l = "atom" : e.eat(/[WQ]/) ? l = "string" : e.eat(/[r]/) ? l = "string-2" : e.eat(/[wxq]/) && (l = "string", u = !1);
|
|
24328
24378
|
var d = e.eat(/[^\w\s=]/);
|
|
24329
|
-
return d ? (
|
|
24379
|
+
return d ? (s.propertyIsEnumerable(d) && (d = s[d]), c(f(d, l, u, !0), e, t)) : "operator";
|
|
24330
24380
|
}
|
|
24331
24381
|
|
|
24332
|
-
if ("#" ==
|
|
24333
|
-
if ("<" ==
|
|
24382
|
+
if ("#" == a) return e.skipToEnd(), "comment";
|
|
24383
|
+
if ("<" == a && (r = e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/))) return c((i = r[2], o = r[1], function (e, t) {
|
|
24334
24384
|
return o && e.eatSpace(), e.match(i) ? t.tokenize.pop() : e.skipToEnd(), "string";
|
|
24335
24385
|
}), e, t);
|
|
24336
|
-
if ("0" ==
|
|
24337
|
-
if (/\d/.test(
|
|
24386
|
+
if ("0" == a) return e.eat("x") ? e.eatWhile(/[\da-fA-F]/) : e.eat("b") ? e.eatWhile(/[01]/) : e.eatWhile(/[0-7]/), "number";
|
|
24387
|
+
if (/\d/.test(a)) return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/), "number";
|
|
24338
24388
|
|
|
24339
|
-
if ("?" ==
|
|
24389
|
+
if ("?" == a) {
|
|
24340
24390
|
for (; e.match(/^\\[CM]-/);) {
|
|
24341
24391
|
;
|
|
24342
24392
|
}
|
|
@@ -24344,45 +24394,45 @@ var _typeof = __webpack_require__(8);
|
|
|
24344
24394
|
return e.eat("\\") ? e.eatWhile(/\w/) : e.next(), "string";
|
|
24345
24395
|
}
|
|
24346
24396
|
|
|
24347
|
-
if (":" ==
|
|
24348
|
-
if ("@" ==
|
|
24349
|
-
if ("$" ==
|
|
24350
|
-
if (/[a-zA-Z_\xa1-\uffff]/.test(
|
|
24397
|
+
if (":" == a) return e.eat("'") ? c(f("'", "atom", !1), e, t) : e.eat('"') ? c(f('"', "atom", !0), e, t) : e.eat(/[\<\>]/) ? (e.eat(/[\<\>]/), "atom") : e.eat(/[\+\-\*\/\&\|\:\!]/) ? "atom" : e.eat(/[a-zA-Z$@_\xa1-\uffff]/) ? (e.eatWhile(/[\w$\xa1-\uffff]/), e.eat(/[\?\!\=]/), "atom") : "operator";
|
|
24398
|
+
if ("@" == a && e.match(/^@?[a-zA-Z_\xa1-\uffff]/)) return e.eat("@"), e.eatWhile(/[\w\xa1-\uffff]/), "variable-2";
|
|
24399
|
+
if ("$" == a) return e.eat(/[a-zA-Z_]/) ? e.eatWhile(/[\w]/) : e.eat(/\d/) ? e.eat(/\d/) : e.next(), "variable-3";
|
|
24400
|
+
if (/[a-zA-Z_\xa1-\uffff]/.test(a)) return e.eatWhile(/[\w\xa1-\uffff]/), e.eat(/[\?\!]/), e.eat(":") ? "atom" : "ident";
|
|
24351
24401
|
|
|
24352
|
-
if ("|" !=
|
|
24353
|
-
if (/[\(\)\[\]{}\\;]/.test(
|
|
24354
|
-
if ("-" ==
|
|
24402
|
+
if ("|" != a || !t.varList && "{" != t.lastTok && "do" != t.lastTok) {
|
|
24403
|
+
if (/[\(\)\[\]{}\\;]/.test(a)) return n = a, null;
|
|
24404
|
+
if ("-" == a && e.eat(">")) return "arrow";
|
|
24355
24405
|
|
|
24356
|
-
if (/[=+\-\/*:\.^%<>~|]/.test(
|
|
24357
|
-
var
|
|
24358
|
-
return "." !=
|
|
24406
|
+
if (/[=+\-\/*:\.^%<>~|]/.test(a)) {
|
|
24407
|
+
var p = e.eatWhile(/[=+\-\/*:\.^%<>~|]/);
|
|
24408
|
+
return "." != a || p || (n = "."), "operator";
|
|
24359
24409
|
}
|
|
24360
24410
|
|
|
24361
24411
|
return null;
|
|
24362
24412
|
}
|
|
24363
24413
|
|
|
24364
|
-
return
|
|
24414
|
+
return n = "|", null;
|
|
24365
24415
|
}
|
|
24366
24416
|
|
|
24367
|
-
function
|
|
24417
|
+
function d(e) {
|
|
24368
24418
|
return e || (e = 1), function (t, r) {
|
|
24369
24419
|
if ("}" == t.peek()) {
|
|
24370
24420
|
if (1 == e) return r.tokenize.pop(), r.tokenize[r.tokenize.length - 1](t, r);
|
|
24371
|
-
r.tokenize[r.tokenize.length - 1] =
|
|
24372
|
-
} else "{" == t.peek() && (r.tokenize[r.tokenize.length - 1] =
|
|
24421
|
+
r.tokenize[r.tokenize.length - 1] = d(e - 1);
|
|
24422
|
+
} else "{" == t.peek() && (r.tokenize[r.tokenize.length - 1] = d(e + 1));
|
|
24373
24423
|
|
|
24374
|
-
return
|
|
24424
|
+
return u(t, r);
|
|
24375
24425
|
};
|
|
24376
24426
|
}
|
|
24377
24427
|
|
|
24378
|
-
function
|
|
24428
|
+
function p() {
|
|
24379
24429
|
var e = !1;
|
|
24380
24430
|
return function (t, r) {
|
|
24381
|
-
return e ? (r.tokenize.pop(), r.tokenize[r.tokenize.length - 1](t, r)) : (e = !0,
|
|
24431
|
+
return e ? (r.tokenize.pop(), r.tokenize[r.tokenize.length - 1](t, r)) : (e = !0, u(t, r));
|
|
24382
24432
|
};
|
|
24383
24433
|
}
|
|
24384
24434
|
|
|
24385
|
-
function
|
|
24435
|
+
function f(e, t, r, n) {
|
|
24386
24436
|
return function (i, o) {
|
|
24387
24437
|
var a,
|
|
24388
24438
|
s = !1;
|
|
@@ -24398,12 +24448,12 @@ var _typeof = __webpack_require__(8);
|
|
|
24398
24448
|
"}" == e && (o.context = {
|
|
24399
24449
|
prev: o.context,
|
|
24400
24450
|
type: "read-quoted-paused"
|
|
24401
|
-
}), o.tokenize.push(
|
|
24451
|
+
}), o.tokenize.push(d());
|
|
24402
24452
|
break;
|
|
24403
24453
|
}
|
|
24404
24454
|
|
|
24405
24455
|
if (/[@\$]/.test(i.peek())) {
|
|
24406
|
-
o.tokenize.push(
|
|
24456
|
+
o.tokenize.push(p());
|
|
24407
24457
|
break;
|
|
24408
24458
|
}
|
|
24409
24459
|
}
|
|
@@ -24415,14 +24465,14 @@ var _typeof = __webpack_require__(8);
|
|
|
24415
24465
|
};
|
|
24416
24466
|
}
|
|
24417
24467
|
|
|
24418
|
-
function
|
|
24468
|
+
function m(e, t) {
|
|
24419
24469
|
return e.sol() && e.match("=end") && e.eol() && t.tokenize.pop(), e.skipToEnd(), "comment";
|
|
24420
24470
|
}
|
|
24421
24471
|
|
|
24422
24472
|
return {
|
|
24423
24473
|
startState: function startState() {
|
|
24424
24474
|
return {
|
|
24425
|
-
tokenize: [
|
|
24475
|
+
tokenize: [u],
|
|
24426
24476
|
indented: 0,
|
|
24427
24477
|
context: {
|
|
24428
24478
|
type: "top",
|
|
@@ -24434,34 +24484,34 @@ var _typeof = __webpack_require__(8);
|
|
|
24434
24484
|
};
|
|
24435
24485
|
},
|
|
24436
24486
|
token: function token(e, t) {
|
|
24437
|
-
|
|
24438
|
-
var
|
|
24487
|
+
n = null, e.sol() && (t.indented = e.indentation());
|
|
24488
|
+
var r,
|
|
24439
24489
|
s = t.tokenize[t.tokenize.length - 1](e, t),
|
|
24440
|
-
l =
|
|
24490
|
+
l = n;
|
|
24441
24491
|
|
|
24442
24492
|
if ("ident" == s) {
|
|
24443
24493
|
var c = e.current();
|
|
24444
|
-
"keyword" == (s = "." == t.lastTok ? "property" :
|
|
24494
|
+
"keyword" == (s = "." == t.lastTok ? "property" : i.propertyIsEnumerable(e.current()) ? "keyword" : /^[A-Z]/.test(c) ? "tag" : "def" == t.lastTok || "class" == t.lastTok || t.varList ? "def" : "variable") && (l = c, o.propertyIsEnumerable(c) ? r = "indent" : a.propertyIsEnumerable(c) ? r = "dedent" : "if" != c && "unless" != c || e.column() != e.indentation() ? "do" == c && t.context.indented < t.indented && (r = "indent") : r = "indent");
|
|
24445
24495
|
}
|
|
24446
24496
|
|
|
24447
|
-
return (
|
|
24497
|
+
return (n || s && "comment" != s) && (t.lastTok = l), "|" == n && (t.varList = !t.varList), "indent" == r || /[\(\[\{]/.test(n) ? t.context = {
|
|
24448
24498
|
prev: t.context,
|
|
24449
|
-
type:
|
|
24499
|
+
type: n || s,
|
|
24450
24500
|
indented: t.indented
|
|
24451
|
-
} : ("dedent" ==
|
|
24501
|
+
} : ("dedent" == r || /[\)\]\}]/.test(n)) && t.context.prev && (t.context = t.context.prev), e.eol() && (t.continuedLine = "\\" == n || "operator" == s), s;
|
|
24452
24502
|
},
|
|
24453
24503
|
indent: function indent(r, n) {
|
|
24454
|
-
if (r.tokenize[r.tokenize.length - 1] !=
|
|
24504
|
+
if (r.tokenize[r.tokenize.length - 1] != u) return e.Pass;
|
|
24455
24505
|
var i = n && n.charAt(0),
|
|
24456
24506
|
o = r.context,
|
|
24457
|
-
a = o.type ==
|
|
24507
|
+
a = o.type == l[i] || "keyword" == o.type && /^(?:end|until|else|elsif|when|rescue)\b/.test(n);
|
|
24458
24508
|
return o.indented + (a ? 0 : t.indentUnit) + (r.continuedLine ? t.indentUnit : 0);
|
|
24459
24509
|
},
|
|
24460
24510
|
electricInput: /^\s*(?:end|rescue|elsif|else|\})$/,
|
|
24461
24511
|
lineComment: "#",
|
|
24462
24512
|
fold: "indent"
|
|
24463
24513
|
};
|
|
24464
|
-
}), e.defineMIME("text/x-ruby", "ruby")
|
|
24514
|
+
}), e.defineMIME("text/x-ruby", "ruby");
|
|
24465
24515
|
}, "object" == s(t) && "object" == s(e) ? a(r(9074)) : (i = [r(9074)], void 0 === (o = "function" == typeof (n = a) ? n.apply(t, i) : n) || (e.exports = o));
|
|
24466
24516
|
},
|
|
24467
24517
|
8058: function _(e, t, r) {
|
|
@@ -24613,28 +24663,18 @@ var _typeof = __webpack_require__(8);
|
|
|
24613
24663
|
|
|
24614
24664
|
function a(e, r) {
|
|
24615
24665
|
if (e.eatSpace()) return null;
|
|
24616
|
-
var n,
|
|
24617
|
-
i = e.
|
|
24618
|
-
|
|
24619
|
-
if ("
|
|
24620
|
-
if ("
|
|
24621
|
-
if ("
|
|
24622
|
-
if ("
|
|
24623
|
-
if ("
|
|
24624
|
-
if (
|
|
24625
|
-
|
|
24626
|
-
if ("<" == o) {
|
|
24627
|
-
if (e.match("<<")) return "operator";
|
|
24628
|
-
var a = e.match(/^<-?\s*['"]?([^'"]*)['"]?/);
|
|
24629
|
-
if (a) return r.tokens.unshift((n = a[1], function (e, t) {
|
|
24630
|
-
return e.sol() && e.string == n && t.tokens.shift(), e.skipToEnd(), "string-2";
|
|
24631
|
-
})), "string-2";
|
|
24632
|
-
}
|
|
24633
|
-
|
|
24634
|
-
if (/\d/.test(o) && (e.eatWhile(/\d/), e.eol() || !/\w/.test(e.peek()))) return "number";
|
|
24666
|
+
var n = e.sol(),
|
|
24667
|
+
i = e.next();
|
|
24668
|
+
if ("\\" === i) return e.next(), null;
|
|
24669
|
+
if ("'" === i || '"' === i || "`" === i) return r.tokens.unshift(s(i, "`" === i ? "quote" : "string")), u(e, r);
|
|
24670
|
+
if ("#" === i) return n && e.eat("!") ? (e.skipToEnd(), "meta") : (e.skipToEnd(), "comment");
|
|
24671
|
+
if ("$" === i) return r.tokens.unshift(c), u(e, r);
|
|
24672
|
+
if ("+" === i || "=" === i) return "operator";
|
|
24673
|
+
if ("-" === i) return e.eat("-"), e.eatWhile(/\w/), "attribute";
|
|
24674
|
+
if (/\d/.test(i) && (e.eatWhile(/\d/), e.eol() || !/\w/.test(e.peek()))) return "number";
|
|
24635
24675
|
e.eatWhile(/[\w-]/);
|
|
24636
|
-
var
|
|
24637
|
-
return "=" === e.peek() && /\w+/.test(
|
|
24676
|
+
var o = e.current();
|
|
24677
|
+
return "=" === e.peek() && /\w+/.test(o) ? "def" : t.hasOwnProperty(o) ? t[o] : null;
|
|
24638
24678
|
}
|
|
24639
24679
|
|
|
24640
24680
|
function s(e, t) {
|
|
@@ -24722,7 +24762,7 @@ var _typeof = __webpack_require__(8);
|
|
|
24722
24762
|
}
|
|
24723
24763
|
|
|
24724
24764
|
function r(e) {
|
|
24725
|
-
return e.eat("@") && (e.match(
|
|
24765
|
+
return e.eat("@") && (e.match(/^session\./), e.match(/^local\./), e.match(/^global\./)), e.eat("'") ? (e.match(/^.*'/), "variable-2") : e.eat('"') ? (e.match(/^.*"/), "variable-2") : e.eat("`") ? (e.match(/^.*`/), "variable-2") : e.match(/^[0-9a-zA-Z$\.\_]+/) ? "variable-2" : null;
|
|
24726
24766
|
}
|
|
24727
24767
|
|
|
24728
24768
|
function n(e) {
|
|
@@ -24781,7 +24821,7 @@ var _typeof = __webpack_require__(8);
|
|
|
24781
24821
|
return f.hasOwnProperty(o) && (e.match(/^( )+'[^']*'/) || e.match(/^( )+"[^"]*"/)) ? "number" : s.hasOwnProperty(o) ? "atom" : l.hasOwnProperty(o) ? "builtin" : c.hasOwnProperty(o) ? "keyword" : n.hasOwnProperty(o) ? "string-2" : null;
|
|
24782
24822
|
}
|
|
24783
24823
|
|
|
24784
|
-
return d.zerolessFloat && e.match(/^(?:\d+(?:e[+-]?\d+)?)/i) ? "number" : e.match(/^\.+/) ? null : d.ODBCdotTable && e.match(/^[\w\d_
|
|
24824
|
+
return d.zerolessFloat && e.match(/^(?:\d+(?:e[+-]?\d+)?)/i) ? "number" : e.match(/^\.+/) ? null : d.ODBCdotTable && e.match(/^[\w\d_]+/) ? "variable-2" : void 0;
|
|
24785
24825
|
}
|
|
24786
24826
|
|
|
24787
24827
|
function v(e, t) {
|
|
@@ -24981,7 +25021,7 @@ var _typeof = __webpack_require__(8);
|
|
|
24981
25021
|
support: o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")
|
|
24982
25022
|
}), e.defineMIME("text/x-sparksql", {
|
|
24983
25023
|
name: "sql",
|
|
24984
|
-
keywords: o("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases
|
|
25024
|
+
keywords: o("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),
|
|
24985
25025
|
builtin: o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),
|
|
24986
25026
|
atoms: o("false true null"),
|
|
24987
25027
|
operatorChars: /^[*\/+\-%<>!=~&|^]/,
|
|
@@ -25422,7 +25462,7 @@ var _typeof = __webpack_require__(8);
|
|
|
25422
25462
|
}
|
|
25423
25463
|
|
|
25424
25464
|
function h(e, t, r) {
|
|
25425
|
-
this.prev = e.context, this.tagName = t
|
|
25465
|
+
this.prev = e.context, this.tagName = t, this.indent = e.indented, this.startOfLine = r, (l.doNotIndent.hasOwnProperty(t) || e.context && e.context.noIndent) && (this.noIndent = !0);
|
|
25426
25466
|
}
|
|
25427
25467
|
|
|
25428
25468
|
function g(e) {
|
|
@@ -25548,7 +25588,7 @@ var _typeof = __webpack_require__(8);
|
|
|
25548
25588
|
},
|
|
25549
25589
|
xmlCurrentContext: function xmlCurrentContext(e) {
|
|
25550
25590
|
for (var t = [], r = e.context; r; r = r.prev) {
|
|
25551
|
-
t.push(r.tagName);
|
|
25591
|
+
r.tagName && t.push(r.tagName);
|
|
25552
25592
|
}
|
|
25553
25593
|
|
|
25554
25594
|
return t.reverse();
|
|
@@ -25585,8 +25625,8 @@ var _typeof = __webpack_require__(8);
|
|
|
25585
25625
|
if (r.literal && t.indentation() > r.keyCol) return t.skipToEnd(), "string";
|
|
25586
25626
|
|
|
25587
25627
|
if (r.literal && (r.literal = !1), t.sol()) {
|
|
25588
|
-
if (r.keyCol = 0, r.pair = !1, r.pairStart = !1, t.match(
|
|
25589
|
-
if (t.match(
|
|
25628
|
+
if (r.keyCol = 0, r.pair = !1, r.pairStart = !1, t.match(/---/)) return "def";
|
|
25629
|
+
if (t.match(/\.\.\./)) return "def";
|
|
25590
25630
|
if (t.match(/\s*-\s+/)) return "meta";
|
|
25591
25631
|
}
|
|
25592
25632
|
|
|
@@ -25672,10 +25712,10 @@ var _typeof = __webpack_require__(8);
|
|
|
25672
25712
|
return i;
|
|
25673
25713
|
},
|
|
25674
25714
|
LexRules: function LexRules() {
|
|
25675
|
-
return
|
|
25715
|
+
return f;
|
|
25676
25716
|
},
|
|
25677
25717
|
ParseRules: function ParseRules() {
|
|
25678
|
-
return
|
|
25718
|
+
return m;
|
|
25679
25719
|
},
|
|
25680
25720
|
RuleKinds: function RuleKinds() {
|
|
25681
25721
|
return M;
|
|
@@ -25684,13 +25724,13 @@ var _typeof = __webpack_require__(8);
|
|
|
25684
25724
|
return s;
|
|
25685
25725
|
},
|
|
25686
25726
|
isIgnored: function isIgnored() {
|
|
25687
|
-
return
|
|
25727
|
+
return p;
|
|
25688
25728
|
},
|
|
25689
25729
|
list: function list() {
|
|
25690
25730
|
return a;
|
|
25691
25731
|
},
|
|
25692
25732
|
onlineParser: function onlineParser() {
|
|
25693
|
-
return
|
|
25733
|
+
return y;
|
|
25694
25734
|
},
|
|
25695
25735
|
opt: function opt() {
|
|
25696
25736
|
return o;
|
|
@@ -25822,17 +25862,62 @@ var _typeof = __webpack_require__(8);
|
|
|
25822
25862
|
}
|
|
25823
25863
|
|
|
25824
25864
|
var u,
|
|
25825
|
-
d =
|
|
25865
|
+
d = Object.freeze({
|
|
25866
|
+
NAME: "Name",
|
|
25867
|
+
DOCUMENT: "Document",
|
|
25868
|
+
OPERATION_DEFINITION: "OperationDefinition",
|
|
25869
|
+
VARIABLE_DEFINITION: "VariableDefinition",
|
|
25870
|
+
SELECTION_SET: "SelectionSet",
|
|
25871
|
+
FIELD: "Field",
|
|
25872
|
+
ARGUMENT: "Argument",
|
|
25873
|
+
FRAGMENT_SPREAD: "FragmentSpread",
|
|
25874
|
+
INLINE_FRAGMENT: "InlineFragment",
|
|
25875
|
+
FRAGMENT_DEFINITION: "FragmentDefinition",
|
|
25876
|
+
VARIABLE: "Variable",
|
|
25877
|
+
INT: "IntValue",
|
|
25878
|
+
FLOAT: "FloatValue",
|
|
25879
|
+
STRING: "StringValue",
|
|
25880
|
+
BOOLEAN: "BooleanValue",
|
|
25881
|
+
NULL: "NullValue",
|
|
25882
|
+
ENUM: "EnumValue",
|
|
25883
|
+
LIST: "ListValue",
|
|
25884
|
+
OBJECT: "ObjectValue",
|
|
25885
|
+
OBJECT_FIELD: "ObjectField",
|
|
25886
|
+
DIRECTIVE: "Directive",
|
|
25887
|
+
NAMED_TYPE: "NamedType",
|
|
25888
|
+
LIST_TYPE: "ListType",
|
|
25889
|
+
NON_NULL_TYPE: "NonNullType",
|
|
25890
|
+
SCHEMA_DEFINITION: "SchemaDefinition",
|
|
25891
|
+
OPERATION_TYPE_DEFINITION: "OperationTypeDefinition",
|
|
25892
|
+
SCALAR_TYPE_DEFINITION: "ScalarTypeDefinition",
|
|
25893
|
+
OBJECT_TYPE_DEFINITION: "ObjectTypeDefinition",
|
|
25894
|
+
FIELD_DEFINITION: "FieldDefinition",
|
|
25895
|
+
INPUT_VALUE_DEFINITION: "InputValueDefinition",
|
|
25896
|
+
INTERFACE_TYPE_DEFINITION: "InterfaceTypeDefinition",
|
|
25897
|
+
UNION_TYPE_DEFINITION: "UnionTypeDefinition",
|
|
25898
|
+
ENUM_TYPE_DEFINITION: "EnumTypeDefinition",
|
|
25899
|
+
ENUM_VALUE_DEFINITION: "EnumValueDefinition",
|
|
25900
|
+
INPUT_OBJECT_TYPE_DEFINITION: "InputObjectTypeDefinition",
|
|
25901
|
+
DIRECTIVE_DEFINITION: "DirectiveDefinition",
|
|
25902
|
+
SCHEMA_EXTENSION: "SchemaExtension",
|
|
25903
|
+
SCALAR_TYPE_EXTENSION: "ScalarTypeExtension",
|
|
25904
|
+
OBJECT_TYPE_EXTENSION: "ObjectTypeExtension",
|
|
25905
|
+
INTERFACE_TYPE_EXTENSION: "InterfaceTypeExtension",
|
|
25906
|
+
UNION_TYPE_EXTENSION: "UnionTypeExtension",
|
|
25907
|
+
ENUM_TYPE_EXTENSION: "EnumTypeExtension",
|
|
25908
|
+
INPUT_OBJECT_TYPE_EXTENSION: "InputObjectTypeExtension"
|
|
25909
|
+
}),
|
|
25910
|
+
p = function p(e) {
|
|
25826
25911
|
return " " === e || "\t" === e || "," === e || "\n" === e || "\r" === e || "\uFEFF" === e || " " === e;
|
|
25827
25912
|
},
|
|
25828
|
-
|
|
25913
|
+
f = {
|
|
25829
25914
|
Name: /^[_A-Za-z][_0-9A-Za-z]*/,
|
|
25830
25915
|
Punctuation: /^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,
|
|
25831
25916
|
Number: /^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,
|
|
25832
25917
|
String: /^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,
|
|
25833
25918
|
Comment: /^#.*/
|
|
25834
25919
|
},
|
|
25835
|
-
|
|
25920
|
+
m = {
|
|
25836
25921
|
Document: [a("Definition")],
|
|
25837
25922
|
Definition: function Definition(e) {
|
|
25838
25923
|
switch (e.value) {
|
|
@@ -25849,7 +25934,7 @@ var _typeof = __webpack_require__(8);
|
|
|
25849
25934
|
return "Subscription";
|
|
25850
25935
|
|
|
25851
25936
|
case "fragment":
|
|
25852
|
-
return
|
|
25937
|
+
return d.FRAGMENT_DEFINITION;
|
|
25853
25938
|
|
|
25854
25939
|
case "schema":
|
|
25855
25940
|
return "SchemaDef";
|
|
@@ -25880,25 +25965,25 @@ var _typeof = __webpack_require__(8);
|
|
|
25880
25965
|
}
|
|
25881
25966
|
},
|
|
25882
25967
|
ShortQuery: ["SelectionSet"],
|
|
25883
|
-
Query: [
|
|
25884
|
-
Mutation: [
|
|
25885
|
-
Subscription: [
|
|
25968
|
+
Query: [h("query"), o(g("def")), o("VariableDefinitions"), a("Directive"), "SelectionSet"],
|
|
25969
|
+
Mutation: [h("mutation"), o(g("def")), o("VariableDefinitions"), a("Directive"), "SelectionSet"],
|
|
25970
|
+
Subscription: [h("subscription"), o(g("def")), o("VariableDefinitions"), a("Directive"), "SelectionSet"],
|
|
25886
25971
|
VariableDefinitions: [c("("), a("VariableDefinition"), c(")")],
|
|
25887
25972
|
VariableDefinition: ["Variable", c(":"), "Type", o("DefaultValue")],
|
|
25888
|
-
Variable: [c("$", "variable"),
|
|
25973
|
+
Variable: [c("$", "variable"), g("variable")],
|
|
25889
25974
|
DefaultValue: [c("="), "Value"],
|
|
25890
25975
|
SelectionSet: [c("{"), a("Selection"), c("}")],
|
|
25891
25976
|
Selection: function Selection(e, t) {
|
|
25892
25977
|
return "..." === e.value ? t.match(/[\s\u00a0,]*(on\b|@|{)/, !1) ? "InlineFragment" : "FragmentSpread" : t.match(/[\s\u00a0,]*:/, !1) ? "AliasedField" : "Field";
|
|
25893
25978
|
},
|
|
25894
|
-
AliasedField: [
|
|
25895
|
-
Field: [
|
|
25979
|
+
AliasedField: [g("property"), c(":"), g("qualifier"), o("Arguments"), a("Directive"), o("SelectionSet")],
|
|
25980
|
+
Field: [g("property"), o("Arguments"), a("Directive"), o("SelectionSet")],
|
|
25896
25981
|
Arguments: [c("("), a("Argument"), c(")")],
|
|
25897
|
-
Argument: [
|
|
25898
|
-
FragmentSpread: [c("..."),
|
|
25982
|
+
Argument: [g("attribute"), c(":"), "Value"],
|
|
25983
|
+
FragmentSpread: [c("..."), g("def"), a("Directive")],
|
|
25899
25984
|
InlineFragment: [c("..."), o("TypeCondition"), a("Directive"), "SelectionSet"],
|
|
25900
|
-
FragmentDefinition: [
|
|
25901
|
-
TypeCondition: [
|
|
25985
|
+
FragmentDefinition: [h("fragment"), o(s(g("def"), [h("on")])), "TypeCondition", a("Directive"), "SelectionSet"],
|
|
25986
|
+
TypeCondition: [h("on"), "NamedType"],
|
|
25902
25987
|
Value: function Value(e) {
|
|
25903
25988
|
switch (e.kind) {
|
|
25904
25989
|
case "Number":
|
|
@@ -25946,10 +26031,10 @@ var _typeof = __webpack_require__(8);
|
|
|
25946
26031
|
}],
|
|
25947
26032
|
BooleanValue: [l("Name", "builtin")],
|
|
25948
26033
|
NullValue: [l("Name", "keyword")],
|
|
25949
|
-
EnumValue: [
|
|
26034
|
+
EnumValue: [g("string-2")],
|
|
25950
26035
|
ListValue: [c("["), a("Value"), c("]")],
|
|
25951
26036
|
ObjectValue: [c("{"), a("ObjectField"), c("}")],
|
|
25952
|
-
ObjectField: [
|
|
26037
|
+
ObjectField: [g("attribute"), c(":"), "Value"],
|
|
25953
26038
|
Type: function Type(e) {
|
|
25954
26039
|
return "[" === e.value ? "ListType" : "NonNullType";
|
|
25955
26040
|
},
|
|
@@ -25964,27 +26049,27 @@ var _typeof = __webpack_require__(8);
|
|
|
25964
26049
|
e.prevState && e.prevState.prevState && (e.name = t.value, e.prevState.prevState.type = t.value);
|
|
25965
26050
|
}
|
|
25966
26051
|
})],
|
|
25967
|
-
Directive: [c("@", "meta"),
|
|
25968
|
-
DirectiveDef: [
|
|
25969
|
-
InterfaceDef: [
|
|
25970
|
-
Implements: [
|
|
25971
|
-
DirectiveLocation: [
|
|
25972
|
-
SchemaDef: [
|
|
25973
|
-
OperationTypeDef: [
|
|
25974
|
-
ScalarDef: [
|
|
25975
|
-
ObjectTypeDef: [
|
|
25976
|
-
FieldDef: [
|
|
26052
|
+
Directive: [c("@", "meta"), g("meta"), o("Arguments")],
|
|
26053
|
+
DirectiveDef: [h("directive"), c("@", "meta"), g("meta"), o("ArgumentsDef"), h("on"), a("DirectiveLocation", c("|"))],
|
|
26054
|
+
InterfaceDef: [h("interface"), g("atom"), o("Implements"), a("Directive"), c("{"), a("FieldDef"), c("}")],
|
|
26055
|
+
Implements: [h("implements"), a("NamedType", c("&"))],
|
|
26056
|
+
DirectiveLocation: [g("string-2")],
|
|
26057
|
+
SchemaDef: [h("schema"), a("Directive"), c("{"), a("OperationTypeDef"), c("}")],
|
|
26058
|
+
OperationTypeDef: [g("keyword"), c(":"), g("atom")],
|
|
26059
|
+
ScalarDef: [h("scalar"), g("atom"), a("Directive")],
|
|
26060
|
+
ObjectTypeDef: [h("type"), g("atom"), o("Implements"), a("Directive"), c("{"), a("FieldDef"), c("}")],
|
|
26061
|
+
FieldDef: [g("property"), o("ArgumentsDef"), c(":"), "Type", a("Directive")],
|
|
25977
26062
|
ArgumentsDef: [c("("), a("InputValueDef"), c(")")],
|
|
25978
|
-
InputValueDef: [
|
|
25979
|
-
UnionDef: [
|
|
26063
|
+
InputValueDef: [g("attribute"), c(":"), "Type", o("DefaultValue"), a("Directive")],
|
|
26064
|
+
UnionDef: [h("union"), g("atom"), a("Directive"), c("="), a("UnionMember", c("|"))],
|
|
25980
26065
|
UnionMember: ["NamedType"],
|
|
25981
|
-
EnumDef: [
|
|
25982
|
-
EnumValueDef: [
|
|
25983
|
-
InputDef: [
|
|
25984
|
-
ExtendDef: [
|
|
26066
|
+
EnumDef: [h("enum"), g("atom"), a("Directive"), c("{"), a("EnumValueDef"), c("}")],
|
|
26067
|
+
EnumValueDef: [g("string-2"), a("Directive")],
|
|
26068
|
+
InputDef: [h("input"), g("atom"), a("Directive"), c("{"), a("InputValueDef"), c("}")],
|
|
26069
|
+
ExtendDef: [h("extend"), "ObjectTypeDef"]
|
|
25985
26070
|
};
|
|
25986
26071
|
|
|
25987
|
-
function
|
|
26072
|
+
function h(e) {
|
|
25988
26073
|
return {
|
|
25989
26074
|
style: "keyword",
|
|
25990
26075
|
match: function match(t) {
|
|
@@ -25993,7 +26078,7 @@ var _typeof = __webpack_require__(8);
|
|
|
25993
26078
|
};
|
|
25994
26079
|
}
|
|
25995
26080
|
|
|
25996
|
-
function
|
|
26081
|
+
function g(e) {
|
|
25997
26082
|
return {
|
|
25998
26083
|
style: e,
|
|
25999
26084
|
match: function match(e) {
|
|
@@ -26005,13 +26090,13 @@ var _typeof = __webpack_require__(8);
|
|
|
26005
26090
|
};
|
|
26006
26091
|
}
|
|
26007
26092
|
|
|
26008
|
-
function
|
|
26093
|
+
function y() {
|
|
26009
26094
|
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {
|
|
26010
26095
|
eatWhitespace: function eatWhitespace(e) {
|
|
26011
|
-
return e.eatWhile(
|
|
26096
|
+
return e.eatWhile(p);
|
|
26012
26097
|
},
|
|
26013
|
-
lexRules:
|
|
26014
|
-
parseRules:
|
|
26098
|
+
lexRules: f,
|
|
26099
|
+
parseRules: m,
|
|
26015
26100
|
editorConfig: {}
|
|
26016
26101
|
};
|
|
26017
26102
|
return {
|
|
@@ -26026,22 +26111,22 @@ var _typeof = __webpack_require__(8);
|
|
|
26026
26111
|
needsSeperator: !1,
|
|
26027
26112
|
prevState: null
|
|
26028
26113
|
};
|
|
26029
|
-
return
|
|
26114
|
+
return k(e.parseRules, t, d.DOCUMENT), t;
|
|
26030
26115
|
},
|
|
26031
26116
|
token: function token(t, r) {
|
|
26032
|
-
return
|
|
26117
|
+
return v(t, r, e);
|
|
26033
26118
|
}
|
|
26034
26119
|
};
|
|
26035
26120
|
}
|
|
26036
26121
|
|
|
26037
|
-
function
|
|
26122
|
+
function v(e, t, r) {
|
|
26038
26123
|
if (t.inBlockstring) return e.match(/.*"""/) ? (t.inBlockstring = !1, "string") : (e.skipToEnd(), "string");
|
|
26039
26124
|
var n = r.lexRules,
|
|
26040
26125
|
i = r.parseRules,
|
|
26041
26126
|
o = r.eatWhitespace,
|
|
26042
26127
|
a = r.editorConfig;
|
|
26043
26128
|
|
|
26044
|
-
if (t.rule && 0 === t.rule.length ?
|
|
26129
|
+
if (t.rule && 0 === t.rule.length ? w(t) : t.needsAdvance && (t.needsAdvance = !1, _(t, !0)), e.sol()) {
|
|
26045
26130
|
var s = a && a.tabSize || 2;
|
|
26046
26131
|
t.indentLevel = Math.floor(e.indentation() / s);
|
|
26047
26132
|
}
|
|
@@ -26058,9 +26143,9 @@ var _typeof = __webpack_require__(8);
|
|
|
26058
26143
|
}
|
|
26059
26144
|
}(n, e);
|
|
26060
26145
|
|
|
26061
|
-
if (!l) return e.match(/\S+/) || e.match(/\s/), x
|
|
26062
|
-
if ("Comment" === l.kind) return x
|
|
26063
|
-
var c =
|
|
26146
|
+
if (!l) return e.match(/\S+/) || e.match(/\s/), k(x, t, "Invalid"), "invalidchar";
|
|
26147
|
+
if ("Comment" === l.kind) return k(x, t, "Comment"), "comment";
|
|
26148
|
+
var c = b({}, t);
|
|
26064
26149
|
if ("Punctuation" === l.kind) if (/^[{([]/.test(l.value)) void 0 !== t.indentLevel && (t.levels = (t.levels || []).concat(t.indentLevel + 1));else if (/^[})\]]/.test(l.value)) {
|
|
26065
26150
|
var u = t.levels = (t.levels || []).slice(0, -1);
|
|
26066
26151
|
t.indentLevel && u.length > 0 && u[u.length - 1] < t.indentLevel && (t.indentLevel = u[u.length - 1]);
|
|
@@ -26071,20 +26156,20 @@ var _typeof = __webpack_require__(8);
|
|
|
26071
26156
|
|
|
26072
26157
|
if (t.needsSeperator && (d = d && (null == d ? void 0 : d.separator)), d) {
|
|
26073
26158
|
if (d.ofRule && (d = d.ofRule), "string" == typeof d) {
|
|
26074
|
-
|
|
26159
|
+
k(i, t, d);
|
|
26075
26160
|
continue;
|
|
26076
26161
|
}
|
|
26077
26162
|
|
|
26078
|
-
if (d.match && d.match(l)) return d.update && d.update(t, l), "Punctuation" === l.kind ?
|
|
26163
|
+
if (d.match && d.match(l)) return d.update && d.update(t, l), "Punctuation" === l.kind ? _(t, !0) : t.needsAdvance = !0, d.style;
|
|
26079
26164
|
}
|
|
26080
26165
|
|
|
26081
|
-
|
|
26166
|
+
C(t);
|
|
26082
26167
|
}
|
|
26083
26168
|
|
|
26084
|
-
return
|
|
26169
|
+
return b(t, c), k(x, t, "Invalid"), "invalidchar";
|
|
26085
26170
|
}
|
|
26086
26171
|
|
|
26087
|
-
function
|
|
26172
|
+
function b(e, t) {
|
|
26088
26173
|
for (var r = Object.keys(t), n = 0; n < r.length; n++) {
|
|
26089
26174
|
e[r[n]] = t[r[n]];
|
|
26090
26175
|
}
|
|
@@ -26092,22 +26177,22 @@ var _typeof = __webpack_require__(8);
|
|
|
26092
26177
|
return e;
|
|
26093
26178
|
}
|
|
26094
26179
|
|
|
26095
|
-
var
|
|
26180
|
+
var x = {
|
|
26096
26181
|
Invalid: [],
|
|
26097
26182
|
Comment: []
|
|
26098
26183
|
};
|
|
26099
26184
|
|
|
26100
|
-
function
|
|
26185
|
+
function k(e, t, r) {
|
|
26101
26186
|
if (!e[r]) throw new TypeError("Unknown rule: " + r);
|
|
26102
26187
|
t.prevState = Object.assign({}, t), t.kind = r, t.name = null, t.type = null, t.rule = e[r], t.step = 0, t.needsSeperator = !1;
|
|
26103
26188
|
}
|
|
26104
26189
|
|
|
26105
|
-
function
|
|
26190
|
+
function w(e) {
|
|
26106
26191
|
e.prevState && (e.kind = e.prevState.kind, e.name = e.prevState.name, e.type = e.prevState.type, e.rule = e.prevState.rule, e.step = e.prevState.step, e.needsSeperator = e.prevState.needsSeperator, e.prevState = e.prevState.prevState);
|
|
26107
26192
|
}
|
|
26108
26193
|
|
|
26109
|
-
function
|
|
26110
|
-
if (
|
|
26194
|
+
function _(e, t) {
|
|
26195
|
+
if (S(e) && e.rule) {
|
|
26111
26196
|
var r = e.rule[e.step];
|
|
26112
26197
|
|
|
26113
26198
|
if (r.separator) {
|
|
@@ -26119,69 +26204,24 @@ var _typeof = __webpack_require__(8);
|
|
|
26119
26204
|
}
|
|
26120
26205
|
|
|
26121
26206
|
for (e.needsSeperator = !1, e.step++; e.rule && !(Array.isArray(e.rule) && e.step < e.rule.length);) {
|
|
26122
|
-
|
|
26207
|
+
w(e), e.rule && (S(e) ? e.rule && e.rule[e.step].separator && (e.needsSeperator = !e.needsSeperator) : (e.needsSeperator = !1, e.step++));
|
|
26123
26208
|
}
|
|
26124
26209
|
}
|
|
26125
26210
|
|
|
26126
|
-
function
|
|
26211
|
+
function S(e) {
|
|
26127
26212
|
var t = Array.isArray(e.rule) && "string" != typeof e.rule[e.step] && e.rule[e.step];
|
|
26128
26213
|
return t && t.isList;
|
|
26129
26214
|
}
|
|
26130
26215
|
|
|
26131
|
-
function
|
|
26216
|
+
function C(e) {
|
|
26132
26217
|
for (; e.rule && (!Array.isArray(e.rule) || !e.rule[e.step].ofRule);) {
|
|
26133
|
-
|
|
26218
|
+
w(e);
|
|
26134
26219
|
}
|
|
26135
26220
|
|
|
26136
|
-
e.rule &&
|
|
26221
|
+
e.rule && _(e, !1);
|
|
26137
26222
|
}
|
|
26138
26223
|
|
|
26139
|
-
var
|
|
26140
|
-
NAME: "Name",
|
|
26141
|
-
DOCUMENT: "Document",
|
|
26142
|
-
OPERATION_DEFINITION: "OperationDefinition",
|
|
26143
|
-
VARIABLE_DEFINITION: "VariableDefinition",
|
|
26144
|
-
SELECTION_SET: "SelectionSet",
|
|
26145
|
-
FIELD: "Field",
|
|
26146
|
-
ARGUMENT: "Argument",
|
|
26147
|
-
FRAGMENT_SPREAD: "FragmentSpread",
|
|
26148
|
-
INLINE_FRAGMENT: "InlineFragment",
|
|
26149
|
-
FRAGMENT_DEFINITION: "FragmentDefinition",
|
|
26150
|
-
VARIABLE: "Variable",
|
|
26151
|
-
INT: "IntValue",
|
|
26152
|
-
FLOAT: "FloatValue",
|
|
26153
|
-
STRING: "StringValue",
|
|
26154
|
-
BOOLEAN: "BooleanValue",
|
|
26155
|
-
NULL: "NullValue",
|
|
26156
|
-
ENUM: "EnumValue",
|
|
26157
|
-
LIST: "ListValue",
|
|
26158
|
-
OBJECT: "ObjectValue",
|
|
26159
|
-
OBJECT_FIELD: "ObjectField",
|
|
26160
|
-
DIRECTIVE: "Directive",
|
|
26161
|
-
NAMED_TYPE: "NamedType",
|
|
26162
|
-
LIST_TYPE: "ListType",
|
|
26163
|
-
NON_NULL_TYPE: "NonNullType",
|
|
26164
|
-
SCHEMA_DEFINITION: "SchemaDefinition",
|
|
26165
|
-
OPERATION_TYPE_DEFINITION: "OperationTypeDefinition",
|
|
26166
|
-
SCALAR_TYPE_DEFINITION: "ScalarTypeDefinition",
|
|
26167
|
-
OBJECT_TYPE_DEFINITION: "ObjectTypeDefinition",
|
|
26168
|
-
FIELD_DEFINITION: "FieldDefinition",
|
|
26169
|
-
INPUT_VALUE_DEFINITION: "InputValueDefinition",
|
|
26170
|
-
INTERFACE_TYPE_DEFINITION: "InterfaceTypeDefinition",
|
|
26171
|
-
UNION_TYPE_DEFINITION: "UnionTypeDefinition",
|
|
26172
|
-
ENUM_TYPE_DEFINITION: "EnumTypeDefinition",
|
|
26173
|
-
ENUM_VALUE_DEFINITION: "EnumValueDefinition",
|
|
26174
|
-
INPUT_OBJECT_TYPE_DEFINITION: "InputObjectTypeDefinition",
|
|
26175
|
-
DIRECTIVE_DEFINITION: "DirectiveDefinition",
|
|
26176
|
-
SCHEMA_EXTENSION: "SchemaExtension",
|
|
26177
|
-
SCALAR_TYPE_EXTENSION: "ScalarTypeExtension",
|
|
26178
|
-
OBJECT_TYPE_EXTENSION: "ObjectTypeExtension",
|
|
26179
|
-
INTERFACE_TYPE_EXTENSION: "InterfaceTypeExtension",
|
|
26180
|
-
UNION_TYPE_EXTENSION: "UnionTypeExtension",
|
|
26181
|
-
ENUM_TYPE_EXTENSION: "EnumTypeExtension",
|
|
26182
|
-
INPUT_OBJECT_TYPE_EXTENSION: "InputObjectTypeExtension"
|
|
26183
|
-
}),
|
|
26184
|
-
T = {
|
|
26224
|
+
var T = {
|
|
26185
26225
|
ALIASED_FIELD: "AliasedField",
|
|
26186
26226
|
ARGUMENTS: "Arguments",
|
|
26187
26227
|
SHORT_QUERY: "ShortQuery",
|
|
@@ -26210,7 +26250,7 @@ var _typeof = __webpack_require__(8);
|
|
|
26210
26250
|
VARIABLE_DEFINITIONS: "VariableDefinitions",
|
|
26211
26251
|
TYPE: "Type"
|
|
26212
26252
|
},
|
|
26213
|
-
M = Object.assign(Object.assign({},
|
|
26253
|
+
M = Object.assign(Object.assign({}, d), T);
|
|
26214
26254
|
},
|
|
26215
26255
|
9428: function _(e, t, r) {
|
|
26216
26256
|
"use strict";
|
|
@@ -26724,6 +26764,7 @@ var _typeof = __webpack_require__(8);
|
|
|
26724
26764
|
sass: "css",
|
|
26725
26765
|
scss: "css",
|
|
26726
26766
|
sh: "shell",
|
|
26767
|
+
solidity: "sol",
|
|
26727
26768
|
sqlite: "sql",
|
|
26728
26769
|
styl: "css",
|
|
26729
26770
|
stylus: "css",
|
|
@@ -26737,7 +26778,7 @@ var _typeof = __webpack_require__(8);
|
|
|
26737
26778
|
};
|
|
26738
26779
|
},
|
|
26739
26780
|
5355: function _(e, t, r) {
|
|
26740
|
-
r(1736), r(742), r(6461), r(1702), r(5844), r(5855), r(119), r(9555), r(410), r(3394), r(5372), r(9965), r(2375), r(2557), r(7014), r(1716), r(3612), r(1459), r(7568), r(8446), r(8021), r(8058), r(4949), r(6906), r(1878), r(356), r(9393), r(9338);
|
|
26781
|
+
r(1736), r(742), r(6461), r(1702), r(5844), r(5855), r(119), r(9555), r(410), r(3394), r(5372), r(9965), r(2375), r(2557), r(4581), r(7014), r(1716), r(3612), r(1459), r(7568), r(8446), r(8021), r(8058), r(4949), r(6906), r(1878), r(356), r(9393), r(9338);
|
|
26741
26782
|
},
|
|
26742
26783
|
7476: function _(e) {
|
|
26743
26784
|
function t(e, t) {
|
|
@@ -26826,6 +26867,7 @@ var _typeof = __webpack_require__(8);
|
|
|
26826
26867
|
kt: ["clike", "text/x-kotlin"],
|
|
26827
26868
|
less: "css",
|
|
26828
26869
|
liquid: "htmlmixed",
|
|
26870
|
+
lua: "lua",
|
|
26829
26871
|
node: "javascript",
|
|
26830
26872
|
macruby: "ruby",
|
|
26831
26873
|
markdown: "gfm",
|
|
@@ -26856,6 +26898,8 @@ var _typeof = __webpack_require__(8);
|
|
|
26856
26898
|
scala: ["clike", "text/x-scala"],
|
|
26857
26899
|
scss: "css",
|
|
26858
26900
|
sh: "shell",
|
|
26901
|
+
sol: "clike",
|
|
26902
|
+
solidity: "clike",
|
|
26859
26903
|
sql: ["sql", "text/x-sql"],
|
|
26860
26904
|
sqlite: ["sql", "text/x-sqlite"],
|
|
26861
26905
|
styl: "css",
|
|
@@ -26965,6 +27009,7 @@ var _typeof = __webpack_require__(8);
|
|
|
26965
27009
|
sh: "Shell",
|
|
26966
27010
|
shell: "Shell",
|
|
26967
27011
|
smarty: "Smarty",
|
|
27012
|
+
solidity: "Solidity",
|
|
26968
27013
|
sql: "SQL",
|
|
26969
27014
|
sqlite: "SQLite",
|
|
26970
27015
|
stylus: "Stylus",
|
|
@@ -27012,7 +27057,7 @@ var _typeof = __webpack_require__(8);
|
|
|
27012
27057
|
i = r.n(n),
|
|
27013
27058
|
o = r(8922),
|
|
27014
27059
|
a = r.n(o)()(i());
|
|
27015
|
-
a.push([e.id, "/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n
|
|
27060
|
+
a.push([e.id, "/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n", ""]);
|
|
27016
27061
|
var s = a;
|
|
27017
27062
|
},
|
|
27018
27063
|
9783: function _(e, t, r) {
|
|
@@ -27027,7 +27072,7 @@ var _typeof = __webpack_require__(8);
|
|
|
27027
27072
|
i = r.n(n),
|
|
27028
27073
|
o = r(8922),
|
|
27029
27074
|
a = r.n(o)()(i());
|
|
27030
|
-
a.push([e.id, "/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material-palenight.CodeMirror {\n background-color: #292D3E;\n color: #A6ACCD;\n}\n\n.cm-s-material-palenight .CodeMirror-gutters {\n background: #292D3E;\n color: #676E95;\n border: none;\n}\n\n.cm-s-material-palenight .CodeMirror-guttermarker,\n.cm-s-material-palenight .CodeMirror-guttermarker-subtle,\n.cm-s-material-palenight .CodeMirror-linenumber {\n color: #676E95;\n}\n\n.cm-s-material-palenight .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n
|
|
27075
|
+
a.push([e.id, "/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material-palenight.CodeMirror {\n background-color: #292D3E;\n color: #A6ACCD;\n}\n\n.cm-s-material-palenight .CodeMirror-gutters {\n background: #292D3E;\n color: #676E95;\n border: none;\n}\n\n.cm-s-material-palenight .CodeMirror-guttermarker,\n.cm-s-material-palenight .CodeMirror-guttermarker-subtle,\n.cm-s-material-palenight .CodeMirror-linenumber {\n color: #676E95;\n}\n\n.cm-s-material-palenight .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n\n.cm-s-material-palenight div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::selection,\n.cm-s-material-palenight .CodeMirror-line>span::selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::-moz-selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-activeline-background {\n background: rgba(0, 0, 0, 0.5);\n}\n\n.cm-s-material-palenight .cm-keyword {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-operator {\n color: #89DDFF;\n}\n\n.cm-s-material-palenight .cm-variable-2 {\n color: #EEFFFF;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-builtin {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-atom {\n color: #F78C6C;\n}\n\n.cm-s-material-palenight .cm-number {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-def {\n color: #82AAFF;\n}\n\n.cm-s-material-palenight .cm-string {\n color: #C3E88D;\n}\n\n.cm-s-material-palenight .cm-string-2 {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-comment {\n color: #676E95;\n}\n\n.cm-s-material-palenight .cm-variable {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-tag {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-meta {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-attribute {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-property {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-qualifier {\n color: #DECB6B;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #DECB6B;\n}\n\n\n.cm-s-material-palenight .cm-error {\n color: rgba(255, 255, 255, 1.0);\n background-color: #FF5370;\n}\n\n.cm-s-material-palenight .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: white !important;\n}", ""]);
|
|
27031
27076
|
var s = a;
|
|
27032
27077
|
},
|
|
27033
27078
|
1899: function _(e, t, r) {
|