Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/3.7.1_0/web/scripts/default-beautified.js b/3.7.1_0/web/scripts/default-beautified.js
- index 7a4603d..0b2034a 100644
- --- a/3.7.1_0/web/scripts/default-beautified.js
- +++ b/3.7.1_0/web/scripts/default-beautified.js
- @@ -98,7 +98,7 @@ window.Modernizr = function(e, t, i) {
- return k
- }("search tel url email datetime date month week time datetime-local number range color".split(" "))
- }
- - var d, h, p = "2.7.1",
- + var d, h, p = "2.7.2",
- f = {},
- m = !0,
- g = t.documentElement,
- @@ -406,7 +406,7 @@ var TD = {
- sync: {},
- cache: {}
- };
- -TD.buildID = "d3e1d3bbcbb7a4826e63efcaf1b25a9c3eb4172c", TD.buildIDShort = "d3e1d3b", TD.version = "3.7.1", TD.config = {
- +TD.buildID = "23c4e3847adeb9802cbbb07473a565e4c3e2bd1a", TD.buildIDShort = "23c4e38", TD.version = "3.7.2", TD.config = {
- api_root: "https://tweetdeck.twitter.com",
- twitter_api_base: "https://api.twitter.com",
- twitter_api_version: "1.1",
- @@ -1043,7 +1043,7 @@ function(e, t) {
- }
- function C(e, t, i) {
- - var n = Kt.exec(t);
- + var n = Gt.exec(t);
- return n ? Math.max(0, n[1] - (i || 0)) + (n[2] || "px") : t
- }
- @@ -1281,8 +1281,8 @@ function(e, t) {
- }
- var H = [],
- W = H.slice,
- - G = H.concat,
- - K = H.push,
- + K = H.concat,
- + G = H.push,
- V = H.indexOf,
- z = {},
- q = z.toString,
- @@ -1339,7 +1339,7 @@ function(e, t) {
- end: function() {
- return this.prevObject || this.constructor(null)
- },
- - push: K,
- + push: G,
- sort: H.sort,
- splice: H.splice
- }, et.extend = et.fn.extend = function() {
- @@ -1416,7 +1416,7 @@ function(e, t) {
- },
- makeArray: function(e, t) {
- var n = t || [];
- - return null != e && (i(Object(e)) ? et.merge(n, "string" == typeof e ? [e] : e) : K.call(n, e)), n
- + return null != e && (i(Object(e)) ? et.merge(n, "string" == typeof e ? [e] : e) : G.call(n, e)), n
- },
- inArray: function(e, t, i) {
- return null == t ? -1 : V.call(t, e, i)
- @@ -1438,7 +1438,7 @@ function(e, t) {
- for (; o > s; s++) r = t(e[s], s, n), null != r && c.push(r);
- else
- for (s in e) r = t(e[s], s, n), null != r && c.push(r);
- - return G.apply([], c)
- + return K.apply([], c)
- },
- guid: 1,
- proxy: function(e, t) {
- @@ -1549,7 +1549,7 @@ function(e, t) {
- function d() {}
- function h(e, i) {
- - var n, r, s, o, a, c, u, l = G[e + " "];
- + var n, r, s, o, a, c, u, l = K[e + " "];
- if (l) return i ? 0 : l.slice(0);
- for (a = e, c = [], u = C.preFilter; a;) {
- (!n || (r = ut.exec(a))) && (r && (a = a.slice(r[0].length) || a), c.push(s = [])), n = !1, (r = lt.exec(a)) && (n = r.shift(), s.push({
- @@ -1563,7 +1563,7 @@ function(e, t) {
- }), a = a.slice(n.length));
- if (!n) break
- }
- - return i ? a.length : a ? t.error(e) : G(e, c).slice(0)
- + return i ? a.length : a ? t.error(e) : K(e, c).slice(0)
- }
- function p(e) {
- @@ -1712,8 +1712,8 @@ function(e, t) {
- j = 0,
- H = 0,
- W = i(),
- - G = i(),
- K = i(),
- + G = i(),
- V = function(e, t) {
- return e === t && (M = !0), 0
- },
- @@ -2109,10 +2109,10 @@ function(e, t) {
- return d.prototype = C.filters = C.pseudos, C.setFilters = new d, A = t.compile = function(e, t) {
- var i, n = [],
- r = [],
- - s = K[e + " "];
- + s = G[e + " "];
- if (!s) {
- for (t || (t = h(e)), i = t.length; i--;) s = v(t[i]), s[P] ? n.push(s) : r.push(s);
- - s = K(e, y(r, n))
- + s = G(e, y(r, n))
- }
- return s
- }, b.sortStable = P.split("").sort(V).join("") === P, b.detectDuplicates = !!M, x(), b.sortDetached = r(function(e) {
- @@ -2943,7 +2943,7 @@ function(e, t) {
- return this.remove(e, !0)
- },
- domManip: function(e, t) {
- - e = G.apply([], e);
- + e = K.apply([], e);
- var i, n, r, s, o, a, c = 0,
- u = this.length,
- l = this,
- @@ -2969,7 +2969,7 @@ function(e, t) {
- replaceAll: "replaceWith"
- }, function(e, t) {
- et.fn[e] = function(e) {
- - for (var i, n = [], r = et(e), s = r.length - 1, o = 0; s >= o; o++) i = o === s ? this : this.clone(!0), et(r[o])[t](i), K.apply(n, i.get());
- + for (var i, n = [], r = et(e), s = r.length - 1, o = 0; s >= o; o++) i = o === s ? this : this.clone(!0), et(r[o])[t](i), G.apply(n, i.get());
- return this.pushStack(n)
- }
- });
- @@ -3008,8 +3008,8 @@ function(e, t) {
- for (s in t) e.style[s] = o[s];
- return r
- };
- - var Gt = /^(none|table(?!-c[ea]).+)/,
- - Kt = new RegExp("^(" + wt + ")(.*)$", "i"),
- + var Kt = /^(none|table(?!-c[ea]).+)/,
- + Gt = new RegExp("^(" + wt + ")(.*)$", "i"),
- Vt = new RegExp("^([+-])=(" + wt + ")", "i"),
- zt = {
- position: "absolute",
- @@ -3061,7 +3061,7 @@ function(e, t) {
- }), et.each(["height", "width"], function(e, t) {
- et.cssHooks[t] = {
- get: function(e, i, n) {
- - return i ? 0 === e.offsetWidth && Gt.test(et.css(e, "display")) ? et.swap(e, zt, function() {
- + return i ? 0 === e.offsetWidth && Kt.test(et.css(e, "display")) ? et.swap(e, zt, function() {
- return E(e, t, n)
- }) : E(e, t, n) : void 0
- },
- @@ -4317,7 +4317,7 @@ function(e, t, i) {
- return e
- }(), TD && TD.config && (TD.config.disable_metrics_error || TD.metrics.error.attach(), TD.config.disable_metrics_event || TD.metrics.event.attach()), TD.controller.feather = function() {
- var exposed = {};
- - return exposed.latestFeatherId = 18, exposed.loadFeathers = function(isRetry) {
- + return exposed.latestFeatherId = 19, exposed.loadFeathers = function(isRetry) {
- var d = new TD.core.defer.Deferred;
- return $.get(TD.config.api_root + "/web/scripts/unbundled/feathers.js").success(function(feathers) {
- try {
- @@ -4999,17 +4999,17 @@ function() {
- return r
- }
- - function Gt(e) {
- + function Kt(e) {
- for (var t = arguments, i = -1, n = et(t, !0, !1, 1), r = t[2] && t[2][t[1]] === e ? 1 : n.length, s = fn(r); ++i < r;) s[i] = e[n[i]];
- return s
- }
- - function Kt(e, t, i) {
- + function Gt(e, t, i) {
- var n = -1,
- r = ct(),
- s = e ? e.length : 0,
- o = !1;
- - return i = (0 > i ? Kn(0, s + i) : i) || 0, Jn(e) ? o = r(e, t, i) > -1 : "number" == typeof s ? o = (Ot(e) ? e.indexOf(t, i) : r(e, t, i)) > -1 : cr(e, function(e) {
- + return i = (0 > i ? Gn(0, s + i) : i) || 0, Jn(e) ? o = r(e, t, i) > -1 : "number" == typeof s ? o = (Ot(e) ? e.indexOf(t, i) : r(e, t, i)) > -1 : cr(e, function(e) {
- return ++n >= i ? !(o = e === t) : void 0
- }), o
- }
- @@ -5167,7 +5167,7 @@ function() {
- function si(e, t, i) {
- if (e && "number" != typeof e.length && (e = Wt(e)), null == t || i) return e ? e[nt(0, e.length - 1)] : p;
- var n = oi(e);
- - return n.length = Vn(Kn(0, t), n.length), n
- + return n.length = Vn(Gn(0, t), n.length), n
- }
- function oi(e) {
- @@ -5253,7 +5253,7 @@ function() {
- var s = -1;
- for (t = f.createCallback(t, i, 3); ++s < r && t(e[s], s, e);) n++
- } else if (n = t, null == n || i) return e ? e[0] : p;
- - return d(e, 0, Vn(Kn(0, n), r))
- + return d(e, 0, Vn(Gn(0, n), r))
- }
- function gi(e, t, i, n) {
- @@ -5263,7 +5263,7 @@ function() {
- function Ti(t, i, n) {
- if ("number" == typeof n) {
- var r = t ? t.length : 0;
- - n = 0 > n ? Kn(0, r + n) : n || 0
- + n = 0 > n ? Gn(0, r + n) : n || 0
- } else if (n) {
- var s = Ei(t, i);
- return t[s] === i ? s : -1
- @@ -5278,7 +5278,7 @@ function() {
- var s = r;
- for (t = f.createCallback(t, i, 3); s-- && t(e[s], s, e);) n++
- } else n = null == t || i ? 1 : t || n;
- - return d(e, 0, Vn(Kn(0, r - n), r))
- + return d(e, 0, Vn(Gn(0, r - n), r))
- }
- function yi() {
- @@ -5309,12 +5309,12 @@ function() {
- var s = r;
- for (t = f.createCallback(t, i, 3); s-- && t(e[s], s, e);) n++
- } else if (n = t, null == n || i) return e ? e[r - 1] : p;
- - return d(e, Kn(0, r - n))
- + return d(e, Gn(0, r - n))
- }
- function wi(e, t, i) {
- var n = e ? e.length : 0;
- - for ("number" == typeof i && (n = (0 > i ? Kn(0, n + i) : Vn(i, n - 1)) + 1); n--;)
- + for ("number" == typeof i && (n = (0 > i ? Gn(0, n + i) : Vn(i, n - 1)) + 1); n--;)
- if (e[n] === t) return n;
- return -1
- }
- @@ -5327,7 +5327,7 @@ function() {
- function bi(e, t, i) {
- e = +e || 0, i = "number" == typeof i ? i : +i || 1, null == t && (t = e, e = 0);
- - for (var n = -1, r = Kn(0, kn((t - e) / (i || 1))), s = fn(r); ++n < r;) s[n] = e, e += i;
- + for (var n = -1, r = Gn(0, kn((t - e) / (i || 1))), s = fn(r); ++n < r;) s[n] = e, e += i;
- return s
- }
- @@ -5348,7 +5348,7 @@ function() {
- r = -1,
- s = e ? e.length : 0;
- for (t = f.createCallback(t, i, 3); ++r < s && t(e[r], r, e);) n++
- - } else n = null == t || i ? 1 : Kn(0, t);
- + } else n = null == t || i ? 1 : Gn(0, t);
- return d(e, n)
- }
- @@ -5439,10 +5439,10 @@ function() {
- d = !1,
- h = !0;
- if (!kt(e)) throw new bn;
- - if (t = Kn(0, t) || 0, i === !0) {
- + if (t = Gn(0, t) || 0, i === !0) {
- var f = !0;
- h = !1
- - } else Mt(i) && (f = i.leading, d = "maxWait" in i && (Kn(t, i.maxWait) || 0), h = "trailing" in i ? i.trailing : h);
- + } else Mt(i) && (f = i.leading, d = "maxWait" in i && (Gn(t, i.maxWait) || 0), h = "trailing" in i ? i.trailing : h);
- var m = function() {
- var i = t - (mr() - o);
- if (0 >= i) {
- @@ -5500,11 +5500,11 @@ function() {
- }
- }
- - function Gi(e) {
- + function Ki(e) {
- return ot(e, 16, d(arguments, 1))
- }
- - function Ki(e) {
- + function Gi(e) {
- return ot(e, 32, null, d(arguments, 1))
- }
- @@ -5512,7 +5512,7 @@ function() {
- var n = !0,
- r = !0;
- if (!kt(e)) throw new bn;
- - return i === !1 ? n = !1 : Mt(i) && (n = "leading" in i ? i.leading : n, r = "trailing" in i ? i.trailing : r), G.leading = n, G.maxWait = t, G.trailing = r, Pi(e, t, G)
- + return i === !1 ? n = !1 : Mt(i) && (n = "leading" in i ? i.leading : n, r = "trailing" in i ? i.trailing : r), K.leading = n, K.maxWait = t, K.trailing = r, Pi(e, t, K)
- }
- function zi(e, t) {
- @@ -5700,8 +5700,8 @@ function() {
- jn = ut(jn = fn.isArray) && jn,
- Hn = i.isFinite,
- Wn = i.isNaN,
- - Gn = ut(Gn = Dn.keys) && Gn,
- - Kn = vn.max,
- + Kn = ut(Kn = Dn.keys) && Kn,
- + Gn = vn.max,
- Vn = vn.min,
- zn = i.parseInt,
- qn = vn.random,
- @@ -5728,7 +5728,7 @@ function() {
- }
- }());
- var Xn = Pn ? function(e, t) {
- - K.value = t, Pn(e, "__bindData__", K)
- + G.value = t, Pn(e, "__bindData__", G)
- } : en,
- Jn = jn || function(e) {
- return e && "object" == typeof e && "number" == typeof e.length && An.call(e) == O || !1
- @@ -5741,8 +5741,8 @@ function() {
- for (t in i) Nn.call(i, t) && n.push(t);
- return n
- },
- - er = Gn ? function(e) {
- - return Mt(e) ? Gn(e) : []
- + er = Kn ? function(e) {
- + return Mt(e) ? Kn(e) : []
- } : Zn,
- tr = {
- "&": "&",
- @@ -5820,7 +5820,7 @@ function() {
- gr = 8 == zn(D + "08") ? zn : function(e, t) {
- return zn(Ot(e) ? e.replace(I, "") : e, t || 0)
- };
- - return f.after = Ri, f.assign = sr, f.at = Gt, f.bind = Ni, f.bindAll = Oi, f.bindKey = Fi, f.chain = un, f.compact = di, f.compose = Ui, f.constant = qi, f.countBy = lr, f.create = mt, f.createCallback = Yi, f.curry = $i, f.debounce = Pi, f.defaults = or, f.defer = Bi, f.delay = ji, f.difference = hi, f.filter = zt, f.flatten = gi, f.forEach = Qt, f.forEachRight = Xt, f.forIn = ar, f.forInRight = vt, f.forOwn = cr, f.forOwnRight = yt, f.functions = Dt, f.groupBy = dr, f.indexBy = hr, f.initial = vi, f.intersection = yi, f.invert = _t, f.invoke = Jt, f.keys = er, f.map = Zt, f.mapValues = Ut, f.max = ei, f.memoize = Hi, f.merge = $t, f.min = ti, f.omit = Pt, f.once = Wi, f.pairs = Bt, f.partial = Gi, f.partialRight = Ki, f.pick = jt, f.pluck = pr, f.property = tn, f.pull = _i, f.range = bi, f.reject = ri, f.remove = Ci, f.rest = Si, f.shuffle = oi, f.sortBy = ui, f.tap = ln, f.throttle = Vi, f.times = on, f.toArray = li, f.transform = Ht, f.union = Ai, f.uniq = Ii, f.values = Wt, f.where = fr, f.without = ki, f.wrap = zi, f.xor = Mi, f.zip = xi, f.zipObject = Li, f.collect = Zt, f.drop = Si, f.each = Qt, f.eachRight = Xt, f.extend = sr, f.methods = Dt, f.object = Li, f.select = zt, f.tail = Si, f.unique = Ii, f.unzip = xi, Ji(f), f.clone = pt, f.cloneDeep = ft, f.contains = Kt, f.escape = Qi, f.every = Vt, f.find = qt, f.findIndex = pi, f.findKey = gt, f.findLast = Yt, f.findLastIndex = fi, f.findLastKey = Tt, f.has = wt, f.identity = Xi, f.indexOf = Ti, f.isArguments = ht, f.isArray = Jn, f.isBoolean = bt, f.isDate = Ct, f.isElement = St, f.isEmpty = Et, f.isEqual = At, f.isFinite = It, f.isFunction = kt, f.isNaN = xt, f.isNull = Lt, f.isNumber = Rt, f.isObject = Mt, f.isPlainObject = ur, f.isRegExp = Nt, f.isString = Ot, f.isUndefined = Ft, f.lastIndexOf = wi, f.mixin = Ji, f.noConflict = Zi, f.noop = en, f.now = mr, f.parseInt = gr, f.random = nn, f.reduce = ii, f.reduceRight = ni, f.result = rn, f.runInContext = h, f.size = ai, f.some = ci, f.sortedIndex = Ei, f.template = sn, f.unescape = an, f.uniqueId = cn, f.all = Vt, f.any = ci, f.detect = qt, f.findWhere = qt, f.foldl = ii, f.foldr = ni, f.include = Kt, f.inject = ii, Ji(function() {
- + return f.after = Ri, f.assign = sr, f.at = Kt, f.bind = Ni, f.bindAll = Oi, f.bindKey = Fi, f.chain = un, f.compact = di, f.compose = Ui, f.constant = qi, f.countBy = lr, f.create = mt, f.createCallback = Yi, f.curry = $i, f.debounce = Pi, f.defaults = or, f.defer = Bi, f.delay = ji, f.difference = hi, f.filter = zt, f.flatten = gi, f.forEach = Qt, f.forEachRight = Xt, f.forIn = ar, f.forInRight = vt, f.forOwn = cr, f.forOwnRight = yt, f.functions = Dt, f.groupBy = dr, f.indexBy = hr, f.initial = vi, f.intersection = yi, f.invert = _t, f.invoke = Jt, f.keys = er, f.map = Zt, f.mapValues = Ut, f.max = ei, f.memoize = Hi, f.merge = $t, f.min = ti, f.omit = Pt, f.once = Wi, f.pairs = Bt, f.partial = Ki, f.partialRight = Gi, f.pick = jt, f.pluck = pr, f.property = tn, f.pull = _i, f.range = bi, f.reject = ri, f.remove = Ci, f.rest = Si, f.shuffle = oi, f.sortBy = ui, f.tap = ln, f.throttle = Vi, f.times = on, f.toArray = li, f.transform = Ht, f.union = Ai, f.uniq = Ii, f.values = Wt, f.where = fr, f.without = ki, f.wrap = zi, f.xor = Mi, f.zip = xi, f.zipObject = Li, f.collect = Zt, f.drop = Si, f.each = Qt, f.eachRight = Xt, f.extend = sr, f.methods = Dt, f.object = Li, f.select = zt, f.tail = Si, f.unique = Ii, f.unzip = xi, Ji(f), f.clone = pt, f.cloneDeep = ft, f.contains = Gt, f.escape = Qi, f.every = Vt, f.find = qt, f.findIndex = pi, f.findKey = gt, f.findLast = Yt, f.findLastIndex = fi, f.findLastKey = Tt, f.has = wt, f.identity = Xi, f.indexOf = Ti, f.isArguments = ht, f.isArray = Jn, f.isBoolean = bt, f.isDate = Ct, f.isElement = St, f.isEmpty = Et, f.isEqual = At, f.isFinite = It, f.isFunction = kt, f.isNaN = xt, f.isNull = Lt, f.isNumber = Rt, f.isObject = Mt, f.isPlainObject = ur, f.isRegExp = Nt, f.isString = Ot, f.isUndefined = Ft, f.lastIndexOf = wi, f.mixin = Ji, f.noConflict = Zi, f.noop = en, f.now = mr, f.parseInt = gr, f.random = nn, f.reduce = ii, f.reduceRight = ni, f.result = rn, f.runInContext = h, f.size = ai, f.some = ci, f.sortedIndex = Ei, f.template = sn, f.unescape = an, f.uniqueId = cn, f.all = Vt, f.any = ci, f.detect = qt, f.findWhere = qt, f.foldl = ii, f.foldr = ni, f.include = Gt, f.inject = ii, Ji(function() {
- var e = {};
- return cr(f, function(t, i) {
- f.prototype[i] || (e[i] = t)
- @@ -5882,12 +5882,12 @@ function() {
- H = "[object String]",
- W = {};
- W[$] = !1, W[N] = W[O] = W[F] = W[U] = W[P] = W[B] = W[j] = W[H] = !0;
- - var G = {
- + var K = {
- leading: !1,
- maxWait: 0,
- trailing: !1
- },
- - K = {
- + G = {
- configurable: !1,
- enumerable: !1,
- value: null,
- @@ -6237,9 +6237,7 @@ function() {
- T = /^#column=([a-zA-Z0-9+\/=]+)$/,
- v = /^https?:\/\/tweetdeck.twitter.com\/(#[a-zA-Z0-9+\/=]+)$/,
- y = ["404", "500", "about", "account", "help", "jobs", "privacy", "search", "search-advanced", "tos"],
- - D = document.createElement("div"),
- - w = document.createElement("div"),
- - b = !isNaN(new Date("Mon Oct 08 16:34:01 +0000 2012").getTime());
- + D = !isNaN(new Date("Mon Oct 08 16:34:01 +0000 2012").getTime());
- return $.subscribe("/date", function(e) {
- var t = TD.util.parseDateString(e).getTime(),
- i = (new Date).getTime();
- @@ -6253,7 +6251,7 @@ function() {
- TWITTER_USERNAME_REGEXP: /@([A-Za-z0-9_]+)/g,
- parseDateString: function(e) {
- var t;
- - return t = new Date(!b && e ? Date.parse(e.replace(/( \+)/, " UTC$1")) : e)
- + return t = new Date(!D && e ? Date.parse(e.replace(/( \+)/, " UTC$1")) : e)
- },
- parseISO8601: function(e) {
- var t = e.split("+"),
- @@ -6301,18 +6299,8 @@ function() {
- transform: function(e, t) {
- return e ? (t = t || {}, this.updateEntities(e, t), e = this.linkify(e, t), this.emojify(e)) : ""
- },
- - _parseTextOnly: function(e, t) {
- - for (var i, n = e.childNodes, r = n.length, s = 0; r > s; s++) i = n[s], 3 === i.nodeType && TD.emoji.test(i.nodeValue) ? t.push(i) : i.hasChildNodes() && this._parseTextOnly(i, t)
- - },
- - _replaceTextOnly: function(e) {
- - for (var t, i, n = e.length, r = 0; n > r; r++) {
- - for (t = e[r], w.innerHTML = TD.emoji.parse(t.nodeValue), i = document.createDocumentFragment(); w.hasChildNodes();) i.appendChild(w.firstChild);
- - t.parentNode.replaceChild(i, t)
- - }
- - },
- emojify: function(e) {
- - var t;
- - return TD.emoji.test(e) && (D.innerHTML = e, t = [], this._parseTextOnly(D, t), this._replaceTextOnly(t), e = D.innerHTML, D.innerHTML = ""), e
- + return e
- },
- updateEntities: function(e, t) {
- var i, n, r, s, o, a, c, u = twttr.txt.modifyIndicesFromUnicodeToUTF16;
- @@ -6893,36 +6881,39 @@ function(e, t) {
- return n
- }, t
- }), TD.emoji = function(e) {
- - var t = {
- - theme: "",
- - path: "/web/assets/emoji",
- - unified: {},
- - parse: function(e) {
- - return e.replace(t.re, t.place).replace(/\uFE0F/g, "")
- - },
- - place: function(e, i, n) {
- - var r = 1 === e.length && "️" === n.charAt(i + 1) ? "️" : "";
- - return TD.ui.template.render("text/emoji", {
- - alt: e + r,
- - src: t.path + "/" + t.theme + "/" + t.unified[e] + ".png"
- - })
- - },
- - test: function(e) {
- - var i = t.re.test(e);
- - return t.re.lastIndex = 0, i
- - }
- - };
- - return t.re = new RegExp(e.values.map(function(i, n) {
- - var r = JSON.parse('"' + i + '"');
- - return t.unified[r] = e.keys[n], i
- + var t = />(?:\uFE0F|[\uFE00-\uFE0D])/g,
- + i = {
- + theme: "",
- + path: "/web/assets/emoji",
- + unified: {},
- + parse: function(e) {
- + return e.replace(i.re, i.place).replace(t, ">")
- + },
- + place: function(e, t, n) {
- + var r = n.charAt(t + 1),
- + s = "︎" !== r,
- + o = s && 1 === e.length && /([\uFE00-\uFE0F])/.test(r) ? RegExp.$1 : "";
- + return s ? TD.ui.template.render("text/emoji", {
- + alt: e + o,
- + src: i.path + "/" + i.theme + "/" + i.unified[e] + ".png"
- + }) : e
- + },
- + test: function(e) {
- + var t = i.re.test(e);
- + return i.re.lastIndex = 0, t
- + }
- + };
- + return i.re = new RegExp(e.values.map(function(t, n) {
- + var r = JSON.parse('"' + t + '"');
- + return i.unified[r] = e.keys[n], t
- }).join("|"), "g"), $(document).one("dataSettingsValues", function() {
- - t.theme || (t.theme = TD.settings.getTheme())
- + i.theme || (i.theme = TD.settings.getTheme())
- }), $(document).on("dataSettings", function() {
- var e = TD.settings.getTheme();
- - t.theme !== e && ($(".emoji").each(function(i, n) {
- - n.src = n.src.replace(t.theme, e)
- - }), t.theme = e)
- - }), t
- + i.theme !== e && ($(".emoji").each(function(t, n) {
- + n.src = n.src.replace(i.theme, e)
- + }), i.theme = e)
- + }), i
- }({
- keys: ["1f1ec-1f1e7", "1f1fa-1f1f8", "1f1e9-1f1ea", "1f1ea-1f1f8", "1f1eb-1f1f7", "1f1e8-1f1f3", "1f1ee-1f1f9", "1f1ef-1f1f5", "1f1f0-1f1f7", "1f1f7-1f1fa", "1f47a", "1f194", "1f195", "1f196", "1f197", "1f198", "1f199", "1f19a", "1f1e6", "1f1e7", "1f483", "1f1e8", "1f0cf", "1f1e9", "1f170", "1f1ea", "1f171", "1f1eb", "1f17e", "1f1ec", "1f1ed", "1f17f", "1f1ee", "1f18e", "1f1ef", "1f191", "1f1f0", "1f1f1", "1f1f2", "1f1f3", "1f1f4", "1f1f5", "1f1f6", "1f192", "1f1f7", "1f1f8", "1f1f9", "1f193", "1f1fa", "1f1fb", "1f1fc", "1f1fd", "1f1fe", "1f1ff", "1f201", "1f202", "1f21a", "1f22f", "1f232", "1f233", "1f234", "1f235", "1f236", "1f237", "1f238", "1f239", "1f23a", "1f250", "1f251", "1f300", "1f301", "1f302", "1f303", "1f304", "1f305", "1f306", "1f307", "1f308", "1f309", "1f30a", "1f30b", "1f30c", "1f30d", "1f30e", "1f30f", "1f310", "1f311", "1f312", "1f313", "1f314", "1f315", "1f316", "1f317", "1f318", "1f319", "1f31a", "1f31b", "1f31c", "1f31d", "1f31e", "1f31f", "1f320", "1f330", "1f331", "1f332", "1f333", "1f334", "1f335", "1f337", "1f338", "1f339", "1f33a", "1f33b", "1f33c", "1f33d", "1f33e", "1f33f", "1f340", "1f341", "1f342", "1f343", "1f344", "1f345", "1f346", "1f347", "1f348", "1f349", "1f34a", "1f34b", "1f34c", "1f34d", "1f34e", "1f34f", "1f350", "1f351", "1f352", "1f353", "1f354", "1f355", "1f356", "1f357", "1f358", "1f359", "1f35a", "1f35b", "1f35c", "1f35d", "1f35e", "1f35f", "1f360", "1f361", "1f362", "1f363", "1f364", "1f365", "1f366", "1f367", "1f368", "1f369", "1f36a", "1f36b", "1f36c", "1f36d", "1f36e", "1f36f", "1f370", "1f371", "1f372", "1f373", "1f374", "1f375", "1f376", "1f377", "1f378", "1f379", "1f37a", "1f37b", "1f37c", "1f380", "1f381", "1f382", "1f383", "1f384", "1f385", "1f386", "1f387", "1f388", "1f389", "1f38a", "1f38b", "1f38c", "1f38d", "1f38e", "1f38f", "1f390", "1f391", "1f392", "1f393", "1f3a0", "1f3a1", "1f3a2", "1f3a3", "1f3a4", "1f3a5", "1f3a6", "1f3a7", "1f3a8", "1f3a9", "1f3aa", "1f3ab", "1f3ac", "1f3ad", "1f3ae", "1f3af", "1f3b0", "1f3b1", "1f3b2", "1f3b3", "1f3b4", "1f3b5", "1f3b6", "1f3b7", "1f3b8", "1f3b9", "1f3ba", "1f3bb", "1f3bc", "1f3bd", "1f3be", "1f3bf", "1f3c0", "1f3c1", "1f3c2", "1f3c3", "1f3c4", "1f3c6", "1f3c7", "1f3c8", "1f3c9", "1f3ca", "1f3e0", "1f3e1", "1f3e2", "1f3e3", "1f3e4", "1f3e5", "1f3e6", "1f3e7", "1f3e8", "1f3e9", "1f3ea", "1f3eb", "1f3ec", "1f3ed", "1f3ee", "1f3ef", "1f3f0", "1f400", "1f401", "1f402", "1f403", "1f404", "1f405", "1f406", "1f407", "1f408", "1f409", "1f40a", "1f40b", "1f40c", "1f40d", "1f40e", "1f40f", "1f410", "1f411", "1f412", "1f413", "1f414", "1f415", "1f416", "1f417", "1f418", "1f419", "1f41a", "1f41b", "1f41c", "1f41d", "1f41e", "1f41f", "1f420", "1f421", "1f422", "1f423", "1f424", "1f425", "1f426", "1f427", "1f428", "1f429", "1f42a", "1f42b", "1f42c", "1f42d", "1f42e", "1f42f", "1f430", "1f431", "1f432", "1f433", "1f434", "1f435", "1f436", "1f437", "1f438", "1f439", "1f43a", "1f43b", "1f43c", "1f43d", "1f43e", "1f440", "1f442", "1f443", "1f444", "1f445", "1f446", "1f447", "1f448", "1f449", "1f44a", "1f44b", "1f44c", "1f44d", "1f44e", "1f44f", "1f450", "1f451", "1f452", "1f453", "1f454", "1f455", "1f456", "1f457", "1f458", "1f459", "1f45a", "1f45b", "1f45c", "1f45d", "1f45e", "1f45f", "1f460", "1f461", "1f462", "1f463", "1f464", "1f465", "1f466", "1f467", "1f468", "1f469", "1f46a", "1f46b", "1f46c", "1f46d", "1f46e", "1f46f", "1f470", "1f471", "1f472", "1f473", "1f474", "1f475", "1f476", "1f477", "1f478", "1f479", "1f004", "1f47b", "1f47c", "1f47d", "1f47e", "1f47f", "1f480", "1f481", "1f482", "1f484", "1f485", "1f486", "1f487", "1f488", "1f489", "1f48a", "1f48b", "1f48c", "1f48d", "1f48e", "1f48f", "1f490", "1f491", "1f492", "1f493", "1f494", "1f495", "1f496", "1f497", "1f498", "1f499", "1f49a", "1f49b", "1f49c", "1f49d", "1f49e", "1f49f", "1f4a0", "1f4a1", "1f4a2", "1f4a3", "1f4a4", "1f4a5", "1f4a6", "1f4a7", "1f4a8", "1f4a9", "1f4aa", "1f4ab", "1f4ac", "1f4ad", "1f4ae", "1f4af", "1f4b0", "1f4b1", "1f4b2", "1f4b3", "1f4b4", "1f4b5", "1f4b6", "1f4b7", "1f4b8", "1f4b9", "1f4ba", "1f4bb", "1f4bc", "1f4bd", "1f4be", "1f4bf", "1f4c0", "1f4c1", "1f4c2", "1f4c3", "1f4c4", "1f4c5", "1f4c6", "1f4c7", "1f4c8", "1f4c9", "1f4ca", "1f4cb", "1f4cc", "1f4cd", "1f4ce", "1f4cf", "1f4d0", "1f4d1", "1f4d2", "1f4d3", "1f4d4", "1f4d5", "1f4d6", "1f4d7", "1f4d8", "1f4d9", "1f4da", "1f4db", "1f4dc", "1f4dd", "1f4de", "1f4df", "1f4e0", "1f4e1", "1f4e2", "1f4e3", "1f4e4", "1f4e5", "1f4e6", "1f4e7", "1f4e8", "1f4e9", "1f4ea", "1f4eb", "1f4ec", "1f4ed", "1f4ee", "1f4ef", "1f4f0", "1f4f1", "1f4f2", "1f4f3", "1f4f4", "1f4f5", "1f4f6", "1f4f7", "1f4f9", "1f4fa", "1f4fb", "1f4fc", "1f500", "1f501", "1f502", "1f503", "1f504", "1f505", "1f506", "1f507", "1f508", "1f509", "1f50a", "1f50b", "1f50c", "1f50d", "1f50e", "1f50f", "1f510", "1f511", "1f512", "1f513", "1f514", "1f515", "1f516", "1f517", "1f518", "1f519", "1f51a", "1f51b", "1f51c", "1f51d", "1f51e", "1f51f", "1f520", "1f521", "1f522", "1f523", "1f524", "1f525", "1f526", "1f527", "1f528", "1f529", "1f52a", "1f52b", "1f52c", "1f52d", "1f52e", "1f52f", "1f530", "1f531", "1f532", "1f533", "1f534", "1f535", "1f536", "1f537", "1f538", "1f539", "1f53a", "1f53b", "1f53c", "1f53d", "1f550", "1f551", "1f552", "1f553", "1f554", "1f555", "1f556", "1f557", "1f558", "1f559", "1f55a", "1f55b", "1f55c", "1f55d", "1f55e", "1f55f", "1f560", "1f561", "1f562", "1f563", "1f564", "1f565", "1f566", "1f567", "1f5fb", "1f5fc", "1f5fd", "1f5fe", "1f5ff", "1f600", "1f601", "1f602", "1f603", "1f604", "1f605", "1f606", "1f607", "1f608", "1f609", "1f60a", "1f60b", "1f60c", "1f60d", "1f60e", "1f60f", "1f610", "1f611", "1f612", "1f613", "1f614", "1f615", "1f616", "1f617", "1f618", "1f619", "1f61a", "1f61b", "1f61c", "1f61d", "1f61e", "1f61f", "1f620", "1f621", "1f622", "1f623", "1f624", "1f625", "1f626", "1f627", "1f628", "1f629", "1f62a", "1f62b", "1f62c", "1f62d", "1f62e", "1f62f", "1f630", "1f631", "1f632", "1f633", "1f634", "1f635", "1f636", "1f637", "1f638", "1f639", "1f63a", "1f63b", "1f63c", "1f63d", "1f63e", "1f63f", "1f640", "1f645", "1f646", "1f647", "1f648", "1f649", "1f64a", "1f64b", "1f64c", "1f64d", "1f64e", "1f64f", "1f680", "1f681", "1f682", "1f683", "1f684", "1f685", "1f686", "1f687", "1f688", "1f689", "1f68a", "1f68b", "1f68c", "1f68d", "1f68e", "1f68f", "1f690", "1f691", "1f692", "1f693", "1f694", "1f695", "1f696", "1f697", "1f698", "1f699", "1f69a", "1f69b", "1f69c", "1f69d", "1f69e", "1f69f", "1f6a0", "1f6a1", "1f6a2", "1f6a3", "1f6a4", "1f6a5", "1f6a6", "1f6a7", "1f6a8", "1f6a9", "1f6aa", "1f6ab", "1f6ac", "1f6ad", "1f6ae", "1f6af", "1f6b0", "1f6b1", "1f6b2", "1f6b3", "1f6b4", "1f6b5", "1f6b6", "1f6b7", "1f6b8", "1f6b9", "1f6ba", "1f6bb", "1f6bc", "1f6bd", "1f6be", "1f6bf", "1f6c0", "1f6c1", "1f6c2", "1f6c3", "1f6c4", "1f6c5", "23-20e3", "30-20e3", "31-20e3", "32-20e3", "33-20e3", "34-20e3", "35-20e3", "36-20e3", "37-20e3", "38-20e3", "39-20e3", "2935", "3030", "3297", "3299", "2049", "2139", "2194", "2195", "2196", "2197", "2198", "2199", "2600", "2601", "2611", "2614", "2615", "2648", "2649", "2650", "2651", "2652", "2653", "2660", "2663", "2665", "2666", "2668", "2693", "2702", "2705", "2708", "2709", "2712", "2714", "2716", "2728", "2733", "2734", "2122", "203c", "21a9", "21aa", "2744", "231a", "231b", "23e9", "23ea", "23eb", "23ec", "23f0", "23f3", "24c2", "25aa", "25ab", "25b6", "25c0", "25fb", "25fc", "25fd", "25fe", "260e", "261d", "263a", "264a", "264b", "264c", "264d", "264e", "264f", "267b", "267f", "26a0", "26a1", "26aa", "26ab", "26bd", "26be", "26c4", "26c5", "26ce", "26d4", "26ea", "26f2", "26f3", "26f5", "26fa", "26fd", "270a", "270b", "270c", "270f", "274c", "274e", "27a1", "27b0", "27bf", "2b05", "2b06", "2b07", "2b1b", "2b1c", "2b50", "2b55", "2747", "303d", "2753", "2754", "2755", "2757", "2764", "2795", "2796", "2797", "2934", "a9", "ae", "e50a"],
- values: ["\\ud83c\\uddec\\ud83c\\udde7", "\\ud83c\\uddfa\\ud83c\\uddf8", "\\ud83c\\udde9\\ud83c\\uddea", "\\ud83c\\uddea\\ud83c\\uddf8", "\\ud83c\\uddeb\\ud83c\\uddf7", "\\ud83c\\udde8\\ud83c\\uddf3", "\\ud83c\\uddee\\ud83c\\uddf9", "\\ud83c\\uddef\\ud83c\\uddf5", "\\ud83c\\uddf0\\ud83c\\uddf7", "\\ud83c\\uddf7\\ud83c\\uddfa", "\\ud83d\\udc7a", "\\ud83c\\udd94", "\\ud83c\\udd95", "\\ud83c\\udd96", "\\ud83c\\udd97", "\\ud83c\\udd98", "\\ud83c\\udd99", "\\ud83c\\udd9a", "\\ud83c\\udde6", "\\ud83c\\udde7", "\\ud83d\\udc83", "\\ud83c\\udde8", "\\ud83c\\udccf", "\\ud83c\\udde9", "\\ud83c\\udd70", "\\ud83c\\uddea", "\\ud83c\\udd71", "\\ud83c\\uddeb", "\\ud83c\\udd7e", "\\ud83c\\uddec", "\\ud83c\\udded", "\\ud83c\\udd7f", "\\ud83c\\uddee", "\\ud83c\\udd8e", "\\ud83c\\uddef", "\\ud83c\\udd91", "\\ud83c\\uddf0", "\\ud83c\\uddf1", "\\ud83c\\uddf2", "\\ud83c\\uddf3", "\\ud83c\\uddf4", "\\ud83c\\uddf5", "\\ud83c\\uddf6", "\\ud83c\\udd92", "\\ud83c\\uddf7", "\\ud83c\\uddf8", "\\ud83c\\uddf9", "\\ud83c\\udd93", "\\ud83c\\uddfa", "\\ud83c\\uddfb", "\\ud83c\\uddfc", "\\ud83c\\uddfd", "\\ud83c\\uddfe", "\\ud83c\\uddff", "\\ud83c\\ude01", "\\ud83c\\ude02", "\\ud83c\\ude1a", "\\ud83c\\ude2f", "\\ud83c\\ude32", "\\ud83c\\ude33", "\\ud83c\\ude34", "\\ud83c\\ude35", "\\ud83c\\ude36", "\\ud83c\\ude37", "\\ud83c\\ude38", "\\ud83c\\ude39", "\\ud83c\\ude3a", "\\ud83c\\ude50", "\\ud83c\\ude51", "\\ud83c\\udf00", "\\ud83c\\udf01", "\\ud83c\\udf02", "\\ud83c\\udf03", "\\ud83c\\udf04", "\\ud83c\\udf05", "\\ud83c\\udf06", "\\ud83c\\udf07", "\\ud83c\\udf08", "\\ud83c\\udf09", "\\ud83c\\udf0a", "\\ud83c\\udf0b", "\\ud83c\\udf0c", "\\ud83c\\udf0d", "\\ud83c\\udf0e", "\\ud83c\\udf0f", "\\ud83c\\udf10", "\\ud83c\\udf11", "\\ud83c\\udf12", "\\ud83c\\udf13", "\\ud83c\\udf14", "\\ud83c\\udf15", "\\ud83c\\udf16", "\\ud83c\\udf17", "\\ud83c\\udf18", "\\ud83c\\udf19", "\\ud83c\\udf1a", "\\ud83c\\udf1b", "\\ud83c\\udf1c", "\\ud83c\\udf1d", "\\ud83c\\udf1e", "\\ud83c\\udf1f", "\\ud83c\\udf20", "\\ud83c\\udf30", "\\ud83c\\udf31", "\\ud83c\\udf32", "\\ud83c\\udf33", "\\ud83c\\udf34", "\\ud83c\\udf35", "\\ud83c\\udf37", "\\ud83c\\udf38", "\\ud83c\\udf39", "\\ud83c\\udf3a", "\\ud83c\\udf3b", "\\ud83c\\udf3c", "\\ud83c\\udf3d", "\\ud83c\\udf3e", "\\ud83c\\udf3f", "\\ud83c\\udf40", "\\ud83c\\udf41", "\\ud83c\\udf42", "\\ud83c\\udf43", "\\ud83c\\udf44", "\\ud83c\\udf45", "\\ud83c\\udf46", "\\ud83c\\udf47", "\\ud83c\\udf48", "\\ud83c\\udf49", "\\ud83c\\udf4a", "\\ud83c\\udf4b", "\\ud83c\\udf4c", "\\ud83c\\udf4d", "\\ud83c\\udf4e", "\\ud83c\\udf4f", "\\ud83c\\udf50", "\\ud83c\\udf51", "\\ud83c\\udf52", "\\ud83c\\udf53", "\\ud83c\\udf54", "\\ud83c\\udf55", "\\ud83c\\udf56", "\\ud83c\\udf57", "\\ud83c\\udf58", "\\ud83c\\udf59", "\\ud83c\\udf5a", "\\ud83c\\udf5b", "\\ud83c\\udf5c", "\\ud83c\\udf5d", "\\ud83c\\udf5e", "\\ud83c\\udf5f", "\\ud83c\\udf60", "\\ud83c\\udf61", "\\ud83c\\udf62", "\\ud83c\\udf63", "\\ud83c\\udf64", "\\ud83c\\udf65", "\\ud83c\\udf66", "\\ud83c\\udf67", "\\ud83c\\udf68", "\\ud83c\\udf69", "\\ud83c\\udf6a", "\\ud83c\\udf6b", "\\ud83c\\udf6c", "\\ud83c\\udf6d", "\\ud83c\\udf6e", "\\ud83c\\udf6f", "\\ud83c\\udf70", "\\ud83c\\udf71", "\\ud83c\\udf72", "\\ud83c\\udf73", "\\ud83c\\udf74", "\\ud83c\\udf75", "\\ud83c\\udf76", "\\ud83c\\udf77", "\\ud83c\\udf78", "\\ud83c\\udf79", "\\ud83c\\udf7a", "\\ud83c\\udf7b", "\\ud83c\\udf7c", "\\ud83c\\udf80", "\\ud83c\\udf81", "\\ud83c\\udf82", "\\ud83c\\udf83", "\\ud83c\\udf84", "\\ud83c\\udf85", "\\ud83c\\udf86", "\\ud83c\\udf87", "\\ud83c\\udf88", "\\ud83c\\udf89", "\\ud83c\\udf8a", "\\ud83c\\udf8b", "\\ud83c\\udf8c", "\\ud83c\\udf8d", "\\ud83c\\udf8e", "\\ud83c\\udf8f", "\\ud83c\\udf90", "\\ud83c\\udf91", "\\ud83c\\udf92", "\\ud83c\\udf93", "\\ud83c\\udfa0", "\\ud83c\\udfa1", "\\ud83c\\udfa2", "\\ud83c\\udfa3", "\\ud83c\\udfa4", "\\ud83c\\udfa5", "\\ud83c\\udfa6", "\\ud83c\\udfa7", "\\ud83c\\udfa8", "\\ud83c\\udfa9", "\\ud83c\\udfaa", "\\ud83c\\udfab", "\\ud83c\\udfac", "\\ud83c\\udfad", "\\ud83c\\udfae", "\\ud83c\\udfaf", "\\ud83c\\udfb0", "\\ud83c\\udfb1", "\\ud83c\\udfb2", "\\ud83c\\udfb3", "\\ud83c\\udfb4", "\\ud83c\\udfb5", "\\ud83c\\udfb6", "\\ud83c\\udfb7", "\\ud83c\\udfb8", "\\ud83c\\udfb9", "\\ud83c\\udfba", "\\ud83c\\udfbb", "\\ud83c\\udfbc", "\\ud83c\\udfbd", "\\ud83c\\udfbe", "\\ud83c\\udfbf", "\\ud83c\\udfc0", "\\ud83c\\udfc1", "\\ud83c\\udfc2", "\\ud83c\\udfc3", "\\ud83c\\udfc4", "\\ud83c\\udfc6", "\\ud83c\\udfc7", "\\ud83c\\udfc8", "\\ud83c\\udfc9", "\\ud83c\\udfca", "\\ud83c\\udfe0", "\\ud83c\\udfe1", "\\ud83c\\udfe2", "\\ud83c\\udfe3", "\\ud83c\\udfe4", "\\ud83c\\udfe5", "\\ud83c\\udfe6", "\\ud83c\\udfe7", "\\ud83c\\udfe8", "\\ud83c\\udfe9", "\\ud83c\\udfea", "\\ud83c\\udfeb", "\\ud83c\\udfec", "\\ud83c\\udfed", "\\ud83c\\udfee", "\\ud83c\\udfef", "\\ud83c\\udff0", "\\ud83d\\udc00", "\\ud83d\\udc01", "\\ud83d\\udc02", "\\ud83d\\udc03", "\\ud83d\\udc04", "\\ud83d\\udc05", "\\ud83d\\udc06", "\\ud83d\\udc07", "\\ud83d\\udc08", "\\ud83d\\udc09", "\\ud83d\\udc0a", "\\ud83d\\udc0b", "\\ud83d\\udc0c", "\\ud83d\\udc0d", "\\ud83d\\udc0e", "\\ud83d\\udc0f", "\\ud83d\\udc10", "\\ud83d\\udc11", "\\ud83d\\udc12", "\\ud83d\\udc13", "\\ud83d\\udc14", "\\ud83d\\udc15", "\\ud83d\\udc16", "\\ud83d\\udc17", "\\ud83d\\udc18", "\\ud83d\\udc19", "\\ud83d\\udc1a", "\\ud83d\\udc1b", "\\ud83d\\udc1c", "\\ud83d\\udc1d", "\\ud83d\\udc1e", "\\ud83d\\udc1f", "\\ud83d\\udc20", "\\ud83d\\udc21", "\\ud83d\\udc22", "\\ud83d\\udc23", "\\ud83d\\udc24", "\\ud83d\\udc25", "\\ud83d\\udc26", "\\ud83d\\udc27", "\\ud83d\\udc28", "\\ud83d\\udc29", "\\ud83d\\udc2a", "\\ud83d\\udc2b", "\\ud83d\\udc2c", "\\ud83d\\udc2d", "\\ud83d\\udc2e", "\\ud83d\\udc2f", "\\ud83d\\udc30", "\\ud83d\\udc31", "\\ud83d\\udc32", "\\ud83d\\udc33", "\\ud83d\\udc34", "\\ud83d\\udc35", "\\ud83d\\udc36", "\\ud83d\\udc37", "\\ud83d\\udc38", "\\ud83d\\udc39", "\\ud83d\\udc3a", "\\ud83d\\udc3b", "\\ud83d\\udc3c", "\\ud83d\\udc3d", "\\ud83d\\udc3e", "\\ud83d\\udc40", "\\ud83d\\udc42", "\\ud83d\\udc43", "\\ud83d\\udc44", "\\ud83d\\udc45", "\\ud83d\\udc46", "\\ud83d\\udc47", "\\ud83d\\udc48", "\\ud83d\\udc49", "\\ud83d\\udc4a", "\\ud83d\\udc4b", "\\ud83d\\udc4c", "\\ud83d\\udc4d", "\\ud83d\\udc4e", "\\ud83d\\udc4f", "\\ud83d\\udc50", "\\ud83d\\udc51", "\\ud83d\\udc52", "\\ud83d\\udc53", "\\ud83d\\udc54", "\\ud83d\\udc55", "\\ud83d\\udc56", "\\ud83d\\udc57", "\\ud83d\\udc58", "\\ud83d\\udc59", "\\ud83d\\udc5a", "\\ud83d\\udc5b", "\\ud83d\\udc5c", "\\ud83d\\udc5d", "\\ud83d\\udc5e", "\\ud83d\\udc5f", "\\ud83d\\udc60", "\\ud83d\\udc61", "\\ud83d\\udc62", "\\ud83d\\udc63", "\\ud83d\\udc64", "\\ud83d\\udc65", "\\ud83d\\udc66", "\\ud83d\\udc67", "\\ud83d\\udc68", "\\ud83d\\udc69", "\\ud83d\\udc6a", "\\ud83d\\udc6b", "\\ud83d\\udc6c", "\\ud83d\\udc6d", "\\ud83d\\udc6e", "\\ud83d\\udc6f", "\\ud83d\\udc70", "\\ud83d\\udc71", "\\ud83d\\udc72", "\\ud83d\\udc73", "\\ud83d\\udc74", "\\ud83d\\udc75", "\\ud83d\\udc76", "\\ud83d\\udc77", "\\ud83d\\udc78", "\\ud83d\\udc79", "\\ud83c\\udc04", "\\ud83d\\udc7b", "\\ud83d\\udc7c", "\\ud83d\\udc7d", "\\ud83d\\udc7e", "\\ud83d\\udc7f", "\\ud83d\\udc80", "\\ud83d\\udc81", "\\ud83d\\udc82", "\\ud83d\\udc84", "\\ud83d\\udc85", "\\ud83d\\udc86", "\\ud83d\\udc87", "\\ud83d\\udc88", "\\ud83d\\udc89", "\\ud83d\\udc8a", "\\ud83d\\udc8b", "\\ud83d\\udc8c", "\\ud83d\\udc8d", "\\ud83d\\udc8e", "\\ud83d\\udc8f", "\\ud83d\\udc90", "\\ud83d\\udc91", "\\ud83d\\udc92", "\\ud83d\\udc93", "\\ud83d\\udc94", "\\ud83d\\udc95", "\\ud83d\\udc96", "\\ud83d\\udc97", "\\ud83d\\udc98", "\\ud83d\\udc99", "\\ud83d\\udc9a", "\\ud83d\\udc9b", "\\ud83d\\udc9c", "\\ud83d\\udc9d", "\\ud83d\\udc9e", "\\ud83d\\udc9f", "\\ud83d\\udca0", "\\ud83d\\udca1", "\\ud83d\\udca2", "\\ud83d\\udca3", "\\ud83d\\udca4", "\\ud83d\\udca5", "\\ud83d\\udca6", "\\ud83d\\udca7", "\\ud83d\\udca8", "\\ud83d\\udca9", "\\ud83d\\udcaa", "\\ud83d\\udcab", "\\ud83d\\udcac", "\\ud83d\\udcad", "\\ud83d\\udcae", "\\ud83d\\udcaf", "\\ud83d\\udcb0", "\\ud83d\\udcb1", "\\ud83d\\udcb2", "\\ud83d\\udcb3", "\\ud83d\\udcb4", "\\ud83d\\udcb5", "\\ud83d\\udcb6", "\\ud83d\\udcb7", "\\ud83d\\udcb8", "\\ud83d\\udcb9", "\\ud83d\\udcba", "\\ud83d\\udcbb", "\\ud83d\\udcbc", "\\ud83d\\udcbd", "\\ud83d\\udcbe", "\\ud83d\\udcbf", "\\ud83d\\udcc0", "\\ud83d\\udcc1", "\\ud83d\\udcc2", "\\ud83d\\udcc3", "\\ud83d\\udcc4", "\\ud83d\\udcc5", "\\ud83d\\udcc6", "\\ud83d\\udcc7", "\\ud83d\\udcc8", "\\ud83d\\udcc9", "\\ud83d\\udcca", "\\ud83d\\udccb", "\\ud83d\\udccc", "\\ud83d\\udccd", "\\ud83d\\udcce", "\\ud83d\\udccf", "\\ud83d\\udcd0", "\\ud83d\\udcd1", "\\ud83d\\udcd2", "\\ud83d\\udcd3", "\\ud83d\\udcd4", "\\ud83d\\udcd5", "\\ud83d\\udcd6", "\\ud83d\\udcd7", "\\ud83d\\udcd8", "\\ud83d\\udcd9", "\\ud83d\\udcda", "\\ud83d\\udcdb", "\\ud83d\\udcdc", "\\ud83d\\udcdd", "\\ud83d\\udcde", "\\ud83d\\udcdf", "\\ud83d\\udce0", "\\ud83d\\udce1", "\\ud83d\\udce2", "\\ud83d\\udce3", "\\ud83d\\udce4", "\\ud83d\\udce5", "\\ud83d\\udce6", "\\ud83d\\udce7", "\\ud83d\\udce8", "\\ud83d\\udce9", "\\ud83d\\udcea", "\\ud83d\\udceb", "\\ud83d\\udcec", "\\ud83d\\udced", "\\ud83d\\udcee", "\\ud83d\\udcef", "\\ud83d\\udcf0", "\\ud83d\\udcf1", "\\ud83d\\udcf2", "\\ud83d\\udcf3", "\\ud83d\\udcf4", "\\ud83d\\udcf5", "\\ud83d\\udcf6", "\\ud83d\\udcf7", "\\ud83d\\udcf9", "\\ud83d\\udcfa", "\\ud83d\\udcfb", "\\ud83d\\udcfc", "\\ud83d\\udd00", "\\ud83d\\udd01", "\\ud83d\\udd02", "\\ud83d\\udd03", "\\ud83d\\udd04", "\\ud83d\\udd05", "\\ud83d\\udd06", "\\ud83d\\udd07", "\\ud83d\\udd08", "\\ud83d\\udd09", "\\ud83d\\udd0a", "\\ud83d\\udd0b", "\\ud83d\\udd0c", "\\ud83d\\udd0d", "\\ud83d\\udd0e", "\\ud83d\\udd0f", "\\ud83d\\udd10", "\\ud83d\\udd11", "\\ud83d\\udd12", "\\ud83d\\udd13", "\\ud83d\\udd14", "\\ud83d\\udd15", "\\ud83d\\udd16", "\\ud83d\\udd17", "\\ud83d\\udd18", "\\ud83d\\udd19", "\\ud83d\\udd1a", "\\ud83d\\udd1b", "\\ud83d\\udd1c", "\\ud83d\\udd1d", "\\ud83d\\udd1e", "\\ud83d\\udd1f", "\\ud83d\\udd20", "\\ud83d\\udd21", "\\ud83d\\udd22", "\\ud83d\\udd23", "\\ud83d\\udd24", "\\ud83d\\udd25", "\\ud83d\\udd26", "\\ud83d\\udd27", "\\ud83d\\udd28", "\\ud83d\\udd29", "\\ud83d\\udd2a", "\\ud83d\\udd2b", "\\ud83d\\udd2c", "\\ud83d\\udd2d", "\\ud83d\\udd2e", "\\ud83d\\udd2f", "\\ud83d\\udd30", "\\ud83d\\udd31", "\\ud83d\\udd32", "\\ud83d\\udd33", "\\ud83d\\udd34", "\\ud83d\\udd35", "\\ud83d\\udd36", "\\ud83d\\udd37", "\\ud83d\\udd38", "\\ud83d\\udd39", "\\ud83d\\udd3a", "\\ud83d\\udd3b", "\\ud83d\\udd3c", "\\ud83d\\udd3d", "\\ud83d\\udd50", "\\ud83d\\udd51", "\\ud83d\\udd52", "\\ud83d\\udd53", "\\ud83d\\udd54", "\\ud83d\\udd55", "\\ud83d\\udd56", "\\ud83d\\udd57", "\\ud83d\\udd58", "\\ud83d\\udd59", "\\ud83d\\udd5a", "\\ud83d\\udd5b", "\\ud83d\\udd5c", "\\ud83d\\udd5d", "\\ud83d\\udd5e", "\\ud83d\\udd5f", "\\ud83d\\udd60", "\\ud83d\\udd61", "\\ud83d\\udd62", "\\ud83d\\udd63", "\\ud83d\\udd64", "\\ud83d\\udd65", "\\ud83d\\udd66", "\\ud83d\\udd67", "\\ud83d\\uddfb", "\\ud83d\\uddfc", "\\ud83d\\uddfd", "\\ud83d\\uddfe", "\\ud83d\\uddff", "\\ud83d\\ude00", "\\ud83d\\ude01", "\\ud83d\\ude02", "\\ud83d\\ude03", "\\ud83d\\ude04", "\\ud83d\\ude05", "\\ud83d\\ude06", "\\ud83d\\ude07", "\\ud83d\\ude08", "\\ud83d\\ude09", "\\ud83d\\ude0a", "\\ud83d\\ude0b", "\\ud83d\\ude0c", "\\ud83d\\ude0d", "\\ud83d\\ude0e", "\\ud83d\\ude0f", "\\ud83d\\ude10", "\\ud83d\\ude11", "\\ud83d\\ude12", "\\ud83d\\ude13", "\\ud83d\\ude14", "\\ud83d\\ude15", "\\ud83d\\ude16", "\\ud83d\\ude17", "\\ud83d\\ude18", "\\ud83d\\ude19", "\\ud83d\\ude1a", "\\ud83d\\ude1b", "\\ud83d\\ude1c", "\\ud83d\\ude1d", "\\ud83d\\ude1e", "\\ud83d\\ude1f", "\\ud83d\\ude20", "\\ud83d\\ude21", "\\ud83d\\ude22", "\\ud83d\\ude23", "\\ud83d\\ude24", "\\ud83d\\ude25", "\\ud83d\\ude26", "\\ud83d\\ude27", "\\ud83d\\ude28", "\\ud83d\\ude29", "\\ud83d\\ude2a", "\\ud83d\\ude2b", "\\ud83d\\ude2c", "\\ud83d\\ude2d", "\\ud83d\\ude2e", "\\ud83d\\ude2f", "\\ud83d\\ude30", "\\ud83d\\ude31", "\\ud83d\\ude32", "\\ud83d\\ude33", "\\ud83d\\ude34", "\\ud83d\\ude35", "\\ud83d\\ude36", "\\ud83d\\ude37", "\\ud83d\\ude38", "\\ud83d\\ude39", "\\ud83d\\ude3a", "\\ud83d\\ude3b", "\\ud83d\\ude3c", "\\ud83d\\ude3d", "\\ud83d\\ude3e", "\\ud83d\\ude3f", "\\ud83d\\ude40", "\\ud83d\\ude45", "\\ud83d\\ude46", "\\ud83d\\ude47", "\\ud83d\\ude48", "\\ud83d\\ude49", "\\ud83d\\ude4a", "\\ud83d\\ude4b", "\\ud83d\\ude4c", "\\ud83d\\ude4d", "\\ud83d\\ude4e", "\\ud83d\\ude4f", "\\ud83d\\ude80", "\\ud83d\\ude81", "\\ud83d\\ude82", "\\ud83d\\ude83", "\\ud83d\\ude84", "\\ud83d\\ude85", "\\ud83d\\ude86", "\\ud83d\\ude87", "\\ud83d\\ude88", "\\ud83d\\ude89", "\\ud83d\\ude8a", "\\ud83d\\ude8b", "\\ud83d\\ude8c", "\\ud83d\\ude8d", "\\ud83d\\ude8e", "\\ud83d\\ude8f", "\\ud83d\\ude90", "\\ud83d\\ude91", "\\ud83d\\ude92", "\\ud83d\\ude93", "\\ud83d\\ude94", "\\ud83d\\ude95", "\\ud83d\\ude96", "\\ud83d\\ude97", "\\ud83d\\ude98", "\\ud83d\\ude99", "\\ud83d\\ude9a", "\\ud83d\\ude9b", "\\ud83d\\ude9c", "\\ud83d\\ude9d", "\\ud83d\\ude9e", "\\ud83d\\ude9f", "\\ud83d\\udea0", "\\ud83d\\udea1", "\\ud83d\\udea2", "\\ud83d\\udea3", "\\ud83d\\udea4", "\\ud83d\\udea5", "\\ud83d\\udea6", "\\ud83d\\udea7", "\\ud83d\\udea8", "\\ud83d\\udea9", "\\ud83d\\udeaa", "\\ud83d\\udeab", "\\ud83d\\udeac", "\\ud83d\\udead", "\\ud83d\\udeae", "\\ud83d\\udeaf", "\\ud83d\\udeb0", "\\ud83d\\udeb1", "\\ud83d\\udeb2", "\\ud83d\\udeb3", "\\ud83d\\udeb4", "\\ud83d\\udeb5", "\\ud83d\\udeb6", "\\ud83d\\udeb7", "\\ud83d\\udeb8", "\\ud83d\\udeb9", "\\ud83d\\udeba", "\\ud83d\\udebb", "\\ud83d\\udebc", "\\ud83d\\udebd", "\\ud83d\\udebe", "\\ud83d\\udebf", "\\ud83d\\udec0", "\\ud83d\\udec1", "\\ud83d\\udec2", "\\ud83d\\udec3", "\\ud83d\\udec4", "\\ud83d\\udec5", "\\u0023\\u20e3", "\\u0030\\u20e3", "\\u0031\\u20e3", "\\u0032\\u20e3", "\\u0033\\u20e3", "\\u0034\\u20e3", "\\u0035\\u20e3", "\\u0036\\u20e3", "\\u0037\\u20e3", "\\u0038\\u20e3", "\\u0039\\u20e3", "\\u2935", "\\u3030", "\\u3297", "\\u3299", "\\u2049", "\\u2139", "\\u2194", "\\u2195", "\\u2196", "\\u2197", "\\u2198", "\\u2199", "\\u2600", "\\u2601", "\\u2611", "\\u2614", "\\u2615", "\\u2648", "\\u2649", "\\u2650", "\\u2651", "\\u2652", "\\u2653", "\\u2660", "\\u2663", "\\u2665", "\\u2666", "\\u2668", "\\u2693", "\\u2702", "\\u2705", "\\u2708", "\\u2709", "\\u2712", "\\u2714", "\\u2716", "\\u2728", "\\u2733", "\\u2734", "\\u2122", "\\u203c", "\\u21a9", "\\u21aa", "\\u2744", "\\u231a", "\\u231b", "\\u23e9", "\\u23ea", "\\u23eb", "\\u23ec", "\\u23f0", "\\u23f3", "\\u24c2", "\\u25aa", "\\u25ab", "\\u25b6", "\\u25c0", "\\u25fb", "\\u25fc", "\\u25fd", "\\u25fe", "\\u260e", "\\u261d", "\\u263a", "\\u264a", "\\u264b", "\\u264c", "\\u264d", "\\u264e", "\\u264f", "\\u267b", "\\u267f", "\\u26a0", "\\u26a1", "\\u26aa", "\\u26ab", "\\u26bd", "\\u26be", "\\u26c4", "\\u26c5", "\\u26ce", "\\u26d4", "\\u26ea", "\\u26f2", "\\u26f3", "\\u26f5", "\\u26fa", "\\u26fd", "\\u270a", "\\u270b", "\\u270c", "\\u270f", "\\u274c", "\\u274e", "\\u27a1", "\\u27b0", "\\u27bf", "\\u2b05", "\\u2b06", "\\u2b07", "\\u2b1b", "\\u2b1c", "\\u2b50", "\\u2b55", "\\u2747", "\\u303d", "\\u2753", "\\u2754", "\\u2755", "\\u2757", "\\u2764", "\\u2795", "\\u2796", "\\u2797", "\\u2934", "\\u00a9", "\\u00ae", "\\ue50a"]
- @@ -10252,18 +10243,18 @@ function(e, t) {
- $.unsubscribe(this.subscription), this.$node.off("click", ".js-account-item"), this.supr()
- }
- }), TD.vo.Column = function(e, t) {
- - TD.sync.util.assert(e, "must provide sColumn to create aColumn"), this.model = e, TD.sync.util.assert(this.model.getKey(), "vo.Column will most likely fail if your column has no key"), this.ui = new TD.ui.Column(this.model.getKey()), this._feeds = [], this.filters = [], this.description = "", this.updateArray = [], this.updateIndex = {}, this.scribedImpressionIDs = new TD.cache.LRUQueue(200), this._animating = !1, this._animationQueue = [], this._isUpdating = !0, this.feedSubscriptions = {}, this.deleteSubscriptions = {}, this.visible = !0, this.visibility = {
- + TD.sync.util.assert(e, "must provide sColumn to create aColumn"), this.model = e, TD.sync.util.assert(this.model.getKey(), "vo.Column will most likely fail if your column has no key"), this.ui = new TD.ui.Column(this.model.getKey()), this._feeds = [], this.filters = [], this.description = "", this.updateArray = [], this.updateIndex = {}, this.scribedImpressionIDs = new TD.cache.LRUQueue(200), this._isUpdating = !0, this.feedSubscriptions = {}, this.deleteSubscriptions = {}, this.visible = !0, this.visibility = {
- columnWidth: 0,
- visibleWidth: 0,
- visibleHeight: 0,
- visibleFraction: 0
- - }, this.temporary = !1, this.detailViewComponent = null, this.feedsFetched = 0, this.isFirstFetch = !0, this.isFetchingOlderUpdates = !1, this.lastInfiniteScrollTime = null, this.isShowingLoadMore = !1, this.isExhausted = !1, this.isEmergencyPaused = !1, this.fetchesPaused = !1, this.CHIRP_BLOCK_SIZE = 20, this.COLUMN_CHIRP_LIMIT = 20, this.sortFunction = "scheduled" === this.model.getType() ? TD.util.chirpAscSort : TD.util.chirpDescSort, this.loadFeeds(), this.loadFilters(), t && this.setFeeds(t), this.isFilterable() || this.updateSearchFilter(new TD.vo.SearchFilter), this.GLOBAL_TPM_ANIMATION_LIMIT = 2e3, this.COLUMN_TPM_ANIMATION_LIMIT = 120, this.COLUMN_MINIMALIST_TWEET_TPM_THRESHOLD = 750, this.doAnimate = !0, this.streamRate = 0;
- + }, this.temporary = !1, this.detailViewComponent = null, this.feedsFetched = 0, this.isFirstFetch = !0, this.isFetchingOlderUpdates = !1, this.lastInfiniteScrollTime = null, this.isShowingLoadMore = !1, this.isExhausted = !1, this.isEmergencyPaused = !1, this.fetchesPaused = !1, this.CHIRP_BLOCK_SIZE = 20, this.COLUMN_CHIRP_LIMIT = 20, this.sortFunction = "scheduled" === this.model.getType() ? TD.util.chirpAscSort : TD.util.chirpDescSort, this.loadFeeds(), this.loadFilters(), t && this.setFeeds(t), this.isFilterable() || this.updateSearchFilter(new TD.vo.SearchFilter), this.COLUMN_MINIMALIST_TWEET_TPM_THRESHOLD = 750, this.streamRate = 0;
- var i = this.updateStreamRate.bind(this);
- $(document).on("dataStreamRate", i), this.tpm = 0;
- var n = this.updateTpm.bind(this),
- r = "dataColumn" + this.model.getKey() + "Tpm";
- $(document).on(r, n), this.tpmCounter = new TD.util.TpmCounter(500, 5e3, r), this.STREAM_ITEM_CONTENT_SELECTOR = ".js-stream-item-content", this.STREAM_ITEM_SELECTOR = ".js-stream-item", $.subscribe("/storage/client/settings/display_sensitive_media", this.reloadTweets.bind(this))
- -}, TD.vo.Column.CHIRP_STAGGERING_INTERVAL = 400, TD.vo.Column.FADE_IN_CLASS = "column-opacity-transition", TD.vo.Column.MEDIA_PREVIEW_OFF = "off", TD.vo.Column.MEDIA_PREVIEW_SIZE_SMALL = "small", TD.vo.Column.MEDIA_PREVIEW_SIZE_MEDIUM = "medium", TD.vo.Column.MEDIA_PREVIEW_SIZE_LARGE = "large", TD.vo.Column.prototype.reset = function() {
- +}, TD.vo.Column.MEDIA_PREVIEW_OFF = "off", TD.vo.Column.MEDIA_PREVIEW_SIZE_SMALL = "small", TD.vo.Column.MEDIA_PREVIEW_SIZE_MEDIUM = "medium", TD.vo.Column.MEDIA_PREVIEW_SIZE_LARGE = "large", TD.vo.Column.prototype.reset = function() {
- this.updateArray = [], this.updateIndex = {}, this.feedsFetched = 0, this.isFirstFetch = !0, this.temporary = !1, this.isFetchingOlderUpdates = !1, this.lastInfiniteScrollTime = null, this.refreshSubscriptions()
- }, TD.vo.Column.prototype.clone = function() {
- return TD.controller.columnManager.makeColumn(this.model.getType(), this.getFeeds(), this.model.getFilters())
- @@ -10381,7 +10372,7 @@ function(e, t) {
- }
- }, TD.vo.Column.prototype.addToIndex = function(e, t, i) {
- var n;
- - return this._isUpdating && (this.ui.getChirpContainer().trigger("dataColumnFeedUpdated"), this.ui.hideIsUpdatingMessage(), this._isUpdating = !1), 0 === t.length ? void(0 === this.updateArray.length && this.ui.showNoResultsMessage(this.temporary, this.isOwnCustomTimeline())) : (this.ui.hideNoResultsMessage(), n = t.concat(), this.addItemsToIndex(n, this.updateArray.length, e.feed, i), void(this.isFirstFetch && (this.feedsFetched++, this.feedsFetched == this.getFeedCount() && (this.truncate(this.CHIRP_BLOCK_SIZE), this.feedsFetched = 0, this.isFirstFetch = !1))))
- + return this._isUpdating && (this.ui.getChirpContainer().trigger("dataColumnFeedUpdated"), this.ui.hideChirpContainer(), this.ui.hideIsUpdatingMessage(), this._isUpdating = !1), 0 === t.length ? void(0 === this.updateArray.length && this.ui.showNoResultsMessage(this.temporary, this.isOwnCustomTimeline())) : (this.ui.hideNoResultsMessage(), n = t.concat(), this.addItemsToIndex(n, this.updateArray.length, e.feed, i), void(this.isFirstFetch && (this.feedsFetched++, this.feedsFetched == this.getFeedCount() && (this.truncate(this.CHIRP_BLOCK_SIZE), this.feedsFetched = 0, this.isFirstFetch = !1))))
- }, TD.vo.Column.prototype.addItemsToIndex = function(e, t, i, n) {
- var r, s, o = [],
- a = this.updateArray.length ? this.updateArray[this.updateArray.length - 1].created.getTime() : 0,
- @@ -10391,12 +10382,17 @@ function(e, t) {
- 0 === this.updateArray.length && this.ui.removeInfiniteScrollSpinner(), e.sort(this.sortFunction), r = e.length;
- for (var d = 0; r > d && (s = e[d], !t && s.created.getTime() < a || s.created.getTime() <= c || !s.passFilters(this.filters) || (_.isUndefined(this.updateIndex[s.id]) || (this.removeFromIndex(null, [s], !1), this.detailViewComponent && this.detailViewComponent.changed(s)), this.updateIndex[s.id] = s, o.push(s), _.isUndefined(n) || (u = u.concat(s.getUnreadChirps(n))), !(o.length > this.CHIRP_BLOCK_SIZE))); d++);
- if (l = o.length) {
- - for (var h = "", p = [], f = this.updateArray; o.length > 0 || f.length > 0;)
- + for (var h = "", p = [], f = this.updateArray, m = {
- + mediaPreviewSize: this.getMediaPreviewSize(),
- + isOwnCustomTimeline: this.isOwnCustomTimeline(),
- + showVerifiedBadge: this.getShowVerified(),
- + isTemporaryColumn: this.temporary
- + }; o.length > 0 || f.length > 0;)
- if (0 === o.length) p = p.concat(f), f = [];
- - else if (0 === f.length) p = p.concat(o), this.addToView(i, h, o), o = [];
- + else if (0 === f.length) p = p.concat(o), this.addToView(h, o, m), o = [];
- else {
- - for (var m = [], g = f[0], T = o[0]; this.sortFunction(g, T) > 0 && o.length > 0;) s = o.shift(), m.push(s), o.length > 0 && (T = o[0]);
- - m.length > 0 ? (this.addToView(i, h, m), p = p.concat(m)) : (s = f.shift(), p.push(s), s.passFilters(this.filters) && (h = s.id))
- + for (var g = [], T = f[0], v = o[0]; this.sortFunction(T, v) > 0 && o.length > 0;) s = o.shift(), g.push(s), o.length > 0 && (v = o[0]);
- + g.length > 0 ? (this.addToView(h, g, m), p = p.concat(g)) : (s = f.shift(), p.push(s), s.passFilters(this.filters) && (h = s.id))
- }
- this.updateArray = p
- }
- @@ -10470,54 +10466,15 @@ function(e, t) {
- }, TD.vo.Column.prototype.addToView = function(e, t, i) {
- var n, r, s, o, a, c = this.ui.getChirpContainer(),
- u = TD.controller.columnManager.isStreaming(this.model.getKey());
- - 0 !== i.length && (0 === this.updateArray.length ? (o = TD.util.getPreciseTime(), n = this.renderChirps(i), a = TD.util.getPreciseTime(), TD.util.logTimeToRenderColumn(a - o, i.length)) : (u && this.tpmCounter.incrementCounter(i.length), n = this.renderChirps(i)), r = $(n).filter(this.STREAM_ITEM_SELECTOR), s = 0 === c.children(this.STREAM_ITEM_SELECTOR).length, "" === t ? s ? (c.html(r), this.isShowingLoadMore = !1) : (!TD.ui.columns.isFrozen(this.model.getKey()) && TD.controller.columnManager.isStreaming(this.model.getKey()) && this.trimUpdates(), c.prepend(r)) : c.children('[data-key="' + t + '"]').after(r), s ? this._fadeInContent(c) : this._slideInChirps(r))
- + 0 !== t.length && (0 === this.updateArray.length ? (o = TD.util.getPreciseTime(), i.doRenderMinimalist = !1, n = this.ui.renderChirps(t, i), a = TD.util.getPreciseTime(), TD.util.logTimeToRenderColumn(a - o, t.length)) : (u && this.tpmCounter.incrementCounter(t.length), i.doRenderMinimalist = this.tpm > this.COLUMN_MINIMALIST_TWEET_TPM_THRESHOLD, n = this.ui.renderChirps(t, i)), r = $(n).filter(this.STREAM_ITEM_SELECTOR), s = 0 === c.children(this.STREAM_ITEM_SELECTOR).length, "" === e ? s ? (c.html(r), this.isShowingLoadMore = !1) : (!TD.ui.columns.isFrozen(this.model.getKey()) && TD.controller.columnManager.isStreaming(this.model.getKey()) && this.trimUpdates(), c.prepend(r)) : c.children('[data-key="' + e + '"]').after(r), s ? this.ui.fadeInChirpContainer() : this.ui.slideInChirps(r, this.temporary, this.streamRate, this.tpm, this.isFetchingOlderUpdates))
- }, TD.vo.Column.prototype.getMediaPreviewSize = function() {
- var e, t = this.model.getMediaPreviewSize();
- return t || (this.isMessageColumn() && (t = TD.vo.Column.MEDIA_PREVIEW_OFF), e = this.getSearchFilter(), t = e.content.hasActiveMediaFilter() ? TD.vo.Column.MEDIA_PREVIEW_SIZE_LARGE : this.getColumnType() === TD.util.columnUtils.columnMetaTypes.INTERACTIONS ? TD.vo.Column.MEDIA_PREVIEW_SIZE_SMALL : TD.vo.Column.MEDIA_PREVIEW_SIZE_MEDIUM), t
- }, TD.vo.Column.prototype.setMediaPreviewSize = function(e) {
- var t = this.getMediaPreviewSize();
- e !== t && this.model.setMediaPreviewSize(e), this.reloadTweets()
- -}, TD.vo.Column.prototype.renderChirps = function(e) {
- - var t, i, n, r, s = [],
- - o = this.tpm > this.COLUMN_MINIMALIST_TWEET_TPM_THRESHOLD,
- - a = this.getMediaPreviewSize(),
- - c = this.isOwnCustomTimeline();
- - for (i = 0; i < e.length; i++) n = e[i], r = n.getMainUser && n.getMainUser().isProtected, t = e[i].render({
- - isTemporaryColumn: this.temporary,
- - mediaPreviewSize: a,
- - isMinimalist: o,
- - withShowVerified: this.getShowVerified(),
- - withRemove: c,
- - withDragHandle: !this.temporary && !r && !c
- - }), s.push(t);
- - return s.join("")
- }, TD.vo.Column.prototype.getShowVerified = function() {
- return "col_search" === this.getColumnType() && this.temporary
- -}, TD.vo.Column.prototype._fadeInContent = function(e) {
- - var t = this;
- - _.defer(function() {
- - e.css("opacity", 1), TD.ui.main.TRANSITION_END_EVENTS ? e.one(TD.ui.main.TRANSITION_END_EVENTS, function() {
- - e.removeClass(TD.vo.Column.FADE_IN_CLASS).removeAttr("style"), $(document).trigger("uiColumnChirpsChanged", {
- - id: t.model.getKey()
- - })
- - }) : (e.removeClass(TD.vo.Column.FADE_IN_CLASS).removeAttr("style"), $(document).trigger("uiColumnChirpsChanged", {
- - id: t.model.getKey()
- - }))
- - })
- -}, TD.vo.Column.prototype._slideInChirps = function(e) {
- - var t, i, n = [],
- - r = this.temporary && this.ui.getChirpContainer().closest(".is-hidden").length;
- - this.doAnimate = !r && this.streamRate < this.GLOBAL_TPM_ANIMATION_LIMIT && this.tpm < this.COLUMN_TPM_ANIMATION_LIMIT, e && (e.each(function() {
- - n.push($(this).toggleClass("is-animating"))
- - }), n.reverse(), this._animationQueue = this._animationQueue.concat(n)), this._animating || 0 === this._animationQueue.length || (i = TD.ui.columns.freezeScroll(this.model.getKey()), i ? (this.isFetchingOlderUpdates || this.ui.getChirpContainer().trigger("uiReadStateChange", {
- - read: !1
- - }), _.each(this._animationQueue, function(e) {
- - e.removeClass("is-animating")
- - }), this._animationQueue = []) : TD.controller.columnManager.isStreaming(this.model.getKey()) ? (this._animationQueue.forEach(function(e) {
- - this.ui.slideInChirp(e, this.doAnimate)
- - }, this), this._animationQueue = []) : (this._animating = !0, t = this._animationQueue.shift(), this.ui.slideInChirp(t, this.doAnimate), setTimeout(function() {
- - this._animating = !1, this._slideInChirps()
- - }.bind(this), TD.vo.Column.CHIRP_STAGGERING_INTERVAL)), this.isFetchingOlderUpdates || TD.ui.columns.unfreezeScroll(this.model.getKey()))
- }, TD.vo.Column.prototype.enableEmergencyPause = function() {
- this.isEmergencyPaused = !0, this.ui.getChirpContainer().trigger("uiColumnPaused"), TD.controller.stats.columnEmergencyPause(this.getColumnType())
- }, TD.vo.Column.prototype.disableEmergencyPause = function() {
- @@ -19128,14 +19085,31 @@ function() {
- styledScrollbar: TD.util.hasFixedScrollBars(),
- isTouchDevice: TD.util.isTouchDevice()
- }, TD.ui.Column = function(e) {
- - this.chirpContainerSelector = '.js-chirp-container[data-column="' + e + '"]', this.infiniteSpinnerSelector = ".js-infinitespinner", this.state = {
- + this.chirpContainerSelector = '.js-chirp-container[data-column="' + e + '"]', this.infiniteSpinnerSelector = ".js-infinitespinner", this.globalTpmAnimationLimit = 2e3, this.columnTpmAnimationLimit = 120, this.chirpStaggeringInterval = 400, this.fadeInClass = "column-opacity-transition", this.state = {
- columnKey: e,
- - $noResults: null
- + $noResults: null,
- + animating: !1,
- + animationQueue: []
- }
- }, TD.ui.Column.prototype.getChirpContainer = function() {
- return this._$chirpContainer && 0 !== this._$chirpContainer.length || (this._$chirpContainer = $(this.chirpContainerSelector)), this._$chirpContainer
- }, TD.ui.Column.prototype.removeChirp = function(e) {
- this.getChirpContainer().find('[data-key="' + e + '"]').remove()
- +}, TD.ui.Column.prototype.slideInChirps = function(e, t, i, n, r) {
- + var s, o, a = [],
- + c = this.temporary && this.getChirpContainer().closest(".is-hidden").length,
- + u = !c && i < this.globalTpmAnimationLimit && n < this.columnTpmAnimationLimit;
- + e && (e.each(function() {
- + a.push($(this).toggleClass("is-animating"))
- + }), a.reverse(), this.state.animationQueue = this.state.animationQueue.concat(a)), this.state.animating || 0 === this.state.animationQueue.length || (o = TD.ui.columns.freezeScroll(this.state.columnKey), o ? (r || this.getChirpContainer().trigger("uiReadStateChange", {
- + read: !1
- + }), this.state.animationQueue.forEach(function(e) {
- + e.removeClass("is-animating")
- + }), this.state.animationQueue = []) : TD.controller.columnManager.isStreaming(this.state.columnKey) ? (this.state.animationQueue.forEach(function(e) {
- + this.slideInChirp(e, u)
- + }, this), this.state.animationQueue = []) : (this.state.animating = !0, s = this.state.animationQueue.shift(), this.slideInChirp(s, u), setTimeout(function() {
- + this.state.animating = !1, this.slideInChirps()
- + }.bind(this), this.chirpStaggeringInterval)), r || TD.ui.columns.unfreezeScroll(this.state.columnKey))
- }, TD.ui.Column.prototype.slideInChirp = function(e, t) {
- var i, n = function() {
- e.removeClass("is-animating"), e.removeAttr("style"), $(document).trigger("uiColumnChirpsChanged", {
- @@ -19146,6 +19120,32 @@ function() {
- opacity: 1,
- height: i + "px"
- }), e.one(TD.ui.main.TRANSITION_END_EVENTS, n)) : n()
- +}, TD.ui.Column.prototype.renderChirps = function(e, t) {
- + var i, n, r, s, o = [];
- + for (n = 0; n < e.length; n++) r = e[n], s = r.getMainUser && r.getMainUser().isProtected, i = e[n].render({
- + isTemporaryColumn: t.isTemporaryColumn,
- + mediaPreviewSize: t.mediaPreviewSize,
- + isMinimalist: t.doRenderMinimalist,
- + withShowVerified: t.showVerifiedBadge,
- + withRemove: t.isOwnCustomTimeline,
- + withDragHandle: !t.isTemporaryColumn && !s && !t.isOwnCustomTimeline
- + }), o.push(i);
- + return o.join("")
- +}, TD.ui.Column.prototype.hideChirpContainer = function() {
- + var e = this.getChirpContainer();
- + e.css("opacity", 0), _.defer(function() {
- + e.addClass(this.fadeInClass)
- + }.bind(this))
- +}, TD.ui.Column.prototype.fadeInChirpContainer = function() {
- + var e = this.getChirpContainer(),
- + t = function() {
- + e.removeClass(this.fadeInClass).removeAttr("style"), $(document).trigger("uiColumnChirpsChanged", {
- + id: this.state.columnKey
- + })
- + }.bind(this);
- + _.defer(function() {
- + e.css("opacity", 1), TD.ui.main.TRANSITION_END_EVENTS ? e.one(TD.ui.main.TRANSITION_END_EVENTS, t) : t()
- + })
- }, TD.ui.Column.prototype.addInfiniteScrollSpinner = function() {
- this.getChirpContainer().append(TD.ui.template.render("spinner_large"))
- }, TD.ui.Column.prototype.removeInfiniteScrollSpinner = function() {
- @@ -19156,13 +19156,10 @@ function() {
- }));
- this.getChirpContainer().html(e)
- }, TD.ui.Column.prototype.hideIsUpdatingMessage = function() {
- - var e = this.getChirpContainer();
- - e.css("opacity", 0), _.defer(function() {
- - e.addClass(TD.vo.Column.FADE_IN_CLASS)
- - }), e.find(".js-column-loading-placeholder").remove()
- + this.getChirpContainer().find(".js-column-loading-placeholder").remove()
- }, TD.ui.Column.prototype.showNoResultsMessage = function(e, t) {
- var i = this.getChirpContainer();
- - i.css("opacity", 1).removeClass(TD.vo.Column.FADE_IN_CLASS), this.state.$noResults = $(TD.ui.template.render("search_no_tweets_placeholder", {
- + i.css("opacity", 1).removeClass(this.fadeInChirpContainer), this.state.$noResults = $(TD.ui.template.render("search_no_tweets_placeholder", {
- isDropTarget: !e && t,
- withAddByUrl: !e && t
- })), i.html(this.state.$noResults)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement