hive-react-kit 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/ecencyImageUrls.d.ts +1 -0
- package/dist/images/hSurvey.png +0 -0
- package/dist/index.cjs.js +9 -10
- package/dist/index.esm.js +162 -162
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t, Fragment as It } from "react/jsx-runtime";
|
|
2
2
|
import * as Hi from "react";
|
|
3
|
-
import sa, { useState as L, useEffect as Ee, useMemo as Ot, useCallback as
|
|
3
|
+
import sa, { useState as L, useEffect as Ee, useMemo as Ot, useCallback as nt, useRef as vt, Fragment as Sl } from "react";
|
|
4
4
|
import { Clock as Ir, Play as jn, ThumbsUp as oa, MessageCircle as Zr, Eye as Bn, Info as Qd, Share2 as Za, Heart as qo, Users as Hr, RefreshCw as Wt, Loader2 as wt, X as er, MessageSquare as e0, MoreHorizontal as uf, Upload as sl, Music as Cl, Mic as Tl, Square as cf, Pause as df, Trash2 as t0, RotateCcw as ff, Video as zi, Search as Fr, Image as hf, FileText as $r, Check as mf, Copy as pf, User as ol, BarChart3 as Wi, Code as Dl, EyeOff as gf, Bold as bf, Italic as yf, Link as xf, AtSign as vf, Smile as wf, Send as ts, AlertCircle as rs, MessageCirclePlus as $n, ArrowLeft as ma, Repeat2 as r0, ExternalLink as Ja, PieChart as Ns, MapPin as In, MoreVertical as pa, UserPlus as Gi, UserMinus as Ji, DollarSign as Nf, Wallet as Ho, Activity as Wa, TrendingUp as Fi, ArrowUpDown as _f, Filter as kf, ChevronDown as zo, Reply as Wo, Flag as as, Gift as a0, ChevronUp as Pl, ArrowUpRight as Ef, BarChart2 as Af, Tag as Sf, Circle as Cf, CheckCircle2 as _s, BookmarkCheck as Tf, Bookmark as Df, Calendar as Un, Rss as n0, Hourglass as Pf, Ban as Go, AlertTriangle as Of, Camera as Ol, Award as Xa, Gauge as Ll, Shield as Ml, Globe as Lf, Zap as Jo, ChevronLeft as ks, ChevronRight as Es, Crosshair as Mf, Star as Rf, Code2 as $f, Rocket as If, CheckCircle as Ff } from "lucide-react";
|
|
5
5
|
import { formatDistanceToNow as Vn } from "date-fns";
|
|
6
6
|
import * as jf from "@hiveio/dhive";
|
|
@@ -747,7 +747,7 @@ const Rl = /* @__PURE__ */ new Map(), qf = ({
|
|
|
747
747
|
default:
|
|
748
748
|
return e;
|
|
749
749
|
}
|
|
750
|
-
}, [e, r, s, n]), _ =
|
|
750
|
+
}, [e, r, s, n]), _ = nt(
|
|
751
751
|
async (A) => {
|
|
752
752
|
if (A.author?.username) {
|
|
753
753
|
if (!A.permlink) return null;
|
|
@@ -786,7 +786,7 @@ const Rl = /* @__PURE__ */ new Map(), qf = ({
|
|
|
786
786
|
} : null;
|
|
787
787
|
},
|
|
788
788
|
[]
|
|
789
|
-
), k =
|
|
789
|
+
), k = nt(
|
|
790
790
|
async (A, S = !1) => {
|
|
791
791
|
try {
|
|
792
792
|
let T = [];
|
|
@@ -847,9 +847,9 @@ const Rl = /* @__PURE__ */ new Map(), qf = ({
|
|
|
847
847
|
S?.length && (c(S), f(!1)), await k(0, !0), f(!1);
|
|
848
848
|
})();
|
|
849
849
|
}, [w, k]);
|
|
850
|
-
const v =
|
|
850
|
+
const v = nt(async () => {
|
|
851
851
|
l || !x || (h(!0), await k(y), h(!1));
|
|
852
|
-
}, [l, x, y, k]), p =
|
|
852
|
+
}, [l, x, y, k]), p = nt(async () => {
|
|
853
853
|
Xn.delete(w), f(!0), b(0), await k(0, !0), f(!1);
|
|
854
854
|
}, [w, k]);
|
|
855
855
|
Ee(() => {
|
|
@@ -2016,7 +2016,7 @@ function ns() {
|
|
|
2016
2016
|
return $ ? "Symbol(src)_1." + $ : "";
|
|
2017
2017
|
})(), Mt = Je.toString, Rt = RegExp(
|
|
2018
2018
|
"^" + At.call(yt).replace(be, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2019
|
-
), Gt = X ? te.Buffer : void 0, Qe = te.Symbol, it = te.Uint8Array, St = Je.propertyIsEnumerable, Jt = Te.splice, Ct = Qe ? Qe.toStringTag : void 0, Yt = Object.getOwnPropertySymbols, C = Gt ? Gt.isBuffer : void 0, O = fe(Object.keys, Object), F =
|
|
2019
|
+
), Gt = X ? te.Buffer : void 0, Qe = te.Symbol, it = te.Uint8Array, St = Je.propertyIsEnumerable, Jt = Te.splice, Ct = Qe ? Qe.toStringTag : void 0, Yt = Object.getOwnPropertySymbols, C = Gt ? Gt.isBuffer : void 0, O = fe(Object.keys, Object), F = ir(te, "DataView"), Z = ir(te, "Map"), ye = ir(te, "Promise"), Me = ir(te, "Set"), Ke = ir(te, "WeakMap"), Ve = ir(Object, "create"), ze = ne(F), Nt = ne(Z), $t = ne(ye), Ut = ne(Me), qt = ne(Ke), nr = Qe ? Qe.prototype : void 0, Tt = nr ? nr.valueOf : void 0;
|
|
2020
2020
|
function mt($) {
|
|
2021
2021
|
var J = -1, K = $ == null ? 0 : $.length;
|
|
2022
2022
|
for (this.clear(); ++J < K; ) {
|
|
@@ -2178,7 +2178,7 @@ function ns() {
|
|
|
2178
2178
|
function Er($, J, K, R, ce, me) {
|
|
2179
2179
|
var He = ct($), ot = ct(J), lt = He ? d : kt($), ut = ot ? d : kt(J);
|
|
2180
2180
|
lt = lt == c ? w : lt, ut = ut == c ? w : ut;
|
|
2181
|
-
var zt = lt == w,
|
|
2181
|
+
var zt = lt == w, or = ut == w, Xt = lt == ut;
|
|
2182
2182
|
if (Xt && et($)) {
|
|
2183
2183
|
if (!et(J))
|
|
2184
2184
|
return !1;
|
|
@@ -2187,7 +2187,7 @@ function ns() {
|
|
|
2187
2187
|
if (Xt && !zt)
|
|
2188
2188
|
return me || (me = new Ce()), He || ht($) ? fr($, J, K, R, ce, me) : Sr($, J, lt, K, R, ce, me);
|
|
2189
2189
|
if (!(K & a)) {
|
|
2190
|
-
var Et = zt && yt.call($, "__wrapped__"), vr =
|
|
2190
|
+
var Et = zt && yt.call($, "__wrapped__"), vr = or && yt.call(J, "__wrapped__");
|
|
2191
2191
|
if (Et || vr) {
|
|
2192
2192
|
var jr = Et ? $.value() : $, Qr = vr ? J.value() : J;
|
|
2193
2193
|
return me || (me = new Ce()), ce(jr, Qr, K, R, me);
|
|
@@ -2196,7 +2196,7 @@ function ns() {
|
|
|
2196
2196
|
return Xt ? (me || (me = new Ce()), Kr($, J, K, R, ce, me)) : !1;
|
|
2197
2197
|
}
|
|
2198
2198
|
function Ar($) {
|
|
2199
|
-
if (!
|
|
2199
|
+
if (!sr($) || I($))
|
|
2200
2200
|
return !1;
|
|
2201
2201
|
var J = tt($) ? Rt : V;
|
|
2202
2202
|
return J.test(ne($));
|
|
@@ -2219,7 +2219,7 @@ function ns() {
|
|
|
2219
2219
|
var ut = me.get($);
|
|
2220
2220
|
if (ut && me.get(J))
|
|
2221
2221
|
return ut == J;
|
|
2222
|
-
var zt = -1,
|
|
2222
|
+
var zt = -1, or = !0, Xt = K & i ? new W() : void 0;
|
|
2223
2223
|
for (me.set($, J), me.set(J, $); ++zt < ot; ) {
|
|
2224
2224
|
var Et = $[zt], vr = J[zt];
|
|
2225
2225
|
if (R)
|
|
@@ -2227,7 +2227,7 @@ function ns() {
|
|
|
2227
2227
|
if (jr !== void 0) {
|
|
2228
2228
|
if (jr)
|
|
2229
2229
|
continue;
|
|
2230
|
-
|
|
2230
|
+
or = !1;
|
|
2231
2231
|
break;
|
|
2232
2232
|
}
|
|
2233
2233
|
if (Xt) {
|
|
@@ -2235,15 +2235,15 @@ function ns() {
|
|
|
2235
2235
|
if (!ae(Xt, va) && (Et === Qr || ce(Et, Qr, K, R, me)))
|
|
2236
2236
|
return Xt.push(va);
|
|
2237
2237
|
})) {
|
|
2238
|
-
|
|
2238
|
+
or = !1;
|
|
2239
2239
|
break;
|
|
2240
2240
|
}
|
|
2241
2241
|
} else if (!(Et === vr || ce(Et, vr, K, R, me))) {
|
|
2242
|
-
|
|
2242
|
+
or = !1;
|
|
2243
2243
|
break;
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
|
-
return me.delete($), me.delete(J),
|
|
2246
|
+
return me.delete($), me.delete(J), or;
|
|
2247
2247
|
}
|
|
2248
2248
|
function Sr($, J, K, R, ce, me, He) {
|
|
2249
2249
|
switch (K) {
|
|
@@ -2284,8 +2284,8 @@ function ns() {
|
|
|
2284
2284
|
var He = K & a, ot = st($), lt = ot.length, ut = st(J), zt = ut.length;
|
|
2285
2285
|
if (lt != zt && !He)
|
|
2286
2286
|
return !1;
|
|
2287
|
-
for (var
|
|
2288
|
-
var Xt = ot[
|
|
2287
|
+
for (var or = lt; or--; ) {
|
|
2288
|
+
var Xt = ot[or];
|
|
2289
2289
|
if (!(He ? Xt in J : yt.call(J, Xt)))
|
|
2290
2290
|
return !1;
|
|
2291
2291
|
}
|
|
@@ -2294,8 +2294,8 @@ function ns() {
|
|
|
2294
2294
|
return Et == J;
|
|
2295
2295
|
var vr = !0;
|
|
2296
2296
|
me.set($, J), me.set(J, $);
|
|
2297
|
-
for (var jr = He; ++
|
|
2298
|
-
Xt = ot[
|
|
2297
|
+
for (var jr = He; ++or < lt; ) {
|
|
2298
|
+
Xt = ot[or];
|
|
2299
2299
|
var Qr = $[Xt], va = J[Xt];
|
|
2300
2300
|
if (R)
|
|
2301
2301
|
var Al = He ? R(va, Qr, Xt, J, $, me) : R(Qr, va, Xt, $, J, me);
|
|
@@ -2318,7 +2318,7 @@ function ns() {
|
|
|
2318
2318
|
var K = $.__data__;
|
|
2319
2319
|
return Cr(J) ? K[typeof J == "string" ? "string" : "hash"] : K.map;
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2321
|
+
function ir($, J) {
|
|
2322
2322
|
var K = de($, J);
|
|
2323
2323
|
return Ar(K) ? K : void 0;
|
|
2324
2324
|
}
|
|
@@ -2400,7 +2400,7 @@ function ns() {
|
|
|
2400
2400
|
return dr($, J);
|
|
2401
2401
|
}
|
|
2402
2402
|
function tt($) {
|
|
2403
|
-
if (!
|
|
2403
|
+
if (!sr($))
|
|
2404
2404
|
return !1;
|
|
2405
2405
|
var J = Zt($);
|
|
2406
2406
|
return J == g || J == x || J == f || J == k;
|
|
@@ -2408,7 +2408,7 @@ function ns() {
|
|
|
2408
2408
|
function Ft($) {
|
|
2409
2409
|
return typeof $ == "number" && $ > -1 && $ % 1 == 0 && $ <= o;
|
|
2410
2410
|
}
|
|
2411
|
-
function
|
|
2411
|
+
function sr($) {
|
|
2412
2412
|
var J = typeof $;
|
|
2413
2413
|
return $ != null && (J == "object" || J == "function");
|
|
2414
2414
|
}
|
|
@@ -7170,12 +7170,12 @@ function v0() {
|
|
|
7170
7170
|
}
|
|
7171
7171
|
}
|
|
7172
7172
|
O.push("<", ze);
|
|
7173
|
-
for (var
|
|
7174
|
-
var Tt = Me.item(
|
|
7173
|
+
for (var nr = 0; nr < Ke; nr++) {
|
|
7174
|
+
var Tt = Me.item(nr);
|
|
7175
7175
|
Tt.prefix == "xmlns" ? ye.push({ prefix: Tt.localName, namespace: Tt.value }) : Tt.nodeName == "xmlns" && ye.push({ prefix: "", namespace: Tt.value });
|
|
7176
7176
|
}
|
|
7177
|
-
for (var
|
|
7178
|
-
var Tt = Me.item(
|
|
7177
|
+
for (var nr = 0; nr < Ke; nr++) {
|
|
7178
|
+
var Tt = Me.item(nr);
|
|
7179
7179
|
if (Qe(Tt, F, ye)) {
|
|
7180
7180
|
var mt = Tt.prefix || "", ge = Tt.namespaceURI;
|
|
7181
7181
|
it(O, mt ? "xmlns:" + mt : "xmlns", ge), ye.push({ prefix: mt, namespace: ge });
|
|
@@ -10288,8 +10288,8 @@ function w0() {
|
|
|
10288
10288
|
if (!Wr(_t)) return !1;
|
|
10289
10289
|
Vt = !0, Er = !1;
|
|
10290
10290
|
}
|
|
10291
|
-
if (gr && !Er) return gt || (gt = new Ve()), Vt || Lr(Ze) ? mt(Ze, _t, jt, rr, Dt, gt) : (function(st, Ge,
|
|
10292
|
-
switch (
|
|
10291
|
+
if (gr && !Er) return gt || (gt = new Ve()), Vt || Lr(Ze) ? mt(Ze, _t, jt, rr, Dt, gt) : (function(st, Ge, ir, hr, Xr, kt, xr) {
|
|
10292
|
+
switch (ir) {
|
|
10293
10293
|
case z:
|
|
10294
10294
|
if (st.byteLength != Ge.byteLength || st.byteOffset != Ge.byteOffset) return !1;
|
|
10295
10295
|
st = st.buffer, Ge = Ge.buffer;
|
|
@@ -10326,8 +10326,8 @@ function w0() {
|
|
|
10326
10326
|
return gt || (gt = new Ve()), Dt(Sr, Kr, jt, rr, gt);
|
|
10327
10327
|
}
|
|
10328
10328
|
}
|
|
10329
|
-
return gr ? (gt || (gt = new Ve()), (function(st, Ge,
|
|
10330
|
-
var xr =
|
|
10329
|
+
return gr ? (gt || (gt = new Ve()), (function(st, Ge, ir, hr, Xr, kt) {
|
|
10330
|
+
var xr = ir & d, Cr = ge(st), I = Cr.length, re = ge(Ge).length;
|
|
10331
10331
|
if (I != re && !xr) return !1;
|
|
10332
10332
|
for (var he = I; he--; ) {
|
|
10333
10333
|
var ne = Cr[he];
|
|
@@ -10341,7 +10341,7 @@ function w0() {
|
|
|
10341
10341
|
ne = Cr[he];
|
|
10342
10342
|
var Xe = st[ne], et = Ge[ne];
|
|
10343
10343
|
if (hr) var ft = xr ? hr(et, Xe, ne, Ge, st, kt) : hr(Xe, et, ne, st, Ge, kt);
|
|
10344
|
-
if (!(ft === void 0 ? Xe === et || Xr(Xe, et,
|
|
10344
|
+
if (!(ft === void 0 ? Xe === et || Xr(Xe, et, ir, hr, kt) : ft)) {
|
|
10345
10345
|
Oe = !1;
|
|
10346
10346
|
break;
|
|
10347
10347
|
}
|
|
@@ -10355,7 +10355,7 @@ function w0() {
|
|
|
10355
10355
|
})(Ze, _t, jt, rr, Dt, gt)) : !1;
|
|
10356
10356
|
})(W, Q, we, Ce, qt, pt));
|
|
10357
10357
|
}
|
|
10358
|
-
function
|
|
10358
|
+
function nr(W) {
|
|
10359
10359
|
return !(!Fe(W) || (Q = W, Ie && Ie in Q)) && (Kt(W) ? de : U).test(Ye(W));
|
|
10360
10360
|
var Q;
|
|
10361
10361
|
}
|
|
@@ -10411,7 +10411,7 @@ function w0() {
|
|
|
10411
10411
|
var we = (function(Ce, pt) {
|
|
10412
10412
|
return Ce?.[pt];
|
|
10413
10413
|
})(W, Q);
|
|
10414
|
-
return
|
|
10414
|
+
return nr(we) ? we : void 0;
|
|
10415
10415
|
}
|
|
10416
10416
|
Z.prototype.clear = function() {
|
|
10417
10417
|
this.__data__ = it ? it(null) : {}, this.size = 0;
|
|
@@ -19461,7 +19461,7 @@ const yg = ({ onAudioUploaded: e, username: r, threeSpeakApiKey: s, disabled: n
|
|
|
19461
19461
|
}, []), Ee(() => {
|
|
19462
19462
|
y && w >= Do && Y();
|
|
19463
19463
|
}, [y, w]);
|
|
19464
|
-
const H =
|
|
19464
|
+
const H = nt(() => {
|
|
19465
19465
|
d.current && clearInterval(d.current), p && URL.revokeObjectURL(p), P && URL.revokeObjectURL(P), f.current && (f.current.pause(), f.current = null), o.current && o.current.state !== "inactive" && o.current.stop(), o.current = null, c.current = [], h(null), g(!1), N(null), b(!1), _(0), v(null), E(null), S(!1), D(null), M(null), U(null), i.current && (i.current.value = "");
|
|
19466
19466
|
}, [p, P]), j = async () => {
|
|
19467
19467
|
N(null), v(null), p && URL.revokeObjectURL(p), E(null), _(0);
|
|
@@ -19758,7 +19758,7 @@ const Dg = ({ onVideoUploaded: e, username: r, ecencyToken: s, threeSpeakApiKey:
|
|
|
19758
19758
|
Ee(() => () => {
|
|
19759
19759
|
c.current && c.current.abort(), k && URL.revokeObjectURL(k);
|
|
19760
19760
|
}, []);
|
|
19761
|
-
const P =
|
|
19761
|
+
const P = nt(() => {
|
|
19762
19762
|
c.current && (c.current.abort(), c.current = null), k && URL.revokeObjectURL(k), f(!1), h(null), g(null), N(null), b(0), _("16/9"), v(null), E(!1), S(null), D(null), o.current && (o.current.value = "");
|
|
19763
19763
|
}, [k]), M = async (j) => {
|
|
19764
19764
|
const Y = j.target.files?.[0];
|
|
@@ -21176,7 +21176,7 @@ function Fd() {
|
|
|
21176
21176
|
ERB_EXPR: $t,
|
|
21177
21177
|
TMPLIT_EXPR: Ut,
|
|
21178
21178
|
DATA_ATTR: qt,
|
|
21179
|
-
ARIA_ATTR:
|
|
21179
|
+
ARIA_ATTR: nr,
|
|
21180
21180
|
IS_SCRIPT_OR_DATA: Tt,
|
|
21181
21181
|
ATTR_WHITESPACE: mt,
|
|
21182
21182
|
CUSTOM_ELEMENT: ge
|
|
@@ -21231,7 +21231,7 @@ function Fd() {
|
|
|
21231
21231
|
const Ar = T({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), gr = "http://www.w3.org/1998/Math/MathML", br = "http://www.w3.org/2000/svg", fr = "http://www.w3.org/1999/xhtml";
|
|
21232
21232
|
let Sr = fr, Kr = !1, st = null;
|
|
21233
21233
|
const Ge = T({}, [gr, br, fr], y);
|
|
21234
|
-
let
|
|
21234
|
+
let ir = T({}, ["mi", "mo", "mn", "ms", "mtext"]), hr = T({}, ["annotation-xml"]);
|
|
21235
21235
|
const Xr = T({}, ["title", "style", "font", "a", "script"]);
|
|
21236
21236
|
let kt = null;
|
|
21237
21237
|
const xr = ["application/xhtml+xml", "text/html"], Cr = "text/html";
|
|
@@ -21242,7 +21242,7 @@ function Fd() {
|
|
|
21242
21242
|
let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
21243
21243
|
if (!(re && re === R)) {
|
|
21244
21244
|
if ((!R || typeof R != "object") && (R = {}), R = P(R), kt = // eslint-disable-next-line unicorn/prefer-includes
|
|
21245
|
-
xr.indexOf(R.PARSER_MEDIA_TYPE) === -1 ? Cr : R.PARSER_MEDIA_TYPE, I = kt === "application/xhtml+xml" ? y : N, Le = v(R, "ALLOWED_TAGS") ? T({}, R.ALLOWED_TAGS, I) : We, qe = v(R, "ALLOWED_ATTR") ? T({}, R.ALLOWED_ATTR, I) : xt, st = v(R, "ALLOWED_NAMESPACES") ? T({}, R.ALLOWED_NAMESPACES, y) : Ge, Er = v(R, "ADD_URI_SAFE_ATTR") ? T(P(Ar), R.ADD_URI_SAFE_ATTR, I) : Ar, Ht = v(R, "ADD_DATA_URI_TAGS") ? T(P(dr), R.ADD_DATA_URI_TAGS, I) : dr, Vt = v(R, "FORBID_CONTENTS") ? T({}, R.FORBID_CONTENTS, I) : Zt, yr = v(R, "FORBID_TAGS") ? T({}, R.FORBID_TAGS, I) : P({}), zr = v(R, "FORBID_ATTR") ? T({}, R.FORBID_ATTR, I) : P({}), gt = v(R, "USE_PROFILES") ? R.USE_PROFILES : !1, Wr = R.ALLOW_ARIA_ATTR !== !1, Kt = R.ALLOW_DATA_ATTR !== !1, Gr = R.ALLOW_UNKNOWN_PROTOCOLS || !1, Fe = R.ALLOW_SELF_CLOSE_IN_ATTR !== !1, cr = R.SAFE_FOR_TEMPLATES || !1, Lr = R.SAFE_FOR_XML !== !1, dt = R.WHOLE_DOCUMENT || !1, we = R.RETURN_DOM || !1, Ce = R.RETURN_DOM_FRAGMENT || !1, pt = R.RETURN_TRUSTED_TYPE || !1, Q = R.FORCE_BODY || !1, Ze = R.SANITIZE_DOM !== !1, _t = R.SANITIZE_NAMED_PROPS || !1, rr = R.KEEP_CONTENT !== !1, Dt = R.IN_PLACE || !1, Pe = R.ALLOWED_URI_REGEXP || je, Sr = R.NAMESPACE || fr,
|
|
21245
|
+
xr.indexOf(R.PARSER_MEDIA_TYPE) === -1 ? Cr : R.PARSER_MEDIA_TYPE, I = kt === "application/xhtml+xml" ? y : N, Le = v(R, "ALLOWED_TAGS") ? T({}, R.ALLOWED_TAGS, I) : We, qe = v(R, "ALLOWED_ATTR") ? T({}, R.ALLOWED_ATTR, I) : xt, st = v(R, "ALLOWED_NAMESPACES") ? T({}, R.ALLOWED_NAMESPACES, y) : Ge, Er = v(R, "ADD_URI_SAFE_ATTR") ? T(P(Ar), R.ADD_URI_SAFE_ATTR, I) : Ar, Ht = v(R, "ADD_DATA_URI_TAGS") ? T(P(dr), R.ADD_DATA_URI_TAGS, I) : dr, Vt = v(R, "FORBID_CONTENTS") ? T({}, R.FORBID_CONTENTS, I) : Zt, yr = v(R, "FORBID_TAGS") ? T({}, R.FORBID_TAGS, I) : P({}), zr = v(R, "FORBID_ATTR") ? T({}, R.FORBID_ATTR, I) : P({}), gt = v(R, "USE_PROFILES") ? R.USE_PROFILES : !1, Wr = R.ALLOW_ARIA_ATTR !== !1, Kt = R.ALLOW_DATA_ATTR !== !1, Gr = R.ALLOW_UNKNOWN_PROTOCOLS || !1, Fe = R.ALLOW_SELF_CLOSE_IN_ATTR !== !1, cr = R.SAFE_FOR_TEMPLATES || !1, Lr = R.SAFE_FOR_XML !== !1, dt = R.WHOLE_DOCUMENT || !1, we = R.RETURN_DOM || !1, Ce = R.RETURN_DOM_FRAGMENT || !1, pt = R.RETURN_TRUSTED_TYPE || !1, Q = R.FORCE_BODY || !1, Ze = R.SANITIZE_DOM !== !1, _t = R.SANITIZE_NAMED_PROPS || !1, rr = R.KEEP_CONTENT !== !1, Dt = R.IN_PLACE || !1, Pe = R.ALLOWED_URI_REGEXP || je, Sr = R.NAMESPACE || fr, ir = R.MATHML_TEXT_INTEGRATION_POINTS || ir, hr = R.HTML_INTEGRATION_POINTS || hr, Ye = R.CUSTOM_ELEMENT_HANDLING || {}, R.CUSTOM_ELEMENT_HANDLING && ne(R.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Ye.tagNameCheck = R.CUSTOM_ELEMENT_HANDLING.tagNameCheck), R.CUSTOM_ELEMENT_HANDLING && ne(R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Ye.attributeNameCheck = R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), R.CUSTOM_ELEMENT_HANDLING && typeof R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Ye.allowCustomizedBuiltInElements = R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), cr && (Kt = !1), Ce && (we = !0), gt && (Le = T({}, ie), qe = c(null), gt.html === !0 && (T(Le, z), T(qe, se)), gt.svg === !0 && (T(Le, U), T(qe, be), T(qe, q)), gt.svgFilters === !0 && (T(Le, H), T(qe, be), T(qe, q)), gt.mathMl === !0 && (T(Le, Y), T(qe, V), T(qe, q))), v(R, "ADD_TAGS") || (ur.tagCheck = null), v(R, "ADD_ATTR") || (ur.attributeCheck = null), R.ADD_TAGS && (typeof R.ADD_TAGS == "function" ? ur.tagCheck = R.ADD_TAGS : (Le === We && (Le = P(Le)), T(Le, R.ADD_TAGS, I))), R.ADD_ATTR && (typeof R.ADD_ATTR == "function" ? ur.attributeCheck = R.ADD_ATTR : (qe === xt && (qe = P(qe)), T(qe, R.ADD_ATTR, I))), R.ADD_URI_SAFE_ATTR && T(Er, R.ADD_URI_SAFE_ATTR, I), R.FORBID_CONTENTS && (Vt === Zt && (Vt = P(Vt)), T(Vt, R.FORBID_CONTENTS, I)), R.ADD_FORBID_CONTENTS && (Vt === Zt && (Vt = P(Vt)), T(Vt, R.ADD_FORBID_CONTENTS, I)), rr && (Le["#text"] = !0), dt && T(Le, ["html", "head", "body"]), Le.table && (T(Le, ["tbody"]), delete yr.tbody), R.TRUSTED_TYPES_POLICY) {
|
|
21246
21246
|
if (typeof R.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
21247
21247
|
throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
21248
21248
|
if (typeof R.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -21259,7 +21259,7 @@ function Fd() {
|
|
|
21259
21259
|
tagName: "template"
|
|
21260
21260
|
});
|
|
21261
21261
|
const me = N(R.tagName), He = N(ce.tagName);
|
|
21262
|
-
return st[R.namespaceURI] ? R.namespaceURI === br ? ce.namespaceURI === fr ? me === "svg" : ce.namespaceURI === gr ? me === "svg" && (He === "annotation-xml" ||
|
|
21262
|
+
return st[R.namespaceURI] ? R.namespaceURI === br ? ce.namespaceURI === fr ? me === "svg" : ce.namespaceURI === gr ? me === "svg" && (He === "annotation-xml" || ir[He]) : !!Oe[me] : R.namespaceURI === gr ? ce.namespaceURI === fr ? me === "math" : ce.namespaceURI === br ? me === "math" && hr[He] : !!ct[me] : R.namespaceURI === fr ? ce.namespaceURI === br && !hr[He] || ce.namespaceURI === gr && !ir[He] ? !1 : !ct[me] && (Xr[me] || !Oe[me]) : !!(kt === "application/xhtml+xml" && st[R.namespaceURI]) : !1;
|
|
21263
21263
|
}, et = function(R) {
|
|
21264
21264
|
g(fe.removed, {
|
|
21265
21265
|
element: R
|
|
@@ -21324,7 +21324,7 @@ function Fd() {
|
|
|
21324
21324
|
Lt.SHOW_ELEMENT | Lt.SHOW_COMMENT | Lt.SHOW_TEXT | Lt.SHOW_PROCESSING_INSTRUCTION | Lt.SHOW_CDATA_SECTION,
|
|
21325
21325
|
null
|
|
21326
21326
|
);
|
|
21327
|
-
},
|
|
21327
|
+
}, sr = function(R) {
|
|
21328
21328
|
return R instanceof Rt && (typeof R.nodeName != "string" || typeof R.textContent != "string" || typeof R.removeChild != "function" || !(R.attributes instanceof Mt) || typeof R.removeAttribute != "function" || typeof R.setAttribute != "function" || typeof R.namespaceURI != "string" || typeof R.insertBefore != "function" || typeof R.hasChildNodes != "function");
|
|
21329
21329
|
}, Bt = function(R) {
|
|
21330
21330
|
return typeof At == "function" && R instanceof At;
|
|
@@ -21336,7 +21336,7 @@ function Fd() {
|
|
|
21336
21336
|
}
|
|
21337
21337
|
const mr = function(R) {
|
|
21338
21338
|
let ce = null;
|
|
21339
|
-
if (ht(ze.beforeSanitizeElements, R, null),
|
|
21339
|
+
if (ht(ze.beforeSanitizeElements, R, null), sr(R))
|
|
21340
21340
|
return et(R), !0;
|
|
21341
21341
|
const me = I(R.nodeName);
|
|
21342
21342
|
if (ht(ze.uponSanitizeElement, R, {
|
|
@@ -21368,7 +21368,7 @@ function Fd() {
|
|
|
21368
21368
|
if (zr[ce] || Ze && (ce === "id" || ce === "name") && (me in Ae || me in he))
|
|
21369
21369
|
return !1;
|
|
21370
21370
|
if (!(Kt && !zr[ce] && p(qt, ce))) {
|
|
21371
|
-
if (!(Wr && p(
|
|
21371
|
+
if (!(Wr && p(nr, ce))) {
|
|
21372
21372
|
if (!(ur.attributeCheck instanceof Function && ur.attributeCheck(ce, R))) {
|
|
21373
21373
|
if (!qe[ce] || zr[ce]) {
|
|
21374
21374
|
if (
|
|
@@ -21400,7 +21400,7 @@ function Fd() {
|
|
|
21400
21400
|
const {
|
|
21401
21401
|
attributes: ce
|
|
21402
21402
|
} = R;
|
|
21403
|
-
if (!ce ||
|
|
21403
|
+
if (!ce || sr(R))
|
|
21404
21404
|
return;
|
|
21405
21405
|
const me = {
|
|
21406
21406
|
attrName: "",
|
|
@@ -21415,13 +21415,13 @@ function Fd() {
|
|
|
21415
21415
|
name: lt,
|
|
21416
21416
|
namespaceURI: ut,
|
|
21417
21417
|
value: zt
|
|
21418
|
-
} = ot,
|
|
21418
|
+
} = ot, or = I(lt), Xt = zt;
|
|
21419
21419
|
let Et = lt === "value" ? Xt : k(Xt);
|
|
21420
|
-
if (me.attrName =
|
|
21420
|
+
if (me.attrName = or, me.attrValue = Et, me.keepAttr = !0, me.forceKeepAttr = void 0, ht(ze.uponSanitizeAttribute, R, me), Et = me.attrValue, _t && (or === "id" || or === "name") && (ft(lt, R), Et = jt + Et), Lr && p(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Et)) {
|
|
21421
21421
|
ft(lt, R);
|
|
21422
21422
|
continue;
|
|
21423
21423
|
}
|
|
21424
|
-
if (
|
|
21424
|
+
if (or === "attributename" && b(Et, "href")) {
|
|
21425
21425
|
ft(lt, R);
|
|
21426
21426
|
continue;
|
|
21427
21427
|
}
|
|
@@ -21439,12 +21439,12 @@ function Fd() {
|
|
|
21439
21439
|
Et = w(Et, jr, " ");
|
|
21440
21440
|
});
|
|
21441
21441
|
const vr = I(R.nodeName);
|
|
21442
|
-
if (!ua(vr,
|
|
21442
|
+
if (!ua(vr, or, Et)) {
|
|
21443
21443
|
ft(lt, R);
|
|
21444
21444
|
continue;
|
|
21445
21445
|
}
|
|
21446
21446
|
if (O && typeof Qe == "object" && typeof Qe.getAttributeType == "function" && !ut)
|
|
21447
|
-
switch (Qe.getAttributeType(vr,
|
|
21447
|
+
switch (Qe.getAttributeType(vr, or)) {
|
|
21448
21448
|
case "TrustedHTML": {
|
|
21449
21449
|
Et = O.createHTML(Et);
|
|
21450
21450
|
break;
|
|
@@ -21456,7 +21456,7 @@ function Fd() {
|
|
|
21456
21456
|
}
|
|
21457
21457
|
if (Et !== Xt)
|
|
21458
21458
|
try {
|
|
21459
|
-
ut ? R.setAttributeNS(ut, lt, Et) : R.setAttribute(lt, Et),
|
|
21459
|
+
ut ? R.setAttributeNS(ut, lt, Et) : R.setAttribute(lt, Et), sr(R) ? et(R) : u(fe.removed);
|
|
21460
21460
|
} catch {
|
|
21461
21461
|
ft(lt, R);
|
|
21462
21462
|
}
|
|
@@ -21878,21 +21878,21 @@ const Ki = ({
|
|
|
21878
21878
|
}
|
|
21879
21879
|
Ig.getTemplates(f, l).then(bt).catch((ge) => console.error("Failed to fetch templates:", ge));
|
|
21880
21880
|
}, [f, l]);
|
|
21881
|
-
const Yt =
|
|
21881
|
+
const Yt = nt((ge, Pe = "") => {
|
|
21882
21882
|
const Le = St.current;
|
|
21883
21883
|
if (!Le) return;
|
|
21884
21884
|
const We = Le.selectionStart, qe = Le.selectionEnd, xt = q.slice(We, qe), Ye = q.slice(0, We) + ge + xt + Pe + q.slice(qe);
|
|
21885
21885
|
B(Ye), setTimeout(() => {
|
|
21886
21886
|
Le.focus(), Le.setSelectionRange(We + ge.length, We + ge.length + xt.length);
|
|
21887
21887
|
}, 0);
|
|
21888
|
-
}, [q]), C =
|
|
21888
|
+
}, [q]), C = nt((ge) => {
|
|
21889
21889
|
const Pe = St.current;
|
|
21890
21890
|
if (!Pe) return;
|
|
21891
21891
|
const Le = Pe.selectionStart;
|
|
21892
21892
|
B(q.slice(0, Le) + ge + q.slice(Le)), setTimeout(() => {
|
|
21893
21893
|
Pe.focus(), Pe.setSelectionRange(Le + ge.length, Le + ge.length);
|
|
21894
21894
|
}, 0);
|
|
21895
|
-
}, [q]), O =
|
|
21895
|
+
}, [q]), O = nt(() => {
|
|
21896
21896
|
const ge = St.current;
|
|
21897
21897
|
if (!ge) return;
|
|
21898
21898
|
const Pe = ge.selectionStart, Le = ge.selectionEnd, We = q.slice(Pe, Le);
|
|
@@ -21904,13 +21904,13 @@ const Ki = ({
|
|
|
21904
21904
|
}, 0);
|
|
21905
21905
|
} else
|
|
21906
21906
|
Yt("`", "`");
|
|
21907
|
-
}, [q, Yt]), F =
|
|
21907
|
+
}, [q, Yt]), F = nt(() => {
|
|
21908
21908
|
C(a ? `@${a} ` : "@");
|
|
21909
|
-
}, [a, C]), Z =
|
|
21909
|
+
}, [a, C]), Z = nt((ge, Pe) => {
|
|
21910
21910
|
navigator.clipboard.writeText(ge).then(() => {
|
|
21911
21911
|
Ue(Pe), setTimeout(() => Ue(null), 2e3);
|
|
21912
21912
|
});
|
|
21913
|
-
}, []), ye =
|
|
21913
|
+
}, []), ye = nt(async (ge) => {
|
|
21914
21914
|
if (!o || !ge.type.startsWith("image/")) return null;
|
|
21915
21915
|
if (ge.size > 10 * 1024 * 1024)
|
|
21916
21916
|
return console.error("Image too large (max 10MB)"), null;
|
|
@@ -21926,7 +21926,7 @@ const Ki = ({
|
|
|
21926
21926
|
} catch (Pe) {
|
|
21927
21927
|
return console.error("Image upload failed:", Pe), null;
|
|
21928
21928
|
}
|
|
21929
|
-
}, [o]), Me =
|
|
21929
|
+
}, [o]), Me = nt(async (ge) => {
|
|
21930
21930
|
if (!o) return;
|
|
21931
21931
|
const Pe = ge.clipboardData?.items;
|
|
21932
21932
|
if (Pe) {
|
|
@@ -21942,13 +21942,13 @@ const Ki = ({
|
|
|
21942
21942
|
return;
|
|
21943
21943
|
}
|
|
21944
21944
|
}
|
|
21945
|
-
}, [o, ye, C]), Ke =
|
|
21945
|
+
}, [o, ye, C]), Ke = nt((ge) => {
|
|
21946
21946
|
o && (ge.preventDefault(), ge.stopPropagation(), Jt.current++, ge.dataTransfer.types.includes("Files") && yt(!0));
|
|
21947
|
-
}, [o]), Ve =
|
|
21947
|
+
}, [o]), Ve = nt((ge) => {
|
|
21948
21948
|
ge.preventDefault(), ge.stopPropagation(), Jt.current--, Jt.current === 0 && yt(!1);
|
|
21949
|
-
}, []), ze =
|
|
21949
|
+
}, []), ze = nt((ge) => {
|
|
21950
21950
|
ge.preventDefault(), ge.stopPropagation();
|
|
21951
|
-
}, []), Nt =
|
|
21951
|
+
}, []), Nt = nt(async (ge) => {
|
|
21952
21952
|
if (ge.preventDefault(), ge.stopPropagation(), yt(!1), Jt.current = 0, !o) return;
|
|
21953
21953
|
const Pe = ge.dataTransfer.files;
|
|
21954
21954
|
if (!(!Pe || Pe.length === 0))
|
|
@@ -21994,9 +21994,9 @@ ${de}`), ge;
|
|
|
21994
21994
|
ge.key === "Enter" && (ge.metaKey || ge.ctrlKey) && (ge.preventDefault(), $t()), ge.key === "Escape" && r && r();
|
|
21995
21995
|
}, qt = () => {
|
|
21996
21996
|
ue(null), ae(0);
|
|
21997
|
-
},
|
|
21997
|
+
}, nr = () => {
|
|
21998
21998
|
fe && URL.revokeObjectURL(fe), ve(null), Ae(null);
|
|
21999
|
-
}, Tt =
|
|
21999
|
+
}, Tt = nt(() => {
|
|
22000
22000
|
if (!q.trim()) return null;
|
|
22001
22001
|
const ge = q.split(/(```[\s\S]*?```)/g);
|
|
22002
22002
|
let Pe = 0;
|
|
@@ -22107,7 +22107,7 @@ ${de}`), ge;
|
|
|
22107
22107
|
fe ? /* @__PURE__ */ t("video", { src: fe, controls: !0, playsInline: !0, preload: "metadata", className: "w-full", style: { maxHeight: "200px" } }) : /* @__PURE__ */ t("div", { className: "h-20 flex items-center justify-center text-gray-400 text-xs", children: "Video attached" }),
|
|
22108
22108
|
/* @__PURE__ */ m("div", { className: "flex items-center gap-2 border-t border-gray-700 px-3 py-1.5", children: [
|
|
22109
22109
|
/* @__PURE__ */ t("span", { className: "flex-1 truncate text-xs text-gray-400", children: "Video attached" }),
|
|
22110
|
-
/* @__PURE__ */ t("button", { type: "button", onClick:
|
|
22110
|
+
/* @__PURE__ */ t("button", { type: "button", onClick: nr, className: "shrink-0 rounded p-0.5 text-gray-400 hover:text-red-400", title: "Remove video", children: /* @__PURE__ */ t(er, { className: "h-3.5 w-3.5" }) })
|
|
22111
22111
|
] })
|
|
22112
22112
|
] }),
|
|
22113
22113
|
Rt && /* @__PURE__ */ t("div", { className: "rounded-lg border border-gray-700 bg-gray-800 overflow-hidden", children: /* @__PURE__ */ m("div", { className: "px-3 py-2", children: [
|
|
@@ -22411,7 +22411,7 @@ ${de}`), ge;
|
|
|
22411
22411
|
)
|
|
22412
22412
|
] }) }) });
|
|
22413
22413
|
}, K0 = ({ author: e, permlink: r, onClose: s, currentUser: n, token: a, onClickCommentUpvote: i, onClickCommentReply: o, onClickUpvoteButton: c, onSubmitComment: d, ecencyToken: f, threeSpeakApiKey: l, giphyApiKey: h, templateToken: u, templateApiBaseUrl: g }) => {
|
|
22414
|
-
const [x, N] = L([]), [y, b] = L([]), [w, _] = L(!0), [k, v] = L(null), [p, E] = L(null), [A, S] = L(!1), [T, D] = L(""), [P, M] = L(!1), [z, U] = L(!1), H =
|
|
22414
|
+
const [x, N] = L([]), [y, b] = L([]), [w, _] = L(!0), [k, v] = L(null), [p, E] = L(null), [A, S] = L(!1), [T, D] = L(""), [P, M] = L(!1), [z, U] = L(!1), H = nt(async (be = !1) => {
|
|
22415
22415
|
be ? U(!0) : _(!0), v(null);
|
|
22416
22416
|
try {
|
|
22417
22417
|
const V = await Pt.getCommentsList(e, r, n ?? "");
|
|
@@ -23848,7 +23848,7 @@ function $b({
|
|
|
23848
23848
|
addExternalCssClassToMatchingLinksFn: (H) => !0,
|
|
23849
23849
|
ipfsPrefix: "https://ipfs.io/ipfs/"
|
|
23850
23850
|
});
|
|
23851
|
-
const T =
|
|
23851
|
+
const T = nt(async (H, j = !1) => {
|
|
23852
23852
|
j ? A(!0) : (y(!0), p(!0)), w(null);
|
|
23853
23853
|
try {
|
|
23854
23854
|
const Y = j && g.length > 0 ? g[g.length - 1] : null, G = await Pt.getRankedPosts(
|
|
@@ -23868,7 +23868,7 @@ function $b({
|
|
|
23868
23868
|
} finally {
|
|
23869
23869
|
y(!1), A(!1);
|
|
23870
23870
|
}
|
|
23871
|
-
}, [r, s, n, g]), D =
|
|
23871
|
+
}, [r, s, n, g]), D = nt(() => {
|
|
23872
23872
|
!E && v && !N && T(_, !0);
|
|
23873
23873
|
}, [E, v, N, _, T]);
|
|
23874
23874
|
Ee(() => {
|
|
@@ -26058,7 +26058,7 @@ const qa = new jb(), Bb = ({
|
|
|
26058
26058
|
Ee(() => {
|
|
26059
26059
|
ie();
|
|
26060
26060
|
}, [e, i]);
|
|
26061
|
-
const se =
|
|
26061
|
+
const se = nt(() => {
|
|
26062
26062
|
M && !v && !U && ie(!0);
|
|
26063
26063
|
}, [M, v, U]);
|
|
26064
26064
|
Ee(() => {
|
|
@@ -26817,7 +26817,7 @@ const Vb = ({
|
|
|
26817
26817
|
loadMoreVotes: f,
|
|
26818
26818
|
theme: l = "dark"
|
|
26819
26819
|
}) => {
|
|
26820
|
-
const h =
|
|
26820
|
+
const h = nt((u) => {
|
|
26821
26821
|
u[0].isIntersecting && i && !a && f();
|
|
26822
26822
|
}, [i, a, f]);
|
|
26823
26823
|
return Ee(() => {
|
|
@@ -26891,7 +26891,7 @@ const Vb = ({
|
|
|
26891
26891
|
}) => {
|
|
26892
26892
|
const o = nf(), c = Qt((V) => V.witnesses), d = Qt((V) => V.userWitnessVotes), f = Qt((V) => V.loadingWitnesses), l = Qt((V) => V.error), h = Qt((V) => V.selectedWitness), u = Qt((V) => V.witnessVotes), g = Qt((V) => V.hasMoreVotes), x = Qt((V) => V.loadingMoreVotes), N = Qt((V) => V.loadingVotes), y = Qt((V) => V.filters), b = Qt((V) => V.hasMoreWitnesses), w = Qt((V) => V.loadingWitnesses), _ = Qt((V) => V.witnessDetails);
|
|
26893
26893
|
Qt((V) => V.witnessAccounts);
|
|
26894
|
-
const k = Qt((V) => V.loadWitnesses), v = Qt((V) => V.loadMoreWitnesses), p = Qt((V) => V.loadWitnessVotes), E = Qt((V) => V.loadMoreVotes), A = Qt((V) => V.loadUserWitnessVotes), S = Qt((V) => V.setFilters), [T, D] = L(!1), [P, M] = L(!1), z = vt(null), U = vt(null), H = vt(null), j =
|
|
26894
|
+
const k = Qt((V) => V.loadWitnesses), v = Qt((V) => V.loadMoreWitnesses), p = Qt((V) => V.loadWitnessVotes), E = Qt((V) => V.loadMoreVotes), A = Qt((V) => V.loadUserWitnessVotes), S = Qt((V) => V.setFilters), [T, D] = L(!1), [P, M] = L(!1), z = vt(null), U = vt(null), H = vt(null), j = nt((V) => {
|
|
26895
26895
|
V[0].isIntersecting && b && !w && v();
|
|
26896
26896
|
}, [b, w, v]);
|
|
26897
26897
|
Ee(() => {
|
|
@@ -28358,25 +28358,26 @@ const za = new Wb(), d2 = ({
|
|
|
28358
28358
|
] })
|
|
28359
28359
|
] })
|
|
28360
28360
|
] });
|
|
28361
|
-
},
|
|
28362
|
-
actifit_logo: `${
|
|
28363
|
-
checkinwithxyz: `${
|
|
28364
|
-
developers: `${
|
|
28365
|
-
distriator_logo: `${
|
|
28366
|
-
ecency_logo: `${
|
|
28367
|
-
happrover_logo: `${
|
|
28368
|
-
|
|
28369
|
-
|
|
28370
|
-
|
|
28371
|
-
|
|
28372
|
-
|
|
28373
|
-
|
|
28374
|
-
|
|
28375
|
-
|
|
28376
|
-
|
|
28377
|
-
|
|
28378
|
-
|
|
28379
|
-
|
|
28361
|
+
}, ar = "https://images.ecency.com", at = {
|
|
28362
|
+
actifit_logo: `${ar}/DQmemUxomzr8RFEZGoT7a8rSvpx1LnzuAzDNyikKuENkSuc/actifit_logo.png`,
|
|
28363
|
+
checkinwithxyz: `${ar}/DQmUAbGJ1XN461zbaEus7aam1vuVg1cMAtzpuLGgwdAPUEU/checkinwithxyz.png`,
|
|
28364
|
+
developers: `${ar}/DQmNeGvBgY5r4pay9fhrD8LforDyasa2kstPwBmaLcQBmSW/developers.png`,
|
|
28365
|
+
distriator_logo: `${ar}/DQmZw6AXZ7wmEChsWXA3onVZXCsRUYGwbp87qP9onaLAvLW/distriator_logo.png`,
|
|
28366
|
+
ecency_logo: `${ar}/DQmNsuCkexmEKoWB9ywdR5UkzRQ4Xu6CAgHjRTATCB23znc/ecency_logo.png`,
|
|
28367
|
+
happrover_logo: `${ar}/DQmcy4sHYiMkUJYLhu4jgrvVbvk9vxeSvXHn21ZpVLXK6Jf/happrover_logo.png`,
|
|
28368
|
+
hsurvey_logo: `${ar}/DQmPNP9TDXFFG9ckvUWiD4qbFxmyTSDN3fM4tbmEVvG7U7h/hsurvey.png`,
|
|
28369
|
+
hive_logo: `${ar}/DQma5YQXrk1WZ7oxgLqdPjbVdShmVGzeL7yZ6BCQGjMF6G3/hive_logo.png`,
|
|
28370
|
+
hive_fest_fact_logo: `${ar}/DQmTiwJfQSBsdQMAivWfi97P6UwUqsd4wBgFmP2xhQjtA4r/hive_fest_fact_logo.png`,
|
|
28371
|
+
hiveauth_logo: `${ar}/DQmP9vkxQuQkaCfin2whQfokMF9YJMN3Aujz9B5sGQVNWoE/hiveauth_logo.png`,
|
|
28372
|
+
hpolls_logo: `${ar}/DQmejtPJC86dhzUKPZxQxaCBaud2ocy6PWPLqjEHNPoWQnX/hpolls_logo.png`,
|
|
28373
|
+
hreplier: `${ar}/DQmRMrDJvNBeRzDj1W8e99TqkN87Ch7w9SWun6woVaRTAZ3/hreplier.png`,
|
|
28374
|
+
nodes: `${ar}/DQmbmVKTexP4r4CfzmQKztzBdA26vZBJuJHLZo5GwT88Gxf/nodes.png`,
|
|
28375
|
+
podcast_logo: `${ar}/DQmd1xwQJvM5pPvWpXoNT1vWqo4XqFvN7RDUVZb3w6ZxHLo/podcast_logo.jpg`,
|
|
28376
|
+
stats_logo: `${ar}/DQme3DKpB5uVv5ASf9AkFHLY3JdxD2YQMuPa6k2jptULXRY/stats_logo.png`,
|
|
28377
|
+
template: `${ar}/DQmStuCUgDJmxtLKLUd3fZKmYyPEbvuopdRhwFx3SHiycCq/template.png`,
|
|
28378
|
+
three_shorts_logo: `${ar}/DQmbNeu2p1GokLH6T8QwekCJBSwSK4qo29ebeVwqD1YbK25/three_shorts_logo.png`,
|
|
28379
|
+
three_speak_logo: `${ar}/DQmc84A9bXdQ3oRMz3YgV1VNCAFvPbJVSvsf434FApxg2cf/three_speak_logo.png`,
|
|
28380
|
+
vote_logo: `${ar}/DQmVa8V2FCjJKMaqgoUaRDHPa4TYdqceCmAbCJU7rGj5yBe/vote_logo.png`
|
|
28380
28381
|
}, Gb = [
|
|
28381
28382
|
{
|
|
28382
28383
|
key: "vote-witness-sagar",
|
|
@@ -28391,63 +28392,63 @@ const za = new Wb(), d2 = ({
|
|
|
28391
28392
|
key: "vote-witness-threespeak",
|
|
28392
28393
|
name: "Vote Witness 3Speak",
|
|
28393
28394
|
url: "https://vote.hive.uno/@threespeak",
|
|
28394
|
-
logo:
|
|
28395
|
+
logo: at.three_speak_logo,
|
|
28395
28396
|
alwaysVisible: !0
|
|
28396
28397
|
},
|
|
28397
28398
|
{
|
|
28398
28399
|
key: "distriator",
|
|
28399
28400
|
name: "Distriator",
|
|
28400
28401
|
url: "https://distriator.com/",
|
|
28401
|
-
logo:
|
|
28402
|
+
logo: at.distriator_logo,
|
|
28402
28403
|
visibilityKey: "isDistriator"
|
|
28403
28404
|
},
|
|
28404
28405
|
{
|
|
28405
28406
|
key: "checkinwithxyz",
|
|
28406
28407
|
name: "CheckinWithXYZ",
|
|
28407
28408
|
url: "https://checkinwith.xyz/",
|
|
28408
|
-
logo:
|
|
28409
|
+
logo: at.checkinwithxyz,
|
|
28409
28410
|
visibilityKey: "isCheckinwithxyz"
|
|
28410
28411
|
},
|
|
28411
28412
|
{
|
|
28412
28413
|
key: "hreplier",
|
|
28413
28414
|
name: "HReplier",
|
|
28414
28415
|
url: "https://hreplier.sagarkothari88.one/",
|
|
28415
|
-
logo:
|
|
28416
|
+
logo: at.hreplier,
|
|
28416
28417
|
visibilityKey: "isHreplier"
|
|
28417
28418
|
},
|
|
28418
28419
|
{
|
|
28419
28420
|
key: "hpolls",
|
|
28420
28421
|
name: "HPolls",
|
|
28421
28422
|
url: "https://hpolls.sagarkothari88.one/",
|
|
28422
|
-
logo:
|
|
28423
|
+
logo: at.hpolls_logo,
|
|
28423
28424
|
visibilityKey: "isHpolls"
|
|
28424
28425
|
},
|
|
28425
28426
|
{
|
|
28426
28427
|
key: "hstats",
|
|
28427
28428
|
name: "HStats",
|
|
28428
28429
|
url: "https://hstats.sagarkothari88.one/",
|
|
28429
|
-
logo:
|
|
28430
|
+
logo: at.stats_logo,
|
|
28430
28431
|
visibilityKey: "isHstats"
|
|
28431
28432
|
},
|
|
28432
28433
|
{
|
|
28433
28434
|
key: "hsnaps",
|
|
28434
28435
|
name: "HSnaps",
|
|
28435
28436
|
url: "https://hsnaps.sagarkothari88.one/",
|
|
28436
|
-
logo:
|
|
28437
|
+
logo: at.template,
|
|
28437
28438
|
visibilityKey: "isHsnaps"
|
|
28438
28439
|
},
|
|
28439
28440
|
{
|
|
28440
28441
|
key: "3speak",
|
|
28441
28442
|
name: "3Speak",
|
|
28442
28443
|
url: "https://3speak.tv/",
|
|
28443
|
-
logo:
|
|
28444
|
+
logo: at.three_speak_logo,
|
|
28444
28445
|
alwaysVisible: !0
|
|
28445
28446
|
},
|
|
28446
28447
|
{
|
|
28447
28448
|
key: "hivefestfacts",
|
|
28448
28449
|
name: "HiveFestFacts",
|
|
28449
28450
|
url: "https://hivefestfacts.sagarkothari88.one/",
|
|
28450
|
-
logo:
|
|
28451
|
+
logo: at.hive_fest_fact_logo,
|
|
28451
28452
|
visibilityKey: "isHiveFestFacts"
|
|
28452
28453
|
}
|
|
28453
28454
|
];
|
|
@@ -28633,9 +28634,9 @@ function il({
|
|
|
28633
28634
|
const p = s == null || s === "" ? null : s, E = p != null, [A, S] = L(o ?? []), [T, D] = L(c ?? 0), [P, M] = L(!1), [z, U] = L(!1), [H, j] = L(!1), [Y, G] = L({
|
|
28634
28635
|
message: "",
|
|
28635
28636
|
visible: !1
|
|
28636
|
-
}), [ie, se] = L(!1), be =
|
|
28637
|
+
}), [ie, se] = L(!1), be = nt((Ie) => {
|
|
28637
28638
|
G({ message: Ie, visible: !0 }), setTimeout(() => G((ae) => ({ ...ae, visible: !1 })), 2500);
|
|
28638
|
-
}, []), V = o !== void 0, q = c !== void 0, B =
|
|
28639
|
+
}, []), V = o !== void 0, q = c !== void 0, B = nt(async () => {
|
|
28639
28640
|
try {
|
|
28640
28641
|
const Ie = await Pt.getActiveVotes(e, r);
|
|
28641
28642
|
S(Ie);
|
|
@@ -29341,7 +29342,7 @@ function Kb({
|
|
|
29341
29342
|
onTipComment: N,
|
|
29342
29343
|
onReportComment: y
|
|
29343
29344
|
}) {
|
|
29344
|
-
const [b, w] = L([]), [_, k] = L(!0), [v, p] = L(null), [E, A] = L(!1), [S, T] = L(null), [D, P] = L(""), [M, z] = L(!1), U =
|
|
29345
|
+
const [b, w] = L([]), [_, k] = L(!0), [v, p] = L(null), [E, A] = L(!1), [S, T] = L(null), [D, P] = L(""), [M, z] = L(!1), U = nt(async (B = !1) => {
|
|
29345
29346
|
B ? A(!0) : k(!0), p(null);
|
|
29346
29347
|
try {
|
|
29347
29348
|
const pe = await Pt.getCommentsList(e, r, s ?? "");
|
|
@@ -29638,7 +29639,7 @@ function h2({
|
|
|
29638
29639
|
return {};
|
|
29639
29640
|
}
|
|
29640
29641
|
return ue;
|
|
29641
|
-
}, [P?.json_metadata]), Ne =
|
|
29642
|
+
}, [P?.json_metadata]), Ne = nt(async () => {
|
|
29642
29643
|
j(!0), G(null);
|
|
29643
29644
|
try {
|
|
29644
29645
|
const ue = await Pt.getPostContent(e, r);
|
|
@@ -30278,7 +30279,7 @@ const _r = new ey(), m2 = ({
|
|
|
30278
30279
|
}) => {
|
|
30279
30280
|
const [s, n] = L([]), [a, i] = L(""), [o, c] = L(!0), [d, f] = L(!1), [l, h] = L(!0), [u, g] = L(
|
|
30280
30281
|
null
|
|
30281
|
-
), [x, N] = L(null), y = 20, b = vt(null), w =
|
|
30282
|
+
), [x, N] = L(null), y = 20, b = vt(null), w = nt(
|
|
30282
30283
|
async (v = !1) => {
|
|
30283
30284
|
if (!(!v && (d || !l)))
|
|
30284
30285
|
try {
|
|
@@ -30725,7 +30726,7 @@ const _r = new ey(), m2 = ({
|
|
|
30725
30726
|
);
|
|
30726
30727
|
}) }) });
|
|
30727
30728
|
}, ay = ({ communityId: e, onSelectCommunityMember: r }) => {
|
|
30728
|
-
const [s, n] = L([]), [a, i] = L(!0), [o, c] = L(!1), [d, f] = L(!0), [l, h] = L(null), [u, g] = L(null), x = 100, N =
|
|
30729
|
+
const [s, n] = L([]), [a, i] = L(!0), [o, c] = L(!1), [d, f] = L(!0), [l, h] = L(null), [u, g] = L(null), x = 100, N = nt(
|
|
30729
30730
|
async (y = !1) => {
|
|
30730
30731
|
if (!(o && !y))
|
|
30731
30732
|
try {
|
|
@@ -31656,7 +31657,7 @@ function y2({
|
|
|
31656
31657
|
onClickCommentUpvote: i,
|
|
31657
31658
|
onClickCommentReply: o
|
|
31658
31659
|
}) {
|
|
31659
|
-
const [c, d] = L([]), [f, l] = L([]), [h, u] = L(!0), [g, x] = L(null), [N, y] = L(!1), [b, w] = L(!1), [_, k] = L(null), v =
|
|
31660
|
+
const [c, d] = L([]), [f, l] = L([]), [h, u] = L(!0), [g, x] = L(null), [N, y] = L(!1), [b, w] = L(!1), [_, k] = L(null), v = nt(async (S = !1) => {
|
|
31660
31661
|
S ? w(!0) : u(!0), x(null);
|
|
31661
31662
|
try {
|
|
31662
31663
|
const T = await Pt.getCommentsList(e, r);
|
|
@@ -32700,7 +32701,7 @@ const x2 = ({
|
|
|
32700
32701
|
votingPower: !1,
|
|
32701
32702
|
badges: !1,
|
|
32702
32703
|
witnessVotes: !1
|
|
32703
|
-
}), ze = 20, Nt = 100, $t = vt(null), [Ut, qt] = L(!1), [
|
|
32704
|
+
}), ze = 20, Nt = 100, $t = vt(null), [Ut, qt] = L(!1), [nr, Tt] = L(!1), [mt, ge] = L(!1), [Pe, Le] = L(!1), [We, qe] = L(null), xt = vt(null), Ye = vt(null), [yr, zr] = L(!1), [ur, Wr] = L(!1), Kt = nt(() => {
|
|
32704
32705
|
const I = Ye.current;
|
|
32705
32706
|
I && (zr(I.scrollLeft > 0), Wr(I.scrollLeft + I.clientWidth < I.scrollWidth - 1));
|
|
32706
32707
|
}, []);
|
|
@@ -32713,7 +32714,7 @@ const x2 = ({
|
|
|
32713
32714
|
I.removeEventListener("scroll", Kt), re.disconnect();
|
|
32714
32715
|
};
|
|
32715
32716
|
}, [Kt]);
|
|
32716
|
-
const Gr =
|
|
32717
|
+
const Gr = nt((I) => {
|
|
32717
32718
|
const re = Ye.current;
|
|
32718
32719
|
re && re.scrollBy({ left: I === "left" ? -150 : 150, behavior: "smooth" });
|
|
32719
32720
|
}, []);
|
|
@@ -32724,7 +32725,7 @@ const x2 = ({
|
|
|
32724
32725
|
), Lr = Ot(
|
|
32725
32726
|
() => new Set(h),
|
|
32726
32727
|
[h]
|
|
32727
|
-
), dt =
|
|
32728
|
+
), dt = nt(
|
|
32728
32729
|
(I) => I.filter(
|
|
32729
32730
|
(re) => !Lr.has(re.author) && !cr.has(`${re.author}/${re.permlink}`)
|
|
32730
32731
|
),
|
|
@@ -32774,7 +32775,7 @@ const x2 = ({
|
|
|
32774
32775
|
tt = JSON.parse(Oe.json_metadata)?.profile;
|
|
32775
32776
|
} catch {
|
|
32776
32777
|
}
|
|
32777
|
-
const Ft = xe.metadata?.profile,
|
|
32778
|
+
const Ft = xe.metadata?.profile, sr = {
|
|
32778
32779
|
username: xe.name,
|
|
32779
32780
|
name: ft?.name || tt?.name || Ft?.name,
|
|
32780
32781
|
about: ft?.about || tt?.about || Ft?.about,
|
|
@@ -32792,7 +32793,7 @@ const x2 = ({
|
|
|
32792
32793
|
hivePower: ct,
|
|
32793
32794
|
votingPower: Xe
|
|
32794
32795
|
};
|
|
32795
|
-
ie(
|
|
32796
|
+
ie(sr);
|
|
32796
32797
|
} catch (re) {
|
|
32797
32798
|
console.error("Error fetching user profile:", re), q("Failed to load user profile");
|
|
32798
32799
|
} finally {
|
|
@@ -32885,7 +32886,7 @@ const x2 = ({
|
|
|
32885
32886
|
const Xe = (R) => parseFloat(String(R).split(" ")[0]) || 0, ft = (Xe(Oe.vesting_shares) + Xe(Oe.received_vesting_shares) - Xe(Oe.delegated_vesting_shares)) * 1e6, tt = Math.floor(Date.now() / 1e3) - Oe.voting_manabar.last_update_time;
|
|
32886
32887
|
let Ft = parseFloat(String(Oe.voting_manabar.current_mana)) + tt * ft / 432e3;
|
|
32887
32888
|
Ft > ft && (Ft = ft);
|
|
32888
|
-
const
|
|
32889
|
+
const sr = ft > 0 ? Ft / ft * 100 : 0, Bt = ft / 4, ht = Math.floor(Date.now() / 1e3) - Oe.downvote_manabar.last_update_time;
|
|
32889
32890
|
let mr = parseFloat(String(Oe.downvote_manabar.current_mana)) + ht * Bt / 432e3;
|
|
32890
32891
|
mr > Bt && (mr = Bt);
|
|
32891
32892
|
const ua = Bt > 0 ? mr / Bt * 100 : 0;
|
|
@@ -32919,7 +32920,7 @@ const x2 = ({
|
|
|
32919
32920
|
K = R / ce;
|
|
32920
32921
|
}
|
|
32921
32922
|
Yt({
|
|
32922
|
-
upvotePower: Math.min(
|
|
32923
|
+
upvotePower: Math.min(sr, 100),
|
|
32923
32924
|
downvotePower: Math.min(ua, 100),
|
|
32924
32925
|
resourceCredits: Math.min(xa, 100),
|
|
32925
32926
|
maxMana: ft,
|
|
@@ -32957,7 +32958,7 @@ const x2 = ({
|
|
|
32957
32958
|
I.abort();
|
|
32958
32959
|
};
|
|
32959
32960
|
}, [Fe, B]);
|
|
32960
|
-
const W = Ot(() => dt(ee), [ee, dt]), Q = Ot(() => dt(ke), [ke, dt]), we = Ot(() => dt(De), [De, dt]), Ce = Ot(() => dt(X), [X, dt]), pt = Ot(() => dt(oe), [oe, dt]), Ze = Ot(() => dt(Ie), [Ie, dt]), _t =
|
|
32961
|
+
const W = Ot(() => dt(ee), [ee, dt]), Q = Ot(() => dt(ke), [ke, dt]), we = Ot(() => dt(De), [De, dt]), Ce = Ot(() => dt(X), [X, dt]), pt = Ot(() => dt(oe), [oe, dt]), Ze = Ot(() => dt(Ie), [Ie, dt]), _t = nt(async () => {
|
|
32961
32962
|
if (!(ye || !Ke[B] || !Fe)) {
|
|
32962
32963
|
Me(!0);
|
|
32963
32964
|
try {
|
|
@@ -33029,7 +33030,7 @@ const x2 = ({
|
|
|
33029
33030
|
);
|
|
33030
33031
|
return re.observe(I), () => re.disconnect();
|
|
33031
33032
|
}, [_t]);
|
|
33032
|
-
const jt =
|
|
33033
|
+
const jt = nt(async () => {
|
|
33033
33034
|
if (G) {
|
|
33034
33035
|
qt(!0), Tt(!1);
|
|
33035
33036
|
try {
|
|
@@ -33055,7 +33056,7 @@ const x2 = ({
|
|
|
33055
33056
|
qt(!1);
|
|
33056
33057
|
}
|
|
33057
33058
|
}
|
|
33058
|
-
}, [G, Fe, u, g]), rr =
|
|
33059
|
+
}, [G, Fe, u, g]), rr = nt(async () => {
|
|
33059
33060
|
qt(!0);
|
|
33060
33061
|
try {
|
|
33061
33062
|
x && await x(Fe), ge(!1), Tt(!1);
|
|
@@ -33064,7 +33065,7 @@ const x2 = ({
|
|
|
33064
33065
|
} finally {
|
|
33065
33066
|
qt(!1);
|
|
33066
33067
|
}
|
|
33067
|
-
}, [Fe, x]), Dt =
|
|
33068
|
+
}, [Fe, x]), Dt = nt(async (I) => {
|
|
33068
33069
|
qt(!0);
|
|
33069
33070
|
try {
|
|
33070
33071
|
N && await N(Fe, I), Le(!1), Tt(!1);
|
|
@@ -33073,11 +33074,11 @@ const x2 = ({
|
|
|
33073
33074
|
} finally {
|
|
33074
33075
|
qt(!1);
|
|
33075
33076
|
}
|
|
33076
|
-
}, [Fe, N]), gt =
|
|
33077
|
+
}, [Fe, N]), gt = nt(() => {
|
|
33077
33078
|
P?.(Fe);
|
|
33078
|
-
}, [Fe, P]), Vt =
|
|
33079
|
+
}, [Fe, P]), Vt = nt(async () => {
|
|
33079
33080
|
U && await U();
|
|
33080
|
-
}, [U]), Zt =
|
|
33081
|
+
}, [U]), Zt = nt(async () => {
|
|
33081
33082
|
H && await H(Fe);
|
|
33082
33083
|
}, [Fe, H]);
|
|
33083
33084
|
if (se)
|
|
@@ -33258,9 +33259,9 @@ const x2 = ({
|
|
|
33258
33259
|
Xe.push("Past payouts:"), Xe.push(`${Oe} Hive Rewards${tt ? ` (Author ${tt})` : ""}`);
|
|
33259
33260
|
} else {
|
|
33260
33261
|
if (I.payout_at) {
|
|
33261
|
-
const tt = new Date(I.payout_at), Ft = /* @__PURE__ */ new Date(),
|
|
33262
|
-
if (
|
|
33263
|
-
const Bt = Math.floor(
|
|
33262
|
+
const tt = new Date(I.payout_at), Ft = /* @__PURE__ */ new Date(), sr = tt.getTime() - Ft.getTime();
|
|
33263
|
+
if (sr > 0) {
|
|
33264
|
+
const Bt = Math.floor(sr / 36e5), ht = Math.floor(Bt / 24), mr = Bt % 24, ua = ht > 0 ? `in ${ht} day${ht > 1 ? "s" : ""}${mr > 0 ? ` ${mr} hour${mr > 1 ? "s" : ""}` : ""}` : `in ${Bt} hour${Bt > 1 ? "s" : ""}`;
|
|
33264
33265
|
Xe.push(`Payout will occur: ${ua}`);
|
|
33265
33266
|
}
|
|
33266
33267
|
}
|
|
@@ -33336,7 +33337,7 @@ const x2 = ({
|
|
|
33336
33337
|
initialVotes: I.active_votes || [],
|
|
33337
33338
|
initialCommentsCount: I.children || 0,
|
|
33338
33339
|
onUpvote: y ? (tt) => y(I.author, I.permlink, tt) : void 0,
|
|
33339
|
-
onSubmitComment: b ? (tt, Ft,
|
|
33340
|
+
onSubmitComment: b ? (tt, Ft, sr) => b(tt, Ft, sr) : void 0,
|
|
33340
33341
|
onClickCommentUpvote: w,
|
|
33341
33342
|
onReblog: I.author !== r && _ ? () => _(I.author, I.permlink) : void 0,
|
|
33342
33343
|
onShare: M ? () => M(I.author, I.permlink) : void 0,
|
|
@@ -33562,7 +33563,7 @@ const x2 = ({
|
|
|
33562
33563
|
if (!I || !isFinite(I) || I <= 0) return "—";
|
|
33563
33564
|
const re = Math.floor(I / 1e3), he = Math.floor(re / 60), ne = Math.floor(he / 60), xe = Math.floor(ne / 24);
|
|
33564
33565
|
return xe >= 1 ? `${xe}d ${ne % 24}h` : ne >= 1 ? `${ne}h ${he % 60}m` : `${Math.max(1, he)}m`;
|
|
33565
|
-
}, Ge = (I, re = 3) => I == null || isNaN(I) ? "—" : Number(I).toLocaleString(void 0, { maximumFractionDigits: re, minimumFractionDigits: re }),
|
|
33566
|
+
}, Ge = (I, re = 3) => I == null || isNaN(I) ? "—" : Number(I).toLocaleString(void 0, { maximumFractionDigits: re, minimumFractionDigits: re }), ir = () => {
|
|
33566
33567
|
if (F && de.length === 0) return Sr();
|
|
33567
33568
|
if (de.length === 0 && !At)
|
|
33568
33569
|
return /* @__PURE__ */ m("div", { className: "text-center py-12", children: [
|
|
@@ -33771,7 +33772,7 @@ const x2 = ({
|
|
|
33771
33772
|
}
|
|
33772
33773
|
);
|
|
33773
33774
|
if (B === "authorRewards")
|
|
33774
|
-
return
|
|
33775
|
+
return ir();
|
|
33775
33776
|
if (B === "curationRewards")
|
|
33776
33777
|
return hr();
|
|
33777
33778
|
if (B === "votingPower") {
|
|
@@ -33791,7 +33792,7 @@ const x2 = ({
|
|
|
33791
33792
|
/* @__PURE__ */ t(Ll, { className: "h-12 w-12 text-gray-500 mx-auto mb-3" }),
|
|
33792
33793
|
/* @__PURE__ */ t("p", { className: "text-gray-400", children: "Voting power data unavailable" })
|
|
33793
33794
|
] });
|
|
33794
|
-
const { maxMana: ne, rewardBalance: xe, recentClaims: Oe, feedPrice: ct } = Ct, Xe = C * 100, et = ne * 0.02 * (Xe / 1e4), ft = Oe > 0 ? et / Oe * xe : 0, tt = ft * ct, Ft = Ct.upvotePower < C * 2 / 100,
|
|
33795
|
+
const { maxMana: ne, rewardBalance: xe, recentClaims: Oe, feedPrice: ct } = Ct, Xe = C * 100, et = ne * 0.02 * (Xe / 1e4), ft = Oe > 0 ? et / Oe * xe : 0, tt = ft * ct, Ft = Ct.upvotePower < C * 2 / 100, sr = (ht, mr = 3) => isNaN(ht) ? "—" : ht.toLocaleString(void 0, { minimumFractionDigits: mr, maximumFractionDigits: mr }), Bt = [
|
|
33795
33796
|
{ label: "Voting Power", value: Ct.upvotePower, color: "#10b981" },
|
|
33796
33797
|
{ label: "Downvote Power", value: Ct.downvotePower, color: "#f59e0b" },
|
|
33797
33798
|
{ label: "Resource Credits", value: Ct.resourceCredits, color: "#3b82f6" }
|
|
@@ -33807,13 +33808,13 @@ const x2 = ({
|
|
|
33807
33808
|
] }),
|
|
33808
33809
|
/* @__PURE__ */ t("div", { className: "text-[13px] text-gray-400 mb-3", children: Oe > 0 ? /* @__PURE__ */ m(It, { children: [
|
|
33809
33810
|
/* @__PURE__ */ m("span", { className: "text-white font-medium", children: [
|
|
33810
|
-
|
|
33811
|
+
sr(tt),
|
|
33811
33812
|
" HBD"
|
|
33812
33813
|
] }),
|
|
33813
33814
|
/* @__PURE__ */ t("span", { className: "mx-1.5", children: "·" }),
|
|
33814
33815
|
/* @__PURE__ */ m("span", { className: "text-gray-300", children: [
|
|
33815
33816
|
"~",
|
|
33816
|
-
|
|
33817
|
+
sr(ft),
|
|
33817
33818
|
" HIVE"
|
|
33818
33819
|
] }),
|
|
33819
33820
|
Ft && /* @__PURE__ */ t("span", { className: "ml-2 text-amber-400 text-xs", children: "⚠ low mana" })
|
|
@@ -34005,7 +34006,7 @@ const x2 = ({
|
|
|
34005
34006
|
children: /* @__PURE__ */ t(pa, { className: "h-4 w-4 text-gray-400" })
|
|
34006
34007
|
}
|
|
34007
34008
|
),
|
|
34008
|
-
|
|
34009
|
+
nr && /* @__PURE__ */ m(
|
|
34009
34010
|
"div",
|
|
34010
34011
|
{
|
|
34011
34012
|
className: "absolute right-0 mt-1 w-48 rounded-lg border border-gray-700 bg-gray-800 shadow-xl z-[100]",
|
|
@@ -34327,48 +34328,48 @@ const x2 = ({
|
|
|
34327
34328
|
)) }) });
|
|
34328
34329
|
}, py = [
|
|
34329
34330
|
{
|
|
34330
|
-
imagePath:
|
|
34331
|
+
imagePath: at.hreplier,
|
|
34331
34332
|
name: "hReplier",
|
|
34332
34333
|
url: "https://hreplier.sagarkothari88.one/",
|
|
34333
34334
|
description: `- Easily Manage your Hive Blog's replies
|
|
34334
34335
|
- We are working on Hive Inbox as Key contributors`
|
|
34335
34336
|
},
|
|
34336
34337
|
{
|
|
34337
|
-
imagePath:
|
|
34338
|
+
imagePath: at.template,
|
|
34338
34339
|
name: "hSnaps",
|
|
34339
34340
|
url: "https://hsnaps.sagarkothari88.one/",
|
|
34340
34341
|
description: `- A Snaps App for Hive Blockchain
|
|
34341
34342
|
- We are working on Hive Snaps as Key contributors`
|
|
34342
34343
|
},
|
|
34343
34344
|
{
|
|
34344
|
-
imagePath:
|
|
34345
|
+
imagePath: at.hive_fest_fact_logo,
|
|
34345
34346
|
name: "Hive Fest Fact",
|
|
34346
34347
|
url: "https://hivefestfacts.sagarkothari88.one/",
|
|
34347
34348
|
description: "- Hive Fest Facts is a platform dedicated to sharing interesting and informative facts about Hive Fest, the annual gathering of the Hive blockchain community."
|
|
34348
34349
|
},
|
|
34349
34350
|
{
|
|
34350
|
-
imagePath:
|
|
34351
|
+
imagePath: at.hpolls_logo,
|
|
34351
34352
|
name: "hPolls",
|
|
34352
34353
|
url: "https://hpolls.sagarkothari88.one/",
|
|
34353
34354
|
description: `- Create and manage polls on the Hive blockchain
|
|
34354
34355
|
- We are working on HPolls as Key contributors`
|
|
34355
34356
|
},
|
|
34356
34357
|
{
|
|
34357
|
-
imagePath:
|
|
34358
|
+
imagePath: at.stats_logo,
|
|
34358
34359
|
name: "hStats",
|
|
34359
34360
|
url: "https://hive-stats.sagarkothari88.one/",
|
|
34360
34361
|
description: `- View Statstics for any Hive User
|
|
34361
34362
|
- We are working on 'Stats' as Key contributors`
|
|
34362
34363
|
},
|
|
34363
34364
|
{
|
|
34364
|
-
imagePath:
|
|
34365
|
+
imagePath: at.hive_logo,
|
|
34365
34366
|
name: "hive-authentication",
|
|
34366
34367
|
description: "- A React package for Hive blockchain authentication with a simple callback-based API and Zustand state management.",
|
|
34367
34368
|
url: "https://www.npmjs.com/package/hive-authentication",
|
|
34368
34369
|
useCircleBackground: !1
|
|
34369
34370
|
},
|
|
34370
34371
|
{
|
|
34371
|
-
imagePath:
|
|
34372
|
+
imagePath: at.hive_logo,
|
|
34372
34373
|
name: "hivereactkit",
|
|
34373
34374
|
description: "- Professional React components for Hive blockchain video content. Beautiful, responsive, and ready to integrate into your projects.",
|
|
34374
34375
|
url: "https://hivereactkit.sagarkothari88.one/",
|
|
@@ -34394,7 +34395,7 @@ const x2 = ({
|
|
|
34394
34395
|
// description: "- Generate Donate page for any Hive user.\n- We are working on 'Donate' as Key contributors."
|
|
34395
34396
|
// },
|
|
34396
34397
|
{
|
|
34397
|
-
imagePath:
|
|
34398
|
+
imagePath: at.distriator_logo,
|
|
34398
34399
|
name: "Distriator",
|
|
34399
34400
|
url: "https://distriator.com",
|
|
34400
34401
|
useCircleBackground: !1,
|
|
@@ -34402,14 +34403,14 @@ const x2 = ({
|
|
|
34402
34403
|
- We are working on Distributor as Key contributors.`
|
|
34403
34404
|
},
|
|
34404
34405
|
{
|
|
34405
|
-
imagePath:
|
|
34406
|
+
imagePath: at.checkinwithxyz,
|
|
34406
34407
|
name: "Checkin with XYZ",
|
|
34407
34408
|
url: "https://checkinwith.xyz/",
|
|
34408
34409
|
description: `- A new way to onboard real people to Hive.
|
|
34409
34410
|
- Connect, share your story, and become part of a global community of content creators.`
|
|
34410
34411
|
},
|
|
34411
34412
|
{
|
|
34412
|
-
imagePath:
|
|
34413
|
+
imagePath: at.three_speak_logo,
|
|
34413
34414
|
name: "3Speak",
|
|
34414
34415
|
url: "https://3speak.tv/",
|
|
34415
34416
|
description: `- Tokenised Video Communities
|
|
@@ -34418,7 +34419,7 @@ const x2 = ({
|
|
|
34418
34419
|
- On-going maintenance tasks.`
|
|
34419
34420
|
},
|
|
34420
34421
|
{
|
|
34421
|
-
imagePath:
|
|
34422
|
+
imagePath: at.three_shorts_logo,
|
|
34422
34423
|
name: "3Shorts",
|
|
34423
34424
|
description: `- Short Contents on 3Speak.tv
|
|
34424
34425
|
- We are key contributor for 3Shorts app (within 3Speak App)`,
|
|
@@ -34426,14 +34427,14 @@ const x2 = ({
|
|
|
34426
34427
|
useCircleBackground: !1
|
|
34427
34428
|
},
|
|
34428
34429
|
{
|
|
34429
|
-
imagePath:
|
|
34430
|
+
imagePath: at.podcast_logo,
|
|
34430
34431
|
name: "Podcast",
|
|
34431
34432
|
description: `- Listen to your favorite podcast
|
|
34432
34433
|
- We are key contributors for Podcast app (within 3Speak App)`,
|
|
34433
34434
|
url: "https://linktr.ee/3speak"
|
|
34434
34435
|
},
|
|
34435
34436
|
{
|
|
34436
|
-
imagePath:
|
|
34437
|
+
imagePath: at.hiveauth_logo,
|
|
34437
34438
|
name: "HiveAuth",
|
|
34438
34439
|
description: `- Hive Authentication Service
|
|
34439
34440
|
- We contributed a little on the mobile app for HiveAuth`,
|
|
@@ -34441,7 +34442,7 @@ const x2 = ({
|
|
|
34441
34442
|
url: "https://hiveauth.com"
|
|
34442
34443
|
},
|
|
34443
34444
|
{
|
|
34444
|
-
imagePath:
|
|
34445
|
+
imagePath: at.ecency_logo,
|
|
34445
34446
|
name: "Ecency",
|
|
34446
34447
|
description: `- A FrontEnd for Hive Blockchain
|
|
34447
34448
|
- We have worked with Team Ecency for integrating 3Speak in Ecency`,
|
|
@@ -34455,14 +34456,14 @@ const x2 = ({
|
|
|
34455
34456
|
// useCircleBackground: false
|
|
34456
34457
|
// },
|
|
34457
34458
|
{
|
|
34458
|
-
imagePath:
|
|
34459
|
+
imagePath: at.actifit_logo,
|
|
34459
34460
|
name: "ActiFit",
|
|
34460
34461
|
description: `- A FrontEnd for Hive Blockchain. Move to Earn
|
|
34461
34462
|
- We have worked with Team ActiFit for integrating 3Speak`,
|
|
34462
34463
|
url: "https://actifit.io"
|
|
34463
34464
|
},
|
|
34464
34465
|
{
|
|
34465
|
-
imagePath:
|
|
34466
|
+
imagePath: at.ecency_logo,
|
|
34466
34467
|
name: "InLeo",
|
|
34467
34468
|
description: `- A Short Content FrontEnd for Hive Blockchain.
|
|
34468
34469
|
- We have worked with Team Leo Finance for integrating 3Speak`,
|
|
@@ -34476,7 +34477,7 @@ const x2 = ({
|
|
|
34476
34477
|
// useCircleBackground: false
|
|
34477
34478
|
// },
|
|
34478
34479
|
{
|
|
34479
|
-
imagePath:
|
|
34480
|
+
imagePath: at.nodes,
|
|
34480
34481
|
name: "12 Nodes",
|
|
34481
34482
|
description: `- Powerful video encoder nodes for 3Speak
|
|
34482
34483
|
- Each node costing minimum $20 per month
|
|
@@ -34487,7 +34488,7 @@ const x2 = ({
|
|
|
34487
34488
|
useCircleBackground: !1
|
|
34488
34489
|
},
|
|
34489
34490
|
{
|
|
34490
|
-
imagePath:
|
|
34491
|
+
imagePath: at.nodes,
|
|
34491
34492
|
name: "Witness Node",
|
|
34492
34493
|
description: `- Running Hive Witness Node
|
|
34493
34494
|
- Witness node costs $50 per month
|
|
@@ -34496,7 +34497,7 @@ const x2 = ({
|
|
|
34496
34497
|
useCircleBackground: !1
|
|
34497
34498
|
},
|
|
34498
34499
|
{
|
|
34499
|
-
imagePath:
|
|
34500
|
+
imagePath: at.nodes,
|
|
34500
34501
|
name: "VSC Node",
|
|
34501
34502
|
description: `- Running A VSC Witness Node
|
|
34502
34503
|
- costs $10 per month`,
|
|
@@ -34504,7 +34505,7 @@ const x2 = ({
|
|
|
34504
34505
|
useCircleBackground: !1
|
|
34505
34506
|
},
|
|
34506
34507
|
{
|
|
34507
|
-
imagePath:
|
|
34508
|
+
imagePath: at.nodes,
|
|
34508
34509
|
name: "Hive Union Indexer Node",
|
|
34509
34510
|
description: `- Running A Union Inddexer Node
|
|
34510
34511
|
- costs $10 per month`,
|
|
@@ -34512,7 +34513,7 @@ const x2 = ({
|
|
|
34512
34513
|
useCircleBackground: !1
|
|
34513
34514
|
},
|
|
34514
34515
|
{
|
|
34515
|
-
imagePath:
|
|
34516
|
+
imagePath: at.developers,
|
|
34516
34517
|
name: "Additional Developers",
|
|
34517
34518
|
description: `- In order to manage on going development, we've a team of developers, community managers
|
|
34518
34519
|
- As a team, we are able to make an impact
|
|
@@ -34521,7 +34522,7 @@ const x2 = ({
|
|
|
34521
34522
|
useCircleBackground: !1
|
|
34522
34523
|
},
|
|
34523
34524
|
{
|
|
34524
|
-
imagePath:
|
|
34525
|
+
imagePath: at.template,
|
|
34525
34526
|
name: "uptime with kuma",
|
|
34526
34527
|
description: "- We provide transperancy to all the services which we provide for hive blockchain. With uptime, we show status of all the services we provide",
|
|
34527
34528
|
url: "https://uptime.sagarkothari88.one/status/sagar",
|
|
@@ -34562,27 +34563,26 @@ const x2 = ({
|
|
|
34562
34563
|
{ icon: If, title: "Build First, Talk Later", desc: "We prefer shipping real products and improving with community feedback." },
|
|
34563
34564
|
{ icon: Hr, title: "Community Over Ownership", desc: "These are tools built for the entire Hive ecosystem, not closed platforms." }
|
|
34564
34565
|
], yy = [
|
|
34565
|
-
{ name: "Distriator", logo:
|
|
34566
|
-
{ name: "CheckInWithXYZ", logo:
|
|
34567
|
-
{ name: "hReplier", logo:
|
|
34568
|
-
{ name: "hStats", logo:
|
|
34569
|
-
{ name: "hPolls", logo:
|
|
34570
|
-
{ name: "hFestFacts", logo:
|
|
34571
|
-
{ name: "hSnaps", logo:
|
|
34566
|
+
{ name: "Distriator", logo: at.distriator_logo },
|
|
34567
|
+
{ name: "CheckInWithXYZ", logo: at.checkinwithxyz },
|
|
34568
|
+
{ name: "hReplier", logo: at.hreplier },
|
|
34569
|
+
{ name: "hStats", logo: at.stats_logo },
|
|
34570
|
+
{ name: "hPolls", logo: at.hpolls_logo },
|
|
34571
|
+
{ name: "hFestFacts", logo: at.hive_fest_fact_logo },
|
|
34572
|
+
{ name: "hSnaps", logo: at.template },
|
|
34573
|
+
{ name: "hCurators", logo: at.vote_logo }
|
|
34572
34574
|
], xy = [
|
|
34573
34575
|
{
|
|
34574
34576
|
name: "hApprover",
|
|
34575
34577
|
desc: "Approve Hive transactions from your phone",
|
|
34576
|
-
logo:
|
|
34578
|
+
logo: at.happrover_logo
|
|
34577
34579
|
},
|
|
34578
34580
|
{
|
|
34579
|
-
name: "
|
|
34580
|
-
desc:
|
|
34581
|
-
|
|
34582
|
-
logo: nt.vote_logo
|
|
34581
|
+
name: "hSurvey",
|
|
34582
|
+
desc: "Create and participate in surveys on Hive",
|
|
34583
|
+
logo: at.hsurvey_logo
|
|
34583
34584
|
}
|
|
34584
34585
|
], vy = [
|
|
34585
|
-
"hSurvey",
|
|
34586
34586
|
"hChat",
|
|
34587
34587
|
"hShorts",
|
|
34588
34588
|
"hVideos",
|