@car-cutter/react-webplayer 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import xe, { createContext as Le, useContext as _e, useRef as W, useState as F, useCallback as T, useEffect as A, useMemo as Q, Fragment as Ot } from "react";
2
- import At from "react-dom";
1
+ import we, { createContext as Le, useContext as _e, useRef as W, useState as $, useCallback as T, useEffect as A, useMemo as Q, Fragment as Ot } from "react";
2
+ import Pt from "react-dom";
3
3
  var tt = { exports: {} }, he = {};
4
4
  /**
5
5
  * @license React
@@ -11,27 +11,27 @@ var tt = { exports: {} }, he = {};
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
13
  var Ye;
14
- function Pt() {
14
+ function At() {
15
15
  if (Ye) return he;
16
16
  Ye = 1;
17
- var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function l(d, a, g) {
19
- var c, f = {}, p = null, M = null;
20
- g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
21
- for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
22
- if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
23
- return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
17
+ var e = we, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function l(c, a, f) {
19
+ var d, h = {}, g = null, z = null;
20
+ f !== void 0 && (g = "" + f), a.key !== void 0 && (g = "" + a.key), a.ref !== void 0 && (z = a.ref);
21
+ for (d in a) o.call(a, d) && !s.hasOwnProperty(d) && (h[d] = a[d]);
22
+ if (c && c.defaultProps) for (d in a = c.defaultProps, a) h[d] === void 0 && (h[d] = a[d]);
23
+ return { $$typeof: r, type: c, key: g, ref: z, props: h, _owner: i.current };
24
24
  }
25
25
  return he.Fragment = n, he.jsx = l, he.jsxs = l, he;
26
26
  }
27
- tt.exports = Pt();
27
+ tt.exports = At();
28
28
  var rt = tt.exports;
29
- const Ze = "cc-webplayer", Fe = "cc-webplayer-icon", nt = "composition-loading", ot = "composition-loaded", st = "composition-load-error", at = "extend-mode-on", it = "extend-mode-off", lt = "hotspots-on", ct = "hotspots-off", dt = "gallery-open", ut = "gallery-close", Zt = !1, Ft = !1, $t = !1, Wt = "quality", Dt = !1, mt = "cc-webplayer:", Ut = !1;
29
+ const Ze = "cc-webplayer", $e = "cc-webplayer-icon", nt = "composition-loading", ot = "composition-loaded", st = "composition-load-error", at = "extend-mode-on", it = "extend-mode-off", lt = "hotspots-on", ct = "hotspots-off", dt = "gallery-open", ut = "gallery-close", Zt = !1, $t = !1, Ft = !1, Wt = "quality", Dt = !1, mt = "cc-webplayer:", Ut = !1;
30
30
  function Yt(e, r) {
31
31
  const n = e.split("/"), o = n.pop();
32
32
  return [n.join("/"), r, o].join("/");
33
33
  }
34
- var pt = { exports: {} }, fe = {};
34
+ var pt = { exports: {} }, ge = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.production.min.js
@@ -43,17 +43,17 @@ var pt = { exports: {} }, fe = {};
43
43
  */
44
44
  var Xe;
45
45
  function Xt() {
46
- if (Xe) return fe;
46
+ if (Xe) return ge;
47
47
  Xe = 1;
48
- var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
49
- function l(d, a, g) {
50
- var c, f = {}, p = null, M = null;
51
- g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
52
- for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
53
- if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
54
- return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
48
+ var e = we, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
49
+ function l(c, a, f) {
50
+ var d, h = {}, g = null, z = null;
51
+ f !== void 0 && (g = "" + f), a.key !== void 0 && (g = "" + a.key), a.ref !== void 0 && (z = a.ref);
52
+ for (d in a) o.call(a, d) && !s.hasOwnProperty(d) && (h[d] = a[d]);
53
+ if (c && c.defaultProps) for (d in a = c.defaultProps, a) h[d] === void 0 && (h[d] = a[d]);
54
+ return { $$typeof: r, type: c, key: g, ref: z, props: h, _owner: i.current };
55
55
  }
56
- return fe.Fragment = n, fe.jsx = l, fe.jsxs = l, fe;
56
+ return ge.Fragment = n, ge.jsx = l, ge.jsxs = l, ge;
57
57
  }
58
58
  pt.exports = Xt();
59
59
  var t = pt.exports;
@@ -64,7 +64,7 @@ async function Gt(e) {
64
64
  return await r.json();
65
65
  }
66
66
  const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
67
- const [r, n] = F({
67
+ const [r, n] = $({
68
68
  status: "pending",
69
69
  isSuccess: !1
70
70
  });
@@ -121,18 +121,18 @@ const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
121
121
  children: r
122
122
  }
123
123
  );
124
- }, ft = 500, Pe = 0.75, Ne = 1 + Pe * 2;
124
+ }, gt = 500, Ae = 0.75, Ee = 1 + Ae * 2;
125
125
  function ae(e, r, n) {
126
126
  return Math.min(Math.max(e, r), n);
127
127
  }
128
- const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le(null), te = () => {
129
- const e = _e(gt);
128
+ const Ne = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, ft = Le(null), te = () => {
129
+ const e = _e(ft);
130
130
  if (!e)
131
131
  throw new Error(
132
132
  "useGlobalContext must be used within a GlobalContextProvider"
133
133
  );
134
134
  return e;
135
- }, Kt = ({ children: e, ...r }) => /* @__PURE__ */ t.jsx(gt.Provider, { value: r, children: e }), vt = Le(null), q = () => {
135
+ }, Kt = ({ children: e, ...r }) => /* @__PURE__ */ t.jsx(ft.Provider, { value: r, children: e }), vt = Le(null), q = () => {
136
136
  const e = _e(vt);
137
137
  if (!e)
138
138
  throw new Error(
@@ -148,54 +148,54 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
148
148
  preventFullScreen: o,
149
149
  requestFullscreen: i,
150
150
  exitFullscreen: s
151
- } = te(), { categories: l, items: d } = ee(), a = T(() => d.map(() => null), [d]), [g, c] = F(a), f = T(
152
- (O, de) => {
153
- c(
154
- (ye) => ye.map((Re, pe) => pe === O ? de : Re)
151
+ } = te(), { categories: l, items: c } = ee(), a = T(() => c.map(() => null), [c]), [f, d] = $(a), h = T(
152
+ (P, de) => {
153
+ d(
154
+ (ye) => ye.map((He, pe) => pe === P ? de : He)
155
155
  );
156
156
  },
157
157
  []
158
- ), [p, M] = F(0), [u, h] = F(null), j = u ?? p, N = d[j], E = g[j], [w, k] = F(null), y = T(() => k(null), []), I = T(() => {
159
- if (w || u !== null)
158
+ ), [g, z] = $(0), [u, p] = $(null), j = u ?? g, C = c[j], E = f[j], [x, k] = $(null), y = T(() => k(null), []), I = T(() => {
159
+ if (x || u !== null)
160
160
  return;
161
- const O = p - 1;
162
- O < 0 ? (k("first_to_last"), h(d.length - 1)) : h(O);
163
- }, [p, d.length, w, u]), v = T(() => {
164
- if (w || u !== null)
161
+ const P = g - 1;
162
+ P < 0 ? (k("first_to_last"), p(c.length - 1)) : p(P);
163
+ }, [g, c.length, x, u]), v = T(() => {
164
+ if (x || u !== null)
165
165
  return;
166
- const O = p + 1;
167
- O > d.length - 1 ? (k("last_to_first"), h(0)) : h(O);
168
- }, [p, d.length, w, u]), L = Q(() => {
169
- for (const O of l)
170
- if (O.items.includes(N))
171
- return O.id;
166
+ const P = g + 1;
167
+ P > c.length - 1 ? (k("last_to_first"), p(0)) : p(P);
168
+ }, [g, c.length, x, u]), L = Q(() => {
169
+ for (const P of l)
170
+ if (P.items.includes(C))
171
+ return P.id;
172
172
  throw new Error("Current item not found in any category");
173
- }, [l, N]), z = T(
174
- (O) => {
173
+ }, [l, C]), M = T(
174
+ (P) => {
175
175
  var de;
176
- const ye = (de = l.find(({ id: pe }) => pe === O)) == null ? void 0 : de.items[0];
176
+ const ye = (de = l.find(({ id: pe }) => pe === P)) == null ? void 0 : de.items[0];
177
177
  if (ye === void 0)
178
178
  throw new Error("Failed to find target category");
179
- const Re = d.findIndex((pe) => pe === ye);
180
- h(Re);
179
+ const He = c.findIndex((pe) => pe === ye);
180
+ p(He);
181
181
  },
182
- [l, d]
183
- ), C = Q(() => {
184
- var O;
185
- switch (N.type) {
182
+ [l, c]
183
+ ), N = Q(() => {
184
+ var P;
185
+ switch (C.type) {
186
186
  case "image":
187
- return !!((O = N.hotspots) != null && O.length);
187
+ return !!((P = C.hotspots) != null && P.length);
188
188
  case "360":
189
189
  return E !== null;
190
190
  case "video":
191
191
  case "omni_directional":
192
192
  return !1;
193
193
  }
194
- }, [N, E]), [S, H] = F(!0), R = T(() => {
195
- const O = !S;
196
- H(O), r(O ? lt : ct);
194
+ }, [C, E]), [S, R] = $(!0), H = T(() => {
195
+ const P = !S;
196
+ R(P), r(P ? lt : ct);
197
197
  }, [r, S]), U = Q(() => {
198
- switch (N.type) {
198
+ switch (C.type) {
199
199
  case "image":
200
200
  case "360":
201
201
  case "omni_directional":
@@ -203,11 +203,11 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
203
203
  case "video":
204
204
  return E !== "running";
205
205
  }
206
- }, [N, E]), [_, x] = F(!1), m = T(() => {
207
- const O = !_;
208
- x(O), r(O ? dt : ut);
209
- }, [r, _]), [b, V] = F(null), P = T(() => V(null), []), $ = !!b, D = Q(() => {
210
- switch (N.type) {
206
+ }, [C, E]), [_, w] = $(!1), m = T(() => {
207
+ const P = !_;
208
+ w(P), r(P ? dt : ut);
209
+ }, [r, _]), [b, V] = $(null), Z = T(() => V(null), []), F = !!b, D = Q(() => {
210
+ switch (C.type) {
211
211
  case "image":
212
212
  return !0;
213
213
  case "360":
@@ -216,25 +216,25 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
216
216
  case "omni_directional":
217
217
  return !1;
218
218
  }
219
- }, [N.type, E]), [X, G] = F(1), K = X !== 1, re = X < Ne, ne = X > 1, oe = T((O) => {
220
- G((de) => ae(de + O, 1, Ne));
221
- }, []), me = T(() => G(1), []), ze = T(() => oe(Pe), [oe]), Me = T(() => oe(-Pe), [oe]), Ie = T(() => {
222
- me(), P();
223
- }, [me, P]), [ie, Ht] = F(!1), [Te, De] = F(), [Ve, Ue] = F(!1), le = T(
224
- async (O) => {
225
- Ie(), Ht(O), r(O ? at : it);
219
+ }, [C.type, E]), [X, G] = $(1), K = X !== 1, re = X < Ee, ne = X > 1, oe = T((P) => {
220
+ G((de) => ae(de + P, 1, Ee));
221
+ }, []), me = T(() => G(1), []), ze = T(() => oe(Ae), [oe]), Me = T(() => oe(-Ae), [oe]), Ie = T(() => {
222
+ me(), Z();
223
+ }, [me, Z]), [ie, Rt] = $(!1), [Te, De] = $(), [Ve, Ue] = $(!1), le = T(
224
+ async (P) => {
225
+ Ie(), Rt(P), r(P ? at : it);
226
226
  },
227
227
  [r, Ie]
228
228
  ), ce = T(() => {
229
229
  clearTimeout(Te);
230
- const O = setTimeout(() => {
230
+ const P = setTimeout(() => {
231
231
  De(void 0);
232
- }, ft);
233
- De(O);
232
+ }, gt);
233
+ De(P);
234
234
  }, [Te]), Se = T(async () => {
235
235
  if (ce(), !o) {
236
- const O = await i();
237
- if (Ue(!O), O)
236
+ const P = await i();
237
+ if (Ue(!P), P)
238
238
  return;
239
239
  }
240
240
  le(!0);
@@ -243,16 +243,16 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
243
243
  le,
244
244
  i,
245
245
  ce
246
- ]), He = T(async () => {
246
+ ]), Re = T(async () => {
247
247
  ce(), !(!o && (Ue(!1), await s())) && le(!1);
248
248
  }, [
249
249
  o,
250
250
  le,
251
251
  s,
252
252
  ce
253
- ]), Rt = T(() => {
254
- ie ? He() : Se();
255
- }, [He, Se, ie]);
253
+ ]), Ht = T(() => {
254
+ ie ? Re() : Se();
255
+ }, [Re, Se, ie]);
256
256
  return A(() => {
257
257
  o || Ve && ie || n !== ie && (ce(), le(n));
258
258
  }, [
@@ -266,30 +266,30 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
266
266
  vt.Provider,
267
267
  {
268
268
  value: {
269
- setItemInteraction: f,
270
- slidable: d.length > 1,
271
- carrouselItemIndex: p,
272
- setCarrouselItemIndex: M,
269
+ setItemInteraction: h,
270
+ slidable: c.length > 1,
271
+ carrouselItemIndex: g,
272
+ setCarrouselItemIndex: z,
273
273
  itemIndexCommand: u,
274
- setItemIndexCommand: h,
274
+ setItemIndexCommand: p,
275
275
  masterItemIndex: j,
276
- cycling: w,
277
- isCycling: !!w,
276
+ cycling: x,
277
+ isCycling: !!x,
278
278
  finishCycling: y,
279
279
  prevImage: I,
280
280
  nextImage: v,
281
281
  displayedCategoryId: L,
282
- changeCategory: z,
283
- enableHotspotsControl: C,
282
+ changeCategory: M,
283
+ enableHotspotsControl: N,
284
284
  showHotspots: S,
285
- toggleHotspots: R,
285
+ toggleHotspots: H,
286
286
  showGalleryControls: U,
287
287
  showGallery: _,
288
288
  toggleGallery: m,
289
289
  shownDetails: b,
290
- isShowingDetails: $,
290
+ isShowingDetails: F,
291
291
  setShownDetails: V,
292
- resetShownDetails: P,
292
+ resetShownDetails: Z,
293
293
  showZoomControls: D,
294
294
  zoom: X,
295
295
  isZooming: K,
@@ -302,17 +302,17 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
302
302
  resetView: Ie,
303
303
  extendMode: ie,
304
304
  enableExtendMode: Se,
305
- disableExtendMode: He,
306
- toggleExtendMode: Rt,
305
+ disableExtendMode: Re,
306
+ toggleExtendMode: Ht,
307
307
  extendTransition: !!Te,
308
308
  fakeFullScreen: Ve
309
309
  },
310
310
  children: e
311
311
  }
312
312
  );
313
- }, wt = ["left", "center", "right", "fullW"], xt = ["top", "middle", "bottom", "fullH"], Qt = [
314
- ...wt,
313
+ }, xt = ["left", "center", "right", "fullW"], wt = ["top", "middle", "bottom", "fullH"], Qt = [
315
314
  ...xt,
315
+ ...wt,
316
316
  "top-left",
317
317
  "top-center",
318
318
  "top-right",
@@ -331,10 +331,10 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
331
331
  "fullW-fullW"
332
332
  ];
333
333
  function er(e) {
334
- return wt.includes(e);
334
+ return xt.includes(e);
335
335
  }
336
336
  function tr(e) {
337
- return xt.includes(e);
337
+ return wt.includes(e);
338
338
  }
339
339
  function rr(e) {
340
340
  return Qt.includes(e);
@@ -344,7 +344,7 @@ function nr(e) {
344
344
  throw new Error(`Invalid position: ${e}`);
345
345
  return tr(e) ? [e, void 0] : er(e) ? [void 0, e] : e.split("-");
346
346
  }
347
- function Z(...e) {
347
+ function O(...e) {
348
348
  return e.filter((r) => !!r).map((r) => r.trim()).join(" ");
349
349
  }
350
350
  function or(e) {
@@ -382,7 +382,7 @@ function ue(e) {
382
382
  const [r, n] = nr(e);
383
383
  return sr({ positionX: n, positionY: r });
384
384
  }
385
- const bt = Le(null), jt = () => _e(bt), $e = () => {
385
+ const bt = Le(null), jt = () => _e(bt), Fe = () => {
386
386
  const e = jt();
387
387
  if (!e)
388
388
  throw new Error(
@@ -390,36 +390,36 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
390
390
  );
391
391
  return e;
392
392
  }, ar = ({ children: e }) => {
393
- const [r, n] = F(
393
+ const [r, n] = $(
394
394
  /* @__PURE__ */ new Map()
395
395
  ), o = T(
396
396
  (l) => {
397
- const d = r.get(l);
398
- if (d)
399
- return d;
397
+ const c = r.get(l);
398
+ if (c)
399
+ return c;
400
400
  const a = document.querySelector(
401
- `${Fe}[name="${l}"]`
401
+ `${$e}[name="${l}"]`
402
402
  );
403
403
  if (!a)
404
404
  return;
405
- const g = a.getAttribute("color") ?? void 0, c = a.innerHTML, f = c ? /* @__PURE__ */ t.jsx(
405
+ const f = a.getAttribute("color") ?? void 0, d = a.innerHTML, h = d ? /* @__PURE__ */ t.jsx(
406
406
  "div",
407
407
  {
408
408
  className: "size-full",
409
- dangerouslySetInnerHTML: { __html: c }
409
+ dangerouslySetInnerHTML: { __html: d }
410
410
  }
411
411
  ) : void 0;
412
- if (!(!g && !f))
413
- return { Icon: f, color: g };
412
+ if (!(!f && !h))
413
+ return { Icon: h, color: f };
414
414
  },
415
415
  [r]
416
416
  ), i = T(
417
- (l, d) => {
418
- n((a) => new Map(a.set(l, d)));
417
+ (l, c) => {
418
+ n((a) => new Map(a.set(l, c)));
419
419
  },
420
420
  []
421
421
  ), s = T((l) => {
422
- n((d) => (d.delete(l), new Map(d)));
422
+ n((c) => (c.delete(l), new Map(c)));
423
423
  }, []);
424
424
  return /* @__PURE__ */ t.jsx(
425
425
  bt.Provider,
@@ -437,7 +437,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
437
437
  className: r = "",
438
438
  children: n
439
439
  }) => {
440
- const { getIconConfig: o } = $e(), i = o(e);
440
+ const { getIconConfig: o } = Fe(), i = o(e);
441
441
  return i ? /* @__PURE__ */ t.jsx(
442
442
  "div",
443
443
  {
@@ -483,11 +483,11 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
483
483
  children: i,
484
484
  ...s
485
485
  }) => {
486
- const l = lr[e][n], d = cr[r];
486
+ const l = lr[e][n], c = cr[r];
487
487
  return /* @__PURE__ */ t.jsx(
488
488
  "button",
489
489
  {
490
- className: `${l} ${d} flex items-center justify-center rounded-ui text-sm transition disabled:opacity-60 ${o}`,
490
+ className: `${l} ${c} flex items-center justify-center rounded-ui text-sm transition disabled:opacity-60 ${o}`,
491
491
  ...s,
492
492
  children: i
493
493
  }
@@ -508,7 +508,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
508
508
  sm: "size-4 border",
509
509
  md: "size-8 border-2",
510
510
  lg: "size-12 border-4"
511
- }, Et = ({
511
+ }, Nt = ({
512
512
  color: e = "neutral",
513
513
  size: r = "md"
514
514
  }) => {
@@ -519,7 +519,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
519
519
  className: `inline-block ${o} animate-rotation rounded-full ${n} border-b-transparent`
520
520
  }
521
521
  );
522
- }, we = ({
522
+ }, xe = ({
523
523
  src: e,
524
524
  imgInPlayerWidthRatio: r = 1,
525
525
  onlyThumbnail: n,
@@ -529,42 +529,42 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
529
529
  minImageWidth: i,
530
530
  maxImageWidth: s,
531
531
  imageLoadStrategy: l,
532
- playerInViewportWidthRatio: d
533
- } = te(), { imageHdWidth: a, imageSubWidths: g } = ee(), [c, f] = Q(() => {
534
- const p = g.concat(a).sort((h, j) => h - j).filter((h) => !(i && h < i || s && h > s));
535
- if (p.length === 0)
532
+ playerInViewportWidthRatio: c
533
+ } = te(), { imageHdWidth: a, imageSubWidths: f } = ee(), [d, h] = Q(() => {
534
+ const g = f.concat(a).sort((p, j) => p - j).filter((p) => !(i && p < i || s && p > s));
535
+ if (g.length === 0)
536
536
  throw new Error("No image widths available for the given constraints");
537
- const M = p.map((h) => `${h !== a ? Yt(e, h) : e} ${h}w`);
537
+ const z = g.map((p) => `${p !== a ? Yt(e, p) : e} ${p}w`);
538
538
  let u;
539
539
  if (n)
540
- u = [`${p.shift()}px`];
540
+ u = [`${g.shift()}px`];
541
541
  else {
542
- const h = 1 / (r * d);
542
+ const p = 1 / (r * c);
543
543
  if (l === "quality") {
544
- const j = p.pop();
545
- u = p.map(
546
- (N) => `(max-width: ${h * N}px) ${N}px`
544
+ const j = g.pop();
545
+ u = g.map(
546
+ (C) => `(max-width: ${p * C}px) ${C}px`
547
547
  ), u.push(`${j}px`);
548
548
  } else {
549
- const j = p.shift();
550
- u = p.reverse().map(
551
- (N) => `(min-width: ${h * N}px) ${N}px`
549
+ const j = g.shift();
550
+ u = g.reverse().map(
551
+ (C) => `(min-width: ${p * C}px) ${C}px`
552
552
  ), u.push(`${j}px`);
553
553
  }
554
554
  }
555
- return [M.join(", "), u.join(", ")];
555
+ return [z.join(", "), u.join(", ")];
556
556
  }, [
557
557
  a,
558
558
  l,
559
- g,
559
+ f,
560
560
  r,
561
561
  s,
562
562
  i,
563
563
  n,
564
- d,
564
+ c,
565
565
  e
566
566
  ]);
567
- return /* @__PURE__ */ t.jsx("img", { src: e, srcSet: c, sizes: f, ...o });
567
+ return /* @__PURE__ */ t.jsx("img", { src: e, srcSet: d, sizes: h, ...o });
568
568
  }, We = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_PLAY", children: /* @__PURE__ */ t.jsx(
569
569
  "svg",
570
570
  {
@@ -577,7 +577,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
577
577
  strokeLinejoin: "round",
578
578
  children: /* @__PURE__ */ t.jsx("polygon", { points: "6 3 20 12 6 21 6 3" })
579
579
  }
580
- ) }), Nt = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_360", children: /* @__PURE__ */ t.jsxs(
580
+ ) }), Et = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_360", children: /* @__PURE__ */ t.jsxs(
581
581
  "svg",
582
582
  {
583
583
  className: e,
@@ -639,7 +639,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
639
639
  return /* @__PURE__ */ t.jsx(
640
640
  "div",
641
641
  {
642
- className: Z(
642
+ className: O(
643
643
  "flex aspect-square h-3/4 items-center justify-center rounded-full bg-foreground/50 p-1",
644
644
  r && "large:h-3/5 large:p-2"
645
645
  ),
@@ -662,7 +662,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
662
662
  s = e.poster;
663
663
  break;
664
664
  }
665
- o = /* @__PURE__ */ t.jsx(we, { className: "size-full object-cover", src: s, onlyThumbnail: !0 });
665
+ o = /* @__PURE__ */ t.jsx(xe, { className: "size-full object-cover", src: s, onlyThumbnail: !0 });
666
666
  } else {
667
667
  const s = e.src;
668
668
  o = /* @__PURE__ */ t.jsx("img", { className: "size-full object-cover", src: s });
@@ -670,7 +670,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
670
670
  let i;
671
671
  switch (n) {
672
672
  case "360":
673
- i = /* @__PURE__ */ t.jsx(Be, { children: /* @__PURE__ */ t.jsx(Nt, { className: "size-full text-primary" }) });
673
+ i = /* @__PURE__ */ t.jsx(Be, { children: /* @__PURE__ */ t.jsx(Et, { className: "size-full text-primary" }) });
674
674
  break;
675
675
  case "video":
676
676
  i = /* @__PURE__ */ t.jsx(Be, { children: /* @__PURE__ */ t.jsx(We, { className: "size-full p-0.5 text-background" }) });
@@ -697,93 +697,93 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
697
697
  orientation: r = "horizontal"
698
698
  }) => {
699
699
  const n = pr[e], o = r === "horizontal" ? "h-px w-full" : "w-px h-full";
700
- return /* @__PURE__ */ t.jsx("div", { className: Z(n, o) });
700
+ return /* @__PURE__ */ t.jsx("div", { className: O(n, o) });
701
701
  }, _t = ({
702
702
  className: e = "",
703
703
  containerClassName: r = ""
704
704
  }) => {
705
- const { flatten: n, isFullScreen: o, permanentGallery: i } = te(), { categories: s, items: l, aspectRatioStyle: d } = ee(), {
705
+ const { flatten: n, isFullScreen: o, permanentGallery: i } = te(), { categories: s, items: l, aspectRatioStyle: c } = ee(), {
706
706
  extendMode: a,
707
- extendTransition: g,
708
- masterItemIndex: c,
709
- setItemIndexCommand: f,
710
- resetView: p
711
- } = q(), M = Q(() => {
707
+ extendTransition: f,
708
+ masterItemIndex: d,
709
+ setItemIndexCommand: h,
710
+ resetView: g
711
+ } = q(), z = Q(() => {
712
712
  if (n)
713
713
  return [];
714
714
  const v = new Array();
715
715
  let L = 0;
716
- for (let z = 0; z < s.length - 1; z++) {
717
- const C = s[z].items.length;
718
- v.push(L + C), L += C;
716
+ for (let M = 0; M < s.length - 1; M++) {
717
+ const N = s[M].items.length;
718
+ v.push(L + N), L += N;
719
719
  }
720
720
  return v;
721
- }, [s, n]), u = W(null), h = T(() => {
721
+ }, [s, n]), u = W(null), p = T(() => {
722
722
  if (!u.current)
723
723
  throw new Error("slider.current is null");
724
724
  return u.current;
725
- }, []), j = W(!1), N = W(
725
+ }, []), j = W(!1), C = W(
726
726
  null
727
- ), [E, w] = F(!1), k = T(
727
+ ), [E, x] = $(!1), k = T(
728
728
  (v, L) => {
729
- const z = h(), C = z.clientWidth, S = z.scrollWidth / l.length, H = (v + 1 / 2) * S - C / 2, R = z.scrollWidth - z.clientWidth;
730
- z.scrollTo({
731
- left: ae(H, 0, R),
729
+ const M = p(), N = M.clientWidth, S = M.scrollWidth / l.length, R = (v + 1 / 2) * S - N / 2, H = M.scrollWidth - M.clientWidth;
730
+ M.scrollTo({
731
+ left: ae(R, 0, H),
732
732
  behavior: L
733
733
  });
734
734
  },
735
- [l.length, h]
735
+ [l.length, p]
736
736
  );
737
737
  A(() => {
738
738
  const v = u.current;
739
739
  if (!v)
740
740
  return;
741
741
  const L = (S) => {
742
- S.preventDefault(), j.current = !0, N.current = {
742
+ S.preventDefault(), j.current = !0, C.current = {
743
743
  x: S.pageX - v.offsetLeft,
744
744
  scrollLeft: v.scrollLeft
745
745
  };
746
- }, z = (S) => {
746
+ }, M = (S) => {
747
747
  if (!j.current)
748
748
  return;
749
- if (N.current === null)
749
+ if (C.current === null)
750
750
  throw new Error("[onMouseMove] scrollStart is null");
751
- const H = S.pageX - v.offsetLeft - N.current.x;
752
- if (!E && Math.abs(H) < 5)
751
+ const R = S.pageX - v.offsetLeft - C.current.x;
752
+ if (!E && Math.abs(R) < 5)
753
753
  return;
754
- const R = N.current.scrollLeft - H;
755
- w(!0), requestAnimationFrame(() => {
756
- v.scrollLeft = R;
754
+ const H = C.current.scrollLeft - R;
755
+ x(!0), requestAnimationFrame(() => {
756
+ v.scrollLeft = H;
757
757
  });
758
- }, C = () => {
758
+ }, N = () => {
759
759
  j.current && (j.current = !1, requestAnimationFrame(() => {
760
- w(!1);
760
+ x(!1);
761
761
  }));
762
762
  };
763
- return v.addEventListener("mousedown", L), document.addEventListener("mousemove", z), document.addEventListener("mouseleave", C), document.addEventListener("mouseup", C), document.addEventListener("contextmenu", C), () => {
764
- v.removeEventListener("mousedown", L), document.removeEventListener("mousemove", z), document.removeEventListener("mouseleave", C), document.removeEventListener("mouseup", C), document.removeEventListener("contextmenu", C);
763
+ return v.addEventListener("mousedown", L), document.addEventListener("mousemove", M), document.addEventListener("mouseleave", N), document.addEventListener("mouseup", N), document.addEventListener("contextmenu", N), () => {
764
+ v.removeEventListener("mousedown", L), document.removeEventListener("mousemove", M), document.removeEventListener("mouseleave", N), document.removeEventListener("mouseup", N), document.removeEventListener("contextmenu", N);
765
765
  };
766
766
  }, [E]);
767
- const y = W(c);
767
+ const y = W(d);
768
768
  A(() => {
769
- u.current && (k(c, "smooth"), y.current = c);
770
- }, [c, k]), A(() => {
769
+ u.current && (k(d, "smooth"), y.current = d);
770
+ }, [d, k]), A(() => {
771
771
  u.current && k(y.current, "instant");
772
772
  }, [
773
773
  k,
774
774
  // - Run the effect when those values change
775
775
  o,
776
776
  a,
777
- g
777
+ f
778
778
  ]);
779
779
  const I = (v, L) => {
780
- E || (f(L), p());
780
+ E || (h(L), g());
781
781
  };
782
782
  return /* @__PURE__ */ t.jsx(
783
783
  "div",
784
784
  {
785
785
  ref: u,
786
- className: Z(
786
+ className: O(
787
787
  "relative w-full overflow-x-auto no-scrollbar",
788
788
  E ? "cursor-grab" : "cursor-grabbing",
789
789
  e
@@ -791,13 +791,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
791
791
  children: /* @__PURE__ */ t.jsx(
792
792
  "div",
793
793
  {
794
- className: Z(
794
+ className: O(
795
795
  "flex h-10 w-fit gap-1 small:h-12 small:gap-2",
796
796
  a && "large:h-20 large:gap-4",
797
797
  r
798
798
  ),
799
799
  children: l.map((v, L) => /* @__PURE__ */ t.jsxs(Ot, { children: [
800
- M.includes(L) && /* @__PURE__ */ t.jsx("div", { className: "my-2", children: /* @__PURE__ */ t.jsx(
800
+ z.includes(L) && /* @__PURE__ */ t.jsx("div", { className: "my-2", children: /* @__PURE__ */ t.jsx(
801
801
  Lt,
802
802
  {
803
803
  color: i && !o ? "neutral" : "background",
@@ -807,13 +807,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
807
807
  /* @__PURE__ */ t.jsx(
808
808
  "div",
809
809
  {
810
- className: Z(
810
+ className: O(
811
811
  "relative h-full rounded-gallery ",
812
812
  !E && "cursor-pointer",
813
813
  "after:absolute after:inset-0 after:rounded-gallery after:border-2 after:border-primary after:transition-opacity",
814
- L === c ? "after:opacity-100" : "after:opacity-0 hover:after:opacity-70"
814
+ L === d ? "after:opacity-100" : "after:opacity-0 hover:after:opacity-70"
815
815
  ),
816
- style: d,
816
+ style: c,
817
817
  onClick: () => I(v, L),
818
818
  children: /* @__PURE__ */ t.jsx(mr, { item: v })
819
819
  }
@@ -829,81 +829,81 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
829
829
  /* @__PURE__ */ t.jsx("span", { children: r + 1 })
830
830
  ] }), qe = (e, r) => Math.sqrt(
831
831
  (e.clientX - r.clientX) ** 2 + (e.clientY - r.clientY) ** 2
832
- ), fr = ({
832
+ ), gr = ({
833
833
  onlyPreload: e,
834
834
  ...r
835
835
  }) => {
836
- const { zoom: n, isZooming: o, setZoom: i } = q(), s = W(null), l = W(null), d = T((E) => {
836
+ const { zoom: n, isZooming: o, setZoom: i } = q(), s = W(null), l = W(null), c = T((E) => {
837
837
  if (!l.current)
838
838
  throw new Error(
839
839
  `[${E ?? "getTransformElementOrThrow"}] transformElementRef.current is null`
840
840
  );
841
841
  return l.current;
842
- }, []), a = W(!1), g = W(null), c = W(/* @__PURE__ */ new Map()), f = W({ x: 0, y: 0, scale: 1 }), p = W(null), M = T(
842
+ }, []), a = W(!1), f = W(null), d = W(/* @__PURE__ */ new Map()), h = W({ x: 0, y: 0, scale: 1 }), g = W(null), z = T(
843
843
  (E) => {
844
- const w = d("setTransformStyle"), {
844
+ const x = c("setTransformStyle"), {
845
845
  x: k,
846
846
  y,
847
847
  scale: I
848
848
  } = {
849
- ...f.current,
849
+ ...h.current,
850
850
  ...E
851
- }, v = ae(I, 1, Ne), L = w.clientWidth, z = w.clientHeight, C = L * v, S = z * v, H = ae(k, -(C - L), 0), R = ae(y, -(S - z), 0);
852
- f.current = { x: H, y: R, scale: v }, w.style.transform = `translate(${H}px, ${R}px) scale(${v})`;
851
+ }, v = ae(I, 1, Ee), L = x.clientWidth, M = x.clientHeight, N = L * v, S = M * v, R = ae(k, -(N - L), 0), H = ae(y, -(S - M), 0);
852
+ h.current = { x: R, y: H, scale: v }, x.style.transform = `translate(${R}px, ${H}px) scale(${v})`;
853
853
  },
854
- [d]
854
+ [c]
855
855
  ), u = T(
856
- (E, w) => {
856
+ (E, x) => {
857
857
  const {
858
858
  x: k,
859
859
  y,
860
860
  scale: I
861
- } = f.current, {
861
+ } = h.current, {
862
862
  x: v,
863
863
  y: L,
864
- scale: z
864
+ scale: M
865
865
  } = {
866
- ...f.current,
866
+ ...h.current,
867
867
  ...E
868
868
  };
869
- p.current && (cancelAnimationFrame(p.current), p.current = null);
870
- const C = () => {
871
- M({ x: v, y: L, scale: z }), i(z);
872
- }, S = Math.abs(v - k) < 1 && Math.abs(L - y) < 1 && Math.abs(z - I) < 5e-3;
873
- if (!w || S) {
874
- C();
869
+ g.current && (cancelAnimationFrame(g.current), g.current = null);
870
+ const N = () => {
871
+ z({ x: v, y: L, scale: M }), i(M);
872
+ }, S = Math.abs(v - k) < 1 && Math.abs(L - y) < 1 && Math.abs(M - I) < 5e-3;
873
+ if (!x || S) {
874
+ N();
875
875
  return;
876
876
  }
877
- const H = (/* @__PURE__ */ new Date()).getTime(), R = () => {
877
+ const R = (/* @__PURE__ */ new Date()).getTime(), H = () => {
878
878
  const U = () => {
879
- const _ = (/* @__PURE__ */ new Date()).getTime() - H;
880
- if (_ >= w) {
881
- C(), p.current = null;
879
+ const _ = (/* @__PURE__ */ new Date()).getTime() - R;
880
+ if (_ >= x) {
881
+ N(), g.current = null;
882
882
  return;
883
883
  }
884
- const x = Math.min(_ / w, 1), m = zt(x), b = Ee(k, v, m), V = Ee(y, L, m), P = Ee(I, z, m);
885
- M({ x: b, y: V, scale: P }), R();
884
+ const w = Math.min(_ / x, 1), m = zt(w), b = Ne(k, v, m), V = Ne(y, L, m), Z = Ne(I, M, m);
885
+ z({ x: b, y: V, scale: Z }), H();
886
886
  };
887
- p.current = requestAnimationFrame(U);
887
+ g.current = requestAnimationFrame(U);
888
888
  };
889
- R();
889
+ H();
890
890
  },
891
- [M, i]
892
- ), h = T(
893
- (E, w) => {
894
- let { x: k, y } = f.current;
891
+ [z, i]
892
+ ), p = T(
893
+ (E, x) => {
894
+ let { x: k, y } = h.current;
895
895
  E.x && (k += E.x), E.y && (y += E.y), u(
896
896
  {
897
897
  x: k,
898
898
  y
899
899
  },
900
- w
900
+ x
901
901
  );
902
902
  },
903
903
  [u]
904
904
  ), j = T(
905
- (E, w, k) => {
906
- const y = f.current.scale, I = ae(E, 1, Ne), v = I / y, { x: L, y: z } = f.current, { x: C, y: S } = w, H = -L + C, R = -z + S, U = H * v, _ = R * v, x = U - C, m = _ - S, b = -x, V = -m;
905
+ (E, x, k) => {
906
+ const y = h.current.scale, I = ae(E, 1, Ee), v = I / y, { x: L, y: M } = h.current, { x: N, y: S } = x, R = -L + N, H = -M + S, U = R * v, _ = H * v, w = U - N, m = _ - S, b = -w, V = -m;
907
907
  u(
908
908
  {
909
909
  x: b,
@@ -914,11 +914,11 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
914
914
  );
915
915
  },
916
916
  [u]
917
- ), N = T(
917
+ ), C = T(
918
918
  (E) => {
919
- const w = d(
919
+ const x = c(
920
920
  "shiftZoomFromButton"
921
- ), k = w.clientWidth, y = w.clientHeight;
921
+ ), k = x.clientWidth, y = x.clientHeight;
922
922
  j(
923
923
  E,
924
924
  {
@@ -928,115 +928,115 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
928
928
  200
929
929
  );
930
930
  },
931
- [d, j]
931
+ [c, j]
932
932
  );
933
933
  return A(() => {
934
- l.current && N(n);
935
- }, [N, n]), A(() => {
934
+ l.current && C(n);
935
+ }, [C, n]), A(() => {
936
936
  if (!o)
937
937
  return;
938
938
  const E = l.current;
939
939
  if (!E)
940
940
  return;
941
- const w = (I) => {
942
- I.preventDefault(), I.stopPropagation(), a.current = !0, g.current = {
941
+ const x = (I) => {
942
+ I.preventDefault(), I.stopPropagation(), a.current = !0, f.current = {
943
943
  x: I.clientX,
944
944
  y: I.clientY
945
945
  };
946
946
  }, k = (I) => {
947
947
  if (!a.current)
948
948
  return;
949
- if (!g.current)
949
+ if (!f.current)
950
950
  throw new Error("mouseStartXY.current is null");
951
951
  I.stopPropagation();
952
- const v = I.clientX - g.current.x, L = I.clientY - g.current.y;
953
- h({
952
+ const v = I.clientX - f.current.x, L = I.clientY - f.current.y;
953
+ p({
954
954
  x: v,
955
955
  y: L
956
- }), g.current = {
956
+ }), f.current = {
957
957
  x: I.clientX,
958
958
  y: I.clientY
959
959
  };
960
960
  }, y = () => {
961
961
  a.current = !1;
962
962
  };
963
- return E.addEventListener("mousedown", w), document.addEventListener("mousemove", k), document.addEventListener("mouseleave", y), document.addEventListener("mouseup", y), document.addEventListener("contextmenu", y), () => {
964
- E.removeEventListener("mousedown", w), document.removeEventListener("mousemove", k), document.removeEventListener("mouseleave", y), document.removeEventListener("mouseup", y), document.removeEventListener("contextmenu", y);
963
+ return E.addEventListener("mousedown", x), document.addEventListener("mousemove", k), document.addEventListener("mouseleave", y), document.addEventListener("mouseup", y), document.addEventListener("contextmenu", y), () => {
964
+ E.removeEventListener("mousedown", x), document.removeEventListener("mousemove", k), document.removeEventListener("mouseleave", y), document.removeEventListener("mouseup", y), document.removeEventListener("contextmenu", y);
965
965
  };
966
- }, [o, h]), A(() => {
966
+ }, [o, p]), A(() => {
967
967
  const E = s.current;
968
968
  if (!E)
969
969
  return;
970
- const w = (k) => {
971
- const { ctrlKey: y, clientX: I, clientY: v, deltaX: L, deltaY: z } = k;
970
+ const x = (k) => {
971
+ const { ctrlKey: y, clientX: I, clientY: v, deltaX: L, deltaY: M } = k;
972
972
  if (y) {
973
- if (!o && z >= 0)
973
+ if (!o && M >= 0)
974
974
  return;
975
- const { left: C, top: S } = E.getBoundingClientRect(), H = I - C, R = v - S;
976
- j(n - 0.01 * z, {
977
- x: H,
978
- y: R
975
+ const { left: N, top: S } = E.getBoundingClientRect(), R = I - N, H = v - S;
976
+ j(n - 0.01 * M, {
977
+ x: R,
978
+ y: H
979
979
  });
980
980
  } else {
981
981
  if (!o)
982
982
  return;
983
- h({
983
+ p({
984
984
  x: -2 * L,
985
- y: -2 * z
985
+ y: -2 * M
986
986
  });
987
987
  }
988
988
  k.preventDefault();
989
989
  };
990
- return E.addEventListener("wheel", w), () => {
991
- E.removeEventListener("wheel", w);
990
+ return E.addEventListener("wheel", x), () => {
991
+ E.removeEventListener("wheel", x);
992
992
  };
993
- }, [o, h, j, n]), A(() => {
994
- const E = s.current, w = l.current;
995
- if (!E || !w)
993
+ }, [o, p, j, n]), A(() => {
994
+ const E = s.current, x = l.current;
995
+ if (!E || !x)
996
996
  return;
997
- const k = c.current, y = (L) => {
998
- for (let z = 0; z < L.changedTouches.length; z++) {
999
- const C = L.changedTouches[z];
1000
- k.set(C.identifier, C);
997
+ const k = d.current, y = (L) => {
998
+ for (let M = 0; M < L.changedTouches.length; M++) {
999
+ const N = L.changedTouches[M];
1000
+ k.set(N.identifier, N);
1001
1001
  }
1002
1002
  }, I = (L) => {
1003
- for (let z = 0; z < L.changedTouches.length; z++) {
1004
- const C = L.changedTouches[z];
1005
- k.delete(C.identifier);
1003
+ for (let M = 0; M < L.changedTouches.length; M++) {
1004
+ const N = L.changedTouches[M];
1005
+ k.delete(N.identifier);
1006
1006
  }
1007
1007
  }, v = (L) => {
1008
- const z = L.touches.length;
1009
- if (z === 1) {
1008
+ const M = L.touches.length;
1009
+ if (M === 1) {
1010
1010
  if (!o)
1011
1011
  return;
1012
1012
  L.preventDefault();
1013
- const C = L.touches[0], S = k.get(C.identifier);
1013
+ const N = L.touches[0], S = k.get(N.identifier);
1014
1014
  if (!S)
1015
1015
  throw new Error("touchStart is null");
1016
- const H = C.clientX - S.clientX, R = C.clientY - S.clientY;
1017
- h({
1018
- x: H,
1019
- y: R
1020
- }), k.set(C.identifier, C);
1021
- } else if (z === 2) {
1016
+ const R = N.clientX - S.clientX, H = N.clientY - S.clientY;
1017
+ p({
1018
+ x: R,
1019
+ y: H
1020
+ }), k.set(N.identifier, N);
1021
+ } else if (M === 2) {
1022
1022
  L.preventDefault();
1023
- const [C, S] = L.touches, H = k.get(C.identifier), R = k.get(S.identifier);
1024
- if (!H || !R)
1023
+ const [N, S] = L.touches, R = k.get(N.identifier), H = k.get(S.identifier);
1024
+ if (!R || !H)
1025
1025
  throw new Error("intialTouch1 or intialTouch2 is null");
1026
1026
  const U = qe(
1027
- H,
1028
- R
1029
- ), _ = qe(C, S) / U, { left: x, top: m } = E.getBoundingClientRect();
1027
+ R,
1028
+ H
1029
+ ), _ = qe(N, S) / U, { left: w, top: m } = E.getBoundingClientRect();
1030
1030
  j(_ * n, {
1031
- x: (C.clientX + S.clientX) / 2 - x,
1032
- y: (C.clientY + S.clientY) / 2 - m
1033
- }), k.set(C.identifier, C), k.set(S.identifier, S);
1031
+ x: (N.clientX + S.clientX) / 2 - w,
1032
+ y: (N.clientY + S.clientY) / 2 - m
1033
+ }), k.set(N.identifier, N), k.set(S.identifier, S);
1034
1034
  }
1035
1035
  };
1036
- return w.addEventListener("touchstart", y), w.addEventListener("touchmove", v), w.addEventListener("touchend", I), w.addEventListener("touchcancel", I), () => {
1037
- w.removeEventListener("touchstart", y), w.removeEventListener("touchmove", v), w.removeEventListener("touchend", I), w.removeEventListener("touchcancel", I);
1036
+ return x.addEventListener("touchstart", y), x.addEventListener("touchmove", v), x.addEventListener("touchend", I), x.addEventListener("touchcancel", I), () => {
1037
+ x.removeEventListener("touchstart", y), x.removeEventListener("touchmove", v), x.removeEventListener("touchend", I), x.removeEventListener("touchcancel", I);
1038
1038
  };
1039
- }, [o, h, j, n]), /* @__PURE__ */ t.jsx(
1039
+ }, [o, p, j, n]), /* @__PURE__ */ t.jsx(
1040
1040
  "div",
1041
1041
  {
1042
1042
  ref: s,
@@ -1047,7 +1047,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1047
1047
  ref: l,
1048
1048
  className: "origin-top-left",
1049
1049
  children: /* @__PURE__ */ t.jsx(
1050
- we,
1050
+ xe,
1051
1051
  {
1052
1052
  ...r,
1053
1053
  imgInPlayerWidthRatio: e ? 1 : n
@@ -1057,15 +1057,15 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1057
1057
  )
1058
1058
  }
1059
1059
  );
1060
- }, gr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_IMAGE", children: /* @__PURE__ */ t.jsx("svg", { className: e, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ t.jsx(
1060
+ }, fr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_IMAGE", children: /* @__PURE__ */ t.jsx("svg", { className: e, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ t.jsx(
1061
1061
  "path",
1062
1062
  {
1063
1063
  d: "M9.5 2.5V9.5H2.5V2.5H9.5ZM9.5 1.5H2.5C1.95 1.5 1.5 1.95 1.5 2.5V9.5C1.5 10.05 1.95 10.5 2.5 10.5H9.5C10.05 10.5 10.5 10.05 10.5 9.5V2.5C10.5 1.95 10.05 1.5 9.5 1.5ZM7.07 5.93L5.57 7.865L4.5 6.57L3 8.5H9L7.07 5.93Z",
1064
1064
  fill: "currentColor"
1065
1065
  }
1066
1066
  ) }) }), vr = ({ hotspot: e }) => {
1067
- const { title: r, icon: n, description: o, position: i, detail: s } = e, { getIconConfig: l } = $e(), d = n ? l(n) : void 0, { setShownDetails: a } = q(), g = !!s, c = (s == null ? void 0 : s.type) === "image", f = c ? /* @__PURE__ */ t.jsx(gr, { className: "size-4" }) : /* @__PURE__ */ t.jsx("div", { className: "size-1" }), p = () => {
1068
- c && a({
1067
+ const { title: r, icon: n, description: o, position: i, detail: s } = e, { getIconConfig: l } = Fe(), c = n ? l(n) : void 0, { extendMode: a, setShownDetails: f } = q(), d = !!s, h = (s == null ? void 0 : s.type) === "image", g = !!r || !!o, z = h ? /* @__PURE__ */ t.jsx(fr, { className: "size-4" }) : /* @__PURE__ */ t.jsx("div", { className: "size-1" }), u = () => {
1068
+ h && f({
1069
1069
  src: s.src,
1070
1070
  title: r,
1071
1071
  text: o
@@ -1074,18 +1074,21 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1074
1074
  return /* @__PURE__ */ t.jsxs(
1075
1075
  "div",
1076
1076
  {
1077
- className: `group absolute z-hotspot -translate-x-1/2 -translate-y-1/2 ${g ? "cursor-pointer" : "cursor-help"} hover:z-hotspot-hover`,
1077
+ className: O(
1078
+ "group absolute z-hotspot -translate-x-1/2 -translate-y-1/2 hover:z-hotspot-hover",
1079
+ d ? "cursor-pointer" : "cursor-help"
1080
+ ),
1078
1081
  style: {
1079
1082
  top: `${100 * e.position.y}%`,
1080
1083
  left: `${100 * e.position.x}%`
1081
1084
  },
1082
- onClick: p,
1085
+ onClick: u,
1083
1086
  children: [
1084
1087
  /* @__PURE__ */ t.jsxs(
1085
1088
  "div",
1086
1089
  {
1087
1090
  className: "relative flex items-center justify-center rounded-full border-2 border-background bg-primary text-primary-foreground",
1088
- style: { backgroundColor: d == null ? void 0 : d.color },
1091
+ style: { backgroundColor: c == null ? void 0 : c.color },
1089
1092
  children: [
1090
1093
  /* @__PURE__ */ t.jsx(
1091
1094
  "div",
@@ -1093,21 +1096,22 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1093
1096
  className: "pointer-events-none absolute -z-20 size-8 animate-hotspot-ping rounded-full border-2 border-background"
1094
1097
  }
1095
1098
  ),
1096
- d != null && d.Icon ? /* @__PURE__ */ t.jsx("div", { className: "size-5", children: d.Icon }) : /* @__PURE__ */ t.jsx("div", { className: "p-1", children: f })
1099
+ c != null && c.Icon ? /* @__PURE__ */ t.jsx("div", { className: "size-5", children: c.Icon }) : /* @__PURE__ */ t.jsx("div", { className: "p-1", children: z })
1097
1100
  ]
1098
1101
  }
1099
1102
  ),
1100
- !c && o && /* @__PURE__ */ t.jsx(
1103
+ !h && g && /* @__PURE__ */ t.jsx(
1101
1104
  "div",
1102
1105
  {
1103
- className: Z(
1104
- "absolute -z-10 w-max max-w-40 rounded-ui-lg bg-background p-2 pl-6 small:max-w-48 small:pl-8",
1105
- i.y < 0.55 ? "-top-0.5" : "-bottom-0.5",
1106
- i.x < 0.55 ? "-left-0.5" : "-right-0.5",
1106
+ className: O(
1107
+ "absolute -z-10 w-max max-w-40 text-pretty rounded-ui bg-background p-2 small:max-w-48",
1108
+ a && "large:max-w-56",
1109
+ i.y < 0.55 ? "-top-1" : "-bottom-1",
1110
+ i.x < 0.55 ? "-left-1 pl-6 small:pl-8" : "-right-1 pr-4 small:pr-6",
1107
1111
  "pointer-events-none opacity-0 transition-opacity duration-300 group-hover:pointer-events-auto group-hover:opacity-100"
1108
1112
  ),
1109
1113
  children: /* @__PURE__ */ t.jsxs("div", { className: "space-y-1", children: [
1110
- /* @__PURE__ */ t.jsx("div", { className: "text-sm", children: r }),
1114
+ r && /* @__PURE__ */ t.jsx("div", { className: "text-sm", children: r }),
1111
1115
  o && /* @__PURE__ */ t.jsx("div", { className: "text-xs", children: o })
1112
1116
  ] })
1113
1117
  }
@@ -1115,7 +1119,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1115
1119
  ]
1116
1120
  }
1117
1121
  );
1118
- }, wr = ({ hotspot: e }) => {
1122
+ }, xr = ({ hotspot: e }) => {
1119
1123
  const { icon: r, detail: n } = e;
1120
1124
  let o;
1121
1125
  switch (r) {
@@ -1152,158 +1156,158 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1152
1156
  }
1153
1157
  }, Mt = ({ className: e, hotspots: r, ...n }) => {
1154
1158
  const { isShowingDetails: o, showHotspots: i } = q();
1155
- return /* @__PURE__ */ t.jsx("div", { className: Z("relative size-full overflow-hidden", e), children: /* @__PURE__ */ t.jsxs(
1159
+ return /* @__PURE__ */ t.jsx("div", { className: O("relative size-full overflow-hidden", e), children: /* @__PURE__ */ t.jsxs(
1156
1160
  "div",
1157
1161
  {
1158
1162
  className: `size-full duration-details ${o ? "scale-105" : "scale-100"}`,
1159
1163
  children: [
1160
- /* @__PURE__ */ t.jsx(fr, { className: "size-full", ...n }),
1161
- i && (r == null ? void 0 : r.map((s, l) => /* @__PURE__ */ t.jsx(wr, { hotspot: s }, l)))
1164
+ /* @__PURE__ */ t.jsx(gr, { className: "size-full", ...n }),
1165
+ i && (r == null ? void 0 : r.map((s, l) => /* @__PURE__ */ t.jsx(xr, { hotspot: s }, l)))
1162
1166
  ]
1163
1167
  }
1164
1168
  ) });
1165
- }, xr = ({ item: { src: e } }) => /* @__PURE__ */ t.jsx("img", { className: "size-full", src: e, alt: "" }, e), ge = 10, yr = 15, br = ({
1169
+ }, wr = ({ item: { src: e } }) => /* @__PURE__ */ t.jsx("img", { className: "size-full", src: e, alt: "" }, e), fe = 10, yr = 15, br = ({
1166
1170
  images: e,
1167
1171
  onlyPreload: r
1168
1172
  }) => {
1169
- const { reverse360: n } = te(), { isShowingDetails: o, isZooming: i } = q(), s = i || o, l = W(null), d = W(null), [a, g] = F(0), c = e.length, f = T(() => {
1170
- g((M) => (M - 1 + c) % c);
1171
- }, [c]), p = T(() => {
1172
- g((M) => (M + 1) % c);
1173
- }, [c]);
1173
+ const { reverse360: n } = te(), { isShowingDetails: o, isZooming: i } = q(), s = i || o, l = W(null), c = W(null), [a, f] = $(0), d = e.length, h = T(() => {
1174
+ f((z) => (z - 1 + d) % d);
1175
+ }, [d]), g = T(() => {
1176
+ f((z) => (z + 1) % d);
1177
+ }, [d]);
1174
1178
  return A(() => {
1175
1179
  if (s)
1176
1180
  return;
1177
- const M = l.current, u = d.current;
1178
- if (!M || !u)
1181
+ const z = l.current, u = c.current;
1182
+ if (!z || !u)
1179
1183
  return;
1180
- let h = null, j = [], N = null;
1181
- const E = (x) => {
1182
- j.push(x), j.length > 20 && j.shift();
1183
- }, w = () => {
1184
- const x = Date.now(), m = (() => {
1185
- const $ = Date.now(), D = j.filter(
1186
- (K) => $ - K.timestamp < 50
1184
+ let p = null, j = [], C = null;
1185
+ const E = (w) => {
1186
+ j.push(w), j.length > 20 && j.shift();
1187
+ }, x = () => {
1188
+ const w = Date.now(), m = (() => {
1189
+ const F = Date.now(), D = j.filter(
1190
+ (K) => F - K.timestamp < 50
1187
1191
  );
1188
1192
  if (D.length < 2)
1189
1193
  return 0;
1190
1194
  const X = D[0], G = D[D.length - 1];
1191
1195
  return (G.value - X.value) / (1e-3 * Math.max(G.timestamp - X.timestamp, 1));
1192
1196
  })();
1193
- let b = 0, V = x;
1194
- const P = () => {
1195
- N = requestAnimationFrame(() => {
1196
- const $ = Date.now(), D = ($ - x) / 1e3, X = Math.pow(0.05, D), G = m * X, K = ($ - V) / 1e3;
1197
- if (b += G * K, Math.abs(G) < 5 * ge && Math.abs(b) < ge) {
1198
- N = null;
1197
+ let b = 0, V = w;
1198
+ const Z = () => {
1199
+ C = requestAnimationFrame(() => {
1200
+ const F = Date.now(), D = (F - w) / 1e3, X = Math.pow(0.05, D), G = m * X, K = (F - V) / 1e3;
1201
+ if (b += G * K, Math.abs(G) < 5 * fe && Math.abs(b) < fe) {
1202
+ C = null;
1199
1203
  return;
1200
1204
  }
1201
- Math.abs(b) >= ge && (b > 0 !== n ? p() : f(), b = 0), V = $, P();
1205
+ Math.abs(b) >= fe && (b > 0 !== n ? g() : h(), b = 0), V = F, Z();
1202
1206
  });
1203
1207
  };
1204
- P();
1208
+ Z();
1205
1209
  }, k = () => {
1206
- N && (cancelAnimationFrame(N), N = null);
1207
- }, y = (x) => {
1208
- if (x.button !== 0)
1210
+ C && (cancelAnimationFrame(C), C = null);
1211
+ }, y = (w) => {
1212
+ if (w.button !== 0)
1209
1213
  return;
1210
- x.preventDefault(), x.stopPropagation(), k();
1211
- const m = x.clientX;
1212
- h = m, j = [{ timestamp: Date.now(), value: m }];
1213
- }, I = (x) => {
1214
- if (h === null)
1214
+ w.preventDefault(), w.stopPropagation(), k();
1215
+ const m = w.clientX;
1216
+ p = m, j = [{ timestamp: Date.now(), value: m }];
1217
+ }, I = (w) => {
1218
+ if (p === null)
1215
1219
  return;
1216
- x.stopPropagation();
1217
- const { clientX: m } = x;
1220
+ w.stopPropagation();
1221
+ const { clientX: m } = w;
1218
1222
  E({ timestamp: Date.now(), value: m });
1219
- const b = m - h;
1220
- Math.abs(b) < ge || (b > 0 !== n ? p() : f(), h = m);
1223
+ const b = m - p;
1224
+ Math.abs(b) < fe || (b > 0 !== n ? g() : h(), p = m);
1221
1225
  }, v = () => {
1222
- h !== null && (h = null, w());
1226
+ p !== null && (p = null, x());
1223
1227
  };
1224
- M.addEventListener("mousedown", y), document.addEventListener("mousemove", I), document.addEventListener("mouseleave", v), document.addEventListener("mouseup", v), document.addEventListener("contextmenu", v);
1225
- const L = () => u.getBoundingClientRect().width, z = () => u.scrollWidth / 2 - L() / 2, C = () => {
1226
- const x = z();
1227
- u.scrollLeft = x;
1228
+ z.addEventListener("mousedown", y), document.addEventListener("mousemove", I), document.addEventListener("mouseleave", v), document.addEventListener("mouseup", v), document.addEventListener("contextmenu", v);
1229
+ const L = () => u.getBoundingClientRect().width, M = () => u.scrollWidth / 2 - L() / 2, N = () => {
1230
+ const w = M();
1231
+ u.scrollLeft = w;
1228
1232
  };
1229
- C();
1233
+ N();
1230
1234
  const S = () => {
1231
- const x = u.scrollLeft - z();
1232
- Math.abs(x) < yr || (x < 0 !== n ? p() : f(), C());
1235
+ const w = u.scrollLeft - M();
1236
+ Math.abs(w) < yr || (w < 0 !== n ? g() : h(), N());
1233
1237
  };
1234
1238
  u.addEventListener("scroll", S);
1235
- let H = null;
1236
- const R = (x) => {
1237
- if (H !== null || x.changedTouches.length !== 1)
1239
+ let R = null;
1240
+ const H = (w) => {
1241
+ if (R !== null || w.changedTouches.length !== 1)
1238
1242
  return;
1239
1243
  k();
1240
- const { identifier: m, clientX: b } = x.changedTouches[0];
1241
- H = m, h = b, j = [{ timestamp: Date.now(), value: b }];
1242
- }, U = (x) => {
1243
- if (!h)
1244
+ const { identifier: m, clientX: b } = w.changedTouches[0];
1245
+ R = m, p = b, j = [{ timestamp: Date.now(), value: b }];
1246
+ }, U = (w) => {
1247
+ if (!p)
1244
1248
  return;
1245
- const m = Array.from(x.changedTouches).find(
1246
- ({ identifier: P }) => P === H
1249
+ const m = Array.from(w.changedTouches).find(
1250
+ ({ identifier: Z }) => Z === R
1247
1251
  );
1248
1252
  if (!m)
1249
1253
  return;
1250
- x.preventDefault();
1254
+ w.preventDefault();
1251
1255
  const { clientX: b } = m;
1252
1256
  E({ timestamp: Date.now(), value: b });
1253
- const V = b - h;
1254
- Math.abs(V) < ge || (V > 0 !== n ? p() : f(), h = b);
1255
- }, _ = (x) => {
1256
- !h || !Array.from(x.changedTouches).some(
1257
- ({ identifier: m }) => m === H
1258
- ) || (H = null, h = null, w());
1257
+ const V = b - p;
1258
+ Math.abs(V) < fe || (V > 0 !== n ? g() : h(), p = b);
1259
+ }, _ = (w) => {
1260
+ !p || !Array.from(w.changedTouches).some(
1261
+ ({ identifier: m }) => m === R
1262
+ ) || (R = null, p = null, x());
1259
1263
  };
1260
- return u.addEventListener("touchstart", R), u.addEventListener("touchmove", U), u.addEventListener("touchend", _), u.addEventListener("touchcancel", _), () => {
1261
- M.removeEventListener("mousedown", y), document.removeEventListener("mousemove", I), document.removeEventListener("mouseleave", v), document.removeEventListener("mouseup", v), document.removeEventListener("contextmenu", v), u.removeEventListener("scroll", S), u.removeEventListener("touchstart", R), u.removeEventListener("touchmove", U), u.removeEventListener("touchend", _), u.removeEventListener("touchcancel", _);
1264
+ return u.addEventListener("touchstart", H), u.addEventListener("touchmove", U), u.addEventListener("touchend", _), u.addEventListener("touchcancel", _), () => {
1265
+ z.removeEventListener("mousedown", y), document.removeEventListener("mousemove", I), document.removeEventListener("mouseleave", v), document.removeEventListener("mouseup", v), document.removeEventListener("contextmenu", v), u.removeEventListener("scroll", S), u.removeEventListener("touchstart", H), u.removeEventListener("touchmove", U), u.removeEventListener("touchend", _), u.removeEventListener("touchcancel", _);
1262
1266
  };
1263
- }, [p, f, s, n]), /* @__PURE__ */ t.jsx("div", { ref: l, className: "cursor-ew-resize", children: /* @__PURE__ */ t.jsxs("div", { ref: d, className: "overflow-x-scroll no-scrollbar", children: [
1264
- /* @__PURE__ */ t.jsx("div", { className: "sticky left-0 top-0", children: e.map((M, u) => /* @__PURE__ */ t.jsx(
1267
+ }, [g, h, s, n]), /* @__PURE__ */ t.jsx("div", { ref: l, className: "cursor-ew-resize", children: /* @__PURE__ */ t.jsxs("div", { ref: c, className: "overflow-x-scroll no-scrollbar", children: [
1268
+ /* @__PURE__ */ t.jsx("div", { className: "sticky left-0 top-0", children: e.map((z, u) => /* @__PURE__ */ t.jsx(
1265
1269
  Mt,
1266
1270
  {
1267
- ...M,
1268
- className: Z(
1271
+ ...z,
1272
+ className: O(
1269
1273
  u !== a && "pointer-events-none !absolute left-0 top-0 -z-10"
1270
1274
  ),
1271
1275
  onlyPreload: u !== a || r
1272
1276
  },
1273
- M.src
1277
+ z.src
1274
1278
  )) }),
1275
1279
  /* @__PURE__ */ t.jsx("div", { className: "pointer-events-none -mt-px h-px w-[calc(100%+1024px)]" })
1276
1280
  ] }) });
1277
1281
  }, jr = ({ images: e, onReady: r, onError: n }) => {
1278
- const o = Q(() => e.map(({ src: g }) => g), [e]), [i, s] = F(null), l = i ? [...i.values()].filter((g) => g).length / e.length * 100 : null, d = T(() => {
1279
- l === null && s(new Map(o.map((g) => [g, !1])));
1280
- }, [o, l]), a = T((g) => {
1281
- s((c) => {
1282
- const f = new Map(c);
1283
- return f.set(g, !0), f;
1282
+ const o = Q(() => e.map(({ src: f }) => f), [e]), [i, s] = $(null), l = i ? [...i.values()].filter((f) => f).length / e.length * 100 : null, c = T(() => {
1283
+ l === null && s(new Map(o.map((f) => [f, !1])));
1284
+ }, [o, l]), a = T((f) => {
1285
+ s((d) => {
1286
+ const h = new Map(d);
1287
+ return h.set(f, !0), h;
1284
1288
  });
1285
1289
  }, []);
1286
1290
  return A(() => {
1287
1291
  l === 100 && r();
1288
1292
  }, [l, r]), /* @__PURE__ */ t.jsxs("div", { className: "relative size-full", children: [
1289
1293
  l !== null && l !== 100 && // Add images to DOM to preload them
1290
- /* @__PURE__ */ t.jsx("div", { className: "hidden", children: o.map((g) => /* @__PURE__ */ t.jsx(
1291
- we,
1294
+ /* @__PURE__ */ t.jsx("div", { className: "hidden", children: o.map((f) => /* @__PURE__ */ t.jsx(
1295
+ xe,
1292
1296
  {
1293
- src: g,
1294
- onLoad: () => a(g),
1297
+ src: f,
1298
+ onLoad: () => a(f),
1295
1299
  onError: n
1296
1300
  },
1297
- g
1301
+ f
1298
1302
  )) }),
1299
- /* @__PURE__ */ t.jsx(we, { className: "size-full", src: o[0] }),
1303
+ /* @__PURE__ */ t.jsx(xe, { className: "size-full", src: o[0] }),
1300
1304
  /* @__PURE__ */ t.jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35", children: [
1301
- /* @__PURE__ */ t.jsx(Nt, { className: "size-20 text-primary" }),
1302
- /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", onClick: d, children: /* @__PURE__ */ t.jsx(We, { className: "size-full" }) }),
1305
+ /* @__PURE__ */ t.jsx(Et, { className: "size-20 text-primary" }),
1306
+ /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", onClick: c, children: /* @__PURE__ */ t.jsx(We, { className: "size-full" }) }),
1303
1307
  /* @__PURE__ */ t.jsx(
1304
1308
  "div",
1305
1309
  {
1306
- className: Z(
1310
+ className: O(
1307
1311
  "relative h-1 w-3/5 overflow-hidden rounded-full bg-background",
1308
1312
  l === null && "invisible"
1309
1313
  ),
@@ -1319,7 +1323,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1319
1323
  ] })
1320
1324
  ] });
1321
1325
  }, kr = (e) => {
1322
- const { index: r } = e, { setItemInteraction: n } = q(), [o, i] = F(
1326
+ const { index: r } = e, { setItemInteraction: n } = q(), [o, i] = $(
1323
1327
  "placeholder"
1324
1328
  );
1325
1329
  return A(() => {
@@ -1334,7 +1338,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1334
1338
  onError: () => i("error")
1335
1339
  }
1336
1340
  ) : /* @__PURE__ */ t.jsx(br, { ...e });
1337
- }, Cr = ({ className: e = "", ...r }) => /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", className: e, ...r, children: /* @__PURE__ */ t.jsx(We, { className: "size-full" }) }), Er = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ t.jsx(
1341
+ }, Cr = ({ className: e = "", ...r }) => /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", className: e, ...r, children: /* @__PURE__ */ t.jsx(We, { className: "size-full" }) }), Nr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ t.jsx(
1338
1342
  "svg",
1339
1343
  {
1340
1344
  className: e,
@@ -1351,7 +1355,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1351
1355
  }
1352
1356
  )
1353
1357
  }
1354
- ) }), Nr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_VOLUME", children: /* @__PURE__ */ t.jsx(
1358
+ ) }), Er = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_VOLUME", children: /* @__PURE__ */ t.jsx(
1355
1359
  "svg",
1356
1360
  {
1357
1361
  className: e,
@@ -1392,35 +1396,35 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1392
1396
  style: { transform: `translateX(-${100 * (1 - e)}%)` }
1393
1397
  }
1394
1398
  ) }), _r = 3e3, zr = ({ src: e, poster: r, index: n }) => {
1395
- const { carrouselItemIndex: o, setItemInteraction: i } = q(), s = o === n, l = W(null), d = W(null), a = T(() => {
1396
- if (!d.current)
1399
+ const { carrouselItemIndex: o, setItemInteraction: i } = q(), s = o === n, l = W(null), c = W(null), a = T(() => {
1400
+ if (!c.current)
1397
1401
  throw new Error("videoRef.current is null");
1398
- return d.current;
1399
- }, []), g = T(() => {
1402
+ return c.current;
1403
+ }, []), f = T(() => {
1400
1404
  a().play();
1401
- }, [a]), c = T(() => {
1405
+ }, [a]), d = T(() => {
1402
1406
  a().pause();
1403
1407
  }, [a]);
1404
1408
  A(() => {
1405
- s || c();
1406
- }, [c, s]);
1407
- const [f, p] = F(!1), [M, u] = F(!0), h = () => {
1408
- p(!0), i(n, "running");
1409
+ s || d();
1410
+ }, [d, s]);
1411
+ const [h, g] = $(!1), [z, u] = $(!0), p = () => {
1412
+ g(!0), i(n, "running");
1409
1413
  }, j = () => {
1410
- p(!1), i(n, null);
1411
- }, N = () => {
1414
+ g(!1), i(n, null);
1415
+ }, C = () => {
1412
1416
  u(!1);
1413
1417
  }, E = () => {
1414
1418
  u(!0);
1415
- }, [w, k] = F(null), y = (m) => {
1416
- const b = a(), V = m.currentTarget.getBoundingClientRect(), P = (m.clientX - V.left) / V.width, $ = Math.min(1, Math.max(0, P));
1417
- b.volume = $, b.muted = !1;
1419
+ }, [x, k] = $(null), y = (m) => {
1420
+ const b = a(), V = m.currentTarget.getBoundingClientRect(), Z = (m.clientX - V.left) / V.width, F = Math.min(1, Math.max(0, Z));
1421
+ b.volume = F, b.muted = !1;
1418
1422
  }, I = (m) => {
1419
1423
  const b = a();
1420
1424
  b.muted = m;
1421
1425
  };
1422
1426
  A(() => {
1423
- const m = d.current;
1427
+ const m = c.current;
1424
1428
  if (!m)
1425
1429
  return;
1426
1430
  const b = () => {
@@ -1433,81 +1437,81 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1433
1437
  m.removeEventListener("volumechange", b);
1434
1438
  };
1435
1439
  }, []);
1436
- const [v, L] = F(null), z = v ? v.currentTime / v.duration : 0;
1440
+ const [v, L] = $(null), M = v ? v.currentTime / v.duration : 0;
1437
1441
  A(() => {
1438
- const m = d.current;
1442
+ const m = c.current;
1439
1443
  if (!m) return;
1440
1444
  const b = () => {
1441
- const V = m.currentTime, P = m.duration;
1442
- isNaN(V) || isNaN(P) || L({
1445
+ const V = m.currentTime, Z = m.duration;
1446
+ isNaN(V) || isNaN(Z) || L({
1443
1447
  currentTime: V,
1444
- duration: P
1448
+ duration: Z
1445
1449
  });
1446
1450
  };
1447
1451
  return b(), m.addEventListener("timeupdate", b), () => {
1448
1452
  m.removeEventListener("timeupdate", b);
1449
1453
  };
1450
1454
  }, []);
1451
- const C = (m) => {
1452
- const b = a(), V = m.currentTarget.getBoundingClientRect(), P = (m.clientX - V.left) / V.width, $ = b.duration * P;
1453
- b.currentTime = $;
1455
+ const N = (m) => {
1456
+ const b = a(), V = m.currentTarget.getBoundingClientRect(), Z = (m.clientX - V.left) / V.width, F = b.duration * Z;
1457
+ b.currentTime = F;
1454
1458
  }, S = (m) => {
1455
1459
  const b = Math.floor(m % 3600 / 60), V = Math.floor(m % 60);
1456
1460
  return `${b}:${V.toString().padStart(2, "0")}`;
1457
- }, [H, R] = F(!1), U = W(void 0), _ = T(
1461
+ }, [R, H] = $(!1), U = W(void 0), _ = T(
1458
1462
  () => clearTimeout(U.current),
1459
1463
  []
1460
- ), x = T(() => {
1464
+ ), w = T(() => {
1461
1465
  _(), U.current = setTimeout(() => {
1462
- R(!1);
1466
+ H(!1);
1463
1467
  }, _r);
1464
1468
  }, [_]);
1465
1469
  return A(() => {
1466
- const m = l.current, b = d.current;
1470
+ const m = l.current, b = c.current;
1467
1471
  if (!m || !b)
1468
1472
  return;
1469
1473
  const V = () => {
1470
- x(), R(!0);
1471
- }, P = () => {
1472
- _(), R(!1);
1474
+ w(), H(!0);
1475
+ }, Z = () => {
1476
+ _(), H(!1);
1473
1477
  };
1474
- let $ = !1;
1478
+ let F = !1;
1475
1479
  const D = () => {
1476
- $ = !0;
1480
+ F = !0;
1477
1481
  }, X = () => {
1478
- $ && ($ = !1, c());
1482
+ F && (F = !1, d());
1479
1483
  }, G = () => {
1480
- $ = !1, V();
1484
+ F = !1, V();
1481
1485
  }, K = (re) => {
1482
- re.preventDefault(), re.touches.length === 1 && (x(), R((ne) => !ne));
1486
+ re.preventDefault(), re.touches.length === 1 && (w(), H((ne) => !ne));
1483
1487
  };
1484
- return m.addEventListener("mousedown", D), m.addEventListener("mouseup", X), m.addEventListener("mouseenter", V), m.addEventListener("mousemove", G), m.addEventListener("mouseleave", P), b.addEventListener("touchstart", K), () => {
1485
- m.removeEventListener("mousedown", D), m.removeEventListener("mouseup", X), m.removeEventListener("mouseenter", V), m.removeEventListener("mousemove", V), m.removeEventListener("mouseleave", P), b.removeEventListener("touchstart", K);
1488
+ return m.addEventListener("mousedown", D), m.addEventListener("mouseup", X), m.addEventListener("mouseenter", V), m.addEventListener("mousemove", G), m.addEventListener("mouseleave", Z), b.addEventListener("touchstart", K), () => {
1489
+ m.removeEventListener("mousedown", D), m.removeEventListener("mouseup", X), m.removeEventListener("mouseenter", V), m.removeEventListener("mousemove", V), m.removeEventListener("mouseleave", Z), b.removeEventListener("touchstart", K);
1486
1490
  };
1487
- }, [_, c, x]), /* @__PURE__ */ t.jsxs("div", { ref: l, className: "relative size-full", children: [
1491
+ }, [_, d, w]), /* @__PURE__ */ t.jsxs("div", { ref: l, className: "relative size-full", children: [
1488
1492
  /* @__PURE__ */ t.jsx(
1489
1493
  "video",
1490
1494
  {
1491
- ref: d,
1495
+ ref: c,
1492
1496
  className: "size-full",
1493
1497
  src: e,
1494
1498
  poster: r,
1495
1499
  disablePictureInPicture: !0,
1496
1500
  playsInline: !0,
1497
- onPlay: h,
1501
+ onPlay: p,
1498
1502
  onPause: j,
1499
1503
  onEnded: j,
1500
- onCanPlay: N,
1504
+ onCanPlay: C,
1501
1505
  onWaiting: E
1502
1506
  }
1503
1507
  ),
1504
- f ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1508
+ h ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1505
1509
  /* @__PURE__ */ t.jsxs(
1506
1510
  "div",
1507
1511
  {
1508
- className: Z(
1512
+ className: O(
1509
1513
  "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",
1510
- H ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0"
1514
+ R ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0"
1511
1515
  ),
1512
1516
  onMouseDownCapture: (m) => m.stopPropagation(),
1513
1517
  children: [
@@ -1523,8 +1527,8 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1523
1527
  shape: "icon",
1524
1528
  variant: "ghost",
1525
1529
  color: "neutral",
1526
- onClick: c,
1527
- children: /* @__PURE__ */ t.jsx(Er, { className: "size-full" })
1530
+ onClick: d,
1531
+ children: /* @__PURE__ */ t.jsx(Nr, { className: "size-full" })
1528
1532
  }
1529
1533
  ),
1530
1534
  v && /* @__PURE__ */ t.jsxs("span", { className: "text-sm", children: [
@@ -1536,7 +1540,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1536
1540
  ]
1537
1541
  }
1538
1542
  ),
1539
- w && /* @__PURE__ */ t.jsxs(
1543
+ x && /* @__PURE__ */ t.jsxs(
1540
1544
  "div",
1541
1545
  {
1542
1546
  className: "group/volume flex items-center gap-x-4 rounded-ui-md p-2 transition-colors hover:bg-foreground/25",
@@ -1544,17 +1548,17 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1544
1548
  /* @__PURE__ */ t.jsx(
1545
1549
  "div",
1546
1550
  {
1547
- className: `w-12 cursor-pointer py-1 opacity-0 transition-opacity ${w.isMuted ? "group-hover/volume:opacity-50" : "group-hover/volume:opacity-100"}`,
1551
+ className: `w-12 cursor-pointer py-1 opacity-0 transition-opacity ${x.isMuted ? "group-hover/volume:opacity-50" : "group-hover/volume:opacity-100"}`,
1548
1552
  onClick: y,
1549
- children: /* @__PURE__ */ t.jsx(Ke, { progress: w.volume })
1553
+ children: /* @__PURE__ */ t.jsx(Ke, { progress: x.volume })
1550
1554
  }
1551
1555
  ),
1552
1556
  /* @__PURE__ */ t.jsx(
1553
1557
  "div",
1554
1558
  {
1555
1559
  className: "size-5 cursor-pointer",
1556
- onClick: () => I(!w.isMuted),
1557
- children: w.isMuted ? /* @__PURE__ */ t.jsx(Lr, { className: "size-full" }) : /* @__PURE__ */ t.jsx(Nr, { className: "size-full" })
1560
+ onClick: () => I(!x.isMuted),
1561
+ children: x.isMuted ? /* @__PURE__ */ t.jsx(Lr, { className: "size-full" }) : /* @__PURE__ */ t.jsx(Er, { className: "size-full" })
1558
1562
  }
1559
1563
  )
1560
1564
  ]
@@ -1565,25 +1569,25 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1565
1569
  "div",
1566
1570
  {
1567
1571
  className: "cursor-pointer py-1",
1568
- onClick: C,
1569
- children: /* @__PURE__ */ t.jsx(Ke, { progress: z })
1572
+ onClick: N,
1573
+ children: /* @__PURE__ */ t.jsx(Ke, { progress: M })
1570
1574
  }
1571
1575
  )
1572
1576
  ]
1573
1577
  }
1574
1578
  ),
1575
- M && /* @__PURE__ */ t.jsx(
1579
+ z && /* @__PURE__ */ t.jsx(
1576
1580
  "div",
1577
1581
  {
1578
1582
  className: "pointer-events-none absolute inset-0 flex items-center justify-center bg-foreground/25",
1579
- children: /* @__PURE__ */ t.jsx(Et, { size: "lg" })
1583
+ children: /* @__PURE__ */ t.jsx(Nt, { size: "lg" })
1580
1584
  }
1581
1585
  )
1582
1586
  ] }) : /* @__PURE__ */ t.jsx(
1583
1587
  "div",
1584
1588
  {
1585
1589
  className: "absolute inset-0 flex items-center justify-center bg-foreground/25",
1586
- children: /* @__PURE__ */ t.jsx(Cr, { onClick: g })
1590
+ children: /* @__PURE__ */ t.jsx(Cr, { onClick: f })
1587
1591
  }
1588
1592
  )
1589
1593
  ] });
@@ -1604,7 +1608,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
1604
1608
  s = /* @__PURE__ */ t.jsx(kr, { index: e, onlyPreload: !n, ...r });
1605
1609
  break;
1606
1610
  case "omni_directional":
1607
- s = /* @__PURE__ */ t.jsx(xr, { item: r });
1611
+ s = /* @__PURE__ */ t.jsx(wr, { item: r });
1608
1612
  break;
1609
1613
  default:
1610
1614
  throw new Error(`Unsupported item type: ${i}`);
@@ -1641,7 +1645,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1641
1645
  d: "M13.3334 2.66683V10.6668H5.33337V2.66683H13.3334ZM13.3334 1.3335H5.33337C4.60004 1.3335 4.00004 1.9335 4.00004 2.66683V10.6668C4.00004 11.4002 4.60004 12.0002 5.33337 12.0002H13.3334C14.0667 12.0002 14.6667 11.4002 14.6667 10.6668V2.66683C14.6667 1.9335 14.0667 1.3335 13.3334 1.3335ZM7.66671 7.78016L8.79337 9.28683L10.4467 7.22016L12.6667 10.0002H6.00004L7.66671 7.78016ZM1.33337 4.00016V13.3335C1.33337 14.0668 1.93337 14.6668 2.66671 14.6668H12V13.3335H2.66671V4.00016H1.33337Z",
1642
1646
  fill: "currentColor"
1643
1647
  }
1644
- ) }) }), Hr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_HOTSPOTS", children: /* @__PURE__ */ t.jsxs(
1648
+ ) }) }), Rr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_HOTSPOTS", children: /* @__PURE__ */ t.jsxs(
1645
1649
  "svg",
1646
1650
  {
1647
1651
  className: e,
@@ -1661,7 +1665,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1661
1665
  /* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_418_982", children: /* @__PURE__ */ t.jsx("rect", { width: "12", height: "12", fill: "white" }) }) })
1662
1666
  ]
1663
1667
  }
1664
- ) }), Rr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_MINUS", children: /* @__PURE__ */ t.jsx(
1668
+ ) }), Hr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_MINUS", children: /* @__PURE__ */ t.jsx(
1665
1669
  "svg",
1666
1670
  {
1667
1671
  className: e,
@@ -1695,13 +1699,13 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1695
1699
  }
1696
1700
  )
1697
1701
  }
1698
- ) }), Ar = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_REDUCE", children: /* @__PURE__ */ t.jsx("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ t.jsx(
1702
+ ) }), Pr = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_REDUCE", children: /* @__PURE__ */ t.jsx("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ t.jsx(
1699
1703
  "path",
1700
1704
  {
1701
1705
  d: "M3.33325 10.6668H5.33325V12.6668H6.66659V9.3335H3.33325V10.6668ZM5.33325 5.3335H3.33325V6.66683H6.66659V3.3335H5.33325V5.3335ZM9.33325 12.6668H10.6666V10.6668H12.6666V9.3335H9.33325V12.6668ZM10.6666 5.3335V3.3335H9.33325V6.66683H12.6666V5.3335H10.6666Z",
1702
1706
  fill: "currentColor"
1703
1707
  }
1704
- ) }) }), Pr = ({
1708
+ ) }) }), Ar = ({
1705
1709
  enabled: e,
1706
1710
  onToggle: r,
1707
1711
  label: n,
@@ -1710,7 +1714,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1710
1714
  }) => /* @__PURE__ */ t.jsxs(
1711
1715
  "label",
1712
1716
  {
1713
- className: Z(
1717
+ className: O(
1714
1718
  "flex cursor-pointer items-center justify-center gap-x-2",
1715
1719
  o
1716
1720
  ),
@@ -1728,14 +1732,14 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1728
1732
  /* @__PURE__ */ t.jsx(
1729
1733
  "div",
1730
1734
  {
1731
- className: Z(
1735
+ className: O(
1732
1736
  "flex h-5 w-8 items-center justify-center rounded-full transition-colors",
1733
1737
  e ? "bg-primary" : "bg-background/60"
1734
1738
  ),
1735
1739
  children: /* @__PURE__ */ t.jsx(
1736
1740
  "div",
1737
1741
  {
1738
- className: Z(
1742
+ className: O(
1739
1743
  "flex size-4 items-center justify-center rounded-full p-0.5 transition",
1740
1744
  e ? "translate-x-1.5 bg-primary-foreground text-primary" : "-translate-x-1.5 bg-background text-foreground"
1741
1745
  ),
@@ -1763,24 +1767,24 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1763
1767
  }
1764
1768
  )
1765
1769
  }
1766
- ) }), Fr = ({ sharedClassName: e }) => {
1767
- const { categories: r } = ee(), { displayedCategoryId: n, changeCategory: o } = q(), [i, s] = F(!1), l = () => {
1770
+ ) }), $r = ({ sharedClassName: e }) => {
1771
+ const { categories: r } = ee(), { displayedCategoryId: n, changeCategory: o } = q(), [i, s] = $(!1), l = () => {
1768
1772
  s(!i);
1769
- }, d = () => {
1773
+ }, c = () => {
1770
1774
  s(!1);
1771
1775
  };
1772
1776
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1773
1777
  i && /* @__PURE__ */ t.jsx(
1774
1778
  "div",
1775
1779
  {
1776
- className: Z(e, "inset-0 small:hidden"),
1777
- onClick: d
1780
+ className: O(e, "inset-0 small:hidden"),
1781
+ onClick: c
1778
1782
  }
1779
1783
  ),
1780
1784
  /* @__PURE__ */ t.jsxs(
1781
1785
  "div",
1782
1786
  {
1783
- className: Z(
1787
+ className: O(
1784
1788
  e,
1785
1789
  ue("top-left"),
1786
1790
  "flex gap-x-2 small:hidden"
@@ -1795,17 +1799,17 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1795
1799
  children: /* @__PURE__ */ t.jsx(Zr, {})
1796
1800
  }
1797
1801
  ),
1798
- i && /* @__PURE__ */ t.jsx("div", { className: "rounded-ui-md bg-background", children: /* @__PURE__ */ t.jsx("ul", { className: "space-y-0.5 p-1", children: r.map(({ id: a, title: g }) => /* @__PURE__ */ t.jsx(
1802
+ i && /* @__PURE__ */ t.jsx("div", { className: "rounded-ui-md bg-background", children: /* @__PURE__ */ t.jsx("ul", { className: "space-y-0.5 p-1", children: r.map(({ id: a, title: f }) => /* @__PURE__ */ t.jsx(
1799
1803
  "li",
1800
1804
  {
1801
- className: Z(
1805
+ className: O(
1802
1806
  "cursor-pointer rounded-ui px-2 py-1 text-sm font-bold transition-colors hover:bg-primary/30",
1803
1807
  a === n && "bg-primary/50"
1804
1808
  ),
1805
1809
  onClick: () => {
1806
1810
  o(a), s(!1);
1807
1811
  },
1808
- children: g
1812
+ children: f
1809
1813
  },
1810
1814
  a
1811
1815
  )) }) })
@@ -1815,68 +1819,68 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1815
1819
  /* @__PURE__ */ t.jsx(
1816
1820
  "div",
1817
1821
  {
1818
- className: Z(
1822
+ className: O(
1819
1823
  e,
1820
1824
  yt("top"),
1821
1825
  "w-full overflow-x-auto max-small:hidden"
1822
1826
  ),
1823
- children: /* @__PURE__ */ t.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: r.map(({ id: a, title: g }) => /* @__PURE__ */ t.jsx(
1827
+ children: /* @__PURE__ */ t.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: r.map(({ id: a, title: f }) => /* @__PURE__ */ t.jsx(
1824
1828
  B,
1825
1829
  {
1826
1830
  variant: a === n ? "fill" : "ghost",
1827
1831
  onClick: () => o(a),
1828
- children: g
1832
+ children: f
1829
1833
  },
1830
1834
  a
1831
1835
  )) })
1832
1836
  }
1833
1837
  )
1834
1838
  ] });
1835
- }, $r = () => {
1839
+ }, Fr = () => {
1836
1840
  const { flatten: e, infiniteCarrousel: r, permanentGallery: n } = te(), {
1837
1841
  items: { length: o },
1838
1842
  aspectRatioStyle: i
1839
1843
  } = ee(), {
1840
1844
  slidable: s,
1841
1845
  masterItemIndex: l,
1842
- prevImage: d,
1846
+ prevImage: c,
1843
1847
  nextImage: a,
1844
- showGalleryControls: g,
1845
- enableHotspotsControl: c,
1846
- showHotspots: f,
1847
- toggleHotspots: p,
1848
- showGallery: M,
1848
+ showGalleryControls: f,
1849
+ enableHotspotsControl: d,
1850
+ showHotspots: h,
1851
+ toggleHotspots: g,
1852
+ showGallery: z,
1849
1853
  toggleGallery: u,
1850
- extendMode: h,
1854
+ extendMode: p,
1851
1855
  toggleExtendMode: j,
1852
- shownDetails: N,
1856
+ shownDetails: C,
1853
1857
  isShowingDetails: E,
1854
- resetShownDetails: w,
1858
+ resetShownDetails: x,
1855
1859
  showZoomControls: k,
1856
1860
  isZooming: y,
1857
1861
  canZoomIn: I,
1858
1862
  zoomIn: v,
1859
1863
  canZoomOut: L,
1860
- zoomOut: z,
1861
- resetView: C
1864
+ zoomOut: M,
1865
+ resetView: N
1862
1866
  } = q(), S = T(
1863
1867
  (U) => {
1864
- Tr(U) && w();
1868
+ Tr(U) && x();
1865
1869
  },
1866
- [w]
1870
+ [x]
1867
1871
  );
1868
- Ir(w);
1869
- const H = "absolute z-overlay", R = `transition-opacity ${g ? "opacity-100" : "opacity-0 !pointer-events-none"}`;
1872
+ Ir(x);
1873
+ const R = "absolute z-overlay", H = `transition-opacity ${f ? "opacity-100" : "opacity-0 !pointer-events-none"}`;
1870
1874
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1871
- !e && !y && /* @__PURE__ */ t.jsx(Fr, { sharedClassName: H }),
1875
+ !e && !y && /* @__PURE__ */ t.jsx($r, { sharedClassName: R }),
1872
1876
  s && !y && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1873
1877
  /* @__PURE__ */ t.jsx(
1874
1878
  B,
1875
1879
  {
1876
1880
  shape: "icon",
1877
1881
  color: "neutral",
1878
- className: Z(H, ue("middle-left")),
1879
- onClick: d,
1882
+ className: O(R, ue("middle-left")),
1883
+ onClick: c,
1880
1884
  disabled: !r && l <= 0,
1881
1885
  children: /* @__PURE__ */ t.jsx(Y, { customizationKey: "CONTROLS_ARROW_LEFT", children: /* @__PURE__ */ t.jsx(Je, { className: "size-full rotate-180" }) })
1882
1886
  }
@@ -1886,7 +1890,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1886
1890
  {
1887
1891
  shape: "icon",
1888
1892
  color: "neutral",
1889
- className: Z(H, ue("middle-right")),
1893
+ className: O(R, ue("middle-right")),
1890
1894
  onClick: a,
1891
1895
  disabled: !r && l >= o - 1,
1892
1896
  children: /* @__PURE__ */ t.jsx(Y, { customizationKey: "CONTROLS_ARROW_RIGHT", children: /* @__PURE__ */ t.jsx(Je, { className: "size-full" }) })
@@ -1896,8 +1900,8 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1896
1900
  /* @__PURE__ */ t.jsxs(
1897
1901
  "div",
1898
1902
  {
1899
- className: Z(
1900
- H,
1903
+ className: O(
1904
+ R,
1901
1905
  ue("bottom-fullW"),
1902
1906
  "pointer-events-none grid grid-cols-[auto,1fr,auto] items-end *:pointer-events-auto small:gap-x-2"
1903
1907
  ),
@@ -1906,19 +1910,19 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1906
1910
  /* @__PURE__ */ t.jsx(
1907
1911
  B,
1908
1912
  {
1909
- className: R,
1913
+ className: H,
1910
1914
  variant: "fill",
1911
- color: M ? "primary" : "neutral",
1915
+ color: z ? "primary" : "neutral",
1912
1916
  shape: "icon",
1913
1917
  onClick: u,
1914
1918
  children: /* @__PURE__ */ t.jsx(Y, { customizationKey: "CONTROLS_GALLERY", children: /* @__PURE__ */ t.jsx(Sr, { className: "size-full" }) })
1915
1919
  }
1916
1920
  ),
1917
- M && /* @__PURE__ */ t.jsx(
1921
+ z && /* @__PURE__ */ t.jsx(
1918
1922
  _t,
1919
1923
  {
1920
- className: Z(
1921
- R,
1924
+ className: O(
1925
+ H,
1922
1926
  "[mask-image:linear-gradient(to_left,transparent_0px,black_4px,black_calc(100%-4px),transparent_100%)]"
1923
1927
  ),
1924
1928
  containerClassName: "mx-1"
@@ -1926,7 +1930,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1926
1930
  )
1927
1931
  ] }),
1928
1932
  /* @__PURE__ */ t.jsxs("div", { className: "col-start-3 flex flex-col items-end gap-y-1 small:gap-y-2", children: [
1929
- c && !y && /* @__PURE__ */ t.jsx(Pr, { enabled: f, onToggle: p, children: /* @__PURE__ */ t.jsx(Hr, { className: "size-full" }) }),
1933
+ d && !y && /* @__PURE__ */ t.jsx(Ar, { enabled: h, onToggle: g, children: /* @__PURE__ */ t.jsx(Rr, { className: "size-full" }) }),
1930
1934
  k && /* @__PURE__ */ t.jsxs("div", { className: "max-small:hidden", children: [
1931
1935
  /* @__PURE__ */ t.jsx(
1932
1936
  B,
@@ -1947,8 +1951,8 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1947
1951
  color: "neutral",
1948
1952
  shape: "icon",
1949
1953
  disabled: !L,
1950
- onClick: z,
1951
- children: /* @__PURE__ */ t.jsx(Rr, { className: "size-full" })
1954
+ onClick: M,
1955
+ children: /* @__PURE__ */ t.jsx(Hr, { className: "size-full" })
1952
1956
  }
1953
1957
  )
1954
1958
  ] }),
@@ -1956,10 +1960,10 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1956
1960
  B,
1957
1961
  {
1958
1962
  variant: "fill",
1959
- color: h ? "primary" : "neutral",
1963
+ color: p ? "primary" : "neutral",
1960
1964
  shape: "icon",
1961
1965
  onClick: j,
1962
- children: h ? /* @__PURE__ */ t.jsx(Ar, { className: "size-full" }) : /* @__PURE__ */ t.jsx(Vr, { className: "size-full" })
1966
+ children: p ? /* @__PURE__ */ t.jsx(Pr, { className: "size-full" }) : /* @__PURE__ */ t.jsx(Vr, { className: "size-full" })
1963
1967
  }
1964
1968
  )
1965
1969
  ] })
@@ -1969,8 +1973,8 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1969
1973
  /* @__PURE__ */ t.jsx(
1970
1974
  "div",
1971
1975
  {
1972
- className: Z(
1973
- H,
1976
+ className: O(
1977
+ R,
1974
1978
  "inset-0 flex justify-end overflow-hidden bg-foreground/60 transition-opacity duration-details",
1975
1979
  E ? "opacity-100" : "pointer-events-none opacity-0"
1976
1980
  ),
@@ -1978,24 +1982,51 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
1978
1982
  children: /* @__PURE__ */ t.jsx(
1979
1983
  "div",
1980
1984
  {
1981
- className: Z(
1985
+ className: O(
1982
1986
  "h-full w-3/5 bg-background transition-transform duration-details",
1983
1987
  E ? "translate-x-0" : "translate-x-full"
1984
1988
  ),
1985
- children: !!N && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1989
+ children: !!C && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1986
1990
  /* @__PURE__ */ t.jsx(
1987
- we,
1991
+ xe,
1988
1992
  {
1989
1993
  className: "w-full bg-foreground/65",
1990
1994
  style: i,
1991
- src: N.src,
1995
+ src: C.src,
1992
1996
  imgInPlayerWidthRatio: 0.6
1993
1997
  }
1994
1998
  ),
1995
- /* @__PURE__ */ t.jsxs("div", { className: "space-y-1 p-3", children: [
1996
- /* @__PURE__ */ t.jsx("span", { children: N.title }),
1997
- /* @__PURE__ */ t.jsx("p", { children: N.text })
1998
- ] })
1999
+ /* @__PURE__ */ t.jsxs(
2000
+ "div",
2001
+ {
2002
+ className: O(
2003
+ "space-y-1 p-1.5 small:p-2",
2004
+ p && "large:p-3"
2005
+ ),
2006
+ children: [
2007
+ C.title && /* @__PURE__ */ t.jsx(
2008
+ "span",
2009
+ {
2010
+ className: O(
2011
+ "text-sm small:text-base",
2012
+ p && "large:text-lg"
2013
+ ),
2014
+ children: C.title
2015
+ }
2016
+ ),
2017
+ C.text && /* @__PURE__ */ t.jsx(
2018
+ "p",
2019
+ {
2020
+ className: O(
2021
+ "text-xs small:text-sm",
2022
+ p && "large:text-base"
2023
+ ),
2024
+ children: C.text
2025
+ }
2026
+ )
2027
+ ]
2028
+ }
2029
+ )
1999
2030
  ] })
2000
2031
  }
2001
2032
  )
@@ -2004,8 +2035,8 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2004
2035
  (y || E) && /* @__PURE__ */ t.jsx(
2005
2036
  kt,
2006
2037
  {
2007
- className: Z(H, ue("top-right")),
2008
- onClick: C
2038
+ className: O(R, ue("top-right")),
2039
+ onClick: N
2009
2040
  }
2010
2041
  )
2011
2042
  ] });
@@ -2013,169 +2044,169 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2013
2044
  const { infiniteCarrousel: r, isFullScreen: n } = te(), { items: o, aspectRatioStyle: i } = ee(), {
2014
2045
  slidable: s,
2015
2046
  carrouselItemIndex: l,
2016
- setCarrouselItemIndex: d,
2047
+ setCarrouselItemIndex: c,
2017
2048
  itemIndexCommand: a,
2018
- setItemIndexCommand: g,
2019
- cycling: c,
2020
- isCycling: f,
2021
- finishCycling: p,
2022
- extendMode: M,
2049
+ setItemIndexCommand: f,
2050
+ cycling: d,
2051
+ isCycling: h,
2052
+ finishCycling: g,
2053
+ extendMode: z,
2023
2054
  extendTransition: u,
2024
- isZooming: h
2025
- } = q(), j = W(null), N = T((_) => {
2055
+ isZooming: p
2056
+ } = q(), j = W(null), C = T((_) => {
2026
2057
  if (!j.current)
2027
2058
  throw new Error(`[${_ ?? "sliderOrThrow"}] slider.current is null`);
2028
2059
  return j.current;
2029
- }, []), E = W(!1), w = W(null), k = W(null), y = W(null), I = T(() => {
2060
+ }, []), E = W(!1), x = W(null), k = W(null), y = W(null), I = T(() => {
2030
2061
  y.current && (cancelAnimationFrame(y.current), y.current = null);
2031
2062
  }, []), v = T(() => {
2032
- const _ = N("computeClosestSnapIndex"), x = Array.from(_.children), m = _.scrollLeft, b = x.reduce(
2033
- (V, P, $) => {
2034
- const D = P.offsetLeft;
2035
- return Math.abs(D - m) < Math.abs(x[V].offsetLeft - m) ? $ : V;
2063
+ const _ = C("computeClosestSnapIndex"), w = Array.from(_.children), m = _.scrollLeft, b = w.reduce(
2064
+ (V, Z, F) => {
2065
+ const D = Z.offsetLeft;
2066
+ return Math.abs(D - m) < Math.abs(w[V].offsetLeft - m) ? F : V;
2036
2067
  },
2037
2068
  0
2038
2069
  );
2039
- return c === "first_to_last" ? Ge(b, o.length) : c === "last_to_first" ? Ge(b - 1, o.length) : b;
2040
- }, [c, N, o.length]), L = T(
2070
+ return d === "first_to_last" ? Ge(b, o.length) : d === "last_to_first" ? Ge(b - 1, o.length) : b;
2071
+ }, [d, C, o.length]), L = T(
2041
2072
  (_) => {
2042
- const x = N("setStyleCursor");
2043
- x.style.cursor = _;
2073
+ const w = C("setStyleCursor");
2074
+ w.style.cursor = _;
2044
2075
  },
2045
- [N]
2046
- ), z = T(
2076
+ [C]
2077
+ ), M = T(
2047
2078
  (_) => {
2048
- const x = N("setStyleSnapState");
2049
- _ === "mandatory" ? x.style.scrollSnapType = "x mandatory" : x.style.scrollSnapType = "none";
2079
+ const w = C("setStyleSnapState");
2080
+ _ === "mandatory" ? w.style.scrollSnapType = "x mandatory" : w.style.scrollSnapType = "none";
2050
2081
  },
2051
- [N]
2052
- ), C = T(
2053
- (_, x, m) => {
2082
+ [C]
2083
+ ), N = T(
2084
+ (_, w, m) => {
2054
2085
  I();
2055
- const b = N("scrollToIndex"), V = Array.from(b.children), P = b.scrollLeft, $ = V[_].offsetLeft, D = (ne) => {
2086
+ const b = C("scrollToIndex"), V = Array.from(b.children), Z = b.scrollLeft, F = V[_].offsetLeft, D = (ne) => {
2056
2087
  b.scrollTo({
2057
2088
  left: ne,
2058
2089
  behavior: "instant"
2059
2090
  });
2060
- }, X = Math.abs(P - $);
2061
- if (X < 1 || x === "instant") {
2062
- D($), m == null || m();
2091
+ }, X = Math.abs(Z - F);
2092
+ if (X < 1 || w === "instant") {
2093
+ D(F), m == null || m();
2063
2094
  return;
2064
2095
  }
2065
2096
  const G = ae(X / 2.5, 300, 1e3), K = (/* @__PURE__ */ new Date()).getTime();
2066
- z("none");
2097
+ M("none");
2067
2098
  const re = () => {
2068
2099
  const ne = () => {
2069
2100
  const oe = (/* @__PURE__ */ new Date()).getTime() - K;
2070
2101
  if (oe >= G) {
2071
- D($), m == null || m(), y.current = requestAnimationFrame(() => {
2072
- z("mandatory"), y.current = null;
2102
+ D(F), m == null || m(), y.current = requestAnimationFrame(() => {
2103
+ M("mandatory"), y.current = null;
2073
2104
  });
2074
2105
  return;
2075
2106
  }
2076
- const me = Math.min(oe / G, 1), ze = zt(me), Me = Ee(P, $, ze);
2107
+ const me = Math.min(oe / G, 1), ze = zt(me), Me = Ne(Z, F, ze);
2077
2108
  D(Me), re();
2078
2109
  };
2079
2110
  y.current = requestAnimationFrame(ne);
2080
2111
  };
2081
2112
  re();
2082
2113
  },
2083
- [I, N, z]
2084
- ), [S, H] = F(), R = !!S;
2114
+ [I, C, M]
2115
+ ), [S, R] = $(), H = !!S;
2085
2116
  A(() => {
2086
2117
  const _ = () => {
2087
2118
  clearTimeout(S);
2088
- const x = setTimeout(() => {
2089
- H(void 0);
2090
- }, ft);
2091
- H(x);
2119
+ const w = setTimeout(() => {
2120
+ R(void 0);
2121
+ }, gt);
2122
+ R(w);
2092
2123
  };
2093
2124
  return addEventListener("resize", _), document.addEventListener("fullscreenchange", _), () => {
2094
2125
  removeEventListener("resize", _), document.removeEventListener("fullscreenchange", _);
2095
2126
  };
2096
2127
  }, [S]), A(() => {
2097
2128
  const _ = v();
2098
- Number.isNaN(_) || _ !== l && C(l, "instant");
2129
+ Number.isNaN(_) || _ !== l && N(l, "instant");
2099
2130
  }, [
2100
2131
  l,
2101
- C,
2132
+ N,
2102
2133
  v,
2103
2134
  // - Run the effect when those values change
2104
2135
  o,
2105
2136
  S,
2106
2137
  n,
2107
- M,
2138
+ z,
2108
2139
  u
2109
2140
  ]), A(() => {
2110
- if (!s || f) {
2141
+ if (!s || h) {
2111
2142
  L("auto");
2112
2143
  return;
2113
2144
  }
2114
2145
  const _ = j.current;
2115
2146
  if (!_)
2116
2147
  return;
2117
- L("grab"), z("mandatory");
2118
- const x = (V) => {
2119
- V.button === 0 && (V.preventDefault(), V.stopPropagation(), E.current = !0, w.current = V.pageX - _.offsetLeft, k.current = _.scrollLeft, I(), L("grabbing"), z("none"));
2148
+ L("grab"), M("mandatory");
2149
+ const w = (V) => {
2150
+ V.button === 0 && (V.preventDefault(), V.stopPropagation(), E.current = !0, x.current = V.pageX - _.offsetLeft, k.current = _.scrollLeft, I(), L("grabbing"), M("none"));
2120
2151
  }, m = (V) => {
2121
2152
  if (!E.current)
2122
2153
  return;
2123
- if (w.current === null)
2154
+ if (x.current === null)
2124
2155
  throw new Error("[onMouseMove] startX is null");
2125
- const P = V.pageX - _.offsetLeft - w.current;
2156
+ const Z = V.pageX - _.offsetLeft - x.current;
2126
2157
  requestAnimationFrame(() => {
2127
2158
  if (k.current === null)
2128
2159
  throw new Error("[onMouseMove] scrollLeft is null");
2129
- _.scrollLeft = k.current - P;
2160
+ _.scrollLeft = k.current - Z;
2130
2161
  });
2131
2162
  }, b = () => {
2132
2163
  if (!E.current)
2133
2164
  return;
2134
2165
  E.current = !1, L("grab");
2135
2166
  const V = v();
2136
- C(V, "smooth");
2167
+ N(V, "smooth");
2137
2168
  };
2138
- return _.addEventListener("mousedown", x), document.addEventListener("mousemove", m), document.addEventListener("mouseleave", b), document.addEventListener("mouseup", b), document.addEventListener("contextmenu", b), () => {
2139
- _.removeEventListener("mousedown", x), document.removeEventListener("mousemove", m), document.removeEventListener("mouseleave", b), document.removeEventListener("mouseup", b), document.removeEventListener("contextmenu", b);
2169
+ return _.addEventListener("mousedown", w), document.addEventListener("mousemove", m), document.addEventListener("mouseleave", b), document.addEventListener("mouseup", b), document.addEventListener("contextmenu", b), () => {
2170
+ _.removeEventListener("mousedown", w), document.removeEventListener("mousemove", m), document.removeEventListener("mouseleave", b), document.removeEventListener("mouseup", b), document.removeEventListener("contextmenu", b);
2140
2171
  };
2141
2172
  }, [
2142
2173
  I,
2143
2174
  v,
2144
- f,
2145
- C,
2175
+ h,
2176
+ N,
2146
2177
  L,
2147
- z,
2178
+ M,
2148
2179
  s
2149
2180
  ]), A(() => {
2150
- if (u || R)
2181
+ if (u || H)
2151
2182
  return;
2152
2183
  const _ = j.current;
2153
2184
  if (!_)
2154
2185
  return;
2155
- const x = () => {
2186
+ const w = () => {
2156
2187
  const m = v();
2157
- Number.isNaN(m) || (d(m), m === a && g(null));
2188
+ Number.isNaN(m) || (c(m), m === a && f(null));
2158
2189
  };
2159
- return _.addEventListener("scroll", x), () => {
2160
- _.removeEventListener("scroll", x);
2190
+ return _.addEventListener("scroll", w), () => {
2191
+ _.removeEventListener("scroll", w);
2161
2192
  };
2162
2193
  }, [
2163
2194
  v,
2164
2195
  u,
2165
- f,
2166
- R,
2196
+ h,
2197
+ H,
2167
2198
  a,
2168
2199
  o.length,
2169
- d,
2170
- g
2200
+ c,
2201
+ f
2171
2202
  ]), A(() => {
2172
- a !== null && (c === "first_to_last" ? (C(o.length, "instant"), C(o.length - 1, "smooth", () => p())) : c === "last_to_first" ? (C(0, "instant"), C(1, "smooth", () => p())) : C(a, "smooth"));
2173
- }, [c, p, a, o.length, C]);
2203
+ a !== null && (d === "first_to_last" ? (N(o.length, "instant"), N(o.length - 1, "smooth", () => g())) : d === "last_to_first" ? (N(0, "instant"), N(1, "smooth", () => g())) : N(a, "smooth"));
2204
+ }, [d, g, a, o.length, N]);
2174
2205
  const U = () => /* @__PURE__ */ t.jsx("div", { className: "h-full", style: i });
2175
2206
  return /* @__PURE__ */ t.jsxs(
2176
2207
  "div",
2177
2208
  {
2178
- className: Z("relative overflow-hidden rounded-carrousel", e),
2209
+ className: O("relative overflow-hidden rounded-carrousel", e),
2179
2210
  style: i,
2180
2211
  children: [
2181
2212
  /* @__PURE__ */ t.jsxs(
@@ -2184,16 +2215,16 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2184
2215
  ref: j,
2185
2216
  className: `flex size-full ${s ? "overflow-x-auto no-scrollbar *:snap-start *:snap-always" : "justify-center"}`,
2186
2217
  children: [
2187
- c === "last_to_first" && /* @__PURE__ */ t.jsx(U, {}),
2188
- o.map((_, x) => {
2189
- const m = _.type === "360" ? _.images[0] : _.src, b = x === l, V = x === 0, P = l === o.length - 1, $ = x === o.length - 1, D = l === 0, X = Math.abs(x - l) > 1 && // Not next to the current one
2190
- !(r && V && P) && // Not the last one when the first one is shown (only for infinite carrousel)
2191
- !(r && $ && D), G = (() => {
2192
- if (c === "first_to_last" && V)
2218
+ d === "last_to_first" && /* @__PURE__ */ t.jsx(U, {}),
2219
+ o.map((_, w) => {
2220
+ const m = _.type === "360" ? _.images[0] : _.src, b = w === l, V = w === 0, Z = l === o.length - 1, F = w === o.length - 1, D = l === 0, X = Math.abs(w - l) > 1 && // Not next to the current one
2221
+ !(r && V && Z) && // Not the last one when the first one is shown (only for infinite carrousel)
2222
+ !(r && F && D), G = (() => {
2223
+ if (d === "first_to_last" && V)
2193
2224
  return {
2194
2225
  transform: `translateX(${100 * o.length}%)`
2195
2226
  };
2196
- if (c === "last_to_first" && $)
2227
+ if (d === "last_to_first" && F)
2197
2228
  return {
2198
2229
  transform: `translateX(-${100 * o.length}%)`
2199
2230
  };
@@ -2206,28 +2237,28 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2206
2237
  children: /* @__PURE__ */ t.jsx(
2207
2238
  Mr,
2208
2239
  {
2209
- index: x,
2240
+ index: w,
2210
2241
  item: _,
2211
2242
  isShown: b,
2212
2243
  lazy: X
2213
2244
  }
2214
2245
  )
2215
2246
  },
2216
- `${x}_${m}`
2247
+ `${w}_${m}`
2217
2248
  );
2218
2249
  }),
2219
- c === "first_to_last" && /* @__PURE__ */ t.jsx(U, {})
2250
+ d === "first_to_last" && /* @__PURE__ */ t.jsx(U, {})
2220
2251
  ]
2221
2252
  }
2222
2253
  ),
2223
- s && !h && /* @__PURE__ */ t.jsx("div", { className: `absolute ${ue("top-right")}`, children: /* @__PURE__ */ t.jsx(
2254
+ s && !p && /* @__PURE__ */ t.jsx("div", { className: `absolute ${ue("top-right")}`, children: /* @__PURE__ */ t.jsx(
2224
2255
  hr,
2225
2256
  {
2226
2257
  currentIndex: l,
2227
2258
  maxIndex: o.length - 1
2228
2259
  }
2229
2260
  ) }),
2230
- /* @__PURE__ */ t.jsx($r, {})
2261
+ /* @__PURE__ */ t.jsx(Fr, {})
2231
2262
  ]
2232
2263
  }
2233
2264
  );
@@ -2238,33 +2269,33 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2238
2269
  isShowingDetails: i,
2239
2270
  resetShownDetails: s,
2240
2271
  extendMode: l,
2241
- disableExtendMode: d,
2272
+ disableExtendMode: c,
2242
2273
  isZooming: a,
2243
- resetZoom: g,
2244
- fakeFullScreen: c
2245
- } = q(), f = W(null), p = W(null), M = W(null);
2274
+ resetZoom: f,
2275
+ fakeFullScreen: d
2276
+ } = q(), h = W(null), g = W(null), z = W(null);
2246
2277
  return A(() => {
2247
2278
  if (!l)
2248
2279
  return;
2249
- const u = f.current, h = p.current, j = M.current;
2250
- if (!u || !h || !j)
2280
+ const u = h.current, p = g.current, j = z.current;
2281
+ if (!u || !p || !j)
2251
2282
  return;
2252
- let N = !1;
2253
- const E = (y) => [u, h, j].includes(y.target), w = (y) => {
2254
- N = E(y);
2283
+ let C = !1;
2284
+ const E = (y) => [u, p, j].includes(y.target), x = (y) => {
2285
+ C = E(y);
2255
2286
  }, k = (y) => {
2256
- N && (E(y) && d(), N = !1);
2287
+ C && (E(y) && c(), C = !1);
2257
2288
  };
2258
- return u.addEventListener("mousedown", w), u.addEventListener("mouseup", k), () => {
2259
- u.removeEventListener("mousedown", w), u.removeEventListener("mouseup", k);
2289
+ return u.addEventListener("mousedown", x), u.addEventListener("mouseup", k), () => {
2290
+ u.removeEventListener("mousedown", x), u.removeEventListener("mouseup", k);
2260
2291
  };
2261
- }, [d, l]), A(() => {
2262
- const u = (h) => {
2263
- const j = h.key === "Escape", N = !a && !i;
2292
+ }, [c, l]), A(() => {
2293
+ const u = (p) => {
2294
+ const j = p.key === "Escape", C = !a && !i;
2264
2295
  if (j)
2265
- a ? g() : i ? s() : d();
2266
- else if (N)
2267
- switch (h.key) {
2296
+ a ? f() : i ? s() : c();
2297
+ else if (C)
2298
+ switch (p.key) {
2268
2299
  case "ArrowLeft":
2269
2300
  n();
2270
2301
  break;
@@ -2277,41 +2308,41 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2277
2308
  removeEventListener("keydown", u);
2278
2309
  };
2279
2310
  }, [
2280
- d,
2311
+ c,
2281
2312
  i,
2282
2313
  a,
2283
2314
  o,
2284
2315
  n,
2285
2316
  s,
2286
- g
2317
+ f
2287
2318
  ]), /* @__PURE__ */ t.jsxs(
2288
2319
  "div",
2289
2320
  {
2290
- ref: f,
2291
- className: Z(
2321
+ ref: h,
2322
+ className: O(
2292
2323
  "relative",
2293
2324
  l && "flex size-full items-center justify-center bg-foreground/75",
2294
- c && "fixed inset-0 z-overlay"
2325
+ d && "fixed inset-0 z-overlay"
2295
2326
  ),
2296
2327
  children: [
2297
2328
  /* @__PURE__ */ t.jsxs(
2298
2329
  "div",
2299
2330
  {
2300
- ref: p,
2331
+ ref: g,
2301
2332
  className: l ? "flex size-full flex-col justify-center gap-y-2 small:gap-y-4" : "space-y-2",
2302
2333
  children: [
2303
2334
  /* @__PURE__ */ t.jsx(
2304
2335
  "div",
2305
2336
  {
2306
- ref: M,
2307
- className: Z(
2337
+ ref: z,
2338
+ className: O(
2308
2339
  l && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
2309
2340
  ),
2310
2341
  style: r,
2311
- children: /* @__PURE__ */ t.jsx(Wr, { className: Z(l && "h-full min-w-0") })
2342
+ children: /* @__PURE__ */ t.jsx(Wr, { className: O(l && "h-full min-w-0") })
2312
2343
  }
2313
2344
  ),
2314
- e && /* @__PURE__ */ t.jsx(_t, { className: Z(l && "my-2 shrink-0 small:my-4") })
2345
+ e && /* @__PURE__ */ t.jsx(_t, { className: O(l && "my-2 shrink-0 small:my-4") })
2315
2346
  ]
2316
2347
  }
2317
2348
  ),
@@ -2319,7 +2350,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2319
2350
  kt,
2320
2351
  {
2321
2352
  className: "absolute right-2 top-2 small:right-4 small:top-4",
2322
- onClick: d
2353
+ onClick: c
2323
2354
  }
2324
2355
  )
2325
2356
  ]
@@ -2338,22 +2369,22 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2338
2369
  s ? r(st, s) : i ? r(ot) : o === "fetching" && r(nt);
2339
2370
  }, [r, s, i, o]), s ? /* @__PURE__ */ t.jsx(Ct, { title: "Failed to fetch composition", error: s }) : i ? /* @__PURE__ */ t.jsx(qt, { composition: n, children: /* @__PURE__ */ t.jsx(Jt, { children: /* @__PURE__ */ t.jsx(Dr, {}) }) }) : /* @__PURE__ */ t.jsxs("div", { className: "flex aspect-video size-full flex-col items-center justify-center gap-y-4", children: [
2340
2371
  /* @__PURE__ */ t.jsx("div", { className: "text-xl", children: "Loading WebPlayer..." }),
2341
- /* @__PURE__ */ t.jsx(Et, { color: "primary" })
2372
+ /* @__PURE__ */ t.jsx(Nt, { color: "primary" })
2342
2373
  ] });
2343
2374
  }, Yr = ({
2344
2375
  compositionUrl: e,
2345
2376
  flatten: r = Zt,
2346
- infiniteCarrousel: n = Ft,
2347
- permanentGallery: o = $t,
2377
+ infiniteCarrousel: n = $t,
2378
+ permanentGallery: o = Ft,
2348
2379
  imageLoadStrategy: i = Wt,
2349
2380
  preventFullScreen: s = Dt,
2350
2381
  eventPrefix: l = mt,
2351
- reverse360: d = Ut,
2382
+ reverse360: c = Ut,
2352
2383
  children: a,
2353
2384
  // NOTE: use to customize the player, not to display the content
2354
- ...g
2385
+ ...f
2355
2386
  }) => {
2356
- const c = W(null), [f, p] = F(), [M, u] = F(0.5), [h, j] = F(!1), N = T(
2387
+ const d = W(null), [h, g] = $(), [z, u] = $(0.5), [p, j] = $(!1), C = T(
2357
2388
  (k, y) => {
2358
2389
  const I = l + k, v = new CustomEvent(I, { detail: y });
2359
2390
  document.dispatchEvent(v);
@@ -2361,23 +2392,23 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2361
2392
  [l]
2362
2393
  );
2363
2394
  A(() => {
2364
- if (h) {
2395
+ if (p) {
2365
2396
  u(1);
2366
2397
  return;
2367
2398
  }
2368
- if (!c.current)
2399
+ if (!d.current)
2369
2400
  return;
2370
- const k = c.current, y = () => {
2401
+ const k = d.current, y = () => {
2371
2402
  const I = window.innerWidth, v = getComputedStyle(k), L = k.getBoundingClientRect().width + parseFloat(v.marginLeft) + parseFloat(v.marginRight);
2372
- p(L), u(L / I);
2403
+ g(L), u(L / I);
2373
2404
  };
2374
2405
  return y(), addEventListener("resize", y), () => {
2375
2406
  removeEventListener("resize", y);
2376
2407
  };
2377
- }, [h]), A(() => {
2408
+ }, [p]), A(() => {
2378
2409
  if (s)
2379
2410
  return;
2380
- const k = c.current;
2411
+ const k = d.current;
2381
2412
  if (!k)
2382
2413
  throw new Error("Wrapper not found");
2383
2414
  const y = () => {
@@ -2392,7 +2423,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2392
2423
  };
2393
2424
  }, [s]);
2394
2425
  const E = T(async () => {
2395
- const k = c.current;
2426
+ const k = d.current;
2396
2427
  if (!k)
2397
2428
  throw new Error("Wrapper not found");
2398
2429
  try {
@@ -2400,7 +2431,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2400
2431
  } catch {
2401
2432
  return !1;
2402
2433
  }
2403
- }, []), w = T(async () => {
2434
+ }, []), x = T(async () => {
2404
2435
  try {
2405
2436
  return await document.exitFullscreen(), !0;
2406
2437
  } catch {
@@ -2410,28 +2441,28 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2410
2441
  return /* @__PURE__ */ t.jsx(
2411
2442
  Kt,
2412
2443
  {
2413
- ...g,
2414
- reverse360: d,
2444
+ ...f,
2445
+ reverse360: c,
2415
2446
  imageLoadStrategy: i,
2416
2447
  flatten: r,
2417
2448
  infiniteCarrousel: n,
2418
2449
  preventFullScreen: s,
2419
2450
  permanentGallery: o,
2420
- emitEvent: N,
2421
- playerInViewportWidthRatio: M,
2422
- isFullScreen: h,
2451
+ emitEvent: C,
2452
+ playerInViewportWidthRatio: z,
2453
+ isFullScreen: p,
2423
2454
  requestFullscreen: E,
2424
- exitFullscreen: w,
2455
+ exitFullscreen: x,
2425
2456
  children: /* @__PURE__ */ t.jsxs(ar, { children: [
2426
2457
  /* @__PURE__ */ t.jsx(
2427
2458
  "div",
2428
2459
  {
2429
2460
  id: "cc-webplayer-wrapper",
2430
- ref: c,
2461
+ ref: d,
2431
2462
  className: "select-none text-foreground",
2432
2463
  style: {
2433
2464
  marginInline: "auto",
2434
- maxWidth: f && Math.floor(f)
2465
+ maxWidth: h && Math.floor(h)
2435
2466
  },
2436
2467
  children: /* @__PURE__ */ t.jsx(Ur, { compositionUrl: e })
2437
2468
  }
@@ -2441,7 +2472,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2441
2472
  }
2442
2473
  );
2443
2474
  }, Xr = ({ name: e, color: r, children: n }) => {
2444
- const { setIconConfig: o, resetIconConfig: i } = $e();
2475
+ const { setIconConfig: o, resetIconConfig: i } = Fe();
2445
2476
  return A(() => {
2446
2477
  if (!(!n && !r))
2447
2478
  return o(e, {
@@ -2451,7 +2482,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
2451
2482
  i(e);
2452
2483
  };
2453
2484
  }, [n, r, e, i, o]), null;
2454
- }, Gr = (e) => jt() ? /* @__PURE__ */ t.jsx(Xr, { ...e }) : /* @__PURE__ */ t.jsx("slot", {});
2485
+ }, Gr = (e) => jt() ? /* @__PURE__ */ t.jsx(Xr, { ...e }) : /* @__PURE__ */ t.jsx("slot", {}), Br = '*,: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-1{bottom:-.25rem}.-left-1{left:-.25rem}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.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}.text-pretty{text-wrap:pretty}.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-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-1\\.5{padding:.375rem}.p-2{padding:.5rem}.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}.pr-4{padding-right:1rem}.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\\:p-2{padding:.5rem}.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\\:pr-6{padding-right:1.5rem}.small\\:text-base{font-size:1rem;line-height:1.5rem}.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\\:max-w-56{max-width:14rem}.large\\:gap-4{gap:1rem}.large\\:p-2{padding:.5rem}.large\\:p-3{padding:.75rem}.large\\:text-base{font-size:1rem;line-height:1.5rem}.large\\:text-lg{font-size:1.125rem;line-height:1.75rem}}';
2455
2486
  var It = { exports: {} }, ve = {};
2456
2487
  /**
2457
2488
  * @license React
@@ -2463,33 +2494,33 @@ var It = { exports: {} }, ve = {};
2463
2494
  * LICENSE file in the root directory of this source tree.
2464
2495
  */
2465
2496
  var Qe;
2466
- function Br() {
2497
+ function qr() {
2467
2498
  if (Qe) return ve;
2468
2499
  Qe = 1;
2469
- var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
2470
- function l(d, a, g) {
2471
- var c, f = {}, p = null, M = null;
2472
- g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
2473
- for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
2474
- if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
2475
- return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
2500
+ var e = we, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
2501
+ function l(c, a, f) {
2502
+ var d, h = {}, g = null, z = null;
2503
+ f !== void 0 && (g = "" + f), a.key !== void 0 && (g = "" + a.key), a.ref !== void 0 && (z = a.ref);
2504
+ for (d in a) o.call(a, d) && !s.hasOwnProperty(d) && (h[d] = a[d]);
2505
+ if (c && c.defaultProps) for (d in a = c.defaultProps, a) h[d] === void 0 && (h[d] = a[d]);
2506
+ return { $$typeof: r, type: c, key: g, ref: z, props: h, _owner: i.current };
2476
2507
  }
2477
2508
  return ve.Fragment = n, ve.jsx = l, ve.jsxs = l, ve;
2478
2509
  }
2479
- It.exports = Br();
2480
- var be = It.exports, Tt, et = At;
2510
+ It.exports = qr();
2511
+ var be = It.exports, Tt, et = Pt;
2481
2512
  Tt = et.createRoot, et.hydrateRoot;
2482
- var qr = Object.defineProperty, Kr = (e, r, n) => r in e ? qr(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n, je = (e, r, n) => (Kr(e, typeof r != "symbol" ? r + "" : r, n), n);
2483
- const Jr = {
2513
+ var Kr = Object.defineProperty, Jr = (e, r, n) => r in e ? Kr(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n, je = (e, r, n) => (Jr(e, typeof r != "symbol" ? r + "" : r, n), n);
2514
+ const Qr = {
2484
2515
  stringify: (e) => e,
2485
2516
  parse: (e) => e
2486
- }, Qr = {
2517
+ }, en = {
2487
2518
  stringify: (e) => `${e}`,
2488
2519
  parse: (e) => parseFloat(e)
2489
- }, en = {
2520
+ }, tn = {
2490
2521
  stringify: (e) => e ? "true" : "false",
2491
2522
  parse: (e) => /^[ty1-9]/i.test(e)
2492
- }, tn = {
2523
+ }, rn = {
2493
2524
  stringify: (e) => e.name,
2494
2525
  parse: (e, r, n) => {
2495
2526
  const o = (() => {
@@ -2500,44 +2531,44 @@ const Jr = {
2500
2531
  })();
2501
2532
  return typeof o == "function" ? o.bind(n) : void 0;
2502
2533
  }
2503
- }, rn = {
2534
+ }, nn = {
2504
2535
  stringify: (e) => JSON.stringify(e),
2505
2536
  parse: (e) => JSON.parse(e)
2506
- }, Ae = {
2507
- string: Jr,
2508
- number: Qr,
2509
- boolean: en,
2510
- function: tn,
2511
- json: rn
2537
+ }, Pe = {
2538
+ string: Qr,
2539
+ number: en,
2540
+ boolean: tn,
2541
+ function: rn,
2542
+ json: nn
2512
2543
  };
2513
- function nn(e) {
2544
+ function on(e) {
2514
2545
  return e.replace(
2515
2546
  /([a-z0-9])([A-Z])/g,
2516
2547
  (r, n, o) => `${n}-${o.toLowerCase()}`
2517
2548
  );
2518
2549
  }
2519
2550
  const ke = Symbol.for("r2wc.render"), Ce = Symbol.for("r2wc.connected"), se = Symbol.for("r2wc.context"), J = Symbol.for("r2wc.props");
2520
- function on(e, r, n) {
2551
+ function sn(e, r, n) {
2521
2552
  var o, i, s;
2522
2553
  r.props || (r.props = e.propTypes ? Object.keys(e.propTypes) : []);
2523
- const l = Array.isArray(r.props) ? r.props.slice() : Object.keys(r.props), d = {}, a = {}, g = {};
2524
- for (const f of l) {
2525
- d[f] = Array.isArray(r.props) ? "string" : r.props[f];
2526
- const p = nn(f);
2527
- a[f] = p, g[p] = f;
2554
+ const l = Array.isArray(r.props) ? r.props.slice() : Object.keys(r.props), c = {}, a = {}, f = {};
2555
+ for (const h of l) {
2556
+ c[h] = Array.isArray(r.props) ? "string" : r.props[h];
2557
+ const g = on(h);
2558
+ a[h] = g, f[g] = h;
2528
2559
  }
2529
- class c extends HTMLElement {
2560
+ class d extends HTMLElement {
2530
2561
  constructor() {
2531
2562
  super(), je(this, o, !0), je(this, i), je(this, s, {}), je(this, "container"), r.shadow ? this.container = this.attachShadow({
2532
2563
  mode: r.shadow
2533
2564
  }) : this.container = this, this[J].container = this.container;
2534
- for (const p of l) {
2535
- const M = a[p], u = this.getAttribute(M), h = d[p], j = h ? Ae[h] : null;
2536
- j != null && j.parse && u && (this[J][p] = j.parse(u, M, this));
2565
+ for (const g of l) {
2566
+ const z = a[g], u = this.getAttribute(z), p = c[g], j = p ? Pe[p] : null;
2567
+ j != null && j.parse && u && (this[J][g] = j.parse(u, z, this));
2537
2568
  }
2538
2569
  }
2539
2570
  static get observedAttributes() {
2540
- return Object.keys(g);
2571
+ return Object.keys(f);
2541
2572
  }
2542
2573
  connectedCallback() {
2543
2574
  this[Ce] = !0, this[ke]();
@@ -2545,9 +2576,9 @@ function on(e, r, n) {
2545
2576
  disconnectedCallback() {
2546
2577
  this[Ce] = !1, this[se] && n.unmount(this[se]), delete this[se];
2547
2578
  }
2548
- attributeChangedCallback(p, M, u) {
2549
- const h = g[p], j = d[h], N = j ? Ae[j] : null;
2550
- h in d && N != null && N.parse && u && (this[J][h] = N.parse(u, p, this), this[ke]());
2579
+ attributeChangedCallback(g, z, u) {
2580
+ const p = f[g], j = c[p], C = j ? Pe[j] : null;
2581
+ p in c && C != null && C.parse && u && (this[J][p] = C.parse(u, g, this), this[ke]());
2551
2582
  }
2552
2583
  [(o = Ce, i = se, s = J, ke)]() {
2553
2584
  this[Ce] && (this[se] ? n.update(this[se], this[J]) : this[se] = n.mount(
@@ -2557,45 +2588,44 @@ function on(e, r, n) {
2557
2588
  ));
2558
2589
  }
2559
2590
  }
2560
- for (const f of l) {
2561
- const p = a[f], M = d[f];
2562
- Object.defineProperty(c.prototype, f, {
2591
+ for (const h of l) {
2592
+ const g = a[h], z = c[h];
2593
+ Object.defineProperty(d.prototype, h, {
2563
2594
  enumerable: !0,
2564
2595
  configurable: !0,
2565
2596
  get() {
2566
- return this[J][f];
2597
+ return this[J][h];
2567
2598
  },
2568
2599
  set(u) {
2569
- this[J][f] = u;
2570
- const h = M ? Ae[M] : null;
2571
- if (h != null && h.stringify) {
2572
- const j = h.stringify(u, p, this);
2573
- this.getAttribute(p) !== j && this.setAttribute(p, j);
2600
+ this[J][h] = u;
2601
+ const p = z ? Pe[z] : null;
2602
+ if (p != null && p.stringify) {
2603
+ const j = p.stringify(u, g, this);
2604
+ this.getAttribute(g) !== j && this.setAttribute(g, j);
2574
2605
  } else
2575
2606
  this[ke]();
2576
2607
  }
2577
2608
  });
2578
2609
  }
2579
- return c;
2610
+ return d;
2580
2611
  }
2581
- function sn(e, r, n) {
2582
- const o = Tt(e), i = xe.createElement(r, n);
2612
+ function an(e, r, n) {
2613
+ const o = Tt(e), i = we.createElement(r, n);
2583
2614
  return o.render(i), {
2584
2615
  root: o,
2585
2616
  ReactComponent: r
2586
2617
  };
2587
2618
  }
2588
- function an({ root: e, ReactComponent: r }, n) {
2589
- const o = xe.createElement(r, n);
2619
+ function ln({ root: e, ReactComponent: r }, n) {
2620
+ const o = we.createElement(r, n);
2590
2621
  e.render(o);
2591
2622
  }
2592
- function ln({ root: e }) {
2623
+ function cn({ root: e }) {
2593
2624
  e.unmount();
2594
2625
  }
2595
2626
  function Vt(e, r = {}) {
2596
- return on(e, r, { mount: sn, update: an, unmount: ln });
2627
+ return sn(e, r, { mount: an, update: ln, unmount: cn });
2597
2628
  }
2598
- const cn = '*,: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}}';
2599
2629
  function dn(e) {
2600
2630
  return e.replace(
2601
2631
  /([a-z0-9])([A-Z])/g,
@@ -2609,7 +2639,7 @@ function un(e) {
2609
2639
  }), r;
2610
2640
  }
2611
2641
  const mn = (e) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
2612
- /* @__PURE__ */ be.jsx("style", { children: cn }),
2642
+ /* @__PURE__ */ be.jsx("style", { children: Br }),
2613
2643
  /* @__PURE__ */ be.jsx(Yr, { ...e })
2614
2644
  ] }), pn = Vt(mn, {
2615
2645
  shadow: "open",
@@ -2625,21 +2655,21 @@ const mn = (e) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
2625
2655
  eventPrefix: "string",
2626
2656
  reverse360: "boolean"
2627
2657
  }
2628
- }), hn = (e) => un(e), fn = Vt(Gr, {
2658
+ }), hn = (e) => un(e), gn = Vt(Gr, {
2629
2659
  shadow: "closed",
2630
2660
  props: {
2631
2661
  name: "string",
2632
2662
  color: "string"
2633
2663
  }
2634
2664
  });
2635
- function gn() {
2636
- return !!customElements.get(Ze) && !!customElements.get(Fe);
2665
+ function fn() {
2666
+ return !!customElements.get(Ze) && !!customElements.get($e);
2637
2667
  }
2638
2668
  function vn() {
2639
- customElements.define(Ze, pn), customElements.define(Fe, fn);
2669
+ customElements.define(Ze, pn), customElements.define($e, gn);
2640
2670
  }
2641
2671
  function St() {
2642
- gn() || vn();
2672
+ fn() || vn();
2643
2673
  }
2644
2674
  St();
2645
2675
  const yn = ({
@@ -2650,13 +2680,13 @@ const yn = ({
2650
2680
  onExtendModeOff: i,
2651
2681
  onHotspotsOn: s,
2652
2682
  onHotspotsOff: l,
2653
- onGalleryOpen: d,
2683
+ onGalleryOpen: c,
2654
2684
  onGalleryClose: a,
2655
- ...g
2685
+ ...f
2656
2686
  }) => {
2657
- const c = hn(g);
2687
+ const d = hn(f);
2658
2688
  return A(() => {
2659
- const f = g.eventPrefix ?? mt, p = (u) => `${f}${u}`, M = /* @__PURE__ */ new Map([
2689
+ const h = f.eventPrefix ?? mt, g = (u) => `${h}${u}`, z = /* @__PURE__ */ new Map([
2660
2690
  [nt, e],
2661
2691
  [ot, r],
2662
2692
  [st, n],
@@ -2664,24 +2694,24 @@ const yn = ({
2664
2694
  [it, i],
2665
2695
  [lt, s],
2666
2696
  [ct, l],
2667
- [dt, d],
2697
+ [dt, c],
2668
2698
  [ut, a]
2669
2699
  ]);
2670
- return M.forEach((u, h) => {
2700
+ return z.forEach((u, p) => {
2671
2701
  if (u) {
2672
- const j = p(h);
2702
+ const j = g(p);
2673
2703
  document.addEventListener(j, u);
2674
2704
  }
2675
2705
  }), () => {
2676
- M.forEach((u, h) => {
2706
+ z.forEach((u, p) => {
2677
2707
  if (u) {
2678
- const j = p(h);
2708
+ const j = g(p);
2679
2709
  document.removeEventListener(j, u);
2680
2710
  }
2681
2711
  });
2682
2712
  };
2683
2713
  }, [
2684
- g.eventPrefix,
2714
+ f.eventPrefix,
2685
2715
  e,
2686
2716
  r,
2687
2717
  n,
@@ -2689,9 +2719,9 @@ const yn = ({
2689
2719
  i,
2690
2720
  s,
2691
2721
  l,
2692
- d,
2722
+ c,
2693
2723
  a
2694
- ]), /* @__PURE__ */ rt.jsx("cc-webplayer", { ...c });
2724
+ ]), /* @__PURE__ */ rt.jsx("cc-webplayer", { ...d });
2695
2725
  };
2696
2726
  St();
2697
2727
  const bn = ({ name: e, color: r }) => /* @__PURE__ */ rt.jsx("cc-webplayer-icon", { name: e, color: r });
@@ -2706,7 +2736,7 @@ export {
2706
2736
  dt as EVENT_GALLERY_OPEN,
2707
2737
  ct as EVENT_HOTSPOTS_OFF,
2708
2738
  lt as EVENT_HOTSPOTS_ON,
2709
- Fe as WEB_PLAYER_ICON_WC_TAG,
2739
+ $e as WEB_PLAYER_ICON_WC_TAG,
2710
2740
  Ze as WEB_PLAYER_WC_TAG,
2711
2741
  yn as WebPlayer,
2712
2742
  bn as WebPlayerIcon