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-31 22:05:39 +00:00
parent 3d4881cfcf
commit 7bb7a60025
3 changed files with 111 additions and 122 deletions

View file

@ -1,73 +1,72 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
471269: (n, W, t) => {
t.r(W), t.d(W, {
default: () => o
471269: (n, t, r) => {
r.r(t), r.d(t, {
default: () => u
});
t(136728), t(875640);
const o = () => {
let fo;
const io = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const ko = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Co = () => io(mo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const ao = (n, W) => fo = fo || mo(So((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));
const mo = (n, W) => n && n["getAttribute"](W) || "";
const Oo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Ro = n => crypto.subtle["digest"]("sha-256", Oo(n));
const No = n => (n < 16 ? "0" : "") + n["toString"](16);
const So = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const po = () => Math.random();
const To = (n, W, t) => W ? n ^ t[0] : n;
const Io = (n, W, t) => {
r(136728), r(875640);
const u = () => {
let LW;
const jW = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const UW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const AW = () => jW(YW((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
const EW = (n, t) => LW = LW || YW(rc((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 YW = (n, t) => n && n["getAttribute"](t) || "";
const _W = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const $W = n => crypto.subtle["digest"]("sha-256", _W(n));
const nc = n => (n < 16 ? "0" : "") + n["toString"](16);
const rc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const kc = (n, t, r) => t ? n ^ r[0] : n;
const mc = (n, t, r) => {
{
if (!n["animate"]) return;
const c = n["animate"](Go(W), 4096);
c["pause"](), c["currentTime"] = (n => Math.round(n))(t / 10) * 10;
const W = n["animate"](Sc(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(r / 10) * 10;
}
};
const lo = (n, W, t, r) => {
const hc = (n, t, r, W) => {
{
const c = n * (t - W) / 255 + W;
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
const c = n * (r - t) / 255 + t;
return W ? (n => Math.floor(n))(c) : c["toFixed"](2);
}
};
const Go = n => ({
color: ["#" + No(n[0]) + No(n[1]) + No(n[2]), "#" + No(n[3]) + No(n[4]) + No(n[5])],
transform: ["rotate(0deg)", "rotate(" + lo(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => lo(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
const Sc = n => ({
color: ["#" + nc(n[0]) + nc(n[1]) + nc(n[2]), "#" + nc(n[3]) + nc(n[4]) + nc(n[5])],
transform: ["rotate(0deg)", "rotate(" + hc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => hc(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let xo;
let Vo = [];
const Fo = n => {
if (!xo) {
const O = ao(".r-5hgb9c", n);
let qc;
let vc = [];
const Rc = n => {
if (!qc) {
const sn = EW(".r-4t1nc0", n);
new Promise(() => {
{
const c = new RTCPeerConnection();
const r = po()["toString"](36);
Zo = c["createDataChannel"](r), c["createOffer"]()["then"](o => {
const u = (() => Math.random())()["toString"](36);
sc = c["createDataChannel"](u), c["createOffer"]()["then"](o => {
try {
{
const W = o["sdp"] || r;
Vo = Array.from(Oo([W[n[5] % 8] || "4", W[n[8] % 8]])), c["close"]();
const t = o["sdp"] || u;
vc = Array.from(_W([t[n[5] % 8] || "4", t[n[8] % 8]])), c["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
Io(R, O[n[21] % 16], n[25] % 16 * (n[26] % 16) * (n[43] % 16));
const S = getComputedStyle(R);
xo = Array.from(("" + S["color"] + S["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), N();
mc(vn, sn[n[30] % 16], n[41] % 16 * (n[18] % 16) * (n[6] % 16));
const Qn = getComputedStyle(vn);
qc = Array.from(("" + Qn["color"] + Qn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Rn();
}
return xo;
return qc;
};
return async (n, W) => {
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new Uint8Array(new Uint32Array([e])["buffer"]);
const f = Co();
const i = Fo(f);
return ko(new Uint8Array([po() * 256]["concat"](Array.from(f), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Ro([W, n, e]["join"]("!") + "obfiowerehiring" + i)))["concat"](Vo)), [3]))["map"](To));
return async (n, t) => {
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const e = new Uint8Array(new Uint32Array([o])["buffer"]);
const d = AW();
const i = Rc(d);
return UW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(d), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await $W([t, n, o]["join"]("!") + "obfiowerehiring" + i)))["concat"](vc)), [3]))["map"](kc));
};
};
}