var IN_GLOBAL_SCOPE=!0;window.PR_SHOULD_USE_CONTINUATION=!0;var prettyPrintOne,prettyPrint; (function(){function Q(b){function f(d){var a=d.charCodeAt(0);if(a!==92)return a;var g=d.charAt(1);return(a=w[g])?a:"0"<=g&&g<="7"?parseInt(d.substring(1),8):g==="u"||g==="x"?parseInt(d.substring(2),16):d.charCodeAt(1)}function k(d){if(d<32)return(d<16?"\\x0":"\\x")+d.toString(16);d=String.fromCharCode(d);return d==="\\"||d==="-"||d==="]"||d==="^"?"\\"+d:d}function c(d){var a=d.substring(1,d.length-1).match(RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")), d=[],g=a[0]==="^",b=["["];g&&b.push("^");for(var g=g?1:0,e=a.length;g122||(h<65||j>90||d.push([Math.max(65,j)|32,Math.min(h,90)|32]),h<97||j>122||d.push([Math.max(97,j)&-33,Math.min(h,122)&-33]))}}d.sort(function(d,a){return d[0]-a[0]||a[1]-d[1]});a=[];e=[];for(g=0;gj[0]&&(j[1]+1>j[0]&&b.push("-"),b.push(k(j[1])));b.push("]");return b.join("")}function l(d){for(var a=d.source.match(RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),b=a.length,f=[],e=0,j=0;e=2&&d==="["?a[e]=c(h):d!=="\\"&&(a[e]=h.replace(/[a-zA-Z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var r=0,o=!1,i=!1,m=0,a=b.length;m=0;)k[q.charAt(d)]=l;l=l[1];q=""+l;m.hasOwnProperty(q)||(i.push(l),m[q]=null)}i.push(/[\0-\uffff]/);c=Q(i)})();var l= f.length,r=function(b){for(var i=b.basePos,m=[i,"pln"],a=0,n=b.sourceCode.match(c)||[],w={},q=0,d=n.length;q=5&&"lang-"===g.substring(0,5))&&!(s&&typeof s[1]==="string"))e=!1,g="src";e||(w[u]=g)}j=a;a+=u.length;if(e){e=s[1];var h=u.indexOf(e),z=h+e.length;s[2]&&(z=u.length-s[2].length,h=z-e.length); g=g.substring(5);E(i+j,u.substring(0,h),r,m);E(i+j+h,e,F(g,e),m);E(i+j+z,u.substring(z),r,m)}else m.push(i+j,g)}b.decorations=m};return r}function t(b){var f=[],k=[];b.tripleQuotedStrings?f.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):b.multiLineStrings?f.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/, null,"'\"`"]):f.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]);b.verbatimStrings&&k.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var c=b.hashComments;c&&(b.cStyleComments?(c>1?f.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):f.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),k.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/, null])):f.push(["com",/^#[^\r\n]*/,null,"#"]));b.cStyleComments&&(k.push(["com",/^\/\/[^\r\n]*/,null]),k.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));b.regexLiterals&&k.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)")]); (c=b.types)&&k.push(["typ",c]);b=(""+b.keywords).replace(/^ | $/g,"");b.length&&k.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),null]);f.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);k.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",/^.[^\s\w\.$@\'\"\`\/\\]*/,null]); return v(f,k)}function G(b,f,k){function c(a){var b=a.nodeType;if(b==1&&!r.test(a.className))if("br"===a.nodeName)l(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)c(a);else if((b==3||b==4)&&k){var g=a.nodeValue,f=g.match(o);if(f)b=g.substring(0,f.index),a.nodeValue=b,(g=g.substring(f.index+f[0].length))&&a.parentNode.insertBefore(i.createTextNode(g),a.nextSibling),l(a),b||a.parentNode.removeChild(a)}}function l(b){function f(a,b){var d=b?a.cloneNode(!1):a,h= a.parentNode;if(h){var h=f(h,1),g=a.nextSibling;h.appendChild(d);for(var c=g;c;c=g)g=c.nextSibling,h.appendChild(c)}return d}for(;!b.nextSibling;)if(b=b.parentNode,!b)return;for(var b=f(b.nextSibling,0),g;(g=b.parentNode)&&g.nodeType===1;)b=g;a.push(b)}for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=b.ownerDocument,m=i.createElement("li");b.firstChild;)m.appendChild(b.firstChild);for(var a=[m],n=0;n=0;){var c=f[k];C.hasOwnProperty(c)?A.console&&console.warn("cannot override language handler %s",c):C[c]=b}}function F(b,f){if(!b||!C.hasOwnProperty(b))b=/^\s*=h&&(c+=2);k>=z&&(w+=2)}}finally{if(e)e.style.display=j}}catch(v){A.console&&console.log(v&&v.stack?v.stack:v)}}function I(b,f,k){var c=document.createElement("div"); c.innerHTML="
"+b+"
";c=c.firstChild;k&&G(c,k,!0);H({langExtension:f,numberLines:k,sourceNode:c,pre:1});return c.innerHTML}function J(b,f){function k(){var j;for(var f=A.PR_SHOULD_USE_CONTINUATION?a.now()+250:Infinity;n]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/], ["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup,htm,html,mxml,xhtml,xml,xsl".split(","));l(v([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["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"]);l(v([],[["atv",/^[\s\S]+/]]),["uq.val"]);l(t({keywords:K,hashComments:!0,cStyleComments:!0,types:P}),"c,cc,cpp,cxx,cyc,m".split(",")); l(t({keywords:"null,true,false"}),["json"]);l(t({keywords:M,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:P}),["cs"]);l(t({keywords:L,cStyleComments:!0}),["java"]);l(t({keywords:x,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);l(t({keywords:N,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);l(t({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"]);l(t({keywords:O,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);l(t({keywords:B,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);l(t({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,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}), ["coffee"]);l(t({keywords:T,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]);l(v([],[["str",/^[\s\S]+/]]),["regex"]);var V=A.PR={createSimpleLexer:v,registerLangHandler:l,sourceDecorator:t,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",prettyPrintOne:IN_GLOBAL_SCOPE?A.prettyPrintOne=I:prettyPrintOne=I,prettyPrint:prettyPrint= IN_GLOBAL_SCOPE?A.prettyPrint=J:prettyPrint=J};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return V})})();