-
Notifications
You must be signed in to change notification settings - Fork 3
/
NodeAsp.min.asp
executable file
·1 lines (1 loc) · 26.4 KB
/
NodeAsp.min.asp
1
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%><%Response.Buffer = true;Server.ScriptTimeOut = 999;Session.CodePage = 65001;Session.LCID = 2052;Response.Charset = "utf-8";Response.Expires = 0;var __node_start_timer__=(new Date).getTime();var global={},process={},JSON={},console={},require;var Buffer;var __filename=Server.MapPath(Request.ServerVariables("SCRIPT_NAME"));var __dirname=Server.MapPath("./");(function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(e){return e<10?"0"+e:e}var gap,indent,meta,rep;function quote(e){rx_escapable.lastIndex=0;return rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var r=meta[e];return typeof r==="string"?r:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,r){var t,n,i,a,o=gap,s,u=r[e];if(typeof rep==="function"){u=rep.call(r,e,u)}var f=getType(u);switch(f){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":return String(u);case"date":return new Date(u).getTime();case"null":return f;case"undefined":case"unknown":case"function":return;case"error":return"{}";case"custom":return u.toString();default:gap+=indent;s=[];if(Object.prototype.toString.apply(u)==="[object Array]"){a=u.length;for(t=0;t<a;t+=1){s[t]=str(t,u)||"null"}i=s.length===0?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+o+"]":"["+s.join(",")+"]";gap=o;return i}if(rep&&typeof rep==="object"){a=rep.length;for(t=0;t<a;t+=1){if(typeof rep[t]==="string"){n=rep[t];i=str(n,u);if(i){s.push(quote(n)+(gap?": ":":")+i)}}}}else{for(n in u){if(Object.prototype.hasOwnProperty.call(u,n)){i=str(n,u);if(i){s.push(quote(n)+(gap?": ":":")+i)}}}}i=s.length===0?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+o+"}":"{"+s.join(",")+"}";gap=o;return i}}if(typeof JSON.stringify!=="function"){meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};JSON.stringify=function(e,r,t){var n;gap="";indent="";if(typeof t==="number"){for(n=0;n<t;n+=1){indent+=" "}}else if(typeof t==="string"){indent=t}rep=r;if(r&&typeof r!=="function"&&(typeof r!=="object"||typeof r.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":e})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(e,r){var t,n,i=e[r];if(i&&typeof i==="object"){for(t in i){if(Object.prototype.hasOwnProperty.call(i,t)){n=walk(i,t);if(n!==undefined){i[t]=n}else{delete i[t]}}}}return reviver.call(e,r,i)}text=String(text);rx_dangerous.lastIndex=0;if(rx_dangerous.test(text)){text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})}if(rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}if(typeof JSON.format!=="function"){var repeat=function(e,r){return new Array(r+1).join(e)};JSON.format=function(e,r){var t=r&&r.cr?r.cr:false,n=r&&r.tab?r.tab:" ",i=r&&r.indent?r.indent:false,a=r&&r.compatible==false?false:true;var o=null;if(!a){o=function(e,r){var t=getType(r);switch(t){case"undefined":case"unknown":return new Custom(t);case"error":return new Custom("[Error: "+(r.message||"unknown error")+"]");case"regexp":return new Custom(r.toString());case"function":return new Custom("[Function: "+getFuncName(r)+"]");case"array":return formatArray(r);default:return r}}}else{o=function(e,r){if(typeof r==="object"&&r instanceof Array){return formatArray(r)}return r}}var s=this.stringify(e,o,n);if(t){if(t===true)t="\r\n";s=s.replace(/\n/g,t)}if(i){if(typeof i==="number")i=repeat(n,i);s=i+s.replace(/\n/g,"\n"+i)}return s}}function formatArray(e){if(e.length>10)return e;var r=[];for(var t=0;t<e.length;t++){var n=e[t];var i=typeof n;if(i==="number"||i==="boolean"){r.push(n)}else if(i==="string"){r.push('"'+n+'"')}else{r=[];break}}if(r.length){r="["+r.join(", ")+"]";return new Custom(r)}return e}function getFuncName(e){return e.toString().match(/function\s*([^(]*)\(/)[1]||"function"}function Custom(e,r){if(typeof r==="function"){e=r.apply(this,e)}this.toString=function(){return e}}function getType(e){var r=e===null?"null":typeof e;if(r==="object"){if(e instanceof Custom){r="custom"}else{r=Object.prototype.toString.call(e);r=r.replace(/(\[object )|]/g,"")}}return r.toLowerCase()}})();(function(){var e=Object.prototype;var r=Array.prototype;var t=Function.prototype;var n=String.prototype;var i=e.hasOwnProperty;var a=r.slice;t.bind||(t.bind=function(e){var r=this;if(typeof r!=="function"){throw new TypeError("Bind must be called on a function")}var t=a.call(arguments,1);function n(){if(this instanceof n){var i=o(r.prototype);var s=r.apply(i,t.concat(a.call(arguments)));return Object(s)===s?s:i}else{return r.apply(e,t.concat(a.call(arguments)))}}return n});function o(e){var r;if(Object.create){r=Object.create(e)}else{function t(){}t.prototype=e;r=new t}return r}Object.keys||(Object.keys=function(){var e=!{toString:""}.propertyIsEnumerable("toString");var r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var t=r.length;return function(n){if(n!==Object(n)){throw new TypeError(n+" is not an object")}var a=[];for(var o in n){if(i.call(n,o)){a.push(o)}}if(e){for(var s=0;s<t;s++){if(i.call(n,r[s])){a.push(r[s])}}}return a}}());Array.isArray||(Array.isArray=function(r){return e.toString.call(r)==="[object Array]"});r.forEach||(r.forEach=function(e,r){for(var t=0,n=this.length>>>0;t<n;t++){if(t in this){e.call(r,this[t],t,this)}}});r.map||(r.map=function(e,r){var t=this.length>>>0;var n=new Array(t);for(var i=0;i<t;i++){if(i in this){n[i]=e.call(r,this[i],i,this)}}return n});r.filter||(r.filter=function(e,r){var t=[],n;for(var i=0,a=this.length>>>0;i<a;i++){if(i in this){n=this[i];if(e.call(r,n,i,this)){t.push(n)}}}return t});r.every||(r.every=function(e,r){for(var t=0,n=this.length>>>0;t<n;t++){if(t in this&&!e.call(r,this[t],t,this)){return false}}return true});r.some||(r.some=function(e,r){for(var t=0,n=this.length>>>0;t<n;t++){if(t in this&&e.call(r,this[t],t,this)){return true}}return false});r.reduce||(r.reduce=function(e){if(typeof e!=="function"){throw new TypeError(e+" is not an function")}var r=this.length>>>0,t=0,n;if(arguments.length>1){n=arguments[1]}else{do{if(t in this){n=this[t++];break}if(++t>=r){throw new TypeError("reduce of empty array with on initial value")}}while(true)}for(;t<r;t++){if(t in this){n=e.call(null,n,this[t],t,this)}}return n});r.reduceRight||(r.reduceRight=function(e){if(typeof e!=="function"){throw new TypeError(e+" is not an function")}var r=this.length>>>0,t=r-1,n;if(arguments.length>1){n=arguments[1]}else{do{if(t in this){n=this[t--];break}if(--t<0)throw new TypeError("reduce of empty array with on initial value")}while(true)}for(;t>=0;t--){if(t in this){n=e.call(null,n,this[t],t,this)}}return n});r.indexOf||(r.indexOf=function(e,r){var t=this.length>>>0;r=Number(r)||0;r=Math[r<0?"ceil":"floor"](r);if(r<0){r=Math.max(r+t,0)}for(;r<t;r++){if(r in this&&this[r]===e){return r}}return-1});r.lastIndexOf||(r.lastIndexOf=function(e,r){var t=this.length>>>0;r=Number(r)||t-1;r=Math[r<0?"ceil":"floor"](r);if(r<0){r+=t}r=Math.min(r,t-1);for(;r>=0;r--){if(r in this&&this[r]===e){return r}}return-1});n.trim||(n.trim=function(){var e=["\\s","00A0","1680","180E","2000-\\u200A","200B","2028","2029","202F","205F","3000"].join("\\u");var r=new RegExp("^["+e+"]+");var t=new RegExp("["+e+"]+$");return function(){return String(this).replace(r,"").replace(t,"")}}());Date.now||(Date.now=function(){return(new Date).getTime()});Object.create||(Object.create=function(e,r){var t=function(){};t.prototype=e;var n=new t;for(var i in r){n[i]=r[i].value}n.__proto__=e;n.constructor=Object;return n});Object.getPrototypeOf||(Object.getPrototypeOf=function(e){var r=e.__proto__;if(r||r===null){return r}else if(e.constructor){return e.constructor.prototype}else{return _objproto}});r.find||(r.find=function(e,r){var t=Object(this);var n=t.length>>>0;if(!n||n<0){return}for(var i=0,a;i<n&&i in t;i++){a=t[i];if(e.call(r,a,i,t)){return a}}});r.findIndex||(r.findIndex=function(e,r){var t=Object(this);var n=t.length>>>0;if(!n||n<0){return-1}for(var i=0;i<n&&i in t;i++){if(e.call(r,t[i],i,t)){return i}}return-1});r.fill||(r.fill=function(e,r,t){var n=Object(this);var i=n.length>>>0;r=r||0;t=t||i;var a=r<0?Math.max(i+r,0):Math.min(r,i);for(;a<i&&a<t;++a){n[a]=e}return n});r.copyWithin||(r.copyWithin=function(e,r){var t=Object(this);var n=t.length>>>0;var i=parseInt(e,10);var a=i<0?Math.max(n+i,0):Math.min(i,n);var o=parseInt(r,10);var s=o<0?Math.max(n+o,0):Math.min(o,n);var u=arguments[2];var f=u===undefined?n:parseInt(u,10);var c=f<0?Math.max(n+f,0):Math.min(f,n);var l=Math.min(c-s,n-a);if(s<a&&a<s+l){s=s+l-1;a=a+l-1;while(l>0){if(s in t)t[a]=t[s];else delete t[a];s--;a--;l--}}else{while(l>0){if(s in t)t[a]=t[s];else delete t[a];s++;a++;l--}}return t});r.of||(r.of=function(){return a.call(arguments)});r.from||(r.from=function(e){var r=function(e){var r=Number(e);var t;if(r!=r){t=0}else if(r===0||!isFinite(r)){t=r}else{t=(r<0?-1:+1)*Math.floor(Math.abs(r))}if(t<=0){return 0}return Math.min(t,9007199254740991)};var t=Object(e),n=arguments.length>1?arguments[1]:undefined,i=arguments.length>2?arguments[2]:undefined,a=true;if(n===undefined){a=false}else if(typeof n!="function"){throw TypeError()}var o=r(t.length),s=new Array(o),u=0,f,c;while(u<o){if(u in t){f=t[u];c=a?n.call(i,f,u):f;s[u]=c}++u}s.length=o;return s});n.startsWith||(n.startsWith=function(e,r){var t=String(this);e=String(e);var n=Math.max(parseInt(r,10),0);return t.slice(n,n+e.length)===e});n.endsWith||(n.endsWith=function(e,r){var t=String(this);e=String(e);var n=t.length;var i=r===undefined?n:parseInt(r,10);var a=Math.min(Math.max(i,0),n);return t.slice(a-e.length,a)===e});n.contains||(n.contains=function(e,r){return n.indexOf.call(this,e,r)!==-1});n.repeat||(n.repeat=function(e){var r=function(e,t){if(t<1){return""}if(t%2){return r(e,t-1)+e}var n=r(e,t/2);return n+n};var t=String(this);e=parseInt(e,10);if(e<0||e===Infinity){throw new RangeError("Invalid String#repeat value")}return r(t,e)});if(!Number.MAX_SAFE_INTEGER){var s=Math.pow(2,53)-1;Number.MAX_SAFE_INTEGER=s;Number.MIN_SAFE_INTEGER=-s}if(!Number.EPSILON){Number.EPSILON=2.220446049250313e-16}if(!Number.isFinite){Number.isFinite=function(e){return typeof e==="number"&&isFinite(e)}}if(!Number.isInteger){Number.isInteger=function(e){return typeof e==="number"&&isFinite(e)&&e>-9007199254740992&&e<9007199254740992&&Math.floor(e)===e}}if(!Number.isSafeInteger){Number.isSafeInteger=function(e){return Number.isInteger(e)&&Math.abs(e)<=Number.MAX_SAFE_INTEGER}}if(!Number.isNaN){Number.isNaN=function(e){return e!==e}}if(!Object.is){var u=function(e){return typeof e==="number"&&isNaN(e)};Object.is=function c(e,r){if(e===0&&r===0){return 1/e===1/r}else if(e===r){return true}else if(u(e)&&u(r)){return true}return false}}if(!Object.assign){var f=function(e){return e&&typeof e==="object"};Object.assign=function l(e,r){var t,n,i,a;if(!f(e)){throw new TypeError("target must be an object")}for(t=1,i=arguments.length;t<i;++t){r=arguments[t];if(!f(r)){throw new TypeError("source "+t+" must be an object")}a=Object.keys(Object(r));for(n=0,i=a.length;n<i;++n){e[a[n]]=r[a[n]]}}return e}}})();(function(){var e=[].indexOf;Map=function(){var e=[],a=[];return Object.create(Map.prototype,{get:r(e,a),set:t(e,a),"delete":n(e,a),clear:o(e,a),size:s(e),forEach:u(a,e),has:i(e,a)})};Set=function(){var e=[],r=[];return Object.create(Set.prototype,{add:a(e),"delete":n(e,r),clear:o(e,r),size:s(e),forEach:u(e,r),has:i(e,r)})};WeakMap=function(){var e=[],a=[];return Object.create(WeakMap.prototype,{get:r(e,a,true),set:t(e,a,true),"delete":n(e,a,true),clear:o(e,a),has:i(e,a,true)})};WeakSet=function(){var e=[],r=[];return Object.create(WeakSet.prototype,{add:a(e,true),"delete":n(e,r,true),clear:o(e,r),has:i(e,r,true)})};Map.prototype=Map();Set.prototype=Set();WeakMap.prototype=WeakMap();WeakSet.prototype=WeakSet();function r(e,r,t){return{value:function(n){var i=f(e,n,t);return i>-1?r[i]:undefined}}}function t(e,r,t){return{value:function(n,i){var a=f(e,n,t);if(a>-1){r[a]=i}else{r[e.push(n)-1]=i}}}}function n(e,r,t){return{value:function(n){var i=f(e,n,t);if(i>-1){e.splice(i,1);r.splice(i,1);return true}return false}}}function i(e,r,t){return{value:function(r){return f(e,r,t)>-1}}}function a(e,r){return{value:function(t){var n=f(e,t,r);if(n===-1){e.push(t)}}}}function o(e,r){return{value:function(){e.length=0;r.length=0}}}function s(e){return{value:function(){return e.length}}}function u(e,r){return{value:function(t,n){e.forEach(function(e,n){t.call(this,e,r[n])},n)}}}function f(r,t,n){var i;if(t!=t||t===0){for(i=r.length;i--;){if(Object.is(r[i],t)){break}}}else{i=e.call(r,t)}return i}})();(function(){Error=function(e,r,t,n,i,a,o){var s=Array.prototype.slice.apply(arguments);if(typeof s[0]==="object"){var u=s[0];s=[];s.push(u.number||0);s.push(u.message||"");s.push(u.filename||__filename);s.push(u.line||0);s.push(u.column||0);s.push(u.source||"");s.push(u.name||"")}else if(typeof s[0]==="string"){s.unshift(0)}this.number=s[0]&65535;this.message=s[1]||"";this.filename=s[2]||__filename;this.line=s[3]||0;this.column=s[4]||0;this.source=s[5]||"";this.name=s[6]||this.name||"Error"};ConversionError=function(){this.name="ConversionError";return Error.apply(this,arguments)};RangeError=function(){this.name="RangeError";return Error.apply(this,arguments)};ReferenceError=function(){this.name="ReferenceError";return Error.apply(this,arguments)};RegExpError=function(){this.name="RegExpError";return Error.apply(this,arguments)};SyntaxError=function(){this.name="SyntaxError";return Error.apply(this,arguments)};TypeError=function(){this.name="TypeError";return Error.apply(this,arguments)};URIError=function(){this.name="URIError";return Error.apply(this,arguments)}})();(function(e){var r;try{r=Server.CreateObject("Terminal.Console")}catch(t){}var n="log";["log","info","warn","error","time","timeEnd"].forEach(function(t){e[t]=function(){if(!r)return;n=t;var a=t.startsWith("time")?arguments[0]:i.apply(e,arguments);if(t==="log")t="style";r[t](a)}});function i(){if(arguments.length===0)return"\n";var e=[];for(var r=0;r<arguments.length;r++){e.push(typeof arguments[r]!=="undefined"?o(arguments[r]):"undefined")}return e}function a(e){var r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e instanceof Error||e instanceof ConversionError||e instanceof RangeError||e instanceof ReferenceError||e instanceof RegExpError||e instanceof SyntaxError||e instanceof TypeError||e instanceof URIError)r="[object Error]"}return r}function o(e){var r="",t=a(e);switch(t){case"[object String]":r='"'+String(e)+'"';r=s.string(r);break;case"[object Number]":r=s.number(e);break;case"[object Boolean]":r=s.boolean(e);break;case"[object RegExp]":r="[RegExp: "+String(e)+"]";r=s.title(r);break;case"[object Date]":r="[Date: "+new Date(e).toLocaleString()+"]";r=s.title(r);break;case"[object Error]":if(n==="error"){r="["+(e.name||"Error")+": "+e.message+"]";if(e.filename)r+="\n @ "+e.filename;if(e.line)r+=", line "+e.line+", column "+e.column;if(e.source)r+="\n source: "+e.source}else{var i={};for(var o in e){if(o!=="description")i[o]=e[o]}r="[Error: \n"+JSON.format(i,{compatible:false,indent:1})+"\n]";r=s.title(r)}break;case"[object Function]":r="[Function: \n"+e.toString()+"\n]";r=s.title(r);break;case"[object Array]":r=JSON.format(e,{compatible:false});r=s.json(r);break;case"[object Object]":try{var u=new Enumerator(e);var f=[];for(;!u.atEnd();u.moveNext()){f.push(u.item())}r=f}catch(i){try{if(Buffer.isBuffer&&Buffer.isBuffer(e)){for(var c=0;c<e.length;c++){r+=" "+e[c].toString(16)}r="<Buffer"+r+">";r=s.buffer(r)}else{r=JSON.format(e,{compatible:false});r=s.json(r)}}catch(l){try{var p={};for(var v in e){p[v]=typeof e[v]==="object"?a(e[v]):e[v]}r=JSON.format(p,{compatible:false});r=s.json(r)}catch(h){}}}break;default:r=e}return r}var s={};s.buffer=function(e){if(n!=="style"&&n!=="log")return e;return e.replace(/^(<Buffer)/i,"<color:13 $1>").replace(/(>)$/,"<color:13 $1>")};s.title=function(e){if(n!=="style"&&n!=="log")return e;return e.replace(/^(\[[A-Z]+: )/i,"<color:13 $1>").replace(/(])$/,"<color:13 $1>")};s.string=function(e){if(n!=="style"&&n!=="log")return e;return"<color:10 "+e.replace(/(<|>)/g,"\\$1")+">"};s.number=function(e){if(n!=="style"&&n!=="log")return e;return"<color:11 "+e+">"};s.boolean=function(e){if(n!=="style"&&n!=="log")return e;return"<color:14 "+e+">"};s.json=function(e){if(n!=="style"&&n!=="log")return e;e=e.replace(/(: )(.+?)(?=,?\n)/g,function(e,r,t){if(/^(\d|\.)+$/.test(t)){return r+"<color:11 "+t+">"}else if(/^".*"$/.test(t)){t=t.replace(/(<|>)/g,"\\$1");return r+"<color:10 "+t+">"}else if(/^true|false$/.test(t)){return r+"<color:14 "+t+">"}else if(/^null|undefined|unknown$/.test(t)){return r+"<color:3 "+t+">"}else if(/^\/.+\/([gim]*)$/.test(t)){return r+"<color:2 "+t+">"}else{return e}});e=e.replace(/("[^"]+"):/g,"<color:13 $1>:");return e}})(console);process.platform="win32";process.version="v0.1.18";process.versions={nodeasp:"0.1.18",assert:"1.3.0",buffer:"4.5.0",events:"1.1.0",fs:"0.0.2",http:"0.0.3",os:"0.0.1",path:"0.12.7",punycode:"1.3.2",querystring:"0.2.0",url:"0.11.0",util:"0.10.3"};process.browser=false;process.title="Node Asp Component FrameWork";process.cwd=function(){return __dirname};process.chdir=function(e){__dirname=e};process.env={};process.env.NODE_ENV="production";process.env.ALL_HTTP=String(Request.ServerVariables("ALL_HTTP"));process.env.ALL_RAW=String(Request.ServerVariables("ALL_RAW"));process.env.APPL_MD_PATH=String(Request.ServerVariables("APPL_MD_PATH"));process.env.APPL_PHYSICAL_PATH=String(Request.ServerVariables("APPL_PHYSICAL_PATH"));process.env.AUTH_PASSWORD=String(Request.ServerVariables("AUTH_PASSWORD"));process.env.AUTH_TYPE=String(Request.ServerVariables("AUTH_TYPE"));process.env.AUTH_USER=String(Request.ServerVariables("AUTH_USER"));process.env.CERT_COOKIE=String(Request.ServerVariables("CERT_COOKIE"));process.env.CERT_FLAGS=String(Request.ServerVariables("CERT_FLAGS"));process.env.CERT_ISSUER=String(Request.ServerVariables("CERT_ISSUER"));process.env.CERT_KEYSIZE=String(Request.ServerVariables("CERT_KEYSIZE"));process.env.CERT_SECRETKEYSIZE=String(Request.ServerVariables("CERT_SECRETKEYSIZE"));process.env.CERT_SERIALNUMBER=String(Request.ServerVariables("CERT_SERIALNUMBER"));process.env.CERT_SERVER_ISSUER=String(Request.ServerVariables("CERT_SERVER_ISSUER"));process.env.CERT_SERVER_SUBJECT=String(Request.ServerVariables("CERT_SERVER_SUBJECT"));process.env.CERT_SUBJECT=String(Request.ServerVariables("CERT_SUBJECT"));process.env.CONTENT_LENGTH=String(Request.ServerVariables("CONTENT_LENGTH"));process.env.CONTENT_TYPE=String(Request.ServerVariables("CONTENT_TYPE"));process.env.GATEWAY_INTERFACE=String(Request.ServerVariables("GATEWAY_INTERFACE"));process.env.HTTPS=String(Request.ServerVariables("HTTPS"));process.env.HTTPS_KEYSIZE=String(Request.ServerVariables("HTTPS_KEYSIZE"));process.env.HTTPS_SECRETKEYSIZE=String(Request.ServerVariables("HTTPS_SECRETKEYSIZE"));process.env.HTTPS_SERVER_ISSUER=String(Request.ServerVariables("HTTPS_SERVER_ISSUER"));process.env.HTTPS_SERVER_SUBJECT=String(Request.ServerVariables("HTTPS_SERVER_SUBJECT"));process.env.INSTANCE_ID=String(Request.ServerVariables("INSTANCE_ID"));process.env.INSTANCE_META_PATH=String(Request.ServerVariables("INSTANCE_META_PATH"));process.env.LOCAL_ADDR=String(Request.ServerVariables("LOCAL_ADDR"));process.env.LOGON_USER=String(Request.ServerVariables("LOGON_USER"));process.env.PATH_INFO=String(Request.ServerVariables("PATH_INFO"));process.env.PATH_TRANSLATED=String(Request.ServerVariables("PATH_TRANSLATED"));process.env.QUERY_STRING=String(Request.ServerVariables("QUERY_STRING"));process.env.REMOTE_ADDR=String(Request.ServerVariables("REMOTE_ADDR"));process.env.REMOTE_HOST=String(Request.ServerVariables("REMOTE_HOST"));process.env.REMOTE_USER=String(Request.ServerVariables("REMOTE_USER"));process.env.REQUEST_METHOD=String(Request.ServerVariables("REQUEST_METHOD"));process.env.SCRIPT_NAME=String(Request.ServerVariables("SCRIPT_NAME"));process.env.SERVER_NAME=String(Request.ServerVariables("SERVER_NAME"));process.env.SERVER_PORT=Number(Request.ServerVariables("SERVER_PORT"));process.env.SERVER_PORT_SECURE=String(Request.ServerVariables("SERVER_PORT_SECURE"));process.env.SERVER_PROTOCOL=String(Request.ServerVariables("SERVER_PROTOCOL"));process.env.SERVER_SOFTWARE=String(Request.ServerVariables("SERVER_SOFTWARE"));process.env.URL=String(Request.ServerVariables("URL"));var ServerVariables=new Enumerator(Request.ServerVariables);for(;!ServerVariables.atEnd();ServerVariables.moveNext()){var item=ServerVariables.item();if(/^HTTP_/.test(item))process.env[item]=String(Request.ServerVariables(item))}process.env.CLIENT_IP=process.env.HTTP_X_FORWARDED_FOR||process.env.REMOTE_ADDR;process.abort=function(){Response.End()};process.exit=function(e){if(typeof e==="number"&&/^\d+$/.test(e)){process.exitCode=e;Response.Write(e)}Response.End()};process.release={name:"nodeasp"};process.uptime=function(){var e=__node_start_timer__;var r=(new Date).getTime();return(r-e)/1e3};(function(){var e=new ActiveXObject("Scripting.FileSystemObject");var r={};r.exists=function(r){return e.FileExists(r)};r.readFile=function(e){var r=new ActiveXObject("Adodb.Stream");r.Type=2;r.Mode=3;r.Open();r.Charset="utf-8";r.Position=r.Size;r.LoadFromFile(e);var t=r.ReadText;r.Close();return t};r.resolve=function(){var e=__dirname||Server.MapPath("./");var r=Array.prototype.slice.call(arguments);if(r.length===0)return e;var t=-1;for(var n=r.length-1;n>=0;n--){if(/^(\/|\\|\w:)/.test(r[n])){t=n;break}}if(t===-1){r.unshift(e)}else{r=r.slice(t)}var i=r.join("\\");i=i.replace(/\//g,"\\");i=i.replace(/\\\\/g,"\\");var a=/([^\\:]+\\)(\.\.\\)/;while(a.test(i)){i=i.replace(a,"")}i=i.replace(/\.{1,2}\\/g,"");i=i.replace(/([^:])\\$/,"$1");i=i.replace(/^(?=\\)/,e.substr(0,2));return i};r.dirname=function(r){return e.GetParentFolderName(r)};r.extname=function(r){var t=e.GetExtensionName(r);if(t.length>0)t="."+t;return t};r.AspError=function(e){var r="";if(e.source)r+="source: "+e.source;if(e.filename)r+="\n@"+e.filename;if(e.line)r+=", line "+e.line+", column "+e.column;var t=e.name+": "+e.message;var n=[];n.push("Function ThrowError(number, source, description)");n.push(" Err.Clear");n.push(" Err.Raise number, source, description");n.push("End Function");var i=new ActiveXObject("MSScriptControl.ScriptControl");i.Language="VBScript";i.AddCode(n.join("\n"));i.run("ThrowError",-1,r,t);CollectGarbage()};var t=function(e,r){this.id=e;this.filename=e;this.exports={};if(r)this.parent=t.caches[r];this.loaded=false;this.children=[]};var n={line:0};t.routes={};t.caches={};t.prototype.require=function(e){var i,u=r.dirname(this.filename);if(t.routes[u]&&t.routes[u][e]){i=t.routes[u][e]}else{try{i=s(e,u)}catch(f){if(n.inRequire){throw f}else{var c=new Error({filename:this.filename,message:f.message,source:f.source,line:n.line,name:f.name});console.error(c);r.AspError(c)}}t.routes[u]=t.routes[u]||{};t.routes[u][e]=i}if(t.caches[i]){return t.caches[i].exports}else{var l=new t(i,this.filename);a.apply(l);o.apply(l);l.loaded=true;l.parent&&l.parent.children&&l.parent.children.push(l);return a.apply(l)}};function i(){var e=r.readFile(this.filename);if(r.extname(this.filename.toLowerCase())===".json"){e="module.exports="+e}return e}function a(){return(t.caches[this.filename]=this).exports}function o(){var e;var t=i.apply(this);var n=this.exports={};var a=this.filename;var o=r.dirname(this.filename);try{var u=this.require.bind(this);u.cache={};u.resolve=function(e){return s(e,o)};u.toString=function(){return"function require(){\n [native code]\n}"};u.resolve.toString=function(){return"function resolve(){\n [native code]\n}"};e=new Function("return function(exports, require, module, __filename, __dirname){\n"+t+"\n}")();e.call(n,n,u,this,a,o)}catch(f){if(f.name!=="SearchError"&&f.filename)throw f;var c={number:f.number,message:f.message,filename:a,name:f.name};throw new Error(c)}}function s(e,t){if(!t){var n={message:"The target module '"+e+"' does not exist!",source:'require("'+e+'")',name:"SearchError"};throw n}var i;if(/(^\.|^\/|:)/.test(e)){i=u(r.resolve(t,e));if(i){return i}else{i=r.resolve(t,e,"index.js");if(r.exists(i)){return i}else{return s(e,r.dirname(t))}}}else{var a,o;var f=e.split("/");if(f.length>1){a=f[0];o=f.slice(1)}else{a=e;o=[]}if(o.length>0){i=u(r.resolve(t,"node_modules",a,o.join("/")));if(i){return i}else{i=r.resolve(t,"node_modules",a,o.join("/"),"index.js");if(r.exists(i)){return i}else{return s(e,r.dirname(t))}}}else{i=r.resolve(t,"node_modules",a,"package.json");if(r.exists(i)){var c=JSON.parse(r.readFile(i));if(c.main){i=u(r.resolve(t,"node_modules",a,c.main));if(i){return i}else{i=r.resolve(t,"node_modules",a,c.main,"index.js");if(r.exists(i)){return i}else{i=r.resolve(t,"node_modules",a,"index.js");if(r.exists(i)){return i}else{return s(e,r.dirname(t))}}}}else{i=r.resolve(t,"node_modules",a,"index.js");if(r.exists(i)){return i}else{return s(e,r.dirname(t))}}}else{i=r.resolve(t,"node_modules",a,"index.js");if(r.exists(i)){return i}else{return s(e,r.dirname(t))}}}}}function u(e){if(r.exists(e))return e;e=e+".js";if(r.exists(e))return e;return false}require=function(e){n.inRequire=true;try{var i=new t(__filename);return i.require(e)}catch(a){if(e!=="buffer"){console.error(a);r.AspError(a)}else{throw a}}finally{delete n.inRequire}};require.cache={};require.resolve=function(e){return s(e,r.dirname(__filename))};require.toString=function(){return"function require(){\n [native code]\n}"};require.resolve.toString=function(){return"function resolve(){\n [native code]\n}"}})();try{Buffer=require("buffer").Buffer}catch(e){Buffer=function(){throw{message:"The node_modules/buffer does not exist!",source:"Buffer",name:"TypeError"}}}Enumerator.prototype.forEach=function(e){if(typeof e!=="function")return;var r=0;for(;!this.atEnd();this.moveNext()){e.call(e,this.item(),r);r++}};function setTimeout(fn){if(typeof fn==="string"){eval(fn)}else if(typeof fn==="function"){fn()}}function clearTimeout(e){}function setInterval(fn){if(typeof fn==="string"){eval(fn)}else if(typeof fn==="function"){fn()}}function clearInterval(e){}global.Array=Array;global.Boolean=Boolean;global.Date=Date;global.Error=Error;global.Function=Function;global.Enumerator=Enumerator;global.Math=Math;global.Number=Number;global.Object=Object;global.RegExp=RegExp;global.String=String;global.Buffer=Buffer;global.TypeError=TypeError;%>