MCPcopy
hub / github.com/vercel/next.js / Qe

Function Qe

packages/next/src/compiled/@vercel/og/index.node.js:13464–13490  ·  view source on GitHub ↗
(f, s, g2, c2, B)

Source from the content-addressed store, hash-verified

13462 throw s.forEach(g2), new YA(f + ": " + c2.map(ye).join([", "]));
13463 }
13464 function Qe(f, s, g2, c2, B) {
13465 var Q = s.length;
13466 2 > Q && W("argTypes array size mismatch! Must at least get return value and 'this' types!");
13467 var h2 = s[1] !== null && g2 !== null, m2 = false;
13468 for (g2 = 1; g2 < s.length; ++g2)
13469 if (s[g2] !== null && s[g2].V === void 0) {
13470 m2 = true;
13471 break;
13472 }
13473 var w2 = s[0].name !== "void", D = Q - 2, S2 = Array(D), N = [], U = [];
13474 return function() {
13475 if (arguments.length !== D && W("function " + f + " called with " + arguments.length + " arguments, expected " + D + " args!"), U.length = 0, N.length = h2 ? 2 : 1, N[0] = B, h2) {
13476 var X = s[1].toWireType(U, this);
13477 N[1] = X;
13478 }
13479 for (var z = 0; z < D; ++z)
13480 S2[z] = s[z + 2].toWireType(U, arguments[z]), N.push(S2[z]);
13481 if (z = c2.apply(null, N), m2)
13482 De(U);
13483 else
13484 for (var AA = h2 ? 1 : 2; AA < s.length; AA++) {
13485 var NA = AA === 1 ? X : S2[AA - 2];
13486 s[AA].V !== null && s[AA].V(NA);
13487 }
13488 return X = w2 ? s[0].fromWireType(z) : void 0, X;
13489 };
13490 }
13491 function pA(f, s) {
13492 for (var g2 = [], c2 = 0; c2 < f; c2++)
13493 g2.push(b[s + 4 * c2 >> 2]);

Callers 15

FIFunction · 0.70
index.node.jsFile · 0.70
S2Function · 0.70
NFunction · 0.70
ciFunction · 0.70
templateFunction · 0.50
StFunction · 0.50
PtFunction · 0.50
buildMethod · 0.50
applyMethod · 0.50
constructorMethod · 0.50
constructorMethod · 0.50

Calls 8

WFunction · 0.70
DeFunction · 0.70
pushMethod · 0.65
applyMethod · 0.45
forEachMethod · 0.45
joinMethod · 0.45
mapMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected