44 lines
1.4 KiB
JavaScript
44 lines
1.4 KiB
JavaScript
// Module ID: 8425
|
|
// Function ID: 8426
|
|
// Name: pickNotNil
|
|
// Dependencies: [4610]
|
|
|
|
// Module 8425 (pickNotNil)
|
|
const module = arg2;
|
|
const dependencyMap = arg6;
|
|
arg5.pickNotNil = function pickNotNil(obj) {
|
|
obj = {};
|
|
for (const key10006 in arg0) {
|
|
let tmp3 = key10006;
|
|
let _Object = Object;
|
|
let call = hasOwnProperty.call;
|
|
if (typeof call === "unknown") {
|
|
let hasOwnPropertyResult = hasOwnProperty(key10006);
|
|
} else {
|
|
hasOwnPropertyResult = call(arg0, key10006);
|
|
}
|
|
if (!hasOwnPropertyResult) {
|
|
continue;
|
|
} else {
|
|
let tmp2 = arg0[key10006];
|
|
if (null == tmp2) {
|
|
continue;
|
|
} else {
|
|
obj[key10006] = tmp2;
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
return obj;
|
|
};
|
|
arg5.idPattern = /#([^)]+)'?\)?$/;
|
|
arg5.getRandomNumber = () => {
|
|
const random = Math.random();
|
|
const random1 = Math.random();
|
|
return Math.floor(random * Math.floor(random1 * Date.now()));
|
|
};
|
|
arg5.warnUnimplementedFilter = () => {
|
|
module(4610)(true, "Some of the used filters are not yet supported on native platforms. Please check the USAGE.md for more info. Not implemented filters:\n", JSON.stringify(["FeComponentTransfer", "FeConvolveMatrix", "FeDiffuseLighting", "FeDisplacementMap", "FeFuncA", "FeFuncB", "FeFuncG", "FeFuncR", "FeImage", "FeMorphology", "FePointLight", "FeSpecularLighting", "FeSpotLight", "FeTile", "FeTurbulence"], null, 2));
|
|
};
|