100 lines
3.7 KiB
Plaintext
100 lines
3.7 KiB
Plaintext
var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
|
|
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
|
|
{
|
|
let window = _____WB$wombat$assign$function_____("window");
|
|
let self = _____WB$wombat$assign$function_____("self");
|
|
let document = _____WB$wombat$assign$function_____("document");
|
|
let location = _____WB$wombat$assign$function_____("location");
|
|
let top = _____WB$wombat$assign$function_____("top");
|
|
let parent = _____WB$wombat$assign$function_____("parent");
|
|
let frames = _____WB$wombat$assign$function_____("frames");
|
|
let opener = _____WB$wombat$assign$function_____("opener");
|
|
|
|
/**
|
|
* SyntaxHighlighter
|
|
* http://alexgorbatchev.com/SyntaxHighlighter
|
|
*
|
|
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
|
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
|
*
|
|
* @version
|
|
* 3.0.83 (July 02 2010)
|
|
*
|
|
* @copyright
|
|
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
|
*
|
|
* @license
|
|
* Dual licensed under the MIT and GPL licenses.
|
|
*/
|
|
;(function()
|
|
{
|
|
// CommonJS
|
|
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
|
|
|
function Brush()
|
|
{
|
|
// Contributed by Gheorghe Milas and Ahmad Sherif
|
|
|
|
var keywords = 'and assert break class continue def del elif else ' +
|
|
'except exec finally for from global if import in is ' +
|
|
'lambda not or pass print raise return try yield while';
|
|
|
|
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
|
|
'chr classmethod cmp coerce compile complex delattr dict dir ' +
|
|
'divmod enumerate eval execfile file filter float format frozenset ' +
|
|
'getattr globals hasattr hash help hex id input int intern ' +
|
|
'isinstance issubclass iter len list locals long map max min next ' +
|
|
'object oct open ord pow print property range raw_input reduce ' +
|
|
'reload repr reversed round set setattr slice sorted staticmethod ' +
|
|
'str sum super tuple type type unichr unicode vars xrange zip';
|
|
|
|
var special = 'None True False self cls class_';
|
|
|
|
this.regexList = [
|
|
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
|
{ regex: /^\s*@\w+/gm, css: 'decorator' },
|
|
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
|
|
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
|
|
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
|
|
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
|
|
{ regex: /\b\d+\.?\w*/g, css: 'value' },
|
|
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
|
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
|
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
|
];
|
|
|
|
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
|
};
|
|
|
|
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
|
Brush.aliases = ['py', 'python'];
|
|
|
|
SyntaxHighlighter.brushes.Python = Brush;
|
|
|
|
// CommonJS
|
|
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
|
})();
|
|
|
|
|
|
}
|
|
/*
|
|
FILE ARCHIVED ON 00:30:02 Oct 25, 2012 AND RETRIEVED FROM THE
|
|
INTERNET ARCHIVE ON 01:58:36 Dec 09, 2020.
|
|
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
|
|
|
|
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
|
|
SECTION 108(a)(3)).
|
|
*/
|
|
/*
|
|
playback timings (ms):
|
|
exclusion.robots.policy: 0.155
|
|
PetaboxLoader3.resolve: 194.826
|
|
CDXLines.iter: 16.22 (3)
|
|
captures_list: 94.265
|
|
PetaboxLoader3.datanode: 83.724 (4)
|
|
esindex: 0.015
|
|
LoadShardBlock: 66.074 (3)
|
|
exclusion.robots: 0.167
|
|
RedisCDXSource: 8.702
|
|
load_resource: 233.029
|
|
*/ |