@m3ui-vue/m3ui-vue 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/MIcon-CaEooCmZ.js.map +1 -1
- package/dist/{MMenuItem-DbbrJhFE.js → MMenuItem-C7jKU-Qh.js} +13 -13
- package/dist/{MMenuItem-DbbrJhFE.js.map → MMenuItem-C7jKU-Qh.js.map} +1 -1
- package/dist/barcode.js.map +1 -1
- package/dist/chart.js +1 -1
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/code-editor.js.map +1 -1
- package/dist/{common-VrOaLkjh.js → common-0dgrgaPL.js} +287 -213
- package/dist/common-0dgrgaPL.js.map +1 -0
- package/dist/components/MBar.vue.d.ts +58 -0
- package/dist/components/MPageProgress.vue.d.ts +15 -0
- package/dist/components/MSlider.vue.d.ts +6 -0
- package/dist/components/MWindow.vue.d.ts +1 -1
- package/dist/composables/usePageProgress.d.ts +19 -0
- package/dist/{dist-Dsrzt6J5.js → dist-CrjSW5DN.js} +248 -241
- package/dist/{dist-Dsrzt6J5.js.map → dist-CrjSW5DN.js.map} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +2918 -2639
- package/dist/m3ui.js.map +1 -1
- package/dist/markdown.js +1 -1
- package/dist/markdown.js.map +1 -1
- package/dist/qrcode.js.map +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/terminal.js.map +1 -1
- package/package.json +26 -26
- package/src/__tests__/usePageProgress.test.ts +52 -0
- package/src/components/MBar.vue +158 -0
- package/src/components/MPageProgress.vue +62 -0
- package/src/components/MSlider.vue +174 -52
- package/src/composables/usePageProgress.ts +49 -0
- package/src/index.ts +3 -0
- package/dist/common-VrOaLkjh.js.map +0 -1
|
@@ -5,10 +5,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5
5
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
6
6
|
});
|
|
7
7
|
return e;
|
|
8
|
-
}, c = (n, r,
|
|
8
|
+
}, c = (n, r, o) => (o = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
9
9
|
value: n,
|
|
10
10
|
enumerable: !0
|
|
11
|
-
}) :
|
|
11
|
+
}) : o, n)), l = /* @__PURE__ */ o(((e, t) => {
|
|
12
12
|
function n(e) {
|
|
13
13
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
14
14
|
throw Error("map is read-only");
|
|
@@ -158,7 +158,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
158
158
|
let n = e && e.exec(t);
|
|
159
159
|
return n && n.index === 0;
|
|
160
160
|
}
|
|
161
|
-
var S = /\[(?:[^\\\]]|\\.)*\]
|
|
161
|
+
var S = new RegExp(y(/\[(?:[^\\\]]|\\.)*\]/, /\(\?<(?![=!])[^>]+>/, /\(\?'[^']+'/, /\(\??/, /\\([1-9][0-9]*)/, /\\./));
|
|
162
162
|
function C(e, { joinWith: t }) {
|
|
163
163
|
let n = 0;
|
|
164
164
|
return e.map((e) => {
|
|
@@ -170,7 +170,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
170
170
|
i += r;
|
|
171
171
|
break;
|
|
172
172
|
}
|
|
173
|
-
i += r.substring(0, e.index), r = r.substring(e.index + e[0].length), e[0][0] === "\\" && e[1] ? i += "\\" + String(Number(e[1]) + t) : (i += e[0], e[0] === "(" && n++);
|
|
173
|
+
i += r.substring(0, e.index), r = r.substring(e.index + e[0].length), e[0][0] === "\\" && e[1] ? i += "\\" + String(Number(e[1]) + t) : (i += e[0], (e[0] === "(" || /^\(\?[<']/.test(e[0])) && n++);
|
|
174
174
|
}
|
|
175
175
|
return i;
|
|
176
176
|
}).map((e) => `(${e})`).join(t);
|
|
@@ -471,7 +471,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
471
471
|
return a(e, { variants: null }, t);
|
|
472
472
|
})), e.cachedVariants ? e.cachedVariants : de(e) ? a(e, { starts: e.starts ? a(e.starts) : null }) : Object.isFrozen(e) ? a(e) : e;
|
|
473
473
|
}
|
|
474
|
-
var pe = "11.
|
|
474
|
+
var pe = "11.12.0", me = class extends Error {
|
|
475
475
|
constructor(e, t) {
|
|
476
476
|
super(e), this.name = "HTMLInjectionError", this.html = t;
|
|
477
477
|
}
|
|
@@ -626,11 +626,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
626
626
|
if (r.type === "illegal" && !i) {
|
|
627
627
|
let e = /* @__PURE__ */ Error("Illegal lexeme \"" + a + "\" for mode \"" + (A.scope || "<unnamed>") + "\"");
|
|
628
628
|
throw e.mode = A, e;
|
|
629
|
-
}
|
|
629
|
+
}
|
|
630
|
+
if (r.type === "end") {
|
|
630
631
|
let e = C(r);
|
|
631
632
|
if (e !== _e) return e;
|
|
632
633
|
}
|
|
633
|
-
if (r.type === "illegal" && a === "") return P += "\n", 1;
|
|
634
|
+
if (r.type === "illegal" && a === "") return r.index === n.length || (P += "\n"), 1;
|
|
634
635
|
if (L > 1e5 && L > r.index * 3) throw /* @__PURE__ */ Error("potential infinite loop, way more iterations than matches");
|
|
635
636
|
return P += a, a.length;
|
|
636
637
|
}
|
|
@@ -772,7 +773,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
772
773
|
else throw e;
|
|
773
774
|
i = c;
|
|
774
775
|
}
|
|
775
|
-
i.name
|
|
776
|
+
i.name || (i.name = n), t[n] = i, i.rawDefinition = r.bind(null, e), i.aliases && P(i.aliases, { languageName: n });
|
|
776
777
|
}
|
|
777
778
|
function j(e) {
|
|
778
779
|
delete t[e];
|
|
@@ -963,7 +964,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
963
964
|
starts: {
|
|
964
965
|
end: /<\/style>/,
|
|
965
966
|
returnEnd: !0,
|
|
966
|
-
subLanguage:
|
|
967
|
+
subLanguage: "css"
|
|
967
968
|
}
|
|
968
969
|
},
|
|
969
970
|
{
|
|
@@ -975,11 +976,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
975
976
|
starts: {
|
|
976
977
|
end: /<\/script>/,
|
|
977
978
|
returnEnd: !0,
|
|
978
|
-
subLanguage:
|
|
979
|
-
"javascript",
|
|
980
|
-
"handlebars",
|
|
981
|
-
"xml"
|
|
982
|
-
]
|
|
979
|
+
subLanguage: "javascript"
|
|
983
980
|
}
|
|
984
981
|
},
|
|
985
982
|
{
|
|
@@ -1186,7 +1183,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1186
1183
|
function n(e) {
|
|
1187
1184
|
let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
|
|
1188
1185
|
className: "type",
|
|
1189
|
-
variants: [{ begin: "\\b[a-z\\d_]*_t\\b" }, { match: /\batomic_
|
|
1186
|
+
variants: [{ begin: "\\b[a-z\\d_]*_t\\b" }, { match: t.concat(/\batomic_/, t.either("bool", "char", "schar", "uchar", "short", "ushort", "int", "uint", "long", "ulong", "llong", "ullong", "char16_t", "char32_t", "wchar_t", "int_least8_t", "uint_least8_t", "int_least16_t", "uint_least16_t", "int_least32_t", "uint_least32_t", "int_least64_t", "uint_least64_t", "int_fast8_t", "uint_fast8_t", "int_fast16_t", "uint_fast16_t", "int_fast32_t", "uint_fast32_t", "int_fast64_t", "uint_fast64_t", "intptr_t", "uintptr_t", "size_t", "ptrdiff_t", "intmax_t", "uintmax_t"), /\b/) }]
|
|
1190
1187
|
}, o = {
|
|
1191
1188
|
className: "string",
|
|
1192
1189
|
variants: [
|
|
@@ -1202,8 +1199,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1202
1199
|
illegal: "."
|
|
1203
1200
|
},
|
|
1204
1201
|
e.END_SAME_AS_BEGIN({
|
|
1205
|
-
begin: /(?:u8?|U|L)?R"([^()
|
|
1206
|
-
end: /\)([^()
|
|
1202
|
+
begin: /(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,
|
|
1203
|
+
end: /\)([^()\\\s"]{0,16})"/
|
|
1207
1204
|
})
|
|
1208
1205
|
]
|
|
1209
1206
|
}, s = {
|
|
@@ -1216,6 +1213,21 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1216
1213
|
],
|
|
1217
1214
|
relevance: 0
|
|
1218
1215
|
}, c = {
|
|
1216
|
+
scope: "meta",
|
|
1217
|
+
begin: /#\s*include\b/,
|
|
1218
|
+
end: /$/,
|
|
1219
|
+
keywords: { keyword: "include" },
|
|
1220
|
+
contains: [
|
|
1221
|
+
{ begin: /\\\n/ },
|
|
1222
|
+
o,
|
|
1223
|
+
{
|
|
1224
|
+
scope: "string",
|
|
1225
|
+
begin: /<.*?>/
|
|
1226
|
+
},
|
|
1227
|
+
n,
|
|
1228
|
+
e.C_BLOCK_COMMENT_MODE
|
|
1229
|
+
]
|
|
1230
|
+
}, l = {
|
|
1219
1231
|
className: "meta",
|
|
1220
1232
|
begin: /#\s*[a-z]+\b/,
|
|
1221
1233
|
end: /$/,
|
|
@@ -1226,30 +1238,26 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1226
1238
|
relevance: 0
|
|
1227
1239
|
},
|
|
1228
1240
|
e.inherit(o, { className: "string" }),
|
|
1229
|
-
{
|
|
1230
|
-
className: "string",
|
|
1231
|
-
begin: /<.*?>/
|
|
1232
|
-
},
|
|
1233
1241
|
n,
|
|
1234
1242
|
e.C_BLOCK_COMMENT_MODE
|
|
1235
1243
|
]
|
|
1236
|
-
}, l = {
|
|
1244
|
+
}, u = [c, l], d = {
|
|
1237
1245
|
className: "title",
|
|
1238
1246
|
begin: t.optional(r) + e.IDENT_RE,
|
|
1239
1247
|
relevance: 0
|
|
1240
|
-
},
|
|
1248
|
+
}, f = t.optional(r) + e.IDENT_RE + "\\s*\\(", p = {
|
|
1241
1249
|
keyword: /* @__PURE__ */ "asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma".split("."),
|
|
1242
1250
|
type: /* @__PURE__ */ "float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary".split("."),
|
|
1243
1251
|
literal: "true false NULL",
|
|
1244
1252
|
built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
|
|
1245
|
-
},
|
|
1246
|
-
|
|
1253
|
+
}, m = [
|
|
1254
|
+
...u,
|
|
1247
1255
|
a,
|
|
1248
1256
|
n,
|
|
1249
1257
|
e.C_BLOCK_COMMENT_MODE,
|
|
1250
1258
|
s,
|
|
1251
1259
|
o
|
|
1252
|
-
],
|
|
1260
|
+
], h = {
|
|
1253
1261
|
variants: [
|
|
1254
1262
|
{
|
|
1255
1263
|
begin: /=/,
|
|
@@ -1264,32 +1272,32 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1264
1272
|
end: /;/
|
|
1265
1273
|
}
|
|
1266
1274
|
],
|
|
1267
|
-
keywords:
|
|
1268
|
-
contains:
|
|
1275
|
+
keywords: p,
|
|
1276
|
+
contains: m.concat([{
|
|
1269
1277
|
begin: /\(/,
|
|
1270
1278
|
end: /\)/,
|
|
1271
|
-
keywords:
|
|
1272
|
-
contains:
|
|
1279
|
+
keywords: p,
|
|
1280
|
+
contains: m.concat(["self"]),
|
|
1273
1281
|
relevance: 0
|
|
1274
1282
|
}]),
|
|
1275
1283
|
relevance: 0
|
|
1276
|
-
},
|
|
1277
|
-
begin: "(" + i + "[\\*&\\s]+)
|
|
1284
|
+
}, g = {
|
|
1285
|
+
begin: "(" + i + "[\\*&\\s]+){1,12}" + f,
|
|
1278
1286
|
returnBegin: !0,
|
|
1279
1287
|
end: /[{;=]/,
|
|
1280
1288
|
excludeEnd: !0,
|
|
1281
|
-
keywords:
|
|
1289
|
+
keywords: p,
|
|
1282
1290
|
illegal: /[^\w\s\*&:<>.]/,
|
|
1283
1291
|
contains: [
|
|
1284
1292
|
{
|
|
1285
1293
|
begin: "decltype\\(auto\\)",
|
|
1286
|
-
keywords:
|
|
1294
|
+
keywords: p,
|
|
1287
1295
|
relevance: 0
|
|
1288
1296
|
},
|
|
1289
1297
|
{
|
|
1290
|
-
begin:
|
|
1298
|
+
begin: f,
|
|
1291
1299
|
returnBegin: !0,
|
|
1292
|
-
contains: [e.inherit(
|
|
1300
|
+
contains: [e.inherit(d, { className: "title.function" })],
|
|
1293
1301
|
relevance: 0
|
|
1294
1302
|
},
|
|
1295
1303
|
{
|
|
@@ -1300,7 +1308,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1300
1308
|
className: "params",
|
|
1301
1309
|
begin: /\(/,
|
|
1302
1310
|
end: /\)/,
|
|
1303
|
-
keywords:
|
|
1311
|
+
keywords: p,
|
|
1304
1312
|
relevance: 0,
|
|
1305
1313
|
contains: [
|
|
1306
1314
|
n,
|
|
@@ -1311,7 +1319,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1311
1319
|
{
|
|
1312
1320
|
begin: /\(/,
|
|
1313
1321
|
end: /\)/,
|
|
1314
|
-
keywords:
|
|
1322
|
+
keywords: p,
|
|
1315
1323
|
relevance: 0,
|
|
1316
1324
|
contains: [
|
|
1317
1325
|
"self",
|
|
@@ -1327,20 +1335,20 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1327
1335
|
a,
|
|
1328
1336
|
n,
|
|
1329
1337
|
e.C_BLOCK_COMMENT_MODE,
|
|
1330
|
-
|
|
1338
|
+
...u
|
|
1331
1339
|
]
|
|
1332
1340
|
};
|
|
1333
1341
|
return {
|
|
1334
1342
|
name: "C",
|
|
1335
1343
|
aliases: ["h"],
|
|
1336
|
-
keywords:
|
|
1344
|
+
keywords: p,
|
|
1337
1345
|
disableAutodetect: !0,
|
|
1338
1346
|
illegal: "</",
|
|
1339
|
-
contains: [].concat(
|
|
1340
|
-
|
|
1347
|
+
contains: [].concat(h, g, m, [
|
|
1348
|
+
...u,
|
|
1341
1349
|
{
|
|
1342
1350
|
begin: e.IDENT_RE + "::",
|
|
1343
|
-
keywords:
|
|
1351
|
+
keywords: p
|
|
1344
1352
|
},
|
|
1345
1353
|
{
|
|
1346
1354
|
className: "class",
|
|
@@ -1350,9 +1358,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1350
1358
|
}
|
|
1351
1359
|
]),
|
|
1352
1360
|
exports: {
|
|
1353
|
-
preprocessor:
|
|
1361
|
+
preprocessor: l,
|
|
1354
1362
|
strings: o,
|
|
1355
|
-
keywords:
|
|
1363
|
+
keywords: p
|
|
1356
1364
|
}
|
|
1357
1365
|
};
|
|
1358
1366
|
}
|
|
@@ -1377,15 +1385,30 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1377
1385
|
illegal: "."
|
|
1378
1386
|
},
|
|
1379
1387
|
e.END_SAME_AS_BEGIN({
|
|
1380
|
-
begin: /(?:u8?|U|L)?R"([^()
|
|
1381
|
-
end: /\)([^()
|
|
1388
|
+
begin: /(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,
|
|
1389
|
+
end: /\)([^()\\\s"]{0,16})"/
|
|
1382
1390
|
})
|
|
1383
1391
|
]
|
|
1384
1392
|
}, s = {
|
|
1385
1393
|
className: "number",
|
|
1386
|
-
variants: [{ begin: "[+-]?(?:(
|
|
1394
|
+
variants: [{ begin: "[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)" }, { begin: "[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)" }],
|
|
1387
1395
|
relevance: 0
|
|
1388
|
-
}, c = {
|
|
1396
|
+
}, c = [{
|
|
1397
|
+
scope: "meta",
|
|
1398
|
+
begin: /#\s*include\b/,
|
|
1399
|
+
end: /$/,
|
|
1400
|
+
keywords: { keyword: "include" },
|
|
1401
|
+
contains: [
|
|
1402
|
+
{ begin: /\\\n/ },
|
|
1403
|
+
o,
|
|
1404
|
+
{
|
|
1405
|
+
scope: "string",
|
|
1406
|
+
begin: /<.*?>/
|
|
1407
|
+
},
|
|
1408
|
+
n,
|
|
1409
|
+
e.C_BLOCK_COMMENT_MODE
|
|
1410
|
+
]
|
|
1411
|
+
}, {
|
|
1389
1412
|
className: "meta",
|
|
1390
1413
|
begin: /#\s*[a-z]+\b/,
|
|
1391
1414
|
end: /$/,
|
|
@@ -1396,14 +1419,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1396
1419
|
relevance: 0
|
|
1397
1420
|
},
|
|
1398
1421
|
e.inherit(o, { className: "string" }),
|
|
1399
|
-
{
|
|
1400
|
-
className: "string",
|
|
1401
|
-
begin: /<.*?>/
|
|
1402
|
-
},
|
|
1403
1422
|
n,
|
|
1404
1423
|
e.C_BLOCK_COMMENT_MODE
|
|
1405
1424
|
]
|
|
1406
|
-
}, l = {
|
|
1425
|
+
}], l = {
|
|
1407
1426
|
className: "title",
|
|
1408
1427
|
begin: t.optional(r) + e.IDENT_RE,
|
|
1409
1428
|
relevance: 0
|
|
@@ -1440,10 +1459,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1440
1459
|
className: "function.dispatch",
|
|
1441
1460
|
relevance: 0,
|
|
1442
1461
|
keywords: { _hint: m },
|
|
1443
|
-
begin: t.concat(/\b/,
|
|
1462
|
+
begin: t.concat(/\b/, `(?!${d.join("|")})`, e.IDENT_RE, t.lookahead(/(<[^<>]+>|)\s*\(/))
|
|
1444
1463
|
}, _ = [
|
|
1445
1464
|
g,
|
|
1446
|
-
c,
|
|
1465
|
+
...c,
|
|
1447
1466
|
a,
|
|
1448
1467
|
n,
|
|
1449
1468
|
e.C_BLOCK_COMMENT_MODE,
|
|
@@ -1475,7 +1494,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1475
1494
|
relevance: 0
|
|
1476
1495
|
}, y = {
|
|
1477
1496
|
className: "function",
|
|
1478
|
-
begin: "(" + i + "[\\*&\\s]+)
|
|
1497
|
+
begin: "(" + i + "[\\*&\\s]+){1,12}" + u,
|
|
1479
1498
|
returnBegin: !0,
|
|
1480
1499
|
end: /[{;=]/,
|
|
1481
1500
|
excludeEnd: !0,
|
|
@@ -1537,7 +1556,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1537
1556
|
a,
|
|
1538
1557
|
n,
|
|
1539
1558
|
e.C_BLOCK_COMMENT_MODE,
|
|
1540
|
-
c
|
|
1559
|
+
...c
|
|
1541
1560
|
]
|
|
1542
1561
|
};
|
|
1543
1562
|
return {
|
|
@@ -1555,7 +1574,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1555
1574
|
illegal: "</",
|
|
1556
1575
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
1557
1576
|
contains: [].concat(v, y, g, _, [
|
|
1558
|
-
c,
|
|
1577
|
+
...c,
|
|
1559
1578
|
{
|
|
1560
1579
|
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*<(?!<)",
|
|
1561
1580
|
end: ">",
|
|
@@ -1629,29 +1648,29 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1629
1648
|
"null",
|
|
1630
1649
|
"true"
|
|
1631
1650
|
]
|
|
1632
|
-
}, i = e.inherit(e.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), a = {
|
|
1651
|
+
}, i = e.inherit(e.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), a = "([uU][lL]?|[lL][uU]?)?", o = {
|
|
1633
1652
|
className: "number",
|
|
1634
1653
|
variants: [
|
|
1635
|
-
{ begin: "\\
|
|
1636
|
-
{ begin: "(-?)\\
|
|
1637
|
-
{ begin: "(-?)(\\
|
|
1654
|
+
{ begin: "\\b0[bB]_*[01](_*[01])*" + a },
|
|
1655
|
+
{ begin: "(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*" + a },
|
|
1656
|
+
{ begin: "(-?)(\\b\\d(_*\\d)*(\\.(\\d(_*\\d)*)?)?|\\.\\d(_*\\d)*)([eE][-+]?\\d(_*\\d)*)?([fFdDmM]|[uU][lL]?|[lL][uU]?)?" }
|
|
1638
1657
|
],
|
|
1639
1658
|
relevance: 0
|
|
1640
|
-
},
|
|
1659
|
+
}, s = {
|
|
1641
1660
|
className: "string",
|
|
1642
1661
|
begin: /"""("*)(?!")(.|\n)*?"""\1/,
|
|
1643
1662
|
relevance: 1
|
|
1644
|
-
},
|
|
1663
|
+
}, c = {
|
|
1645
1664
|
className: "string",
|
|
1646
1665
|
begin: "@\"",
|
|
1647
1666
|
end: "\"",
|
|
1648
1667
|
contains: [{ begin: "\"\"" }]
|
|
1649
|
-
},
|
|
1668
|
+
}, l = e.inherit(c, { illegal: /\n/ }), u = {
|
|
1650
1669
|
className: "subst",
|
|
1651
1670
|
begin: /\{/,
|
|
1652
1671
|
end: /\}/,
|
|
1653
1672
|
keywords: r
|
|
1654
|
-
},
|
|
1673
|
+
}, d = e.inherit(u, { illegal: /\n/ }), f = {
|
|
1655
1674
|
className: "string",
|
|
1656
1675
|
begin: /\$"/,
|
|
1657
1676
|
end: "\"",
|
|
@@ -1660,9 +1679,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1660
1679
|
{ begin: /\{\{/ },
|
|
1661
1680
|
{ begin: /\}\}/ },
|
|
1662
1681
|
e.BACKSLASH_ESCAPE,
|
|
1663
|
-
|
|
1682
|
+
d
|
|
1664
1683
|
]
|
|
1665
|
-
},
|
|
1684
|
+
}, p = {
|
|
1666
1685
|
className: "string",
|
|
1667
1686
|
begin: /\$@"/,
|
|
1668
1687
|
end: "\"",
|
|
@@ -1670,46 +1689,46 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1670
1689
|
{ begin: /\{\{/ },
|
|
1671
1690
|
{ begin: /\}\}/ },
|
|
1672
1691
|
{ begin: "\"\"" },
|
|
1673
|
-
|
|
1692
|
+
u
|
|
1674
1693
|
]
|
|
1675
|
-
},
|
|
1694
|
+
}, m = e.inherit(p, {
|
|
1676
1695
|
illegal: /\n/,
|
|
1677
1696
|
contains: [
|
|
1678
1697
|
{ begin: /\{\{/ },
|
|
1679
1698
|
{ begin: /\}\}/ },
|
|
1680
1699
|
{ begin: "\"\"" },
|
|
1681
|
-
|
|
1700
|
+
d
|
|
1682
1701
|
]
|
|
1683
1702
|
});
|
|
1684
|
-
|
|
1703
|
+
u.contains = [
|
|
1704
|
+
p,
|
|
1685
1705
|
f,
|
|
1686
|
-
|
|
1687
|
-
s,
|
|
1706
|
+
c,
|
|
1688
1707
|
e.APOS_STRING_MODE,
|
|
1689
1708
|
e.QUOTE_STRING_MODE,
|
|
1690
|
-
|
|
1709
|
+
o,
|
|
1691
1710
|
e.C_BLOCK_COMMENT_MODE
|
|
1692
|
-
],
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1711
|
+
], d.contains = [
|
|
1712
|
+
m,
|
|
1713
|
+
f,
|
|
1714
|
+
l,
|
|
1696
1715
|
e.APOS_STRING_MODE,
|
|
1697
1716
|
e.QUOTE_STRING_MODE,
|
|
1698
|
-
|
|
1717
|
+
o,
|
|
1699
1718
|
e.inherit(e.C_BLOCK_COMMENT_MODE, { illegal: /\n/ })
|
|
1700
1719
|
];
|
|
1701
|
-
let
|
|
1702
|
-
o,
|
|
1703
|
-
f,
|
|
1704
|
-
d,
|
|
1720
|
+
let h = { variants: [
|
|
1705
1721
|
s,
|
|
1722
|
+
p,
|
|
1723
|
+
f,
|
|
1724
|
+
c,
|
|
1706
1725
|
e.APOS_STRING_MODE,
|
|
1707
1726
|
e.QUOTE_STRING_MODE
|
|
1708
|
-
] },
|
|
1727
|
+
] }, g = {
|
|
1709
1728
|
begin: "<",
|
|
1710
1729
|
end: ">",
|
|
1711
1730
|
contains: [{ beginKeywords: "in out" }, i]
|
|
1712
|
-
},
|
|
1731
|
+
}, _ = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", v = {
|
|
1713
1732
|
begin: "@" + e.IDENT_RE,
|
|
1714
1733
|
relevance: 0
|
|
1715
1734
|
};
|
|
@@ -1744,8 +1763,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1744
1763
|
end: "$",
|
|
1745
1764
|
keywords: { keyword: "if else elif endif define undef warning error line region endregion pragma checksum" }
|
|
1746
1765
|
},
|
|
1747
|
-
|
|
1748
|
-
|
|
1766
|
+
h,
|
|
1767
|
+
o,
|
|
1749
1768
|
{
|
|
1750
1769
|
beginKeywords: "class interface",
|
|
1751
1770
|
relevance: 0,
|
|
@@ -1754,7 +1773,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1754
1773
|
contains: [
|
|
1755
1774
|
{ beginKeywords: "where class" },
|
|
1756
1775
|
i,
|
|
1757
|
-
|
|
1776
|
+
g,
|
|
1758
1777
|
e.C_LINE_COMMENT_MODE,
|
|
1759
1778
|
e.C_BLOCK_COMMENT_MODE
|
|
1760
1779
|
]
|
|
@@ -1777,7 +1796,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1777
1796
|
illegal: /[^\s:]/,
|
|
1778
1797
|
contains: [
|
|
1779
1798
|
i,
|
|
1780
|
-
|
|
1799
|
+
g,
|
|
1781
1800
|
e.C_LINE_COMMENT_MODE,
|
|
1782
1801
|
e.C_BLOCK_COMMENT_MODE
|
|
1783
1802
|
]
|
|
@@ -1800,7 +1819,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1800
1819
|
},
|
|
1801
1820
|
{
|
|
1802
1821
|
className: "function",
|
|
1803
|
-
begin: "(" +
|
|
1822
|
+
begin: "(" + _ + "\\s+)+" + e.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
1804
1823
|
returnBegin: !0,
|
|
1805
1824
|
end: /\s*[{;=]/,
|
|
1806
1825
|
excludeEnd: !0,
|
|
@@ -1813,7 +1832,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1813
1832
|
{
|
|
1814
1833
|
begin: e.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
1815
1834
|
returnBegin: !0,
|
|
1816
|
-
contains: [e.TITLE_MODE,
|
|
1835
|
+
contains: [e.TITLE_MODE, g],
|
|
1817
1836
|
relevance: 0
|
|
1818
1837
|
},
|
|
1819
1838
|
{ match: /\(\)/ },
|
|
@@ -1826,8 +1845,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1826
1845
|
keywords: r,
|
|
1827
1846
|
relevance: 0,
|
|
1828
1847
|
contains: [
|
|
1829
|
-
|
|
1830
|
-
|
|
1848
|
+
h,
|
|
1849
|
+
o,
|
|
1831
1850
|
e.C_BLOCK_COMMENT_MODE
|
|
1832
1851
|
]
|
|
1833
1852
|
},
|
|
@@ -1835,7 +1854,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1835
1854
|
e.C_BLOCK_COMMENT_MODE
|
|
1836
1855
|
]
|
|
1837
1856
|
},
|
|
1838
|
-
|
|
1857
|
+
v
|
|
1839
1858
|
]
|
|
1840
1859
|
};
|
|
1841
1860
|
}
|
|
@@ -1851,6 +1870,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1851
1870
|
scope: "number",
|
|
1852
1871
|
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
1853
1872
|
},
|
|
1873
|
+
UNICODE_RANGE: {
|
|
1874
|
+
scope: "number",
|
|
1875
|
+
begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/
|
|
1876
|
+
},
|
|
1854
1877
|
FUNCTION_DISPATCH: {
|
|
1855
1878
|
className: "built_in",
|
|
1856
1879
|
begin: /[\w-]+(?=\()/
|
|
@@ -1886,7 +1909,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1886
1909
|
"selection",
|
|
1887
1910
|
"slotted",
|
|
1888
1911
|
"spelling-error"
|
|
1889
|
-
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
|
|
1912
|
+
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
|
|
1890
1913
|
function u(e) {
|
|
1891
1914
|
let t = e.regex, r = n(e), i = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, u = /@-?\w[\w]*(-\w+)*/, d = [e.APOS_STRING_MODE, e.QUOTE_STRING_MODE];
|
|
1892
1915
|
return {
|
|
@@ -1927,6 +1950,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1927
1950
|
r.HEXCOLOR,
|
|
1928
1951
|
r.IMPORTANT,
|
|
1929
1952
|
r.CSS_NUMBER_MODE,
|
|
1953
|
+
r.UNICODE_RANGE,
|
|
1930
1954
|
...d,
|
|
1931
1955
|
{
|
|
1932
1956
|
begin: /(url|data-uri)\(/,
|
|
@@ -1986,10 +2010,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
1986
2010
|
end: ">",
|
|
1987
2011
|
subLanguage: "xml",
|
|
1988
2012
|
relevance: 0
|
|
1989
|
-
}, r = {
|
|
1990
|
-
begin: "^[-\\*]{3,}",
|
|
1991
|
-
end: "$"
|
|
1992
|
-
}, i = {
|
|
2013
|
+
}, r = { match: /^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/ }, i = {
|
|
1993
2014
|
className: "code",
|
|
1994
2015
|
variants: [
|
|
1995
2016
|
{ begin: "(`{3,})[^`](.|\\n)*?\\1`*[ ]*" },
|
|
@@ -2139,6 +2160,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2139
2160
|
},
|
|
2140
2161
|
n,
|
|
2141
2162
|
a,
|
|
2163
|
+
r,
|
|
2142
2164
|
c,
|
|
2143
2165
|
l,
|
|
2144
2166
|
{
|
|
@@ -2148,7 +2170,6 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2148
2170
|
end: "$"
|
|
2149
2171
|
},
|
|
2150
2172
|
i,
|
|
2151
|
-
r,
|
|
2152
2173
|
s,
|
|
2153
2174
|
o,
|
|
2154
2175
|
{
|
|
@@ -2169,7 +2190,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2169
2190
|
{
|
|
2170
2191
|
className: "meta",
|
|
2171
2192
|
relevance: 10,
|
|
2172
|
-
match: t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/, /^\*\*\* +\d+,\d+ +\*\*\*\*$/, /^--- +\d+,\d+ +----$/)
|
|
2193
|
+
match: t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/, /^@@ +-\d+ +\+\d+,\d+ +@@/, /^@@ +-\d+,\d+ +\+\d+ +@@/, /^@@ +-\d+ +\+\d+ +@@/, /^\*\*\* +\d+,\d+ +\*\*\*\*$/, /^--- +\d+,\d+ +----$/)
|
|
2173
2194
|
},
|
|
2174
2195
|
{
|
|
2175
2196
|
className: "comment",
|
|
@@ -2368,7 +2389,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2368
2389
|
},
|
|
2369
2390
|
contains: [p]
|
|
2370
2391
|
},
|
|
2371
|
-
{ begin:
|
|
2392
|
+
{ begin: "::" },
|
|
2372
2393
|
{
|
|
2373
2394
|
className: "symbol",
|
|
2374
2395
|
begin: e.UNDERSCORE_IDENT_RE + "(!|\\?)?:",
|
|
@@ -2568,6 +2589,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2568
2589
|
match: /-?\b0[oO](_?[0-7])*i?/,
|
|
2569
2590
|
relevance: 0
|
|
2570
2591
|
},
|
|
2592
|
+
{
|
|
2593
|
+
match: /-?\b0[bB](_?[01])*i?/,
|
|
2594
|
+
relevance: 0
|
|
2595
|
+
},
|
|
2571
2596
|
{
|
|
2572
2597
|
match: /-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,
|
|
2573
2598
|
relevance: 0
|
|
@@ -2770,7 +2795,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2770
2795
|
return n === -1 ? "" : e.replace(t, (r) => o(e, t, n - 1));
|
|
2771
2796
|
}
|
|
2772
2797
|
function s(e) {
|
|
2773
|
-
let t = e.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r =
|
|
2798
|
+
let t = e.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = "(?:(?:\\s*\\[\\s*])+)?", i = "(?:\\?(?:\\s+(?:extends|super)\\s+[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*<@@@>(?:(?:\\s*\\[\\s*])+)?)?|[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*<@@@>(?:(?:\\s*\\[\\s*])+)?)", s = o("(?:\\s*<\\s*" + i + "(?:\\s*,\\s*" + i + ")*\\s*>)?", /<@@@>/g, 2), c = {
|
|
2774
2799
|
keyword: /* @__PURE__ */ "synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when".split("."),
|
|
2775
2800
|
literal: [
|
|
2776
2801
|
"false",
|
|
@@ -2788,19 +2813,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2788
2813
|
"double"
|
|
2789
2814
|
],
|
|
2790
2815
|
built_in: ["super", "this"]
|
|
2791
|
-
},
|
|
2816
|
+
}, l = {
|
|
2792
2817
|
className: "meta",
|
|
2793
|
-
begin: "@
|
|
2818
|
+
begin: "@" + n,
|
|
2794
2819
|
contains: [{
|
|
2795
2820
|
begin: /\(/,
|
|
2796
2821
|
end: /\)/,
|
|
2797
2822
|
contains: ["self"]
|
|
2798
2823
|
}]
|
|
2799
|
-
},
|
|
2824
|
+
}, u = {
|
|
2800
2825
|
className: "params",
|
|
2801
2826
|
begin: /\(/,
|
|
2802
2827
|
end: /\)/,
|
|
2803
|
-
keywords:
|
|
2828
|
+
keywords: c,
|
|
2804
2829
|
relevance: 0,
|
|
2805
2830
|
contains: [e.C_BLOCK_COMMENT_MODE],
|
|
2806
2831
|
endsParent: !0
|
|
@@ -2808,7 +2833,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2808
2833
|
return {
|
|
2809
2834
|
name: "Java",
|
|
2810
2835
|
aliases: ["jsp"],
|
|
2811
|
-
keywords:
|
|
2836
|
+
keywords: c,
|
|
2812
2837
|
illegal: /<\/|#/,
|
|
2813
2838
|
contains: [
|
|
2814
2839
|
e.COMMENT("/\\*\\*", "\\*/", {
|
|
@@ -2851,18 +2876,23 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2851
2876
|
match: /non-sealed/,
|
|
2852
2877
|
scope: "keyword"
|
|
2853
2878
|
},
|
|
2879
|
+
{
|
|
2880
|
+
beginKeywords: "new throw return else yield assert",
|
|
2881
|
+
relevance: 0
|
|
2882
|
+
},
|
|
2854
2883
|
{
|
|
2855
2884
|
begin: [
|
|
2856
|
-
t.concat(/(?!else)/, n),
|
|
2857
|
-
/\s+/,
|
|
2858
2885
|
n,
|
|
2859
|
-
/\s
|
|
2886
|
+
t.concat(s, r, /\s+/),
|
|
2887
|
+
n,
|
|
2888
|
+
r,
|
|
2889
|
+
/\s*/,
|
|
2860
2890
|
/=(?!=)/
|
|
2861
2891
|
],
|
|
2862
2892
|
className: {
|
|
2863
2893
|
1: "type",
|
|
2864
2894
|
3: "variable",
|
|
2865
|
-
|
|
2895
|
+
6: "operator"
|
|
2866
2896
|
}
|
|
2867
2897
|
},
|
|
2868
2898
|
{
|
|
@@ -2876,32 +2906,32 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2876
2906
|
3: "title.class"
|
|
2877
2907
|
},
|
|
2878
2908
|
contains: [
|
|
2879
|
-
|
|
2909
|
+
u,
|
|
2880
2910
|
e.C_LINE_COMMENT_MODE,
|
|
2881
2911
|
e.C_BLOCK_COMMENT_MODE
|
|
2882
2912
|
]
|
|
2883
2913
|
},
|
|
2884
|
-
{
|
|
2885
|
-
beginKeywords: "new throw return else",
|
|
2886
|
-
relevance: 0
|
|
2887
|
-
},
|
|
2888
2914
|
{
|
|
2889
2915
|
begin: [
|
|
2890
|
-
|
|
2891
|
-
|
|
2916
|
+
n,
|
|
2917
|
+
t.concat(s, r, /\s+/),
|
|
2918
|
+
n,
|
|
2892
2919
|
/\s*(?=\()/
|
|
2893
2920
|
],
|
|
2894
|
-
className: {
|
|
2895
|
-
|
|
2921
|
+
className: {
|
|
2922
|
+
1: "type",
|
|
2923
|
+
3: "title.function"
|
|
2924
|
+
},
|
|
2925
|
+
keywords: c,
|
|
2896
2926
|
contains: [
|
|
2897
2927
|
{
|
|
2898
2928
|
className: "params",
|
|
2899
2929
|
begin: /\(/,
|
|
2900
2930
|
end: /\)/,
|
|
2901
|
-
keywords:
|
|
2931
|
+
keywords: c,
|
|
2902
2932
|
relevance: 0,
|
|
2903
2933
|
contains: [
|
|
2904
|
-
|
|
2934
|
+
l,
|
|
2905
2935
|
e.APOS_STRING_MODE,
|
|
2906
2936
|
e.QUOTE_STRING_MODE,
|
|
2907
2937
|
a,
|
|
@@ -2913,7 +2943,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2913
2943
|
]
|
|
2914
2944
|
},
|
|
2915
2945
|
a,
|
|
2916
|
-
|
|
2946
|
+
l
|
|
2917
2947
|
]
|
|
2918
2948
|
};
|
|
2919
2949
|
}
|
|
@@ -2963,6 +2993,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
2963
2993
|
"localStorage",
|
|
2964
2994
|
"sessionStorage",
|
|
2965
2995
|
"module",
|
|
2996
|
+
"self",
|
|
2966
2997
|
"global"
|
|
2967
2998
|
], l = [].concat(s, a, o);
|
|
2968
2999
|
function u(e) {
|
|
@@ -3071,7 +3102,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3071
3102
|
},
|
|
3072
3103
|
{
|
|
3073
3104
|
className: "variable",
|
|
3074
|
-
begin: "
|
|
3105
|
+
begin: d + "(?=\\s*(-)|$)",
|
|
3075
3106
|
endsParent: !0,
|
|
3076
3107
|
relevance: 0
|
|
3077
3108
|
},
|
|
@@ -3176,7 +3207,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3176
3207
|
match: t.concat(/\b/, F([
|
|
3177
3208
|
...s,
|
|
3178
3209
|
"super",
|
|
3179
|
-
"import"
|
|
3210
|
+
"import",
|
|
3211
|
+
"await"
|
|
3180
3212
|
].map((e) => `${e}\\s*\\(`)), d, t.lookahead(/\s*\(/)),
|
|
3181
3213
|
className: "title.function",
|
|
3182
3214
|
relevance: 0
|
|
@@ -3229,7 +3261,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3229
3261
|
PARAMS_CONTAINS: O,
|
|
3230
3262
|
CLASS_REFERENCE: j
|
|
3231
3263
|
},
|
|
3232
|
-
illegal: /#(?![$_A-z])/,
|
|
3264
|
+
illegal: /#(?![$_A-Za-z])/,
|
|
3233
3265
|
contains: [
|
|
3234
3266
|
e.SHEBANG({
|
|
3235
3267
|
label: "shebang",
|
|
@@ -3336,7 +3368,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3336
3368
|
},
|
|
3337
3369
|
L,
|
|
3338
3370
|
{
|
|
3339
|
-
match: "\\$
|
|
3371
|
+
match: "\\$" + d,
|
|
3340
3372
|
relevance: 0
|
|
3341
3373
|
},
|
|
3342
3374
|
{
|
|
@@ -3354,40 +3386,46 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3354
3386
|
}
|
|
3355
3387
|
t.exports = u;
|
|
3356
3388
|
})), w = /* @__PURE__ */ o(((e, t) => {
|
|
3357
|
-
|
|
3389
|
+
var n = {
|
|
3390
|
+
scope: "number",
|
|
3391
|
+
match: "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",
|
|
3392
|
+
relevance: 0
|
|
3393
|
+
};
|
|
3394
|
+
function r(e) {
|
|
3358
3395
|
let t = {
|
|
3359
3396
|
className: "attr",
|
|
3360
|
-
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
3397
|
+
begin: /(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,
|
|
3361
3398
|
relevance: 1.01
|
|
3362
|
-
},
|
|
3399
|
+
}, r = {
|
|
3363
3400
|
match: /[{}[\],:]/,
|
|
3364
3401
|
className: "punctuation",
|
|
3365
3402
|
relevance: 0
|
|
3366
|
-
},
|
|
3403
|
+
}, i = [
|
|
3367
3404
|
"true",
|
|
3368
3405
|
"false",
|
|
3369
3406
|
"null"
|
|
3370
|
-
],
|
|
3407
|
+
], a = {
|
|
3371
3408
|
scope: "literal",
|
|
3372
|
-
beginKeywords:
|
|
3409
|
+
beginKeywords: i.join(" ")
|
|
3373
3410
|
};
|
|
3374
3411
|
return {
|
|
3375
3412
|
name: "JSON",
|
|
3376
|
-
aliases: ["jsonc"],
|
|
3377
|
-
keywords: { literal:
|
|
3413
|
+
aliases: ["jsonc", "json5"],
|
|
3414
|
+
keywords: { literal: i },
|
|
3378
3415
|
contains: [
|
|
3379
3416
|
t,
|
|
3380
|
-
|
|
3417
|
+
r,
|
|
3418
|
+
e.APOS_STRING_MODE,
|
|
3381
3419
|
e.QUOTE_STRING_MODE,
|
|
3382
|
-
|
|
3383
|
-
|
|
3420
|
+
a,
|
|
3421
|
+
n,
|
|
3384
3422
|
e.C_LINE_COMMENT_MODE,
|
|
3385
3423
|
e.C_BLOCK_COMMENT_MODE
|
|
3386
3424
|
],
|
|
3387
3425
|
illegal: "\\S"
|
|
3388
3426
|
};
|
|
3389
3427
|
}
|
|
3390
|
-
t.exports =
|
|
3428
|
+
t.exports = r;
|
|
3391
3429
|
})), T = /* @__PURE__ */ o(((e, t) => {
|
|
3392
3430
|
var n = "[0-9](_*[0-9])*", r = `\\.(${n})`, i = "[0-9a-fA-F](_*[0-9a-fA-F])*", a = {
|
|
3393
3431
|
className: "number",
|
|
@@ -3475,7 +3513,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3475
3513
|
}] }, p = f;
|
|
3476
3514
|
return p.variants[1].contains = [f], f.variants[1].contains = [p], {
|
|
3477
3515
|
name: "Kotlin",
|
|
3478
|
-
aliases: [
|
|
3516
|
+
aliases: [
|
|
3517
|
+
"kt",
|
|
3518
|
+
"kts",
|
|
3519
|
+
"ktm",
|
|
3520
|
+
"ktx"
|
|
3521
|
+
],
|
|
3479
3522
|
keywords: t,
|
|
3480
3523
|
contains: [
|
|
3481
3524
|
e.COMMENT("/\\*\\*", "\\*/", {
|
|
@@ -3599,6 +3642,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3599
3642
|
scope: "number",
|
|
3600
3643
|
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
3601
3644
|
},
|
|
3645
|
+
UNICODE_RANGE: {
|
|
3646
|
+
scope: "number",
|
|
3647
|
+
begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/
|
|
3648
|
+
},
|
|
3602
3649
|
FUNCTION_DISPATCH: {
|
|
3603
3650
|
className: "built_in",
|
|
3604
3651
|
begin: /[\w-]+(?=\()/
|
|
@@ -3634,7 +3681,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3634
3681
|
"selection",
|
|
3635
3682
|
"slotted",
|
|
3636
3683
|
"spelling-error"
|
|
3637
|
-
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse(), u = s.concat(c).sort().reverse();
|
|
3684
|
+
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse(), u = s.concat(c).sort().reverse();
|
|
3638
3685
|
function d(e) {
|
|
3639
3686
|
let t = n(e), r = u, i = "([\\w-]+|@\\{[\\w-]+\\})", d = [], f = [], p = function(e) {
|
|
3640
3687
|
return {
|
|
@@ -3665,7 +3712,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3665
3712
|
end: "[\\)\\n]",
|
|
3666
3713
|
excludeEnd: !0
|
|
3667
3714
|
}
|
|
3668
|
-
}, t.HEXCOLOR, g, m("variable", "@@?[\\w-]+", 10), m("variable", "@\\{[\\w-]+\\}"), m("built_in", "~?`[^`]*?`"), {
|
|
3715
|
+
}, t.UNICODE_RANGE, t.HEXCOLOR, g, m("variable", "@@?[\\w-]+", 10), m("variable", "@\\{[\\w-]+\\}"), m("built_in", "~?`[^`]*?`"), {
|
|
3669
3716
|
className: "attribute",
|
|
3670
3717
|
begin: "[\\w-]+\\s*:",
|
|
3671
3718
|
end: ":",
|
|
@@ -3681,7 +3728,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3681
3728
|
endsWithParent: !0,
|
|
3682
3729
|
contains: [{ beginKeywords: "and not" }].concat(f)
|
|
3683
3730
|
}, y = {
|
|
3684
|
-
begin: "
|
|
3731
|
+
begin: i + "\\s*:",
|
|
3685
3732
|
returnBegin: !0,
|
|
3686
3733
|
end: /[;}]/,
|
|
3687
3734
|
relevance: 0,
|
|
@@ -3745,8 +3792,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3745
3792
|
},
|
|
3746
3793
|
t.CSS_NUMBER_MODE,
|
|
3747
3794
|
m("selector-tag", i, 0),
|
|
3748
|
-
m("selector-id", "#
|
|
3749
|
-
m("selector-class", "\\.
|
|
3795
|
+
m("selector-id", "#" + i),
|
|
3796
|
+
m("selector-class", "\\." + i, 0),
|
|
3750
3797
|
m("selector-tag", "&", 0),
|
|
3751
3798
|
t.ATTRIBUTE_SELECTOR_MODE,
|
|
3752
3799
|
{
|
|
@@ -3795,7 +3842,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
3795
3842
|
keywords: {
|
|
3796
3843
|
$pattern: e.UNDERSCORE_IDENT_RE,
|
|
3797
3844
|
literal: "true false nil",
|
|
3798
|
-
keyword: "and break do else elseif end for goto if in local not or repeat return then until while",
|
|
3845
|
+
keyword: "and break do else elseif end for goto if in local global not or repeat return then until while",
|
|
3799
3846
|
built_in: "_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"
|
|
3800
3847
|
},
|
|
3801
3848
|
contains: i.concat([
|
|
@@ -4317,6 +4364,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4317
4364
|
o,
|
|
4318
4365
|
C,
|
|
4319
4366
|
e.C_BLOCK_COMMENT_MODE,
|
|
4367
|
+
e.C_LINE_COMMENT_MODE,
|
|
4368
|
+
e.HASH_COMMENT_MODE,
|
|
4320
4369
|
m,
|
|
4321
4370
|
h,
|
|
4322
4371
|
x
|
|
@@ -4338,6 +4387,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4338
4387
|
w,
|
|
4339
4388
|
C,
|
|
4340
4389
|
e.C_BLOCK_COMMENT_MODE,
|
|
4390
|
+
e.C_LINE_COMMENT_MODE,
|
|
4391
|
+
e.HASH_COMMENT_MODE,
|
|
4341
4392
|
m,
|
|
4342
4393
|
h,
|
|
4343
4394
|
x
|
|
@@ -4438,6 +4489,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4438
4489
|
o,
|
|
4439
4490
|
C,
|
|
4440
4491
|
e.C_BLOCK_COMMENT_MODE,
|
|
4492
|
+
e.C_LINE_COMMENT_MODE,
|
|
4493
|
+
e.HASH_COMMENT_MODE,
|
|
4441
4494
|
m,
|
|
4442
4495
|
h
|
|
4443
4496
|
]
|
|
@@ -4533,10 +4586,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4533
4586
|
t.exports = n;
|
|
4534
4587
|
})), P = /* @__PURE__ */ o(((e, t) => {
|
|
4535
4588
|
function n(e) {
|
|
4536
|
-
let t = e.regex, n = /[\p{XID_Start}_]\p{XID_Continue}*/u, r = /* @__PURE__ */ "and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield".split("."), i = {
|
|
4589
|
+
let t = e.regex, n = /[\p{XID_Start}_]\p{XID_Continue}*/u, r = /* @__PURE__ */ "and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.lazy.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield".split("."), i = {
|
|
4537
4590
|
$pattern: /[A-Za-z]\w+|__\w+__/,
|
|
4538
4591
|
keyword: r,
|
|
4539
|
-
built_in: /* @__PURE__ */ "__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip".split("."),
|
|
4592
|
+
built_in: /* @__PURE__ */ "__import__.abs.aiter.all.anext.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozendict.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.sentinel.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip".split("."),
|
|
4540
4593
|
literal: [
|
|
4541
4594
|
"__debug__",
|
|
4542
4595
|
"Ellipsis",
|
|
@@ -4589,7 +4642,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4589
4642
|
relevance: 10
|
|
4590
4643
|
},
|
|
4591
4644
|
{
|
|
4592
|
-
begin: /([
|
|
4645
|
+
begin: /([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,
|
|
4593
4646
|
end: /'''/,
|
|
4594
4647
|
contains: [
|
|
4595
4648
|
e.BACKSLASH_ESCAPE,
|
|
@@ -4599,7 +4652,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4599
4652
|
]
|
|
4600
4653
|
},
|
|
4601
4654
|
{
|
|
4602
|
-
begin: /([
|
|
4655
|
+
begin: /([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,
|
|
4603
4656
|
end: /"""/,
|
|
4604
4657
|
contains: [
|
|
4605
4658
|
e.BACKSLASH_ESCAPE,
|
|
@@ -4627,7 +4680,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4627
4680
|
end: /"/
|
|
4628
4681
|
},
|
|
4629
4682
|
{
|
|
4630
|
-
begin: /([
|
|
4683
|
+
begin: /([fFtT][rR]|[rR][fFtT]|[fFtT])'/,
|
|
4631
4684
|
end: /'/,
|
|
4632
4685
|
contains: [
|
|
4633
4686
|
e.BACKSLASH_ESCAPE,
|
|
@@ -4636,7 +4689,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4636
4689
|
]
|
|
4637
4690
|
},
|
|
4638
4691
|
{
|
|
4639
|
-
begin: /([
|
|
4692
|
+
begin: /([fFtT][rR]|[rR][fFtT]|[fFtT])"/,
|
|
4640
4693
|
end: /"/,
|
|
4641
4694
|
contains: [
|
|
4642
4695
|
e.BACKSLASH_ESCAPE,
|
|
@@ -4928,17 +4981,17 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4928
4981
|
})), L = /* @__PURE__ */ o(((e, t) => {
|
|
4929
4982
|
function n(e) {
|
|
4930
4983
|
let t = e.regex, n = /(r#)?/, r = t.concat(n, e.UNDERSCORE_IDENT_RE), i = t.concat(n, e.IDENT_RE), a = {
|
|
4931
|
-
|
|
4984
|
+
scope: "title.function.invoke",
|
|
4932
4985
|
relevance: 0,
|
|
4933
|
-
begin: t.concat(/\b/, /(?!let|for|while|if|else|match\b)/, i, t.lookahead(/\s*\(/))
|
|
4934
|
-
}, o = /* @__PURE__ */ "abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield".split("."),
|
|
4986
|
+
begin: t.concat(/\b/, /(?!(?:let|for|while|if|else|match)\b)/, i, t.lookahead(/\s*\(/))
|
|
4987
|
+
}, o = "([ui](8|16|32|64|128|size)|f(16|32|64|128))?", s = /* @__PURE__ */ "abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.raw.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield".split("."), c = [
|
|
4935
4988
|
"true",
|
|
4936
4989
|
"false",
|
|
4937
4990
|
"Some",
|
|
4938
4991
|
"None",
|
|
4939
4992
|
"Ok",
|
|
4940
4993
|
"Err"
|
|
4941
|
-
],
|
|
4994
|
+
], l = /* @__PURE__ */ "drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!".split("."), u = [
|
|
4942
4995
|
"i8",
|
|
4943
4996
|
"i16",
|
|
4944
4997
|
"i32",
|
|
@@ -4951,8 +5004,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4951
5004
|
"u64",
|
|
4952
5005
|
"u128",
|
|
4953
5006
|
"usize",
|
|
5007
|
+
"f16",
|
|
4954
5008
|
"f32",
|
|
4955
5009
|
"f64",
|
|
5010
|
+
"f128",
|
|
4956
5011
|
"str",
|
|
4957
5012
|
"char",
|
|
4958
5013
|
"bool",
|
|
@@ -4967,10 +5022,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4967
5022
|
aliases: ["rs"],
|
|
4968
5023
|
keywords: {
|
|
4969
5024
|
$pattern: e.IDENT_RE + "!?",
|
|
4970
|
-
type:
|
|
4971
|
-
keyword:
|
|
4972
|
-
literal:
|
|
4973
|
-
built_in:
|
|
5025
|
+
type: u,
|
|
5026
|
+
keyword: s,
|
|
5027
|
+
literal: c,
|
|
5028
|
+
built_in: l
|
|
4974
5029
|
},
|
|
4975
5030
|
illegal: "</",
|
|
4976
5031
|
contains: [
|
|
@@ -4981,7 +5036,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4981
5036
|
illegal: null
|
|
4982
5037
|
}),
|
|
4983
5038
|
{
|
|
4984
|
-
|
|
5039
|
+
scope: "symbol",
|
|
4985
5040
|
begin: /'[a-zA-Z_][a-zA-Z0-9_]*(?!')/
|
|
4986
5041
|
},
|
|
4987
5042
|
{
|
|
@@ -4991,37 +5046,48 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
4991
5046
|
end: /'/,
|
|
4992
5047
|
contains: [{
|
|
4993
5048
|
scope: "char.escape",
|
|
4994
|
-
match: /\\('
|
|
5049
|
+
match: /\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/
|
|
4995
5050
|
}]
|
|
4996
5051
|
}]
|
|
4997
5052
|
},
|
|
4998
5053
|
{
|
|
4999
|
-
|
|
5054
|
+
scope: "number",
|
|
5000
5055
|
variants: [
|
|
5001
|
-
{ begin: "\\b0b([01_]+)
|
|
5002
|
-
{ begin: "\\b0o([0-7_]+)
|
|
5003
|
-
{ begin: "\\b0x([A-Fa-f0-9_]+)
|
|
5004
|
-
{ begin: "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)
|
|
5056
|
+
{ begin: "\\b0b([01_]+)" + o },
|
|
5057
|
+
{ begin: "\\b0o([0-7_]+)" + o },
|
|
5058
|
+
{ begin: "\\b0x([A-Fa-f0-9_]+)" + o },
|
|
5059
|
+
{ begin: "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)" + o }
|
|
5005
5060
|
],
|
|
5006
5061
|
relevance: 0
|
|
5007
5062
|
},
|
|
5063
|
+
{
|
|
5064
|
+
begin: [
|
|
5065
|
+
/\bsafe/,
|
|
5066
|
+
/\s+/,
|
|
5067
|
+
/extern/
|
|
5068
|
+
],
|
|
5069
|
+
scope: {
|
|
5070
|
+
1: "keyword",
|
|
5071
|
+
3: "keyword"
|
|
5072
|
+
}
|
|
5073
|
+
},
|
|
5008
5074
|
{
|
|
5009
5075
|
begin: [
|
|
5010
5076
|
/fn/,
|
|
5011
5077
|
/\s+/,
|
|
5012
5078
|
r
|
|
5013
5079
|
],
|
|
5014
|
-
|
|
5080
|
+
scope: {
|
|
5015
5081
|
1: "keyword",
|
|
5016
5082
|
3: "title.function"
|
|
5017
5083
|
}
|
|
5018
5084
|
},
|
|
5019
5085
|
{
|
|
5020
|
-
|
|
5086
|
+
scope: "meta",
|
|
5021
5087
|
begin: "#!?\\[",
|
|
5022
5088
|
end: "\\]",
|
|
5023
5089
|
contains: [{
|
|
5024
|
-
|
|
5090
|
+
scope: "string",
|
|
5025
5091
|
begin: /"/,
|
|
5026
5092
|
end: /"/,
|
|
5027
5093
|
contains: [e.BACKSLASH_ESCAPE]
|
|
@@ -5034,7 +5100,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5034
5100
|
/(?:mut\s+)?/,
|
|
5035
5101
|
r
|
|
5036
5102
|
],
|
|
5037
|
-
|
|
5103
|
+
scope: {
|
|
5038
5104
|
1: "keyword",
|
|
5039
5105
|
3: "keyword",
|
|
5040
5106
|
4: "variable"
|
|
@@ -5048,7 +5114,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5048
5114
|
/\s+/,
|
|
5049
5115
|
/in/
|
|
5050
5116
|
],
|
|
5051
|
-
|
|
5117
|
+
scope: {
|
|
5052
5118
|
1: "keyword",
|
|
5053
5119
|
3: "variable",
|
|
5054
5120
|
5: "keyword"
|
|
@@ -5060,7 +5126,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5060
5126
|
/\s+/,
|
|
5061
5127
|
r
|
|
5062
5128
|
],
|
|
5063
|
-
|
|
5129
|
+
scope: {
|
|
5064
5130
|
1: "keyword",
|
|
5065
5131
|
3: "title.class"
|
|
5066
5132
|
}
|
|
@@ -5071,7 +5137,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5071
5137
|
/\s+/,
|
|
5072
5138
|
r
|
|
5073
5139
|
],
|
|
5074
|
-
|
|
5140
|
+
scope: {
|
|
5075
5141
|
1: "keyword",
|
|
5076
5142
|
3: "title.class"
|
|
5077
5143
|
}
|
|
@@ -5080,12 +5146,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5080
5146
|
begin: e.IDENT_RE + "::",
|
|
5081
5147
|
keywords: {
|
|
5082
5148
|
keyword: "Self",
|
|
5083
|
-
built_in:
|
|
5084
|
-
type:
|
|
5149
|
+
built_in: l,
|
|
5150
|
+
type: u
|
|
5085
5151
|
}
|
|
5086
5152
|
},
|
|
5087
5153
|
{
|
|
5088
|
-
|
|
5154
|
+
scope: "punctuation",
|
|
5089
5155
|
begin: "->"
|
|
5090
5156
|
},
|
|
5091
5157
|
a
|
|
@@ -5104,6 +5170,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5104
5170
|
scope: "number",
|
|
5105
5171
|
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
5106
5172
|
},
|
|
5173
|
+
UNICODE_RANGE: {
|
|
5174
|
+
scope: "number",
|
|
5175
|
+
begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/
|
|
5176
|
+
},
|
|
5107
5177
|
FUNCTION_DISPATCH: {
|
|
5108
5178
|
className: "built_in",
|
|
5109
5179
|
begin: /[\w-]+(?=\()/
|
|
@@ -5139,7 +5209,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5139
5209
|
"selection",
|
|
5140
5210
|
"slotted",
|
|
5141
5211
|
"spelling-error"
|
|
5142
|
-
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
|
|
5212
|
+
].sort().reverse(), l = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
|
|
5143
5213
|
function u(e) {
|
|
5144
5214
|
let t = n(e), r = c, i = s, u = "@[a-z-]+", d = {
|
|
5145
5215
|
className: "variable",
|
|
@@ -5199,6 +5269,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5199
5269
|
d,
|
|
5200
5270
|
t.HEXCOLOR,
|
|
5201
5271
|
t.CSS_NUMBER_MODE,
|
|
5272
|
+
t.UNICODE_RANGE,
|
|
5202
5273
|
e.QUOTE_STRING_MODE,
|
|
5203
5274
|
e.APOS_STRING_MODE,
|
|
5204
5275
|
t.IMPORTANT,
|
|
@@ -5249,7 +5320,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5249
5320
|
aliases: ["console", "shellsession"],
|
|
5250
5321
|
contains: [{
|
|
5251
5322
|
className: "meta.prompt",
|
|
5252
|
-
begin: /^\s{0,3}[
|
|
5323
|
+
begin: /^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,
|
|
5253
5324
|
starts: {
|
|
5254
5325
|
end: /[^\\](?=\s*$)/,
|
|
5255
5326
|
subLanguage: "bash"
|
|
@@ -5392,6 +5463,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5392
5463
|
function o(...e) {
|
|
5393
5464
|
return "(" + (a(e).capture ? "" : "?:") + e.map((e) => n(e)).join("|") + ")";
|
|
5394
5465
|
}
|
|
5466
|
+
new RegExp(o(/\[(?:[^\\\]]|\\.)*\]/, /\(\?<(?![=!])[^>]+>/, /\(\?'[^']+'/, /\(\??/, /\\([1-9][0-9]*)/, /\\./));
|
|
5395
5467
|
var s = (e) => i(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), c = ["Protocol", "Type"].map(s), l = ["init", "self"].map(s), u = ["Any", "Self"], d = [
|
|
5396
5468
|
"actor",
|
|
5397
5469
|
"any",
|
|
@@ -5950,14 +6022,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5950
6022
|
t.exports = T;
|
|
5951
6023
|
})), ee = /* @__PURE__ */ o(((e, t) => {
|
|
5952
6024
|
function n(e) {
|
|
5953
|
-
let t = "true false yes no null", n = {
|
|
6025
|
+
let t = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = {
|
|
5954
6026
|
className: "attr",
|
|
5955
6027
|
variants: [
|
|
5956
6028
|
{ begin: /[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/ },
|
|
5957
6029
|
{ begin: /"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/ },
|
|
5958
6030
|
{ begin: /'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/ }
|
|
5959
6031
|
]
|
|
5960
|
-
},
|
|
6032
|
+
}, i = {
|
|
5961
6033
|
className: "template-variable",
|
|
5962
6034
|
variants: [{
|
|
5963
6035
|
begin: /\{\{/,
|
|
@@ -5966,7 +6038,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5966
6038
|
begin: /%\{/,
|
|
5967
6039
|
end: /\}/
|
|
5968
6040
|
}]
|
|
5969
|
-
},
|
|
6041
|
+
}, a = {
|
|
5970
6042
|
className: "string",
|
|
5971
6043
|
relevance: 0,
|
|
5972
6044
|
begin: /'/,
|
|
@@ -5976,15 +6048,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5976
6048
|
scope: "char.escape",
|
|
5977
6049
|
relevance: 0
|
|
5978
6050
|
}]
|
|
5979
|
-
},
|
|
6051
|
+
}, o = {
|
|
5980
6052
|
className: "string",
|
|
5981
6053
|
relevance: 0,
|
|
5982
6054
|
variants: [{
|
|
5983
6055
|
begin: /"/,
|
|
5984
6056
|
end: /"/
|
|
5985
6057
|
}, { begin: /\S+/ }],
|
|
5986
|
-
contains: [e.BACKSLASH_ESCAPE,
|
|
5987
|
-
},
|
|
6058
|
+
contains: [e.BACKSLASH_ESCAPE, i]
|
|
6059
|
+
}, s = e.inherit(o, { variants: [
|
|
5988
6060
|
{
|
|
5989
6061
|
begin: /'/,
|
|
5990
6062
|
end: /'/,
|
|
@@ -5998,29 +6070,29 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
5998
6070
|
end: /"/
|
|
5999
6071
|
},
|
|
6000
6072
|
{ begin: /[^\s,{}[\]]+/ }
|
|
6001
|
-
] }),
|
|
6073
|
+
] }), c = {
|
|
6002
6074
|
className: "number",
|
|
6003
6075
|
begin: "\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"
|
|
6004
|
-
},
|
|
6076
|
+
}, l = {
|
|
6005
6077
|
end: ",",
|
|
6006
6078
|
endsWithParent: !0,
|
|
6007
6079
|
excludeEnd: !0,
|
|
6008
6080
|
keywords: t,
|
|
6009
6081
|
relevance: 0
|
|
6010
|
-
},
|
|
6082
|
+
}, u = {
|
|
6011
6083
|
begin: /\{/,
|
|
6012
6084
|
end: /\}/,
|
|
6013
|
-
contains: [
|
|
6085
|
+
contains: [l],
|
|
6014
6086
|
illegal: "\\n",
|
|
6015
6087
|
relevance: 0
|
|
6016
|
-
},
|
|
6088
|
+
}, d = {
|
|
6017
6089
|
begin: "\\[",
|
|
6018
6090
|
end: "\\]",
|
|
6019
|
-
contains: [
|
|
6091
|
+
contains: [l],
|
|
6020
6092
|
illegal: "\\n",
|
|
6021
6093
|
relevance: 0
|
|
6022
|
-
},
|
|
6023
|
-
|
|
6094
|
+
}, f = [
|
|
6095
|
+
r,
|
|
6024
6096
|
{
|
|
6025
6097
|
className: "meta",
|
|
6026
6098
|
begin: "^---\\s*$",
|
|
@@ -6040,19 +6112,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6040
6112
|
},
|
|
6041
6113
|
{
|
|
6042
6114
|
className: "type",
|
|
6043
|
-
begin: "!\\w+!
|
|
6115
|
+
begin: "!\\w+!" + n
|
|
6044
6116
|
},
|
|
6045
6117
|
{
|
|
6046
6118
|
className: "type",
|
|
6047
|
-
begin: "!<
|
|
6119
|
+
begin: "!<" + n + ">"
|
|
6048
6120
|
},
|
|
6049
6121
|
{
|
|
6050
6122
|
className: "type",
|
|
6051
|
-
begin: "!
|
|
6123
|
+
begin: "!" + n
|
|
6052
6124
|
},
|
|
6053
6125
|
{
|
|
6054
6126
|
className: "type",
|
|
6055
|
-
begin: "!!
|
|
6127
|
+
begin: "!!" + n
|
|
6056
6128
|
},
|
|
6057
6129
|
{
|
|
6058
6130
|
className: "meta",
|
|
@@ -6072,22 +6144,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6072
6144
|
beginKeywords: t,
|
|
6073
6145
|
keywords: { literal: t }
|
|
6074
6146
|
},
|
|
6075
|
-
|
|
6147
|
+
c,
|
|
6076
6148
|
{
|
|
6077
6149
|
className: "number",
|
|
6078
6150
|
begin: e.C_NUMBER_RE + "\\b",
|
|
6079
6151
|
relevance: 0
|
|
6080
6152
|
},
|
|
6081
|
-
l,
|
|
6082
6153
|
u,
|
|
6083
|
-
|
|
6084
|
-
a
|
|
6085
|
-
|
|
6086
|
-
|
|
6154
|
+
d,
|
|
6155
|
+
a,
|
|
6156
|
+
o
|
|
6157
|
+
], p = [...f];
|
|
6158
|
+
return p.pop(), p.push(s), l.contains = p, {
|
|
6087
6159
|
name: "YAML",
|
|
6088
6160
|
case_insensitive: !0,
|
|
6089
6161
|
aliases: ["yml"],
|
|
6090
|
-
contains:
|
|
6162
|
+
contains: f
|
|
6091
6163
|
};
|
|
6092
6164
|
}
|
|
6093
6165
|
t.exports = n;
|
|
@@ -6136,6 +6208,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6136
6208
|
"localStorage",
|
|
6137
6209
|
"sessionStorage",
|
|
6138
6210
|
"module",
|
|
6211
|
+
"self",
|
|
6139
6212
|
"global"
|
|
6140
6213
|
], l = [].concat(s, a, o);
|
|
6141
6214
|
function u(e) {
|
|
@@ -6244,7 +6317,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6244
6317
|
},
|
|
6245
6318
|
{
|
|
6246
6319
|
className: "variable",
|
|
6247
|
-
begin: "
|
|
6320
|
+
begin: d + "(?=\\s*(-)|$)",
|
|
6248
6321
|
endsParent: !0,
|
|
6249
6322
|
relevance: 0
|
|
6250
6323
|
},
|
|
@@ -6349,7 +6422,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6349
6422
|
match: t.concat(/\b/, F([
|
|
6350
6423
|
...s,
|
|
6351
6424
|
"super",
|
|
6352
|
-
"import"
|
|
6425
|
+
"import",
|
|
6426
|
+
"await"
|
|
6353
6427
|
].map((e) => `${e}\\s*\\(`)), d, t.lookahead(/\s*\(/)),
|
|
6354
6428
|
className: "title.function",
|
|
6355
6429
|
relevance: 0
|
|
@@ -6402,7 +6476,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6402
6476
|
PARAMS_CONTAINS: O,
|
|
6403
6477
|
CLASS_REFERENCE: j
|
|
6404
6478
|
},
|
|
6405
|
-
illegal: /#(?![$_A-z])/,
|
|
6479
|
+
illegal: /#(?![$_A-Za-z])/,
|
|
6406
6480
|
contains: [
|
|
6407
6481
|
e.SHEBANG({
|
|
6408
6482
|
label: "shebang",
|
|
@@ -6509,7 +6583,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6509
6583
|
},
|
|
6510
6584
|
L,
|
|
6511
6585
|
{
|
|
6512
|
-
match: "\\$
|
|
6586
|
+
match: "\\$" + d,
|
|
6513
6587
|
relevance: 0
|
|
6514
6588
|
},
|
|
6515
6589
|
{
|
|
@@ -6581,7 +6655,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6581
6655
|
"variable.language": c
|
|
6582
6656
|
}, h = {
|
|
6583
6657
|
className: "meta",
|
|
6584
|
-
begin: "@
|
|
6658
|
+
begin: "@" + o
|
|
6585
6659
|
}, g = (e, t, n) => {
|
|
6586
6660
|
let r = e.contains.findIndex((e) => e.label === t);
|
|
6587
6661
|
if (r === -1) throw Error("can not find mode to replace");
|
|
@@ -6748,4 +6822,4 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
6748
6822
|
//#endregion
|
|
6749
6823
|
export { G as default };
|
|
6750
6824
|
|
|
6751
|
-
//# sourceMappingURL=common-
|
|
6825
|
+
//# sourceMappingURL=common-0dgrgaPL.js.map
|