window.PR_SHOULD_USE_CONTINUATION = true ;
window.PR_TAB_WIDTH = 8;
window.PR_normalizedHtml = window.PR = window.prettyPrintOne = window.prettyPrint = void 0;
window._pr_isIE6 = function (){
var a = navigator && navigator.userAgent && navigator.userAgent.match(/\bMSIE ([678])\./);
a = a? + a[1]: false ;
window._pr_isIE6 = function (){
return a;
}
;
return a;
}
;
(function (){
var A = "break continue do else for if return while ";
var B = A + "auto case char const default " + "double enum extern float goto int long register short signed sizeof " + "static struct switch typedef union unsigned void volatile ";
var C = B + "catch class delete false import " + "new operator private protected public this throw true try typeof ";
var D = C + "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 wchar_t where ";
var E = C + "abstract boolean byte extends final finally implements import " + "instanceof null native package strictfp super synchronized throws " + "transient ";
var F = E + "as base by checked decimal delegate descending 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 ";
var G = C + "debugger eval export function get null set undefined var with " + "Infinity NaN ";
var H = "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 ";
var I = A + "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 ";
var J = A + "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 ";
var K = A + "case done elif esac eval fi " + "function in local set then until ";
var L = (D + F + G + H + I + J + K);
var M = 'str';
var N = 'kwd';
var O = 'com';
var P = 'typ';
var Q = 'lit';
var R = 'pun';
var S = 'pln';
var T = 'tag';
var U = 'dec';
var V = 'src';
var W = 'atn';
var X = 'atv';
var Y = 'nocode';
var Z = function (){
var a = ["!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=", "(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::", ";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>", ">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=", "{", "|", "|=", "||", "||=", "~", "break", "case", "continue", "delete", "do", "else", "finally", "instanceof", "return", "throw", "try", "typeof"] ;
var b = '(?:^^|[+-]';
for (var i = 0;
i < _AN_Read_length('length', a); ++i){
b += '|' + _AN_Call_replace('replace', a[i], /([^=<>:&a-z])/g, '\\$1');
}
b += ')\\s*';
return b;
}
();
var ba = /&/g;
var bb = //g;
var bd = /\"/g;
function attribToHtml(a){
return _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', a, ba, '&'), bb, '<'), bc, '>'), bd, '"');
}
function textToHtml(a){
return _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', a, ba, '&'), bb, '<'), bc, '>');
}
var be = /</g;
var bf = />/g;
var bg = /'/g;
var bh = /"/g;
var bi = /&/g;
var bj = / /g;
function htmlToText(a){
var b = a.indexOf('&');
if (b < 0) {
return a;
}
for (--b; (b = a.indexOf('', b + 1)) >= 0; ){
var c = a.indexOf(';', b);
if (c >= 0) {
var d = a.substring(b + 3, c);
var e = 10;
if (d && d.charAt(0) === 'x') {
d = d.substring(1);
e = 16;
}
var f = parseInt(d, e);
if (!isNaN(f)) {
a = (a.substring(0, b) + String.fromCharCode(f) + a.substring(c + 1));
}
}
}
return _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', _AN_Call_replace('replace', a, be, '<'), bf, '>'), bg, "'"), bh, '"'), bj, ' '), bi, '&');
}
function isRawContent(a){
return 'XMP' === a.tagName;
}
var bk = /[\r\n]/g;
function isPreformatted(a, b){
if ('PRE' === a.tagName) {
return true ;
}
if (!bk.test(b)) {
return true ;
}
var c = '';
if (a.currentStyle) {
c = a.currentStyle.whiteSpace;
}
else if (window.getComputedStyle) {
c = window.getComputedStyle(a, null ).whiteSpace;
}
return !c || c === 'pre';
}
function normalizedHtml(c, d, e){
switch (c.nodeType){
case 1: var f = c.tagName.toLowerCase();
d.push('<', f);
var g = c.attributes;
var n = _AN_Read_length('length', g);
if (n) {
if (e) {
var h = [] ;
for (var i = n;
--i >= 0; ){
h[i] = g[i];
}
h.sort(function (a, b){
return (a.name < b.name)? -1: a.name === b.name? 0: 1;
}
);
g = h;
}
for (var i = 0;
i < n; ++i){
var j = g[i];
if (!j.specified) {
continue ;
}
d.push(' ', j.name.toLowerCase(), '="', attribToHtml(j.value), '"');
}
}
d.push('>');
for (var k = c.firstChild;
k; k = k.nextSibling){
normalizedHtml(k, d, e);
}
if (c.firstChild || !/^(?:br|link|img)$/.test(f)) {
d.push('', f, '>');
}
break ;
case 3: case 4: d.push(textToHtml(_AN_Read_nodevalue('nodeValue', c)));
break ;
}
}
function combinePrefixPatterns(q){
var r = 0;
var s = false ;
var t = false ;
for (var i = 0, n = _AN_Read_length('length', q);
i < n; ++i){
var u = q[i];
if (u.ignoreCase) {
t = true ;
}
else if (/[a-z]/i.test(_AN_Call_replace('replace', u.source, /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
s = true ;
t = false ;
break ;
}
}
function decodeEscape(a){
if (a.charAt(0) !== '\\') {
return a.charCodeAt(0);
}
switch (a.charAt(1)){
case 'b': return 8;
case 't': return 9;
case 'n': return 10;
case 'v': return 11;
case 'f': return 12;
case 'r': return 13;
case 'u': case 'x': return parseInt(a.substring(2), 16) || a.charCodeAt(1);
case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': return parseInt(a.substring(1), 8);
default : {
return a.charCodeAt(1);
}
}
}
function encodeEscape(a){
if (a < 32) {
return (a < 16? '\\x0': '\\x') + a.toString(16);
}
var b = String.fromCharCode(a);
if (b === '\\' || b === '-' || b === '[' || b === ']') {
b = '\\' + b;
}
return b;
}
function caseFoldCharset(c){
var d = c.substring(1, _AN_Read_length('length', c) - 1).match(new 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'));
var e = [] ;
var f = [] ;
var g = d[0] === '^';
for (var i = g? 1: 0, n = _AN_Read_length('length', d);
i < n; ++i){
var p = d[i];
switch (p){
case '\\B': case '\\b': case '\\D': case '\\d': case '\\S': case '\\s': case '\\W': case '\\w': e.push(p);
continue ;
}
var h = decodeEscape(p);
var j;
if (i + 2 < n && '-' === d[i + 1]) {
j = decodeEscape(d[i + 2]);
i += 2;
}
else {
j = h;
}
f.push([h, j] );
if (!(j < 65 || h > 122)) {
if (!(j < 65 || h > 90)) {
f.push([Math.max(65, h) | 32, Math.min(j, 90) | 32] );
}
if (!(j < 97 || h > 122)) {
f.push([Math.max(97, h) & -33, Math.min(j, 122) & -33] );
}
}
}
f.sort(function (a, b){
return (a[0] - b[0]) || (b[1] - a[1]);
}
);
var k = [] ;
var l = [NaN, NaN] ;
for (var i = 0;
i < _AN_Read_length('length', f); ++i){
var m = f[i];
if (m[0] <= l[1] + 1) {
l[1] = Math.max(l[1], m[1]);
}
else {
k.push(l = m);
}
}
var o = ['['] ;
if (g) {
o.push('^');
}
o.push.apply(o, e);
for (var i = 0;
i < _AN_Read_length('length', k); ++i){
var m = k[i];
o.push(encodeEscape(m[0]));
if (m[1] > m[0]) {
if (m[1] + 1 > m[0]) {
o.push('-');
}
o.push(encodeEscape(m[1]));
}
}
o.push(']');
return o.join('');
}
function allowAnywhereFoldCaseAndRenumberGroups(c){
var d = c.source.match(new RegExp('(?:' + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]' + '|\\\\u[A-Fa-f0-9]{4}' + '|\\\\x[A-Fa-f0-9]{2}' + '|\\\\[0-9]+' + '|\\\\[^ux0-9]' + '|\\(\\?[:!=]' + '|[\\(\\)\\^]' + '|[^\\x5B\\x5C\\(\\)\\^]+' + ')', 'g'));
var n = _AN_Read_length('length', d);
var e = [] ;
for (var i = 0, groupIndex = 0;
i < n; ++i){
var p = d[i];
if (p === '(') {
++groupIndex;
}
else if ('\\' === p.charAt(0)) {
var f = + p.substring(1);
if (f && f <= groupIndex) {
e[f] = -1;
}
}
}
for (var i = 1;
i < _AN_Read_length('length', e); ++i){
if (-1 === e[i]) {
e[i] = ++r;
}
}
for (var i = 0, groupIndex = 0;
i < n; ++i){
var p = d[i];
if (p === '(') {
++groupIndex;
if (e[groupIndex] === undefined) {
d[i] = '(?:';
}
}
else if ('\\' === p.charAt(0)) {
var f = + p.substring(1);
if (f && f <= groupIndex) {
d[i] = '\\' + e[groupIndex];
}
}
}
for (var i = 0, groupIndex = 0;
i < n; ++i){
if ('^' === d[i] && '^' !== d[i + 1]) {
d[i] = '';
}
}
if (c.ignoreCase && s) {
for (var i = 0;
i < n; ++i){
var p = d[i];
var g = p.charAt(0);
if (_AN_Read_length('length', p) >= 2 && g === '[') {
d[i] = caseFoldCharset(p);
}
else if (g !== '\\') {
d[i] = _AN_Call_replace('replace', p, /[a-zA-Z]/g, function (a){
var b = a.charCodeAt(0);
return '[' + String.fromCharCode(b & -33, b | 32) + ']';
}
);
}
}
}
return d.join('');
}
var v = [] ;
for (var i = 0, n = _AN_Read_length('length', q);
i < n; ++i){
var u = q[i];
if (u.global || u.multiline) {
throw new Error('' + u)
}
v.push('(?:' + allowAnywhereFoldCaseAndRenumberGroups(u) + ')');
}
return new RegExp(v.join('|'), t? 'gi': 'g');
}
var bl = null ;
function getInnerHtml(a){
if (null === bl) {
var b = _AN_Call_createelement('createElement', document, 'PRE');
_AN_Call_appendchild('appendChild', b, document.createTextNode('\n
\r': ' \r'): '
'): '
');
var v = c.sourceNode.className.match(/\blinenums\b(?::(\d+))?/);
var w;
if (v) {
var x = [] ;
for (var i = 0;
i < 10; ++i){
x[i] = u + '