Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/@aws-crypto/ie11-detection/build/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isMsWindow = void 0;
var msSubtleCryptoMethods = [
"decrypt",
"digest",
"encrypt",
"exportKey",
"generateKey",
"importKey",
"sign",
"verify"
];
function quacksLikeAnMsWindow(window) {
return "MSInputMethodContext" in window && "msCrypto" in window;
}
/**
* Determines if the provided window is (or is like) the window object one would
* expect to encounter in Internet Explorer 11.
*/
function isMsWindow(window) {
if (quacksLikeAnMsWindow(window) && window.msCrypto.subtle !== undefined) {
var _a = window.msCrypto, getRandomValues = _a.getRandomValues, subtle_1 = _a.subtle;
return msSubtleCryptoMethods
.map(function (methodName) { return subtle_1[methodName]; })
.concat(getRandomValues)
.every(function (method) { return typeof method === "function"; });
}
return false;
}
exports.isMsWindow = isMsWindow;
//# sourceMappingURL=MsWindow.js.map |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0044 ]-- |