1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 07:30:38 +01:00

Update deobfuscation

Changes detected in source file
run:base succeeded
run:fork succeeded
run:additional succeeded
This commit is contained in:
GitHub Action 2025-07-12 22:06:19 +00:00
parent 92239d1ae3
commit 22e03b5ac0
5 changed files with 227 additions and 226 deletions

View file

@ -1,77 +1,78 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, W) => {
W.r(t), W.d(t, {
227900: (n, t, r) => {
r.r(t), r.d(t, {
default: () => u
});
W(136728), W(875640);
r(136728), r(875640);
const u = () => {
let tu;
const Wu = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const ru = () => {
return n = uu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const cu = (n, t) => tu = tu || uu(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"](Number));
const uu = (n, t) => n && n["getAttribute"](t) || "";
const ou = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const eu = n => crypto.subtle["digest"]("sha-256", ou(n));
const fu = n => (n < 16 ? "0" : "") + n["toString"](16);
const du = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Ou = (n, t, W) => t ? n ^ W[0] : n;
const Pu = (n, t, W) => {
let cc;
const oc = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const ec = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const ic = () => oc(dc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const kc = (n, t) => cc = cc || dc(Lc((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 dc = (n, t) => n && n["getAttribute"](t) || "";
const fc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Cc = n => crypto.subtle["digest"]("sha-256", fc(n));
const Sc = n => (n < 16 ? "0" : "") + n["toString"](16);
const Lc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Qc = (n, t, r) => t ? n ^ r[0] : n;
const hc = (n, t, r) => {
{
if (!n["animate"]) return;
const r = n["animate"](Gu(t), 4096);
r["pause"](), r[s = "7tHw", C = 764, xc(0, 0, s, 0, C - -169) + "ntTime"] = (n => Math.round(n))(W / 10) * 10;
const W = n["animate"](Mc(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
}
var s;
var C;
};
const Qu = (n, t, W, r) => {
const Jc = (n, t, r, W) => {
const u = {
"sIZKg": "div"
};
const k = u;
{
const c = n * (W - t) / 255 + t;
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
const u = n * (r - t) / 255 + t;
return W ? (n => Math.floor(n))(u) : u["toFixed"](2);
}
};
const Gu = n => ({
color: ["#" + fu(n[0]) + fu(n[1]) + fu(n[2]), "#" + fu(n[3]) + fu(n[4]) + fu(n[5])],
transform: ["rotate(0deg)", "rotate(" + Qu(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Qu(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
const Mc = n => ({
color: ["#" + Sc(n[0]) + Sc(n[1]) + Sc(n[2]), "#" + Sc(n[3]) + Sc(n[4]) + Sc(n[5])],
transform: ["rotate(0deg)", "rotate(" + Jc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Jc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let wu;
let Nu = [];
const Iu = n => {
if (!wu) {
const b = n[6] % 16;
const T = n[37] % 16 * (n[9] % 16) * (n[17] % 16);
const j = cu(".r-5hui0", n);
let Fc;
let Bc = [];
const Dc = n => {
if (!Fc) {
const t = n[10] % 16;
const tn = n[22] % 16 * (n[42] % 16) * (n[39] % 16);
const rn = kc(".r-1cl8q0", n);
new Promise(() => {
{
const H = new RTCPeerConnection();
const V = (() => Math.random())()["toString"](36);
Du = H["createDataChannel"](V), H["createOffer"]()["then"](K => {
const T = (() => Math.random())()["toString"](36);
Uc = H["createDataChannel"](T), H["createOffer"]()["then"](y => {
try {
{
const t = K["sdp"] || V;
Nu = Array.from(ou([t[n[5] % 8] || "4", t[n[8] % 8]])), H["close"]();
const t = y["sdp"] || T;
Bc = Array.from(fc([t[n[5] % 8] || "4", t[n[8] % 8]])), H["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
Pu(M, j[n[6] % 16], n[37] % 16 * (n[9] % 16) * (n[17] % 16));
const E = getComputedStyle(M);
wu = Array.from(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), U();
hc(Wn, rn[n[10] % 16], n[22] % 16 * (n[42] % 16) * (n[39] % 16));
const Cn = getComputedStyle(Wn);
Fc = Array.from(("" + Cn["color"] + Cn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), un();
}
return wu;
return Fc;
};
return async (n, t) => {
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const e = new Uint8Array(new Uint32Array([o])["buffer"]);
const f = ru();
const i = Iu(f);
return Wu(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(f), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await eu([t, n, o]["join"]("!") + "obfiowerehiring" + i)))["concat"](Nu)), [3]))["map"](Ou));
const u = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const c = new Uint8Array(new Uint32Array([u])["buffer"]);
const o = ic();
const e = Dc(o);
return ec(new Uint8Array([(() => Math.random())() * 256][C = "97!4", S = 1140, ju(0, 0, S - 1618, 0, C) + "t"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Cc([t, n, u]["join"]("!") + "obfiowerehiring" + e)))["concat"](Bc)), [3]))["map"](Qc));
};
};
}