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

Function Ic

packages/next/src/compiled/@vercel/og/index.edge.js:13125–14109  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

13123var Ta = {};
13124Wn(Ta, { default: () => Ic });
13125function Ic(e) {
13126 e = e || {};
13127 var t;
13128 t || (t = typeof e < "u" ? e : {});
13129 var n, r;
13130 t.ready = new Promise(function(c2, d2) {
13131 n = c2, r = d2;
13132 });
13133 var i = Object.assign({}, t), o = "";
13134 typeof document < "u" && document.currentScript && (o = document.currentScript.src), _a2 && (o = _a2), o.indexOf("blob:") !== 0 ? o = o.substr(0, o.replace(/[?#].*/, "").lastIndexOf("/") + 1) : o = "";
13135 var s = t.print || console.log.bind(console), a = t.printErr || console.warn.bind(console);
13136 Object.assign(t, i), i = null;
13137 var u2;
13138 t.wasmBinary && (u2 = t.wasmBinary);
13139 var f = t.noExitRuntime || true;
13140 typeof WebAssembly != "object" && Z("no native wasm support detected");
13141 var l2, p = false;
13142 function h2(c2, d2, g2) {
13143 g2 = d2 + g2;
13144 for (var v2 = ""; !(d2 >= g2); ) {
13145 var x2 = c2[d2++];
13146 if (!x2)
13147 break;
13148 if (x2 & 128) {
13149 var E = c2[d2++] & 63;
13150 if ((x2 & 224) == 192)
13151 v2 += String.fromCharCode((x2 & 31) << 6 | E);
13152 else {
13153 var A = c2[d2++] & 63;
13154 x2 = (x2 & 240) == 224 ? (x2 & 15) << 12 | E << 6 | A : (x2 & 7) << 18 | E << 12 | A << 6 | c2[d2++] & 63, 65536 > x2 ? v2 += String.fromCharCode(x2) : (x2 -= 65536, v2 += String.fromCharCode(55296 | x2 >> 10, 56320 | x2 & 1023));
13155 }
13156 } else
13157 v2 += String.fromCharCode(x2);
13158 }
13159 return v2;
13160 }
13161 var m2, b, y, T, k, P2, w2, S2, O;
13162 function I() {
13163 var c2 = l2.buffer;
13164 m2 = c2, t.HEAP8 = b = new Int8Array(c2), t.HEAP16 = T = new Int16Array(c2), t.HEAP32 = P2 = new Int32Array(c2), t.HEAPU8 = y = new Uint8Array(c2), t.HEAPU16 = k = new Uint16Array(c2), t.HEAPU32 = w2 = new Uint32Array(c2), t.HEAPF32 = S2 = new Float32Array(c2), t.HEAPF64 = O = new Float64Array(c2);
13165 }
13166 var F, q = [], V = [], de = [];
13167 function Ae() {
13168 var c2 = t.preRun.shift();
13169 q.unshift(c2);
13170 }
13171 var me = 0, ue = null, Ie = null;
13172 function Z(c2) {
13173 throw t.onAbort && t.onAbort(c2), c2 = "Aborted(" + c2 + ")", a(c2), p = true, c2 = new WebAssembly.RuntimeError(c2 + ". Build with -sASSERTIONS for more info."), r(c2), c2;
13174 }
13175 function ne(c2) {
13176 return c2.startsWith("data:application/octet-stream;base64,");
13177 }
13178 var ke = "";
13179 if (!ne(ke)) {
13180 var ve = ke;
13181 ke = t.locateFile ? t.locateFile(ve, o) : o + ve;
13182 }

Callers 1

VcFunction · 0.50

Calls 15

crFunction · 0.85
QtFunction · 0.85
frFunction · 0.85
qtFunction · 0.85
v2Function · 0.85
_iFunction · 0.85
x2Function · 0.85
ocFunction · 0.85
assignMethod · 0.80
callMethod · 0.80
charAtMethod · 0.80
startsWithMethod · 0.80

Tested by

no test coverage detected