!(function (e) { var n = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, t = '(?:' + r.source + '(?:[ \t]+' + n.source + ')?|' + n.source + '(?:[ \t]+' + r.source + ')?)', a = '(?:[^\\s\\x00-\\x08\\x0e-\\x1f!"#%&\'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*'.replace( //g, function () { return '[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]'; } ), d = '"(?:[^"\\\\\r\n]|\\\\.)*"|\'(?:[^\'\\\\\r\n]|\\\\.)*\''; function o(e, n) { n = (n || '').replace(/m/g, '') + 'm'; var r = '([:\\-,[{]\\s*(?:\\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\\]|\\}|(?:[\r\n]\\s*)?#))' .replace(/<>/g, function () { return t; }) .replace(/<>/g, function () { return e; }); return RegExp(r, n); } (e.languages.yaml = { scalar: { pattern: RegExp( '([\\-:]\\s*(?:\\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\\S[^\r\n]*(?:\\2[^\r\n]+)*)'.replace( /<>/g, function () { return t; } ) ), lookbehind: !0, alias: 'string', }, comment: /#.*/, key: { pattern: RegExp( '((?:^|[:\\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\\s*:\\s)' .replace(/<>/g, function () { return t; }) .replace(/<>/g, function () { return '(?:' + a + '|' + d + ')'; }) ), lookbehind: !0, greedy: !0, alias: 'atrule', }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: 'important' }, datetime: { pattern: o( '\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?' ), lookbehind: !0, alias: 'number', }, boolean: { pattern: o('false|true', 'i'), lookbehind: !0, alias: 'important', }, null: { pattern: o('null|~', 'i'), lookbehind: !0, alias: 'important' }, string: { pattern: o(d), lookbehind: !0, greedy: !0 }, number: { pattern: o( '[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)', 'i' ), lookbehind: !0, }, tag: r, important: n, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./, }), (e.languages.yml = e.languages.yaml); })(Prism); 09eab8259783343ca0db2610345d50496a'>root/public/prism/prism-haml.min.js
blob: 45954d8c4702bda74290099f66dcdf3bf603e7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117