/**handles:syntaxhighlighter-core,syntaxhighlighter-brush-bash**/ var XRegExp,SyntaxHighlighter,XRegExp=XRegExp||(s=>{function o(e,t,n){var r;for(r in f.prototype)f.prototype.hasOwnProperty(r)&&(e[r]=f.prototype[r]);return e.xregexp={captureNames:t,isNative:!!n},e}function l(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function u(e,t,n){var t;if(f.isRegExp(e))return t=p.replace.call(l(e)+(t||""),w,""),n&&(t=p.replace.call(t,RegExp("["+n+"]+","g"),"")),e.xregexp&&!e.xregexp.isNative?o(f(e.source,t),e.xregexp.captureNames?e.xregexp.captureNames.slice(0):null):o(RegExp(e.source,t),null,!0);throw new TypeError("type RegExp expected")}function c(e,t){var n=e.length;if(Array.prototype.lastIndexOf)return e.lastIndexOf(t);for(;n--;)if(e[n]===t)return n;return-1}function g(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"}function t(e){return"all"===(e=e||{})||e.all?e={natives:!0,extensibility:!0}:g(e,"string")&&(e=f.forEach(e,/[^\s,]+/,function(e){this[e]=!0},{})),e}function h(e,t,n,r){var i,a,l=m.length,s=null;R=!0;try{for(;l--;)if(!("all"!==(a=m[l]).scope&&a.scope!==n||a.trigger&&!a.trigger.call(r))&&(a.pattern.lastIndex=t,i=d.exec.call(a.pattern,e))&&i.index===t){s={output:a.handler.call(r,i,n),match:i};break}}catch(e){throw e}finally{R=!1}return s}function n(e){f.addToken=i[e?"on":"off"],a.extensibility=e}function r(e){RegExp.prototype.exec=(e?d:p).exec,RegExp.prototype.test=(e?d:p).test,String.prototype.match=(e?d:p).match,String.prototype.replace=(e?d:p).replace,String.prototype.split=(e?d:p).split,a.natives=e}var f,i,e,a={natives:!1,extensibility:!1},p={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},d={},x={},m=[],v="default",b="class",y={default:/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,class:/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},E=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,w=/([\s\S])(?=[\s\S]*\1)/g,S=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,N=p.exec.call(/()??/,"")[1]===s,H=RegExp.prototype.sticky!==s,R=!1,T="gim"+(H?"y":""),f=function(e,n){if(f.isRegExp(e)){if(n!==s)throw new TypeError("can't supply flags when constructing one RegExp from another");return u(e)}if(R)throw Error("can't call the XRegExp constructor within token definition functions");var t,t,t,r=[],i=v,a={hasNamedCapture:!1,captureNames:[],hasFlag:function(e){return-1l;)(t=h(e,l,i,a))?(r.push(t.output),l+=t.match[0].length||1):(t=p.exec.call(y[i],e.slice(l)))?(r.push(t[0]),l+=t[0].length):("["===(t=e.charAt(l))?i=b:"]"===t&&(i=v),r.push(t),++l);return o(RegExp(r.join(""),p.replace.call(n,/[^gimy]+/g,"")),a.hasNamedCapture?a.captureNames:null)},i={on:function(e,t,n){n=n||{},e&&m.push({pattern:u(e,"g"+(H?"y":"")),handler:t,scope:n.scope||v,trigger:n.trigger||null}),n.customFlags&&(T=p.replace.call(T+n.customFlags,w,""))},off:function(){throw Error("extensibility must be installed before using addToken")}};return f.addToken=i.off,f.cache=function(e,t){var n=e+"/"+(t||"");return x[n]||(x[n]=f(e,t))},f.escape=function(e){return p.replace.call(e,/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},f.exec=function(e,t,n,r){var e,i=u(t,"g"+(r&&H?"y":""),!1===r?"y":"");return i.lastIndex=n=n||0,e=d.exec.call(i,e),r&&e&&e.index!==n&&(e=null),t.global&&(t.lastIndex=e?i.lastIndex:0),e},f.forEach=function(e,t,n,r){for(var i,a=0,l=-1;i=f.exec(e,t,a);)n.call(r,i,++l,e,t),a=i.index+(i[0].length||1);return r},f.globalize=function(e){return u(e,"g")},f.install=function(e){e=t(e),!a.natives&&e.natives&&r(!0),!a.extensibility&&e.extensibility&&n(!0)},f.isInstalled=function(e){return!!a[e]},f.isRegExp=function(e){return g(e,"regexp")},f.matchChain=function(e,s){return function e(t,n){for(var r,i=s[n].regex?s[n]:{regex:s[n]},a=[],l=function(e){a.push(i.backref?e[i.backref]||"":e[0])},r=0;t.length>r;++r)f.forEach(t[r],i.regex,l);return n!==s.length-1&&a.length?e(a,n+1):a}([e],0)},f.replace=function(e,t,n,r){var r,i=f.isRegExp(t),a=t;return i?a=u(t,"all"===(r=r===s&&t.global?"all":r)?"g":"","all"===r?"":"g"):"all"===r&&(a=RegExp(f.escape(t+""),"g")),r=d.replace.call(e+"",a,n),i&&t.global&&(t.lastIndex=0),r},f.split=function(e,t,n){return d.split.call(e,t,n)},f.test=function(e,t,n,r){return!!f.exec(e,t,n,r)},f.uninstall=function(e){e=t(e),a.natives&&e.natives&&r(!1),a.extensibility&&e.extensibility&&n(!1)},f.union=function(e,t){var i,a,n,r,l=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g,s=0,o=function(e,t,n){var r=a[s-i];if(t){if(++s,r)return"(?<"+r+">"}else if(n)return"\\"+(+n+i);return e},u=[];if(!g(e,"array")||!e.length)throw new TypeError("patterns must be a nonempty array");for(r=0;e.length>r;++r)f.isRegExp(n=e[r])?(i=s,a=n.xregexp&&n.xregexp.captureNames||[],u.push(f(n.source).source.replace(l,o))):u.push(f.escape(n));return f(u.join("|"),t)},f.version="2.0.0",d.exec=function(e){var t,n,r,i,a;if(this.global||(i=this.lastIndex),t=p.exec.apply(this,arguments)){if(!N&&1a;++a)(n=this.xregexp.captureNames[a-1])&&(t[n]=t[a]);this.global&&!t[0].length&&this.lastIndex>t.index&&(this.lastIndex=t.index)}return this.global||(this.lastIndex=i),t},d.test=function(e){return!!d.exec.call(this,e)},d.match=function(e){var t;if(f.isRegExp(e)){if(e.global)return t=p.match.apply(this,arguments),e.lastIndex=0,t}else e=RegExp(e);return d.exec.call(e,this)},d.replace=function(n,r){var a,e,t,i,l=f.isRegExp(n);return l?(n.xregexp&&(a=n.xregexp.captureNames),n.global||(i=n.lastIndex)):n+="",e=g(r,"function")?p.replace.call(this+"",n,function(){var e,t=arguments;if(a)for(t[0]=new String(t[0]),e=0;a.length>e;++e)a[e]&&(t[0][a[e]]=t[e+1]);return l&&n.global&&(n.lastIndex=t[t.length-2]+t[0].length),r.apply(null,t)}):p.replace.call(t=this+"",n,function(){var i=arguments;return p.replace.call(r+"",E,function(e,t,n){var r;if(t){if(i.length-3>=(r=+t))return i[r]||"";if((r=a?c(a,t):-1)<0)throw new SyntaxError("backreference to undefined group "+e);return i[r+1]||""}if("$"===n)return"$";if("&"===n||0==+n)return i[0];if("`"===n)return i[i.length-1].slice(0,i[i.length-2]);if("'"===n)return i[i.length-1].slice(i[i.length-2]+i[0].length);if(n=+n,isNaN(n))throw new SyntaxError("invalid token "+e);if(n>i.length-3)throw new SyntaxError("backreference to undefined group "+e);return i[n]||""})}),l&&(n.lastIndex=n.global?0:i),e},d.split=function(e,t){var n,r,i,a,l;return f.isRegExp(e)?(r=this+"",i=e.lastIndex,a=[],t=(t===s?-1:t)>>>(l=0),f.forEach(r,e,function(e){e.index+e[0].length>l&&(a.push(r.slice(l,e.index)),1/,function(e){var t=isNaN(e[1])?c(this.captureNames,e[1])+1:+e[1],n=e.index+e[0].length;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference to undefined group "+e[0]);return"\\"+t+(n===e.input.length||isNaN(e.input.charAt(n))?"":"(?:)")}),e(/(?:\s+|#.*)+/,function(e){return p.test.call(S,e.input.slice(e.index+e[0].length))?"":"(?:)"},{trigger:function(){return this.hasFlag("x")},customFlags:"x"}),e(/\./,function(){return"[\\s\\S]"},{trigger:function(){return this.hasFlag("s")},customFlags:"s"}),e(/\(\?P?<([\w$]+)>/,function(e){if(isNaN(e[1]))return this.captureNames.push(e[1]),this.hasNamedCapture=!0,"(";throw new SyntaxError("can't use integer as capture name "+e[0])}),e(/\\(\d+)/,function(e,t){if(t===v&&/^[1-9]/.test(e[1])&&+e[1]<=this.captureNames.length||"0"===e[1])return e[0];throw new SyntaxError("can't use octal escape or backreference to undefined group "+e[0])},{scope:"all"}),e(/\((?!\?)/,function(){return this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:"n"}),"undefined"!=typeof exports&&(exports.XRegExp=f),f})();void 0===SyntaxHighlighter&&(SyntaxHighlighter=(()=>{function a(e){return document.createElement("div").appendChild(document.createTextNode(e)).parentNode.innerHTML.replace(/"/g,""")}function n(e,t){return-1!=e.className.indexOf(t)}function o(e,t){n(e,t)||(e.className+=" "+t)}function u(e,t){e.className=e.className.replace(t,"")}function s(e){for(var t=[],n=0,r=e.length;n(.*?))\\]$"),i=0,a=XRegExp("(?[\\w-]+)\\s*:\\s*(?[\\w%#-]+|\\[.*?\\]|\".*?\"|'.*?')\\s*;?","g");null!=(t=XRegExp.exec(e,a,i));){var l=t.value.replace(/^['"]|['"]$/g,""),s,l;null!=l&&r.test(l)&&(l=0<(s=XRegExp.exec(l,r)).values.length?s.values.split(/\s*,\s*/):[]),n[t.name]=l,i=t.index+t[0].length}return n}function N(e,n){return null==e||0==e.length||"\n"==e||(e=(e=e.replace(/'+e+"")}))),e}function H(e,t){for(var n=""+e;t>n.length;)n="0"+n;return n}function R(e,t){for(var n="",r=0;r|<br\s*\/?>/gi;return 1==B.config.bloggerMode&&(e=e.replace(t,"\n")),e=1==B.config.stripBrs?e.replace(t,""):e}function P(e){return e.replace(/^\s+|\s+$/g,"")}function k(e){for(var t=g(C(e)),n=/^\s*/,r=1e3,i=0,a=t.length;it.index?1:e.lengtht.length?1:0}function I(e,t){function n(e){return e[0]}var r=null,i=[],a=t.func||n;for(pos=0;null!=(r=XRegExp.exec(e,t.regex,pos));){var l=a(r,t);"string"==typeof l&&(l=[new B.Match(l,r.index,t.css)]),i=i.concat(l),pos=r.index+r[0].length}return i}function A(e){var r=/(.*)((>|<).*)/;return e.replace(B.regexLib.url,function(e){var t="",n=null;return(n=r.exec(e))&&(e=n[1],t=n[2]),''+e+""+t})}function M(){for(var e=document.getElementsByTagName("script"),t=[],n=0,r=e.length;nAbout SyntaxHighlighter
SyntaxHighlighter
version 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
JavaScript code syntax highlighter.
Copyright 2004-2013 Alex Gorbatchev.
If you like this script, please donate to
keep development active!
'}},vars:{discoveredBrushes:null,highlighters:{}},brushes:{},regexLib:{multiLineCComments:(XRegExp="undefined"!=typeof require&&void 0===XRegExp?require("xregexp").XRegExp:XRegExp)("/\\*.*?\\*/","gs"),singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:XRegExp('"([^\\\\"]|\\\\.)*"',"gs"),multiLineSingleQuotedString:XRegExp("'([^\\\\']|\\\\.)*'","gs"),xmlComments:XRegExp("(<|<)!--.*?--(>|>)","gs"),url:/https?:\/\/[\w-.\/?%&=:@;#]*/g,phpScriptTags:{left:/(<|<)\?(?:=|php)?/g,right:/\?(>|>)/g,eof:!0},aspScriptTags:{left:/(<|<)%=?/g,right:/%(>|>)/g},scriptScriptTags:{left:/(<|<)\s*script.*?(>|>)/gi,right:/(<|<)\/\s*script\s*(>|>)/gi}},toolbar:{getHtml:function(e){function t(e,t){return B.toolbar.getButtonHtml(e,t,B.config.strings[t])}for(var n='
',r=B.toolbar.items,i=r.list,a=0,l=i.length;a"},getButtonHtml:function(e,t,n){return''+a(n)+""},handler:function(e){function t(e){var t,e=RegExp(e+"_(\\w+)").exec(r);return e?e[1]:null}var n=e.target,r=n.className||"",n=c(f(n,".syntaxhighlighter").id),i=t("command");n&&i&&B.toolbar.items[i].execute(n),e.preventDefault()},items:{list:["expandSource","help"],expandSource:{getHtml:function(e){var t;return 1!=e.getParam("collapse")?"":(t=e.getParam("title"),B.toolbar.getButtonHtml(e,"expandSource",t||B.config.strings.expandSource))},execute:function(e){var t;u(r(e.id),"collapsed")}},help:{execute:function(){var e=m("","_blank",500,250,"scrollbars=0"),t=e.document;t.write(B.config.strings.aboutDialog),t.close(),e.focus()}}}},findElements:function(e,t){var n=t?[t]:s(document.getElementsByTagName(B.config.tagName)),t=B.config,r=[];if(0!==(n=t.useScriptTags?n.concat(M()):n).length)for(var i=0,a=n.length;i{var e=i[a];r[e]=function(){return n[e].apply(n,arguments)}})();return null==g.htmlScript?void b(B.config.strings.brushNotHtmlScript+e):void n.regexList.push({regex:g.htmlScript.code,func:t})}},B.Highlighter=function(){},B.Highlighter.prototype={getParam:function(e,t){var e=this.params[e];return x(null==e?t:e)},create:function(e){return document.createElement(e)},findMatches:function(e,t){var n=[];if(null!=e)for(var r=0,i=e.length;ri)break;l.index==r.index&&l.length>r.length?e[t]=null:l.index>=r.index&&i>l.index&&(e[a]=null)}}return e},figureOutLineNumbers:function(e){var n=[],r=parseInt(this.getParam("first-line"));return E(e,function(e,t){n.push(t+r)}),n},isLineHighlighted:function(e){var t=this.getParam("highlight",[]);return-1!=i(t="object"!=typeof t&&null==t.push?[t]:t,""+e)},getLineHtml:function(e,t,n){var e=["line","number"+t,"index"+e,"alt"+(0==t%2?1:2)];return this.isLineHighlighted(t)&&e.push("highlighted"),0==t&&e.push("break"),'
'+n+"
"},getLineNumbersHtml:function(e,t){var n="",r=g(e).length,i=parseInt(this.getParam("first-line")),a=this.getParam("pad-line-numbers");1==a?a=(""+(i+r-1)).length:1==isNaN(a)&&(a=0);for(var l=0;l'+u+"":"")+s)}return e},getTitleHtml:function(e){return e?""+a(e)+"":""},getMatchesHtml:function(e,t){function n(e){var e=e&&e.brushName||a;return e?e+" ":""}for(var r=0,i="",a=this.getParam("brush",""),l=0,s=t.length;l'+(this.getParam("toolbar")?B.toolbar.getHtml(this):"")+''+this.getTitleHtml(this.getParam("title"))+""+(gutter?'":"")+'
'+this.getLineNumbersHtml(e)+"
'+r+"
"},getDiv:function(e){this.code=e=null===e?"":e;var t=this.create("div");return t.innerHTML=this.getHtml(e),this.getParam("toolbar")&&v(h(t,".toolbar"),"click",B.toolbar.handler),this.getParam("quick-code")&&v(h(t,".code"),"dblclick",O),t},init:function(e){this.id=p(),t(this),this.params=d(B.defaults,e||{}),1==this.getParam("light")&&(this.params.toolbar=this.params.gutter=!1)},getKeywords:function(e){return"\\b(?:"+(e=e.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|"))+")\\b"},forHtmlScript:function(e){var t={end:e.right.source};e.eof&&(t.end="(?:(?:"+t.end+")|$)"),this.htmlScript={left:{regex:e.left,css:"script"},right:{regex:e.right,css:"script"},code:XRegExp("(?"+e.left.source+")(?.*?)(?"+t.end+")","sgi")}}},B})()),"undefined"!=typeof exports&&(exports.SyntaxHighlighter=SyntaxHighlighter); (()=>{function e(){function e(e,t){var s=SyntaxHighlighter.Match,r=[];return null!=e.here_doc&&r.push(new s(e.here_doc,e.index+e[0].indexOf(e.here_doc),"string")),null!=e.full_tag&&r.push(new s(e.full_tag,e.index,"preprocessor")),null!=e.end_tag&&r.push(new s(e.end_tag,e.index+e[0].lastIndexOf(e.end_tag),"preprocessor")),r}var t,s="alias apropos awk basename base64 bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chrootcksum clear cmp comm command cp cron crontab crypt csplit cut date dc dd ddrescue declare df diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format free fsck ftp gawk gcc gdb getconf getopts grep groups gzip hash head history hostname id ifconfig import install join kill less let ln local locate logname logout look lpc lpr lprint lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools mv nasm nc ndisasm netstat nice nl nohup nslookup objdump od open op passwd paste pathchk ping popd pr printcap printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown sleep sort source split ssh strace strings su sudo sum symlink sync tail tar tee test time times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir vi watch wc whereis which who whoami Wget xargs xxd yes chsh";this.regexList=[{regex:/^#!.*$/gm,css:"preprocessor bold"},{regex:/\/[\w-\/]+/gm,css:"plain"},{regex:SyntaxHighlighter.regexLib.singleLinePerlComments,css:"comments"},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:"string"},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:"string"},{regex:new RegExp(this.getKeywords("if fi then elif else for do done until while break continue case esac function return in eq ne ge le"),"gm"),css:"keyword"},{regex:new RegExp(this.getKeywords(s),"gm"),css:"functions"},{regex:new XRegExp("(?(<|<){2}(?\\w+)) .*$(?[\\s\\S]*)(?^\\k$)","gm"),func:e}]}SyntaxHighlighter=SyntaxHighlighter||("undefined"!=typeof require?require("shCore").SyntaxHighlighter:null),e.prototype=new SyntaxHighlighter.Highlighter,e.aliases=["bash","shell","sh"],SyntaxHighlighter.brushes.Bash=e,"undefined"!=typeof exports&&(exports.Brush=e)})();