decord/source/10797__isNativeReflectConstruct.js

95 lines
2.7 KiB
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 10797
2026-07-22 07:54:56 +00:00
// Function ID: 83850
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 10797 (_isNativeReflectConstruct)
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-22 07:54:56 +00:00
let closure_2 = importDefault(dependencyMap[0]);
let closure_3 = importDefault(dependencyMap[1]);
let closure_4 = importDefault(dependencyMap[2]);
let closure_5 = importDefault(dependencyMap[3]);
let closure_6 = importDefault(dependencyMap[4]);
let closure_7 = importDefault(dependencyMap[5]);
const Linking = arg1(dependencyMap[7]).Linking;
2026-07-20 16:05:17 +00:00
const jsx = arg1(dependencyMap[8]).jsx;
2026-07-22 07:54:56 +00:00
let closure_10 = /.*?:\/\//g;
export default (Component) => {
class DeepLinking {
2026-07-20 16:05:17 +00:00
constructor() {
self = this;
2026-07-22 07:54:56 +00:00
tmp = closure_3(this, DeepLinking);
2026-07-20 16:05:17 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
combined = items.concat(array);
2026-07-22 07:54:56 +00:00
obj = closure_6(DeepLinking);
tmp3 = closure_5;
if (closure_11()) {
2026-07-20 16:05:17 +00:00
if (!combined) {
combined = [];
}
2026-07-22 07:54:56 +00:00
tmp5 = closure_6;
constructResult = Reflect.construct(obj, combined, closure_6(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
constructResult = obj.apply(self, combined);
}
tmp3Result = tmp3(self, constructResult);
2026-07-22 07:54:56 +00:00
apply = tmp3Result;
tmp3Result.handleChange = (url) => {
tmp3Result.push(url.url);
2026-07-20 16:05:17 +00:00
};
return tmp3Result;
}
}
2026-07-22 07:54:56 +00:00
const dependencyMap = DeepLinking;
callback3(DeepLinking, Component);
let obj = {
key: "push",
value: function push(str) {
const history = this.history;
history.push(str.replace(closure_10, ""));
2026-07-20 16:05:17 +00:00
}
2026-07-22 07:54:56 +00:00
};
const items = [obj, , , ];
obj = { key: "componentDidMount" };
// CreateGeneratorClosureLongIndex (0x67)
let closure_0 = callback(tmp);
obj.value = function componentDidMount() {
return callback(...arguments);
};
items[1] = obj;
obj = {
key: "componentWillUnmount",
value: function componentWillUnmount() {
const removed = closure_8.removeEventListener("url", this.handleChange);
}
};
items[2] = obj;
items[3] = {
key: "render",
value: function render() {
const callback = this;
return callback4(callback(DeepLinking[9]).__HistoryContext.Consumer, {
children(history) {
self.history = history;
return self.props.children || null;
}
});
}
};
return callback2(DeepLinking, items);
2026-07-20 16:05:17 +00:00
}(importDefault(dependencyMap[6]).Component);