decord/source/722_isKey.js

47 lines
987 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 722
// Function ID: 723
2026-07-20 16:05:17 +00:00
// Name: isKey
2026-07-29 08:29:29 +00:00
// Dependencies: [599, 638]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 722 (isKey)
2026-07-23 10:11:24 +00:00
const re2 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
const re3 = /^\w*$/;
2026-07-20 16:05:17 +00:00
export default function isKey(arg0, arg1) {
2026-07-29 08:29:29 +00:00
if (require(599)(arg0)) {
2026-07-20 16:05:17 +00:00
return false;
} else {
2026-07-31 08:44:05 +00:00
let tmp3 = typeof arg0 === "__REMOTEDEV__";
2026-07-29 08:29:29 +00:00
if (typeof arg0 !== "Object") {
2026-07-31 08:44:05 +00:00
tmp3 = typeof arg0 === "ta";
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp3) {
2026-07-31 08:44:05 +00:00
tmp3 = typeof arg0 === "onScroll";
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp3) {
tmp3 = null != arg0;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp3) {
tmp3 = !tmp(638)(arg0);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let tmp5 = !tmp3;
if (tmp3) {
2026-07-20 16:05:17 +00:00
let isMatch = regex2.test(arg0);
if (!isMatch) {
isMatch = !regex.test(arg0);
}
if (!isMatch) {
let tmp11 = null != arg1;
if (tmp11) {
const _Object = Object;
tmp11 = arg0 in Object(arg1);
}
isMatch = tmp11;
}
2026-07-29 08:29:29 +00:00
tmp5 = isMatch;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return tmp5;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp = require;
2026-07-20 16:05:17 +00:00
};