1/** 2 * SyntaxHighlighter 3 * http://alexgorbatchev.com/SyntaxHighlighter 4 * 5 * SyntaxHighlighter is donationware. If you are using it, please donate. 6 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 * 8 * @version 9 * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT) 10 * 11 * @copyright 12 * Copyright (C) 2004-2013 Alex Gorbatchev. 13 * 14 * @license 15 * Dual licensed under the MIT and GPL licenses. 16 */ 17;(function() 18{ 19 // CommonJS 20 SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null); 21 22 function Brush() 23 { 24 function getKeywordsCSS(str) 25 { 26 return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 27 }; 28 29 function getValuesCSS(str) 30 { 31 return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 32 }; 33 34 var keywords = 'align-content align-items align-self alignement-adjust all anchor-point animation animation-delay animation-direction ' + 35 'animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function ' + 36 'appearance azimuth backface-visibility background background-attachment background-clip background-color background-image ' + 37 'background-origin background-position background-repeat background-size baseline-shift binding bleed bookmark-label bookmark-level ' + 38 'bookmark-state bookmark-target border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius ' + 39 'border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat ' + 40 'border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width ' + 41 'border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top ' + 42 'border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom ' + 43 'box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side chains clear clip clip-path ' + 44 'clip-rule color color-interpolation-filters color-profile column-count column-fill column-gap column-rule column-rule-color ' + 45 'column-rule-style column-rule-width column-span column-width columns contain content counter-increment counter-reset crop ' + 46 'cue cue-after cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align ' + 47 'drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells filter flex ' + 48 'flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset flood-color flood-opacity font ' + 49 'font-family font-feature-settings font-kerning font-language-override font-size font-size-adjust font-stretch font-style ' + 50 'font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures ' + 51 'font-variant-numeric font-variant-position font-weight grid grid-area grid-auto-columns grid-auto-flow grid-auto-position ' + 52 'grid-auto-rows grid-column grid-column-end grid-column-start grid-row grid-row-end grid-row-start grid-template grid-template-areas ' + 53 'grid-template-columns grid-template-rows hanging-punctuation height hyphens icon image-orientation image-resolution ' + 54 'ime-mode inline-box-align justify-content left letter-spacing lighting-color line-break line-height line-stacking line-stacking-ruby ' + 55 'line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom ' + 56 'margin-left margin-right margin-top marker-offset marks mask mask-box-image mask-box-image-outset mask-box-image-repeat ' + 57 'mask-box-image-slice mask-box-image-source mask-box-image-width mask-clip mask-image mask-origin mask-position mask-repeat ' + 58 'mask-size mask-source-type mask-type max-height max-lines max-width min-height min-width move-to nav-down nav-index nav-left ' + 59 'nav-right nav-up object-fit object-position opacity order orphans outline outline-color outline-offset outline-style outline-width ' + 60 'overflow overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after ' + 61 'page-break-before page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range ' + 62 'play-during position presentation-level punctuation-trim quotes rendering-intent resize rest rest-after rest-before richness ' + 63 'right rotation rotation-point ruby-align ruby-overhang ruby-position ruby-span size speak speak-as speak-header speak-numeral ' +
64 'speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align ' + 65 'text-align-last text-combine-horizontal text-decoration text-decoration-color text-decoration-line text-decoration-skip ' + 66 'text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent ' + 67 'text-justify text-orientation text-outline text-overflow text-shadow text-space-collapse text-transform text-underline-position ' + 68 'text-wrap top transform transform-origin transform-style transition transition-delay transition-durations transition-property ' + 69 'transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch ' + 70 'voice-range voice-rate voice-stress voice-volume volume white-space widows width word-break word-spacing word-wrap ' + 71 'writing-mode z-index'; 72 73 var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ 74 'border-box both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ 75 'continuous content-box counter counters cover crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ 76 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed flex format fuchsia '+ 77 'gray green groove handheld hebrew help hidden hide high higher icon infinite inherit inline-block inline-table inline inset inside invert italic '+ 78 'justify landscape large larger left-side left leftwards level lighter lime linear linear-gradient line-through list-item local loud lower-alpha '+ 79 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ 80 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ 81 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb rgba ridge right right-side '+ 82 'rightwards rotate row rtl run-in scale screen scroll semi-condensed semi-expanded separate se-resize show silent silver skewX skewY slower slow '+ 83 'small small-caps small-caption smaller space-around soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ 84 'table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ 85 'text-bottom text-top thick thin top translate translateX translateY transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ 86 'upper-roman url visible wait webkit-box white wider wrap w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; 87 88 var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; 89 90 this.regexList = [ 91 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 92 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 93 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 94 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 95 { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes 96 { regex: /!important/g, css: 'color3' }, // !important 97 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 98 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values 99 { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts 100 ]; 101 102 this.forHtmlScript({ 103 left: /(<|<)\s*style.*?(>|>)/gi, 104 right: /(<|<)\/\s*style\s*(>|>)/gi 105 }); 106 }; 107 108 Brush.prototype = new SyntaxHighlighter.Highlighter(); 109 Brush.aliases = ['css']; 110 111 SyntaxHighlighter.brushes.CSS = Brush; 112 113 // CommonJS 114 typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 115})();
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.