1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 07:30:38 +01:00
This commit is contained in:
GitHub Action 2024-12-15 22:19:29 +00:00
parent d126c0e626
commit 853c4d234e
3 changed files with 117 additions and 129 deletions

View file

@ -3,100 +3,101 @@
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
471269: (n, W, t) => {
t.r(W), t.d(W, {
default: () => r
default: () => o
});
t(136728), t(875640);
const r = () => {
const [Eo, _o] = [document, window],
[nc, Wc, tc, rc, oc, cc, uc, ec, ic, fc, kc, dc, Sc] = [_o["Number"], _o["TextEncoder"], _o["Uint8Array"], n => Eo["querySelectorAll"](n), _o["Date"], _o["Uint32Array"], _o["crypto"]["subtle"], _o["Array"]["from"], _o["Math"], _o["RTCPeerConnection"], _o["Promise"], _o["Function"], _o["getComputedStyle"]];
let mc;
const vc = n => new tc(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
Oc = n => btoa(ec(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
Rc = () => vc(Gc(rc("[name^=tw]")[0], "content")),
Jc = (n, W) => mc = mc || Gc(wc(rc(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](nc)),
Gc = (n, W) => n && n["getAttribute"](W) || "",
lc = n => typeof n == "string" ? new Wc()["encode"](n) : n,
Nc = n => uc["digest"]("sha-256", lc(n)),
Qc = n => (n < 16 ? "0" : "") + n["toString"](16),
hc = (n, W) => nc["parseInt"](n, W),
wc = n => ec(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
yc = () => {
const r = {};
r["FQDDt"] = "div";
const e = r;
const o = () => {
const [Ru, Iu] = [document, window],
[Gu, Su, Vu, vu, qu, Lu, wu, lu, pu, zu, bu, Mu, Hu] = [Iu["Number"], Iu["TextEncoder"], Iu["Uint8Array"], n => Ru["querySelectorAll"](n), Iu["Date"], Iu["Uint32Array"], Iu["crypto"]["subtle"], Iu["Array"]["from"], Iu["Math"], Iu["RTCPeerConnection"], Iu["Promise"], Iu["Function"], Iu["getComputedStyle"]];
let Tu;
const Ju = n => btoa(lu(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
yu = () => {
return n = Xu(vu("[name^=tw]")[0], "content"), new Vu(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n;
},
Nu = (n, W) => Tu = Tu || Xu(Uu(vu(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Gu)),
Xu = (n, W) => n && n["getAttribute"](W) || "",
xu = n => typeof n == "string" ? new Su()["encode"](n) : n,
Fu = n => wu["digest"]("sha-256", xu(n)),
gu = n => (n < 16 ? "0" : "") + n["toString"](16),
Bu = (n, W) => Gu["parseInt"](n, W),
Uu = n => lu(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Eu = () => {
{
const n = Eo["createElement"]("div");
return Eo["body"]["append"](n), [n, () => wc([n])];
const n = Ru["createElement"]("div");
return Ru["body"]["append"](n), [n, () => Uu([n])];
}
{
const n = pc["createElement"](e["FQDDt"]);
return rc["body"]["append"](n), [n, () => n([n])];
if (!xu["animate"]) return;
const n = Qo["animate"](Zu(Lu), Ru);
n["pause"](), n["currentTime"] = Bu(Nu / 10) * 10;
}
},
[bc, qc, xc, Bc, Hc] = [n => ic["round"](n), n => ic["floor"](n), () => ic["random"](), n => n["slice"](0, 16), () => 0],
[Ic, Kc, Mc] = [3, 1682924400, 2 ** (4 * 3)],
zc = (n, W, t) => W ? n ^ t[0] : n,
jc = (n, W, t) => {
[Au, Yu, ju, Zu, Du] = [n => pu["round"](n), n => pu["floor"](n), () => pu["random"](), n => n["slice"](0, 16), () => 0],
[$u, _u, no] = [3, 1682924400, 2 ** (4 * 3)],
Wo = (n, W, t) => W ? n ^ t[0] : n,
to = (n, W, t) => {
{
if (!n["animate"]) return;
const r = n[(d = "$O]1", S = 956, ac(0, d, S - 0) + "te")](Zc(W), Mc);
r["pause"](), r["currentTime"] = bc(t / 10) * 10;
const r = n["animate"](uo(W), no);
r["pause"](), r["currentTime"] = Au(t / 10) * 10;
}
var d, S;
},
pc = (n, W, t, r) => {
ro = (n, W, t, r) => {
const o = {};
o["HNdZk"] = "div";
const f = o;
{
const o = n * (t - W) / 255 + W;
return r ? qc(o) : o["toFixed"](2);
return r ? Yu(o) : o["toFixed"](2);
}
{
if (!ec["animate"]) return;
const n = bc["animate"](n(oc), yc);
n["pause"](), n["currentTime"] = fc(Nc / 10) * 10;
const n = vu["createElement"](f["HNdZk"]);
return _u["body"]["append"](n), [n, () => n([n])];
}
var S, a;
},
Zc = n => ({
color: ["#" + Qc(n[0]) + Qc(n[1]) + Qc(n[2]), "#" + Qc(n[3]) + Qc(n[4]) + Qc(n[5])],
transform: ["rotate(0deg)", "rotate(" + pc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + ec(n["slice"](7))["map"]((n, W) => pc(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
uo = n => ({
color: ["#" + gu(n[0]) + gu(n[1]) + gu(n[2]), "#" + gu(n[3]) + gu(n[4]) + gu(n[5])],
transform: ["rotate(0deg)", "rotate(" + ro(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + lu(n["slice"](7))["map"]((n, W) => ro(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
});
let Yc,
Dc,
Fc = [];
const gc = n => {
if (!Yc) {
const [W, t] = [n[11] % 16, n[25] % 16 * (n[25] % 16) * (n[22] % 16)],
r = Jc(".r-5so60w", n);
new kc(() => {
let oo,
co,
eo = [];
const Qo = n => {
if (!oo) {
const [Hn, Tn] = [n[9] % 16, n[45] % 16 * (n[30] % 16) * (n[47] % 16)],
Kn = Nu(".r-9d1x00", n);
new bu(() => {
{
const un = new fc(),
en = xc()["toString"](36);
Dc = un["createDataChannel"](en), un["createOffer"]()["then"](fn => {
const W = new zu(),
t = ju()["toString"](36);
co = W["createDataChannel"](t), W["createOffer"]()["then"](u => {
try {
{
const W = fn["sdp"] || en;
Fc = ec(lc([W[n[5] % 8] || "4", W[n[8] % 8]])), un["close"]();
const r = u["sdp"] || t;
eo = lu(xu([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
}
} catch {}
})["catch"](Hc);
})["catch"](Du);
}
})["catch"](Hc);
const [c, u] = yc();
jc(c, r[W], t);
const Sn = Sc(c);
Yc = ec(("" + Sn["color"] + Sn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => nc(nc(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), u();
})["catch"](Du);
const [Jn, yn] = Eu();
to(Jn, Kn[Hn], Tn);
const Nn = Hu(Jn);
oo = lu(("" + Nn["color"] + Nn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Gu(Gu(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), yn();
}
return Yc;
return oo;
};
return async (n, W) => {
const c = qc((oc["now"]() - Kc * 1e3) / 1e3),
u = new tc(new cc([c])["buffer"]),
e = Rc(),
i = gc(e);
return Oc(new tc([xc() * 256]["concat"](ec(e), ec(u), Bc(ec(new tc(await Nc([W, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](Fc)), [Ic]))["map"](zc));
const o = Yu((qu["now"]() - _u * 1e3) / 1e3),
c = new Vu(new Lu([o])["buffer"]),
e = yu(),
f = Qo(e);
return Ju(new Vu([ju() * 256]["concat"](lu(e), lu(c), Zu(lu(new Vu(await Fu([W, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](eo)), [$u]))["map"](Wo));
var a, k;
};
};
}
}]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.161f706a.js.map
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.74647aba.js.map

View file

@ -3,95 +3,82 @@
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
471269: (n, W, t) => {
t.r(W), t.d(W, {
default: () => r
default: () => o
});
t(136728), t(875640);
const r = () => {
let mc;
const vc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
Oc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""),
Rc = () => vc(Gc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content")),
Jc = (n, W) => mc = mc || Gc(wc((n => document.querySelectorAll(n))(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number)),
Gc = (n, W) => n && n["getAttribute"](W) || "",
lc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n,
Nc = n => crypto.subtle["digest"]("sha-256", lc(n)),
Qc = n => (n < 16 ? "0" : "") + n["toString"](16),
wc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
yc = () => {
const r = {
"FQDDt": "div"
};
const e = r;
{
const n = document.createElement("div");
return document.body["append"](n), [n, () => wc([n])];
}
{
const n = pc["createElement"](e["FQDDt"]);
return (n => document.querySelectorAll(n))["body"]["append"](n), [n, () => n([n])];
}
const o = () => {
let Tu;
const Ju = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""),
yu = () => {
return n = Xu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n;
},
[bc, qc, xc, Bc, Hc] = [n => Math.round(n), n => Math.floor(n), () => Math.random(), n => n["slice"](0, 16), () => 0],
[Ic, Kc, Mc] = [3, 1682924400, 4096],
zc = (n, W, t) => W ? n ^ t[0] : n,
jc = (n, W, t) => {
Nu = (n, W) => Tu = Tu || Xu(Uu((n => document.querySelectorAll(n))(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number)),
Xu = (n, W) => n && n["getAttribute"](W) || "",
xu = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n,
Fu = n => crypto.subtle["digest"]("sha-256", xu(n)),
gu = n => (n < 16 ? "0" : "") + n["toString"](16),
Uu = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
[Au, Yu, ju, Zu, Du] = [n => Math.round(n), n => Math.floor(n), () => Math.random(), n => n["slice"](0, 16), () => 0],
[$u, _u, no] = [3, 1682924400, 4096],
Wo = (n, W, t) => W ? n ^ t[0] : n,
to = (n, W, t) => {
{
if (!n["animate"]) return;
const r = n[d = "$O]1", S = 956, ac(0, d, S - 0) + "te"](Zc(W), 4096);
const r = n["animate"](uo(W), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
}
var d, S;
},
pc = (n, W, t, r) => {
ro = (n, W, t, r) => {
{
const o = n * (t - W) / 255 + W;
return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
}
{
if (!Array.from["animate"]) return;
const n = (n => Math.round(n))["animate"](n(Date), yc);
n["pause"](), n["currentTime"] = RTCPeerConnection(Nc / 10) * 10;
const n = (n => document.querySelectorAll(n))["createElement"]({
"HNdZk": "div"
}["HNdZk"]);
return 1682924400["body"]["append"](n), [n, () => n([n])];
}
var S, a;
},
Zc = n => ({
color: ["#" + Qc(n[0]) + Qc(n[1]) + Qc(n[2]), "#" + Qc(n[3]) + Qc(n[4]) + Qc(n[5])],
transform: ["rotate(0deg)", "rotate(" + pc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => pc(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
uo = n => ({
color: ["#" + gu(n[0]) + gu(n[1]) + gu(n[2]), "#" + gu(n[3]) + gu(n[4]) + gu(n[5])],
transform: ["rotate(0deg)", "rotate(" + ro(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => ro(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
});
let Yc,
Dc,
Fc = [];
const gc = n => {
if (!Yc) {
const [W, t] = [n[11] % 16, n[25] % 16 * (n[25] % 16) * (n[22] % 16)],
r = Jc(".r-5so60w", n);
let oo,
co,
eo = [];
const Qo = n => {
if (!oo) {
const [Hn, Tn] = [n[9] % 16, n[45] % 16 * (n[30] % 16) * (n[47] % 16)],
Kn = Nu(".r-9d1x00", n);
new Promise(() => {
{
const un = new RTCPeerConnection(),
en = (() => Math.random())()["toString"](36);
Dc = un["createDataChannel"](en), un["createOffer"]()["then"](fn => {
const W = new RTCPeerConnection(),
t = (() => Math.random())()["toString"](36);
co = W["createDataChannel"](t), W["createOffer"]()["then"](u => {
try {
{
const W = fn["sdp"] || en;
Fc = Array.from(lc([W[n[5] % 8] || "4", W[n[8] % 8]])), un["close"]();
const r = u["sdp"] || t;
eo = Array.from(xu([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
jc(c, r[n[11] % 16], n[25] % 16 * (n[25] % 16) * (n[22] % 16));
const Sn = getComputedStyle(c);
Yc = Array.from(("" + Sn["color"] + Sn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), u();
to(Jn, Kn[n[9] % 16], n[45] % 16 * (n[30] % 16) * (n[47] % 16));
const Nn = getComputedStyle(Jn);
oo = Array.from(("" + Nn["color"] + Nn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), yn();
}
return Yc;
return oo;
};
return async (n, W) => {
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3),
u = new Uint8Array(new Uint32Array([c])["buffer"]),
e = Rc(),
i = gc(e);
return Oc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Nc([W, n, c]["join"]("!") + "obfiowerehiring" + i)))["concat"](Fc)), [3]))["map"](zc));
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3),
c = new Uint8Array(new Uint32Array([o])["buffer"]),
e = yu(),
f = Qo(e);
return Ju(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Fu([W, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](eo)), [3]))["map"](Wo));
};
};
}