1(function() {var define = ace.define, require = ace.require; 2define("ace/mode/less", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/less_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/folding/cstyle"], function(e, t) { 3 var r = e("../lib/oop"), 4 o = e("./text").Mode, 5 n = e("../tokenizer").Tokenizer, 6 i = e("./less_highlight_rules").LessHighlightRules, 7 a = e("./matching_brace_outdent").MatchingBraceOutdent, 8 l = e("./folding/cstyle").FoldMode, 9 s = function() { 10 this.$tokenizer = new n((new i).getRules(), "i"), this.$outdent = new a, this.foldingRules = new l 11 }; 12 r.inherits(s, o), 13 function() { 14 this.getNextLineIndent = function(e, t, r) { 15 var o = this.$getIndent(t), 16 n = this.$tokenizer.getLineTokens(t, e).tokens; 17 if (n.length && "comment" == n[n.length - 1].type) return o; 18 var i = t.match(/^.*\{\s*$/); 19 return i && (o += r), o 20 }, this.checkOutdent = function(e, t, r) { 21 return this.$outdent.checkOutdent(t, r) 22 }, this.autoOutdent = function(e, t, r) { 23 this.$outdent.autoOutdent(t, r) 24 } 25 }.call(s.prototype), t.Mode = s 26}), define("ace/mode/less_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/lib/lang", "ace/mode/text_highlight_rules"], function(e, t) { 27 var r = e("../lib/oop"), 28 o = e("../lib/lang"), 29 n = e("./text_highlight_rules").TextHighlightRules, 30 i = function() { 31 var e = o.arrayToMap(function() { 32 for (var e = "-webkit-|-moz-|-o-|-ms-|-svg-|-pie-|-khtml-".split("|"), t = "appearance|background-clip|background-inline-policy|background-origin|background-size|binding|border-bottom-colors|border-left-colors|border-right-colors|border-top-colors|border-end|border-end-color|border-end-style|border-end-width|border-image|border-start|border-start-color|border-start-style|border-start-width|box-align|box-direction|box-flex|box-flexgroup|box-ordinal-group|box-orient|box-pack|box-sizing|column-count|column-gap|column-width|column-rule|column-rule-width|column-rule-style|column-rule-color|float-edge|font-feature-settings|font-language-override|force-broken-image-icon|image-region|margin-end|margin-start|opacity|outline|outline-color|outline-offset|outline-radius|outline-radius-bottomleft|outline-radius-bottomright|outline-radius-topleft|outline-radius-topright|outline-style|outline-width|padding-end|padding-start|stack-sizing|tab-size|text-blink|text-decoration-color|text-decoration-line|text-decoration-style|transform|transform-origin|transition|transition-delay|transition-duration|transition-property|transition-timing-function|user-focus|user-input|user-modify|user-select|window-shadow|border-radius".split("|"), r = "azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|box-sizing|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|opacity|orphans|outline-color|outline-style|outline-width|outline|overflow|overflow-x|overflow-y|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|unicode
32-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index".split("|"), o = [], n = 0, i = e.length; i > n; n++) Array.prototype.push.apply(o, (e[n] + t.join("|" + e[n])).split("|")); 33 return Array.prototype.push.apply(o, t), Array.prototype.push.apply(o, r), o 34 }()), 35 t = o.arrayToMap("hsl|hsla|rgb|rgba|url|attr|counter|counters|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|hue|saturation|lightness|alpha|round|ceil|floor|percentage|color|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem".split("|")), 36 r = o.arrayToMap("absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|block|bold|bolder|border-box|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|content-box|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|zero".split("|")), 37 n = o.arrayToMap("aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow".split("|")), 38 i = o.arrayToMap("@mixin|@extend|@include|@import|@media|@debug|@warn|@if|@for|@each|@while|@else|@font-face|@-webkit-keyframes|if|and|!default|module|def|end|declare|when|not|and".split("|")), 39 a = o.arrayToMap("a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdo|big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|dir|div|dl|dt|em|embed|fieldset|figcaption|figure|font|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video|wbr|xmp".split("|")), 40 l = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))"; 41 this.$rules = { 42 start: [{ 43 token: "comment", 44 regex: "\\/\\/.*$" 45 }, { 46 token: "comment", 47 merge: !0, 48 regex: "\\/\\*", 49 next: "comment" 50 }, { 51 token: "string", 52 regex: '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]' 53 }, { 54 token: "string", 55 regex: "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']" 56 }, { 57 token: "constant.numeric", 58 regex: l + "(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)" 59 }, { 60 token: "constant.numeric", 61 regex: "#[a-f0-9]{6}" 62 }, { 63 token: "constant.numeric", 64 regex: "#[a-f0-9]{3}" 65 }, { 66 token: "constant.numeric", 67 regex: l 68 }, { 69 token: function(e) { 70 return i.hasOwnProperty(e) ? "keyword" : "variable" 71 }, 72 regex: "@[a-z0-9_\\-@]*\\b" 73 }, { 74 token: function(o) { 75 return e.hasOwnProperty(o.toLowerCase()) ? "support.type" : i.hasOwnProperty(o) ? "keyword" : r.hasOwnProperty(o) ? "constant.language" : t.hasOwnProperty(o) ? "support.function" : n.hasOwnProperty(o.toLowerCase()) ? "support.constant.color" : a.hasOwnProperty(o.toLowerCase()) ? "variable.language" : "text" 76 }, 77 regex: "\\-?[@a-z_][@a-z0-9_\\-]*" 78 }, { 79 token: "variable.language", 80 regex: "#[a-z0-9-_]+" 81 }, { 82 token: "variable.language", 83 regex: "\\.[a-z0-9-_]+" 84 }, { 85 token: "variable.language", 86 regex: ":[a-z0-9-_]+" 87 }, { 88 token: "constant", 89 regex: "[a-z0-9-_]+" 90 }, { 91 token: "keyword.operator", 92 regex: "<|>|<=|>=|==|!=|-|%|#|\\+|\\$|\\+|\\*" 93 }, { 94 token: "paren.lparen", 95 regex: "[[({]" 96 }, { 97 token: "paren.rparen", 98 regex: "[\\])}]" 99 }, { 100 token: "text", 101 regex: "\\s+" 102 }], 103 comment: [{ 104 token: "comment", 105 regex: ".*?\\*\\/", 106 next: "start" 107 }, { 108 token: "comment", 109 merge: !0, 110 regex: ".+" 111 }] 112 } 113 }; 114 r.inherits(i, n), t.LessHighlightRules = i 115}), define("ace/mode/matching_brace_outdent", ["require", "exports", "module", "ace/range"], function(e, t) { 116 var r = e("../range").Range, 117 o = function() {}; 118 (function() { 119 this.checkOutdent = function(e, t) { 120 return /^\s+$/.test(e) ? /^\s*\}/.test(t) : !1 121 }, this.autoOutdent = function(e, t) { 122 var o = e.getLine(t), 123 n = o.match(/^(\s*\})/); 124 if (!n) return 0; 125 var i = n[1].length, 126 a = e.findMatchingBracket({ 127 row: t, 128 column: i 129 }); 130 if (!a || a.row == t) return 0; 131 var l = this.$getIndent(e.getLine(a.row)); 132 e.replace(new r(t, 0, t, i - 1), l) 133 }, this.$getIndent = function(e) { 134 var t = e.match(/^(\s+)/); 135 return t ? t[1] : "" 136 } 137 }).call(o.prototype), t.MatchingBraceOutdent = o 138}), define("ace/mode/folding/cstyle", ["require", "exports", "module", "ace/lib/oop", "ace/range", "ace/mode/folding/fold_mode"], function(e, t) { 139 var r = e("../../lib/oop"), 140 o = e("../../range").Range, 141 n = e("./fold_mode").FoldMode, 142 i = t.FoldMode = function() {}; 143 r.inherits(i, n), 144 function() { 145 this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/, this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/, this.getFoldWidgetRange = function(e, t, r) { 146 var n = e.getLine(r), 147 i = n.match(this.foldingStartMarker); 148 if (i) { 149 var a = i.index; 150 if (i[1]) return this.openingBracketBlock(e, i[1], r, a); 151 var l = e.getCommentFoldRange(r, a + i[0].length); 152 return l.end.column -= 2, l 153 } 154 if ("markbeginend" === t) { 155 var i = n.match(this.foldingStopMarker); 156 if (i) { 157 var a = i.index + i[0].length; 158 if (i[2]) { 159 var l = e.getCommentFoldRange(r, a); 160 return l.end.column -= 2, l 161 } 162 var s = { 163 row: r, 164 column: a 165 }, 166 d = e.$findOpeningBracket(i[1], s); 167 if (!d) return; 168 return d.column++, s.column--, o.fromPoints(d, s) 169 } 170 } 171 } 172 }.call(i.prototype) 173}), define("ace/mode/folding/fold_mode", ["require", "exports", "module", "ace/range"], function(e, t) { 174 var r = e("../../range").Range, 175 o = t.FoldMode = function() {}; 176 (function() { 177 this.foldingStartMarker = null, this.foldingStopMarker = null, this.getFoldWidget = function(e, t, r) { 178 var o = e.getLine(r); 179 return this.foldingStartMarker.test(o) ? "start" : "markbeginend" == t && this.foldingStopMarker && this.foldingStopMarker.test(o) ? "end" : "" 180 }, this.getFoldWidgetRange = function() { 181 return null 182 }, this.indentationBlock = function(e, t, o) { 183 for (var n = /^\s*/, i = t, a = t, l = e.getLine(t), s = o || l.length, d = l.match(n)[0].length, c = e.getLength(); ++t < c;) { 184 l = e.getLine(t); 185 var g = l.match(n)[0].length; 186 if (g != l.length) { 187 if (d >= g) break; 188 a = t 189 } 190 } 191 if (a > i) { 192 var u = e.getLine(a).length; 193 return new r(i, s, a, u) 194 } 195 }, this.openingBracketBlock = function(e, t, o, n, i, a) { 196 var l = { 197 row: o, 198 column: n + 1 199 }, 200 s = e.$findClosingBracket(t, l, i, a); 201 if (s) { 202 var d = e.foldWidgets[s.row]; 203 return null == d && (d = this.getFoldWidget(e, s.row)), "start" == d && (s.row--, s.column = e.getLine(s.row).length), r.fromPoints(l, s) 204 } 205 } 206 }).call(o.prototype) 207}); 208})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.