26 lines
768 B
JavaScript
26 lines
768 B
JavaScript
// Module ID: 1014
|
|
// Function ID: 1015
|
|
// Name: convertToNormalizedObject
|
|
// Dependencies: [817]
|
|
|
|
// Module 1014 (convertToNormalizedObject)
|
|
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" /* 817 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
const value = "value";
|
|
arg5.convertToNormalizedObject = function convertToNormalizedObject(data) {
|
|
let obj = registerSpanErrorInstrumentation;
|
|
const normalizeResult = obj.normalize(data);
|
|
if (null !== normalizeResult) {
|
|
if (typeof normalizeResult === "object") {
|
|
const _Array = Array;
|
|
if (!Array.isArray(normalizeResult)) {
|
|
const _Object = Object;
|
|
obj = normalizeResult;
|
|
}
|
|
return obj;
|
|
}
|
|
}
|
|
obj = { [closure_2]: normalizeResult };
|
|
};
|