{ target: DOMElement, params: Object }
objects.\n */\n findElements: function(globalParams, element)\n {\n var elements = element ? [element] : utils.toArray(document.getElementsByTagName(sh.config.tagName)),\n conf = sh.config,\n result = []\n ;\n\n // support for feature\n elements = elements.concat(dom.getSyntaxHighlighterScriptTags());\n\n if (elements.length === 0)\n return result;\n\n for (var i = 0, l = elements.length; i < l; i++)\n {\n var item = {\n target: elements[i],\n // local params take precedence over globals\n params: optsParser.defaults(optsParser.parse(elements[i].className), globalParams)\n };\n\n if (item.params['brush'] == null)\n continue;\n\n result.push(item);\n }\n\n return result;\n },\n\n /**\n * Shorthand to highlight all elements on the page that are marked as\n * SyntaxHighlighter source code.\n *\n * @param {Object} globalParams Optional parameters which override element's\n * parameters. Only used if element is specified.\n *\n * @param {Object} element Optional element to highlight. If none is\n * provided, all elements in the current document\n * are highlighted.\n */\n highlight: function(globalParams, element)\n {\n var elements = sh.findElements(globalParams, element),\n propertyName = 'innerHTML',\n brush = null,\n renderer,\n conf = sh.config\n ;\n\n if (elements.length === 0)\n return;\n\n for (var i = 0, l = elements.length; i < l; i++)\n {\n var element = elements[i],\n target = element.target,\n params = element.params,\n brushName = params.brush,\n brush,\n matches,\n code\n ;\n\n if (brushName == null)\n continue;\n\n brush = findBrush(brushName);\n\n if (!brush)\n continue;\n\n // local params take precedence over defaults\n params = optsParser.defaults(params || {}, defaults);\n params = optsParser.defaults(params, config);\n\n // Instantiate a brush\n if (params['html-script'] == true || defaults['html-script'] == true)\n {\n brush = new HtmlScript(findBrush('xml'), brush);\n brushName = 'htmlscript';\n }\n else\n {\n brush = new brush();\n }\n\n code = target[propertyName];\n\n // remove CDATA from tags if it's present\n if (conf.useScriptTags)\n code = stripCData(code);\n\n // Inject title if the attribute is present\n if ((target.title || '') != '')\n params.title = target.title;\n\n params['brush'] = brushName;\n\n code = transformers(code, params);\n matches = match.applyRegexList(code, brush.regexList, params);\n renderer = new Renderer(code, matches, params);\n\n element = dom.create('div');\n element.innerHTML = renderer.getHtml();\n\n // id = utils.guid();\n // element.id = highlighters.id(id);\n // highlighters.set(id, element);\n\n if (params.quickCode)\n dom.attachEvent(dom.findElement(element, '.code'), 'dblclick', dom.quickCodeHandler);\n\n // carry over ID\n if ((target.id || '') != '')\n element.id = target.id;\n\n target.parentNode.replaceChild(element, target);\n }\n }\n}; // end of sh\n\n/**\n * Displays an alert.\n * @param {String} str String to display.\n */\nfunction alert(str)\n{\n window.alert('SyntaxHighlighter\\n\\n' + str);\n};\n\n/**\n * Finds a brush by its alias.\n *\n * @param {String} alias Brush alias.\n * @param {Boolean} showAlert Suppresses the alert if false.\n * @return {Brush} Returns bursh constructor if found, null otherwise.\n */\nfunction findBrush(alias, showAlert)\n{\n var brushes = sh.vars.discoveredBrushes,\n result = null\n ;\n\n if (brushes == null)\n {\n brushes = {};\n\n // Find all brushes\n for (var brushName in sh.brushes)\n {\n var brush = sh.brushes[brushName],\n aliases = brush.aliases\n ;\n\n if (aliases == null) {\n continue;\n }\n\n brush.className = brush.className || brush.aliases[0];\n brush.brushName = brush.className || brushName.toLowerCase();\n\n for (var i = 0, l = aliases.length; i < l; i++) {\n brushes[aliases[i]] = brushName;\n }\n }\n\n sh.vars.discoveredBrushes = brushes;\n }\n\n result = sh.brushes[brushes[alias]];\n\n if (result == null && showAlert)\n alert(sh.config.strings.noBrush + alias);\n\n return result;\n};\n\n/**\n * Strips from content because it should be used\n * there in most cases for XHTML compliance.\n * @param {String} original Input code.\n * @return {String} Returns code without leading tags.\n */\nfunction stripCData(original)\n{\n var left = '',\n // for some reason IE inserts some leading blanks here\n copy = utils.trim(original),\n changed = false,\n leftLength = left.length,\n rightLength = right.length\n ;\n\n if (copy.indexOf(left) == 0)\n {\n copy = copy.substring(leftLength);\n changed = true;\n }\n\n var copyLength = copy.length;\n\n if (copy.indexOf(right) == copyLength - rightLength)\n {\n copy = copy.substring(0, copyLength - rightLength);\n changed = true;\n }\n\n return changed ? copy : original;\n};\n\nlet brushCounter = 0;\n\nexport default sh;\nexport const registerBrush = brush => sh.brushes['brush' + brushCounter++] = brush.default || brush;\nexport const clearRegisteredBrushes = () => {\n sh.brushes = {};\n brushCounter = 0;\n}\n\n/* an EJS hook for `gulp build --brushes` command\n * */\n\n\n registerBrush(require('brush-bash'));\n\n registerBrush(require('brush-cpp'));\n\n registerBrush(require('brush-csharp'));\n\n registerBrush(require('brush-css'));\n\n registerBrush(require('brush-diff'));\n\n registerBrush(require('brush-java'));\n\n registerBrush(require('brush-javascript'));\n\n registerBrush(require('brush-php'));\n\n registerBrush(require('brush-python'));\n\n registerBrush(require('brush-ruby'));\n\n registerBrush(require('brush-sass'));\n\n registerBrush(require('brush-sql'));\n\n registerBrush(require('brush-swift'));\n\n registerBrush(require('brush-xml'));\n\n\n/*\n\n */\n\n\n\n// WEBPACK FOOTER //\n// ./src/core.js","var XRegExp = require('syntaxhighlighter-regex').XRegExp;\n\nvar BOOLEANS = {'true': true, 'false': false};\n\nfunction camelize(key)\n{\n return key.replace(/-(\\w+)/g, function(match, word)\n {\n return word.charAt(0).toUpperCase() + word.substr(1);\n });\n}\n\nfunction process(value)\n{\n var result = BOOLEANS[value];\n return result == null ? value : result;\n}\n\nmodule.exports = {\n defaults: function(target, source)\n {\n for(var key in source || {})\n if (!target.hasOwnProperty(key))\n target[key] = target[camelize(key)] = source[key];\n\n return target;\n },\n\n parse: function(str)\n {\n var match,\n key,\n result = {},\n arrayRegex = XRegExp(\"^\\\\[(?
tag with given style applied to it.\n *\n * @param {String} str Input string.\n * @param {String} css Style name to apply to the string.\n * @return {String} Returns input string with each line surrounded by tag.\n */\n wrapLinesWithCode: function(str, css)\n {\n if (str == null || str.length == 0 || str == '\\n' || css == null)\n return str;\n\n var _this = this,\n results = [],\n lines,\n line,\n spaces,\n i,\n l\n ;\n\n str = str.replace(/... to them so that leading spaces aren't included.\n for (i = 0, l = lines.length; i < l; i++)\n {\n line = lines[i];\n spaces = '';\n\n if (line.length > 0)\n {\n line = line.replace(/^( | )+/, function(s)\n {\n spaces = s;\n return '';\n });\n\n line = line.length === 0\n ? spaces\n : spaces + '' + line + '
'\n ;\n }\n\n results.push(line);\n }\n\n return results.join('\\n');\n },\n\n /**\n * Turns all URLs in the code into tags.\n * @param {String} code Input code.\n * @return {String} Returns code with ' + spaces + '
' : '') + line\n );\n }\n\n return html;\n },\n\n /**\n * Returns HTML for the table title or empty string if title is null.\n */\n getTitleHtml: function(title)\n {\n return title ? '${_this.renderLineNumbers(code)} | ` : ``}\n\n ${html} \n | \n
findElement(container, className, true)
.\n * @param {Element} target Target element.\n * @param {String} className Class name to look for.\n * @return {Element} Returns found parent element on null.\n */\nfunction findParentElement(target, className)\n{\n return findElement(target, className, true);\n}\n\n/**\n * Opens up a centered popup window.\n * @param {String} url URL to open in the window.\n * @param {String} name Popup name.\n * @param {int} width Popup width.\n * @param {int} height Popup height.\n * @param {String} options window.open() options.\n * @return {Window} Returns window instance.\n */\nfunction popup(url, name, width, height, options)\n{\n var x = (screen.width - width) / 2,\n y = (screen.height - height) / 2\n ;\n\n options += ', left=' + x +\n ', top=' + y +\n ', width=' + width +\n ', height=' + height\n ;\n options = options.replace(/^,/, '');\n\n var win = window.open(url, name, options);\n win.focus();\n return win;\n}\n\nfunction getElementsByTagName(name)\n{\n return document.getElementsByTagName(name);\n}\n\n/**\n * Finds all elements on the page which could be processes by SyntaxHighlighter.\n */\nfunction findElementsToHighlight(opts)\n{\n var elements = getElementsByTagName(opts['tagName']),\n scripts,\n i\n ;\n\n // support for feature\n if(opts['useScriptTags'])\n {\n scripts = getElementsByTagName('script');\n\n for (i = 0; i < scripts.length; i++)\n {\n if (scripts[i].type.match(/^(text\\/)?syntaxhighlighter$/))\n elements.push(scripts[i]);\n }\n }\n\n return elements;\n}\n\nfunction create(name)\n{\n return document.createElement(name);\n}\n\n/**\n * Quick code mouse double click handler.\n */\nfunction quickCodeHandler(e)\n{\n var target = e.target,\n highlighterDiv = findParentElement(target, '.syntaxhighlighter'),\n container = findParentElement(target, '.container'),\n textarea = document.createElement('textarea'),\n highlighter\n ;\n\n if (!container || !highlighterDiv || findElement(container, 'textarea'))\n return;\n\n //highlighter = highlighters.get(highlighterDiv.id);\n\n // add source class name\n addClass(highlighterDiv, 'source');\n\n // Have to go over each line and grab it's text, can't just do it on the\n // container because Firefox loses all \\n where as Webkit doesn't.\n var lines = container.childNodes,\n code = []\n ;\n\n for (var i = 0, l = lines.length; i < l; i++)\n code.push(lines[i].innerText || lines[i].textContent);\n\n // using \\r instead of \\r or \\r\\n makes this work equally well on IE, FF and Webkit\n code = code.join('\\r');\n\n // For Webkit browsers, replace nbsp with a breaking space\n code = code.replace(/\\u00a0/g, \" \");\n\n // inject tag\n textarea.readOnly = true; // https://github.com/syntaxhighlighter/syntaxhighlighter/pull/329\n textarea.appendChild(document.createTextNode(code));\n container.appendChild(textarea);\n\n // preselect all text\n textarea.focus();\n textarea.select();\n\n // set up handler for lost focus\n attachEvent(textarea, 'blur', function(e)\n {\n textarea.parentNode.removeChild(textarea);\n removeClass(highlighterDiv, 'source');\n });\n};\n\nmodule.exports = {\n quickCodeHandler: quickCodeHandler,\n create: create,\n popup: popup,\n hasClass: hasClass,\n addClass: addClass,\n removeClass: removeClass,\n attachEvent: attachEvent,\n findElement: findElement,\n findParentElement: findParentElement,\n getSyntaxHighlighterScriptTags: getSyntaxHighlighterScriptTags,\n findElementsToHighlight: findElementsToHighlight\n}\n\n\n// WEBPACK FOOTER //\n// ./src/dom.js","module.exports = {\n space: ' ',\n\n /** Enables use of tags. */\n useScriptTags: true,\n\n /** Blogger mode flag. */\n bloggerMode: false,\n\n stripBrs: false,\n\n /** Name of the tag that SyntaxHighlighter will automatically look for. */\n tagName: 'pre'\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/config.js","module.exports = {\n /** Additional CSS class names to be added to highlighter elements. */\n 'class-name': '',\n\n /** First line number. */\n 'first-line': 1,\n\n /**\n * Pads line numbers. Possible values are:\n *\n * false - don't pad line numbers.\n * true - automaticaly pad numbers with minimum required number of leading zeroes.\n * [int] - length up to which pad line numbers.\n */\n 'pad-line-numbers': false,\n\n /** Lines to highlight. */\n 'highlight': null,\n\n /** Title to be displayed above the code block. */\n 'title': null,\n\n /** Enables or disables smart tabs. */\n 'smart-tabs': true,\n\n /** Gets or sets tab size. */\n 'tab-size': 4,\n\n /** Enables or disables gutter. */\n 'gutter': true,\n\n /** Enables quick code copy and paste from double click. */\n 'quick-code': true,\n\n /** Forces code view to be collapsed. */\n 'collapse': false,\n\n /** Enables or disables automatic links. */\n 'auto-links': true,\n\n 'unindent': true,\n\n 'html-script': false\n};\n\n\n// WEBPACK FOOTER //\n// ./src/defaults.js","var applyRegexList = require('syntaxhighlighter-match').applyRegexList;\n\nfunction HtmlScript(BrushXML, brushClass)\n{\n var scriptBrush,\n xmlBrush = new BrushXML()\n ;\n\n if (brushClass == null)\n return;\n\n scriptBrush = new brushClass();\n\n if (scriptBrush.htmlScript == null)\n throw new Error('Brush wasn\\'t configured for html-script option: ' + brushClass.brushName);\n\n xmlBrush.regexList.push(\n { regex: scriptBrush.htmlScript.code, func: process }\n );\n\n this.regexList = xmlBrush.regexList;\n\n function offsetMatches(matches, offset)\n {\n for (var j = 0, l = matches.length; j < l; j++)\n matches[j].index += offset;\n }\n\n function process(match, info)\n {\n var code = match.code,\n results = [],\n regexList = scriptBrush.regexList,\n offset = match.index + match.left.length,\n htmlScript = scriptBrush.htmlScript,\n matches\n ;\n\n function add(matches)\n {\n results = results.concat(matches);\n }\n\n matches = applyRegexList(code, regexList);\n offsetMatches(matches, offset);\n add(matches);\n\n // add left script bracket\n if (htmlScript.left != null && match.left != null)\n {\n matches = applyRegexList(match.left, [htmlScript.left]);\n offsetMatches(matches, match.index);\n add(matches);\n }\n\n // add right script bracket\n if (htmlScript.right != null && match.right != null)\n {\n matches = applyRegexList(match.right, [htmlScript.right]);\n offsetMatches(matches, match.index + match[0].lastIndexOf(match.right));\n add(matches);\n }\n\n for (var j = 0, l = results.length; j < l; j++)\n results[j].brushName = brushClass.brushName;\n\n return results;\n }\n};\n\nmodule.exports = HtmlScript;\n\n\n\n// WEBPACK FOOTER //\n// ./src/html_script.js","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n// WEBPACK FOOTER //\n// ./~/process/browser.js","import Renderer from 'syntaxhighlighter-html-renderer';\nimport { XRegExp } from 'syntaxhighlighter-regex';\nimport { applyRegexList } from 'syntaxhighlighter-match';\n\nmodule.exports = class BrushBase {\n /**\n * Converts space separated list of keywords into a regular expression string.\n * @param {String} str Space separated keywords.\n * @return {String} Returns regular expression string.\n */\n getKeywords(str)\n {\n const results = str\n .replace(/^\\s+|\\s+$/g, '')\n .replace(/\\s+/g, '|')\n ;\n\n return `\\\\b(?:${results})\\\\b`;\n }\n\n /**\n * Makes a brush compatible with the `html-script` functionality.\n * @param {Object} regexGroup Object containing `left` and `right` regular expressions.\n */\n forHtmlScript(regexGroup)\n {\n const regex = { 'end': regexGroup.right.source };\n\n if (regexGroup.eof) {\n regex.end = `(?:(?:${regex.end})|$)`;\n }\n\n this.htmlScript = {\n left: { regex: regexGroup.left, css: 'script' },\n right: { regex: regexGroup.right, css: 'script' },\n code: XRegExp(\n \"(?.*?)\" +\n \"(?\" + regex.end + \")\",\n \"sgi\"\n )\n };\n }\n\n getHtml(code, params = {}) {\n const matches = applyRegexList(code, this.regexList);\n const renderer = new Renderer(code, matches, params);\n return renderer.getHtml();\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-base/brush-base.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\nvar XRegExp = require('syntaxhighlighter-regex').XRegExp;\nvar Match = require('syntaxhighlighter-match').Match;\n\nfunction Brush() {\n function hereDocProcess(match, regexInfo) {\n var result = [];\n\n if (match.here_doc != null)\n result.push(new Match(match.here_doc, match.index + match[0].indexOf(match.here_doc), 'string'));\n\n if (match.full_tag != null)\n result.push(new Match(match.full_tag, match.index, 'preprocessor'));\n\n if (match.end_tag != null)\n result.push(new Match(match.end_tag, match.index + match[0].lastIndexOf(match.end_tag), 'preprocessor'));\n\n return result;\n }\n\n var keywords = 'if fi then elif else for do done until while break continue case esac function return in eq ne ge le';\n var commands = 'alias apropos awk basename base64 bash bc bg builtin bunzip2 bzcat bzip2 bzip2recover cal cat cd cfdisk chgrp chmod chown chroot' +\n 'cksum clear cmp comm command cp cron crontab crypt csplit cut date dc dd ddrescue declare df ' +\n 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +\n 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +\n 'free fsck ftp gawk gcc gdb getconf getopts grep groups gunzip gzcat gzip hash head history hostname id ifconfig ' +\n 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +\n 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +\n 'mv nasm nc ndisasm netstat nice nl nohup nslookup objdump od open op passwd paste pathchk ping popd pr printcap ' +\n 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +\n 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +\n 'sleep sort source split ssh strace strings su sudo sum symlink sync tail tar tee test time ' +\n 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +\n 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +\n 'vi watch wc whereis which who whoami Wget xargs xxd yes chsh zcat';\n\n this.regexList = [\n {\n regex: /^#!.*$/gm,\n css: 'preprocessor bold'\n },\n {\n regex: /\\/[\\w-\\/]+/gm,\n css: 'plain'\n },\n {\n regex: regexLib.singleLinePerlComments,\n css: 'comments'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(this.getKeywords(commands), 'gm'),\n css: 'functions'\n },\n {\n regex: new XRegExp(\"(?(<|<){2}(?\\\\w+)) .*$(?[\\\\s\\\\S]*)(?^\\\\k$)\", 'gm'),\n func: hereDocProcess\n }\n\t\t];\n}\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['bash', 'shell', 'sh'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-bash/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n // Copyright 2006 Shin, YoungJin\n\n var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +\n 'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +\n 'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +\n 'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +\n 'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +\n 'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +\n 'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +\n 'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +\n 'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +\n 'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +\n 'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +\n 'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +\n 'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +\n 'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +\n 'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +\n 'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +\n 'char char16_t char32_t bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +\n 'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +\n 'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +\n '__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +\n 'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +\n 'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +\n 'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +\n 'va_list wchar_t wctrans_t wctype_t wint_t signed';\n\n var keywords = 'alignas alignof auto break case catch class const constexpr decltype __finally __exception __try ' +\n 'const_cast continue private public protected __declspec ' +\n 'default delete deprecated dllexport dllimport do dynamic_cast ' +\n 'else enum explicit extern if for friend goto inline ' +\n 'mutable naked namespace new noinline noreturn nothrow noexcept nullptr ' +\n 'register reinterpret_cast return selectany ' +\n 'sizeof static static_cast static_assert struct switch template this ' +\n 'thread thread_local throw true false try typedef typeid typename union ' +\n 'using uuid virtual void volatile whcar_t while';\n\n var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint ' +\n 'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +\n 'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +\n 'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +\n 'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +\n 'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +\n 'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +\n 'fwrite getc getchar gets perror printf putc putchar puts remove ' +\n 'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +\n 'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +\n 'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +\n 'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +\n 'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +\n 'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +\n 'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +\n 'clock ctime difftime gmtime localtime mktime strftime time';\n\n this.regexList = [\n {\n regex: regexLib.singleLineCComments,\n css: 'comments'\n },\n {\n regex: regexLib.multiLineCComments,\n css: 'comments'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: /^ *#.*/gm,\n css: 'preprocessor'\n },\n {\n regex: new RegExp(this.getKeywords(datatypes), 'gm'),\n css: 'color1 bold'\n },\n {\n regex: new RegExp(this.getKeywords(functions), 'gm'),\n css: 'functions bold'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword bold'\n }\n\t\t];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['cpp', 'cc', 'c++', 'c', 'h', 'hpp', 'h++'];\nmodule.exports = Brush;\n\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-cpp/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\nvar Match = require('syntaxhighlighter-match').Match;\n\nfunction Brush() {\n var keywords = 'abstract as base bool break byte case catch char checked class const ' +\n 'continue decimal default delegate do double else enum event explicit volatile ' +\n 'extern false finally fixed float for foreach get goto if implicit in int ' +\n 'interface internal is lock long namespace new null object operator out ' +\n 'override params private protected public readonly ref return sbyte sealed set ' +\n 'short sizeof stackalloc static string struct switch this throw true try ' +\n 'typeof uint ulong unchecked unsafe ushort using virtual void while var ' +\n 'from group by into select let where orderby join on equals ascending descending';\n\n function fixComments(match, regexInfo) {\n var css = (match[0].indexOf(\"///\") == 0) ? 'color1' : 'comments';\n return [new Match(match[0], match.index, css)];\n }\n\n this.regexList = [\n {\n regex: regexLib.singleLineCComments,\n func: fixComments\n },\n {\n regex: regexLib.multiLineCComments,\n css: 'comments'\n },\n {\n regex: /@\"(?:[^\"]|\"\")*\"/g,\n css: 'string'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: /^\\s*#.*/gm,\n css: 'preprocessor'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: /\\bpartial(?=\\s+(?:class|interface|struct)\\b)/g,\n css: 'keyword'\n },\n {\n regex: /\\byield(?=\\s+(?:return|break)\\b)/g,\n css: 'keyword'\n }\n\t\t];\n\n this.forHtmlScript(regexLib.aspScriptTags);\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['c#', 'c-sharp', 'csharp'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-csharp/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n function getKeywordsCSS(str) {\n return '\\\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\\\b|\\\\b([a-z_\\\\*]|\\\\*|)') + '(?=:)\\\\b';\n };\n\n function getValuesCSS(str) {\n return '\\\\b' + str.replace(/ /g, '(?!-)(?!:)\\\\b|\\\\b()') + '\\:\\\\b';\n };\n\n var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +\n 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +\n 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +\n 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +\n 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +\n 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +\n 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +\n 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +\n 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +\n 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +\n 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +\n 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +\n 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +\n 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';\n\n var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder ' +\n 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed ' +\n 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double ' +\n 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia ' +\n 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic ' +\n 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha ' +\n 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower ' +\n 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset ' +\n 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side ' +\n 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow ' +\n 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize ' +\n 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal ' +\n 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin ' +\n 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';\n\n var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';\n\n this.regexList = [\n {\n regex: regexLib.multiLineCComments,\n css: 'comments'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: /\\#[a-fA-F0-9]{3,6}/g,\n css: 'value'\n },\n {\n regex: /(-?\\d+)(\\.\\d+)?(px|em|pt|\\:|\\%|)/g,\n css: 'value'\n },\n {\n regex: /!important/g,\n css: 'color3'\n },\n {\n regex: new RegExp(getKeywordsCSS(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(getValuesCSS(values), 'g'),\n css: 'value'\n },\n {\n regex: new RegExp(this.getKeywords(fonts), 'g'),\n css: 'color1'\n }\n\t\t];\n\n this.forHtmlScript({\n left: /(<|<)\\s*style.*?(>|>)/gi,\n right: /(<|<)\\/\\s*style\\s*(>|>)/gi\n });\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['css'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-css/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n this.regexList = [\n {\n regex: /^\\+\\+\\+ .*$/gm,\n css: 'color2'\n },\n {\n regex: /^\\-\\-\\- .*$/gm,\n css: 'color2'\n },\n {\n regex: /^\\s.*$/gm,\n css: 'color1'\n },\n {\n regex: /^@@.*@@.*$/gm,\n css: 'variable'\n },\n {\n regex: /^\\+.*$/gm,\n css: 'string'\n },\n {\n regex: /^\\-.*$/gm,\n css: 'color3'\n }\n\t\t];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['diff', 'patch'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-diff/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n var keywords = 'abstract assert boolean break byte case catch char class const ' +\n 'continue default do double else enum extends ' +\n 'false final finally float for goto if implements import ' +\n 'instanceof int interface long native new null ' +\n 'package private protected public return ' +\n 'short static strictfp super switch synchronized this throw throws true ' +\n 'transient try void volatile while';\n\n this.regexList = [\n {\n regex: regexLib.singleLineCComments,\n css: 'comments'\n },\n {\n regex: /\\/\\*([^\\*][\\s\\S]*?)?\\*\\//gm,\n css: 'comments'\n },\n {\n regex: /\\/\\*(?!\\*\\/)\\*[\\s\\S]*?\\*\\//gm,\n css: 'preprocessor'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: /\\b([\\d]+(\\.[\\d]+)?f?|[\\d]+l?|0x[a-f0-9]+)\\b/gi,\n css: 'value'\n },\n {\n regex: /(?!\\@interface\\b)\\@[\\$\\w]+\\b/g,\n css: 'color1'\n },\n {\n regex: /\\@interface\\b/g,\n css: 'color2'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n }\n\t\t];\n\n this.forHtmlScript({\n left: /(<|<)%[@!=]?/g,\n right: /%(>|>)/g\n });\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['java'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-java/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n var keywords = 'break case catch class continue ' +\n 'default delete do else enum export extends false ' +\n 'for from as function if implements import in instanceof ' +\n 'interface let new null package private protected ' +\n 'static return super switch ' +\n 'this throw true try typeof var while with yield';\n\n this.regexList = [\n {\n regex: regexLib.multiLineDoubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.multiLineSingleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleLineCComments,\n css: 'comments'\n },\n {\n regex: regexLib.multiLineCComments,\n css: 'comments'\n },\n {\n regex: /\\s*#.*/gm,\n css: 'preprocessor'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n }\n ];\n\n this.forHtmlScript(regexLib.scriptScriptTags);\n}\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['js', 'jscript', 'javascript', 'json'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-javascript/brush.js","import BrushBase from 'brush-base';\nimport {commonRegExp} from 'syntaxhighlighter-regex';\n\nconst functions = 'abs acos acosh addcslashes addslashes ' +\n 'array_change_key_case array_chunk array_combine array_count_values array_diff ' +\n 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill ' +\n 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key ' +\n 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map ' +\n 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product ' +\n 'array_push array_rand array_reduce array_reverse array_search array_shift ' +\n 'array_slice array_splice array_sum array_udiff array_udiff_assoc ' +\n 'array_udiff_uassoc array_uintersect array_uintersect_assoc ' +\n 'array_uintersect_uassoc array_unique array_unshift array_values array_walk ' +\n 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert ' +\n 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress ' +\n 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir ' +\n 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists ' +\n 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct ' +\n 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log ' +\n 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded ' +\n 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents ' +\n 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype ' +\n 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf ' +\n 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname ' +\n 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt ' +\n 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext ' +\n 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set ' +\n 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double ' +\n 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long ' +\n 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault ' +\n 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br ' +\n 'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir ' +\n 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split ' +\n 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes ' +\n 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk ' +\n 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime ' +\n 'strtoupper strtr strval substr substr_compare';\n\nconst keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +\n 'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final finally for foreach ' +\n 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +\n 'old_function or private protected public return require require_once static switch ' +\n 'trait throw try use const while xor yield ';\n\nconst constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';\n\nexport default class Brush extends BrushBase {\n static get aliases() {\n return ['php'];\n }\n\n constructor() {\n super();\n\n this.regexList = [\n {regex: commonRegExp.singleLineCComments, css: 'comments'},\n {regex: commonRegExp.multiLineCComments, css: 'comments'},\n {regex: commonRegExp.doubleQuotedString, css: 'string'},\n {regex: commonRegExp.singleQuotedString, css: 'string'},\n {regex: /\\$\\w+/g, css: 'variable'},\n {regex: new RegExp(this.getKeywords(functions), 'gmi'), css: 'functions'},\n {regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants'},\n {regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword'}\n ];\n\n this.forHtmlScript(commonRegExp.phpScriptTags);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-php/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n // Contributed by Gheorghe Milas and Ahmad Sherif\n\n var keywords = 'and assert break class continue def del elif else ' +\n 'except exec finally for from global if import in is ' +\n 'lambda not or pass raise return try yield while';\n\n var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +\n 'chr classmethod cmp coerce compile complex delattr dict dir ' +\n 'divmod enumerate eval execfile file filter float format frozenset ' +\n 'getattr globals hasattr hash help hex id input int intern ' +\n 'isinstance issubclass iter len list locals long map max min next ' +\n 'object oct open ord pow print property range raw_input reduce ' +\n 'reload repr reversed round set setattr slice sorted staticmethod ' +\n 'str sum super tuple type type unichr unicode vars xrange zip';\n\n var special = 'None True False self cls class_';\n\n this.regexList = [\n {\n regex: regexLib.singleLinePerlComments,\n css: 'comments'\n },\n {\n regex: /^\\s*@\\w+/gm,\n css: 'decorator'\n },\n {\n regex: /(['\\\"]{3})([^\\1])*?\\1/gm,\n css: 'comments'\n },\n {\n regex: /\"(?!\")(?:\\.|\\\\\\\"|[^\\\"\"\\n])*\"/gm,\n css: 'string'\n },\n {\n regex: /'(?!')(?:\\.|(\\\\\\')|[^\\''\\n])*'/gm,\n css: 'string'\n },\n {\n regex: /\\+|\\-|\\*|\\/|\\%|=|==/gm,\n css: 'keyword'\n },\n {\n regex: /\\b\\d+\\.?\\w*/g,\n css: 'value'\n },\n {\n regex: new RegExp(this.getKeywords(funcs), 'gmi'),\n css: 'functions'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(this.getKeywords(special), 'gm'),\n css: 'color1'\n }\n\t\t\t];\n\n this.forHtmlScript(regexLib.aspScriptTags);\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['py', 'python'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-python/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n // Contributed by Erik Peterson.\n\n var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +\n 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +\n 'self super then throw true undef unless until when while yield';\n\n var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +\n 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +\n 'ThreadGroup Thread Time TrueClass';\n\n this.regexList = [\n {\n regex: regexLib.singleLinePerlComments,\n css: 'comments'\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.singleQuotedString,\n css: 'string'\n },\n {\n regex: /\\b[A-Z0-9_]+\\b/g,\n css: 'constants'\n },\n {\n regex: /:[a-z][A-Za-z0-9_]*/g,\n css: 'color2'\n },\n {\n regex: /(\\$|@@|@)\\w+/g,\n css: 'variable bold'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(this.getKeywords(builtins), 'gm'),\n css: 'color1'\n }\n\t\t];\n\n this.forHtmlScript(regexLib.aspScriptTags);\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['ruby', 'rails', 'ror', 'rb'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-ruby/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n function getKeywordsCSS(str) {\n return '\\\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\\\b|\\\\b([a-z_\\\\*]|\\\\*|)') + '(?=:)\\\\b';\n };\n\n function getValuesCSS(str) {\n return '\\\\b' + str.replace(/ /g, '(?!-)(?!:)\\\\b|\\\\b()') + '\\:\\\\b';\n };\n\n function getKeywordsPrependedBy(keywords, by) {\n return '(?:' + keywords.replace(/^\\s+|\\s+$/g, '').replace(/\\s+/g, '|' + by + '\\\\b').replace(/^/, by + '\\\\b') + ')\\\\b';\n }\n\n var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +\n 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +\n 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +\n 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +\n 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +\n 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +\n 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +\n 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +\n 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +\n 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +\n 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +\n 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +\n 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +\n 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index zoom';\n\n var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder ' +\n 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed ' +\n 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double ' +\n 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia ' +\n 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic ' +\n 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha ' +\n 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower ' +\n 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset ' +\n 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side ' +\n 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow ' +\n 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize ' +\n 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal ' +\n 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin ' +\n 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';\n\n var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';\n\n var statements = 'important default';\n var preprocessor = 'import extend debug warn if else for while mixin function include content media';\n\n var r = regexLib;\n\n this.regexList = [\n {\n regex: r.multiLineCComments,\n css: 'comments'\n },\n {\n regex: r.singleLineCComments,\n css: 'comments'\n },\n {\n regex: r.doubleQuotedString,\n css: 'string'\n },\n {\n regex: r.singleQuotedString,\n css: 'string'\n },\n {\n regex: /\\#[a-fA-F0-9]{3,6}/g,\n css: 'value'\n },\n {\n regex: /\\b(-?\\d+)(\\.\\d+)?(px|em|rem|pt|\\:|\\%|)\\b/g,\n css: 'value'\n },\n {\n regex: /\\$[\\w-]+/g,\n css: 'variable'\n },\n {\n regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'),\n css: 'color3'\n },\n {\n regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'),\n css: 'preprocessor'\n },\n {\n regex: new RegExp(getKeywordsCSS(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(getValuesCSS(values), 'g'),\n css: 'value'\n },\n {\n regex: new RegExp(this.getKeywords(fonts), 'g'),\n css: 'color1'\n }\n\t\t];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['sass', 'scss'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-sass/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\n\nfunction Brush() {\n var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +\n 'current_user day isnull left lower month nullif replace right ' +\n 'session_user space substring sum system_user upper user year';\n\n var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +\n 'binary bit by cascade char character check checkpoint close collate ' +\n 'column commit committed connect connection constraint contains continue ' +\n 'create cube current current_date current_time cursor database date ' +\n 'deallocate dec decimal declare default delete desc distinct double drop ' +\n 'dynamic else end end-exec escape except exec execute false fetch first ' +\n 'float for force foreign forward free from full function global goto grant ' +\n 'group grouping having hour ignore index inner insensitive insert instead ' +\n 'int integer intersect into is isolation key last level load local max min ' +\n 'minute modify move name national nchar next no numeric of off on only ' +\n 'open option order out output partial password precision prepare primary ' +\n 'prior privileges procedure public read real references relative repeatable ' +\n 'restrict return returns revoke rollback rollup rows rule schema scroll ' +\n 'second section select sequence serializable set size smallint static ' +\n 'statistics table temp temporary then time timestamp to top transaction ' +\n 'translation trigger true truncate uncommitted union unique update values ' +\n 'varchar varying view when where with work';\n\n var operators = 'all and any between cross in join like not null or outer some';\n\n this.regexList = [\n {\n regex: /--(.*)$/gm,\n css: 'comments'\n },\n {\n regex: /\\/\\*([^\\*][\\s\\S]*?)?\\*\\//gm,\n css: 'comments'\n },\n {\n regex: regexLib.multiLineDoubleQuotedString,\n css: 'string'\n },\n {\n regex: regexLib.multiLineSingleQuotedString,\n css: 'string'\n },\n {\n regex: new RegExp(this.getKeywords(funcs), 'gmi'),\n css: 'color2'\n },\n {\n regex: new RegExp(this.getKeywords(operators), 'gmi'),\n css: 'color1'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gmi'),\n css: 'keyword'\n }\n\t\t];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['sql'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-sql/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\nvar Match = require('syntaxhighlighter-match').Match;\n\nfunction Brush() {\n // Swift brush contributed by Nate Cook\n // http://natecook.com/code/swift-syntax-highlighting\n\n function getKeywordsPrependedBy(keywords, by) {\n return '(?:' + keywords.replace(/^\\s+|\\s+$/g, '').replace(/\\s+/g, '|' + by + '\\\\b').replace(/^/, by + '\\\\b') + ')\\\\b';\n }\n\n function multiLineCCommentsAdd(match, regexInfo) {\n var str = match[0],\n result = [],\n pos = 0,\n matchStart = 0,\n level = 0;\n\n while (pos < str.length - 1) {\n var chunk = str.substr(pos, 2);\n if (level == 0) {\n if (chunk == \"/*\") {\n matchStart = pos;\n level++;\n pos += 2;\n } else {\n pos++;\n }\n } else {\n if (chunk == \"/*\") {\n level++;\n pos += 2;\n } else if (chunk == \"*/\") {\n level--;\n if (level == 0) {\n result.push(new Match(str.substring(matchStart, pos + 2), matchStart + match.index, regexInfo.css));\n }\n pos += 2;\n } else {\n pos++;\n }\n }\n }\n\n return result;\n }\n\n function stringAdd(match, regexInfo) {\n var str = match[0],\n result = [],\n pos = 0,\n matchStart = 0,\n level = 0;\n\n while (pos < str.length - 1) {\n if (level == 0) {\n if (str.substr(pos, 2) == \"\\\\(\") {\n result.push(new Match(str.substring(matchStart, pos + 2), matchStart + match.index, regexInfo.css));\n level++;\n pos += 2;\n } else {\n pos++;\n }\n } else {\n if (str[pos] == \"(\") {\n level++;\n }\n if (str[pos] == \")\") {\n level--;\n if (level == 0) {\n matchStart = pos;\n }\n }\n pos++;\n }\n }\n if (level == 0) {\n result.push(new Match(str.substring(matchStart, str.length), matchStart + match.index, regexInfo.css));\n }\n\n return result;\n };\n\n // \"Swift-native types\" are all the protocols, classes, structs, enums, funcs, vars, and typealiases built into the language\n var swiftTypes = 'AbsoluteValuable Any AnyClass Array ArrayBound ArrayBuffer ArrayBufferType ArrayLiteralConvertible ArrayType AutoreleasingUnsafePointer BidirectionalIndex Bit BitwiseOperations Bool C CBool CChar CChar16 CChar32 CConstPointer CConstVoidPointer CDouble CFloat CInt CLong CLongLong CMutablePointer CMutableVoidPointer COpaquePointer CShort CSignedChar CString CUnsignedChar CUnsignedInt CUnsignedLong CUnsignedLongLong CUnsignedShort CVaListPointer CVarArg CWideChar Character CharacterLiteralConvertible Collection CollectionOfOne Comparable ContiguousArray ContiguousArrayBuffer DebugPrintable Dictionary DictionaryGenerator DictionaryIndex DictionaryLiteralConvertible Double EmptyCollection EmptyGenerator EnumerateGenerator Equatable ExtendedGraphemeClusterLiteralConvertible ExtendedGraphemeClusterType ExtensibleCollection FilterCollectionView FilterCollectionViewIndex FilterGenerator FilterSequenceView Float Float32 Float64 Float80 FloatLiteralConvertible FloatLiteralType FloatingPointClassification FloatingPointNumber ForwardIndex Generator GeneratorOf GeneratorOfOne GeneratorSequence Hashable HeapBuffer HeapBufferStorage HeapBufferStorageBase ImplicitlyUnwrappedOptional IndexingGenerator Int Int16 Int32 Int64 Int8 IntEncoder IntMax Integer IntegerArithmetic IntegerLiteralConvertible IntegerLiteralType Less LifetimeManager LogicValue MapCollectionView MapSequenceGenerator MapSequenceView MaxBuiltinFloatType MaxBuiltinIntegerType Mirror MirrorDisposition MutableCollection MutableSliceable ObjectIdentifier OnHeap Optional OutputStream PermutationGenerator Printable QuickLookObject RandomAccessIndex Range RangeGenerator RawByte RawOptionSet RawRepresentable Reflectable Repeat ReverseIndex ReverseRange ReverseRangeGenerator ReverseView Sequence SequenceOf SignedInteger SignedNumber Sink SinkOf Slice SliceBuffer Sliceable StaticString Streamable StridedRangeGenerator String StringElement StringInterpolationConvertible StringLiteralConvertible StringLiteralType UInt UInt16 UInt32 UInt64 UInt8 UIntMax UTF16 UTF32 UTF8 UWord UnicodeCodec UnicodeScalar Unmanaged UnsafeArray UnsafePointer UnsignedInteger Void Word Zip2 ZipGenerator2 abs advance alignof alignofValue assert bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal false filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced join lexicographicalCompare map max maxElement min minElement nil numericCast partition posix print println quickSort reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith strideof strideofValue swap swift toString transcode true underestimateCount unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafePointers withVaList';\n\n var keywords = 'as break case class continue default deinit do dynamicType else enum ' +\n 'extension fallthrough for func if import in init is let new protocol ' +\n 'return self Self static struct subscript super switch Type typealias ' +\n 'var where while __COLUMN__ __FILE__ __FUNCTION__ __LINE__ associativity ' +\n 'didSet get infix inout left mutating none nonmutating operator override ' +\n 'postfix precedence prefix right set unowned unowned(safe) unowned(unsafe) weak willSet';\n\n var attributes = 'assignment class_protocol exported final lazy noreturn NSCopying NSManaged objc optional required auto_closure noreturn IBAction IBDesignable IBInspectable IBOutlet infix prefix postfix';\n\n\n this.regexList = [\n // html entities\n {\n regex: new RegExp('\\&[a-z]+;', 'gi'),\n css: 'plain'\n },\n {\n regex: regexLib.singleLineCComments,\n css: 'comments'\n },\n {\n regex: new RegExp('\\\\/\\\\*[\\\\s\\\\S]*\\\\*\\\\/', 'g'),\n css: 'comments',\n func: multiLineCCommentsAdd\n },\n {\n regex: regexLib.doubleQuotedString,\n css: 'string',\n func: stringAdd\n },\n {\n regex: new RegExp('\\\\b([\\\\d_]+(\\\\.[\\\\de_]+)?|0x[a-f0-9_]+(\\\\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\\\b', 'gi'),\n css: 'value'\n },\n {\n regex: new RegExp(this.getKeywords(keywords), 'gm'),\n css: 'keyword'\n },\n {\n regex: new RegExp(getKeywordsPrependedBy(attributes, '@'), 'gm'),\n css: 'color1'\n },\n {\n regex: new RegExp(this.getKeywords(swiftTypes), 'gm'),\n css: 'color2'\n },\n {\n regex: new RegExp('\\\\b([a-zA-Z_][a-zA-Z0-9_]*)\\\\b', 'gi'),\n css: 'variable'\n },\n ];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['swift'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-swift/brush.js","var BrushBase = require('brush-base');\nvar regexLib = require('syntaxhighlighter-regex').commonRegExp;\nvar XRegExp = require('syntaxhighlighter-regex').XRegExp;\nvar Match = require('syntaxhighlighter-match').Match;\n\nfunction Brush() {\n function process(match, regexInfo) {\n var code = match[0],\n tag = XRegExp.exec(code, XRegExp('(<|<)[\\\\s\\\\/\\\\?!]*(?[:\\\\w-\\\\.]+)', 'xg')),\n result = [];\n\n if (match.attributes != null) {\n var attributes,\n pos = 0,\n regex = XRegExp('(? [\\\\w:.-]+)' +\n '\\\\s*=\\\\s*' +\n '(? \".*?\"|\\'.*?\\'|\\\\w+)',\n 'xg');\n\n while ((attributes = XRegExp.exec(code, regex, pos)) != null) {\n result.push(new Match(attributes.name, match.index + attributes.index, 'color1'));\n result.push(new Match(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));\n pos = attributes.index + attributes[0].length;\n }\n }\n\n if (tag != null)\n result.push(\n new Match(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')\n );\n\n return result;\n }\n\n this.regexList = [\n {\n regex: XRegExp('(\\\\<|<)\\\\!\\\\[[\\\\w\\\\s]*?\\\\[(.|\\\\s)*?\\\\]\\\\](\\\\>|>)', 'gm'),\n css: 'color2'\n },\n {\n regex: regexLib.xmlComments,\n css: 'comments'\n },\n {\n regex: XRegExp('(<|<)[\\\\s\\\\/\\\\?!]*(\\\\w+)(?.*?)[\\\\s\\\\/\\\\?]*(>|>)', 'sg'),\n func: process\n }\n\t];\n};\n\nBrush.prototype = new BrushBase();\nBrush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'plist'];\nmodule.exports = Brush;\n\n\n// WEBPACK FOOTER //\n// ./repos/brush-xml/brush.js","/*!\n * domready (c) Dustin Diaz 2014 - License MIT\n */\n!function (name, definition) {\n\n if (typeof module != 'undefined') module.exports = definition()\n else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)\n else this[name] = definition()\n\n}('domready', function () {\n\n var fns = [], listener\n , doc = document\n , hack = doc.documentElement.doScroll\n , domContentLoaded = 'DOMContentLoaded'\n , loaded = (hack ? /^loaded|^c/ : /^loaded|^i|^c/).test(doc.readyState)\n\n\n if (!loaded)\n doc.addEventListener(domContentLoaded, listener = function () {\n doc.removeEventListener(domContentLoaded, listener)\n loaded = 1\n while (listener = fns.shift()) listener()\n })\n\n return function (fn) {\n loaded ? setTimeout(fn, 0) : fns.push(fn)\n }\n\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/domready/ready.js","export const string = value =>\n value\n .replace(/^([A-Z])/g, (_, character) => character.toLowerCase())\n .replace(/([A-Z])/g, (_, character) => '-' + character.toLowerCase());\n\nexport const object = value => {\n const result = {};\n Object.keys(value).forEach(key => result[string(key)] = value[key]);\n return result;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/dasherize.js"],"sourceRoot":""}