PageSourceSearch

https://panel.exchangerpro.net/config/script.js

js exchangerpro.net collected 2026-10-09 21:50:30 UTC 2,058 bytes, 75 lines download raw bytes

1// chat
2!(function () {
3  var i = "UNsD9p",
4    a = window,
5    d = document;
6  function g() {
7    var g = d.createElement("script"),
8      s = "https://www.goftino.com/widget/" + i,
9      l = localStorage.getItem("goftino_" + i);
10    (g.async = !0), (g.src = l ? s + "?o=" + l : s);
11    d.getElementsByTagName("head")[0].appendChild(g);
12  }
13  "complete" === d.readyState
14    ? g()
15    : a.attachEvent
16    ? a.attachEvent("onload", g)
17    : a.addEventListener("load", g, !1);
18})();
19//
20window.addEventListener("goftino_ready", () => {
21  Goftino.setWidget({
22    hasIcon: false,
23    marginRight: 50,
24    marginLeft: 50,
25    marginBottom: 60,
26  });
27});
28
29function getUserInfo() {
30  return new Promise((rs, rj) => {
31    let vm, userInfo, me;
32    window.addEventListener("load", () => {
33      setTimeout(() => {
34        vm = document.getElementById("app").__vue__;
35        userInfo = vm.$store.getters.getUserInfo;
36        me = vm.$store.getters.getMe;
37        rs({ me, userInfo, store: vm.$store });
38      }, 4000);
39    });
40  });
41}
42
43getUserInfo().then(({ userInfo, me, store }) => {
44  if (userInfo.role == "guest") {
45    Goftino.setUser({
46      email: "",
47      name: "کاربر مهمان",
48      about: "این کاربر لاگ این نشده است",
49      phone: "",
50      avatar: "http://cdn.artarax.com/avatars/guest.jpg",
51      tags: "",
52      forceUpdate: true,
53    });
54  }
55  if (userInfo.role != "guest") {
56    let getGenderAvatar = (symbol) => {
57      if (symbol == "F") {
58        return "http://cdn.artarax.com/avatars/female-avatar.jpg";
59      }
60      if (symbol == "M") {
61        return "http://cdn.artarax.com/avatars/male-avatar.jpg";
62      } else "http://goftino.com/mypic.jpg";
63    };
64    Goftino.setUser({
65      email: "",
66      name: me.fullName || me.mobile || "",
67      about: "کاربر سایت",
68      phone: me.mobile || "",
69      avatar: getGenderAvatar(me.gender),
70      tags: "",
71      forceUpdate: true,
72    });
73  }
74  store.commit("setSupport", true);
75});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.