@itshixun/qckeditor-vue2 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +584 -554
- package/dist/src/components/QCKContent.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3706,7 +3706,7 @@ function l(r, e, t, a, n, i) {
|
|
|
3706
3706
|
replace: a
|
|
3707
3707
|
}, i && a && (Ae[r][a] = Ae[r][n]);
|
|
3708
3708
|
}
|
|
3709
|
-
var _ = "math", M = "text", m = "main", T = "ams", Ie = "accent-token", K = "bin", nt = "close", hr = "inner", ee = "mathord", Ve = "op-token", dt = "open", Ur = "punct", h = "rel", Yt = "spacing",
|
|
3709
|
+
var _ = "math", M = "text", m = "main", T = "ams", Ie = "accent-token", K = "bin", nt = "close", hr = "inner", ee = "mathord", Ve = "op-token", dt = "open", Ur = "punct", h = "rel", Yt = "spacing", N = "textord";
|
|
3710
3710
|
l(_, m, h, "≡", "\\equiv", !0);
|
|
3711
3711
|
l(_, m, h, "≺", "\\prec", !0);
|
|
3712
3712
|
l(_, m, h, "≻", "\\succ", !0);
|
|
@@ -3734,37 +3734,37 @@ l(_, m, h, "∋", "\\owns");
|
|
|
3734
3734
|
l(_, m, Ur, ".", "\\ldotp");
|
|
3735
3735
|
l(_, m, Ur, "⋅", "\\cdotp");
|
|
3736
3736
|
l(_, m, Ur, "⋅", "·");
|
|
3737
|
-
l(M, m,
|
|
3738
|
-
l(_, m,
|
|
3739
|
-
l(M, m,
|
|
3740
|
-
l(_, m,
|
|
3741
|
-
l(M, m,
|
|
3742
|
-
l(_, m,
|
|
3743
|
-
l(_, m,
|
|
3744
|
-
l(_, m,
|
|
3745
|
-
l(_, m,
|
|
3746
|
-
l(_, m,
|
|
3747
|
-
l(_, m,
|
|
3748
|
-
l(_, m,
|
|
3749
|
-
l(_, m,
|
|
3750
|
-
l(_, m,
|
|
3751
|
-
l(_, m,
|
|
3752
|
-
l(_, m,
|
|
3753
|
-
l(_, m,
|
|
3754
|
-
l(_, m,
|
|
3755
|
-
l(_, m,
|
|
3756
|
-
l(_, m,
|
|
3757
|
-
l(_, m,
|
|
3758
|
-
l(_, m,
|
|
3759
|
-
l(M, m,
|
|
3760
|
-
l(_, m,
|
|
3761
|
-
l(M, m,
|
|
3762
|
-
l(_, m,
|
|
3763
|
-
l(M, m,
|
|
3764
|
-
l(M, m,
|
|
3765
|
-
l(_, m,
|
|
3766
|
-
l(M, m,
|
|
3767
|
-
l(M, m,
|
|
3737
|
+
l(M, m, N, "⋅", "·");
|
|
3738
|
+
l(_, m, N, "#", "\\#");
|
|
3739
|
+
l(M, m, N, "#", "\\#");
|
|
3740
|
+
l(_, m, N, "&", "\\&");
|
|
3741
|
+
l(M, m, N, "&", "\\&");
|
|
3742
|
+
l(_, m, N, "ℵ", "\\aleph", !0);
|
|
3743
|
+
l(_, m, N, "∀", "\\forall", !0);
|
|
3744
|
+
l(_, m, N, "ℏ", "\\hbar", !0);
|
|
3745
|
+
l(_, m, N, "∃", "\\exists", !0);
|
|
3746
|
+
l(_, m, N, "∇", "\\nabla", !0);
|
|
3747
|
+
l(_, m, N, "♭", "\\flat", !0);
|
|
3748
|
+
l(_, m, N, "ℓ", "\\ell", !0);
|
|
3749
|
+
l(_, m, N, "♮", "\\natural", !0);
|
|
3750
|
+
l(_, m, N, "♣", "\\clubsuit", !0);
|
|
3751
|
+
l(_, m, N, "℘", "\\wp", !0);
|
|
3752
|
+
l(_, m, N, "♯", "\\sharp", !0);
|
|
3753
|
+
l(_, m, N, "♢", "\\diamondsuit", !0);
|
|
3754
|
+
l(_, m, N, "ℜ", "\\Re", !0);
|
|
3755
|
+
l(_, m, N, "♡", "\\heartsuit", !0);
|
|
3756
|
+
l(_, m, N, "ℑ", "\\Im", !0);
|
|
3757
|
+
l(_, m, N, "♠", "\\spadesuit", !0);
|
|
3758
|
+
l(_, m, N, "§", "\\S", !0);
|
|
3759
|
+
l(M, m, N, "§", "\\S");
|
|
3760
|
+
l(_, m, N, "¶", "\\P", !0);
|
|
3761
|
+
l(M, m, N, "¶", "\\P");
|
|
3762
|
+
l(_, m, N, "†", "\\dag");
|
|
3763
|
+
l(M, m, N, "†", "\\dag");
|
|
3764
|
+
l(M, m, N, "†", "\\textdagger");
|
|
3765
|
+
l(_, m, N, "‡", "\\ddag");
|
|
3766
|
+
l(M, m, N, "‡", "\\ddag");
|
|
3767
|
+
l(M, m, N, "‡", "\\textdaggerdbl");
|
|
3768
3768
|
l(_, m, nt, "⎱", "\\rmoustache", !0);
|
|
3769
3769
|
l(_, m, dt, "⎰", "\\lmoustache", !0);
|
|
3770
3770
|
l(_, m, nt, "⟯", "\\rgroup", !0);
|
|
@@ -3863,41 +3863,41 @@ l(_, T, h, "⇏", "\\nRightarrow", !0);
|
|
|
3863
3863
|
l(_, T, h, "↮", "\\nleftrightarrow", !0);
|
|
3864
3864
|
l(_, T, h, "⇎", "\\nLeftrightarrow", !0);
|
|
3865
3865
|
l(_, T, h, "△", "\\vartriangle");
|
|
3866
|
-
l(_, T,
|
|
3867
|
-
l(_, T,
|
|
3868
|
-
l(_, T,
|
|
3869
|
-
l(_, T,
|
|
3870
|
-
l(_, T,
|
|
3871
|
-
l(M, T,
|
|
3872
|
-
l(_, T,
|
|
3873
|
-
l(_, T,
|
|
3874
|
-
l(_, T,
|
|
3875
|
-
l(_, T,
|
|
3876
|
-
l(_, T,
|
|
3877
|
-
l(_, T,
|
|
3878
|
-
l(_, T,
|
|
3879
|
-
l(_, T,
|
|
3880
|
-
l(_, T,
|
|
3881
|
-
l(_, T,
|
|
3882
|
-
l(_, T,
|
|
3883
|
-
l(_, T,
|
|
3884
|
-
l(_, T,
|
|
3885
|
-
l(_, T,
|
|
3886
|
-
l(M, m,
|
|
3887
|
-
l(_, T,
|
|
3888
|
-
l(_, T,
|
|
3889
|
-
l(_, T,
|
|
3890
|
-
l(_, T,
|
|
3891
|
-
l(_, T,
|
|
3892
|
-
l(_, T,
|
|
3893
|
-
l(M, T,
|
|
3894
|
-
l(_, T,
|
|
3895
|
-
l(M, T,
|
|
3896
|
-
l(_, T,
|
|
3897
|
-
l(_, T,
|
|
3898
|
-
l(_, T,
|
|
3899
|
-
l(_, T,
|
|
3900
|
-
l(_, T,
|
|
3866
|
+
l(_, T, N, "ℏ", "\\hslash");
|
|
3867
|
+
l(_, T, N, "▽", "\\triangledown");
|
|
3868
|
+
l(_, T, N, "◊", "\\lozenge");
|
|
3869
|
+
l(_, T, N, "Ⓢ", "\\circledS");
|
|
3870
|
+
l(_, T, N, "®", "\\circledR");
|
|
3871
|
+
l(M, T, N, "®", "\\circledR");
|
|
3872
|
+
l(_, T, N, "∡", "\\measuredangle", !0);
|
|
3873
|
+
l(_, T, N, "∄", "\\nexists");
|
|
3874
|
+
l(_, T, N, "℧", "\\mho");
|
|
3875
|
+
l(_, T, N, "Ⅎ", "\\Finv", !0);
|
|
3876
|
+
l(_, T, N, "⅁", "\\Game", !0);
|
|
3877
|
+
l(_, T, N, "‵", "\\backprime");
|
|
3878
|
+
l(_, T, N, "▲", "\\blacktriangle");
|
|
3879
|
+
l(_, T, N, "▼", "\\blacktriangledown");
|
|
3880
|
+
l(_, T, N, "■", "\\blacksquare");
|
|
3881
|
+
l(_, T, N, "⧫", "\\blacklozenge");
|
|
3882
|
+
l(_, T, N, "★", "\\bigstar");
|
|
3883
|
+
l(_, T, N, "∢", "\\sphericalangle", !0);
|
|
3884
|
+
l(_, T, N, "∁", "\\complement", !0);
|
|
3885
|
+
l(_, T, N, "ð", "\\eth", !0);
|
|
3886
|
+
l(M, m, N, "ð", "ð");
|
|
3887
|
+
l(_, T, N, "╱", "\\diagup");
|
|
3888
|
+
l(_, T, N, "╲", "\\diagdown");
|
|
3889
|
+
l(_, T, N, "□", "\\square");
|
|
3890
|
+
l(_, T, N, "□", "\\Box");
|
|
3891
|
+
l(_, T, N, "◊", "\\Diamond");
|
|
3892
|
+
l(_, T, N, "¥", "\\yen", !0);
|
|
3893
|
+
l(M, T, N, "¥", "\\yen", !0);
|
|
3894
|
+
l(_, T, N, "✓", "\\checkmark", !0);
|
|
3895
|
+
l(M, T, N, "✓", "\\checkmark");
|
|
3896
|
+
l(_, T, N, "ℶ", "\\beth", !0);
|
|
3897
|
+
l(_, T, N, "ℸ", "\\daleth", !0);
|
|
3898
|
+
l(_, T, N, "ℷ", "\\gimel", !0);
|
|
3899
|
+
l(_, T, N, "ϝ", "\\digamma", !0);
|
|
3900
|
+
l(_, T, N, "ϰ", "\\varkappa");
|
|
3901
3901
|
l(_, T, dt, "┌", "\\@ulcorner", !0);
|
|
3902
3902
|
l(_, T, nt, "┐", "\\@urcorner", !0);
|
|
3903
3903
|
l(_, T, dt, "└", "\\@llcorner", !0);
|
|
@@ -4030,49 +4030,49 @@ l(_, T, h, "⇝", "\\rightsquigarrow", !0);
|
|
|
4030
4030
|
l(_, T, h, "⇝", "\\leadsto");
|
|
4031
4031
|
l(_, T, h, "⇛", "\\Rrightarrow", !0);
|
|
4032
4032
|
l(_, T, h, "↾", "\\restriction");
|
|
4033
|
-
l(_, m,
|
|
4034
|
-
l(_, m,
|
|
4035
|
-
l(M, m,
|
|
4036
|
-
l(M, m,
|
|
4037
|
-
l(_, m,
|
|
4038
|
-
l(M, m,
|
|
4039
|
-
l(_, m,
|
|
4040
|
-
l(M, m,
|
|
4041
|
-
l(M, m,
|
|
4042
|
-
l(_, m,
|
|
4043
|
-
l(_, m,
|
|
4044
|
-
l(_, m,
|
|
4045
|
-
l(_, m,
|
|
4046
|
-
l(_, m,
|
|
4047
|
-
l(_, m,
|
|
4048
|
-
l(_, m,
|
|
4049
|
-
l(_, m,
|
|
4050
|
-
l(_, m,
|
|
4051
|
-
l(_, m,
|
|
4052
|
-
l(_, m,
|
|
4053
|
-
l(_, m,
|
|
4054
|
-
l(_, m,
|
|
4055
|
-
l(_, m,
|
|
4056
|
-
l(_, m,
|
|
4057
|
-
l(_, m,
|
|
4058
|
-
l(_, m,
|
|
4059
|
-
l(_, m,
|
|
4060
|
-
l(_, m,
|
|
4061
|
-
l(_, m,
|
|
4062
|
-
l(_, m,
|
|
4063
|
-
l(_, m,
|
|
4064
|
-
l(_, m,
|
|
4065
|
-
l(_, m,
|
|
4066
|
-
l(_, m,
|
|
4067
|
-
l(_, m,
|
|
4068
|
-
l(_, m,
|
|
4069
|
-
l(_, m,
|
|
4070
|
-
l(_, m,
|
|
4071
|
-
l(_, m,
|
|
4072
|
-
l(_, m,
|
|
4073
|
-
l(_, m,
|
|
4074
|
-
l(_, m,
|
|
4075
|
-
l(_, T,
|
|
4033
|
+
l(_, m, N, "‘", "`");
|
|
4034
|
+
l(_, m, N, "$", "\\$");
|
|
4035
|
+
l(M, m, N, "$", "\\$");
|
|
4036
|
+
l(M, m, N, "$", "\\textdollar");
|
|
4037
|
+
l(_, m, N, "%", "\\%");
|
|
4038
|
+
l(M, m, N, "%", "\\%");
|
|
4039
|
+
l(_, m, N, "_", "\\_");
|
|
4040
|
+
l(M, m, N, "_", "\\_");
|
|
4041
|
+
l(M, m, N, "_", "\\textunderscore");
|
|
4042
|
+
l(_, m, N, "∠", "\\angle", !0);
|
|
4043
|
+
l(_, m, N, "∞", "\\infty", !0);
|
|
4044
|
+
l(_, m, N, "′", "\\prime");
|
|
4045
|
+
l(_, m, N, "△", "\\triangle");
|
|
4046
|
+
l(_, m, N, "Γ", "\\Gamma", !0);
|
|
4047
|
+
l(_, m, N, "Δ", "\\Delta", !0);
|
|
4048
|
+
l(_, m, N, "Θ", "\\Theta", !0);
|
|
4049
|
+
l(_, m, N, "Λ", "\\Lambda", !0);
|
|
4050
|
+
l(_, m, N, "Ξ", "\\Xi", !0);
|
|
4051
|
+
l(_, m, N, "Π", "\\Pi", !0);
|
|
4052
|
+
l(_, m, N, "Σ", "\\Sigma", !0);
|
|
4053
|
+
l(_, m, N, "Υ", "\\Upsilon", !0);
|
|
4054
|
+
l(_, m, N, "Φ", "\\Phi", !0);
|
|
4055
|
+
l(_, m, N, "Ψ", "\\Psi", !0);
|
|
4056
|
+
l(_, m, N, "Ω", "\\Omega", !0);
|
|
4057
|
+
l(_, m, N, "A", "Α");
|
|
4058
|
+
l(_, m, N, "B", "Β");
|
|
4059
|
+
l(_, m, N, "E", "Ε");
|
|
4060
|
+
l(_, m, N, "Z", "Ζ");
|
|
4061
|
+
l(_, m, N, "H", "Η");
|
|
4062
|
+
l(_, m, N, "I", "Ι");
|
|
4063
|
+
l(_, m, N, "K", "Κ");
|
|
4064
|
+
l(_, m, N, "M", "Μ");
|
|
4065
|
+
l(_, m, N, "N", "Ν");
|
|
4066
|
+
l(_, m, N, "O", "Ο");
|
|
4067
|
+
l(_, m, N, "P", "Ρ");
|
|
4068
|
+
l(_, m, N, "T", "Τ");
|
|
4069
|
+
l(_, m, N, "X", "Χ");
|
|
4070
|
+
l(_, m, N, "¬", "\\neg", !0);
|
|
4071
|
+
l(_, m, N, "¬", "\\lnot");
|
|
4072
|
+
l(_, m, N, "⊤", "\\top");
|
|
4073
|
+
l(_, m, N, "⊥", "\\bot");
|
|
4074
|
+
l(_, m, N, "∅", "\\emptyset");
|
|
4075
|
+
l(_, T, N, "∅", "\\varnothing");
|
|
4076
4076
|
l(_, m, ee, "α", "\\alpha", !0);
|
|
4077
4077
|
l(_, m, ee, "β", "\\beta", !0);
|
|
4078
4078
|
l(_, m, ee, "γ", "\\gamma", !0);
|
|
@@ -4118,7 +4118,7 @@ l(_, m, K, "∧", "\\land");
|
|
|
4118
4118
|
l(_, m, K, "∨", "\\lor");
|
|
4119
4119
|
l(_, m, K, "∧", "\\wedge", !0);
|
|
4120
4120
|
l(_, m, K, "∨", "\\vee", !0);
|
|
4121
|
-
l(_, m,
|
|
4121
|
+
l(_, m, N, "√", "\\surd");
|
|
4122
4122
|
l(_, m, dt, "⟨", "\\langle", !0);
|
|
4123
4123
|
l(_, m, dt, "∣", "\\lvert");
|
|
4124
4124
|
l(_, m, dt, "∥", "\\lVert");
|
|
@@ -4168,7 +4168,7 @@ l(_, T, K, "⊻", "\\veebar", !0);
|
|
|
4168
4168
|
l(_, m, K, "⊙", "\\odot", !0);
|
|
4169
4169
|
l(_, m, K, "⊕", "\\oplus", !0);
|
|
4170
4170
|
l(_, m, K, "⊗", "\\otimes", !0);
|
|
4171
|
-
l(_, m,
|
|
4171
|
+
l(_, m, N, "∂", "\\partial", !0);
|
|
4172
4172
|
l(_, m, K, "⊘", "\\oslash", !0);
|
|
4173
4173
|
l(_, T, K, "⊚", "\\circledcirc", !0);
|
|
4174
4174
|
l(_, T, K, "⊡", "\\boxdot", !0);
|
|
@@ -4180,35 +4180,35 @@ l(_, m, K, "⋆", "\\star");
|
|
|
4180
4180
|
l(_, m, K, "◃", "\\triangleleft");
|
|
4181
4181
|
l(_, m, K, "▹", "\\triangleright");
|
|
4182
4182
|
l(_, m, dt, "{", "\\{");
|
|
4183
|
-
l(M, m,
|
|
4184
|
-
l(M, m,
|
|
4183
|
+
l(M, m, N, "{", "\\{");
|
|
4184
|
+
l(M, m, N, "{", "\\textbraceleft");
|
|
4185
4185
|
l(_, m, nt, "}", "\\}");
|
|
4186
|
-
l(M, m,
|
|
4187
|
-
l(M, m,
|
|
4186
|
+
l(M, m, N, "}", "\\}");
|
|
4187
|
+
l(M, m, N, "}", "\\textbraceright");
|
|
4188
4188
|
l(_, m, dt, "{", "\\lbrace");
|
|
4189
4189
|
l(_, m, nt, "}", "\\rbrace");
|
|
4190
4190
|
l(_, m, dt, "[", "\\lbrack", !0);
|
|
4191
|
-
l(M, m,
|
|
4191
|
+
l(M, m, N, "[", "\\lbrack", !0);
|
|
4192
4192
|
l(_, m, nt, "]", "\\rbrack", !0);
|
|
4193
|
-
l(M, m,
|
|
4193
|
+
l(M, m, N, "]", "\\rbrack", !0);
|
|
4194
4194
|
l(_, m, dt, "(", "\\lparen", !0);
|
|
4195
4195
|
l(_, m, nt, ")", "\\rparen", !0);
|
|
4196
|
-
l(M, m,
|
|
4197
|
-
l(M, m,
|
|
4196
|
+
l(M, m, N, "<", "\\textless", !0);
|
|
4197
|
+
l(M, m, N, ">", "\\textgreater", !0);
|
|
4198
4198
|
l(_, m, dt, "⌊", "\\lfloor", !0);
|
|
4199
4199
|
l(_, m, nt, "⌋", "\\rfloor", !0);
|
|
4200
4200
|
l(_, m, dt, "⌈", "\\lceil", !0);
|
|
4201
4201
|
l(_, m, nt, "⌉", "\\rceil", !0);
|
|
4202
|
-
l(_, m,
|
|
4203
|
-
l(_, m,
|
|
4204
|
-
l(_, m,
|
|
4205
|
-
l(M, m,
|
|
4206
|
-
l(_, m,
|
|
4207
|
-
l(_, m,
|
|
4208
|
-
l(M, m,
|
|
4209
|
-
l(M, m,
|
|
4210
|
-
l(M, m,
|
|
4211
|
-
l(M, m,
|
|
4202
|
+
l(_, m, N, "\\", "\\backslash");
|
|
4203
|
+
l(_, m, N, "∣", "|");
|
|
4204
|
+
l(_, m, N, "∣", "\\vert");
|
|
4205
|
+
l(M, m, N, "|", "\\textbar", !0);
|
|
4206
|
+
l(_, m, N, "∥", "\\|");
|
|
4207
|
+
l(_, m, N, "∥", "\\Vert");
|
|
4208
|
+
l(M, m, N, "∥", "\\textbardbl");
|
|
4209
|
+
l(M, m, N, "~", "\\textasciitilde");
|
|
4210
|
+
l(M, m, N, "\\", "\\textbackslash");
|
|
4211
|
+
l(M, m, N, "^", "\\textasciicircum");
|
|
4212
4212
|
l(_, m, h, "↑", "\\uparrow", !0);
|
|
4213
4213
|
l(_, m, h, "⇑", "\\Uparrow", !0);
|
|
4214
4214
|
l(_, m, h, "↓", "\\downarrow", !0);
|
|
@@ -4241,8 +4241,8 @@ l(M, m, hr, "…", "\\ldots", !0);
|
|
|
4241
4241
|
l(_, m, hr, "…", "\\ldots", !0);
|
|
4242
4242
|
l(_, m, hr, "⋯", "\\@cdots", !0);
|
|
4243
4243
|
l(_, m, hr, "⋱", "\\ddots", !0);
|
|
4244
|
-
l(_, m,
|
|
4245
|
-
l(M, m,
|
|
4244
|
+
l(_, m, N, "⋮", "\\varvdots");
|
|
4245
|
+
l(M, m, N, "⋮", "\\varvdots");
|
|
4246
4246
|
l(_, m, Ie, "ˊ", "\\acute");
|
|
4247
4247
|
l(_, m, Ie, "ˋ", "\\grave");
|
|
4248
4248
|
l(_, m, Ie, "¨", "\\ddot");
|
|
@@ -4256,17 +4256,17 @@ l(_, m, Ie, "˙", "\\dot");
|
|
|
4256
4256
|
l(_, m, Ie, "˚", "\\mathring");
|
|
4257
4257
|
l(_, m, ee, "", "\\@imath");
|
|
4258
4258
|
l(_, m, ee, "", "\\@jmath");
|
|
4259
|
-
l(_, m,
|
|
4260
|
-
l(_, m,
|
|
4261
|
-
l(M, m,
|
|
4262
|
-
l(M, m,
|
|
4263
|
-
l(M, m,
|
|
4264
|
-
l(M, m,
|
|
4265
|
-
l(M, m,
|
|
4266
|
-
l(M, m,
|
|
4267
|
-
l(M, m,
|
|
4268
|
-
l(M, m,
|
|
4269
|
-
l(M, m,
|
|
4259
|
+
l(_, m, N, "ı", "ı");
|
|
4260
|
+
l(_, m, N, "ȷ", "ȷ");
|
|
4261
|
+
l(M, m, N, "ı", "\\i", !0);
|
|
4262
|
+
l(M, m, N, "ȷ", "\\j", !0);
|
|
4263
|
+
l(M, m, N, "ß", "\\ss", !0);
|
|
4264
|
+
l(M, m, N, "æ", "\\ae", !0);
|
|
4265
|
+
l(M, m, N, "œ", "\\oe", !0);
|
|
4266
|
+
l(M, m, N, "ø", "\\o", !0);
|
|
4267
|
+
l(M, m, N, "Æ", "\\AE", !0);
|
|
4268
|
+
l(M, m, N, "Œ", "\\OE", !0);
|
|
4269
|
+
l(M, m, N, "Ø", "\\O", !0);
|
|
4270
4270
|
l(M, m, Ie, "ˊ", "\\'");
|
|
4271
4271
|
l(M, m, Ie, "ˋ", "\\`");
|
|
4272
4272
|
l(M, m, Ie, "ˆ", "\\^");
|
|
@@ -4286,74 +4286,74 @@ var Zu = {
|
|
|
4286
4286
|
"``": !0,
|
|
4287
4287
|
"''": !0
|
|
4288
4288
|
};
|
|
4289
|
-
l(M, m,
|
|
4290
|
-
l(M, m,
|
|
4291
|
-
l(M, m,
|
|
4292
|
-
l(M, m,
|
|
4293
|
-
l(M, m,
|
|
4294
|
-
l(M, m,
|
|
4295
|
-
l(M, m,
|
|
4296
|
-
l(M, m,
|
|
4297
|
-
l(M, m,
|
|
4298
|
-
l(M, m,
|
|
4299
|
-
l(M, m,
|
|
4300
|
-
l(M, m,
|
|
4301
|
-
l(_, m,
|
|
4302
|
-
l(M, m,
|
|
4303
|
-
l(M, m,
|
|
4304
|
-
l(_, m,
|
|
4305
|
-
l(_, m,
|
|
4306
|
-
l(M, m,
|
|
4307
|
-
l(M, m,
|
|
4308
|
-
l(_, T,
|
|
4309
|
-
l(M, T,
|
|
4289
|
+
l(M, m, N, "–", "--", !0);
|
|
4290
|
+
l(M, m, N, "–", "\\textendash");
|
|
4291
|
+
l(M, m, N, "—", "---", !0);
|
|
4292
|
+
l(M, m, N, "—", "\\textemdash");
|
|
4293
|
+
l(M, m, N, "‘", "`", !0);
|
|
4294
|
+
l(M, m, N, "‘", "\\textquoteleft");
|
|
4295
|
+
l(M, m, N, "’", "'", !0);
|
|
4296
|
+
l(M, m, N, "’", "\\textquoteright");
|
|
4297
|
+
l(M, m, N, "“", "``", !0);
|
|
4298
|
+
l(M, m, N, "“", "\\textquotedblleft");
|
|
4299
|
+
l(M, m, N, "”", "''", !0);
|
|
4300
|
+
l(M, m, N, "”", "\\textquotedblright");
|
|
4301
|
+
l(_, m, N, "°", "\\degree", !0);
|
|
4302
|
+
l(M, m, N, "°", "\\degree");
|
|
4303
|
+
l(M, m, N, "°", "\\textdegree", !0);
|
|
4304
|
+
l(_, m, N, "£", "\\pounds");
|
|
4305
|
+
l(_, m, N, "£", "\\mathsterling", !0);
|
|
4306
|
+
l(M, m, N, "£", "\\pounds");
|
|
4307
|
+
l(M, m, N, "£", "\\textsterling", !0);
|
|
4308
|
+
l(_, T, N, "✠", "\\maltese");
|
|
4309
|
+
l(M, T, N, "✠", "\\maltese");
|
|
4310
4310
|
var Ml = '0123456789/@."';
|
|
4311
4311
|
for (var wa = 0; wa < Ml.length; wa++) {
|
|
4312
4312
|
var Ll = Ml.charAt(wa);
|
|
4313
|
-
l(_, m,
|
|
4313
|
+
l(_, m, N, Ll, Ll);
|
|
4314
4314
|
}
|
|
4315
4315
|
var Pl = '0123456789!@*()-=+";:?/.,';
|
|
4316
4316
|
for (var Ma = 0; Ma < Pl.length; Ma++) {
|
|
4317
4317
|
var kl = Pl.charAt(Ma);
|
|
4318
|
-
l(M, m,
|
|
4318
|
+
l(M, m, N, kl, kl);
|
|
4319
4319
|
}
|
|
4320
4320
|
var sa = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
4321
4321
|
for (var La = 0; La < sa.length; La++) {
|
|
4322
4322
|
var Xr = sa.charAt(La);
|
|
4323
|
-
l(_, m, ee, Xr, Xr), l(M, m,
|
|
4324
|
-
}
|
|
4325
|
-
l(_, T,
|
|
4326
|
-
l(M, T,
|
|
4327
|
-
l(_, T,
|
|
4328
|
-
l(M, T,
|
|
4329
|
-
l(_, T,
|
|
4330
|
-
l(M, T,
|
|
4331
|
-
l(_, T,
|
|
4332
|
-
l(M, T,
|
|
4333
|
-
l(_, T,
|
|
4334
|
-
l(M, T,
|
|
4335
|
-
l(_, T,
|
|
4336
|
-
l(M, T,
|
|
4337
|
-
l(_, T,
|
|
4338
|
-
l(M, T,
|
|
4323
|
+
l(_, m, ee, Xr, Xr), l(M, m, N, Xr, Xr);
|
|
4324
|
+
}
|
|
4325
|
+
l(_, T, N, "C", "ℂ");
|
|
4326
|
+
l(M, T, N, "C", "ℂ");
|
|
4327
|
+
l(_, T, N, "H", "ℍ");
|
|
4328
|
+
l(M, T, N, "H", "ℍ");
|
|
4329
|
+
l(_, T, N, "N", "ℕ");
|
|
4330
|
+
l(M, T, N, "N", "ℕ");
|
|
4331
|
+
l(_, T, N, "P", "ℙ");
|
|
4332
|
+
l(M, T, N, "P", "ℙ");
|
|
4333
|
+
l(_, T, N, "Q", "ℚ");
|
|
4334
|
+
l(M, T, N, "Q", "ℚ");
|
|
4335
|
+
l(_, T, N, "R", "ℝ");
|
|
4336
|
+
l(M, T, N, "R", "ℝ");
|
|
4337
|
+
l(_, T, N, "Z", "ℤ");
|
|
4338
|
+
l(M, T, N, "Z", "ℤ");
|
|
4339
4339
|
l(_, m, ee, "h", "ℎ");
|
|
4340
4340
|
l(M, m, ee, "h", "ℎ");
|
|
4341
4341
|
var re = "";
|
|
4342
4342
|
for (var tt = 0; tt < sa.length; tt++) {
|
|
4343
4343
|
var ke = sa.charAt(tt);
|
|
4344
|
-
re = String.fromCharCode(55349, 56320 + tt), l(_, m, ee, ke, re), l(M, m,
|
|
4344
|
+
re = String.fromCharCode(55349, 56320 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56372 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56424 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56580 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56684 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56736 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56788 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56840 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56944 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), tt < 26 && (re = String.fromCharCode(55349, 56632 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re), re = String.fromCharCode(55349, 56476 + tt), l(_, m, ee, ke, re), l(M, m, N, ke, re));
|
|
4345
4345
|
}
|
|
4346
4346
|
re = "𝕜";
|
|
4347
4347
|
l(_, m, ee, "k", re);
|
|
4348
|
-
l(M, m,
|
|
4348
|
+
l(M, m, N, "k", re);
|
|
4349
4349
|
for (var nr = 0; nr < 10; nr++) {
|
|
4350
4350
|
var Kt = nr.toString();
|
|
4351
|
-
re = String.fromCharCode(55349, 57294 + nr), l(_, m, ee, Kt, re), l(M, m,
|
|
4351
|
+
re = String.fromCharCode(55349, 57294 + nr), l(_, m, ee, Kt, re), l(M, m, N, Kt, re), re = String.fromCharCode(55349, 57314 + nr), l(_, m, ee, Kt, re), l(M, m, N, Kt, re), re = String.fromCharCode(55349, 57324 + nr), l(_, m, ee, Kt, re), l(M, m, N, Kt, re), re = String.fromCharCode(55349, 57334 + nr), l(_, m, ee, Kt, re), l(M, m, N, Kt, re);
|
|
4352
4352
|
}
|
|
4353
4353
|
var Us = "ÐÞþ";
|
|
4354
4354
|
for (var Pa = 0; Pa < Us.length; Pa++) {
|
|
4355
4355
|
var Zr = Us.charAt(Pa);
|
|
4356
|
-
l(_, m, ee, Zr, Zr), l(M, m,
|
|
4356
|
+
l(_, m, ee, Zr, Zr), l(M, m, N, Zr, Zr);
|
|
4357
4357
|
}
|
|
4358
4358
|
var Jr = [
|
|
4359
4359
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -4494,8 +4494,8 @@ var Jr = [
|
|
|
4494
4494
|
if (a === "textord") {
|
|
4495
4495
|
var v = Ae[n][i] && Ae[n][i].font;
|
|
4496
4496
|
if (v === "ams") {
|
|
4497
|
-
var
|
|
4498
|
-
return rt(i,
|
|
4497
|
+
var C = jr("amsrm", t.fontWeight, t.fontShape);
|
|
4498
|
+
return rt(i, C, n, t, o.concat("amsrm", t.fontWeight, t.fontShape));
|
|
4499
4499
|
} else if (v === "main" || !v) {
|
|
4500
4500
|
var O = jr("textrm", t.fontWeight, t.fontShape);
|
|
4501
4501
|
return rt(i, O, n, t, o.concat(t.fontWeight, t.fontShape));
|
|
@@ -4603,23 +4603,23 @@ var Jr = [
|
|
|
4603
4603
|
if (f.type === "kern")
|
|
4604
4604
|
S += f.size;
|
|
4605
4605
|
else {
|
|
4606
|
-
var v = f.elem,
|
|
4606
|
+
var v = f.elem, C = f.wrapperClasses || [], O = f.wrapperStyle || {}, y = L(C, [d, v], void 0, O);
|
|
4607
4607
|
y.style.top = Y(-i - S - v.depth), f.marginLeft && (y.style.marginLeft = f.marginLeft), f.marginRight && (y.style.marginRight = f.marginRight), u.push(y), S += v.height + v.depth;
|
|
4608
4608
|
}
|
|
4609
4609
|
p = Math.min(p, S), g = Math.max(g, S);
|
|
4610
4610
|
}
|
|
4611
|
-
var
|
|
4612
|
-
|
|
4613
|
-
var
|
|
4611
|
+
var I = L(["vlist"], u);
|
|
4612
|
+
I.style.height = Y(g);
|
|
4613
|
+
var D;
|
|
4614
4614
|
if (p < 0) {
|
|
4615
4615
|
var A = L([], []), P = L(["vlist"], [A]);
|
|
4616
4616
|
P.style.height = Y(-p);
|
|
4617
4617
|
var k = L(["vlist-s"], [new _t("")]);
|
|
4618
|
-
|
|
4618
|
+
D = [L(["vlist-r"], [I, k]), L(["vlist-r"], [P])];
|
|
4619
4619
|
} else
|
|
4620
|
-
|
|
4621
|
-
var G = L(["vlist-t"],
|
|
4622
|
-
return
|
|
4620
|
+
D = [L(["vlist-r"], [I])];
|
|
4621
|
+
var G = L(["vlist-t"], D);
|
|
4622
|
+
return D.length === 2 && G.classes.push("vlist-t2"), G.height = g, G.depth = -p, G;
|
|
4623
4623
|
}, ju = (r, e) => {
|
|
4624
4624
|
var t = L(["mspace"], [], e), a = Me(r, e);
|
|
4625
4625
|
return t.style.marginRight = Y(a), t;
|
|
@@ -4873,14 +4873,14 @@ var _a = function(e) {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
var p = L([n[0] || "leftmost"], [], t), g = L([n[1] || "rightmost"], [], t), S = a === "root";
|
|
4875
4875
|
return Fs(i, (b, f) => {
|
|
4876
|
-
var v = f.classes[0],
|
|
4877
|
-
v === "mbin" && zp.has(
|
|
4876
|
+
var v = f.classes[0], C = b.classes[0];
|
|
4877
|
+
v === "mbin" && zp.has(C) ? f.classes[0] = "mord" : C === "mbin" && qp.has(v) && (b.classes[0] = "mord");
|
|
4878
4878
|
}, {
|
|
4879
4879
|
node: p
|
|
4880
4880
|
}, g, S), Fs(i, (b, f) => {
|
|
4881
|
-
var v,
|
|
4882
|
-
if (
|
|
4883
|
-
return ju(
|
|
4881
|
+
var v, C, O = Ys(f), y = Ys(b), I = O && y ? b.hasClass("mtight") ? (v = Yp[O]) == null ? void 0 : v[y] : (C = Gp[O]) == null ? void 0 : C[y] : null;
|
|
4882
|
+
if (I)
|
|
4883
|
+
return ju(I, d);
|
|
4884
4884
|
}, {
|
|
4885
4885
|
node: p
|
|
4886
4886
|
}, g, S), i;
|
|
@@ -5546,7 +5546,7 @@ var om = function(e) {
|
|
|
5546
5546
|
height: S
|
|
5547
5547
|
};
|
|
5548
5548
|
} else {
|
|
5549
|
-
var
|
|
5549
|
+
var C = [], O = Jp[c], [y, I, D] = O, A = D / 1e3, P = y.length, k, G;
|
|
5550
5550
|
if (P === 1) {
|
|
5551
5551
|
var Z = O[3];
|
|
5552
5552
|
k = ["hide-tail"], G = [Z];
|
|
@@ -5561,20 +5561,20 @@ var om = function(e) {
|
|
|
5561
5561
|
var w = new Xt(y[q]), W = new Ft([w], {
|
|
5562
5562
|
width: "400em",
|
|
5563
5563
|
height: Y(A),
|
|
5564
|
-
viewBox: "0 0 " + s + " " +
|
|
5564
|
+
viewBox: "0 0 " + s + " " + D,
|
|
5565
5565
|
preserveAspectRatio: G[q] + " slice"
|
|
5566
5566
|
}), J = Zt([k[q]], [W], t);
|
|
5567
5567
|
if (P === 1)
|
|
5568
5568
|
return {
|
|
5569
5569
|
span: J,
|
|
5570
|
-
minWidth:
|
|
5570
|
+
minWidth: I,
|
|
5571
5571
|
height: A
|
|
5572
5572
|
};
|
|
5573
|
-
J.style.height = Y(A),
|
|
5573
|
+
J.style.height = Y(A), C.push(J);
|
|
5574
5574
|
}
|
|
5575
5575
|
return {
|
|
5576
|
-
span: L(["stretchy"],
|
|
5577
|
-
minWidth:
|
|
5576
|
+
span: L(["stretchy"], C, t),
|
|
5577
|
+
minWidth: I,
|
|
5578
5578
|
height: A
|
|
5579
5579
|
};
|
|
5580
5580
|
}
|
|
@@ -5682,8 +5682,8 @@ var lm = (r) => {
|
|
|
5682
5682
|
}]
|
|
5683
5683
|
});
|
|
5684
5684
|
}
|
|
5685
|
-
var
|
|
5686
|
-
return n ? (n.children[0] =
|
|
5685
|
+
var C = L(["mord", "accent"], [g], e);
|
|
5686
|
+
return n ? (n.children[0] = C, n.height = Math.max(C.height, n.height), n.classes[0] = "mord", n) : C;
|
|
5687
5687
|
}, cm = (r, e) => {
|
|
5688
5688
|
var t = r.isStretchy ? pa(r.label) : new B("mo", [St(r.label, r.mode)]), a = new B("mover", [Re(r.base, e), t]);
|
|
5689
5689
|
return a.setAttribute("accent", "true"), a;
|
|
@@ -6487,12 +6487,12 @@ var Mr = function(e, t, a) {
|
|
|
6487
6487
|
s = d = u = e, c = null;
|
|
6488
6488
|
var S = "Size1-Regular";
|
|
6489
6489
|
e === "\\uparrow" ? d = u = "⏐" : e === "\\Uparrow" ? d = u = "‖" : e === "\\downarrow" ? s = d = "⏐" : e === "\\Downarrow" ? s = d = "‖" : e === "\\updownarrow" ? (s = "\\uparrow", d = "⏐", u = "\\downarrow") : e === "\\Updownarrow" ? (s = "\\Uparrow", d = "‖", u = "\\Downarrow") : c0.has(e) ? (d = "∣", p = "vert", g = 333) : _0.has(e) ? (d = "∥", p = "doublevert", g = 556) : e === "[" || e === "\\lbrack" ? (s = "⎡", d = "⎢", u = "⎣", S = "Size4-Regular", p = "lbrack", g = 667) : e === "]" || e === "\\rbrack" ? (s = "⎤", d = "⎥", u = "⎦", S = "Size4-Regular", p = "rbrack", g = 667) : e === "\\lfloor" || e === "⌊" ? (d = s = "⎢", u = "⎣", S = "Size4-Regular", p = "lfloor", g = 667) : e === "\\lceil" || e === "⌈" ? (s = "⎡", d = u = "⎢", S = "Size4-Regular", p = "lceil", g = 667) : e === "\\rfloor" || e === "⌋" ? (d = s = "⎥", u = "⎦", S = "Size4-Regular", p = "rfloor", g = 667) : e === "\\rceil" || e === "⌉" ? (s = "⎤", d = u = "⎥", S = "Size4-Regular", p = "rceil", g = 667) : e === "(" || e === "\\lparen" ? (s = "⎛", d = "⎜", u = "⎝", S = "Size4-Regular", p = "lparen", g = 875) : e === ")" || e === "\\rparen" ? (s = "⎞", d = "⎟", u = "⎠", S = "Size4-Regular", p = "rparen", g = 875) : e === "\\{" || e === "\\lbrace" ? (s = "⎧", c = "⎨", u = "⎩", d = "⎪", S = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (s = "⎫", c = "⎬", u = "⎭", d = "⎪", S = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (s = "⎧", u = "⎩", d = "⎪", S = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (s = "⎫", u = "⎭", d = "⎪", S = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (s = "⎧", u = "⎭", d = "⎪", S = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (s = "⎫", u = "⎩", d = "⎪", S = "Size4-Regular");
|
|
6490
|
-
var b = Mr(s, S, i), f = b.height + b.depth, v = Mr(d, S, i),
|
|
6490
|
+
var b = Mr(s, S, i), f = b.height + b.depth, v = Mr(d, S, i), C = v.height + v.depth, O = Mr(u, S, i), y = O.height + O.depth, I = 0, D = 1;
|
|
6491
6491
|
if (c !== null) {
|
|
6492
6492
|
var A = Mr(c, S, i);
|
|
6493
|
-
|
|
6493
|
+
I = A.height + A.depth, D = 2;
|
|
6494
6494
|
}
|
|
6495
|
-
var P = f + y +
|
|
6495
|
+
var P = f + y + I, k = Math.max(0, Math.ceil((t - P) / (D * C))), G = P + k * D * C, Z = n.fontMetrics().axisHeight;
|
|
6496
6496
|
a && (Z *= n.sizeMultiplier);
|
|
6497
6497
|
var q = G / 2 - Z, w = [];
|
|
6498
6498
|
if (p.length > 0) {
|
|
@@ -6510,7 +6510,7 @@ var Mr = function(e, t, a) {
|
|
|
6510
6510
|
var Ce = G - f - y + 2 * Hs;
|
|
6511
6511
|
w.push(Ba(d, Ce, n));
|
|
6512
6512
|
} else {
|
|
6513
|
-
var Be = (G - f - y -
|
|
6513
|
+
var Be = (G - f - y - I) / 2 + 2 * Hs;
|
|
6514
6514
|
w.push(Ba(d, Be, n)), w.push(ra), w.push(Ua(c, S, i)), w.push(ra), w.push(Ba(d, Be, n));
|
|
6515
6515
|
}
|
|
6516
6516
|
w.push(ra), w.push(Ua(s, S, i));
|
|
@@ -6885,12 +6885,12 @@ var Ta = (r, e) => {
|
|
|
6885
6885
|
i = Zt(["hide-tail"], [b], e), i.style.height = Y(p), o = t.depth + c + d;
|
|
6886
6886
|
} else {
|
|
6887
6887
|
/cancel/.test(a) ? s || t.classes.push("cancel-pad") : a === "angl" ? t.classes.push("anglpad") : t.classes.push("boxpad");
|
|
6888
|
-
var f = 0, v = 0,
|
|
6889
|
-
/box/.test(a) ? (
|
|
6888
|
+
var f = 0, v = 0, C = 0;
|
|
6889
|
+
/box/.test(a) ? (C = Math.max(
|
|
6890
6890
|
e.fontMetrics().fboxrule,
|
|
6891
6891
|
// default
|
|
6892
6892
|
e.minRuleThickness
|
|
6893
|
-
), f = e.fontMetrics().fboxsep + (a === "colorbox" ? 0 :
|
|
6893
|
+
), f = e.fontMetrics().fboxsep + (a === "colorbox" ? 0 : C), v = f) : a === "angl" ? (C = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), f = 4 * C, v = Math.max(0, 0.25 - t.depth)) : (f = s ? 0.2 : 0, v = f), i = e0(t, a, f, v, e), /fbox|boxed|fcolorbox/.test(a) ? (i.style.borderStyle = "solid", i.style.borderWidth = Y(C)) : a === "angl" && C !== 0.049 && (i.style.borderTopWidth = Y(C), i.style.borderRightWidth = Y(C)), o = t.depth + v, r.backgroundColor && (i.style.backgroundColor = r.backgroundColor, r.borderColor && (i.style.borderColor = r.borderColor));
|
|
6894
6894
|
}
|
|
6895
6895
|
var O;
|
|
6896
6896
|
if (r.backgroundColor)
|
|
@@ -7198,20 +7198,20 @@ function jt(r, e, t) {
|
|
|
7198
7198
|
throw new U("Invalid \\arraystretch: " + S);
|
|
7199
7199
|
}
|
|
7200
7200
|
r.gullet.beginGroup();
|
|
7201
|
-
var b = [], f = [b], v = [],
|
|
7201
|
+
var b = [], f = [b], v = [], C = [], O = c != null ? [] : void 0;
|
|
7202
7202
|
function y() {
|
|
7203
7203
|
c && r.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
7204
7204
|
}
|
|
7205
|
-
function
|
|
7205
|
+
function I() {
|
|
7206
7206
|
O && (r.gullet.macros.get("\\df@tag") ? (O.push(r.subparse([new ct("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : O.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
|
|
7207
7207
|
}
|
|
7208
|
-
for (y(),
|
|
7209
|
-
var
|
|
7208
|
+
for (y(), C.push(Vl(r)); ; ) {
|
|
7209
|
+
var D = r.parseExpression(!1, d ? "\\end" : "\\\\");
|
|
7210
7210
|
r.gullet.endGroup(), r.gullet.beginGroup();
|
|
7211
7211
|
var A = {
|
|
7212
7212
|
type: "ordgroup",
|
|
7213
7213
|
mode: r.mode,
|
|
7214
|
-
body:
|
|
7214
|
+
body: D
|
|
7215
7215
|
};
|
|
7216
7216
|
t && (A = {
|
|
7217
7217
|
type: "styling",
|
|
@@ -7228,12 +7228,12 @@ function jt(r, e, t) {
|
|
|
7228
7228
|
}
|
|
7229
7229
|
r.consume();
|
|
7230
7230
|
} else if (P === "\\end") {
|
|
7231
|
-
|
|
7231
|
+
I(), b.length === 1 && A.type === "styling" && A.body.length === 1 && A.body[0].type === "ordgroup" && A.body[0].body.length === 0 && (f.length > 1 || !u) && f.pop(), C.length < f.length + 1 && C.push([]);
|
|
7232
7232
|
break;
|
|
7233
7233
|
} else if (P === "\\\\") {
|
|
7234
7234
|
r.consume();
|
|
7235
7235
|
var k = void 0;
|
|
7236
|
-
r.gullet.future().text !== " " && (k = r.parseSizeGroup(!0)), v.push(k ? k.value : null),
|
|
7236
|
+
r.gullet.future().text !== " " && (k = r.parseSizeGroup(!0)), v.push(k ? k.value : null), I(), C.push(Vl(r)), b = [], f.push(b), y();
|
|
7237
7237
|
} else
|
|
7238
7238
|
throw new U("Expected & or \\\\ or \\cr or \\end", r.nextToken);
|
|
7239
7239
|
}
|
|
@@ -7246,7 +7246,7 @@ function jt(r, e, t) {
|
|
|
7246
7246
|
cols: i,
|
|
7247
7247
|
rowGaps: v,
|
|
7248
7248
|
hskipBeforeAndAfter: a,
|
|
7249
|
-
hLinesBeforeRow:
|
|
7249
|
+
hLinesBeforeRow: C,
|
|
7250
7250
|
colSeparationType: s,
|
|
7251
7251
|
tags: O,
|
|
7252
7252
|
leqno: g
|
|
@@ -7268,24 +7268,24 @@ var At = function(e, t) {
|
|
|
7268
7268
|
var b = e.colSeparationType === "CD" ? Me({
|
|
7269
7269
|
number: 3,
|
|
7270
7270
|
unit: "ex"
|
|
7271
|
-
}, t) : 12 * p, f = 3 * p, v = e.arraystretch * b,
|
|
7272
|
-
function
|
|
7271
|
+
}, t) : 12 * p, f = 3 * p, v = e.arraystretch * b, C = 0.7 * v, O = 0.3 * v, y = 0;
|
|
7272
|
+
function I(vt) {
|
|
7273
7273
|
for (var Rt = 0; Rt < vt.length; ++Rt)
|
|
7274
7274
|
Rt > 0 && (y += 0.25), d.push({
|
|
7275
7275
|
pos: y,
|
|
7276
7276
|
isDashed: vt[Rt]
|
|
7277
7277
|
});
|
|
7278
7278
|
}
|
|
7279
|
-
for (
|
|
7280
|
-
var
|
|
7281
|
-
s <
|
|
7282
|
-
var k = new Array(
|
|
7283
|
-
for (n = 0; n <
|
|
7284
|
-
var G = fe(
|
|
7279
|
+
for (I(o[0]), a = 0; a < e.body.length; ++a) {
|
|
7280
|
+
var D = e.body[a], A = C, P = O;
|
|
7281
|
+
s < D.length && (s = D.length);
|
|
7282
|
+
var k = new Array(D.length);
|
|
7283
|
+
for (n = 0; n < D.length; ++n) {
|
|
7284
|
+
var G = fe(D[n], t);
|
|
7285
7285
|
P < G.depth && (P = G.depth), A < G.height && (A = G.height), k[n] = G;
|
|
7286
7286
|
}
|
|
7287
7287
|
var Z = e.rowGaps[a], q = 0;
|
|
7288
|
-
Z && (q = Me(Z, t), q > 0 && (q += O, P < q && (P = q), q = 0)), e.addJot && a < e.body.length - 1 && (P += f), k.height = A, k.depth = P, y += A, k.pos = y, y += P + q, c[a] = k,
|
|
7288
|
+
Z && (q = Me(Z, t), q > 0 && (q += O, P < q && (P = q), q = 0)), e.addJot && a < e.body.length - 1 && (P += f), k.height = A, k.depth = P, y += A, k.pos = y, y += P + q, c[a] = k, I(o[a + 1]);
|
|
7289
7289
|
}
|
|
7290
7290
|
var w = y / 2 + t.fontMetrics().axisHeight, W = e.cols || [], J = [], te, ae, ce = [];
|
|
7291
7291
|
if (e.tags && e.tags.some((vt) => vt))
|
|
@@ -7387,16 +7387,16 @@ var At = function(e, t) {
|
|
|
7387
7387
|
u.setAttribute("rowspacing", Y(p));
|
|
7388
7388
|
var g = "", S = "";
|
|
7389
7389
|
if (e.cols && e.cols.length > 0) {
|
|
7390
|
-
var b = e.cols, f = "", v = !1,
|
|
7391
|
-
b[0].type === "separator" && (g += "top ",
|
|
7392
|
-
for (var y =
|
|
7393
|
-
var
|
|
7394
|
-
|
|
7390
|
+
var b = e.cols, f = "", v = !1, C = 0, O = b.length;
|
|
7391
|
+
b[0].type === "separator" && (g += "top ", C = 1), b[b.length - 1].type === "separator" && (g += "bottom ", O -= 1);
|
|
7392
|
+
for (var y = C; y < O; y++) {
|
|
7393
|
+
var I = b[y];
|
|
7394
|
+
I.type === "align" ? (S += b0[I.align], v && (f += "none "), v = !0) : I.type === "separator" && v && (f += I.separator === "|" ? "solid " : "dashed ", v = !1);
|
|
7395
7395
|
}
|
|
7396
7396
|
u.setAttribute("columnalign", S.trim()), /[sd]/.test(f) && u.setAttribute("columnlines", f.trim());
|
|
7397
7397
|
}
|
|
7398
7398
|
if (e.colSeparationType === "align") {
|
|
7399
|
-
for (var
|
|
7399
|
+
for (var D = e.cols || [], A = "", P = 1; P < D.length; P++)
|
|
7400
7400
|
A += P % 2 ? "0em " : "1em ";
|
|
7401
7401
|
u.setAttribute("columnspacing", A.trim());
|
|
7402
7402
|
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? u.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? u.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? u.setAttribute("columnspacing", "0.5em") : u.setAttribute("columnspacing", "1em");
|
|
@@ -7428,17 +7428,17 @@ var At = function(e, t) {
|
|
|
7428
7428
|
s = Number(u), c = s * 2;
|
|
7429
7429
|
}
|
|
7430
7430
|
var S = !c;
|
|
7431
|
-
o.body.forEach(function(
|
|
7432
|
-
for (var O = 1; O <
|
|
7433
|
-
var y = _e(
|
|
7434
|
-
|
|
7431
|
+
o.body.forEach(function(C) {
|
|
7432
|
+
for (var O = 1; O < C.length; O += 2) {
|
|
7433
|
+
var y = _e(C[O], "styling"), I = _e(y.body[0], "ordgroup");
|
|
7434
|
+
I.body.unshift(d);
|
|
7435
7435
|
}
|
|
7436
7436
|
if (S)
|
|
7437
|
-
c <
|
|
7437
|
+
c < C.length && (c = C.length);
|
|
7438
7438
|
else {
|
|
7439
|
-
var
|
|
7440
|
-
if (s <
|
|
7441
|
-
throw new U("Too many math in a row: " + ("expected " + s + ", but got " +
|
|
7439
|
+
var D = C.length / 2;
|
|
7440
|
+
if (s < D)
|
|
7441
|
+
throw new U("Too many math in a row: " + ("expected " + s + ", but got " + D), C[0]);
|
|
7442
7442
|
}
|
|
7443
7443
|
});
|
|
7444
7444
|
for (var b = 0; b < c; ++b) {
|
|
@@ -7893,8 +7893,8 @@ var f0 = (r, e) => {
|
|
|
7893
7893
|
}]
|
|
7894
7894
|
});
|
|
7895
7895
|
} else {
|
|
7896
|
-
var
|
|
7897
|
-
|
|
7896
|
+
var C = S - o.depth - (d.height - f);
|
|
7897
|
+
C < b && (S += 0.5 * (b - C), f += 0.5 * (b - C)), v = be({
|
|
7898
7898
|
positionType: "individualShift",
|
|
7899
7899
|
children: [{
|
|
7900
7900
|
type: "elem",
|
|
@@ -7908,10 +7908,10 @@ var f0 = (r, e) => {
|
|
|
7908
7908
|
});
|
|
7909
7909
|
}
|
|
7910
7910
|
i = e.havingStyle(t), v.height *= i.sizeMultiplier / e.sizeMultiplier, v.depth *= i.sizeMultiplier / e.sizeMultiplier;
|
|
7911
|
-
var
|
|
7912
|
-
t.size === se.DISPLAY.size ?
|
|
7913
|
-
var
|
|
7914
|
-
return r.leftDelim == null ?
|
|
7911
|
+
var I;
|
|
7912
|
+
t.size === se.DISPLAY.size ? I = e.fontMetrics().delim1 : t.size === se.SCRIPTSCRIPT.size ? I = e.havingStyle(se.SCRIPT).fontMetrics().delim2 : I = e.fontMetrics().delim2;
|
|
7913
|
+
var D, A;
|
|
7914
|
+
return r.leftDelim == null ? D = kr(e, ["mopen"]) : D = Vs(r.leftDelim, I, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? A = L([]) : r.rightDelim == null ? A = kr(e, ["mclose"]) : A = Vs(r.rightDelim, I, !0, e.havingStyle(t), r.mode, ["mclose"]), L(["mord"].concat(i.sizingClasses(e)), [D, L(["mfrac"], [v]), A], e);
|
|
7915
7915
|
}, T0 = (r, e) => {
|
|
7916
7916
|
var t = new B("mfrac", [Re(r.numer, e), Re(r.denom, e)]);
|
|
7917
7917
|
if (!r.hasBarLine)
|
|
@@ -8751,8 +8751,8 @@ var xm = (r, e, t, a, n, i, o) => {
|
|
|
8751
8751
|
return r;
|
|
8752
8752
|
var v = [g];
|
|
8753
8753
|
if (c && i !== 0 && !s) {
|
|
8754
|
-
var
|
|
8755
|
-
|
|
8754
|
+
var C = L(["mspace"], [], a);
|
|
8755
|
+
C.style.marginRight = Y(i), v.unshift(C);
|
|
8756
8756
|
}
|
|
8757
8757
|
return L(["mop", "op-limits"], v, a);
|
|
8758
8758
|
}, wm = /* @__PURE__ */ new Set(["\\smallint"]), vr = (r, e) => {
|
|
@@ -8786,8 +8786,8 @@ var xm = (r, e, t, a, n, i, o) => {
|
|
|
8786
8786
|
b.push(js(i.name[f], i.mode, e));
|
|
8787
8787
|
c = L(["mop"], b, e);
|
|
8788
8788
|
}
|
|
8789
|
-
var v = 0,
|
|
8790
|
-
return (c instanceof _t || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (v = (c.height - c.depth) / 2 - e.fontMetrics().axisHeight,
|
|
8789
|
+
var v = 0, C = 0;
|
|
8790
|
+
return (c instanceof _t || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (v = (c.height - c.depth) / 2 - e.fontMetrics().axisHeight, C = c.italic || 0), n ? xm(c, t, a, e, o, C, v) : (v && (c.style.position = "relative", c.style.top = Y(v)), c);
|
|
8791
8791
|
}, Br = (r, e) => {
|
|
8792
8792
|
var t;
|
|
8793
8793
|
if (r.symbol)
|
|
@@ -9348,14 +9348,14 @@ V({
|
|
|
9348
9348
|
}]
|
|
9349
9349
|
});
|
|
9350
9350
|
if (r.index) {
|
|
9351
|
-
var b = e.havingStyle(se.SCRIPTSCRIPT), f = fe(r.index, b, e), v = 0.6 * (S.height - S.depth),
|
|
9351
|
+
var b = e.havingStyle(se.SCRIPTSCRIPT), f = fe(r.index, b, e), v = 0.6 * (S.height - S.depth), C = be({
|
|
9352
9352
|
positionType: "shift",
|
|
9353
9353
|
positionData: -v,
|
|
9354
9354
|
children: [{
|
|
9355
9355
|
type: "elem",
|
|
9356
9356
|
elem: f
|
|
9357
9357
|
}]
|
|
9358
|
-
}), O = L(["root"], [
|
|
9358
|
+
}), O = L(["root"], [C]);
|
|
9359
9359
|
return L(["mord", "sqrt"], [O, S], e);
|
|
9360
9360
|
} else
|
|
9361
9361
|
return L(["mord", "sqrt"], [S], e);
|
|
@@ -9452,15 +9452,15 @@ sr({
|
|
|
9452
9452
|
}
|
|
9453
9453
|
var f;
|
|
9454
9454
|
e.style === se.DISPLAY ? f = d.sup1 : e.style.cramped ? f = d.sup3 : f = d.sup2;
|
|
9455
|
-
var v = e.sizeMultiplier,
|
|
9455
|
+
var v = e.sizeMultiplier, C = Y(0.5 / d.ptPerEm / v), O = null;
|
|
9456
9456
|
if (c) {
|
|
9457
9457
|
var y = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
|
|
9458
9458
|
(o instanceof _t || y) && (O = Y(-o.italic));
|
|
9459
9459
|
}
|
|
9460
|
-
var
|
|
9460
|
+
var I;
|
|
9461
9461
|
if (s && c) {
|
|
9462
9462
|
u = Math.max(u, f, s.depth + 0.25 * d.xHeight), p = Math.max(p, d.sub2);
|
|
9463
|
-
var
|
|
9463
|
+
var D = d.defaultRuleThickness, A = 4 * D;
|
|
9464
9464
|
if (u - s.depth - (c.height - p) < A) {
|
|
9465
9465
|
p = A - (u - s.depth) + c.height;
|
|
9466
9466
|
var P = 0.8 * d.xHeight - (u - s.depth);
|
|
@@ -9470,15 +9470,15 @@ sr({
|
|
|
9470
9470
|
type: "elem",
|
|
9471
9471
|
elem: c,
|
|
9472
9472
|
shift: p,
|
|
9473
|
-
marginRight:
|
|
9473
|
+
marginRight: C,
|
|
9474
9474
|
marginLeft: O
|
|
9475
9475
|
}, {
|
|
9476
9476
|
type: "elem",
|
|
9477
9477
|
elem: s,
|
|
9478
9478
|
shift: -u,
|
|
9479
|
-
marginRight:
|
|
9479
|
+
marginRight: C
|
|
9480
9480
|
}];
|
|
9481
|
-
|
|
9481
|
+
I = be({
|
|
9482
9482
|
positionType: "individualShift",
|
|
9483
9483
|
children: k
|
|
9484
9484
|
});
|
|
@@ -9488,27 +9488,27 @@ sr({
|
|
|
9488
9488
|
type: "elem",
|
|
9489
9489
|
elem: c,
|
|
9490
9490
|
marginLeft: O,
|
|
9491
|
-
marginRight:
|
|
9491
|
+
marginRight: C
|
|
9492
9492
|
}];
|
|
9493
|
-
|
|
9493
|
+
I = be({
|
|
9494
9494
|
positionType: "shift",
|
|
9495
9495
|
positionData: p,
|
|
9496
9496
|
children: G
|
|
9497
9497
|
});
|
|
9498
9498
|
} else if (s)
|
|
9499
|
-
u = Math.max(u, f, s.depth + 0.25 * d.xHeight),
|
|
9499
|
+
u = Math.max(u, f, s.depth + 0.25 * d.xHeight), I = be({
|
|
9500
9500
|
positionType: "shift",
|
|
9501
9501
|
positionData: -u,
|
|
9502
9502
|
children: [{
|
|
9503
9503
|
type: "elem",
|
|
9504
9504
|
elem: s,
|
|
9505
|
-
marginRight:
|
|
9505
|
+
marginRight: C
|
|
9506
9506
|
}]
|
|
9507
9507
|
});
|
|
9508
9508
|
else
|
|
9509
9509
|
throw new Error("supsub must have either sup or sub.");
|
|
9510
9510
|
var Z = Ys(o, "right") || "mord";
|
|
9511
|
-
return L([Z], [o, L(["msupsub"], [
|
|
9511
|
+
return L([Z], [o, L(["msupsub"], [I])], e);
|
|
9512
9512
|
},
|
|
9513
9513
|
mathmlBuilder(r, e) {
|
|
9514
9514
|
var t = !1, a, n;
|
|
@@ -12221,7 +12221,7 @@ function H0() {
|
|
|
12221
12221
|
const x = R[R.length - 1];
|
|
12222
12222
|
return typeof x == "object" && x.constructor === Object ? (R.splice(R.length - 1, 1), x) : {};
|
|
12223
12223
|
}
|
|
12224
|
-
function
|
|
12224
|
+
function C(...R) {
|
|
12225
12225
|
return "(" + (v(R).capture ? "" : "?:") + R.map((ie) => p(ie)).join("|") + ")";
|
|
12226
12226
|
}
|
|
12227
12227
|
function O(R) {
|
|
@@ -12231,15 +12231,15 @@ function H0() {
|
|
|
12231
12231
|
const z = R && R.exec(x);
|
|
12232
12232
|
return z && z.index === 0;
|
|
12233
12233
|
}
|
|
12234
|
-
const
|
|
12235
|
-
function
|
|
12234
|
+
const I = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
|
|
12235
|
+
function D(R, { joinWith: x }) {
|
|
12236
12236
|
let z = 0;
|
|
12237
12237
|
return R.map((ie) => {
|
|
12238
12238
|
z += 1;
|
|
12239
12239
|
const Le = z;
|
|
12240
12240
|
let Pe = p(ie), X = "";
|
|
12241
12241
|
for (; Pe.length > 0; ) {
|
|
12242
|
-
const $ =
|
|
12242
|
+
const $ = I.exec(Pe);
|
|
12243
12243
|
if (!$) {
|
|
12244
12244
|
X += Pe;
|
|
12245
12245
|
break;
|
|
@@ -12302,7 +12302,7 @@ function H0() {
|
|
|
12302
12302
|
excludeBegin: !0,
|
|
12303
12303
|
relevance: 0
|
|
12304
12304
|
});
|
|
12305
|
-
const Le =
|
|
12305
|
+
const Le = C(
|
|
12306
12306
|
// list of common 1 and 2 letter words in English
|
|
12307
12307
|
"I",
|
|
12308
12308
|
"a",
|
|
@@ -12438,7 +12438,7 @@ function H0() {
|
|
|
12438
12438
|
x && R.beginKeywords && (R.begin = "\\b(" + R.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", R.__beforeBegin = xe, R.keywords = R.keywords || R.beginKeywords, delete R.beginKeywords, R.relevance === void 0 && (R.relevance = 0));
|
|
12439
12439
|
}
|
|
12440
12440
|
function Tt(R, x) {
|
|
12441
|
-
Array.isArray(R.illegal) && (R.illegal =
|
|
12441
|
+
Array.isArray(R.illegal) && (R.illegal = C(...R.illegal));
|
|
12442
12442
|
}
|
|
12443
12443
|
function lr(R, x) {
|
|
12444
12444
|
if (R.match) {
|
|
@@ -12518,7 +12518,7 @@ function H0() {
|
|
|
12518
12518
|
throw lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), xt;
|
|
12519
12519
|
if (typeof R.beginScope != "object" || R.beginScope === null)
|
|
12520
12520
|
throw lt("beginScope must be object"), xt;
|
|
12521
|
-
vt(R, R.begin, { key: "beginScope" }), R.begin =
|
|
12521
|
+
vt(R, R.begin, { key: "beginScope" }), R.begin = D(R.begin, { joinWith: "" });
|
|
12522
12522
|
}
|
|
12523
12523
|
}
|
|
12524
12524
|
function _r(R) {
|
|
@@ -12527,7 +12527,7 @@ function H0() {
|
|
|
12527
12527
|
throw lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), xt;
|
|
12528
12528
|
if (typeof R.endScope != "object" || R.endScope === null)
|
|
12529
12529
|
throw lt("endScope must be object"), xt;
|
|
12530
|
-
vt(R, R.end, { key: "endScope" }), R.end =
|
|
12530
|
+
vt(R, R.end, { key: "endScope" }), R.end = D(R.end, { joinWith: "" });
|
|
12531
12531
|
}
|
|
12532
12532
|
}
|
|
12533
12533
|
function Fr(R) {
|
|
@@ -12554,7 +12554,7 @@ function H0() {
|
|
|
12554
12554
|
compile() {
|
|
12555
12555
|
this.regexes.length === 0 && (this.exec = () => null);
|
|
12556
12556
|
const $ = this.regexes.map((ne) => ne[1]);
|
|
12557
|
-
this.matcherRe = x(
|
|
12557
|
+
this.matcherRe = x(D($, { joinWith: "|" }), !0), this.lastIndex = 0;
|
|
12558
12558
|
}
|
|
12559
12559
|
/** @param {string} s */
|
|
12560
12560
|
exec($) {
|
|
@@ -13060,7 +13060,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = j), de =
|
|
|
13060
13060
|
}, R.versionString = qr, R.regex = {
|
|
13061
13061
|
concat: f,
|
|
13062
13062
|
lookahead: g,
|
|
13063
|
-
either:
|
|
13063
|
+
either: C,
|
|
13064
13064
|
optional: b,
|
|
13065
13065
|
anyNumberOfTimes: S
|
|
13066
13066
|
};
|
|
@@ -14625,7 +14625,7 @@ function eg() {
|
|
|
14625
14625
|
"while",
|
|
14626
14626
|
"xor",
|
|
14627
14627
|
"xor_eq"
|
|
14628
|
-
],
|
|
14628
|
+
], C = [
|
|
14629
14629
|
"bool",
|
|
14630
14630
|
"char",
|
|
14631
14631
|
"char16_t",
|
|
@@ -14802,7 +14802,7 @@ function eg() {
|
|
|
14802
14802
|
"vprintf",
|
|
14803
14803
|
"vsprintf"
|
|
14804
14804
|
], A = {
|
|
14805
|
-
type:
|
|
14805
|
+
type: C,
|
|
14806
14806
|
keyword: v,
|
|
14807
14807
|
literal: [
|
|
14808
14808
|
"NULL",
|
|
@@ -16796,7 +16796,7 @@ function _g() {
|
|
|
16796
16796
|
"coproc",
|
|
16797
16797
|
"function",
|
|
16798
16798
|
"select"
|
|
16799
|
-
],
|
|
16799
|
+
], C = [
|
|
16800
16800
|
"true",
|
|
16801
16801
|
"false"
|
|
16802
16802
|
], O = { match: /(\/[a-z._-]+)+/ }, y = [
|
|
@@ -16818,7 +16818,7 @@ function _g() {
|
|
|
16818
16818
|
"trap",
|
|
16819
16819
|
"umask",
|
|
16820
16820
|
"unset"
|
|
16821
|
-
],
|
|
16821
|
+
], I = [
|
|
16822
16822
|
"alias",
|
|
16823
16823
|
"bind",
|
|
16824
16824
|
"builtin",
|
|
@@ -16841,7 +16841,7 @@ function _g() {
|
|
|
16841
16841
|
"typeset",
|
|
16842
16842
|
"ulimit",
|
|
16843
16843
|
"unalias"
|
|
16844
|
-
],
|
|
16844
|
+
], D = [
|
|
16845
16845
|
"autoload",
|
|
16846
16846
|
"bg",
|
|
16847
16847
|
"bindkey",
|
|
@@ -17024,14 +17024,14 @@ function _g() {
|
|
|
17024
17024
|
keywords: {
|
|
17025
17025
|
$pattern: /\b[a-z][a-z0-9._-]+\b/,
|
|
17026
17026
|
keyword: v,
|
|
17027
|
-
literal:
|
|
17027
|
+
literal: C,
|
|
17028
17028
|
built_in: [
|
|
17029
17029
|
...y,
|
|
17030
|
-
...
|
|
17030
|
+
...I,
|
|
17031
17031
|
// Shell modifiers
|
|
17032
17032
|
"set",
|
|
17033
17033
|
"shopt",
|
|
17034
|
-
...
|
|
17034
|
+
...D,
|
|
17035
17035
|
...A
|
|
17036
17036
|
]
|
|
17037
17037
|
},
|
|
@@ -17431,7 +17431,7 @@ function pg() {
|
|
|
17431
17431
|
className: "title",
|
|
17432
17432
|
begin: t.optional(i) + e.IDENT_RE,
|
|
17433
17433
|
relevance: 0
|
|
17434
|
-
}, b = t.optional(i) + e.IDENT_RE + "\\s*\\(",
|
|
17434
|
+
}, b = t.optional(i) + e.IDENT_RE + "\\s*\\(", C = {
|
|
17435
17435
|
keyword: [
|
|
17436
17436
|
"asm",
|
|
17437
17437
|
"auto",
|
|
@@ -17540,29 +17540,29 @@ function pg() {
|
|
|
17540
17540
|
end: /;/
|
|
17541
17541
|
}
|
|
17542
17542
|
],
|
|
17543
|
-
keywords:
|
|
17543
|
+
keywords: C,
|
|
17544
17544
|
contains: O.concat([
|
|
17545
17545
|
{
|
|
17546
17546
|
begin: /\(/,
|
|
17547
17547
|
end: /\)/,
|
|
17548
|
-
keywords:
|
|
17548
|
+
keywords: C,
|
|
17549
17549
|
contains: O.concat(["self"]),
|
|
17550
17550
|
relevance: 0
|
|
17551
17551
|
}
|
|
17552
17552
|
]),
|
|
17553
17553
|
relevance: 0
|
|
17554
|
-
},
|
|
17554
|
+
}, I = {
|
|
17555
17555
|
begin: "(" + s + "[\\*&\\s]+)+" + b,
|
|
17556
17556
|
returnBegin: !0,
|
|
17557
17557
|
end: /[{;=]/,
|
|
17558
17558
|
excludeEnd: !0,
|
|
17559
|
-
keywords:
|
|
17559
|
+
keywords: C,
|
|
17560
17560
|
illegal: /[^\w\s\*&:<>.]/,
|
|
17561
17561
|
contains: [
|
|
17562
17562
|
{
|
|
17563
17563
|
// to prevent it from being confused as the function title
|
|
17564
17564
|
begin: n,
|
|
17565
|
-
keywords:
|
|
17565
|
+
keywords: C,
|
|
17566
17566
|
relevance: 0
|
|
17567
17567
|
},
|
|
17568
17568
|
{
|
|
@@ -17581,7 +17581,7 @@ function pg() {
|
|
|
17581
17581
|
className: "params",
|
|
17582
17582
|
begin: /\(/,
|
|
17583
17583
|
end: /\)/,
|
|
17584
|
-
keywords:
|
|
17584
|
+
keywords: C,
|
|
17585
17585
|
relevance: 0,
|
|
17586
17586
|
contains: [
|
|
17587
17587
|
a,
|
|
@@ -17593,7 +17593,7 @@ function pg() {
|
|
|
17593
17593
|
{
|
|
17594
17594
|
begin: /\(/,
|
|
17595
17595
|
end: /\)/,
|
|
17596
|
-
keywords:
|
|
17596
|
+
keywords: C,
|
|
17597
17597
|
relevance: 0,
|
|
17598
17598
|
contains: [
|
|
17599
17599
|
"self",
|
|
@@ -17615,20 +17615,20 @@ function pg() {
|
|
|
17615
17615
|
return {
|
|
17616
17616
|
name: "C",
|
|
17617
17617
|
aliases: ["h"],
|
|
17618
|
-
keywords:
|
|
17618
|
+
keywords: C,
|
|
17619
17619
|
// Until differentiations are added between `c` and `cpp`, `c` will
|
|
17620
17620
|
// not be auto-detected to avoid auto-detect conflicts between C and C++
|
|
17621
17621
|
disableAutodetect: !0,
|
|
17622
17622
|
illegal: "</",
|
|
17623
17623
|
contains: [].concat(
|
|
17624
17624
|
y,
|
|
17625
|
-
|
|
17625
|
+
I,
|
|
17626
17626
|
O,
|
|
17627
17627
|
[
|
|
17628
17628
|
g,
|
|
17629
17629
|
{
|
|
17630
17630
|
begin: e.IDENT_RE + "::",
|
|
17631
|
-
keywords:
|
|
17631
|
+
keywords: C
|
|
17632
17632
|
},
|
|
17633
17633
|
{
|
|
17634
17634
|
className: "class",
|
|
@@ -17644,7 +17644,7 @@ function pg() {
|
|
|
17644
17644
|
exports: {
|
|
17645
17645
|
preprocessor: g,
|
|
17646
17646
|
strings: u,
|
|
17647
|
-
keywords:
|
|
17647
|
+
keywords: C
|
|
17648
17648
|
}
|
|
17649
17649
|
};
|
|
17650
17650
|
}
|
|
@@ -18143,7 +18143,7 @@ function fg() {
|
|
|
18143
18143
|
}, v = {
|
|
18144
18144
|
begin: "\\(",
|
|
18145
18145
|
end: "\\)"
|
|
18146
|
-
},
|
|
18146
|
+
}, C = {
|
|
18147
18147
|
endsWithParent: !0,
|
|
18148
18148
|
relevance: 0
|
|
18149
18149
|
}, O = {
|
|
@@ -18151,7 +18151,7 @@ function fg() {
|
|
|
18151
18151
|
className: "name",
|
|
18152
18152
|
begin: a,
|
|
18153
18153
|
relevance: 0,
|
|
18154
|
-
starts:
|
|
18154
|
+
starts: C
|
|
18155
18155
|
}, y = [
|
|
18156
18156
|
p,
|
|
18157
18157
|
v,
|
|
@@ -18164,7 +18164,7 @@ function fg() {
|
|
|
18164
18164
|
s,
|
|
18165
18165
|
S,
|
|
18166
18166
|
o
|
|
18167
|
-
],
|
|
18167
|
+
], I = {
|
|
18168
18168
|
beginKeywords: n,
|
|
18169
18169
|
keywords: {
|
|
18170
18170
|
$pattern: a,
|
|
@@ -18183,10 +18183,10 @@ function fg() {
|
|
|
18183
18183
|
].concat(y)
|
|
18184
18184
|
};
|
|
18185
18185
|
return v.contains = [
|
|
18186
|
-
|
|
18186
|
+
I,
|
|
18187
18187
|
O,
|
|
18188
|
-
|
|
18189
|
-
],
|
|
18188
|
+
C
|
|
18189
|
+
], C.contains = y, b.contains = y, {
|
|
18190
18190
|
name: "Clojure",
|
|
18191
18191
|
aliases: [
|
|
18192
18192
|
"clj",
|
|
@@ -18423,7 +18423,7 @@ function vg() {
|
|
|
18423
18423
|
"let",
|
|
18424
18424
|
"function",
|
|
18425
18425
|
"static"
|
|
18426
|
-
], g = (
|
|
18426
|
+
], g = (D) => (A) => !D.includes(A), S = {
|
|
18427
18427
|
keyword: r.concat(u).filter(g(p)),
|
|
18428
18428
|
literal: e.concat(d),
|
|
18429
18429
|
built_in: i.concat(c)
|
|
@@ -18513,7 +18513,7 @@ function vg() {
|
|
|
18513
18513
|
}
|
|
18514
18514
|
];
|
|
18515
18515
|
f.contains = v;
|
|
18516
|
-
const
|
|
18516
|
+
const C = s.inherit(s.TITLE_MODE, { begin: b }), O = "(\\(.*\\)\\s*)?\\B[-=]>", y = {
|
|
18517
18517
|
className: "params",
|
|
18518
18518
|
begin: "\\([^\\(]",
|
|
18519
18519
|
returnBegin: !0,
|
|
@@ -18527,7 +18527,7 @@ function vg() {
|
|
|
18527
18527
|
contains: ["self"].concat(v)
|
|
18528
18528
|
}
|
|
18529
18529
|
]
|
|
18530
|
-
},
|
|
18530
|
+
}, I = {
|
|
18531
18531
|
variants: [
|
|
18532
18532
|
{ match: [
|
|
18533
18533
|
/class\s+/,
|
|
@@ -18565,7 +18565,7 @@ function vg() {
|
|
|
18565
18565
|
end: "[-=]>",
|
|
18566
18566
|
returnBegin: !0,
|
|
18567
18567
|
contains: [
|
|
18568
|
-
|
|
18568
|
+
C,
|
|
18569
18569
|
y
|
|
18570
18570
|
]
|
|
18571
18571
|
},
|
|
@@ -18583,7 +18583,7 @@ function vg() {
|
|
|
18583
18583
|
}
|
|
18584
18584
|
]
|
|
18585
18585
|
},
|
|
18586
|
-
|
|
18586
|
+
I,
|
|
18587
18587
|
{
|
|
18588
18588
|
begin: b + ":",
|
|
18589
18589
|
end: ":",
|
|
@@ -19298,7 +19298,7 @@ function Ng() {
|
|
|
19298
19298
|
"signed",
|
|
19299
19299
|
"const",
|
|
19300
19300
|
"static"
|
|
19301
|
-
],
|
|
19301
|
+
], C = [
|
|
19302
19302
|
"any",
|
|
19303
19303
|
"auto_ptr",
|
|
19304
19304
|
"barrier",
|
|
@@ -19457,7 +19457,7 @@ function Ng() {
|
|
|
19457
19457
|
"visit",
|
|
19458
19458
|
"vprintf",
|
|
19459
19459
|
"vsprintf"
|
|
19460
|
-
],
|
|
19460
|
+
], D = {
|
|
19461
19461
|
type: v,
|
|
19462
19462
|
keyword: f,
|
|
19463
19463
|
literal: [
|
|
@@ -19468,7 +19468,7 @@ function Ng() {
|
|
|
19468
19468
|
"true"
|
|
19469
19469
|
],
|
|
19470
19470
|
built_in: ["_Pragma"],
|
|
19471
|
-
_type_hints:
|
|
19471
|
+
_type_hints: C
|
|
19472
19472
|
}, A = {
|
|
19473
19473
|
className: "function.dispatch",
|
|
19474
19474
|
relevance: 0,
|
|
@@ -19512,12 +19512,12 @@ function Ng() {
|
|
|
19512
19512
|
end: /;/
|
|
19513
19513
|
}
|
|
19514
19514
|
],
|
|
19515
|
-
keywords:
|
|
19515
|
+
keywords: D,
|
|
19516
19516
|
contains: P.concat([
|
|
19517
19517
|
{
|
|
19518
19518
|
begin: /\(/,
|
|
19519
19519
|
end: /\)/,
|
|
19520
|
-
keywords:
|
|
19520
|
+
keywords: D,
|
|
19521
19521
|
contains: P.concat(["self"]),
|
|
19522
19522
|
relevance: 0
|
|
19523
19523
|
}
|
|
@@ -19529,13 +19529,13 @@ function Ng() {
|
|
|
19529
19529
|
returnBegin: !0,
|
|
19530
19530
|
end: /[{;=]/,
|
|
19531
19531
|
excludeEnd: !0,
|
|
19532
|
-
keywords:
|
|
19532
|
+
keywords: D,
|
|
19533
19533
|
illegal: /[^\w\s\*&:<>.]/,
|
|
19534
19534
|
contains: [
|
|
19535
19535
|
{
|
|
19536
19536
|
// to prevent it from being confused as the function title
|
|
19537
19537
|
begin: n,
|
|
19538
|
-
keywords:
|
|
19538
|
+
keywords: D,
|
|
19539
19539
|
relevance: 0
|
|
19540
19540
|
},
|
|
19541
19541
|
{
|
|
@@ -19569,7 +19569,7 @@ function Ng() {
|
|
|
19569
19569
|
className: "params",
|
|
19570
19570
|
begin: /\(/,
|
|
19571
19571
|
end: /\)/,
|
|
19572
|
-
keywords:
|
|
19572
|
+
keywords: D,
|
|
19573
19573
|
relevance: 0,
|
|
19574
19574
|
contains: [
|
|
19575
19575
|
a,
|
|
@@ -19581,7 +19581,7 @@ function Ng() {
|
|
|
19581
19581
|
{
|
|
19582
19582
|
begin: /\(/,
|
|
19583
19583
|
end: /\)/,
|
|
19584
|
-
keywords:
|
|
19584
|
+
keywords: D,
|
|
19585
19585
|
relevance: 0,
|
|
19586
19586
|
contains: [
|
|
19587
19587
|
"self",
|
|
@@ -19611,7 +19611,7 @@ function Ng() {
|
|
|
19611
19611
|
"hxx",
|
|
19612
19612
|
"cxx"
|
|
19613
19613
|
],
|
|
19614
|
-
keywords:
|
|
19614
|
+
keywords: D,
|
|
19615
19615
|
illegal: "</",
|
|
19616
19616
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
19617
19617
|
contains: [].concat(
|
|
@@ -19625,7 +19625,7 @@ function Ng() {
|
|
|
19625
19625
|
// containers: ie, `vector <int> rooms (9);`
|
|
19626
19626
|
begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
|
|
19627
19627
|
end: ">",
|
|
19628
|
-
keywords:
|
|
19628
|
+
keywords: D,
|
|
19629
19629
|
contains: [
|
|
19630
19630
|
"self",
|
|
19631
19631
|
c
|
|
@@ -19633,7 +19633,7 @@ function Ng() {
|
|
|
19633
19633
|
},
|
|
19634
19634
|
{
|
|
19635
19635
|
begin: e.IDENT_RE + "::",
|
|
19636
|
-
keywords:
|
|
19636
|
+
keywords: D
|
|
19637
19637
|
},
|
|
19638
19638
|
{
|
|
19639
19639
|
match: [
|
|
@@ -19771,13 +19771,13 @@ function yg() {
|
|
|
19771
19771
|
keywords: s
|
|
19772
19772
|
};
|
|
19773
19773
|
function p(O, y) {
|
|
19774
|
-
const
|
|
19774
|
+
const I = [
|
|
19775
19775
|
{
|
|
19776
19776
|
begin: O,
|
|
19777
19777
|
end: y
|
|
19778
19778
|
}
|
|
19779
19779
|
];
|
|
19780
|
-
return
|
|
19780
|
+
return I[0].contains = I, I;
|
|
19781
19781
|
}
|
|
19782
19782
|
const g = {
|
|
19783
19783
|
className: "string",
|
|
@@ -19922,7 +19922,7 @@ function yg() {
|
|
|
19922
19922
|
begin: "@\\[",
|
|
19923
19923
|
end: "\\]",
|
|
19924
19924
|
contains: [e.inherit(e.QUOTE_STRING_MODE, { className: "string" })]
|
|
19925
|
-
},
|
|
19925
|
+
}, C = [
|
|
19926
19926
|
u,
|
|
19927
19927
|
g,
|
|
19928
19928
|
S,
|
|
@@ -20014,11 +20014,11 @@ function yg() {
|
|
|
20014
20014
|
relevance: 0
|
|
20015
20015
|
}
|
|
20016
20016
|
];
|
|
20017
|
-
return c.contains =
|
|
20017
|
+
return c.contains = C, u.contains = C.slice(1), {
|
|
20018
20018
|
name: "Crystal",
|
|
20019
20019
|
aliases: ["cr"],
|
|
20020
20020
|
keywords: s,
|
|
20021
|
-
contains:
|
|
20021
|
+
contains: C
|
|
20022
20022
|
};
|
|
20023
20023
|
}
|
|
20024
20024
|
return xn = r, xn;
|
|
@@ -20216,7 +20216,7 @@ function Ag() {
|
|
|
20216
20216
|
{ begin: '""' },
|
|
20217
20217
|
S
|
|
20218
20218
|
]
|
|
20219
|
-
},
|
|
20219
|
+
}, C = e.inherit(v, {
|
|
20220
20220
|
illegal: /\n/,
|
|
20221
20221
|
contains: [
|
|
20222
20222
|
{ begin: /\{\{/ },
|
|
@@ -20234,7 +20234,7 @@ function Ag() {
|
|
|
20234
20234
|
d,
|
|
20235
20235
|
e.C_BLOCK_COMMENT_MODE
|
|
20236
20236
|
], b.contains = [
|
|
20237
|
-
|
|
20237
|
+
C,
|
|
20238
20238
|
f,
|
|
20239
20239
|
g,
|
|
20240
20240
|
e.APOS_STRING_MODE,
|
|
@@ -20256,7 +20256,7 @@ function Ag() {
|
|
|
20256
20256
|
{ beginKeywords: "in out" },
|
|
20257
20257
|
c
|
|
20258
20258
|
]
|
|
20259
|
-
},
|
|
20259
|
+
}, I = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", D = {
|
|
20260
20260
|
// prevents expressions like `@class` from incorrect flagging
|
|
20261
20261
|
// `class` as a keyword
|
|
20262
20262
|
begin: "@" + e.IDENT_RE,
|
|
@@ -20363,7 +20363,7 @@ function Ag() {
|
|
|
20363
20363
|
},
|
|
20364
20364
|
{
|
|
20365
20365
|
className: "function",
|
|
20366
|
-
begin: "(" +
|
|
20366
|
+
begin: "(" + I + "\\s+)+" + e.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
20367
20367
|
returnBegin: !0,
|
|
20368
20368
|
end: /\s*[{;=]/,
|
|
20369
20369
|
excludeEnd: !0,
|
|
@@ -20402,7 +20402,7 @@ function Ag() {
|
|
|
20402
20402
|
e.C_BLOCK_COMMENT_MODE
|
|
20403
20403
|
]
|
|
20404
20404
|
},
|
|
20405
|
-
|
|
20405
|
+
D
|
|
20406
20406
|
]
|
|
20407
20407
|
};
|
|
20408
20408
|
}
|
|
@@ -21420,11 +21420,11 @@ function xg() {
|
|
|
21420
21420
|
begin: '[rq]"',
|
|
21421
21421
|
end: '"[cwd]?',
|
|
21422
21422
|
relevance: 5
|
|
21423
|
-
},
|
|
21423
|
+
}, I = {
|
|
21424
21424
|
className: "string",
|
|
21425
21425
|
begin: "`",
|
|
21426
21426
|
end: "`[cwd]?"
|
|
21427
|
-
},
|
|
21427
|
+
}, D = {
|
|
21428
21428
|
className: "string",
|
|
21429
21429
|
begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',
|
|
21430
21430
|
relevance: 10
|
|
@@ -21460,10 +21460,10 @@ function xg() {
|
|
|
21460
21460
|
e.C_LINE_COMMENT_MODE,
|
|
21461
21461
|
e.C_BLOCK_COMMENT_MODE,
|
|
21462
21462
|
Z,
|
|
21463
|
-
|
|
21463
|
+
D,
|
|
21464
21464
|
O,
|
|
21465
21465
|
y,
|
|
21466
|
-
|
|
21466
|
+
I,
|
|
21467
21467
|
A,
|
|
21468
21468
|
f,
|
|
21469
21469
|
b,
|
|
@@ -22945,7 +22945,7 @@ function Hg() {
|
|
|
22945
22945
|
A,
|
|
22946
22946
|
{ contains: [b(A.end)] }
|
|
22947
22947
|
))
|
|
22948
|
-
},
|
|
22948
|
+
}, C = {
|
|
22949
22949
|
className: "regex",
|
|
22950
22950
|
variants: [
|
|
22951
22951
|
{
|
|
@@ -23034,17 +23034,17 @@ function Hg() {
|
|
|
23034
23034
|
endsParent: !0
|
|
23035
23035
|
})
|
|
23036
23036
|
]
|
|
23037
|
-
},
|
|
23037
|
+
}, I = e.inherit(y, {
|
|
23038
23038
|
className: "class",
|
|
23039
23039
|
beginKeywords: "defimpl defmodule defprotocol defrecord",
|
|
23040
23040
|
end: /\bdo\b|$|;/
|
|
23041
|
-
}),
|
|
23041
|
+
}), D = [
|
|
23042
23042
|
O,
|
|
23043
|
-
|
|
23043
|
+
C,
|
|
23044
23044
|
v,
|
|
23045
23045
|
f,
|
|
23046
23046
|
e.HASH_COMMENT_MODE,
|
|
23047
|
-
|
|
23047
|
+
I,
|
|
23048
23048
|
y,
|
|
23049
23049
|
{ begin: "::" },
|
|
23050
23050
|
{
|
|
@@ -23074,14 +23074,14 @@ function Hg() {
|
|
|
23074
23074
|
}
|
|
23075
23075
|
// -> has been removed, capnproto always uses this grammar construct
|
|
23076
23076
|
];
|
|
23077
|
-
return c.contains =
|
|
23077
|
+
return c.contains = D, {
|
|
23078
23078
|
name: "Elixir",
|
|
23079
23079
|
aliases: [
|
|
23080
23080
|
"ex",
|
|
23081
23081
|
"exs"
|
|
23082
23082
|
],
|
|
23083
23083
|
keywords: s,
|
|
23084
|
-
contains:
|
|
23084
|
+
contains: D
|
|
23085
23085
|
};
|
|
23086
23086
|
}
|
|
23087
23087
|
return $n = r, $n;
|
|
@@ -23776,7 +23776,7 @@ function Qg() {
|
|
|
23776
23776
|
g,
|
|
23777
23777
|
S
|
|
23778
23778
|
];
|
|
23779
|
-
const
|
|
23779
|
+
const C = [
|
|
23780
23780
|
i,
|
|
23781
23781
|
s,
|
|
23782
23782
|
v,
|
|
@@ -23791,7 +23791,7 @@ function Qg() {
|
|
|
23791
23791
|
g,
|
|
23792
23792
|
S
|
|
23793
23793
|
];
|
|
23794
|
-
c.contains[1].contains =
|
|
23794
|
+
c.contains[1].contains = C, d.contains = C, g.contains[1].contains = C;
|
|
23795
23795
|
const O = [
|
|
23796
23796
|
"-module",
|
|
23797
23797
|
"-record",
|
|
@@ -23821,7 +23821,7 @@ function Qg() {
|
|
|
23821
23821
|
className: "params",
|
|
23822
23822
|
begin: "\\(",
|
|
23823
23823
|
end: "\\)",
|
|
23824
|
-
contains:
|
|
23824
|
+
contains: C
|
|
23825
23825
|
};
|
|
23826
23826
|
return {
|
|
23827
23827
|
name: "Erlang",
|
|
@@ -23842,7 +23842,7 @@ function Qg() {
|
|
|
23842
23842
|
starts: {
|
|
23843
23843
|
end: ";|\\.",
|
|
23844
23844
|
keywords: n,
|
|
23845
|
-
contains:
|
|
23845
|
+
contains: C
|
|
23846
23846
|
}
|
|
23847
23847
|
},
|
|
23848
23848
|
i,
|
|
@@ -23854,7 +23854,7 @@ function Qg() {
|
|
|
23854
23854
|
returnBegin: !0,
|
|
23855
23855
|
keywords: {
|
|
23856
23856
|
$pattern: "-" + e.IDENT_RE,
|
|
23857
|
-
keyword: O.map((
|
|
23857
|
+
keyword: O.map((I) => `${I}|1.5`).join(" ")
|
|
23858
23858
|
},
|
|
23859
23859
|
contains: [
|
|
23860
23860
|
y,
|
|
@@ -25323,7 +25323,7 @@ function eE() {
|
|
|
25323
25323
|
"failwithf"
|
|
25324
25324
|
],
|
|
25325
25325
|
"variable.constant": g
|
|
25326
|
-
},
|
|
25326
|
+
}, C = {
|
|
25327
25327
|
variants: [
|
|
25328
25328
|
s.COMMENT(/\(\*(?!\))/, /\*\)/, {
|
|
25329
25329
|
contains: ["self"]
|
|
@@ -25334,13 +25334,13 @@ function eE() {
|
|
|
25334
25334
|
scope: "variable",
|
|
25335
25335
|
begin: /``/,
|
|
25336
25336
|
end: /``/
|
|
25337
|
-
},
|
|
25337
|
+
}, I = /\B('|\^)/, D = {
|
|
25338
25338
|
scope: "symbol",
|
|
25339
25339
|
variants: [
|
|
25340
25340
|
// the type name is a quoted identifier:
|
|
25341
|
-
{ match: a(
|
|
25341
|
+
{ match: a(I, /``.*?``/) },
|
|
25342
25342
|
// the type name is a normal identifier (we don't use IDENTIFIER_RE because there cannot be another apostrophe here):
|
|
25343
|
-
{ match: a(
|
|
25343
|
+
{ match: a(I, s.UNDERSCORE_IDENT_RE) }
|
|
25344
25344
|
],
|
|
25345
25345
|
relevance: 0
|
|
25346
25346
|
}, A = function({ includeEqual: De }) {
|
|
@@ -25418,8 +25418,8 @@ function eE() {
|
|
|
25418
25418
|
// we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null
|
|
25419
25419
|
keywords: s.inherit(f, { type: S }),
|
|
25420
25420
|
contains: [
|
|
25421
|
-
|
|
25422
|
-
|
|
25421
|
+
C,
|
|
25422
|
+
D,
|
|
25423
25423
|
s.inherit(y, { scope: null }),
|
|
25424
25424
|
// match to avoid strange patterns inside that may break the parsing
|
|
25425
25425
|
k
|
|
@@ -25441,10 +25441,10 @@ function eE() {
|
|
|
25441
25441
|
keywords: f,
|
|
25442
25442
|
// match keywords in type constraints. e.g.: when 'a : null
|
|
25443
25443
|
contains: [
|
|
25444
|
-
|
|
25444
|
+
C,
|
|
25445
25445
|
s.inherit(y, { scope: null }),
|
|
25446
25446
|
// match to avoid strange patterns inside that may break the parsing
|
|
25447
|
-
|
|
25447
|
+
D,
|
|
25448
25448
|
{
|
|
25449
25449
|
// For visual consistency, highlight type brackets as operators.
|
|
25450
25450
|
scope: "operator",
|
|
@@ -25571,13 +25571,13 @@ function eE() {
|
|
|
25571
25571
|
ae,
|
|
25572
25572
|
ge,
|
|
25573
25573
|
d,
|
|
25574
|
-
|
|
25574
|
+
C,
|
|
25575
25575
|
y,
|
|
25576
25576
|
Z,
|
|
25577
25577
|
W,
|
|
25578
25578
|
J,
|
|
25579
25579
|
te,
|
|
25580
|
-
|
|
25580
|
+
D,
|
|
25581
25581
|
P
|
|
25582
25582
|
], {
|
|
25583
25583
|
name: "F#",
|
|
@@ -25603,7 +25603,7 @@ function eE() {
|
|
|
25603
25603
|
ge
|
|
25604
25604
|
]
|
|
25605
25605
|
},
|
|
25606
|
-
|
|
25606
|
+
C,
|
|
25607
25607
|
y,
|
|
25608
25608
|
w,
|
|
25609
25609
|
{
|
|
@@ -25628,7 +25628,7 @@ function eE() {
|
|
|
25628
25628
|
W,
|
|
25629
25629
|
J,
|
|
25630
25630
|
te,
|
|
25631
|
-
|
|
25631
|
+
D,
|
|
25632
25632
|
P
|
|
25633
25633
|
]
|
|
25634
25634
|
};
|
|
@@ -30168,7 +30168,7 @@ function mE() {
|
|
|
30168
30168
|
f
|
|
30169
30169
|
] }
|
|
30170
30170
|
}
|
|
30171
|
-
},
|
|
30171
|
+
}, C = {
|
|
30172
30172
|
// parameters of the form '{{#with x as | y |}}...{{/with}}'
|
|
30173
30173
|
begin: /as\s+\|/,
|
|
30174
30174
|
keywords: { keyword: "as" },
|
|
@@ -30184,7 +30184,7 @@ function mE() {
|
|
|
30184
30184
|
e.NUMBER_MODE,
|
|
30185
30185
|
e.QUOTE_STRING_MODE,
|
|
30186
30186
|
e.APOS_STRING_MODE,
|
|
30187
|
-
|
|
30187
|
+
C,
|
|
30188
30188
|
v,
|
|
30189
30189
|
b,
|
|
30190
30190
|
f
|
|
@@ -30199,11 +30199,11 @@ function mE() {
|
|
|
30199
30199
|
starts: e.inherit(O, { end: /\)/ })
|
|
30200
30200
|
});
|
|
30201
30201
|
f.contains = [y];
|
|
30202
|
-
const
|
|
30202
|
+
const I = e.inherit(S, {
|
|
30203
30203
|
keywords: a,
|
|
30204
30204
|
className: "name",
|
|
30205
30205
|
starts: e.inherit(O, { end: /\}\}/ })
|
|
30206
|
-
}),
|
|
30206
|
+
}), D = e.inherit(S, {
|
|
30207
30207
|
keywords: a,
|
|
30208
30208
|
className: "name"
|
|
30209
30209
|
}), A = e.inherit(S, {
|
|
@@ -30237,7 +30237,7 @@ function mE() {
|
|
|
30237
30237
|
className: "template-tag",
|
|
30238
30238
|
begin: /\{\{\{\{(?!\/)/,
|
|
30239
30239
|
end: /\}\}\}\}/,
|
|
30240
|
-
contains: [
|
|
30240
|
+
contains: [I],
|
|
30241
30241
|
starts: {
|
|
30242
30242
|
end: /\{\{\{\{\//,
|
|
30243
30243
|
returnEnd: !0,
|
|
@@ -30249,14 +30249,14 @@ function mE() {
|
|
|
30249
30249
|
className: "template-tag",
|
|
30250
30250
|
begin: /\{\{\{\{\//,
|
|
30251
30251
|
end: /\}\}\}\}/,
|
|
30252
|
-
contains: [
|
|
30252
|
+
contains: [D]
|
|
30253
30253
|
},
|
|
30254
30254
|
{
|
|
30255
30255
|
// open block statement
|
|
30256
30256
|
className: "template-tag",
|
|
30257
30257
|
begin: /\{\{#/,
|
|
30258
30258
|
end: /\}\}/,
|
|
30259
|
-
contains: [
|
|
30259
|
+
contains: [I]
|
|
30260
30260
|
},
|
|
30261
30261
|
{
|
|
30262
30262
|
className: "template-tag",
|
|
@@ -30275,7 +30275,7 @@ function mE() {
|
|
|
30275
30275
|
className: "template-tag",
|
|
30276
30276
|
begin: /\{\{\//,
|
|
30277
30277
|
end: /\}\}/,
|
|
30278
|
-
contains: [
|
|
30278
|
+
contains: [D]
|
|
30279
30279
|
},
|
|
30280
30280
|
{
|
|
30281
30281
|
// template variable or helper-call that is NOT html-escaped
|
|
@@ -30818,7 +30818,7 @@ function bE() {
|
|
|
30818
30818
|
}, v = {
|
|
30819
30819
|
endsWithParent: !0,
|
|
30820
30820
|
relevance: 0
|
|
30821
|
-
},
|
|
30821
|
+
}, C = {
|
|
30822
30822
|
className: "name",
|
|
30823
30823
|
relevance: 0,
|
|
30824
30824
|
keywords: n,
|
|
@@ -30838,7 +30838,7 @@ function bE() {
|
|
|
30838
30838
|
];
|
|
30839
30839
|
return f.contains = [
|
|
30840
30840
|
e.COMMENT("comment", ""),
|
|
30841
|
-
|
|
30841
|
+
C,
|
|
30842
30842
|
v
|
|
30843
30843
|
], v.contains = O, p.contains = O, {
|
|
30844
30844
|
name: "Hy",
|
|
@@ -31634,11 +31634,11 @@ function CE() {
|
|
|
31634
31634
|
literal: t,
|
|
31635
31635
|
built_in: s,
|
|
31636
31636
|
"variable.language": o
|
|
31637
|
-
},
|
|
31637
|
+
}, C = "[0-9](_?[0-9])*", O = `\\.(${C})`, y = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", I = {
|
|
31638
31638
|
className: "number",
|
|
31639
31639
|
variants: [
|
|
31640
31640
|
// DecimalLiteral
|
|
31641
|
-
{ begin: `(\\b(${y})((${O})|\\.)?|(${O}))[eE][+-]?(${
|
|
31641
|
+
{ begin: `(\\b(${y})((${O})|\\.)?|(${O}))[eE][+-]?(${C})\\b` },
|
|
31642
31642
|
{ begin: `\\b(${y})\\b((${O})\\b|\\.)?|(${O})\\b` },
|
|
31643
31643
|
// DecimalBigIntegerLiteral
|
|
31644
31644
|
{ begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
|
|
@@ -31651,7 +31651,7 @@ function CE() {
|
|
|
31651
31651
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
31652
31652
|
],
|
|
31653
31653
|
relevance: 0
|
|
31654
|
-
},
|
|
31654
|
+
}, D = {
|
|
31655
31655
|
className: "subst",
|
|
31656
31656
|
begin: "\\$\\{",
|
|
31657
31657
|
end: "\\}",
|
|
@@ -31666,7 +31666,7 @@ function CE() {
|
|
|
31666
31666
|
returnEnd: !1,
|
|
31667
31667
|
contains: [
|
|
31668
31668
|
d.BACKSLASH_ESCAPE,
|
|
31669
|
-
|
|
31669
|
+
D
|
|
31670
31670
|
],
|
|
31671
31671
|
subLanguage: "xml"
|
|
31672
31672
|
}
|
|
@@ -31678,7 +31678,7 @@ function CE() {
|
|
|
31678
31678
|
returnEnd: !1,
|
|
31679
31679
|
contains: [
|
|
31680
31680
|
d.BACKSLASH_ESCAPE,
|
|
31681
|
-
|
|
31681
|
+
D
|
|
31682
31682
|
],
|
|
31683
31683
|
subLanguage: "css"
|
|
31684
31684
|
}
|
|
@@ -31690,7 +31690,7 @@ function CE() {
|
|
|
31690
31690
|
returnEnd: !1,
|
|
31691
31691
|
contains: [
|
|
31692
31692
|
d.BACKSLASH_ESCAPE,
|
|
31693
|
-
|
|
31693
|
+
D
|
|
31694
31694
|
],
|
|
31695
31695
|
subLanguage: "graphql"
|
|
31696
31696
|
}
|
|
@@ -31700,7 +31700,7 @@ function CE() {
|
|
|
31700
31700
|
end: "`",
|
|
31701
31701
|
contains: [
|
|
31702
31702
|
d.BACKSLASH_ESCAPE,
|
|
31703
|
-
|
|
31703
|
+
D
|
|
31704
31704
|
]
|
|
31705
31705
|
}, q = {
|
|
31706
31706
|
className: "comment",
|
|
@@ -31756,12 +31756,12 @@ function CE() {
|
|
|
31756
31756
|
G,
|
|
31757
31757
|
// Skip numbers when they are part of a variable name
|
|
31758
31758
|
{ match: /\$\d+/ },
|
|
31759
|
-
|
|
31759
|
+
I
|
|
31760
31760
|
// This is intentional:
|
|
31761
31761
|
// See https://github.com/highlightjs/highlight.js/issues/3288
|
|
31762
31762
|
// hljs.REGEXP_MODE
|
|
31763
31763
|
];
|
|
31764
|
-
|
|
31764
|
+
D.contains = w.concat({
|
|
31765
31765
|
// we need to pair up {} inside our subst to prevent
|
|
31766
31766
|
// it from ending too early by matching another }
|
|
31767
31767
|
begin: /\{/,
|
|
@@ -31771,7 +31771,7 @@ function CE() {
|
|
|
31771
31771
|
"self"
|
|
31772
31772
|
].concat(w)
|
|
31773
31773
|
});
|
|
31774
|
-
const W = [].concat(q,
|
|
31774
|
+
const W = [].concat(q, D.contains), J = W.concat([
|
|
31775
31775
|
// eat recursive parens in sub expressions
|
|
31776
31776
|
{
|
|
31777
31777
|
begin: /(\s*)\(/,
|
|
@@ -31967,7 +31967,7 @@ function CE() {
|
|
|
31967
31967
|
q,
|
|
31968
31968
|
// Skip numbers when they are part of a variable name
|
|
31969
31969
|
{ match: /\$\d+/ },
|
|
31970
|
-
|
|
31970
|
+
I,
|
|
31971
31971
|
ce,
|
|
31972
31972
|
{
|
|
31973
31973
|
scope: "attr",
|
|
@@ -32697,8 +32697,8 @@ function IE() {
|
|
|
32697
32697
|
contains: []
|
|
32698
32698
|
// defined later
|
|
32699
32699
|
}
|
|
32700
|
-
] },
|
|
32701
|
-
return
|
|
32700
|
+
] }, C = v;
|
|
32701
|
+
return C.variants[1].contains = [v], v.variants[1].contains = [C], {
|
|
32702
32702
|
name: "Kotlin",
|
|
32703
32703
|
aliases: [
|
|
32704
32704
|
"kt",
|
|
@@ -33103,19 +33103,19 @@ function xE() {
|
|
|
33103
33103
|
b,
|
|
33104
33104
|
...S
|
|
33105
33105
|
]
|
|
33106
|
-
},
|
|
33106
|
+
}, C = {
|
|
33107
33107
|
begin: /\s+/,
|
|
33108
33108
|
relevance: 0
|
|
33109
|
-
}, O = [f], y = [v],
|
|
33109
|
+
}, O = [f], y = [v], I = function(q, w) {
|
|
33110
33110
|
return {
|
|
33111
|
-
contains: [
|
|
33111
|
+
contains: [C],
|
|
33112
33112
|
starts: {
|
|
33113
33113
|
relevance: 0,
|
|
33114
33114
|
contains: q,
|
|
33115
33115
|
starts: w
|
|
33116
33116
|
}
|
|
33117
33117
|
};
|
|
33118
|
-
},
|
|
33118
|
+
}, D = function(q, w) {
|
|
33119
33119
|
return {
|
|
33120
33120
|
begin: "\\\\" + q + "(?![a-zA-Z@:_])",
|
|
33121
33121
|
keywords: {
|
|
@@ -33123,7 +33123,7 @@ function xE() {
|
|
|
33123
33123
|
keyword: "\\" + q
|
|
33124
33124
|
},
|
|
33125
33125
|
relevance: 0,
|
|
33126
|
-
contains: [
|
|
33126
|
+
contains: [C],
|
|
33127
33127
|
starts: w
|
|
33128
33128
|
};
|
|
33129
33129
|
}, A = function(q, w) {
|
|
@@ -33136,7 +33136,7 @@ function xE() {
|
|
|
33136
33136
|
},
|
|
33137
33137
|
relevance: 0
|
|
33138
33138
|
},
|
|
33139
|
-
|
|
33139
|
+
I(O, w)
|
|
33140
33140
|
);
|
|
33141
33141
|
}, P = (q = "string") => e.END_SAME_AS_BEGIN({
|
|
33142
33142
|
className: q,
|
|
@@ -33175,33 +33175,33 @@ function xE() {
|
|
|
33175
33175
|
...[
|
|
33176
33176
|
"verb",
|
|
33177
33177
|
"lstinline"
|
|
33178
|
-
].map((q) =>
|
|
33179
|
-
|
|
33180
|
-
|
|
33178
|
+
].map((q) => D(q, { contains: [P()] })),
|
|
33179
|
+
D("mint", I(O, { contains: [P()] })),
|
|
33180
|
+
D("mintinline", I(O, { contains: [
|
|
33181
33181
|
G(),
|
|
33182
33182
|
P()
|
|
33183
33183
|
] })),
|
|
33184
|
-
|
|
33184
|
+
D("url", { contains: [
|
|
33185
33185
|
G("link"),
|
|
33186
33186
|
G("link")
|
|
33187
33187
|
] }),
|
|
33188
|
-
|
|
33189
|
-
|
|
33188
|
+
D("hyperref", { contains: [G("link")] }),
|
|
33189
|
+
D("href", I(y, { contains: [G("link")] })),
|
|
33190
33190
|
...[].concat(...[
|
|
33191
33191
|
"",
|
|
33192
33192
|
"\\*"
|
|
33193
33193
|
].map((q) => [
|
|
33194
33194
|
A("verbatim" + q, k("verbatim" + q)),
|
|
33195
|
-
A("filecontents" + q,
|
|
33195
|
+
A("filecontents" + q, I(O, k("filecontents" + q))),
|
|
33196
33196
|
...[
|
|
33197
33197
|
"",
|
|
33198
33198
|
"B",
|
|
33199
33199
|
"L"
|
|
33200
33200
|
].map(
|
|
33201
|
-
(w) => A(w + "Verbatim" + q,
|
|
33201
|
+
(w) => A(w + "Verbatim" + q, I(y, k(w + "Verbatim" + q)))
|
|
33202
33202
|
)
|
|
33203
33203
|
])),
|
|
33204
|
-
A("minted",
|
|
33204
|
+
A("minted", I(y, I(O, k("minted"))))
|
|
33205
33205
|
];
|
|
33206
33206
|
return {
|
|
33207
33207
|
name: "LaTeX",
|
|
@@ -34133,7 +34133,7 @@ function LE() {
|
|
|
34133
34133
|
"zoom"
|
|
34134
34134
|
].sort().reverse(), c = i.concat(o).sort().reverse();
|
|
34135
34135
|
function d(u) {
|
|
34136
|
-
const p = r(u), g = c, S = "and or not only", b = "[\\w-]+", f = "(" + b + "|@\\{" + b + "\\})", v = [],
|
|
34136
|
+
const p = r(u), g = c, S = "and or not only", b = "[\\w-]+", f = "(" + b + "|@\\{" + b + "\\})", v = [], C = [], O = function(W) {
|
|
34137
34137
|
return {
|
|
34138
34138
|
// Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
|
|
34139
34139
|
className: "string",
|
|
@@ -34145,19 +34145,19 @@ function LE() {
|
|
|
34145
34145
|
begin: J,
|
|
34146
34146
|
relevance: te
|
|
34147
34147
|
};
|
|
34148
|
-
},
|
|
34148
|
+
}, I = {
|
|
34149
34149
|
$pattern: /[a-z-]+/,
|
|
34150
34150
|
keyword: S,
|
|
34151
34151
|
attribute: n.join(" ")
|
|
34152
|
-
},
|
|
34152
|
+
}, D = {
|
|
34153
34153
|
// used only to properly balance nested parens inside mixin call, def. arg list
|
|
34154
34154
|
begin: "\\(",
|
|
34155
34155
|
end: "\\)",
|
|
34156
|
-
contains:
|
|
34157
|
-
keywords:
|
|
34156
|
+
contains: C,
|
|
34157
|
+
keywords: I,
|
|
34158
34158
|
relevance: 0
|
|
34159
34159
|
};
|
|
34160
|
-
|
|
34160
|
+
C.push(
|
|
34161
34161
|
u.C_LINE_COMMENT_MODE,
|
|
34162
34162
|
u.C_BLOCK_COMMENT_MODE,
|
|
34163
34163
|
O("'"),
|
|
@@ -34173,7 +34173,7 @@ function LE() {
|
|
|
34173
34173
|
}
|
|
34174
34174
|
},
|
|
34175
34175
|
p.HEXCOLOR,
|
|
34176
|
-
|
|
34176
|
+
D,
|
|
34177
34177
|
y("variable", "@@?" + b, 10),
|
|
34178
34178
|
y("variable", "@\\{" + b + "\\}"),
|
|
34179
34179
|
y("built_in", "~?`[^`]*?`"),
|
|
@@ -34190,14 +34190,14 @@ function LE() {
|
|
|
34190
34190
|
{ beginKeywords: "and not" },
|
|
34191
34191
|
p.FUNCTION_DISPATCH
|
|
34192
34192
|
);
|
|
34193
|
-
const A =
|
|
34193
|
+
const A = C.concat({
|
|
34194
34194
|
begin: /\{/,
|
|
34195
34195
|
end: /\}/,
|
|
34196
34196
|
contains: v
|
|
34197
34197
|
}), P = {
|
|
34198
34198
|
beginKeywords: "when",
|
|
34199
34199
|
endsWithParent: !0,
|
|
34200
|
-
contains: [{ beginKeywords: "and not" }].concat(
|
|
34200
|
+
contains: [{ beginKeywords: "and not" }].concat(C)
|
|
34201
34201
|
// using this form to override VALUE’s 'function' match
|
|
34202
34202
|
}, k = {
|
|
34203
34203
|
begin: f + "\\s*:",
|
|
@@ -34215,7 +34215,7 @@ function LE() {
|
|
|
34215
34215
|
endsWithParent: !0,
|
|
34216
34216
|
illegal: "[<=$]",
|
|
34217
34217
|
relevance: 0,
|
|
34218
|
-
contains:
|
|
34218
|
+
contains: C
|
|
34219
34219
|
}
|
|
34220
34220
|
}
|
|
34221
34221
|
]
|
|
@@ -34224,9 +34224,9 @@ function LE() {
|
|
|
34224
34224
|
begin: "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
|
|
34225
34225
|
starts: {
|
|
34226
34226
|
end: "[;{}]",
|
|
34227
|
-
keywords:
|
|
34227
|
+
keywords: I,
|
|
34228
34228
|
returnEnd: !0,
|
|
34229
|
-
contains:
|
|
34229
|
+
contains: C,
|
|
34230
34230
|
relevance: 0
|
|
34231
34231
|
}
|
|
34232
34232
|
}, Z = {
|
|
@@ -34399,7 +34399,7 @@ function PE() {
|
|
|
34399
34399
|
] }, v = {
|
|
34400
34400
|
begin: "\\(\\s*",
|
|
34401
34401
|
end: "\\)"
|
|
34402
|
-
},
|
|
34402
|
+
}, C = {
|
|
34403
34403
|
endsWithParent: !0,
|
|
34404
34404
|
relevance: 0
|
|
34405
34405
|
};
|
|
@@ -34414,8 +34414,8 @@ function PE() {
|
|
|
34414
34414
|
{ begin: a }
|
|
34415
34415
|
]
|
|
34416
34416
|
},
|
|
34417
|
-
|
|
34418
|
-
],
|
|
34417
|
+
C
|
|
34418
|
+
], C.contains = [
|
|
34419
34419
|
b,
|
|
34420
34420
|
f,
|
|
34421
34421
|
v,
|
|
@@ -34812,7 +34812,7 @@ function UE() {
|
|
|
34812
34812
|
}
|
|
34813
34813
|
];
|
|
34814
34814
|
b.contains = v;
|
|
34815
|
-
const
|
|
34815
|
+
const C = {
|
|
34816
34816
|
className: "params",
|
|
34817
34817
|
begin: "\\(",
|
|
34818
34818
|
returnBegin: !0,
|
|
@@ -34859,7 +34859,7 @@ function UE() {
|
|
|
34859
34859
|
className: "function",
|
|
34860
34860
|
contains: [
|
|
34861
34861
|
S,
|
|
34862
|
-
|
|
34862
|
+
C
|
|
34863
34863
|
],
|
|
34864
34864
|
returnBegin: !0,
|
|
34865
34865
|
variants: [
|
|
@@ -42432,7 +42432,7 @@ function qE() {
|
|
|
42432
42432
|
relevance: 0,
|
|
42433
42433
|
begin: b
|
|
42434
42434
|
}
|
|
42435
|
-
] },
|
|
42435
|
+
] }, C = {
|
|
42436
42436
|
className: "named-character",
|
|
42437
42437
|
begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/
|
|
42438
42438
|
}, O = {
|
|
@@ -42443,11 +42443,11 @@ function qE() {
|
|
|
42443
42443
|
className: "pattern",
|
|
42444
42444
|
relevance: 0,
|
|
42445
42445
|
begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
|
|
42446
|
-
},
|
|
42446
|
+
}, I = {
|
|
42447
42447
|
className: "slot",
|
|
42448
42448
|
relevance: 0,
|
|
42449
42449
|
begin: /#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/
|
|
42450
|
-
},
|
|
42450
|
+
}, D = {
|
|
42451
42451
|
className: "brace",
|
|
42452
42452
|
relevance: 0,
|
|
42453
42453
|
begin: /[[\](){}]/
|
|
@@ -42474,14 +42474,14 @@ function qE() {
|
|
|
42474
42474
|
contains: [
|
|
42475
42475
|
t.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }),
|
|
42476
42476
|
y,
|
|
42477
|
-
|
|
42477
|
+
I,
|
|
42478
42478
|
A,
|
|
42479
42479
|
v,
|
|
42480
|
-
|
|
42480
|
+
C,
|
|
42481
42481
|
t.QUOTE_STRING_MODE,
|
|
42482
42482
|
S,
|
|
42483
42483
|
O,
|
|
42484
|
-
|
|
42484
|
+
D
|
|
42485
42485
|
]
|
|
42486
42486
|
};
|
|
42487
42487
|
}
|
|
@@ -43118,20 +43118,20 @@ function QE() {
|
|
|
43118
43118
|
// valid but infrequent and weird
|
|
43119
43119
|
/#/
|
|
43120
43120
|
// valid but infrequent and weird
|
|
43121
|
-
], S = (v,
|
|
43122
|
-
const y = O === "\\1" ? O : t.concat(O,
|
|
43121
|
+
], S = (v, C, O = "\\1") => {
|
|
43122
|
+
const y = O === "\\1" ? O : t.concat(O, C);
|
|
43123
43123
|
return t.concat(
|
|
43124
43124
|
t.concat("(?:", v, ")"),
|
|
43125
|
-
|
|
43125
|
+
C,
|
|
43126
43126
|
/(?:\\.|[^\\\/])*?/,
|
|
43127
43127
|
y,
|
|
43128
43128
|
/(?:\\.|[^\\\/])*?/,
|
|
43129
43129
|
O,
|
|
43130
43130
|
n
|
|
43131
43131
|
);
|
|
43132
|
-
}, b = (v,
|
|
43132
|
+
}, b = (v, C, O) => t.concat(
|
|
43133
43133
|
t.concat("(?:", v, ")"),
|
|
43134
|
-
|
|
43134
|
+
C,
|
|
43135
43135
|
/(?:\\.|[^\\\/])*?/,
|
|
43136
43136
|
O,
|
|
43137
43137
|
n
|
|
@@ -44619,7 +44619,7 @@ function aS() {
|
|
|
44619
44619
|
begin: /\$\{/,
|
|
44620
44620
|
end: /\}/,
|
|
44621
44621
|
keywords: a
|
|
44622
|
-
},
|
|
44622
|
+
}, C = {
|
|
44623
44623
|
scope: "char.escape",
|
|
44624
44624
|
match: /'''/
|
|
44625
44625
|
}, O = {
|
|
@@ -44634,7 +44634,7 @@ function aS() {
|
|
|
44634
44634
|
contains: [
|
|
44635
44635
|
f,
|
|
44636
44636
|
v,
|
|
44637
|
-
|
|
44637
|
+
C,
|
|
44638
44638
|
O
|
|
44639
44639
|
]
|
|
44640
44640
|
},
|
|
@@ -44648,10 +44648,10 @@ function aS() {
|
|
|
44648
44648
|
]
|
|
44649
44649
|
}
|
|
44650
44650
|
]
|
|
44651
|
-
},
|
|
44651
|
+
}, I = {
|
|
44652
44652
|
scope: "params",
|
|
44653
44653
|
match: new RegExp(`${i}\\s*:(?=\\s)`)
|
|
44654
|
-
},
|
|
44654
|
+
}, D = [
|
|
44655
44655
|
p,
|
|
44656
44656
|
e.HASH_COMMENT_MODE,
|
|
44657
44657
|
e.C_BLOCK_COMMENT_MODE,
|
|
@@ -44667,12 +44667,12 @@ function aS() {
|
|
|
44667
44667
|
y,
|
|
44668
44668
|
o,
|
|
44669
44669
|
c,
|
|
44670
|
-
|
|
44670
|
+
I,
|
|
44671
44671
|
S,
|
|
44672
44672
|
g,
|
|
44673
44673
|
u
|
|
44674
44674
|
];
|
|
44675
|
-
v.contains =
|
|
44675
|
+
v.contains = D;
|
|
44676
44676
|
const A = [
|
|
44677
44677
|
{
|
|
44678
44678
|
scope: "meta.prompt",
|
|
@@ -44689,7 +44689,7 @@ function aS() {
|
|
|
44689
44689
|
name: "Nix",
|
|
44690
44690
|
aliases: ["nixos"],
|
|
44691
44691
|
keywords: a,
|
|
44692
|
-
contains:
|
|
44692
|
+
contains: D.concat(A)
|
|
44693
44693
|
};
|
|
44694
44694
|
}
|
|
44695
44695
|
return so = r, so;
|
|
@@ -45186,7 +45186,7 @@ function iS() {
|
|
|
45186
45186
|
"Win8",
|
|
45187
45187
|
"WinVista",
|
|
45188
45188
|
"zlib"
|
|
45189
|
-
],
|
|
45189
|
+
], C = {
|
|
45190
45190
|
match: [
|
|
45191
45191
|
/Function/,
|
|
45192
45192
|
/\s+/,
|
|
@@ -45225,7 +45225,7 @@ function iS() {
|
|
|
45225
45225
|
{ relevance: 0 }
|
|
45226
45226
|
),
|
|
45227
45227
|
y,
|
|
45228
|
-
|
|
45228
|
+
C,
|
|
45229
45229
|
{ beginKeywords: "Function PageEx Section SectionGroup FunctionEnd SectionEnd" },
|
|
45230
45230
|
b,
|
|
45231
45231
|
p,
|
|
@@ -46116,7 +46116,7 @@ function mS() {
|
|
|
46116
46116
|
{ begin: "(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?" }
|
|
46117
46117
|
],
|
|
46118
46118
|
relevance: 0
|
|
46119
|
-
},
|
|
46119
|
+
}, C = [
|
|
46120
46120
|
"false",
|
|
46121
46121
|
"null",
|
|
46122
46122
|
"true"
|
|
@@ -46315,14 +46315,14 @@ function mS() {
|
|
|
46315
46315
|
"self",
|
|
46316
46316
|
"static",
|
|
46317
46317
|
"stdClass"
|
|
46318
|
-
],
|
|
46318
|
+
], D = {
|
|
46319
46319
|
keyword: O,
|
|
46320
46320
|
literal: ((te) => {
|
|
46321
46321
|
const ae = [];
|
|
46322
46322
|
return te.forEach((ce) => {
|
|
46323
46323
|
ae.push(ce), ce.toLowerCase() === ce ? ae.push(ce.toUpperCase()) : ae.push(ce.toLowerCase());
|
|
46324
46324
|
}), ae;
|
|
46325
|
-
})(
|
|
46325
|
+
})(C),
|
|
46326
46326
|
built_in: y
|
|
46327
46327
|
}, A = (te) => te.map((ae) => ae.replace(/\|\d+$/, "")), P = { variants: [
|
|
46328
46328
|
{
|
|
@@ -46398,7 +46398,7 @@ function mS() {
|
|
|
46398
46398
|
relevance: 0,
|
|
46399
46399
|
begin: /\(/,
|
|
46400
46400
|
end: /\)/,
|
|
46401
|
-
keywords:
|
|
46401
|
+
keywords: D,
|
|
46402
46402
|
contains: [
|
|
46403
46403
|
Z,
|
|
46404
46404
|
s,
|
|
@@ -46441,7 +46441,7 @@ function mS() {
|
|
|
46441
46441
|
end: /]/,
|
|
46442
46442
|
endScope: "meta",
|
|
46443
46443
|
keywords: {
|
|
46444
|
-
literal:
|
|
46444
|
+
literal: C,
|
|
46445
46445
|
keyword: [
|
|
46446
46446
|
"new",
|
|
46447
46447
|
"array"
|
|
@@ -46452,7 +46452,7 @@ function mS() {
|
|
|
46452
46452
|
begin: /\[/,
|
|
46453
46453
|
end: /]/,
|
|
46454
46454
|
keywords: {
|
|
46455
|
-
literal:
|
|
46455
|
+
literal: C,
|
|
46456
46456
|
keyword: [
|
|
46457
46457
|
"new",
|
|
46458
46458
|
"array"
|
|
@@ -46475,7 +46475,7 @@ function mS() {
|
|
|
46475
46475
|
};
|
|
46476
46476
|
return {
|
|
46477
46477
|
case_insensitive: !1,
|
|
46478
|
-
keywords:
|
|
46478
|
+
keywords: D,
|
|
46479
46479
|
contains: [
|
|
46480
46480
|
J,
|
|
46481
46481
|
e.HASH_COMMENT_MODE,
|
|
@@ -46546,7 +46546,7 @@ function mS() {
|
|
|
46546
46546
|
end: "\\)",
|
|
46547
46547
|
excludeBegin: !0,
|
|
46548
46548
|
excludeEnd: !0,
|
|
46549
|
-
keywords:
|
|
46549
|
+
keywords: D,
|
|
46550
46550
|
contains: [
|
|
46551
46551
|
"self",
|
|
46552
46552
|
J,
|
|
@@ -46867,7 +46867,7 @@ function SS() {
|
|
|
46867
46867
|
}
|
|
46868
46868
|
// CMDLETS
|
|
46869
46869
|
]
|
|
46870
|
-
},
|
|
46870
|
+
}, C = {
|
|
46871
46871
|
begin: /using\s/,
|
|
46872
46872
|
end: /$/,
|
|
46873
46873
|
returnBegin: !0,
|
|
@@ -46894,7 +46894,7 @@ function SS() {
|
|
|
46894
46894
|
className: "selector-tag",
|
|
46895
46895
|
begin: /@\B/,
|
|
46896
46896
|
relevance: 0
|
|
46897
|
-
},
|
|
46897
|
+
}, I = {
|
|
46898
46898
|
className: "function",
|
|
46899
46899
|
begin: /\[.*\]\s*[\w]+[ ]??\(/,
|
|
46900
46900
|
end: /$/,
|
|
@@ -46915,9 +46915,9 @@ function SS() {
|
|
|
46915
46915
|
},
|
|
46916
46916
|
e.inherit(e.TITLE_MODE, { endsParent: !0 })
|
|
46917
46917
|
]
|
|
46918
|
-
},
|
|
46918
|
+
}, D = [
|
|
46919
46919
|
// STATIC_MEMBER,
|
|
46920
|
-
|
|
46920
|
+
I,
|
|
46921
46921
|
S,
|
|
46922
46922
|
s,
|
|
46923
46923
|
e.NUMBER_MODE,
|
|
@@ -46936,7 +46936,7 @@ function SS() {
|
|
|
46936
46936
|
relevance: 0,
|
|
46937
46937
|
contains: [].concat(
|
|
46938
46938
|
"self",
|
|
46939
|
-
|
|
46939
|
+
D,
|
|
46940
46940
|
{
|
|
46941
46941
|
begin: "(" + t.join("|") + ")",
|
|
46942
46942
|
className: "built_in",
|
|
@@ -46949,7 +46949,7 @@ function SS() {
|
|
|
46949
46949
|
}
|
|
46950
46950
|
)
|
|
46951
46951
|
};
|
|
46952
|
-
return
|
|
46952
|
+
return I.contains.unshift(A), {
|
|
46953
46953
|
name: "PowerShell",
|
|
46954
46954
|
aliases: [
|
|
46955
46955
|
"pwsh",
|
|
@@ -46958,10 +46958,10 @@ function SS() {
|
|
|
46958
46958
|
],
|
|
46959
46959
|
case_insensitive: !0,
|
|
46960
46960
|
keywords: i,
|
|
46961
|
-
contains:
|
|
46961
|
+
contains: D.concat(
|
|
46962
46962
|
f,
|
|
46963
46963
|
v,
|
|
46964
|
-
|
|
46964
|
+
C,
|
|
46965
46965
|
O,
|
|
46966
46966
|
A
|
|
46967
46967
|
)
|
|
@@ -48075,7 +48075,7 @@ function NS() {
|
|
|
48075
48075
|
begin: `\\b(${S})[jJ](?=${f})`
|
|
48076
48076
|
}
|
|
48077
48077
|
]
|
|
48078
|
-
},
|
|
48078
|
+
}, C = {
|
|
48079
48079
|
className: "comment",
|
|
48080
48080
|
begin: t.lookahead(/# type:/),
|
|
48081
48081
|
end: /$/,
|
|
@@ -48147,7 +48147,7 @@ function NS() {
|
|
|
48147
48147
|
},
|
|
48148
48148
|
{ match: /\bor\b/, scope: "keyword" },
|
|
48149
48149
|
g,
|
|
48150
|
-
|
|
48150
|
+
C,
|
|
48151
48151
|
e.HASH_COMMENT_MODE,
|
|
48152
48152
|
{
|
|
48153
48153
|
match: [
|
|
@@ -54746,7 +54746,7 @@ function KS() {
|
|
|
54746
54746
|
].filter((A) => !p.includes(A)), v = {
|
|
54747
54747
|
scope: "variable",
|
|
54748
54748
|
match: /@[a-z0-9][a-z0-9_]*/
|
|
54749
|
-
},
|
|
54749
|
+
}, C = {
|
|
54750
54750
|
scope: "operator",
|
|
54751
54751
|
match: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
|
|
54752
54752
|
relevance: 0
|
|
@@ -54762,12 +54762,12 @@ function KS() {
|
|
|
54762
54762
|
/\b/
|
|
54763
54763
|
);
|
|
54764
54764
|
}
|
|
54765
|
-
const
|
|
54765
|
+
const I = {
|
|
54766
54766
|
scope: "keyword",
|
|
54767
54767
|
match: y(S),
|
|
54768
54768
|
relevance: 0
|
|
54769
54769
|
};
|
|
54770
|
-
function
|
|
54770
|
+
function D(A, {
|
|
54771
54771
|
exceptions: P,
|
|
54772
54772
|
when: k
|
|
54773
54773
|
} = {}) {
|
|
@@ -54781,7 +54781,7 @@ function KS() {
|
|
|
54781
54781
|
illegal: /[{}]|<\//,
|
|
54782
54782
|
keywords: {
|
|
54783
54783
|
$pattern: /\b[\w\.]+/,
|
|
54784
|
-
keyword:
|
|
54784
|
+
keyword: D(f, { when: (A) => A.length < 3 }),
|
|
54785
54785
|
literal: o,
|
|
54786
54786
|
type: c,
|
|
54787
54787
|
built_in: g
|
|
@@ -54791,7 +54791,7 @@ function KS() {
|
|
|
54791
54791
|
scope: "type",
|
|
54792
54792
|
match: y(s)
|
|
54793
54793
|
},
|
|
54794
|
-
|
|
54794
|
+
I,
|
|
54795
54795
|
O,
|
|
54796
54796
|
v,
|
|
54797
54797
|
n,
|
|
@@ -54799,7 +54799,7 @@ function KS() {
|
|
|
54799
54799
|
e.C_NUMBER_MODE,
|
|
54800
54800
|
e.C_BLOCK_COMMENT_MODE,
|
|
54801
54801
|
a,
|
|
54802
|
-
|
|
54802
|
+
C
|
|
54803
54803
|
]
|
|
54804
54804
|
};
|
|
54805
54805
|
}
|
|
@@ -56665,7 +56665,7 @@ function jS() {
|
|
|
56665
56665
|
/[\uFE20-\uFE2F]/
|
|
56666
56666
|
// TODO: The following characters are also allowed, but the regex isn't supported yet.
|
|
56667
56667
|
// /[\u{E0100}-\u{E01EF}]/u
|
|
56668
|
-
), v = t(b, f, "*"),
|
|
56668
|
+
), v = t(b, f, "*"), C = n(
|
|
56669
56669
|
/[a-zA-Z_]/,
|
|
56670
56670
|
/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
|
|
56671
56671
|
/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
|
|
@@ -56684,10 +56684,10 @@ function jS() {
|
|
|
56684
56684
|
// /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
|
|
56685
56685
|
// /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
|
|
56686
56686
|
), O = n(
|
|
56687
|
-
|
|
56687
|
+
C,
|
|
56688
56688
|
/\d/,
|
|
56689
56689
|
/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
|
|
56690
|
-
), y = t(
|
|
56690
|
+
), y = t(C, O, "*"), I = t(/[A-Z]/, O, "*"), D = [
|
|
56691
56691
|
"attached",
|
|
56692
56692
|
"autoclosure",
|
|
56693
56693
|
t(/convention\(/, n("swift", "block", "c"), /\)/),
|
|
@@ -56918,7 +56918,7 @@ function jS() {
|
|
|
56918
56918
|
] }
|
|
56919
56919
|
}, Dt = {
|
|
56920
56920
|
scope: "keyword",
|
|
56921
|
-
match: t(/@/, n(...
|
|
56921
|
+
match: t(/@/, n(...D), e(n(/\(/, /\s+/)))
|
|
56922
56922
|
}, lt = {
|
|
56923
56923
|
scope: "meta",
|
|
56924
56924
|
match: t(/@/, y)
|
|
@@ -56938,7 +56938,7 @@ function jS() {
|
|
|
56938
56938
|
{
|
|
56939
56939
|
// Type identifier
|
|
56940
56940
|
className: "type",
|
|
56941
|
-
match:
|
|
56941
|
+
match: I,
|
|
56942
56942
|
relevance: 0
|
|
56943
56943
|
},
|
|
56944
56944
|
{
|
|
@@ -56953,7 +56953,7 @@ function jS() {
|
|
|
56953
56953
|
},
|
|
56954
56954
|
{
|
|
56955
56955
|
// Protocol composition
|
|
56956
|
-
match: t(/\s+&\s+/, e(
|
|
56956
|
+
match: t(/\s+&\s+/, e(I)),
|
|
56957
56957
|
relevance: 0
|
|
56958
56958
|
}
|
|
56959
56959
|
]
|
|
@@ -57080,7 +57080,7 @@ function jS() {
|
|
|
57080
57080
|
begin: [
|
|
57081
57081
|
/precedencegroup/,
|
|
57082
57082
|
/\s+/,
|
|
57083
|
-
|
|
57083
|
+
I
|
|
57084
57084
|
],
|
|
57085
57085
|
className: {
|
|
57086
57086
|
1: "keyword",
|
|
@@ -57137,7 +57137,7 @@ function jS() {
|
|
|
57137
57137
|
contains: [
|
|
57138
57138
|
{
|
|
57139
57139
|
scope: "title.class.inherited",
|
|
57140
|
-
match:
|
|
57140
|
+
match: I
|
|
57141
57141
|
},
|
|
57142
57142
|
...pe
|
|
57143
57143
|
],
|
|
@@ -57343,7 +57343,7 @@ function tb() {
|
|
|
57343
57343
|
contains: [b],
|
|
57344
57344
|
illegal: "\\n",
|
|
57345
57345
|
relevance: 0
|
|
57346
|
-
},
|
|
57346
|
+
}, C = [
|
|
57347
57347
|
n,
|
|
57348
57348
|
{
|
|
57349
57349
|
className: "meta",
|
|
@@ -57423,12 +57423,12 @@ function tb() {
|
|
|
57423
57423
|
v,
|
|
57424
57424
|
o,
|
|
57425
57425
|
s
|
|
57426
|
-
], O = [...
|
|
57426
|
+
], O = [...C];
|
|
57427
57427
|
return O.pop(), O.push(c), b.contains = O, {
|
|
57428
57428
|
name: "YAML",
|
|
57429
57429
|
case_insensitive: !0,
|
|
57430
57430
|
aliases: ["yml"],
|
|
57431
|
-
contains:
|
|
57431
|
+
contains: C
|
|
57432
57432
|
};
|
|
57433
57433
|
}
|
|
57434
57434
|
return os = r, os;
|
|
@@ -58313,18 +58313,18 @@ function sb() {
|
|
|
58313
58313
|
return;
|
|
58314
58314
|
}
|
|
58315
58315
|
}
|
|
58316
|
-
},
|
|
58316
|
+
}, C = {
|
|
58317
58317
|
$pattern: r,
|
|
58318
58318
|
keyword: e,
|
|
58319
58319
|
literal: t,
|
|
58320
58320
|
built_in: s,
|
|
58321
58321
|
"variable.language": o
|
|
58322
|
-
}, O = "[0-9](_?[0-9])*", y = `\\.(${O})`,
|
|
58322
|
+
}, O = "[0-9](_?[0-9])*", y = `\\.(${O})`, I = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", D = {
|
|
58323
58323
|
className: "number",
|
|
58324
58324
|
variants: [
|
|
58325
58325
|
// DecimalLiteral
|
|
58326
|
-
{ begin: `(\\b(${
|
|
58327
|
-
{ begin: `\\b(${
|
|
58326
|
+
{ begin: `(\\b(${I})((${y})|\\.)?|(${y}))[eE][+-]?(${O})\\b` },
|
|
58327
|
+
{ begin: `\\b(${I})\\b((${y})\\b|\\.)?|(${y})\\b` },
|
|
58328
58328
|
// DecimalBigIntegerLiteral
|
|
58329
58329
|
{ begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
|
|
58330
58330
|
// NonDecimalIntegerLiteral
|
|
@@ -58340,7 +58340,7 @@ function sb() {
|
|
|
58340
58340
|
className: "subst",
|
|
58341
58341
|
begin: "\\$\\{",
|
|
58342
58342
|
end: "\\}",
|
|
58343
|
-
keywords:
|
|
58343
|
+
keywords: C,
|
|
58344
58344
|
contains: []
|
|
58345
58345
|
// defined later
|
|
58346
58346
|
}, P = {
|
|
@@ -58441,7 +58441,7 @@ function sb() {
|
|
|
58441
58441
|
Z,
|
|
58442
58442
|
// Skip numbers when they are part of a variable name
|
|
58443
58443
|
{ match: /\$\d+/ },
|
|
58444
|
-
|
|
58444
|
+
D
|
|
58445
58445
|
// This is intentional:
|
|
58446
58446
|
// See https://github.com/highlightjs/highlight.js/issues/3288
|
|
58447
58447
|
// hljs.REGEXP_MODE
|
|
@@ -58451,7 +58451,7 @@ function sb() {
|
|
|
58451
58451
|
// it from ending too early by matching another }
|
|
58452
58452
|
begin: /\{/,
|
|
58453
58453
|
end: /\}/,
|
|
58454
|
-
keywords:
|
|
58454
|
+
keywords: C,
|
|
58455
58455
|
contains: [
|
|
58456
58456
|
"self"
|
|
58457
58457
|
].concat(W)
|
|
@@ -58461,7 +58461,7 @@ function sb() {
|
|
|
58461
58461
|
{
|
|
58462
58462
|
begin: /(\s*)\(/,
|
|
58463
58463
|
end: /\)/,
|
|
58464
|
-
keywords:
|
|
58464
|
+
keywords: C,
|
|
58465
58465
|
contains: ["self"].concat(J)
|
|
58466
58466
|
}
|
|
58467
58467
|
]), ae = {
|
|
@@ -58472,7 +58472,7 @@ function sb() {
|
|
|
58472
58472
|
end: /\)/,
|
|
58473
58473
|
excludeBegin: !0,
|
|
58474
58474
|
excludeEnd: !0,
|
|
58475
|
-
keywords:
|
|
58475
|
+
keywords: C,
|
|
58476
58476
|
contains: te
|
|
58477
58477
|
}, ce = {
|
|
58478
58478
|
variants: [
|
|
@@ -58632,7 +58632,7 @@ function sb() {
|
|
|
58632
58632
|
return {
|
|
58633
58633
|
name: "JavaScript",
|
|
58634
58634
|
aliases: ["js", "jsx", "mjs", "cjs"],
|
|
58635
|
-
keywords:
|
|
58635
|
+
keywords: C,
|
|
58636
58636
|
// this will be extended by TypeScript
|
|
58637
58637
|
exports: { PARAMS_CONTAINS: te, CLASS_REFERENCE: pe },
|
|
58638
58638
|
illegal: /#(?![$_A-z])/,
|
|
@@ -58652,7 +58652,7 @@ function sb() {
|
|
|
58652
58652
|
w,
|
|
58653
58653
|
// Skip numbers when they are part of a variable name
|
|
58654
58654
|
{ match: /\$\d+/ },
|
|
58655
|
-
|
|
58655
|
+
D,
|
|
58656
58656
|
pe,
|
|
58657
58657
|
{
|
|
58658
58658
|
scope: "attr",
|
|
@@ -58694,7 +58694,7 @@ function sb() {
|
|
|
58694
58694
|
end: /\)/,
|
|
58695
58695
|
excludeBegin: !0,
|
|
58696
58696
|
excludeEnd: !0,
|
|
58697
|
-
keywords:
|
|
58697
|
+
keywords: C,
|
|
58698
58698
|
contains: te
|
|
58699
58699
|
}
|
|
58700
58700
|
]
|
|
@@ -58814,7 +58814,7 @@ function sb() {
|
|
|
58814
58814
|
built_in: b
|
|
58815
58815
|
},
|
|
58816
58816
|
contains: [g.exports.CLASS_REFERENCE]
|
|
58817
|
-
},
|
|
58817
|
+
}, C = {
|
|
58818
58818
|
className: "meta",
|
|
58819
58819
|
relevance: 10,
|
|
58820
58820
|
begin: /^\s*['"]use strict['"]/
|
|
@@ -58838,16 +58838,16 @@ function sb() {
|
|
|
58838
58838
|
literal: t,
|
|
58839
58839
|
built_in: s.concat(b),
|
|
58840
58840
|
"variable.language": o
|
|
58841
|
-
},
|
|
58841
|
+
}, I = {
|
|
58842
58842
|
className: "meta",
|
|
58843
58843
|
begin: "@" + S
|
|
58844
|
-
},
|
|
58844
|
+
}, D = (G, Z, q) => {
|
|
58845
58845
|
const w = G.contains.findIndex((W) => W.label === Z);
|
|
58846
58846
|
if (w === -1)
|
|
58847
58847
|
throw new Error("can not find mode to replace");
|
|
58848
58848
|
G.contains.splice(w, 1, q);
|
|
58849
58849
|
};
|
|
58850
|
-
Object.assign(g.keywords, y), g.exports.PARAMS_CONTAINS.push(
|
|
58850
|
+
Object.assign(g.keywords, y), g.exports.PARAMS_CONTAINS.push(I);
|
|
58851
58851
|
const A = g.contains.find((G) => G.scope === "attr"), P = Object.assign(
|
|
58852
58852
|
{},
|
|
58853
58853
|
A,
|
|
@@ -58861,12 +58861,12 @@ function sb() {
|
|
|
58861
58861
|
P
|
|
58862
58862
|
// Added for optional property assignment highlighting
|
|
58863
58863
|
]), g.contains = g.contains.concat([
|
|
58864
|
-
|
|
58864
|
+
I,
|
|
58865
58865
|
f,
|
|
58866
58866
|
v,
|
|
58867
58867
|
P
|
|
58868
58868
|
// Added for optional property assignment highlighting
|
|
58869
|
-
]),
|
|
58869
|
+
]), D(g, "shebang", u.SHEBANG()), D(g, "use_strict", C);
|
|
58870
58870
|
const k = g.contains.find((G) => G.label === "func.def");
|
|
58871
58871
|
return k.relevance = 0, Object.assign(g, {
|
|
58872
58872
|
name: "TypeScript",
|
|
@@ -60340,7 +60340,7 @@ function Eb() {
|
|
|
60340
60340
|
match: /\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,
|
|
60341
60341
|
scope: "title.class",
|
|
60342
60342
|
keywords: { _: s }
|
|
60343
|
-
},
|
|
60343
|
+
}, C = e.C_NUMBER_MODE, O = {
|
|
60344
60344
|
match: [
|
|
60345
60345
|
a,
|
|
60346
60346
|
/\s*/,
|
|
@@ -60365,23 +60365,23 @@ function Eb() {
|
|
|
60365
60365
|
},
|
|
60366
60366
|
"self"
|
|
60367
60367
|
] }
|
|
60368
|
-
),
|
|
60368
|
+
), I = {
|
|
60369
60369
|
scope: "subst",
|
|
60370
60370
|
begin: /%\(/,
|
|
60371
60371
|
end: /\)/,
|
|
60372
60372
|
contains: [
|
|
60373
|
-
|
|
60373
|
+
C,
|
|
60374
60374
|
v,
|
|
60375
60375
|
d,
|
|
60376
60376
|
f,
|
|
60377
60377
|
g
|
|
60378
60378
|
]
|
|
60379
|
-
},
|
|
60379
|
+
}, D = {
|
|
60380
60380
|
scope: "string",
|
|
60381
60381
|
begin: /"/,
|
|
60382
60382
|
end: /"/,
|
|
60383
60383
|
contains: [
|
|
60384
|
-
|
|
60384
|
+
I,
|
|
60385
60385
|
{
|
|
60386
60386
|
scope: "char.escape",
|
|
60387
60387
|
variants: [
|
|
@@ -60393,7 +60393,7 @@ function Eb() {
|
|
|
60393
60393
|
}
|
|
60394
60394
|
]
|
|
60395
60395
|
};
|
|
60396
|
-
|
|
60396
|
+
I.contains.push(D);
|
|
60397
60397
|
const A = [
|
|
60398
60398
|
...n,
|
|
60399
60399
|
...o,
|
|
@@ -60447,8 +60447,8 @@ function Eb() {
|
|
|
60447
60447
|
}
|
|
60448
60448
|
]
|
|
60449
60449
|
},
|
|
60450
|
-
|
|
60451
|
-
|
|
60450
|
+
C,
|
|
60451
|
+
D,
|
|
60452
60452
|
S,
|
|
60453
60453
|
y,
|
|
60454
60454
|
e.C_LINE_COMMENT_MODE,
|
|
@@ -61231,11 +61231,11 @@ const Rb = /* @__PURE__ */ z0(vb), Cb = 0.5, Nb = 5, qu = 0.25, ys = {
|
|
|
61231
61231
|
function v() {
|
|
61232
61232
|
n.value = Math.min(Nb, n.value + qu);
|
|
61233
61233
|
}
|
|
61234
|
-
function
|
|
61234
|
+
function C() {
|
|
61235
61235
|
n.value = Math.max(Cb, n.value - qu);
|
|
61236
61236
|
}
|
|
61237
61237
|
function O(w) {
|
|
61238
|
-
w.preventDefault(), w.deltaY < 0 ? v() :
|
|
61238
|
+
w.preventDefault(), w.deltaY < 0 ? v() : C();
|
|
61239
61239
|
}
|
|
61240
61240
|
function y(w) {
|
|
61241
61241
|
n.value <= 1 || (d = !1, c = {
|
|
@@ -61243,15 +61243,15 @@ const Rb = /* @__PURE__ */ z0(vb), Cb = 0.5, Nb = 5, qu = 0.25, ys = {
|
|
|
61243
61243
|
pointerY: w.clientY,
|
|
61244
61244
|
baseX: i.value,
|
|
61245
61245
|
baseY: o.value
|
|
61246
|
-
}, window.addEventListener("pointermove",
|
|
61246
|
+
}, window.addEventListener("pointermove", I), window.addEventListener("pointerup", D, { once: !0 }), window.addEventListener("pointercancel", D, { once: !0 }));
|
|
61247
61247
|
}
|
|
61248
|
-
function
|
|
61248
|
+
function I(w) {
|
|
61249
61249
|
if (!c) return;
|
|
61250
61250
|
const W = w.clientX - c.pointerX, J = w.clientY - c.pointerY;
|
|
61251
61251
|
Math.abs(W) + Math.abs(J) > 5 && (d = !0), i.value = c.baseX + W, o.value = c.baseY + J;
|
|
61252
61252
|
}
|
|
61253
|
-
function
|
|
61254
|
-
c = null, window.removeEventListener("pointermove",
|
|
61253
|
+
function D() {
|
|
61254
|
+
c = null, window.removeEventListener("pointermove", I), window.removeEventListener("pointercancel", D);
|
|
61255
61255
|
}
|
|
61256
61256
|
function A() {
|
|
61257
61257
|
d = !1;
|
|
@@ -61289,7 +61289,7 @@ const Rb = /* @__PURE__ */ z0(vb), Cb = 0.5, Nb = 5, qu = 0.25, ys = {
|
|
|
61289
61289
|
}), zu(() => {
|
|
61290
61290
|
window.addEventListener("keydown", q), document.addEventListener("fullscreenchange", Z);
|
|
61291
61291
|
}), $s(() => {
|
|
61292
|
-
window.removeEventListener("keydown", q), document.removeEventListener("fullscreenchange", Z), window.removeEventListener("pointermove",
|
|
61292
|
+
window.removeEventListener("keydown", q), document.removeEventListener("fullscreenchange", Z), window.removeEventListener("pointermove", I);
|
|
61293
61293
|
}), {
|
|
61294
61294
|
overlayRef: t,
|
|
61295
61295
|
currentIndex: a,
|
|
@@ -61302,7 +61302,7 @@ const Rb = /* @__PURE__ */ z0(vb), Cb = 0.5, Nb = 5, qu = 0.25, ys = {
|
|
|
61302
61302
|
prev: b,
|
|
61303
61303
|
next: f,
|
|
61304
61304
|
zoomIn: v,
|
|
61305
|
-
zoomOut:
|
|
61305
|
+
zoomOut: C,
|
|
61306
61306
|
onWheel: O,
|
|
61307
61307
|
onPointerDown: y,
|
|
61308
61308
|
resetDragFlag: A,
|
|
@@ -61463,73 +61463,103 @@ const Ks = br({
|
|
|
61463
61463
|
},
|
|
61464
61464
|
setup(r) {
|
|
61465
61465
|
const e = ye(null), t = st(() => r.content ?? r.modelValue ?? r.value ?? "");
|
|
61466
|
-
function a(
|
|
61467
|
-
const
|
|
61468
|
-
return !!(!
|
|
61466
|
+
function a(b) {
|
|
61467
|
+
const f = b.trim().replace(/\s/g, "").toLowerCase();
|
|
61468
|
+
return !!(!f || f.startsWith("#") || f.startsWith("/") || f.startsWith("http://") || f.startsWith("https://") || f.startsWith("mailto:") || f.startsWith("data:image/"));
|
|
61469
61469
|
}
|
|
61470
|
-
function n(
|
|
61471
|
-
if (!
|
|
61470
|
+
function n(b) {
|
|
61471
|
+
if (!b)
|
|
61472
61472
|
return "";
|
|
61473
|
-
const
|
|
61474
|
-
return
|
|
61475
|
-
if (Array.from(
|
|
61476
|
-
const
|
|
61477
|
-
if (
|
|
61478
|
-
|
|
61473
|
+
const f = new DOMParser().parseFromString(b, "text/html");
|
|
61474
|
+
return f.querySelectorAll("script, style").forEach((v) => v.remove()), f.querySelectorAll("*").forEach((v) => {
|
|
61475
|
+
if (Array.from(v.attributes).forEach((C) => {
|
|
61476
|
+
const O = C.name.toLowerCase(), y = C.value;
|
|
61477
|
+
if (O.startsWith("on")) {
|
|
61478
|
+
v.removeAttribute(C.name);
|
|
61479
61479
|
return;
|
|
61480
61480
|
}
|
|
61481
|
-
if (
|
|
61482
|
-
a(
|
|
61481
|
+
if (O === "href" || O === "src" || O === "xlink:href") {
|
|
61482
|
+
a(y) || v.removeAttribute(C.name);
|
|
61483
61483
|
return;
|
|
61484
61484
|
}
|
|
61485
|
-
if (
|
|
61486
|
-
const
|
|
61487
|
-
(
|
|
61485
|
+
if (O === "style") {
|
|
61486
|
+
const I = y.toLowerCase();
|
|
61487
|
+
(I.includes("expression(") || I.includes("javascript:") || I.includes("url(javascript:")) && v.removeAttribute(C.name);
|
|
61488
61488
|
}
|
|
61489
|
-
}),
|
|
61490
|
-
const
|
|
61491
|
-
if (
|
|
61492
|
-
const
|
|
61493
|
-
|
|
61489
|
+
}), v.tagName.toLowerCase() === "a") {
|
|
61490
|
+
const C = v;
|
|
61491
|
+
if (C.target === "_blank") {
|
|
61492
|
+
const O = (C.getAttribute("rel") ?? "").split(/\s+/).filter(Boolean), y = ["noopener", "noreferrer"];
|
|
61493
|
+
C.setAttribute("rel", Array.from(/* @__PURE__ */ new Set([...O, ...y])).join(" "));
|
|
61494
61494
|
}
|
|
61495
61495
|
}
|
|
61496
|
-
}),
|
|
61496
|
+
}), f.body.innerHTML;
|
|
61497
61497
|
}
|
|
61498
61498
|
const i = st(() => {
|
|
61499
|
-
const
|
|
61500
|
-
return r.sanitize ? n(
|
|
61499
|
+
const b = t.value;
|
|
61500
|
+
return r.sanitize ? n(b) : b;
|
|
61501
61501
|
});
|
|
61502
61502
|
or(
|
|
61503
61503
|
i,
|
|
61504
|
-
(
|
|
61505
|
-
const
|
|
61506
|
-
|
|
61504
|
+
(b) => {
|
|
61505
|
+
const f = e.value;
|
|
61506
|
+
f && (d.value && (d.value = !1), f.innerHTML = b, r.math && As(f), r.highlightCode && Is(f));
|
|
61507
61507
|
},
|
|
61508
61508
|
{ immediate: !0 }
|
|
61509
61509
|
);
|
|
61510
61510
|
const o = st(
|
|
61511
61511
|
() => r.fontSize !== void 0 ? { "--ck-content-font-size": `${r.fontSize}px` } : void 0
|
|
61512
61512
|
), s = st(() => r.imagePreview !== !1), c = st(() => {
|
|
61513
|
-
const
|
|
61513
|
+
const b = {
|
|
61514
61514
|
zIndex: 2100,
|
|
61515
61515
|
loop: !0,
|
|
61516
61516
|
navbar: !0,
|
|
61517
61517
|
fullscreen: !0
|
|
61518
61518
|
};
|
|
61519
|
-
return typeof r.imagePreview == "object" && r.imagePreview !== null ? { ...
|
|
61519
|
+
return typeof r.imagePreview == "object" && r.imagePreview !== null ? { ...b, ...r.imagePreview } : b;
|
|
61520
61520
|
}), d = ye(!1), u = ye([]), p = ye(0);
|
|
61521
|
-
function g(
|
|
61522
|
-
|
|
61523
|
-
|
|
61524
|
-
|
|
61525
|
-
|
|
61526
|
-
|
|
61527
|
-
|
|
61528
|
-
|
|
61521
|
+
function g(b) {
|
|
61522
|
+
const f = b.href, v = b.getAttribute("download");
|
|
61523
|
+
if (!(!f || !v)) {
|
|
61524
|
+
try {
|
|
61525
|
+
if (new URL(f, window.location.href).origin === window.location.origin) return;
|
|
61526
|
+
} catch {
|
|
61527
|
+
return;
|
|
61528
|
+
}
|
|
61529
|
+
fetch(f, { method: "GET", mode: "cors" }).then((C) => {
|
|
61530
|
+
if (!C.ok) throw new Error("fetch failed");
|
|
61531
|
+
return C.blob();
|
|
61532
|
+
}).then((C) => {
|
|
61533
|
+
const O = URL.createObjectURL(C), y = document.createElement("a");
|
|
61534
|
+
y.href = O, y.download = v, document.body.appendChild(y), y.click(), document.body.removeChild(y), URL.revokeObjectURL(O);
|
|
61535
|
+
}).catch(() => {
|
|
61536
|
+
window.open(f, "_blank", "noopener,noreferrer");
|
|
61537
|
+
});
|
|
61538
|
+
}
|
|
61539
|
+
}
|
|
61540
|
+
function S(b) {
|
|
61541
|
+
const f = b.target;
|
|
61542
|
+
if (!(f instanceof HTMLElement)) return;
|
|
61543
|
+
const v = f.closest("a.ck-qst-file--file[download]");
|
|
61544
|
+
if (v) {
|
|
61545
|
+
let I = !1;
|
|
61546
|
+
try {
|
|
61547
|
+
I = new URL(v.href, window.location.href).origin !== window.location.origin;
|
|
61548
|
+
} catch {
|
|
61549
|
+
return;
|
|
61550
|
+
}
|
|
61551
|
+
I && (b.preventDefault(), b.stopPropagation(), g(v));
|
|
61552
|
+
return;
|
|
61553
|
+
}
|
|
61554
|
+
if (!s.value || !(f instanceof HTMLImageElement)) return;
|
|
61555
|
+
const C = e.value;
|
|
61556
|
+
if (!C) return;
|
|
61557
|
+
const O = Array.from(C.querySelectorAll("img")), y = O.indexOf(f);
|
|
61558
|
+
y < 0 || (b.stopPropagation(), u.value = O.map((I) => I.src), p.value = y, d.value = !0);
|
|
61529
61559
|
}
|
|
61530
61560
|
return $s(() => {
|
|
61531
|
-
var
|
|
61532
|
-
(
|
|
61561
|
+
var b;
|
|
61562
|
+
(b = e.value) == null || b.removeEventListener("click", S);
|
|
61533
61563
|
}), {
|
|
61534
61564
|
container: e,
|
|
61535
61565
|
renderHtml: i,
|
|
@@ -61539,12 +61569,12 @@ const Ks = br({
|
|
|
61539
61569
|
viewerVisible: d,
|
|
61540
61570
|
viewerImages: u,
|
|
61541
61571
|
viewerIndex: p,
|
|
61542
|
-
handleContainerClick:
|
|
61572
|
+
handleContainerClick: S
|
|
61543
61573
|
};
|
|
61544
61574
|
},
|
|
61545
61575
|
mounted() {
|
|
61546
61576
|
const r = this.$refs.container;
|
|
61547
|
-
r && (r.innerHTML = this.renderHtml, this.math && As(r), this.highlightCode && Is(r), this.previewEnabled && r.addEventListener("click", this.handleContainerClick));
|
|
61577
|
+
r && (r.innerHTML = this.renderHtml, this.math && As(r), this.highlightCode && Is(r), (this.previewEnabled || r.querySelector("a.ck-qst-file--file[download]")) && r.addEventListener("click", this.handleContainerClick));
|
|
61548
61578
|
},
|
|
61549
61579
|
updated() {
|
|
61550
61580
|
const r = this.$refs.container;
|
|
@@ -61677,7 +61707,7 @@ const Ks = br({
|
|
|
61677
61707
|
let g = null;
|
|
61678
61708
|
const S = (w, W, J) => {
|
|
61679
61709
|
p.value = J;
|
|
61680
|
-
}, b = st(() => r.disableExit || p.value), f = st(() => r.content ?? t.value ?? ""), v = st(() => r.minHeight > 0),
|
|
61710
|
+
}, b = st(() => r.disableExit || p.value), f = st(() => r.content ?? t.value ?? ""), v = st(() => r.minHeight > 0), C = st(() => ({
|
|
61681
61711
|
minHeight: r.minHeight ? `${r.minHeight}px` : "auto",
|
|
61682
61712
|
height: r.height ? `${r.height}px` : "auto",
|
|
61683
61713
|
overflowY: r.height ? "auto" : "hidden",
|
|
@@ -61697,11 +61727,11 @@ const Ks = br({
|
|
|
61697
61727
|
})
|
|
61698
61728
|
), a.value = !0);
|
|
61699
61729
|
}
|
|
61700
|
-
function
|
|
61730
|
+
function I(w) {
|
|
61701
61731
|
const W = w;
|
|
61702
|
-
W.detail && W.detail.activeContainer !== i.value && a.value &&
|
|
61732
|
+
W.detail && W.detail.activeContainer !== i.value && a.value && D();
|
|
61703
61733
|
}
|
|
61704
|
-
async function
|
|
61734
|
+
async function D() {
|
|
61705
61735
|
var J, te, ae, ce, pe, Ue, Oe, Ce, Be;
|
|
61706
61736
|
if (!a.value || d.value) return;
|
|
61707
61737
|
if (b.value) {
|
|
@@ -61749,7 +61779,7 @@ const Ks = br({
|
|
|
61749
61779
|
c.value = !1;
|
|
61750
61780
|
return;
|
|
61751
61781
|
}
|
|
61752
|
-
c.value = !1, !J && (!te || ce) &&
|
|
61782
|
+
c.value = !1, !J && (!te || ce) && D();
|
|
61753
61783
|
}
|
|
61754
61784
|
function k(w) {
|
|
61755
61785
|
if (s.value = Hu(w), e("ready", w), n.value = !0, u.value != null && (window.clearTimeout(u.value), u.value = null), u.value = window.setTimeout(() => {
|
|
@@ -61779,12 +61809,12 @@ const Ks = br({
|
|
|
61779
61809
|
isDeactivating: d,
|
|
61780
61810
|
focusTimer: u,
|
|
61781
61811
|
previewHtml: f,
|
|
61782
|
-
wrapperStyle:
|
|
61812
|
+
wrapperStyle: C,
|
|
61783
61813
|
contentProps: O,
|
|
61784
61814
|
shouldApplyMinHeight: v,
|
|
61785
61815
|
activate: y,
|
|
61786
|
-
handleGlobalActivate:
|
|
61787
|
-
deactivate:
|
|
61816
|
+
handleGlobalActivate: I,
|
|
61817
|
+
deactivate: D,
|
|
61788
61818
|
handleMouseDown: A,
|
|
61789
61819
|
handleClickOutside: P,
|
|
61790
61820
|
handleReady: k,
|