2012-04-28 15:10:29 +04:00
var q = null ; window . PR _SHOULD _USE _CONTINUATION = ! 0 ;
( function ( ) { function L ( a ) { function m ( a ) { var f = a . charCodeAt ( 0 ) ; if ( f !== 92 ) return f ; var b = a . charAt ( 1 ) ; return ( f = r [ b ] ) ? f : "0" <= b && b <= "7" ? parseInt ( a . substring ( 1 ) , 8 ) : b === "u" || b === "x" ? parseInt ( a . substring ( 2 ) , 16 ) : a . charCodeAt ( 1 ) } function e ( a ) { if ( a < 32 ) return ( a < 16 ? "\\x0" : "\\x" ) + a . toString ( 16 ) ; a = String . fromCharCode ( a ) ; if ( a === "\\" || a === "-" || a === "[" || a === "]" ) a = "\\" + a ; return a } function h ( a ) { for ( var f = a . substring ( 1 , a . length - 1 ) . match ( /\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g ) , a =
[ ] , b = [ ] , o = f [ 0 ] === "^" , c = o ? 1 : 0 , i = f . length ; c < i ; ++ c ) { var j = f [ c ] ; if ( /\\[bdsw]/i . test ( j ) ) a . push ( j ) ; else { var j = m ( j ) , d ; c + 2 < i && "-" === f [ c + 1 ] ? ( d = m ( f [ c + 2 ] ) , c += 2 ) : d = j ; b . push ( [ j , d ] ) ; d < 65 || j > 122 || ( d < 65 || j > 90 || b . push ( [ Math . max ( 65 , j ) | 32 , Math . min ( d , 90 ) | 32 ] ) , d < 97 || j > 122 || b . push ( [ Math . max ( 97 , j ) & - 33 , Math . min ( d , 122 ) & - 33 ] ) ) } } b . sort ( function ( a , f ) { return a [ 0 ] - f [ 0 ] || f [ 1 ] - a [ 1 ] } ) ; f = [ ] ; j = [ NaN , NaN ] ; for ( c = 0 ; c < b . length ; ++ c ) i = b [ c ] , i [ 0 ] <= j [ 1 ] + 1 ? j [ 1 ] = Math . max ( j [ 1 ] , i [ 1 ] ) : f . push ( j = i ) ; b = [ "[" ] ; o && b . push ( "^" ) ; b . push . apply ( b , a ) ; for ( c = 0 ; c <
f . length ; ++ c ) i = f [ c ] , b . push ( e ( i [ 0 ] ) ) , i [ 1 ] > i [ 0 ] && ( i [ 1 ] + 1 > i [ 0 ] && b . push ( "-" ) , b . push ( e ( i [ 1 ] ) ) ) ; b . push ( "]" ) ; return b . join ( "" ) } function y ( a ) { for ( var f = a . source . match ( /\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g ) , b = f . length , d = [ ] , c = 0 , i = 0 ; c < b ; ++ c ) { var j = f [ c ] ; j === "(" ? ++ i : "\\" === j . charAt ( 0 ) && ( j = + j . substring ( 1 ) ) && j <= i && ( d [ j ] = - 1 ) } for ( c = 1 ; c < d . length ; ++ c ) - 1 === d [ c ] && ( d [ c ] = ++ t ) ; for ( i = c = 0 ; c < b ; ++ c ) j = f [ c ] , j === "(" ? ( ++ i , d [ i ] === void 0 && ( f [ c ] = "(?:" ) ) : "\\" === j . charAt ( 0 ) &&
( j = + j . substring ( 1 ) ) && j <= i && ( f [ c ] = "\\" + d [ i ] ) ; for ( i = c = 0 ; c < b ; ++ c ) "^" === f [ c ] && "^" !== f [ c + 1 ] && ( f [ c ] = "" ) ; if ( a . ignoreCase && s ) for ( c = 0 ; c < b ; ++ c ) j = f [ c ] , a = j . charAt ( 0 ) , j . length >= 2 && a === "[" ? f [ c ] = h ( j ) : a !== "\\" && ( f [ c ] = j . replace ( /[A-Za-z]/g , function ( a ) { a = a . charCodeAt ( 0 ) ; return "[" + String . fromCharCode ( a & - 33 , a | 32 ) + "]" } ) ) ; return f . join ( "" ) } for ( var t = 0 , s = ! 1 , l = ! 1 , p = 0 , d = a . length ; p < d ; ++ p ) { var g = a [ p ] ; if ( g . ignoreCase ) l = ! 0 ; else if ( /[a-z]/i . test ( g . source . replace ( /\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi , "" ) ) ) { s = ! 0 ; l = ! 1 ; break } } for ( var r =
{ b : 8 , t : 9 , n : 10 , v : 11 , f : 12 , r : 13 } , n = [ ] , p = 0 , d = a . length ; p < d ; ++ p ) { g = a [ p ] ; if ( g . global || g . multiline ) throw Error ( "" + g ) ; n . push ( "(?:" + y ( g ) + ")" ) } return RegExp ( n . join ( "|" ) , l ? "gi" : "g" ) } function M ( a ) { function m ( a ) { switch ( a . nodeType ) { case 1 : if ( e . test ( a . className ) ) break ; for ( var g = a . firstChild ; g ; g = g . nextSibling ) m ( g ) ; g = a . nodeName ; if ( "BR" === g || "LI" === g ) h [ s ] = "\n" , t [ s << 1 ] = y ++ , t [ s ++ << 1 | 1 ] = a ; break ; case 3 : case 4 : g = a . nodeValue , g . length && ( g = p ? g . replace ( /\r\n?/g , "\n" ) : g . replace ( /[\t\n\r ]+/g , " " ) , h [ s ] = g , t [ s << 1 ] = y , y += g . length ,
t [ s ++ << 1 | 1 ] = a ) } } var e = /(?:^|\s)nocode(?:\s|$)/ , h = [ ] , y = 0 , t = [ ] , s = 0 , l ; a . currentStyle ? l = a . currentStyle . whiteSpace : window . getComputedStyle && ( l = document . defaultView . getComputedStyle ( a , q ) . getPropertyValue ( "white-space" ) ) ; var p = l && "pre" === l . substring ( 0 , 3 ) ; m ( a ) ; return { a : h . join ( "" ) . replace ( /\n$/ , "" ) , c : t } } function B ( a , m , e , h ) { m && ( a = { a : m , d : a } , e ( a ) , h . push . apply ( h , a . e ) ) } function x ( a , m ) { function e ( a ) { for ( var l = a . d , p = [ l , "pln" ] , d = 0 , g = a . a . match ( y ) || [ ] , r = { } , n = 0 , z = g . length ; n < z ; ++ n ) { var f = g [ n ] , b = r [ f ] , o = void 0 , c ; if ( typeof b ===
"string" ) c = ! 1 ; else { var i = h [ f . charAt ( 0 ) ] ; if ( i ) o = f . match ( i [ 1 ] ) , b = i [ 0 ] ; else { for ( c = 0 ; c < t ; ++ c ) if ( i = m [ c ] , o = f . match ( i [ 1 ] ) ) { b = i [ 0 ] ; break } o || ( b = "pln" ) } if ( ( c = b . length >= 5 && "lang-" === b . substring ( 0 , 5 ) ) && ! ( o && typeof o [ 1 ] === "string" ) ) c = ! 1 , b = "src" ; c || ( r [ f ] = b ) } i = d ; d += f . length ; if ( c ) { c = o [ 1 ] ; var j = f . indexOf ( c ) , k = j + c . length ; o [ 2 ] && ( k = f . length - o [ 2 ] . length , j = k - c . length ) ; b = b . substring ( 5 ) ; B ( l + i , f . substring ( 0 , j ) , e , p ) ; B ( l + i + j , c , C ( b , c ) , p ) ; B ( l + i + k , f . substring ( k ) , e , p ) } else p . push ( l + i , b ) } a . e = p } var h = { } , y ; ( function ( ) { for ( var e = a . concat ( m ) ,
l = [ ] , p = { } , d = 0 , g = e . length ; d < g ; ++ d ) { var r = e [ d ] , n = r [ 3 ] ; if ( n ) for ( var k = n . length ; -- k >= 0 ; ) h [ n . charAt ( k ) ] = r ; r = r [ 1 ] ; n = "" + r ; p . hasOwnProperty ( n ) || ( l . push ( r ) , p [ n ] = q ) } l . push ( /[\S\s]/ ) ; y = L ( l ) } ) ( ) ; var t = m . length ; return e } function u ( a ) { var m = [ ] , e = [ ] ; a . tripleQuotedStrings ? m . push ( [ "str" , /^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/ , q , "'\"" ] ) : a . multiLineStrings ? m . push ( [ "str" , /^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/ ,
q , "'\"`" ] ) : m . push ( [ "str" , /^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/ , q , "\"'" ] ) ; a . verbatimStrings && e . push ( [ "str" , /^@"(?:[^"]|"")*(?:"|$)/ , q ] ) ; var h = a . hashComments ; h && ( a . cStyleComments ? ( h > 1 ? m . push ( [ "com" , /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/ , q , "#" ] ) : m . push ( [ "com" , /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/ , q , "#" ] ) , e . push ( [ "str" , /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/ , q ] ) ) : m . push ( [ "com" , /^#[^\n\r]*/ ,
q , "#" ] ) ) ; a . cStyleComments && ( e . push ( [ "com" , /^\/\/[^\n\r]*/ , q ] ) , e . push ( [ "com" , /^\/\*[\S\s]*?(?:\*\/|$)/ , q ] ) ) ; a . regexLiterals && e . push ( [ "lang-regex" , /^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/ ] ) ; ( h = a . types ) && e . push ( [ "typ" , h ] ) ; a = ( "" + a . keywords ) . replace ( /^ | $/g ,
"" ) ; a . length && e . push ( [ "kwd" , RegExp ( "^(?:" + a . replace ( /[\s,]+/g , "|" ) + ")\\b" ) , q ] ) ; m . push ( [ "pln" , /^\s+/ , q , " \r\n\t\xa0" ] ) ; e . push ( [ "lit" , /^@[$_a-z][\w$@]*/i , q ] , [ "typ" , /^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/ , q ] , [ "pln" , /^[$_a-z][\w$@]*/i , q ] , [ "lit" , /^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i , q , "0123456789" ] , [ "pln" , /^\\[\S\s]?/ , q ] , [ "pun" , /^.[^\s\w"-$'./@\\`]*/ , q ] ) ; return x ( m , e ) } function D ( a , m ) { function e ( a ) { switch ( a . nodeType ) { case 1 : if ( k . test ( a . className ) ) break ; if ( "BR" === a . nodeName ) h ( a ) ,
a . parentNode && a . parentNode . removeChild ( a ) ; else for ( a = a . firstChild ; a ; a = a . nextSibling ) e ( a ) ; break ; case 3 : case 4 : if ( p ) { var b = a . nodeValue , d = b . match ( t ) ; if ( d ) { var c = b . substring ( 0 , d . index ) ; a . nodeValue = c ; ( b = b . substring ( d . index + d [ 0 ] . length ) ) && a . parentNode . insertBefore ( s . createTextNode ( b ) , a . nextSibling ) ; h ( a ) ; c || a . parentNode . removeChild ( a ) } } } } function h ( a ) { function b ( a , d ) { var e = d ? a . cloneNode ( ! 1 ) : a , f = a . parentNode ; if ( f ) { var f = b ( f , 1 ) , g = a . nextSibling ; f . appendChild ( e ) ; for ( var h = g ; h ; h = g ) g = h . nextSibling , f . appendChild ( h ) } return e }
for ( ; ! a . nextSibling ; ) if ( a = a . parentNode , ! a ) return ; for ( var a = b ( a . nextSibling , 0 ) , e ; ( e = a . parentNode ) && e . nodeType === 1 ; ) a = e ; d . push ( a ) } var k = /(?:^|\s)nocode(?:\s|$)/ , t = /\r\n?|\n/ , s = a . ownerDocument , l ; a . currentStyle ? l = a . currentStyle . whiteSpace : window . getComputedStyle && ( l = s . defaultView . getComputedStyle ( a , q ) . getPropertyValue ( "white-space" ) ) ; var p = l && "pre" === l . substring ( 0 , 3 ) ; for ( l = s . createElement ( "LI" ) ; a . firstChild ; ) l . appendChild ( a . firstChild ) ; for ( var d = [ l ] , g = 0 ; g < d . length ; ++ g ) e ( d [ g ] ) ; m === ( m | 0 ) && d [ 0 ] . setAttribute ( "value" ,
m ) ; var r = s . createElement ( "OL" ) ; r . className = "linenums" ; for ( var n = Math . max ( 0 , m - 1 | 0 ) || 0 , g = 0 , z = d . length ; g < z ; ++ g ) l = d [ g ] , l . className = "L" + ( g + n ) % 10 , l . firstChild || l . appendChild ( s . createTextNode ( "\xa0" ) ) , r . appendChild ( l ) ; a . appendChild ( r ) } function k ( a , m ) { for ( var e = m . length ; -- e >= 0 ; ) { var h = m [ e ] ; A . hasOwnProperty ( h ) ? window . console && console . warn ( "cannot override language handler %s" , h ) : A [ h ] = a } } function C ( a , m ) { if ( ! a || ! A . hasOwnProperty ( a ) ) a = /^\s*</ . test ( m ) ? "default-markup" : "default-code" ; return A [ a ] } function E ( a ) { var m =
a . g ; try { var e = M ( a . h ) , h = e . a ; a . a = h ; a . c = e . c ; a . d = 0 ; C ( m , h ) ( a ) ; var k = /\bMSIE\b/ . test ( navigator . userAgent ) , m = /\n/g , t = a . a , s = t . length , e = 0 , l = a . c , p = l . length , h = 0 , d = a . e , g = d . length , a = 0 ; d [ g ] = s ; var r , n ; for ( n = r = 0 ; n < g ; ) d [ n ] !== d [ n + 2 ] ? ( d [ r ++ ] = d [ n ++ ] , d [ r ++ ] = d [ n ++ ] ) : n += 2 ; g = r ; for ( n = r = 0 ; n < g ; ) { for ( var z = d [ n ] , f = d [ n + 1 ] , b = n + 2 ; b + 2 <= g && d [ b + 1 ] === f ; ) b += 2 ; d [ r ++ ] = z ; d [ r ++ ] = f ; n = b } for ( d . length = r ; h < p ; ) { var o = l [ h + 2 ] || s , c = d [ a + 2 ] || s , b = Math . min ( o , c ) , i = l [ h + 1 ] , j ; if ( i . nodeType !== 1 && ( j = t . substring ( e , b ) ) ) { k && ( j = j . replace ( m , "\r" ) ) ; i . nodeValue =
j ; var u = i . ownerDocument , v = u . createElement ( "SPAN" ) ; v . className = d [ a + 1 ] ; var x = i . parentNode ; x . replaceChild ( v , i ) ; v . appendChild ( i ) ; e < o && ( l [ h + 1 ] = i = u . createTextNode ( t . substring ( b , o ) ) , x . insertBefore ( i , v . nextSibling ) ) } e = b ; e >= o && ( h += 2 ) ; e >= c && ( a += 2 ) } } catch ( w ) { "console" in window && console . log ( w && w . stack ? w . stack : w ) } } var v = [ "break,continue,do,else,for,if,return,while" ] , w = [ [ v , "auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile" ] ,
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof" ] , F = [ w , "alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where" ] , G = [ w , "abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient" ] ,
H = [ G , "as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var" ] , w = [ w , "debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN" ] , I = [ v , "and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None" ] ,
J = [ v , "alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END" ] , v = [ v , "case,done,elif,esac,eval,fi,function,in,local,set,then,until" ] , K = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/ , N = /\S/ , O = u ( { keywords : [ F , H , w , "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END" +
I , J , v ] , hashComments : ! 0 , cStyleComments : ! 0 , multiLineStrings : ! 0 , regexLiterals : ! 0 } ) , A = { } ; k ( O , [ "default-code" ] ) ; k ( x ( [ ] , [ [ "pln" , /^[^<?]+/ ] , [ "dec" , /^<!\w[^>]*(?:>|$)/ ] , [ "com" , /^<\!--[\S\s]*?(?:--\>|$)/ ] , [ "lang-" , /^<\?([\S\s]+?)(?:\?>|$)/ ] , [ "lang-" , /^<%([\S\s]+?)(?:%>|$)/ ] , [ "pun" , /^(?:<[%?]|[%?]>)/ ] , [ "lang-" , /^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i ] , [ "lang-js" , /^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i ] , [ "lang-css" , /^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i ] , [ "lang-in.tag" , /^(<\/?[a-z][^<>]*>)/i ] ] ) ,
[ "default-markup" , "htm" , "html" , "mxml" , "xhtml" , "xml" , "xsl" ] ) ; k ( x ( [ [ "pln" , /^\s+/ , q , " \t\r\n" ] , [ "atv" , /^(?:"[^"]*"?|'[^']*'?)/ , q , "\"'" ] ] , [ [ "tag" , /^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i ] , [ "atn" , /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i ] , [ "lang-uq.val" , /^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/ ] , [ "pun" , /^[/<->]+/ ] , [ "lang-js" , /^on\w+\s*=\s*"([^"]+)"/i ] , [ "lang-js" , /^on\w+\s*=\s*'([^']+)'/i ] , [ "lang-js" , /^on\w+\s*=\s*([^\s"'>]+)/i ] , [ "lang-css" , /^style\s*=\s*"([^"]+)"/i ] , [ "lang-css" , /^style\s*=\s*'([^']+)'/i ] , [ "lang-css" ,
/^style\s*=\s*([^\s"'>]+)/i ] ] ) , [ "in.tag" ] ) ; k ( x ( [ ] , [ [ "atv" , /^[\S\s]+/ ] ] ) , [ "uq.val" ] ) ; k ( u ( { keywords : F , hashComments : ! 0 , cStyleComments : ! 0 , types : K } ) , [ "c" , "cc" , "cpp" , "cxx" , "cyc" , "m" ] ) ; k ( u ( { keywords : "null,true,false" } ) , [ "json" ] ) ; k ( u ( { keywords : H , hashComments : ! 0 , cStyleComments : ! 0 , verbatimStrings : ! 0 , types : K } ) , [ "cs" ] ) ; k ( u ( { keywords : G , cStyleComments : ! 0 } ) , [ "java" ] ) ; k ( u ( { keywords : v , hashComments : ! 0 , multiLineStrings : ! 0 } ) , [ "bsh" , "csh" , "sh" ] ) ; k ( u ( { keywords : I , hashComments : ! 0 , multiLineStrings : ! 0 , tripleQuotedStrings : ! 0 } ) ,
[ "cv" , "py" ] ) ; k ( u ( { keywords : "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END" , hashComments : ! 0 , multiLineStrings : ! 0 , regexLiterals : ! 0 } ) , [ "perl" , "pl" , "pm" ] ) ; k ( u ( { keywords : J , hashComments : ! 0 , multiLineStrings : ! 0 , regexLiterals : ! 0 } ) , [ "rb" ] ) ; k ( u ( { keywords : w , cStyleComments : ! 0 , regexLiterals : ! 0 } ) , [ "js" ] ) ; k ( u ( { keywords : "all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes" ,
hashComments : 3 , cStyleComments : ! 0 , multilineStrings : ! 0 , tripleQuotedStrings : ! 0 , regexLiterals : ! 0 } ) , [ "coffee" ] ) ; k ( x ( [ ] , [ [ "str" , /^[\S\s]+/ ] ] ) , [ "regex" ] ) ; window . prettyPrintOne = function ( a , m , e ) { var h = document . createElement ( "PRE" ) ; h . innerHTML = a ; e && D ( h , e ) ; E ( { g : m , i : e , h : h } ) ; return h . innerHTML } ; window . prettyPrint = function ( a ) { function m ( ) { for ( var e = window . PR _SHOULD _USE _CONTINUATION ? l . now ( ) + 250 : Infinity ; p < h . length && l . now ( ) < e ; p ++ ) { var n = h [ p ] , k = n . className ; if ( k . indexOf ( "prettyprint" ) >= 0 ) { var k = k . match ( g ) , f , b ; if ( b =
! k ) { b = n ; for ( var o = void 0 , c = b . firstChild ; c ; c = c . nextSibling ) var i = c . nodeType , o = i === 1 ? o ? b : c : i === 3 ? N . test ( c . nodeValue ) ? b : o : o ; b = ( f = o === b ? void 0 : o ) && "CODE" === f . tagName } b && ( k = f . className . match ( g ) ) ; k && ( k = k [ 1 ] ) ; b = ! 1 ; for ( o = n . parentNode ; o ; o = o . parentNode ) if ( ( o . tagName === "pre" || o . tagName === "code" || o . tagName === "xmp" ) && o . className && o . className . indexOf ( "prettyprint" ) >= 0 ) { b = ! 0 ; break } b || ( ( b = ( b = n . className . match ( /\blinenums\b(?::(\d+))?/ ) ) ? b [ 1 ] && b [ 1 ] . length ? + b [ 1 ] : ! 0 : ! 1 ) && D ( n , b ) , d = { g : k , h : n , i : b } , E ( d ) ) } } p < h . length ? setTimeout ( m ,
250 ) : a && a ( ) } for ( var e = [ document . getElementsByTagName ( "pre" ) , document . getElementsByTagName ( "code" ) , document . getElementsByTagName ( "xmp" ) ] , h = [ ] , k = 0 ; k < e . length ; ++ k ) for ( var t = 0 , s = e [ k ] . length ; t < s ; ++ t ) h . push ( e [ k ] [ t ] ) ; var e = q , l = Date ; l . now || ( l = { now : function ( ) { return + new Date } } ) ; var p = 0 , d , g = /\blang(?:uage)?-([\w.]+)(?!\S)/ ; m ( ) } ; window . PR = { createSimpleLexer : x , registerLangHandler : k , sourceDecorator : u , PR _ATTRIB _NAME : "atn" , PR _ATTRIB _VALUE : "atv" , PR _COMMENT : "com" , PR _DECLARATION : "dec" , PR _KEYWORD : "kwd" , PR _LITERAL : "lit" ,
PR _NOCODE : "nocode" , PR _PLAIN : "pln" , PR _PUNCTUATION : "pun" , PR _SOURCE : "src" , PR _STRING : "str" , PR _TAG : "tag" , PR _TYPE : "typ" } } ) ( ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "com" , /^#[^\n\r]*/ , null , "#" ] , [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "str" , /^"(?:[^"\\]|\\[\S\s])*(?:"|$)/ , null , '"' ] ] , [ [ "kwd" , /^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/ ,
null ] , [ "typ" , /^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[ES]?BANK=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/ , null ] , [ "lit" , /^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/ ] , [ "pln" , /^-*(?:[!-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/ ] , [ "pun" , /^[^\w\t\n\r "'-);\\\xa0]+/ ] ] ) , [ "apollo" , "agc" , "aea" ] ) ;
var a = null ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "opn" , /^[([{]+/ , a , "([{" ] , [ "clo" , /^[)\]}]+/ , a , ")]}" ] , [ "com" , /^;[^\n\r]*/ , a , ";" ] , [ "pln" , /^[\t\n\r \xa0]+/ , a , "\t\n\r \xa0" ] , [ "str" , /^"(?:[^"\\]|\\[\S\s])*(?:"|$)/ , a , '"' ] ] , [ [ "kwd" , /^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/ , a ] ,
[ "typ" , /^:[\dA-Za-z-]+/ ] ] ) , [ "clj" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\f\r ]+/ , null , " \t\r\n " ] ] , [ [ "str" , /^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/ , null ] , [ "str" , /^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/ , null ] , [ "lang-css-str" , /^url\(([^"')]*)\)/i ] , [ "kwd" , /^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i , null ] , [ "lang-css-kw" , /^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i ] , [ "com" , /^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\// ] , [ "com" ,
/^(?:<\!--|--\>)/ ] , [ "lit" , /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i ] , [ "lit" , /^#[\da-f]{3,6}/i ] , [ "pln" , /^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i ] , [ "pun" , /^[^\s\w"']+/ ] ] ) , [ "css" ] ) ; PR . registerLangHandler ( PR . createSimpleLexer ( [ ] , [ [ "kwd" , /^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i ] ] ) , [ "css-kw" ] ) ; PR . registerLangHandler ( PR . createSimpleLexer ( [ ] , [ [ "str" , /^[^"')]+/ ] ] ) , [ "css-str" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "pln" , /^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])+(?:'|$)|`[^`]*(?:`|$))/ , null , "\"'" ] ] , [ [ "com" , /^(?:\/\/[^\n\r]*|\/\*[\S\s]*?\*\/)/ ] , [ "pln" , /^(?:[^"'/`]|\/(?![*/]))+/ ] ] ) , [ "go" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t-\r ]+/ , null , "\t\n \r " ] , [ "str" , /^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/ , null , '"' ] , [ "str" , /^'(?:[^\n\f\r'\\]|\\[^&])'?/ , null , "'" ] , [ "lit" , /^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i , null , "0123456789" ] ] , [ [ "com" , /^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/ ] , [ "kwd" , /^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/ ,
null ] , [ "pln" , /^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/ ] , [ "pun" , /^[^\d\t-\r "'A-Za-z]+/ ] ] ) , [ "hs" ] ) ;
var a = null ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "opn" , /^\(+/ , a , "(" ] , [ "clo" , /^\)+/ , a , ")" ] , [ "com" , /^;[^\n\r]*/ , a , ";" ] , [ "pln" , /^[\t\n\r \xa0]+/ , a , "\t\n\r \xa0" ] , [ "str" , /^"(?:[^"\\]|\\[\S\s])*(?:"|$)/ , a , '"' ] ] , [ [ "kwd" , /^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/ , a ] ,
[ "lit" , /^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i ] , [ "lit" , /^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/ ] , [ "pln" , /^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i ] , [ "pun" , /^[^\w\t\n\r "'-);\\\xa0]+/ ] ] ) , [ "cl" , "el" , "lisp" , "scm" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "str" , /^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/ , null , "\"'" ] ] , [ [ "com" , /^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/ ] , [ "str" , /^\[(=*)\[[\S\s]*?(?:]\1]|$)/ ] , [ "kwd" , /^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/ , null ] , [ "lit" , /^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i ] ,
[ "pln" , /^[_a-z]\w*/i ] , [ "pun" , /^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/ ] ] ) , [ "lua" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "com" , /^#(?:if[\t\n\r \xa0]+(?:[$_a-z][\w']*|``[^\t\n\r`]*(?:``|$))|else|endif|light)/i , null , "#" ] , [ "str" , /^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])(?:'|$))/ , null , "\"'" ] ] , [ [ "com" , /^(?:\/\/[^\n\r]*|\(\*[\S\s]*?\*\))/ ] , [ "kwd" , /^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/ ] ,
[ "lit" , /^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i ] , [ "pln" , /^(?:[_a-z][\w']*[!#?]?|``[^\t\n\r`]*(?:``|$))/i ] , [ "pun" , /^[^\w\t\n\r "'\xa0]+/ ] ] ) , [ "fs" , "ml" ] ) ;
var a = null ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "str" , /^(?:'(?:[^\n\r'\\]|\\.)*'|"(?:[^\n\r"\\]|\\.)*(?:"|$))/ , a , '"' ] , [ "com" , /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/ , a , "#" ] , [ "pln" , /^\s+/ , a , " \r\n\t\xa0" ] ] , [ [ "str" , /^@"(?:[^"]|"")*(?:"|$)/ , a ] , [ "str" , /^<#[^#>]*(?:#>|$)/ , a ] , [ "str" , /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/ , a ] , [ "com" , /^\/\/[^\n\r]*/ , a ] , [ "com" , /^\/\*[\S\s]*?(?:\*\/|$)/ ,
a ] , [ "kwd" , /^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\b/ ,
a ] , [ "typ" , /^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/ , a ] , [ "lit" , /^@[$_a-z][\w$@]*/i , a ] , [ "typ" , /^@[A-Z]+[a-z][\w$@]*/ , a ] , [ "pln" , /^'?[$_a-z][\w$@]*/i , a ] , [ "lit" , /^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i , a , "0123456789" ] , [ "pun" , /^.[^\s\w"-$'./@`]*/ , a ] ] ) , [ "n" , "nemerle" ] ) ;
PR . registerLangHandler ( PR . sourceDecorator ( { keywords : "bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true" , types : /^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/ , cStyleComments : ! 0 } ) , [ "proto" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "str" , /^"(?:""(?:""?(?!")|[^"\\]|\\.)*"{0,3}|(?:[^\n\r"\\]|\\.)*"?)/ , null , '"' ] , [ "lit" , /^`(?:[^\n\r\\`]|\\.)*`?/ , null , "`" ] , [ "pun" , /^[!#%&(--:-@[-^{-~]+/ , null , "!#%&()*+,-:;<=>?@[\\]^{|}~" ] ] , [ [ "str" , /^'(?:[^\n\r'\\]|\\(?:'|[^\n\r']+))'/ ] , [ "lit" , /^'[$A-Z_a-z][\w$]*(?![\w$'])/ ] , [ "kwd" , /^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/ ] ,
[ "lit" , /^(?:true|false|null|this)\b/ ] , [ "lit" , /^(?:0(?:[0-7]+|x[\da-f]+)l?|(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:e[+-]?\d+)?f?|l?)|\\.\d+(?:e[+-]?\d+)?f?)/i ] , [ "typ" , /^[$_]*[A-Z][\d$A-Z_]*[a-z][\w$]*/ ] , [ "pln" , /^[$A-Z_a-z][\w$]*/ ] , [ "com" , /^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/ ] , [ "pun" , /^(?:\.+|\/)/ ] ] ) , [ "scala" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "str" , /^(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/ , null , "\"'" ] ] , [ [ "com" , /^(?:--[^\n\r]*|\/\*[\S\s]*?(?:\*\/|$))/ ] , [ "kwd" , /^(?:add|all|alter|and|any|as|asc|authorization|backup|begin|between|break|browse|bulk|by|cascade|case|check|checkpoint|close|clustered|coalesce|collate|column|commit|compute|constraint|contains|containstable|continue|convert|create|cross|current|current_date|current_time|current_timestamp|current_user|cursor|database|dbcc|deallocate|declare|default|delete|deny|desc|disk|distinct|distributed|double|drop|dummy|dump|else|end|errlvl|escape|except|exec|execute|exists|exit|fetch|file|fillfactor|for|foreign|freetext|freetexttable|from|full|function|goto|grant|group|having|holdlock|identity|identitycol|identity_insert|if|in|index|inner|insert|intersect|into|is|join|key|kill|left|like|lineno|load|match|merge|national|nocheck|nonclustered|not|null|nullif|of|off|offsets|on|open|opendatasource|openquery|openrowset|openxml|option|or|order|outer|over|percent|plan|precision|primary|print|proc|procedure|public|raiserror|read|readtext|reconfigure|references|replication|restore|restrict|return|revoke|right|rollback|rowcount|rowguidcol|rule|save|schema|select|session_user|set|setuser|shutdown|some|statistics|system_user|table|textsize|then|to|top|tran|transaction|trigger|truncate|tsequal|union|unique|update|updatetext|use|user|using|values|varying|view|waitfor|when|where|while|with|writetext)(?=[^\w-]|$)/i ,
null ] , [ "lit" , /^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i ] , [ "pln" , /^[_a-z][\w-]*/i ] , [ "pun" , /^[^\w\t\n\r "'\xa0][^\w\t\n\r "'+\xa0-]*/ ] ] ) , [ "sql" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] , [ "com" , /^%[^\n\r]*/ , null , "%" ] ] , [ [ "kwd" , /^\\[@-Za-z]+/ ] , [ "kwd" , /^\\./ ] , [ "typ" , /^[$&]/ ] , [ "lit" , /[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i ] , [ "pun" , /^[()=[\]{}]+/ ] ] ) , [ "latex" , "tex" ] ) ;
2012-04-28 16:50:48 +04:00
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0\u2028\u2029]+/ , null , "\t\n\r <20> \xa0 <30> " ] , [ "str" , /^(?:["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})(?:["\u201c\u201d]c|$)|["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})*(?:["\u201c\u201d]|$))/i , null , '"“”' ] , [ "com" , /^['\u2018\u2019].*/ , null , "'‘ ’ " ] ] , [ [ "kwd" , /^(?:addhandler|addressof|alias|and|andalso|ansi|as|assembly|auto|boolean|byref|byte|byval|call|case|catch|cbool|cbyte|cchar|cdate|cdbl|cdec|char|cint|class|clng|cobj|const|cshort|csng|cstr|ctype|date|decimal|declare|default|delegate|dim|directcast|do|double|each|else|elseif|end|endif|enum|erase|error|event|exit|finally|for|friend|function|get|gettype|gosub|goto|handles|if|implements|imports|in|inherits|integer|interface|is|let|lib|like|long|loop|me|mod|module|mustinherit|mustoverride|mybase|myclass|namespace|new|next|not|notinheritable|notoverridable|object|on|option|optional|or|orelse|overloads|overridable|overrides|paramarray|preserve|private|property|protected|public|raiseevent|readonly|redim|removehandler|resume|return|select|set|shadows|shared|short|single|static|step|stop|string|structure|sub|synclock|then|throw|to|try|typeof|unicode|until|variant|wend|when|while|with|withevents|writeonly|xor|endif|gosub|let|variant|wend)\b/i ,
null ] , [ "com" , /^rem.*/i ] , [ "lit" , /^(?:true\b|false\b|nothing\b|\d+(?:e[+-]?\d+[dfr]?|[dfilrs])?|(?:&h[\da-f]+|&o[0-7]+)[ils]?|\d*\.\d+(?:e[+-]?\d+)?[dfr]?|#\s+(?:\d+[/-]\d+[/-]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:am|pm))?)?|\d+:\d+(?::\d+)?(\s*(?:am|pm))?)\s+#)/i ] , [ "pln" , /^(?:(?:[a-z]|_\w)\w*|\[(?:[a-z]|_\w)\w*])/i ] , [ "pun" , /^[^\w\t\n\r "'[\]\xa0\u2018\u2019\u201c\u201d\u2028\u2029]+/ ] , [ "pun" , /^(?:\[|])/ ] ] ) , [ "vb" , "vbs" ] ) ;
2012-04-28 15:10:29 +04:00
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\t\n\r \xa0]+/ , null , "\t\n\r <20> \xa0" ] ] , [ [ "str" , /^(?:[box]?"(?:[^"]|"")*"|'.')/i ] , [ "com" , /^--[^\n\r]*/ ] , [ "kwd" , /^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\w-]|$)/i ,
null ] , [ "typ" , /^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\w-]|$)/i , null ] , [ "typ" , /^'(?:active|ascending|base|delayed|driving|driving_value|event|high|image|instance_name|last_active|last_event|last_value|left|leftof|length|low|path_name|pos|pred|quiet|range|reverse_range|right|rightof|simple_name|stable|succ|transaction|val|value)(?=[^\w-]|$)/i , null ] , [ "lit" , /^\d+(?:_\d+)*(?:#[\w.\\]+#(?:[+-]?\d+(?:_\d+)*)?|(?:\.\d+(?:_\d+)*)?(?:e[+-]?\d+(?:_\d+)*)?)/i ] ,
[ "pln" , /^(?:[a-z]\w*|\\[^\\]*\\)/i ] , [ "pun" , /^[^\w\t\n\r "'\xa0][^\w\t\n\r "'\xa0-]*/ ] ] ) , [ "vhdl" , "vhd" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pln" , /^[\d\t a-gi-z\xa0]+/ , null , "\t <20> \xa0abcdefgijklmnopqrstuvwxyz0123456789" ] , [ "pun" , /^[*=[\]^~]+/ , null , "=*~^[]" ] ] , [ [ "lang-wiki.meta" , /(?:^^|\r\n?|\n)(#[a-z]+)\b/ ] , [ "lit" , /^[A-Z][a-z][\da-z]+[A-Z][a-z][^\W_]+\b/ ] , [ "lang-" , /^{{{([\S\s]+?)}}}/ ] , [ "lang-" , /^`([^\n\r`]+)`/ ] , [ "str" , /^https?:\/\/[^\s#/?]*(?:\/[^\s#?]*)?(?:\?[^\s#]*)?(?:#\S*)?/i ] , [ "pln" , /^(?:\r\n|[\S\s])[^\n\r#*=A-[^`h{~]*/ ] ] ) , [ "wiki" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "kwd" , /^#[a-z]+/i , null , "#" ] ] , [ ] ) , [ "wiki.meta" ] ) ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "var pln" , /^\$[\w-]+/ , null , "$" ] ] , [ [ "pln" , /^[\s=][<>][\s=]/ ] , [ "lit" , /^@[\w-]+/ ] , [ "tag" , /^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i ] , [ "com" , /^\(:[\S\s]*?:\)/ ] , [ "pln" , /^[(),/;[\]{}]$/ ] , [ "str" , /^(?:"(?:[^"\\{]|\\[\S\s])*(?:"|$)|'(?:[^'\\{]|\\[\S\s])*(?:'|$))/ , null , "\"'" ] , [ "kwd" , /^(?:xquery|where|version|variable|union|typeswitch|treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|processing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|namespace|module|let|item|intersect|instance|in|import|if|function|for|follows|following-sibling|following|external|except|every|else|element|descending|descendant-or-self|descendant|define|default|declare|comment|child|cast|case|before|attribute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|schema-element|document-node|node|at)\b/ ] ,
[ "typ" , /^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:string|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear|xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuration|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\b/ , null ] , [ "fun pln" , / ^ ( ? : x p : d e r e f e r e n c e | x i n c : n o d e - e x p a n d | x i n c : l i n k - r e f e r e n c e s | x i n c : l i n k - e x p a n d | x h t m l : r e s t r u c t u r e | x h t m l : c l e a n | x h t m l : a d d - l i s t s | x d m p : z i p - m a n i f e s t | x d m p : z i p - g e t | x d m p : z i p - c r e a t e | x d m p : x q u e r y - v e r s i o n | x d m p : w o r d - c o n v e r t | x d m p : w i t h - n a m e s p a c e s | x d m p : v e r s i o n | x d m p : v a l u e | x d m p : u s e r - r o l e s | x d m p : u s e r - l a s t - l o g i n | x d m p : u s e r | x d m p : u r l - e n c o d e | x d m p : u r l - d e c o d e | x d m p : u r i - i s - f i l e | x d m p : u r i - f o r m a t | x d m p : u r i - c o n t e n t - t y p e | x d m p : u n q u o t e | x d m p : u n p a t h | x d m p : t r i g g e r s - d a t a b a s e | x d m p : t r a c e | x d m p : t o - j s o n | x d m p : t i d y | x d m p : s u b b i n a r y | x d m p : s t r f t i m e | x d m p : s p a w n - i n | x d m p : s p a w n | x d m p : s l e e p | x d m p : s h u t d o w n | x d m p : s e t - s e s s i o n - f i e l d | x d m p : s e t - r e s p o n s e - e n c o d i n g | x d m p : s e t - r e s p o n s e - c o n t e n t - t y p e | x d m p : s e t - r e s p o n s e - c o d e | x d m p : s e t - r e q u e s t - t i m e - l i m i t | x d m p : s e t | x d m p : s e r v e r s | x d m p : s e r v e r - s t a t u s | x d m p : s e r v e r - n a m e | x d m p : s e r v e r | x d m p : s e c u r i t y - d a t a b a s e | x d m p : s e c u r i t y - a s s e r t | x d m p : s c h e m a - d a t a b a s e | x d m p : s a v e | x d m p : r o l e - r o l e s | x d m p : r o l e | x d m p : r e t h r o w | x d m p : r e s t a r t | x d m p : r e q u e s t - t i m e s t a m p | x d m p : r e q u e s t - s t a t u s | x d m p : r e q u e s t - c a n c e l | x d m p : r e q u e s t | x d m p : r e d i r e c t - r e s p o n s e | x d m p : r a n d o m | x d m p : q u o t e | x d m p : q u e r y - t r a c e | x d m p : q u e r y - m e t e r s | x d m p : p r o d u c t - e d i t i o n | x d m p : p r i v i l e g e - r o l e s | x d m p : p r i v i l e g e | x d m p : p r e t t y - p r i n t | x d m p : p o w e r p o i n t - c o n v e r t | x d m p : p l a t f o r m | x d m p : p e r m i s s i o n | x d m p : p d f - c o n v e r t | x d m p : p a t h | x d m p : o c t a l - t o - i n t e g e r | x d m p : n o d e - u r i | x d m p : n o d e - r e p l a c e | x d m p : n o d e - k i n d | x d m p : n o d e - i n s e r t - c h i l d | x d m p : n o d e - i n s e r t - b e f o r e | x d m p : n o d e - i n s e r t - a f t e r | x d m p : n o d e - d e l e t e | x d m p : n o d e - d a t a b a s e | x d m p : m u l 6 4 | x d m p : m o d u l e s - r o o t | x d m p : m o d u l e s - d a t a b a s e | x d m p : m e r g i n g | x d m p : m e r g e - c a n c e l | x d m p : m e r g e | x d m p : m d 5 | x d m p : l o g o u t | x d m p : l o g i n | x d m p : l o g - l e v e l | x d m p : l o g | x d m p : l o c k - r e l e a s e | x d m p : l o c k - a c q u i r e | x d m p : l o a d | x d m p : i n v o k e - i n | x d m p : i n v o k e | x d m p : i n t e g e r - t o - o c t a l | x d m p : i n t e g e r - t o - h e x | x d m p : h t t p - p u t | x d m p : h t t p - p o s t | x d m p : h t t p - o p t i o n s | x d m p : h t t p - h e a d | x d m p : h t t p - g e t | x d m p : h t t p - d e l e t e | x d m p : h o s t s | x d m p : h o s t - s t a t u s | x d m p : h o s t - n a m e | x d m p : h o s t | x d m p : h e x - t o - i n t e g e r | x d m p : h a s h 6 4 | x d m p : h a s h 3 2 | x d m p : h a s - p r i v i l e g e | x d m p : g r o u p s | x d m p : g r o u p - s e r v e s | x d m p : g r o u p - s e r v e r s | x d m p : g r o u p - n a m e | x d m p : g r o u p - h o s t s | x d m p : g r o u p | x d m p : g e t - s e s s i o n - f i e l d - n a m e s | x d m p : g e t - s e s s i o n - f i e l d | x d m p : g e t - r e s p o n s e - e n c o d i n g | x d m p : g e t - r e s p o n s e - c o d e | x d m p : g e t - r e q u e s t - u s e r n a m e | x d m p : g e t - r e q u e s t - u s e r | x d m p : g e t - r e q u e s t - u r l | x d m p : g e t - r e q u e s t - p r o t o c o l | x d m p : g e t - r e q u e s t - p a t h | x d m p : g e t - r e q u e s t - m e t h o d | x d m p : g e t - r e q u e s t - h e a d e r - n a m e s | x d m p : g e t - r e q u e s t - h e a d e r | x d m p : g e t - r e q u e s t - f i e l d - n a m e s | x d m p : g e t - r e q u e s t - f i e l d - f i l e n a m e | x d m p : g e t - r e q u e s t - f i e l d - c o n t e n t - t y p e | x d m p : g e t - r e q u e s t - f i e l d | x d m p : g e t - r e q u e s t - c l i e n t - c e r t i f i c a t e | x d m p : g e t - r e q u e s t - c l i e n t - a d d r e s s | x d m p : g e t - r e q u e s t - b o d y | x d m p : g e t - c u r r e n t - u s e r | x d m p : g e t - c u r r e n t - r o l e s | x d m p : g e t | x d m p : f u n c t i o n - n a m e | x d m p : f u n c t i o n - m o d u l e | x d m p : f u n c t i o n | x d m p : f r o m - j s o n | x d m p : f o r e s t s | x d m p : f o r e s t - s t a t u s | x d m p : f o r e s t - r e s t o r e | x d m p : f o r e s t - r e s t a r t | x d m p : f o r e s t - n a m e | x d m p : f o r e s t - d e l e t e | x d m p : f o r e s t - d a t a b a s e s | x d m p : f o r e s t - c o u n t s | x d m p : f o r e s t - c l e a r | x d m p : f o r e s t - b a c k u p | x d m p : f o r e s t | x d m p : f i l e s y s t e m - f i l e | x d m p : f i l e s y s t e m - d i r e c t o r y | x d m p : e x i s t s | x d m p : e x c e l - c o n v e r t | x d m p : e v a l - i n | x d m p : e v a l | x d m p : e s t i m a t e | x d m p : e m a i l | x d m p : e l e m e n t - c o n t e n t - t y p e | x d m p : e l a p s e d - t i m e | x d m p : d o c u m e n t - s e t - q u a l i t y | x d m p : d o c u m e n t - s e t - p r o p e r t y | x d m p : d o c u m e n t - s e t - p r o p e r t i e s | x d m p : d o c u m e n t - s e t - p e r m i s s i o n s | x d m p : d o c u m e n t - s e t - c o l l e c t i o n s | x d m p : d o c u m e n t - r e m o v e - p r o p e r t i e s | x d m p : d o c u m e n t - r e m o v e - p e r m i s s i o n s | x d m p : d o c u m e n t - r e m o v e - c o l l e c t i o n s | x d m p : d o c u m e n t - p r o p e r t i e s | x d m p : d o c u m e n t - l o c k s | x d m p : d o c u m e n t - l o a d | x d m p : d o c u m e n t - i n s e r t | x d m p : d o c u m e n t - g e t - q u a l i t y | x d m p : d o c u m e n t - g e t - p r o p e r t i e s | x d m p : d o c u m e n t - g e t - p e r m i s s i o n s | x d m p : d o c u m e n t - g e t - c o l l e c t i o n s | x d m p : d o c u m e n t - g e t | x d m p : d o c u m e n t - f o r e s t | x d m p : d o c u m e n t - d e l e t e | x d m p : d o c u m e n t - a d d - p r o p e r t i e s | x d m p : d o c u m e n t - a d d - p e r m i s s i o n s | x d m p : d o c u m e n t - a d d - c o l l e c t i o n s | x d m p : d i r e c t o r y - p r o p e r t i e s | x d m p : d i r e c t o r y - l o c k s | x d m p : d i r e c t o r y - d e l e t e | x d m p : d i r e c t o r y - c r e a t e | x d m p : d i r e c t o r y | x d m p : d i a c r i t i c - l e s s | x d m p : d e s c r i b e | x d m p : d e f a u l t - p e r m i s s i o n s | x d m p : d e f a u l t - c o l l e c t i o n s | x d m p : d a t a b a s e s | x d m p : d a t a b a s e - r e s t o r e - v a l i d a t e | x d m p : d a t a b a s e - r e s t o r e - s t a t u s
[ "pln" , /^[\w:-]+/ ] , [ "pln" , /^[\t\n\r \xa0]+/ ] ] ) , [ "xq" , "xquery" ] ) ;
var a = null ;
PR . registerLangHandler ( PR . createSimpleLexer ( [ [ "pun" , /^[:>?|]+/ , a , ":|>?" ] , [ "dec" , /^%(?:YAML|TAG)[^\n\r#]+/ , a , "%" ] , [ "typ" , /^&\S+/ , a , "&" ] , [ "typ" , /^!\S*/ , a , "!" ] , [ "str" , /^"(?:[^"\\]|\\.)*(?:"|$)/ , a , '"' ] , [ "str" , /^'(?:[^']|'')*(?:'|$)/ , a , "'" ] , [ "com" , /^#[^\n\r]*/ , a , "#" ] , [ "pln" , /^\s+/ , a , " \t\r\n" ] ] , [ [ "dec" , /^(?:---|\.\.\.)(?:[\n\r]|$)/ ] , [ "pun" , /^-/ ] , [ "kwd" , /^\w+:[\n\r ]/ ] , [ "pln" , /^\w+/ ] ] ) , [ "yaml" , "yml" ] ) ;