1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 15:40:28 +01:00
This commit is contained in:
GitHub Action 2025-01-13 22:05:32 +00:00
parent 28edcdd083
commit 4e15a8aba8
3 changed files with 115 additions and 112 deletions

View file

@ -1,100 +1,100 @@
"use strict"; "use strict";
(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"], {
227900: (n, t, W) => { 227900: (n, t, r) => {
W.r(t), W.d(t, { r.r(t), r.d(t, {
default: () => c default: () => c
}); });
W(136728), W(875640); r(136728), r(875640);
const c = () => { const c = () => {
const [Lr, Mr] = [document, window], const [wu, Qu] = [document, window],
[Nr, Ur, Yr, br, yr, gr, Dr, Zr, jr, zr, Er, Xr, $r] = [Mr["Number"], Mr["TextEncoder"], Mr["Uint8Array"], n => Lr["querySelectorAll"](n), Mr["Date"], Mr["Uint32Array"], Mr["crypto"]["subtle"], Mr["Array"]["from"], Mr["Math"], Mr["RTCPeerConnection"], Mr["Promise"], Mr["Function"], Mr["getComputedStyle"]]; [bu, lu, Nu, Ku, Mu, Vu, Bu, ju, Fu, Iu, Lu, vu, xu] = [Qu["Number"], Qu["TextEncoder"], Qu["Uint8Array"], n => wu["querySelectorAll"](n), Qu["Date"], Qu["Uint32Array"], Qu["crypto"]["subtle"], Qu["Array"]["from"], Qu["Math"], Qu["RTCPeerConnection"], Qu["Promise"], Qu["Function"], Qu["getComputedStyle"]];
let Wo; let yu;
const oo = n => btoa(Zr(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const Zu = n => btoa(ju(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
co = () => { zu = () => {
return n = eo(br("[name^=tw]")[0], "content"), new Yr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = Eu(Ku("[name^=tw]")[0], "content"), new Nu(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
uo = (n, t) => Wo = Wo || eo(ko(br(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Nr)), Yu = (n, t) => yu = yu || Eu(Du(Ku(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](bu)),
eo = (n, t) => n && n["getAttribute"](t) || "", Eu = (n, t) => n && n["getAttribute"](t) || "",
fo = n => typeof n == "string" ? new Ur()["encode"](n) : n, Uu = n => typeof n == "string" ? new lu()["encode"](n) : n,
io = n => Dr["digest"]("sha-256", fo(n)), Xu = n => Bu["digest"]("sha-256", Uu(n)),
ao = n => (n < 16 ? "0" : "") + n["toString"](16), Tu = n => (n < 16 ? "0" : "") + n["toString"](16),
ko = n => Zr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), Du = n => ju(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Co = () => { Au = () => {
{ {
const t = Lr["createElem" + function (t, W, r, o, c) { const n = wu["createElement"]("div");
return lo(t - 228, c - 390, r - 163, o, c - 234); return wu["body"]["append"](n), [n, () => Du([n])];
}(1538, 0, 1607, ")M[B", 1491)]("div");
return Lr["body"]["append"](t), [t, () => ko([t])];
} }
{ {
const n = $r["sdp"] || eo; const n = tW["sdp"] || nW;
io = Xr(Yr([n[mo[5] % 8] || "4", n[Qo[8] % 8]])), oo["close"](); Qu = Bu(Lu([n[dW[5] % 8] || "4", n[oW[8] % 8]])), Qu["close"]();
} }
var m, s, v, h;
}, },
[mo, so, vo, ho, Ro] = [n => jr["round"](n), n => jr["floor"](n), () => jr["random"](), n => n["slice"](0, 16), () => 0], [$u, _u, nW, tW, rW] = [n => Fu["round"](n), n => Fu["floor"](n), () => Fu["random"](), n => n["slice"](0, 16), () => 0],
[Go, So, qo] = [3, 1682924400, 2 ** (4 * 3)], [cW, oW, uW] = [3, 1682924400, 2 ** (4 * 3)],
Oo = (n, t, W) => t ? n ^ W[0] : n, WW = (n, t, r) => t ? n ^ r[0] : n,
Vo = (n, t, W) => { eW = (n, t, r) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](po(t), qo); const c = n["animate"](iW(t), uW);
r["pause"](), r["currentTime"] = mo(W / 10) * 10; c["pause"](), c["currentTime"] = $u(r / 10) * 10;
} }
}, },
Po = (n, t, W, r) => { dW = (n, t, r, c) => {
const o = {}; const f = {};
var f, i; f["BVjNH"] = "div";
o["IOVKt"] = "div"; const R = f;
const a = o;
{ {
const o = n * (W - t) / 255 + t; const o = n * (r - t) / 255 + t;
return r ? so(o) : o["toFixed"](2); return c ? _u(o) : o["toFixed"](2);
}
{
const n = c["createElement"](R["BVjNH"]);
return wu["body"]["append"](n), [n, () => n([n])];
} }
}, },
po = n => ({ iW = n => ({
color: ["#" + ao(n[0]) + ao(n[1]) + ao(n[2]), "#" + ao(n[3]) + ao(n[4]) + ao(n[5])], color: ["#" + Tu(n[0]) + Tu(n[1]) + Tu(n[2]), "#" + Tu(n[3]) + Tu(n[4]) + Tu(n[5])],
transform: ["rotate(0deg)", "rotate(" + Po(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + dW(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Zr(n["slice"](7))["map"]((n, t) => Po(n, t % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + ju(n["slice"](7))["map"]((n, t) => dW(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Qo, let mW,
Ho, RW,
xo = []; sW = [];
const Ao = n => { const HW = n => {
if (!Qo) { if (!mW) {
const [t, Jn] = [n[4] % 16, n[2] % 16 * (n[28] % 16) * (n[3] % 16)], const [u, W] = [n[15] % 16, n[16] % 16 * (n[22] % 16) * (n[28] % 16)],
wn = uo(".r-24i0", n); e = Yu(".r-l9b0t0", n);
new Er(() => { new Lu(() => {
{ {
const t = new zr(), const t = new Iu(),
W = vo()["toString"](36); r = nW()["toString"](36);
Ho = t["createDataChannel"](W), t["createOffer"]()["then"](r => { RW = t["createDataChannel"](r), t["createOffer"]()["then"](c => {
try { try {
{ {
const o = r["sdp"] || W; const o = c["sdp"] || r;
xo = Zr(fo([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"](); sW = ju(Uu([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](Ro); })["catch"](rW);
} }
})["catch"](Ro); })["catch"](rW);
const [In, Kn] = Co(); const [d, i] = Au();
Vo(In, wn[t], Jn); eW(d, e[u], W);
const Fn = $r(In); const f = xu(d);
Qo = Zr(("" + Fn["color"] + Fn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Nr(Nr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Kn(); mW = ju(("" + f["color"] + f["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => bu(bu(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), i();
} }
return Qo; return mW;
}; };
return async (n, t) => { return async (n, t) => {
const d = so((yr["now"]() - So * 1e3) / 1e3), const c = _u((Mu["now"]() - oW * 1e3) / 1e3),
f = new Yr(new gr([d])["buffer"]), o = new Nu(new Vu([c])["buffer"]),
i = co(), u = zu(),
a = Ao(i); W = HW(u);
return oo(new Yr([vo() * 256]["concat"](Zr(i), Zr(f), ho(Zr(new Yr(await io([t, n, d]["join"]("!") + "obfiowerehiring" + a)))["concat"](xo)), [Go]))["map"](Oo)); return Zu(new Nu([nW() * 256]["concat"](ju(u), ju(o), tW(ju(new Nu(await Xu([t, n, c]["join"]("!") + "obfiowerehiring" + W)))["concat"](sW)), [cW]))["map"](WW));
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.e5a6f6ba.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.5ffb0aaa.js.map

View file

@ -1,73 +1,76 @@
"use strict"; "use strict";
(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"], {
227900: (n, t, W) => { 227900: (n, t, r) => {
W.r(t), W.d(t, { r.r(t), r.d(t, {
default: () => c default: () => c
}); });
W(136728), W(875640); r(136728), r(875640);
const c = () => { const c = () => {
let Wo; let yu;
const oo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const Zu = n => btoa(Qu["Array"]["from"](n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const co = () => { const zu = () => {
return n = eo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = Eu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Qu["Uint8Array"](atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
}; };
const uo = (n, t) => Wo = Wo || eo(ko((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number)); const Yu = (n, t) => yu = yu || Eu(Du((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Qu["Number"]));
const eo = (n, t) => n && n["getAttribute"](t) || ""; const Eu = (n, t) => n && n["getAttribute"](t) || "";
const fo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const Uu = n => typeof n == "string" ? new Qu["TextEncoder"]()["encode"](n) : n;
const io = n => crypto.subtle["digest"]("sha-256", fo(n)); const Xu = n => Qu["crypto"]["subtle"]["digest"]("sha-256", Uu(n));
const ao = n => (n < 16 ? "0" : "") + n["toString"](16); const Tu = n => (n < 16 ? "0" : "") + n["toString"](16);
const ko = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const Du = n => Qu["Array"]["from"](n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Oo = (n, t, W) => t ? n ^ W[0] : n; const WW = (n, t, r) => t ? n ^ r[0] : n;
const Vo = (n, t, W) => { const eW = (n, t, r) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](po(t), 4096); const c = n["animate"](iW(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10; c["pause"](), c["currentTime"] = (n => Qu["Math"]["round"](n))(r / 10) * 10;
} }
}; };
const Po = (n, t, W, r) => { const dW = (n, t, r, c) => {
const f = {
"BVjNH": "div"
};
{ {
const o = n * (W - t) / 255 + t; const o = n * (r - t) / 255 + t;
return r ? (n => Math.floor(n))(o) : o["toFixed"](2); return c ? (n => Qu["Math"]["floor"](n))(o) : o["toFixed"](2);
} }
}; };
const po = n => ({ const iW = n => ({
color: ["#" + ao(n[0]) + ao(n[1]) + ao(n[2]), "#" + ao(n[3]) + ao(n[4]) + ao(n[5])], color: ["#" + Tu(n[0]) + Tu(n[1]) + Tu(n[2]), "#" + Tu(n[3]) + Tu(n[4]) + Tu(n[5])],
transform: ["rotate(0deg)", "rotate(" + Po(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + dW(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Po(n, t % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Qu["Array"]["from"](n["slice"](7))["map"]((n, t) => dW(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Qo; let mW;
let xo = []; let sW = [];
const Ao = n => { const HW = n => {
if (!Qo) { if (!mW) {
const wn = uo(".r-24i0", n); const e = Yu(".r-l9b0t0", n);
new Promise(() => { new Qu["Promise"](() => {
{ {
const t = new RTCPeerConnection(); const t = new Qu["RTCPeerConnection"]();
const W = (() => Math.random())()["toString"](36); const r = (() => Qu["Math"]["random"]())()["toString"](36);
Ho = t["createDataChannel"](W), t["createOffer"]()["then"](r => { RW = t["createDataChannel"](r), t["createOffer"]()["then"](c => {
try { try {
{ {
const o = r["sdp"] || W; const o = c["sdp"] || r;
xo = Array.from(fo([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"](); sW = Qu["Array"]["from"](Uu([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
Vo(In, wn[n[4] % 16], n[2] % 16 * (n[28] % 16) * (n[3] % 16)); eW(d, e[n[15] % 16], n[16] % 16 * (n[22] % 16) * (n[28] % 16));
const Fn = getComputedStyle(In); const f = Qu["getComputedStyle"](d);
Qo = Array.from(("" + Fn["color"] + Fn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Kn(); mW = Qu["Array"]["from"](("" + f["color"] + f["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Qu["Number"](Qu["Number"](n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), i();
} }
return Qo; return mW;
}; };
return async (n, t) => { return async (n, t) => {
const d = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const c = (n => Qu["Math"]["floor"](n))((Qu["Date"]["now"]() - 1682924400000) / 1e3);
const f = new Uint8Array(new Uint32Array([d])["buffer"]); const o = new Qu["Uint8Array"](new Qu["Uint32Array"]([c])["buffer"]);
const i = co(); const u = zu();
const a = Ao(i); const W = HW(u);
return oo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(f), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await io([t, n, d]["join"]("!") + "obfiowerehiring" + a)))["concat"](xo)), [3]))["map"](Oo)); return Zu(new Qu["Uint8Array"]([(() => Qu["Math"]["random"]())() * 256]["concat"](Qu["Array"]["from"](u), Qu["Array"]["from"](o), (n => n["slice"](0, 16))(Qu["Array"]["from"](new Qu["Uint8Array"](await Xu([t, n, c]["join"]("!") + "obfiowerehiring" + W)))["concat"](sW)), [3]))["map"](WW));
}; };
}; };
} }

File diff suppressed because one or more lines are too long