@qratilabs/qrati-connect 1.11.5 → 1.11.6
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/{AuthLayout-dbavoYKv.js → AuthLayout-CC5IwAHM.js} +1 -1
- package/{AuthLayout-DBnd9o6M.js → AuthLayout-Ccmi5-rs.js} +1 -1
- package/CHANGELOG.md +8 -0
- package/{CPIOZS5X-Czu_JvrH.js → CPIOZS5X-BSstqGG_.js} +2 -2
- package/{CPIOZS5X-CNsyasbw.js → CPIOZS5X-Cpn_mhOX.js} +1 -1
- package/{ContentsPage-CF55x7ke.js → ContentsPage-RiT6kUjx.js} +2 -2
- package/{ContentsPage-Caw_I4WC.js → ContentsPage-pBMHPSXz.js} +2 -2
- package/{CuratePage-D1mPVugu.js → CuratePage-C5Y4z40W.js} +6 -6
- package/{CuratePage-BJ6yGKx4.js → CuratePage-U3UWtzLC.js} +6 -6
- package/{Dialog-sM4KzyqO.js → Dialog-DQeFyfX-.js} +1 -1
- package/{Dialog-Cq87fKDn.js → Dialog-WfHGpbEh.js} +1 -1
- package/{DotLottiePlayer-EEx8Rbhu.js → DotLottiePlayer-DBU1DweJ.js} +1 -1
- package/{DotLottiePlayer--yY-f7dA.js → DotLottiePlayer-DnGRIX9j.js} +1 -1
- package/{LazyLoadImage-DvRZUm0I.js → LazyLoadImage-CtYNbO0V.js} +1 -1
- package/{LazyLoadImage-CpJiKKd0.js → LazyLoadImage-l2_fiQFV.js} +1 -1
- package/{LeaderboardPage-u9PpReri.js → LeaderboardPage-CcCdTRZF.js} +1 -1
- package/{LeaderboardPage-CJwcncMf.js → LeaderboardPage-pf4hXHsY.js} +1 -1
- package/{LoginPage-Dt0eLemn.js → LoginPage-AjxKwE1E.js} +2 -2
- package/{LoginPage-Ccf9Ao6B.js → LoginPage-DDo0QW9I.js} +2 -2
- package/{MediaGallery-B_jkTr4q.js → MediaGallery-DaVH7tnL.js} +115 -112
- package/{MediaGallery-VCC4iFW9.js → MediaGallery-gIfjbuLM.js} +37 -34
- package/{OKF6E45R-Di3_E8Ah.js → OKF6E45R-YbG94d6r.js} +2 -2
- package/{PublicEvents-DjHIEaBA.js → PublicEvents-BTNS13Wn.js} +2 -2
- package/{PublicEvents-cUdGiSzD.js → PublicEvents-DpwUcfY5.js} +2 -2
- package/{RegisterPage-1QPJz5s0.js → RegisterPage-CpjNOJU3.js} +2 -2
- package/{RegisterPage-TFi75ht8.js → RegisterPage-DJ8FAzof.js} +2 -2
- package/{UploadPage-DKoIkI6q.js → UploadPage-CfFZFp_p.js} +2 -2
- package/{UploadPage-COyEfW1_.js → UploadPage-DlTsMBXf.js} +3 -3
- package/{VideoPlayer-CrgOqVvm.js → VideoPlayer-DnJPEyWI.js} +1 -1
- package/{VideoPlayer-Bj5nbnDH.js → VideoPlayer-r90lNORm.js} +1 -1
- package/{WXAWMS3D-DniKUk0X.js → WXAWMS3D-3jDe9YEc.js} +1 -1
- package/element.es.js +1 -1
- package/{heic2any-fw9bH8AV.js → heic2any-DwyIXiZb.js} +1 -1
- package/{index-CC5f38_N.js → index-C_SoH4i4.js} +1 -1
- package/{index-o5pB9Vnd.js → index-DBJc8aGT.js} +2 -2
- package/{index-AON8ANeT.js → index-aJqEl32o.js} +3 -3
- package/{index.esm-DZMTd79s.js → index.esm-B20idR_b.js} +1 -1
- package/{index.esm-Dfv0FvRQ.js → index.esm-Dn93q3tG.js} +1 -1
- package/package.json +2 -2
- package/{photoswipe-BRZloVZs.js → photoswipe-SXGuxPZM.js} +1 -1
- package/{photoswipe-BWeNVbT0.js → photoswipe-mTXhTEM5.js} +1 -1
- package/react.es.js +1 -1
- package/web.es.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, u as i, j as e, N as o, e as c, c as t, P as a, T as n, O as x } from "./index-
|
|
1
|
+
import { a as q, u as i, j as e, N as o, e as c, c as t, P as a, T as n, O as x } from "./index-DBJc8aGT.js";
|
|
2
2
|
const u = () => {
|
|
3
3
|
var s;
|
|
4
4
|
const r = q(), { user: d } = i();
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.11.5](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.4...v1.11.5) (2025-04-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update EventCard component to change name typography from h5 to h4 ([48e04cb](https://github.com/qrati-labs/qrati-connect-js/commit/48e04cbccfdccbbca73e5df04dccc3ea594bb567))
|
|
7
|
+
* update EventCard component to change name typography from h5 to h4 ([3019c17](https://github.com/qrati-labs/qrati-connect-js/commit/3019c1714e4d24b7fa5be1174f9a2ace47f58c34))
|
|
8
|
+
|
|
1
9
|
## [1.11.4](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.3...v1.11.4) (2025-04-03)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-
|
|
2
|
-
import { J as d, K as f, L as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-3jDe9YEc.js";
|
|
2
|
+
import { J as d, K as f, L as e } from "./index-aJqEl32o.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ps = Object.defineProperty;
|
|
2
2
|
var ws = (e, t, n) => t in e ? ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => ws(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { U as we, V as z, W as Nt, X as U, Y as D, Z as y, _ as Oo, $ as K, a0 as _, a1 as k, a2 as V, a3 as F, a4 as xs, a5 as rr, a6 as xe, a7 as j, a8 as Vn, a9 as Gn, aa as ut, ab as A, ac as $s, ad as Dn, ae as Ne, af as Cs, ag as Pt, ah as qt, ai as Ss, aj as ks, ak as pn, al as Es, am as Rr, an as Rt, ao as _o, ap as Ds, aq as Ms, ar as W, as as zr, at as As, au as Fs, av as or, aw as Ts, ax as Is, ay as Rn, az as Ls, aA as Ps, aB as oe, aC as Os, aD as _s, aE as qs } from "./index-
|
|
4
|
+
import { U as we, V as z, W as Nt, X as U, Y as D, Z as y, _ as Oo, $ as K, a0 as _, a1 as k, a2 as V, a3 as F, a4 as xs, a5 as rr, a6 as xe, a7 as j, a8 as Vn, a9 as Gn, aa as ut, ab as A, ac as $s, ad as Dn, ae as Ne, af as Cs, ag as Pt, ah as qt, ai as Ss, aj as ks, ak as pn, al as Es, am as Rr, an as Rt, ao as _o, ap as Ds, aq as Ms, ar as W, as as zr, at as As, au as Fs, av as or, aw as Ts, ax as Is, ay as Rn, az as Ls, aA as Ps, aB as oe, aC as Os, aD as _s, aE as qs } from "./index-DBJc8aGT.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-
|
|
1
|
+
import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-DBJc8aGT.js";
|
|
2
2
|
var ut = class extends X {
|
|
3
3
|
constructor(r, n) {
|
|
4
4
|
super(r, n);
|
|
@@ -566,7 +566,7 @@ var Ct = (
|
|
|
566
566
|
}, n;
|
|
567
567
|
}(v.Component)
|
|
568
568
|
);
|
|
569
|
-
const Rt = v.lazy(() => import("./MediaGallery-
|
|
569
|
+
const Rt = v.lazy(() => import("./MediaGallery-DaVH7tnL.js").then((r) => r.M)), qt = () => {
|
|
570
570
|
const { eventSlug: r } = ot(), { loadingUser: n } = D(), [e, t] = v.useState(L), [a, o] = v.useState(z), { event: l, ads: i } = it({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = bt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = yt();
|
|
571
571
|
return v.useEffect(() => {
|
|
572
572
|
l && x(l == null ? void 0 : l.slug);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-
|
|
1
|
+
import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-aJqEl32o.js";
|
|
2
2
|
import T, { useRef as dt, useMemo as C, Component as mt, useState as H, useEffect as pt, lazy as xt } from "react";
|
|
3
3
|
var gt = class extends Z {
|
|
4
4
|
constructor(r, n) {
|
|
@@ -567,7 +567,7 @@ var Lt = (
|
|
|
567
567
|
}, n;
|
|
568
568
|
}(mt)
|
|
569
569
|
);
|
|
570
|
-
const zt = xt(() => import("./MediaGallery-
|
|
570
|
+
const zt = xt(() => import("./MediaGallery-gIfjbuLM.js").then((r) => r.M)), It = () => {
|
|
571
571
|
const { eventSlug: r } = it(), { loadingUser: n } = D(), [e, t] = H(L), [a, o] = H(z), { event: l, ads: i } = lt({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = Nt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = Pt();
|
|
572
572
|
return pt(() => {
|
|
573
573
|
l && x(l == null ? void 0 : l.slug);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as b, j as e, c as V, b as ne, J, a as ie, x as le, u as de, y as qe, k as G, A as D, K as Z, S as W, z as ue, N as me, P as ge, E as K, q as ee, T as te, I as fe, L as he } from "./index-
|
|
2
|
-
import { D as xe, a as pe, b as ve, c as ye, d as Ne } from "./Dialog-
|
|
3
|
-
import { L as je } from "./LazyLoadImage-
|
|
4
|
-
import { V as we } from "./VideoPlayer-
|
|
1
|
+
import { l as b, j as e, c as V, b as ne, J, a as ie, x as le, u as de, y as qe, k as G, A as D, K as Z, S as W, z as ue, N as me, P as ge, E as K, q as ee, T as te, I as fe, L as he } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { D as xe, a as pe, b as ve, c as ye, d as Ne } from "./Dialog-DQeFyfX-.js";
|
|
3
|
+
import { L as je } from "./LazyLoadImage-CtYNbO0V.js";
|
|
4
|
+
import { V as we } from "./VideoPlayer-r90lNORm.js";
|
|
5
5
|
const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ?? 0)}`, se = (t, s) => {
|
|
6
6
|
switch (Math.floor(Math.abs(t - s))) {
|
|
7
7
|
case 0:
|
|
@@ -98,7 +98,7 @@ const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
|
|
|
98
98
|
}
|
|
99
99
|
)
|
|
100
100
|
] });
|
|
101
|
-
}, _e = b.lazy(() => import("./index-
|
|
101
|
+
}, _e = b.lazy(() => import("./index-C_SoH4i4.js").then((t) => t.i)), Ee = b.lazy(() => import("./DotLottiePlayer-DBU1DweJ.js")), Ie = ({ feedback: t }) => {
|
|
102
102
|
const s = "#374151", [a, n] = b.useState(10);
|
|
103
103
|
return b.useEffect(() => {
|
|
104
104
|
const r = (t && t.parameters || []).reduce((d, c) => d + Math.abs(parseFloat(c.crowdRating) - parseFloat(c.userRating)), 0);
|
|
@@ -149,7 +149,7 @@ const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
|
|
|
149
149
|
/* @__PURE__ */ e.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ e.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
|
|
150
150
|
!!s && /* @__PURE__ */ e.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ e.jsx("span", { className: V("qc-text-primary qc-px-2 qc-font-medium", n), children: s }) })
|
|
151
151
|
] });
|
|
152
|
-
}, Ce = b.lazy(() => import("./DotLottiePlayer-
|
|
152
|
+
}, Ce = b.lazy(() => import("./DotLottiePlayer-DBU1DweJ.js")), Oe = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
|
|
153
153
|
/* @__PURE__ */ e.jsx(
|
|
154
154
|
Pe,
|
|
155
155
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as e, c as V, b as ie, R as J, a as de, v as qe, u as me, w as ue, k as F, A as D, H as te, S as W, x as ge, N as he, P as fe, E as K, p as re, T as se, G as xe, I as pe } from "./index-
|
|
1
|
+
import { j as e, c as V, b as ie, R as J, a as de, v as qe, u as me, w as ue, k as F, A as D, H as te, S as W, x as ge, N as he, P as fe, E as K, p as re, T as se, G as xe, I as pe } from "./index-aJqEl32o.js";
|
|
2
2
|
import { useState as E, useEffect as Z, lazy as ee } from "react";
|
|
3
|
-
import { D as ve, a as ye, b as Ne, c as je, d as we } from "./Dialog-
|
|
4
|
-
import { L as be } from "./LazyLoadImage-
|
|
5
|
-
import { V as Te } from "./VideoPlayer-
|
|
3
|
+
import { D as ve, a as ye, b as Ne, c as je, d as we } from "./Dialog-WfHGpbEh.js";
|
|
4
|
+
import { L as be } from "./LazyLoadImage-l2_fiQFV.js";
|
|
5
|
+
import { V as Te } from "./VideoPlayer-DnJPEyWI.js";
|
|
6
6
|
const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ?? 0)}`, ae = (t, s) => {
|
|
7
7
|
switch (Math.floor(Math.abs(t - s))) {
|
|
8
8
|
case 0:
|
|
@@ -99,7 +99,7 @@ const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
|
|
|
99
99
|
}
|
|
100
100
|
)
|
|
101
101
|
] });
|
|
102
|
-
}, Pe = ee(() => import("./index-O4xJCcGD.js").then((t) => t.i)), Ce = ee(() => import("./DotLottiePlayer
|
|
102
|
+
}, Pe = ee(() => import("./index-O4xJCcGD.js").then((t) => t.i)), Ce = ee(() => import("./DotLottiePlayer-DnGRIX9j.js")), Re = ({ feedback: t }) => {
|
|
103
103
|
const s = "#374151", [a, n] = E(10);
|
|
104
104
|
return Z(() => {
|
|
105
105
|
const r = (t && t.parameters || []).reduce((d, c) => d + Math.abs(parseFloat(c.crowdRating) - parseFloat(c.userRating)), 0);
|
|
@@ -150,7 +150,7 @@ const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
|
|
|
150
150
|
/* @__PURE__ */ e.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ e.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
|
|
151
151
|
!!s && /* @__PURE__ */ e.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ e.jsx("span", { className: V("qc-text-primary qc-px-2 qc-font-medium", n), children: s }) })
|
|
152
152
|
] });
|
|
153
|
-
}, Oe = ee(() => import("./DotLottiePlayer
|
|
153
|
+
}, Oe = ee(() => import("./DotLottiePlayer-DnGRIX9j.js")), Ae = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
|
|
154
154
|
/* @__PURE__ */ e.jsx(
|
|
155
155
|
Ee,
|
|
156
156
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as i, j as h, aL as ct, M as ut, aM as lt, aI as Ne, aH as L, aN as O, aO as Pe, aP as dt, b as ft, aJ as vt, c as W } from "./index-
|
|
1
|
+
import { l as i, j as h, aL as ct, M as ut, aM as lt, aI as Ne, aH as L, aN as O, aO as Pe, aP as dt, b as ft, aJ as vt, c as W } from "./index-DBJc8aGT.js";
|
|
2
2
|
function T(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
3
3
|
return function(o) {
|
|
4
4
|
if (e == null || e(o), n === !1 || !o.defaultPrevented)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as h, aE as xe, aD as L, aH as O, aI as Re, aJ as st, b as ct, aF as ut, c as W } from "./index-
|
|
1
|
+
import { j as h, aE as xe, aD as L, aH as O, aI as Re, aJ as st, b as ct, aF as ut, c as W } from "./index-aJqEl32o.js";
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import { useState as lt } from "react";
|
|
4
4
|
import * as dt from "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as R1, l as E, c as Q3 } from "./index-
|
|
1
|
+
import { j as R1, l as E, c as Q3 } from "./index-DBJc8aGT.js";
|
|
2
2
|
var X3 = Object.defineProperty, Y3 = Object.defineProperties, Z3 = Object.getOwnPropertyDescriptors, G1 = Object.getOwnPropertySymbols, Y2 = Object.prototype.hasOwnProperty, Z2 = Object.prototype.propertyIsEnumerable, g2 = (u, n, i) => n in u ? X3(u, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : u[n] = i, $ = (u, n) => {
|
|
3
3
|
for (var i in n || (n = {})) Y2.call(n, i) && g2(u, i, n[i]);
|
|
4
4
|
if (G1) for (var i of G1(n)) Z2.call(n, i) && g2(u, i, n[i]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as R1, c as Y3 } from "./index-
|
|
1
|
+
import { j as R1, c as Y3 } from "./index-aJqEl32o.js";
|
|
2
2
|
import { useState as Z2, useRef as x1, useEffect as x, useCallback as Z3 } from "react";
|
|
3
3
|
var t0 = Object.defineProperty, e0 = Object.defineProperties, n0 = Object.getOwnPropertyDescriptors, J1 = Object.getOwnPropertySymbols, t3 = Object.prototype.hasOwnProperty, e3 = Object.prototype.propertyIsEnumerable, y2 = (d, n, i) => n in d ? t0(d, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : d[n] = i, $ = (d, n) => {
|
|
4
4
|
for (var i in n || (n = {})) t3.call(n, i) && y2(d, i, n[i]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as p, j as x, c as k } from "./index-
|
|
1
|
+
import { l as p, j as x, c as k } from "./index-DBJc8aGT.js";
|
|
2
2
|
var Y = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], g = (e) => {
|
|
3
3
|
let t = 0;
|
|
4
4
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as V, c as k } from "./index-
|
|
1
|
+
import { j as V, c as k } from "./index-aJqEl32o.js";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import { useRef as z, useState as D } from "react";
|
|
4
4
|
var B = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], g = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c, v as u, b as N, w as y, d as g, c as v, r as n, k as b, A as w } from "./index-
|
|
1
|
+
import { j as c, v as u, b as N, w as y, d as g, c as v, r as n, k as b, A as w } from "./index-aJqEl32o.js";
|
|
2
2
|
import { Fragment as E } from "react";
|
|
3
3
|
const h = ({ title: l, entries: s = [], showFloatingPoint: e = !1, hidePictures: d = !0 }) => {
|
|
4
4
|
var x, m, r, q, t, o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c, x as u, b as N, y, d as g, l as b, c as v, t as m, k as w, A as E } from "./index-
|
|
1
|
+
import { j as c, x as u, b as N, y, d as g, l as b, c as v, t as m, k as w, A as E } from "./index-DBJc8aGT.js";
|
|
2
2
|
const h = ({ title: l, entries: s = [], showFloatingPoint: e = !1, hidePictures: d = !0 }) => {
|
|
3
3
|
var x, n, r, q, t, o;
|
|
4
4
|
const a = l.replace(/\s+/g, "-").toLowerCase();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as S, j as e, G as p, T as C } from "./index-
|
|
1
|
+
import { u as S, j as e, G as p, T as C } from "./index-aJqEl32o.js";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { u as N, C as g, I as h, S as x, o as E, c as I, a as f } from "./index.esm-
|
|
3
|
+
import { u as N, C as g, I as h, S as x, o as E, c as I, a as f } from "./index.esm-B20idR_b.js";
|
|
4
4
|
const L = I().shape({
|
|
5
5
|
email: f().required("Please enter your email").email("Enter a valid email"),
|
|
6
6
|
password: f().required("Please enter your password").min(8, "Min password length is 8")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as v, l as d, j as e, I as p, T as C } from "./index-
|
|
2
|
-
import { u as E, C as g, I as x, S as h, o as N, c as I, a as w } from "./index.esm-
|
|
1
|
+
import { u as v, l as d, j as e, I as p, T as C } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { u as E, C as g, I as x, S as h, o as N, c as I, a as w } from "./index.esm-Dn93q3tG.js";
|
|
3
3
|
const L = I().shape({
|
|
4
4
|
email: w().required("Please enter your email").email("Enter a valid email"),
|
|
5
5
|
password: w().required("Please enter your password").min(8, "Min password length is 8")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as y, j as m, T as ht, I as Et, aF as Pt, m as St, q as
|
|
2
|
-
import { u as kt } from "./ContentsPage-
|
|
3
|
-
import { D as Di, a as Ni, b as ji, c as Fi, d as zi, r as $i, P as xe, u as je, e as Ot, f as Bi, g as It, h as Hi, i as Vi, R as Ui, j as pe, k as Wi, F as Gi, l as Yi, m as
|
|
4
|
-
import { L as Xi, I as
|
|
5
|
-
function
|
|
1
|
+
import { l as y, j as m, T as ht, I as Et, aF as Pt, m as St, q as K, e as Ri, aG as ki, u as _t, k as Oi, A as Ii, aH as ke, aI as Li, b as Rt, aJ as Mi, c as He, t as ft, aK as Me } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { u as kt } from "./ContentsPage-RiT6kUjx.js";
|
|
3
|
+
import { D as Di, a as Ni, b as ji, c as Fi, d as zi, r as $i, P as xe, u as je, e as Ot, f as Bi, g as It, h as Hi, i as Vi, R as Ui, j as pe, k as Wi, F as Gi, l as Yi, m as Zi, n as Ki } from "./Dialog-DQeFyfX-.js";
|
|
4
|
+
import { L as Xi, I as Ji } from "./LazyLoadImage-CtYNbO0V.js";
|
|
5
|
+
function Qi(t) {
|
|
6
6
|
const e = y.useRef(t);
|
|
7
7
|
return (!t || !e.current || t.length !== e.current.length || e.current.some((i, s) => i !== t[s])) && (e.current = t), e.current;
|
|
8
8
|
}
|
|
@@ -19,7 +19,7 @@ function ts(t, e) {
|
|
|
19
19
|
return i;
|
|
20
20
|
}
|
|
21
21
|
function Ve(t, e, i) {
|
|
22
|
-
const [[s], n] = y.useReducer(es, [i]), o =
|
|
22
|
+
const [[s], n] = y.useReducer(es, [i]), o = Qi(e), r = y.useRef(void 0);
|
|
23
23
|
return { containerRef: y.useCallback(
|
|
24
24
|
(c) => {
|
|
25
25
|
var h;
|
|
@@ -43,15 +43,15 @@ function H({ width: t, height: e }) {
|
|
|
43
43
|
return t / e;
|
|
44
44
|
}
|
|
45
45
|
const ns = Object.freeze([1200, 600, 300, 0]);
|
|
46
|
-
function
|
|
46
|
+
function Q(t, e) {
|
|
47
47
|
return typeof t == "function" ? t(e) : t;
|
|
48
48
|
}
|
|
49
49
|
function Mt(t, e) {
|
|
50
|
-
return e !== void 0 ?
|
|
50
|
+
return e !== void 0 ? Q(t, e) : void 0;
|
|
51
51
|
}
|
|
52
52
|
function os(t, e) {
|
|
53
53
|
const i = ns.findIndex((s) => s <= e);
|
|
54
|
-
return
|
|
54
|
+
return Q(t[Math.max(i, 0)], e);
|
|
55
55
|
}
|
|
56
56
|
function me(t, e, i, s = 0) {
|
|
57
57
|
if (e === void 0) return;
|
|
@@ -67,8 +67,8 @@ function Ue(t, {
|
|
|
67
67
|
return {
|
|
68
68
|
spacing: me(e, t, [20, 15, 10, 5]),
|
|
69
69
|
padding: me(i, t, [0, 0, 0, 0]),
|
|
70
|
-
componentsProps:
|
|
71
|
-
render:
|
|
70
|
+
componentsProps: Q(s, t) || {},
|
|
71
|
+
render: Q(n, t)
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
function ge(t, e = 0) {
|
|
@@ -183,14 +183,14 @@ function ds({
|
|
|
183
183
|
variables: { trackSize: D, ...E }
|
|
184
184
|
},
|
|
185
185
|
A.map((P) => {
|
|
186
|
-
const { photo: L, index: R, width: S } = P, { key: N, src: _, alt: k, title: C, label: M } = L, j = n ? (
|
|
187
|
-
n({ event:
|
|
186
|
+
const { photo: L, index: R, width: S } = P, { key: N, src: _, alt: k, title: C, label: M } = L, j = n ? (Z) => {
|
|
187
|
+
n({ event: Z, photo: L, index: R });
|
|
188
188
|
} : void 0;
|
|
189
189
|
if (l) {
|
|
190
|
-
const
|
|
191
|
-
if (
|
|
190
|
+
const Z = l({ onClick: j }, P);
|
|
191
|
+
if (Z) return Z;
|
|
192
192
|
}
|
|
193
|
-
const ne = (
|
|
193
|
+
const ne = (Z) => M ? { "aria-label": M, ...Z } : Z;
|
|
194
194
|
return m.jsx(
|
|
195
195
|
cs,
|
|
196
196
|
{
|
|
@@ -204,11 +204,11 @@ function ds({
|
|
|
204
204
|
alt: k,
|
|
205
205
|
title: C,
|
|
206
206
|
...rs(L, e, S, v, I, x, w),
|
|
207
|
-
...
|
|
207
|
+
...Q(p, P)
|
|
208
208
|
},
|
|
209
|
-
link: ne(
|
|
210
|
-
button: ne(
|
|
211
|
-
wrapper:
|
|
209
|
+
link: ne(Q(u, P)),
|
|
210
|
+
button: ne(Q(a, P)),
|
|
211
|
+
wrapper: Q(f, P)
|
|
212
212
|
},
|
|
213
213
|
...P
|
|
214
214
|
},
|
|
@@ -1422,7 +1422,7 @@ class Ys {
|
|
|
1422
1422
|
});
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
|
-
class
|
|
1425
|
+
class Zs {
|
|
1426
1426
|
constructor(e) {
|
|
1427
1427
|
this.lightbox = e, this.fullscreen = !1, this.options = {
|
|
1428
1428
|
fullScreenButtonOrder: 7
|
|
@@ -1451,7 +1451,7 @@ class Ks {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
/*! Slideshow plugin for PhotoSwipe v5. https://github.com/htmltiger/photoswipe-slideshow */
|
|
1454
|
-
class
|
|
1454
|
+
class Ks {
|
|
1455
1455
|
constructor(e, i = {}) {
|
|
1456
1456
|
this.lightbox = e, this.autoHideTimer = null, this.uiVisible = !0, this.options = Object.assign(
|
|
1457
1457
|
{
|
|
@@ -1614,7 +1614,7 @@ const Xs = {
|
|
|
1614
1614
|
function B(t) {
|
|
1615
1615
|
return t && t.data && t.data.type === "video";
|
|
1616
1616
|
}
|
|
1617
|
-
class
|
|
1617
|
+
class Js {
|
|
1618
1618
|
constructor(e, i) {
|
|
1619
1619
|
this.options = i, this.initLightboxEvents(e), e.on("init", () => {
|
|
1620
1620
|
this.initPswpEvents(e.pswp);
|
|
@@ -1694,9 +1694,9 @@ class Qs {
|
|
|
1694
1694
|
return B(i) ? !0 : e;
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
|
-
class
|
|
1697
|
+
class Qs {
|
|
1698
1698
|
constructor(e, i = {}) {
|
|
1699
|
-
new
|
|
1699
|
+
new Js(e, {
|
|
1700
1700
|
...Xs,
|
|
1701
1701
|
...i
|
|
1702
1702
|
});
|
|
@@ -1734,7 +1734,7 @@ const en = ({ ad: t, onClose: e, captureAdClick: i }) => /* @__PURE__ */ m.jsx(D
|
|
|
1734
1734
|
] }) }), tn = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ge = ({ url: t, alt: e = "", thumbnailUrl: i, blurhash: s, pswpData: n = {}, curateLink: o, onClick: r }) => {
|
|
1735
1735
|
const l = /* @__PURE__ */ m.jsxs(y.Fragment, { children: [
|
|
1736
1736
|
/* @__PURE__ */ m.jsx(Xi, { threshold: 0.1, src: i || t, blurhash: s, alt: e }),
|
|
1737
|
-
n.type ===
|
|
1737
|
+
n.type === K.VIDEO && /* @__PURE__ */ m.jsx("div", { className: "qc-absolute qc-left-0 qc-top-0 qc-flex qc-size-full qc-items-center qc-justify-center qc-opacity-75 dark:qc-bg-opacity-50", children: /* @__PURE__ */ m.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-16 qc-text-white lg:qc-size-24", viewBox: "0 0 24 24", children: /* @__PURE__ */ m.jsx("path", { fill: "currentColor", d: "M8 17.175V6.825q0-.425.3-.713t.7-.287q.125 0 .263.037t.262.113l8.15 5.175q.225.15.338.375t.112.475t-.112.475t-.338.375l-8.15 5.175q-.125.075-.262.113T9 18.175q-.4 0-.7-.288t-.3-.712" }) }) })
|
|
1738
1738
|
] });
|
|
1739
1739
|
return r ? /* @__PURE__ */ m.jsx("button", { className: "qc-size-full", onClick: r, children: l }) : o ? /* @__PURE__ */ m.jsx(Ri, { className: "qc-size-full", to: o, children: l }) : /* @__PURE__ */ m.jsx(
|
|
1740
1740
|
"a",
|
|
@@ -1751,7 +1751,7 @@ const en = ({ ad: t, onClose: e, captureAdClick: i }) => /* @__PURE__ */ m.jsx(D
|
|
|
1751
1751
|
const { captureAdImpression: n, captureAdEngagement: o, captureAdClick: r } = kt();
|
|
1752
1752
|
return /* @__PURE__ */ m.jsxs("div", { style: t, className: "qc-group qc-relative qc-mb-4 qc-overflow-hidden qc-rounded", children: [
|
|
1753
1753
|
/* @__PURE__ */ m.jsx(
|
|
1754
|
-
|
|
1754
|
+
Ji,
|
|
1755
1755
|
{
|
|
1756
1756
|
as: "div",
|
|
1757
1757
|
className: "qc-size-full",
|
|
@@ -1771,7 +1771,7 @@ const en = ({ ad: t, onClose: e, captureAdClick: i }) => /* @__PURE__ */ m.jsx(D
|
|
|
1771
1771
|
onClick: i ? s : null,
|
|
1772
1772
|
pswpData: {
|
|
1773
1773
|
id: e._id,
|
|
1774
|
-
type:
|
|
1774
|
+
type: K.AD,
|
|
1775
1775
|
hash: e._id,
|
|
1776
1776
|
width: e.width,
|
|
1777
1777
|
height: e.height,
|
|
@@ -1806,35 +1806,38 @@ const en = ({ ad: t, onClose: e, captureAdClick: i }) => /* @__PURE__ */ m.jsx(D
|
|
|
1806
1806
|
}, nn = () => {
|
|
1807
1807
|
const t = ki(), { getAccessToken: e } = _t();
|
|
1808
1808
|
return { handleReactionClick: async (s, n, o, r) => {
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1809
|
+
try {
|
|
1810
|
+
await Oi.post(Ii.UPDATE_REACTION, {
|
|
1811
|
+
json: {
|
|
1812
|
+
accessToken: await e(),
|
|
1813
|
+
eventId: n,
|
|
1814
|
+
contentId: o,
|
|
1815
|
+
reaction: r,
|
|
1816
|
+
integrationReaction: s
|
|
1817
|
+
}
|
|
1818
|
+
}), t.setQueriesData([`content-list-by-event-${n}`], (l) => {
|
|
1819
|
+
if (l != null && l.pages && Array.isArray(l.pages))
|
|
1820
|
+
return {
|
|
1821
|
+
...l,
|
|
1822
|
+
pages: l.pages.map((c) => c.data ? {
|
|
1823
|
+
...c,
|
|
1824
|
+
data: c.data.map((d) => {
|
|
1825
|
+
if (d._id === o) {
|
|
1826
|
+
const h = d.reactionCounts || {};
|
|
1827
|
+
return d.userReaction && (h[d.userReaction] = (h[d.userReaction] || 1) - 1), h[r] = (h[r] || 0) + 1, {
|
|
1828
|
+
...d,
|
|
1829
|
+
reactionCounts: h,
|
|
1830
|
+
userReaction: r
|
|
1831
|
+
};
|
|
1832
|
+
}
|
|
1833
|
+
return d;
|
|
1834
|
+
})
|
|
1835
|
+
} : c)
|
|
1836
|
+
};
|
|
1837
|
+
});
|
|
1838
|
+
} catch (l) {
|
|
1839
|
+
console.error("Error handling reaction click:", l);
|
|
1840
|
+
}
|
|
1838
1841
|
} };
|
|
1839
1842
|
}, on = ["top", "right", "bottom", "left"], ee = Math.min, F = Math.max, Pe = Math.round, Ce = Math.floor, W = (t) => ({
|
|
1840
1843
|
x: t,
|
|
@@ -1854,7 +1857,7 @@ function ze(t, e, i) {
|
|
|
1854
1857
|
function X(t, e) {
|
|
1855
1858
|
return typeof t == "function" ? t(e) : t;
|
|
1856
1859
|
}
|
|
1857
|
-
function
|
|
1860
|
+
function J(t) {
|
|
1858
1861
|
return t.split("-")[0];
|
|
1859
1862
|
}
|
|
1860
1863
|
function ce(t) {
|
|
@@ -1863,18 +1866,18 @@ function ce(t) {
|
|
|
1863
1866
|
function Ye(t) {
|
|
1864
1867
|
return t === "x" ? "y" : "x";
|
|
1865
1868
|
}
|
|
1866
|
-
function
|
|
1869
|
+
function Ze(t) {
|
|
1867
1870
|
return t === "y" ? "height" : "width";
|
|
1868
1871
|
}
|
|
1869
1872
|
function te(t) {
|
|
1870
|
-
return ["top", "bottom"].includes(
|
|
1873
|
+
return ["top", "bottom"].includes(J(t)) ? "y" : "x";
|
|
1871
1874
|
}
|
|
1872
|
-
function
|
|
1875
|
+
function Ke(t) {
|
|
1873
1876
|
return Ye(te(t));
|
|
1874
1877
|
}
|
|
1875
1878
|
function an(t, e, i) {
|
|
1876
1879
|
i === void 0 && (i = !1);
|
|
1877
|
-
const s = ce(t), n =
|
|
1880
|
+
const s = ce(t), n = Ke(t), o = Ze(n);
|
|
1878
1881
|
let r = n === "x" ? s === (i ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
1879
1882
|
return e.reference[o] > e.floating[o] && (r = Se(r)), [r, Se(r)];
|
|
1880
1883
|
}
|
|
@@ -1900,7 +1903,7 @@ function dn(t, e, i) {
|
|
|
1900
1903
|
}
|
|
1901
1904
|
function un(t, e, i, s) {
|
|
1902
1905
|
const n = ce(t);
|
|
1903
|
-
let o = dn(
|
|
1906
|
+
let o = dn(J(t), i === "start", s);
|
|
1904
1907
|
return n && (o = o.map((r) => r + "-" + n), e && (o = o.concat(o.map($e)))), o;
|
|
1905
1908
|
}
|
|
1906
1909
|
function Se(t) {
|
|
@@ -1946,7 +1949,7 @@ function wt(t, e, i) {
|
|
|
1946
1949
|
reference: s,
|
|
1947
1950
|
floating: n
|
|
1948
1951
|
} = t;
|
|
1949
|
-
const o = te(e), r =
|
|
1952
|
+
const o = te(e), r = Ke(e), l = Ze(r), c = J(e), d = o === "y", h = s.x + s.width / 2 - n.width / 2, u = s.y + s.height / 2 - n.height / 2, a = s[l] / 2 - n[l] / 2;
|
|
1950
1953
|
let f;
|
|
1951
1954
|
switch (c) {
|
|
1952
1955
|
case "top":
|
|
@@ -2116,7 +2119,7 @@ const pn = (t) => ({
|
|
|
2116
2119
|
const u = Bt(h), a = {
|
|
2117
2120
|
x: i,
|
|
2118
2121
|
y: s
|
|
2119
|
-
}, f =
|
|
2122
|
+
}, f = Ke(n), p = Ze(f), g = await r.getDimensions(d), x = f === "y", w = x ? "top" : "left", v = x ? "bottom" : "right", b = x ? "clientHeight" : "clientWidth", T = o.reference[p] + o.reference[f] - a[f] - o.floating[p], q = a[f] - o.reference[f], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
|
|
2120
2123
|
let E = A ? A[b] : 0;
|
|
2121
2124
|
(!E || !await (r.isElement == null ? void 0 : r.isElement(A))) && (E = l.floating[b] || o.floating[p]);
|
|
2122
2125
|
const O = T / 2 - q / 2, D = E / 2 - g[p] / 2 - 1, I = ee(u[w], D), P = ee(u[v], D), L = I, R = E - g[p] - P, S = E / 2 - g[p] / 2 + O, N = ze(L, S, R), _ = !c.arrow && ce(n) != null && S !== N && o.reference[p] / 2 - (S < L ? I : P) - g[p] / 2 < 0, k = _ ? S < L ? S - L : S - R : 0;
|
|
@@ -2156,7 +2159,7 @@ const pn = (t) => ({
|
|
|
2156
2159
|
} = X(t, e);
|
|
2157
2160
|
if ((i = o.arrow) != null && i.alignmentOffset)
|
|
2158
2161
|
return {};
|
|
2159
|
-
const w =
|
|
2162
|
+
const w = J(n), v = te(l), b = J(l) === l, T = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), q = a || (b || !g ? [Se(l)] : cn(l)), A = p !== "none";
|
|
2160
2163
|
!a && A && q.push(...un(l, g, p, T));
|
|
2161
2164
|
const E = [l, ...q], O = await ye(e, x), D = [];
|
|
2162
2165
|
let I = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -2270,7 +2273,7 @@ async function yn(t, e) {
|
|
|
2270
2273
|
placement: i,
|
|
2271
2274
|
platform: s,
|
|
2272
2275
|
elements: n
|
|
2273
|
-
} = t, o = await (s.isRTL == null ? void 0 : s.isRTL(n.floating)), r =
|
|
2276
|
+
} = t, o = await (s.isRTL == null ? void 0 : s.isRTL(n.floating)), r = J(i), l = ce(i), c = te(i) === "y", d = ["left", "top"].includes(r) ? -1 : 1, h = o && c ? -1 : 1, u = X(e, t);
|
|
2274
2277
|
let {
|
|
2275
2278
|
mainAxis: a,
|
|
2276
2279
|
crossAxis: f,
|
|
@@ -2342,7 +2345,7 @@ const wn = function(t) {
|
|
|
2342
2345
|
} = X(t, e), d = {
|
|
2343
2346
|
x: i,
|
|
2344
2347
|
y: s
|
|
2345
|
-
}, h = await ye(e, c), u = te(
|
|
2348
|
+
}, h = await ye(e, c), u = te(J(n)), a = Ye(u);
|
|
2346
2349
|
let f = d[a], p = d[u];
|
|
2347
2350
|
if (o) {
|
|
2348
2351
|
const x = a === "y" ? "top" : "left", w = a === "y" ? "bottom" : "right", v = f + h[x], b = f - h[w];
|
|
@@ -2403,7 +2406,7 @@ const wn = function(t) {
|
|
|
2403
2406
|
}
|
|
2404
2407
|
if (d) {
|
|
2405
2408
|
var w, v;
|
|
2406
|
-
const b = a === "y" ? "width" : "height", T = ["top", "left"].includes(
|
|
2409
|
+
const b = a === "y" ? "width" : "height", T = ["top", "left"].includes(J(n)), q = o.reference[u] - o.floating[b] + (T && ((w = r.offset) == null ? void 0 : w[u]) || 0) + (T ? 0 : x.crossAxis), A = o.reference[u] + o.reference[b] + (T ? 0 : ((v = r.offset) == null ? void 0 : v[u]) || 0) - (T ? x.crossAxis : 0);
|
|
2407
2410
|
p < q ? p = q : p > A && (p = A);
|
|
2408
2411
|
}
|
|
2409
2412
|
return {
|
|
@@ -2427,7 +2430,7 @@ const wn = function(t) {
|
|
|
2427
2430
|
apply: c = () => {
|
|
2428
2431
|
},
|
|
2429
2432
|
...d
|
|
2430
|
-
} = X(t, e), h = await ye(e, d), u =
|
|
2433
|
+
} = X(t, e), h = await ye(e, d), u = J(n), a = ce(n), f = te(n) === "y", {
|
|
2431
2434
|
width: p,
|
|
2432
2435
|
height: g
|
|
2433
2436
|
} = o.floating;
|
|
@@ -2501,7 +2504,7 @@ function Ie(t) {
|
|
|
2501
2504
|
});
|
|
2502
2505
|
}
|
|
2503
2506
|
function Xe(t) {
|
|
2504
|
-
const e =
|
|
2507
|
+
const e = Je(), i = V(t) ? U(t) : t;
|
|
2505
2508
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((s) => i[s] ? i[s] !== "none" : !1) || (i.containerType ? i.containerType !== "normal" : !1) || !e && (i.backdropFilter ? i.backdropFilter !== "none" : !1) || !e && (i.filter ? i.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((s) => (i.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (i.contain || "").includes(s));
|
|
2506
2509
|
}
|
|
2507
2510
|
function qn(t) {
|
|
@@ -2515,7 +2518,7 @@ function qn(t) {
|
|
|
2515
2518
|
}
|
|
2516
2519
|
return null;
|
|
2517
2520
|
}
|
|
2518
|
-
function
|
|
2521
|
+
function Je() {
|
|
2519
2522
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
2520
2523
|
}
|
|
2521
2524
|
function le(t) {
|
|
@@ -2572,11 +2575,11 @@ function Ut(t) {
|
|
|
2572
2575
|
$: l
|
|
2573
2576
|
};
|
|
2574
2577
|
}
|
|
2575
|
-
function
|
|
2578
|
+
function Qe(t) {
|
|
2576
2579
|
return V(t) ? t : t.contextElement;
|
|
2577
2580
|
}
|
|
2578
2581
|
function re(t) {
|
|
2579
|
-
const e =
|
|
2582
|
+
const e = Qe(t);
|
|
2580
2583
|
if (!G(e))
|
|
2581
2584
|
return W(1);
|
|
2582
2585
|
const i = e.getBoundingClientRect(), {
|
|
@@ -2593,7 +2596,7 @@ function re(t) {
|
|
|
2593
2596
|
const Cn = /* @__PURE__ */ W(0);
|
|
2594
2597
|
function Wt(t) {
|
|
2595
2598
|
const e = z(t);
|
|
2596
|
-
return !
|
|
2599
|
+
return !Je() || !e.visualViewport ? Cn : {
|
|
2597
2600
|
x: e.visualViewport.offsetLeft,
|
|
2598
2601
|
y: e.visualViewport.offsetTop
|
|
2599
2602
|
};
|
|
@@ -2603,7 +2606,7 @@ function An(t, e, i) {
|
|
|
2603
2606
|
}
|
|
2604
2607
|
function oe(t, e, i, s) {
|
|
2605
2608
|
e === void 0 && (e = !1), i === void 0 && (i = !1);
|
|
2606
|
-
const n = t.getBoundingClientRect(), o =
|
|
2609
|
+
const n = t.getBoundingClientRect(), o = Qe(t);
|
|
2607
2610
|
let r = W(1);
|
|
2608
2611
|
e && (s ? V(s) && (r = re(s)) : r = re(t));
|
|
2609
2612
|
const l = An(o, i, s) ? Wt(o) : W(0);
|
|
@@ -2684,7 +2687,7 @@ function _n(t, e) {
|
|
|
2684
2687
|
let o = s.clientWidth, r = s.clientHeight, l = 0, c = 0;
|
|
2685
2688
|
if (n) {
|
|
2686
2689
|
o = n.width, r = n.height;
|
|
2687
|
-
const d =
|
|
2690
|
+
const d = Je();
|
|
2688
2691
|
(!d || d && e === "fixed") && (l = n.offsetLeft, c = n.offsetTop);
|
|
2689
2692
|
}
|
|
2690
2693
|
return {
|
|
@@ -2798,7 +2801,7 @@ function qt(t, e) {
|
|
|
2798
2801
|
let i = t.offsetParent;
|
|
2799
2802
|
return Y(t) === i && (i = i.ownerDocument.body), i;
|
|
2800
2803
|
}
|
|
2801
|
-
function
|
|
2804
|
+
function Zt(t, e) {
|
|
2802
2805
|
const i = z(t);
|
|
2803
2806
|
if (Ie(t))
|
|
2804
2807
|
return i;
|
|
@@ -2817,7 +2820,7 @@ function Kt(t, e) {
|
|
|
2817
2820
|
return s && le(s) && De(s) && !Xe(s) ? i : s || qn(t) || i;
|
|
2818
2821
|
}
|
|
2819
2822
|
const Mn = async function(t) {
|
|
2820
|
-
const e = this.getOffsetParent ||
|
|
2823
|
+
const e = this.getOffsetParent || Zt, i = this.getDimensions, s = await i(t.floating);
|
|
2821
2824
|
return {
|
|
2822
2825
|
reference: Ln(t.reference, await e(t.floating), t.strategy),
|
|
2823
2826
|
floating: {
|
|
@@ -2835,7 +2838,7 @@ const Nn = {
|
|
|
2835
2838
|
convertOffsetParentRelativeRectToViewportRelativeRect: En,
|
|
2836
2839
|
getDocumentElement: Y,
|
|
2837
2840
|
getClippingRect: On,
|
|
2838
|
-
getOffsetParent:
|
|
2841
|
+
getOffsetParent: Zt,
|
|
2839
2842
|
getElementRects: Mn,
|
|
2840
2843
|
getClientRects: Pn,
|
|
2841
2844
|
getDimensions: In,
|
|
@@ -2843,7 +2846,7 @@ const Nn = {
|
|
|
2843
2846
|
isElement: V,
|
|
2844
2847
|
isRTL: Dn
|
|
2845
2848
|
};
|
|
2846
|
-
function
|
|
2849
|
+
function Kt(t, e) {
|
|
2847
2850
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
2848
2851
|
}
|
|
2849
2852
|
function jn(t, e) {
|
|
@@ -2877,7 +2880,7 @@ function jn(t, e) {
|
|
|
2877
2880
|
r(!1, 1e-7);
|
|
2878
2881
|
}, 1e3);
|
|
2879
2882
|
}
|
|
2880
|
-
E === 1 && !
|
|
2883
|
+
E === 1 && !Kt(d, t.getBoundingClientRect()) && r(), T = !1;
|
|
2881
2884
|
}
|
|
2882
2885
|
try {
|
|
2883
2886
|
i = new IntersectionObserver(q, {
|
|
@@ -2900,7 +2903,7 @@ function Fn(t, e, i, s) {
|
|
|
2900
2903
|
elementResize: r = typeof ResizeObserver == "function",
|
|
2901
2904
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
2902
2905
|
animationFrame: c = !1
|
|
2903
|
-
} = s, d =
|
|
2906
|
+
} = s, d = Qe(t), h = n || o ? [...d ? we(d) : [], ...we(e)] : [];
|
|
2904
2907
|
h.forEach((w) => {
|
|
2905
2908
|
n && w.addEventListener("scroll", i, {
|
|
2906
2909
|
passive: !0
|
|
@@ -2919,7 +2922,7 @@ function Fn(t, e, i, s) {
|
|
|
2919
2922
|
c && x();
|
|
2920
2923
|
function x() {
|
|
2921
2924
|
const w = oe(t);
|
|
2922
|
-
g && !
|
|
2925
|
+
g && !Kt(g, w) && i(), g = w, p = requestAnimationFrame(x);
|
|
2923
2926
|
}
|
|
2924
2927
|
return i(), () => {
|
|
2925
2928
|
var w;
|
|
@@ -3108,19 +3111,19 @@ const Yn = (t) => {
|
|
|
3108
3111
|
}).fn(i) : {};
|
|
3109
3112
|
}
|
|
3110
3113
|
};
|
|
3111
|
-
},
|
|
3114
|
+
}, Zn = (t, e) => ({
|
|
3112
3115
|
...zn(t),
|
|
3113
3116
|
options: [t, e]
|
|
3114
|
-
}),
|
|
3117
|
+
}), Kn = (t, e) => ({
|
|
3115
3118
|
...$n(t),
|
|
3116
3119
|
options: [t, e]
|
|
3117
3120
|
}), Xn = (t, e) => ({
|
|
3118
3121
|
...Un(t),
|
|
3119
3122
|
options: [t, e]
|
|
3120
|
-
}),
|
|
3123
|
+
}), Jn = (t, e) => ({
|
|
3121
3124
|
...Bn(t),
|
|
3122
3125
|
options: [t, e]
|
|
3123
|
-
}),
|
|
3126
|
+
}), Qn = (t, e) => ({
|
|
3124
3127
|
...Hn(t),
|
|
3125
3128
|
options: [t, e]
|
|
3126
3129
|
}), eo = (t, e) => ({
|
|
@@ -3130,7 +3133,7 @@ const Yn = (t) => {
|
|
|
3130
3133
|
...Yn(t),
|
|
3131
3134
|
options: [t, e]
|
|
3132
3135
|
});
|
|
3133
|
-
var io = "Arrow",
|
|
3136
|
+
var io = "Arrow", Jt = y.forwardRef((t, e) => {
|
|
3134
3137
|
const { children: i, width: s = 10, height: n = 5, ...o } = t;
|
|
3135
3138
|
return /* @__PURE__ */ m.jsx(
|
|
3136
3139
|
xe.svg,
|
|
@@ -3145,8 +3148,8 @@ var io = "Arrow", Qt = y.forwardRef((t, e) => {
|
|
|
3145
3148
|
}
|
|
3146
3149
|
);
|
|
3147
3150
|
});
|
|
3148
|
-
|
|
3149
|
-
var so =
|
|
3151
|
+
Jt.displayName = io;
|
|
3152
|
+
var so = Jt;
|
|
3150
3153
|
function no(t) {
|
|
3151
3154
|
const [e, i] = y.useState(void 0);
|
|
3152
3155
|
return je(() => {
|
|
@@ -3169,7 +3172,7 @@ function no(t) {
|
|
|
3169
3172
|
i(void 0);
|
|
3170
3173
|
}, [t]), e;
|
|
3171
3174
|
}
|
|
3172
|
-
var tt = "Popper", [
|
|
3175
|
+
var tt = "Popper", [Qt, ei] = Ot(tt), [oo, ti] = Qt(tt), ii = (t) => {
|
|
3173
3176
|
const { __scopePopper: e, children: i } = t, [s, n] = y.useState(null);
|
|
3174
3177
|
return /* @__PURE__ */ m.jsx(oo, { scope: e, anchor: s, onAnchorChange: n, children: i });
|
|
3175
3178
|
};
|
|
@@ -3183,7 +3186,7 @@ var si = "PopperAnchor", ni = y.forwardRef(
|
|
|
3183
3186
|
}
|
|
3184
3187
|
);
|
|
3185
3188
|
ni.displayName = si;
|
|
3186
|
-
var it = "PopperContent", [ro, lo] =
|
|
3189
|
+
var it = "PopperContent", [ro, lo] = Qt(it), oi = y.forwardRef(
|
|
3187
3190
|
(t, e) => {
|
|
3188
3191
|
var ot, rt, lt, at, ct, dt;
|
|
3189
3192
|
const {
|
|
@@ -3217,15 +3220,15 @@ var it = "PopperContent", [ro, lo] = Jt(it), oi = y.forwardRef(
|
|
|
3217
3220
|
reference: x.anchor
|
|
3218
3221
|
},
|
|
3219
3222
|
middleware: [
|
|
3220
|
-
|
|
3221
|
-
c &&
|
|
3223
|
+
Zn({ mainAxis: n + O, alignmentAxis: r }),
|
|
3224
|
+
c && Kn({
|
|
3222
3225
|
mainAxis: !0,
|
|
3223
3226
|
crossAxis: !1,
|
|
3224
3227
|
limiter: u === "partial" ? Xn() : void 0,
|
|
3225
3228
|
...R
|
|
3226
3229
|
}),
|
|
3227
|
-
c &&
|
|
3228
|
-
|
|
3230
|
+
c && Jn({ ...R }),
|
|
3231
|
+
Qn({
|
|
3229
3232
|
...R,
|
|
3230
3233
|
apply: ({ elements: ue, rects: ut, availableWidth: Ei, availableHeight: Pi }) => {
|
|
3231
3234
|
const { width: Si, height: _i } = ut.reference, Te = ue.floating.style;
|
|
@@ -3240,7 +3243,7 @@ var it = "PopperContent", [ro, lo] = Jt(it), oi = y.forwardRef(
|
|
|
3240
3243
|
je(() => {
|
|
3241
3244
|
k && (ne == null || ne());
|
|
3242
3245
|
}, [k, ne]);
|
|
3243
|
-
const
|
|
3246
|
+
const Z = (ot = C.arrow) == null ? void 0 : ot.x, Ti = (rt = C.arrow) == null ? void 0 : rt.y, qi = ((lt = C.arrow) == null ? void 0 : lt.centerOffset) !== 0, [Ci, Ai] = y.useState();
|
|
3244
3247
|
return je(() => {
|
|
3245
3248
|
w && Ai(window.getComputedStyle(w).zIndex);
|
|
3246
3249
|
}, [w]), /* @__PURE__ */ m.jsx(
|
|
@@ -3273,7 +3276,7 @@ var it = "PopperContent", [ro, lo] = Jt(it), oi = y.forwardRef(
|
|
|
3273
3276
|
scope: i,
|
|
3274
3277
|
placedSide: M,
|
|
3275
3278
|
onArrowChange: q,
|
|
3276
|
-
arrowX:
|
|
3279
|
+
arrowX: Z,
|
|
3277
3280
|
arrowY: Ti,
|
|
3278
3281
|
shouldHideArrow: qi,
|
|
3279
3282
|
children: /* @__PURE__ */ m.jsx(
|
|
@@ -3366,7 +3369,7 @@ function ai(t) {
|
|
|
3366
3369
|
const [e, i = "center"] = t.split("-");
|
|
3367
3370
|
return [e, i];
|
|
3368
3371
|
}
|
|
3369
|
-
var ho = ii, ci = ni, fo = oi, po = li, st = "Popover", [di,
|
|
3372
|
+
var ho = ii, ci = ni, fo = oi, po = li, st = "Popover", [di, Zo] = Ot(st, [
|
|
3370
3373
|
ei
|
|
3371
3374
|
]), be = ei(), [mo, se] = di(st), ui = (t) => {
|
|
3372
3375
|
const {
|
|
@@ -3376,7 +3379,7 @@ var ho = ii, ci = ni, fo = oi, po = li, st = "Popover", [di, Ko] = Ot(st, [
|
|
|
3376
3379
|
defaultOpen: n,
|
|
3377
3380
|
onOpenChange: o,
|
|
3378
3381
|
modal: r = !1
|
|
3379
|
-
} = t, l = be(e), c = y.useRef(null), [d, h] = y.useState(!1), [u = !1, a] =
|
|
3382
|
+
} = t, l = be(e), c = y.useRef(null), [d, h] = y.useState(!1), [u = !1, a] = Zi({
|
|
3380
3383
|
prop: s,
|
|
3381
3384
|
defaultProp: n,
|
|
3382
3385
|
onChange: o
|
|
@@ -3385,7 +3388,7 @@ var ho = ii, ci = ni, fo = oi, po = li, st = "Popover", [di, Ko] = Ot(st, [
|
|
|
3385
3388
|
mo,
|
|
3386
3389
|
{
|
|
3387
3390
|
scope: e,
|
|
3388
|
-
contentId:
|
|
3391
|
+
contentId: Ki(),
|
|
3389
3392
|
triggerRef: c,
|
|
3390
3393
|
open: u,
|
|
3391
3394
|
onOpenChange: a,
|
|
@@ -3704,7 +3707,7 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3704
3707
|
curateLink: o,
|
|
3705
3708
|
pswpData: {
|
|
3706
3709
|
id: i._id,
|
|
3707
|
-
type:
|
|
3710
|
+
type: K.IMAGE,
|
|
3708
3711
|
hash: i._id,
|
|
3709
3712
|
width: i.width,
|
|
3710
3713
|
height: i.height,
|
|
@@ -3744,7 +3747,7 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3744
3747
|
curateLink: s,
|
|
3745
3748
|
pswpData: {
|
|
3746
3749
|
id: t._id,
|
|
3747
|
-
type:
|
|
3750
|
+
type: K.VIDEO,
|
|
3748
3751
|
hash: t._id,
|
|
3749
3752
|
width: t.width,
|
|
3750
3753
|
height: t.height,
|
|
@@ -3767,9 +3770,9 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3767
3770
|
wheelToZoom: !0,
|
|
3768
3771
|
pinchToClose: !0,
|
|
3769
3772
|
zoom: !1,
|
|
3770
|
-
pswpModule: () => import("./photoswipe-
|
|
3773
|
+
pswpModule: () => import("./photoswipe-SXGuxPZM.js")
|
|
3771
3774
|
});
|
|
3772
|
-
r.current = a, new
|
|
3775
|
+
r.current = a, new Qs(a), new Ys(a), new Zs(a), new Ks(a), a.init();
|
|
3773
3776
|
}
|
|
3774
3777
|
return () => {
|
|
3775
3778
|
var a;
|
|
@@ -3797,7 +3800,7 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3797
3800
|
photos: e.map((a) => {
|
|
3798
3801
|
var f, p;
|
|
3799
3802
|
return {
|
|
3800
|
-
src: a.type ===
|
|
3803
|
+
src: a.type === K.IMAGE || a.type === K.VIDEO ? a.url : a.imageUrl,
|
|
3801
3804
|
width: (f = a.dimension) == null ? void 0 : f.width,
|
|
3802
3805
|
height: (p = a.dimension) == null ? void 0 : p.height,
|
|
3803
3806
|
...a
|
|
@@ -3816,13 +3819,13 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3816
3819
|
photo: (a, { photo: f, width: p, height: g, index: x }) => {
|
|
3817
3820
|
let w;
|
|
3818
3821
|
switch (f.type) {
|
|
3819
|
-
case
|
|
3822
|
+
case K.IMAGE:
|
|
3820
3823
|
w = Oo;
|
|
3821
3824
|
break;
|
|
3822
|
-
case
|
|
3825
|
+
case K.VIDEO:
|
|
3823
3826
|
w = Io;
|
|
3824
3827
|
break;
|
|
3825
|
-
case
|
|
3828
|
+
case K.AD:
|
|
3826
3829
|
w = sn;
|
|
3827
3830
|
break;
|
|
3828
3831
|
}
|
|
@@ -3847,13 +3850,13 @@ const _o = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3847
3850
|
),
|
|
3848
3851
|
/* @__PURE__ */ m.jsx(en, { ad: d, onClose: () => h(null), captureAdClick: c })
|
|
3849
3852
|
] });
|
|
3850
|
-
},
|
|
3853
|
+
}, Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3851
3854
|
__proto__: null,
|
|
3852
3855
|
default: Lo
|
|
3853
3856
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3854
3857
|
export {
|
|
3855
3858
|
Yo as C,
|
|
3856
|
-
|
|
3859
|
+
Ko as M,
|
|
3857
3860
|
Ws as P,
|
|
3858
3861
|
Bs as Z,
|
|
3859
3862
|
Vo as a,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as m, T as mt, G as _t, aB as Rt, l as kt, p as K, e as Di, aC as Ni, u as Ot, k as ji, A as Fi, aD as Ie, aE as zi, b as It, aF as $i, c as Ue, r as gt, aG as Ne } from "./index-
|
|
1
|
+
import { j as m, T as mt, G as _t, aB as Rt, l as kt, p as K, e as Di, aC as Ni, u as Ot, k as ji, A as Fi, aD as Ie, aE as zi, b as It, aF as $i, c as Ue, r as gt, aG as Ne } from "./index-aJqEl32o.js";
|
|
2
2
|
import * as x from "react";
|
|
3
3
|
import { useReducer as Bi, useRef as We, useCallback as Hi, forwardRef as ce, createElement as Vi, useMemo as ge, Fragment as Lt, useLayoutEffect as Ui, useEffect as Mt, useState as Dt } from "react";
|
|
4
|
-
import { u as Nt } from "./ContentsPage-
|
|
5
|
-
import { D as Wi, a as Gi, b as Yi, c as Zi, d as Ki, P as be, u as ze, e as jt, f as Xi, g as Ft, h as Qi, i as Ji, R as es, j as me, k as ts, F as is, l as ss, m as ns, n as os } from "./Dialog-
|
|
6
|
-
import { L as rs, I as ls } from "./LazyLoadImage-
|
|
4
|
+
import { u as Nt } from "./ContentsPage-pBMHPSXz.js";
|
|
5
|
+
import { D as Wi, a as Gi, b as Yi, c as Zi, d as Ki, P as be, u as ze, e as jt, f as Xi, g as Ft, h as Qi, i as Ji, R as es, j as me, k as ts, F as is, l as ss, m as ns, n as os } from "./Dialog-WfHGpbEh.js";
|
|
6
|
+
import { L as rs, I as ls } from "./LazyLoadImage-l2_fiQFV.js";
|
|
7
7
|
import * as as from "react-dom";
|
|
8
8
|
function cs(t) {
|
|
9
9
|
const e = We(t);
|
|
@@ -1809,35 +1809,38 @@ const un = ({ ad: t, onClose: e, captureAdClick: i }) => /* @__PURE__ */ m.jsx(W
|
|
|
1809
1809
|
}, pn = () => {
|
|
1810
1810
|
const t = Ni(), { getAccessToken: e } = Ot();
|
|
1811
1811
|
return { handleReactionClick: async (s, n, o, r) => {
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1812
|
+
try {
|
|
1813
|
+
await ji.post(Fi.UPDATE_REACTION, {
|
|
1814
|
+
json: {
|
|
1815
|
+
accessToken: await e(),
|
|
1816
|
+
eventId: n,
|
|
1817
|
+
contentId: o,
|
|
1818
|
+
reaction: r,
|
|
1819
|
+
integrationReaction: s
|
|
1820
|
+
}
|
|
1821
|
+
}), t.setQueriesData([`content-list-by-event-${n}`], (l) => {
|
|
1822
|
+
if (l != null && l.pages && Array.isArray(l.pages))
|
|
1823
|
+
return {
|
|
1824
|
+
...l,
|
|
1825
|
+
pages: l.pages.map((c) => c.data ? {
|
|
1826
|
+
...c,
|
|
1827
|
+
data: c.data.map((d) => {
|
|
1828
|
+
if (d._id === o) {
|
|
1829
|
+
const h = d.reactionCounts || {};
|
|
1830
|
+
return d.userReaction && (h[d.userReaction] = (h[d.userReaction] || 1) - 1), h[r] = (h[r] || 0) + 1, {
|
|
1831
|
+
...d,
|
|
1832
|
+
reactionCounts: h,
|
|
1833
|
+
userReaction: r
|
|
1834
|
+
};
|
|
1835
|
+
}
|
|
1836
|
+
return d;
|
|
1837
|
+
})
|
|
1838
|
+
} : c)
|
|
1839
|
+
};
|
|
1840
|
+
});
|
|
1841
|
+
} catch (l) {
|
|
1842
|
+
console.error("Error handling reaction click:", l);
|
|
1843
|
+
}
|
|
1841
1844
|
} };
|
|
1842
1845
|
}, mn = ["top", "right", "bottom", "left"], ee = Math.min, F = Math.max, _e = Math.round, Ee = Math.floor, W = (t) => ({
|
|
1843
1846
|
x: t,
|
|
@@ -3770,7 +3773,7 @@ const Fo = ({ eventId: t, contentId: e, emojis: i = [], counts: s = {}, userReac
|
|
|
3770
3773
|
wheelToZoom: !0,
|
|
3771
3774
|
pinchToClose: !0,
|
|
3772
3775
|
zoom: !1,
|
|
3773
|
-
pswpModule: () => import("./photoswipe-
|
|
3776
|
+
pswpModule: () => import("./photoswipe-mTXhTEM5.js")
|
|
3774
3777
|
});
|
|
3775
3778
|
r.current = a, new dn(a), new on(a), new rn(a), new ln(a), a.init();
|
|
3776
3779
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./WXAWMS3D-
|
|
2
|
-
import { J as v, K as C, L as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./WXAWMS3D-3jDe9YEc.js";
|
|
2
|
+
import { J as v, K as C, L as e } from "./index-aJqEl32o.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as L, j as f, E as g, c as R, T, a as $, b as P, N as m, P as u, d as D, S as x, e as V, F as _, k as B, A as z } from "./index-
|
|
1
|
+
import { u as L, j as f, E as g, c as R, T, a as $, b as P, N as m, P as u, d as D, S as x, e as V, F as _, k as B, A as z } from "./index-aJqEl32o.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { L as H } from "./LazyLoadImage-
|
|
3
|
+
import { L as H } from "./LazyLoadImage-l2_fiQFV.js";
|
|
4
4
|
const M = (r) => r === g.UPCOMING ? "qc-bg-warning" : r === g.CLOSED ? "qc-bg-error" : "qc-bg-success", G = ({ event: r }) => {
|
|
5
5
|
var n, c, a, s;
|
|
6
6
|
const { organization: e } = L(), t = r != null && r.coverImageUrl ? r == null ? void 0 : r.coverImageUrl : ((n = r == null ? void 0 : r.contents) == null ? void 0 : n.length) > 0 ? r.contents[0].thumbnailUrl || r.contents[0].url : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as L, j as f, E as g, c as R, T, a as $, b as P, N as m, P as u, d as D, S as x, e as V, F as _, k as B, A as z } from "./index-
|
|
2
|
-
import { L as H } from "./LazyLoadImage-
|
|
1
|
+
import { u as L, j as f, E as g, c as R, T, a as $, b as P, N as m, P as u, d as D, S as x, e as V, F as _, k as B, A as z } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { L as H } from "./LazyLoadImage-CtYNbO0V.js";
|
|
3
3
|
const M = (r) => r === g.UPCOMING ? "qc-bg-warning" : r === g.CLOSED ? "qc-bg-error" : "qc-bg-success", G = ({ event: r }) => {
|
|
4
4
|
var n, c, a, s;
|
|
5
5
|
const { organization: e } = L(), t = r != null && r.coverImageUrl ? r == null ? void 0 : r.coverImageUrl : ((n = r == null ? void 0 : r.contents) == null ? void 0 : n.length) > 0 ? r.contents[0].thumbnailUrl || r.contents[0].url : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as F, l as w, j as e, I as f, T as q } from "./index-
|
|
2
|
-
import { u as L, C as d, I as m, S as b, o as A, c as R, a as c, b as V } from "./index.esm-
|
|
1
|
+
import { u as F, l as w, j as e, I as f, T as q } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { u as L, C as d, I as m, S as b, o as A, c as R, a as c, b as V } from "./index.esm-Dn93q3tG.js";
|
|
3
3
|
const I = {
|
|
4
4
|
fname: "",
|
|
5
5
|
lname: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as F, j as e, G as f, T as q } from "./index-
|
|
1
|
+
import { u as F, j as e, G as f, T as q } from "./index-aJqEl32o.js";
|
|
2
2
|
import { useState as w, useEffect as L } from "react";
|
|
3
|
-
import { u as A, C as d, I as m, S as b, o as R, c as V, a as c, b as k } from "./index.esm-
|
|
3
|
+
import { u as A, C as d, I as m, S as b, o as R, c as V, a as c, b as k } from "./index.esm-B20idR_b.js";
|
|
4
4
|
const I = {
|
|
5
5
|
fname: "",
|
|
6
6
|
lname: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as D, p as Gn, c as Dt, y as ct, z as Ge, v as Dd, a as Md, b as Od, u as Nd, w as Ud, k as _o, A as Ro, B as Qe, E as Do, S as Mo, x as Oo, N as Ld, P as No, e as kd, G as Bd, T as jd } from "./index-
|
|
1
|
+
import { j as D, p as Gn, c as Dt, y as ct, z as Ge, v as Dd, a as Md, b as Od, u as Nd, w as Ud, k as _o, A as Ro, B as Qe, E as Do, S as Mo, x as Oo, N as Ld, P as No, e as kd, G as Bd, T as jd } from "./index-aJqEl32o.js";
|
|
2
2
|
import * as _s from "react";
|
|
3
3
|
import qn, { useDebugValue as Uo, createElement as Tu, useRef as qe, useContext as Ae, useState as De, useCallback as St, useEffect as Bt, createContext as xn, useLayoutEffect as Gd, useId as Rs, useInsertionEffect as bu, useMemo as ut, Children as qd, isValidElement as Hd, forwardRef as Vd, Fragment as Ds, Component as $d } from "react";
|
|
4
|
-
import { V as zd } from "./VideoPlayer-
|
|
4
|
+
import { V as zd } from "./VideoPlayer-DnJPEyWI.js";
|
|
5
5
|
const Te = [];
|
|
6
6
|
for (let e = 0; e < 256; ++e)
|
|
7
7
|
Te.push((e + 256).toString(16).slice(1));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as Un, l as G, j as D, q as Ln, c as wt, B as at, G as Ge, x as Td, a as bd, b as vd, u as Ad, y as Id, k as bo, A as vo, H as Je, E as Ao, S as Io, z as Co, N as Cd, P as Po, e as Pd, I as Fd, T as wd } from "./index-
|
|
2
|
-
import { V as _d } from "./VideoPlayer-
|
|
1
|
+
import { R as Un, l as G, j as D, q as Ln, c as wt, B as at, G as Ge, x as Td, a as bd, b as vd, u as Ad, y as Id, k as bo, A as vo, H as Je, E as Ao, S as Io, z as Co, N as Cd, P as Po, e as Pd, I as Fd, T as wd } from "./index-DBJc8aGT.js";
|
|
2
|
+
import { V as _d } from "./VideoPlayer-r90lNORm.js";
|
|
3
3
|
const ve = [];
|
|
4
4
|
for (let e = 0; e < 256; ++e)
|
|
5
5
|
ve.push((e + 256).toString(16).slice(1));
|
|
@@ -12220,7 +12220,7 @@ const q6 = 2400, As = ["jpg", "jpeg", "png", "webp", "heic", "tiff", "bmp"], xd
|
|
|
12220
12220
|
try {
|
|
12221
12221
|
const c = (d = (u = e.originalFile) == null ? void 0 : u.name) == null ? void 0 : d.split(".").pop();
|
|
12222
12222
|
if (["heic", "heif"].includes(c == null ? void 0 : c.toLowerCase()) && typeof window < "u") {
|
|
12223
|
-
const l = (await import("./heic2any-
|
|
12223
|
+
const l = (await import("./heic2any-DwyIXiZb.js").then((f) => f.h)).default;
|
|
12224
12224
|
r = await l({ blob: e.originalFile, toType: "image/jpeg" });
|
|
12225
12225
|
}
|
|
12226
12226
|
} catch (c) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bs = Object.defineProperty;
|
|
2
2
|
var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { M as xe, U as z, V as Ft, W as U, K as D, L as m, X as qo, Y as B, Z as _, _ as k, $ as V, a0 as F, a1 as ws, a2 as rr, a3 as $e, a4 as j, a5 as Vn, a6 as Gn, a7 as ut, a8 as A, a9 as xs, aa as ln, ab as Ne, ac as $s, ad as _t, ae as zt, af as Cs, ag as Ss, ah as xn, ai as ks, aj as Kr, ak as Kt, al as Ro, am as Es, an as Ds, ao as W, ap as Br, aq as Ms, ar as As, as as or, at as Fs, au as Ts, av as Rn, aw as Is, ax as Ps, ay as oe, az as Ls, aA as Os } from "./index-
|
|
4
|
+
import { M as xe, U as z, V as Ft, W as U, K as D, L as m, X as qo, Y as B, Z as _, _ as k, $ as V, a0 as F, a1 as ws, a2 as rr, a3 as $e, a4 as j, a5 as Vn, a6 as Gn, a7 as ut, a8 as A, a9 as xs, aa as ln, ab as Ne, ac as $s, ad as _t, ae as zt, af as Cs, ag as Ss, ah as xn, ai as ks, aj as Kr, ak as Kt, al as Ro, am as Es, an as Ds, ao as W, ap as Br, aq as Ms, ar as As, as as or, at as Fs, au as Ts, av as Rn, aw as Is, ax as Ps, ay as oe, az as Ls, aA as Os } from "./index-aJqEl32o.js";
|
|
5
5
|
var _s = (e) => e != null, qs = (e) => e.filter(_s);
|
|
6
6
|
function Rs(e) {
|
|
7
7
|
return (...t) => {
|
package/element.es.js
CHANGED
|
@@ -32652,7 +32652,7 @@ var Fq = (i, a = !1) => {
|
|
|
32652
32652
|
const a = W8(() => {
|
|
32653
32653
|
const o = this, [c] = I(this, Pm), [d] = I(this, Xm), [m] = I(this, Zm), [g] = I(this, $m), [b] = I(this, Ym);
|
|
32654
32654
|
let S;
|
|
32655
|
-
return I(this, Km) ? S = I(this, Km) : (S = B8(() => import("./CPIOZS5X-
|
|
32655
|
+
return I(this, Km) ? S = I(this, Km) : (S = B8(() => import("./CPIOZS5X-Cpn_mhOX.js")), De(this, Km, S)), Zx(I(this, Zv), I(this, Qm)), H8(S, j8({
|
|
32656
32656
|
get queryFlavor() {
|
|
32657
32657
|
return I(o, Pv);
|
|
32658
32658
|
},
|
|
@@ -44677,7 +44677,7 @@ const pS = ({ className: i, rounded: a = !1, ...o }) => /* @__PURE__ */ j.jsx(
|
|
|
44677
44677
|
/* @__PURE__ */ j.jsx(c9, {}),
|
|
44678
44678
|
/* @__PURE__ */ j.jsx(dq, {})
|
|
44679
44679
|
] });
|
|
44680
|
-
}, pq = P.lazy(() => import("./PublicEvents-
|
|
44680
|
+
}, pq = P.lazy(() => import("./PublicEvents-DpwUcfY5.js")), mq = P.lazy(() => import("./ContentsPage-RiT6kUjx.js").then((i) => i.C)), yq = P.lazy(() => import("./UploadPage-DlTsMBXf.js")), gq = P.lazy(() => import("./LeaderboardPage-pf4hXHsY.js")), ZA = P.lazy(() => import("./CuratePage-C5Y4z40W.js")), vq = P.lazy(() => import("./AuthLayout-CC5IwAHM.js")), bq = P.lazy(() => import("./LoginPage-DDo0QW9I.js")), Sq = P.lazy(() => import("./RegisterPage-CpjNOJU3.js")), Eq = new i8(), Tq = (i) => i.organizationId ? /* @__PURE__ */ j.jsx(s8, { client: Eq, children: /* @__PURE__ */ j.jsxs(Wx, { ...i, children: [
|
|
44681
44681
|
/* @__PURE__ */ j.jsx(WU, { children: /* @__PURE__ */ j.jsx(tz, { children: /* @__PURE__ */ j.jsx(u9, { children: /* @__PURE__ */ j.jsxs(d9, { children: [
|
|
44682
44682
|
/* @__PURE__ */ j.jsx(zr, { path: "/", element: /* @__PURE__ */ j.jsx(pq, {}) }),
|
|
44683
44683
|
/* @__PURE__ */ j.jsxs(zr, { path: "/event/:eventSlug", element: /* @__PURE__ */ j.jsx(hq, {}), children: [
|
|
@@ -5678,7 +5678,7 @@ var Vb = (t, e = !1) => {
|
|
|
5678
5678
|
const e = wl(() => {
|
|
5679
5679
|
const r = this, [n] = h(this, _r), [s] = h(this, Ir), [i] = h(this, xr), [o] = h(this, Tr), [a] = h(this, wr);
|
|
5680
5680
|
let c;
|
|
5681
|
-
return h(this, Sr) ? c = h(this, Sr) : (c = vl(() => import("./CPIOZS5X-
|
|
5681
|
+
return h(this, Sr) ? c = h(this, Sr) : (c = vl(() => import("./CPIOZS5X-BSstqGG_.js")), _(this, Sr, c)), Ul(h(this, Mn), h(this, Er)), gl(c, yl({
|
|
5682
5682
|
get queryFlavor() {
|
|
5683
5683
|
return h(r, Dn);
|
|
5684
5684
|
},
|
|
@@ -5772,7 +5772,7 @@ var Vb = (t, e = !1) => {
|
|
|
5772
5772
|
const e = wl(() => {
|
|
5773
5773
|
const r = this, [n] = h(this, Ar), [s] = h(this, Pr), [i] = h(this, kr), [o] = h(this, Or), [a] = h(this, Rr), [c] = h(this, Nr);
|
|
5774
5774
|
let l;
|
|
5775
|
-
return h(this, Dr) ? l = h(this, Dr) : (l = vl(() => import("./OKF6E45R-
|
|
5775
|
+
return h(this, Dr) ? l = h(this, Dr) : (l = vl(() => import("./OKF6E45R-YbG94d6r.js")), _(this, Dr, l)), Ul(h(this, $n), h(this, Cr)), gl(l, yl({
|
|
5776
5776
|
get queryFlavor() {
|
|
5777
5777
|
return h(r, Un);
|
|
5778
5778
|
},
|
|
@@ -17834,7 +17834,7 @@ const hs = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ f.jsx(
|
|
|
17834
17834
|
/* @__PURE__ */ f.jsx(ch, {}),
|
|
17835
17835
|
/* @__PURE__ */ f.jsx(ab, {})
|
|
17836
17836
|
] });
|
|
17837
|
-
}, lb = Rt(() => import("./PublicEvents-
|
|
17837
|
+
}, lb = Rt(() => import("./PublicEvents-BTNS13Wn.js")), ub = Rt(() => import("./ContentsPage-pBMHPSXz.js").then((t) => t.C)), db = Rt(() => import("./UploadPage-CfFZFp_p.js")), hb = Rt(() => import("./LeaderboardPage-CcCdTRZF.js")), vc = Rt(() => import("./CuratePage-U3UWtzLC.js")), fb = Rt(() => import("./AuthLayout-Ccmi5-rs.js")), pb = Rt(() => import("./LoginPage-AjxKwE1E.js")), mb = Rt(() => import("./RegisterPage-DJ8FAzof.js")), gb = new rf(), hw = (t) => t.organizationId ? /* @__PURE__ */ f.jsx(af, { client: gb, children: /* @__PURE__ */ f.jsxs(Kp, { ...t, children: [
|
|
17838
17838
|
/* @__PURE__ */ f.jsx(K1, { children: /* @__PURE__ */ f.jsx(Y1, { children: /* @__PURE__ */ f.jsx(ah, { children: /* @__PURE__ */ f.jsxs(uh, { children: [
|
|
17839
17839
|
/* @__PURE__ */ f.jsx(Ee, { path: "/", element: /* @__PURE__ */ f.jsx(lb, {}) }),
|
|
17840
17840
|
/* @__PURE__ */ f.jsxs(Ee, { path: "/event/:eventSlug", element: /* @__PURE__ */ f.jsx(cb, {}), children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as pr, j as ce, c as Be } from "./index-
|
|
1
|
+
import { b as pr, j as ce, c as Be } from "./index-aJqEl32o.js";
|
|
2
2
|
import O from "react";
|
|
3
3
|
import { g as mr } from "./_commonjsHelpers-B4e78b8K.js";
|
|
4
4
|
const Es = ({ label: r, type: t = "text", step: e = 1, disabled: s, error: i, info: n, iconSVG: u, className: l = "", ...f }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as pr, j as ce, c as Be, R as O, M as mr } from "./index-
|
|
1
|
+
import { b as pr, j as ce, c as Be, R as O, M as mr } from "./index-DBJc8aGT.js";
|
|
2
2
|
const ws = ({ label: r, type: t = "text", step: e = 1, disabled: s, error: i, info: n, iconSVG: u, className: l = "", ...f }) => {
|
|
3
3
|
const { textClassName: y } = pr();
|
|
4
4
|
return /* @__PURE__ */ ce.jsxs("div", { className: "qc-relative", children: [
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@qratilabs/qrati-connect",
|
|
3
3
|
"description": "Easily integrate Qrati into your Web app with a simple, lightweight yet powerful component.",
|
|
4
4
|
"author": "Qrati Labs LLC",
|
|
5
|
-
"version": "1.11.
|
|
5
|
+
"version": "1.11.6",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./react.es.js",
|
|
8
8
|
"module": "./react.es.js",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"eslint-config-standard-react": "^13.0.0",
|
|
98
98
|
"eslint-plugin-import": "^2.31.0",
|
|
99
99
|
"eslint-plugin-promise": "^7.2.1",
|
|
100
|
-
"eslint-plugin-react": "^7.37.
|
|
100
|
+
"eslint-plugin-react": "^7.37.5",
|
|
101
101
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
102
102
|
"globals": "^16.0.0",
|
|
103
103
|
"jsdom": "^26.0.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as u, r as C, c as S, g as b, p as P, s as O, a as v, b as _, d as E, t as T, f as D, Z as M, h as B, i as R, j as F, P as k, C as N, k as H } from "./MediaGallery-
|
|
1
|
+
import { e as u, r as C, c as S, g as b, p as P, s as O, a as v, b as _, d as E, t as T, f as D, Z as M, h as B, i as R, j as F, P as k, C as N, k as H } from "./MediaGallery-DaVH7tnL.js";
|
|
2
2
|
const W = 0.35, V = 0.6, U = 0.4, q = 0.5;
|
|
3
3
|
function X(a, t) {
|
|
4
4
|
return a * t / (1 - t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as u, r as C, c as S, g as b, p as P, s as O, a as v, b as _, d as E, t as T, f as D, Z as M, h as B, i as R, j as F, P as k, C as N, k as H } from "./MediaGallery-
|
|
1
|
+
import { e as u, r as C, c as S, g as b, p as P, s as O, a as v, b as _, d as E, t as T, f as D, Z as M, h as B, i as R, j as F, P as k, C as N, k as H } from "./MediaGallery-gIfjbuLM.js";
|
|
2
2
|
const W = 0.35, V = 0.6, U = 0.4, q = 0.5;
|
|
3
3
|
function X(a, t) {
|
|
4
4
|
return a * t / (1 - t);
|
package/react.es.js
CHANGED
package/web.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r } from "./index-
|
|
1
|
+
import { r } from "./index-DBJc8aGT.js";
|
|
2
2
|
r();
|