function require(a){return require.scopes[a]}function importAll(a,b){var c=require(a);for(var d in c)b[d]=c[d]}function FakeFile(a){this.path=a}function FakeTimer(){}require.scopes={__proto__:null},onShutdown={done:!1,add:function(){},remove:function(){}};var Components={interfaces:{nsIFile:{DIRECTORY_TYPE:0},nsIFileURL:function(){},nsIHttpChannel:function(){},nsITimer:{TYPE_REPEATING_SLACK:0},nsIInterfaceRequestor:null,nsIChannelEventSink:null},classes:{"@mozilla.org/timer;1":{createInstance:function(){return new FakeTimer}},"@mozilla.org/xmlextras/xmlhttprequest;1":{createInstance:function(){return new XMLHttpRequest}}},results:{},utils:{reportError:function(a){console.error(a),console.trace()}},manager:null,ID:function(){return null}};const Cc=Components.classes,Ci=Components.interfaces,Cr=Components.results,Cu=Components.utils;var XPCOMUtils={generateQI:function(){}};FakeFile.prototype={get leafName(){return this.path},set leafName(a){this.path=a},append:function(a){this.path+=a},clone:function(){return new FakeFile(this.path)},get parent(){return{create:function(){}}},normalize:function(){}};var Services={io:{newURI:function(a){if(!a.length||"~"==a[0])throw new Error("Invalid URI");/^([^:\/]*)/.test(a);var b=RegExp.$1.toLowerCase();return{scheme:b,spec:a,QueryInterface:function(){return this}}},newFileURI:function(a){var b=this.newURI("file:///"+a.path);return b.file=a,b}},obs:{addObserver:function(){},removeObserver:function(){}},vc:{compare:function(a,b){function c(a){if(!a)return c("0");var b={numA:0,strB:"",numC:0,extraD:""};if("*"===a)return b.numA=Number.MAX_VALUE,b;var d=a.match(/(\d*)(\D*)(\d*)(.*)/);return b.numA=parseInt(d[1],10)||b.numA,b.strB=d[2]||b.strB,b.numC=parseInt(d[3],10)||b.numC,b.extraD=d[4]||b.extraD,"+"==b.strB&&(b.numA++,b.strB="pre"),b}function d(a,b){return""===a&&""!==b?1:""!==a&&""===b?-1:a===b?0:a>b?1:-1}function e(a,b){var c=0,e=["numA","strB","numC","extraD"];return e.some(function(e){return c=d(a[e],b[e])}),c}for(var f=a.split("."),g=b.split("."),h=0;h<Math.max(f.length,g.length);h++){var i=e(c(f[h]),c(g[h]));if(i)return i}return 0}}},FileUtils={PERMS_DIRECTORY:0};FakeTimer.prototype={delay:0,callback:null,initWithCallback:function(a,b){this.callback=a,this.delay=b,this.scheduleTimeout()},scheduleTimeout:function(){var a=this;window.setTimeout(function(){try{a.callback()}catch(b){Cu.reportError(b)}a.scheduleTimeout()},this.delay)}},XMLHttpRequest.prototype.channel={status:-1,notificationCallbacks:{},loadFlags:0,INHIBIT_CACHING:0,VALIDATE_ALWAYS:0,QueryInterface:function(){return this}};