Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
35 lines
962 B
JavaScript
35 lines
962 B
JavaScript
// Module ID: 12964
|
|
// Function ID: 12965
|
|
// Dependencies: [12896, 12917, 12946]
|
|
|
|
// Module 12964
|
|
import setupIntegration from "module_12946" /* 12946 */;
|
|
|
|
const weakMap = new WeakMap();
|
|
|
|
export const functionToStringIntegration = setupIntegration.defineIntegration(() => ({
|
|
name: "FunctionToString",
|
|
setupOnce() {
|
|
toString = Function.prototype.toString;
|
|
try {
|
|
const _Function = Function;
|
|
Function.prototype.toString = function() {
|
|
const items = [...arguments];
|
|
const originalFunction = closure_1_0(12896).getOriginalFunction(this);
|
|
const obj = closure_1_0(12896);
|
|
let self = this;
|
|
if (set.has(obj2.getClient())) {
|
|
self = this;
|
|
if (undefined !== originalFunction) {
|
|
self = originalFunction;
|
|
}
|
|
}
|
|
return toString.apply(self, items);
|
|
};
|
|
} catch (err) {
|
|
}
|
|
},
|
|
setup(arg0) {
|
|
const result = weakMap.set(arg0, true);
|
|
}
|
|
}));
|