@sudobility/gaming-components 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +282 -568
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/dist/audio-player.d.ts +0 -35
- package/dist/audio-player.d.ts.map +0 -1
- package/dist/podcast-player.d.ts +0 -18
- package/dist/podcast-player.d.ts.map +0 -1
- package/dist/signature-request.d.ts +0 -18
- package/dist/signature-request.d.ts.map +0 -1
- package/dist/video-player.d.ts +0 -34
- package/dist/video-player.d.ts.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,792 +1,506 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { cn as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var o = Symbol.for("react.transitional.element"),
|
|
9
|
-
function
|
|
10
|
-
var
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
for (var
|
|
14
|
-
|
|
15
|
-
} else
|
|
16
|
-
return
|
|
1
|
+
import er from "react";
|
|
2
|
+
import { cn as d } from "@sudobility/components";
|
|
3
|
+
var h = { exports: {} }, y = {};
|
|
4
|
+
var I;
|
|
5
|
+
function ar() {
|
|
6
|
+
if (I) return y;
|
|
7
|
+
I = 1;
|
|
8
|
+
var o = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
9
|
+
function a(l, c, g) {
|
|
10
|
+
var f = null;
|
|
11
|
+
if (g !== void 0 && (f = "" + g), c.key !== void 0 && (f = "" + c.key), "key" in c) {
|
|
12
|
+
g = {};
|
|
13
|
+
for (var m in c)
|
|
14
|
+
m !== "key" && (g[m] = c[m]);
|
|
15
|
+
} else g = c;
|
|
16
|
+
return c = g.ref, {
|
|
17
17
|
$$typeof: o,
|
|
18
|
-
type:
|
|
19
|
-
key:
|
|
20
|
-
ref:
|
|
21
|
-
props:
|
|
18
|
+
type: l,
|
|
19
|
+
key: f,
|
|
20
|
+
ref: c !== void 0 ? c : null,
|
|
21
|
+
props: g
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return y.Fragment = t, y.jsx = a, y.jsxs = a, y;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
return
|
|
30
|
-
function o(
|
|
31
|
-
if (
|
|
32
|
-
if (typeof
|
|
33
|
-
return
|
|
34
|
-
if (typeof
|
|
35
|
-
switch (
|
|
36
|
-
case
|
|
26
|
+
var p = {};
|
|
27
|
+
var F;
|
|
28
|
+
function or() {
|
|
29
|
+
return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
+
function o(r) {
|
|
31
|
+
if (r == null) return null;
|
|
32
|
+
if (typeof r == "function")
|
|
33
|
+
return r.$$typeof === Q ? null : r.displayName || r.name || null;
|
|
34
|
+
if (typeof r == "string") return r;
|
|
35
|
+
switch (r) {
|
|
36
|
+
case _:
|
|
37
37
|
return "Fragment";
|
|
38
|
-
case
|
|
38
|
+
case J:
|
|
39
39
|
return "Profiler";
|
|
40
|
-
case
|
|
40
|
+
case q:
|
|
41
41
|
return "StrictMode";
|
|
42
|
-
case
|
|
42
|
+
case B:
|
|
43
43
|
return "Suspense";
|
|
44
|
-
case
|
|
44
|
+
case X:
|
|
45
45
|
return "SuspenseList";
|
|
46
|
-
case
|
|
46
|
+
case Z:
|
|
47
47
|
return "Activity";
|
|
48
48
|
}
|
|
49
|
-
if (typeof
|
|
50
|
-
switch (typeof
|
|
49
|
+
if (typeof r == "object")
|
|
50
|
+
switch (typeof r.tag == "number" && console.error(
|
|
51
51
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
52
|
-
),
|
|
53
|
-
case
|
|
52
|
+
), r.$$typeof) {
|
|
53
|
+
case W:
|
|
54
54
|
return "Portal";
|
|
55
|
-
case
|
|
56
|
-
return
|
|
57
|
-
case
|
|
58
|
-
return (
|
|
59
|
-
case
|
|
60
|
-
var
|
|
61
|
-
return
|
|
62
|
-
case
|
|
63
|
-
return
|
|
64
|
-
case
|
|
65
|
-
|
|
55
|
+
case z:
|
|
56
|
+
return r.displayName || "Context";
|
|
57
|
+
case V:
|
|
58
|
+
return (r._context.displayName || "Context") + ".Consumer";
|
|
59
|
+
case G:
|
|
60
|
+
var e = r.render;
|
|
61
|
+
return r = r.displayName, r || (r = e.displayName || e.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
62
|
+
case H:
|
|
63
|
+
return e = r.displayName || null, e !== null ? e : o(r.type) || "Memo";
|
|
64
|
+
case E:
|
|
65
|
+
e = r._payload, r = r._init;
|
|
66
66
|
try {
|
|
67
|
-
return o(e
|
|
67
|
+
return o(r(e));
|
|
68
68
|
} catch {
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
return null;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return "" +
|
|
73
|
+
function t(r) {
|
|
74
|
+
return "" + r;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function a(r) {
|
|
77
77
|
try {
|
|
78
|
-
|
|
79
|
-
var
|
|
78
|
+
t(r);
|
|
79
|
+
var e = !1;
|
|
80
80
|
} catch {
|
|
81
|
-
|
|
81
|
+
e = !0;
|
|
82
82
|
}
|
|
83
|
-
if (
|
|
84
|
-
|
|
85
|
-
var
|
|
86
|
-
return
|
|
87
|
-
|
|
83
|
+
if (e) {
|
|
84
|
+
e = console;
|
|
85
|
+
var n = e.error, i = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
86
|
+
return n.call(
|
|
87
|
+
e,
|
|
88
88
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
89
|
-
|
|
90
|
-
),
|
|
89
|
+
i
|
|
90
|
+
), t(r);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
if (
|
|
95
|
-
if (typeof
|
|
93
|
+
function l(r) {
|
|
94
|
+
if (r === _) return "<>";
|
|
95
|
+
if (typeof r == "object" && r !== null && r.$$typeof === E)
|
|
96
96
|
return "<...>";
|
|
97
97
|
try {
|
|
98
|
-
var
|
|
99
|
-
return
|
|
98
|
+
var e = o(r);
|
|
99
|
+
return e ? "<" + e + ">" : "<...>";
|
|
100
100
|
} catch {
|
|
101
101
|
return "<...>";
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
var
|
|
106
|
-
return
|
|
104
|
+
function c() {
|
|
105
|
+
var r = w.A;
|
|
106
|
+
return r === null ? null : r.getOwner();
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function g() {
|
|
109
109
|
return Error("react-stack-top-frame");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
if (
|
|
113
|
-
var
|
|
114
|
-
if (
|
|
111
|
+
function f(r) {
|
|
112
|
+
if (C.call(r, "key")) {
|
|
113
|
+
var e = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
114
|
+
if (e && e.isReactWarning) return !1;
|
|
115
115
|
}
|
|
116
|
-
return
|
|
116
|
+
return r.key !== void 0;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
function
|
|
120
|
-
|
|
118
|
+
function m(r, e) {
|
|
119
|
+
function n() {
|
|
120
|
+
P || (P = !0, console.error(
|
|
121
121
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
122
|
-
|
|
122
|
+
e
|
|
123
123
|
));
|
|
124
124
|
}
|
|
125
|
-
|
|
126
|
-
get:
|
|
125
|
+
n.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
126
|
+
get: n,
|
|
127
127
|
configurable: !0
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
var
|
|
132
|
-
return
|
|
130
|
+
function D() {
|
|
131
|
+
var r = o(this.type);
|
|
132
|
+
return A[r] || (A[r] = !0, console.error(
|
|
133
133
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
134
|
-
)),
|
|
134
|
+
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
var
|
|
138
|
-
return
|
|
139
|
-
$$typeof:
|
|
140
|
-
type:
|
|
141
|
-
key:
|
|
142
|
-
props:
|
|
143
|
-
_owner:
|
|
144
|
-
}, (
|
|
136
|
+
function M(r, e, n, i, k, R) {
|
|
137
|
+
var s = n.ref;
|
|
138
|
+
return r = {
|
|
139
|
+
$$typeof: O,
|
|
140
|
+
type: r,
|
|
141
|
+
key: e,
|
|
142
|
+
props: n,
|
|
143
|
+
_owner: i
|
|
144
|
+
}, (s !== void 0 ? s : null) !== null ? Object.defineProperty(r, "ref", {
|
|
145
145
|
enumerable: !1,
|
|
146
|
-
get:
|
|
147
|
-
}) : Object.defineProperty(
|
|
146
|
+
get: D
|
|
147
|
+
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
|
|
148
148
|
configurable: !1,
|
|
149
149
|
enumerable: !1,
|
|
150
150
|
writable: !0,
|
|
151
151
|
value: 0
|
|
152
|
-
}), Object.defineProperty(
|
|
152
|
+
}), Object.defineProperty(r, "_debugInfo", {
|
|
153
153
|
configurable: !1,
|
|
154
154
|
enumerable: !1,
|
|
155
155
|
writable: !0,
|
|
156
156
|
value: null
|
|
157
|
-
}), Object.defineProperty(
|
|
157
|
+
}), Object.defineProperty(r, "_debugStack", {
|
|
158
158
|
configurable: !1,
|
|
159
159
|
enumerable: !1,
|
|
160
160
|
writable: !0,
|
|
161
|
-
value:
|
|
162
|
-
}), Object.defineProperty(
|
|
161
|
+
value: k
|
|
162
|
+
}), Object.defineProperty(r, "_debugTask", {
|
|
163
163
|
configurable: !1,
|
|
164
164
|
enumerable: !1,
|
|
165
165
|
writable: !0,
|
|
166
|
-
value:
|
|
167
|
-
}), Object.freeze && (Object.freeze(
|
|
166
|
+
value: R
|
|
167
|
+
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
var
|
|
171
|
-
if (
|
|
172
|
-
if (
|
|
173
|
-
if (
|
|
174
|
-
for (
|
|
175
|
-
|
|
176
|
-
Object.freeze && Object.freeze(
|
|
169
|
+
function S(r, e, n, i, k, R) {
|
|
170
|
+
var s = e.children;
|
|
171
|
+
if (s !== void 0)
|
|
172
|
+
if (i)
|
|
173
|
+
if (K(s)) {
|
|
174
|
+
for (i = 0; i < s.length; i++)
|
|
175
|
+
U(s[i]);
|
|
176
|
+
Object.freeze && Object.freeze(s);
|
|
177
177
|
} else
|
|
178
178
|
console.error(
|
|
179
179
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
180
180
|
);
|
|
181
|
-
else
|
|
182
|
-
if (
|
|
183
|
-
|
|
184
|
-
var
|
|
185
|
-
return
|
|
181
|
+
else U(s);
|
|
182
|
+
if (C.call(e, "key")) {
|
|
183
|
+
s = o(r);
|
|
184
|
+
var b = Object.keys(e).filter(function(rr) {
|
|
185
|
+
return rr !== "key";
|
|
186
186
|
});
|
|
187
|
-
|
|
187
|
+
i = 0 < b.length ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}", $[s + i] || (b = 0 < b.length ? "{" + b.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
188
188
|
`A props object containing a "key" prop is being spread into JSX:
|
|
189
189
|
let props = %s;
|
|
190
190
|
<%s {...props} />
|
|
191
191
|
React keys must be passed directly to JSX without using spread:
|
|
192
192
|
let props = %s;
|
|
193
193
|
<%s key={someKey} {...props} />`,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
),
|
|
194
|
+
i,
|
|
195
|
+
s,
|
|
196
|
+
b,
|
|
197
|
+
s
|
|
198
|
+
), $[s + i] = !0);
|
|
199
199
|
}
|
|
200
|
-
if (
|
|
201
|
-
|
|
202
|
-
for (var
|
|
203
|
-
|
|
204
|
-
} else
|
|
205
|
-
return
|
|
206
|
-
|
|
207
|
-
typeof
|
|
208
|
-
),
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
200
|
+
if (s = null, n !== void 0 && (a(n), s = "" + n), f(e) && (a(e.key), s = "" + e.key), "key" in e) {
|
|
201
|
+
n = {};
|
|
202
|
+
for (var T in e)
|
|
203
|
+
T !== "key" && (n[T] = e[T]);
|
|
204
|
+
} else n = e;
|
|
205
|
+
return s && m(
|
|
206
|
+
n,
|
|
207
|
+
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
208
|
+
), M(
|
|
209
|
+
r,
|
|
210
|
+
s,
|
|
211
|
+
n,
|
|
212
|
+
c(),
|
|
213
|
+
k,
|
|
214
|
+
R
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
|
|
217
|
+
function U(r) {
|
|
218
|
+
j(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === E && (r._payload.status === "fulfilled" ? j(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
return typeof
|
|
220
|
+
function j(r) {
|
|
221
|
+
return typeof r == "object" && r !== null && r.$$typeof === O;
|
|
222
222
|
}
|
|
223
|
-
var
|
|
223
|
+
var v = er, O = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), z = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), w = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, C = Object.prototype.hasOwnProperty, K = Array.isArray, x = console.createTask ? console.createTask : function() {
|
|
224
224
|
return null;
|
|
225
225
|
};
|
|
226
|
-
|
|
227
|
-
react_stack_bottom_frame: function(
|
|
228
|
-
return
|
|
226
|
+
v = {
|
|
227
|
+
react_stack_bottom_frame: function(r) {
|
|
228
|
+
return r();
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
|
-
var
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
)(),
|
|
235
|
-
|
|
236
|
-
var
|
|
237
|
-
return
|
|
231
|
+
var P, A = {}, N = v.react_stack_bottom_frame.bind(
|
|
232
|
+
v,
|
|
233
|
+
g
|
|
234
|
+
)(), Y = x(l(g)), $ = {};
|
|
235
|
+
p.Fragment = _, p.jsx = function(r, e, n) {
|
|
236
|
+
var i = 1e4 > w.recentlyCreatedOwnerStacks++;
|
|
237
|
+
return S(
|
|
238
|
+
r,
|
|
238
239
|
e,
|
|
239
240
|
n,
|
|
240
|
-
d,
|
|
241
241
|
!1,
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
i ? Error("react-stack-top-frame") : N,
|
|
243
|
+
i ? x(l(r)) : Y
|
|
244
244
|
);
|
|
245
|
-
},
|
|
246
|
-
var
|
|
247
|
-
return
|
|
245
|
+
}, p.jsxs = function(r, e, n) {
|
|
246
|
+
var i = 1e4 > w.recentlyCreatedOwnerStacks++;
|
|
247
|
+
return S(
|
|
248
|
+
r,
|
|
248
249
|
e,
|
|
249
250
|
n,
|
|
250
|
-
d,
|
|
251
251
|
!0,
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
i ? Error("react-stack-top-frame") : N,
|
|
253
|
+
i ? x(l(r)) : Y
|
|
254
254
|
);
|
|
255
255
|
};
|
|
256
|
-
})()),
|
|
256
|
+
})()), p;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
return
|
|
258
|
+
var L;
|
|
259
|
+
function tr() {
|
|
260
|
+
return L || (L = 1, process.env.NODE_ENV === "production" ? h.exports = ar() : h.exports = or()), h.exports;
|
|
261
261
|
}
|
|
262
|
-
var
|
|
263
|
-
const
|
|
262
|
+
var u = tr();
|
|
263
|
+
const ir = ({
|
|
264
264
|
className: o,
|
|
265
|
-
children:
|
|
266
|
-
disabled:
|
|
267
|
-
|
|
268
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
265
|
+
children: t,
|
|
266
|
+
disabled: a
|
|
267
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
269
268
|
"div",
|
|
270
269
|
{
|
|
271
|
-
className:
|
|
270
|
+
className: d(
|
|
272
271
|
"p-4 rounded-lg border transition-colors",
|
|
273
272
|
"bg-white dark:bg-gray-900",
|
|
274
273
|
"border-gray-200 dark:border-gray-700",
|
|
275
274
|
"text-gray-900 dark:text-white",
|
|
276
|
-
|
|
277
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
275
|
+
a && "opacity-50 cursor-not-allowed",
|
|
278
276
|
o
|
|
279
277
|
),
|
|
280
|
-
onClick: t ? void 0 : i,
|
|
281
278
|
role: "region",
|
|
282
|
-
"aria-label": "
|
|
283
|
-
children:
|
|
279
|
+
"aria-label": "SustainabilityScore",
|
|
280
|
+
children: t || "SustainabilityScore Component"
|
|
284
281
|
}
|
|
285
|
-
),
|
|
282
|
+
), sr = ({
|
|
286
283
|
className: o,
|
|
287
|
-
children:
|
|
288
|
-
disabled:
|
|
289
|
-
onClick:
|
|
290
|
-
}) => /* @__PURE__ */
|
|
284
|
+
children: t,
|
|
285
|
+
disabled: a = !1,
|
|
286
|
+
onClick: l
|
|
287
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
291
288
|
"div",
|
|
292
289
|
{
|
|
293
|
-
className:
|
|
290
|
+
className: d(
|
|
294
291
|
"p-4 rounded-lg border transition-colors",
|
|
295
292
|
"bg-white dark:bg-gray-900",
|
|
296
293
|
"border-gray-200 dark:border-gray-700",
|
|
297
294
|
"text-gray-900 dark:text-white",
|
|
298
|
-
|
|
295
|
+
a && "opacity-50 cursor-not-allowed",
|
|
299
296
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
300
297
|
o
|
|
301
298
|
),
|
|
302
|
-
onClick:
|
|
299
|
+
onClick: a ? void 0 : l,
|
|
303
300
|
role: "region",
|
|
304
|
-
"aria-label": "
|
|
305
|
-
children:
|
|
301
|
+
"aria-label": "UachievementUbadge",
|
|
302
|
+
children: t || "UachievementUbadge Component"
|
|
306
303
|
}
|
|
307
|
-
),
|
|
308
|
-
src: o,
|
|
309
|
-
title: s,
|
|
310
|
-
artist: t,
|
|
311
|
-
artwork: i,
|
|
312
|
-
autoPlay: m = !1,
|
|
313
|
-
loop: h = !1,
|
|
314
|
-
className: p
|
|
315
|
-
}) => {
|
|
316
|
-
const l = K(null), [N, w] = E(m), [k, _] = E(0), [b, y] = E(0), [R, U] = E(1);
|
|
317
|
-
ee(() => {
|
|
318
|
-
const a = l.current;
|
|
319
|
-
if (!a) return;
|
|
320
|
-
const c = () => _(a.currentTime), v = () => y(a.duration), T = () => w(!0), x = () => w(!1), V = () => w(!1);
|
|
321
|
-
return a.addEventListener("timeupdate", c), a.addEventListener("loadedmetadata", v), a.addEventListener("play", T), a.addEventListener("pause", x), a.addEventListener("ended", V), () => {
|
|
322
|
-
a.removeEventListener("timeupdate", c), a.removeEventListener("loadedmetadata", v), a.removeEventListener("play", T), a.removeEventListener("pause", x), a.removeEventListener("ended", V);
|
|
323
|
-
};
|
|
324
|
-
}, []);
|
|
325
|
-
const j = () => {
|
|
326
|
-
l.current && (N ? l.current.pause() : l.current.play());
|
|
327
|
-
}, A = (a) => {
|
|
328
|
-
const c = parseFloat(a.target.value);
|
|
329
|
-
_(c), l.current && (l.current.currentTime = c);
|
|
330
|
-
}, O = (a) => {
|
|
331
|
-
const c = parseFloat(a.target.value);
|
|
332
|
-
U(c), l.current && (l.current.volume = c);
|
|
333
|
-
}, S = (a) => {
|
|
334
|
-
const c = Math.floor(a / 60), v = Math.floor(a % 60);
|
|
335
|
-
return `${c}:${v.toString().padStart(2, "0")}`;
|
|
336
|
-
}, C = b > 0 ? k / b * 100 : 0;
|
|
337
|
-
return /* @__PURE__ */ r.jsxs(
|
|
338
|
-
"div",
|
|
339
|
-
{
|
|
340
|
-
className: f(
|
|
341
|
-
"bg-white dark:bg-gray-900 rounded-lg p-6 shadow-lg",
|
|
342
|
-
p
|
|
343
|
-
),
|
|
344
|
-
children: [
|
|
345
|
-
/* @__PURE__ */ r.jsx("audio", { ref: l, src: o, autoPlay: m, loop: h }),
|
|
346
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-4 mb-4", children: [
|
|
347
|
-
i && /* @__PURE__ */ r.jsx("div", { className: "w-16 h-16 rounded-lg overflow-hidden flex-shrink-0 bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ r.jsx(
|
|
348
|
-
"img",
|
|
349
|
-
{
|
|
350
|
-
src: i,
|
|
351
|
-
alt: s || "Album artwork",
|
|
352
|
-
className: "w-full h-full object-cover"
|
|
353
|
-
}
|
|
354
|
-
) }),
|
|
355
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
356
|
-
s && /* @__PURE__ */ r.jsx("h4", { className: "font-semibold text-gray-900 dark:text-white truncate", children: s }),
|
|
357
|
-
t && /* @__PURE__ */ r.jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400 truncate", children: t })
|
|
358
|
-
] })
|
|
359
|
-
] }),
|
|
360
|
-
/* @__PURE__ */ r.jsxs("div", { className: "mb-4", children: [
|
|
361
|
-
/* @__PURE__ */ r.jsx(
|
|
362
|
-
"input",
|
|
363
|
-
{
|
|
364
|
-
type: "range",
|
|
365
|
-
min: "0",
|
|
366
|
-
max: b || 0,
|
|
367
|
-
value: k,
|
|
368
|
-
onChange: A,
|
|
369
|
-
className: "w-full accent-blue-500"
|
|
370
|
-
}
|
|
371
|
-
),
|
|
372
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex justify-between text-xs text-gray-600 dark:text-gray-400 mt-1", children: [
|
|
373
|
-
/* @__PURE__ */ r.jsx("span", { children: S(k) }),
|
|
374
|
-
/* @__PURE__ */ r.jsx("span", { children: S(b) })
|
|
375
|
-
] })
|
|
376
|
-
] }),
|
|
377
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
378
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
379
|
-
/* @__PURE__ */ r.jsx(
|
|
380
|
-
"button",
|
|
381
|
-
{
|
|
382
|
-
onClick: j,
|
|
383
|
-
className: "w-10 h-10 rounded-full bg-blue-500 text-white flex items-center justify-center hover:bg-blue-600 transition-colors",
|
|
384
|
-
children: N ? /* @__PURE__ */ r.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ r.jsx("path", { d: "M6 4h4v16H6V4zm8 0h4v16h-4V4z" }) }) : /* @__PURE__ */ r.jsx(
|
|
385
|
-
"svg",
|
|
386
|
-
{
|
|
387
|
-
className: "w-5 h-5 ml-0.5",
|
|
388
|
-
fill: "currentColor",
|
|
389
|
-
viewBox: "0 0 24 24",
|
|
390
|
-
children: /* @__PURE__ */ r.jsx("path", { d: "M8 5v14l11-7z" })
|
|
391
|
-
}
|
|
392
|
-
)
|
|
393
|
-
}
|
|
394
|
-
),
|
|
395
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
396
|
-
/* @__PURE__ */ r.jsx(
|
|
397
|
-
"svg",
|
|
398
|
-
{
|
|
399
|
-
className: "w-4 h-4 text-gray-600 dark:text-gray-400",
|
|
400
|
-
fill: "currentColor",
|
|
401
|
-
viewBox: "0 0 24 24",
|
|
402
|
-
children: /* @__PURE__ */ r.jsx("path", { d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z" })
|
|
403
|
-
}
|
|
404
|
-
),
|
|
405
|
-
/* @__PURE__ */ r.jsx(
|
|
406
|
-
"input",
|
|
407
|
-
{
|
|
408
|
-
type: "range",
|
|
409
|
-
min: "0",
|
|
410
|
-
max: "1",
|
|
411
|
-
step: "0.1",
|
|
412
|
-
value: R,
|
|
413
|
-
onChange: O,
|
|
414
|
-
className: "w-24 accent-blue-500"
|
|
415
|
-
}
|
|
416
|
-
)
|
|
417
|
-
] })
|
|
418
|
-
] }),
|
|
419
|
-
/* @__PURE__ */ r.jsxs("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: [
|
|
420
|
-
C.toFixed(0),
|
|
421
|
-
"%"
|
|
422
|
-
] })
|
|
423
|
-
] })
|
|
424
|
-
]
|
|
425
|
-
}
|
|
426
|
-
);
|
|
427
|
-
}, me = ({
|
|
304
|
+
), cr = ({
|
|
428
305
|
className: o,
|
|
429
|
-
children:
|
|
430
|
-
disabled:
|
|
431
|
-
onClick:
|
|
432
|
-
}) => /* @__PURE__ */
|
|
306
|
+
children: t,
|
|
307
|
+
disabled: a = !1,
|
|
308
|
+
onClick: l
|
|
309
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
433
310
|
"div",
|
|
434
311
|
{
|
|
435
|
-
className:
|
|
312
|
+
className: d(
|
|
436
313
|
"p-4 rounded-lg border transition-colors",
|
|
437
314
|
"bg-white dark:bg-gray-900",
|
|
438
315
|
"border-gray-200 dark:border-gray-700",
|
|
439
316
|
"text-gray-900 dark:text-white",
|
|
440
|
-
|
|
317
|
+
a && "opacity-50 cursor-not-allowed",
|
|
441
318
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
442
319
|
o
|
|
443
320
|
),
|
|
444
|
-
onClick:
|
|
321
|
+
onClick: a ? void 0 : l,
|
|
445
322
|
role: "region",
|
|
446
|
-
"aria-label": "
|
|
447
|
-
children:
|
|
323
|
+
"aria-label": "UachievementUunlock",
|
|
324
|
+
children: t || "UachievementUunlock Component"
|
|
448
325
|
}
|
|
449
|
-
),
|
|
326
|
+
), dr = ({
|
|
450
327
|
className: o,
|
|
451
|
-
children:
|
|
452
|
-
disabled:
|
|
453
|
-
|
|
328
|
+
children: t,
|
|
329
|
+
disabled: a = !1,
|
|
330
|
+
onClick: l
|
|
331
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
454
332
|
"div",
|
|
455
333
|
{
|
|
456
|
-
className:
|
|
334
|
+
className: d(
|
|
457
335
|
"p-4 rounded-lg border transition-colors",
|
|
458
336
|
"bg-white dark:bg-gray-900",
|
|
459
337
|
"border-gray-200 dark:border-gray-700",
|
|
460
338
|
"text-gray-900 dark:text-white",
|
|
461
|
-
|
|
339
|
+
a && "opacity-50 cursor-not-allowed",
|
|
340
|
+
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
462
341
|
o
|
|
463
342
|
),
|
|
343
|
+
onClick: a ? void 0 : l,
|
|
464
344
|
role: "region",
|
|
465
|
-
"aria-label": "
|
|
466
|
-
children:
|
|
345
|
+
"aria-label": "UgameUcontrols",
|
|
346
|
+
children: t || "UgameUcontrols Component"
|
|
467
347
|
}
|
|
468
|
-
),
|
|
348
|
+
), ur = ({
|
|
469
349
|
className: o,
|
|
470
|
-
children:
|
|
471
|
-
disabled:
|
|
472
|
-
|
|
473
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
350
|
+
children: t,
|
|
351
|
+
disabled: a
|
|
352
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
474
353
|
"div",
|
|
475
354
|
{
|
|
476
|
-
className:
|
|
355
|
+
className: d(
|
|
477
356
|
"p-4 rounded-lg border transition-colors",
|
|
478
357
|
"bg-white dark:bg-gray-900",
|
|
479
358
|
"border-gray-200 dark:border-gray-700",
|
|
480
359
|
"text-gray-900 dark:text-white",
|
|
481
|
-
|
|
482
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
360
|
+
a && "opacity-50 cursor-not-allowed",
|
|
483
361
|
o
|
|
484
362
|
),
|
|
485
|
-
onClick: t ? void 0 : i,
|
|
486
363
|
role: "region",
|
|
487
|
-
"aria-label": "
|
|
488
|
-
children:
|
|
364
|
+
"aria-label": "LeadScorer",
|
|
365
|
+
children: t || "LeadScorer Component"
|
|
489
366
|
}
|
|
490
|
-
),
|
|
367
|
+
), gr = ({
|
|
491
368
|
className: o,
|
|
492
|
-
children:
|
|
493
|
-
disabled:
|
|
494
|
-
|
|
369
|
+
children: t,
|
|
370
|
+
disabled: a = !1,
|
|
371
|
+
onClick: l
|
|
372
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
495
373
|
"div",
|
|
496
374
|
{
|
|
497
|
-
className:
|
|
375
|
+
className: d(
|
|
498
376
|
"p-4 rounded-lg border transition-colors",
|
|
499
377
|
"bg-white dark:bg-gray-900",
|
|
500
378
|
"border-gray-200 dark:border-gray-700",
|
|
501
379
|
"text-gray-900 dark:text-white",
|
|
502
|
-
|
|
380
|
+
a && "opacity-50 cursor-not-allowed",
|
|
381
|
+
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
503
382
|
o
|
|
504
383
|
),
|
|
384
|
+
onClick: a ? void 0 : l,
|
|
505
385
|
role: "region",
|
|
506
|
-
"aria-label": "
|
|
507
|
-
children:
|
|
386
|
+
"aria-label": "UleaderboardUpodium",
|
|
387
|
+
children: t || "UleaderboardUpodium Component"
|
|
508
388
|
}
|
|
509
|
-
),
|
|
389
|
+
), br = ({
|
|
510
390
|
className: o,
|
|
511
|
-
children:
|
|
512
|
-
disabled:
|
|
513
|
-
}) => /* @__PURE__ */
|
|
391
|
+
children: t,
|
|
392
|
+
disabled: a
|
|
393
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
514
394
|
"div",
|
|
515
395
|
{
|
|
516
|
-
className:
|
|
396
|
+
className: d(
|
|
517
397
|
"p-4 rounded-lg border transition-colors",
|
|
518
398
|
"bg-white dark:bg-gray-900",
|
|
519
399
|
"border-gray-200 dark:border-gray-700",
|
|
520
400
|
"text-gray-900 dark:text-white",
|
|
521
|
-
|
|
401
|
+
a && "opacity-50 cursor-not-allowed",
|
|
522
402
|
o
|
|
523
403
|
),
|
|
524
404
|
role: "region",
|
|
525
|
-
"aria-label": "
|
|
526
|
-
children:
|
|
405
|
+
"aria-label": "PlayerStats",
|
|
406
|
+
children: t || "PlayerStats Component"
|
|
527
407
|
}
|
|
528
|
-
),
|
|
408
|
+
), fr = ({
|
|
529
409
|
className: o,
|
|
530
|
-
children:
|
|
531
|
-
disabled:
|
|
532
|
-
}) => /* @__PURE__ */
|
|
410
|
+
children: t,
|
|
411
|
+
disabled: a
|
|
412
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
533
413
|
"div",
|
|
534
414
|
{
|
|
535
|
-
className:
|
|
415
|
+
className: d(
|
|
536
416
|
"p-4 rounded-lg border transition-colors",
|
|
537
417
|
"bg-white dark:bg-gray-900",
|
|
538
418
|
"border-gray-200 dark:border-gray-700",
|
|
539
419
|
"text-gray-900 dark:text-white",
|
|
540
|
-
|
|
420
|
+
a && "opacity-50 cursor-not-allowed",
|
|
541
421
|
o
|
|
542
422
|
),
|
|
543
423
|
role: "region",
|
|
544
424
|
"aria-label": "ScoreBoard",
|
|
545
|
-
children:
|
|
425
|
+
children: t || "ScoreBoard Component"
|
|
546
426
|
}
|
|
547
|
-
),
|
|
427
|
+
), mr = ({
|
|
548
428
|
className: o,
|
|
549
|
-
children:
|
|
550
|
-
disabled:
|
|
551
|
-
onClick:
|
|
552
|
-
}) => /* @__PURE__ */
|
|
429
|
+
children: t,
|
|
430
|
+
disabled: a = !1,
|
|
431
|
+
onClick: l
|
|
432
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
553
433
|
"div",
|
|
554
434
|
{
|
|
555
|
-
className:
|
|
435
|
+
className: d(
|
|
556
436
|
"p-4 rounded-lg border transition-colors",
|
|
557
437
|
"bg-white dark:bg-gray-900",
|
|
558
438
|
"border-gray-200 dark:border-gray-700",
|
|
559
439
|
"text-gray-900 dark:text-white",
|
|
560
|
-
|
|
440
|
+
a && "opacity-50 cursor-not-allowed",
|
|
561
441
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
562
442
|
o
|
|
563
443
|
),
|
|
564
|
-
onClick:
|
|
444
|
+
onClick: a ? void 0 : l,
|
|
565
445
|
role: "region",
|
|
566
446
|
"aria-label": "UscoreUdisplay",
|
|
567
|
-
children:
|
|
447
|
+
children: t || "UscoreUdisplay Component"
|
|
568
448
|
}
|
|
569
|
-
),
|
|
449
|
+
), yr = ({
|
|
570
450
|
className: o,
|
|
571
|
-
children:
|
|
572
|
-
disabled:
|
|
573
|
-
onClick:
|
|
574
|
-
}) => /* @__PURE__ */
|
|
451
|
+
children: t,
|
|
452
|
+
disabled: a = !1,
|
|
453
|
+
onClick: l
|
|
454
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
575
455
|
"div",
|
|
576
456
|
{
|
|
577
|
-
className:
|
|
457
|
+
className: d(
|
|
578
458
|
"p-4 rounded-lg border transition-colors",
|
|
579
459
|
"bg-white dark:bg-gray-900",
|
|
580
460
|
"border-gray-200 dark:border-gray-700",
|
|
581
461
|
"text-gray-900 dark:text-white",
|
|
582
|
-
|
|
462
|
+
a && "opacity-50 cursor-not-allowed",
|
|
583
463
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
584
464
|
o
|
|
585
465
|
),
|
|
586
|
-
onClick:
|
|
466
|
+
onClick: a ? void 0 : l,
|
|
587
467
|
role: "region",
|
|
588
468
|
"aria-label": "UscratchUcard",
|
|
589
|
-
children:
|
|
469
|
+
children: t || "UscratchUcard Component"
|
|
590
470
|
}
|
|
591
|
-
),
|
|
471
|
+
), pr = ({
|
|
592
472
|
className: o,
|
|
593
|
-
children:
|
|
594
|
-
disabled:
|
|
595
|
-
|
|
473
|
+
children: t,
|
|
474
|
+
disabled: a = !1,
|
|
475
|
+
onClick: l
|
|
476
|
+
}) => /* @__PURE__ */ u.jsx(
|
|
596
477
|
"div",
|
|
597
478
|
{
|
|
598
|
-
className:
|
|
479
|
+
className: d(
|
|
599
480
|
"p-4 rounded-lg border transition-colors",
|
|
600
481
|
"bg-white dark:bg-gray-900",
|
|
601
482
|
"border-gray-200 dark:border-gray-700",
|
|
602
483
|
"text-gray-900 dark:text-white",
|
|
603
|
-
|
|
604
|
-
o
|
|
605
|
-
),
|
|
606
|
-
role: "region",
|
|
607
|
-
"aria-label": "SignatureRequest",
|
|
608
|
-
children: s || "SignatureRequest Component"
|
|
609
|
-
}
|
|
610
|
-
), ke = ({
|
|
611
|
-
className: o,
|
|
612
|
-
children: s,
|
|
613
|
-
disabled: t = !1,
|
|
614
|
-
onClick: i
|
|
615
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
616
|
-
"div",
|
|
617
|
-
{
|
|
618
|
-
className: f(
|
|
619
|
-
"p-4 rounded-lg border transition-colors",
|
|
620
|
-
"bg-white dark:bg-gray-900",
|
|
621
|
-
"border-gray-200 dark:border-gray-700",
|
|
622
|
-
"text-gray-900 dark:text-white",
|
|
623
|
-
t && "opacity-50 cursor-not-allowed",
|
|
484
|
+
a && "opacity-50 cursor-not-allowed",
|
|
624
485
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
625
486
|
o
|
|
626
487
|
),
|
|
627
|
-
onClick:
|
|
488
|
+
onClick: a ? void 0 : l,
|
|
628
489
|
role: "region",
|
|
629
490
|
"aria-label": "UspinUwheel",
|
|
630
|
-
children:
|
|
631
|
-
}
|
|
632
|
-
), je = ({
|
|
633
|
-
className: o,
|
|
634
|
-
children: s,
|
|
635
|
-
disabled: t
|
|
636
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
637
|
-
"div",
|
|
638
|
-
{
|
|
639
|
-
className: f(
|
|
640
|
-
"p-4 rounded-lg border transition-colors",
|
|
641
|
-
"bg-white dark:bg-gray-900",
|
|
642
|
-
"border-gray-200 dark:border-gray-700",
|
|
643
|
-
"text-gray-900 dark:text-white",
|
|
644
|
-
t && "opacity-50 cursor-not-allowed",
|
|
645
|
-
o
|
|
646
|
-
),
|
|
647
|
-
role: "region",
|
|
648
|
-
"aria-label": "SustainabilityScore",
|
|
649
|
-
children: s || "SustainabilityScore Component"
|
|
491
|
+
children: t || "UspinUwheel Component"
|
|
650
492
|
}
|
|
651
|
-
)
|
|
652
|
-
src: o,
|
|
653
|
-
poster: s,
|
|
654
|
-
autoPlay: t = !1,
|
|
655
|
-
loop: i = !1,
|
|
656
|
-
muted: m = !1,
|
|
657
|
-
controls: h = !0,
|
|
658
|
-
className: p
|
|
659
|
-
}) => {
|
|
660
|
-
const l = K(null), [N, w] = E(t), [k, _] = E(1), [b, y] = E(0), [R, U] = E(0);
|
|
661
|
-
ee(() => {
|
|
662
|
-
const a = l.current;
|
|
663
|
-
if (!a) return;
|
|
664
|
-
const c = () => y(a.currentTime), v = () => U(a.duration), T = () => w(!0), x = () => w(!1);
|
|
665
|
-
return a.addEventListener("timeupdate", c), a.addEventListener("loadedmetadata", v), a.addEventListener("play", T), a.addEventListener("pause", x), () => {
|
|
666
|
-
a.removeEventListener("timeupdate", c), a.removeEventListener("loadedmetadata", v), a.removeEventListener("play", T), a.removeEventListener("pause", x);
|
|
667
|
-
};
|
|
668
|
-
}, []);
|
|
669
|
-
const j = () => {
|
|
670
|
-
l.current && (N ? l.current.pause() : l.current.play());
|
|
671
|
-
}, A = (a) => {
|
|
672
|
-
const c = parseFloat(a.target.value);
|
|
673
|
-
_(c), l.current && (l.current.volume = c);
|
|
674
|
-
}, O = (a) => {
|
|
675
|
-
const c = parseFloat(a.target.value);
|
|
676
|
-
y(c), l.current && (l.current.currentTime = c);
|
|
677
|
-
}, S = () => {
|
|
678
|
-
l.current && (document.fullscreenElement ? document.exitFullscreen() : l.current.requestFullscreen());
|
|
679
|
-
}, C = (a) => {
|
|
680
|
-
const c = Math.floor(a / 60), v = Math.floor(a % 60);
|
|
681
|
-
return `${c}:${v.toString().padStart(2, "0")}`;
|
|
682
|
-
};
|
|
683
|
-
return /* @__PURE__ */ r.jsxs("div", { className: f("relative group", p), children: [
|
|
684
|
-
/* @__PURE__ */ r.jsx(
|
|
685
|
-
"video",
|
|
686
|
-
{
|
|
687
|
-
ref: l,
|
|
688
|
-
src: o,
|
|
689
|
-
poster: s,
|
|
690
|
-
autoPlay: t,
|
|
691
|
-
loop: i,
|
|
692
|
-
muted: m,
|
|
693
|
-
className: "w-full rounded-lg",
|
|
694
|
-
onClick: j
|
|
695
|
-
}
|
|
696
|
-
),
|
|
697
|
-
h && /* @__PURE__ */ r.jsxs("div", { className: "absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4 opacity-0 group-hover:opacity-100 transition-opacity", children: [
|
|
698
|
-
/* @__PURE__ */ r.jsx(
|
|
699
|
-
"input",
|
|
700
|
-
{
|
|
701
|
-
type: "range",
|
|
702
|
-
min: "0",
|
|
703
|
-
max: R || 0,
|
|
704
|
-
value: b,
|
|
705
|
-
onChange: O,
|
|
706
|
-
className: "w-full mb-2 accent-white"
|
|
707
|
-
}
|
|
708
|
-
),
|
|
709
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
710
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
711
|
-
/* @__PURE__ */ r.jsx(
|
|
712
|
-
"button",
|
|
713
|
-
{
|
|
714
|
-
onClick: j,
|
|
715
|
-
className: "text-white hover:text-gray-300 transition-colors",
|
|
716
|
-
children: N ? /* @__PURE__ */ r.jsx(
|
|
717
|
-
"svg",
|
|
718
|
-
{
|
|
719
|
-
className: "w-6 h-6",
|
|
720
|
-
fill: "currentColor",
|
|
721
|
-
viewBox: "0 0 24 24",
|
|
722
|
-
children: /* @__PURE__ */ r.jsx("path", { d: "M6 4h4v16H6V4zm8 0h4v16h-4V4z" })
|
|
723
|
-
}
|
|
724
|
-
) : /* @__PURE__ */ r.jsx(
|
|
725
|
-
"svg",
|
|
726
|
-
{
|
|
727
|
-
className: "w-6 h-6",
|
|
728
|
-
fill: "currentColor",
|
|
729
|
-
viewBox: "0 0 24 24",
|
|
730
|
-
children: /* @__PURE__ */ r.jsx("path", { d: "M8 5v14l11-7z" })
|
|
731
|
-
}
|
|
732
|
-
)
|
|
733
|
-
}
|
|
734
|
-
),
|
|
735
|
-
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
736
|
-
/* @__PURE__ */ r.jsx(
|
|
737
|
-
"svg",
|
|
738
|
-
{
|
|
739
|
-
className: "w-4 h-4 text-white",
|
|
740
|
-
fill: "currentColor",
|
|
741
|
-
viewBox: "0 0 24 24",
|
|
742
|
-
children: /* @__PURE__ */ r.jsx("path", { d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z" })
|
|
743
|
-
}
|
|
744
|
-
),
|
|
745
|
-
/* @__PURE__ */ r.jsx(
|
|
746
|
-
"input",
|
|
747
|
-
{
|
|
748
|
-
type: "range",
|
|
749
|
-
min: "0",
|
|
750
|
-
max: "1",
|
|
751
|
-
step: "0.1",
|
|
752
|
-
value: k,
|
|
753
|
-
onChange: A,
|
|
754
|
-
className: "w-20 accent-white"
|
|
755
|
-
}
|
|
756
|
-
)
|
|
757
|
-
] }),
|
|
758
|
-
/* @__PURE__ */ r.jsxs("span", { className: "text-white text-sm", children: [
|
|
759
|
-
C(b),
|
|
760
|
-
" / ",
|
|
761
|
-
C(R)
|
|
762
|
-
] })
|
|
763
|
-
] }),
|
|
764
|
-
/* @__PURE__ */ r.jsx(
|
|
765
|
-
"button",
|
|
766
|
-
{
|
|
767
|
-
onClick: S,
|
|
768
|
-
className: "text-white hover:text-gray-300 transition-colors",
|
|
769
|
-
children: /* @__PURE__ */ r.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ r.jsx("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }) })
|
|
770
|
-
}
|
|
771
|
-
)
|
|
772
|
-
] })
|
|
773
|
-
] })
|
|
774
|
-
] });
|
|
775
|
-
};
|
|
493
|
+
);
|
|
776
494
|
export {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
ye as UscoreUdisplay,
|
|
789
|
-
xe as UscratchUcard,
|
|
790
|
-
ke as UspinUwheel,
|
|
791
|
-
Ee as VideoPlayer
|
|
495
|
+
ur as LeadScorer,
|
|
496
|
+
br as PlayerStats,
|
|
497
|
+
fr as ScoreBoard,
|
|
498
|
+
ir as SustainabilityScore,
|
|
499
|
+
sr as UachievementUbadge,
|
|
500
|
+
cr as UachievementUunlock,
|
|
501
|
+
dr as UgameUcontrols,
|
|
502
|
+
gr as UleaderboardUpodium,
|
|
503
|
+
mr as UscoreUdisplay,
|
|
504
|
+
yr as UscratchUcard,
|
|
505
|
+
pr as UspinUwheel
|
|
792
506
|
};
|