@car-cutter/vue-webplayer 0.3.0 → 0.3.2
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/README.md +2 -0
- package/dist/index.js +620 -609
- package/dist/index.umd.cjs +8 -8
- package/package.json +9 -4
- package/.turbo/turbo-build.log +0 -16
- package/.turbo/turbo-lint.log +0 -4
- package/index.ts +0 -23
- package/src/WebPlayer.vue +0 -83
- package/tsconfig.app.json +0 -8
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -5
- package/vite.config.ts +0 -52
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Nf, onMounted as Lf, onUnmounted as _f, openBlock as jf, createElementBlock as zf, unref as Pf } from "vue";
|
|
2
2
|
const Tf = "composition-loading", Mf = "composition-loaded", Of = "composition-load-error", Rf = "extend-mode-on", Ff = "extend-mode-off", Df = "hotspots-on", Vf = "hotspots-off", If = "gallery-open", Uf = "gallery-close", Hf = "cc-webplayer:", Jo = "cc-webplayer", ei = "cc-webplayer-icon", Af = "composition-loading", $f = "composition-loaded", Wf = "composition-load-error", Bf = "extend-mode-on", Zf = "extend-mode-off", Qf = "hotspots-on", Xf = "hotspots-off", Kf = "gallery-open", qf = "gallery-close", Gf = "quality", Yf = "cc-webplayer:";
|
|
3
3
|
function Jf(i, m) {
|
|
4
4
|
const c = i.split("/"), b = c.pop();
|
|
@@ -21,7 +21,7 @@ var Wu;
|
|
|
21
21
|
function ep() {
|
|
22
22
|
if (Wu) return he;
|
|
23
23
|
Wu = 1;
|
|
24
|
-
var i = Symbol.for("react.element"), m = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"),
|
|
24
|
+
var i = Symbol.for("react.element"), m = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), N = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), $ = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), I = Symbol.iterator;
|
|
25
25
|
function F(f) {
|
|
26
26
|
return f === null || typeof f != "object" ? null : (f = I && f[I] || f["@@iterator"], typeof f == "function" ? f : null);
|
|
27
27
|
}
|
|
@@ -125,7 +125,7 @@ function ep() {
|
|
|
125
125
|
if (f._status === 1) return f._result.default;
|
|
126
126
|
throw f._result;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var L = { current: null }, w = { transition: null }, P = { ReactCurrentDispatcher: L, ReactCurrentBatchConfig: w, ReactCurrentOwner: J };
|
|
129
129
|
function T() {
|
|
130
130
|
throw Error("act(...) is not supported in production builds of React.");
|
|
131
131
|
}
|
|
@@ -145,7 +145,7 @@ function ep() {
|
|
|
145
145
|
}, only: function(f) {
|
|
146
146
|
if (!K(f)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
147
147
|
return f;
|
|
148
|
-
} }, he.Component = D, he.Fragment = c, he.Profiler =
|
|
148
|
+
} }, he.Component = D, he.Fragment = c, he.Profiler = S, he.PureComponent = Q, he.StrictMode = b, he.Suspense = E, he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = P, he.act = T, he.cloneElement = function(f, x, ae) {
|
|
149
149
|
if (f == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + f + ".");
|
|
150
150
|
var oe = O({}, f.props), pe = f.key, me = f.ref, ve = f._owner;
|
|
151
151
|
if (x != null) {
|
|
@@ -161,7 +161,7 @@ function ep() {
|
|
|
161
161
|
}
|
|
162
162
|
return { $$typeof: i, type: f.type, key: pe, ref: me, props: oe, _owner: ve };
|
|
163
163
|
}, he.createContext = function(f) {
|
|
164
|
-
return f = { $$typeof:
|
|
164
|
+
return f = { $$typeof: N, _currentValue: f, _currentValue2: f, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, f.Provider = { $$typeof: C, _context: f }, f.Consumer = f;
|
|
165
165
|
}, he.createElement = X, he.createFactory = function(f) {
|
|
166
166
|
var x = X.bind(null, f);
|
|
167
167
|
return x.type = f, x;
|
|
@@ -182,34 +182,34 @@ function ep() {
|
|
|
182
182
|
w.transition = x;
|
|
183
183
|
}
|
|
184
184
|
}, he.unstable_act = T, he.useCallback = function(f, x) {
|
|
185
|
-
return
|
|
185
|
+
return L.current.useCallback(f, x);
|
|
186
186
|
}, he.useContext = function(f) {
|
|
187
|
-
return
|
|
187
|
+
return L.current.useContext(f);
|
|
188
188
|
}, he.useDebugValue = function() {
|
|
189
189
|
}, he.useDeferredValue = function(f) {
|
|
190
|
-
return
|
|
190
|
+
return L.current.useDeferredValue(f);
|
|
191
191
|
}, he.useEffect = function(f, x) {
|
|
192
|
-
return
|
|
192
|
+
return L.current.useEffect(f, x);
|
|
193
193
|
}, he.useId = function() {
|
|
194
|
-
return
|
|
194
|
+
return L.current.useId();
|
|
195
195
|
}, he.useImperativeHandle = function(f, x, ae) {
|
|
196
|
-
return
|
|
196
|
+
return L.current.useImperativeHandle(f, x, ae);
|
|
197
197
|
}, he.useInsertionEffect = function(f, x) {
|
|
198
|
-
return
|
|
198
|
+
return L.current.useInsertionEffect(f, x);
|
|
199
199
|
}, he.useLayoutEffect = function(f, x) {
|
|
200
|
-
return
|
|
200
|
+
return L.current.useLayoutEffect(f, x);
|
|
201
201
|
}, he.useMemo = function(f, x) {
|
|
202
|
-
return
|
|
202
|
+
return L.current.useMemo(f, x);
|
|
203
203
|
}, he.useReducer = function(f, x, ae) {
|
|
204
|
-
return
|
|
204
|
+
return L.current.useReducer(f, x, ae);
|
|
205
205
|
}, he.useRef = function(f) {
|
|
206
|
-
return
|
|
206
|
+
return L.current.useRef(f);
|
|
207
207
|
}, he.useState = function(f) {
|
|
208
|
-
return
|
|
208
|
+
return L.current.useState(f);
|
|
209
209
|
}, he.useSyncExternalStore = function(f, x, ae) {
|
|
210
|
-
return
|
|
210
|
+
return L.current.useSyncExternalStore(f, x, ae);
|
|
211
211
|
}, he.useTransition = function() {
|
|
212
|
-
return
|
|
212
|
+
return L.current.useTransition();
|
|
213
213
|
}, he.version = "18.3.1", he;
|
|
214
214
|
}
|
|
215
215
|
lc.exports = ep();
|
|
@@ -233,7 +233,7 @@ function tp() {
|
|
|
233
233
|
w.push(P);
|
|
234
234
|
e: for (; 0 < T; ) {
|
|
235
235
|
var f = T - 1 >>> 1, x = w[f];
|
|
236
|
-
if (0 <
|
|
236
|
+
if (0 < S(x, P)) w[f] = P, w[T] = x, T = f;
|
|
237
237
|
else break e;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -247,62 +247,62 @@ function tp() {
|
|
|
247
247
|
w[0] = T;
|
|
248
248
|
e: for (var f = 0, x = w.length, ae = x >>> 1; f < ae; ) {
|
|
249
249
|
var oe = 2 * (f + 1) - 1, pe = w[oe], me = oe + 1, ve = w[me];
|
|
250
|
-
if (0 >
|
|
251
|
-
else if (me < x && 0 >
|
|
250
|
+
if (0 > S(pe, T)) me < x && 0 > S(ve, pe) ? (w[f] = ve, w[me] = T, f = me) : (w[f] = pe, w[oe] = T, f = oe);
|
|
251
|
+
else if (me < x && 0 > S(ve, T)) w[f] = ve, w[me] = T, f = me;
|
|
252
252
|
else break e;
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
return P;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function S(w, P) {
|
|
258
258
|
var T = w.sortIndex - P.sortIndex;
|
|
259
259
|
return T !== 0 ? T : w.id - P.id;
|
|
260
260
|
}
|
|
261
261
|
if (typeof performance == "object" && typeof performance.now == "function") {
|
|
262
|
-
var
|
|
262
|
+
var C = performance;
|
|
263
263
|
i.unstable_now = function() {
|
|
264
|
-
return
|
|
264
|
+
return C.now();
|
|
265
265
|
};
|
|
266
266
|
} else {
|
|
267
|
-
var
|
|
267
|
+
var N = Date, k = N.now();
|
|
268
268
|
i.unstable_now = function() {
|
|
269
|
-
return
|
|
269
|
+
return N.now() - k;
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var E = [], $ = [], V = 1, I = null, F = 3, le = !1, O = !1, M = !1, D = typeof setTimeout == "function" ? setTimeout : null, q = typeof clearTimeout == "function" ? clearTimeout : null, Q = typeof setImmediate < "u" ? setImmediate : null;
|
|
273
273
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
274
274
|
function W(w) {
|
|
275
275
|
for (var P = c($); P !== null; ) {
|
|
276
276
|
if (P.callback === null) b($);
|
|
277
|
-
else if (P.startTime <= w) b($), P.sortIndex = P.expirationTime, m(
|
|
277
|
+
else if (P.startTime <= w) b($), P.sortIndex = P.expirationTime, m(E, P);
|
|
278
278
|
else break;
|
|
279
279
|
P = c($);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
function H(w) {
|
|
283
|
-
if (M = !1, W(w), !O) if (c(
|
|
283
|
+
if (M = !1, W(w), !O) if (c(E) !== null) O = !0, A(B);
|
|
284
284
|
else {
|
|
285
285
|
var P = c($);
|
|
286
|
-
P !== null &&
|
|
286
|
+
P !== null && L(H, P.startTime - w);
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
function B(w, P) {
|
|
290
290
|
O = !1, M && (M = !1, q(X), X = -1), le = !0;
|
|
291
291
|
var T = F;
|
|
292
292
|
try {
|
|
293
|
-
for (W(P), I = c(
|
|
293
|
+
for (W(P), I = c(E); I !== null && (!(I.expirationTime > P) || w && !ue()); ) {
|
|
294
294
|
var f = I.callback;
|
|
295
295
|
if (typeof f == "function") {
|
|
296
296
|
I.callback = null, F = I.priorityLevel;
|
|
297
297
|
var x = f(I.expirationTime <= P);
|
|
298
|
-
P = i.unstable_now(), typeof x == "function" ? I.callback = x : I === c(
|
|
299
|
-
} else b(
|
|
300
|
-
I = c(
|
|
298
|
+
P = i.unstable_now(), typeof x == "function" ? I.callback = x : I === c(E) && b(E), W(P);
|
|
299
|
+
} else b(E);
|
|
300
|
+
I = c(E);
|
|
301
301
|
}
|
|
302
302
|
if (I !== null) var ae = !0;
|
|
303
303
|
else {
|
|
304
304
|
var oe = c($);
|
|
305
|
-
oe !== null &&
|
|
305
|
+
oe !== null && L(H, oe.startTime - P), ae = !1;
|
|
306
306
|
}
|
|
307
307
|
return ae;
|
|
308
308
|
} finally {
|
|
@@ -340,7 +340,7 @@ function tp() {
|
|
|
340
340
|
function A(w) {
|
|
341
341
|
U = w, J || (J = !0, de());
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function L(w, P) {
|
|
344
344
|
X = D(function() {
|
|
345
345
|
w(i.unstable_now());
|
|
346
346
|
}, P);
|
|
@@ -354,7 +354,7 @@ function tp() {
|
|
|
354
354
|
}, i.unstable_getCurrentPriorityLevel = function() {
|
|
355
355
|
return F;
|
|
356
356
|
}, i.unstable_getFirstCallbackNode = function() {
|
|
357
|
-
return c(
|
|
357
|
+
return c(E);
|
|
358
358
|
}, i.unstable_next = function(w) {
|
|
359
359
|
switch (F) {
|
|
360
360
|
case 1:
|
|
@@ -410,7 +410,7 @@ function tp() {
|
|
|
410
410
|
default:
|
|
411
411
|
x = 5e3;
|
|
412
412
|
}
|
|
413
|
-
return x = T + x, w = { id: V++, callback: P, priorityLevel: w, startTime: T, expirationTime: x, sortIndex: -1 }, T > f ? (w.sortIndex = T, m($, w), c(
|
|
413
|
+
return x = T + x, w = { id: V++, callback: P, priorityLevel: w, startTime: T, expirationTime: x, sortIndex: -1 }, T > f ? (w.sortIndex = T, m($, w), c(E) === null && w === c($) && (M ? (q(X), X = -1) : M = !0, L(H, T - f))) : (w.sortIndex = x, m(E, w), O || le || (O = !0, A(B))), w;
|
|
414
414
|
}, i.unstable_shouldYield = ue, i.unstable_wrapCallback = function(w) {
|
|
415
415
|
var P = F;
|
|
416
416
|
return function() {
|
|
@@ -447,16 +447,16 @@ function rp() {
|
|
|
447
447
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
448
448
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
449
449
|
}
|
|
450
|
-
var b = /* @__PURE__ */ new Set(),
|
|
451
|
-
function
|
|
452
|
-
|
|
450
|
+
var b = /* @__PURE__ */ new Set(), S = {};
|
|
451
|
+
function C(e, t) {
|
|
452
|
+
N(e, t), N(e + "Capture", t);
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
for (
|
|
454
|
+
function N(e, t) {
|
|
455
|
+
for (S[e] = t, e = 0; e < t.length; e++) b.add(t[e]);
|
|
456
456
|
}
|
|
457
|
-
var k = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"),
|
|
457
|
+
var k = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), E = Object.prototype.hasOwnProperty, $ = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, V = {}, I = {};
|
|
458
458
|
function F(e) {
|
|
459
|
-
return
|
|
459
|
+
return E.call(I, e) ? !0 : E.call(V, e) ? !1 : $.test(e) ? I[e] = !0 : (V[e] = !0, !1);
|
|
460
460
|
}
|
|
461
461
|
function le(e, t, n, r) {
|
|
462
462
|
if (n !== null && n.type === 0) return !1;
|
|
@@ -534,7 +534,7 @@ function rp() {
|
|
|
534
534
|
var a = D.hasOwnProperty(t) ? D[t] : null;
|
|
535
535
|
(a !== null ? a.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (O(t, n, a, r) && (n = null), r || a === null ? F(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : a.mustUseProperty ? e[a.propertyName] = n === null ? a.type === 3 ? !1 : "" : n : (t = a.attributeName, r = a.attributeNamespace, n === null ? e.removeAttribute(t) : (a = a.type, n = a === 3 || a === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
|
|
536
536
|
}
|
|
537
|
-
var H = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, B = Symbol.for("react.element"), J = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), X = Symbol.for("react.strict_mode"), te = Symbol.for("react.profiler"), K = Symbol.for("react.provider"), ue = Symbol.for("react.context"), ce = Symbol.for("react.forward_ref"), de = Symbol.for("react.suspense"), xe = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), A = Symbol.for("react.lazy"),
|
|
537
|
+
var H = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, B = Symbol.for("react.element"), J = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), X = Symbol.for("react.strict_mode"), te = Symbol.for("react.profiler"), K = Symbol.for("react.provider"), ue = Symbol.for("react.context"), ce = Symbol.for("react.forward_ref"), de = Symbol.for("react.suspense"), xe = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), w = Symbol.iterator;
|
|
538
538
|
function P(e) {
|
|
539
539
|
return e === null || typeof e != "object" ? null : (e = w && e[w] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
540
540
|
}
|
|
@@ -971,7 +971,7 @@ function rp() {
|
|
|
971
971
|
}
|
|
972
972
|
var fl = null, Pn = null, Tn = null;
|
|
973
973
|
function oi(e) {
|
|
974
|
-
if (e =
|
|
974
|
+
if (e = _r(e)) {
|
|
975
975
|
if (typeof fl != "function") throw Error(c(280));
|
|
976
976
|
var t = e.stateNode;
|
|
977
977
|
t && (t = ga(t), fl(e.stateNode, e.type, t));
|
|
@@ -1151,10 +1151,10 @@ function rp() {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
return null;
|
|
1153
1153
|
}
|
|
1154
|
-
var gi = m.unstable_scheduleCallback, vi = m.unstable_cancelCallback, Fc = m.unstable_shouldYield, Dc = m.unstable_requestPaint, Te = m.unstable_now, Vc = m.unstable_getCurrentPriorityLevel, gl = m.unstable_ImmediatePriority, yi = m.unstable_UserBlockingPriority, qr = m.unstable_NormalPriority, Ic = m.unstable_LowPriority, bi = m.unstable_IdlePriority, Gr = null,
|
|
1154
|
+
var gi = m.unstable_scheduleCallback, vi = m.unstable_cancelCallback, Fc = m.unstable_shouldYield, Dc = m.unstable_requestPaint, Te = m.unstable_now, Vc = m.unstable_getCurrentPriorityLevel, gl = m.unstable_ImmediatePriority, yi = m.unstable_UserBlockingPriority, qr = m.unstable_NormalPriority, Ic = m.unstable_LowPriority, bi = m.unstable_IdlePriority, Gr = null, Nt = null;
|
|
1155
1155
|
function Uc(e) {
|
|
1156
|
-
if (
|
|
1157
|
-
|
|
1156
|
+
if (Nt && typeof Nt.onCommitFiberRoot == "function") try {
|
|
1157
|
+
Nt.onCommitFiberRoot(Gr, e, void 0, (e.current.flags & 128) === 128);
|
|
1158
1158
|
} catch {
|
|
1159
1159
|
}
|
|
1160
1160
|
}
|
|
@@ -1307,7 +1307,7 @@ function rp() {
|
|
|
1307
1307
|
return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
1308
1308
|
}
|
|
1309
1309
|
var ki, wl, Ci, Si, Ei, xl = !1, ta = [], Ht = null, At = null, $t = null, fr = /* @__PURE__ */ new Map(), pr = /* @__PURE__ */ new Map(), Wt = [], Qc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
1310
|
-
function
|
|
1310
|
+
function Ni(e, t) {
|
|
1311
1311
|
switch (e) {
|
|
1312
1312
|
case "focusin":
|
|
1313
1313
|
case "focusout":
|
|
@@ -1331,7 +1331,7 @@ function rp() {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
function mr(e, t, n, r, a, l) {
|
|
1334
|
-
return e === null || e.nativeEvent !== l ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: l, targetContainers: [a] }, t !== null && (t =
|
|
1334
|
+
return e === null || e.nativeEvent !== l ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: l, targetContainers: [a] }, t !== null && (t = _r(t), t !== null && wl(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, a !== null && t.indexOf(a) === -1 && t.push(a), e);
|
|
1335
1335
|
}
|
|
1336
1336
|
function Xc(e, t, n, r, a) {
|
|
1337
1337
|
switch (t) {
|
|
@@ -1349,7 +1349,7 @@ function rp() {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
return !1;
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function Li(e) {
|
|
1353
1353
|
var t = hn(e.target);
|
|
1354
1354
|
if (t !== null) {
|
|
1355
1355
|
var n = mn(t);
|
|
@@ -1377,16 +1377,16 @@ function rp() {
|
|
|
1377
1377
|
n = e.nativeEvent;
|
|
1378
1378
|
var r = new n.constructor(n.type, n);
|
|
1379
1379
|
cl = r, n.target.dispatchEvent(r), cl = null;
|
|
1380
|
-
} else return t =
|
|
1380
|
+
} else return t = _r(n), t !== null && wl(t), e.blockedOn = n, !1;
|
|
1381
1381
|
t.shift();
|
|
1382
1382
|
}
|
|
1383
1383
|
return !0;
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function _i(e, t, n) {
|
|
1386
1386
|
na(e) && n.delete(t);
|
|
1387
1387
|
}
|
|
1388
1388
|
function Kc() {
|
|
1389
|
-
xl = !1, Ht !== null && na(Ht) && (Ht = null), At !== null && na(At) && (At = null), $t !== null && na($t) && ($t = null), fr.forEach(
|
|
1389
|
+
xl = !1, Ht !== null && na(Ht) && (Ht = null), At !== null && na(At) && (At = null), $t !== null && na($t) && ($t = null), fr.forEach(_i), pr.forEach(_i);
|
|
1390
1390
|
}
|
|
1391
1391
|
function hr(e, t) {
|
|
1392
1392
|
e.blockedOn === t && (e.blockedOn = null, xl || (xl = !0, m.unstable_scheduleCallback(m.unstable_NormalPriority, Kc)));
|
|
@@ -1403,7 +1403,7 @@ function rp() {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
for (Ht !== null && hr(Ht, e), At !== null && hr(At, e), $t !== null && hr($t, e), fr.forEach(t), pr.forEach(t), n = 0; n < Wt.length; n++) r = Wt[n], r.blockedOn === e && (r.blockedOn = null);
|
|
1406
|
-
for (; 0 < Wt.length && (n = Wt[0], n.blockedOn === null); )
|
|
1406
|
+
for (; 0 < Wt.length && (n = Wt[0], n.blockedOn === null); ) Li(n), n.blockedOn === null && Wt.shift();
|
|
1407
1407
|
}
|
|
1408
1408
|
var Mn = H.ReactCurrentBatchConfig, ra = !0;
|
|
1409
1409
|
function qc(e, t, n, r) {
|
|
@@ -1427,11 +1427,11 @@ function rp() {
|
|
|
1427
1427
|
function kl(e, t, n, r) {
|
|
1428
1428
|
if (ra) {
|
|
1429
1429
|
var a = Cl(e, t, n, r);
|
|
1430
|
-
if (a === null) Ul(e, t, r, aa, n),
|
|
1430
|
+
if (a === null) Ul(e, t, r, aa, n), Ni(e, r);
|
|
1431
1431
|
else if (Xc(a, e, t, n, r)) r.stopPropagation();
|
|
1432
|
-
else if (
|
|
1432
|
+
else if (Ni(e, r), t & 4 && -1 < Qc.indexOf(e)) {
|
|
1433
1433
|
for (; a !== null; ) {
|
|
1434
|
-
var l =
|
|
1434
|
+
var l = _r(a);
|
|
1435
1435
|
if (l !== null && ki(l), l = Cl(e, t, n, r), l === null && Ul(e, t, r, aa, n), l === a) break;
|
|
1436
1436
|
a = l;
|
|
1437
1437
|
}
|
|
@@ -1580,13 +1580,13 @@ function rp() {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
var On = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
1582
1582
|
return e.timeStamp || Date.now();
|
|
1583
|
-
}, defaultPrevented: 0, isTrusted: 0 }, El = nt(On), vr = T({}, On, { view: 0, detail: 0 }), Yc = nt(vr),
|
|
1583
|
+
}, defaultPrevented: 0, isTrusted: 0 }, El = nt(On), vr = T({}, On, { view: 0, detail: 0 }), Yc = nt(vr), Nl, Ll, yr, sa = T({}, vr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: jl, button: 0, buttons: 0, relatedTarget: function(e) {
|
|
1584
1584
|
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
1585
1585
|
}, movementX: function(e) {
|
|
1586
|
-
return "movementX" in e ? e.movementX : (e !== yr && (yr && e.type === "mousemove" ? (
|
|
1586
|
+
return "movementX" in e ? e.movementX : (e !== yr && (yr && e.type === "mousemove" ? (Nl = e.screenX - yr.screenX, Ll = e.screenY - yr.screenY) : Ll = Nl = 0, yr = e), Nl);
|
|
1587
1587
|
}, movementY: function(e) {
|
|
1588
|
-
return "movementY" in e ? e.movementY :
|
|
1589
|
-
} }), Ti = nt(sa), Jc = T({}, sa, { dataTransfer: 0 }), ed = nt(Jc), td = T({}, vr, { relatedTarget: 0 }),
|
|
1588
|
+
return "movementY" in e ? e.movementY : Ll;
|
|
1589
|
+
} }), Ti = nt(sa), Jc = T({}, sa, { dataTransfer: 0 }), ed = nt(Jc), td = T({}, vr, { relatedTarget: 0 }), _l = nt(td), nd = T({}, On, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), rd = nt(nd), ad = T({}, On, { clipboardData: function(e) {
|
|
1590
1590
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
1591
1591
|
} }), ld = nt(ad), od = T({}, On, { data: 0 }), Mi = nt(od), id = {
|
|
1592
1592
|
Esc: "Escape",
|
|
@@ -1733,7 +1733,7 @@ function rp() {
|
|
|
1733
1733
|
var t = Un(e);
|
|
1734
1734
|
if (jn(t)) return e;
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function Nd(e, t) {
|
|
1737
1737
|
if (e === "change") return t;
|
|
1738
1738
|
}
|
|
1739
1739
|
var Ai = !1;
|
|
@@ -1758,10 +1758,10 @@ function rp() {
|
|
|
1758
1758
|
Hi(t, xr, e, dl(e)), di(Ed, t);
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1761
|
+
function Ld(e, t, n) {
|
|
1762
1762
|
e === "focusin" ? (Wi(), wr = t, xr = n, wr.attachEvent("onpropertychange", Bi)) : e === "focusout" && Wi();
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function _d(e) {
|
|
1765
1765
|
if (e === "selectionchange" || e === "keyup" || e === "keydown") return ua(xr);
|
|
1766
1766
|
}
|
|
1767
1767
|
function jd(e, t) {
|
|
@@ -1781,7 +1781,7 @@ function rp() {
|
|
|
1781
1781
|
if (n.length !== r.length) return !1;
|
|
1782
1782
|
for (r = 0; r < n.length; r++) {
|
|
1783
1783
|
var a = n[r];
|
|
1784
|
-
if (!
|
|
1784
|
+
if (!E.call(t, a) || !vt(e[a], t[a])) return !1;
|
|
1785
1785
|
}
|
|
1786
1786
|
return !0;
|
|
1787
1787
|
}
|
|
@@ -1870,13 +1870,13 @@ function rp() {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
var Yi = da("animationend"), Ji = da("animationiteration"), es = da("animationstart"), ts = da("transitionend"), ns = /* @__PURE__ */ new Map(), rs = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
1872
1872
|
function Zt(e, t) {
|
|
1873
|
-
ns.set(e, t),
|
|
1873
|
+
ns.set(e, t), C(t, [e]);
|
|
1874
1874
|
}
|
|
1875
1875
|
for (var Dl = 0; Dl < rs.length; Dl++) {
|
|
1876
1876
|
var Vl = rs[Dl], Od = Vl.toLowerCase(), Rd = Vl[0].toUpperCase() + Vl.slice(1);
|
|
1877
1877
|
Zt(Od, "on" + Rd);
|
|
1878
1878
|
}
|
|
1879
|
-
Zt(Yi, "onAnimationEnd"), Zt(Ji, "onAnimationIteration"), Zt(es, "onAnimationStart"), Zt("dblclick", "onDoubleClick"), Zt("focusin", "onFocus"), Zt("focusout", "onBlur"), Zt(ts, "onTransitionEnd"),
|
|
1879
|
+
Zt(Yi, "onAnimationEnd"), Zt(Ji, "onAnimationIteration"), Zt(es, "onAnimationStart"), Zt("dblclick", "onDoubleClick"), Zt("focusin", "onFocus"), Zt("focusout", "onBlur"), Zt(ts, "onTransitionEnd"), N("onMouseEnter", ["mouseout", "mouseover"]), N("onMouseLeave", ["mouseout", "mouseover"]), N("onPointerEnter", ["pointerout", "pointerover"]), N("onPointerLeave", ["pointerout", "pointerover"]), C("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), C("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), C("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), C("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), C("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), C("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
1880
1880
|
var Sr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Fd = new Set("cancel close invalid load scroll toggle".split(" ").concat(Sr));
|
|
1881
1881
|
function as(e, t, n) {
|
|
1882
1882
|
var r = e.type || "unknown-event";
|
|
@@ -1902,7 +1902,7 @@ function rp() {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
if (Kr) throw e = hl, Kr = !1, hl = null, e;
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function Ne(e, t) {
|
|
1906
1906
|
var n = t[Zl];
|
|
1907
1907
|
n === void 0 && (n = t[Zl] = /* @__PURE__ */ new Set());
|
|
1908
1908
|
var r = e + "__bubble";
|
|
@@ -1962,8 +1962,8 @@ function rp() {
|
|
|
1962
1962
|
di(function() {
|
|
1963
1963
|
var y = l, j = dl(n), z = [];
|
|
1964
1964
|
e: {
|
|
1965
|
-
var
|
|
1966
|
-
if (
|
|
1965
|
+
var _ = ns.get(e);
|
|
1966
|
+
if (_ !== void 0) {
|
|
1967
1967
|
var Z = El, ee = e;
|
|
1968
1968
|
switch (e) {
|
|
1969
1969
|
case "keypress":
|
|
@@ -1973,14 +1973,14 @@ function rp() {
|
|
|
1973
1973
|
Z = fd;
|
|
1974
1974
|
break;
|
|
1975
1975
|
case "focusin":
|
|
1976
|
-
ee = "focus", Z =
|
|
1976
|
+
ee = "focus", Z = _l;
|
|
1977
1977
|
break;
|
|
1978
1978
|
case "focusout":
|
|
1979
|
-
ee = "blur", Z =
|
|
1979
|
+
ee = "blur", Z = _l;
|
|
1980
1980
|
break;
|
|
1981
1981
|
case "beforeblur":
|
|
1982
1982
|
case "afterblur":
|
|
1983
|
-
Z =
|
|
1983
|
+
Z = _l;
|
|
1984
1984
|
break;
|
|
1985
1985
|
case "click":
|
|
1986
1986
|
if (n.button === 2) break e;
|
|
@@ -2039,22 +2039,22 @@ function rp() {
|
|
|
2039
2039
|
case "pointerup":
|
|
2040
2040
|
Z = Oi;
|
|
2041
2041
|
}
|
|
2042
|
-
var ne = (t & 4) !== 0, Me = !ne && e === "scroll", h = ne ?
|
|
2042
|
+
var ne = (t & 4) !== 0, Me = !ne && e === "scroll", h = ne ? _ !== null ? _ + "Capture" : null : _;
|
|
2043
2043
|
ne = [];
|
|
2044
2044
|
for (var p = y, g; p !== null; ) {
|
|
2045
2045
|
g = p;
|
|
2046
2046
|
var R = g.stateNode;
|
|
2047
|
-
if (g.tag === 5 && R !== null && (g = R, h !== null && (R = ir(p, h), R != null && ne.push(
|
|
2047
|
+
if (g.tag === 5 && R !== null && (g = R, h !== null && (R = ir(p, h), R != null && ne.push(Nr(p, R, g)))), Me) break;
|
|
2048
2048
|
p = p.return;
|
|
2049
2049
|
}
|
|
2050
|
-
0 < ne.length && (
|
|
2050
|
+
0 < ne.length && (_ = new Z(_, ee, null, n, j), z.push({ event: _, listeners: ne }));
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
if (!(t & 7)) {
|
|
2054
2054
|
e: {
|
|
2055
|
-
if (
|
|
2056
|
-
if ((Z ||
|
|
2057
|
-
if (ne = Ti, R = "onMouseLeave", h = "onMouseEnter", p = "mouse", (e === "pointerout" || e === "pointerover") && (ne = Oi, R = "onPointerLeave", h = "onPointerEnter", p = "pointer"), Me = Z == null ?
|
|
2055
|
+
if (_ = e === "mouseover" || e === "pointerover", Z = e === "mouseout" || e === "pointerout", _ && n !== cl && (ee = n.relatedTarget || n.fromElement) && (hn(ee) || ee[Tt])) break e;
|
|
2056
|
+
if ((Z || _) && (_ = j.window === j ? j : (_ = j.ownerDocument) ? _.defaultView || _.parentWindow : window, Z ? (ee = n.relatedTarget || n.toElement, Z = y, ee = ee ? hn(ee) : null, ee !== null && (Me = mn(ee), ee !== Me || ee.tag !== 5 && ee.tag !== 6) && (ee = null)) : (Z = null, ee = y), Z !== ee)) {
|
|
2057
|
+
if (ne = Ti, R = "onMouseLeave", h = "onMouseEnter", p = "mouse", (e === "pointerout" || e === "pointerover") && (ne = Oi, R = "onPointerLeave", h = "onPointerEnter", p = "pointer"), Me = Z == null ? _ : Un(Z), g = ee == null ? _ : Un(ee), _ = new ne(R, p + "leave", Z, n, j), _.target = Me, _.relatedTarget = g, R = null, hn(j) === y && (ne = new ne(h, p + "enter", ee, n, j), ne.target = g, ne.relatedTarget = Me, R = ne), Me = R, Z && ee) t: {
|
|
2058
2058
|
for (ne = Z, h = ee, p = 0, g = ne; g; g = Vn(g)) p++;
|
|
2059
2059
|
for (g = 0, R = h; R; R = Vn(R)) g++;
|
|
2060
2060
|
for (; 0 < p - g; ) ne = Vn(ne), p--;
|
|
@@ -2066,22 +2066,22 @@ function rp() {
|
|
|
2066
2066
|
ne = null;
|
|
2067
2067
|
}
|
|
2068
2068
|
else ne = null;
|
|
2069
|
-
Z !== null && is(z,
|
|
2069
|
+
Z !== null && is(z, _, Z, ne, !1), ee !== null && Me !== null && is(z, Me, ee, ne, !0);
|
|
2070
2070
|
}
|
|
2071
2071
|
}
|
|
2072
2072
|
e: {
|
|
2073
|
-
if (
|
|
2074
|
-
else if (Ui(
|
|
2073
|
+
if (_ = y ? Un(y) : window, Z = _.nodeName && _.nodeName.toLowerCase(), Z === "select" || Z === "input" && _.type === "file") var re = Nd;
|
|
2074
|
+
else if (Ui(_)) if (Ai) re = zd;
|
|
2075
2075
|
else {
|
|
2076
|
-
re =
|
|
2077
|
-
var ie =
|
|
2076
|
+
re = _d;
|
|
2077
|
+
var ie = Ld;
|
|
2078
2078
|
}
|
|
2079
|
-
else (Z =
|
|
2079
|
+
else (Z = _.nodeName) && Z.toLowerCase() === "input" && (_.type === "checkbox" || _.type === "radio") && (re = jd);
|
|
2080
2080
|
if (re && (re = re(e, y))) {
|
|
2081
2081
|
Hi(z, re, n, j);
|
|
2082
2082
|
break e;
|
|
2083
2083
|
}
|
|
2084
|
-
ie && ie(e,
|
|
2084
|
+
ie && ie(e, _, y), e === "focusout" && (ie = _._wrapperState) && ie.controlled && _.type === "number" && Ct(_, "number", _.value);
|
|
2085
2085
|
}
|
|
2086
2086
|
switch (ie = y ? Un(y) : window, e) {
|
|
2087
2087
|
case "focusin":
|
|
@@ -2125,13 +2125,13 @@ function rp() {
|
|
|
2125
2125
|
ls(z, t);
|
|
2126
2126
|
});
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function Nr(e, t, n) {
|
|
2129
2129
|
return { instance: e, listener: t, currentTarget: n };
|
|
2130
2130
|
}
|
|
2131
2131
|
function pa(e, t) {
|
|
2132
2132
|
for (var n = t + "Capture", r = []; e !== null; ) {
|
|
2133
2133
|
var a = e, l = a.stateNode;
|
|
2134
|
-
a.tag === 5 && l !== null && (a = l, l = ir(e, n), l != null && r.unshift(
|
|
2134
|
+
a.tag === 5 && l !== null && (a = l, l = ir(e, n), l != null && r.unshift(Nr(e, l, a)), l = ir(e, t), l != null && r.push(Nr(e, l, a))), e = e.return;
|
|
2135
2135
|
}
|
|
2136
2136
|
return r;
|
|
2137
2137
|
}
|
|
@@ -2146,7 +2146,7 @@ function rp() {
|
|
|
2146
2146
|
for (var l = t._reactName, o = []; n !== null && n !== r; ) {
|
|
2147
2147
|
var u = n, d = u.alternate, y = u.stateNode;
|
|
2148
2148
|
if (d !== null && d === r) break;
|
|
2149
|
-
u.tag === 5 && y !== null && (u = y, a ? (d = ir(n, l), d != null && o.unshift(
|
|
2149
|
+
u.tag === 5 && y !== null && (u = y, a ? (d = ir(n, l), d != null && o.unshift(Nr(n, d, u))) : a || (d = ir(n, l), d != null && o.push(Nr(n, d, u)))), n = n.return;
|
|
2150
2150
|
}
|
|
2151
2151
|
o.length !== 0 && e.push({ event: t, listeners: o });
|
|
2152
2152
|
}
|
|
@@ -2212,14 +2212,14 @@ function rp() {
|
|
|
2212
2212
|
}
|
|
2213
2213
|
return null;
|
|
2214
2214
|
}
|
|
2215
|
-
var In = Math.random().toString(36).slice(2),
|
|
2215
|
+
var In = Math.random().toString(36).slice(2), Lt = "__reactFiber$" + In, Lr = "__reactProps$" + In, Tt = "__reactContainer$" + In, Zl = "__reactEvents$" + In, Ad = "__reactListeners$" + In, $d = "__reactHandles$" + In;
|
|
2216
2216
|
function hn(e) {
|
|
2217
|
-
var t = e[
|
|
2217
|
+
var t = e[Lt];
|
|
2218
2218
|
if (t) return t;
|
|
2219
2219
|
for (var n = e.parentNode; n; ) {
|
|
2220
|
-
if (t = n[Tt] || n[
|
|
2220
|
+
if (t = n[Tt] || n[Lt]) {
|
|
2221
2221
|
if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = cs(e); e !== null; ) {
|
|
2222
|
-
if (n = e[
|
|
2222
|
+
if (n = e[Lt]) return n;
|
|
2223
2223
|
e = cs(e);
|
|
2224
2224
|
}
|
|
2225
2225
|
return t;
|
|
@@ -2228,21 +2228,21 @@ function rp() {
|
|
|
2228
2228
|
}
|
|
2229
2229
|
return null;
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2232
|
-
return e = e[
|
|
2231
|
+
function _r(e) {
|
|
2232
|
+
return e = e[Lt] || e[Tt], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e;
|
|
2233
2233
|
}
|
|
2234
2234
|
function Un(e) {
|
|
2235
2235
|
if (e.tag === 5 || e.tag === 6) return e.stateNode;
|
|
2236
2236
|
throw Error(c(33));
|
|
2237
2237
|
}
|
|
2238
2238
|
function ga(e) {
|
|
2239
|
-
return e[
|
|
2239
|
+
return e[Lr] || null;
|
|
2240
2240
|
}
|
|
2241
2241
|
var Ql = [], Hn = -1;
|
|
2242
2242
|
function Xt(e) {
|
|
2243
2243
|
return { current: e };
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2245
|
+
function Le(e) {
|
|
2246
2246
|
0 > Hn || (e.current = Ql[Hn], Ql[Hn] = null, Hn--);
|
|
2247
2247
|
}
|
|
2248
2248
|
function Ee(e, t) {
|
|
@@ -2262,7 +2262,7 @@ function rp() {
|
|
|
2262
2262
|
return e = e.childContextTypes, e != null;
|
|
2263
2263
|
}
|
|
2264
2264
|
function va() {
|
|
2265
|
-
|
|
2265
|
+
Le(qe), Le(We);
|
|
2266
2266
|
}
|
|
2267
2267
|
function ds(e, t, n) {
|
|
2268
2268
|
if (We.current !== Kt) throw Error(c(168));
|
|
@@ -2281,7 +2281,7 @@ function rp() {
|
|
|
2281
2281
|
function ps(e, t, n) {
|
|
2282
2282
|
var r = e.stateNode;
|
|
2283
2283
|
if (!r) throw Error(c(169));
|
|
2284
|
-
n ? (e = fs(e, t, gn), r.__reactInternalMemoizedMergedChildContext = e,
|
|
2284
|
+
n ? (e = fs(e, t, gn), r.__reactInternalMemoizedMergedChildContext = e, Le(qe), Le(We), Ee(We, e)) : Le(qe), Ee(qe, n);
|
|
2285
2285
|
}
|
|
2286
2286
|
var Mt = null, ba = !1, Xl = !1;
|
|
2287
2287
|
function ms(e) {
|
|
@@ -2334,7 +2334,7 @@ function rp() {
|
|
|
2334
2334
|
for (; e === wa; ) wa = $n[--Wn], $n[Wn] = null, xa = $n[--Wn], $n[Wn] = null;
|
|
2335
2335
|
for (; e === vn; ) vn = it[--st], it[st] = null, Rt = it[--st], it[st] = null, Ot = it[--st], it[st] = null;
|
|
2336
2336
|
}
|
|
2337
|
-
var rt = null, at = null,
|
|
2337
|
+
var rt = null, at = null, _e = !1, yt = null;
|
|
2338
2338
|
function gs(e, t) {
|
|
2339
2339
|
var n = ft(5, null, null, 0);
|
|
2340
2340
|
n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n);
|
|
@@ -2356,7 +2356,7 @@ function rp() {
|
|
|
2356
2356
|
return (e.mode & 1) !== 0 && (e.flags & 128) === 0;
|
|
2357
2357
|
}
|
|
2358
2358
|
function Yl(e) {
|
|
2359
|
-
if (
|
|
2359
|
+
if (_e) {
|
|
2360
2360
|
var t = at;
|
|
2361
2361
|
if (t) {
|
|
2362
2362
|
var n = t;
|
|
@@ -2364,11 +2364,11 @@ function rp() {
|
|
|
2364
2364
|
if (Gl(e)) throw Error(c(418));
|
|
2365
2365
|
t = Qt(n.nextSibling);
|
|
2366
2366
|
var r = rt;
|
|
2367
|
-
t && vs(e, t) ? gs(r, n) : (e.flags = e.flags & -4097 | 2,
|
|
2367
|
+
t && vs(e, t) ? gs(r, n) : (e.flags = e.flags & -4097 | 2, _e = !1, rt = e);
|
|
2368
2368
|
}
|
|
2369
2369
|
} else {
|
|
2370
2370
|
if (Gl(e)) throw Error(c(418));
|
|
2371
|
-
e.flags = e.flags & -4097 | 2,
|
|
2371
|
+
e.flags = e.flags & -4097 | 2, _e = !1, rt = e;
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
}
|
|
@@ -2378,7 +2378,7 @@ function rp() {
|
|
|
2378
2378
|
}
|
|
2379
2379
|
function ka(e) {
|
|
2380
2380
|
if (e !== rt) return !1;
|
|
2381
|
-
if (!
|
|
2381
|
+
if (!_e) return ys(e), _e = !0, !1;
|
|
2382
2382
|
var t;
|
|
2383
2383
|
if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !$l(e.type, e.memoizedProps)), t && (t = at)) {
|
|
2384
2384
|
if (Gl(e)) throw bs(), Error(c(418));
|
|
@@ -2409,7 +2409,7 @@ function rp() {
|
|
|
2409
2409
|
for (var e = at; e; ) e = Qt(e.nextSibling);
|
|
2410
2410
|
}
|
|
2411
2411
|
function Bn() {
|
|
2412
|
-
at = rt = null,
|
|
2412
|
+
at = rt = null, _e = !1;
|
|
2413
2413
|
}
|
|
2414
2414
|
function Jl(e) {
|
|
2415
2415
|
yt === null ? yt = [e] : yt.push(e);
|
|
@@ -2477,7 +2477,7 @@ function rp() {
|
|
|
2477
2477
|
return p === null || p.tag !== 4 || p.stateNode.containerInfo !== g.containerInfo || p.stateNode.implementation !== g.implementation ? (p = Bo(g, h.mode, R), p.return = h, p) : (p = a(p, g.children || []), p.return = h, p);
|
|
2478
2478
|
}
|
|
2479
2479
|
function j(h, p, g, R, re) {
|
|
2480
|
-
return p === null || p.tag !== 7 ? (p =
|
|
2480
|
+
return p === null || p.tag !== 7 ? (p = Nn(g, h.mode, R, re), p.return = h, p) : (p = a(p, g), p.return = h, p);
|
|
2481
2481
|
}
|
|
2482
2482
|
function z(h, p, g) {
|
|
2483
2483
|
if (typeof p == "string" && p !== "" || typeof p == "number") return p = Wo("" + p, h.mode, g), p.return = h, p;
|
|
@@ -2491,12 +2491,12 @@ function rp() {
|
|
|
2491
2491
|
var R = p._init;
|
|
2492
2492
|
return z(h, R(p._payload), g);
|
|
2493
2493
|
}
|
|
2494
|
-
if (ot(p) || P(p)) return p =
|
|
2494
|
+
if (ot(p) || P(p)) return p = Nn(p, h.mode, g, null), p.return = h, p;
|
|
2495
2495
|
Ca(h, p);
|
|
2496
2496
|
}
|
|
2497
2497
|
return null;
|
|
2498
2498
|
}
|
|
2499
|
-
function
|
|
2499
|
+
function _(h, p, g, R) {
|
|
2500
2500
|
var re = p !== null ? p.key : null;
|
|
2501
2501
|
if (typeof g == "string" && g !== "" || typeof g == "number") return re !== null ? null : u(h, p, "" + g, R);
|
|
2502
2502
|
if (typeof g == "object" && g !== null) {
|
|
@@ -2506,7 +2506,7 @@ function rp() {
|
|
|
2506
2506
|
case J:
|
|
2507
2507
|
return g.key === re ? y(h, p, g, R) : null;
|
|
2508
2508
|
case A:
|
|
2509
|
-
return re = g._init,
|
|
2509
|
+
return re = g._init, _(
|
|
2510
2510
|
h,
|
|
2511
2511
|
p,
|
|
2512
2512
|
re(g._payload),
|
|
@@ -2538,22 +2538,22 @@ function rp() {
|
|
|
2538
2538
|
function ee(h, p, g, R) {
|
|
2539
2539
|
for (var re = null, ie = null, se = p, fe = p = 0, Ie = null; se !== null && fe < g.length; fe++) {
|
|
2540
2540
|
se.index > fe ? (Ie = se, se = null) : Ie = se.sibling;
|
|
2541
|
-
var we =
|
|
2541
|
+
var we = _(h, se, g[fe], R);
|
|
2542
2542
|
if (we === null) {
|
|
2543
2543
|
se === null && (se = Ie);
|
|
2544
2544
|
break;
|
|
2545
2545
|
}
|
|
2546
2546
|
e && se && we.alternate === null && t(h, se), p = l(we, p, fe), ie === null ? re = we : ie.sibling = we, ie = we, se = Ie;
|
|
2547
2547
|
}
|
|
2548
|
-
if (fe === g.length) return n(h, se),
|
|
2548
|
+
if (fe === g.length) return n(h, se), _e && yn(h, fe), re;
|
|
2549
2549
|
if (se === null) {
|
|
2550
2550
|
for (; fe < g.length; fe++) se = z(h, g[fe], R), se !== null && (p = l(se, p, fe), ie === null ? re = se : ie.sibling = se, ie = se);
|
|
2551
|
-
return
|
|
2551
|
+
return _e && yn(h, fe), re;
|
|
2552
2552
|
}
|
|
2553
2553
|
for (se = r(h, se); fe < g.length; fe++) Ie = Z(se, h, fe, g[fe], R), Ie !== null && (e && Ie.alternate !== null && se.delete(Ie.key === null ? fe : Ie.key), p = l(Ie, p, fe), ie === null ? re = Ie : ie.sibling = Ie, ie = Ie);
|
|
2554
2554
|
return e && se.forEach(function(ln) {
|
|
2555
2555
|
return t(h, ln);
|
|
2556
|
-
}),
|
|
2556
|
+
}), _e && yn(h, fe), re;
|
|
2557
2557
|
}
|
|
2558
2558
|
function ne(h, p, g, R) {
|
|
2559
2559
|
var re = P(g);
|
|
@@ -2561,7 +2561,7 @@ function rp() {
|
|
|
2561
2561
|
if (g = re.call(g), g == null) throw Error(c(151));
|
|
2562
2562
|
for (var ie = re = null, se = p, fe = p = 0, Ie = null, we = g.next(); se !== null && !we.done; fe++, we = g.next()) {
|
|
2563
2563
|
se.index > fe ? (Ie = se, se = null) : Ie = se.sibling;
|
|
2564
|
-
var ln =
|
|
2564
|
+
var ln = _(h, se, we.value, R);
|
|
2565
2565
|
if (ln === null) {
|
|
2566
2566
|
se === null && (se = Ie);
|
|
2567
2567
|
break;
|
|
@@ -2571,15 +2571,15 @@ function rp() {
|
|
|
2571
2571
|
if (we.done) return n(
|
|
2572
2572
|
h,
|
|
2573
2573
|
se
|
|
2574
|
-
),
|
|
2574
|
+
), _e && yn(h, fe), re;
|
|
2575
2575
|
if (se === null) {
|
|
2576
2576
|
for (; !we.done; fe++, we = g.next()) we = z(h, we.value, R), we !== null && (p = l(we, p, fe), ie === null ? re = we : ie.sibling = we, ie = we);
|
|
2577
|
-
return
|
|
2577
|
+
return _e && yn(h, fe), re;
|
|
2578
2578
|
}
|
|
2579
2579
|
for (se = r(h, se); !we.done; fe++, we = g.next()) we = Z(se, h, fe, we.value, R), we !== null && (e && we.alternate !== null && se.delete(we.key === null ? fe : we.key), p = l(we, p, fe), ie === null ? re = we : ie.sibling = we, ie = we);
|
|
2580
2580
|
return e && se.forEach(function(Ef) {
|
|
2581
2581
|
return t(h, Ef);
|
|
2582
|
-
}),
|
|
2582
|
+
}), _e && yn(h, fe), re;
|
|
2583
2583
|
}
|
|
2584
2584
|
function Me(h, p, g, R) {
|
|
2585
2585
|
if (typeof g == "object" && g !== null && g.type === U && g.key === null && (g = g.props.children), typeof g == "object" && g !== null) {
|
|
@@ -2602,7 +2602,7 @@ function rp() {
|
|
|
2602
2602
|
} else t(h, ie);
|
|
2603
2603
|
ie = ie.sibling;
|
|
2604
2604
|
}
|
|
2605
|
-
g.type === U ? (p =
|
|
2605
|
+
g.type === U ? (p = Nn(g.props.children, h.mode, R, g.key), p.return = h, h = p) : (R = Qa(g.type, g.key, g.props, null, h.mode, R), R.ref = jr(h, p, g), R.return = h, h = R);
|
|
2606
2606
|
}
|
|
2607
2607
|
return o(h);
|
|
2608
2608
|
case J:
|
|
@@ -2638,7 +2638,7 @@ function rp() {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
function no(e) {
|
|
2640
2640
|
var t = Sa.current;
|
|
2641
|
-
|
|
2641
|
+
Le(Sa), e._currentValue = t;
|
|
2642
2642
|
}
|
|
2643
2643
|
function ro(e, t, n) {
|
|
2644
2644
|
for (; e !== null; ) {
|
|
@@ -2691,7 +2691,7 @@ function rp() {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
return a = r.interleaved, a === null ? (t.next = t, ao(r)) : (t.next = a.next, a.next = t), r.interleaved = t, Ft(e, n);
|
|
2693
2693
|
}
|
|
2694
|
-
function
|
|
2694
|
+
function Na(e, t, n) {
|
|
2695
2695
|
if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) {
|
|
2696
2696
|
var r = t.lanes;
|
|
2697
2697
|
r &= e.pendingLanes, n |= r, t.lanes = n, bl(e, n);
|
|
@@ -2713,7 +2713,7 @@ function rp() {
|
|
|
2713
2713
|
}
|
|
2714
2714
|
e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
|
|
2715
2715
|
}
|
|
2716
|
-
function
|
|
2716
|
+
function La(e, t, n, r) {
|
|
2717
2717
|
var a = e.updateQueue;
|
|
2718
2718
|
Gt = !1;
|
|
2719
2719
|
var l = a.firstBaseUpdate, o = a.lastBaseUpdate, u = a.shared.pending;
|
|
@@ -2728,8 +2728,8 @@ function rp() {
|
|
|
2728
2728
|
var z = a.baseState;
|
|
2729
2729
|
o = 0, j = y = d = null, u = l;
|
|
2730
2730
|
do {
|
|
2731
|
-
var
|
|
2732
|
-
if ((r &
|
|
2731
|
+
var _ = u.lane, Z = u.eventTime;
|
|
2732
|
+
if ((r & _) === _) {
|
|
2733
2733
|
j !== null && (j = j.next = {
|
|
2734
2734
|
eventTime: Z,
|
|
2735
2735
|
lane: 0,
|
|
@@ -2740,10 +2740,10 @@ function rp() {
|
|
|
2740
2740
|
});
|
|
2741
2741
|
e: {
|
|
2742
2742
|
var ee = e, ne = u;
|
|
2743
|
-
switch (
|
|
2743
|
+
switch (_ = t, Z = n, ne.tag) {
|
|
2744
2744
|
case 1:
|
|
2745
2745
|
if (ee = ne.payload, typeof ee == "function") {
|
|
2746
|
-
z = ee.call(Z, z,
|
|
2746
|
+
z = ee.call(Z, z, _);
|
|
2747
2747
|
break e;
|
|
2748
2748
|
}
|
|
2749
2749
|
z = ee;
|
|
@@ -2751,18 +2751,18 @@ function rp() {
|
|
|
2751
2751
|
case 3:
|
|
2752
2752
|
ee.flags = ee.flags & -65537 | 128;
|
|
2753
2753
|
case 0:
|
|
2754
|
-
if (ee = ne.payload,
|
|
2755
|
-
z = T({}, z,
|
|
2754
|
+
if (ee = ne.payload, _ = typeof ee == "function" ? ee.call(Z, z, _) : ee, _ == null) break e;
|
|
2755
|
+
z = T({}, z, _);
|
|
2756
2756
|
break e;
|
|
2757
2757
|
case 2:
|
|
2758
2758
|
Gt = !0;
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
|
-
u.callback !== null && u.lane !== 0 && (e.flags |= 64,
|
|
2762
|
-
} else Z = { eventTime: Z, lane:
|
|
2761
|
+
u.callback !== null && u.lane !== 0 && (e.flags |= 64, _ = a.effects, _ === null ? a.effects = [u] : _.push(u));
|
|
2762
|
+
} else Z = { eventTime: Z, lane: _, tag: u.tag, payload: u.payload, callback: u.callback, next: null }, j === null ? (y = j = Z, d = z) : j = j.next = Z, o |= _;
|
|
2763
2763
|
if (u = u.next, u === null) {
|
|
2764
2764
|
if (u = a.shared.pending, u === null) break;
|
|
2765
|
-
|
|
2765
|
+
_ = u, u = _.next, _.next = null, a.lastBaseUpdate = _, a.shared.pending = null;
|
|
2766
2766
|
}
|
|
2767
2767
|
} while (!0);
|
|
2768
2768
|
if (j === null && (d = z), a.baseState = d, a.firstBaseUpdate = y, a.lastBaseUpdate = j, t = a.shared.interleaved, t !== null) {
|
|
@@ -2774,7 +2774,7 @@ function rp() {
|
|
|
2774
2774
|
kn |= o, e.lanes = o, e.memoizedState = z;
|
|
2775
2775
|
}
|
|
2776
2776
|
}
|
|
2777
|
-
function
|
|
2777
|
+
function Ns(e, t, n) {
|
|
2778
2778
|
if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) {
|
|
2779
2779
|
var r = e[t], a = r.callback;
|
|
2780
2780
|
if (a !== null) {
|
|
@@ -2783,13 +2783,13 @@ function rp() {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
}
|
|
2785
2785
|
}
|
|
2786
|
-
var zr = {},
|
|
2786
|
+
var zr = {}, _t = Xt(zr), Pr = Xt(zr), Tr = Xt(zr);
|
|
2787
2787
|
function wn(e) {
|
|
2788
2788
|
if (e === zr) throw Error(c(174));
|
|
2789
2789
|
return e;
|
|
2790
2790
|
}
|
|
2791
2791
|
function oo(e, t) {
|
|
2792
|
-
switch (Ee(Tr, t), Ee(Pr, e), Ee(
|
|
2792
|
+
switch (Ee(Tr, t), Ee(Pr, e), Ee(_t, zr), e = t.nodeType, e) {
|
|
2793
2793
|
case 9:
|
|
2794
2794
|
case 11:
|
|
2795
2795
|
t = (t = t.documentElement) ? t.namespaceURI : pn(null, "");
|
|
@@ -2797,21 +2797,21 @@ function rp() {
|
|
|
2797
2797
|
default:
|
|
2798
2798
|
e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = pn(t, e);
|
|
2799
2799
|
}
|
|
2800
|
-
|
|
2800
|
+
Le(_t), Ee(_t, t);
|
|
2801
2801
|
}
|
|
2802
2802
|
function Kn() {
|
|
2803
|
-
|
|
2803
|
+
Le(_t), Le(Pr), Le(Tr);
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function Ls(e) {
|
|
2806
2806
|
wn(Tr.current);
|
|
2807
|
-
var t = wn(
|
|
2808
|
-
t !== n && (Ee(Pr, e), Ee(
|
|
2807
|
+
var t = wn(_t.current), n = pn(t, e.type);
|
|
2808
|
+
t !== n && (Ee(Pr, e), Ee(_t, n));
|
|
2809
2809
|
}
|
|
2810
2810
|
function io(e) {
|
|
2811
|
-
Pr.current === e && (
|
|
2811
|
+
Pr.current === e && (Le(_t), Le(Pr));
|
|
2812
2812
|
}
|
|
2813
2813
|
var je = Xt(0);
|
|
2814
|
-
function
|
|
2814
|
+
function _a(e) {
|
|
2815
2815
|
for (var t = e; t !== null; ) {
|
|
2816
2816
|
if (t.tag === 13) {
|
|
2817
2817
|
var n = t.memoizedState;
|
|
@@ -2935,7 +2935,7 @@ function rp() {
|
|
|
2935
2935
|
}
|
|
2936
2936
|
return [l, r];
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2938
|
+
function _s() {
|
|
2939
2939
|
}
|
|
2940
2940
|
function js(e, t) {
|
|
2941
2941
|
var n = ze, r = ct(), a = t(), l = !vt(r.memoizedState, a);
|
|
@@ -3122,7 +3122,7 @@ function rp() {
|
|
|
3122
3122
|
}, useMutableSource: function() {
|
|
3123
3123
|
}, useSyncExternalStore: function(e, t, n) {
|
|
3124
3124
|
var r = ze, a = jt();
|
|
3125
|
-
if (
|
|
3125
|
+
if (_e) {
|
|
3126
3126
|
if (n === void 0) throw Error(c(407));
|
|
3127
3127
|
n = n();
|
|
3128
3128
|
} else {
|
|
@@ -3139,7 +3139,7 @@ function rp() {
|
|
|
3139
3139
|
), [e]), r.flags |= 2048, Fr(9, Ps.bind(null, r, l, n, t), void 0, null), n;
|
|
3140
3140
|
}, useId: function() {
|
|
3141
3141
|
var e = jt(), t = Ve.identifierPrefix;
|
|
3142
|
-
if (
|
|
3142
|
+
if (_e) {
|
|
3143
3143
|
var n = Rt, r = Ot;
|
|
3144
3144
|
n = (r & ~(1 << 32 - gt(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Or++, 0 < n && (t += "H" + n.toString(32)), t += ":";
|
|
3145
3145
|
} else n = Zd++, t = ":" + t + "r" + n.toString(32) + ":";
|
|
@@ -3167,7 +3167,7 @@ function rp() {
|
|
|
3167
3167
|
var e = ho(Rr)[0], t = ct().memoizedState;
|
|
3168
3168
|
return [e, t];
|
|
3169
3169
|
},
|
|
3170
|
-
useMutableSource:
|
|
3170
|
+
useMutableSource: _s,
|
|
3171
3171
|
useSyncExternalStore: js,
|
|
3172
3172
|
useId: Bs,
|
|
3173
3173
|
unstable_isNewReconciler: !1
|
|
@@ -3179,7 +3179,7 @@ function rp() {
|
|
|
3179
3179
|
}, useTransition: function() {
|
|
3180
3180
|
var e = go(Rr)[0], t = ct().memoizedState;
|
|
3181
3181
|
return [e, t];
|
|
3182
|
-
}, useMutableSource:
|
|
3182
|
+
}, useMutableSource: _s, useSyncExternalStore: js, useId: Bs, unstable_isNewReconciler: !1 };
|
|
3183
3183
|
function bt(e, t) {
|
|
3184
3184
|
if (e && e.defaultProps) {
|
|
3185
3185
|
t = T({}, t), e = e.defaultProps;
|
|
@@ -3196,15 +3196,15 @@ function rp() {
|
|
|
3196
3196
|
}, enqueueSetState: function(e, t, n) {
|
|
3197
3197
|
e = e._reactInternals;
|
|
3198
3198
|
var r = Ke(), a = nn(e), l = Dt(r, a);
|
|
3199
|
-
l.payload = t, n != null && (l.callback = n), t = Yt(e, l, a), t !== null && (kt(t, e, a, r),
|
|
3199
|
+
l.payload = t, n != null && (l.callback = n), t = Yt(e, l, a), t !== null && (kt(t, e, a, r), Na(t, e, a));
|
|
3200
3200
|
}, enqueueReplaceState: function(e, t, n) {
|
|
3201
3201
|
e = e._reactInternals;
|
|
3202
3202
|
var r = Ke(), a = nn(e), l = Dt(r, a);
|
|
3203
|
-
l.tag = 1, l.payload = t, n != null && (l.callback = n), t = Yt(e, l, a), t !== null && (kt(t, e, a, r),
|
|
3203
|
+
l.tag = 1, l.payload = t, n != null && (l.callback = n), t = Yt(e, l, a), t !== null && (kt(t, e, a, r), Na(t, e, a));
|
|
3204
3204
|
}, enqueueForceUpdate: function(e, t) {
|
|
3205
3205
|
e = e._reactInternals;
|
|
3206
3206
|
var n = Ke(), r = nn(e), a = Dt(n, r);
|
|
3207
|
-
a.tag = 2, t != null && (a.callback = t), t = Yt(e, a, r), t !== null && (kt(t, e, r, n),
|
|
3207
|
+
a.tag = 2, t != null && (a.callback = t), t = Yt(e, a, r), t !== null && (kt(t, e, r, n), Na(t, e, r));
|
|
3208
3208
|
} };
|
|
3209
3209
|
function Ks(e, t, n, r, a, l, o) {
|
|
3210
3210
|
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, l, o) : t.prototype && t.prototype.isPureReactComponent ? !kr(n, r) || !kr(a, l) : !0;
|
|
@@ -3220,7 +3220,7 @@ function rp() {
|
|
|
3220
3220
|
var a = e.stateNode;
|
|
3221
3221
|
a.props = n, a.state = e.memoizedState, a.refs = {}, lo(e);
|
|
3222
3222
|
var l = t.contextType;
|
|
3223
|
-
typeof l == "object" && l !== null ? a.context = ut(l) : (l = Ge(t) ? gn : We.current, a.context = An(e, l)), a.state = e.memoizedState, l = t.getDerivedStateFromProps, typeof l == "function" && (bo(e, t, l, n), a.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (t = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), t !== a.state && Oa.enqueueReplaceState(a, a.state, null),
|
|
3223
|
+
typeof l == "object" && l !== null ? a.context = ut(l) : (l = Ge(t) ? gn : We.current, a.context = An(e, l)), a.state = e.memoizedState, l = t.getDerivedStateFromProps, typeof l == "function" && (bo(e, t, l, n), a.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (t = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), t !== a.state && Oa.enqueueReplaceState(a, a.state, null), La(e, n, a, r), a.state = e.memoizedState), typeof a.componentDidMount == "function" && (e.flags |= 4194308);
|
|
3224
3224
|
}
|
|
3225
3225
|
function qn(e, t) {
|
|
3226
3226
|
try {
|
|
@@ -3301,7 +3301,7 @@ Error generating stack: ` + l.message + `
|
|
|
3301
3301
|
function ru(e, t, n, r, a) {
|
|
3302
3302
|
n = n.render;
|
|
3303
3303
|
var l = t.ref;
|
|
3304
|
-
return Xn(t, a), r = po(e, t, n, r, l, a), n = mo(), e !== null && !Ye ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~a, Vt(e, t, a)) : (
|
|
3304
|
+
return Xn(t, a), r = po(e, t, n, r, l, a), n = mo(), e !== null && !Ye ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~a, Vt(e, t, a)) : (_e && n && Kl(t), t.flags |= 1, Xe(e, t, r, a), t.child);
|
|
3305
3305
|
}
|
|
3306
3306
|
function au(e, t, n, r, a) {
|
|
3307
3307
|
if (e === null) {
|
|
@@ -3338,7 +3338,7 @@ Error generating stack: ` + l.message + `
|
|
|
3338
3338
|
}
|
|
3339
3339
|
function Co(e, t, n, r, a) {
|
|
3340
3340
|
var l = Ge(n) ? gn : We.current;
|
|
3341
|
-
return l = An(t, l), Xn(t, a), n = po(e, t, n, r, l, a), r = mo(), e !== null && !Ye ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~a, Vt(e, t, a)) : (
|
|
3341
|
+
return l = An(t, l), Xn(t, a), n = po(e, t, n, r, l, a), r = mo(), e !== null && !Ye ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~a, Vt(e, t, a)) : (_e && r && Kl(t), t.flags |= 1, Xe(e, t, n, a), t.child);
|
|
3342
3342
|
}
|
|
3343
3343
|
function su(e, t, n, r, a) {
|
|
3344
3344
|
if (Ge(n)) {
|
|
@@ -3353,14 +3353,14 @@ Error generating stack: ` + l.message + `
|
|
|
3353
3353
|
typeof y == "object" && y !== null ? y = ut(y) : (y = Ge(n) ? gn : We.current, y = An(t, y));
|
|
3354
3354
|
var j = n.getDerivedStateFromProps, z = typeof j == "function" || typeof o.getSnapshotBeforeUpdate == "function";
|
|
3355
3355
|
z || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (u !== r || d !== y) && Gs(t, o, r, y), Gt = !1;
|
|
3356
|
-
var
|
|
3357
|
-
o.state =
|
|
3356
|
+
var _ = t.memoizedState;
|
|
3357
|
+
o.state = _, La(t, r, o, a), d = t.memoizedState, u !== r || _ !== d || qe.current || Gt ? (typeof j == "function" && (bo(t, n, j, r), d = t.memoizedState), (u = Gt || Ks(t, n, u, r, _, d, y)) ? (z || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount()), typeof o.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = d), o.props = r, o.state = d, o.context = y, r = u) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
|
|
3358
3358
|
} else {
|
|
3359
|
-
o = t.stateNode, Ss(e, t), u = t.memoizedProps, y = t.type === t.elementType ? u : bt(t.type, u), o.props = y, z = t.pendingProps,
|
|
3359
|
+
o = t.stateNode, Ss(e, t), u = t.memoizedProps, y = t.type === t.elementType ? u : bt(t.type, u), o.props = y, z = t.pendingProps, _ = o.context, d = n.contextType, typeof d == "object" && d !== null ? d = ut(d) : (d = Ge(n) ? gn : We.current, d = An(t, d));
|
|
3360
3360
|
var Z = n.getDerivedStateFromProps;
|
|
3361
|
-
(j = typeof Z == "function" || typeof o.getSnapshotBeforeUpdate == "function") || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (u !== z ||
|
|
3361
|
+
(j = typeof Z == "function" || typeof o.getSnapshotBeforeUpdate == "function") || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (u !== z || _ !== d) && Gs(t, o, r, d), Gt = !1, _ = t.memoizedState, o.state = _, La(t, r, o, a);
|
|
3362
3362
|
var ee = t.memoizedState;
|
|
3363
|
-
u !== z ||
|
|
3363
|
+
u !== z || _ !== ee || qe.current || Gt ? (typeof Z == "function" && (bo(t, n, Z, r), ee = t.memoizedState), (y = Gt || Ks(t, n, y, r, _, ee, d) || !1) ? (j || typeof o.UNSAFE_componentWillUpdate != "function" && typeof o.componentWillUpdate != "function" || (typeof o.componentWillUpdate == "function" && o.componentWillUpdate(r, ee, d), typeof o.UNSAFE_componentWillUpdate == "function" && o.UNSAFE_componentWillUpdate(r, ee, d)), typeof o.componentDidUpdate == "function" && (t.flags |= 4), typeof o.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof o.componentDidUpdate != "function" || u === e.memoizedProps && _ === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && _ === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = ee), o.props = r, o.state = ee, o.context = d, r = y) : (typeof o.componentDidUpdate != "function" || u === e.memoizedProps && _ === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && _ === e.memoizedState || (t.flags |= 1024), r = !1);
|
|
3364
3364
|
}
|
|
3365
3365
|
return So(e, t, n, r, l, a);
|
|
3366
3366
|
}
|
|
@@ -3380,30 +3380,30 @@ Error generating stack: ` + l.message + `
|
|
|
3380
3380
|
return Bn(), Jl(a), t.flags |= 256, Xe(e, t, n, r), t.child;
|
|
3381
3381
|
}
|
|
3382
3382
|
var Eo = { dehydrated: null, treeContext: null, retryLane: 0 };
|
|
3383
|
-
function
|
|
3383
|
+
function No(e) {
|
|
3384
3384
|
return { baseLanes: e, cachePool: null, transitions: null };
|
|
3385
3385
|
}
|
|
3386
3386
|
function du(e, t, n) {
|
|
3387
3387
|
var r = t.pendingProps, a = je.current, l = !1, o = (t.flags & 128) !== 0, u;
|
|
3388
3388
|
if ((u = o) || (u = e !== null && e.memoizedState === null ? !1 : (a & 2) !== 0), u ? (l = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (a |= 1), Ee(je, a & 1), e === null)
|
|
3389
|
-
return Yl(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (o = r.children, e = r.fallback, l ? (r = t.mode, l = t.child, o = { mode: "hidden", children: o }, !(r & 1) && l !== null ? (l.childLanes = 0, l.pendingProps = o) : l = Xa(o, r, 0, null), e =
|
|
3389
|
+
return Yl(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (o = r.children, e = r.fallback, l ? (r = t.mode, l = t.child, o = { mode: "hidden", children: o }, !(r & 1) && l !== null ? (l.childLanes = 0, l.pendingProps = o) : l = Xa(o, r, 0, null), e = Nn(e, r, n, null), l.return = t, e.return = t, l.sibling = e, t.child = l, t.child.memoizedState = No(n), t.memoizedState = Eo, e) : Lo(t, o));
|
|
3390
3390
|
if (a = e.memoizedState, a !== null && (u = a.dehydrated, u !== null)) return tf(e, t, o, r, u, a, n);
|
|
3391
3391
|
if (l) {
|
|
3392
3392
|
l = r.fallback, o = t.mode, a = e.child, u = a.sibling;
|
|
3393
3393
|
var d = { mode: "hidden", children: r.children };
|
|
3394
|
-
return !(o & 1) && t.child !== a ? (r = t.child, r.childLanes = 0, r.pendingProps = d, t.deletions = null) : (r = an(a, d), r.subtreeFlags = a.subtreeFlags & 14680064), u !== null ? l = an(u, l) : (l =
|
|
3394
|
+
return !(o & 1) && t.child !== a ? (r = t.child, r.childLanes = 0, r.pendingProps = d, t.deletions = null) : (r = an(a, d), r.subtreeFlags = a.subtreeFlags & 14680064), u !== null ? l = an(u, l) : (l = Nn(l, o, n, null), l.flags |= 2), l.return = t, r.return = t, r.sibling = l, t.child = r, r = l, l = t.child, o = e.child.memoizedState, o = o === null ? No(n) : { baseLanes: o.baseLanes | n, cachePool: null, transitions: o.transitions }, l.memoizedState = o, l.childLanes = e.childLanes & ~n, t.memoizedState = Eo, r;
|
|
3395
3395
|
}
|
|
3396
3396
|
return l = e.child, e = l.sibling, r = an(l, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r;
|
|
3397
3397
|
}
|
|
3398
|
-
function
|
|
3398
|
+
function Lo(e, t) {
|
|
3399
3399
|
return t = Xa({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t;
|
|
3400
3400
|
}
|
|
3401
3401
|
function Ra(e, t, n, r) {
|
|
3402
|
-
return r !== null && Jl(r), Zn(t, e.child, null, n), e =
|
|
3402
|
+
return r !== null && Jl(r), Zn(t, e.child, null, n), e = Lo(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
|
|
3403
3403
|
}
|
|
3404
3404
|
function tf(e, t, n, r, a, l, o) {
|
|
3405
3405
|
if (n)
|
|
3406
|
-
return t.flags & 256 ? (t.flags &= -257, r = xo(Error(c(422))), Ra(e, t, o, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (l = r.fallback, a = t.mode, r = Xa({ mode: "visible", children: r.children }, a, 0, null), l =
|
|
3406
|
+
return t.flags & 256 ? (t.flags &= -257, r = xo(Error(c(422))), Ra(e, t, o, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (l = r.fallback, a = t.mode, r = Xa({ mode: "visible", children: r.children }, a, 0, null), l = Nn(l, a, o, null), l.flags |= 2, r.return = t, l.return = t, r.sibling = l, t.child = r, t.mode & 1 && Zn(t, e.child, null, o), t.child.memoizedState = No(o), t.memoizedState = Eo, l);
|
|
3407
3407
|
if (!(t.mode & 1)) return Ra(e, t, o, null);
|
|
3408
3408
|
if (a.data === "$!") {
|
|
3409
3409
|
if (r = a.nextSibling && a.nextSibling.dataset, r) var u = r.dgst;
|
|
@@ -3451,14 +3451,14 @@ Error generating stack: ` + l.message + `
|
|
|
3451
3451
|
}
|
|
3452
3452
|
return Ao(), r = xo(Error(c(421))), Ra(e, t, o, r);
|
|
3453
3453
|
}
|
|
3454
|
-
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = hf.bind(null, e), a._reactRetry = t, null) : (e = l.treeContext, at = Qt(a.nextSibling), rt = t,
|
|
3454
|
+
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = hf.bind(null, e), a._reactRetry = t, null) : (e = l.treeContext, at = Qt(a.nextSibling), rt = t, _e = !0, yt = null, e !== null && (it[st++] = Ot, it[st++] = Rt, it[st++] = vn, Ot = e.id, Rt = e.overflow, vn = t), t = Lo(t, r.children), t.flags |= 4096, t);
|
|
3455
3455
|
}
|
|
3456
3456
|
function fu(e, t, n) {
|
|
3457
3457
|
e.lanes |= t;
|
|
3458
3458
|
var r = e.alternate;
|
|
3459
3459
|
r !== null && (r.lanes |= t), ro(e.return, t, n);
|
|
3460
3460
|
}
|
|
3461
|
-
function
|
|
3461
|
+
function _o(e, t, n, r, a) {
|
|
3462
3462
|
var l = e.memoizedState;
|
|
3463
3463
|
l === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: a } : (l.isBackwards = t, l.rendering = null, l.renderingStartTime = 0, l.last = r, l.tail = n, l.tailMode = a);
|
|
3464
3464
|
}
|
|
@@ -3485,21 +3485,21 @@ Error generating stack: ` + l.message + `
|
|
|
3485
3485
|
if (Ee(je, r), !(t.mode & 1)) t.memoizedState = null;
|
|
3486
3486
|
else switch (a) {
|
|
3487
3487
|
case "forwards":
|
|
3488
|
-
for (n = t.child, a = null; n !== null; ) e = n.alternate, e !== null &&
|
|
3489
|
-
n = a, n === null ? (a = t.child, t.child = null) : (a = n.sibling, n.sibling = null),
|
|
3488
|
+
for (n = t.child, a = null; n !== null; ) e = n.alternate, e !== null && _a(e) === null && (a = n), n = n.sibling;
|
|
3489
|
+
n = a, n === null ? (a = t.child, t.child = null) : (a = n.sibling, n.sibling = null), _o(t, !1, a, n, l);
|
|
3490
3490
|
break;
|
|
3491
3491
|
case "backwards":
|
|
3492
3492
|
for (n = null, a = t.child, t.child = null; a !== null; ) {
|
|
3493
|
-
if (e = a.alternate, e !== null &&
|
|
3493
|
+
if (e = a.alternate, e !== null && _a(e) === null) {
|
|
3494
3494
|
t.child = a;
|
|
3495
3495
|
break;
|
|
3496
3496
|
}
|
|
3497
3497
|
e = a.sibling, a.sibling = n, n = a, a = e;
|
|
3498
3498
|
}
|
|
3499
|
-
|
|
3499
|
+
_o(t, !0, n, null, l);
|
|
3500
3500
|
break;
|
|
3501
3501
|
case "together":
|
|
3502
|
-
|
|
3502
|
+
_o(t, !1, null, null, void 0);
|
|
3503
3503
|
break;
|
|
3504
3504
|
default:
|
|
3505
3505
|
t.memoizedState = null;
|
|
@@ -3524,7 +3524,7 @@ Error generating stack: ` + l.message + `
|
|
|
3524
3524
|
uu(t), Bn();
|
|
3525
3525
|
break;
|
|
3526
3526
|
case 5:
|
|
3527
|
-
|
|
3527
|
+
Ls(t);
|
|
3528
3528
|
break;
|
|
3529
3529
|
case 1:
|
|
3530
3530
|
Ge(t.type) && ya(t);
|
|
@@ -3573,7 +3573,7 @@ Error generating stack: ` + l.message + `
|
|
|
3573
3573
|
}, hu = function(e, t, n, r) {
|
|
3574
3574
|
var a = e.memoizedProps;
|
|
3575
3575
|
if (a !== r) {
|
|
3576
|
-
e = t.stateNode, wn(
|
|
3576
|
+
e = t.stateNode, wn(_t.current);
|
|
3577
3577
|
var l = null;
|
|
3578
3578
|
switch (n) {
|
|
3579
3579
|
case "input":
|
|
@@ -3594,7 +3594,7 @@ Error generating stack: ` + l.message + `
|
|
|
3594
3594
|
for (y in a) if (!r.hasOwnProperty(y) && a.hasOwnProperty(y) && a[y] != null) if (y === "style") {
|
|
3595
3595
|
var u = a[y];
|
|
3596
3596
|
for (o in u) u.hasOwnProperty(o) && (n || (n = {}), n[o] = "");
|
|
3597
|
-
} else y !== "dangerouslySetInnerHTML" && y !== "children" && y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && y !== "autoFocus" && (
|
|
3597
|
+
} else y !== "dangerouslySetInnerHTML" && y !== "children" && y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && y !== "autoFocus" && (S.hasOwnProperty(y) ? l || (l = []) : (l = l || []).push(y, null));
|
|
3598
3598
|
for (y in r) {
|
|
3599
3599
|
var d = r[y];
|
|
3600
3600
|
if (u = a != null ? a[y] : void 0, r.hasOwnProperty(y) && d !== u && (d != null || u != null)) if (y === "style") if (u) {
|
|
@@ -3604,7 +3604,7 @@ Error generating stack: ` + l.message + `
|
|
|
3604
3604
|
y,
|
|
3605
3605
|
n
|
|
3606
3606
|
)), n = d;
|
|
3607
|
-
else y === "dangerouslySetInnerHTML" ? (d = d ? d.__html : void 0, u = u ? u.__html : void 0, d != null && u !== d && (l = l || []).push(y, d)) : y === "children" ? typeof d != "string" && typeof d != "number" || (l = l || []).push(y, "" + d) : y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && (
|
|
3607
|
+
else y === "dangerouslySetInnerHTML" ? (d = d ? d.__html : void 0, u = u ? u.__html : void 0, d != null && u !== d && (l = l || []).push(y, d)) : y === "children" ? typeof d != "string" && typeof d != "number" || (l = l || []).push(y, "" + d) : y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && (S.hasOwnProperty(y) ? (d != null && y === "onScroll" && Ne("scroll", e), l || u === d || (l = [])) : (l = l || []).push(y, d));
|
|
3608
3608
|
}
|
|
3609
3609
|
n && (l = l || []).push("style", n);
|
|
3610
3610
|
var y = l;
|
|
@@ -3614,7 +3614,7 @@ Error generating stack: ` + l.message + `
|
|
|
3614
3614
|
n !== r && (t.flags |= 4);
|
|
3615
3615
|
};
|
|
3616
3616
|
function Dr(e, t) {
|
|
3617
|
-
if (!
|
|
3617
|
+
if (!_e) switch (e.tailMode) {
|
|
3618
3618
|
case "hidden":
|
|
3619
3619
|
t = e.tail;
|
|
3620
3620
|
for (var n = null; t !== null; ) t.alternate !== null && (n = t), t = t.sibling;
|
|
@@ -3649,7 +3649,7 @@ Error generating stack: ` + l.message + `
|
|
|
3649
3649
|
case 1:
|
|
3650
3650
|
return Ge(t.type) && va(), Ze(t), null;
|
|
3651
3651
|
case 3:
|
|
3652
|
-
return r = t.stateNode, Kn(),
|
|
3652
|
+
return r = t.stateNode, Kn(), Le(qe), Le(We), uo(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (ka(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, yt !== null && (Io(yt), yt = null))), jo(e, t), Ze(t), null;
|
|
3653
3653
|
case 5:
|
|
3654
3654
|
io(t);
|
|
3655
3655
|
var a = wn(Tr.current);
|
|
@@ -3659,44 +3659,44 @@ Error generating stack: ` + l.message + `
|
|
|
3659
3659
|
if (t.stateNode === null) throw Error(c(166));
|
|
3660
3660
|
return Ze(t), null;
|
|
3661
3661
|
}
|
|
3662
|
-
if (e = wn(
|
|
3662
|
+
if (e = wn(_t.current), ka(t)) {
|
|
3663
3663
|
r = t.stateNode, n = t.type;
|
|
3664
3664
|
var l = t.memoizedProps;
|
|
3665
|
-
switch (r[
|
|
3665
|
+
switch (r[Lt] = t, r[Lr] = l, e = (t.mode & 1) !== 0, n) {
|
|
3666
3666
|
case "dialog":
|
|
3667
|
-
|
|
3667
|
+
Ne("cancel", r), Ne("close", r);
|
|
3668
3668
|
break;
|
|
3669
3669
|
case "iframe":
|
|
3670
3670
|
case "object":
|
|
3671
3671
|
case "embed":
|
|
3672
|
-
|
|
3672
|
+
Ne("load", r);
|
|
3673
3673
|
break;
|
|
3674
3674
|
case "video":
|
|
3675
3675
|
case "audio":
|
|
3676
|
-
for (a = 0; a < Sr.length; a++)
|
|
3676
|
+
for (a = 0; a < Sr.length; a++) Ne(Sr[a], r);
|
|
3677
3677
|
break;
|
|
3678
3678
|
case "source":
|
|
3679
|
-
|
|
3679
|
+
Ne("error", r);
|
|
3680
3680
|
break;
|
|
3681
3681
|
case "img":
|
|
3682
3682
|
case "image":
|
|
3683
3683
|
case "link":
|
|
3684
|
-
|
|
3684
|
+
Ne(
|
|
3685
3685
|
"error",
|
|
3686
3686
|
r
|
|
3687
|
-
),
|
|
3687
|
+
), Ne("load", r);
|
|
3688
3688
|
break;
|
|
3689
3689
|
case "details":
|
|
3690
|
-
|
|
3690
|
+
Ne("toggle", r);
|
|
3691
3691
|
break;
|
|
3692
3692
|
case "input":
|
|
3693
|
-
zn(r, l),
|
|
3693
|
+
zn(r, l), Ne("invalid", r);
|
|
3694
3694
|
break;
|
|
3695
3695
|
case "select":
|
|
3696
|
-
r._wrapperState = { wasMultiple: !!l.multiple },
|
|
3696
|
+
r._wrapperState = { wasMultiple: !!l.multiple }, Ne("invalid", r);
|
|
3697
3697
|
break;
|
|
3698
3698
|
case "textarea":
|
|
3699
|
-
Qr(r, l),
|
|
3699
|
+
Qr(r, l), Ne("invalid", r);
|
|
3700
3700
|
}
|
|
3701
3701
|
sl(n, l), a = null;
|
|
3702
3702
|
for (var o in l) if (l.hasOwnProperty(o)) {
|
|
@@ -3705,7 +3705,7 @@ Error generating stack: ` + l.message + `
|
|
|
3705
3705
|
r.textContent,
|
|
3706
3706
|
u,
|
|
3707
3707
|
e
|
|
3708
|
-
), a = ["children", "" + u]) :
|
|
3708
|
+
), a = ["children", "" + u]) : S.hasOwnProperty(o) && u != null && o === "onScroll" && Ne("scroll", r);
|
|
3709
3709
|
}
|
|
3710
3710
|
switch (n) {
|
|
3711
3711
|
case "input":
|
|
@@ -3722,47 +3722,47 @@ Error generating stack: ` + l.message + `
|
|
|
3722
3722
|
}
|
|
3723
3723
|
r = a, t.updateQueue = r, r !== null && (t.flags |= 4);
|
|
3724
3724
|
} else {
|
|
3725
|
-
o = a.nodeType === 9 ? a : a.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = fn(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = o.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof r.is == "string" ? e = o.createElement(n, { is: r.is }) : (e = o.createElement(n), n === "select" && (o = e, r.multiple ? o.multiple = !0 : r.size && (o.size = r.size))) : e = o.createElementNS(e, n), e[
|
|
3725
|
+
o = a.nodeType === 9 ? a : a.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = fn(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = o.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof r.is == "string" ? e = o.createElement(n, { is: r.is }) : (e = o.createElement(n), n === "select" && (o = e, r.multiple ? o.multiple = !0 : r.size && (o.size = r.size))) : e = o.createElementNS(e, n), e[Lt] = t, e[Lr] = r, mu(e, t, !1, !1), t.stateNode = e;
|
|
3726
3726
|
e: {
|
|
3727
3727
|
switch (o = ul(n, r), n) {
|
|
3728
3728
|
case "dialog":
|
|
3729
|
-
|
|
3729
|
+
Ne("cancel", e), Ne("close", e), a = r;
|
|
3730
3730
|
break;
|
|
3731
3731
|
case "iframe":
|
|
3732
3732
|
case "object":
|
|
3733
3733
|
case "embed":
|
|
3734
|
-
|
|
3734
|
+
Ne("load", e), a = r;
|
|
3735
3735
|
break;
|
|
3736
3736
|
case "video":
|
|
3737
3737
|
case "audio":
|
|
3738
|
-
for (a = 0; a < Sr.length; a++)
|
|
3738
|
+
for (a = 0; a < Sr.length; a++) Ne(Sr[a], e);
|
|
3739
3739
|
a = r;
|
|
3740
3740
|
break;
|
|
3741
3741
|
case "source":
|
|
3742
|
-
|
|
3742
|
+
Ne("error", e), a = r;
|
|
3743
3743
|
break;
|
|
3744
3744
|
case "img":
|
|
3745
3745
|
case "image":
|
|
3746
3746
|
case "link":
|
|
3747
|
-
|
|
3747
|
+
Ne(
|
|
3748
3748
|
"error",
|
|
3749
3749
|
e
|
|
3750
|
-
),
|
|
3750
|
+
), Ne("load", e), a = r;
|
|
3751
3751
|
break;
|
|
3752
3752
|
case "details":
|
|
3753
|
-
|
|
3753
|
+
Ne("toggle", e), a = r;
|
|
3754
3754
|
break;
|
|
3755
3755
|
case "input":
|
|
3756
|
-
zn(e, r), a = nr(e, r),
|
|
3756
|
+
zn(e, r), a = nr(e, r), Ne("invalid", e);
|
|
3757
3757
|
break;
|
|
3758
3758
|
case "option":
|
|
3759
3759
|
a = r;
|
|
3760
3760
|
break;
|
|
3761
3761
|
case "select":
|
|
3762
|
-
e._wrapperState = { wasMultiple: !!r.multiple }, a = T({}, r, { value: void 0 }),
|
|
3762
|
+
e._wrapperState = { wasMultiple: !!r.multiple }, a = T({}, r, { value: void 0 }), Ne("invalid", e);
|
|
3763
3763
|
break;
|
|
3764
3764
|
case "textarea":
|
|
3765
|
-
Qr(e, r), a = dn(e, r),
|
|
3765
|
+
Qr(e, r), a = dn(e, r), Ne("invalid", e);
|
|
3766
3766
|
break;
|
|
3767
3767
|
default:
|
|
3768
3768
|
a = r;
|
|
@@ -3770,7 +3770,7 @@ Error generating stack: ` + l.message + `
|
|
|
3770
3770
|
sl(n, a), u = a;
|
|
3771
3771
|
for (l in u) if (u.hasOwnProperty(l)) {
|
|
3772
3772
|
var d = u[l];
|
|
3773
|
-
l === "style" ? li(e, d) : l === "dangerouslySetInnerHTML" ? (d = d ? d.__html : void 0, d != null && ri(e, d)) : l === "children" ? typeof d == "string" ? (n !== "textarea" || d !== "") && lr(e, d) : typeof d == "number" && lr(e, "" + d) : l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && l !== "autoFocus" && (
|
|
3773
|
+
l === "style" ? li(e, d) : l === "dangerouslySetInnerHTML" ? (d = d ? d.__html : void 0, d != null && ri(e, d)) : l === "children" ? typeof d == "string" ? (n !== "textarea" || d !== "") && lr(e, d) : typeof d == "number" && lr(e, "" + d) : l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && l !== "autoFocus" && (S.hasOwnProperty(l) ? d != null && l === "onScroll" && Ne("scroll", e) : d != null && W(e, l, d, o));
|
|
3774
3774
|
}
|
|
3775
3775
|
switch (n) {
|
|
3776
3776
|
case "input":
|
|
@@ -3816,8 +3816,8 @@ Error generating stack: ` + l.message + `
|
|
|
3816
3816
|
if (e && t.stateNode != null) gu(e, t, e.memoizedProps, r);
|
|
3817
3817
|
else {
|
|
3818
3818
|
if (typeof r != "string" && t.stateNode === null) throw Error(c(166));
|
|
3819
|
-
if (n = wn(Tr.current), wn(
|
|
3820
|
-
if (r = t.stateNode, n = t.memoizedProps, r[
|
|
3819
|
+
if (n = wn(Tr.current), wn(_t.current), ka(t)) {
|
|
3820
|
+
if (r = t.stateNode, n = t.memoizedProps, r[Lt] = t, (l = r.nodeValue !== n) && (e = rt, e !== null)) switch (e.tag) {
|
|
3821
3821
|
case 3:
|
|
3822
3822
|
ma(r.nodeValue, n, (e.mode & 1) !== 0);
|
|
3823
3823
|
break;
|
|
@@ -3825,17 +3825,17 @@ Error generating stack: ` + l.message + `
|
|
|
3825
3825
|
e.memoizedProps.suppressHydrationWarning !== !0 && ma(r.nodeValue, n, (e.mode & 1) !== 0);
|
|
3826
3826
|
}
|
|
3827
3827
|
l && (t.flags |= 4);
|
|
3828
|
-
} else r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r), r[
|
|
3828
|
+
} else r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r), r[Lt] = t, t.stateNode = r;
|
|
3829
3829
|
}
|
|
3830
3830
|
return Ze(t), null;
|
|
3831
3831
|
case 13:
|
|
3832
|
-
if (
|
|
3833
|
-
if (
|
|
3832
|
+
if (Le(je), r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
|
|
3833
|
+
if (_e && at !== null && t.mode & 1 && !(t.flags & 128)) bs(), Bn(), t.flags |= 98560, l = !1;
|
|
3834
3834
|
else if (l = ka(t), r !== null && r.dehydrated !== null) {
|
|
3835
3835
|
if (e === null) {
|
|
3836
3836
|
if (!l) throw Error(c(318));
|
|
3837
3837
|
if (l = t.memoizedState, l = l !== null ? l.dehydrated : null, !l) throw Error(c(317));
|
|
3838
|
-
l[
|
|
3838
|
+
l[Lt] = t;
|
|
3839
3839
|
} else Bn(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
|
|
3840
3840
|
Ze(t), l = !1;
|
|
3841
3841
|
} else yt !== null && (Io(yt), yt = null), l = !0;
|
|
@@ -3849,11 +3849,11 @@ Error generating stack: ` + l.message + `
|
|
|
3849
3849
|
case 17:
|
|
3850
3850
|
return Ge(t.type) && va(), Ze(t), null;
|
|
3851
3851
|
case 19:
|
|
3852
|
-
if (
|
|
3852
|
+
if (Le(je), l = t.memoizedState, l === null) return Ze(t), null;
|
|
3853
3853
|
if (r = (t.flags & 128) !== 0, o = l.rendering, o === null) if (r) Dr(l, !1);
|
|
3854
3854
|
else {
|
|
3855
3855
|
if (Fe !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null; ) {
|
|
3856
|
-
if (o =
|
|
3856
|
+
if (o = _a(e), o !== null) {
|
|
3857
3857
|
for (t.flags |= 128, Dr(l, !1), r = o.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), t.subtreeFlags = 0, r = n, n = t.child; n !== null; ) l = n, e = r, l.flags &= 14680066, o = l.alternate, o === null ? (l.childLanes = 0, l.lanes = e, l.child = null, l.subtreeFlags = 0, l.memoizedProps = null, l.memoizedState = null, l.updateQueue = null, l.dependencies = null, l.stateNode = null) : (l.childLanes = o.childLanes, l.lanes = o.lanes, l.child = o.child, l.subtreeFlags = 0, l.deletions = null, l.memoizedProps = o.memoizedProps, l.memoizedState = o.memoizedState, l.updateQueue = o.updateQueue, l.type = o.type, e = o.dependencies, l.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext }), n = n.sibling;
|
|
3858
3858
|
return Ee(je, je.current & 1 | 2), t.child;
|
|
3859
3859
|
}
|
|
@@ -3862,8 +3862,8 @@ Error generating stack: ` + l.message + `
|
|
|
3862
3862
|
l.tail !== null && Te() > Jn && (t.flags |= 128, r = !0, Dr(l, !1), t.lanes = 4194304);
|
|
3863
3863
|
}
|
|
3864
3864
|
else {
|
|
3865
|
-
if (!r) if (e =
|
|
3866
|
-
if (t.flags |= 128, r = !0, n = e.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), Dr(l, !0), l.tail === null && l.tailMode === "hidden" && !o.alternate && !
|
|
3865
|
+
if (!r) if (e = _a(o), e !== null) {
|
|
3866
|
+
if (t.flags |= 128, r = !0, n = e.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), Dr(l, !0), l.tail === null && l.tailMode === "hidden" && !o.alternate && !_e) return Ze(t), null;
|
|
3867
3867
|
} else 2 * Te() - l.renderingStartTime > Jn && n !== 1073741824 && (t.flags |= 128, r = !0, Dr(l, !1), t.lanes = 4194304);
|
|
3868
3868
|
l.isBackwards ? (o.sibling = t.child, t.child = o) : (n = l.last, n !== null ? n.sibling = o : t.child = o, l.last = o);
|
|
3869
3869
|
}
|
|
@@ -3883,17 +3883,17 @@ Error generating stack: ` + l.message + `
|
|
|
3883
3883
|
case 1:
|
|
3884
3884
|
return Ge(t.type) && va(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
3885
3885
|
case 3:
|
|
3886
|
-
return Kn(),
|
|
3886
|
+
return Kn(), Le(qe), Le(We), uo(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
|
|
3887
3887
|
case 5:
|
|
3888
3888
|
return io(t), null;
|
|
3889
3889
|
case 13:
|
|
3890
|
-
if (
|
|
3890
|
+
if (Le(je), e = t.memoizedState, e !== null && e.dehydrated !== null) {
|
|
3891
3891
|
if (t.alternate === null) throw Error(c(340));
|
|
3892
3892
|
Bn();
|
|
3893
3893
|
}
|
|
3894
3894
|
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
3895
3895
|
case 19:
|
|
3896
|
-
return
|
|
3896
|
+
return Le(je), null;
|
|
3897
3897
|
case 4:
|
|
3898
3898
|
return Kn(), null;
|
|
3899
3899
|
case 10:
|
|
@@ -3941,14 +3941,14 @@ Error generating stack: ` + l.message + `
|
|
|
3941
3941
|
n = null;
|
|
3942
3942
|
break e;
|
|
3943
3943
|
}
|
|
3944
|
-
var o = 0, u = -1, d = -1, y = 0, j = 0, z = e,
|
|
3944
|
+
var o = 0, u = -1, d = -1, y = 0, j = 0, z = e, _ = null;
|
|
3945
3945
|
t: for (; ; ) {
|
|
3946
3946
|
for (var Z; z !== n || a !== 0 && z.nodeType !== 3 || (u = o + a), z !== l || r !== 0 && z.nodeType !== 3 || (d = o + r), z.nodeType === 3 && (o += z.nodeValue.length), (Z = z.firstChild) !== null; )
|
|
3947
|
-
|
|
3947
|
+
_ = z, z = Z;
|
|
3948
3948
|
for (; ; ) {
|
|
3949
3949
|
if (z === e) break t;
|
|
3950
|
-
if (
|
|
3951
|
-
z =
|
|
3950
|
+
if (_ === n && ++y === a && (u = o), _ === l && ++j === r && (d = o), (Z = z.nextSibling) !== null) break;
|
|
3951
|
+
z = _, _ = z.parentNode;
|
|
3952
3952
|
}
|
|
3953
3953
|
z = Z;
|
|
3954
3954
|
}
|
|
@@ -4037,7 +4037,7 @@ Error generating stack: ` + l.message + `
|
|
|
4037
4037
|
}
|
|
4038
4038
|
function bu(e) {
|
|
4039
4039
|
var t = e.alternate;
|
|
4040
|
-
t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[
|
|
4040
|
+
t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[Lt], delete t[Lr], delete t[Zl], delete t[Ad], delete t[$d])), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
|
|
4041
4041
|
}
|
|
4042
4042
|
function wu(e) {
|
|
4043
4043
|
return e.tag === 5 || e.tag === 3 || e.tag === 4;
|
|
@@ -4070,8 +4070,8 @@ Error generating stack: ` + l.message + `
|
|
|
4070
4070
|
for (n = n.child; n !== null; ) ku(e, t, n), n = n.sibling;
|
|
4071
4071
|
}
|
|
4072
4072
|
function ku(e, t, n) {
|
|
4073
|
-
if (
|
|
4074
|
-
|
|
4073
|
+
if (Nt && typeof Nt.onCommitFiberUnmount == "function") try {
|
|
4074
|
+
Nt.onCommitFiberUnmount(Gr, n);
|
|
4075
4075
|
} catch {
|
|
4076
4076
|
}
|
|
4077
4077
|
switch (n.tag) {
|
|
@@ -4208,17 +4208,17 @@ Error generating stack: ` + l.message + `
|
|
|
4208
4208
|
ye(a, l);
|
|
4209
4209
|
break;
|
|
4210
4210
|
case "select":
|
|
4211
|
-
var
|
|
4211
|
+
var _ = a._wrapperState.wasMultiple;
|
|
4212
4212
|
a._wrapperState.wasMultiple = !!l.multiple;
|
|
4213
4213
|
var Z = l.value;
|
|
4214
|
-
Z != null ? St(a, !!l.multiple, Z, !1) :
|
|
4214
|
+
Z != null ? St(a, !!l.multiple, Z, !1) : _ !== !!l.multiple && (l.defaultValue != null ? St(
|
|
4215
4215
|
a,
|
|
4216
4216
|
!!l.multiple,
|
|
4217
4217
|
l.defaultValue,
|
|
4218
4218
|
!0
|
|
4219
4219
|
) : St(a, !!l.multiple, l.multiple ? [] : "", !1));
|
|
4220
4220
|
}
|
|
4221
|
-
a[
|
|
4221
|
+
a[Lr] = l;
|
|
4222
4222
|
} catch (ne) {
|
|
4223
4223
|
Pe(e, e.return, ne);
|
|
4224
4224
|
}
|
|
@@ -4252,18 +4252,18 @@ Error generating stack: ` + l.message + `
|
|
|
4252
4252
|
if (j = n !== null && n.memoizedState !== null, e.mode & 1 ? (Qe = (y = Qe) || j, xt(t, e), Qe = y) : xt(t, e), zt(e), r & 8192) {
|
|
4253
4253
|
if (y = e.memoizedState !== null, (e.stateNode.isHidden = y) && !j && e.mode & 1) for (Y = e, j = e.child; j !== null; ) {
|
|
4254
4254
|
for (z = Y = j; Y !== null; ) {
|
|
4255
|
-
switch (
|
|
4255
|
+
switch (_ = Y, Z = _.child, _.tag) {
|
|
4256
4256
|
case 0:
|
|
4257
4257
|
case 11:
|
|
4258
4258
|
case 14:
|
|
4259
4259
|
case 15:
|
|
4260
|
-
Vr(4,
|
|
4260
|
+
Vr(4, _, _.return);
|
|
4261
4261
|
break;
|
|
4262
4262
|
case 1:
|
|
4263
|
-
Gn(
|
|
4264
|
-
var ee =
|
|
4263
|
+
Gn(_, _.return);
|
|
4264
|
+
var ee = _.stateNode;
|
|
4265
4265
|
if (typeof ee.componentWillUnmount == "function") {
|
|
4266
|
-
r =
|
|
4266
|
+
r = _, n = _.return;
|
|
4267
4267
|
try {
|
|
4268
4268
|
t = r, ee.props = t.memoizedProps, ee.state = t.memoizedState, ee.componentWillUnmount();
|
|
4269
4269
|
} catch (ne) {
|
|
@@ -4272,15 +4272,15 @@ Error generating stack: ` + l.message + `
|
|
|
4272
4272
|
}
|
|
4273
4273
|
break;
|
|
4274
4274
|
case 5:
|
|
4275
|
-
Gn(
|
|
4275
|
+
Gn(_, _.return);
|
|
4276
4276
|
break;
|
|
4277
4277
|
case 22:
|
|
4278
|
-
if (
|
|
4279
|
-
|
|
4278
|
+
if (_.memoizedState !== null) {
|
|
4279
|
+
Lu(z);
|
|
4280
4280
|
continue;
|
|
4281
4281
|
}
|
|
4282
4282
|
}
|
|
4283
|
-
Z !== null ? (Z.return =
|
|
4283
|
+
Z !== null ? (Z.return = _, Y = Z) : Lu(z);
|
|
4284
4284
|
}
|
|
4285
4285
|
j = j.sibling;
|
|
4286
4286
|
}
|
|
@@ -4373,15 +4373,15 @@ Error generating stack: ` + l.message + `
|
|
|
4373
4373
|
var u = a.alternate, d = u !== null && u.memoizedState !== null || Qe;
|
|
4374
4374
|
u = Da;
|
|
4375
4375
|
var y = Qe;
|
|
4376
|
-
if (Da = o, (Qe = d) && !y) for (Y = a; Y !== null; ) o = Y, d = o.child, o.tag === 22 && o.memoizedState !== null ?
|
|
4376
|
+
if (Da = o, (Qe = d) && !y) for (Y = a; Y !== null; ) o = Y, d = o.child, o.tag === 22 && o.memoizedState !== null ? _u(a) : d !== null ? (d.return = o, Y = d) : _u(a);
|
|
4377
4377
|
for (; l !== null; ) Y = l, Eu(l), l = l.sibling;
|
|
4378
4378
|
Y = a, Da = u, Qe = y;
|
|
4379
4379
|
}
|
|
4380
|
-
|
|
4381
|
-
} else a.subtreeFlags & 8772 && l !== null ? (l.return = a, Y = l) :
|
|
4380
|
+
Nu(e);
|
|
4381
|
+
} else a.subtreeFlags & 8772 && l !== null ? (l.return = a, Y = l) : Nu(e);
|
|
4382
4382
|
}
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function Nu(e) {
|
|
4385
4385
|
for (; Y !== null; ) {
|
|
4386
4386
|
var t = Y;
|
|
4387
4387
|
if (t.flags & 8772) {
|
|
@@ -4401,7 +4401,7 @@ Error generating stack: ` + l.message + `
|
|
|
4401
4401
|
r.componentDidUpdate(a, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate);
|
|
4402
4402
|
}
|
|
4403
4403
|
var l = t.updateQueue;
|
|
4404
|
-
l !== null &&
|
|
4404
|
+
l !== null && Ns(t, l, r);
|
|
4405
4405
|
break;
|
|
4406
4406
|
case 3:
|
|
4407
4407
|
var o = t.updateQueue;
|
|
@@ -4413,7 +4413,7 @@ Error generating stack: ` + l.message + `
|
|
|
4413
4413
|
case 1:
|
|
4414
4414
|
n = t.child.stateNode;
|
|
4415
4415
|
}
|
|
4416
|
-
|
|
4416
|
+
Ns(t, o, n);
|
|
4417
4417
|
}
|
|
4418
4418
|
break;
|
|
4419
4419
|
case 5:
|
|
@@ -4462,8 +4462,8 @@ Error generating stack: ` + l.message + `
|
|
|
4462
4462
|
throw Error(c(163));
|
|
4463
4463
|
}
|
|
4464
4464
|
Qe || t.flags & 512 && zo(t);
|
|
4465
|
-
} catch (
|
|
4466
|
-
Pe(t, t.return,
|
|
4465
|
+
} catch (_) {
|
|
4466
|
+
Pe(t, t.return, _);
|
|
4467
4467
|
}
|
|
4468
4468
|
}
|
|
4469
4469
|
if (t === e) {
|
|
@@ -4477,7 +4477,7 @@ Error generating stack: ` + l.message + `
|
|
|
4477
4477
|
Y = t.return;
|
|
4478
4478
|
}
|
|
4479
4479
|
}
|
|
4480
|
-
function
|
|
4480
|
+
function Lu(e) {
|
|
4481
4481
|
for (; Y !== null; ) {
|
|
4482
4482
|
var t = Y;
|
|
4483
4483
|
if (t === e) {
|
|
@@ -4492,7 +4492,7 @@ Error generating stack: ` + l.message + `
|
|
|
4492
4492
|
Y = t.return;
|
|
4493
4493
|
}
|
|
4494
4494
|
}
|
|
4495
|
-
function
|
|
4495
|
+
function _u(e) {
|
|
4496
4496
|
for (; Y !== null; ) {
|
|
4497
4497
|
var t = Y;
|
|
4498
4498
|
try {
|
|
@@ -4732,7 +4732,7 @@ Error generating stack: ` + l.message + `
|
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
4734
4734
|
function Ho() {
|
|
4735
|
-
lt = Yn.current,
|
|
4735
|
+
lt = Yn.current, Le(Yn);
|
|
4736
4736
|
}
|
|
4737
4737
|
function Sn(e, t) {
|
|
4738
4738
|
e.finishedWork = null, e.finishedLanes = 0;
|
|
@@ -4744,7 +4744,7 @@ Error generating stack: ` + l.message + `
|
|
|
4744
4744
|
r = r.type.childContextTypes, r != null && va();
|
|
4745
4745
|
break;
|
|
4746
4746
|
case 3:
|
|
4747
|
-
Kn(),
|
|
4747
|
+
Kn(), Le(qe), Le(We), uo();
|
|
4748
4748
|
break;
|
|
4749
4749
|
case 5:
|
|
4750
4750
|
io(r);
|
|
@@ -4753,10 +4753,10 @@ Error generating stack: ` + l.message + `
|
|
|
4753
4753
|
Kn();
|
|
4754
4754
|
break;
|
|
4755
4755
|
case 13:
|
|
4756
|
-
|
|
4756
|
+
Le(je);
|
|
4757
4757
|
break;
|
|
4758
4758
|
case 19:
|
|
4759
|
-
|
|
4759
|
+
Le(je);
|
|
4760
4760
|
break;
|
|
4761
4761
|
case 10:
|
|
4762
4762
|
no(r.type._context);
|
|
@@ -4801,8 +4801,8 @@ Error generating stack: ` + l.message + `
|
|
|
4801
4801
|
if (t = $e, u.flags |= 32768, d !== null && typeof d == "object" && typeof d.then == "function") {
|
|
4802
4802
|
var y = d, j = u, z = j.tag;
|
|
4803
4803
|
if (!(j.mode & 1) && (z === 0 || z === 11 || z === 15)) {
|
|
4804
|
-
var
|
|
4805
|
-
|
|
4804
|
+
var _ = j.alternate;
|
|
4805
|
+
_ ? (j.updateQueue = _.updateQueue, j.memoizedState = _.memoizedState, j.lanes = _.lanes) : (j.updateQueue = null, j.memoizedState = null);
|
|
4806
4806
|
}
|
|
4807
4807
|
var Z = tu(o);
|
|
4808
4808
|
if (Z !== null) {
|
|
@@ -4820,7 +4820,7 @@ Error generating stack: ` + l.message + `
|
|
|
4820
4820
|
}
|
|
4821
4821
|
d = Error(c(426));
|
|
4822
4822
|
}
|
|
4823
|
-
} else if (
|
|
4823
|
+
} else if (_e && u.mode & 1) {
|
|
4824
4824
|
var Me = tu(o);
|
|
4825
4825
|
if (Me !== null) {
|
|
4826
4826
|
!(Me.flags & 65536) && (Me.flags |= 256), nu(Me, o, u, l, t), Jl(qn(d, u));
|
|
@@ -4975,13 +4975,13 @@ Error generating stack: ` + l.message + `
|
|
|
4975
4975
|
if (z !== null) z.return = j, Y = z;
|
|
4976
4976
|
else for (; Y !== null; ) {
|
|
4977
4977
|
j = Y;
|
|
4978
|
-
var
|
|
4978
|
+
var _ = j.sibling, Z = j.return;
|
|
4979
4979
|
if (bu(j), j === y) {
|
|
4980
4980
|
Y = null;
|
|
4981
4981
|
break;
|
|
4982
4982
|
}
|
|
4983
|
-
if (
|
|
4984
|
-
|
|
4983
|
+
if (_ !== null) {
|
|
4984
|
+
_.return = Z, Y = _;
|
|
4985
4985
|
break;
|
|
4986
4986
|
}
|
|
4987
4987
|
Y = Z;
|
|
@@ -5046,8 +5046,8 @@ Error generating stack: ` + l.message + `
|
|
|
5046
5046
|
Y = u.return;
|
|
5047
5047
|
}
|
|
5048
5048
|
}
|
|
5049
|
-
if (be = a, qt(),
|
|
5050
|
-
|
|
5049
|
+
if (be = a, qt(), Nt && typeof Nt.onPostCommitFiberRoot == "function") try {
|
|
5050
|
+
Nt.onPostCommitFiberRoot(Gr, e);
|
|
5051
5051
|
} catch {
|
|
5052
5052
|
}
|
|
5053
5053
|
r = !0;
|
|
@@ -5113,7 +5113,7 @@ Error generating stack: ` + l.message + `
|
|
|
5113
5113
|
if (!(e.lanes & n) && !(t.flags & 128)) return Ye = !1, nf(e, t, n);
|
|
5114
5114
|
Ye = !!(e.flags & 131072);
|
|
5115
5115
|
}
|
|
5116
|
-
else Ye = !1,
|
|
5116
|
+
else Ye = !1, _e && t.flags & 1048576 && hs(t, xa, t.index);
|
|
5117
5117
|
switch (t.lanes = 0, t.tag) {
|
|
5118
5118
|
case 2:
|
|
5119
5119
|
var r = t.type;
|
|
@@ -5121,7 +5121,7 @@ Error generating stack: ` + l.message + `
|
|
|
5121
5121
|
var a = An(t, We.current);
|
|
5122
5122
|
Xn(t, n), a = po(null, t, r, e, a, n);
|
|
5123
5123
|
var l = mo();
|
|
5124
|
-
return t.flags |= 1, typeof a == "object" && a !== null && typeof a.render == "function" && a.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, Ge(r) ? (l = !0, ya(t)) : l = !1, t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, lo(t), a.updater = Oa, t.stateNode = a, a._reactInternals = t, wo(t, r, e, n), t = So(null, t, r, !0, l, n)) : (t.tag = 0,
|
|
5124
|
+
return t.flags |= 1, typeof a == "object" && a !== null && typeof a.render == "function" && a.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, Ge(r) ? (l = !0, ya(t)) : l = !1, t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, lo(t), a.updater = Oa, t.stateNode = a, a._reactInternals = t, wo(t, r, e, n), t = So(null, t, r, !0, l, n)) : (t.tag = 0, _e && l && Kl(t), Xe(null, t, a, n), t = t.child), t;
|
|
5125
5125
|
case 16:
|
|
5126
5126
|
r = t.elementType;
|
|
5127
5127
|
e: {
|
|
@@ -5153,7 +5153,7 @@ Error generating stack: ` + l.message + `
|
|
|
5153
5153
|
case 3:
|
|
5154
5154
|
e: {
|
|
5155
5155
|
if (uu(t), e === null) throw Error(c(387));
|
|
5156
|
-
r = t.pendingProps, l = t.memoizedState, a = l.element, Ss(e, t),
|
|
5156
|
+
r = t.pendingProps, l = t.memoizedState, a = l.element, Ss(e, t), La(t, r, null, n);
|
|
5157
5157
|
var o = t.memoizedState;
|
|
5158
5158
|
if (r = o.element, l.isDehydrated) if (l = { element: r, isDehydrated: !1, cache: o.cache, pendingSuspenseBoundaries: o.pendingSuspenseBoundaries, transitions: o.transitions }, t.updateQueue.baseState = l, t.memoizedState = l, t.flags & 256) {
|
|
5159
5159
|
a = qn(Error(c(423)), t), t = cu(e, t, r, n, a);
|
|
@@ -5161,7 +5161,7 @@ Error generating stack: ` + l.message + `
|
|
|
5161
5161
|
} else if (r !== a) {
|
|
5162
5162
|
a = qn(Error(c(424)), t), t = cu(e, t, r, n, a);
|
|
5163
5163
|
break e;
|
|
5164
|
-
} else for (at = Qt(t.stateNode.containerInfo.firstChild), rt = t,
|
|
5164
|
+
} else for (at = Qt(t.stateNode.containerInfo.firstChild), rt = t, _e = !0, yt = null, n = ks(t, null, r, n), t.child = n; n; ) n.flags = n.flags & -3 | 4096, n = n.sibling;
|
|
5165
5165
|
else {
|
|
5166
5166
|
if (Bn(), r === a) {
|
|
5167
5167
|
t = Vt(e, t, n);
|
|
@@ -5173,7 +5173,7 @@ Error generating stack: ` + l.message + `
|
|
|
5173
5173
|
}
|
|
5174
5174
|
return t;
|
|
5175
5175
|
case 5:
|
|
5176
|
-
return
|
|
5176
|
+
return Ls(t), e === null && Yl(t), r = t.type, a = t.pendingProps, l = e !== null ? e.memoizedProps : null, o = a.children, $l(r, a) ? o = null : l !== null && $l(r, l) && (t.flags |= 32), iu(e, t), Xe(e, t, o, n), t.child;
|
|
5177
5177
|
case 6:
|
|
5178
5178
|
return e === null && Yl(t), null;
|
|
5179
5179
|
case 13:
|
|
@@ -5286,7 +5286,7 @@ Error generating stack: ` + l.message + `
|
|
|
5286
5286
|
else if (typeof e == "string") o = 5;
|
|
5287
5287
|
else e: switch (e) {
|
|
5288
5288
|
case U:
|
|
5289
|
-
return
|
|
5289
|
+
return Nn(n.children, a, l, t);
|
|
5290
5290
|
case X:
|
|
5291
5291
|
o = 8, a |= 8;
|
|
5292
5292
|
break;
|
|
@@ -5296,7 +5296,7 @@ Error generating stack: ` + l.message + `
|
|
|
5296
5296
|
return e = ft(13, n, t, a), e.elementType = de, e.lanes = l, e;
|
|
5297
5297
|
case xe:
|
|
5298
5298
|
return e = ft(19, n, t, a), e.elementType = xe, e.lanes = l, e;
|
|
5299
|
-
case
|
|
5299
|
+
case L:
|
|
5300
5300
|
return Xa(n, a, l, t);
|
|
5301
5301
|
default:
|
|
5302
5302
|
if (typeof e == "object" && e !== null) switch (e.$$typeof) {
|
|
@@ -5320,11 +5320,11 @@ Error generating stack: ` + l.message + `
|
|
|
5320
5320
|
}
|
|
5321
5321
|
return t = ft(o, n, t, a), t.elementType = e, t.type = r, t.lanes = l, t;
|
|
5322
5322
|
}
|
|
5323
|
-
function
|
|
5323
|
+
function Nn(e, t, n, r) {
|
|
5324
5324
|
return e = ft(7, e, r, t), e.lanes = n, e;
|
|
5325
5325
|
}
|
|
5326
5326
|
function Xa(e, t, n, r) {
|
|
5327
|
-
return e = ft(22, e, r, t), e.elementType =
|
|
5327
|
+
return e = ft(22, e, r, t), e.elementType = L, e.lanes = n, e.stateNode = { isHidden: !1 }, e;
|
|
5328
5328
|
}
|
|
5329
5329
|
function Wo(e, t, n) {
|
|
5330
5330
|
return e = ft(6, e, null, t), e.lanes = n, e;
|
|
@@ -5374,7 +5374,7 @@ Error generating stack: ` + l.message + `
|
|
|
5374
5374
|
}
|
|
5375
5375
|
function Ka(e, t, n, r) {
|
|
5376
5376
|
var a = t.current, l = Ke(), o = nn(a);
|
|
5377
|
-
return n = Iu(n), t.context === null ? t.context = n : t.pendingContext = n, t = Dt(l, o), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = Yt(a, t, o), e !== null && (kt(e, a, o, l),
|
|
5377
|
+
return n = Iu(n), t.context === null ? t.context = n : t.pendingContext = n, t = Dt(l, o), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = Yt(a, t, o), e !== null && (kt(e, a, o, l), Na(e, a, o)), o;
|
|
5378
5378
|
}
|
|
5379
5379
|
function qa(e) {
|
|
5380
5380
|
if (e = e.current, !e.child) return null;
|
|
@@ -5425,7 +5425,7 @@ Error generating stack: ` + l.message + `
|
|
|
5425
5425
|
var t = Si();
|
|
5426
5426
|
e = { blockedOn: null, target: e, priority: t };
|
|
5427
5427
|
for (var n = 0; n < Wt.length && t !== 0 && t < Wt[n].priority; n++) ;
|
|
5428
|
-
Wt.splice(n, 0, e), n === 0 &&
|
|
5428
|
+
Wt.splice(n, 0, e), n === 0 && Li(e);
|
|
5429
5429
|
}
|
|
5430
5430
|
};
|
|
5431
5431
|
function Ko(e) {
|
|
@@ -5543,13 +5543,13 @@ Error generating stack: ` + l.message + `
|
|
|
5543
5543
|
t = n.value, t != null && St(e, !!n.multiple, t, !1);
|
|
5544
5544
|
}
|
|
5545
5545
|
}, ui = Uo, ci = Cn;
|
|
5546
|
-
var Cf = { usingClientEntryPoint: !1, Events: [
|
|
5546
|
+
var Cf = { usingClientEntryPoint: !1, Events: [_r, Un, ga, ii, si, Uo] }, Ar = { findFiberByHostInstance: hn, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, Sf = { bundleType: Ar.bundleType, version: Ar.version, rendererPackageName: Ar.rendererPackageName, rendererConfig: Ar.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: H.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) {
|
|
5547
5547
|
return e = mi(e), e === null ? null : e.stateNode;
|
|
5548
5548
|
}, findFiberByHostInstance: Ar.findFiberByHostInstance || xf, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
|
|
5549
5549
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
5550
5550
|
var el = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
5551
5551
|
if (!el.isDisabled && el.supportsFiber) try {
|
|
5552
|
-
Gr = el.inject(Sf),
|
|
5552
|
+
Gr = el.inject(Sf), Nt = el;
|
|
5553
5553
|
} catch {
|
|
5554
5554
|
}
|
|
5555
5555
|
}
|
|
@@ -5622,15 +5622,15 @@ var qu;
|
|
|
5622
5622
|
function op() {
|
|
5623
5623
|
if (qu) return $r;
|
|
5624
5624
|
qu = 1;
|
|
5625
|
-
var i = il, m = Symbol.for("react.element"), c = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty,
|
|
5626
|
-
function
|
|
5625
|
+
var i = il, m = Symbol.for("react.element"), c = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty, S = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
5626
|
+
function N(k, E, $) {
|
|
5627
5627
|
var V, I = {}, F = null, le = null;
|
|
5628
|
-
$ !== void 0 && (F = "" + $),
|
|
5629
|
-
for (V in
|
|
5630
|
-
if (k && k.defaultProps) for (V in
|
|
5631
|
-
return { $$typeof: m, type: k, key: F, ref: le, props: I, _owner:
|
|
5628
|
+
$ !== void 0 && (F = "" + $), E.key !== void 0 && (F = "" + E.key), E.ref !== void 0 && (le = E.ref);
|
|
5629
|
+
for (V in E) b.call(E, V) && !C.hasOwnProperty(V) && (I[V] = E[V]);
|
|
5630
|
+
if (k && k.defaultProps) for (V in E = k.defaultProps, E) I[V] === void 0 && (I[V] = E[V]);
|
|
5631
|
+
return { $$typeof: m, type: k, key: F, ref: le, props: I, _owner: S.current };
|
|
5632
5632
|
}
|
|
5633
|
-
return $r.Fragment = c, $r.jsx =
|
|
5633
|
+
return $r.Fragment = c, $r.jsx = N, $r.jsxs = N, $r;
|
|
5634
5634
|
}
|
|
5635
5635
|
sc.exports = op();
|
|
5636
5636
|
var s = sc.exports;
|
|
@@ -5646,9 +5646,9 @@ const qo = /* @__PURE__ */ new Map(), sp = (i) => {
|
|
|
5646
5646
|
isSuccess: !1
|
|
5647
5647
|
});
|
|
5648
5648
|
return v.useEffect(() => {
|
|
5649
|
-
const b = (
|
|
5650
|
-
if (
|
|
5651
|
-
b(
|
|
5649
|
+
const b = (C) => c({ status: "success", data: C, isSuccess: !0 }), S = qo.get(i);
|
|
5650
|
+
if (S && !(S instanceof Promise)) {
|
|
5651
|
+
b(S);
|
|
5652
5652
|
return;
|
|
5653
5653
|
}
|
|
5654
5654
|
c({
|
|
@@ -5656,19 +5656,19 @@ const qo = /* @__PURE__ */ new Map(), sp = (i) => {
|
|
|
5656
5656
|
isSuccess: !1
|
|
5657
5657
|
}), async function() {
|
|
5658
5658
|
try {
|
|
5659
|
-
let
|
|
5660
|
-
if (
|
|
5661
|
-
|
|
5659
|
+
let C;
|
|
5660
|
+
if (S)
|
|
5661
|
+
C = await S;
|
|
5662
5662
|
else {
|
|
5663
|
-
const
|
|
5664
|
-
qo.set(i,
|
|
5663
|
+
const N = ip(i);
|
|
5664
|
+
qo.set(i, N), C = await N, qo.set(i, C);
|
|
5665
5665
|
}
|
|
5666
|
-
b(
|
|
5667
|
-
} catch (
|
|
5666
|
+
b(C);
|
|
5667
|
+
} catch (C) {
|
|
5668
5668
|
c({
|
|
5669
5669
|
status: "error",
|
|
5670
5670
|
isSuccess: !1,
|
|
5671
|
-
error:
|
|
5671
|
+
error: C
|
|
5672
5672
|
});
|
|
5673
5673
|
}
|
|
5674
5674
|
}();
|
|
@@ -5681,10 +5681,10 @@ const qo = /* @__PURE__ */ new Map(), sp = (i) => {
|
|
|
5681
5681
|
);
|
|
5682
5682
|
return i;
|
|
5683
5683
|
}, up = ({ composition: i, children: m }) => {
|
|
5684
|
-
const { aspectRatio: c, categories: b } = i,
|
|
5685
|
-
() => b.flatMap(({ items:
|
|
5684
|
+
const { aspectRatio: c, categories: b } = i, S = v.useMemo(
|
|
5685
|
+
() => b.flatMap(({ items: N }) => N),
|
|
5686
5686
|
[b]
|
|
5687
|
-
),
|
|
5687
|
+
), C = {
|
|
5688
5688
|
aspectRatio: c.replace(":", " / ")
|
|
5689
5689
|
};
|
|
5690
5690
|
return /* @__PURE__ */ s.jsx(
|
|
@@ -5692,14 +5692,14 @@ const qo = /* @__PURE__ */ new Map(), sp = (i) => {
|
|
|
5692
5692
|
{
|
|
5693
5693
|
value: {
|
|
5694
5694
|
...i,
|
|
5695
|
-
items:
|
|
5696
|
-
aspectRatioStyle:
|
|
5695
|
+
items: S,
|
|
5696
|
+
aspectRatioStyle: C
|
|
5697
5697
|
},
|
|
5698
5698
|
children: m
|
|
5699
5699
|
}
|
|
5700
5700
|
);
|
|
5701
5701
|
}, cc = 500, Yo = 0.75, ol = 1 + Yo * 2;
|
|
5702
|
-
function
|
|
5702
|
+
function _n(i, m, c) {
|
|
5703
5703
|
return Math.min(Math.max(i, m), c);
|
|
5704
5704
|
}
|
|
5705
5705
|
const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.createContext(null), un = () => {
|
|
@@ -5723,9 +5723,9 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5723
5723
|
emitEvent: m,
|
|
5724
5724
|
isFullScreen: c,
|
|
5725
5725
|
preventFullScreen: b,
|
|
5726
|
-
requestFullscreen:
|
|
5727
|
-
exitFullscreen:
|
|
5728
|
-
} = un(), { categories:
|
|
5726
|
+
requestFullscreen: S,
|
|
5727
|
+
exitFullscreen: C
|
|
5728
|
+
} = un(), { categories: N, items: k } = sn(), E = v.useCallback(() => k.map(() => null), [k]), [$, V] = v.useState(E), I = v.useCallback(
|
|
5729
5729
|
(ye, Pt) => {
|
|
5730
5730
|
V(
|
|
5731
5731
|
(fn) => fn.map((pn, Et) => Et === ye ? Pt : pn)
|
|
@@ -5743,20 +5743,20 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5743
5743
|
const ye = F + 1;
|
|
5744
5744
|
ye > k.length - 1 ? (H("last_to_first"), M(0)) : M(ye);
|
|
5745
5745
|
}, [F, k.length, W, O]), X = v.useMemo(() => {
|
|
5746
|
-
for (const ye of
|
|
5746
|
+
for (const ye of N)
|
|
5747
5747
|
if (ye.items.includes(q))
|
|
5748
5748
|
return ye.id;
|
|
5749
5749
|
throw new Error("Current item not found in any category");
|
|
5750
|
-
}, [
|
|
5750
|
+
}, [N, q]), te = v.useCallback(
|
|
5751
5751
|
(ye) => {
|
|
5752
5752
|
var Pt;
|
|
5753
|
-
const fn = (Pt =
|
|
5753
|
+
const fn = (Pt = N.find(({ id: Et }) => Et === ye)) == null ? void 0 : Pt.items[0];
|
|
5754
5754
|
if (fn === void 0)
|
|
5755
5755
|
throw new Error("Failed to find target category");
|
|
5756
5756
|
const pn = k.findIndex((Et) => Et === fn);
|
|
5757
5757
|
M(pn);
|
|
5758
5758
|
},
|
|
5759
|
-
[
|
|
5759
|
+
[N, k]
|
|
5760
5760
|
), K = v.useMemo(() => {
|
|
5761
5761
|
var ye;
|
|
5762
5762
|
switch (q.type) {
|
|
@@ -5780,7 +5780,7 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5780
5780
|
case "video":
|
|
5781
5781
|
return Q !== "running";
|
|
5782
5782
|
}
|
|
5783
|
-
}, [q, Q]), [G, A] = v.useState(!1),
|
|
5783
|
+
}, [q, Q]), [G, A] = v.useState(!1), L = v.useCallback(() => {
|
|
5784
5784
|
const ye = !G;
|
|
5785
5785
|
A(ye), m(ye ? Kf : qf);
|
|
5786
5786
|
}, [m, G]), [w, P] = v.useState(null), T = v.useCallback(() => P(null), []), f = !!w, x = v.useMemo(() => {
|
|
@@ -5794,7 +5794,7 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5794
5794
|
return !1;
|
|
5795
5795
|
}
|
|
5796
5796
|
}, [q.type, Q]), [ae, oe] = v.useState(1), pe = ae !== 1, me = ae < ol, ve = ae > 1, ge = v.useCallback((ye) => {
|
|
5797
|
-
oe((Pt) =>
|
|
5797
|
+
oe((Pt) => _n(Pt + ye, 1, ol));
|
|
5798
5798
|
}, []), ke = v.useCallback(() => oe(1), []), He = v.useCallback(() => ge(Yo), [ge]), Ut = v.useCallback(() => ge(-Yo), [ge]), jn = v.useCallback(() => {
|
|
5799
5799
|
ke(), T();
|
|
5800
5800
|
}, [ke, T]), [ht, nr] = v.useState(!1), [zn, rr] = v.useState(), [cn, ar] = v.useState(!1), Ct = v.useCallback(
|
|
@@ -5810,7 +5810,7 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5810
5810
|
rr(ye);
|
|
5811
5811
|
}, [zn]), St = v.useCallback(async () => {
|
|
5812
5812
|
if (ot(), !b) {
|
|
5813
|
-
const ye = await
|
|
5813
|
+
const ye = await S();
|
|
5814
5814
|
if (ar(!ye), ye)
|
|
5815
5815
|
return;
|
|
5816
5816
|
}
|
|
@@ -5818,14 +5818,14 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5818
5818
|
}, [
|
|
5819
5819
|
b,
|
|
5820
5820
|
Ct,
|
|
5821
|
-
|
|
5821
|
+
S,
|
|
5822
5822
|
ot
|
|
5823
5823
|
]), dn = v.useCallback(async () => {
|
|
5824
|
-
ot(), !(!b && (ar(!1), await
|
|
5824
|
+
ot(), !(!b && (ar(!1), await C())) && Ct(!1);
|
|
5825
5825
|
}, [
|
|
5826
5826
|
b,
|
|
5827
5827
|
Ct,
|
|
5828
|
-
|
|
5828
|
+
C,
|
|
5829
5829
|
ot
|
|
5830
5830
|
]), Qr = v.useCallback(() => {
|
|
5831
5831
|
ht ? dn() : St();
|
|
@@ -5862,7 +5862,7 @@ const ll = (i, m, c) => i + (m - i) * c, Gu = (i, m) => (i % m + m) % m, dc = v.
|
|
|
5862
5862
|
toggleHotspots: de,
|
|
5863
5863
|
showGalleryControls: xe,
|
|
5864
5864
|
showGallery: G,
|
|
5865
|
-
toggleGallery:
|
|
5865
|
+
toggleGallery: L,
|
|
5866
5866
|
shownDetails: w,
|
|
5867
5867
|
isShowingDetails: f,
|
|
5868
5868
|
setShownDetails: P,
|
|
@@ -5970,16 +5970,16 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
5970
5970
|
const [m, c] = v.useState(
|
|
5971
5971
|
/* @__PURE__ */ new Map()
|
|
5972
5972
|
), b = v.useCallback(
|
|
5973
|
-
(
|
|
5974
|
-
const k = m.get(
|
|
5973
|
+
(N) => {
|
|
5974
|
+
const k = m.get(N);
|
|
5975
5975
|
if (k)
|
|
5976
5976
|
return k;
|
|
5977
|
-
const
|
|
5978
|
-
`${ei}[name="${
|
|
5977
|
+
const E = document.querySelector(
|
|
5978
|
+
`${ei}[name="${N}"]`
|
|
5979
5979
|
);
|
|
5980
|
-
if (!
|
|
5980
|
+
if (!E)
|
|
5981
5981
|
return;
|
|
5982
|
-
const $ =
|
|
5982
|
+
const $ = E.getAttribute("color") ?? void 0, V = E.innerHTML, I = V ? /* @__PURE__ */ s.jsx(
|
|
5983
5983
|
"div",
|
|
5984
5984
|
{
|
|
5985
5985
|
className: "size-full",
|
|
@@ -5990,21 +5990,21 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
5990
5990
|
return { Icon: I, color: $ };
|
|
5991
5991
|
},
|
|
5992
5992
|
[m]
|
|
5993
|
-
),
|
|
5994
|
-
(
|
|
5995
|
-
c((
|
|
5993
|
+
), S = v.useCallback(
|
|
5994
|
+
(N, k) => {
|
|
5995
|
+
c((E) => new Map(E.set(N, k)));
|
|
5996
5996
|
},
|
|
5997
5997
|
[]
|
|
5998
|
-
),
|
|
5999
|
-
c((k) => (k.delete(
|
|
5998
|
+
), C = v.useCallback((N) => {
|
|
5999
|
+
c((k) => (k.delete(N), new Map(k)));
|
|
6000
6000
|
}, []);
|
|
6001
6001
|
return /* @__PURE__ */ s.jsx(
|
|
6002
6002
|
gc.Provider,
|
|
6003
6003
|
{
|
|
6004
6004
|
value: {
|
|
6005
6005
|
getIconConfig: b,
|
|
6006
|
-
setIconConfig:
|
|
6007
|
-
resetIconConfig:
|
|
6006
|
+
setIconConfig: S,
|
|
6007
|
+
resetIconConfig: C
|
|
6008
6008
|
},
|
|
6009
6009
|
children: i
|
|
6010
6010
|
}
|
|
@@ -6014,13 +6014,13 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6014
6014
|
className: m = "",
|
|
6015
6015
|
children: c
|
|
6016
6016
|
}) => {
|
|
6017
|
-
const { getIconConfig: b } = ti(),
|
|
6018
|
-
return
|
|
6017
|
+
const { getIconConfig: b } = ti(), S = b(i);
|
|
6018
|
+
return S ? /* @__PURE__ */ s.jsx(
|
|
6019
6019
|
"div",
|
|
6020
6020
|
{
|
|
6021
6021
|
className: m,
|
|
6022
|
-
style: { color:
|
|
6023
|
-
children: (
|
|
6022
|
+
style: { color: S == null ? void 0 : S.color },
|
|
6023
|
+
children: (S == null ? void 0 : S.Icon) ?? c
|
|
6024
6024
|
}
|
|
6025
6025
|
) : c;
|
|
6026
6026
|
}, wp = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, customizationKey: "UI_CLOSE", children: /* @__PURE__ */ s.jsx(
|
|
@@ -6057,16 +6057,16 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6057
6057
|
shape: m = "button",
|
|
6058
6058
|
color: c = "primary",
|
|
6059
6059
|
className: b = "",
|
|
6060
|
-
children:
|
|
6061
|
-
...
|
|
6060
|
+
children: S,
|
|
6061
|
+
...C
|
|
6062
6062
|
}) => {
|
|
6063
|
-
const
|
|
6063
|
+
const N = xp[i][c], k = kp[m];
|
|
6064
6064
|
return /* @__PURE__ */ s.jsx(
|
|
6065
6065
|
"button",
|
|
6066
6066
|
{
|
|
6067
|
-
className: `${
|
|
6068
|
-
...
|
|
6069
|
-
children:
|
|
6067
|
+
className: `${N} ${k} flex items-center justify-center rounded-ui text-sm transition disabled:opacity-60 ${b}`,
|
|
6068
|
+
...C,
|
|
6069
|
+
children: S
|
|
6070
6070
|
}
|
|
6071
6071
|
);
|
|
6072
6072
|
}, yc = ({ className: i = "", ...m }) => /* @__PURE__ */ s.jsx(pt, { color: "neutral", shape: "icon", className: i, ...m, children: /* @__PURE__ */ s.jsx(wp, { className: "size-full" }) }), bc = ({
|
|
@@ -6103,21 +6103,21 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6103
6103
|
...b
|
|
6104
6104
|
}) => {
|
|
6105
6105
|
const {
|
|
6106
|
-
minImageWidth:
|
|
6107
|
-
maxImageWidth:
|
|
6108
|
-
imageLoadStrategy:
|
|
6106
|
+
minImageWidth: S,
|
|
6107
|
+
maxImageWidth: C,
|
|
6108
|
+
imageLoadStrategy: N,
|
|
6109
6109
|
playerInViewportWidthRatio: k
|
|
6110
|
-
} = un(), { imageHdWidth:
|
|
6111
|
-
const F = $.concat(
|
|
6110
|
+
} = un(), { imageHdWidth: E, imageSubWidths: $ } = sn(), [V, I] = v.useMemo(() => {
|
|
6111
|
+
const F = $.concat(E).sort((M, D) => M - D).filter((M) => !(S && M < S || C && M > C));
|
|
6112
6112
|
if (F.length === 0)
|
|
6113
6113
|
throw new Error("No image widths available for the given constraints");
|
|
6114
|
-
const le = F.map((M) => `${M !==
|
|
6114
|
+
const le = F.map((M) => `${M !== E ? Jf(i, M) : i} ${M}w`);
|
|
6115
6115
|
let O;
|
|
6116
6116
|
if (c)
|
|
6117
6117
|
O = [`${F.shift()}px`];
|
|
6118
6118
|
else {
|
|
6119
6119
|
const M = 1 / (m * k);
|
|
6120
|
-
if (
|
|
6120
|
+
if (N === "quality") {
|
|
6121
6121
|
const D = F.pop();
|
|
6122
6122
|
O = F.map(
|
|
6123
6123
|
(q) => `(max-width: ${M * q}px) ${q}px`
|
|
@@ -6131,12 +6131,12 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6131
6131
|
}
|
|
6132
6132
|
return [le.join(", "), O.join(", ")];
|
|
6133
6133
|
}, [
|
|
6134
|
-
|
|
6135
|
-
|
|
6134
|
+
E,
|
|
6135
|
+
N,
|
|
6136
6136
|
$,
|
|
6137
6137
|
m,
|
|
6138
|
-
E,
|
|
6139
6138
|
C,
|
|
6139
|
+
S,
|
|
6140
6140
|
c,
|
|
6141
6141
|
k,
|
|
6142
6142
|
i
|
|
@@ -6226,34 +6226,45 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6226
6226
|
}, Ep = ({ item: i }) => {
|
|
6227
6227
|
const { aspectRatioStyle: m } = sn(), { type: c } = i;
|
|
6228
6228
|
let b;
|
|
6229
|
-
if (c
|
|
6230
|
-
|
|
6231
|
-
|
|
6229
|
+
if (c !== "omni_directional") {
|
|
6230
|
+
let C;
|
|
6231
|
+
switch (c) {
|
|
6232
|
+
case "360":
|
|
6233
|
+
C = i.images[0].src;
|
|
6234
|
+
break;
|
|
6235
|
+
case "image":
|
|
6236
|
+
C = i.src;
|
|
6237
|
+
break;
|
|
6238
|
+
case "video":
|
|
6239
|
+
C = i.poster;
|
|
6240
|
+
break;
|
|
6241
|
+
}
|
|
6242
|
+
b = /* @__PURE__ */ s.jsx(Zr, { className: "size-full object-cover", src: C, onlyThumbnail: !0 });
|
|
6232
6243
|
} else {
|
|
6233
|
-
const
|
|
6234
|
-
b = /* @__PURE__ */ s.jsx("img", { className: "size-full object-cover", src:
|
|
6244
|
+
const C = i.src;
|
|
6245
|
+
b = /* @__PURE__ */ s.jsx("img", { className: "size-full object-cover", src: C });
|
|
6235
6246
|
}
|
|
6236
|
-
let
|
|
6247
|
+
let S;
|
|
6237
6248
|
switch (c) {
|
|
6238
6249
|
case "360":
|
|
6239
|
-
|
|
6250
|
+
S = /* @__PURE__ */ s.jsx(Yu, { children: /* @__PURE__ */ s.jsx(xc, { className: "size-full text-primary" }) });
|
|
6240
6251
|
break;
|
|
6241
6252
|
case "video":
|
|
6242
|
-
|
|
6253
|
+
S = /* @__PURE__ */ s.jsx(Yu, { children: /* @__PURE__ */ s.jsx(ni, { className: "size-full p-0.5 text-background" }) });
|
|
6243
6254
|
break;
|
|
6244
6255
|
}
|
|
6245
6256
|
return /* @__PURE__ */ s.jsxs(
|
|
6246
6257
|
"div",
|
|
6247
6258
|
{
|
|
6248
|
-
className: "relative overflow-hidden rounded-gallery bg-foreground/
|
|
6259
|
+
className: "relative overflow-hidden rounded-gallery bg-foreground/30",
|
|
6249
6260
|
style: m,
|
|
6250
6261
|
children: [
|
|
6251
6262
|
b,
|
|
6252
|
-
|
|
6263
|
+
S && /* @__PURE__ */ s.jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-foreground/25", children: S })
|
|
6253
6264
|
]
|
|
6254
6265
|
}
|
|
6255
6266
|
);
|
|
6256
|
-
},
|
|
6267
|
+
}, Np = {
|
|
6257
6268
|
primary: "bg-primary/50",
|
|
6258
6269
|
neutral: "bg-neutral/50",
|
|
6259
6270
|
background: "bg-background/50",
|
|
@@ -6262,14 +6273,14 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6262
6273
|
color: i = "neutral",
|
|
6263
6274
|
orientation: m = "horizontal"
|
|
6264
6275
|
}) => {
|
|
6265
|
-
const c =
|
|
6276
|
+
const c = Np[i], b = m === "horizontal" ? "h-px w-full" : "w-px h-full";
|
|
6266
6277
|
return /* @__PURE__ */ s.jsx("div", { className: Se(c, b) });
|
|
6267
6278
|
}, Cc = ({
|
|
6268
6279
|
className: i = "",
|
|
6269
6280
|
containerClassName: m = ""
|
|
6270
6281
|
}) => {
|
|
6271
|
-
const { flatten: c, isFullScreen: b, permanentGallery:
|
|
6272
|
-
extendMode:
|
|
6282
|
+
const { flatten: c, isFullScreen: b, permanentGallery: S } = un(), { categories: C, items: N, aspectRatioStyle: k } = sn(), {
|
|
6283
|
+
extendMode: E,
|
|
6273
6284
|
extendTransition: $,
|
|
6274
6285
|
masterItemIndex: V,
|
|
6275
6286
|
setItemIndexCommand: I,
|
|
@@ -6279,12 +6290,12 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6279
6290
|
return [];
|
|
6280
6291
|
const U = new Array();
|
|
6281
6292
|
let X = 0;
|
|
6282
|
-
for (let te = 0; te <
|
|
6283
|
-
const K =
|
|
6293
|
+
for (let te = 0; te < C.length - 1; te++) {
|
|
6294
|
+
const K = C[te].items.length;
|
|
6284
6295
|
U.push(X + K), X += K;
|
|
6285
6296
|
}
|
|
6286
6297
|
return U;
|
|
6287
|
-
}, [
|
|
6298
|
+
}, [C, c]), O = v.useRef(null), M = v.useCallback(() => {
|
|
6288
6299
|
if (!O.current)
|
|
6289
6300
|
throw new Error("slider.current is null");
|
|
6290
6301
|
return O.current;
|
|
@@ -6292,13 +6303,13 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6292
6303
|
null
|
|
6293
6304
|
), [Q, W] = v.useState(!1), H = v.useCallback(
|
|
6294
6305
|
(U, X) => {
|
|
6295
|
-
const te = M(), K = te.clientWidth, ue = te.scrollWidth /
|
|
6306
|
+
const te = M(), K = te.clientWidth, ue = te.scrollWidth / N.length, ce = (U + 1 / 2) * ue - K / 2, de = te.scrollWidth - te.clientWidth;
|
|
6296
6307
|
te.scrollTo({
|
|
6297
|
-
left:
|
|
6308
|
+
left: _n(ce, 0, de),
|
|
6298
6309
|
behavior: X
|
|
6299
6310
|
});
|
|
6300
6311
|
},
|
|
6301
|
-
[
|
|
6312
|
+
[N.length, M]
|
|
6302
6313
|
);
|
|
6303
6314
|
v.useEffect(() => {
|
|
6304
6315
|
const U = O.current;
|
|
@@ -6339,7 +6350,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6339
6350
|
H,
|
|
6340
6351
|
// - Run the effect when those values change
|
|
6341
6352
|
b,
|
|
6342
|
-
|
|
6353
|
+
E,
|
|
6343
6354
|
$
|
|
6344
6355
|
]);
|
|
6345
6356
|
const J = (U, X) => {
|
|
@@ -6359,14 +6370,14 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6359
6370
|
{
|
|
6360
6371
|
className: Se(
|
|
6361
6372
|
"flex h-10 w-fit gap-1 small:h-12 small:gap-2",
|
|
6362
|
-
|
|
6373
|
+
E && "large:h-20 large:gap-4",
|
|
6363
6374
|
m
|
|
6364
6375
|
),
|
|
6365
|
-
children:
|
|
6376
|
+
children: N.map((U, X) => /* @__PURE__ */ s.jsxs(v.Fragment, { children: [
|
|
6366
6377
|
le.includes(X) && /* @__PURE__ */ s.jsx("div", { className: "my-2", children: /* @__PURE__ */ s.jsx(
|
|
6367
6378
|
kc,
|
|
6368
6379
|
{
|
|
6369
|
-
color:
|
|
6380
|
+
color: S && !b ? "neutral" : "background",
|
|
6370
6381
|
orientation: "vertical"
|
|
6371
6382
|
}
|
|
6372
6383
|
) }),
|
|
@@ -6389,23 +6400,23 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6389
6400
|
)
|
|
6390
6401
|
}
|
|
6391
6402
|
);
|
|
6392
|
-
}, Sc = (i) => 1 - Math.pow(1 - i, 2),
|
|
6403
|
+
}, Sc = (i) => 1 - Math.pow(1 - i, 2), Lp = ({ currentIndex: i, maxIndex: m }) => /* @__PURE__ */ s.jsxs("div", { className: "space-x-0.5 rounded-ui bg-foreground/40 px-1.5 py-0.5 text-xs text-background/75 small:space-x-1 small:px-2 small:py-1 small:text-sm", children: [
|
|
6393
6404
|
/* @__PURE__ */ s.jsx("span", { children: i + 1 }),
|
|
6394
6405
|
/* @__PURE__ */ s.jsx("span", { children: "/" }),
|
|
6395
6406
|
/* @__PURE__ */ s.jsx("span", { children: m + 1 })
|
|
6396
6407
|
] }), Ju = (i, m) => Math.sqrt(
|
|
6397
6408
|
(i.clientX - m.clientX) ** 2 + (i.clientY - m.clientY) ** 2
|
|
6398
|
-
),
|
|
6409
|
+
), _p = ({
|
|
6399
6410
|
onlyPreload: i,
|
|
6400
6411
|
...m
|
|
6401
6412
|
}) => {
|
|
6402
|
-
const { zoom: c, isZooming: b, setZoom:
|
|
6403
|
-
if (!
|
|
6413
|
+
const { zoom: c, isZooming: b, setZoom: S } = mt(), C = v.useRef(null), N = v.useRef(null), k = v.useCallback((Q) => {
|
|
6414
|
+
if (!N.current)
|
|
6404
6415
|
throw new Error(
|
|
6405
6416
|
`[${Q ?? "getTransformElementOrThrow"}] transformElementRef.current is null`
|
|
6406
6417
|
);
|
|
6407
|
-
return
|
|
6408
|
-
}, []),
|
|
6418
|
+
return N.current;
|
|
6419
|
+
}, []), E = v.useRef(!1), $ = v.useRef(null), V = v.useRef(/* @__PURE__ */ new Map()), I = v.useRef({ x: 0, y: 0, scale: 1 }), F = v.useRef(null), le = v.useCallback(
|
|
6409
6420
|
(Q) => {
|
|
6410
6421
|
const W = k("setTransformStyle"), {
|
|
6411
6422
|
x: H,
|
|
@@ -6414,7 +6425,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6414
6425
|
} = {
|
|
6415
6426
|
...I.current,
|
|
6416
6427
|
...Q
|
|
6417
|
-
}, U =
|
|
6428
|
+
}, U = _n(J, 1, ol), X = W.clientWidth, te = W.clientHeight, K = X * U, ue = te * U, ce = _n(H, -(K - X), 0), de = _n(B, -(ue - te), 0);
|
|
6418
6429
|
I.current = { x: ce, y: de, scale: U }, W.style.transform = `translate(${ce}px, ${de}px) scale(${U})`;
|
|
6419
6430
|
},
|
|
6420
6431
|
[k]
|
|
@@ -6434,7 +6445,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6434
6445
|
};
|
|
6435
6446
|
F.current && (cancelAnimationFrame(F.current), F.current = null);
|
|
6436
6447
|
const K = () => {
|
|
6437
|
-
le({ x: U, y: X, scale: te }),
|
|
6448
|
+
le({ x: U, y: X, scale: te }), S(te);
|
|
6438
6449
|
}, ue = Math.abs(U - H) < 1 && Math.abs(X - B) < 1 && Math.abs(te - J) < 5e-3;
|
|
6439
6450
|
if (!W || ue) {
|
|
6440
6451
|
K();
|
|
@@ -6447,14 +6458,14 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6447
6458
|
K(), F.current = null;
|
|
6448
6459
|
return;
|
|
6449
6460
|
}
|
|
6450
|
-
const A = Math.min(G / W, 1),
|
|
6461
|
+
const A = Math.min(G / W, 1), L = Sc(A), w = ll(H, U, L), P = ll(B, X, L), T = ll(J, te, L);
|
|
6451
6462
|
le({ x: w, y: P, scale: T }), de();
|
|
6452
6463
|
};
|
|
6453
6464
|
F.current = requestAnimationFrame(xe);
|
|
6454
6465
|
};
|
|
6455
6466
|
de();
|
|
6456
6467
|
},
|
|
6457
|
-
[le,
|
|
6468
|
+
[le, S]
|
|
6458
6469
|
), M = v.useCallback(
|
|
6459
6470
|
(Q, W) => {
|
|
6460
6471
|
let { x: H, y: B } = I.current;
|
|
@@ -6469,7 +6480,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6469
6480
|
[O]
|
|
6470
6481
|
), D = v.useCallback(
|
|
6471
6482
|
(Q, W, H) => {
|
|
6472
|
-
const B = I.current.scale, J =
|
|
6483
|
+
const B = I.current.scale, J = _n(Q, 1, ol), U = J / B, { x: X, y: te } = I.current, { x: K, y: ue } = W, ce = -X + K, de = -te + ue, xe = ce * U, G = de * U, A = xe - K, L = G - ue, w = -A, P = -L;
|
|
6473
6484
|
O(
|
|
6474
6485
|
{
|
|
6475
6486
|
x: w,
|
|
@@ -6497,20 +6508,20 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6497
6508
|
[k, D]
|
|
6498
6509
|
);
|
|
6499
6510
|
return v.useEffect(() => {
|
|
6500
|
-
|
|
6511
|
+
N.current && q(c);
|
|
6501
6512
|
}, [q, c]), v.useEffect(() => {
|
|
6502
6513
|
if (!b)
|
|
6503
6514
|
return;
|
|
6504
|
-
const Q =
|
|
6515
|
+
const Q = N.current;
|
|
6505
6516
|
if (!Q)
|
|
6506
6517
|
return;
|
|
6507
6518
|
const W = (J) => {
|
|
6508
|
-
J.preventDefault(), J.stopPropagation(),
|
|
6519
|
+
J.preventDefault(), J.stopPropagation(), E.current = !0, $.current = {
|
|
6509
6520
|
x: J.clientX,
|
|
6510
6521
|
y: J.clientY
|
|
6511
6522
|
};
|
|
6512
6523
|
}, H = (J) => {
|
|
6513
|
-
if (!
|
|
6524
|
+
if (!E.current)
|
|
6514
6525
|
return;
|
|
6515
6526
|
if (!$.current)
|
|
6516
6527
|
throw new Error("mouseStartXY.current is null");
|
|
@@ -6524,13 +6535,13 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6524
6535
|
y: J.clientY
|
|
6525
6536
|
};
|
|
6526
6537
|
}, B = () => {
|
|
6527
|
-
|
|
6538
|
+
E.current = !1;
|
|
6528
6539
|
};
|
|
6529
6540
|
return Q.addEventListener("mousedown", W), document.addEventListener("mousemove", H), document.addEventListener("mouseleave", B), document.addEventListener("mouseup", B), document.addEventListener("contextmenu", B), () => {
|
|
6530
6541
|
Q.removeEventListener("mousedown", W), document.removeEventListener("mousemove", H), document.removeEventListener("mouseleave", B), document.removeEventListener("mouseup", B), document.removeEventListener("contextmenu", B);
|
|
6531
6542
|
};
|
|
6532
6543
|
}, [b, M]), v.useEffect(() => {
|
|
6533
|
-
const Q =
|
|
6544
|
+
const Q = C.current;
|
|
6534
6545
|
if (!Q)
|
|
6535
6546
|
return;
|
|
6536
6547
|
const W = (H) => {
|
|
@@ -6557,7 +6568,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6557
6568
|
Q.removeEventListener("wheel", W);
|
|
6558
6569
|
};
|
|
6559
6570
|
}, [b, M, D, c]), v.useEffect(() => {
|
|
6560
|
-
const Q =
|
|
6571
|
+
const Q = C.current, W = N.current;
|
|
6561
6572
|
if (!Q || !W)
|
|
6562
6573
|
return;
|
|
6563
6574
|
const H = V.current, B = (X) => {
|
|
@@ -6592,10 +6603,10 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6592
6603
|
const xe = Ju(
|
|
6593
6604
|
ce,
|
|
6594
6605
|
de
|
|
6595
|
-
), G = Ju(K, ue) / xe, { left: A, top:
|
|
6606
|
+
), G = Ju(K, ue) / xe, { left: A, top: L } = Q.getBoundingClientRect();
|
|
6596
6607
|
D(G * c, {
|
|
6597
6608
|
x: (K.clientX + ue.clientX) / 2 - A,
|
|
6598
|
-
y: (K.clientY + ue.clientY) / 2 -
|
|
6609
|
+
y: (K.clientY + ue.clientY) / 2 - L
|
|
6599
6610
|
}), H.set(K.identifier, K), H.set(ue.identifier, ue);
|
|
6600
6611
|
}
|
|
6601
6612
|
};
|
|
@@ -6605,12 +6616,12 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6605
6616
|
}, [b, M, D, c]), /* @__PURE__ */ s.jsx(
|
|
6606
6617
|
"div",
|
|
6607
6618
|
{
|
|
6608
|
-
ref:
|
|
6619
|
+
ref: C,
|
|
6609
6620
|
className: `relative size-full overflow-hidden ${b ? "z-zoomed-image cursor-move" : ""}`,
|
|
6610
6621
|
children: /* @__PURE__ */ s.jsx(
|
|
6611
6622
|
"div",
|
|
6612
6623
|
{
|
|
6613
|
-
ref:
|
|
6624
|
+
ref: N,
|
|
6614
6625
|
className: "origin-top-left",
|
|
6615
6626
|
children: /* @__PURE__ */ s.jsx(
|
|
6616
6627
|
Zr,
|
|
@@ -6630,9 +6641,9 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6630
6641
|
fill: "currentColor"
|
|
6631
6642
|
}
|
|
6632
6643
|
) }) }), zp = ({ hotspot: i }) => {
|
|
6633
|
-
const { title: m, icon: c, description: b, position:
|
|
6634
|
-
V &&
|
|
6635
|
-
src:
|
|
6644
|
+
const { title: m, icon: c, description: b, position: S, detail: C } = i, { getIconConfig: N } = ti(), k = c ? N(c) : void 0, { setShownDetails: E } = mt(), $ = !!C, V = (C == null ? void 0 : C.type) === "image", I = V ? /* @__PURE__ */ s.jsx(jp, { className: "size-4" }) : /* @__PURE__ */ s.jsx("div", { className: "size-1" }), F = () => {
|
|
6645
|
+
V && E({
|
|
6646
|
+
src: C.src,
|
|
6636
6647
|
title: m,
|
|
6637
6648
|
text: b
|
|
6638
6649
|
});
|
|
@@ -6668,8 +6679,8 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6668
6679
|
{
|
|
6669
6680
|
className: Se(
|
|
6670
6681
|
"absolute -z-10 w-max max-w-40 rounded-ui-lg bg-background p-2 pl-6 small:max-w-48 small:pl-8",
|
|
6671
|
-
|
|
6672
|
-
|
|
6682
|
+
S.y < 0.55 ? "-top-0.5" : "-bottom-0.5",
|
|
6683
|
+
S.x < 0.55 ? "-left-0.5" : "-right-0.5",
|
|
6673
6684
|
"pointer-events-none opacity-0 transition-opacity duration-300 group-hover:pointer-events-auto group-hover:opacity-100"
|
|
6674
6685
|
),
|
|
6675
6686
|
children: /* @__PURE__ */ s.jsxs("div", { className: "space-y-1", children: [
|
|
@@ -6717,14 +6728,14 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6717
6728
|
return b;
|
|
6718
6729
|
}
|
|
6719
6730
|
}, Ec = ({ className: i, hotspots: m, ...c }) => {
|
|
6720
|
-
const { isShowingDetails: b, showHotspots:
|
|
6731
|
+
const { isShowingDetails: b, showHotspots: S } = mt();
|
|
6721
6732
|
return /* @__PURE__ */ s.jsx("div", { className: Se("relative size-full overflow-hidden", i), children: /* @__PURE__ */ s.jsxs(
|
|
6722
6733
|
"div",
|
|
6723
6734
|
{
|
|
6724
6735
|
className: `size-full duration-details ${b ? "scale-105" : "scale-100"}`,
|
|
6725
6736
|
children: [
|
|
6726
|
-
/* @__PURE__ */ s.jsx(
|
|
6727
|
-
|
|
6737
|
+
/* @__PURE__ */ s.jsx(_p, { className: "size-full", ...c }),
|
|
6738
|
+
S && (m == null ? void 0 : m.map((C, N) => /* @__PURE__ */ s.jsx(Pp, { hotspot: C }, N)))
|
|
6728
6739
|
]
|
|
6729
6740
|
}
|
|
6730
6741
|
) });
|
|
@@ -6732,22 +6743,22 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6732
6743
|
images: i,
|
|
6733
6744
|
onlyPreload: m
|
|
6734
6745
|
}) => {
|
|
6735
|
-
const { reverse360: c } = un(), { isShowingDetails: b, isZooming:
|
|
6746
|
+
const { reverse360: c } = un(), { isShowingDetails: b, isZooming: S } = mt(), C = S || b, N = v.useRef(null), k = v.useRef(null), [E, $] = v.useState(0), V = i.length, I = v.useCallback(() => {
|
|
6736
6747
|
$((le) => (le - 1 + V) % V);
|
|
6737
6748
|
}, [V]), F = v.useCallback(() => {
|
|
6738
6749
|
$((le) => (le + 1) % V);
|
|
6739
6750
|
}, [V]);
|
|
6740
6751
|
return v.useEffect(() => {
|
|
6741
|
-
if (
|
|
6752
|
+
if (C)
|
|
6742
6753
|
return;
|
|
6743
|
-
const le =
|
|
6754
|
+
const le = N.current, O = k.current;
|
|
6744
6755
|
if (!le || !O)
|
|
6745
6756
|
return;
|
|
6746
6757
|
let M = null, D = [], q = null;
|
|
6747
6758
|
const Q = (A) => {
|
|
6748
6759
|
D.push(A), D.length > 20 && D.shift();
|
|
6749
6760
|
}, W = () => {
|
|
6750
|
-
const A = Date.now(),
|
|
6761
|
+
const A = Date.now(), L = (() => {
|
|
6751
6762
|
const f = Date.now(), x = D.filter(
|
|
6752
6763
|
(pe) => f - pe.timestamp < 50
|
|
6753
6764
|
);
|
|
@@ -6759,7 +6770,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6759
6770
|
let w = 0, P = A;
|
|
6760
6771
|
const T = () => {
|
|
6761
6772
|
q = requestAnimationFrame(() => {
|
|
6762
|
-
const f = Date.now(), x = (f - A) / 1e3, ae = Math.pow(0.05, x), oe =
|
|
6773
|
+
const f = Date.now(), x = (f - A) / 1e3, ae = Math.pow(0.05, x), oe = L * ae, pe = (f - P) / 1e3;
|
|
6763
6774
|
if (w += oe * pe, Math.abs(oe) < 5 * Wr && Math.abs(w) < Wr) {
|
|
6764
6775
|
q = null;
|
|
6765
6776
|
return;
|
|
@@ -6774,16 +6785,16 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6774
6785
|
if (A.button !== 0)
|
|
6775
6786
|
return;
|
|
6776
6787
|
A.preventDefault(), A.stopPropagation(), H();
|
|
6777
|
-
const
|
|
6778
|
-
M =
|
|
6788
|
+
const L = A.clientX;
|
|
6789
|
+
M = L, D = [{ timestamp: Date.now(), value: L }];
|
|
6779
6790
|
}, J = (A) => {
|
|
6780
6791
|
if (M === null)
|
|
6781
6792
|
return;
|
|
6782
6793
|
A.stopPropagation();
|
|
6783
|
-
const { clientX:
|
|
6784
|
-
Q({ timestamp: Date.now(), value:
|
|
6785
|
-
const w =
|
|
6786
|
-
Math.abs(w) < Wr || (w > 0 !== c ? F() : I(), M =
|
|
6794
|
+
const { clientX: L } = A;
|
|
6795
|
+
Q({ timestamp: Date.now(), value: L });
|
|
6796
|
+
const w = L - M;
|
|
6797
|
+
Math.abs(w) < Wr || (w > 0 !== c ? F() : I(), M = L);
|
|
6787
6798
|
}, U = () => {
|
|
6788
6799
|
M !== null && (M = null, W());
|
|
6789
6800
|
};
|
|
@@ -6803,61 +6814,61 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6803
6814
|
if (ce !== null || A.changedTouches.length !== 1)
|
|
6804
6815
|
return;
|
|
6805
6816
|
H();
|
|
6806
|
-
const { identifier:
|
|
6807
|
-
ce =
|
|
6817
|
+
const { identifier: L, clientX: w } = A.changedTouches[0];
|
|
6818
|
+
ce = L, M = w, D = [{ timestamp: Date.now(), value: w }];
|
|
6808
6819
|
}, xe = (A) => {
|
|
6809
6820
|
if (!M)
|
|
6810
6821
|
return;
|
|
6811
|
-
const
|
|
6822
|
+
const L = Array.from(A.changedTouches).find(
|
|
6812
6823
|
({ identifier: T }) => T === ce
|
|
6813
6824
|
);
|
|
6814
|
-
if (!
|
|
6825
|
+
if (!L)
|
|
6815
6826
|
return;
|
|
6816
6827
|
A.preventDefault();
|
|
6817
|
-
const { clientX: w } =
|
|
6828
|
+
const { clientX: w } = L;
|
|
6818
6829
|
Q({ timestamp: Date.now(), value: w });
|
|
6819
6830
|
const P = w - M;
|
|
6820
6831
|
Math.abs(P) < Wr || (P > 0 !== c ? F() : I(), M = w);
|
|
6821
6832
|
}, G = (A) => {
|
|
6822
6833
|
!M || !Array.from(A.changedTouches).some(
|
|
6823
|
-
({ identifier:
|
|
6834
|
+
({ identifier: L }) => L === ce
|
|
6824
6835
|
) || (ce = null, M = null, W());
|
|
6825
6836
|
};
|
|
6826
6837
|
return O.addEventListener("touchstart", de), O.addEventListener("touchmove", xe), O.addEventListener("touchend", G), O.addEventListener("touchcancel", G), () => {
|
|
6827
6838
|
le.removeEventListener("mousedown", B), document.removeEventListener("mousemove", J), document.removeEventListener("mouseleave", U), document.removeEventListener("mouseup", U), document.removeEventListener("contextmenu", U), O.removeEventListener("scroll", ue), O.removeEventListener("touchstart", de), O.removeEventListener("touchmove", xe), O.removeEventListener("touchend", G), O.removeEventListener("touchcancel", G);
|
|
6828
6839
|
};
|
|
6829
|
-
}, [F, I,
|
|
6840
|
+
}, [F, I, C, c]), /* @__PURE__ */ s.jsx("div", { ref: N, className: "cursor-ew-resize", children: /* @__PURE__ */ s.jsxs("div", { ref: k, className: "overflow-x-scroll no-scrollbar", children: [
|
|
6830
6841
|
/* @__PURE__ */ s.jsx("div", { className: "sticky left-0 top-0", children: i.map((le, O) => /* @__PURE__ */ s.jsx(
|
|
6831
6842
|
Ec,
|
|
6832
6843
|
{
|
|
6833
6844
|
...le,
|
|
6834
6845
|
className: Se(
|
|
6835
|
-
O !==
|
|
6846
|
+
O !== E && "pointer-events-none !absolute left-0 top-0 -z-10"
|
|
6836
6847
|
),
|
|
6837
|
-
onlyPreload: O !==
|
|
6848
|
+
onlyPreload: O !== E || m
|
|
6838
6849
|
},
|
|
6839
6850
|
le.src
|
|
6840
6851
|
)) }),
|
|
6841
6852
|
/* @__PURE__ */ s.jsx("div", { className: "pointer-events-none -mt-px h-px w-[calc(100%+1024px)]" })
|
|
6842
6853
|
] }) });
|
|
6843
6854
|
}, Rp = ({ images: i, onReady: m, onError: c }) => {
|
|
6844
|
-
const b = v.useMemo(() => i.map(({ src: $ }) => $), [i]), [
|
|
6845
|
-
|
|
6846
|
-
}, [b,
|
|
6847
|
-
|
|
6855
|
+
const b = v.useMemo(() => i.map(({ src: $ }) => $), [i]), [S, C] = v.useState(null), N = S ? [...S.values()].filter(($) => $).length / i.length * 100 : null, k = v.useCallback(() => {
|
|
6856
|
+
N === null && C(new Map(b.map(($) => [$, !1])));
|
|
6857
|
+
}, [b, N]), E = v.useCallback(($) => {
|
|
6858
|
+
C((V) => {
|
|
6848
6859
|
const I = new Map(V);
|
|
6849
6860
|
return I.set($, !0), I;
|
|
6850
6861
|
});
|
|
6851
6862
|
}, []);
|
|
6852
6863
|
return v.useEffect(() => {
|
|
6853
|
-
|
|
6854
|
-
}, [
|
|
6855
|
-
|
|
6864
|
+
N === 100 && m();
|
|
6865
|
+
}, [N, m]), /* @__PURE__ */ s.jsxs("div", { className: "relative size-full", children: [
|
|
6866
|
+
N !== null && N !== 100 && // Add images to DOM to preload them
|
|
6856
6867
|
/* @__PURE__ */ s.jsx("div", { className: "hidden", children: b.map(($) => /* @__PURE__ */ s.jsx(
|
|
6857
6868
|
Zr,
|
|
6858
6869
|
{
|
|
6859
6870
|
src: $,
|
|
6860
|
-
onLoad: () =>
|
|
6871
|
+
onLoad: () => E($),
|
|
6861
6872
|
onError: c
|
|
6862
6873
|
},
|
|
6863
6874
|
$
|
|
@@ -6871,13 +6882,13 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6871
6882
|
{
|
|
6872
6883
|
className: Se(
|
|
6873
6884
|
"relative h-1 w-3/5 overflow-hidden rounded-full bg-background",
|
|
6874
|
-
|
|
6885
|
+
N === null && "invisible"
|
|
6875
6886
|
),
|
|
6876
6887
|
children: /* @__PURE__ */ s.jsx(
|
|
6877
6888
|
"div",
|
|
6878
6889
|
{
|
|
6879
6890
|
className: "h-full bg-primary transition-[width]",
|
|
6880
|
-
style: { width: `${
|
|
6891
|
+
style: { width: `${N ?? 0}%` }
|
|
6881
6892
|
}
|
|
6882
6893
|
)
|
|
6883
6894
|
}
|
|
@@ -6885,7 +6896,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6885
6896
|
] })
|
|
6886
6897
|
] });
|
|
6887
6898
|
}, Fp = (i) => {
|
|
6888
|
-
const { index: m } = i, { setItemInteraction: c } = mt(), [b,
|
|
6899
|
+
const { index: m } = i, { setItemInteraction: c } = mt(), [b, S] = v.useState(
|
|
6889
6900
|
"placeholder"
|
|
6890
6901
|
);
|
|
6891
6902
|
return v.useEffect(() => {
|
|
@@ -6896,8 +6907,8 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6896
6907
|
Rp,
|
|
6897
6908
|
{
|
|
6898
6909
|
...i,
|
|
6899
|
-
onReady: () =>
|
|
6900
|
-
onError: () =>
|
|
6910
|
+
onReady: () => S("ready"),
|
|
6911
|
+
onError: () => S("error")
|
|
6901
6912
|
}
|
|
6902
6913
|
) : /* @__PURE__ */ s.jsx(Op, { ...i });
|
|
6903
6914
|
}, Dp = ({ className: i = "", ...m }) => /* @__PURE__ */ s.jsx(pt, { color: "neutral", shape: "icon", className: i, ...m, children: /* @__PURE__ */ s.jsx(ni, { className: "size-full" }) }), Vp = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ s.jsx(
|
|
@@ -6958,67 +6969,67 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
6958
6969
|
style: { transform: `translateX(-${100 * (1 - i)}%)` }
|
|
6959
6970
|
}
|
|
6960
6971
|
) }), Hp = 3e3, Ap = ({ src: i, poster: m, index: c }) => {
|
|
6961
|
-
const { carrouselItemIndex: b, setItemInteraction:
|
|
6972
|
+
const { carrouselItemIndex: b, setItemInteraction: S } = mt(), C = b === c, N = v.useRef(null), k = v.useRef(null), E = v.useCallback(() => {
|
|
6962
6973
|
if (!k.current)
|
|
6963
6974
|
throw new Error("videoRef.current is null");
|
|
6964
6975
|
return k.current;
|
|
6965
6976
|
}, []), $ = v.useCallback(() => {
|
|
6966
|
-
|
|
6967
|
-
}, [
|
|
6968
|
-
|
|
6969
|
-
}, [
|
|
6977
|
+
E().play();
|
|
6978
|
+
}, [E]), V = v.useCallback(() => {
|
|
6979
|
+
E().pause();
|
|
6980
|
+
}, [E]);
|
|
6970
6981
|
v.useEffect(() => {
|
|
6971
|
-
|
|
6972
|
-
}, [V,
|
|
6982
|
+
C || V();
|
|
6983
|
+
}, [V, C]);
|
|
6973
6984
|
const [I, F] = v.useState(!1), [le, O] = v.useState(!0), M = () => {
|
|
6974
|
-
F(!0),
|
|
6985
|
+
F(!0), S(c, "running");
|
|
6975
6986
|
}, D = () => {
|
|
6976
|
-
F(!1),
|
|
6987
|
+
F(!1), S(c, null);
|
|
6977
6988
|
}, q = () => {
|
|
6978
6989
|
O(!1);
|
|
6979
6990
|
}, Q = () => {
|
|
6980
6991
|
O(!0);
|
|
6981
|
-
}, [W, H] = v.useState(null), B = (
|
|
6982
|
-
const w =
|
|
6992
|
+
}, [W, H] = v.useState(null), B = (L) => {
|
|
6993
|
+
const w = E(), P = L.currentTarget.getBoundingClientRect(), T = (L.clientX - P.left) / P.width, f = Math.min(1, Math.max(0, T));
|
|
6983
6994
|
w.volume = f, w.muted = !1;
|
|
6984
|
-
}, J = (
|
|
6985
|
-
const w =
|
|
6986
|
-
w.muted =
|
|
6995
|
+
}, J = (L) => {
|
|
6996
|
+
const w = E();
|
|
6997
|
+
w.muted = L;
|
|
6987
6998
|
};
|
|
6988
6999
|
v.useEffect(() => {
|
|
6989
|
-
const
|
|
6990
|
-
if (!
|
|
7000
|
+
const L = k.current;
|
|
7001
|
+
if (!L)
|
|
6991
7002
|
return;
|
|
6992
7003
|
const w = () => {
|
|
6993
7004
|
H({
|
|
6994
|
-
volume:
|
|
6995
|
-
isMuted:
|
|
7005
|
+
volume: L.volume,
|
|
7006
|
+
isMuted: L.muted
|
|
6996
7007
|
});
|
|
6997
7008
|
};
|
|
6998
|
-
return w(),
|
|
6999
|
-
|
|
7009
|
+
return w(), L.addEventListener("volumechange", w), () => {
|
|
7010
|
+
L.removeEventListener("volumechange", w);
|
|
7000
7011
|
};
|
|
7001
7012
|
}, []);
|
|
7002
7013
|
const [U, X] = v.useState(null), te = U ? U.currentTime / U.duration : 0;
|
|
7003
7014
|
v.useEffect(() => {
|
|
7004
|
-
const
|
|
7005
|
-
if (!
|
|
7015
|
+
const L = k.current;
|
|
7016
|
+
if (!L) return;
|
|
7006
7017
|
const w = () => {
|
|
7007
|
-
const P =
|
|
7018
|
+
const P = L.currentTime, T = L.duration;
|
|
7008
7019
|
isNaN(P) || isNaN(T) || X({
|
|
7009
7020
|
currentTime: P,
|
|
7010
7021
|
duration: T
|
|
7011
7022
|
});
|
|
7012
7023
|
};
|
|
7013
|
-
return w(),
|
|
7014
|
-
|
|
7024
|
+
return w(), L.addEventListener("timeupdate", w), () => {
|
|
7025
|
+
L.removeEventListener("timeupdate", w);
|
|
7015
7026
|
};
|
|
7016
7027
|
}, []);
|
|
7017
|
-
const K = (
|
|
7018
|
-
const w =
|
|
7028
|
+
const K = (L) => {
|
|
7029
|
+
const w = E(), P = L.currentTarget.getBoundingClientRect(), T = (L.clientX - P.left) / P.width, f = w.duration * T;
|
|
7019
7030
|
w.currentTime = f;
|
|
7020
|
-
}, ue = (
|
|
7021
|
-
const w = Math.floor(
|
|
7031
|
+
}, ue = (L) => {
|
|
7032
|
+
const w = Math.floor(L % 3600 / 60), P = Math.floor(L % 60);
|
|
7022
7033
|
return `${w}:${P.toString().padStart(2, "0")}`;
|
|
7023
7034
|
}, [ce, de] = v.useState(!1), xe = v.useRef(void 0), G = v.useCallback(
|
|
7024
7035
|
() => clearTimeout(xe.current),
|
|
@@ -7029,8 +7040,8 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
7029
7040
|
}, Hp);
|
|
7030
7041
|
}, [G]);
|
|
7031
7042
|
return v.useEffect(() => {
|
|
7032
|
-
const
|
|
7033
|
-
if (!
|
|
7043
|
+
const L = N.current, w = k.current;
|
|
7044
|
+
if (!L || !w)
|
|
7034
7045
|
return;
|
|
7035
7046
|
const P = () => {
|
|
7036
7047
|
A(), de(!0);
|
|
@@ -7047,10 +7058,10 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
7047
7058
|
}, pe = (me) => {
|
|
7048
7059
|
me.preventDefault(), me.touches.length === 1 && (A(), de((ve) => !ve));
|
|
7049
7060
|
};
|
|
7050
|
-
return
|
|
7051
|
-
|
|
7061
|
+
return L.addEventListener("mousedown", x), L.addEventListener("mouseup", ae), L.addEventListener("mouseenter", P), L.addEventListener("mousemove", oe), L.addEventListener("mouseleave", T), w.addEventListener("touchstart", pe), () => {
|
|
7062
|
+
L.removeEventListener("mousedown", x), L.removeEventListener("mouseup", ae), L.removeEventListener("mouseenter", P), L.removeEventListener("mousemove", P), L.removeEventListener("mouseleave", T), w.removeEventListener("touchstart", pe);
|
|
7052
7063
|
};
|
|
7053
|
-
}, [G, V, A]), /* @__PURE__ */ s.jsxs("div", { ref:
|
|
7064
|
+
}, [G, V, A]), /* @__PURE__ */ s.jsxs("div", { ref: N, className: "relative size-full", children: [
|
|
7054
7065
|
/* @__PURE__ */ s.jsx(
|
|
7055
7066
|
"video",
|
|
7056
7067
|
{
|
|
@@ -7075,7 +7086,7 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
7075
7086
|
"absolute inset-x-0 bottom-0 cursor-auto space-y-2 bg-gradient-to-t from-foreground to-transparent p-4 pr-12 pt-8 transition-opacity duration-300",
|
|
7076
7087
|
ce ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0"
|
|
7077
7088
|
),
|
|
7078
|
-
onMouseDownCapture: (
|
|
7089
|
+
onMouseDownCapture: (L) => L.stopPropagation(),
|
|
7079
7090
|
children: [
|
|
7080
7091
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between text-background", children: [
|
|
7081
7092
|
/* @__PURE__ */ s.jsxs(
|
|
@@ -7154,28 +7165,28 @@ const gc = v.createContext(null), vc = () => v.useContext(gc), ti = () => {
|
|
|
7154
7165
|
)
|
|
7155
7166
|
] });
|
|
7156
7167
|
}, $p = ({ index: i, item: m, isShown: c, lazy: b }) => {
|
|
7157
|
-
const { type:
|
|
7158
|
-
let
|
|
7168
|
+
const { type: S } = m;
|
|
7169
|
+
let C;
|
|
7159
7170
|
if (b)
|
|
7160
|
-
|
|
7171
|
+
C = null;
|
|
7161
7172
|
else
|
|
7162
|
-
switch (
|
|
7173
|
+
switch (S) {
|
|
7163
7174
|
case "image":
|
|
7164
|
-
|
|
7175
|
+
C = /* @__PURE__ */ s.jsx(Ec, { onlyPreload: !c, ...m });
|
|
7165
7176
|
break;
|
|
7166
7177
|
case "video":
|
|
7167
|
-
|
|
7178
|
+
C = /* @__PURE__ */ s.jsx(Ap, { index: i, ...m });
|
|
7168
7179
|
break;
|
|
7169
7180
|
case "360":
|
|
7170
|
-
|
|
7181
|
+
C = /* @__PURE__ */ s.jsx(Fp, { index: i, onlyPreload: !c, ...m });
|
|
7171
7182
|
break;
|
|
7172
7183
|
case "omni_directional":
|
|
7173
|
-
|
|
7184
|
+
C = /* @__PURE__ */ s.jsx(Tp, { item: m });
|
|
7174
7185
|
break;
|
|
7175
7186
|
default:
|
|
7176
|
-
throw new Error(`Unsupported item type: ${
|
|
7187
|
+
throw new Error(`Unsupported item type: ${S}`);
|
|
7177
7188
|
}
|
|
7178
|
-
return
|
|
7189
|
+
return C;
|
|
7179
7190
|
}, Wp = (i) => {
|
|
7180
7191
|
v.useEffect(() => {
|
|
7181
7192
|
const m = (c) => {
|
|
@@ -7272,7 +7283,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7272
7283
|
onToggle: m,
|
|
7273
7284
|
label: c,
|
|
7274
7285
|
className: b,
|
|
7275
|
-
children:
|
|
7286
|
+
children: S
|
|
7276
7287
|
}) => /* @__PURE__ */ s.jsxs(
|
|
7277
7288
|
"label",
|
|
7278
7289
|
{
|
|
@@ -7305,7 +7316,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7305
7316
|
"flex size-4 items-center justify-center rounded-full p-0.5 transition",
|
|
7306
7317
|
i ? "translate-x-1.5 bg-primary-foreground text-primary" : "-translate-x-1.5 bg-background text-foreground"
|
|
7307
7318
|
),
|
|
7308
|
-
children:
|
|
7319
|
+
children: S
|
|
7309
7320
|
}
|
|
7310
7321
|
)
|
|
7311
7322
|
}
|
|
@@ -7330,13 +7341,13 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7330
7341
|
)
|
|
7331
7342
|
}
|
|
7332
7343
|
) }), em = ({ sharedClassName: i }) => {
|
|
7333
|
-
const { categories: m } = sn(), { displayedCategoryId: c, changeCategory: b } = mt(), [
|
|
7334
|
-
|
|
7344
|
+
const { categories: m } = sn(), { displayedCategoryId: c, changeCategory: b } = mt(), [S, C] = v.useState(!1), N = () => {
|
|
7345
|
+
C(!S);
|
|
7335
7346
|
}, k = () => {
|
|
7336
|
-
|
|
7347
|
+
C(!1);
|
|
7337
7348
|
};
|
|
7338
7349
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
7339
|
-
|
|
7350
|
+
S && /* @__PURE__ */ s.jsx(
|
|
7340
7351
|
"div",
|
|
7341
7352
|
{
|
|
7342
7353
|
className: Se(i, "inset-0 small:hidden"),
|
|
@@ -7356,24 +7367,24 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7356
7367
|
pt,
|
|
7357
7368
|
{
|
|
7358
7369
|
shape: "icon",
|
|
7359
|
-
color:
|
|
7360
|
-
onClick:
|
|
7370
|
+
color: S ? "primary" : "neutral",
|
|
7371
|
+
onClick: N,
|
|
7361
7372
|
children: /* @__PURE__ */ s.jsx(Jp, {})
|
|
7362
7373
|
}
|
|
7363
7374
|
),
|
|
7364
|
-
|
|
7375
|
+
S && /* @__PURE__ */ s.jsx("div", { className: "rounded-ui-md bg-background", children: /* @__PURE__ */ s.jsx("ul", { className: "space-y-0.5 p-1", children: m.map(({ id: E, title: $ }) => /* @__PURE__ */ s.jsx(
|
|
7365
7376
|
"li",
|
|
7366
7377
|
{
|
|
7367
7378
|
className: Se(
|
|
7368
7379
|
"cursor-pointer rounded-ui px-2 py-1 text-sm font-bold transition-colors hover:bg-primary/30",
|
|
7369
|
-
|
|
7380
|
+
E === c && "bg-primary/50"
|
|
7370
7381
|
),
|
|
7371
7382
|
onClick: () => {
|
|
7372
|
-
b(
|
|
7383
|
+
b(E), C(!1);
|
|
7373
7384
|
},
|
|
7374
7385
|
children: $
|
|
7375
7386
|
},
|
|
7376
|
-
|
|
7387
|
+
E
|
|
7377
7388
|
)) }) })
|
|
7378
7389
|
]
|
|
7379
7390
|
}
|
|
@@ -7386,14 +7397,14 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7386
7397
|
hc("top"),
|
|
7387
7398
|
"w-full overflow-x-auto max-small:hidden"
|
|
7388
7399
|
),
|
|
7389
|
-
children: /* @__PURE__ */ s.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: m.map(({ id:
|
|
7400
|
+
children: /* @__PURE__ */ s.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: m.map(({ id: E, title: $ }) => /* @__PURE__ */ s.jsx(
|
|
7390
7401
|
pt,
|
|
7391
7402
|
{
|
|
7392
|
-
variant:
|
|
7393
|
-
onClick: () => b(
|
|
7403
|
+
variant: E === c ? "fill" : "ghost",
|
|
7404
|
+
onClick: () => b(E),
|
|
7394
7405
|
children: $
|
|
7395
7406
|
},
|
|
7396
|
-
|
|
7407
|
+
E
|
|
7397
7408
|
)) })
|
|
7398
7409
|
}
|
|
7399
7410
|
)
|
|
@@ -7401,12 +7412,12 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7401
7412
|
}, tm = () => {
|
|
7402
7413
|
const { flatten: i, infiniteCarrousel: m, permanentGallery: c } = un(), {
|
|
7403
7414
|
items: { length: b },
|
|
7404
|
-
aspectRatioStyle:
|
|
7415
|
+
aspectRatioStyle: S
|
|
7405
7416
|
} = sn(), {
|
|
7406
|
-
slidable:
|
|
7407
|
-
masterItemIndex:
|
|
7417
|
+
slidable: C,
|
|
7418
|
+
masterItemIndex: N,
|
|
7408
7419
|
prevImage: k,
|
|
7409
|
-
nextImage:
|
|
7420
|
+
nextImage: E,
|
|
7410
7421
|
showGalleryControls: $,
|
|
7411
7422
|
enableHotspotsControl: V,
|
|
7412
7423
|
showHotspots: I,
|
|
@@ -7435,7 +7446,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7435
7446
|
const ce = "absolute z-overlay", de = `transition-opacity ${$ ? "opacity-100" : "opacity-0 !pointer-events-none"}`;
|
|
7436
7447
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
7437
7448
|
!i && !B && /* @__PURE__ */ s.jsx(em, { sharedClassName: ce }),
|
|
7438
|
-
|
|
7449
|
+
C && !B && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
7439
7450
|
/* @__PURE__ */ s.jsx(
|
|
7440
7451
|
pt,
|
|
7441
7452
|
{
|
|
@@ -7443,7 +7454,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7443
7454
|
color: "neutral",
|
|
7444
7455
|
className: Se(ce, tr("middle-left")),
|
|
7445
7456
|
onClick: k,
|
|
7446
|
-
disabled: !m &&
|
|
7457
|
+
disabled: !m && N <= 0,
|
|
7447
7458
|
children: /* @__PURE__ */ s.jsx(Ue, { customizationKey: "CONTROLS_ARROW_LEFT", children: /* @__PURE__ */ s.jsx(tc, { className: "size-full rotate-180" }) })
|
|
7448
7459
|
}
|
|
7449
7460
|
),
|
|
@@ -7453,8 +7464,8 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7453
7464
|
shape: "icon",
|
|
7454
7465
|
color: "neutral",
|
|
7455
7466
|
className: Se(ce, tr("middle-right")),
|
|
7456
|
-
onClick:
|
|
7457
|
-
disabled: !m &&
|
|
7467
|
+
onClick: E,
|
|
7468
|
+
disabled: !m && N >= b - 1,
|
|
7458
7469
|
children: /* @__PURE__ */ s.jsx(Ue, { customizationKey: "CONTROLS_ARROW_RIGHT", children: /* @__PURE__ */ s.jsx(tc, { className: "size-full" }) })
|
|
7459
7470
|
}
|
|
7460
7471
|
)
|
|
@@ -7553,7 +7564,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7553
7564
|
Zr,
|
|
7554
7565
|
{
|
|
7555
7566
|
className: "w-full bg-foreground/65",
|
|
7556
|
-
style:
|
|
7567
|
+
style: S,
|
|
7557
7568
|
src: q.src,
|
|
7558
7569
|
imgInPlayerWidthRatio: 0.6
|
|
7559
7570
|
}
|
|
@@ -7576,11 +7587,11 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7576
7587
|
)
|
|
7577
7588
|
] });
|
|
7578
7589
|
}, nm = ({ className: i = "" }) => {
|
|
7579
|
-
const { infiniteCarrousel: m, isFullScreen: c } = un(), { items: b, aspectRatioStyle:
|
|
7580
|
-
slidable:
|
|
7581
|
-
carrouselItemIndex:
|
|
7590
|
+
const { infiniteCarrousel: m, isFullScreen: c } = un(), { items: b, aspectRatioStyle: S } = sn(), {
|
|
7591
|
+
slidable: C,
|
|
7592
|
+
carrouselItemIndex: N,
|
|
7582
7593
|
setCarrouselItemIndex: k,
|
|
7583
|
-
itemIndexCommand:
|
|
7594
|
+
itemIndexCommand: E,
|
|
7584
7595
|
setItemIndexCommand: $,
|
|
7585
7596
|
cycling: V,
|
|
7586
7597
|
isCycling: I,
|
|
@@ -7595,10 +7606,10 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7595
7606
|
}, []), Q = v.useRef(!1), W = v.useRef(null), H = v.useRef(null), B = v.useRef(null), J = v.useCallback(() => {
|
|
7596
7607
|
B.current && (cancelAnimationFrame(B.current), B.current = null);
|
|
7597
7608
|
}, []), U = v.useCallback(() => {
|
|
7598
|
-
const G = q("computeClosestSnapIndex"), A = Array.from(G.children),
|
|
7609
|
+
const G = q("computeClosestSnapIndex"), A = Array.from(G.children), L = G.scrollLeft, w = A.reduce(
|
|
7599
7610
|
(P, T, f) => {
|
|
7600
7611
|
const x = T.offsetLeft;
|
|
7601
|
-
return Math.abs(x -
|
|
7612
|
+
return Math.abs(x - L) < Math.abs(A[P].offsetLeft - L) ? f : P;
|
|
7602
7613
|
},
|
|
7603
7614
|
0
|
|
7604
7615
|
);
|
|
@@ -7616,7 +7627,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7616
7627
|
},
|
|
7617
7628
|
[q]
|
|
7618
7629
|
), K = v.useCallback(
|
|
7619
|
-
(G, A,
|
|
7630
|
+
(G, A, L) => {
|
|
7620
7631
|
J();
|
|
7621
7632
|
const w = q("scrollToIndex"), P = Array.from(w.children), T = w.scrollLeft, f = P[G].offsetLeft, x = (ve) => {
|
|
7622
7633
|
w.scrollTo({
|
|
@@ -7625,16 +7636,16 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7625
7636
|
});
|
|
7626
7637
|
}, ae = Math.abs(T - f);
|
|
7627
7638
|
if (ae < 1 || A === "instant") {
|
|
7628
|
-
x(f),
|
|
7639
|
+
x(f), L == null || L();
|
|
7629
7640
|
return;
|
|
7630
7641
|
}
|
|
7631
|
-
const oe =
|
|
7642
|
+
const oe = _n(ae / 2.5, 300, 1e3), pe = (/* @__PURE__ */ new Date()).getTime();
|
|
7632
7643
|
te("none");
|
|
7633
7644
|
const me = () => {
|
|
7634
7645
|
const ve = () => {
|
|
7635
7646
|
const ge = (/* @__PURE__ */ new Date()).getTime() - pe;
|
|
7636
7647
|
if (ge >= oe) {
|
|
7637
|
-
x(f),
|
|
7648
|
+
x(f), L == null || L(), B.current = requestAnimationFrame(() => {
|
|
7638
7649
|
te("mandatory"), B.current = null;
|
|
7639
7650
|
});
|
|
7640
7651
|
return;
|
|
@@ -7661,9 +7672,9 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7661
7672
|
};
|
|
7662
7673
|
}, [ue]), v.useEffect(() => {
|
|
7663
7674
|
const G = U();
|
|
7664
|
-
Number.isNaN(G) || G !==
|
|
7675
|
+
Number.isNaN(G) || G !== N && K(N, "instant");
|
|
7665
7676
|
}, [
|
|
7666
|
-
|
|
7677
|
+
N,
|
|
7667
7678
|
K,
|
|
7668
7679
|
U,
|
|
7669
7680
|
// - Run the effect when those values change
|
|
@@ -7673,7 +7684,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7673
7684
|
le,
|
|
7674
7685
|
O
|
|
7675
7686
|
]), v.useEffect(() => {
|
|
7676
|
-
if (!
|
|
7687
|
+
if (!C || I) {
|
|
7677
7688
|
X("auto");
|
|
7678
7689
|
return;
|
|
7679
7690
|
}
|
|
@@ -7683,7 +7694,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7683
7694
|
X("grab"), te("mandatory");
|
|
7684
7695
|
const A = (P) => {
|
|
7685
7696
|
P.button === 0 && (P.preventDefault(), P.stopPropagation(), Q.current = !0, W.current = P.pageX - G.offsetLeft, H.current = G.scrollLeft, J(), X("grabbing"), te("none"));
|
|
7686
|
-
},
|
|
7697
|
+
}, L = (P) => {
|
|
7687
7698
|
if (!Q.current)
|
|
7688
7699
|
return;
|
|
7689
7700
|
if (W.current === null)
|
|
@@ -7701,8 +7712,8 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7701
7712
|
const P = U();
|
|
7702
7713
|
K(P, "smooth");
|
|
7703
7714
|
};
|
|
7704
|
-
return G.addEventListener("mousedown", A), document.addEventListener("mousemove",
|
|
7705
|
-
G.removeEventListener("mousedown", A), document.removeEventListener("mousemove",
|
|
7715
|
+
return G.addEventListener("mousedown", A), document.addEventListener("mousemove", L), document.addEventListener("mouseleave", w), document.addEventListener("mouseup", w), document.addEventListener("contextmenu", w), () => {
|
|
7716
|
+
G.removeEventListener("mousedown", A), document.removeEventListener("mousemove", L), document.removeEventListener("mouseleave", w), document.removeEventListener("mouseup", w), document.removeEventListener("contextmenu", w);
|
|
7706
7717
|
};
|
|
7707
7718
|
}, [
|
|
7708
7719
|
J,
|
|
@@ -7711,7 +7722,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7711
7722
|
K,
|
|
7712
7723
|
X,
|
|
7713
7724
|
te,
|
|
7714
|
-
|
|
7725
|
+
C
|
|
7715
7726
|
]), v.useEffect(() => {
|
|
7716
7727
|
if (O || de)
|
|
7717
7728
|
return;
|
|
@@ -7719,8 +7730,8 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7719
7730
|
if (!G)
|
|
7720
7731
|
return;
|
|
7721
7732
|
const A = () => {
|
|
7722
|
-
const
|
|
7723
|
-
Number.isNaN(
|
|
7733
|
+
const L = U();
|
|
7734
|
+
Number.isNaN(L) || (k(L), L === E && $(null));
|
|
7724
7735
|
};
|
|
7725
7736
|
return G.addEventListener("scroll", A), () => {
|
|
7726
7737
|
G.removeEventListener("scroll", A);
|
|
@@ -7730,29 +7741,29 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7730
7741
|
O,
|
|
7731
7742
|
I,
|
|
7732
7743
|
de,
|
|
7733
|
-
|
|
7744
|
+
E,
|
|
7734
7745
|
b.length,
|
|
7735
7746
|
k,
|
|
7736
7747
|
$
|
|
7737
7748
|
]), v.useEffect(() => {
|
|
7738
|
-
|
|
7739
|
-
}, [V, F,
|
|
7740
|
-
const xe = () => /* @__PURE__ */ s.jsx("div", { className: "h-full", style:
|
|
7749
|
+
E !== null && (V === "first_to_last" ? (K(b.length, "instant"), K(b.length - 1, "smooth", () => F())) : V === "last_to_first" ? (K(0, "instant"), K(1, "smooth", () => F())) : K(E, "smooth"));
|
|
7750
|
+
}, [V, F, E, b.length, K]);
|
|
7751
|
+
const xe = () => /* @__PURE__ */ s.jsx("div", { className: "h-full", style: S });
|
|
7741
7752
|
return /* @__PURE__ */ s.jsxs(
|
|
7742
7753
|
"div",
|
|
7743
7754
|
{
|
|
7744
7755
|
className: Se("relative overflow-hidden rounded-carrousel", i),
|
|
7745
|
-
style:
|
|
7756
|
+
style: S,
|
|
7746
7757
|
children: [
|
|
7747
7758
|
/* @__PURE__ */ s.jsxs(
|
|
7748
7759
|
"div",
|
|
7749
7760
|
{
|
|
7750
7761
|
ref: D,
|
|
7751
|
-
className: `flex size-full ${
|
|
7762
|
+
className: `flex size-full ${C ? "overflow-x-auto no-scrollbar *:snap-start *:snap-always" : "justify-center"}`,
|
|
7752
7763
|
children: [
|
|
7753
7764
|
V === "last_to_first" && /* @__PURE__ */ s.jsx(xe, {}),
|
|
7754
7765
|
b.map((G, A) => {
|
|
7755
|
-
const
|
|
7766
|
+
const L = G.type === "360" ? G.images[0] : G.src, w = A === N, P = A === 0, T = N === b.length - 1, f = A === b.length - 1, x = N === 0, ae = Math.abs(A - N) > 1 && // Not next to the current one
|
|
7756
7767
|
!(m && P && T) && // Not the last one when the first one is shown (only for infinite carrousel)
|
|
7757
7768
|
!(m && f && x), oe = (() => {
|
|
7758
7769
|
if (V === "first_to_last" && P)
|
|
@@ -7768,7 +7779,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7768
7779
|
"div",
|
|
7769
7780
|
{
|
|
7770
7781
|
className: "relative h-full bg-foreground/50",
|
|
7771
|
-
style: { ...
|
|
7782
|
+
style: { ...S, ...oe },
|
|
7772
7783
|
children: /* @__PURE__ */ s.jsx(
|
|
7773
7784
|
$p,
|
|
7774
7785
|
{
|
|
@@ -7779,17 +7790,17 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7779
7790
|
}
|
|
7780
7791
|
)
|
|
7781
7792
|
},
|
|
7782
|
-
`${A}_${
|
|
7793
|
+
`${A}_${L}`
|
|
7783
7794
|
);
|
|
7784
7795
|
}),
|
|
7785
7796
|
V === "first_to_last" && /* @__PURE__ */ s.jsx(xe, {})
|
|
7786
7797
|
]
|
|
7787
7798
|
}
|
|
7788
7799
|
),
|
|
7789
|
-
|
|
7790
|
-
|
|
7800
|
+
C && !M && /* @__PURE__ */ s.jsx("div", { className: `absolute ${tr("top-right")}`, children: /* @__PURE__ */ s.jsx(
|
|
7801
|
+
Lp,
|
|
7791
7802
|
{
|
|
7792
|
-
currentIndex:
|
|
7803
|
+
currentIndex: N,
|
|
7793
7804
|
maxIndex: b.length - 1
|
|
7794
7805
|
}
|
|
7795
7806
|
) }),
|
|
@@ -7801,16 +7812,16 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7801
7812
|
const { permanentGallery: i } = un(), { aspectRatioStyle: m } = sn(), {
|
|
7802
7813
|
prevImage: c,
|
|
7803
7814
|
nextImage: b,
|
|
7804
|
-
isShowingDetails:
|
|
7805
|
-
resetShownDetails:
|
|
7806
|
-
extendMode:
|
|
7815
|
+
isShowingDetails: S,
|
|
7816
|
+
resetShownDetails: C,
|
|
7817
|
+
extendMode: N,
|
|
7807
7818
|
disableExtendMode: k,
|
|
7808
|
-
isZooming:
|
|
7819
|
+
isZooming: E,
|
|
7809
7820
|
resetZoom: $,
|
|
7810
7821
|
fakeFullScreen: V
|
|
7811
7822
|
} = mt(), I = v.useRef(null), F = v.useRef(null), le = v.useRef(null);
|
|
7812
7823
|
return v.useEffect(() => {
|
|
7813
|
-
if (!
|
|
7824
|
+
if (!N)
|
|
7814
7825
|
return;
|
|
7815
7826
|
const O = I.current, M = F.current, D = le.current;
|
|
7816
7827
|
if (!O || !M || !D)
|
|
@@ -7824,11 +7835,11 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7824
7835
|
return O.addEventListener("mousedown", W), O.addEventListener("mouseup", H), () => {
|
|
7825
7836
|
O.removeEventListener("mousedown", W), O.removeEventListener("mouseup", H);
|
|
7826
7837
|
};
|
|
7827
|
-
}, [k,
|
|
7838
|
+
}, [k, N]), v.useEffect(() => {
|
|
7828
7839
|
const O = (M) => {
|
|
7829
|
-
const D = M.key === "Escape", q = !
|
|
7840
|
+
const D = M.key === "Escape", q = !E && !S;
|
|
7830
7841
|
if (D)
|
|
7831
|
-
|
|
7842
|
+
E ? $() : S ? C() : k();
|
|
7832
7843
|
else if (q)
|
|
7833
7844
|
switch (M.key) {
|
|
7834
7845
|
case "ArrowLeft":
|
|
@@ -7844,11 +7855,11 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7844
7855
|
};
|
|
7845
7856
|
}, [
|
|
7846
7857
|
k,
|
|
7847
|
-
C,
|
|
7848
7858
|
S,
|
|
7859
|
+
E,
|
|
7849
7860
|
b,
|
|
7850
7861
|
c,
|
|
7851
|
-
|
|
7862
|
+
C,
|
|
7852
7863
|
$
|
|
7853
7864
|
]), /* @__PURE__ */ s.jsxs(
|
|
7854
7865
|
"div",
|
|
@@ -7856,7 +7867,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7856
7867
|
ref: I,
|
|
7857
7868
|
className: Se(
|
|
7858
7869
|
"relative",
|
|
7859
|
-
|
|
7870
|
+
N && "flex size-full items-center justify-center bg-foreground/75",
|
|
7860
7871
|
V && "fixed inset-0 z-overlay"
|
|
7861
7872
|
),
|
|
7862
7873
|
children: [
|
|
@@ -7864,24 +7875,24 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7864
7875
|
"div",
|
|
7865
7876
|
{
|
|
7866
7877
|
ref: F,
|
|
7867
|
-
className:
|
|
7878
|
+
className: N ? "flex size-full flex-col justify-center gap-y-2 small:gap-y-4" : "space-y-2",
|
|
7868
7879
|
children: [
|
|
7869
7880
|
/* @__PURE__ */ s.jsx(
|
|
7870
7881
|
"div",
|
|
7871
7882
|
{
|
|
7872
7883
|
ref: le,
|
|
7873
7884
|
className: Se(
|
|
7874
|
-
|
|
7885
|
+
N && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
|
|
7875
7886
|
),
|
|
7876
7887
|
style: m,
|
|
7877
|
-
children: /* @__PURE__ */ s.jsx(nm, { className: Se(
|
|
7888
|
+
children: /* @__PURE__ */ s.jsx(nm, { className: Se(N && "h-full min-w-0") })
|
|
7878
7889
|
}
|
|
7879
7890
|
),
|
|
7880
|
-
i && /* @__PURE__ */ s.jsx(Cc, { className: Se(
|
|
7891
|
+
i && /* @__PURE__ */ s.jsx(Cc, { className: Se(N && "my-2 shrink-0 small:my-4") })
|
|
7881
7892
|
]
|
|
7882
7893
|
}
|
|
7883
7894
|
),
|
|
7884
|
-
|
|
7895
|
+
N && /* @__PURE__ */ s.jsx(
|
|
7885
7896
|
yc,
|
|
7886
7897
|
{
|
|
7887
7898
|
className: "absolute right-2 top-2 small:right-4 small:top-4",
|
|
@@ -7897,12 +7908,12 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7897
7908
|
const { emitEvent: m } = un(), {
|
|
7898
7909
|
data: c,
|
|
7899
7910
|
status: b,
|
|
7900
|
-
isSuccess:
|
|
7901
|
-
error:
|
|
7911
|
+
isSuccess: S,
|
|
7912
|
+
error: C
|
|
7902
7913
|
} = sp(i);
|
|
7903
7914
|
return v.useEffect(() => {
|
|
7904
|
-
|
|
7905
|
-
}, [m,
|
|
7915
|
+
C ? m(Wf, C) : S ? m($f) : b === "fetching" && m(Af);
|
|
7916
|
+
}, [m, C, S, b]), C ? /* @__PURE__ */ s.jsx(bc, { title: "Failed to fetch composition", error: C }) : S ? /* @__PURE__ */ s.jsx(up, { composition: c, children: /* @__PURE__ */ s.jsx(dp, { children: /* @__PURE__ */ s.jsx(rm, {}) }) }) : /* @__PURE__ */ s.jsxs("div", { className: "flex aspect-video size-full flex-col items-center justify-center gap-y-4", children: [
|
|
7906
7917
|
/* @__PURE__ */ s.jsx("div", { className: "text-xl", children: "Loading WebPlayer..." }),
|
|
7907
7918
|
/* @__PURE__ */ s.jsx(wc, { color: "primary" })
|
|
7908
7919
|
] });
|
|
@@ -7911,20 +7922,20 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7911
7922
|
flatten: m = !1,
|
|
7912
7923
|
infiniteCarrousel: c = !1,
|
|
7913
7924
|
permanentGallery: b = !1,
|
|
7914
|
-
imageLoadStrategy:
|
|
7915
|
-
preventFullScreen:
|
|
7916
|
-
eventPrefix:
|
|
7925
|
+
imageLoadStrategy: S = Gf,
|
|
7926
|
+
preventFullScreen: C = !1,
|
|
7927
|
+
eventPrefix: N = Yf,
|
|
7917
7928
|
reverse360: k = !1,
|
|
7918
|
-
children:
|
|
7929
|
+
children: E,
|
|
7919
7930
|
// NOTE: use to customize the player, not to display the content
|
|
7920
7931
|
...$
|
|
7921
7932
|
}) => {
|
|
7922
7933
|
const V = v.useRef(null), [I, F] = v.useState(), [le, O] = v.useState(0.5), [M, D] = v.useState(!1), q = v.useCallback(
|
|
7923
7934
|
(H, B) => {
|
|
7924
|
-
const J =
|
|
7935
|
+
const J = N + H, U = new CustomEvent(J, { detail: B });
|
|
7925
7936
|
document.dispatchEvent(U);
|
|
7926
7937
|
},
|
|
7927
|
-
[
|
|
7938
|
+
[N]
|
|
7928
7939
|
);
|
|
7929
7940
|
v.useEffect(() => {
|
|
7930
7941
|
if (M) {
|
|
@@ -7941,7 +7952,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7941
7952
|
removeEventListener("resize", B);
|
|
7942
7953
|
};
|
|
7943
7954
|
}, [M]), v.useEffect(() => {
|
|
7944
|
-
if (
|
|
7955
|
+
if (C)
|
|
7945
7956
|
return;
|
|
7946
7957
|
const H = V.current;
|
|
7947
7958
|
if (!H)
|
|
@@ -7956,7 +7967,7 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7956
7967
|
return document.addEventListener("fullscreenchange", B), () => {
|
|
7957
7968
|
document.removeEventListener("fullscreenchange", B);
|
|
7958
7969
|
};
|
|
7959
|
-
}, [
|
|
7970
|
+
}, [C]);
|
|
7960
7971
|
const Q = v.useCallback(async () => {
|
|
7961
7972
|
const H = V.current;
|
|
7962
7973
|
if (!H)
|
|
@@ -7978,10 +7989,10 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
7978
7989
|
{
|
|
7979
7990
|
...$,
|
|
7980
7991
|
reverse360: k,
|
|
7981
|
-
imageLoadStrategy:
|
|
7992
|
+
imageLoadStrategy: S,
|
|
7982
7993
|
flatten: m,
|
|
7983
7994
|
infiniteCarrousel: c,
|
|
7984
|
-
preventFullScreen:
|
|
7995
|
+
preventFullScreen: C,
|
|
7985
7996
|
permanentGallery: b,
|
|
7986
7997
|
emitEvent: q,
|
|
7987
7998
|
playerInViewportWidthRatio: le,
|
|
@@ -8002,23 +8013,23 @@ const tc = ({ className: i }) => /* @__PURE__ */ s.jsx(Ue, { className: i, custo
|
|
|
8002
8013
|
children: /* @__PURE__ */ s.jsx(am, { compositionUrl: i })
|
|
8003
8014
|
}
|
|
8004
8015
|
),
|
|
8005
|
-
|
|
8016
|
+
E
|
|
8006
8017
|
] })
|
|
8007
8018
|
}
|
|
8008
8019
|
);
|
|
8009
8020
|
}, om = ({ name: i, color: m, children: c }) => {
|
|
8010
|
-
const { setIconConfig: b, resetIconConfig:
|
|
8021
|
+
const { setIconConfig: b, resetIconConfig: S } = ti();
|
|
8011
8022
|
return v.useEffect(() => {
|
|
8012
8023
|
if (!(!c && !m))
|
|
8013
8024
|
return b(i, {
|
|
8014
8025
|
Icon: c,
|
|
8015
8026
|
color: m
|
|
8016
8027
|
}), () => {
|
|
8017
|
-
|
|
8028
|
+
S(i);
|
|
8018
8029
|
};
|
|
8019
|
-
}, [c, m, i,
|
|
8030
|
+
}, [c, m, i, S, b]), null;
|
|
8020
8031
|
}, im = (i) => vc() ? /* @__PURE__ */ s.jsx(om, { ...i }) : /* @__PURE__ */ s.jsx("slot", {});
|
|
8021
|
-
var
|
|
8032
|
+
var Nc = { exports: {} }, Br = {};
|
|
8022
8033
|
/**
|
|
8023
8034
|
* @license React
|
|
8024
8035
|
* react-jsx-runtime.production.min.js
|
|
@@ -8032,19 +8043,19 @@ var nc;
|
|
|
8032
8043
|
function sm() {
|
|
8033
8044
|
if (nc) return Br;
|
|
8034
8045
|
nc = 1;
|
|
8035
|
-
var i = il, m = Symbol.for("react.element"), c = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty,
|
|
8036
|
-
function
|
|
8046
|
+
var i = il, m = Symbol.for("react.element"), c = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty, S = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8047
|
+
function N(k, E, $) {
|
|
8037
8048
|
var V, I = {}, F = null, le = null;
|
|
8038
|
-
$ !== void 0 && (F = "" + $),
|
|
8039
|
-
for (V in
|
|
8040
|
-
if (k && k.defaultProps) for (V in
|
|
8041
|
-
return { $$typeof: m, type: k, key: F, ref: le, props: I, _owner:
|
|
8049
|
+
$ !== void 0 && (F = "" + $), E.key !== void 0 && (F = "" + E.key), E.ref !== void 0 && (le = E.ref);
|
|
8050
|
+
for (V in E) b.call(E, V) && !C.hasOwnProperty(V) && (I[V] = E[V]);
|
|
8051
|
+
if (k && k.defaultProps) for (V in E = k.defaultProps, E) I[V] === void 0 && (I[V] = E[V]);
|
|
8052
|
+
return { $$typeof: m, type: k, key: F, ref: le, props: I, _owner: S.current };
|
|
8042
8053
|
}
|
|
8043
|
-
return Br.Fragment = c, Br.jsx =
|
|
8054
|
+
return Br.Fragment = c, Br.jsx = N, Br.jsxs = N, Br;
|
|
8044
8055
|
}
|
|
8045
|
-
|
|
8046
|
-
var tl =
|
|
8047
|
-
|
|
8056
|
+
Nc.exports = sm();
|
|
8057
|
+
var tl = Nc.exports, Lc, rc = lp;
|
|
8058
|
+
Lc = rc.createRoot, rc.hydrateRoot;
|
|
8048
8059
|
var um = Object.defineProperty, cm = (i, m, c) => m in i ? um(i, m, { enumerable: !0, configurable: !0, writable: !0, value: c }) : i[m] = c, nl = (i, m, c) => (cm(i, typeof m != "symbol" ? m + "" : m, c), c);
|
|
8049
8060
|
const dm = {
|
|
8050
8061
|
stringify: (i) => i,
|
|
@@ -8082,23 +8093,23 @@ function gm(i) {
|
|
|
8082
8093
|
(m, c, b) => `${c}-${b.toLowerCase()}`
|
|
8083
8094
|
);
|
|
8084
8095
|
}
|
|
8085
|
-
const rl = Symbol.for("r2wc.render"), al = Symbol.for("r2wc.connected"),
|
|
8096
|
+
const rl = Symbol.for("r2wc.render"), al = Symbol.for("r2wc.connected"), Ln = Symbol.for("r2wc.context"), on = Symbol.for("r2wc.props");
|
|
8086
8097
|
function vm(i, m, c) {
|
|
8087
|
-
var b,
|
|
8098
|
+
var b, S, C;
|
|
8088
8099
|
m.props || (m.props = i.propTypes ? Object.keys(i.propTypes) : []);
|
|
8089
|
-
const
|
|
8090
|
-
for (const I of
|
|
8100
|
+
const N = Array.isArray(m.props) ? m.props.slice() : Object.keys(m.props), k = {}, E = {}, $ = {};
|
|
8101
|
+
for (const I of N) {
|
|
8091
8102
|
k[I] = Array.isArray(m.props) ? "string" : m.props[I];
|
|
8092
8103
|
const F = gm(I);
|
|
8093
|
-
|
|
8104
|
+
E[I] = F, $[F] = I;
|
|
8094
8105
|
}
|
|
8095
8106
|
class V extends HTMLElement {
|
|
8096
8107
|
constructor() {
|
|
8097
|
-
super(), nl(this, b, !0), nl(this,
|
|
8108
|
+
super(), nl(this, b, !0), nl(this, S), nl(this, C, {}), nl(this, "container"), m.shadow ? this.container = this.attachShadow({
|
|
8098
8109
|
mode: m.shadow
|
|
8099
8110
|
}) : this.container = this, this[on].container = this.container;
|
|
8100
|
-
for (const F of
|
|
8101
|
-
const le =
|
|
8111
|
+
for (const F of N) {
|
|
8112
|
+
const le = E[F], O = this.getAttribute(le), M = k[F], D = M ? Go[M] : null;
|
|
8102
8113
|
D != null && D.parse && O && (this[on][F] = D.parse(O, le, this));
|
|
8103
8114
|
}
|
|
8104
8115
|
}
|
|
@@ -8109,22 +8120,22 @@ function vm(i, m, c) {
|
|
|
8109
8120
|
this[al] = !0, this[rl]();
|
|
8110
8121
|
}
|
|
8111
8122
|
disconnectedCallback() {
|
|
8112
|
-
this[al] = !1, this[
|
|
8123
|
+
this[al] = !1, this[Ln] && c.unmount(this[Ln]), delete this[Ln];
|
|
8113
8124
|
}
|
|
8114
8125
|
attributeChangedCallback(F, le, O) {
|
|
8115
8126
|
const M = $[F], D = k[M], q = D ? Go[D] : null;
|
|
8116
8127
|
M in k && q != null && q.parse && O && (this[on][M] = q.parse(O, F, this), this[rl]());
|
|
8117
8128
|
}
|
|
8118
|
-
[(b = al,
|
|
8119
|
-
this[al] && (this[
|
|
8129
|
+
[(b = al, S = Ln, C = on, rl)]() {
|
|
8130
|
+
this[al] && (this[Ln] ? c.update(this[Ln], this[on]) : this[Ln] = c.mount(
|
|
8120
8131
|
this.container,
|
|
8121
8132
|
i,
|
|
8122
8133
|
this[on]
|
|
8123
8134
|
));
|
|
8124
8135
|
}
|
|
8125
8136
|
}
|
|
8126
|
-
for (const I of
|
|
8127
|
-
const F =
|
|
8137
|
+
for (const I of N) {
|
|
8138
|
+
const F = E[I], le = k[I];
|
|
8128
8139
|
Object.defineProperty(V.prototype, I, {
|
|
8129
8140
|
enumerable: !0,
|
|
8130
8141
|
configurable: !0,
|
|
@@ -8145,8 +8156,8 @@ function vm(i, m, c) {
|
|
|
8145
8156
|
return V;
|
|
8146
8157
|
}
|
|
8147
8158
|
function ym(i, m, c) {
|
|
8148
|
-
const b =
|
|
8149
|
-
return b.render(
|
|
8159
|
+
const b = Lc(i), S = il.createElement(m, c);
|
|
8160
|
+
return b.render(S), {
|
|
8150
8161
|
root: b,
|
|
8151
8162
|
ReactComponent: m
|
|
8152
8163
|
};
|
|
@@ -8158,13 +8169,13 @@ function bm({ root: i, ReactComponent: m }, c) {
|
|
|
8158
8169
|
function wm({ root: i }) {
|
|
8159
8170
|
i.unmount();
|
|
8160
8171
|
}
|
|
8161
|
-
function
|
|
8172
|
+
function _c(i, m = {}) {
|
|
8162
8173
|
return vm(i, m, { mount: ym, update: bm, unmount: wm });
|
|
8163
8174
|
}
|
|
8164
|
-
const xm = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}: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]{display:none}#cc-webplayer-wrapper{--background: var(--cc-webplayer-background, 0 0% 100%);--foreground: var(--cc-webplayer-foreground, 240 10% 3.9%);--primary: var(--cc-webplayer-primary, 216 100% 52%);--primary-foreground: var( --cc-webplayer-primary-foreground, var(--background) );--neutral: var(--cc-webplayer-neutral, 0 0% 39%);--neutral-foreground: var( --cc-webplayer-neutral-foreground, var(--foreground) );--radius-ui: var(--cc-webplayer-radius-ui, 1rem);--radius-carrousel: var(--cc-webplayer-radius-carrousel, 0);--radius-gallery: var(--cc-webplayer-radius-gallery, 0)}*,: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: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.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}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-x-1{left:.25rem;right:.25rem}.inset-y-1{top:.25rem;bottom:.25rem}.-bottom-0\\.5{bottom:-.125rem}.-left-0\\.5{left:-.125rem}.-right-0\\.5{right:-.125rem}.-top-0\\.5{top:-.125rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-1\\/2{left:50%}.right-1{right:.25rem}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-px{margin-top:-1px}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:.25rem;height:.25rem}.size-12{width:3rem;height:3rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3\\/4{height:75%}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.min-h-0{min-height:0px}.w-12{width:3rem}.w-3\\/5{width:60%}.w-8{width:2rem}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-40{max-width:10rem}.max-w-\\[1600px\\]{max-width:1600px}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -.375rem;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))}.-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))}.-translate-y-1\\/2{--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))}.translate-x-0{--tw-translate-x: 0px;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))}.translate-x-1\\.5{--tw-translate-x: .375rem;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))}.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))}.rotate-180{--tw-rotate: 180deg;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))}.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))}.scale-105{--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))}.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 hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.125rem * var(--tw-space-x-reverse));margin-left:calc(.125rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.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))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-lg{border-radius:calc(var(--radius-ui) + .25rem)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + .125rem)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - .125rem)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-6{padding-left:1.5rem}.pr-12{padding-right:3rem}.pt-8{padding-top:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:.5rem;right:.5rem}.small\\:inset-y-2{top:.5rem;bottom:.5rem}.small\\:bottom-2{bottom:.5rem}.small\\:left-2{left:.5rem}.small\\:right-2{right:.5rem}.small\\:right-4{right:1rem}.small\\:top-2{top:.5rem}.small\\:top-4{top:1rem}.small\\:my-4{margin-top:1rem;margin-bottom:1rem}.small\\:hidden{display:none}.small\\:h-12{height:3rem}.small\\:max-w-48{max-width:12rem}.small\\:gap-2{gap:.5rem}.small\\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.small\\:gap-y-2{row-gap:.5rem}.small\\:gap-y-4{row-gap:1rem}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.small\\:px-2{padding-left:.5rem;padding-right:.5rem}.small\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.small\\:pl-8{padding-left:2rem}.small\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1280px){.large\\:h-20{height:5rem}.large\\:h-3\\/5{height:60%}.large\\:gap-4{gap:1rem}.large\\:p-2{padding:.5rem}}', km = (i) => /* @__PURE__ */ tl.jsxs(tl.Fragment, { children: [
|
|
8175
|
+
const xm = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}: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]{display:none}#cc-webplayer-wrapper{--background: var(--cc-webplayer-background, 0 0% 100%);--foreground: var(--cc-webplayer-foreground, 240 10% 3.9%);--primary: var(--cc-webplayer-primary, 216 100% 52%);--primary-foreground: var( --cc-webplayer-primary-foreground, var(--background) );--neutral: var(--cc-webplayer-neutral, 0 0% 39%);--neutral-foreground: var( --cc-webplayer-neutral-foreground, var(--foreground) );--radius-ui: var(--cc-webplayer-radius-ui, 1rem);--radius-carrousel: var(--cc-webplayer-radius-carrousel, 0);--radius-gallery: var(--cc-webplayer-radius-gallery, 0)}*,: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: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.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}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-x-1{left:.25rem;right:.25rem}.inset-y-1{top:.25rem;bottom:.25rem}.-bottom-0\\.5{bottom:-.125rem}.-left-0\\.5{left:-.125rem}.-right-0\\.5{right:-.125rem}.-top-0\\.5{top:-.125rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-1\\/2{left:50%}.right-1{right:.25rem}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-px{margin-top:-1px}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:.25rem;height:.25rem}.size-12{width:3rem;height:3rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3\\/4{height:75%}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.min-h-0{min-height:0px}.w-12{width:3rem}.w-3\\/5{width:60%}.w-8{width:2rem}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-40{max-width:10rem}.max-w-\\[1600px\\]{max-width:1600px}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -.375rem;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))}.-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))}.-translate-y-1\\/2{--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))}.translate-x-0{--tw-translate-x: 0px;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))}.translate-x-1\\.5{--tw-translate-x: .375rem;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))}.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))}.rotate-180{--tw-rotate: 180deg;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))}.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))}.scale-105{--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))}.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 hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.125rem * var(--tw-space-x-reverse));margin-left:calc(.125rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.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))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-lg{border-radius:calc(var(--radius-ui) + .25rem)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + .125rem)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - .125rem)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-6{padding-left:1.5rem}.pr-12{padding-right:3rem}.pt-8{padding-top:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:.5rem;right:.5rem}.small\\:inset-y-2{top:.5rem;bottom:.5rem}.small\\:bottom-2{bottom:.5rem}.small\\:left-2{left:.5rem}.small\\:right-2{right:.5rem}.small\\:right-4{right:1rem}.small\\:top-2{top:.5rem}.small\\:top-4{top:1rem}.small\\:my-4{margin-top:1rem;margin-bottom:1rem}.small\\:hidden{display:none}.small\\:h-12{height:3rem}.small\\:max-w-48{max-width:12rem}.small\\:gap-2{gap:.5rem}.small\\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.small\\:gap-y-2{row-gap:.5rem}.small\\:gap-y-4{row-gap:1rem}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.small\\:px-2{padding-left:.5rem;padding-right:.5rem}.small\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.small\\:pl-8{padding-left:2rem}.small\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1280px){.large\\:h-20{height:5rem}.large\\:h-3\\/5{height:60%}.large\\:gap-4{gap:1rem}.large\\:p-2{padding:.5rem}}', km = (i) => /* @__PURE__ */ tl.jsxs(tl.Fragment, { children: [
|
|
8165
8176
|
/* @__PURE__ */ tl.jsx("style", { children: xm }),
|
|
8166
8177
|
/* @__PURE__ */ tl.jsx(lm, { ...i })
|
|
8167
|
-
] }), Cm =
|
|
8178
|
+
] }), Cm = _c(km, {
|
|
8168
8179
|
shadow: "open",
|
|
8169
8180
|
props: {
|
|
8170
8181
|
compositionUrl: "string",
|
|
@@ -8178,7 +8189,7 @@ const xm = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:s
|
|
|
8178
8189
|
eventPrefix: "string",
|
|
8179
8190
|
reverse360: "boolean"
|
|
8180
8191
|
}
|
|
8181
|
-
}), Sm =
|
|
8192
|
+
}), Sm = _c(im, {
|
|
8182
8193
|
shadow: "closed",
|
|
8183
8194
|
props: {
|
|
8184
8195
|
name: "string",
|
|
@@ -8188,13 +8199,13 @@ const xm = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:s
|
|
|
8188
8199
|
function Em() {
|
|
8189
8200
|
return !!customElements.get(Jo) && !!customElements.get(ei);
|
|
8190
8201
|
}
|
|
8191
|
-
function
|
|
8202
|
+
function Nm() {
|
|
8192
8203
|
customElements.define(Jo, Cm), customElements.define(ei, Sm);
|
|
8193
8204
|
}
|
|
8194
|
-
function
|
|
8195
|
-
Em() ||
|
|
8205
|
+
function Lm() {
|
|
8206
|
+
Em() || Nm();
|
|
8196
8207
|
}
|
|
8197
|
-
const
|
|
8208
|
+
const _m = ["composition-url", "infinite-carrousel", "permanent-gallery", "image-load-strategy", "min-image-width", "max-image-width", "flatten", "prevent-full-screen", "eventPrefix", "reverse360"], zm = /* @__PURE__ */ Nf({
|
|
8198
8209
|
__name: "WebPlayer",
|
|
8199
8210
|
props: {
|
|
8200
8211
|
compositionUrl: {},
|
|
@@ -8211,8 +8222,8 @@ const Lm = ["composition-url", "infinite-carrousel", "permanent-gallery", "image
|
|
|
8211
8222
|
emits: ["compositionLoading", "compositionLoaded", "compositionLoadError", "extendModeOn", "extendModeOff", "hotspotsOn", "hotspotsOff", "galleryOpen", "galleryClose"],
|
|
8212
8223
|
setup(i, { emit: m }) {
|
|
8213
8224
|
const c = i;
|
|
8214
|
-
|
|
8215
|
-
const b = m,
|
|
8225
|
+
Lm();
|
|
8226
|
+
const b = m, S = c.eventPrefix ?? Hf, C = (k) => `${S}${k}`, N = /* @__PURE__ */ new Map([
|
|
8216
8227
|
[Tf, () => b("compositionLoading")],
|
|
8217
8228
|
[Mf, () => b("compositionLoaded")],
|
|
8218
8229
|
[Of, () => b("compositionLoadError")],
|
|
@@ -8223,17 +8234,17 @@ const Lm = ["composition-url", "infinite-carrousel", "permanent-gallery", "image
|
|
|
8223
8234
|
[If, () => b("galleryOpen")],
|
|
8224
8235
|
[Uf, () => b("galleryClose")]
|
|
8225
8236
|
]);
|
|
8226
|
-
return
|
|
8227
|
-
|
|
8228
|
-
const $ = E
|
|
8237
|
+
return Lf(() => {
|
|
8238
|
+
N.forEach((k, E) => {
|
|
8239
|
+
const $ = C(E);
|
|
8229
8240
|
document.addEventListener($, k);
|
|
8230
8241
|
});
|
|
8231
|
-
}),
|
|
8232
|
-
|
|
8233
|
-
const $ = E
|
|
8242
|
+
}), _f(() => {
|
|
8243
|
+
N.forEach((k, E) => {
|
|
8244
|
+
const $ = C(E);
|
|
8234
8245
|
document.removeEventListener($, k);
|
|
8235
8246
|
});
|
|
8236
|
-
}), (k,
|
|
8247
|
+
}), (k, E) => (jf(), zf("cc-webplayer", {
|
|
8237
8248
|
"composition-url": k.compositionUrl,
|
|
8238
8249
|
"infinite-carrousel": k.infiniteCarrousel,
|
|
8239
8250
|
"permanent-gallery": k.permanentGallery,
|
|
@@ -8242,9 +8253,9 @@ const Lm = ["composition-url", "infinite-carrousel", "permanent-gallery", "image
|
|
|
8242
8253
|
"max-image-width": k.maxImageWidth,
|
|
8243
8254
|
flatten: k.flatten,
|
|
8244
8255
|
"prevent-full-screen": k.preventFullScreen,
|
|
8245
|
-
eventPrefix: Pf(
|
|
8256
|
+
eventPrefix: Pf(S),
|
|
8246
8257
|
reverse360: k.reverse360
|
|
8247
|
-
}, null, 8,
|
|
8258
|
+
}, null, 8, _m));
|
|
8248
8259
|
}
|
|
8249
8260
|
});
|
|
8250
8261
|
export {
|