@qratilabs/qrati-connect 1.5.0 → 1.6.1
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/{3VW64HDT-BDEfv4Ec.js → 3VW64HDT-BUXBipEW.js} +2 -2
- package/{3VW64HDT-DygNEBWt.js → 3VW64HDT-C9EabY_7.js} +2 -2
- package/{67EVQ76A-Dz5Aa-og.js → 67EVQ76A-BuLjtL72.js} +1 -1
- package/{67EVQ76A-Dz1geGOd.js → 67EVQ76A-CsyhvpIV.js} +1 -1
- package/CHANGELOG.md +14 -0
- package/{Combination-D5QMstir.js → Combination-BKCLhMAo.js} +1 -1
- package/{Combination-DxvFhiiK.js → Combination-qkGaPEdn.js} +1 -1
- package/{ContentsPage-CWM7edeq.js → ContentsPage-CGrdFq8i.js} +4 -4
- package/{ContentsPage-gpA0-B2e.js → ContentsPage-D1iPNFLg.js} +4 -4
- package/{DotLottiePlayer-Di59cAwl.js → DotLottiePlayer-DA-Yh3zg.js} +1 -1
- package/{DotLottiePlayer-BCr-WUSL.js → DotLottiePlayer-DqhRxX--.js} +1 -1
- package/{J3FDRF32-BUNrbtwT.js → J3FDRF32-CH2RoGsH.js} +2 -2
- package/{J3FDRF32-KpuJ4HZX.js → J3FDRF32-D3VfAG0G.js} +2 -2
- package/{LazyLoadImage-Bz95Z-hn.js → LazyLoadImage-BpU9qC5e.js} +1 -1
- package/{LazyLoadImage-C_IRzWDa.js → LazyLoadImage-C5abzMV2.js} +1 -1
- package/{LeaderboardPage-BT2x5j_-.js → LeaderboardPage-CI1i11dS.js} +1 -1
- package/{LeaderboardPage-CgLVeCBI.js → LeaderboardPage-CwHcSdM3.js} +1 -1
- package/{PublicEvents-Cz2cvMrd.js → PublicEvents-CS7DyKQO.js} +9 -9
- package/{PublicEvents-CAbs-1jU.js → PublicEvents-Dzjg_W0Z.js} +9 -9
- package/{RatePage-CDz7VJn6.js → RatePage-BDm8-UmB.js} +6 -6
- package/{RatePage-DJCRFwce.js → RatePage-BuiskOvh.js} +6 -6
- package/{UploadPage-BieItUyI.js → UploadPage-B1icdI0Y.js} +3 -3
- package/{UploadPage-JTu7goOZ.js → UploadPage-U1m4_hDy.js} +2 -2
- package/{VideoPlayer-Ec7SezQR.js → VideoPlayer-By0iTL1h.js} +1 -1
- package/{VideoPlayer-BMz0UYCe.js → VideoPlayer-D8Q2h_4I.js} +1 -1
- package/element.es.js +1 -1
- package/{heic2any-DDNIrhxX.js → heic2any-DE6hmdOM.js} +1 -1
- package/{index-CqZnc9pN.js → index-6_58sahd.js} +77 -69
- package/{index-BzD93K7w.js → index-CRVVPc2O.js} +77 -69
- package/{index-Cn_6u2ol.js → index-DJMP38JF.js} +1 -1
- package/package.json +2 -2
- package/{photoswipe-BIYbrJmy.js → photoswipe-BPElq1wX.js} +1 -1
- package/{photoswipe-ByO8yoDj.js → photoswipe-CY5-wgqz.js} +1 -1
- package/react.es.js +1 -1
- package/styles.css +1 -0
- package/web.es.js +1 -1
|
@@ -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-
|
|
2
|
-
import { T as v, U as C, V 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 "./67EVQ76A-CsyhvpIV.js";
|
|
2
|
+
import { T as v, U as C, V as e } from "./index-CRVVPc2O.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -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-
|
|
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 "./67EVQ76A-BuLjtL72.js";
|
|
2
|
+
import { J as v, K as C, L as e } from "./index-6_58sahd.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 { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-
|
|
4
|
+
import { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-6_58sahd.js";
|
|
5
5
|
var _s = (e) => e != null, qs = (e) => e.filter(_s);
|
|
6
6
|
function Rs(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -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-
|
|
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-CRVVPc2O.js";
|
|
5
5
|
var _s = (e) => e != null, qs = (e) => e.filter(_s);
|
|
6
6
|
function Rs(e) {
|
|
7
7
|
return (...t) => {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.6.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.5.0...v1.6.0) (2025-03-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add initialization log to QratiConnect component ([16aeb6d](https://github.com/qrati-labs/qrati-connect-js/commit/16aeb6d4933f379fc415c800c02f457f12428795))
|
|
7
|
+
|
|
8
|
+
# [1.5.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.4.0...v1.5.0) (2025-03-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add styles.css import and console log in QratiConnect component for better visibility ([d9c02a4](https://github.com/qrati-labs/qrati-connect-js/commit/d9c02a4cc7a1d9fd9e46712ddd71392418267acc))
|
|
14
|
+
|
|
1
15
|
# [1.4.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.3.0...v1.4.0) (2025-03-22)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-6_58sahd.js";
|
|
4
4
|
import * as Le from "react-dom";
|
|
5
5
|
import Oe from "react-dom";
|
|
6
6
|
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
@@ -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-
|
|
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-CRVVPc2O.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)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-
|
|
1
|
+
import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-6_58sahd.js";
|
|
2
2
|
import * as b from "react";
|
|
3
3
|
import Ae, { useMemo as ee, useReducer as si, useRef as nt, useCallback as oi, forwardRef as he, createElement as ri, Fragment as ai, useLayoutEffect as li, useEffect as Ht, useState as We, Component as ci } from "react";
|
|
4
|
-
import { L as di } from "./LazyLoadImage-
|
|
5
|
-
import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-
|
|
4
|
+
import { L as di } from "./LazyLoadImage-C5abzMV2.js";
|
|
5
|
+
import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-BKCLhMAo.js";
|
|
6
6
|
import * as xi from "react-dom";
|
|
7
7
|
var bi = class extends Hn {
|
|
8
8
|
constructor(t, e) {
|
|
@@ -3823,7 +3823,7 @@ const er = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
|
|
|
3823
3823
|
wheelToZoom: !0,
|
|
3824
3824
|
pinchToClose: !0,
|
|
3825
3825
|
zoom: !1,
|
|
3826
|
-
pswpModule: () => import("./photoswipe-
|
|
3826
|
+
pswpModule: () => import("./photoswipe-BPElq1wX.js")
|
|
3827
3827
|
});
|
|
3828
3828
|
a.current = d, new bs(d), new Ts(d), new Ps(d), new Cs(d), d.init();
|
|
3829
3829
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Q as Fn, i as bt, h as jn, b as zn, d as $n, j as m, c as oe, e as Bn, f as y, C as Ve, g as Oe, l as Hn, D as It, m as Ce, n as Nt, o as Y, N as Vn, p as Un, q as Xe, k as Ft, s as Ne, t as Yn, u as Qe, v as Wn, G as $e, w as qe, x as Gn, y as Zn, S as Kn, E as Xn, z as Qn } from "./index-
|
|
2
|
-
import { L as Jn } from "./LazyLoadImage-
|
|
3
|
-
import { r as ei, P as Te, u as Ue, c as jt, a as ti, b as zt, d as ni, h as ii, R as si, e as ge, f as oi, F as ri, D as ai, g as li, i as ci } from "./Combination-
|
|
1
|
+
import { Q as Fn, i as bt, h as jn, b as zn, d as $n, j as m, c as oe, e as Bn, f as y, C as Ve, g as Oe, l as Hn, D as It, m as Ce, n as Nt, o as Y, N as Vn, p as Un, q as Xe, k as Ft, s as Ne, t as Yn, u as Qe, v as Wn, G as $e, w as qe, x as Gn, y as Zn, S as Kn, E as Xn, z as Qn } from "./index-CRVVPc2O.js";
|
|
2
|
+
import { L as Jn } from "./LazyLoadImage-BpU9qC5e.js";
|
|
3
|
+
import { r as ei, P as Te, u as Ue, c as jt, a as ti, b as zt, d as ni, h as ii, R as si, e as ge, f as oi, F as ri, D as ai, g as li, i as ci } from "./Combination-qkGaPEdn.js";
|
|
4
4
|
var di = class extends Fn {
|
|
5
5
|
constructor(t, e) {
|
|
6
6
|
super(t, e);
|
|
@@ -3820,7 +3820,7 @@ const Ho = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
|
|
|
3820
3820
|
wheelToZoom: !0,
|
|
3821
3821
|
pinchToClose: !0,
|
|
3822
3822
|
zoom: !1,
|
|
3823
|
-
pswpModule: () => import("./photoswipe-
|
|
3823
|
+
pswpModule: () => import("./photoswipe-CY5-wgqz.js")
|
|
3824
3824
|
});
|
|
3825
3825
|
a.current = d, new ds(d), new us(d), new hs(d), new ms(d), d.init();
|
|
3826
3826
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as T1, c as B3 } from "./index-
|
|
1
|
+
import { j as T1, c as B3 } from "./index-6_58sahd.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]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as x1, f as I, c as j3 } from "./index-
|
|
1
|
+
import { j as x1, f as I, c as j3 } from "./index-CRVVPc2O.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,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-
|
|
2
|
-
import { T as d, U as f, V as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-CsyhvpIV.js";
|
|
2
|
+
import { T as d, U as f, V as e } from "./index-CRVVPc2O.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-
|
|
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 "./67EVQ76A-BuLjtL72.js";
|
|
2
|
+
import { J as d, K as f, L as e } from "./index-6_58sahd.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as p, j as I, c as k } from "./index-
|
|
1
|
+
import { f as p, j as I, c as k } from "./index-CRVVPc2O.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-6_58sahd.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, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-
|
|
1
|
+
import { j as c, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-6_58sahd.js";
|
|
2
2
|
import { useState as f, useEffect as w, Fragment as S } from "react";
|
|
3
3
|
const u = ({ title: q, entries: s = [], showFloatingPoint: a = !1, hidePictures: d = !0 }) => {
|
|
4
4
|
var i, l, o, e, n, x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c, x as N, u as y, f as q, y as g, k as b, c as v, g as f } from "./index-
|
|
1
|
+
import { j as c, x as N, u as y, f as q, y as g, k as b, c as v, g as f } from "./index-CRVVPc2O.js";
|
|
2
2
|
const h = ({ title: d, entries: s = [], showFloatingPoint: a = !1, hidePictures: i = !0 }) => {
|
|
3
3
|
var o, l, x, e, n, m;
|
|
4
4
|
const r = d.replace(/\s+/g, "-").toLowerCase();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as m, a as u, j as s, S as q, N as h, E as
|
|
2
|
-
import { L as t } from "./LazyLoadImage-
|
|
3
|
-
const p = (r) => r ===
|
|
4
|
-
const { organizationId: r } = m(), { isLoading: d, data:
|
|
1
|
+
import { u as m, a as u, j as s, S as q, N as h, E as o, c as g, k as n } from "./index-CRVVPc2O.js";
|
|
2
|
+
import { L as t } from "./LazyLoadImage-BpU9qC5e.js";
|
|
3
|
+
const p = (r) => r === o.UPCOMING ? "qc-bg-warning" : r === o.CLOSED ? "qc-bg-error" : "qc-bg-success", N = () => {
|
|
4
|
+
const { organizationId: r } = m(), { isLoading: d, data: l } = u({
|
|
5
5
|
queryKey: [`public-events-${r}`],
|
|
6
6
|
queryFn: async () => {
|
|
7
7
|
const c = await n.get(`https://qrati.com/api/connect/${r}/public-events`, {
|
|
@@ -13,22 +13,22 @@ const p = (r) => r === l.UPCOMING ? "qc-bg-warning" : r === l.CLOSED ? "qc-bg-er
|
|
|
13
13
|
return c.data;
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
return d ? /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: Array.from({ length: 3 }).map((c) => /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
16
|
+
return d ? /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: Array.from({ length: 3 }).map((c, a) => /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
17
17
|
/* @__PURE__ */ s.jsx(q, { className: "qc-h-72 qc-overflow-hidden qc-rounded sm:qc-h-80" }),
|
|
18
18
|
/* @__PURE__ */ s.jsx(q, { className: "qc-mx-auto qc-h-6 qc-w-64 qc-rounded" })
|
|
19
|
-
] },
|
|
20
|
-
var
|
|
19
|
+
] }, a)) }) : /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: l == null ? void 0 : l.map((c) => {
|
|
20
|
+
var a, i;
|
|
21
21
|
return /* @__PURE__ */ s.jsx(h, { to: `/event/${c.slug}/gallery`, className: "qc-block", children: /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
22
22
|
/* @__PURE__ */ s.jsxs("div", { className: "qc-relative qc-h-72 qc-overflow-hidden qc-rounded sm:qc-h-80", children: [
|
|
23
23
|
/* @__PURE__ */ s.jsx(
|
|
24
24
|
t,
|
|
25
25
|
{
|
|
26
26
|
wrapperClassName: "qc-size-full sm:hover:qc-scale-105 sm:qc-transition-transform",
|
|
27
|
-
src: c != null && c.coverImageUrl ? c == null ? void 0 : c.coverImageUrl : ((
|
|
27
|
+
src: c != null && c.coverImageUrl ? c == null ? void 0 : c.coverImageUrl : ((a = c == null ? void 0 : c.contents) == null ? void 0 : a.length) > 0 ? c.contents[0].thumbnailUrl : null,
|
|
28
28
|
blurhash: c != null && c.coverBlurHash ? c == null ? void 0 : c.coverBlurHash : ((i = c == null ? void 0 : c.contents) == null ? void 0 : i.length) > 0 ? c.contents[0].blurHash : null
|
|
29
29
|
}
|
|
30
30
|
),
|
|
31
|
-
(c == null ? void 0 : c.status) !==
|
|
31
|
+
(c == null ? void 0 : c.status) !== o.CLOSED && /* @__PURE__ */ s.jsx(
|
|
32
32
|
"span",
|
|
33
33
|
{
|
|
34
34
|
className: g(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as m, a as u, j as s, S as q, N as h, E as
|
|
1
|
+
import { u as m, a as u, j as s, S as q, N as h, E as o, c as g, k as n } from "./index-6_58sahd.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { L as t } from "./LazyLoadImage-
|
|
4
|
-
const p = (r) => r ===
|
|
5
|
-
const { organizationId: r } = m(), { isLoading: d, data:
|
|
3
|
+
import { L as t } from "./LazyLoadImage-C5abzMV2.js";
|
|
4
|
+
const p = (r) => r === o.UPCOMING ? "qc-bg-warning" : r === o.CLOSED ? "qc-bg-error" : "qc-bg-success", b = () => {
|
|
5
|
+
const { organizationId: r } = m(), { isLoading: d, data: l } = u({
|
|
6
6
|
queryKey: [`public-events-${r}`],
|
|
7
7
|
queryFn: async () => {
|
|
8
8
|
const c = await n.get(`https://qrati.com/api/connect/${r}/public-events`, {
|
|
@@ -14,22 +14,22 @@ const p = (r) => r === l.UPCOMING ? "qc-bg-warning" : r === l.CLOSED ? "qc-bg-er
|
|
|
14
14
|
return c.data;
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
return d ? /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: Array.from({ length: 3 }).map((c) => /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
17
|
+
return d ? /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: Array.from({ length: 3 }).map((c, a) => /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
18
18
|
/* @__PURE__ */ s.jsx(q, { className: "qc-h-72 qc-overflow-hidden qc-rounded sm:qc-h-80" }),
|
|
19
19
|
/* @__PURE__ */ s.jsx(q, { className: "qc-mx-auto qc-h-6 qc-w-64 qc-rounded" })
|
|
20
|
-
] },
|
|
21
|
-
var
|
|
20
|
+
] }, a)) }) : /* @__PURE__ */ s.jsx("div", { className: "qc-grid qc-grid-cols-1 qc-gap-4 sm:qc-grid-cols-3", children: l == null ? void 0 : l.map((c) => {
|
|
21
|
+
var a, i;
|
|
22
22
|
return /* @__PURE__ */ s.jsx(h, { to: `/event/${c.slug}/gallery`, className: "qc-block", children: /* @__PURE__ */ s.jsxs("div", { className: "qc-space-y-4", children: [
|
|
23
23
|
/* @__PURE__ */ s.jsxs("div", { className: "qc-relative qc-h-72 qc-overflow-hidden qc-rounded sm:qc-h-80", children: [
|
|
24
24
|
/* @__PURE__ */ s.jsx(
|
|
25
25
|
t,
|
|
26
26
|
{
|
|
27
27
|
wrapperClassName: "qc-size-full sm:hover:qc-scale-105 sm:qc-transition-transform",
|
|
28
|
-
src: c != null && c.coverImageUrl ? c == null ? void 0 : c.coverImageUrl : ((
|
|
28
|
+
src: c != null && c.coverImageUrl ? c == null ? void 0 : c.coverImageUrl : ((a = c == null ? void 0 : c.contents) == null ? void 0 : a.length) > 0 ? c.contents[0].thumbnailUrl : null,
|
|
29
29
|
blurhash: c != null && c.coverBlurHash ? c == null ? void 0 : c.coverBlurHash : ((i = c == null ? void 0 : c.contents) == null ? void 0 : i.length) > 0 ? c.contents[0].blurHash : null
|
|
30
30
|
}
|
|
31
31
|
),
|
|
32
|
-
(c == null ? void 0 : c.status) !==
|
|
32
|
+
(c == null ? void 0 : c.status) !== o.CLOSED && /* @__PURE__ */ s.jsx(
|
|
33
33
|
"span",
|
|
34
34
|
{
|
|
35
35
|
className: g(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-
|
|
1
|
+
import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-6_58sahd.js";
|
|
2
2
|
import * as x from "react";
|
|
3
3
|
import { useState as T, useEffect as ce, lazy as se } from "react";
|
|
4
|
-
import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-
|
|
5
|
-
import { L as st } from "./LazyLoadImage-
|
|
6
|
-
import { V as ot } from "./VideoPlayer-
|
|
4
|
+
import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-BKCLhMAo.js";
|
|
5
|
+
import { L as st } from "./LazyLoadImage-C5abzMV2.js";
|
|
6
|
+
import { V as ot } from "./VideoPlayer-By0iTL1h.js";
|
|
7
7
|
var ae = "Dialog", [xe, Ft] = Ke(ae), [at, I] = xe(ae), he = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
__scopeDialog: r,
|
|
@@ -387,7 +387,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
|
|
|
387
387
|
}
|
|
388
388
|
)
|
|
389
389
|
] });
|
|
390
|
-
}, jt = se(() => import("./index-O4xJCcGD.js").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-
|
|
390
|
+
}, jt = se(() => import("./index-O4xJCcGD.js").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-DA-Yh3zg.js")), bt = ({ feedback: e }) => {
|
|
391
391
|
const r = "#374151", [s, o] = T(10);
|
|
392
392
|
return ce(() => {
|
|
393
393
|
const c = (e && e.parameters || []).reduce((a, n) => a + Math.abs(parseFloat(n.crowdRating) - parseFloat(n.userRating)), 0);
|
|
@@ -438,7 +438,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
|
|
|
438
438
|
/* @__PURE__ */ t.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ t.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" }) }),
|
|
439
439
|
!!r && /* @__PURE__ */ t.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ t.jsx("span", { className: A("qc-text-primary qc-px-2 qc-font-medium", o), children: r }) })
|
|
440
440
|
] });
|
|
441
|
-
}, _t = se(() => import("./DotLottiePlayer-
|
|
441
|
+
}, _t = se(() => import("./DotLottiePlayer-DA-Yh3zg.js")), Rt = ({ parameter: e, selected: r, onChange: s, showValues: o = !0 }) => /* @__PURE__ */ t.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: [
|
|
442
442
|
/* @__PURE__ */ t.jsx(
|
|
443
443
|
Ct,
|
|
444
444
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as l, j as t, s as te, t as ze, u as me, v as Le, c as O, R as J, x as ke, q as Ge, y as We, k as B, H as ne, S as K, E as Z, o as ie, I as Be, J as Ve } from "./index-
|
|
2
|
-
import { g as He, c as Ue, i as Q, b as re, d as Ye, P as H, e as V, h as Xe, R as Je, f as Ke, F as Ze, D as Qe, j as et } from "./Combination-
|
|
3
|
-
import { L as tt } from "./LazyLoadImage-
|
|
4
|
-
import { V as rt } from "./VideoPlayer-
|
|
1
|
+
import { f as l, j as t, s as te, t as ze, u as me, v as Le, c as O, R as J, x as ke, q as Ge, y as We, k as B, H as ne, S as K, E as Z, o as ie, I as Be, J as Ve } from "./index-CRVVPc2O.js";
|
|
2
|
+
import { g as He, c as Ue, i as Q, b as re, d as Ye, P as H, e as V, h as Xe, R as Je, f as Ke, F as Ze, D as Qe, j as et } from "./Combination-qkGaPEdn.js";
|
|
3
|
+
import { L as tt } from "./LazyLoadImage-BpU9qC5e.js";
|
|
4
|
+
import { V as rt } from "./VideoPlayer-D8Q2h_4I.js";
|
|
5
5
|
var se = "Dialog", [fe, Ot] = Ue(se), [st, T] = fe(se), ge = (e) => {
|
|
6
6
|
const {
|
|
7
7
|
__scopeDialog: r,
|
|
@@ -385,7 +385,7 @@ const le = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
|
|
|
385
385
|
}
|
|
386
386
|
)
|
|
387
387
|
] });
|
|
388
|
-
}, vt = l.lazy(() => import("./index-
|
|
388
|
+
}, vt = l.lazy(() => import("./index-DJMP38JF.js").then((e) => e.i)), yt = l.lazy(() => import("./DotLottiePlayer-DqhRxX--.js")), Nt = ({ feedback: e }) => {
|
|
389
389
|
const r = "#374151", [c, o] = l.useState(10);
|
|
390
390
|
return l.useEffect(() => {
|
|
391
391
|
const s = (e && e.parameters || []).reduce((a, n) => a + Math.abs(parseFloat(n.crowdRating) - parseFloat(n.userRating)), 0);
|
|
@@ -436,7 +436,7 @@ const le = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
|
|
|
436
436
|
/* @__PURE__ */ t.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ t.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" }) }),
|
|
437
437
|
!!r && /* @__PURE__ */ t.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ t.jsx("span", { className: O("qc-text-primary qc-px-2 qc-font-medium", o), children: r }) })
|
|
438
438
|
] });
|
|
439
|
-
}, wt = l.lazy(() => import("./DotLottiePlayer-
|
|
439
|
+
}, wt = l.lazy(() => import("./DotLottiePlayer-DqhRxX--.js")), bt = ({ parameter: e, selected: r, onChange: c, showValues: o = !0 }) => /* @__PURE__ */ t.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: [
|
|
440
440
|
/* @__PURE__ */ t.jsx(
|
|
441
441
|
jt,
|
|
442
442
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as Ln, f as G, j as H, o as Un, c as Ft, A as st, B as ke, x as md, u as gd, q as yd, y as xd, k as So, F as Xe, E as Sd, S as Ed } from "./index-
|
|
2
|
-
import { V as Td } from "./VideoPlayer-
|
|
1
|
+
import { w as Ln, f as G, j as H, o as Un, c as Ft, A as st, B as ke, x as md, u as gd, q as yd, y as xd, k as So, F as Xe, E as Sd, S as Ed } from "./index-CRVVPc2O.js";
|
|
2
|
+
import { V as Td } from "./VideoPlayer-D8Q2h_4I.js";
|
|
3
3
|
const ve = [];
|
|
4
4
|
for (let e = 0; e < 256; ++e)
|
|
5
5
|
ve.push((e + 256).toString(16).slice(1));
|
|
@@ -12122,7 +12122,7 @@ const yT = 2400, vs = ["jpg", "jpeg", "png", "webp", "heic", "tiff", "bmp"], dd
|
|
|
12122
12122
|
try {
|
|
12123
12123
|
const c = (d = (l = e.originalFile) == null ? void 0 : l.name) == null ? void 0 : d.split(".").pop();
|
|
12124
12124
|
if (["heic", "heif"].includes(c == null ? void 0 : c.toLowerCase()) && typeof window < "u") {
|
|
12125
|
-
const u = (await import("./heic2any-
|
|
12125
|
+
const u = (await import("./heic2any-DE6hmdOM.js").then((f) => f.h)).default;
|
|
12126
12126
|
r = await u({ blob: e.originalFile, toType: "image/jpeg" });
|
|
12127
12127
|
}
|
|
12128
12128
|
} catch (c) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-
|
|
1
|
+
import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-6_58sahd.js";
|
|
2
2
|
import * as ws from "react";
|
|
3
3
|
import Hn, { useDebugValue as wo, createElement as mu, useRef as He, useContext as Ae, useState as De, useCallback as St, useEffect as Bt, createContext as Sn, useLayoutEffect as Md, useId as _s, useInsertionEffect as gu, useMemo as it, Children as Od, isValidElement as Nd, forwardRef as Ld, Fragment as Rs, Component as Ud } from "react";
|
|
4
|
-
import { V as kd } from "./VideoPlayer-
|
|
4
|
+
import { V as kd } from "./VideoPlayer-By0iTL1h.js";
|
|
5
5
|
const Te = [];
|
|
6
6
|
for (let e = 0; e < 256; ++e)
|
|
7
7
|
Te.push((e + 256).toString(16).slice(1));
|
package/element.es.js
CHANGED
|
@@ -5869,7 +5869,7 @@ var wb = (t, e = !1) => {
|
|
|
5869
5869
|
const e = ql(() => {
|
|
5870
5870
|
const r = this, [n] = h(this, fr), [s] = h(this, pr), [i] = h(this, mr), [o] = h(this, gr), [a] = h(this, dr);
|
|
5871
5871
|
let l;
|
|
5872
|
-
return h(this, yr) ? l = h(this, yr) : (l = Ml(() => import("./J3FDRF32-
|
|
5872
|
+
return h(this, yr) ? l = h(this, yr) : (l = Ml(() => import("./J3FDRF32-D3VfAG0G.js")), _(this, yr, l)), nc(h(this, yn), h(this, hr)), Dl(l, Ll({
|
|
5873
5873
|
get queryFlavor() {
|
|
5874
5874
|
return h(r, mn);
|
|
5875
5875
|
},
|
|
@@ -5963,7 +5963,7 @@ var wb = (t, e = !1) => {
|
|
|
5963
5963
|
const e = ql(() => {
|
|
5964
5964
|
const r = this, [n] = h(this, wr), [s] = h(this, Er), [i] = h(this, _r), [o] = h(this, Ir), [a] = h(this, vr), [l] = h(this, Rr);
|
|
5965
5965
|
let c;
|
|
5966
|
-
return h(this, Tr) ? c = h(this, Tr) : (c = Ml(() => import("./3VW64HDT-
|
|
5966
|
+
return h(this, Tr) ? c = h(this, Tr) : (c = Ml(() => import("./3VW64HDT-C9EabY_7.js")), _(this, Tr, c)), nc(h(this, _n), h(this, br)), Dl(c, Ll({
|
|
5967
5967
|
get queryFlavor() {
|
|
5968
5968
|
return h(r, wn);
|
|
5969
5969
|
},
|
|
@@ -6080,7 +6080,7 @@ var Jf = process.env.NODE_ENV !== "development" ? function() {
|
|
|
6080
6080
|
return null;
|
|
6081
6081
|
} : Qf;
|
|
6082
6082
|
process.env.NODE_ENV;
|
|
6083
|
-
const Xf = ({ title: t, description: e }) => /* @__PURE__ */ T.jsxs("div", { className: "qc-w-full qc-flex-col qc-items-center qc-justify-center qc-gap-
|
|
6083
|
+
const Xf = ({ title: t, description: e }) => /* @__PURE__ */ T.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-flex-col qc-items-center qc-justify-center qc-gap-4", children: [
|
|
6084
6084
|
/* @__PURE__ */ T.jsx(
|
|
6085
6085
|
"img",
|
|
6086
6086
|
{
|
|
@@ -6088,7 +6088,7 @@ const Xf = ({ title: t, description: e }) => /* @__PURE__ */ T.jsxs("div", { cla
|
|
|
6088
6088
|
src: "https://banner2.cleanpng.com/20180531/egc/avo4mnj68.webp"
|
|
6089
6089
|
}
|
|
6090
6090
|
),
|
|
6091
|
-
/* @__PURE__ */ T.jsx("h1", { children: t }),
|
|
6091
|
+
/* @__PURE__ */ T.jsx("h1", { className: "qc-text-lg qc-font-medium", children: t }),
|
|
6092
6092
|
/* @__PURE__ */ T.jsx("h2", { children: e })
|
|
6093
6093
|
] }), sc = Hi(), Zf = (t) => /* @__PURE__ */ T.jsx(sc.Provider, { value: t, children: t.children }), to = () => {
|
|
6094
6094
|
const t = Vi(sc);
|
|
@@ -15002,34 +15002,6 @@ const J = (t) => {
|
|
|
15002
15002
|
const t = Vi(cu);
|
|
15003
15003
|
if (t === void 0) throw new Error("useTheme must be used within an ThemeProvider");
|
|
15004
15004
|
return t;
|
|
15005
|
-
}, Dv = ({ eventSlug: t }) => {
|
|
15006
|
-
const { organizationId: e } = to(), { isLoading: r, data: n, isError: s, error: i } = Il({
|
|
15007
|
-
queryKey: [`event-data-${e}-${t}`],
|
|
15008
|
-
queryFn: async () => {
|
|
15009
|
-
try {
|
|
15010
|
-
const o = await Pi.get(`https://qrati.com/api/connect/${e}/event-data`, {
|
|
15011
|
-
searchParams: t ? { eventSlug: t } : void 0,
|
|
15012
|
-
headers: {
|
|
15013
|
-
"x-org-id": e
|
|
15014
|
-
}
|
|
15015
|
-
}).json();
|
|
15016
|
-
if (o.error)
|
|
15017
|
-
throw new Error(o.error);
|
|
15018
|
-
return o.data;
|
|
15019
|
-
} catch (o) {
|
|
15020
|
-
throw new Error((o == null ? void 0 : o.message) || o || "Failed to fetch public events");
|
|
15021
|
-
}
|
|
15022
|
-
},
|
|
15023
|
-
enabled: !!e && !!t
|
|
15024
|
-
});
|
|
15025
|
-
return {
|
|
15026
|
-
isLoading: r,
|
|
15027
|
-
event: n == null ? void 0 : n.event,
|
|
15028
|
-
ads: n == null ? void 0 : n.ads,
|
|
15029
|
-
parameters: n == null ? void 0 : n.parameters,
|
|
15030
|
-
isError: s,
|
|
15031
|
-
error: i
|
|
15032
|
-
};
|
|
15033
15005
|
};
|
|
15034
15006
|
function Na(t, e) {
|
|
15035
15007
|
if (typeof t == "function")
|
|
@@ -15056,7 +15028,7 @@ function Cb(...t) {
|
|
|
15056
15028
|
return y.useCallback(uu(...t), t);
|
|
15057
15029
|
}
|
|
15058
15030
|
var du = y.forwardRef((t, e) => {
|
|
15059
|
-
const { children: r, ...n } = t, s = y.Children.toArray(r), i = s.find(
|
|
15031
|
+
const { children: r, ...n } = t, s = y.Children.toArray(r), i = s.find(Lv);
|
|
15060
15032
|
if (i) {
|
|
15061
15033
|
const o = i.props.children, a = s.map((l) => l === i ? y.Children.count(o) > 1 ? y.Children.only(null) : y.isValidElement(o) ? o.props.children : null : l);
|
|
15062
15034
|
return /* @__PURE__ */ T.jsx($i, { ...n, ref: e, children: y.isValidElement(o) ? y.cloneElement(o, void 0, a) : null });
|
|
@@ -15067,17 +15039,17 @@ du.displayName = "Slot";
|
|
|
15067
15039
|
var $i = y.forwardRef((t, e) => {
|
|
15068
15040
|
const { children: r, ...n } = t;
|
|
15069
15041
|
if (y.isValidElement(r)) {
|
|
15070
|
-
const s =
|
|
15042
|
+
const s = Uv(r), i = Mv(n, r.props);
|
|
15071
15043
|
return r.type !== y.Fragment && (i.ref = e ? uu(e, s) : s), y.cloneElement(r, i);
|
|
15072
15044
|
}
|
|
15073
15045
|
return y.Children.count(r) > 1 ? y.Children.only(null) : null;
|
|
15074
15046
|
});
|
|
15075
15047
|
$i.displayName = "SlotClone";
|
|
15076
|
-
var
|
|
15077
|
-
function
|
|
15078
|
-
return y.isValidElement(t) && t.type ===
|
|
15048
|
+
var Dv = ({ children: t }) => /* @__PURE__ */ T.jsx(T.Fragment, { children: t });
|
|
15049
|
+
function Lv(t) {
|
|
15050
|
+
return y.isValidElement(t) && t.type === Dv;
|
|
15079
15051
|
}
|
|
15080
|
-
function
|
|
15052
|
+
function Mv(t, e) {
|
|
15081
15053
|
const r = { ...e };
|
|
15082
15054
|
for (const n in e) {
|
|
15083
15055
|
const s = t[n], i = e[n];
|
|
@@ -15087,12 +15059,12 @@ function Uv(t, e) {
|
|
|
15087
15059
|
}
|
|
15088
15060
|
return { ...t, ...r };
|
|
15089
15061
|
}
|
|
15090
|
-
function
|
|
15062
|
+
function Uv(t) {
|
|
15091
15063
|
var n, s;
|
|
15092
15064
|
let e = (n = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : n.get, r = e && "isReactWarning" in e && e.isReactWarning;
|
|
15093
15065
|
return r ? t.ref : (e = (s = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : s.get, r = e && "isReactWarning" in e && e.isReactWarning, r ? t.props.ref : t.props.ref || t.ref);
|
|
15094
15066
|
}
|
|
15095
|
-
const Da = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, La = nu,
|
|
15067
|
+
const Da = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, La = nu, qv = (t, e) => (r) => {
|
|
15096
15068
|
var n;
|
|
15097
15069
|
if ((e == null ? void 0 : e.variants) == null) return La(t, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
15098
15070
|
const { variants: s, defaultVariants: i } = e, o = Object.keys(s).map((c) => {
|
|
@@ -15121,7 +15093,7 @@ const Da = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, La = nu, F
|
|
|
15121
15093
|
] : c;
|
|
15122
15094
|
}, []);
|
|
15123
15095
|
return La(t, o, l, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
15124
|
-
},
|
|
15096
|
+
}, Fv = qv(
|
|
15125
15097
|
"qc-shadow-outer qc-inline-flex qc-size-fit qc-items-center qc-justify-center qc-rounded qc-font-medium qc-duration-500 disabled:qc-pointer-events-none disabled:qc-opacity-50",
|
|
15126
15098
|
{
|
|
15127
15099
|
variants: {
|
|
@@ -15194,7 +15166,7 @@ const Da = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, La = nu, F
|
|
|
15194
15166
|
ref: d,
|
|
15195
15167
|
type: e,
|
|
15196
15168
|
disabled: r || n,
|
|
15197
|
-
className: _s(
|
|
15169
|
+
className: _s(Fv({ color: i, size: o, variant: a, className: t }), s && "qc-w-full"),
|
|
15198
15170
|
...u,
|
|
15199
15171
|
children: [
|
|
15200
15172
|
/* @__PURE__ */ T.jsxs("div", { className: _s(n ? "qc-collapse" : "qc-visible qc-flex qc-items-center qc-gap-2"), children: [
|
|
@@ -15271,7 +15243,35 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15271
15243
|
),
|
|
15272
15244
|
...r
|
|
15273
15245
|
}
|
|
15274
|
-
),
|
|
15246
|
+
), jv = ({ eventSlug: t }) => {
|
|
15247
|
+
const { organizationId: e } = to(), { isLoading: r, data: n, isError: s, error: i } = Il({
|
|
15248
|
+
queryKey: [`event-data-${e}-${t}`],
|
|
15249
|
+
queryFn: async () => {
|
|
15250
|
+
try {
|
|
15251
|
+
const o = await Pi.get(`https://qrati.com/api/connect/${e}/event-data`, {
|
|
15252
|
+
searchParams: t ? { eventSlug: t } : void 0,
|
|
15253
|
+
headers: {
|
|
15254
|
+
"x-org-id": e
|
|
15255
|
+
}
|
|
15256
|
+
}).json();
|
|
15257
|
+
if (o.error)
|
|
15258
|
+
throw new Error(o.error);
|
|
15259
|
+
return o.data;
|
|
15260
|
+
} catch (o) {
|
|
15261
|
+
throw new Error((o == null ? void 0 : o.message) || o || "Failed to fetch public events");
|
|
15262
|
+
}
|
|
15263
|
+
},
|
|
15264
|
+
enabled: !!e && !!t
|
|
15265
|
+
});
|
|
15266
|
+
return {
|
|
15267
|
+
isLoading: r,
|
|
15268
|
+
event: n == null ? void 0 : n.event,
|
|
15269
|
+
ads: n == null ? void 0 : n.ads,
|
|
15270
|
+
parameters: n == null ? void 0 : n.parameters,
|
|
15271
|
+
isError: s,
|
|
15272
|
+
error: i
|
|
15273
|
+
};
|
|
15274
|
+
}, Ab = {
|
|
15275
15275
|
IMAGE: "IMAGE",
|
|
15276
15276
|
VIDEO: "VIDEO",
|
|
15277
15277
|
AD: "AD"
|
|
@@ -15322,19 +15322,12 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15322
15322
|
CURATED: "curated",
|
|
15323
15323
|
ELIGIBLE: "eligible"
|
|
15324
15324
|
}, $v = () => {
|
|
15325
|
-
const t = yt(), { eventSlug: e } = Zu(), { isLoading: r, event: n } =
|
|
15325
|
+
const t = yt(), { eventSlug: e } = Zu(), { isLoading: r, event: n } = jv({ eventSlug: e }), s = Fs(() => t.pathname.includes("gallery"), [t.pathname]), i = Fs(() => t.pathname.includes("upload"), [t.pathname]), o = Fs(() => t.pathname.includes("rate"), [t.pathname]);
|
|
15326
15326
|
return /* @__PURE__ */ T.jsxs("div", { className: "qc-relative qc-w-full", children: [
|
|
15327
|
-
/* @__PURE__ */ T.jsx(
|
|
15328
|
-
zr,
|
|
15329
|
-
{
|
|
15330
|
-
className: "qc-text-brand qc-left-0 qc-top-0 sm:qc-absolute",
|
|
15331
|
-
to: "/",
|
|
15332
|
-
children: /* @__PURE__ */ T.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-7", viewBox: "0 0 24 24", children: /* @__PURE__ */ T.jsx("path", { fill: "currentColor", d: "m6.921 12.5l5.439 5.439q.146.146.153.344q.006.198-.16.363q-.164.16-.353.163q-.188.002-.354-.163l-6.08-6.08q-.131-.132-.184-.268T5.329 12t.053-.298t.184-.267l6.08-6.081q.14-.14.341-.15q.202-.01.367.15q.165.165.165.356q0 .192-.165.357L6.92 11.5H18.5q.214 0 .357.143T19 12t-.143.357t-.357.143z" }) })
|
|
15333
|
-
}
|
|
15334
|
-
),
|
|
15327
|
+
/* @__PURE__ */ T.jsx(zr, { className: "qc-text-brand qc-left-0 qc-top-0 sm:qc-absolute", to: "/", children: /* @__PURE__ */ T.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-7", viewBox: "0 0 24 24", children: /* @__PURE__ */ T.jsx("path", { fill: "currentColor", d: "m6.921 12.5l5.439 5.439q.146.146.153.344q.006.198-.16.363q-.164.16-.353.163q-.188.002-.354-.163l-6.08-6.08q-.131-.132-.184-.268T5.329 12t.053-.298t.184-.267l6.08-6.081q.14-.14.341-.15q.202-.01.367.15q.165.165.165.356q0 .192-.165.357L6.92 11.5H18.5q.214 0 .357.143T19 12t-.143.357t-.357.143z" }) }) }),
|
|
15335
15328
|
r && /* @__PURE__ */ T.jsxs(yu, { children: [
|
|
15336
|
-
/* @__PURE__ */ T.jsx(Ma, { className: "qc-mx-auto qc-h-
|
|
15337
|
-
/* @__PURE__ */ T.jsx(Ma, { className: "qc-mx-auto qc-h-10 qc-w-72" })
|
|
15329
|
+
/* @__PURE__ */ T.jsx(Ma, { className: "qc-mx-auto qc-mt-4 qc-h-8 qc-w-64" }),
|
|
15330
|
+
/* @__PURE__ */ T.jsx(Ma, { className: "qc-mx-auto qc-mt-8 qc-h-10 qc-w-72" })
|
|
15338
15331
|
] }),
|
|
15339
15332
|
/* @__PURE__ */ T.jsxs("div", { className: "qc-space-y-4 qc-pt-4 lg:qc-space-y-8", children: [
|
|
15340
15333
|
!r && n && /* @__PURE__ */ T.jsx("h1", { className: "qc-text-primary qc-w-full qc-text-center qc-text-lg qc-font-bold xl:qc-text-[1.5rem]", children: n == null ? void 0 : n.name }),
|
|
@@ -15361,13 +15354,21 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15361
15354
|
color: "success",
|
|
15362
15355
|
className: "qc-font-bold qc-lowercase",
|
|
15363
15356
|
variant: i ? "default" : "outlined",
|
|
15364
|
-
iconSvg: /* @__PURE__ */ T.jsx(
|
|
15365
|
-
"
|
|
15357
|
+
iconSvg: /* @__PURE__ */ T.jsx(
|
|
15358
|
+
"svg",
|
|
15366
15359
|
{
|
|
15367
|
-
|
|
15368
|
-
|
|
15360
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15361
|
+
className: "qc-size-7",
|
|
15362
|
+
viewBox: "0 0 24 24",
|
|
15363
|
+
children: /* @__PURE__ */ T.jsx(
|
|
15364
|
+
"path",
|
|
15365
|
+
{
|
|
15366
|
+
fill: "currentColor",
|
|
15367
|
+
d: "M6.616 19q-.691 0-1.153-.462T5 17.384v-1.923q0-.213.143-.356t.357-.144t.357.144t.143.356v1.923q0 .231.192.424t.423.192h10.77q.23 0 .423-.192t.192-.424v-1.923q0-.213.143-.356t.357-.144t.357.144t.143.356v1.923q0 .691-.462 1.153T17.384 19zM11.5 6.927L9.529 8.898q-.146.146-.347.153t-.366-.159q-.16-.165-.163-.353q-.003-.189.163-.354l2.618-2.62q.132-.13.268-.183q.137-.053.298-.053t.298.053t.268.184l2.618 2.619q.147.146.154.344q.006.198-.153.363q-.166.166-.357.169t-.357-.163L12.5 6.927v8.15q0 .214-.143.357t-.357.143t-.357-.143t-.143-.357z"
|
|
15368
|
+
}
|
|
15369
|
+
)
|
|
15369
15370
|
}
|
|
15370
|
-
)
|
|
15371
|
+
),
|
|
15371
15372
|
children: "Upload"
|
|
15372
15373
|
}
|
|
15373
15374
|
) }),
|
|
@@ -15377,13 +15378,21 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15377
15378
|
color: "warning",
|
|
15378
15379
|
className: "qc-font-bold qc-lowercase",
|
|
15379
15380
|
variant: o ? "default" : "outlined",
|
|
15380
|
-
iconSvg: /* @__PURE__ */ T.jsx(
|
|
15381
|
-
"
|
|
15381
|
+
iconSvg: /* @__PURE__ */ T.jsx(
|
|
15382
|
+
"svg",
|
|
15382
15383
|
{
|
|
15383
|
-
|
|
15384
|
-
|
|
15384
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15385
|
+
className: "qc-size-7",
|
|
15386
|
+
viewBox: "0 0 24 24",
|
|
15387
|
+
children: /* @__PURE__ */ T.jsx(
|
|
15388
|
+
"path",
|
|
15389
|
+
{
|
|
15390
|
+
fill: "currentColor",
|
|
15391
|
+
d: "m8.85 16.825l3.15-1.9l3.15 1.925l-.825-3.6l2.775-2.4l-3.65-.325l-1.45-3.4l-1.45 3.375l-3.65.325l2.775 2.425zm3.15-.723l-3.63 2.192q-.16.079-.297.064q-.136-.016-.265-.094q-.13-.08-.196-.226t-.012-.319l.966-4.11l-3.195-2.77q-.135-.11-.178-.263t.019-.293t.165-.23q.104-.087.28-.118l4.216-.368l1.644-3.892q.068-.165.196-.238T12 5.364t.288.073t.195.238l1.644 3.892l4.215.368q.177.03.281.119q.104.088.166.229q.061.14.018.293t-.178.263l-3.195 2.77l.966 4.11q.056.171-.011.318t-.197.226q-.128.08-.265.095q-.136.015-.296-.064zm0-3.852"
|
|
15392
|
+
}
|
|
15393
|
+
)
|
|
15385
15394
|
}
|
|
15386
|
-
)
|
|
15395
|
+
),
|
|
15387
15396
|
children: "Challenge"
|
|
15388
15397
|
}
|
|
15389
15398
|
) })
|
|
@@ -15393,7 +15402,7 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15393
15402
|
}, Bv = () => /* @__PURE__ */ T.jsxs("div", { className: "qc-min-h-96 qc-bg-primary", children: [
|
|
15394
15403
|
/* @__PURE__ */ T.jsx($v, {}),
|
|
15395
15404
|
/* @__PURE__ */ T.jsx(pd, {})
|
|
15396
|
-
] }), Hv = Rn(() => import("./PublicEvents-
|
|
15405
|
+
] }), Hv = Rn(() => import("./PublicEvents-Dzjg_W0Z.js")), Vv = Rn(() => import("./ContentsPage-CGrdFq8i.js").then((t) => t.l)), zv = Rn(() => import("./UploadPage-U1m4_hDy.js")), Gv = Rn(() => import("./LeaderboardPage-CI1i11dS.js")), Ua = Rn(() => import("./RatePage-BDm8-UmB.js")), Wv = new ah(), jb = (t) => t.organizationId ? /* @__PURE__ */ T.jsx(dh, { client: Wv, children: /* @__PURE__ */ T.jsxs(Zf, { ...t, children: [
|
|
15397
15406
|
/* @__PURE__ */ T.jsx(Xy, { children: /* @__PURE__ */ T.jsx(Nv, { children: /* @__PURE__ */ T.jsx(fd, { children: /* @__PURE__ */ T.jsxs(gd, { children: [
|
|
15398
15407
|
/* @__PURE__ */ T.jsx(et, { path: "/", element: /* @__PURE__ */ T.jsx(Hv, {}) }),
|
|
15399
15408
|
/* @__PURE__ */ T.jsxs(et, { path: "/event/:eventSlug", element: /* @__PURE__ */ T.jsx(Bv, {}), children: [
|
|
@@ -15409,8 +15418,7 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ T.jsx(
|
|
|
15409
15418
|
Xf,
|
|
15410
15419
|
{
|
|
15411
15420
|
title: "Organization ID is required!",
|
|
15412
|
-
description: "Please contact the
|
|
15413
|
-
className: "qc-empty-state"
|
|
15421
|
+
description: "Please contact the admin for more information"
|
|
15414
15422
|
}
|
|
15415
15423
|
);
|
|
15416
15424
|
export {
|
|
@@ -15482,7 +15490,7 @@ export {
|
|
|
15482
15490
|
Yv as b,
|
|
15483
15491
|
_s as c,
|
|
15484
15492
|
Ih as d,
|
|
15485
|
-
|
|
15493
|
+
qv as e,
|
|
15486
15494
|
Yn as f,
|
|
15487
15495
|
is as g,
|
|
15488
15496
|
Jv as h,
|
|
@@ -15499,7 +15507,7 @@ export {
|
|
|
15499
15507
|
Sb as s,
|
|
15500
15508
|
Zu as t,
|
|
15501
15509
|
to as u,
|
|
15502
|
-
|
|
15510
|
+
jv as v,
|
|
15503
15511
|
Ub as w,
|
|
15504
15512
|
kb as x,
|
|
15505
15513
|
Pb as y,
|
|
@@ -32635,7 +32635,7 @@ var Q6 = (r, a = !1) => {
|
|
|
32635
32635
|
const a = j_(() => {
|
|
32636
32636
|
const o = this, [c] = z(this, Km), [h] = z(this, Pm), [y] = z(this, Jm), [v] = z(this, Fm), [E] = z(this, $m);
|
|
32637
32637
|
let S;
|
|
32638
|
-
return z(this, Wm) ? S = z(this, Wm) : (S = k_(() => import("./J3FDRF32-
|
|
32638
|
+
return z(this, Wm) ? S = z(this, Wm) : (S = k_(() => import("./J3FDRF32-CH2RoGsH.js")), be(this, Wm, S)), iC(z(this, A0), z(this, Zm)), L_(S, q_({
|
|
32639
32639
|
get queryFlavor() {
|
|
32640
32640
|
return z(o, T0);
|
|
32641
32641
|
},
|
|
@@ -32729,7 +32729,7 @@ var Q6 = (r, a = !1) => {
|
|
|
32729
32729
|
const a = j_(() => {
|
|
32730
32730
|
const o = this, [c] = z(this, ny), [h] = z(this, ay), [y] = z(this, ly), [v] = z(this, iy), [E] = z(this, ey), [S] = z(this, ry);
|
|
32731
32731
|
let R;
|
|
32732
|
-
return z(this, oy) ? R = z(this, oy) : (R = k_(() => import("./3VW64HDT-
|
|
32732
|
+
return z(this, oy) ? R = z(this, oy) : (R = k_(() => import("./3VW64HDT-BUXBipEW.js")), be(this, oy, R)), iC(z(this, D0), z(this, ty)), L_(R, q_({
|
|
32733
32733
|
get queryFlavor() {
|
|
32734
32734
|
return z(o, _0);
|
|
32735
32735
|
},
|
|
@@ -32846,7 +32846,7 @@ var v3 = process.env.NODE_ENV !== "development" ? function() {
|
|
|
32846
32846
|
return null;
|
|
32847
32847
|
} : y3;
|
|
32848
32848
|
process.env.NODE_ENV;
|
|
32849
|
-
const b3 = ({ title: r, description: a }) => /* @__PURE__ */ Ue.jsxs("div", { className: "qc-w-full qc-flex-col qc-items-center qc-justify-center qc-gap-
|
|
32849
|
+
const b3 = ({ title: r, description: a }) => /* @__PURE__ */ Ue.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-flex-col qc-items-center qc-justify-center qc-gap-4", children: [
|
|
32850
32850
|
/* @__PURE__ */ Ue.jsx(
|
|
32851
32851
|
"img",
|
|
32852
32852
|
{
|
|
@@ -32854,7 +32854,7 @@ const b3 = ({ title: r, description: a }) => /* @__PURE__ */ Ue.jsxs("div", { cl
|
|
|
32854
32854
|
src: "https://banner2.cleanpng.com/20180531/egc/avo4mnj68.webp"
|
|
32855
32855
|
}
|
|
32856
32856
|
),
|
|
32857
|
-
/* @__PURE__ */ Ue.jsx("h1", { children: r }),
|
|
32857
|
+
/* @__PURE__ */ Ue.jsx("h1", { className: "qc-text-lg qc-font-medium", children: r }),
|
|
32858
32858
|
/* @__PURE__ */ Ue.jsx("h2", { children: a })
|
|
32859
32859
|
] }), rC = X.createContext(), S3 = (r) => /* @__PURE__ */ Ue.jsx(rC.Provider, { value: r, children: r.children }), fR = () => {
|
|
32860
32860
|
const r = X.useContext(rC);
|
|
@@ -41768,34 +41768,6 @@ const Sn = (r) => {
|
|
|
41768
41768
|
const r = X.useContext(f2);
|
|
41769
41769
|
if (r === void 0) throw new Error("useTheme must be used within an ThemeProvider");
|
|
41770
41770
|
return r;
|
|
41771
|
-
}, t6 = ({ eventSlug: r }) => {
|
|
41772
|
-
const { organizationId: a } = fR(), { isLoading: o, data: c, isError: h, error: y } = w_({
|
|
41773
|
-
queryKey: [`event-data-${a}-${r}`],
|
|
41774
|
-
queryFn: async () => {
|
|
41775
|
-
try {
|
|
41776
|
-
const v = await G1.get(`https://qrati.com/api/connect/${a}/event-data`, {
|
|
41777
|
-
searchParams: r ? { eventSlug: r } : void 0,
|
|
41778
|
-
headers: {
|
|
41779
|
-
"x-org-id": a
|
|
41780
|
-
}
|
|
41781
|
-
}).json();
|
|
41782
|
-
if (v.error)
|
|
41783
|
-
throw new Error(v.error);
|
|
41784
|
-
return v.data;
|
|
41785
|
-
} catch (v) {
|
|
41786
|
-
throw new Error((v == null ? void 0 : v.message) || v || "Failed to fetch public events");
|
|
41787
|
-
}
|
|
41788
|
-
},
|
|
41789
|
-
enabled: !!a && !!r
|
|
41790
|
-
});
|
|
41791
|
-
return {
|
|
41792
|
-
isLoading: o,
|
|
41793
|
-
event: c == null ? void 0 : c.event,
|
|
41794
|
-
ads: c == null ? void 0 : c.ads,
|
|
41795
|
-
parameters: c == null ? void 0 : c.parameters,
|
|
41796
|
-
isError: h,
|
|
41797
|
-
error: y
|
|
41798
|
-
};
|
|
41799
41771
|
};
|
|
41800
41772
|
function NO(r, a) {
|
|
41801
41773
|
if (typeof r == "function")
|
|
@@ -41822,7 +41794,7 @@ function J6(...r) {
|
|
|
41822
41794
|
return X.useCallback(d2(...r), r);
|
|
41823
41795
|
}
|
|
41824
41796
|
var h2 = X.forwardRef((r, a) => {
|
|
41825
|
-
const { children: o, ...c } = r, h = X.Children.toArray(o), y = h.find(
|
|
41797
|
+
const { children: o, ...c } = r, h = X.Children.toArray(o), y = h.find(n6);
|
|
41826
41798
|
if (y) {
|
|
41827
41799
|
const v = y.props.children, E = h.map((S) => S === y ? X.Children.count(v) > 1 ? X.Children.only(null) : X.isValidElement(v) ? v.props.children : null : S);
|
|
41828
41800
|
return /* @__PURE__ */ Ue.jsx(F1, { ...c, ref: a, children: X.isValidElement(v) ? X.cloneElement(v, void 0, E) : null });
|
|
@@ -41833,17 +41805,17 @@ h2.displayName = "Slot";
|
|
|
41833
41805
|
var F1 = X.forwardRef((r, a) => {
|
|
41834
41806
|
const { children: o, ...c } = r;
|
|
41835
41807
|
if (X.isValidElement(o)) {
|
|
41836
|
-
const h =
|
|
41808
|
+
const h = l6(o), y = a6(c, o.props);
|
|
41837
41809
|
return o.type !== X.Fragment && (y.ref = a ? d2(a, h) : h), X.cloneElement(o, y);
|
|
41838
41810
|
}
|
|
41839
41811
|
return X.Children.count(o) > 1 ? X.Children.only(null) : null;
|
|
41840
41812
|
});
|
|
41841
41813
|
F1.displayName = "SlotClone";
|
|
41842
|
-
var
|
|
41843
|
-
function
|
|
41844
|
-
return X.isValidElement(r) && r.type ===
|
|
41814
|
+
var t6 = ({ children: r }) => /* @__PURE__ */ Ue.jsx(Ue.Fragment, { children: r });
|
|
41815
|
+
function n6(r) {
|
|
41816
|
+
return X.isValidElement(r) && r.type === t6;
|
|
41845
41817
|
}
|
|
41846
|
-
function
|
|
41818
|
+
function a6(r, a) {
|
|
41847
41819
|
const o = { ...a };
|
|
41848
41820
|
for (const c in a) {
|
|
41849
41821
|
const h = r[c], y = a[c];
|
|
@@ -41853,12 +41825,12 @@ function l6(r, a) {
|
|
|
41853
41825
|
}
|
|
41854
41826
|
return { ...r, ...o };
|
|
41855
41827
|
}
|
|
41856
|
-
function
|
|
41828
|
+
function l6(r) {
|
|
41857
41829
|
var c, h;
|
|
41858
41830
|
let a = (c = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : c.get, o = a && "isReactWarning" in a && a.isReactWarning;
|
|
41859
41831
|
return o ? r.ref : (a = (h = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : h.get, o = a && "isReactWarning" in a && a.isReactWarning, o ? r.props.ref : r.props.ref || r.ref);
|
|
41860
41832
|
}
|
|
41861
|
-
const zO = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, HO = i2,
|
|
41833
|
+
const zO = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, HO = i2, i6 = (r, a) => (o) => {
|
|
41862
41834
|
var c;
|
|
41863
41835
|
if ((a == null ? void 0 : a.variants) == null) return HO(r, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
41864
41836
|
const { variants: h, defaultVariants: y } = a, v = Object.keys(h).map((R) => {
|
|
@@ -41887,7 +41859,7 @@ const zO = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, HO = i2, r
|
|
|
41887
41859
|
] : R;
|
|
41888
41860
|
}, []);
|
|
41889
41861
|
return HO(r, v, S, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
41890
|
-
},
|
|
41862
|
+
}, r6 = i6(
|
|
41891
41863
|
"qc-shadow-outer qc-inline-flex qc-size-fit qc-items-center qc-justify-center qc-rounded qc-font-medium qc-duration-500 disabled:qc-pointer-events-none disabled:qc-opacity-50",
|
|
41892
41864
|
{
|
|
41893
41865
|
variants: {
|
|
@@ -41960,7 +41932,7 @@ const zO = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, HO = i2, r
|
|
|
41960
41932
|
ref: O,
|
|
41961
41933
|
type: a,
|
|
41962
41934
|
disabled: o || c,
|
|
41963
|
-
className: yE(
|
|
41935
|
+
className: yE(r6({ color: y, size: v, variant: E, className: r }), h && "qc-w-full"),
|
|
41964
41936
|
...x,
|
|
41965
41937
|
children: [
|
|
41966
41938
|
/* @__PURE__ */ Ue.jsxs("div", { className: yE(c ? "qc-collapse" : "qc-visible qc-flex qc-items-center qc-gap-2"), children: [
|
|
@@ -42037,7 +42009,35 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42037
42009
|
),
|
|
42038
42010
|
...o
|
|
42039
42011
|
}
|
|
42040
|
-
),
|
|
42012
|
+
), o6 = ({ eventSlug: r }) => {
|
|
42013
|
+
const { organizationId: a } = fR(), { isLoading: o, data: c, isError: h, error: y } = w_({
|
|
42014
|
+
queryKey: [`event-data-${a}-${r}`],
|
|
42015
|
+
queryFn: async () => {
|
|
42016
|
+
try {
|
|
42017
|
+
const v = await G1.get(`https://qrati.com/api/connect/${a}/event-data`, {
|
|
42018
|
+
searchParams: r ? { eventSlug: r } : void 0,
|
|
42019
|
+
headers: {
|
|
42020
|
+
"x-org-id": a
|
|
42021
|
+
}
|
|
42022
|
+
}).json();
|
|
42023
|
+
if (v.error)
|
|
42024
|
+
throw new Error(v.error);
|
|
42025
|
+
return v.data;
|
|
42026
|
+
} catch (v) {
|
|
42027
|
+
throw new Error((v == null ? void 0 : v.message) || v || "Failed to fetch public events");
|
|
42028
|
+
}
|
|
42029
|
+
},
|
|
42030
|
+
enabled: !!a && !!r
|
|
42031
|
+
});
|
|
42032
|
+
return {
|
|
42033
|
+
isLoading: o,
|
|
42034
|
+
event: c == null ? void 0 : c.event,
|
|
42035
|
+
ads: c == null ? void 0 : c.ads,
|
|
42036
|
+
parameters: c == null ? void 0 : c.parameters,
|
|
42037
|
+
isError: h,
|
|
42038
|
+
error: y
|
|
42039
|
+
};
|
|
42040
|
+
}, F6 = {
|
|
42041
42041
|
IMAGE: "IMAGE",
|
|
42042
42042
|
VIDEO: "VIDEO",
|
|
42043
42043
|
AD: "AD"
|
|
@@ -42088,19 +42088,12 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42088
42088
|
CURATED: "curated",
|
|
42089
42089
|
ELIGIBLE: "eligible"
|
|
42090
42090
|
}, s6 = () => {
|
|
42091
|
-
const r = mf(), { eventSlug: a } = EM(), { isLoading: o, event: c } =
|
|
42091
|
+
const r = mf(), { eventSlug: a } = EM(), { isLoading: o, event: c } = o6({ eventSlug: a }), h = X.useMemo(() => r.pathname.includes("gallery"), [r.pathname]), y = X.useMemo(() => r.pathname.includes("upload"), [r.pathname]), v = X.useMemo(() => r.pathname.includes("rate"), [r.pathname]);
|
|
42092
42092
|
return /* @__PURE__ */ Ue.jsxs("div", { className: "qc-relative qc-w-full", children: [
|
|
42093
|
-
/* @__PURE__ */ Ue.jsx(
|
|
42094
|
-
Wv,
|
|
42095
|
-
{
|
|
42096
|
-
className: "qc-text-brand qc-left-0 qc-top-0 sm:qc-absolute",
|
|
42097
|
-
to: "/",
|
|
42098
|
-
children: /* @__PURE__ */ Ue.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-7", viewBox: "0 0 24 24", children: /* @__PURE__ */ Ue.jsx("path", { fill: "currentColor", d: "m6.921 12.5l5.439 5.439q.146.146.153.344q.006.198-.16.363q-.164.16-.353.163q-.188.002-.354-.163l-6.08-6.08q-.131-.132-.184-.268T5.329 12t.053-.298t.184-.267l6.08-6.081q.14-.14.341-.15q.202-.01.367.15q.165.165.165.356q0 .192-.165.357L6.92 11.5H18.5q.214 0 .357.143T19 12t-.143.357t-.357.143z" }) })
|
|
42099
|
-
}
|
|
42100
|
-
),
|
|
42093
|
+
/* @__PURE__ */ Ue.jsx(Wv, { className: "qc-text-brand qc-left-0 qc-top-0 sm:qc-absolute", to: "/", children: /* @__PURE__ */ Ue.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "qc-size-7", viewBox: "0 0 24 24", children: /* @__PURE__ */ Ue.jsx("path", { fill: "currentColor", d: "m6.921 12.5l5.439 5.439q.146.146.153.344q.006.198-.16.363q-.164.16-.353.163q-.188.002-.354-.163l-6.08-6.08q-.131-.132-.184-.268T5.329 12t.053-.298t.184-.267l6.08-6.081q.14-.14.341-.15q.202-.01.367.15q.165.165.165.356q0 .192-.165.357L6.92 11.5H18.5q.214 0 .357.143T19 12t-.143.357t-.357.143z" }) }) }),
|
|
42101
42094
|
o && /* @__PURE__ */ Ue.jsxs(X.Fragment, { children: [
|
|
42102
|
-
/* @__PURE__ */ Ue.jsx(LO, { className: "qc-mx-auto qc-h-
|
|
42103
|
-
/* @__PURE__ */ Ue.jsx(LO, { className: "qc-mx-auto qc-h-10 qc-w-72" })
|
|
42095
|
+
/* @__PURE__ */ Ue.jsx(LO, { className: "qc-mx-auto qc-mt-4 qc-h-8 qc-w-64" }),
|
|
42096
|
+
/* @__PURE__ */ Ue.jsx(LO, { className: "qc-mx-auto qc-mt-8 qc-h-10 qc-w-72" })
|
|
42104
42097
|
] }),
|
|
42105
42098
|
/* @__PURE__ */ Ue.jsxs("div", { className: "qc-space-y-4 qc-pt-4 lg:qc-space-y-8", children: [
|
|
42106
42099
|
!o && c && /* @__PURE__ */ Ue.jsx("h1", { className: "qc-text-primary qc-w-full qc-text-center qc-text-lg qc-font-bold xl:qc-text-[1.5rem]", children: c == null ? void 0 : c.name }),
|
|
@@ -42127,13 +42120,21 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42127
42120
|
color: "success",
|
|
42128
42121
|
className: "qc-font-bold qc-lowercase",
|
|
42129
42122
|
variant: y ? "default" : "outlined",
|
|
42130
|
-
iconSvg: /* @__PURE__ */ Ue.jsx(
|
|
42131
|
-
"
|
|
42123
|
+
iconSvg: /* @__PURE__ */ Ue.jsx(
|
|
42124
|
+
"svg",
|
|
42132
42125
|
{
|
|
42133
|
-
|
|
42134
|
-
|
|
42126
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42127
|
+
className: "qc-size-7",
|
|
42128
|
+
viewBox: "0 0 24 24",
|
|
42129
|
+
children: /* @__PURE__ */ Ue.jsx(
|
|
42130
|
+
"path",
|
|
42131
|
+
{
|
|
42132
|
+
fill: "currentColor",
|
|
42133
|
+
d: "M6.616 19q-.691 0-1.153-.462T5 17.384v-1.923q0-.213.143-.356t.357-.144t.357.144t.143.356v1.923q0 .231.192.424t.423.192h10.77q.23 0 .423-.192t.192-.424v-1.923q0-.213.143-.356t.357-.144t.357.144t.143.356v1.923q0 .691-.462 1.153T17.384 19zM11.5 6.927L9.529 8.898q-.146.146-.347.153t-.366-.159q-.16-.165-.163-.353q-.003-.189.163-.354l2.618-2.62q.132-.13.268-.183q.137-.053.298-.053t.298.053t.268.184l2.618 2.619q.147.146.154.344q.006.198-.153.363q-.166.166-.357.169t-.357-.163L12.5 6.927v8.15q0 .214-.143.357t-.357.143t-.357-.143t-.143-.357z"
|
|
42134
|
+
}
|
|
42135
|
+
)
|
|
42135
42136
|
}
|
|
42136
|
-
)
|
|
42137
|
+
),
|
|
42137
42138
|
children: "Upload"
|
|
42138
42139
|
}
|
|
42139
42140
|
) }),
|
|
@@ -42143,13 +42144,21 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42143
42144
|
color: "warning",
|
|
42144
42145
|
className: "qc-font-bold qc-lowercase",
|
|
42145
42146
|
variant: v ? "default" : "outlined",
|
|
42146
|
-
iconSvg: /* @__PURE__ */ Ue.jsx(
|
|
42147
|
-
"
|
|
42147
|
+
iconSvg: /* @__PURE__ */ Ue.jsx(
|
|
42148
|
+
"svg",
|
|
42148
42149
|
{
|
|
42149
|
-
|
|
42150
|
-
|
|
42150
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42151
|
+
className: "qc-size-7",
|
|
42152
|
+
viewBox: "0 0 24 24",
|
|
42153
|
+
children: /* @__PURE__ */ Ue.jsx(
|
|
42154
|
+
"path",
|
|
42155
|
+
{
|
|
42156
|
+
fill: "currentColor",
|
|
42157
|
+
d: "m8.85 16.825l3.15-1.9l3.15 1.925l-.825-3.6l2.775-2.4l-3.65-.325l-1.45-3.4l-1.45 3.375l-3.65.325l2.775 2.425zm3.15-.723l-3.63 2.192q-.16.079-.297.064q-.136-.016-.265-.094q-.13-.08-.196-.226t-.012-.319l.966-4.11l-3.195-2.77q-.135-.11-.178-.263t.019-.293t.165-.23q.104-.087.28-.118l4.216-.368l1.644-3.892q.068-.165.196-.238T12 5.364t.288.073t.195.238l1.644 3.892l4.215.368q.177.03.281.119q.104.088.166.229q.061.14.018.293t-.178.263l-3.195 2.77l.966 4.11q.056.171-.011.318t-.197.226q-.128.08-.265.095q-.136.015-.296-.064zm0-3.852"
|
|
42158
|
+
}
|
|
42159
|
+
)
|
|
42151
42160
|
}
|
|
42152
|
-
)
|
|
42161
|
+
),
|
|
42153
42162
|
children: "Challenge"
|
|
42154
42163
|
}
|
|
42155
42164
|
) })
|
|
@@ -42159,7 +42168,7 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42159
42168
|
}, u6 = () => /* @__PURE__ */ Ue.jsxs("div", { className: "qc-min-h-96 qc-bg-primary", children: [
|
|
42160
42169
|
/* @__PURE__ */ Ue.jsx(s6, {}),
|
|
42161
42170
|
/* @__PURE__ */ Ue.jsx(LM, {})
|
|
42162
|
-
] }), c6 = X.lazy(() => import("./PublicEvents-
|
|
42171
|
+
] }), c6 = X.lazy(() => import("./PublicEvents-CS7DyKQO.js")), f6 = X.lazy(() => import("./ContentsPage-D1iPNFLg.js").then((r) => r.l)), d6 = X.lazy(() => import("./UploadPage-B1icdI0Y.js")), h6 = X.lazy(() => import("./LeaderboardPage-CwHcSdM3.js")), qO = X.lazy(() => import("./RatePage-BuiskOvh.js")), p6 = new Dx(), m6 = (r) => r.organizationId ? /* @__PURE__ */ Ue.jsx(Nx, { client: p6, children: /* @__PURE__ */ Ue.jsxs(S3, { ...r, children: [
|
|
42163
42172
|
/* @__PURE__ */ Ue.jsx(bH, { children: /* @__PURE__ */ Ue.jsx(e6, { children: /* @__PURE__ */ Ue.jsx(HM, { children: /* @__PURE__ */ Ue.jsxs(kM, { children: [
|
|
42164
42173
|
/* @__PURE__ */ Ue.jsx(Jc, { path: "/", element: /* @__PURE__ */ Ue.jsx(c6, {}) }),
|
|
42165
42174
|
/* @__PURE__ */ Ue.jsxs(Jc, { path: "/event/:eventSlug", element: /* @__PURE__ */ Ue.jsx(u6, {}), children: [
|
|
@@ -42175,8 +42184,7 @@ const LO = ({ className: r, rounded: a = !1, ...o }) => /* @__PURE__ */ Ue.jsx(
|
|
|
42175
42184
|
b3,
|
|
42176
42185
|
{
|
|
42177
42186
|
title: "Organization ID is required!",
|
|
42178
|
-
description: "Please contact the
|
|
42179
|
-
className: "qc-empty-state"
|
|
42187
|
+
description: "Please contact the admin for more information"
|
|
42180
42188
|
}
|
|
42181
42189
|
), c5 = () => {
|
|
42182
42190
|
const r = BD(m6, {
|
|
@@ -42264,7 +42272,7 @@ export {
|
|
|
42264
42272
|
S6 as b,
|
|
42265
42273
|
yE as c,
|
|
42266
42274
|
Xx as d,
|
|
42267
|
-
|
|
42275
|
+
i6 as e,
|
|
42268
42276
|
X as f,
|
|
42269
42277
|
QS as g,
|
|
42270
42278
|
E6 as h,
|
|
@@ -42284,6 +42292,6 @@ export {
|
|
|
42284
42292
|
P6 as v,
|
|
42285
42293
|
eR as w,
|
|
42286
42294
|
EM as x,
|
|
42287
|
-
|
|
42295
|
+
o6 as y,
|
|
42288
42296
|
o5 as z
|
|
42289
42297
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@qratilabs/qrati-connect",
|
|
3
3
|
"description": "Easily integrate Qrati into your React app with a simple but powerful component.",
|
|
4
4
|
"author": "Qrati Labs LLC",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.6.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./react.es.js",
|
|
8
8
|
"module": "./react.es.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"./web": {
|
|
20
20
|
"import": "./web.es.js"
|
|
21
21
|
},
|
|
22
|
-
"./styles.css": "./
|
|
22
|
+
"./styles.css": "./styles.css"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
@@ -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 "./ContentsPage-
|
|
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 "./ContentsPage-CGrdFq8i.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 "./ContentsPage-
|
|
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 "./ContentsPage-D1iPNFLg.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/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.qc-bg-primary{--tw-bg-opacity: 1;background-color:rgba(var(--color-background-primary-light),var(--tw-bg-opacity, 1))}.qc-bg-secondary{--tw-bg-opacity: 1;background-color:rgba(var(--color-background-secondary-light),var(--tw-bg-opacity, 1))}.qc-bg-info{--tw-bg-opacity: 1;background-color:rgba(var(--color-info-light),var(--tw-bg-opacity, 1))}.qc-bg-warning{--tw-bg-opacity: 1;background-color:rgba(var(--color-warning-light),var(--tw-bg-opacity, 1))}.qc-bg-success{--tw-bg-opacity: 1;background-color:rgba(var(--color-success-light),var(--tw-bg-opacity, 1))}.qc-bg-error{--tw-bg-opacity: 1;background-color:rgba(var(--color-error-light),var(--tw-bg-opacity, 1))}.qc-bg-brand{--tw-bg-opacity: 1;background-color:rgba(var(--color-brand-light),var(--tw-bg-opacity, 1))}.qc-text-primary{--tw-text-opacity: 1;color:rgba(var(--color-text-primary-light),var(--tw-text-opacity, 1))}.qc-text-secondary{--tw-text-opacity: 1;color:rgba(var(--color-text-secondary-light),var(--tw-text-opacity, 1))}.qc-text-info{--tw-text-opacity: 1;color:rgba(var(--color-info-light),var(--tw-text-opacity, 1))}.qc-text-warning{--tw-text-opacity: 1;color:rgba(var(--color-warning-light),var(--tw-text-opacity, 1))}.qc-text-success{--tw-text-opacity: 1;color:rgba(var(--color-success-light),var(--tw-text-opacity, 1))}.qc-text-error{--tw-text-opacity: 1;color:rgba(var(--color-error-light),var(--tw-text-opacity, 1))}.qc-text-brand{--tw-text-opacity: 1;color:rgba(var(--color-brand-light),var(--tw-text-opacity, 1))}.qc-text-a11y{--tw-text-opacity: 1;color:rgba(var(--color-a11y-light),var(--tw-text-opacity, 1))}.qc-border-primary{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-border-primary-light),var(--tw-border-opacity, 1))}.qc-border-secondary{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-border-secondary-light),var(--tw-border-opacity, 1))}.qc-border-info{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-info-light),var(--tw-border-opacity, 1))}.qc-border-warning{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-warning-light),var(--tw-border-opacity, 1))}.qc-border-success{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-success-light),var(--tw-border-opacity, 1))}.qc-border-error{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-error-light),var(--tw-border-opacity, 1))}.qc-border-brand{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-brand-light),var(--tw-border-opacity, 1))}.qc-shadow-outer{--tw-shadow: var(--shadow-outer-horizontal-offset) var(--shadow-outer-vertical-offset) var(--shadow-outer-blur) var(--shadow-outer-spread) rgba(var(--color-shadow-outer-light));--tw-shadow-colored: var(--shadow-outer-horizontal-offset) var(--shadow-outer-vertical-offset) var(--shadow-outer-blur) var(--shadow-outer-spread) rgba(var(--color-shadow-outer-light));box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.qc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.qc-visible{visibility:visible}.qc-collapse{visibility:collapse}.qc-fixed{position:fixed}.qc-absolute{position:absolute}.qc-relative{position:relative}.qc-inset-0{top:0;right:0;bottom:0;left:0}.qc--top-1\.5{top:-.375rem}.qc-bottom-0{bottom:0}.qc-bottom-2{bottom:.5rem}.qc-bottom-full{bottom:100%}.qc-left-0{left:0}.qc-left-1\/2,.qc-left-\[50\%\]{left:50%}.qc-right-0{right:0}.qc-right-2{right:.5rem}.qc-right-3{right:.75rem}.qc-right-4{right:1rem}.qc-top-0{top:0}.qc-top-1\/2{top:50%}.qc-top-3{top:.75rem}.qc-top-4{top:1rem}.qc-top-\[50\%\]{top:50%}.qc-z-0{z-index:0}.qc-z-10{z-index:10}.qc-z-\[2001\]{z-index:2001}.qc-z-\[2002\]{z-index:2002}.qc-z-\[2010\]{z-index:2010}.qc-m-auto{margin:auto}.qc--my-2{margin-top:-.5rem;margin-bottom:-.5rem}.qc-mx-auto{margin-left:auto;margin-right:auto}.qc-my-3{margin-top:.75rem;margin-bottom:.75rem}.qc-my-4{margin-top:1rem;margin-bottom:1rem}.-qc-mb-4{margin-bottom:-1rem}.-qc-ml-px{margin-left:-1px}.qc--mb-1\.5{margin-bottom:-.375rem}.qc--mt-4{margin-top:-1rem}.qc-mb-0{margin-bottom:0}.qc-mb-0\.5{margin-bottom:.125rem}.qc-mb-3{margin-bottom:.75rem}.qc-mb-4{margin-bottom:1rem}.qc-mb-6{margin-bottom:1.5rem}.qc-mb-8{margin-bottom:2rem}.qc-ml-4{margin-left:1rem}.qc-mt-1{margin-top:.25rem}.qc-mt-12{margin-top:3rem}.qc-mt-14{margin-top:3.5rem}.qc-mt-2{margin-top:.5rem}.qc-mt-3{margin-top:.75rem}.qc-mt-4{margin-top:1rem}.qc-mt-6{margin-top:1.5rem}.qc-mt-8{margin-top:2rem}.qc-mt-9{margin-top:2.25rem}.qc-line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.qc-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.qc-block{display:block}.qc-inline-block{display:inline-block}.qc-flex{display:flex}.qc-inline-flex{display:inline-flex}.qc-grid{display:grid}.qc-hidden{display:none}.qc-size-0{width:0px;height:0px}.qc-size-10{width:2.5rem;height:2.5rem}.qc-size-12{width:3rem;height:3rem}.qc-size-14{width:3.5rem;height:3.5rem}.qc-size-16{width:4rem;height:4rem}.qc-size-24{width:6rem;height:6rem}.qc-size-4{width:1rem;height:1rem}.qc-size-5{width:1.25rem;height:1.25rem}.qc-size-6{width:1.5rem;height:1.5rem}.qc-size-7{width:1.75rem;height:1.75rem}.qc-size-8{width:2rem;height:2rem}.qc-size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.qc-size-full{width:100%;height:100%}.qc-h-0\.5{height:.125rem}.qc-h-1{height:.25rem}.qc-h-10{height:2.5rem}.qc-h-12{height:3rem}.qc-h-16{height:4rem}.qc-h-24{height:6rem}.qc-h-4{height:1rem}.qc-h-44{height:11rem}.qc-h-56{height:14rem}.qc-h-6{height:1.5rem}.qc-h-60{height:15rem}.qc-h-64{height:16rem}.qc-h-7{height:1.75rem}.qc-h-72{height:18rem}.qc-h-8{height:2rem}.qc-h-80{height:20rem}.qc-h-96{height:24rem}.qc-h-\[0\.05rem\]{height:.05rem}.qc-h-fit{height:-moz-fit-content;height:fit-content}.qc-h-full{height:100%}.qc-max-h-screen{max-height:100vh}.qc-min-h-12{min-height:3rem}.qc-min-h-96{min-height:24rem}.qc-min-h-screen{min-height:100vh}.qc-w-36{width:9rem}.qc-w-64{width:16rem}.qc-w-72{width:18rem}.qc-w-auto{width:auto}.qc-w-fit{width:-moz-fit-content;width:fit-content}.qc-w-full{width:100%}.qc-min-w-full{min-width:100%}.qc-max-w-2xl{max-width:42rem}.qc-max-w-lg{max-width:32rem}.qc-max-w-md{max-width:28rem}.qc-flex-1{flex:1 1 0%}.qc-flex-auto{flex:1 1 auto}.qc-flex-shrink-0{flex-shrink:0}.qc-grow-0{flex-grow:0}.qc--translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc--translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-qc-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-qc-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.qc-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes qc-pulse{50%{opacity:.5}}.qc-animate-pulse{animation:qc-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.qc-cursor-pointer{cursor:pointer}.qc-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.qc-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.qc-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.qc-flex-col{flex-direction:column}.qc-flex-col-reverse{flex-direction:column-reverse}.qc-flex-wrap{flex-wrap:wrap}.qc-items-end{align-items:flex-end}.qc-items-center{align-items:center}.qc-justify-end{justify-content:flex-end}.qc-justify-center{justify-content:center}.qc-justify-between{justify-content:space-between}.qc-gap-1{gap:.25rem}.qc-gap-1\.5{gap:.375rem}.qc-gap-2{gap:.5rem}.qc-gap-3{gap:.75rem}.qc-gap-4{gap:1rem}.qc-gap-6{gap:1.5rem}.qc-gap-9{gap:2.25rem}.qc-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.qc-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.qc-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.qc-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.qc-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.qc-space-y-9>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.25rem * var(--tw-space-y-reverse))}.qc-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.qc-divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.qc-overflow-hidden{overflow:hidden}.qc-overflow-x-auto{overflow-x:auto}.qc-whitespace-nowrap{white-space:nowrap}.qc-break-words{overflow-wrap:break-word}.qc-rounded{border-radius:var(--border-radius)}.qc-rounded-full{border-radius:9999px}.qc-rounded-lg{border-radius:.5rem}.qc-rounded-md{border-radius:.375rem}.qc-rounded-b{border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius)}.qc-rounded-l{border-top-left-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius)}.qc-rounded-r{border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.qc-rounded-t{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.qc-border{border-width:1px}.qc-border-2{border-width:2px}.qc-border-x-4{border-left-width:4px;border-right-width:4px}.qc-border-t-\[1rem\]{border-top-width:1rem}.qc-border-dashed{border-style:dashed}.qc-border-transparent{border-color:transparent}.qc-border-t-brand-light{--tw-border-opacity: 1;border-top-color:rgba(var(--color-brand-light),var(--tw-border-opacity, 1))}.qc-border-t-green-500{--tw-border-opacity: 1;border-top-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.qc-border-t-lime-500{--tw-border-opacity: 1;border-top-color:rgb(132 204 22 / var(--tw-border-opacity, 1))}.qc-border-t-orange-500{--tw-border-opacity: 1;border-top-color:rgb(249 115 22 / var(--tw-border-opacity, 1))}.qc-border-t-red-500{--tw-border-opacity: 1;border-top-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.qc-border-t-yellow-500{--tw-border-opacity: 1;border-top-color:rgb(234 179 8 / var(--tw-border-opacity, 1))}.qc-bg-\[\#EAEAEA\]{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.qc-bg-\[\#FFD200\]{--tw-bg-opacity: 1;background-color:rgb(255 210 0 / var(--tw-bg-opacity, 1))}.qc-bg-border-primary-light{--tw-bg-opacity: 1;background-color:rgba(var(--color-border-primary-light),var(--tw-bg-opacity, 1))}.qc-bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.qc-bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity, 1))}.qc-bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.qc-bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.qc-bg-transparent{background-color:transparent}.qc-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.qc-bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.qc-bg-opacity-0{--tw-bg-opacity: 0}.qc-bg-opacity-50{--tw-bg-opacity: .5}.qc-bg-opacity-75{--tw-bg-opacity: .75}.qc-bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.qc-from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.qc-via-text-primary-light{--tw-gradient-to: rgba(var(--color-text-primary-light), 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), rgb(var(--color-text-primary-light)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.qc-to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.qc-object-contain{-o-object-fit:contain;object-fit:contain}.qc-object-cover{-o-object-fit:cover;object-fit:cover}.qc-object-bottom{-o-object-position:bottom;object-position:bottom}.qc-object-center{-o-object-position:center;object-position:center}.qc-object-top{-o-object-position:top;object-position:top}.qc-p-1{padding:.25rem}.qc-p-1\.5{padding:.375rem}.qc-p-12{padding:3rem}.qc-p-2{padding:.5rem}.qc-p-3{padding:.75rem}.qc-px-2{padding-left:.5rem;padding-right:.5rem}.qc-px-3{padding-left:.75rem;padding-right:.75rem}.qc-px-4{padding-left:1rem;padding-right:1rem}.qc-px-9{padding-left:2.25rem;padding-right:2.25rem}.qc-py-1{padding-top:.25rem;padding-bottom:.25rem}.qc-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.qc-py-12{padding-top:3rem;padding-bottom:3rem}.qc-py-16{padding-top:4rem;padding-bottom:4rem}.qc-py-2{padding-top:.5rem;padding-bottom:.5rem}.qc-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.qc-py-3{padding-top:.75rem;padding-bottom:.75rem}.qc-py-4{padding-top:1rem;padding-bottom:1rem}.qc-py-\[0\.0625\]{padding-top:.0625;padding-bottom:.0625}.qc-pb-6{padding-bottom:1.5rem}.qc-pl-4{padding-left:1rem}.qc-pr-4{padding-right:1rem}.qc-pt-2{padding-top:.5rem}.qc-pt-20{padding-top:5rem}.qc-text-center{text-align:center}.qc-text-right{text-align:right}.qc-align-middle{vertical-align:middle}.qc-text-2xl{font-size:1.5rem;line-height:2rem}.qc-text-3xl{font-size:1.875rem;line-height:2.25rem}.qc-text-4xl{font-size:2.25rem;line-height:2.5rem}.qc-text-base{font-size:1rem;line-height:1.5rem}.qc-text-lg{font-size:1.125rem;line-height:1.75rem}.qc-text-sm{font-size:.875rem;line-height:1.25rem}.qc-text-xl{font-size:1.25rem;line-height:1.75rem}.qc-text-xs{font-size:.75rem;line-height:1rem}.qc-font-bold{font-weight:700}.qc-font-medium{font-weight:500}.qc-font-semibold{font-weight:600}.qc-lowercase{text-transform:lowercase}.qc-italic{font-style:italic}.qc-text-brand-light{--tw-text-opacity: 1;color:rgba(var(--color-brand-light),var(--tw-text-opacity, 1))}.qc-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.qc-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.qc-underline{text-decoration-line:underline}.qc-opacity-0{opacity:0}.qc-opacity-100{opacity:1}.qc-opacity-70{opacity:.7}.qc-opacity-75{opacity:.75}.qc-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.qc-outline-none{outline:2px solid transparent;outline-offset:2px}.qc-ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.qc-ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.qc-ring-opacity-5{--tw-ring-opacity: .05}.qc-blur-2xl{--tw-blur: blur(40px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.qc-backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.qc-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.qc-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.qc-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.qc-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.qc-duration-100{transition-duration:.1s}.qc-duration-300{transition-duration:.3s}.qc-duration-500{transition-duration:.5s}.qc-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.placeholder\:qc-text-brand::-moz-placeholder{--tw-text-opacity: 1;color:rgba(var(--color-brand-light),var(--tw-text-opacity, 1))}.placeholder\:qc-text-brand::placeholder{--tw-text-opacity: 1;color:rgba(var(--color-brand-light),var(--tw-text-opacity, 1))}.hover\:qc-text-primary:hover{--tw-text-opacity: 1;color:rgba(var(--color-text-primary-light),var(--tw-text-opacity, 1))}.hover\:qc-text-brand:hover{--tw-text-opacity: 1;color:rgba(var(--color-brand-light),var(--tw-text-opacity, 1))}.hover\:qc-border-brand:hover{border-width:var(--border-width);--tw-border-opacity: 1;border-color:rgba(var(--color-brand-light),var(--tw-border-opacity, 1))}.data-\[state\=open\]\:qc-text-primary[data-state=open]{--tw-text-opacity: 1;color:rgba(var(--color-text-primary-light),var(--tw-text-opacity, 1))}.placeholder\:qc-opacity-50::-moz-placeholder{opacity:.5}.placeholder\:qc-opacity-50::placeholder{opacity:.5}.hover\:qc-cursor-not-allowed:hover{cursor:not-allowed}.hover\:qc-cursor-pointer:hover{cursor:pointer}.hover\:qc-border-2:hover{border-width:2px}.hover\:qc-bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\:qc-bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:qc-bg-opacity-80:hover{--tw-bg-opacity: .8}.focus\:qc-border-brand-light:focus{--tw-border-opacity: 1;border-color:rgba(var(--color-brand-light),var(--tw-border-opacity, 1))}.focus\:qc-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:qc-ring-brand-light:focus{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-brand-light), var(--tw-ring-opacity, 1))}.active\:qc-scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:qc-pointer-events-none:disabled{pointer-events:none}.disabled\:qc-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:qc-bg-opacity-50:disabled{--tw-bg-opacity: .5}.disabled\:qc-opacity-50:disabled{opacity:.5}.qc-group:hover .group-hover\:qc-opacity-100{opacity:1}@media (min-width: 640px){.sm\:qc-absolute{position:absolute}.sm\:qc--mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:qc-block{display:block}.sm\:qc-size-5{width:1.25rem;height:1.25rem}.sm\:qc-h-32{height:8rem}.sm\:qc-h-80{height:20rem}.sm\:qc-h-\[30rem\]{height:30rem}.sm\:qc-min-h-72{min-height:18rem}.sm\:qc-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:qc-flex-row{flex-direction:row}.sm\:qc-justify-end{justify-content:flex-end}.sm\:qc-gap-2{gap:.5rem}.sm\:qc-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:qc-rounded{border-radius:var(--border-radius)}.sm\:qc-p-2{padding:.5rem}.sm\:qc-py-0{padding-top:0;padding-bottom:0}.sm\:qc-pt-3{padding-top:.75rem}.sm\:qc-text-left{text-align:left}.sm\:qc-text-2xl{font-size:1.5rem;line-height:2rem}.sm\:qc-text-base{font-size:1rem;line-height:1.5rem}.sm\:qc-text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:qc-text-sm{font-size:.875rem;line-height:1.25rem}.sm\:qc-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sm\:hover\:qc-scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media (min-width: 768px){.md\:qc-mb-1{margin-bottom:.25rem}.md\:qc-block{display:block}.md\:qc-hidden{display:none}.md\:qc-h-\[30rem\]{height:30rem}.md\:qc-max-h-screen{max-height:100vh}.md\:qc-w-full{width:100%}.md\:qc-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:qc-flex-row{flex-direction:row}.md\:qc-flex-row-reverse{flex-direction:row-reverse}.md\:qc-justify-between{justify-content:space-between}.md\:qc-rounded{border-radius:var(--border-radius)}.md\:qc-p-2{padding:.5rem}.md\:qc-px-3{padding-left:.75rem;padding-right:.75rem}.md\:qc-px-4{padding-left:1rem;padding-right:1rem}.md\:qc-px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:qc-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.md\:qc-text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:qc--mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:qc-mb-12{margin-bottom:3rem}.lg\:qc-mb-8{margin-bottom:2rem}.lg\:qc-mt-9{margin-top:2.25rem}.lg\:qc-size-24{width:6rem;height:6rem}.lg\:qc-h-16{height:4rem}.lg\:qc-h-24{height:6rem}.lg\:qc-w-1\/3{width:33.333333%}.lg\:qc-flex-none{flex:none}.lg\:qc-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:qc-gap-0{gap:0px}.lg\:qc-gap-2{gap:.5rem}.lg\:qc-gap-24{gap:6rem}.lg\:qc-gap-4{gap:1rem}.lg\:qc-px-4{padding-left:1rem;padding-right:1rem}.lg\:qc-px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\:qc-px-8{padding-left:2rem;padding-right:2rem}.lg\:qc-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.lg\:qc-pt-4{padding-top:1rem}.lg\:qc-text-base{font-size:1rem;line-height:1.5rem}.lg\:qc-text-xl{font-size:1.25rem;line-height:1.75rem}.lg\:qc-font-medium{font-weight:500}}@media (min-width: 1280px){.xl\:qc-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:qc-text-\[1\.25rem\]{font-size:1.25rem}.xl\:qc-text-\[1\.5rem\]{font-size:1.5rem}}@media (prefers-color-scheme: dark){.dark\:qc-bg-\[\#363636\]{--tw-bg-opacity: 1;background-color:rgb(54 54 54 / var(--tw-bg-opacity, 1))}.dark\:qc-bg-border-primary-dark{--tw-bg-opacity: 1;background-color:rgba(var(--color-border-primary-dark),var(--tw-bg-opacity, 1))}.dark\:qc-bg-opacity-0{--tw-bg-opacity: 0}.dark\:qc-bg-opacity-50{--tw-bg-opacity: .5}.dark\:qc-bg-opacity-75{--tw-bg-opacity: .75}.dark\:qc-via-text-primary-dark{--tw-gradient-to: rgba(var(--color-text-primary-dark), 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), rgb(var(--color-text-primary-dark)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:placeholder\:qc-opacity-50::-moz-placeholder{opacity:.5}.dark\:placeholder\:qc-opacity-50::placeholder{opacity:.5}.hover\:dark\:qc-bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\:dark\:qc-bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:dark\:qc-bg-opacity-80:hover{--tw-bg-opacity: .8}.dark\:disabled\:qc-bg-opacity-50:disabled{--tw-bg-opacity: .5}}.react-photo-album{display:flex}.react-photo-album,.react-photo-album *{box-sizing:border-box}.react-photo-album--track{align-items:flex-start;display:flex}.react-photo-album--photo{padding:calc(var(--react-photo-album--padding)*1px);position:relative}.react-photo-album--image{aspect-ratio:var(--react-photo-album--photo-width)/var(--react-photo-album--photo-height);display:block;height:auto;width:100%}.react-photo-album--button{background:initial;border:initial;cursor:pointer}.react-photo-album--rows{flex-direction:column;row-gap:calc(var(--react-photo-album--spacing)*1px)}.react-photo-album--rows .react-photo-album--track{justify-content:space-between;--react-photo-album--track-gaps:calc(var(--react-photo-album--spacing)*(var(--react-photo-album--track-size) - 1) + var(--react-photo-album--padding)*2*var(--react-photo-album--track-size))}.react-photo-album--rows .react-photo-album--photo{width:calc((100% - var(--react-photo-album--track-gaps)*1px)/(var(--react-photo-album--container-width) - var(--react-photo-album--track-gaps))*var(--react-photo-album--photo-width) + 2px*var(--react-photo-album--padding))}.react-photo-album--columns{justify-content:space-between}.react-photo-album--columns .react-photo-album--track{flex-direction:column;justify-content:space-between;row-gap:calc(var(--react-photo-album--spacing)*1px);width:calc((100% - 1px*(var(--react-photo-album--columns) - 1)*var(--react-photo-album--spacing) - 2px*var(--react-photo-album--columns)*var(--react-photo-album--padding) - var(--react-photo-album--adjusted-gaps)*1px)*var(--react-photo-album--column-ratio)/var(--react-photo-album--total-ratio) + 2px*var(--react-photo-album--padding))}.react-photo-album--columns .react-photo-album--photo{width:100%}.react-photo-album--masonry{justify-content:space-between}.react-photo-album--masonry .react-photo-album--track{flex-direction:column;justify-content:flex-start;row-gap:calc(var(--react-photo-album--spacing)*1px);width:calc((100% - var(--react-photo-album--spacing)*1px*(var(--react-photo-album--columns) - 1))/var(--react-photo-album--columns))}.react-photo-album--masonry .react-photo-album--photo{width:100%}/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */.pswp{--pswp-bg: #000;--pswp-placeholder-bg: #222;--pswp-root-z-index: 100000;--pswp-preloader-color: rgba(79, 79, 79, .4);--pswp-preloader-color-secondary: rgba(255, 255, 255, .9);--pswp-icon-color: #fff;--pswp-icon-color-secondary: #4f4f4f;--pswp-icon-stroke-color: #4f4f4f;--pswp-icon-stroke-width: 2px;--pswp-error-text-color: var(--pswp-icon-color)}.pswp{position:fixed;top:0;left:0;width:100%;height:100%;z-index:var(--pswp-root-z-index);display:none;touch-action:none;outline:0;opacity:.003;contain:layout style size;-webkit-tap-highlight-color:rgba(0,0,0,0)}.pswp:focus{outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--open{display:block}.pswp,.pswp__bg{transform:translateZ(0);will-change:opacity}.pswp__bg{opacity:.005;background:var(--pswp-bg);z-index:-2}.pswp,.pswp__scroll-wrap{overflow:hidden}.pswp__scroll-wrap,.pswp__bg,.pswp__container,.pswp__item,.pswp__content,.pswp__img,.pswp__zoom-wrap{position:absolute;top:0;left:0;width:100%;height:100%}.pswp__img,.pswp__zoom-wrap{width:auto;height:auto}.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img{cursor:move;cursor:grab}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:grabbing}.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,.pswp__img{cursor:zoom-out}.pswp__container,.pswp__img,.pswp__button,.pswp__counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__item{z-index:1;overflow:hidden}.pswp__hidden{display:none!important}.pswp__content{pointer-events:none}.pswp__content>*{pointer-events:auto}.pswp__error-msg-container{display:grid}.pswp__error-msg{margin:auto;font-size:1em;line-height:1;color:var(--pswp-error-text-color)}.pswp .pswp__hide-on-close{opacity:.005;will-change:opacity;transition:opacity var(--pswp-transition-duration) cubic-bezier(.4,0,.22,1);z-index:10;pointer-events:none}.pswp--ui-visible .pswp__hide-on-close{opacity:1;pointer-events:auto}.pswp__button{position:relative;display:block;width:50px;height:60px;padding:0;margin:0;overflow:hidden;cursor:pointer;background:none;border:0;box-shadow:none;opacity:.85;-webkit-appearance:none;-webkit-touch-callout:none}.pswp__button:hover,.pswp__button:active,.pswp__button:focus{transition:none;padding:0;background:none;border:0;box-shadow:none;opacity:1}.pswp__button:disabled{opacity:.3;cursor:auto}.pswp__icn{fill:var(--pswp-icon-color);color:var(--pswp-icon-color-secondary);position:absolute;top:14px;left:9px;width:32px;height:32px;overflow:hidden;pointer-events:none}.pswp__icn-shadow{stroke:var(--pswp-icon-stroke-color);stroke-width:var(--pswp-icon-stroke-width);fill:none}.pswp__icn:focus{outline:0}div.pswp__img--placeholder,.pswp__img--with-bg{background:var(--pswp-placeholder-bg)}.pswp__top-bar{position:absolute;left:0;top:0;width:100%;height:60px;display:flex;flex-direction:row;justify-content:flex-end;z-index:10;pointer-events:none!important}.pswp__top-bar>*{pointer-events:auto;will-change:opacity}.pswp__button--close{margin-right:6px}.pswp__button--arrow{position:absolute;width:75px;height:100px;top:50%;margin-top:-50px}.pswp__button--arrow:disabled{display:none;cursor:default}.pswp__button--arrow .pswp__icn{top:50%;margin-top:-30px;width:60px;height:60px;background:none;border-radius:0}.pswp--one-slide .pswp__button--arrow{display:none}.pswp--touch .pswp__button--arrow{visibility:hidden}.pswp--has_mouse .pswp__button--arrow{visibility:visible}.pswp__button--arrow--prev{right:auto;left:0}.pswp__button--arrow--next{right:0}.pswp__button--arrow--next .pswp__icn{left:auto;right:14px;transform:scaleX(-1)}.pswp__button--zoom{display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__zoom-icn-bar-v{display:none}.pswp__preloader{position:relative;overflow:hidden;width:50px;height:60px;margin-right:auto}.pswp__preloader .pswp__icn{opacity:0;transition:opacity .2s linear;animation:pswp-clockwise .6s linear infinite}.pswp__preloader--active .pswp__icn{opacity:.85}@keyframes pswp-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pswp__counter{height:30px;margin-top:15px;margin-inline-start:20px;font-size:14px;line-height:30px;color:var(--pswp-icon-color);text-shadow:1px 1px 3px var(--pswp-icon-color-secondary);opacity:.85}.pswp--one-slide .pswp__counter{display:none}
|
package/web.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r } from "./index-
|
|
1
|
+
import { r } from "./index-CRVVPc2O.js";
|
|
2
2
|
r();
|