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

Function Vt

packages/next/src/compiled/@vercel/og/index.node.js:18396–18399  ·  view source on GitHub ↗
(A, e)

Source from the content-addressed store, hash-verified

18394 return t.length === 1 ? ii(t[0], e, true) : t.length === 2 ? ((t[0] === "top" || t[0] === "bottom" || t[1] === "left" || t[1] === "right") && t.reverse(), { ...ii(t[0], e, true), ...ii(t[1], e, false) }) : {};
18395}
18396function Vt(A, e) {
18397 let t = (0, import_css_to_react_native2.getPropertyName)(`mask-${e}`);
18398 return A[t] || A[`WebkitM${t.substring(1)}`];
18399}
18400function qs(A) {
18401 let e = A.maskImage || A.WebkitMaskImage, t = { position: Vt(A, "position") || "0% 0%", size: Vt(A, "size") || "100% 100%", repeat: Vt(A, "repeat") || "repeat", origin: Vt(A, "origin") || "border-box", clip: Vt(A, "origin") || "border-box" };
18402 return Vr(e).filter((n) => n && n !== "none").reverse().map((n) => ({ image: n, ...t }));

Callers 15

baseCloneFunction · 0.85
baseIsEqualDeepFunction · 0.85
baseIsMapFunction · 0.85
baseIsSetFunction · 0.85
createToPairsFunction · 0.85
EtFunction · 0.85
sizeFunction · 0.85
isEmptyFunction · 0.85
isWeakMapFunction · 0.85
toArrayFunction · 0.85
baseDelayFunction · 0.85
leadingEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected