@qratilabs/qrati-connect 1.7.0 → 1.9.0

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.
Files changed (45) hide show
  1. package/{3VW64HDT-DuvU3jIh.js → 3VW64HDT-ohGQ4sar.js} +2 -2
  2. package/{67EVQ76A-B0nukmc_.js → 67EVQ76A-DaxRCh3g.js} +1 -1
  3. package/AuthLayout-D34-rLwI.js +38 -0
  4. package/AuthLayout-pdogLFBV.js +37 -0
  5. package/CHANGELOG.md +26 -0
  6. package/{Combination-Bf7Dcawb.js → Combination-CsINInDH.js} +30 -30
  7. package/{Combination-BI3VsuBs.js → Combination-DLkuWnOl.js} +29 -29
  8. package/{ContentsPage-MNAsMesw.js → ContentsPage-A-3UVHWY.js} +10 -5
  9. package/{ContentsPage-C7mMfyzZ.js → ContentsPage-D1f9GJ6R.js} +10 -5
  10. package/{DotLottiePlayer-CZE-XhLr.js → DotLottiePlayer-Dg2tvgIA.js} +1 -1
  11. package/{DotLottiePlayer-DdiZl-Jg.js → DotLottiePlayer-ccSwbLkE.js} +1 -1
  12. package/{67EVQ76A-Bsw8V4Xf.js → J3FDRF32-B-RIFKQ1.js} +1545 -1556
  13. package/{J3FDRF32-6p1dBdLp.js → J3FDRF32-CcHg52pK.js} +2 -2
  14. package/{LazyLoadImage-C3ZaUTsk.js → LazyLoadImage-BH1f6Qf1.js} +1 -1
  15. package/{LazyLoadImage-BSlb4DmQ.js → LazyLoadImage-kuHYr4uH.js} +1 -1
  16. package/{LeaderboardPage-BmE8RJJo.js → LeaderboardPage-CEF-Fc9_.js} +1 -1
  17. package/{LeaderboardPage-B3VZgrr8.js → LeaderboardPage-KJ5sJKDU.js} +1 -1
  18. package/LoginPage-CuMdpNdh.js +2806 -0
  19. package/LoginPage-sKYcD2Jc.js +2807 -0
  20. package/PublicEvents-DPlrNPz1.js +51 -0
  21. package/PublicEvents-x_NUHh1Z.js +52 -0
  22. package/RatePage-BJoTp07F.js +897 -0
  23. package/RatePage-CUBSBOeh.js +899 -0
  24. package/RegisterPage-CKG67xz8.js +6 -0
  25. package/RegisterPage-Cpjq4290.js +5 -0
  26. package/{UploadPage-BmUR7ALg.js → UploadPage-BFoRm9Jx.js} +3422 -3421
  27. package/{UploadPage-CzW_EtG5.js → UploadPage-D-7xgD3G.js} +4276 -4265
  28. package/{VideoPlayer-DcrCyBgx.js → VideoPlayer-CosZyz_f.js} +1 -1
  29. package/{VideoPlayer-BDsOAPg7.js → VideoPlayer-EnpDhZ71.js} +1 -1
  30. package/element.es.js +1 -1
  31. package/{heic2any-Du_rPkxI.js → heic2any-DuNZeZHL.js} +1 -1
  32. package/{index-Bl7A9vuz.js → index-9O1ye9-3.js} +4639 -3727
  33. package/{index-CZvCaJPp.js → index-BlNF4qQ0.js} +1892 -1885
  34. package/{index-DoPcNWK0.js → index-VWgiCaqB.js} +36733 -35934
  35. package/package.json +9 -2
  36. package/{photoswipe-4K9fgFrl.js → photoswipe-BpSLpT7N.js} +1 -1
  37. package/{photoswipe-Dy0OHhXa.js → photoswipe-qrRUAK0B.js} +1 -1
  38. package/react.es.js +1 -1
  39. package/web.es.js +1 -1
  40. package/3VW64HDT-mfX1ZKS7.js +0 -42
  41. package/J3FDRF32-DIgpMX2u.js +0 -33
  42. package/PublicEvents-CXxVpgwR.js +0 -49
  43. package/PublicEvents-TGWC1VUl.js +0 -48
  44. package/RatePage-BKzUys2W.js +0 -892
  45. package/RatePage-CS5hnqwn.js +0 -890
@@ -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 "./67EVQ76A-Bsw8V4Xf.js";
2
- import { J as v, K as C, L as e } from "./index-Bl7A9vuz.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-DaxRCh3g.js";
2
+ import { U as v, V as C, W as e } from "./index-9O1ye9-3.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -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 { W as xe, X as z, Y as Ft, Z as U, U as D, V as m, $ as qo, a0 as B, a1 as _, a2 as k, a3 as V, a4 as F, a5 as ws, a6 as rr, a7 as $e, a8 as j, a9 as Vn, aa as Gn, ab as ut, ac as A, ad as xs, ae as ln, af as Ne, ag as $s, ah as _t, ai as zt, aj as Cs, ak as Ss, al as xn, am as ks, an as Kr, ao as Kt, ap as Ro, aq as Es, ar as Ds, as as W, at as Br, au as Ms, av as As, aw as or, ax as Fs, ay as Ts, az as Rn, aA as Is, aB as Ps, aC as oe, aD as Ls, aE as Os } from "./index-DoPcNWK0.js";
4
+ import { X as xe, Y as z, Z as Ft, $ as U, V as D, W as m, a0 as qo, a1 as B, a2 as _, a3 as k, a4 as V, a5 as F, a6 as ws, a7 as rr, a8 as $e, a9 as j, aa as Vn, ab as Gn, ac as ut, ad as A, ae as xs, af as ln, ag as Ne, ah as $s, ai as _t, aj as zt, ak as Cs, al as Ss, am as xn, an as ks, ao as Kr, ap as Kt, aq as Ro, ar as Es, as as Ds, at as W, au as Br, av as Ms, aw as As, ax as or, ay as Fs, az as Ts, aA as Rn, aB as Is, aC as Ps, aD as oe, aE as Ls, aF as Os } from "./index-9O1ye9-3.js";
5
5
  var _s = (e) => e != null, qs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
@@ -0,0 +1,38 @@
1
+ import { z as i, p as q, j as e, H as o, N as t, c, P as s, T as n, O as m } from "./index-9O1ye9-3.js";
2
+ import "react";
3
+ const l = () => {
4
+ var a;
5
+ const r = i(), { user: d } = q();
6
+ return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((a = r == null ? void 0 : r.state) == null ? void 0 : a.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
7
+ /* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
8
+ /* @__PURE__ */ e.jsx(
9
+ t,
10
+ {
11
+ to: s.LOGIN,
12
+ state: r == null ? void 0 : r.state,
13
+ className: c(
14
+ r.pathname === s.LOGIN ? "qc-border-brand" : "qc-border-primary",
15
+ "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
16
+ ),
17
+ children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Login" })
18
+ }
19
+ ),
20
+ /* @__PURE__ */ e.jsx(
21
+ t,
22
+ {
23
+ to: s.REGISTER,
24
+ state: r == null ? void 0 : r.state,
25
+ className: c(
26
+ r.pathname === s.REGISTER ? "qc-border-brand" : "qc-border-primary",
27
+ "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
28
+ ),
29
+ children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Register" })
30
+ }
31
+ )
32
+ ] }),
33
+ /* @__PURE__ */ e.jsx(m, {})
34
+ ] });
35
+ };
36
+ export {
37
+ l as default
38
+ };
@@ -0,0 +1,37 @@
1
+ import { B as q, q as i, j as e, J as o, N as c, c as t, P as s, T as n, Z as x } from "./index-VWgiCaqB.js";
2
+ const b = () => {
3
+ var a;
4
+ const r = q(), { user: d } = i();
5
+ return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((a = r == null ? void 0 : r.state) == null ? void 0 : a.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
6
+ /* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
7
+ /* @__PURE__ */ e.jsx(
8
+ c,
9
+ {
10
+ to: s.LOGIN,
11
+ state: r == null ? void 0 : r.state,
12
+ className: t(
13
+ r.pathname === s.LOGIN ? "qc-border-brand" : "qc-border-primary",
14
+ "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
15
+ ),
16
+ children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Login" })
17
+ }
18
+ ),
19
+ /* @__PURE__ */ e.jsx(
20
+ c,
21
+ {
22
+ to: s.REGISTER,
23
+ state: r == null ? void 0 : r.state,
24
+ className: t(
25
+ r.pathname === s.REGISTER ? "qc-border-brand" : "qc-border-primary",
26
+ "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
27
+ ),
28
+ children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Register" })
29
+ }
30
+ )
31
+ ] }),
32
+ /* @__PURE__ */ e.jsx(x, {})
33
+ ] });
34
+ };
35
+ export {
36
+ b as default
37
+ };
package/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # [1.8.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.7.0...v1.8.0) (2025-03-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * prevent process.env error by defining process.env in Vite config ([140f2bf](https://github.com/qrati-labs/qrati-connect-js/commit/140f2bf52a818e6d659506827f4ac3151708da1b))
7
+
8
+
9
+ ### Features
10
+
11
+ * add watch scripts for React and Element builds in package.json ([41370ca](https://github.com/qrati-labs/qrati-connect-js/commit/41370ca96ad3cede3140ec0c9a54b385a72f6602))
12
+ * import global CSS styles in QratiConnect component ([5ba70c4](https://github.com/qrati-labs/qrati-connect-js/commit/5ba70c421093eb9398e7b5404fa29bf547b1c59e))
13
+ * integrate Sentry for error tracking and add dependency in package.json ([8ffa108](https://github.com/qrati-labs/qrati-connect-js/commit/8ffa108a90124a26cd7bd60783c0cb911438ec45))
14
+
15
+ # [1.7.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.6.1...v1.7.0) (2025-03-24)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add error handling to event view increment API call in ContentsPage ([d9aa4de](https://github.com/qrati-labs/qrati-connect-js/commit/d9aa4de8c7706c3e87986f5c8d0b4b9152e25a53))
21
+
22
+
23
+ ### Features
24
+
25
+ * add get-browser-fingerprint package and implement browser fingerprinting for event view tracking ([6e6cd60](https://github.com/qrati-labs/qrati-connect-js/commit/6e6cd60436f594e4dcdd6d808b5d4aaacf931760))
26
+
1
27
  ## [1.6.1](https://github.com/qrati-labs/qrati-connect-js/compare/v1.6.0...v1.6.1) (2025-03-23)
2
28
 
3
29
 
@@ -1,4 +1,4 @@
1
- import { f as i, j as L, K as Ae, L as Te, t as Le, s as $, M as Oe, _ as A, O as he, P as Me } from "./index-DoPcNWK0.js";
1
+ import { f as i, j as L, U as Ae, V as Te, t as Le, s as V, W as Oe, _ as A, X as he, Y as Me } from "./index-VWgiCaqB.js";
2
2
  function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3
3
  return function(a) {
4
4
  if (e == null || e(a), n === !1 || !a.defaultPrevented)
@@ -88,7 +88,7 @@ var ke = [
88
88
  "span",
89
89
  "svg",
90
90
  "ul"
91
- ], V = ke.reduce((e, t) => {
91
+ ], X = ke.reduce((e, t) => {
92
92
  const n = i.forwardRef((r, a) => {
93
93
  const { asChild: c, ...u } = r, o = c ? Le : t;
94
94
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ L.jsx(o, { ...u, ref: a });
@@ -130,12 +130,12 @@ var We = "DismissableLayer", te = "dismissableLayer.update", Be = "dismissableLa
130
130
  onInteractOutside: u,
131
131
  onDismiss: o,
132
132
  ...m
133
- } = e, l = i.useContext(Ee), [v, d] = i.useState(null), f = (v == null ? void 0 : v.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = i.useState({}), S = $(t, (y) => d(y)), s = Array.from(l.layers), [h] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), E = s.indexOf(h), C = v ? s.indexOf(v) : -1, g = l.layersWithOutsidePointerEventsDisabled.size > 0, b = C >= E, w = $e((y) => {
134
- const N = y.target, k = [...l.branches].some((Y) => Y.contains(N));
133
+ } = e, l = i.useContext(Ee), [v, d] = i.useState(null), f = (v == null ? void 0 : v.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = i.useState({}), S = V(t, (y) => d(y)), s = Array.from(l.layers), [h] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), E = s.indexOf(h), C = v ? s.indexOf(v) : -1, g = l.layersWithOutsidePointerEventsDisabled.size > 0, b = C >= E, w = Ve((y) => {
134
+ const N = y.target, k = [...l.branches].some(($) => $.contains(N));
135
135
  !b || k || (a == null || a(y), u == null || u(y), y.defaultPrevented || o == null || o());
136
- }, f), P = Ve((y) => {
136
+ }, f), P = Xe((y) => {
137
137
  const N = y.target;
138
- [...l.branches].some((Y) => Y.contains(N)) || (c == null || c(y), u == null || u(y), y.defaultPrevented || o == null || o());
138
+ [...l.branches].some(($) => $.contains(N)) || (c == null || c(y), u == null || u(y), y.defaultPrevented || o == null || o());
139
139
  }, f);
140
140
  return Ie((y) => {
141
141
  C === l.layers.size - 1 && (r == null || r(y), !y.defaultPrevented && o && (y.preventDefault(), o()));
@@ -150,7 +150,7 @@ var We = "DismissableLayer", te = "dismissableLayer.update", Be = "dismissableLa
150
150
  const y = () => p({});
151
151
  return document.addEventListener(te, y), () => document.removeEventListener(te, y);
152
152
  }, []), /* @__PURE__ */ L.jsx(
153
- V.div,
153
+ X.div,
154
154
  {
155
155
  ...m,
156
156
  ref: S,
@@ -170,17 +170,17 @@ var We = "DismissableLayer", te = "dismissableLayer.update", Be = "dismissableLa
170
170
  );
171
171
  _e.displayName = We;
172
172
  var je = "DismissableLayerBranch", Ke = i.forwardRef((e, t) => {
173
- const n = i.useContext(Ee), r = i.useRef(null), a = $(t, r);
173
+ const n = i.useContext(Ee), r = i.useRef(null), a = V(t, r);
174
174
  return i.useEffect(() => {
175
175
  const c = r.current;
176
176
  if (c)
177
177
  return n.branches.add(c), () => {
178
178
  n.branches.delete(c);
179
179
  };
180
- }, [n.branches]), /* @__PURE__ */ L.jsx(V.div, { ...e, ref: a });
180
+ }, [n.branches]), /* @__PURE__ */ L.jsx(X.div, { ...e, ref: a });
181
181
  });
182
182
  Ke.displayName = je;
183
- function $e(e, t = globalThis == null ? void 0 : globalThis.document) {
183
+ function Ve(e, t = globalThis == null ? void 0 : globalThis.document) {
184
184
  const n = T(e), r = i.useRef(!1), a = i.useRef(() => {
185
185
  });
186
186
  return i.useEffect(() => {
@@ -210,7 +210,7 @@ function $e(e, t = globalThis == null ? void 0 : globalThis.document) {
210
210
  onPointerDownCapture: () => r.current = !0
211
211
  };
212
212
  }
213
- function Ve(e, t = globalThis == null ? void 0 : globalThis.document) {
213
+ function Xe(e, t = globalThis == null ? void 0 : globalThis.document) {
214
214
  const n = T(e), r = i.useRef(!1);
215
215
  return i.useEffect(() => {
216
216
  const a = (c) => {
@@ -245,14 +245,14 @@ function ae() {
245
245
  const e = document.createElement("span");
246
246
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
247
247
  }
248
- var G = "focusScope.autoFocusOnMount", Z = "focusScope.autoFocusOnUnmount", ie = { bubbles: !1, cancelable: !0 }, Xe = "FocusScope", Ye = i.forwardRef((e, t) => {
248
+ var G = "focusScope.autoFocusOnMount", Z = "focusScope.autoFocusOnUnmount", ie = { bubbles: !1, cancelable: !0 }, Ye = "FocusScope", $e = i.forwardRef((e, t) => {
249
249
  const {
250
250
  loop: n = !1,
251
251
  trapped: r = !1,
252
252
  onMountAutoFocus: a,
253
253
  onUnmountAutoFocus: c,
254
254
  ...u
255
- } = e, [o, m] = i.useState(null), l = T(a), v = T(c), d = i.useRef(null), f = $(t, (s) => m(s)), p = i.useRef({
255
+ } = e, [o, m] = i.useState(null), l = T(a), v = T(c), d = i.useRef(null), f = V(t, (s) => m(s)), p = i.useRef({
256
256
  paused: !1,
257
257
  pause() {
258
258
  this.paused = !0;
@@ -309,9 +309,9 @@ var G = "focusScope.autoFocusOnMount", Z = "focusScope.autoFocusOnUnmount", ie =
309
309
  },
310
310
  [n, r, p.paused]
311
311
  );
312
- return /* @__PURE__ */ L.jsx(V.div, { tabIndex: -1, ...u, ref: f, onKeyDown: S });
312
+ return /* @__PURE__ */ L.jsx(X.div, { tabIndex: -1, ...u, ref: f, onKeyDown: S });
313
313
  });
314
- Ye.displayName = Xe;
314
+ $e.displayName = Ye;
315
315
  function ze(e, { select: t = !1 } = {}) {
316
316
  const n = document.activeElement;
317
317
  for (const r of e)
@@ -388,14 +388,14 @@ var tt = "Portal", nt = i.forwardRef((e, t) => {
388
388
  const { container: n, ...r } = e, [a, c] = i.useState(!1);
389
389
  K(() => c(!0), []);
390
390
  const u = n || a && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
391
- return u ? De.createPortal(/* @__PURE__ */ L.jsx(V.div, { ...r, ref: t }), u) : null;
391
+ return u ? De.createPortal(/* @__PURE__ */ L.jsx(X.div, { ...r, ref: t }), u) : null;
392
392
  });
393
393
  nt.displayName = tt;
394
394
  function rt(e, t) {
395
395
  return i.useReducer((n, r) => t[n][r] ?? n, e);
396
396
  }
397
397
  var ot = (e) => {
398
- const { present: t, children: n } = e, r = at(t), a = typeof n == "function" ? n({ present: r.isPresent }) : i.Children.only(n), c = $(r.ref, it(a));
398
+ const { present: t, children: n } = e, r = at(t), a = typeof n == "function" ? n({ present: r.isPresent }) : i.Children.only(n), c = V(r.ref, it(a));
399
399
  return typeof n == "function" || r.isPresent ? i.cloneElement(a, { ref: c }) : null;
400
400
  };
401
401
  ot.displayName = "Presence";
@@ -653,7 +653,7 @@ function gt(e, t) {
653
653
  return e.useMedium(t), Se;
654
654
  }
655
655
  var we = yt(), J = function() {
656
- }, X = i.forwardRef(function(e, t) {
656
+ }, Y = i.forwardRef(function(e, t) {
657
657
  var n = i.useRef(null), r = i.useState({
658
658
  onScrollCapture: J,
659
659
  onWheelCapture: J,
@@ -666,12 +666,12 @@ var we = yt(), J = function() {
666
666
  u ? i.cloneElement(i.Children.only(o), A(A({}, P), { ref: w })) : i.createElement(E, A({}, P, { className: m, ref: w }), o)
667
667
  );
668
668
  });
669
- X.defaultProps = {
669
+ Y.defaultProps = {
670
670
  enabled: !0,
671
671
  removeScrollBar: !0,
672
672
  inert: !1
673
673
  };
674
- X.classNames = {
674
+ Y.classNames = {
675
675
  fullWidth: j,
676
676
  zeroRight: _
677
677
  };
@@ -885,7 +885,7 @@ var M = ne ? { passive: !1 } : !1, Dt = function(e) {
885
885
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
886
886
  `);
887
887
  }, Kt = 0, x = [];
888
- function $t(e) {
888
+ function Vt(e) {
889
889
  var t = i.useRef([]), n = i.useRef([0, 0]), r = i.useRef(), a = i.useState(Kt++)[0], c = i.useState(Ce)[0], u = i.useRef(e);
890
890
  i.useEffect(function() {
891
891
  u.current = e;
@@ -935,7 +935,7 @@ function $t(e) {
935
935
  }
936
936
  }
937
937
  }, []), l = i.useCallback(function(s, h, E, C) {
938
- var g = { name: s, delta: h, target: E, should: C, shadowParent: Vt(E) };
938
+ var g = { name: s, delta: h, target: E, should: C, shadowParent: Xt(E) };
939
939
  t.current.push(g), setTimeout(function() {
940
940
  t.current = t.current.filter(function(b) {
941
941
  return b !== g;
@@ -967,21 +967,21 @@ function $t(e) {
967
967
  p ? i.createElement(xt, { gapMode: e.gapMode }) : null
968
968
  );
969
969
  }
970
- function Vt(e) {
970
+ function Xt(e) {
971
971
  for (var t = null; e !== null; )
972
972
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
973
973
  return t;
974
974
  }
975
- const Xt = gt(we, $t);
976
- var Yt = i.forwardRef(function(e, t) {
977
- return i.createElement(X, A({}, e, { ref: t, sideCar: Xt }));
975
+ const Yt = gt(we, Vt);
976
+ var $t = i.forwardRef(function(e, t) {
977
+ return i.createElement(Y, A({}, e, { ref: t, sideCar: Yt }));
978
978
  });
979
- Yt.classNames = X.classNames;
979
+ $t.classNames = Y.classNames;
980
980
  export {
981
981
  _e as D,
982
- Ye as F,
983
- V as P,
984
- Yt as R,
982
+ $e as F,
983
+ X as P,
984
+ $t as R,
985
985
  T as a,
986
986
  ot as b,
987
987
  Gt as c,
@@ -1,8 +1,8 @@
1
1
  import * as i from "react";
2
2
  import { useState as Re } from "react";
3
- import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-Bl7A9vuz.js";
3
+ import { j as L, r as Ae, q as $, _ as A, L as he, M as Te } from "./index-9O1ye9-3.js";
4
4
  import * as Le from "react-dom";
5
- import Oe from "react-dom";
5
+ import Me from "react-dom";
6
6
  function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
7
7
  return function(a) {
8
8
  if (e == null || e(a), n === !1 || !a.defaultPrevented)
@@ -53,9 +53,9 @@ function Gt(e, t = []) {
53
53
  );
54
54
  };
55
55
  };
56
- return a.scopeName = e, [r, Me(a, ...t)];
56
+ return a.scopeName = e, [r, Oe(a, ...t)];
57
57
  }
58
- function Me(...e) {
58
+ function Oe(...e) {
59
59
  const t = e[0];
60
60
  if (e.length === 1) return t;
61
61
  const n = () => {
@@ -118,7 +118,7 @@ function De(e, t = globalThis == null ? void 0 : globalThis.document) {
118
118
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
119
119
  }, [n, t]);
120
120
  }
121
- var Ie = "DismissableLayer", te = "dismissableLayer.update", Fe = "dismissableLayer.pointerDownOutside", We = "dismissableLayer.focusOutside", re, pe = i.createContext({
121
+ var Fe = "DismissableLayer", te = "dismissableLayer.update", Ie = "dismissableLayer.pointerDownOutside", We = "dismissableLayer.focusOutside", re, pe = i.createContext({
122
122
  layers: /* @__PURE__ */ new Set(),
123
123
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
124
124
  branches: /* @__PURE__ */ new Set()
@@ -170,7 +170,7 @@ var Ie = "DismissableLayer", te = "dismissableLayer.update", Fe = "dismissableLa
170
170
  );
171
171
  }
172
172
  );
173
- Be.displayName = Ie;
173
+ Be.displayName = Fe;
174
174
  var _e = "DismissableLayerBranch", Ue = i.forwardRef((e, t) => {
175
175
  const n = i.useContext(pe), r = i.useRef(null), a = $(t, r);
176
176
  return i.useEffect(() => {
@@ -190,7 +190,7 @@ function je(e, t = globalThis == null ? void 0 : globalThis.document) {
190
190
  if (o.target && !r.current) {
191
191
  let m = function() {
192
192
  ye(
193
- Fe,
193
+ Ie,
194
194
  n,
195
195
  l,
196
196
  { discrete: !0 }
@@ -390,7 +390,7 @@ var Je = "Portal", et = i.forwardRef((e, t) => {
390
390
  const { container: n, ...r } = e, [a, c] = i.useState(!1);
391
391
  K(() => c(!0), []);
392
392
  const u = n || a && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
393
- return u ? Oe.createPortal(/* @__PURE__ */ L.jsx(V.div, { ...r, ref: t }), u) : null;
393
+ return u ? Me.createPortal(/* @__PURE__ */ L.jsx(V.div, { ...r, ref: t }), u) : null;
394
394
  });
395
395
  et.displayName = Je;
396
396
  function tt(e, t) {
@@ -416,19 +416,19 @@ function rt(e) {
416
416
  }
417
417
  });
418
418
  return i.useEffect(() => {
419
- const l = I(r.current);
419
+ const l = F(r.current);
420
420
  c.current = o === "mounted" ? l : "none";
421
421
  }, [o]), K(() => {
422
422
  const l = r.current, v = a.current;
423
423
  if (v !== e) {
424
- const f = c.current, p = I(l);
424
+ const f = c.current, p = F(l);
425
425
  e ? m("MOUNT") : p === "none" || (l == null ? void 0 : l.display) === "none" ? m("UNMOUNT") : m(v && f !== p ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
426
426
  }
427
427
  }, [e, m]), K(() => {
428
428
  if (t) {
429
429
  let l;
430
430
  const v = t.ownerDocument.defaultView ?? window, d = (p) => {
431
- const s = I(r.current).includes(p.animationName);
431
+ const s = F(r.current).includes(p.animationName);
432
432
  if (p.target === t && s && (m("ANIMATION_END"), !a.current)) {
433
433
  const h = t.style.animationFillMode;
434
434
  t.style.animationFillMode = "forwards", l = v.setTimeout(() => {
@@ -436,7 +436,7 @@ function rt(e) {
436
436
  });
437
437
  }
438
438
  }, f = (p) => {
439
- p.target === t && (c.current = I(r.current));
439
+ p.target === t && (c.current = F(r.current));
440
440
  };
441
441
  return t.addEventListener("animationstart", f), t.addEventListener("animationcancel", d), t.addEventListener("animationend", d), () => {
442
442
  v.clearTimeout(l), t.removeEventListener("animationstart", f), t.removeEventListener("animationcancel", d), t.removeEventListener("animationend", d);
@@ -450,7 +450,7 @@ function rt(e) {
450
450
  }, [])
451
451
  };
452
452
  }
453
- function I(e) {
453
+ function F(e) {
454
454
  return (e == null ? void 0 : e.animationName) || "none";
455
455
  }
456
456
  function ot(e) {
@@ -490,7 +490,7 @@ var it = function(e) {
490
490
  return null;
491
491
  var t = Array.isArray(e) ? e[0] : e;
492
492
  return t.ownerDocument.body;
493
- }, O = /* @__PURE__ */ new WeakMap(), F = /* @__PURE__ */ new WeakMap(), W = {}, q = 0, ge = function(e) {
493
+ }, M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), W = {}, q = 0, ge = function(e) {
494
494
  return e && (e.host || ge(e.parentNode));
495
495
  }, ct = function(e, t) {
496
496
  return t.map(function(n) {
@@ -514,8 +514,8 @@ var it = function(e) {
514
514
  v(f);
515
515
  else
516
516
  try {
517
- var p = f.getAttribute(r), S = p !== null && p !== "false", s = (O.get(f) || 0) + 1, h = (c.get(f) || 0) + 1;
518
- O.set(f, s), c.set(f, h), u.push(f), s === 1 && S && F.set(f, !0), h === 1 && f.setAttribute(n, "true"), S || f.setAttribute(r, "true");
517
+ var p = f.getAttribute(r), S = p !== null && p !== "false", s = (M.get(f) || 0) + 1, h = (c.get(f) || 0) + 1;
518
+ M.set(f, s), c.set(f, h), u.push(f), s === 1 && S && I.set(f, !0), h === 1 && f.setAttribute(n, "true"), S || f.setAttribute(r, "true");
519
519
  } catch (y) {
520
520
  console.error("aria-hidden: cannot operate on ", f, y);
521
521
  }
@@ -523,9 +523,9 @@ var it = function(e) {
523
523
  };
524
524
  return v(t), o.clear(), q++, function() {
525
525
  u.forEach(function(d) {
526
- var f = O.get(d) - 1, p = c.get(d) - 1;
527
- O.set(d, f), c.set(d, p), f || (F.has(d) || d.removeAttribute(r), F.delete(d)), p || d.removeAttribute(n);
528
- }), q--, q || (O = /* @__PURE__ */ new WeakMap(), O = /* @__PURE__ */ new WeakMap(), F = /* @__PURE__ */ new WeakMap(), W = {});
526
+ var f = M.get(d) - 1, p = c.get(d) - 1;
527
+ M.set(d, f), c.set(d, p), f || (I.has(d) || d.removeAttribute(r), I.delete(d)), p || d.removeAttribute(n);
528
+ }), q--, q || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), W = {});
529
529
  };
530
530
  }, Jt = function(e, t, n) {
531
531
  n === void 0 && (n = "data-aria-hidden");
@@ -795,7 +795,7 @@ var wt = function() {
795
795
  e <= 0 ? document.body.removeAttribute(k) : document.body.setAttribute(k, e.toString());
796
796
  };
797
797
  }, []);
798
- }, Ot = function(e) {
798
+ }, Mt = function(e) {
799
799
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, a = r === void 0 ? "margin" : r;
800
800
  Lt();
801
801
  var c = i.useMemo(function() {
@@ -814,7 +814,7 @@ if (typeof window < "u")
814
814
  } catch {
815
815
  ne = !1;
816
816
  }
817
- var M = ne ? { passive: !1 } : !1, Mt = function(e) {
817
+ var O = ne ? { passive: !1 } : !1, Ot = function(e) {
818
818
  return e.tagName === "TEXTAREA";
819
819
  }, Ce = function(e, t) {
820
820
  if (!(e instanceof Element))
@@ -823,7 +823,7 @@ var M = ne ? { passive: !1 } : !1, Mt = function(e) {
823
823
  return (
824
824
  // not-not-scrollable
825
825
  n[t] !== "hidden" && // contains scroll inside self
826
- !(n.overflowY === n.overflowX && !Mt(e) && n[t] === "visible")
826
+ !(n.overflowY === n.overflowX && !Ot(e) && n[t] === "visible")
827
827
  );
828
828
  }, xt = function(e) {
829
829
  return Ce(e, "overflowY");
@@ -849,7 +849,7 @@ var M = ne ? { passive: !1 } : !1, Mt = function(e) {
849
849
  n,
850
850
  r
851
851
  ];
852
- }, It = function(e) {
852
+ }, Ft = function(e) {
853
853
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
854
854
  return [
855
855
  t,
@@ -859,11 +859,11 @@ var M = ne ? { passive: !1 } : !1, Mt = function(e) {
859
859
  }, Pe = function(e, t) {
860
860
  return e === "v" ? xt(t) : kt(t);
861
861
  }, Ne = function(e, t) {
862
- return e === "v" ? Dt(t) : It(t);
863
- }, Ft = function(e, t) {
862
+ return e === "v" ? Dt(t) : Ft(t);
863
+ }, It = function(e, t) {
864
864
  return e === "h" && t === "rtl" ? -1 : 1;
865
865
  }, Wt = function(e, t, n, r, a) {
866
- var c = Ft(e, window.getComputedStyle(t).direction), u = c * r, o = n.target, m = t.contains(o), l = !1, v = u > 0, d = 0, f = 0;
866
+ var c = It(e, window.getComputedStyle(t).direction), u = c * r, o = n.target, m = t.contains(o), l = !1, v = u > 0, d = 0, f = 0;
867
867
  do {
868
868
  var p = Ne(e, o), S = p[0], s = p[1], h = p[2], y = s - h - c * S;
869
869
  (S || y) && Pe(e, o) && (d += y, f += S), o instanceof ShadowRoot ? o = o.host : o = o.parentNode;
@@ -955,10 +955,10 @@ function jt(e) {
955
955
  onScrollCapture: d,
956
956
  onWheelCapture: d,
957
957
  onTouchMoveCapture: f
958
- }), document.addEventListener("wheel", m, M), document.addEventListener("touchmove", m, M), document.addEventListener("touchstart", v, M), function() {
958
+ }), document.addEventListener("wheel", m, O), document.addEventListener("touchmove", m, O), document.addEventListener("touchstart", v, O), function() {
959
959
  x = x.filter(function(s) {
960
960
  return s !== c;
961
- }), document.removeEventListener("wheel", m, M), document.removeEventListener("touchmove", m, M), document.removeEventListener("touchstart", v, M);
961
+ }), document.removeEventListener("wheel", m, O), document.removeEventListener("touchmove", m, O), document.removeEventListener("touchstart", v, O);
962
962
  };
963
963
  }, []);
964
964
  var p = e.removeScrollBar, S = e.inert;
@@ -966,7 +966,7 @@ function jt(e) {
966
966
  i.Fragment,
967
967
  null,
968
968
  S ? i.createElement(c, { styles: _t(a) }) : null,
969
- p ? i.createElement(Ot, { gapMode: e.gapMode }) : null
969
+ p ? i.createElement(Mt, { gapMode: e.gapMode }) : null
970
970
  );
971
971
  }
972
972
  function Kt(e) {
@@ -1,8 +1,8 @@
1
- import { Q as Yn, i as Rt, h as Wn, b as Gn, d as Zn, j as m, c as re, e as Kn, C as Ze, f as De, g as Xn, D as Vt, l as _e, m as Ut, n as Y, N as Qn, o as Jn, p as st, k as Ke, q as ze, r as ei, u as ot, s as ti, G as Ye, t as ni, v as ii, S as si, E as oi, w as ri } from "./index-Bl7A9vuz.js";
1
+ import { Q as Yn, i as Rt, h as Wn, b as Gn, d as Zn, j as m, c as re, e as Kn, C as Ze, f as De, g as Xn, D as Vt, l as _e, m as Ut, n as Y, N as Qn, o as Jn, p as st, k as Ke, q as ze, r as ei, u as ot, s as ti, G as Ye, t as ni, v as ii, S as si, E as oi, w as ri } from "./index-9O1ye9-3.js";
2
2
  import * as S from "react";
3
3
  import Re, { useMemo as ee, useReducer as ai, useRef as Be, useCallback as li, forwardRef as he, createElement as ci, Fragment as di, useLayoutEffect as ui, useEffect as rt, useState as Xe, Component as hi } from "react";
4
- import { L as fi } from "./LazyLoadImage-C3ZaUTsk.js";
5
- import { P as Ee, u as Qe, c as Yt, a as pi, b as Wt, d as mi, h as gi, R as wi, e as ye, f as yi, F as vi, D as xi, g as bi, i as Ti } from "./Combination-BI3VsuBs.js";
4
+ import { L as fi } from "./LazyLoadImage-BH1f6Qf1.js";
5
+ import { P as Ee, u as Qe, c as Yt, a as pi, b as Wt, d as mi, h as gi, R as wi, e as ye, f as yi, F as vi, D as xi, g as bi, i as Ti } from "./Combination-DLkuWnOl.js";
6
6
  import * as Si from "react-dom";
7
7
  var Ei = class extends Yn {
8
8
  constructor(t, e) {
@@ -3829,7 +3829,7 @@ const or = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
3829
3829
  wheelToZoom: !0,
3830
3830
  pinchToClose: !0,
3831
3831
  zoom: !1,
3832
- pswpModule: () => import("./photoswipe-Dy0OHhXa.js")
3832
+ pswpModule: () => import("./photoswipe-BpSLpT7N.js")
3833
3833
  });
3834
3834
  a.current = u, new Cs(u), new As(u), new _s(u), new Os(u), u.init();
3835
3835
  }
@@ -4304,12 +4304,17 @@ const vr = (t, e, n) => {
4304
4304
  dataLength: (b == null ? void 0 : b.length) || 0,
4305
4305
  next: y,
4306
4306
  hasMore: w || !1,
4307
- loader: /* @__PURE__ */ m.jsx("div", { className: "qc-my-3 qc-w-full", children: "Loading" }),
4307
+ loader: /* @__PURE__ */ m.jsx("div", { className: "qc-mx-auto qc-my-3 qc-w-fit", children: /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-12", viewBox: "0 0 24 24", children: [
4308
+ /* @__PURE__ */ m.jsx("circle", { cx: 18, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0.67, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) }),
4309
+ /* @__PURE__ */ m.jsx("circle", { cx: 12, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0.33, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) }),
4310
+ /* @__PURE__ */ m.jsx("circle", { cx: 6, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) })
4311
+ ] }) }),
4308
4312
  children: /* @__PURE__ */ m.jsx("div", { className: re(""), children: /* @__PURE__ */ m.jsx(
4309
4313
  cr,
4310
4314
  {
4311
4315
  event: l,
4312
4316
  contents: b,
4317
+ organizationId: n,
4313
4318
  curateLink: (l == null ? void 0 : l.engagementStyle) === De.CONTEST && l.status === oi.OPEN ? `/event/${t}/rate` : null
4314
4319
  }
4315
4320
  ) })
@@ -1,6 +1,6 @@
1
- import { Q as Bn, i as Et, h as $n, b as Hn, d as Vn, j as m, c as oe, e as Un, f as w, C as Ye, g as Le, l as Yn, D as jt, m as Ce, n as zt, o as Y, N as Wn, p as Gn, q as et, k as We, s as Fe, t as Zn, u as tt, v as Kn, G as He, w as Ae, x as Xn, y as Qn, S as Jn, E as ei, z as ti } from "./index-DoPcNWK0.js";
2
- import { L as ni } from "./LazyLoadImage-BSlb4DmQ.js";
3
- import { r as ii, P as Te, u as Ge, c as Bt, a as si, b as $t, d as oi, h as ri, R as ai, e as ge, f as li, F as ci, D as di, g as ui, i as hi } from "./Combination-Bf7Dcawb.js";
1
+ import { Q as Bn, i as Et, h as $n, b as Hn, d as Vn, j as m, c as oe, e as Un, f as w, C as Ye, g as Le, l as Yn, D as jt, m as Ce, n as zt, o as Y, N as Wn, p as Gn, q as et, k as We, s as Fe, t as Zn, u as tt, v as Kn, G as He, R as Ae, w as Xn, x as Qn, S as Jn, E as ei, y as ti } from "./index-VWgiCaqB.js";
2
+ import { L as ni } from "./LazyLoadImage-kuHYr4uH.js";
3
+ import { r as ii, P as Te, u as Ge, c as Bt, a as si, b as $t, d as oi, h as ri, R as ai, e as ge, f as li, F as ci, D as di, g as ui, i as hi } from "./Combination-CsINInDH.js";
4
4
  var fi = class extends Bn {
5
5
  constructor(t, e) {
6
6
  super(t, e);
@@ -3826,7 +3826,7 @@ const Go = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
3826
3826
  wheelToZoom: !0,
3827
3827
  pinchToClose: !0,
3828
3828
  zoom: !1,
3829
- pswpModule: () => import("./photoswipe-4K9fgFrl.js")
3829
+ pswpModule: () => import("./photoswipe-qrRUAK0B.js")
3830
3830
  });
3831
3831
  a.current = u, new ms(u), new gs(u), new ws(u), new xs(u), u.init();
3832
3832
  }
@@ -4301,12 +4301,17 @@ const lr = (t, e, n) => {
4301
4301
  dataLength: (T == null ? void 0 : T.length) || 0,
4302
4302
  next: v,
4303
4303
  hasMore: y || !1,
4304
- loader: /* @__PURE__ */ m.jsx("div", { className: "qc-my-3 qc-w-full", children: "Loading" }),
4304
+ loader: /* @__PURE__ */ m.jsx("div", { className: "qc-mx-auto qc-my-3 qc-w-fit", children: /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-12", viewBox: "0 0 24 24", children: [
4305
+ /* @__PURE__ */ m.jsx("circle", { cx: 18, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0.67, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) }),
4306
+ /* @__PURE__ */ m.jsx("circle", { cx: 12, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0.33, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) }),
4307
+ /* @__PURE__ */ m.jsx("circle", { cx: 6, cy: 12, r: 0, fill: "currentColor", children: /* @__PURE__ */ m.jsx("animate", { attributeName: "r", begin: 0, calcMode: "spline", dur: "1.5s", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", repeatCount: "indefinite", values: "0;2;0;0" }) })
4308
+ ] }) }),
4305
4309
  children: /* @__PURE__ */ m.jsx("div", { className: oe(""), children: /* @__PURE__ */ m.jsx(
4306
4310
  Qo,
4307
4311
  {
4308
4312
  event: l,
4309
4313
  contents: T,
4314
+ organizationId: n,
4310
4315
  curateLink: (l == null ? void 0 : l.engagementStyle) === Le.CONTEST && l.status === ei.OPEN ? `/event/${t}/rate` : null
4311
4316
  }
4312
4317
  ) })
@@ -1,4 +1,4 @@
1
- import { j as x1, f as I, c as j3 } from "./index-DoPcNWK0.js";
1
+ import { j as x1, f as I, c as j3 } from "./index-VWgiCaqB.js";
2
2
  var U3 = Object.defineProperty, B3 = Object.defineProperties, H3 = Object.getOwnPropertyDescriptors, H1 = Object.getOwnPropertySymbols, q2 = Object.prototype.hasOwnProperty, G2 = Object.prototype.propertyIsEnumerable, _2 = (h, n, i) => n in h ? U3(h, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[n] = i, z = (h, n) => {
3
3
  for (var i in n || (n = {})) q2.call(n, i) && _2(h, i, n[i]);
4
4
  if (H1) for (var i of H1(n)) G2.call(n, i) && _2(h, i, n[i]);
@@ -1,4 +1,4 @@
1
- import { j as T1, c as B3 } from "./index-Bl7A9vuz.js";
1
+ import { j as T1, c as B3 } from "./index-9O1ye9-3.js";
2
2
  import { useState as G2, useRef as x1, useEffect as R, useCallback as H3 } from "react";
3
3
  var N3 = Object.defineProperty, V3 = Object.defineProperties, J3 = Object.getOwnPropertyDescriptors, N1 = Object.getOwnPropertySymbols, X2 = Object.prototype.hasOwnProperty, Y2 = Object.prototype.propertyIsEnumerable, p2 = (h, n, i) => n in h ? N3(h, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[n] = i, z = (h, n) => {
4
4
  for (var i in n || (n = {})) X2.call(n, i) && p2(h, i, n[i]);