PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.3.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.3.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
darkify / src / Admin / Framework / assets / js / css.js

css.js in Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) 1.3.2, at src/Admin/Framework/assets/js/css.js

1,579 lines 49.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 !(function (e) {
2 "object" == typeof exports && "object" == typeof module ? e(require("../../lib/codemirror")) : "function" == typeof define && define.amd ? define(["../../lib/codemirror"], e) : e(CodeMirror);
3 })(function (e) {
4 "use strict";
5 function t(e) {
6 for (var t = {}, r = 0; r < e.length; ++r) t[e[r].toLowerCase()] = !0;
7 return t;
8 }
9 e.defineMode("css", function (t, r) {
10 var o,
11 i,
12 a = r.inline;
13 r.propertyKeywords || (r = e.resolveMode("text/css"));
14 var n = t.indentUnit,
15 l = r.tokenHooks,
16 s = r.documentTypes || {},
17 c = r.mediaTypes || {},
18 d = r.mediaFeatures || {},
19 p = r.mediaValueKeywords || {},
20 u = r.propertyKeywords || {},
21 m = r.nonStandardPropertyKeywords || {},
22 g = r.fontProperties || {},
23 b = r.counterDescriptors || {},
24 h = r.colorKeywords || {},
25 f = r.valueKeywords || {},
26 k = r.allowNested,
27 y = r.lineComment,
28 w = !0 === r.supportsAtComponent,
29 v = !1 !== t.highlightNonStandardPropertyKeywords;
30 function x(e, t) {
31 return (o = t), e;
32 }
33 function z(e, t) {
34 var r,
35 i,
36 a = e.next();
37 if (l[a]) {
38 var n = l[a](e, t);
39 if (!1 !== n) return n;
40 }
41 if ("@" == a) {
42 return e.eatWhile(/[\w\\\-]/), (o = r = e.current()), "def";
43 }
44 if ("=" == a || (("~" == a || "|" == a) && e.eat("="))) return (o = "compare"), null;
45 if ('"' == a || "'" == a) return (t.tokenize = j(a)), t.tokenize(e, t);
46 if ("#" == a) return e.eatWhile(/[\w\\\-]/), (o = "hash"), "atom";
47 if ("!" == a) return e.match(/^\s*\w*/), (o = "important"), "keyword";
48 else if (/\d/.test(a) || ("." == a && e.eat(/\d/))) return e.eatWhile(/[\w.%]/), (o = "unit"), "number";
49 else if ("-" === a) {
50 if (/[\d.]/.test(e.peek())) return e.eatWhile(/[\w.%]/), (o = "unit"), "number";
51 if (e.match(/^-[\w\\\-]*/)) return (e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1)) ? ((o = "variable-definition"), "variable-2") : ((o = "variable"), "variable-2");
52 if (e.match(/^\w+-/)) return (o = "meta"), "meta";
53 } else if (/[,+>*\/]/.test(a)) return (o = "select-op"), null;
54 else if ("." == a && e.match(/^-?[_a-z][_a-z0-9-]*/i)) return (o = "qualifier"), "qualifier";
55 else if (/[:;{}\[\]\(\)]/.test(a)) {
56 return (o = i = a), null;
57 } else if (e.match(/^[\w-.]+(?=\()/)) return /^(url(-prefix)?|domain|regexp)$/i.test(e.current()) && (t.tokenize = P), (o = "variable"), "variable callee";
58 else if (!/[\w\\\-]/.test(a)) return (o = null), null;
59 else return e.eatWhile(/[\w\\\-]/), (o = "word"), "property";
60 }
61 function j(e) {
62 return function (t, r) {
63 for (var i, a = !1; null != (i = t.next()); ) {
64 if (i == e && !a) {
65 ")" == e && t.backUp(1);
66 break;
67 }
68 a = !a && "\\" == i;
69 }
70 return (i != e && (a || ")" == e)) || (r.tokenize = null), (o = "string"), "string";
71 };
72 }
73 function P(e, t) {
74 return e.next(), e.match(/^\s*[\"\')]/, !1) ? (t.tokenize = null) : (t.tokenize = j(")")), (o = "("), null;
75 }
76 function K(e, t, r) {
77 (this.type = e), (this.indent = t), (this.prev = r);
78 }
79 function q(e, t, r, o) {
80 return (e.context = new K(r, t.indentation() + (!1 === o ? 0 : n), e.context)), r;
81 }
82 function B(e) {
83 return e.context.prev && (e.context = e.context.prev), e.context.type;
84 }
85 function C(e, t, r) {
86 return T[r.context.type](e, t, r);
87 }
88 function $(e, t, r, o) {
89 for (var i = o || 1; i > 0; i--) r.context = r.context.prev;
90 return C(e, t, r);
91 }
92 function _(e) {
93 var t = e.current().toLowerCase();
94 i = f.hasOwnProperty(t) ? "atom" : h.hasOwnProperty(t) ? "keyword" : "variable";
95 }
96 var T = {};
97 return (
98 (T.top = function (e, t, r) {
99 if ("{" == e) return q(r, t, "block");
100 if ("}" == e && r.context.prev) return B(r);
101 if (w && /@component/i.test(e)) return q(r, t, "atComponentBlock");
102 if (/^@(-moz-)?document$/i.test(e)) return q(r, t, "documentTypes");
103 if (/^@(media|supports|(-moz-)?document|import)$/i.test(e)) return q(r, t, "atBlock");
104 else if (/^@(font-face|counter-style)/i.test(e)) return (r.stateArg = e), "restricted_atBlock_before";
105 else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e)) return "keyframes";
106 else if (e && "@" == e.charAt(0)) return q(r, t, "at");
107 else if ("hash" == e) i = "builtin";
108 else if ("word" == e) i = "tag";
109 else if ("variable-definition" == e) return "maybeprop";
110 else if ("interpolation" == e) return q(r, t, "interpolation");
111 else if (":" == e) return "pseudo";
112 else if (k && "(" == e) return q(r, t, "parens");
113 return r.context.type;
114 }),
115 (T.block = function (e, t, r) {
116 if ("word" == e) {
117 var o = t.current().toLowerCase();
118 return u.hasOwnProperty(o)
119 ? ((i = "property"), "maybeprop")
120 : m.hasOwnProperty(o)
121 ? ((i = v ? "string-2" : "property"), "maybeprop")
122 : k
123 ? ((i = t.match(/^\s*:(?:\s|$)/, !1) ? "property" : "tag"), "block")
124 : ((i += " error"), "maybeprop");
125 }
126 return "meta" == e ? "block" : k || ("hash" != e && "qualifier" != e) ? T.top(e, t, r) : ((i = "error"), "block");
127 }),
128 (T.maybeprop = function (e, t, r) {
129 return ":" == e ? q(r, t, "prop") : C(e, t, r);
130 }),
131 (T.prop = function (e, t, r) {
132 if (";" == e) return B(r);
133 if ("{" == e && k) return q(r, t, "propBlock");
134 if ("}" == e || "{" == e) return $(e, t, r);
135 if ("(" == e) return q(r, t, "parens");
136 if ("hash" != e || /^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())) {
137 if ("word" == e) _(t);
138 else if ("interpolation" == e) return q(r, t, "interpolation");
139 } else i += " error";
140 return "prop";
141 }),
142 (T.propBlock = function (e, t, r) {
143 return "}" == e ? B(r) : "word" == e ? ((i = "property"), "maybeprop") : r.context.type;
144 }),
145 (T.parens = function (e, t, r) {
146 return "{" == e || "}" == e ? $(e, t, r) : ")" == e ? B(r) : "(" == e ? q(r, t, "parens") : "interpolation" == e ? q(r, t, "interpolation") : ("word" == e && _(t), "parens");
147 }),
148 (T.pseudo = function (e, t, r) {
149 return "meta" == e ? "pseudo" : "word" == e ? ((i = "variable-3"), r.context.type) : C(e, t, r);
150 }),
151 (T.documentTypes = function (e, t, r) {
152 return "word" == e && s.hasOwnProperty(t.current()) ? ((i = "tag"), r.context.type) : T.atBlock(e, t, r);
153 }),
154 (T.atBlock = function (e, t, r) {
155 if ("(" == e) return q(r, t, "atBlock_parens");
156 if ("}" == e || ";" == e) return $(e, t, r);
157 if ("{" == e) return B(r) && q(r, t, k ? "block" : "top");
158 if ("interpolation" == e) return q(r, t, "interpolation");
159 if ("word" == e) {
160 var o = t.current().toLowerCase();
161 i =
162 "only" == o || "not" == o || "and" == o || "or" == o
163 ? "keyword"
164 : c.hasOwnProperty(o)
165 ? "attribute"
166 : d.hasOwnProperty(o)
167 ? "property"
168 : p.hasOwnProperty(o)
169 ? "keyword"
170 : u.hasOwnProperty(o)
171 ? "property"
172 : m.hasOwnProperty(o)
173 ? v
174 ? "string-2"
175 : "property"
176 : f.hasOwnProperty(o)
177 ? "atom"
178 : h.hasOwnProperty(o)
179 ? "keyword"
180 : "error";
181 }
182 return r.context.type;
183 }),
184 (T.atComponentBlock = function (e, t, r) {
185 return "}" == e ? $(e, t, r) : "{" == e ? B(r) && q(r, t, k ? "block" : "top", !1) : ("word" == e && (i = "error"), r.context.type);
186 }),
187 (T.atBlock_parens = function (e, t, r) {
188 return ")" == e ? B(r) : "{" == e || "}" == e ? $(e, t, r, 2) : T.atBlock(e, t, r);
189 }),
190 (T.restricted_atBlock_before = function (e, t, r) {
191 return "{" == e ? q(r, t, "restricted_atBlock") : "word" == e && "@counter-style" == r.stateArg ? ((i = "variable"), "restricted_atBlock_before") : C(e, t, r);
192 }),
193 (T.restricted_atBlock = function (e, t, r) {
194 return "}" == e
195 ? ((r.stateArg = null), B(r))
196 : "word" == e
197 ? ((i = ("@font-face" != r.stateArg || g.hasOwnProperty(t.current().toLowerCase())) && ("@counter-style" != r.stateArg || b.hasOwnProperty(t.current().toLowerCase())) ? "property" : "error"), "maybeprop")
198 : "restricted_atBlock";
199 }),
200 (T.keyframes = function (e, t, r) {
201 return "word" == e ? ((i = "variable"), "keyframes") : "{" == e ? q(r, t, "top") : C(e, t, r);
202 }),
203 (T.at = function (e, t, r) {
204 return ";" == e ? B(r) : "{" == e || "}" == e ? $(e, t, r) : ("word" == e ? (i = "tag") : "hash" == e && (i = "builtin"), "at");
205 }),
206 (T.interpolation = function (e, t, r) {
207 return "}" == e ? B(r) : "{" == e || ";" == e ? $(e, t, r) : ("word" == e ? (i = "variable") : "variable" != e && "(" != e && ")" != e && (i = "error"), "interpolation");
208 }),
209 {
210 startState: function (e) {
211 return { tokenize: null, state: a ? "block" : "top", stateArg: null, context: new K(a ? "block" : "top", e || 0, null) };
212 },
213 token: function (e, t) {
214 if (!t.tokenize && e.eatSpace()) return null;
215 var r = (t.tokenize || z)(e, t);
216 return r && "object" == typeof r && ((o = r[1]), (r = r[0])), (i = r), "comment" != o && (t.state = T[t.state](o, e, t)), i;
217 },
218 indent: function (e, t) {
219 var r = e.context,
220 o = t && t.charAt(0),
221 i = r.indent;
222 return (
223 "prop" == r.type && ("}" == o || ")" == o) && (r = r.prev),
224 r.prev &&
225 ("}" == o && ("block" == r.type || "top" == r.type || "interpolation" == r.type || "restricted_atBlock" == r.type)
226 ? (i = (r = r.prev).indent)
227 : ((")" == o && ("parens" == r.type || "atBlock_parens" == r.type)) || ("{" == o && ("at" == r.type || "atBlock" == r.type))) && (i = Math.max(0, r.indent - n))),
228 i
229 );
230 },
231 electricChars: "}",
232 blockCommentStart: "/*",
233 blockCommentEnd: "*/",
234 blockCommentContinue: " * ",
235 lineComment: y,
236 fold: "brace",
237 }
238 );
239 });
240 var r = ["domain", "regexp", "url", "url-prefix"],
241 o = t(r),
242 i = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"],
243 a = t(i),
244 n = [
245 "width",
246 "min-width",
247 "max-width",
248 "height",
249 "min-height",
250 "max-height",
251 "device-width",
252 "min-device-width",
253 "max-device-width",
254 "device-height",
255 "min-device-height",
256 "max-device-height",
257 "aspect-ratio",
258 "min-aspect-ratio",
259 "max-aspect-ratio",
260 "device-aspect-ratio",
261 "min-device-aspect-ratio",
262 "max-device-aspect-ratio",
263 "color",
264 "min-color",
265 "max-color",
266 "color-index",
267 "min-color-index",
268 "max-color-index",
269 "monochrome",
270 "min-monochrome",
271 "max-monochrome",
272 "resolution",
273 "min-resolution",
274 "max-resolution",
275 "scan",
276 "grid",
277 "orientation",
278 "device-pixel-ratio",
279 "min-device-pixel-ratio",
280 "max-device-pixel-ratio",
281 "pointer",
282 "any-pointer",
283 "hover",
284 "any-hover",
285 "prefers-color-scheme",
286 "dynamic-range",
287 "video-dynamic-range",
288 ],
289 l = t(n),
290 s = ["landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover", "interlace", "progressive", "dark", "light", "standard", "high"],
291 c = t(s),
292 d = [
293 "align-content",
294 "align-items",
295 "align-self",
296 "alignment-adjust",
297 "alignment-baseline",
298 "all",
299 "anchor-point",
300 "animation",
301 "animation-delay",
302 "animation-direction",
303 "animation-duration",
304 "animation-fill-mode",
305 "animation-iteration-count",
306 "animation-name",
307 "animation-play-state",
308 "animation-timing-function",
309 "appearance",
310 "azimuth",
311 "backdrop-filter",
312 "backface-visibility",
313 "background",
314 "background-attachment",
315 "background-blend-mode",
316 "background-clip",
317 "background-color",
318 "background-image",
319 "background-origin",
320 "background-position",
321 "background-position-x",
322 "background-position-y",
323 "background-repeat",
324 "background-size",
325 "baseline-shift",
326 "binding",
327 "bleed",
328 "block-size",
329 "bookmark-label",
330 "bookmark-level",
331 "bookmark-state",
332 "bookmark-target",
333 "border",
334 "border-bottom",
335 "border-bottom-color",
336 "border-bottom-left-radius",
337 "border-bottom-right-radius",
338 "border-bottom-style",
339 "border-bottom-width",
340 "border-collapse",
341 "border-color",
342 "border-image",
343 "border-image-outset",
344 "border-image-repeat",
345 "border-image-slice",
346 "border-image-source",
347 "border-image-width",
348 "border-left",
349 "border-left-color",
350 "border-left-style",
351 "border-left-width",
352 "border-radius",
353 "border-right",
354 "border-right-color",
355 "border-right-style",
356 "border-right-width",
357 "border-spacing",
358 "border-style",
359 "border-top",
360 "border-top-color",
361 "border-top-left-radius",
362 "border-top-right-radius",
363 "border-top-style",
364 "border-top-width",
365 "border-width",
366 "bottom",
367 "box-decoration-break",
368 "box-shadow",
369 "box-sizing",
370 "break-after",
371 "break-before",
372 "break-inside",
373 "caption-side",
374 "caret-color",
375 "clear",
376 "clip",
377 "color",
378 "color-profile",
379 "column-count",
380 "column-fill",
381 "column-gap",
382 "column-rule",
383 "column-rule-color",
384 "column-rule-style",
385 "column-rule-width",
386 "column-span",
387 "column-width",
388 "columns",
389 "contain",
390 "content",
391 "counter-increment",
392 "counter-reset",
393 "crop",
394 "cue",
395 "cue-after",
396 "cue-before",
397 "cursor",
398 "direction",
399 "display",
400 "dominant-baseline",
401 "drop-initial-after-adjust",
402 "drop-initial-after-align",
403 "drop-initial-before-adjust",
404 "drop-initial-before-align",
405 "drop-initial-size",
406 "drop-initial-value",
407 "elevation",
408 "empty-cells",
409 "fit",
410 "fit-content",
411 "fit-position",
412 "flex",
413 "flex-basis",
414 "flex-direction",
415 "flex-flow",
416 "flex-grow",
417 "flex-shrink",
418 "flex-wrap",
419 "float",
420 "float-offset",
421 "flow-from",
422 "flow-into",
423 "font",
424 "font-family",
425 "font-feature-settings",
426 "font-kerning",
427 "font-language-override",
428 "font-optical-sizing",
429 "font-size",
430 "font-size-adjust",
431 "font-stretch",
432 "font-style",
433 "font-synthesis",
434 "font-variant",
435 "font-variant-alternates",
436 "font-variant-caps",
437 "font-variant-east-asian",
438 "font-variant-ligatures",
439 "font-variant-numeric",
440 "font-variant-position",
441 "font-variation-settings",
442 "font-weight",
443 "gap",
444 "grid",
445 "grid-area",
446 "grid-auto-columns",
447 "grid-auto-flow",
448 "grid-auto-rows",
449 "grid-column",
450 "grid-column-end",
451 "grid-column-gap",
452 "grid-column-start",
453 "grid-gap",
454 "grid-row",
455 "grid-row-end",
456 "grid-row-gap",
457 "grid-row-start",
458 "grid-template",
459 "grid-template-areas",
460 "grid-template-columns",
461 "grid-template-rows",
462 "hanging-punctuation",
463 "height",
464 "hyphens",
465 "icon",
466 "image-orientation",
467 "image-rendering",
468 "image-resolution",
469 "inline-box-align",
470 "inset",
471 "inset-block",
472 "inset-block-end",
473 "inset-block-start",
474 "inset-inline",
475 "inset-inline-end",
476 "inset-inline-start",
477 "isolation",
478 "justify-content",
479 "justify-items",
480 "justify-self",
481 "left",
482 "letter-spacing",
483 "line-break",
484 "line-height",
485 "line-height-step",
486 "line-stacking",
487 "line-stacking-ruby",
488 "line-stacking-shift",
489 "line-stacking-strategy",
490 "list-style",
491 "list-style-image",
492 "list-style-position",
493 "list-style-type",
494 "margin",
495 "margin-bottom",
496 "margin-left",
497 "margin-right",
498 "margin-top",
499 "marks",
500 "marquee-direction",
501 "marquee-loop",
502 "marquee-play-count",
503 "marquee-speed",
504 "marquee-style",
505 "mask-clip",
506 "mask-composite",
507 "mask-image",
508 "mask-mode",
509 "mask-origin",
510 "mask-position",
511 "mask-repeat",
512 "mask-size",
513 "mask-type",
514 "max-block-size",
515 "max-height",
516 "max-inline-size",
517 "max-width",
518 "min-block-size",
519 "min-height",
520 "min-inline-size",
521 "min-width",
522 "mix-blend-mode",
523 "move-to",
524 "nav-down",
525 "nav-index",
526 "nav-left",
527 "nav-right",
528 "nav-up",
529 "object-fit",
530 "object-position",
531 "offset",
532 "offset-anchor",
533 "offset-distance",
534 "offset-path",
535 "offset-position",
536 "offset-rotate",
537 "opacity",
538 "order",
539 "orphans",
540 "outline",
541 "outline-color",
542 "outline-offset",
543 "outline-style",
544 "outline-width",
545 "overflow",
546 "overflow-style",
547 "overflow-wrap",
548 "overflow-x",
549 "overflow-y",
550 "padding",
551 "padding-bottom",
552 "padding-left",
553 "padding-right",
554 "padding-top",
555 "page",
556 "page-break-after",
557 "page-break-before",
558 "page-break-inside",
559 "page-policy",
560 "pause",
561 "pause-after",
562 "pause-before",
563 "perspective",
564 "perspective-origin",
565 "pitch",
566 "pitch-range",
567 "place-content",
568 "place-items",
569 "place-self",
570 "play-during",
571 "position",
572 "presentation-level",
573 "punctuation-trim",
574 "quotes",
575 "region-break-after",
576 "region-break-before",
577 "region-break-inside",
578 "region-fragment",
579 "rendering-intent",
580 "resize",
581 "rest",
582 "rest-after",
583 "rest-before",
584 "richness",
585 "right",
586 "rotate",
587 "rotation",
588 "rotation-point",
589 "row-gap",
590 "ruby-align",
591 "ruby-overhang",
592 "ruby-position",
593 "ruby-span",
594 "scale",
595 "scroll-behavior",
596 "scroll-margin",
597 "scroll-margin-block",
598 "scroll-margin-block-end",
599 "scroll-margin-block-start",
600 "scroll-margin-bottom",
601 "scroll-margin-inline",
602 "scroll-margin-inline-end",
603 "scroll-margin-inline-start",
604 "scroll-margin-left",
605 "scroll-margin-right",
606 "scroll-margin-top",
607 "scroll-padding",
608 "scroll-padding-block",
609 "scroll-padding-block-end",
610 "scroll-padding-block-start",
611 "scroll-padding-bottom",
612 "scroll-padding-inline",
613 "scroll-padding-inline-end",
614 "scroll-padding-inline-start",
615 "scroll-padding-left",
616 "scroll-padding-right",
617 "scroll-padding-top",
618 "scroll-snap-align",
619 "scroll-snap-type",
620 "shape-image-threshold",
621 "shape-inside",
622 "shape-margin",
623 "shape-outside",
624 "size",
625 "speak",
626 "speak-as",
627 "speak-header",
628 "speak-numeral",
629 "speak-punctuation",
630 "speech-rate",
631 "stress",
632 "string-set",
633 "tab-size",
634 "table-layout",
635 "target",
636 "target-name",
637 "target-new",
638 "target-position",
639 "text-align",
640 "text-align-last",
641 "text-combine-upright",
642 "text-decoration",
643 "text-decoration-color",
644 "text-decoration-line",
645 "text-decoration-skip",
646 "text-decoration-skip-ink",
647 "text-decoration-style",
648 "text-emphasis",
649 "text-emphasis-color",
650 "text-emphasis-position",
651 "text-emphasis-style",
652 "text-height",
653 "text-indent",
654 "text-justify",
655 "text-orientation",
656 "text-outline",
657 "text-overflow",
658 "text-rendering",
659 "text-shadow",
660 "text-size-adjust",
661 "text-space-collapse",
662 "text-transform",
663 "text-underline-position",
664 "text-wrap",
665 "top",
666 "touch-action",
667 "transform",
668 "transform-origin",
669 "transform-style",
670 "transition",
671 "transition-delay",
672 "transition-duration",
673 "transition-property",
674 "transition-timing-function",
675 "translate",
676 "unicode-bidi",
677 "user-select",
678 "vertical-align",
679 "visibility",
680 "voice-balance",
681 "voice-duration",
682 "voice-family",
683 "voice-pitch",
684 "voice-range",
685 "voice-rate",
686 "voice-stress",
687 "voice-volume",
688 "volume",
689 "white-space",
690 "widows",
691 "width",
692 "will-change",
693 "word-break",
694 "word-spacing",
695 "word-wrap",
696 "writing-mode",
697 "z-index",
698 "clip-path",
699 "clip-rule",
700 "mask",
701 "enable-background",
702 "filter",
703 "flood-color",
704 "flood-opacity",
705 "lighting-color",
706 "stop-color",
707 "stop-opacity",
708 "pointer-events",
709 "color-interpolation",
710 "color-interpolation-filters",
711 "color-rendering",
712 "fill",
713 "fill-opacity",
714 "fill-rule",
715 "image-rendering",
716 "marker",
717 "marker-end",
718 "marker-mid",
719 "marker-start",
720 "paint-order",
721 "shape-rendering",
722 "stroke",
723 "stroke-dasharray",
724 "stroke-dashoffset",
725 "stroke-linecap",
726 "stroke-linejoin",
727 "stroke-miterlimit",
728 "stroke-opacity",
729 "stroke-width",
730 "text-rendering",
731 "baseline-shift",
732 "dominant-baseline",
733 "glyph-orientation-horizontal",
734 "glyph-orientation-vertical",
735 "text-anchor",
736 "writing-mode",
737 ],
738 p = t(d),
739 u = [
740 "accent-color",
741 "aspect-ratio",
742 "border-block",
743 "border-block-color",
744 "border-block-end",
745 "border-block-end-color",
746 "border-block-end-style",
747 "border-block-end-width",
748 "border-block-start",
749 "border-block-start-color",
750 "border-block-start-style",
751 "border-block-start-width",
752 "border-block-style",
753 "border-block-width",
754 "border-inline",
755 "border-inline-color",
756 "border-inline-end",
757 "border-inline-end-color",
758 "border-inline-end-style",
759 "border-inline-end-width",
760 "border-inline-start",
761 "border-inline-start-color",
762 "border-inline-start-style",
763 "border-inline-start-width",
764 "border-inline-style",
765 "border-inline-width",
766 "content-visibility",
767 "margin-block",
768 "margin-block-end",
769 "margin-block-start",
770 "margin-inline",
771 "margin-inline-end",
772 "margin-inline-start",
773 "overflow-anchor",
774 "overscroll-behavior",
775 "padding-block",
776 "padding-block-end",
777 "padding-block-start",
778 "padding-inline",
779 "padding-inline-end",
780 "padding-inline-start",
781 "scroll-snap-stop",
782 "scrollbar-3d-light-color",
783 "scrollbar-arrow-color",
784 "scrollbar-base-color",
785 "scrollbar-dark-shadow-color",
786 "scrollbar-face-color",
787 "scrollbar-highlight-color",
788 "scrollbar-shadow-color",
789 "scrollbar-track-color",
790 "searchfield-cancel-button",
791 "searchfield-decoration",
792 "searchfield-results-button",
793 "searchfield-results-decoration",
794 "shape-inside",
795 "zoom",
796 ],
797 m = t(u),
798 g = t(["font-display", "font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"]),
799 b = t(["additive-symbols", "fallback", "negative", "pad", "prefix", "range", "speak-as", "suffix", "symbols", "system"]),
800 h = [
801 "aliceblue",
802 "antiquewhite",
803 "aqua",
804 "aquamarine",
805 "azure",
806 "beige",
807 "bisque",
808 "black",
809 "blanchedalmond",
810 "blue",
811 "blueviolet",
812 "brown",
813 "burlywood",
814 "cadetblue",
815 "chartreuse",
816 "chocolate",
817 "coral",
818 "cornflowerblue",
819 "cornsilk",
820 "crimson",
821 "cyan",
822 "darkblue",
823 "darkcyan",
824 "darkgoldenrod",
825 "darkgray",
826 "darkgreen",
827 "darkgrey",
828 "darkkhaki",
829 "darkmagenta",
830 "darkolivegreen",
831 "darkorange",
832 "darkorchid",
833 "darkred",
834 "darksalmon",
835 "darkseagreen",
836 "darkslateblue",
837 "darkslategray",
838 "darkslategrey",
839 "darkturquoise",
840 "darkviolet",
841 "deeppink",
842 "deepskyblue",
843 "dimgray",
844 "dimgrey",
845 "dodgerblue",
846 "firebrick",
847 "floralwhite",
848 "forestgreen",
849 "fuchsia",
850 "gainsboro",
851 "ghostwhite",
852 "gold",
853 "goldenrod",
854 "gray",
855 "grey",
856 "green",
857 "greenyellow",
858 "honeydew",
859 "hotpink",
860 "indianred",
861 "indigo",
862 "ivory",
863 "khaki",
864 "lavender",
865 "lavenderblush",
866 "lawngreen",
867 "lemonchiffon",
868 "lightblue",
869 "lightcoral",
870 "lightcyan",
871 "lightgoldenrodyellow",
872 "lightgray",
873 "lightgreen",
874 "lightgrey",
875 "lightpink",
876 "lightsalmon",
877 "lightseagreen",
878 "lightskyblue",
879 "lightslategray",
880 "lightslategrey",
881 "lightsteelblue",
882 "lightyellow",
883 "lime",
884 "limegreen",
885 "linen",
886 "magenta",
887 "maroon",
888 "mediumaquamarine",
889 "mediumblue",
890 "mediumorchid",
891 "mediumpurple",
892 "mediumseagreen",
893 "mediumslateblue",
894 "mediumspringgreen",
895 "mediumturquoise",
896 "mediumvioletred",
897 "midnightblue",
898 "mintcream",
899 "mistyrose",
900 "moccasin",
901 "navajowhite",
902 "navy",
903 "oldlace",
904 "olive",
905 "olivedrab",
906 "orange",
907 "orangered",
908 "orchid",
909 "palegoldenrod",
910 "palegreen",
911 "paleturquoise",
912 "palevioletred",
913 "papayawhip",
914 "peachpuff",
915 "peru",
916 "pink",
917 "plum",
918 "powderblue",
919 "purple",
920 "rebeccapurple",
921 "red",
922 "rosybrown",
923 "royalblue",
924 "saddlebrown",
925 "salmon",
926 "sandybrown",
927 "seagreen",
928 "seashell",
929 "sienna",
930 "silver",
931 "skyblue",
932 "slateblue",
933 "slategray",
934 "slategrey",
935 "snow",
936 "springgreen",
937 "steelblue",
938 "tan",
939 "teal",
940 "thistle",
941 "tomato",
942 "turquoise",
943 "violet",
944 "wheat",
945 "white",
946 "whitesmoke",
947 "yellow",
948 "yellowgreen",
949 ],
950 f = t(h),
951 k = [
952 "above",
953 "absolute",
954 "activeborder",
955 "additive",
956 "activecaption",
957 "afar",
958 "after-white-space",
959 "ahead",
960 "alias",
961 "all",
962 "all-scroll",
963 "alphabetic",
964 "alternate",
965 "always",
966 "amharic",
967 "amharic-abegede",
968 "antialiased",
969 "appworkspace",
970 "arabic-indic",
971 "armenian",
972 "asterisks",
973 "attr",
974 "auto",
975 "auto-flow",
976 "avoid",
977 "avoid-column",
978 "avoid-page",
979 "avoid-region",
980 "axis-pan",
981 "background",
982 "backwards",
983 "baseline",
984 "below",
985 "bidi-override",
986 "binary",
987 "bengali",
988 "blink",
989 "block",
990 "block-axis",
991 "blur",
992 "bold",
993 "bolder",
994 "border",
995 "border-box",
996 "both",
997 "bottom",
998 "break",
999 "break-all",
1000 "break-word",
1001 "brightness",
1002 "bullets",
1003 "button",
1004 "buttonface",
1005 "buttonhighlight",
1006 "buttonshadow",
1007 "buttontext",
1008 "calc",
1009 "cambodian",
1010 "capitalize",
1011 "caps-lock-indicator",
1012 "caption",
1013 "captiontext",
1014 "caret",
1015 "cell",
1016 "center",
1017 "checkbox",
1018 "circle",
1019 "cjk-decimal",
1020 "cjk-earthly-branch",
1021 "cjk-heavenly-stem",
1022 "cjk-ideographic",
1023 "clear",
1024 "clip",
1025 "close-quote",
1026 "col-resize",
1027 "collapse",
1028 "color",
1029 "color-burn",
1030 "color-dodge",
1031 "column",
1032 "column-reverse",
1033 "compact",
1034 "condensed",
1035 "conic-gradient",
1036 "contain",
1037 "content",
1038 "contents",
1039 "content-box",
1040 "context-menu",
1041 "continuous",
1042 "contrast",
1043 "copy",
1044 "counter",
1045 "counters",
1046 "cover",
1047 "crop",
1048 "cross",
1049 "crosshair",
1050 "cubic-bezier",
1051 "currentcolor",
1052 "cursive",
1053 "cyclic",
1054 "darken",
1055 "dashed",
1056 "decimal",
1057 "decimal-leading-zero",
1058 "default",
1059 "default-button",
1060 "dense",
1061 "destination-atop",
1062 "destination-in",
1063 "destination-out",
1064 "destination-over",
1065 "devanagari",
1066 "difference",
1067 "disc",
1068 "discard",
1069 "disclosure-closed",
1070 "disclosure-open",
1071 "document",
1072 "dot-dash",
1073 "dot-dot-dash",
1074 "dotted",
1075 "double",
1076 "down",
1077 "drop-shadow",
1078 "e-resize",
1079 "ease",
1080 "ease-in",
1081 "ease-in-out",
1082 "ease-out",
1083 "element",
1084 "ellipse",
1085 "ellipsis",
1086 "embed",
1087 "end",
1088 "ethiopic",
1089 "ethiopic-abegede",
1090 "ethiopic-abegede-am-et",
1091 "ethiopic-abegede-gez",
1092 "ethiopic-abegede-ti-er",
1093 "ethiopic-abegede-ti-et",
1094 "ethiopic-halehame-aa-er",
1095 "ethiopic-halehame-aa-et",
1096 "ethiopic-halehame-am-et",
1097 "ethiopic-halehame-gez",
1098 "ethiopic-halehame-om-et",
1099 "ethiopic-halehame-sid-et",
1100 "ethiopic-halehame-so-et",
1101 "ethiopic-halehame-ti-er",
1102 "ethiopic-halehame-ti-et",
1103 "ethiopic-halehame-tig",
1104 "ethiopic-numeric",
1105 "ew-resize",
1106 "exclusion",
1107 "expanded",
1108 "extends",
1109 "extra-condensed",
1110 "extra-expanded",
1111 "fantasy",
1112 "fast",
1113 "fill",
1114 "fill-box",
1115 "fixed",
1116 "flat",
1117 "flex",
1118 "flex-end",
1119 "flex-start",
1120 "footnotes",
1121 "forwards",
1122 "from",
1123 "geometricPrecision",
1124 "georgian",
1125 "grayscale",
1126 "graytext",
1127 "grid",
1128 "groove",
1129 "gujarati",
1130 "gurmukhi",
1131 "hand",
1132 "hangul",
1133 "hangul-consonant",
1134 "hard-light",
1135 "hebrew",
1136 "help",
1137 "hidden",
1138 "hide",
1139 "higher",
1140 "highlight",
1141 "highlighttext",
1142 "hiragana",
1143 "hiragana-iroha",
1144 "horizontal",
1145 "hsl",
1146 "hsla",
1147 "hue",
1148 "hue-rotate",
1149 "icon",
1150 "ignore",
1151 "inactiveborder",
1152 "inactivecaption",
1153 "inactivecaptiontext",
1154 "infinite",
1155 "infobackground",
1156 "infotext",
1157 "inherit",
1158 "initial",
1159 "inline",
1160 "inline-axis",
1161 "inline-block",
1162 "inline-flex",
1163 "inline-grid",
1164 "inline-table",
1165 "inset",
1166 "inside",
1167 "intrinsic",
1168 "invert",
1169 "italic",
1170 "japanese-formal",
1171 "japanese-informal",
1172 "justify",
1173 "kannada",
1174 "katakana",
1175 "katakana-iroha",
1176 "keep-all",
1177 "khmer",
1178 "korean-hangul-formal",
1179 "korean-hanja-formal",
1180 "korean-hanja-informal",
1181 "landscape",
1182 "lao",
1183 "large",
1184 "larger",
1185 "left",
1186 "level",
1187 "lighter",
1188 "lighten",
1189 "line-through",
1190 "linear",
1191 "linear-gradient",
1192 "lines",
1193 "list-item",
1194 "listbox",
1195 "listitem",
1196 "local",
1197 "logical",
1198 "loud",
1199 "lower",
1200 "lower-alpha",
1201 "lower-armenian",
1202 "lower-greek",
1203 "lower-hexadecimal",
1204 "lower-latin",
1205 "lower-norwegian",
1206 "lower-roman",
1207 "lowercase",
1208 "ltr",
1209 "luminosity",
1210 "malayalam",
1211 "manipulation",
1212 "match",
1213 "matrix",
1214 "matrix3d",
1215 "media-play-button",
1216 "media-slider",
1217 "media-sliderthumb",
1218 "media-volume-slider",
1219 "media-volume-sliderthumb",
1220 "medium",
1221 "menu",
1222 "menulist",
1223 "menulist-button",
1224 "menutext",
1225 "message-box",
1226 "middle",
1227 "min-intrinsic",
1228 "mix",
1229 "mongolian",
1230 "monospace",
1231 "move",
1232 "multiple",
1233 "multiple_mask_images",
1234 "multiply",
1235 "myanmar",
1236 "n-resize",
1237 "narrower",
1238 "ne-resize",
1239 "nesw-resize",
1240 "no-close-quote",
1241 "no-drop",
1242 "no-open-quote",
1243 "no-repeat",
1244 "none",
1245 "normal",
1246 "not-allowed",
1247 "nowrap",
1248 "ns-resize",
1249 "numbers",
1250 "numeric",
1251 "nw-resize",
1252 "nwse-resize",
1253 "oblique",
1254 "octal",
1255 "opacity",
1256 "open-quote",
1257 "optimizeLegibility",
1258 "optimizeSpeed",
1259 "oriya",
1260 "oromo",
1261 "outset",
1262 "outside",
1263 "outside-shape",
1264 "overlay",
1265 "overline",
1266 "padding",
1267 "padding-box",
1268 "painted",
1269 "page",
1270 "paused",
1271 "persian",
1272 "perspective",
1273 "pinch-zoom",
1274 "plus-darker",
1275 "plus-lighter",
1276 "pointer",
1277 "polygon",
1278 "portrait",
1279 "pre",
1280 "pre-line",
1281 "pre-wrap",
1282 "preserve-3d",
1283 "progress",
1284 "push-button",
1285 "radial-gradient",
1286 "radio",
1287 "read-only",
1288 "read-write",
1289 "read-write-plaintext-only",
1290 "rectangle",
1291 "region",
1292 "relative",
1293 "repeat",
1294 "repeating-linear-gradient",
1295 "repeating-radial-gradient",
1296 "repeating-conic-gradient",
1297 "repeat-x",
1298 "repeat-y",
1299 "reset",
1300 "reverse",
1301 "rgb",
1302 "rgba",
1303 "ridge",
1304 "right",
1305 "rotate",
1306 "rotate3d",
1307 "rotateX",
1308 "rotateY",
1309 "rotateZ",
1310 "round",
1311 "row",
1312 "row-resize",
1313 "row-reverse",
1314 "rtl",
1315 "run-in",
1316 "running",
1317 "s-resize",
1318 "sans-serif",
1319 "saturate",
1320 "saturation",
1321 "scale",
1322 "scale3d",
1323 "scaleX",
1324 "scaleY",
1325 "scaleZ",
1326 "screen",
1327 "scroll",
1328 "scrollbar",
1329 "scroll-position",
1330 "se-resize",
1331 "searchfield",
1332 "searchfield-cancel-button",
1333 "searchfield-decoration",
1334 "searchfield-results-button",
1335 "searchfield-results-decoration",
1336 "self-start",
1337 "self-end",
1338 "semi-condensed",
1339 "semi-expanded",
1340 "separate",
1341 "sepia",
1342 "serif",
1343 "show",
1344 "sidama",
1345 "simp-chinese-formal",
1346 "simp-chinese-informal",
1347 "single",
1348 "skew",
1349 "skewX",
1350 "skewY",
1351 "skip-white-space",
1352 "slide",
1353 "slider-horizontal",
1354 "slider-vertical",
1355 "sliderthumb-horizontal",
1356 "sliderthumb-vertical",
1357 "slow",
1358 "small",
1359 "small-caps",
1360 "small-caption",
1361 "smaller",
1362 "soft-light",
1363 "solid",
1364 "somali",
1365 "source-atop",
1366 "source-in",
1367 "source-out",
1368 "source-over",
1369 "space",
1370 "space-around",
1371 "space-between",
1372 "space-evenly",
1373 "spell-out",
1374 "square",
1375 "square-button",
1376 "start",
1377 "static",
1378 "status-bar",
1379 "stretch",
1380 "stroke",
1381 "stroke-box",
1382 "sub",
1383 "subpixel-antialiased",
1384 "svg_masks",
1385 "super",
1386 "sw-resize",
1387 "symbolic",
1388 "symbols",
1389 "system-ui",
1390 "table",
1391 "table-caption",
1392 "table-cell",
1393 "table-column",
1394 "table-column-group",
1395 "table-footer-group",
1396 "table-header-group",
1397 "table-row",
1398 "table-row-group",
1399 "tamil",
1400 "telugu",
1401 "text",
1402 "text-bottom",
1403 "text-top",
1404 "textarea",
1405 "textfield",
1406 "thai",
1407 "thick",
1408 "thin",
1409 "threeddarkshadow",
1410 "threedface",
1411 "threedhighlight",
1412 "threedlightshadow",
1413 "threedshadow",
1414 "tibetan",
1415 "tigre",
1416 "tigrinya-er",
1417 "tigrinya-er-abegede",
1418 "tigrinya-et",
1419 "tigrinya-et-abegede",
1420 "to",
1421 "top",
1422 "trad-chinese-formal",
1423 "trad-chinese-informal",
1424 "transform",
1425 "translate",
1426 "translate3d",
1427 "translateX",
1428 "translateY",
1429 "translateZ",
1430 "transparent",
1431 "ultra-condensed",
1432 "ultra-expanded",
1433 "underline",
1434 "unidirectional-pan",
1435 "unset",
1436 "up",
1437 "upper-alpha",
1438 "upper-armenian",
1439 "upper-greek",
1440 "upper-hexadecimal",
1441 "upper-latin",
1442 "upper-norwegian",
1443 "upper-roman",
1444 "uppercase",
1445 "urdu",
1446 "url",
1447 "var",
1448 "vertical",
1449 "vertical-text",
1450 "view-box",
1451 "visible",
1452 "visibleFill",
1453 "visiblePainted",
1454 "visibleStroke",
1455 "visual",
1456 "w-resize",
1457 "wait",
1458 "wave",
1459 "wider",
1460 "window",
1461 "windowframe",
1462 "windowtext",
1463 "words",
1464 "wrap",
1465 "wrap-reverse",
1466 "x-large",
1467 "x-small",
1468 "xor",
1469 "xx-large",
1470 "xx-small",
1471 ],
1472 y = t(k),
1473 w = r.concat(i).concat(n).concat(s).concat(d).concat(u).concat(h).concat(k);
1474 function v(e, t) {
1475 for (var r, o = !1; null != (r = e.next()); ) {
1476 if (o && "/" == r) {
1477 t.tokenize = null;
1478 break;
1479 }
1480 o = "*" == r;
1481 }
1482 return ["comment", "comment"];
1483 }
1484 e.registerHelper("hintWords", "css", w),
1485 e.defineMIME("text/css", {
1486 documentTypes: o,
1487 mediaTypes: a,
1488 mediaFeatures: l,
1489 mediaValueKeywords: c,
1490 propertyKeywords: p,
1491 nonStandardPropertyKeywords: m,
1492 fontProperties: g,
1493 counterDescriptors: b,
1494 colorKeywords: f,
1495 valueKeywords: y,
1496 tokenHooks: {
1497 "/": function (e, t) {
1498 return !!e.eat("*") && ((t.tokenize = v), v(e, t));
1499 },
1500 },
1501 name: "css",
1502 }),
1503 e.defineMIME("text/x-scss", {
1504 mediaTypes: a,
1505 mediaFeatures: l,
1506 mediaValueKeywords: c,
1507 propertyKeywords: p,
1508 nonStandardPropertyKeywords: m,
1509 colorKeywords: f,
1510 valueKeywords: y,
1511 fontProperties: g,
1512 allowNested: !0,
1513 lineComment: "//",
1514 tokenHooks: {
1515 "/": function (e, t) {
1516 return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? ((t.tokenize = v), v(e, t)) : ["operator", "operator"];
1517 },
1518 ":": function (e) {
1519 return !!e.match(/^\s*\{/, !1) && [null, null];
1520 },
1521 $: function (e) {
1522 return (e.match(/^[\w-]+/), e.match(/^\s*:/, !1)) ? ["variable-2", "variable-definition"] : ["variable-2", "variable"];
1523 },
1524 "#": function (e) {
1525 return !!e.eat("{") && [null, "interpolation"];
1526 },
1527 },
1528 name: "css",
1529 helperType: "scss",
1530 }),
1531 e.defineMIME("text/x-less", {
1532 mediaTypes: a,
1533 mediaFeatures: l,
1534 mediaValueKeywords: c,
1535 propertyKeywords: p,
1536 nonStandardPropertyKeywords: m,
1537 colorKeywords: f,
1538 valueKeywords: y,
1539 fontProperties: g,
1540 allowNested: !0,
1541 lineComment: "//",
1542 tokenHooks: {
1543 "/": function (e, t) {
1544 return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? ((t.tokenize = v), v(e, t)) : ["operator", "operator"];
1545 },
1546 "@": function (e) {
1547 return e.eat("{")
1548 ? [null, "interpolation"]
1549 : !e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, !1) &&
1550 ((e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1)) ? ["variable-2", "variable-definition"] : ["variable-2", "variable"]);
1551 },
1552 "&": function () {
1553 return ["atom", "atom"];
1554 },
1555 },
1556 name: "css",
1557 helperType: "less",
1558 }),
1559 e.defineMIME("text/x-gss", {
1560 documentTypes: o,
1561 mediaTypes: a,
1562 mediaFeatures: l,
1563 propertyKeywords: p,
1564 nonStandardPropertyKeywords: m,
1565 fontProperties: g,
1566 counterDescriptors: b,
1567 colorKeywords: f,
1568 valueKeywords: y,
1569 supportsAtComponent: !0,
1570 tokenHooks: {
1571 "/": function (e, t) {
1572 return !!e.eat("*") && ((t.tokenize = v), v(e, t));
1573 },
1574 },
1575 name: "css",
1576 helperType: "gss",
1577 });
1578 });
1579