/** * @fileoverview Text diff library ported from Python's difflib module. * https://github.com/qiao/difflib.js */ var difflib=function(){var a=function(b,c){var d=a.resolve(b,c||"/"),e=a.modules[d];if(!e)throw new Error("Failed to resolve module "+b+", tried "+d);var f=e._cached?e._cached:e();return f};return a.paths=[],a.modules={},a.extensions=[".js",".coffee"],a._core={assert:!0,events:!0,fs:!0,path:!0,vm:!0},a.resolve=function(){return function(b,c){function h(b){if(a.modules[b])return b;for(var c=0;c=0;e--){if(b[e]==="node_modules")continue;var f=b.slice(0,e+1).join("/")+"/node_modules";c.push(f)}return c}c||(c="/");if(a._core[b])return b;var d=a.modules.path();c=d.resolve("/",c);var e=c||"/";if(b.match(/^(?:\.\.?\/|\/)/)){var f=h(d.resolve(e,b))||i(d.resolve(e,b));if(f)return f}var g=j(b,e);if(g)return g;throw new Error("Cannot find module '"+b+"'")}}(),a.alias=function(b,c){var d=a.modules.path(),e=null;try{e=a.resolve(b+"/package.json","/")}catch(f){e=a.resolve(b,"/")}var g=d.dirname(e),h=(Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b})(a.modules);for(var i=0;i0){var c=a.shift();c()}}},!0),function(c){b?(a.push(c),window.postMessage("browserify-tick","*")):setTimeout(c,0)}}()),process.title||(process.title="browser"),process.binding||(process.binding=function(b){if(b==="evals")return a("vm");throw new Error("No such module")}),process.cwd||(process.cwd=function(){return"."}),process.env||(process.env={}),process.argv||(process.argv=[]),a.define("path",function(a,b,c,d,e){function f(a,b){var c=[];for(var d=0;d=0;d--){var e=a[d];e=="."?a.splice(d,1):e===".."?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}var h=/^(.+\/(?!$)|\/)?((?:.+?)?(\.[^.]*)?)$/;c.resolve=function(){var a="",b=!1;for(var c=arguments.length;c>=-1&&!b;c--){var d=c>=0?arguments[c]:process.cwd();if(typeof d!="string"||!d)continue;a=d+"/"+a,b=d.charAt(0)==="/"}return a=g(f(a.split("/"),function(a){return!!a}),!b).join("/"),(b?"/":"")+a||"."},c.normalize=function(a){var b=a.charAt(0)==="/",c=a.slice(-1)==="/";return a=g(f(a.split("/"),function(a){return!!a}),!b).join("/"),!a&&!b&&(a="."),a&&c&&(a+="/"),(b?"/":"")+a},c.join=function(){var a=Array.prototype.slice.call(arguments,0);return c.normalize(f(a,function(a,b){return a&&typeof a=="string"}).join("/"))},c.dirname=function(a){var b=h.exec(a)[1]||"",c=!1;return b?b.length===1||c&&b.length<=3&&b.charAt(1)===":"?b:b.substring(0,b.length-1):"."},c.basename=function(a,b){var c=h.exec(a)[2]||"";return b&&c.substr(-1*b.length)===b&&(c=c.substr(0,c.length-b.length)),c},c.extname=function(a){return h.exec(a)[3]||""}}),a.define("/node_modules/heap/package.json",function(a,b,c,d,e){b.exports={main:"./index.js"}}),a.define("/node_modules/heap/index.js",function(a,b,c,d,e){b.exports=a("./lib/heap")}),a.define("/node_modules/heap/lib/heap.js",function(a,b,c,d,e){(function(){var a,c,d,e,f,g,h,i,j,k,l,m,n,o;d=Math.floor,k=Math.min,c=function(a,b){return ab?1:0},j=function(a,b,e,f,g){var h;e==null&&(e=0),g==null&&(g=c);if(e<0)throw new Error("lo must be non-negative");f==null&&(f=a.length);while(g(e,f)<0)h=d((e+f)/2),g(b,a[h])<0?f=h:e=h+1;return[].splice.apply(a,[e,e-e].concat(b)),b},g=function(a,b,d){return d==null&&(d=c),a.push(b),n(a,0,a.length-1,d)},f=function(a,b){var d,e;return b==null&&(b=c),d=a.pop(),a.length?(e=a[0],a[0]=d,o(a,0,b)):e=d,e},i=function(a,b,d){var e;return d==null&&(d=c),e=a[0],a[0]=b,o(a,0,d),e},h=function(a,b,d){var e;return d==null&&(d=c),a.length&&d(a[0],b)<0&&(e=[a[0],b],b=e[0],a[0]=e[1],o(a,0,d)),b},e=function(a,b){var e,f,g,h,i,j,k,l;b==null&&(b=c),j=function(){l=[];for(var b=0,c=d(a.length/2);0<=c?bc;0<=c?b++:b--)l.push(b);return l}.apply(this).reverse(),k=[];for(f=0,h=j.length;fq;h=0<=q?++n:--n)r.push(f(a,d));return r},n=function(a,b,d,e){var f,g,h;e==null&&(e=c),f=a[d];while(d>b){h=d-1>>1,g=a[h];if(e(f,g)<0){a[d]=g,d=h;continue}break}return a[d]=f},o=function(a,b,d){var e,f,g,h,i;d==null&&(d=c),f=a.length,i=b,g=a[b],e=2*b+1;while(e=0;f--)if(c[f]!=d[f])return!1;for(f=c.length-1;f>=0;f--){e=c[f];if(!n(a[e],b[e]))return!1}return!0}function r(a,b){return!a||!b?!1:b instanceof RegExp?b.test(a):a instanceof b?!0:b.call({},a)===!0?!0:!1}function s(a,b,c,d){var e;typeof c=="string"&&(d=c,c=null);try{b()}catch(f){e=f}d=(c&&c.name?" ("+c.name+").":".")+(d?" "+d:"."),a&&!e&&l("Missing expected exception"+d),!a&&r(e,c)&&l("Got unwanted exception"+d);if(a&&e&&c&&!r(e,c)||!a&&e)throw e}var f=a("util"),g=a("buffer").Buffer,h=Array.prototype.slice,i=b.exports=m;i.AssertionError=function(b){this.name="AssertionError",this.message=b.message,this.actual=b.actual,this.expected=b.expected,this.operator=b.operator;var c=b.stackStartFunction||l;Error.captureStackTrace&&Error.captureStackTrace(this,c)},f.inherits(i.AssertionError,Error),i.AssertionError.prototype.toString=function(){return this.message?[this.name+":",this.message].join(" "):[this.name+":",k(JSON.stringify(this.actual,j),128),this.operator,k(JSON.stringify(this.expected,j),128)].join(" ")},i.AssertionError.__proto__=Error.prototype,i.fail=l,i.ok=m,i.equal=function(b,c,d){b!=c&&l(b,c,d,"==",i.equal)},i.notEqual=function(b,c,d){b==c&&l(b,c,d,"!=",i.notEqual)},i.deepEqual=function(b,c,d){n(b,c)||l(b,c,d,"deepEqual",i.deepEqual)},i.notDeepEqual=function(b,c,d){n(b,c)&&l(b,c,d,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(b,c,d){b!==c&&l(b,c,d,"===",i.strictEqual)},i.notStrictEqual=function(b,c,d){b===c&&l(b,c,d,"!==",i.notStrictEqual)},i.throws=function(a,b,c){s.apply(this,[!0].concat(h.call(arguments)))},i.doesNotThrow=function(a,b,c){s.apply(this,[!1].concat(h.call(arguments)))},i.ifError=function(a){if(a)throw a}}),a.define("util",function(a,b,c,d,e){function g(a){return a instanceof Array||Array.isArray(a)||a&&a!==Object.prototype&&g(a.__proto__)}function h(a){return a instanceof RegExp||typeof a=="object"&&Object.prototype.toString.call(a)==="[object RegExp]"}function i(a){if(a instanceof Date)return!0;if(typeof a!="object")return!1;var b=Date.prototype&&n(Date.prototype),c=a.__proto__&&n(a.__proto__);return JSON.stringify(c)===JSON.stringify(b)}function j(a){return a<10?"0"+a.toString(10):a.toString(10)}function l(){var a=new Date,b=[j(a.getHours()),j(a.getMinutes()),j(a.getSeconds())].join(":");return[a.getDate(),k[a.getMonth()],b].join(" ")}var f=a("events");c.print=function(){},c.puts=function(){},c.debug=function(){},c.inspect=function(a,b,d,e){function k(a,d){if(a&&typeof a.inspect=="function"&&a!==c&&(!a.constructor||a.constructor.prototype!==a))return a.inspect(d);switch(typeof a){case"undefined":return j("undefined","undefined");case"string":var e="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return j(e,"string");case"number":return j(""+a,"number");case"boolean":return j(""+a,"boolean")}if(a===null)return j("null","null");var l=m(a),o=b?n(a):l;if(typeof a=="function"&&o.length===0){if(h(a))return j(""+a,"regexp");var p=a.name?": "+a.name:"";return j("[Function"+p+"]","special")}if(i(a)&&o.length===0)return j(a.toUTCString(),"date");var q,r,s;g(a)?(r="Array",s=["[","]"]):(r="Object",s=["{","}"]);if(typeof a=="function"){var t=a.name?": "+a.name:"";q=h(a)?" "+a:" [Function"+t+"]"}else q="";i(a)&&(q=" "+a.toUTCString());if(o.length===0)return s[0]+q+s[1];if(d<0)return h(a)?j(""+a,"regexp"):j("[Object]","special");f.push(a);var u=o.map(function(b){var c,e;a.__lookupGetter__&&(a.__lookupGetter__(b)?a.__lookupSetter__(b)?e=j("[Getter/Setter]","special"):e=j("[Getter]","special"):a.__lookupSetter__(b)&&(e=j("[Setter]","special"))),l.indexOf(b)<0&&(c="["+b+"]"),e||(f.indexOf(a[b])<0?(d===null?e=k(a[b]):e=k(a[b],d-1),e.indexOf("\n")>-1&&(g(a)?e=e.split("\n").map(function(a){return" "+a}).join("\n").substr(2):e="\n"+e.split("\n").map(function(a){return" "+a}).join("\n"))):e=j("[Circular]","special"));if(typeof c=="undefined"){if(r==="Array"&&b.match(/^\d+$/))return e;c=JSON.stringify(""+b),c.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=j(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=j(c,"string"))}return c+": "+e});f.pop();var v=0,w=u.reduce(function(a,b){return v++,b.indexOf("\n")>=0&&v++,a+b.length+1},0);return w>50?u=s[0]+(q===""?"":q+"\n ")+" "+u.join(",\n ")+" "+s[1]:u=s[0]+q+" "+u.join(", ")+" "+s[1],u}var f=[],j=function(a,b){var c={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d={special:"cyan",number:"blue","boolean":"yellow","undefined":"grey","null":"bold",string:"green",date:"magenta",regexp:"red"}[b];return d?"["+c[d][0]+"m"+a+"["+c[d][1]+"m":a};return e||(j=function(a,b){return a}),k(a,typeof d=="undefined"?2:d)};var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];c.log=function(a){},c.pump=null;var m=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b},n=Object.getOwnPropertyNames||function(a){var b=[];for(var c in a)Object.hasOwnProperty.call(a,c)&&b.push(c);return b},o=Object.create||function(a,b){var c;if(a===null)c={__proto__:null};else{if(typeof a!="object")throw new TypeError("typeof prototype["+typeof a+"] != 'object'");var d=function(){};d.prototype=a,c=new d,c.__proto__=a}return typeof b!="undefined"&&Object.defineProperties&&Object.defineProperties(c,b),c};c.inherits=function(a,b){a.super_=b,a.prototype=o(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}}),a.define("events",function(a,b,c,d,e){process.EventEmitter||(process.EventEmitter=function(){});var f=c.EventEmitter=process.EventEmitter,g=typeof Array.isArray=="function"?Array.isArray:function(a){return Object.prototype.toString.call(a)==="[object Array]"},h=10;f.prototype.setMaxListeners=function(a){this._events||(this._events={}),this._events.maxListeners=a},f.prototype.emit=function(a){if(a==="error")if(!this._events||!this._events.error||g(this._events.error)&&!this._events.error.length)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var b=this._events[a];if(!b)return!1;if(typeof b=="function"){switch(arguments.length){case 1:b.call(this);break;case 2:b.call(this,arguments[1]);break;case 3:b.call(this,arguments[1],arguments[2]);break;default:var c=Array.prototype.slice.call(arguments,1);b.apply(this,c)}return!0}if(g(b)){var c=Array.prototype.slice.call(arguments,1),d=b.slice();for(var e=0,f=d.length;e0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),console.trace())}this._events[a].push(b)}else this._events[a]=[this._events[a],b];return this},f.prototype.on=f.prototype.addListener,f.prototype.once=function(a,b){var c=this;return c.on(a,function d(){c.removeListener(a,d),b.apply(this,arguments)}),this},f.prototype.removeListener=function(a,b){if("function"!=typeof b)throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[a])return this;var c=this._events[a];if(g(c)){var d=c.indexOf(b);if(d<0)return this;c.splice(d,1),c.length==0&&delete this._events[a]}else this._events[a]===b&&delete this._events[a];return this},f.prototype.removeAllListeners=function(a){return a&&this._events&&this._events[a]&&(this._events[a]=null),this},f.prototype.listeners=function(a){return this._events||(this._events={}),this._events[a]||(this._events[a]=[]),g(this._events[a])||(this._events[a]=[this._events[a]]),this._events[a]}}),a.define("buffer",function(a,b,c,d,e){function f(a){this.length=a}function h(a){return a<16?"0"+a.toString(16):a.toString(16)}function i(a){return a=~~Math.ceil(+a),a<0?0:a}function j(a,b,c){if(!(this instanceof j))return new j(a,b,c);var d;if(typeof c=="number")this.length=i(b),this.parent=a,this.offset=c;else{switch(d=typeof a){case"number":this.length=i(a);break;case"string":this.length=j.byteLength(a,b);break;case"object":this.length=i(a.length);break;default:throw new Error("First argument needs to be a number, array or string.")}this.length>j.poolSize?(this.parent=new f(this.length),this.offset=0):((!l||l.length-l.used>>0):(e=a[b+2]<<16,e|=a[b+1]<<8,e|=a[b],e+=a[b+3]<<24>>>0),e}function p(a,b,c,d){var e,f;return d||(g.ok(typeof c=="boolean","missing or invalid endian"),g.ok(b!==undefined&&b!==null,"missing offset"),g.ok(b+1=0,"specified a negative value for writing an unsigned value"),g.ok(a<=b,"value is larger than maximum value for type"),g.ok(Math.floor(a)===a,"value has a fractional component")}function u(a,b,c,d,e){e||(g.ok(b!==undefined&&b!==null,"missing value"),g.ok(typeof d=="boolean","missing or invalid endian"),g.ok(c!==undefined&&c!==null,"missing offset"),g.ok(c+1>>8,a[c+1]=b&255):(a[c+1]=(b&65280)>>>8,a[c]=b&255)}function v(a,b,c,d,e){e||(g.ok(b!==undefined&&b!==null,"missing value"),g.ok(typeof d=="boolean","missing or invalid endian"),g.ok(c!==undefined&&c!==null,"missing offset"),g.ok(c+3>>24&255,a[c+1]=b>>>16&255,a[c+2]=b>>>8&255,a[c+3]=b&255):(a[c+3]=b>>>24&255,a[c+2]=b>>>16&255,a[c+1]=b>>>8&255,a[c]=b&255)}function w(a,b,c){g.ok(typeof a=="number","cannot write a non-number as a number"),g.ok(a<=b,"value larger than maximum allowed value"),g.ok(a>=c,"value smaller than minimum allowed value"),g.ok(Math.floor(a)===a,"value has a fractional component")}function x(a,b,c){g.ok(typeof a=="number","cannot write a non-number as a number"),g.ok(a<=b,"value larger than maximum allowed value"),g.ok(a>=c,"value smaller than minimum allowed value")}function y(a,b,c,d,e){e||(g.ok(b!==undefined&&b!==null,"missing value"),g.ok(typeof d=="boolean","missing or invalid endian"),g.ok(c!==undefined&&c!==null,"missing offset"),g.ok(c+1=0?u(a,b,c,d,e):u(a,65535+b+1,c,d,e)}function z(a,b,c,d,e){e||(g.ok(b!==undefined&&b!==null,"missing value"),g.ok(typeof d=="boolean","missing or invalid endian"),g.ok(c!==undefined&&c!==null,"missing offset"),g.ok(c+3=0?v(a,b,c,d,e):v(a,4294967295+b+1,c,d,e)}function A(b,c,d,e,f){f||(g.ok(c!==undefined&&c!==null,"missing value"),g.ok(typeof e=="boolean","missing or invalid endian"),g.ok(d!==undefined&&d!==null,"missing offset"),g.ok(d+3"},f.prototype.hexSlice=function(a,b){var c=this.length;if(!a||a<0)a=0;if(!b||b<0||b>c)b=c;var d="";for(var e=a;ed&&(c=d)):c=d;var e=a.length;if(e%2)throw new Error("Invalid hex string");c>e/2&&(c=e/2);for(var g=0;gf&&(c=f)):c=f,d=String(d||"utf8").toLowerCase();switch(d){case"hex":return this.hexWrite(a,b,c);case"utf8":case"utf-8":return this.utf8Write(a,b,c);case"ascii":return this.asciiWrite(a,b,c);case"binary":return this.binaryWrite(a,b,c);case"base64":return this.base64Write(a,b,c);case"ucs2":case"ucs-2":return this.ucs2Write(a,b,c);default:throw new Error("Unknown encoding")}},f.prototype.slice=function(a,b){b===undefined&&(b=this.length);if(b>this.length)throw new Error("oob");if(a>b)throw new Error("oob");return new j(this,b-a,+a)},c.SlowBuffer=f,c.Buffer=j,j.poolSize=8192;var l;j.isBuffer=function(b){return b instanceof j||b instanceof f},j.prototype.inspect=function(){var b=[],d=this.length;for(var e=0;e"},j.prototype.get=function(b){if(b<0||b>=this.length)throw new Error("oob");return this.parent[this.offset+b]},j.prototype.set=function(b,c){if(b<0||b>=this.length)throw new Error("oob");return this.parent[this.offset+b]=c},j.prototype.write=function(a,b,c,d){if(isFinite(b))isFinite(c)||(d=c,c=undefined);else{var e=d;d=b,b=c,c=e}b=+b||0;var g=this.length-b;c?(c=+c,c>g&&(c=g)):c=g,d=String(d||"utf8").toLowerCase();var h;switch(d){case"hex":h=this.parent.hexWrite(a,this.offset+b,c);break;case"utf8":case"utf-8":h=this.parent.utf8Write(a,this.offset+b,c);break;case"ascii":h=this.parent.asciiWrite(a,this.offset+b,c);break;case"binary":h=this.parent.binaryWrite(a,this.offset+b,c);break;case"base64":h=this.parent.base64Write(a,this.offset+b,c);break;case"ucs2":case"ucs-2":h=this.parent.ucs2Write(a,this.offset+b,c);break;default:throw new Error("Unknown encoding")}return j._charsWritten=f._charsWritten,h},j.prototype.toString=function(a,b,c){a=String(a||"utf8").toLowerCase(),typeof b=="undefined"||b<0?b=0:b>this.length&&(b=this.length),typeof c=="undefined"||c>this.length?c=this.length:c<0&&(c=0),b+=this.offset,c+=this.offset;switch(a){case"hex":return this.parent.hexSlice(b,c);case"utf8":case"utf-8":return this.parent.utf8Slice(b,c);case"ascii":return this.parent.asciiSlice(b,c);case"binary":return this.parent.binarySlice(b,c);case"base64":return this.parent.base64Slice(b,c);case"ucs2":case"ucs-2":return this.parent.ucs2Slice(b,c);default:throw new Error("Unknown encoding")}},j.byteLength=f.byteLength,j.prototype.fill=function(b,c,d){b||(b=0),c||(c=0),d||(d=this.length),typeof b=="string"&&(b=b.charCodeAt(0));if(typeof b!="number"||isNaN(b))throw new Error("value is not a number");if(d=this.length)throw new Error("start out of bounds");if(d<0||d>this.length)throw new Error("end out of bounds");return this.parent.fill(b,c+this.offset,d+this.offset)},j.prototype.copy=function(a,b,c,d){var e=this;c||(c=0),d||(d=this.length),b||(b=0);if(d=a.length)throw new Error("targetStart out of bounds");if(c<0||c>=e.length)throw new Error("sourceStart out of bounds");if(d<0||d>e.length)throw new Error("sourceEnd out of bounds");return d>this.length&&(d=this.length),a.length-bthis.length)throw new Error("oob");if(a>b)throw new Error("oob");return new j(this.parent,b-a,+a+this.offset)},j.prototype.utf8Slice=function(a,b){return this.toString("utf8",a,b)},j.prototype.binarySlice=function(a,b){return this.toString("binary",a,b)},j.prototype.asciiSlice=function(a,b){return this.toString("ascii",a,b)},j.prototype.utf8Write=function(a,b){return this.write(a,b,"utf8")},j.prototype.binaryWrite=function(a,b){return this.write(a,b,"binary")},j.prototype.asciiWrite=function(a,b){return this.write(a,b,"ascii")},j.prototype.readUInt8=function(a,b){var c=this;return b||(g.ok(a!==undefined&&a!==null,"missing offset"),g.ok(a=0?d.writeUInt8(a,b,c):d.writeUInt8(255+a+1,b,c)},j.prototype.writeInt16LE=function(a,b,c){y(this,a,b,!1,c)},j.prototype.writeInt16BE=function(a,b,c){y(this,a,b,!0,c)},j.prototype.writeInt32LE=function(a,b,c){z(this,a,b,!1,c)},j.prototype.writeInt32BE=function(a,b,c){z(this,a,b,!0,c)},j.prototype.writeFloatLE=function(a,b,c){A(this,a,b,!1,c)},j.prototype.writeFloatBE=function(a,b,c){A(this,a,b,!0,c)},j.prototype.writeDoubleLE=function(a,b,c){B(this,a,b,!1,c)},j.prototype.writeDoubleBE=function(a,b,c){B(this,a,b,!0,c)},f.prototype.readUInt8=j.prototype.readUInt8,f.prototype.readUInt16LE=j.prototype.readUInt16LE,f.prototype.readUInt16BE=j.prototype.readUInt16BE,f.prototype.readUInt32LE=j.prototype.readUInt32LE,f.prototype.readUInt32BE=j.prototype.readUInt32BE,f.prototype.readInt8=j.prototype.readInt8,f.prototype.readInt16LE=j.prototype.readInt16LE,f.prototype.readInt16BE=j.prototype.readInt16BE,f.prototype.readInt32LE=j.prototype.readInt32LE,f.prototype.readInt32BE=j.prototype.readInt32BE,f.prototype.readFloatLE=j.prototype.readFloatLE,f.prototype.readFloatBE=j.prototype.readFloatBE,f.prototype.readDoubleLE=j.prototype.readDoubleLE,f.prototype.readDoubleBE=j.prototype.readDoubleBE,f.prototype.writeUInt8=j.prototype.writeUInt8,f.prototype.writeUInt16LE=j.prototype.writeUInt16LE,f.prototype.writeUInt16BE=j.prototype.writeUInt16BE,f.prototype.writeUInt32LE=j.prototype.writeUInt32LE,f.prototype.writeUInt32BE=j.prototype.writeUInt32BE,f.prototype.writeInt8=j.prototype.writeInt8,f.prototype.writeInt16LE=j.prototype.writeInt16LE,f.prototype.writeInt16BE=j.prototype.writeInt16BE,f.prototype.writeInt32LE=j.prototype.writeInt32LE,f.prototype.writeInt32BE=j.prototype.writeInt32BE,f.prototype.writeFloatLE=j.prototype.writeFloatLE,f.prototype.writeFloatBE=j.prototype.writeFloatBE,f.prototype.writeDoubleLE=j.prototype.writeDoubleLE,f.prototype.writeDoubleBE=j.prototype.writeDoubleBE}),a.define("buffer_ieee754",function(a,b,c,d,e){c.readIEEE754=function(a,b,c,d,e){var f,g,h=e*8-d-1,i=(1<>1,k=-7,l=c?0:e-1,m=c?1:-1,n=a[b+l];l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;for(;k>0;f=f*256+a[b+l],l+=m,k-=8);g=f&(1<<-k)-1,f>>=-k,k+=d;for(;k>0;g=g*256+a[b+l],l+=m,k-=8);if(f===0)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*Infinity;g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.writeIEEE754=function(a,b,c,d,e,f){var g,h,i,j=f*8-e-1,k=(1<>1,m=e===23?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?f-1:0,o=d?-1:1,p=b<0||b===0&&1/b<0?1:0;b=Math.abs(b),isNaN(b)||b===Infinity?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),g+l>=1?b+=m/i:b+=m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));for(;e>=8;a[c+n]=h&255,n+=o,h/=256,e-=8);g=g<0;a[c+n]=g&255,n+=o,g/=256,j-=8);a[c+n-o]|=p*128}}),a.define("/difflib.js",function(a,b,c,d,e){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=[].indexOf||function(a){for(var b=0,c=this.length;bh;c=0<=h?++f:--f){if(a[c]b[c])return 1}return d-e},w=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},q=function(a){var b,c,d;for(c=0,d=a.length;c=200){k=j(i/100)+1;for(c in b)e=b[c],e.length>k&&(l[c]=!0,delete b[c])}return this.isbjunk=function(a){return w(h,a)},this.isbpopular=function(a){return w(l,a)}},a.prototype.findLongestMatch=function(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,x,y,z;t=[this.a,this.b,this.b2j,this.isbjunk],e=t[0],f=t[1],g=t[2],l=t[3],u=[a,c,0],h=u[0],i=u[1],j=u[2],n={};for(k=q=a;a<=b?qb;k=a<=b?++q:--q){p={},v=w(g,e[k])?g[e[k]]:[];for(r=0,s=v.length;r=d)break;o=p[m]=(n[m-1]||0)+1,o>j&&(x=[k-o+1,m-o+1,o],h=x[0],i=x[1],j=x[2])}n=p}while(h>a&&i>c&&!l(f[i-1])&&e[h-1]===f[i-1])y=[h-1,i-1,j+1],h=y[0],i=y[1],j=y[2];while(h+ja&&i>c&&l(f[i-1])&&e[h-1]===f[i-1])z=[h-1,i-1,j+1],h=z[0],i=z[1],j=z[2];while(h+ji&&(c.push([j,e,m(f,e+a),g,m(h,g+a)]),d.push(c),c=[],r=[l(e,f-a),l(g,h-a)],e=r[0],g=r[1]),c.push([j,e,f,g,h]);return c.length&&(c.length!==1||c[0][0]!=="equal")&&d.push(c),d},a.prototype.ratio=function(){var a,b,c,d,e;b=0,e=this.getMatchingBlocks();for(c=0,d=e.length;c0&&d++;return s(d,this.a.length+this.b.length)},a.prototype.realQuickRatio=function(){var a,b,c;return c=[this.a.length,this.b.length],a=c[0],b=c[1],s(m(a,b),a+b)},a}(),k=function(a,b,c,e){var f,h,i,j,k,l,m,n,o,p;c==null&&(c=3),e==null&&(e=.6);if(c>0){if(0<=e&&e<=1){f=[],h=new g,h.setSeq2(a);for(k=0,m=b.length;k=e&&h.quickRatio()>=e&&h.ratio()>=e&&f.push([h.ratio(),j]);f=d.nlargest(f,c,r),p=[];for(l=0,n=f.length;l 0: ("+c+")")},t=function(a,b){var c,d,e;e=[0,a.length],c=e[0],d=e[1];while(cd;e=c<=d?++f:--f)g.push(""+a+" "+b[e]);return g},a.prototype._plainReplace=function(a,b,c,d,e,f){var g,i,j,k,l,m,n,o,p,q;h(bf;z=e<=f?++F:--F){q=d[z],u.setSeq2(q);for(y=G=b;b<=c?Gc;y=b<=c?++G:--G){i=a[y];if(i===q){w===null&&(W=[y,z],w=W[0],x=W[1]);continue}u.setSeq1(i),u.realQuickRatio()>n&&u.quickRatio()>n&&u.ratio()>n&&(X=[u.ratio(),y,z],n=X[0],o=X[1],p=X[2])}}if(n=0},v=function(a,b){var c,d;return c=a+1,d=b-a,d===1?""+c:(d||c--,""+c+","+d)},p=function(a,b,c){var d,e,f,h,i,j,k,l,m,n,o,p,q,r,s,t,u,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q;K=c!=null?c:{},i=K.fromfile,y=K.tofile,j=K.fromfiledate,z=K.tofiledate,t=K.n,s=K.lineterm,i==null&&(i=""),y==null&&(y=""),j==null&&(j=""),z==null&&(z=""),t==null&&(t=3),s==null&&(s="\n"),r=[],u=!1,L=(new g(null,a,b)).getGroupedOpcodes();for(A=0,E=L.length;A=0)&&d.push(c.slice(2));return d},c._arrayCmp=r,c.SequenceMatcher=g,c.getCloseMatches=k,c._countLeading=t,c.Differ=b,c.IS_LINE_JUNK=f,c.IS_CHARACTER_JUNK=e,c._formatRangeUnified=v,c.unifiedDiff=p,c._formatRangeContext=u,c.contextDiff=i,c.ndiff=n,c.restore=o}).call(this)}),a("/difflib.js"),a("/difflib")}()