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

File diff suppressed because one or more lines are too long