Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
{ (window.FB && !window.FB.__buffer) || (function() { var apply = Function.p..
Decoded Output download
<? {
(window.FB && !window.FB.__buffer) || (function() {
var apply = Function.prototype.apply;
function bindContext(fn, thisArg) {
return function _sdkBound() {
return apply.call(fn, thisArg, arguments);
};
}
var global = {
__type: 'JS_SDK_SANDBOX',
window: window,
document: window.document
};
var sandboxSafelist = ['setTimeout', 'setInterval', 'clearTimeout', 'clearInterval'];
for (var i = 0; i < sandboxSafelist.length; i++) {
global[sandboxSafelist[i]] = bindContext(window[sandboxSafelist[i]], window);
}
(function() {
var self = window;
var globalThis = this;
var __DEV__ = 0;
function emptyFunction() {}
;
var __transform_includes = {};
var __annotator,
__bodyWrapper;
var __w,
__t;
var undefined;
with (this) {
(function(a) {
var b = {},
c = function(a, b) {
if (!a && !b)
return null;
var c = {};
typeof a !== "undefined" && (c.type = a);
typeof b !== "undefined" && (c.signature = b);
return c
},
d = function(a, b) {
return c(a && /^[A-Z]/.test(a) ? a : void 0, b && (b.params && b.params.length || b.returns) ? "function(" + (b.params ? b.params.map(function(a) {
return /\?/.test(a) ? "?" + a.replace("?", "") : a
}).join(",") : "") + ")" + (b.returns ? ":" + b.returns : "") : void 0)
},
e = function(a, b, c) {
return a
},
f = function(a, b, c) {
"sourcemeta" in __transform_includes && (a.__SMmeta = b);
if ("typechecks" in __transform_includes) {
b = d(b ? b.name : void 0, c);
b && __w(a, b)
}
return a
},
g = function(a, b, c) {
return c.apply(a, b)
},
h = function(a, b, c, d) {
d && d.params && __t.apply(a, d.params);
c = c.apply(a, b);
d && d.returns && __t([c, d.returns]);
return c
};
h = function(a, c, d, e, f) {
if (f) {
f.callId || (f.callId = f.module + ":" + (f.line || 0) + ":" + (f.column || 0));
e = f.callId;
b[e] = (b[e] || 0) + 1
}
return d.apply(a, c)
};
typeof __transform_includes === "undefined" ? (a.__annotator = e, a.__bodyWrapper = g) : (a.__annotator = f, "codeusage" in __transform_includes ? (a.__annotator = e, a.__bodyWrapper = h, a.__bodyWrapper.getCodeUsage = function() {
return b
}, a.__bodyWrapper.clearCodeUsage = function() {
b = {}
}) : "typechecks" in __transform_includes ? a.__bodyWrapper = g : a.__bodyWrapper = g)
})(typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof this !== "undefined" ? this : typeof self !== "undefined" ? self : {});
(function(a) {
a.__t = function(a) {
return a[0]
},
a.__w = function(a) {
return a
}
})(typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof this !== "undefined" ? this : typeof self !== "undefined" ? self : {});
(function(a) {
var b = {},
c = ["global", "require", "requireDynamic", "requireLazy", "module", "exports"],
d = ["global", "require", "importDefault", "importNamespace", "requireLazy", "module", "exports"],
e = 1,
f = 32,
g = 64,
h = {},
i = Object.prototype.hasOwnProperty;
function j(e, h) {
if (!i.call(b, e)) {
if (h)
return null;
throw new Error("Module " + e + " has not been defined")
}
h = b[e];
if (h.resolved)
return h;
e = h.special;
var j = h.factory.length,
n = e & f ? d.concat(h.deps) : c.concat(h.deps),
o = [],
p;
for (var q = 0; q < j; q++) {
switch (n[q]) {
case "module":
p = h;
break;
case "exports":
p = h.exports;
break;
case "global":
p = a;
break;
case "require":
p = k;
break;
case "requireDynamic":
p = null;
break;
case "requireLazy":
p = null;
break;
case "importDefault":
p = l;
break;
case "importNamespace":
p = m;
break;
default:
typeof n[q] === "string" && (p = k.call(null, n[q]))
}
o.push(p)
}
n = h.factory.apply(a, o);
n && (h.exports = n);
e & g ? h.exports != null && i.call(h.exports, "default") && (h.defaultExport = h.exports["default"]) : h.defaultExport = h.exports;
h.resolved = !0;
return h
}
function k(a, b) {
a = j(a, b);
if (a)
return a.defaultExport !== h ? a.defaultExport : a.exports
}
function l(a) {
a = j(a);
if (a)
return a.defaultExport !== h ? a.defaultExport : null
}
function m(a) {
a = j(a);
if (a)
return a.exports
}
function n(a, c, d, f) {
typeof d === "function" ? (b[a] = {
factory: d,
deps: c,
defaultExport: h,
exports: {},
special: f || 0,
resolved: !1
}, f != null && f & e && k.call(null, a)) : b[a] = {
defaultExport: d,
exports: d,
resolved: !0
}
}
a.__d = n;
a.require = k;
a.importDefault = l;
a.importNamespace = m;
a.$RefreshReg$ = function() {};
a.$RefreshSig$ = function() {
return function(a) {
return a
}
}
})(this);
__d("ES5FunctionPrototype", [], (function(a, b, c, d, e, f) {
a = {
bind: function(a) {
if (typeof this !== "function")
throw new TypeError("Bind must be called on a function");
var b = this,
c = Array.prototype.slice.call(arguments, 1);
function d() {
return b.apply(a, c.concat(Array.prototype.slice.call(arguments)))
}
d.displayName = "bound:" + (b.displayName || b.name || "(?)");
d.toString = function() {
return "bound: " + b
};
return d
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5StringPrototype", [], (function(a, b, c, d, e, f) {
a = {
startsWith: function(a) {
var b = String(this);
if (this == null)
throw new TypeError("String.prototype.startsWith called on null or undefined");
var c = arguments.length > 1 ? Number(arguments[1]) : 0;
isNaN(c) && (c = 0);
var d = Math.min(Math.max(c, 0), b.length);
return b.indexOf(String(a), c) == d
},
endsWith: function(a) {
var b = String(this);
if (this == null)
throw new TypeError("String.prototype.endsWith called on null or undefined");
var c = b.length,
d = String(a),
e = arguments.length > 1 ? Number(arguments[1]) : c;
isNaN(e) && (e = 0);
var f = Math.min(Math.max(e, 0), c),
g = f - d.length;
return g < 0 ? !1 : b.lastIndexOf(d, g) == g
},
includes: function(a) {
if (this == null)
throw new TypeError("String.prototype.contains called on null or undefined");
var b = String(this),
c = arguments.length > 1 ? Number(arguments[1]) : 0;
isNaN(c) && (c = 0);
return b.indexOf(String(a), c) != -1
},
repeat: function(a) {
if (this == null)
throw new TypeError("String.prototype.repeat called on null or undefined");
var b = String(this);
a = a ? Number(a) : 0;
isNaN(a) && (a = 0);
if (a < 0 || a === Infinity)
throw RangeError();
if (a === 1)
return b;
if (a === 0)
return "";
var c = "";
while (a)
a & 1 && (c += b),
(a >>= 1) && (b += b);
return c
}
};
b = a;
f["default"] = b
}), 66);
__d("ES6Array", [], (function(a, b, c, d, e, f) {
"use strict";
a = {
from: function(a) {
if (a == null)
throw new TypeError("Object is null or undefined");
var b = arguments[1],
c = arguments[2],
d = this,
e = Object(a),
f = typeof Symbol === "function" && navigator.userAgent.indexOf("Trident/7.0") === -1 ? typeof Symbol === "function" ? Symbol.iterator : "@@iterator" : "@@iterator",
g = typeof b === "function",
h = typeof e[f] === "function",
i = 0,
j,
k;
if (h) {
j = typeof d === "function" ? new d() : [];
var l = e[f](),
m;
while (!(m = l.next()).done)
k = m.value,
g && (k = b.call(c, k, i)),
j[i] = k,
i += 1;
j.length = i;
return j
}
var n = e.length;
(isNaN(n) || n < 0) && (n = 0);
j = typeof d === "function" ? new d(n) : new Array(n);
while (i < n)
k = e[i],
g && (k = b.call(c, k, i)),
j[i] = k,
i += 1;
j.length = i;
return j
}
};
b = a;
f["default"] = b
}), 66);
__d("ES6ArrayPrototype", [], (function(a, b, c, d, e, f) {
var g = {
find: function(a, b) {
if (this == null)
throw new TypeError("Array.prototype.find called on null or undefined");
if (typeof a !== "function")
throw new TypeError("predicate must be a function");
a = g.findIndex.call(this, a, b);
return a === -1 ? void 0 : this[a]
},
findIndex: function(a, b) {
if (this == null)
throw new TypeError("Array.prototype.findIndex called on null or undefined");
if (typeof a !== "function")
throw new TypeError("predicate must be a function");
var c = Object(this),
d = c.length >>> 0;
for (var e = 0; e < d; e++)
if (a.call(b, c[e], e, c))
return e;
return -1
},
fill: function(a, b, c) {
if (this == null)
throw new TypeError("Array.prototype.fill called on null or undefined");
var d = Object(this),
e = d.length >>> 0,
f = arguments[1],
g = f >> 0,
h = g < 0 ? Math.max(e + g, 0) : Math.min(g, e),
i = arguments[2],
j = i === void 0 ? e : i >> 0,
k = j < 0 ? Math.max(e + j, 0) : Math.min(j, e);
while (h < k)
d[h] = a,
h++;
return d
}
};
a = g;
f["default"] = a
}), 66);
__d("ES6Number", [], (function(a, b, c, d, e, f) {
a = Math.pow(2, -52);
b = Math.pow(2, 53) - 1;
c = -1 * b;
d = {
isFinite: function(a) {
function b(b) {
return a.apply(this, arguments)
}
b.toString = function() {
return a.toString()
};
return b
}(function(a) {
return typeof a === "number" && isFinite(a)
}),
isNaN: function(a) {
function b(b) {
return a.apply(this, arguments)
}
b.toString = function() {
return a.toString()
};
return b
}(function(a) {
return typeof a === "number" && isNaN(a)
}),
isInteger: function(a) {
return this.isFinite(a) && Math.floor(a) === a
},
isSafeInteger: function(a) {
return this.isFinite(a) && a >= this.MIN_SAFE_INTEGER && a <= this.MAX_SAFE_INTEGER && Math.floor(a) === a
},
EPSILON: a,
MAX_SAFE_INTEGER: b,
MIN_SAFE_INTEGER: c
};
e = d;
f["default"] = e
}), 66);
__d("ES6Object", [], (function(a, b, c, d, e, f) {
var g = {}.hasOwnProperty;
a = {
assign: function(a) {
if (a == null)
throw new TypeError("Object.assign target cannot be null or undefined");
a = Object(a);
for (var b = 0; b < (arguments.length <= 1 ? 0 : arguments.length - 1); b++) {
var c = b + 1 < 1 || arguments.length <= b + 1 ? void 0 : arguments[b + 1];
if (c == null)
continue;
c = Object(c);
for (var d in c)
g.call(c, d) && (a[d] = c[d])
}
return a
},
is: function(a, b) {
if (a === b)
return a !== 0 || 1 / a === 1 / b;
else
return a !== a && b !== b
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5Array", [], (function(a, b, c, d, e, f) {
a = {
isArray: function(a) {
return Object.prototype.toString.call(a) == "[object Array]"
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5ArrayPrototype", [], (function(a, b, c, d, e, f) {
a = {
indexOf: function(a, b) {
b = b;
var c = this.length;
b |= 0;
b < 0 && (b += c);
for (; b < c; b++)
if (b in this && this[b] === a)
return b;
return -1
}
};
b = a;
f["default"] = b
}), 66);
__d("ES7ArrayPrototype", ["ES5Array", "ES5ArrayPrototype"], (function(a, b, c, d, e, f) {
var g = b("ES5Array").isArray,
h = b("ES5ArrayPrototype").indexOf;
function i(a) {
return Math.min(Math.max(j(a), 0), Number.MAX_SAFE_INTEGER)
}
function j(a) {
a = Number(a);
return isFinite(a) && a !== 0 ? k(a) * Math.floor(Math.abs(a)) : a
}
function k(a) {
return a >= 0 ? 1 : -1
}
a = {
includes: function(a) {
"use strict";
if (a !== void 0 && g(this) && !(typeof a === "number" && isNaN(a)))
return h.apply(this, arguments) !== -1;
var b = Object(this),
c = b.length ? i(b.length) : 0;
if (c === 0)
return !1;
var d = arguments.length > 1 ? j(arguments[1]) : 0,
e = d < 0 ? Math.max(c + d, 0) : d,
f = isNaN(a) && typeof a === "number";
while (e < c) {
var k = b[e];
if (k === a || typeof k === "number" && f && isNaN(k))
return !0;
e++
}
return !1
}
};
e.exports = a
}), null);
__d("ES7Object", [], (function(a, b, c, d, e, f) {
var g = {}.hasOwnProperty;
a = {
entries: function(a) {
if (a == null)
throw new TypeError("Object.entries called on non-object");
var b = [];
for (var c in a)
g.call(a, c) && b.push([c, a[c]]);
return b
},
values: function(a) {
if (a == null)
throw new TypeError("Object.values called on non-object");
var b = [];
for (var c in a)
g.call(a, c) && b.push(a[c]);
return b
}
};
b = a;
f["default"] = b
}), 66);
__d("ES7StringPrototype", [], (function(a, b, c, d, e, f) {
a = {
trimLeft: function() {
return this.replace(/^\s+/, "")
},
trimRight: function() {
return this.replace(/\s+$/, "")
}
};
b = a;
f["default"] = b
}), 66);
/**
* License: https://www.facebook.com/legal/license/t3hOLs8wlXy/
*/
__d("json3-3.3.2", [], (function(a, b, c, d, e, f) {
"use strict";
var g = {},
h = {
exports: g
},
i;
function j() {
(function() {
var b = typeof i === "function",
c = {
"function": !0,
object: !0
},
d = c[typeof g] && g && !g.nodeType && g,
e = c[typeof window] && window || this,
j = d && c[typeof h] && h && !h.nodeType && typeof a == "object" && a;
j && (j.global === j || j.window === j || j.self === j) && (e = j);
function k(b, a) {
b || (b = e.Object());
a || (a = e.Object());
var d = b.Number || e.Number,
g = b.String || e.String,
h = b.Object || e.Object,
i = b.Date || e.Date,
j = b.SyntaxError || e.SyntaxError,
l = b.TypeError || e.TypeError,
m = b.Math || e.Math;
b = b.JSON || e.JSON;
typeof b == "object" && b && (a.stringify = b.stringify, a.parse = b.parse);
b = h.prototype;
var n = b.toString,
o,
p,
q,
r = new i(-3509827334573292);
try {
r = r.getUTCFullYear() == -109252 && r.getUTCMonth() === 0 && r.getUTCDate() === 1 && r.getUTCHours() == 10 && r.getUTCMinutes() == 37 && r.getUTCSeconds() == 6 && r.getUTCMilliseconds() == 708
} catch (a) {}
function s(b) {
if (s[b] !== q)
return s[b];
var c;
if (b == "bug-string-char-index")
c = "a"[0] != "a";
else if (b == "json")
c = s("json-stringify") && s("json-parse");
else {
var e,
f = '{"a":[1,true,false,null,"\u0000\b\n\f\r\t"]}';
if (b == "json-stringify") {
var h = a.stringify,
j = typeof h == "function" && r;
if (j) {
(e = function() {
return 1
}).toJSON = e;
try {
j = h(0) === "0" && h(new d()) === "0" && h(new g()) == '""' && h(n) === q && h(q) === q && h() === q && h(e) === "1" && h([e]) == "[1]" && h([q]) == "[null]" && h(null) == "null" && h([q, n, null]) == "[null,null,null]" && h({
a: [e, !0, !1, null, "
"]
}) == f && h(null, e) === "1" && h([1, 2], null, 1) == "[
1,
2
]" && h(new i(-864e13)) == '"-271821-04-20T00:00:00.000Z"' && h(new i(864e13)) == '"+275760-09-13T00:00:00.000Z"' && h(new i(-621987552e5)) == '"-000001-01-01T00:00:00.000Z"' && h(new i(-1)) == '"1969-12-31T23:59:59.999Z"'
} catch (a) {
j = !1
}
}
c = j
}
if (b == "json-parse") {
h = a.parse;
if (typeof h == "function")
try {
if (h("0") === 0 && !h(!1)) {
e = h(f);
var k = e.a.length == 5 && e.a[0] === 1;
if (k) {
try {
k = !h('" "')
} catch (a) {}
if (k)
try {
k = h("01") !== 1
} catch (a) {}
if (k)
try {
k = h("1.") !== 1
} catch (a) {}
}
}
} catch (a) {
k = !1
}
c = k
}
}
return s[b] = !!c
}
if (!s("json")) {
var t = "[object Function]",
u = "[object Date]",
v = "[object Number]",
w = "[object String]",
x = "[object Array]",
y = "[object Boolean]",
z = s("bug-string-char-index");
if (!r)
var A = m.floor,
B = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
C = function(a, b) {
return B[b] + 365 * (a - 1970) + A((a - 1969 + (b = +(b > 1))) / 4) - A((a - 1901 + b) / 100) + A((a - 1601 + b) / 400)
};
(o = b.hasOwnProperty) || (o = function(a) {
var b = {},
c;
(b.__proto__ = null, b.__proto__ = {
toString: 1
}, b).toString != n ? o = function(a) {
var b = this.__proto__;
a = a in (this.__proto__ = null, this);
this.__proto__ = b;
return a
} : (c = b.constructor, o = function(a) {
var b = (this.constructor || c).prototype;
return a in this && !(a in b && this[a] === b[a])
});
return o.call(this, a)
});
p = function(a, b) {
var d = 0,
e,
f;
(e = function() {
this.valueOf = 0
}).prototype.valueOf = 0;
f = new e();
for (e in f)
o.call(f, e) && d++;
f = null;
!d ? (f = ["valueOf", "toString", "toLocaleString", "propertyIsEnumerable", "isPrototypeOf", "hasOwnProperty", "constructor"], p = function(a, b) {
var d = n.call(a) == t,
e,
g = !d && typeof a.constructor != "function" && c[typeof a.hasOwnProperty] && a.hasOwnProperty || o;
for (e in a)
!(d && e == "prototype") && g.call(a, e) && b(e);
for (d = f.length; e = f[--d]; g.call(a, e) && b(e))
;
}) : d == 2 ? p = function(a, b) {
var c = {},
d = n.call(a) == t,
e;
for (e in a)
!(d && e == "prototype") && !o.call(c, e) && (c[e] = 1) && o.call(a, e) && b(e)
} : p = function(a, b) {
var c = n.call(a) == t,
d,
e;
for (d in a)
!(c && d == "prototype") && o.call(a, d) && !(e = d === "constructor") && b(d);
(e || o.call(a, d = "constructor")) && b(d)
};
return p(a, b)
};
if (!s("json-stringify")) {
var D = {
92: "\\",
34: '\"',
8: "\b",
12: "\f",
10: "\n",
13: "\r",
9: "\t"
},
E = "000000",
F = function(a, b) {
return (E + (b || 0)).slice(-a)
},
G = "\u00",
H = function(a) {
var b = '"',
c = 0,
d = a.length,
e = !z || d > 10,
f = e && (z ? a.split("") : a);
for (; c < d; c++) {
var g = a.charCodeAt(c);
switch (g) {
case 8:
case 9:
case 10:
case 12:
case 13:
case 34:
case 92:
b += D[g];
break;
default:
if (g < 32) {
b += G + F(2, g.toString(16));
break
}
b += e ? f[c] : a.charAt(c)
}
}
return b + '"'
},
I = function(a, b, c, d, e, f, g) {
var h,
i,
j,
k,
m,
r,
s,
t,
z,
B;
try {
h = b[a]
} catch (a) {}
if (typeof h == "object" && h) {
i = n.call(h);
if (i == u && !o.call(h, "toJSON"))
if (h > -1 / 0 && h < 1 / 0) {
if (C) {
m = A(h / 864e5);
for (j = A(m / 365.2425) + 1970 - 1; C(j + 1, 0) <= m; j++)
;
for (k = A((m - C(j, 0)) / 30.42); C(j, k + 1) <= m; k++)
;
m = 1 + m - C(j, k);
r = (h % 864e5 + 864e5) % 864e5;
s = A(r / 36e5) % 24;
t = A(r / 6e4) % 60;
z = A(r / 1e3) % 60;
r = r % 1e3
} else
j = h.getUTCFullYear(),
k = h.getUTCMonth(),
m = h.getUTCDate(),
s = h.getUTCHours(),
t = h.getUTCMinutes(),
z = h.getUTCSeconds(),
r = h.getUTCMilliseconds();
h = (j <= 0 || j >= 1e4 ? (j < 0 ? "-" : "+") + F(6, j < 0 ? -j : j) : F(4, j)) + "-" + F(2, k + 1) + "-" + F(2, m) + "T" + F(2, s) + ":" + F(2, t) + ":" + F(2, z) + "." + F(3, r) + "Z"
} else
h = null;
else
typeof h.toJSON == "function" && (i != v && i != w && i != x || o.call(h, "toJSON")) && (h = h.toJSON(a))
}
c && (h = c.call(b, a, h));
if (h === null)
return "null";
i = n.call(h);
if (i == y)
return "" + h;
else if (i == v)
return h > -1 / 0 && h < 1 / 0 ? "" + h : "null";
else if (i == w)
return H("" + h);
if (typeof h == "object") {
for (j = g.length; j--;)
if (g[j] === h)
throw l();
g.push(h);
B = [];
k = f;
f += e;
if (i == x) {
for (m = 0, j = h.length; m < j; m++)
s = I(m, h, c, d, e, f, g),
B.push(s === q ? "null" : s);
t = B.length ? e ? "[
" + f + B.join(",
" + f) + "
" + k + "]" : "[" + B.join(",") + "]" : "[]"
} else
p(d || h, function(a) {
var b = I(a, h, c, d, e, f, g);
b !== q && B.push(H(a) + ":" + (e ? " " : "") + b)
}),
t = B.length ? e ? "{
" + f + B.join(",
" + f) + "
" + k + "}" : "{" + B.join(",") + "}" : "{}";
g.pop();
return t
}
};
a.stringify = function(a, b, d) {
var e,
f,
g,
h;
if (c[typeof b] && b)
if ((h = n.call(b)) == t)
f = b;
else if (h == x) {
g = {};
for (var i = 0, j = b.length, k; i < j; k = b[i++], (h = n.call(k), h == w || h == v) && (g[k] = 1))
;
}
if (d)
if ((h = n.call(d)) == v) {
if ((d -= d % 1) > 0)
for (e = "", d > 10 && (d = 10); e.length < d; e += " ")
;
} else
h == w && (e = d.length <= 10 ? d : d.slice(0, 10));
return I("", (k = {}, k[""] = a, k), f, g, e, "", [])
}
}
if (!s("json-parse")) {
var J = g.fromCharCode,
K = {
92: "\",
34: '"',
47: "/",
98: "",
116: " ",
110: "
",
102: "",
114: "
"
},
L,
M,
N = function() {
L = M = null;
throw j()
},
O = function() {
var a = M,
b = a.length,
c,
d,
e,
f,
g;
while (L < b) {
g = a.charCodeAt(L);
switch (g) {
case 9:
case 10:
case 13:
case 32:
L++;
break;
case 123:
case 125:
case 91:
case 93:
case 58:
case 44:
c = z ? a.charAt(L) : a[L];
L++;
return c;
case 34:
for (c = "@", L++; L < b;) {
g = a.charCodeAt(L);
if (g < 32)
N();
else if (g == 92) {
g = a.charCodeAt(++L);
switch (g) {
case 92:
case 34:
case 47:
case 98:
case 116:
case 110:
case 102:
case 114:
c += K[g];
L++;
break;
case 117:
d = ++L;
for (e = L + 4; L < e; L++)
g = a.charCodeAt(L),
g >= 48 && g <= 57 || g >= 97 && g <= 102 || g >= 65 && g <= 70 || N();
c += J("0x" + a.slice(d, L));
break;
default:
N()
}
} else {
if (g == 34)
break;
g = a.charCodeAt(L);
d = L;
while (g >= 32 && g != 92 && g != 34)
g = a.charCodeAt(++L);
c += a.slice(d, L)
}
}
if (a.charCodeAt(L) == 34) {
L++;
return c
}
N();
default:
d = L;
g == 45 && (f = !0, g = a.charCodeAt(++L));
if (g >= 48 && g <= 57) {
g == 48 && (g = a.charCodeAt(L + 1), g >= 48 && g <= 57) && N();
f = !1;
for (; L < b && (g = a.charCodeAt(L), g >= 48 && g <= 57); L++)
;
if (a.charCodeAt(L) == 46) {
e = ++L;
for (; e < b && (g = a.charCodeAt(e), g >= 48 && g <= 57); e++)
;
e == L && N();
L = e
}
g = a.charCodeAt(L);
if (g == 101 || g == 69) {
g = a.charCodeAt(++L);
(g == 43 || g == 45) && L++;
for (e = L; e < b && (g = a.charCodeAt(e), g >= 48 && g <= 57); e++)
;
e == L && N();
L = e
}
return +a.slice(d, L)
}
f && N();
if (a.slice(L, L + 4) == "true") {
L += 4;
return !0
} else if (a.slice(L, L + 5) == "false") {
L += 5;
return !1
} else if (a.slice(L, L + 4) == "null") {
L += 4;
return null
}
N()
}
}
return "$"
},
P = function(a) {
var b,
c;
a == "$" && N();
if (typeof a == "string") {
if ((z ? a.charAt(0) : a[0]) == "@")
return a.slice(1);
if (a == "[") {
b = [];
for (;; c || (c = !0)) {
a = O();
if (a == "]")
break;
c && (a == "," ? (a = O(), a == "]" && N()) : N());
a == "," && N();
b.push(P(a))
}
return b
} else if (a == "{") {
b = {};
for (;; c || (c = !0)) {
a = O();
if (a == "}")
break;
c && (a == "," ? (a = O(), a == "}" && N()) : N());
(a == "," || typeof a != "string" || (z ? a.charAt(0) : a[0]) != "@" || O() != ":") && N();
b[a.slice(1)] = P(O())
?>
Did this file decode correctly?
Original Code
{
(window.FB && !window.FB.__buffer) || (function() {
var apply = Function.prototype.apply;
function bindContext(fn, thisArg) {
return function _sdkBound() {
return apply.call(fn, thisArg, arguments);
};
}
var global = {
__type: 'JS_SDK_SANDBOX',
window: window,
document: window.document
};
var sandboxSafelist = ['setTimeout', 'setInterval', 'clearTimeout', 'clearInterval'];
for (var i = 0; i < sandboxSafelist.length; i++) {
global[sandboxSafelist[i]] = bindContext(window[sandboxSafelist[i]], window);
}
(function() {
var self = window;
var globalThis = this;
var __DEV__ = 0;
function emptyFunction() {}
;
var __transform_includes = {};
var __annotator,
__bodyWrapper;
var __w,
__t;
var undefined;
with (this) {
(function(a) {
var b = {},
c = function(a, b) {
if (!a && !b)
return null;
var c = {};
typeof a !== "undefined" && (c.type = a);
typeof b !== "undefined" && (c.signature = b);
return c
},
d = function(a, b) {
return c(a && /^[A-Z]/.test(a) ? a : void 0, b && (b.params && b.params.length || b.returns) ? "function(" + (b.params ? b.params.map(function(a) {
return /\?/.test(a) ? "?" + a.replace("?", "") : a
}).join(",") : "") + ")" + (b.returns ? ":" + b.returns : "") : void 0)
},
e = function(a, b, c) {
return a
},
f = function(a, b, c) {
"sourcemeta" in __transform_includes && (a.__SMmeta = b);
if ("typechecks" in __transform_includes) {
b = d(b ? b.name : void 0, c);
b && __w(a, b)
}
return a
},
g = function(a, b, c) {
return c.apply(a, b)
},
h = function(a, b, c, d) {
d && d.params && __t.apply(a, d.params);
c = c.apply(a, b);
d && d.returns && __t([c, d.returns]);
return c
};
h = function(a, c, d, e, f) {
if (f) {
f.callId || (f.callId = f.module + ":" + (f.line || 0) + ":" + (f.column || 0));
e = f.callId;
b[e] = (b[e] || 0) + 1
}
return d.apply(a, c)
};
typeof __transform_includes === "undefined" ? (a.__annotator = e, a.__bodyWrapper = g) : (a.__annotator = f, "codeusage" in __transform_includes ? (a.__annotator = e, a.__bodyWrapper = h, a.__bodyWrapper.getCodeUsage = function() {
return b
}, a.__bodyWrapper.clearCodeUsage = function() {
b = {}
}) : "typechecks" in __transform_includes ? a.__bodyWrapper = g : a.__bodyWrapper = g)
})(typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof this !== "undefined" ? this : typeof self !== "undefined" ? self : {});
(function(a) {
a.__t = function(a) {
return a[0]
},
a.__w = function(a) {
return a
}
})(typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof this !== "undefined" ? this : typeof self !== "undefined" ? self : {});
(function(a) {
var b = {},
c = ["global", "require", "requireDynamic", "requireLazy", "module", "exports"],
d = ["global", "require", "importDefault", "importNamespace", "requireLazy", "module", "exports"],
e = 1,
f = 32,
g = 64,
h = {},
i = Object.prototype.hasOwnProperty;
function j(e, h) {
if (!i.call(b, e)) {
if (h)
return null;
throw new Error("Module " + e + " has not been defined")
}
h = b[e];
if (h.resolved)
return h;
e = h.special;
var j = h.factory.length,
n = e & f ? d.concat(h.deps) : c.concat(h.deps),
o = [],
p;
for (var q = 0; q < j; q++) {
switch (n[q]) {
case "module":
p = h;
break;
case "exports":
p = h.exports;
break;
case "global":
p = a;
break;
case "require":
p = k;
break;
case "requireDynamic":
p = null;
break;
case "requireLazy":
p = null;
break;
case "importDefault":
p = l;
break;
case "importNamespace":
p = m;
break;
default:
typeof n[q] === "string" && (p = k.call(null, n[q]))
}
o.push(p)
}
n = h.factory.apply(a, o);
n && (h.exports = n);
e & g ? h.exports != null && i.call(h.exports, "default") && (h.defaultExport = h.exports["default"]) : h.defaultExport = h.exports;
h.resolved = !0;
return h
}
function k(a, b) {
a = j(a, b);
if (a)
return a.defaultExport !== h ? a.defaultExport : a.exports
}
function l(a) {
a = j(a);
if (a)
return a.defaultExport !== h ? a.defaultExport : null
}
function m(a) {
a = j(a);
if (a)
return a.exports
}
function n(a, c, d, f) {
typeof d === "function" ? (b[a] = {
factory: d,
deps: c,
defaultExport: h,
exports: {},
special: f || 0,
resolved: !1
}, f != null && f & e && k.call(null, a)) : b[a] = {
defaultExport: d,
exports: d,
resolved: !0
}
}
a.__d = n;
a.require = k;
a.importDefault = l;
a.importNamespace = m;
a.$RefreshReg$ = function() {};
a.$RefreshSig$ = function() {
return function(a) {
return a
}
}
})(this);
__d("ES5FunctionPrototype", [], (function(a, b, c, d, e, f) {
a = {
bind: function(a) {
if (typeof this !== "function")
throw new TypeError("Bind must be called on a function");
var b = this,
c = Array.prototype.slice.call(arguments, 1);
function d() {
return b.apply(a, c.concat(Array.prototype.slice.call(arguments)))
}
d.displayName = "bound:" + (b.displayName || b.name || "(?)");
d.toString = function() {
return "bound: " + b
};
return d
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5StringPrototype", [], (function(a, b, c, d, e, f) {
a = {
startsWith: function(a) {
var b = String(this);
if (this == null)
throw new TypeError("String.prototype.startsWith called on null or undefined");
var c = arguments.length > 1 ? Number(arguments[1]) : 0;
isNaN(c) && (c = 0);
var d = Math.min(Math.max(c, 0), b.length);
return b.indexOf(String(a), c) == d
},
endsWith: function(a) {
var b = String(this);
if (this == null)
throw new TypeError("String.prototype.endsWith called on null or undefined");
var c = b.length,
d = String(a),
e = arguments.length > 1 ? Number(arguments[1]) : c;
isNaN(e) && (e = 0);
var f = Math.min(Math.max(e, 0), c),
g = f - d.length;
return g < 0 ? !1 : b.lastIndexOf(d, g) == g
},
includes: function(a) {
if (this == null)
throw new TypeError("String.prototype.contains called on null or undefined");
var b = String(this),
c = arguments.length > 1 ? Number(arguments[1]) : 0;
isNaN(c) && (c = 0);
return b.indexOf(String(a), c) != -1
},
repeat: function(a) {
if (this == null)
throw new TypeError("String.prototype.repeat called on null or undefined");
var b = String(this);
a = a ? Number(a) : 0;
isNaN(a) && (a = 0);
if (a < 0 || a === Infinity)
throw RangeError();
if (a === 1)
return b;
if (a === 0)
return "";
var c = "";
while (a)
a & 1 && (c += b),
(a >>= 1) && (b += b);
return c
}
};
b = a;
f["default"] = b
}), 66);
__d("ES6Array", [], (function(a, b, c, d, e, f) {
"use strict";
a = {
from: function(a) {
if (a == null)
throw new TypeError("Object is null or undefined");
var b = arguments[1],
c = arguments[2],
d = this,
e = Object(a),
f = typeof Symbol === "function" && navigator.userAgent.indexOf("Trident/7.0") === -1 ? typeof Symbol === "function" ? Symbol.iterator : "@@iterator" : "@@iterator",
g = typeof b === "function",
h = typeof e[f] === "function",
i = 0,
j,
k;
if (h) {
j = typeof d === "function" ? new d() : [];
var l = e[f](),
m;
while (!(m = l.next()).done)
k = m.value,
g && (k = b.call(c, k, i)),
j[i] = k,
i += 1;
j.length = i;
return j
}
var n = e.length;
(isNaN(n) || n < 0) && (n = 0);
j = typeof d === "function" ? new d(n) : new Array(n);
while (i < n)
k = e[i],
g && (k = b.call(c, k, i)),
j[i] = k,
i += 1;
j.length = i;
return j
}
};
b = a;
f["default"] = b
}), 66);
__d("ES6ArrayPrototype", [], (function(a, b, c, d, e, f) {
var g = {
find: function(a, b) {
if (this == null)
throw new TypeError("Array.prototype.find called on null or undefined");
if (typeof a !== "function")
throw new TypeError("predicate must be a function");
a = g.findIndex.call(this, a, b);
return a === -1 ? void 0 : this[a]
},
findIndex: function(a, b) {
if (this == null)
throw new TypeError("Array.prototype.findIndex called on null or undefined");
if (typeof a !== "function")
throw new TypeError("predicate must be a function");
var c = Object(this),
d = c.length >>> 0;
for (var e = 0; e < d; e++)
if (a.call(b, c[e], e, c))
return e;
return -1
},
fill: function(a, b, c) {
if (this == null)
throw new TypeError("Array.prototype.fill called on null or undefined");
var d = Object(this),
e = d.length >>> 0,
f = arguments[1],
g = f >> 0,
h = g < 0 ? Math.max(e + g, 0) : Math.min(g, e),
i = arguments[2],
j = i === void 0 ? e : i >> 0,
k = j < 0 ? Math.max(e + j, 0) : Math.min(j, e);
while (h < k)
d[h] = a,
h++;
return d
}
};
a = g;
f["default"] = a
}), 66);
__d("ES6Number", [], (function(a, b, c, d, e, f) {
a = Math.pow(2, -52);
b = Math.pow(2, 53) - 1;
c = -1 * b;
d = {
isFinite: function(a) {
function b(b) {
return a.apply(this, arguments)
}
b.toString = function() {
return a.toString()
};
return b
}(function(a) {
return typeof a === "number" && isFinite(a)
}),
isNaN: function(a) {
function b(b) {
return a.apply(this, arguments)
}
b.toString = function() {
return a.toString()
};
return b
}(function(a) {
return typeof a === "number" && isNaN(a)
}),
isInteger: function(a) {
return this.isFinite(a) && Math.floor(a) === a
},
isSafeInteger: function(a) {
return this.isFinite(a) && a >= this.MIN_SAFE_INTEGER && a <= this.MAX_SAFE_INTEGER && Math.floor(a) === a
},
EPSILON: a,
MAX_SAFE_INTEGER: b,
MIN_SAFE_INTEGER: c
};
e = d;
f["default"] = e
}), 66);
__d("ES6Object", [], (function(a, b, c, d, e, f) {
var g = {}.hasOwnProperty;
a = {
assign: function(a) {
if (a == null)
throw new TypeError("Object.assign target cannot be null or undefined");
a = Object(a);
for (var b = 0; b < (arguments.length <= 1 ? 0 : arguments.length - 1); b++) {
var c = b + 1 < 1 || arguments.length <= b + 1 ? void 0 : arguments[b + 1];
if (c == null)
continue;
c = Object(c);
for (var d in c)
g.call(c, d) && (a[d] = c[d])
}
return a
},
is: function(a, b) {
if (a === b)
return a !== 0 || 1 / a === 1 / b;
else
return a !== a && b !== b
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5Array", [], (function(a, b, c, d, e, f) {
a = {
isArray: function(a) {
return Object.prototype.toString.call(a) == "[object Array]"
}
};
b = a;
f["default"] = b
}), 66);
__d("ES5ArrayPrototype", [], (function(a, b, c, d, e, f) {
a = {
indexOf: function(a, b) {
b = b;
var c = this.length;
b |= 0;
b < 0 && (b += c);
for (; b < c; b++)
if (b in this && this[b] === a)
return b;
return -1
}
};
b = a;
f["default"] = b
}), 66);
__d("ES7ArrayPrototype", ["ES5Array", "ES5ArrayPrototype"], (function(a, b, c, d, e, f) {
var g = b("ES5Array").isArray,
h = b("ES5ArrayPrototype").indexOf;
function i(a) {
return Math.min(Math.max(j(a), 0), Number.MAX_SAFE_INTEGER)
}
function j(a) {
a = Number(a);
return isFinite(a) && a !== 0 ? k(a) * Math.floor(Math.abs(a)) : a
}
function k(a) {
return a >= 0 ? 1 : -1
}
a = {
includes: function(a) {
"use strict";
if (a !== void 0 && g(this) && !(typeof a === "number" && isNaN(a)))
return h.apply(this, arguments) !== -1;
var b = Object(this),
c = b.length ? i(b.length) : 0;
if (c === 0)
return !1;
var d = arguments.length > 1 ? j(arguments[1]) : 0,
e = d < 0 ? Math.max(c + d, 0) : d,
f = isNaN(a) && typeof a === "number";
while (e < c) {
var k = b[e];
if (k === a || typeof k === "number" && f && isNaN(k))
return !0;
e++
}
return !1
}
};
e.exports = a
}), null);
__d("ES7Object", [], (function(a, b, c, d, e, f) {
var g = {}.hasOwnProperty;
a = {
entries: function(a) {
if (a == null)
throw new TypeError("Object.entries called on non-object");
var b = [];
for (var c in a)
g.call(a, c) && b.push([c, a[c]]);
return b
},
values: function(a) {
if (a == null)
throw new TypeError("Object.values called on non-object");
var b = [];
for (var c in a)
g.call(a, c) && b.push(a[c]);
return b
}
};
b = a;
f["default"] = b
}), 66);
__d("ES7StringPrototype", [], (function(a, b, c, d, e, f) {
a = {
trimLeft: function() {
return this.replace(/^\s+/, "")
},
trimRight: function() {
return this.replace(/\s+$/, "")
}
};
b = a;
f["default"] = b
}), 66);
/**
* License: https://www.facebook.com/legal/license/t3hOLs8wlXy/
*/
__d("json3-3.3.2", [], (function(a, b, c, d, e, f) {
"use strict";
var g = {},
h = {
exports: g
},
i;
function j() {
(function() {
var b = typeof i === "function",
c = {
"function": !0,
object: !0
},
d = c[typeof g] && g && !g.nodeType && g,
e = c[typeof window] && window || this,
j = d && c[typeof h] && h && !h.nodeType && typeof a == "object" && a;
j && (j.global === j || j.window === j || j.self === j) && (e = j);
function k(b, a) {
b || (b = e.Object());
a || (a = e.Object());
var d = b.Number || e.Number,
g = b.String || e.String,
h = b.Object || e.Object,
i = b.Date || e.Date,
j = b.SyntaxError || e.SyntaxError,
l = b.TypeError || e.TypeError,
m = b.Math || e.Math;
b = b.JSON || e.JSON;
typeof b == "object" && b && (a.stringify = b.stringify, a.parse = b.parse);
b = h.prototype;
var n = b.toString,
o,
p,
q,
r = new i(-3509827334573292);
try {
r = r.getUTCFullYear() == -109252 && r.getUTCMonth() === 0 && r.getUTCDate() === 1 && r.getUTCHours() == 10 && r.getUTCMinutes() == 37 && r.getUTCSeconds() == 6 && r.getUTCMilliseconds() == 708
} catch (a) {}
function s(b) {
if (s[b] !== q)
return s[b];
var c;
if (b == "bug-string-char-index")
c = "a"[0] != "a";
else if (b == "json")
c = s("json-stringify") && s("json-parse");
else {
var e,
f = '{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';
if (b == "json-stringify") {
var h = a.stringify,
j = typeof h == "function" && r;
if (j) {
(e = function() {
return 1
}).toJSON = e;
try {
j = h(0) === "0" && h(new d()) === "0" && h(new g()) == '""' && h(n) === q && h(q) === q && h() === q && h(e) === "1" && h([e]) == "[1]" && h([q]) == "[null]" && h(null) == "null" && h([q, n, null]) == "[null,null,null]" && h({
a: [e, !0, !1, null, "\0\b\n\f\r\t"]
}) == f && h(null, e) === "1" && h([1, 2], null, 1) == "[\n 1,\n 2\n]" && h(new i(-864e13)) == '"-271821-04-20T00:00:00.000Z"' && h(new i(864e13)) == '"+275760-09-13T00:00:00.000Z"' && h(new i(-621987552e5)) == '"-000001-01-01T00:00:00.000Z"' && h(new i(-1)) == '"1969-12-31T23:59:59.999Z"'
} catch (a) {
j = !1
}
}
c = j
}
if (b == "json-parse") {
h = a.parse;
if (typeof h == "function")
try {
if (h("0") === 0 && !h(!1)) {
e = h(f);
var k = e.a.length == 5 && e.a[0] === 1;
if (k) {
try {
k = !h('"\t"')
} catch (a) {}
if (k)
try {
k = h("01") !== 1
} catch (a) {}
if (k)
try {
k = h("1.") !== 1
} catch (a) {}
}
}
} catch (a) {
k = !1
}
c = k
}
}
return s[b] = !!c
}
if (!s("json")) {
var t = "[object Function]",
u = "[object Date]",
v = "[object Number]",
w = "[object String]",
x = "[object Array]",
y = "[object Boolean]",
z = s("bug-string-char-index");
if (!r)
var A = m.floor,
B = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
C = function(a, b) {
return B[b] + 365 * (a - 1970) + A((a - 1969 + (b = +(b > 1))) / 4) - A((a - 1901 + b) / 100) + A((a - 1601 + b) / 400)
};
(o = b.hasOwnProperty) || (o = function(a) {
var b = {},
c;
(b.__proto__ = null, b.__proto__ = {
toString: 1
}, b).toString != n ? o = function(a) {
var b = this.__proto__;
a = a in (this.__proto__ = null, this);
this.__proto__ = b;
return a
} : (c = b.constructor, o = function(a) {
var b = (this.constructor || c).prototype;
return a in this && !(a in b && this[a] === b[a])
});
return o.call(this, a)
});
p = function(a, b) {
var d = 0,
e,
f;
(e = function() {
this.valueOf = 0
}).prototype.valueOf = 0;
f = new e();
for (e in f)
o.call(f, e) && d++;
f = null;
!d ? (f = ["valueOf", "toString", "toLocaleString", "propertyIsEnumerable", "isPrototypeOf", "hasOwnProperty", "constructor"], p = function(a, b) {
var d = n.call(a) == t,
e,
g = !d && typeof a.constructor != "function" && c[typeof a.hasOwnProperty] && a.hasOwnProperty || o;
for (e in a)
!(d && e == "prototype") && g.call(a, e) && b(e);
for (d = f.length; e = f[--d]; g.call(a, e) && b(e))
;
}) : d == 2 ? p = function(a, b) {
var c = {},
d = n.call(a) == t,
e;
for (e in a)
!(d && e == "prototype") && !o.call(c, e) && (c[e] = 1) && o.call(a, e) && b(e)
} : p = function(a, b) {
var c = n.call(a) == t,
d,
e;
for (d in a)
!(c && d == "prototype") && o.call(a, d) && !(e = d === "constructor") && b(d);
(e || o.call(a, d = "constructor")) && b(d)
};
return p(a, b)
};
if (!s("json-stringify")) {
var D = {
92: "\\\\",
34: '\\"',
8: "\\b",
12: "\\f",
10: "\\n",
13: "\\r",
9: "\\t"
},
E = "000000",
F = function(a, b) {
return (E + (b || 0)).slice(-a)
},
G = "\\u00",
H = function(a) {
var b = '"',
c = 0,
d = a.length,
e = !z || d > 10,
f = e && (z ? a.split("") : a);
for (; c < d; c++) {
var g = a.charCodeAt(c);
switch (g) {
case 8:
case 9:
case 10:
case 12:
case 13:
case 34:
case 92:
b += D[g];
break;
default:
if (g < 32) {
b += G + F(2, g.toString(16));
break
}
b += e ? f[c] : a.charAt(c)
}
}
return b + '"'
},
I = function(a, b, c, d, e, f, g) {
var h,
i,
j,
k,
m,
r,
s,
t,
z,
B;
try {
h = b[a]
} catch (a) {}
if (typeof h == "object" && h) {
i = n.call(h);
if (i == u && !o.call(h, "toJSON"))
if (h > -1 / 0 && h < 1 / 0) {
if (C) {
m = A(h / 864e5);
for (j = A(m / 365.2425) + 1970 - 1; C(j + 1, 0) <= m; j++)
;
for (k = A((m - C(j, 0)) / 30.42); C(j, k + 1) <= m; k++)
;
m = 1 + m - C(j, k);
r = (h % 864e5 + 864e5) % 864e5;
s = A(r / 36e5) % 24;
t = A(r / 6e4) % 60;
z = A(r / 1e3) % 60;
r = r % 1e3
} else
j = h.getUTCFullYear(),
k = h.getUTCMonth(),
m = h.getUTCDate(),
s = h.getUTCHours(),
t = h.getUTCMinutes(),
z = h.getUTCSeconds(),
r = h.getUTCMilliseconds();
h = (j <= 0 || j >= 1e4 ? (j < 0 ? "-" : "+") + F(6, j < 0 ? -j : j) : F(4, j)) + "-" + F(2, k + 1) + "-" + F(2, m) + "T" + F(2, s) + ":" + F(2, t) + ":" + F(2, z) + "." + F(3, r) + "Z"
} else
h = null;
else
typeof h.toJSON == "function" && (i != v && i != w && i != x || o.call(h, "toJSON")) && (h = h.toJSON(a))
}
c && (h = c.call(b, a, h));
if (h === null)
return "null";
i = n.call(h);
if (i == y)
return "" + h;
else if (i == v)
return h > -1 / 0 && h < 1 / 0 ? "" + h : "null";
else if (i == w)
return H("" + h);
if (typeof h == "object") {
for (j = g.length; j--;)
if (g[j] === h)
throw l();
g.push(h);
B = [];
k = f;
f += e;
if (i == x) {
for (m = 0, j = h.length; m < j; m++)
s = I(m, h, c, d, e, f, g),
B.push(s === q ? "null" : s);
t = B.length ? e ? "[\n" + f + B.join(",\n" + f) + "\n" + k + "]" : "[" + B.join(",") + "]" : "[]"
} else
p(d || h, function(a) {
var b = I(a, h, c, d, e, f, g);
b !== q && B.push(H(a) + ":" + (e ? " " : "") + b)
}),
t = B.length ? e ? "{\n" + f + B.join(",\n" + f) + "\n" + k + "}" : "{" + B.join(",") + "}" : "{}";
g.pop();
return t
}
};
a.stringify = function(a, b, d) {
var e,
f,
g,
h;
if (c[typeof b] && b)
if ((h = n.call(b)) == t)
f = b;
else if (h == x) {
g = {};
for (var i = 0, j = b.length, k; i < j; k = b[i++], (h = n.call(k), h == w || h == v) && (g[k] = 1))
;
}
if (d)
if ((h = n.call(d)) == v) {
if ((d -= d % 1) > 0)
for (e = "", d > 10 && (d = 10); e.length < d; e += " ")
;
} else
h == w && (e = d.length <= 10 ? d : d.slice(0, 10));
return I("", (k = {}, k[""] = a, k), f, g, e, "", [])
}
}
if (!s("json-parse")) {
var J = g.fromCharCode,
K = {
92: "\\",
34: '"',
47: "/",
98: "\b",
116: "\t",
110: "\n",
102: "\f",
114: "\r"
},
L,
M,
N = function() {
L = M = null;
throw j()
},
O = function() {
var a = M,
b = a.length,
c,
d,
e,
f,
g;
while (L < b) {
g = a.charCodeAt(L);
switch (g) {
case 9:
case 10:
case 13:
case 32:
L++;
break;
case 123:
case 125:
case 91:
case 93:
case 58:
case 44:
c = z ? a.charAt(L) : a[L];
L++;
return c;
case 34:
for (c = "@", L++; L < b;) {
g = a.charCodeAt(L);
if (g < 32)
N();
else if (g == 92) {
g = a.charCodeAt(++L);
switch (g) {
case 92:
case 34:
case 47:
case 98:
case 116:
case 110:
case 102:
case 114:
c += K[g];
L++;
break;
case 117:
d = ++L;
for (e = L + 4; L < e; L++)
g = a.charCodeAt(L),
g >= 48 && g <= 57 || g >= 97 && g <= 102 || g >= 65 && g <= 70 || N();
c += J("0x" + a.slice(d, L));
break;
default:
N()
}
} else {
if (g == 34)
break;
g = a.charCodeAt(L);
d = L;
while (g >= 32 && g != 92 && g != 34)
g = a.charCodeAt(++L);
c += a.slice(d, L)
}
}
if (a.charCodeAt(L) == 34) {
L++;
return c
}
N();
default:
d = L;
g == 45 && (f = !0, g = a.charCodeAt(++L));
if (g >= 48 && g <= 57) {
g == 48 && (g = a.charCodeAt(L + 1), g >= 48 && g <= 57) && N();
f = !1;
for (; L < b && (g = a.charCodeAt(L), g >= 48 && g <= 57); L++)
;
if (a.charCodeAt(L) == 46) {
e = ++L;
for (; e < b && (g = a.charCodeAt(e), g >= 48 && g <= 57); e++)
;
e == L && N();
L = e
}
g = a.charCodeAt(L);
if (g == 101 || g == 69) {
g = a.charCodeAt(++L);
(g == 43 || g == 45) && L++;
for (e = L; e < b && (g = a.charCodeAt(e), g >= 48 && g <= 57); e++)
;
e == L && N();
L = e
}
return +a.slice(d, L)
}
f && N();
if (a.slice(L, L + 4) == "true") {
L += 4;
return !0
} else if (a.slice(L, L + 5) == "false") {
L += 5;
return !1
} else if (a.slice(L, L + 4) == "null") {
L += 4;
return null
}
N()
}
}
return "$"
},
P = function(a) {
var b,
c;
a == "$" && N();
if (typeof a == "string") {
if ((z ? a.charAt(0) : a[0]) == "@")
return a.slice(1);
if (a == "[") {
b = [];
for (;; c || (c = !0)) {
a = O();
if (a == "]")
break;
c && (a == "," ? (a = O(), a == "]" && N()) : N());
a == "," && N();
b.push(P(a))
}
return b
} else if (a == "{") {
b = {};
for (;; c || (c = !0)) {
a = O();
if (a == "}")
break;
c && (a == "," ? (a = O(), a == "}" && N()) : N());
(a == "," || typeof a != "string" || (z ? a.charAt(0) : a[0]) != "@" || O() != ":") && N();
b[a.slice(1)] = P(O())
Function Calls
None |
Stats
MD5 | 01d6cc91dd7ebb4f71fc2fae2502a3e9 |
Eval Count | 0 |
Decode Time | 72 ms |