Files
NapCatQQ/.pnpm-store/v3/files/75/956cf6fbfc1e22a4fc1f8f22ceb2f97021d04f20377b9bbfc9ac21897ece31ddc155abefc3a7db36b132911d2e68a09400df72117394473d4971d7c046a869
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

29 lines
1.1 KiB
Plaintext

"use strict";
var _construct = require("./_construct.cjs");
var _get_prototype_of = require("./_get_prototype_of.cjs");
var _is_native_function = require("./_is_native_function.cjs");
var _set_prototype_of = require("./_set_prototype_of.cjs");
function _wrap_native_super(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
exports._ = _wrap_native_super = function(Class) {
if (Class === null || !_is_native_function._(Class)) return Class;
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
if (typeof _cache !== "undefined") {
if (_cache.has(Class)) return _cache.get(Class);
_cache.set(Class, Wrapper);
}
function Wrapper() {
return _construct._(Class, arguments, _get_prototype_of._(this).constructor);
}
Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } });
return _set_prototype_of._(Wrapper, Class);
};
return _wrap_native_super(Class);
}
exports._ = _wrap_native_super;