@car-cutter/wc-webplayer 3.1.3 → 3.1.4

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
@@ -53,14 +53,14 @@ function bn(e) {
53
53
  e && e.parentNode && e.parentNode.removeChild(e);
54
54
  }
55
55
  function ft(e, t, n) {
56
- var o, s, i, u = {};
57
- for (i in t) i == "key" ? o = t[i] : i == "ref" ? s = t[i] : u[i] = t[i];
58
- if (arguments.length > 2 && (u.children = arguments.length > 3 ? Dt.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) u[i] === void 0 && (u[i] = e.defaultProps[i]);
59
- return Nt(e, u, o, s, null);
56
+ var o, i, s, u = {};
57
+ for (s in t) s == "key" ? o = t[s] : s == "ref" ? i = t[s] : u[s] = t[s];
58
+ if (arguments.length > 2 && (u.children = arguments.length > 3 ? Dt.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (s in e.defaultProps) u[s] === void 0 && (u[s] = e.defaultProps[s]);
59
+ return Nt(e, u, o, i, null);
60
60
  }
61
- function Nt(e, t, n, o, s) {
62
- var i = { type: e, props: t, key: n, ref: o, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: s ?? ++fr, __i: -1, __u: 0 };
63
- return s == null && Ie.vnode != null && Ie.vnode(i), i;
61
+ function Nt(e, t, n, o, i) {
62
+ var s = { type: e, props: t, key: n, ref: o, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i ?? ++fr, __i: -1, __u: 0 };
63
+ return i == null && Ie.vnode != null && Ie.vnode(s), s;
64
64
  }
65
65
  function Ho() {
66
66
  return { current: null };
@@ -90,24 +90,24 @@ function fn(e) {
90
90
  (!e.__d && (e.__d = !0) && yt.push(e) && !qt.__r++ || Vn != Ie.debounceRendering) && ((Vn = Ie.debounceRendering) || pr)(qt);
91
91
  }
92
92
  function qt() {
93
- for (var e, t, n, o, s, i, u, r = 1; yt.length; ) yt.length > r && yt.sort(hr), e = yt.shift(), r = yt.length, e.__d && (n = void 0, o = void 0, s = (o = (t = e).__v).__e, i = [], u = [], t.__P && ((n = st({}, o)).__v = o.__v + 1, Ie.vnode && Ie.vnode(n), Cn(t.__P, n, o, t.__n, t.__P.namespaceURI, 32 & o.__u ? [s] : null, i, s ?? Et(o), !!(32 & o.__u), u), n.__v = o.__v, n.__.__k[n.__i] = n, xr(i, n, u), o.__e = o.__ = null, n.__e != s && _r(n)));
93
+ for (var e, t, n, o, i, s, u, r = 1; yt.length; ) yt.length > r && yt.sort(hr), e = yt.shift(), r = yt.length, e.__d && (n = void 0, o = void 0, i = (o = (t = e).__v).__e, s = [], u = [], t.__P && ((n = st({}, o)).__v = o.__v + 1, Ie.vnode && Ie.vnode(n), Cn(t.__P, n, o, t.__n, t.__P.namespaceURI, 32 & o.__u ? [i] : null, s, i ?? Et(o), !!(32 & o.__u), u), n.__v = o.__v, n.__.__k[n.__i] = n, xr(s, n, u), o.__e = o.__ = null, n.__e != i && _r(n)));
94
94
  qt.__r = 0;
95
95
  }
96
- function wr(e, t, n, o, s, i, u, r, g, m, L) {
96
+ function wr(e, t, n, o, i, s, u, r, g, m, L) {
97
97
  var f, p, a, b, k, M, _, x = o && o.__k || vr, E = t.length;
98
- for (g = Fo(n, t, x, g, E), f = 0; f < E; f++) (a = n.__k[f]) != null && (p = a.__i == -1 ? Rt : x[a.__i] || Rt, a.__i = f, M = Cn(e, a, p, s, i, u, r, g, m, L), b = a.__e, a.ref && p.ref != a.ref && (p.ref && En(p.ref, null, a), L.push(a.ref, a.__c || b, a)), k == null && b != null && (k = b), (_ = !!(4 & a.__u)) || p.__k === a.__k ? g = yr(a, g, e, _) : typeof a.type == "function" && M !== void 0 ? g = M : b && (g = b.nextSibling), a.__u &= -7);
98
+ for (g = Fo(n, t, x, g, E), f = 0; f < E; f++) (a = n.__k[f]) != null && (p = a.__i == -1 ? Rt : x[a.__i] || Rt, a.__i = f, M = Cn(e, a, p, i, s, u, r, g, m, L), b = a.__e, a.ref && p.ref != a.ref && (p.ref && En(p.ref, null, a), L.push(a.ref, a.__c || b, a)), k == null && b != null && (k = b), (_ = !!(4 & a.__u)) || p.__k === a.__k ? g = yr(a, g, e, _) : typeof a.type == "function" && M !== void 0 ? g = M : b && (g = b.nextSibling), a.__u &= -7);
99
99
  return n.__e = k, g;
100
100
  }
101
- function Fo(e, t, n, o, s) {
102
- var i, u, r, g, m, L = n.length, f = L, p = 0;
103
- for (e.__k = new Array(s), i = 0; i < s; i++) (u = t[i]) != null && typeof u != "boolean" && typeof u != "function" ? (typeof u == "string" || typeof u == "number" || typeof u == "bigint" || u.constructor == String ? u = e.__k[i] = Nt(null, u, null, null, null) : zt(u) ? u = e.__k[i] = Nt(Qe, { children: u }, null, null, null) : u.constructor === void 0 && u.__b > 0 ? u = e.__k[i] = Nt(u.type, u.props, u.key, u.ref ? u.ref : null, u.__v) : e.__k[i] = u, g = i + p, u.__ = e, u.__b = e.__b + 1, r = null, (m = u.__i = Uo(u, n, g, f)) != -1 && (f--, (r = n[m]) && (r.__u |= 2)), r == null || r.__v == null ? (m == -1 && (s > L ? p-- : s < L && p++), typeof u.type != "function" && (u.__u |= 4)) : m != g && (m == g - 1 ? p-- : m == g + 1 ? p++ : (m > g ? p-- : p++, u.__u |= 4))) : e.__k[i] = null;
104
- if (f) for (i = 0; i < L; i++) (r = n[i]) != null && (2 & r.__u) == 0 && (r.__e == o && (o = Et(r)), Cr(r, r));
101
+ function Fo(e, t, n, o, i) {
102
+ var s, u, r, g, m, L = n.length, f = L, p = 0;
103
+ for (e.__k = new Array(i), s = 0; s < i; s++) (u = t[s]) != null && typeof u != "boolean" && typeof u != "function" ? (typeof u == "string" || typeof u == "number" || typeof u == "bigint" || u.constructor == String ? u = e.__k[s] = Nt(null, u, null, null, null) : zt(u) ? u = e.__k[s] = Nt(Qe, { children: u }, null, null, null) : u.constructor === void 0 && u.__b > 0 ? u = e.__k[s] = Nt(u.type, u.props, u.key, u.ref ? u.ref : null, u.__v) : e.__k[s] = u, g = s + p, u.__ = e, u.__b = e.__b + 1, r = null, (m = u.__i = Uo(u, n, g, f)) != -1 && (f--, (r = n[m]) && (r.__u |= 2)), r == null || r.__v == null ? (m == -1 && (i > L ? p-- : i < L && p++), typeof u.type != "function" && (u.__u |= 4)) : m != g && (m == g - 1 ? p-- : m == g + 1 ? p++ : (m > g ? p-- : p++, u.__u |= 4))) : e.__k[s] = null;
104
+ if (f) for (s = 0; s < L; s++) (r = n[s]) != null && (2 & r.__u) == 0 && (r.__e == o && (o = Et(r)), Cr(r, r));
105
105
  return o;
106
106
  }
107
107
  function yr(e, t, n, o) {
108
- var s, i;
108
+ var i, s;
109
109
  if (typeof e.type == "function") {
110
- for (s = e.__k, i = 0; s && i < s.length; i++) s[i] && (s[i].__ = e, t = yr(s[i], t, n, o));
110
+ for (i = e.__k, s = 0; i && s < i.length; s++) i[s] && (i[s].__ = e, t = yr(i[s], t, n, o));
111
111
  return t;
112
112
  }
113
113
  e.__e != t && (o && (t && e.type && !t.parentNode && (t = Et(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
@@ -122,26 +122,26 @@ function dt(e, t) {
122
122
  }) : t.push(e)), t;
123
123
  }
124
124
  function Uo(e, t, n, o) {
125
- var s, i, u, r = e.key, g = e.type, m = t[n], L = m != null && (2 & m.__u) == 0;
125
+ var i, s, u, r = e.key, g = e.type, m = t[n], L = m != null && (2 & m.__u) == 0;
126
126
  if (m === null && r == null || L && r == m.key && g == m.type) return n;
127
127
  if (o > (L ? 1 : 0)) {
128
- for (s = n - 1, i = n + 1; s >= 0 || i < t.length; ) if ((m = t[u = s >= 0 ? s-- : i++]) != null && (2 & m.__u) == 0 && r == m.key && g == m.type) return u;
128
+ for (i = n - 1, s = n + 1; i >= 0 || s < t.length; ) if ((m = t[u = i >= 0 ? i-- : s++]) != null && (2 & m.__u) == 0 && r == m.key && g == m.type) return u;
129
129
  }
130
130
  return -1;
131
131
  }
132
132
  function Wn(e, t, n) {
133
133
  t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || Oo.test(t) ? n : n + "px";
134
134
  }
135
- function Bt(e, t, n, o, s) {
136
- var i, u;
135
+ function Bt(e, t, n, o, i) {
136
+ var s, u;
137
137
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
138
138
  else {
139
139
  if (typeof o == "string" && (e.style.cssText = o = ""), o) for (t in o) n && t in n || Wn(e.style, t, "");
140
140
  if (n) for (t in n) o && n[t] == o[t] || Wn(e.style, t, n[t]);
141
141
  }
142
- else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(mr, "$1")), u = t.toLowerCase(), t = u in e || t == "onFocusOut" || t == "onFocusIn" ? u.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? o ? n.u = o.u : (n.u = xn, e.addEventListener(t, i ? dn : un, i)) : e.removeEventListener(t, i ? dn : un, i);
142
+ else if (t[0] == "o" && t[1] == "n") s = t != (t = t.replace(mr, "$1")), u = t.toLowerCase(), t = u in e || t == "onFocusOut" || t == "onFocusIn" ? u.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? o ? n.u = o.u : (n.u = xn, e.addEventListener(t, s ? dn : un, s)) : e.removeEventListener(t, s ? dn : un, s);
143
143
  else {
144
- if (s == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
144
+ if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
145
145
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
146
146
  e[t] = n ?? "";
147
147
  break e;
@@ -160,10 +160,10 @@ function Bn(e) {
160
160
  }
161
161
  };
162
162
  }
163
- function Cn(e, t, n, o, s, i, u, r, g, m) {
163
+ function Cn(e, t, n, o, i, s, u, r, g, m) {
164
164
  var L, f, p, a, b, k, M, _, x, E, v, I, P, K, T, H, Y, N = t.type;
165
165
  if (t.constructor !== void 0) return null;
166
- 128 & n.__u && (g = !!(32 & n.__u), i = [r = t.__e = n.__e]), (L = Ie.__b) && L(t);
166
+ 128 & n.__u && (g = !!(32 & n.__u), s = [r = t.__e = n.__e]), (L = Ie.__b) && L(t);
167
167
  e: if (typeof N == "function") try {
168
168
  if (_ = t.props, x = "prototype" in N && N.prototype.render, E = (L = N.contextType) && o[L.__c], v = L ? E ? E.props.value : L.__ : o, n.__c ? M = (f = t.__c = n.__c).__ = f.__E : (x ? t.__c = f = new N(_, v) : (t.__c = f = new lt(_, v), f.constructor = N, f.render = Wo), E && E.sub(f), f.state || (f.state = {}), f.__n = o, p = f.__d = !0, f.__h = [], f._sb = []), x && f.__s == null && (f.__s = f.state), x && N.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = st({}, f.__s)), st(f.__s, N.getDerivedStateFromProps(_, f.__s))), a = f.props, b = f.state, f.__v = t, p) x && N.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), x && f.componentDidMount != null && f.__h.push(f.componentDidMount);
169
169
  else {
@@ -184,19 +184,19 @@ function Cn(e, t, n, o, s, i, u, r, g, m) {
184
184
  } else do
185
185
  f.__d = !1, P && P(t), L = f.render(f.props, f.state, f.context), f.state = f.__s;
186
186
  while (f.__d && ++K < 25);
187
- f.state = f.__s, f.getChildContext != null && (o = st(st({}, o), f.getChildContext())), x && !p && f.getSnapshotBeforeUpdate != null && (k = f.getSnapshotBeforeUpdate(a, b)), H = L, L != null && L.type === Qe && L.key == null && (H = br(L.props.children)), r = wr(e, zt(H) ? H : [H], t, n, o, s, i, u, r, g, m), f.base = t.__e, t.__u &= -161, f.__h.length && u.push(f), M && (f.__E = f.__ = null);
187
+ f.state = f.__s, f.getChildContext != null && (o = st(st({}, o), f.getChildContext())), x && !p && f.getSnapshotBeforeUpdate != null && (k = f.getSnapshotBeforeUpdate(a, b)), H = L, L != null && L.type === Qe && L.key == null && (H = br(L.props.children)), r = wr(e, zt(H) ? H : [H], t, n, o, i, s, u, r, g, m), f.base = t.__e, t.__u &= -161, f.__h.length && u.push(f), M && (f.__E = f.__ = null);
188
188
  } catch (G) {
189
- if (t.__v = null, g || i != null) if (G.then) {
189
+ if (t.__v = null, g || s != null) if (G.then) {
190
190
  for (t.__u |= g ? 160 : 128; r && r.nodeType == 8 && r.nextSibling; ) r = r.nextSibling;
191
- i[i.indexOf(r)] = null, t.__e = r;
191
+ s[s.indexOf(r)] = null, t.__e = r;
192
192
  } else {
193
- for (Y = i.length; Y--; ) bn(i[Y]);
193
+ for (Y = s.length; Y--; ) bn(s[Y]);
194
194
  pn(t);
195
195
  }
196
196
  else t.__e = n.__e, t.__k = n.__k, G.then || pn(t);
197
197
  Ie.__e(G, t, n);
198
198
  }
199
- else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : r = t.__e = Vo(n.__e, t, n, o, s, i, u, g, m);
199
+ else s == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : r = t.__e = Vo(n.__e, t, n, o, i, s, u, g, m);
200
200
  return (L = Ie.diffed) && L(t), 128 & t.__u ? void 0 : r;
201
201
  }
202
202
  function pn(e) {
@@ -204,45 +204,45 @@ function pn(e) {
204
204
  }
205
205
  function xr(e, t, n) {
206
206
  for (var o = 0; o < n.length; o++) En(n[o], n[++o], n[++o]);
207
- Ie.__c && Ie.__c(t, e), e.some(function(s) {
207
+ Ie.__c && Ie.__c(t, e), e.some(function(i) {
208
208
  try {
209
- e = s.__h, s.__h = [], e.some(function(i) {
210
- i.call(s);
209
+ e = i.__h, i.__h = [], e.some(function(s) {
210
+ s.call(i);
211
211
  });
212
- } catch (i) {
213
- Ie.__e(i, s.__v);
212
+ } catch (s) {
213
+ Ie.__e(s, i.__v);
214
214
  }
215
215
  });
216
216
  }
217
217
  function br(e) {
218
218
  return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : zt(e) ? e.map(br) : st({}, e);
219
219
  }
220
- function Vo(e, t, n, o, s, i, u, r, g) {
220
+ function Vo(e, t, n, o, i, s, u, r, g) {
221
221
  var m, L, f, p, a, b, k, M = n.props || Rt, _ = t.props, x = t.type;
222
- if (x == "svg" ? s = "http://www.w3.org/2000/svg" : x == "math" ? s = "http://www.w3.org/1998/Math/MathML" : s || (s = "http://www.w3.org/1999/xhtml"), i != null) {
223
- for (m = 0; m < i.length; m++) if ((a = i[m]) && "setAttribute" in a == !!x && (x ? a.localName == x : a.nodeType == 3)) {
224
- e = a, i[m] = null;
222
+ if (x == "svg" ? i = "http://www.w3.org/2000/svg" : x == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), s != null) {
223
+ for (m = 0; m < s.length; m++) if ((a = s[m]) && "setAttribute" in a == !!x && (x ? a.localName == x : a.nodeType == 3)) {
224
+ e = a, s[m] = null;
225
225
  break;
226
226
  }
227
227
  }
228
228
  if (e == null) {
229
229
  if (x == null) return document.createTextNode(_);
230
- e = document.createElementNS(s, x, _.is && _), r && (Ie.__m && Ie.__m(t, i), r = !1), i = null;
230
+ e = document.createElementNS(i, x, _.is && _), r && (Ie.__m && Ie.__m(t, s), r = !1), s = null;
231
231
  }
232
232
  if (x == null) M === _ || r && e.data == _ || (e.data = _);
233
233
  else {
234
- if (i = i && Dt.call(e.childNodes), !r && i != null) for (M = {}, m = 0; m < e.attributes.length; m++) M[(a = e.attributes[m]).name] = a.value;
234
+ if (s = s && Dt.call(e.childNodes), !r && s != null) for (M = {}, m = 0; m < e.attributes.length; m++) M[(a = e.attributes[m]).name] = a.value;
235
235
  for (m in M) if (a = M[m], m != "children") {
236
236
  if (m == "dangerouslySetInnerHTML") f = a;
237
237
  else if (!(m in _)) {
238
238
  if (m == "value" && "defaultValue" in _ || m == "checked" && "defaultChecked" in _) continue;
239
- Bt(e, m, null, a, s);
239
+ Bt(e, m, null, a, i);
240
240
  }
241
241
  }
242
- for (m in _) a = _[m], m == "children" ? p = a : m == "dangerouslySetInnerHTML" ? L = a : m == "value" ? b = a : m == "checked" ? k = a : r && typeof a != "function" || M[m] === a || Bt(e, m, a, M[m], s);
242
+ for (m in _) a = _[m], m == "children" ? p = a : m == "dangerouslySetInnerHTML" ? L = a : m == "value" ? b = a : m == "checked" ? k = a : r && typeof a != "function" || M[m] === a || Bt(e, m, a, M[m], i);
243
243
  if (L) r || f && (L.__html == f.__html || L.__html == e.innerHTML) || (e.innerHTML = L.__html), t.__k = [];
244
- else if (f && (e.innerHTML = ""), wr(t.type == "template" ? e.content : e, zt(p) ? p : [p], t, n, o, x == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, i, u, i ? i[0] : n.__k && Et(n, 0), r, g), i != null) for (m = i.length; m--; ) bn(i[m]);
245
- r || (m = "value", x == "progress" && b == null ? e.removeAttribute("value") : b != null && (b !== e[m] || x == "progress" && !b || x == "option" && b != M[m]) && Bt(e, m, b, M[m], s), m = "checked", k != null && k != e[m] && Bt(e, m, k, M[m], s));
244
+ else if (f && (e.innerHTML = ""), wr(t.type == "template" ? e.content : e, zt(p) ? p : [p], t, n, o, x == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, s, u, s ? s[0] : n.__k && Et(n, 0), r, g), s != null) for (m = s.length; m--; ) bn(s[m]);
245
+ r || (m = "value", x == "progress" && b == null ? e.removeAttribute("value") : b != null && (b !== e[m] || x == "progress" && !b || x == "option" && b != M[m]) && Bt(e, m, b, M[m], i), m = "checked", k != null && k != e[m] && Bt(e, m, k, M[m], i));
246
246
  }
247
247
  return e;
248
248
  }
@@ -252,54 +252,54 @@ function En(e, t, n) {
252
252
  var o = typeof e.__u == "function";
253
253
  o && e.__u(), o && t == null || (e.__u = e(t));
254
254
  } else e.current = t;
255
- } catch (s) {
256
- Ie.__e(s, n);
255
+ } catch (i) {
256
+ Ie.__e(i, n);
257
257
  }
258
258
  }
259
259
  function Cr(e, t, n) {
260
- var o, s;
260
+ var o, i;
261
261
  if (Ie.unmount && Ie.unmount(e), (o = e.ref) && (o.current && o.current != e.__e || En(o, null, t)), (o = e.__c) != null) {
262
262
  if (o.componentWillUnmount) try {
263
263
  o.componentWillUnmount();
264
- } catch (i) {
265
- Ie.__e(i, t);
264
+ } catch (s) {
265
+ Ie.__e(s, t);
266
266
  }
267
267
  o.base = o.__P = null;
268
268
  }
269
- if (o = e.__k) for (s = 0; s < o.length; s++) o[s] && Cr(o[s], t, n || typeof e.type != "function");
269
+ if (o = e.__k) for (i = 0; i < o.length; i++) o[i] && Cr(o[i], t, n || typeof e.type != "function");
270
270
  n || bn(e.__e), e.__c = e.__ = e.__e = void 0;
271
271
  }
272
272
  function Wo(e, t, n) {
273
273
  return this.constructor(e, n);
274
274
  }
275
275
  function At(e, t, n) {
276
- var o, s, i, u;
277
- t == document && (t = document.documentElement), Ie.__ && Ie.__(e, t), s = (o = typeof n == "function") ? null : n && n.__k || t.__k, i = [], u = [], Cn(t, e = (!o && n || t).__k = ft(Qe, null, [e]), s || Rt, Rt, t.namespaceURI, !o && n ? [n] : s ? null : t.firstChild ? Dt.call(t.childNodes) : null, i, !o && n ? n : s ? s.__e : t.firstChild, o, u), xr(i, e, u);
276
+ var o, i, s, u;
277
+ t == document && (t = document.documentElement), Ie.__ && Ie.__(e, t), i = (o = typeof n == "function") ? null : n && n.__k || t.__k, s = [], u = [], Cn(t, e = (!o && n || t).__k = ft(Qe, null, [e]), i || Rt, Rt, t.namespaceURI, !o && n ? [n] : i ? null : t.firstChild ? Dt.call(t.childNodes) : null, s, !o && n ? n : i ? i.__e : t.firstChild, o, u), xr(s, e, u);
278
278
  }
279
279
  function Er(e, t) {
280
280
  At(e, t, Er);
281
281
  }
282
282
  function Bo(e, t, n) {
283
- var o, s, i, u, r = st({}, e.props);
284
- for (i in e.type && e.type.defaultProps && (u = e.type.defaultProps), t) i == "key" ? o = t[i] : i == "ref" ? s = t[i] : r[i] = t[i] === void 0 && u != null ? u[i] : t[i];
285
- return arguments.length > 2 && (r.children = arguments.length > 3 ? Dt.call(arguments, 2) : n), Nt(e.type, r, o || e.key, s || e.ref, null);
283
+ var o, i, s, u, r = st({}, e.props);
284
+ for (s in e.type && e.type.defaultProps && (u = e.type.defaultProps), t) s == "key" ? o = t[s] : s == "ref" ? i = t[s] : r[s] = t[s] === void 0 && u != null ? u[s] : t[s];
285
+ return arguments.length > 2 && (r.children = arguments.length > 3 ? Dt.call(arguments, 2) : n), Nt(e.type, r, o || e.key, i || e.ref, null);
286
286
  }
287
287
  function Ot(e) {
288
288
  function t(n) {
289
- var o, s;
290
- return this.getChildContext || (o = /* @__PURE__ */ new Set(), (s = {})[t.__c] = this, this.getChildContext = function() {
291
- return s;
289
+ var o, i;
290
+ return this.getChildContext || (o = /* @__PURE__ */ new Set(), (i = {})[t.__c] = this, this.getChildContext = function() {
291
+ return i;
292
292
  }, this.componentWillUnmount = function() {
293
293
  o = null;
294
- }, this.shouldComponentUpdate = function(i) {
295
- this.props.value != i.value && o.forEach(function(u) {
294
+ }, this.shouldComponentUpdate = function(s) {
295
+ this.props.value != s.value && o.forEach(function(u) {
296
296
  u.__e = !0, fn(u);
297
297
  });
298
- }, this.sub = function(i) {
299
- o.add(i);
300
- var u = i.componentWillUnmount;
301
- i.componentWillUnmount = function() {
302
- o && o.delete(i), u && u.call(i);
298
+ }, this.sub = function(s) {
299
+ o.add(s);
300
+ var u = s.componentWillUnmount;
301
+ s.componentWillUnmount = function() {
302
+ o && o.delete(s), u && u.call(s);
303
303
  };
304
304
  }), n.children;
305
305
  }
@@ -308,8 +308,8 @@ function Ot(e) {
308
308
  }).contextType = t, t;
309
309
  }
310
310
  Dt = vr.slice, Ie = { __e: function(e, t, n, o) {
311
- for (var s, i, u; t = t.__; ) if ((s = t.__c) && !s.__) try {
312
- if ((i = s.constructor) && i.getDerivedStateFromError != null && (s.setState(i.getDerivedStateFromError(e)), u = s.__d), s.componentDidCatch != null && (s.componentDidCatch(e, o || {}), u = s.__d), u) return s.__E = s;
311
+ for (var i, s, u; t = t.__; ) if ((i = t.__c) && !i.__) try {
312
+ if ((s = i.constructor) && s.getDerivedStateFromError != null && (i.setState(s.getDerivedStateFromError(e)), u = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, o || {}), u = i.__d), u) return i.__E = i;
313
313
  } catch (r) {
314
314
  e = r;
315
315
  }
@@ -323,11 +323,11 @@ Dt = vr.slice, Ie = { __e: function(e, t, n, o) {
323
323
  return e.__v.__b - t.__v.__b;
324
324
  }, qt.__r = 0, mr = /(PointerCapture)$|Capture$/i, xn = 0, un = Bn(!1), dn = Bn(!0), gr = 0;
325
325
  var Zo = 0;
326
- function c(e, t, n, o, s, i) {
326
+ function c(e, t, n, o, i, s) {
327
327
  t || (t = {});
328
328
  var u, r, g = t;
329
329
  if ("ref" in g) for (r in g = {}, t) r == "ref" ? u = t[r] : g[r] = t[r];
330
- var m = { type: e, props: g, key: n, ref: u, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Zo, __i: -1, __u: 0, __source: s, __self: i };
330
+ var m = { type: e, props: g, key: n, ref: u, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Zo, __i: -1, __u: 0, __source: i, __self: s };
331
331
  if (typeof e == "function" && (u = e.defaultProps)) for (r in u) g[r] === void 0 && (g[r] = u[r]);
332
332
  return Ie.vnode && Ie.vnode(m), m;
333
333
  }
@@ -346,31 +346,31 @@ function Ln(e, t, n) {
346
346
  var g = o.__N ? o.__N[0] : o.__[0], m = o.t(g, r);
347
347
  g !== m && (o.__N = [m, o.__[1]], o.__c.setState({}));
348
348
  }], o.__c = Ye, !Ye.__f)) {
349
- var s = function(r, g, m) {
349
+ var i = function(r, g, m) {
350
350
  if (!o.__c.__H) return !0;
351
351
  var L = o.__c.__H.__.filter(function(p) {
352
352
  return !!p.__c;
353
353
  });
354
354
  if (L.every(function(p) {
355
355
  return !p.__N;
356
- })) return !i || i.call(this, r, g, m);
356
+ })) return !s || s.call(this, r, g, m);
357
357
  var f = o.__c.props !== r;
358
358
  return L.forEach(function(p) {
359
359
  if (p.__N) {
360
360
  var a = p.__[0];
361
361
  p.__ = p.__N, p.__N = void 0, a !== p.__[0] && (f = !0);
362
362
  }
363
- }), i && i.call(this, r, g, m) || f;
363
+ }), s && s.call(this, r, g, m) || f;
364
364
  };
365
365
  Ye.__f = !0;
366
- var i = Ye.shouldComponentUpdate, u = Ye.componentWillUpdate;
366
+ var s = Ye.shouldComponentUpdate, u = Ye.componentWillUpdate;
367
367
  Ye.componentWillUpdate = function(r, g, m) {
368
368
  if (this.__e) {
369
- var L = i;
370
- i = void 0, s(r, g, m), i = L;
369
+ var L = s;
370
+ s = void 0, i(r, g, m), s = L;
371
371
  }
372
372
  u && u.call(this, r, g, m);
373
- }, Ye.shouldComponentUpdate = s;
373
+ }, Ye.shouldComponentUpdate = i;
374
374
  }
375
375
  return o.__N || o.__;
376
376
  }
@@ -455,8 +455,8 @@ $e.__b = function(e) {
455
455
  return !o.__ || hn(o);
456
456
  });
457
457
  } catch (o) {
458
- t.some(function(s) {
459
- s.__h && (s.__h = []);
458
+ t.some(function(i) {
459
+ i.__h && (i.__h = []);
460
460
  }), t = [], $e.__e(o, n.__v);
461
461
  }
462
462
  }), $n && $n(e, t);
@@ -466,8 +466,8 @@ $e.__b = function(e) {
466
466
  n && n.__H && (n.__H.__.forEach(function(o) {
467
467
  try {
468
468
  Gt(o);
469
- } catch (s) {
470
- t = s;
469
+ } catch (i) {
470
+ t = i;
471
471
  }
472
472
  }), n.__H = void 0, t && $e.__e(t, n.__v));
473
473
  };
@@ -504,20 +504,20 @@ function mn(e, t) {
504
504
  return !1;
505
505
  }
506
506
  function Pr(e, t) {
507
- var n = t(), o = be({ t: { __: n, u: t } }), s = o[0].t, i = o[1];
507
+ var n = t(), o = be({ t: { __: n, u: t } }), i = o[0].t, s = o[1];
508
508
  return Ht(function() {
509
- s.__ = n, s.u = t, sn(s) && i({ t: s });
509
+ i.__ = n, i.u = t, sn(i) && s({ t: i });
510
510
  }, [e, n, t]), me(function() {
511
- return sn(s) && i({ t: s }), e(function() {
512
- sn(s) && i({ t: s });
511
+ return sn(i) && s({ t: i }), e(function() {
512
+ sn(i) && s({ t: i });
513
513
  });
514
514
  }, [e]), n;
515
515
  }
516
516
  function sn(e) {
517
- var t, n, o = e.u, s = e.__;
517
+ var t, n, o = e.u, i = e.__;
518
518
  try {
519
- var i = o();
520
- return !((t = s) === (n = i) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
519
+ var s = o();
520
+ return !((t = i) === (n = s) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
521
521
  } catch {
522
522
  return !0;
523
523
  }
@@ -536,12 +536,12 @@ function gn(e, t) {
536
536
  this.props = e, this.context = t;
537
537
  }
538
538
  function Go(e, t) {
539
- function n(s) {
540
- var i = this.props.ref, u = i == s.ref;
541
- return !u && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, s) || !u : mn(this.props, s);
539
+ function n(i) {
540
+ var s = this.props.ref, u = s == i.ref;
541
+ return !u && s && (s.call ? s(null) : s.current = null), t ? !t(this.props, i) || !u : mn(this.props, i);
542
542
  }
543
- function o(s) {
544
- return this.shouldComponentUpdate = n, ft(e, s);
543
+ function o(i) {
544
+ return this.shouldComponentUpdate = n, ft(e, i);
545
545
  }
546
546
  return o.displayName = "Memo(" + (e.displayName || e.name) + ")", o.prototype.isReactComponent = !0, o.__f = !0, o.type = e, o;
547
547
  }
@@ -571,7 +571,7 @@ var Qn = function(e, t) {
571
571
  }, toArray: dt }, qo = Ie.__e;
572
572
  Ie.__e = function(e, t, n, o) {
573
573
  if (e.then) {
574
- for (var s, i = t; i = i.__; ) if ((s = i.__c) && s.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), s.__c(e, t);
574
+ for (var i, s = t; s = s.__; ) if ((i = s.__c) && i.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), i.__c(e, t);
575
575
  }
576
576
  qo(e, t, n, o);
577
577
  };
@@ -597,17 +597,17 @@ function Fr(e) {
597
597
  return t && t.__a && t.__a(e);
598
598
  }
599
599
  function Ko(e) {
600
- var t, n, o, s = null;
601
- function i(u) {
600
+ var t, n, o, i = null;
601
+ function s(u) {
602
602
  if (t || (t = e()).then(function(r) {
603
- r && (s = r.default || r), o = !0;
603
+ r && (i = r.default || r), o = !0;
604
604
  }, function(r) {
605
605
  n = r, o = !0;
606
606
  }), n) throw n;
607
607
  if (!o) throw t;
608
- return s ? ft(s, u) : null;
608
+ return i ? ft(i, u) : null;
609
609
  }
610
- return i.displayName = "Lazy", i.__f = !0, i;
610
+ return s.displayName = "Lazy", s.__f = !0, s;
611
611
  }
612
612
  function St() {
613
613
  this.i = null, this.l = null;
@@ -618,8 +618,8 @@ Ie.unmount = function(e) {
618
618
  }, ($t.prototype = new lt()).__c = function(e, t) {
619
619
  var n = t.__c, o = this;
620
620
  o.o == null && (o.o = []), o.o.push(n);
621
- var s = Fr(o.__v), i = !1, u = function() {
622
- i || o.__z || (i = !0, n.__R = null, s ? s(g) : g());
621
+ var i = Fr(o.__v), s = !1, u = function() {
622
+ s || o.__z || (s = !0, n.__R = null, i ? i(g) : g());
623
623
  };
624
624
  n.__R = u;
625
625
  var r = n.__P;
@@ -645,8 +645,8 @@ Ie.unmount = function(e) {
645
645
  }
646
646
  this.__b = null;
647
647
  }
648
- var s = t.__a && ft(Qe, null, e.fallback);
649
- return s && (s.__u &= -33), [ft(Qe, null, t.__a ? null : e.children), s];
648
+ var i = t.__a && ft(Qe, null, e.fallback);
649
+ return i && (i.__u &= -33), [ft(Qe, null, t.__a ? null : e.children), i];
650
650
  };
651
651
  var tr = function(e, t, n) {
652
652
  if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n; ) {
@@ -668,10 +668,10 @@ function Qo(e) {
668
668
  for (var o = t.__v; o !== null && !o.__m && o.__ !== null; ) o = o.__;
669
669
  t.h = n, t.v = { nodeType: 1, parentNode: n, childNodes: [], __k: { __m: o.__m }, contains: function() {
670
670
  return !0;
671
- }, namespaceURI: n.namespaceURI, insertBefore: function(s, i) {
672
- this.childNodes.push(s), t.h.insertBefore(s, i);
673
- }, removeChild: function(s) {
674
- this.childNodes.splice(this.childNodes.indexOf(s) >>> 1, 1), t.h.removeChild(s);
671
+ }, namespaceURI: n.namespaceURI, insertBefore: function(i, s) {
672
+ this.childNodes.push(i), t.h.insertBefore(i, s);
673
+ }, removeChild: function(i) {
674
+ this.childNodes.splice(this.childNodes.indexOf(i) >>> 1, 1), t.h.removeChild(i);
675
675
  } };
676
676
  }
677
677
  At(ft(Jo, { context: t.context }, e.__v), t.v);
@@ -682,11 +682,11 @@ function ea(e, t) {
682
682
  }
683
683
  (St.prototype = new lt()).__a = function(e) {
684
684
  var t = this, n = Fr(t.__v), o = t.l.get(e);
685
- return o[0]++, function(s) {
686
- var i = function() {
687
- t.props.revealOrder ? (o.push(s), tr(t, e, o)) : s();
685
+ return o[0]++, function(i) {
686
+ var s = function() {
687
+ t.props.revealOrder ? (o.push(i), tr(t, e, o)) : i();
688
688
  };
689
- n ? n(i) : i();
689
+ n ? n(s) : s();
690
690
  };
691
691
  }, St.prototype.render = function(e) {
692
692
  this.i = null, this.l = /* @__PURE__ */ new Map();
@@ -733,19 +733,19 @@ var In, ua = { enumerable: !1, configurable: !0, get: function() {
733
733
  } }, rr = Ie.vnode;
734
734
  Ie.vnode = function(e) {
735
735
  typeof e.type == "string" && (function(t) {
736
- var n = t.props, o = t.type, s = {}, i = o.indexOf("-") === -1;
736
+ var n = t.props, o = t.type, i = {}, s = o.indexOf("-") === -1;
737
737
  for (var u in n) {
738
738
  var r = n[u];
739
739
  if (!(u === "value" && "defaultValue" in n && r == null || oa && u === "children" && o === "noscript" || u === "class" || u === "className")) {
740
740
  var g = u.toLowerCase();
741
- u === "defaultValue" && "value" in n && n.value == null ? u = "value" : u === "download" && r === !0 ? r = "" : g === "translate" && r === "no" ? r = !1 : g[0] === "o" && g[1] === "n" ? g === "ondoubleclick" ? u = "ondblclick" : g !== "onchange" || o !== "input" && o !== "textarea" || aa(n.type) ? g === "onfocus" ? u = "onfocusin" : g === "onblur" ? u = "onfocusout" : na.test(u) && (u = g) : g = u = "oninput" : i && ta.test(u) ? u = u.replace(ra, "-$&").toLowerCase() : r === null && (r = void 0), g === "oninput" && s[u = g] && (u = "oninputCapture"), s[u] = r;
741
+ u === "defaultValue" && "value" in n && n.value == null ? u = "value" : u === "download" && r === !0 ? r = "" : g === "translate" && r === "no" ? r = !1 : g[0] === "o" && g[1] === "n" ? g === "ondoubleclick" ? u = "ondblclick" : g !== "onchange" || o !== "input" && o !== "textarea" || aa(n.type) ? g === "onfocus" ? u = "onfocusin" : g === "onblur" ? u = "onfocusout" : na.test(u) && (u = g) : g = u = "oninput" : s && ta.test(u) ? u = u.replace(ra, "-$&").toLowerCase() : r === null && (r = void 0), g === "oninput" && i[u = g] && (u = "oninputCapture"), i[u] = r;
742
742
  }
743
743
  }
744
- o == "select" && s.multiple && Array.isArray(s.value) && (s.value = dt(n.children).forEach(function(m) {
745
- m.props.selected = s.value.indexOf(m.props.value) != -1;
746
- })), o == "select" && s.defaultValue != null && (s.value = dt(n.children).forEach(function(m) {
747
- m.props.selected = s.multiple ? s.defaultValue.indexOf(m.props.value) != -1 : s.defaultValue == m.props.value;
748
- })), n.class && !n.className ? (s.class = n.class, Object.defineProperty(s, "className", ua)) : (n.className && !n.class || n.class && n.className) && (s.class = s.className = n.className), t.props = s;
744
+ o == "select" && i.multiple && Array.isArray(i.value) && (i.value = dt(n.children).forEach(function(m) {
745
+ m.props.selected = i.value.indexOf(m.props.value) != -1;
746
+ })), o == "select" && i.defaultValue != null && (i.value = dt(n.children).forEach(function(m) {
747
+ m.props.selected = i.multiple ? i.defaultValue.indexOf(m.props.value) != -1 : i.defaultValue == m.props.value;
748
+ })), n.class && !n.className ? (i.class = n.class, Object.defineProperty(i, "className", ua)) : (n.className && !n.class || n.class && n.className) && (i.class = i.className = n.className), t.props = i;
749
749
  })(e), e.$$typeof = Ur, rr && rr(e);
750
750
  };
751
751
  var or = Ie.__r;
@@ -799,9 +799,9 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
799
799
  isSuccess: !1
800
800
  });
801
801
  return me(() => {
802
- const o = (i) => n({ status: "success", data: i, isSuccess: !0 }), s = ln.get(e);
803
- if (s && !(s instanceof Promise)) {
804
- o(s);
802
+ const o = (s) => n({ status: "success", data: s, isSuccess: !0 }), i = ln.get(e);
803
+ if (i && !(i instanceof Promise)) {
804
+ o(i);
805
805
  return;
806
806
  }
807
807
  n({
@@ -809,19 +809,19 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
809
809
  isSuccess: !1
810
810
  }), (async function() {
811
811
  try {
812
- let i;
813
- if (s)
814
- i = await s;
812
+ let s;
813
+ if (i)
814
+ s = await i;
815
815
  else {
816
816
  const u = xa(e);
817
- ln.set(e, u), i = await u, ln.set(e, i);
817
+ ln.set(e, u), s = await u, ln.set(e, s);
818
818
  }
819
- o(i);
820
- } catch (i) {
819
+ o(s);
820
+ } catch (s) {
821
821
  n({
822
822
  status: "error",
823
823
  isSuccess: !1,
824
- error: i
824
+ error: s
825
825
  });
826
826
  }
827
827
  })();
@@ -844,8 +844,8 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
844
844
  const {
845
845
  aspectRatio: n,
846
846
  categories: o,
847
- imageHdWidth: s,
848
- imageSubWidths: i
847
+ imageHdWidth: i,
848
+ imageSubWidths: s
849
849
  } = e, { minMediaWidth: u, maxMediaWidth: r, categoriesFilter: g } = Ke(), m = Fe(() => {
850
850
  if (g === "*")
851
851
  return o;
@@ -859,13 +859,13 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
859
859
  ), f = {
860
860
  aspectRatio: n.replace(":", " / ")
861
861
  }, p = Fe(() => {
862
- const a = i.concat(s), b = a.sort((M, _) => M - _), k = b.filter(
862
+ const a = s.concat(i), b = a.sort((M, _) => M - _), k = b.filter(
863
863
  (M) => M >= u && M <= r
864
864
  );
865
865
  if (k.length === 0) {
866
866
  const M = (u + r) / 2, _ = a.reduce(
867
867
  (x, E) => Math.abs(E - M) < Math.abs(x - M) ? E : x,
868
- s
868
+ i
869
869
  );
870
870
  return console.warn(
871
871
  `None of available media widths (${b.join("|")}) match the given constraints (${u > 0 ? `${u} ≤ ` : ""}width${r < 1 / 0 ? ` ≤ ${r}` : ""}).`,
@@ -873,7 +873,7 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
873
873
  ), [_];
874
874
  }
875
875
  return k;
876
- }, [i, s, u, r]);
876
+ }, [s, i, u, r]);
877
877
  return /* @__PURE__ */ c(
878
878
  Xr.Provider,
879
879
  {
@@ -894,19 +894,19 @@ const ln = /* @__PURE__ */ new Map(), ba = (e) => {
894
894
  function at(e, t, n) {
895
895
  return Math.min(Math.max(e, t), n);
896
896
  }
897
- const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
897
+ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, i, s = !1) => {
898
898
  const u = at(e, t, n);
899
- if (u === (i ? n : t)) return o;
900
- if (u === (i ? t : n)) return 1;
901
- const r = (u - t) / (n - t), m = 1 + (i ? r : 1 - r) * (o - 1), f = 1 + Math.round((m - 1) / s) * s;
899
+ if (u === (s ? n : t)) return o;
900
+ if (u === (s ? t : n)) return 1;
901
+ const r = (u - t) / (n - t), m = 1 + (s ? r : 1 - r) * (o - 1), f = 1 + Math.round((m - 1) / i) * i;
902
902
  return at(f, 1, o);
903
903
  }, La = (e, t) => {
904
904
  if (t.includes(e))
905
905
  return e;
906
906
  let n = t[0], o = Math.abs(e - n);
907
- for (let s = 1; s < t.length; s++) {
908
- const i = Math.abs(e - t[s]);
909
- i < o && (o = i, n = t[s]);
907
+ for (let i = 1; i < t.length; i++) {
908
+ const s = Math.abs(e - t[i]);
909
+ s < o && (o = s, n = t[i]);
910
910
  }
911
911
  return n;
912
912
  }, $r = Ot(null), kn = () => It($r), Ft = () => {
@@ -944,7 +944,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
944
944
  M.set(x, { Icon: v });
945
945
  }
946
946
  return M;
947
- }, []), [s, i] = be(
947
+ }, []), [i, s] = be(
948
948
  () => {
949
949
  const b = n();
950
950
  return b ? o(b) : /* @__PURE__ */ new Map();
@@ -955,7 +955,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
955
955
  if (!b)
956
956
  return;
957
957
  const k = new MutationObserver(() => {
958
- i(o(b));
958
+ s(o(b));
959
959
  });
960
960
  return k.observe(b, {
961
961
  childList: !0,
@@ -963,11 +963,11 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
963
963
  }), () => k.disconnect();
964
964
  }, [o, n]);
965
965
  const u = B(
966
- (b) => s.get(b),
967
- [s]
966
+ (b) => i.get(b),
967
+ [i]
968
968
  ), r = B(
969
969
  (b, k) => {
970
- i((M) => {
970
+ s((M) => {
971
971
  const { Icon: _, ...x } = k;
972
972
  return new Map(
973
973
  M.set(b, {
@@ -979,7 +979,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
979
979
  },
980
980
  []
981
981
  ), g = B((b) => {
982
- i((k) => (k.delete(b), new Map(k)));
982
+ s((k) => (k.delete(b), new Map(k)));
983
983
  }, []), m = B((b) => {
984
984
  const k = b.querySelectorAll(
985
985
  _n
@@ -1069,8 +1069,8 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1069
1069
  infiniteCarrousel: t,
1070
1070
  extendBehavior: n,
1071
1071
  integration: o,
1072
- emitEvent: s,
1073
- emitAnalyticsEvent: i,
1072
+ emitEvent: i,
1073
+ emitAnalyticsEvent: s,
1074
1074
  isFullScreen: u,
1075
1075
  requestFullscreen: r,
1076
1076
  exitFullscreen: g
@@ -1141,7 +1141,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1141
1141
  const le = Math.ceil(N), A = p.length + (o && !t && N % 1 !== 0 ? 1 : 0), he = N > 1 ? Math.max(0, A - le) : p.length - 1;
1142
1142
  E(he);
1143
1143
  }
1144
- i({
1144
+ s({
1145
1145
  type: "interaction",
1146
1146
  current: {
1147
1147
  category_id: R,
@@ -1160,7 +1160,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1160
1160
  x,
1161
1161
  M,
1162
1162
  t,
1163
- i,
1163
+ s,
1164
1164
  R,
1165
1165
  $,
1166
1166
  I.type,
@@ -1171,7 +1171,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1171
1171
  if (H || x !== null)
1172
1172
  return;
1173
1173
  const F = M + 1, le = Math.ceil(N), A = p.length + (o && !t && N % 1 !== 0 ? 1 : 0), he = N > 1 ? Math.max(0, A - le) : p.length - 1;
1174
- F <= he ? E(F) : t && (T("last_to_first"), E(0)), i({
1174
+ F <= he ? E(F) : t && (T("last_to_first"), E(0)), s({
1175
1175
  type: "interaction",
1176
1176
  current: {
1177
1177
  category_id: R,
@@ -1193,17 +1193,17 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1193
1193
  p.length,
1194
1194
  o,
1195
1195
  t,
1196
- i,
1196
+ s,
1197
1197
  R,
1198
1198
  $,
1199
1199
  I.type
1200
1200
  ]);
1201
1201
  me(() => {
1202
- s(bo, {
1202
+ i(bo, {
1203
1203
  index: v,
1204
1204
  item: I
1205
1205
  });
1206
- }, [I, s, v]), me(() => {
1206
+ }, [I, i, v]), me(() => {
1207
1207
  if (H || x !== null)
1208
1208
  return;
1209
1209
  const F = {
@@ -1215,7 +1215,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1215
1215
  item_position: M,
1216
1216
  items_count: pe
1217
1217
  }
1218
- }, le = setTimeout(() => i(F), 0);
1218
+ }, le = setTimeout(() => s(F), 0);
1219
1219
  return () => clearTimeout(le);
1220
1220
  }, [
1221
1221
  R,
@@ -1223,7 +1223,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1223
1223
  pe,
1224
1224
  I.type,
1225
1225
  M,
1226
- i,
1226
+ s,
1227
1227
  H,
1228
1228
  x
1229
1229
  ]);
@@ -1259,7 +1259,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1259
1259
  ne((A) => ({
1260
1260
  ...A,
1261
1261
  [v]: le
1262
- })), s(le ? Fn : Un), i({
1262
+ })), i(le ? Fn : Un), s({
1263
1263
  type: "interaction",
1264
1264
  current: {
1265
1265
  category_id: R,
@@ -1275,7 +1275,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1275
1275
  });
1276
1276
  } else {
1277
1277
  const F = !V;
1278
- ie(F), s(F ? Fn : Un), i({
1278
+ ie(F), i(F ? Fn : Un), s({
1279
1279
  type: "interaction",
1280
1280
  current: {
1281
1281
  category_id: R,
@@ -1295,8 +1295,8 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1295
1295
  u,
1296
1296
  O,
1297
1297
  v,
1298
- s,
1299
1298
  i,
1299
+ s,
1300
1300
  R,
1301
1301
  $,
1302
1302
  I.type,
@@ -1311,7 +1311,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1311
1311
  }
1312
1312
  }, [I, P]), [xe, q] = be(!1), Ae = B(() => {
1313
1313
  const F = !xe;
1314
- q(F), s(F ? Lo : Mo), i({
1314
+ q(F), i(F ? Lo : Mo), s({
1315
1315
  type: "interaction",
1316
1316
  current: {
1317
1317
  category_id: R,
@@ -1327,8 +1327,8 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1327
1327
  });
1328
1328
  }, [
1329
1329
  xe,
1330
- s,
1331
1330
  i,
1331
+ s,
1332
1332
  R,
1333
1333
  $,
1334
1334
  I.type,
@@ -1347,7 +1347,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1347
1347
  }, [I.type, P]), [Q, re] = be(1), ee = B(
1348
1348
  (F) => {
1349
1349
  const le = typeof F == "function" ? F(Q) : F;
1350
- Q !== le && (re(le), i({
1350
+ Q !== le && (re(le), s({
1351
1351
  type: "interaction",
1352
1352
  current: {
1353
1353
  category_id: R,
@@ -1364,7 +1364,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1364
1364
  },
1365
1365
  [
1366
1366
  Q,
1367
- i,
1367
+ s,
1368
1368
  R,
1369
1369
  $,
1370
1370
  I.type,
@@ -1379,7 +1379,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1379
1379
  ue(), we();
1380
1380
  }, [ue, we]), [ve, Ue] = be(!1), [We, ke] = be(), [ze, De] = be(!1), Te = B(
1381
1381
  async (F) => {
1382
- ge(), Ue(F), s(F ? Co : Eo), i({
1382
+ ge(), Ue(F), i(F ? Co : Eo), s({
1383
1383
  type: "interaction",
1384
1384
  current: {
1385
1385
  category_id: R,
@@ -1396,8 +1396,8 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1396
1396
  },
1397
1397
  [
1398
1398
  ge,
1399
- s,
1400
1399
  i,
1400
+ s,
1401
1401
  R,
1402
1402
  $,
1403
1403
  I.type,
@@ -1411,7 +1411,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1411
1411
  ke(F);
1412
1412
  }, [We]), Ve = B(async () => {
1413
1413
  const F = await r();
1414
- return F && i({
1414
+ return F && s({
1415
1415
  type: "interaction",
1416
1416
  current: {
1417
1417
  category_id: R,
@@ -1427,14 +1427,14 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1427
1427
  }), F;
1428
1428
  }, [
1429
1429
  r,
1430
- i,
1430
+ s,
1431
1431
  R,
1432
1432
  $,
1433
1433
  I.type,
1434
1434
  M
1435
1435
  ]), Ne = B(async () => {
1436
1436
  const F = await g();
1437
- return F && i({
1437
+ return F && s({
1438
1438
  type: "interaction",
1439
1439
  current: {
1440
1440
  category_id: R,
@@ -1450,7 +1450,7 @@ const jt = (e, t, n) => e + (t - e) * n, ir = (e, t, n, o, s, i = !1) => {
1450
1450
  }), F;
1451
1451
  }, [
1452
1452
  g,
1453
- i,
1453
+ s,
1454
1454
  R,
1455
1455
  $,
1456
1456
  I.type,
@@ -1615,8 +1615,8 @@ const qe = ({
1615
1615
  className: t,
1616
1616
  children: n
1617
1617
  }) => {
1618
- const { getIconConfig: o } = Ft(), i = o(e)?.Icon;
1619
- return i ? t ? /* @__PURE__ */ c("div", { className: t, children: i }) : i : n;
1618
+ const { getIconConfig: o } = Ft(), s = o(e)?.Icon;
1619
+ return s ? t ? /* @__PURE__ */ c("div", { className: t, children: s }) : s : n;
1620
1620
  }, Da = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_CLOSE", children: /* @__PURE__ */ c(
1621
1621
  "svg",
1622
1622
  {
@@ -1651,8 +1651,8 @@ const qe = ({
1651
1651
  shape: t = "button",
1652
1652
  color: n = "primary",
1653
1653
  className: o,
1654
- children: s,
1655
- ...i
1654
+ children: i,
1655
+ ...s
1656
1656
  }) => {
1657
1657
  const u = za[e][n], r = Oa[t];
1658
1658
  return /* @__PURE__ */ c(
@@ -1664,8 +1664,8 @@ const qe = ({
1664
1664
  r,
1665
1665
  o
1666
1666
  ),
1667
- ...i,
1668
- children: s
1667
+ ...s,
1668
+ children: i
1669
1669
  }
1670
1670
  );
1671
1671
  }, vn = (e) => /* @__PURE__ */ c(nt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(Da, { className: "size-full" }) }), Qt = ({ text: e, className: t }) => /* @__PURE__ */ c(
@@ -1715,14 +1715,14 @@ const qe = ({
1715
1715
  className: t,
1716
1716
  onLoad: n,
1717
1717
  imgInPlayerWidthRatio: o = 1,
1718
- onlyThumbnail: s,
1719
- fadeIn: i,
1718
+ onlyThumbnail: i,
1719
+ fadeIn: s,
1720
1720
  ...u
1721
1721
  }, r) => {
1722
1722
  const { mediaLoadStrategy: g, playerInViewportWidthRatio: m } = Ke(), { imageHdWidth: L, usedMediaWidths: f } = gt(), [p, a] = Fe(() => {
1723
1723
  const M = f.map((x) => `${x !== L ? No(e, x) : e} ${x}w`);
1724
1724
  let _;
1725
- if (s)
1725
+ if (i)
1726
1726
  _ = [`${f[0]}px`];
1727
1727
  else {
1728
1728
  const x = 1 / (o * m);
@@ -1759,7 +1759,7 @@ const qe = ({
1759
1759
  L,
1760
1760
  o,
1761
1761
  g,
1762
- s,
1762
+ i,
1763
1763
  m,
1764
1764
  e,
1765
1765
  f
@@ -1780,7 +1780,7 @@ const qe = ({
1780
1780
  sizes: a,
1781
1781
  className: fe(
1782
1782
  t,
1783
- i && fe(
1783
+ s && fe(
1784
1784
  b !== void 0 && "transition-opacity duration-200",
1785
1785
  b === !1 && "opacity-0",
1786
1786
  b === !0 && "opacity-100"
@@ -1982,27 +1982,30 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
1982
1982
  );
1983
1983
  }, Va = ({ item: e }) => {
1984
1984
  const { aspectRatioStyle: t } = gt(), { type: n } = e;
1985
- let o, s;
1985
+ let o, i;
1986
1986
  switch (n) {
1987
1987
  case "360":
1988
- o = e.images[0].src, s = !0;
1988
+ o = e.images[0].src, i = !0;
1989
+ break;
1990
+ case "next360":
1991
+ o = e.images[0].src, i = !0;
1989
1992
  break;
1990
1993
  case "interior-360":
1991
- o = e.poster, s = !0;
1994
+ o = e.poster, i = !0;
1992
1995
  break;
1993
1996
  case "image":
1994
- o = e.src, s = !0;
1997
+ o = e.src, i = !0;
1995
1998
  break;
1996
1999
  case "video":
1997
- o = e.poster, s = !0;
2000
+ o = e.poster, i = !0;
1998
2001
  break;
1999
2002
  case "custom":
2000
- o = e.thumbnailSrc, s = !1;
2003
+ o = e.thumbnailSrc, i = !1;
2001
2004
  break;
2002
2005
  default:
2003
- s = !1;
2006
+ i = !1;
2004
2007
  }
2005
- const i = /* @__PURE__ */ c(Ua, { src: o, withCdn: s });
2008
+ const s = /* @__PURE__ */ c(Ua, { src: o, withCdn: i });
2006
2009
  let u;
2007
2010
  switch (n) {
2008
2011
  case "360":
@@ -2019,7 +2022,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2019
2022
  break;
2020
2023
  }
2021
2024
  return /* @__PURE__ */ c("div", { className: "relative bg-foreground/30", style: t, children: [
2022
- i,
2025
+ s,
2023
2026
  u && /* @__PURE__ */ c("div", { className: "absolute inset-0 flex items-center justify-center bg-foreground/25", children: u })
2024
2027
  ] });
2025
2028
  }, Wa = {
@@ -2040,8 +2043,8 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2040
2043
  const {
2041
2044
  hideCategoriesNav: n,
2042
2045
  infiniteCarrousel: o,
2043
- permanentGallery: s,
2044
- isFullScreen: i,
2046
+ permanentGallery: i,
2047
+ isFullScreen: s,
2045
2048
  maxItemsShown: u
2046
2049
  } = Ke(), { categories: r, aspectRatioStyle: g } = gt(), { emitAnalyticsEvent: m } = Ke(), {
2047
2050
  items: L,
@@ -2124,7 +2127,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2124
2127
  }, [
2125
2128
  G,
2126
2129
  // - Run the effect when those values change
2127
- i,
2130
+ s,
2128
2131
  f,
2129
2132
  p
2130
2133
  ]);
@@ -2159,7 +2162,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2159
2162
  b();
2160
2163
  else if (o && D === 0 && a === L.length - 1)
2161
2164
  k();
2162
- else if (!i && u !== 1 && D === L.length - 1) {
2165
+ else if (!s && u !== 1 && D === L.length - 1) {
2163
2166
  const j = Math.ceil(u), z = L.length + 1, V = Math.max(0, z - j);
2164
2167
  M(V);
2165
2168
  } else
@@ -2176,7 +2179,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2176
2179
  _,
2177
2180
  b,
2178
2181
  k,
2179
- i,
2182
+ s,
2180
2183
  u,
2181
2184
  M
2182
2185
  ]
@@ -2205,7 +2208,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2205
2208
  I.includes(j) && /* @__PURE__ */ c("div", { className: "my-2", children: /* @__PURE__ */ c(
2206
2209
  ro,
2207
2210
  {
2208
- color: s && !i ? "neutral" : "background",
2211
+ color: i && !s ? "neutral" : "background",
2209
2212
  orientation: "vertical"
2210
2213
  }
2211
2214
  ) }),
@@ -2242,7 +2245,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2242
2245
  onlyPreload: e,
2243
2246
  ...t
2244
2247
  }) => {
2245
- const { zoom: n, isZooming: o, setZoom: s } = Je(), i = Ce(null), u = Ce(null), r = B((E) => {
2248
+ const { zoom: n, isZooming: o, setZoom: i } = Je(), s = Ce(null), u = Ce(null), r = B((E) => {
2246
2249
  if (!u.current)
2247
2250
  throw new Error(
2248
2251
  `[${E ?? "getTransformElementOrThrow"}] transformElementRef.current is null`
@@ -2277,7 +2280,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2277
2280
  };
2278
2281
  p.current && (cancelAnimationFrame(p.current), p.current = null);
2279
2282
  const N = () => {
2280
- a({ x: T, y: H, scale: Y }), s(Y);
2283
+ a({ x: T, y: H, scale: Y }), i(Y);
2281
2284
  }, G = Math.abs(T - I) < 1 && Math.abs(H - P) < 1 && Math.abs(Y - K) < 5e-3;
2282
2285
  if (!v || G) {
2283
2286
  N();
@@ -2297,7 +2300,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2297
2300
  };
2298
2301
  $();
2299
2302
  },
2300
- [a, s]
2303
+ [a, i]
2301
2304
  ), k = B(
2302
2305
  (E, v) => {
2303
2306
  let { x: I, y: P } = f.current;
@@ -2385,7 +2388,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2385
2388
  }, [o, k, e]), me(() => {
2386
2389
  if (e)
2387
2390
  return;
2388
- const E = i.current;
2391
+ const E = s.current;
2389
2392
  if (!E)
2390
2393
  return;
2391
2394
  const v = (I) => {
@@ -2412,7 +2415,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2412
2415
  E.removeEventListener("wheel", v);
2413
2416
  };
2414
2417
  }, [o, k, x, e]), me(() => {
2415
- const E = i.current, v = u.current;
2418
+ const E = s.current, v = u.current;
2416
2419
  if (!E || !v)
2417
2420
  return;
2418
2421
  const I = L.current, P = (H) => {
@@ -2460,7 +2463,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2460
2463
  }, [o, k, x]), /* @__PURE__ */ c(
2461
2464
  "div",
2462
2465
  {
2463
- ref: i,
2466
+ ref: s,
2464
2467
  className: `relative size-full overflow-hidden ${o ? "z-zoomed-image cursor-move" : ""}`,
2465
2468
  children: /* @__PURE__ */ c(
2466
2469
  "div",
@@ -2501,7 +2504,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2501
2504
  item: t,
2502
2505
  analyticsValue: n
2503
2506
  }) => {
2504
- const { title: o, icon: s, description: i, position: u, detail: r, type: g } = e, { emitAnalyticsEvent: m } = Ke(), {
2507
+ const { title: o, icon: i, description: s, position: u, detail: r, type: g } = e, { emitAnalyticsEvent: m } = Ke(), {
2505
2508
  extendMode: L,
2506
2509
  setShownDetails: f,
2507
2510
  displayedCategoryId: p,
@@ -2535,11 +2538,11 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2535
2538
  b("click");
2536
2539
  }, [b]), M = B(() => {
2537
2540
  b("hover");
2538
- }, [b]), { getIconConfig: _ } = Ft(), x = s ? _(s) : void 0, E = !!r, v = r?.type === "image", I = !!o || !!i, P = v ? g === "damage" ? /* @__PURE__ */ c(Xa, { className: "size-4" }) : /* @__PURE__ */ c(eo, { className: "size-4" }) : /* @__PURE__ */ c("div", { className: "size-1" }), K = () => {
2541
+ }, [b]), { getIconConfig: _ } = Ft(), x = i ? _(i) : void 0, E = !!r, v = r?.type === "image", I = !!o || !!s, P = v ? g === "damage" ? /* @__PURE__ */ c(Xa, { className: "size-4" }) : /* @__PURE__ */ c(eo, { className: "size-4" }) : /* @__PURE__ */ c("div", { className: "size-1" }), K = () => {
2539
2542
  k(), v && f({
2540
2543
  src: r.src,
2541
2544
  title: o,
2542
- text: i
2545
+ text: s
2543
2546
  });
2544
2547
  }, [T, H] = be(!1), Y = B(() => {
2545
2548
  T || (H(!0), M());
@@ -2590,7 +2593,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2590
2593
  ),
2591
2594
  children: /* @__PURE__ */ c("div", { className: "space-y-1 text-pretty", children: [
2592
2595
  o && /* @__PURE__ */ c("div", { className: "text-sm font-semibold small:text-base small:font-bold", children: o }),
2593
- i && /* @__PURE__ */ c("div", { className: "text-xs text-foreground/65 small:text-sm", children: i })
2596
+ s && /* @__PURE__ */ c("div", { className: "text-xs text-foreground/65 small:text-sm", children: s })
2594
2597
  ] })
2595
2598
  }
2596
2599
  )
@@ -2598,18 +2601,18 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2598
2601
  }
2599
2602
  );
2600
2603
  }, Ga = ({ hotspot: e, item: t }) => {
2601
- const { detail: n, title: o, description: s, position: i } = e, u = Fe(
2602
- () => o || s ? {
2604
+ const { detail: n, title: o, description: i, position: s } = e, u = Fe(
2605
+ () => o || i ? {
2603
2606
  ...o ? { title: o } : {},
2604
- ...s ? { description: s } : {}
2607
+ ...i ? { description: i } : {}
2605
2608
  } : void 0,
2606
- [o, s]
2609
+ [o, i]
2607
2610
  ), r = Fe(
2608
- () => u || i ? {
2611
+ () => u || s ? {
2609
2612
  ...u ? { text: u } : {},
2610
- ...i ? { position: i } : {}
2613
+ ...s ? { position: s } : {}
2611
2614
  } : void 0,
2612
- [u, i]
2615
+ [u, s]
2613
2616
  ), g = Fe(
2614
2617
  () => ({
2615
2618
  ...r ? { hotspot: r } : {},
@@ -2636,15 +2639,15 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2636
2639
  itemIndex: t,
2637
2640
  className: n,
2638
2641
  onLoad: o,
2639
- ...s
2642
+ ...i
2640
2643
  }) => {
2641
- const { isShowingDetails: i, currentItemHotspotsVisible: u, setItemInteraction: r } = Je();
2644
+ const { isShowingDetails: s, currentItemHotspotsVisible: u, setItemInteraction: r } = Je();
2642
2645
  return /* @__PURE__ */ c("div", { className: fe("relative size-full overflow-hidden", n), children: /* @__PURE__ */ c(
2643
2646
  "div",
2644
2647
  {
2645
2648
  className: fe(
2646
2649
  "size-full duration-details",
2647
- i ? "scale-105" : "scale-100"
2650
+ s ? "scale-105" : "scale-100"
2648
2651
  ),
2649
2652
  children: [
2650
2653
  /* @__PURE__ */ c(
@@ -2654,7 +2657,7 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2654
2657
  onLoad: (g) => {
2655
2658
  t !== void 0 && t >= 0 && r(t, "ready"), o?.(g);
2656
2659
  },
2657
- ...s
2660
+ ...i
2658
2661
  }
2659
2662
  ),
2660
2663
  u && e?.map((g, m) => /* @__PURE__ */ c(
@@ -2672,12 +2675,12 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2672
2675
  }
2673
2676
  ) });
2674
2677
  }, $a = 100, Ct = 100, Pt = 50, ja = 0, qa = 0, Ka = (e) => {
2675
- const [t, n] = be(0), [o, s] = be(!1);
2678
+ const [t, n] = be(0), [o, i] = be(!1);
2676
2679
  return me(() => {
2677
- const i = XMLHttpRequest.prototype.open, u = XMLHttpRequest.prototype.send;
2680
+ const s = XMLHttpRequest.prototype.open, u = XMLHttpRequest.prototype.send;
2678
2681
  let r = !1;
2679
2682
  return XMLHttpRequest.prototype.open = function(g, m, L = !0, f, p) {
2680
- return m.toString().includes(e) && (r = !0, s(!0)), i.call(
2683
+ return m.toString().includes(e) && (r = !0, i(!0)), s.call(
2681
2684
  this,
2682
2685
  g,
2683
2686
  m,
@@ -2692,10 +2695,10 @@ const eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customiza
2692
2695
  n(L);
2693
2696
  }
2694
2697
  }), this.addEventListener("loadend", () => {
2695
- r = !1, n(100), s(!1);
2698
+ r = !1, n(100), i(!1);
2696
2699
  })), u.call(this, g);
2697
2700
  }, () => {
2698
- XMLHttpRequest.prototype.open = i, XMLHttpRequest.prototype.send = u;
2701
+ XMLHttpRequest.prototype.open = s, XMLHttpRequest.prototype.send = u;
2699
2702
  };
2700
2703
  }, [e]), [t, o];
2701
2704
  };
@@ -2777,8 +2780,8 @@ window.libpannellum = (function(e, t, n) {
2777
2780
  te !== n && (te.horizonPitch !== n || te.horizonRoll !== n) && (E = [te.horizonPitch == n ? 0 : te.horizonPitch, te.horizonRoll == n ? 0 : te.horizonRoll]);
2778
2781
  var Ne = a.TEXTURE_2D;
2779
2782
  a.viewport(0, 0, a.drawingBufferWidth, a.drawingBufferHeight), b = a.createShader(a.VERTEX_SHADER);
2780
- var Be = s;
2781
- I == "multires" && (Be = i), a.shaderSource(b, Be), a.compileShader(b), k = a.createShader(a.FRAGMENT_SHADER);
2783
+ var Be = i;
2784
+ I == "multires" && (Be = s), a.shaderSource(b, Be), a.compileShader(b), k = a.createShader(a.FRAGMENT_SHADER);
2782
2785
  var Ze = g;
2783
2786
  I == "cubemap" ? (Ne = a.TEXTURE_CUBE_MAP, Ze = r) : I == "multires" && (Ze = m), a.shaderSource(k, Ze), a.compileShader(k), p = a.createProgram(), a.attachShader(p, b), a.attachShader(p, k), a.linkProgram(p), a.getShaderParameter(b, a.COMPILE_STATUS) || console.log(a.getShaderInfoLog(b)), a.getShaderParameter(k, a.COMPILE_STATUS) || console.log(a.getShaderInfoLog(k)), a.getProgramParameter(p, a.LINK_STATUS) || console.log(a.getProgramInfoLog(p)), a.useProgram(p), p.drawInProgress = !1;
2784
2787
  var Pe = te.backgroundColor ? te.backgroundColor : [0, 0, 0];
@@ -3075,7 +3078,7 @@ window.libpannellum = (function(e, t, n) {
3075
3078
  console.log("Reducing canvas size due to error 1286!"), f.width = Math.round(f.width / 2), f.height = Math.round(f.height / 2);
3076
3079
  }
3077
3080
  }
3078
- var s = [
3081
+ var i = [
3079
3082
  "attribute vec2 a_texCoord;",
3080
3083
  "varying vec2 v_texCoord;",
3081
3084
  "void main() {",
@@ -3084,7 +3087,7 @@ window.libpannellum = (function(e, t, n) {
3084
3087
  // Pass the coordinates to the fragment shader
3085
3088
  "v_texCoord = a_texCoord;",
3086
3089
  "}"
3087
- ].join(""), i = [
3090
+ ].join(""), s = [
3088
3091
  "attribute vec3 a_vertCoord;",
3089
3092
  "attribute vec2 a_texCoord;",
3090
3093
  "uniform mat4 u_cubeMatrix;",
@@ -3165,7 +3168,7 @@ window.libpannellum = (function(e, t, n) {
3165
3168
  };
3166
3169
  })(window, document);
3167
3170
  window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3168
- function o(s, i) {
3171
+ function o(i, s) {
3169
3172
  var u = this, r, g, m, L = !1, f = Date.now(), p = 0, a = 0, b = -1, k = 0, M = 0, _ = new Array(10), x = !1, E, v = !1, I = !1, P, K, T = { yaw: 0, pitch: 0, hfov: 0 }, H = !1, Y = !1, N = 0, G, R = 0, $, pe, Z = {}, D = {}, j = [], z = !1, V = !1, ie = {
3170
3173
  hfov: 100,
3171
3174
  minHfov: 50,
@@ -3220,11 +3223,11 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3220
3223
  textureSizeError: "This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",
3221
3224
  // Two substitutions: image width, max image width
3222
3225
  unknownError: "Unknown error. Check developer console."
3223
- }, s = typeof s == "string" ? t.getElementById(s) : s, s.classList.add("pnlm-container"), s.tabIndex = 0;
3226
+ }, i = typeof i == "string" ? t.getElementById(i) : i, i.classList.add("pnlm-container"), i.tabIndex = 0;
3224
3227
  var O = t.createElement("div");
3225
- O.className = "pnlm-ui", s.appendChild(O);
3228
+ O.className = "pnlm-ui", i.appendChild(O);
3226
3229
  var ne = t.createElement("div");
3227
- ne.className = "pnlm-render-container", s.appendChild(ne);
3230
+ ne.className = "pnlm-render-container", i.appendChild(ne);
3228
3231
  var ae = t.createElement("div");
3229
3232
  ae.className = "pnlm-dragfix", O.appendChild(ae);
3230
3233
  var oe = t.createElement("span");
@@ -3249,7 +3252,7 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3249
3252
  }
3250
3253
  e.DeviceOrientationEvent ? e.addEventListener("deviceorientation", Ge) : Ae = !1;
3251
3254
  var we = t.createElement("div");
3252
- we.className = "pnlm-compass pnlm-controls pnlm-control", O.appendChild(we), i.firstScene ? Ut(i.firstScene) : i.default && i.default.firstScene ? Ut(i.default.firstScene) : Ut(null), tn(!0);
3255
+ we.className = "pnlm-compass pnlm-controls pnlm-control", O.appendChild(we), s.firstScene ? Ut(s.firstScene) : s.default && s.default.firstScene ? Ut(s.default.firstScene) : Ut(null), tn(!0);
3253
3256
  function h() {
3254
3257
  var l = t.createElement("div");
3255
3258
  if (l.innerHTML = "<!--[if lte IE 9]><i></i><![endif]-->", l.getElementsByTagName("i").length == 1) {
@@ -3319,7 +3322,7 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3319
3322
  return new RegExp("^(?:[a-z]+:)?//", "i").test(l) || l[0] == "/" || l.slice(0, 5) == "blob:";
3320
3323
  }
3321
3324
  function Q() {
3322
- g || (g = new libpannellum.renderer(ne)), I || (I = !0, ae.addEventListener("mousedown", _e, !1), t.addEventListener("mousemove", se, !1), t.addEventListener("mouseup", ge, !1), r.mouseZoom && (O.addEventListener("mousewheel", Ve, !1), O.addEventListener("DOMMouseScroll", Ve, !1)), r.doubleClickZoom && ae.addEventListener("dblclick", ue, !1), O.addEventListener("mozfullscreenchange", ct, !1), O.addEventListener("webkitfullscreenchange", ct, !1), O.addEventListener("msfullscreenchange", ct, !1), O.addEventListener("fullscreenchange", ct, !1), e.addEventListener("resize", he, !1), e.addEventListener("orientationchange", he, !1), r.disableKeyboardCtrl || (s.addEventListener("keydown", Ne, !1), s.addEventListener("keyup", Ze, !1), s.addEventListener("blur", Be, !1)), t.addEventListener("mouseleave", ge, !1), t.documentElement.style.pointerAction === "" && t.documentElement.style.touchAction === "" ? (ae.addEventListener("pointerdown", De, !1), ae.addEventListener("pointermove", Te, !1), ae.addEventListener("pointerup", Se, !1), ae.addEventListener("pointerleave", Se, !1)) : (ae.addEventListener("touchstart", ve, !1), ae.addEventListener("touchmove", Ue, !1), ae.addEventListener("touchend", We, !1)), e.navigator.pointerEnabled && (s.style.touchAction = "none")), fo(), rt(r.hfov), setTimeout(function() {
3325
+ g || (g = new libpannellum.renderer(ne)), I || (I = !0, ae.addEventListener("mousedown", _e, !1), t.addEventListener("mousemove", se, !1), t.addEventListener("mouseup", ge, !1), r.mouseZoom && (O.addEventListener("mousewheel", Ve, !1), O.addEventListener("DOMMouseScroll", Ve, !1)), r.doubleClickZoom && ae.addEventListener("dblclick", ue, !1), O.addEventListener("mozfullscreenchange", ct, !1), O.addEventListener("webkitfullscreenchange", ct, !1), O.addEventListener("msfullscreenchange", ct, !1), O.addEventListener("fullscreenchange", ct, !1), e.addEventListener("resize", he, !1), e.addEventListener("orientationchange", he, !1), r.disableKeyboardCtrl || (i.addEventListener("keydown", Ne, !1), i.addEventListener("keyup", Ze, !1), i.addEventListener("blur", Be, !1)), t.addEventListener("mouseleave", ge, !1), t.documentElement.style.pointerAction === "" && t.documentElement.style.touchAction === "" ? (ae.addEventListener("pointerdown", De, !1), ae.addEventListener("pointermove", Te, !1), ae.addEventListener("pointerup", Se, !1), ae.addEventListener("pointerleave", Se, !1)) : (ae.addEventListener("touchstart", ve, !1), ae.addEventListener("touchmove", Ue, !1), ae.addEventListener("touchend", We, !1)), e.navigator.pointerEnabled && (i.style.touchAction = "none")), fo(), rt(r.hfov), setTimeout(function() {
3323
3326
  }, 500);
3324
3327
  }
3325
3328
  function re(l) {
@@ -3365,11 +3368,11 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3365
3368
  }, 2500), l.preventDefault();
3366
3369
  }
3367
3370
  function te(l) {
3368
- var d = s.getBoundingClientRect(), y = {};
3371
+ var d = i.getBoundingClientRect(), y = {};
3369
3372
  return y.x = l.clientX - d.left, y.y = l.clientY - d.top, y;
3370
3373
  }
3371
3374
  function _e(l) {
3372
- if (l.preventDefault(), s.focus(), !(!E || !r.draggable)) {
3375
+ if (l.preventDefault(), i.focus(), !(!E || !r.draggable)) {
3373
3376
  var d = te(l);
3374
3377
  if (r.hotSpotDebug) {
3375
3378
  var y = Xe(l);
@@ -3694,15 +3697,15 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3694
3697
  j = [];
3695
3698
  for (d in ie)
3696
3699
  ie.hasOwnProperty(d) && (r[d] = ie[d]);
3697
- for (d in i.default)
3698
- if (i.default.hasOwnProperty(d))
3700
+ for (d in s.default)
3701
+ if (s.default.hasOwnProperty(d))
3699
3702
  if (d == "strings")
3700
- for (y in i.default.strings)
3701
- i.default.strings.hasOwnProperty(y) && (r.strings[y] = vt(i.default.strings[y]));
3703
+ for (y in s.default.strings)
3704
+ s.default.strings.hasOwnProperty(y) && (r.strings[y] = vt(s.default.strings[y]));
3702
3705
  else
3703
- r[d] = i.default[d], U.indexOf(d) >= 0 && j.push(d);
3704
- if (l !== null && l !== "" && i.scenes && i.scenes[l]) {
3705
- var X = i.scenes[l];
3706
+ r[d] = s.default[d], U.indexOf(d) >= 0 && j.push(d);
3707
+ if (l !== null && l !== "" && s.scenes && s.scenes[l]) {
3708
+ var X = s.scenes[l];
3706
3709
  for (d in X)
3707
3710
  if (X.hasOwnProperty(d))
3708
3711
  if (d == "strings")
@@ -3712,13 +3715,13 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3712
3715
  r[d] = X[d], U.indexOf(d) >= 0 && j.push(d);
3713
3716
  r.scene = l;
3714
3717
  }
3715
- for (d in i)
3716
- if (i.hasOwnProperty(d))
3718
+ for (d in s)
3719
+ if (s.hasOwnProperty(d))
3717
3720
  if (d == "strings")
3718
- for (y in i.strings)
3719
- i.strings.hasOwnProperty(y) && (r.strings[y] = vt(i.strings[y]));
3721
+ for (y in s.strings)
3722
+ s.strings.hasOwnProperty(y) && (r.strings[y] = vt(s.strings[y]));
3720
3723
  else
3721
- r[d] = i[d], U.indexOf(d) >= 0 && j.push(d);
3724
+ r[d] = s[d], U.indexOf(d) >= 0 && j.push(d);
3722
3725
  }
3723
3726
  function tn(l) {
3724
3727
  if (l = l || !1, l && "preview" in r) {
@@ -3772,7 +3775,7 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3772
3775
  t.exitFullscreen ? t.exitFullscreen() : t.mozCancelFullScreen ? t.mozCancelFullScreen() : t.webkitCancelFullScreen ? t.webkitCancelFullScreen() : t.msExitFullscreen && t.msExitFullscreen();
3773
3776
  else
3774
3777
  try {
3775
- s.requestFullscreen ? s.requestFullscreen() : s.mozRequestFullScreen ? s.mozRequestFullScreen() : s.msRequestFullscreen ? s.msRequestFullscreen() : s.webkitRequestFullScreen();
3778
+ i.requestFullscreen ? i.requestFullscreen() : i.mozRequestFullScreen ? i.mozRequestFullScreen() : i.msRequestFullscreen ? i.msRequestFullscreen() : i.webkitRequestFullScreen();
3776
3779
  } catch {
3777
3780
  }
3778
3781
  }
@@ -3818,7 +3821,7 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3818
3821
  return;
3819
3822
  }
3820
3823
  }
3821
- d === "same" ? ye = r.pitch : ye = d, y === "same" ? de = r.yaw : y === "sameAzimuth" ? de = r.yaw + (r.northOffset || 0) - (i.scenes[l].northOffset || 0) : de = y, U === "same" ? Le = r.hfov : Le = U, mo(), Ut(l), T.yaw = T.pitch = T.hfov = 0, tn(), ye !== n && (r.pitch = ye), de !== n && (r.yaw = de), Le !== n && (r.hfov = Le), ut("scenechange", l), On();
3824
+ d === "same" ? ye = r.pitch : ye = d, y === "same" ? de = r.yaw : y === "sameAzimuth" ? de = r.yaw + (r.northOffset || 0) - (s.scenes[l].northOffset || 0) : de = y, U === "same" ? Le = r.hfov : Le = U, mo(), Ut(l), T.yaw = T.pitch = T.hfov = 0, tn(), ye !== n && (r.pitch = ye), de !== n && (r.yaw = de), Le !== n && (r.hfov = Le), ut("scenechange", l), On();
3822
3825
  }
3823
3826
  function kt() {
3824
3827
  e.removeEventListener("deviceorientation", Nn), q.orientation.classList.remove("pnlm-orientation-button-active"), Y = !1;
@@ -3827,7 +3830,7 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3827
3830
  Y = 1, e.addEventListener("deviceorientation", Nn), q.orientation.classList.add("pnlm-orientation-button-active");
3828
3831
  }
3829
3832
  function vt(l) {
3830
- return i.escapeHTML ? String(l).split(/&/g).join("&amp;").split('"').join("&quot;").split("'").join("&#39;").split("<").join("&lt;").split(">").join("&gt;").split("/").join("&#x2f;").split(`
3833
+ return s.escapeHTML ? String(l).split(/&/g).join("&amp;").split('"').join("&quot;").split("'").join("&#39;").split("<").join("&lt;").split(">").join("&gt;").split("/").join("&#x2f;").split(`
3831
3834
  `).join("<br>") : String(l).split(`
3832
3835
  `).join("<br>");
3833
3836
  }
@@ -3913,22 +3916,22 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3913
3916
  }, this.getScene = function() {
3914
3917
  return r.scene;
3915
3918
  }, this.addScene = function(l, d) {
3916
- return i.scenes[l] = d, this;
3919
+ return s.scenes[l] = d, this;
3917
3920
  }, this.removeScene = function(l) {
3918
- return r.scene === l || !i.scenes.hasOwnProperty(l) ? !1 : (delete i.scenes[l], !0);
3921
+ return r.scene === l || !s.scenes.hasOwnProperty(l) ? !1 : (delete s.scenes[l], !0);
3919
3922
  }, this.toggleFullscreen = function() {
3920
3923
  return nn(), this;
3921
3924
  }, this.getConfig = function() {
3922
3925
  return r;
3923
3926
  }, this.getContainer = function() {
3924
- return s;
3927
+ return i;
3925
3928
  }, this.addHotSpot = function(l, d) {
3926
3929
  if (d === n && r.scene === n)
3927
3930
  r.hotSpots.push(l);
3928
3931
  else {
3929
3932
  var y = d !== n ? d : r.scene;
3930
- if (i.scenes.hasOwnProperty(y))
3931
- i.scenes[y].hasOwnProperty("hotSpots") || (i.scenes[y].hotSpots = [], y == r.scene && (r.hotSpots = i.scenes[y].hotSpots)), i.scenes[y].hotSpots.push(l);
3933
+ if (s.scenes.hasOwnProperty(y))
3934
+ s.scenes[y].hasOwnProperty("hotSpots") || (s.scenes[y].hotSpots = [], y == r.scene && (r.hotSpots = s.scenes[y].hotSpots)), s.scenes[y].hotSpots.push(l);
3932
3935
  else
3933
3936
  throw "Invalid scene ID!";
3934
3937
  }
@@ -3943,12 +3946,12 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3943
3946
  U = U.parentNode;
3944
3947
  return ne.removeChild(U), delete r.hotSpots[y].div, r.hotSpots.splice(y, 1), !0;
3945
3948
  }
3946
- } else if (i.scenes.hasOwnProperty(d)) {
3947
- if (!i.scenes[d].hasOwnProperty("hotSpots"))
3949
+ } else if (s.scenes.hasOwnProperty(d)) {
3950
+ if (!s.scenes[d].hasOwnProperty("hotSpots"))
3948
3951
  return !1;
3949
- for (var y = 0; y < i.scenes[d].hotSpots.length; y++)
3950
- if (i.scenes[d].hotSpots[y].hasOwnProperty("id") && i.scenes[d].hotSpots[y].id === l)
3951
- return i.scenes[d].hotSpots.splice(y, 1), !0;
3952
+ for (var y = 0; y < s.scenes[d].hotSpots.length; y++)
3953
+ if (s.scenes[d].hotSpots[y].hasOwnProperty("id") && s.scenes[d].hotSpots[y].id === l)
3954
+ return s.scenes[d].hotSpots.splice(y, 1), !0;
3952
3955
  } else
3953
3956
  return !1;
3954
3957
  }, this.resize = function() {
@@ -3981,12 +3984,12 @@ window.pannellum = /* @__PURE__ */ (function(e, t, n) {
3981
3984
  D[l][D[l].length - d].apply(null, [].slice.call(arguments, 1));
3982
3985
  }
3983
3986
  this.destroy = function() {
3984
- g && g.destroy(), I && (ae.removeEventListener("mousedown", _e, !1), ae.removeEventListener("dblclick", ue, !1), t.removeEventListener("mousemove", se, !1), t.removeEventListener("mouseup", ge, !1), s.removeEventListener("mousewheel", Ve, !1), s.removeEventListener("DOMMouseScroll", Ve, !1), s.removeEventListener("mozfullscreenchange", ct, !1), s.removeEventListener("webkitfullscreenchange", ct, !1), s.removeEventListener("msfullscreenchange", ct, !1), s.removeEventListener("fullscreenchange", ct, !1), e.removeEventListener("resize", he, !1), e.removeEventListener("orientationchange", he, !1), s.removeEventListener("keydown", Ne, !1), s.removeEventListener("keyup", Ze, !1), s.removeEventListener("blur", Be, !1), t.removeEventListener("mouseleave", ge, !1), ae.removeEventListener("touchstart", ve, !1), ae.removeEventListener("touchmove", Ue, !1), ae.removeEventListener("touchend", We, !1), ae.removeEventListener("pointerdown", De, !1), ae.removeEventListener("pointermove", Te, !1), ae.removeEventListener("pointerup", Se, !1), ae.removeEventListener("pointerleave", Se, !1)), s.innerHTML = "", s.classList.remove("pnlm-container"), O.classList.remove("pnlm-grab"), O.classList.remove("pnlm-grabbing");
3987
+ g && g.destroy(), I && (ae.removeEventListener("mousedown", _e, !1), ae.removeEventListener("dblclick", ue, !1), t.removeEventListener("mousemove", se, !1), t.removeEventListener("mouseup", ge, !1), i.removeEventListener("mousewheel", Ve, !1), i.removeEventListener("DOMMouseScroll", Ve, !1), i.removeEventListener("mozfullscreenchange", ct, !1), i.removeEventListener("webkitfullscreenchange", ct, !1), i.removeEventListener("msfullscreenchange", ct, !1), i.removeEventListener("fullscreenchange", ct, !1), e.removeEventListener("resize", he, !1), e.removeEventListener("orientationchange", he, !1), i.removeEventListener("keydown", Ne, !1), i.removeEventListener("keyup", Ze, !1), i.removeEventListener("blur", Be, !1), t.removeEventListener("mouseleave", ge, !1), ae.removeEventListener("touchstart", ve, !1), ae.removeEventListener("touchmove", Ue, !1), ae.removeEventListener("touchend", We, !1), ae.removeEventListener("pointerdown", De, !1), ae.removeEventListener("pointermove", Te, !1), ae.removeEventListener("pointerup", Se, !1), ae.removeEventListener("pointerleave", Se, !1)), i.innerHTML = "", i.classList.remove("pnlm-container"), O.classList.remove("pnlm-grab"), O.classList.remove("pnlm-grabbing");
3985
3988
  };
3986
3989
  }
3987
3990
  return {
3988
- viewer: function(i, u) {
3989
- return new o(i, u);
3991
+ viewer: function(s, u) {
3992
+ return new o(s, u);
3990
3993
  }
3991
3994
  };
3992
3995
  })(window, document);
@@ -3996,16 +3999,16 @@ window.requestAnimationFrame || (window.requestAnimationFrame = (function() {
3996
3999
  };
3997
4000
  })());
3998
4001
  function Ja(e, t, n) {
3999
- const o = Ce(null), s = Ce(n);
4000
- return s.current = n, me(() => {
4001
- const i = e.current;
4002
- if (!i) return;
4002
+ const o = Ce(null), i = Ce(n);
4003
+ return i.current = n, me(() => {
4004
+ const s = e.current;
4005
+ if (!s) return;
4003
4006
  const u = window.pannellum;
4004
4007
  if (!u) {
4005
- console.error("[InteriorThreeSixty] pannellum global not available"), s.current.onError?.();
4008
+ console.error("[InteriorThreeSixty] pannellum global not available"), i.current.onError?.();
4006
4009
  return;
4007
4010
  }
4008
- const r = u.viewer(i, {
4011
+ const r = u.viewer(s, {
4009
4012
  type: "equirectangular",
4010
4013
  panorama: t.image,
4011
4014
  preview: t.preview,
@@ -4019,29 +4022,29 @@ function Ja(e, t, n) {
4019
4022
  keyboardZoom: !1,
4020
4023
  autoLoad: t.autoLoad
4021
4024
  });
4022
- return o.current = r, r.on("load", () => s.current.onLoad?.()), r.on("error", () => s.current.onError?.()), r.on(
4025
+ return o.current = r, r.on("load", () => i.current.onLoad?.()), r.on("error", () => i.current.onError?.()), r.on(
4023
4026
  "mousedown",
4024
- (...g) => s.current.onMousedown?.(g[0])
4027
+ (...g) => i.current.onMousedown?.(g[0])
4025
4028
  ), r.on(
4026
4029
  "mouseup",
4027
- (...g) => s.current.onMouseup?.(g[0])
4030
+ (...g) => i.current.onMouseup?.(g[0])
4028
4031
  ), r.on(
4029
4032
  "touchstart",
4030
- (...g) => s.current.onTouchstart?.(g[0])
4033
+ (...g) => i.current.onTouchstart?.(g[0])
4031
4034
  ), r.on(
4032
4035
  "touchend",
4033
- (...g) => s.current.onTouchend?.(g[0])
4036
+ (...g) => i.current.onTouchend?.(g[0])
4034
4037
  ), () => {
4035
4038
  o.current = null, r.destroy();
4036
4039
  };
4037
4040
  }, [t.image, t.preview, t.autoLoad]), o;
4038
4041
  }
4039
4042
  function Qa(e, t = 50, n = 200) {
4040
- let o = null, s = 0;
4041
- return (...i) => {
4043
+ let o = null, i = 0;
4044
+ return (...s) => {
4042
4045
  const u = Date.now();
4043
- o && (clearTimeout(o), o = null), u - s >= t && (e(...i), s = u), o = setTimeout(() => {
4044
- e(...i);
4046
+ o && (clearTimeout(o), o = null), u - i >= t && (e(...s), i = u), o = setTimeout(() => {
4047
+ e(...s);
4045
4048
  }, n);
4046
4049
  };
4047
4050
  }
@@ -4069,8 +4072,8 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4069
4072
  isPannellumLoaded: t,
4070
4073
  isLoading: n,
4071
4074
  progress: o,
4072
- autoloadInterior360: s,
4073
- loadScene: i
4075
+ autoloadInterior360: i,
4076
+ loadScene: s
4074
4077
  }) => {
4075
4078
  const { emitAnalyticsEvent: u } = Ke(), { displayedCategoryId: r, displayedCategoryName: g } = Je(), m = B(
4076
4079
  (f) => {
@@ -4091,11 +4094,11 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4091
4094
  },
4092
4095
  [u, r, g, e]
4093
4096
  ), L = B(() => {
4094
- i(), m("click");
4095
- }, [i, m]);
4097
+ s(), m("click");
4098
+ }, [s, m]);
4096
4099
  return me(() => {
4097
- s && (i(), m("auto"));
4098
- }, [s, i, m]), t ? null : /* @__PURE__ */ c("div", { className: "pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4", children: /* @__PURE__ */ c("div", { className: "pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35", children: [
4100
+ i && (s(), m("auto"));
4101
+ }, [i, s, m]), t ? null : /* @__PURE__ */ c("div", { className: "pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4", children: /* @__PURE__ */ c("div", { className: "pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35", children: [
4099
4102
  /* @__PURE__ */ c(to, { className: "size-20" }),
4100
4103
  /* @__PURE__ */ c(nt, { color: "neutral", shape: "icon", onClick: L, children: /* @__PURE__ */ c(ei, { className: "size-full" }) }),
4101
4104
  /* @__PURE__ */ c(
@@ -4116,13 +4119,13 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4116
4119
  )
4117
4120
  ] }) });
4118
4121
  }, ni = (e) => {
4119
- const { itemIndex: t, src: n, poster: o, onLoaded: s, onError: i, onlyPreload: u } = e, { autoLoadInterior360: r } = Ke(), { isShowingDetails: g, zoom: m, setZoom: L } = Je(), [f, p] = Ka(n), a = Ce(null), [b, k] = be(!1), [M, _] = be(r);
4122
+ const { itemIndex: t, src: n, poster: o, onLoaded: i, onError: s, onlyPreload: u } = e, { autoLoadInterior360: r } = Ke(), { isShowingDetails: g, zoom: m, setZoom: L } = Je(), [f, p] = Ka(n), a = Ce(null), [b, k] = be(!1), [M, _] = be(r);
4120
4123
  me(() => {
4121
4124
  r && _(!0);
4122
4125
  }, [r]);
4123
4126
  const x = B(() => {
4124
- s?.(), k(!0);
4125
- }, [s]), E = B((P) => {
4127
+ i?.(), k(!0);
4128
+ }, [i]), E = B((P) => {
4126
4129
  P instanceof MouseEvent && P.button !== 0 || (P.preventDefault(), P.stopPropagation(), P.stopImmediatePropagation());
4127
4130
  }, []), v = B(() => {
4128
4131
  _(!0);
@@ -4131,7 +4134,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4131
4134
  { image: n, preview: o, autoLoad: M },
4132
4135
  {
4133
4136
  onLoad: x,
4134
- onError: i,
4137
+ onError: s,
4135
4138
  onMousedown: E,
4136
4139
  onMouseup: E,
4137
4140
  onTouchstart: E,
@@ -4213,10 +4216,10 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4213
4216
  }
4214
4217
  );
4215
4218
  }, ri = (e) => {
4216
- const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, s] = be(), i = B(() => {
4217
- s("spin");
4219
+ const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, i] = be(), s = B(() => {
4220
+ i("spin");
4218
4221
  }, []), u = B(() => {
4219
- s("error");
4222
+ i("error");
4220
4223
  }, []);
4221
4224
  return me(() => {
4222
4225
  o === null || o === "error" || n(t, o === "spin" ? "running" : "ready");
@@ -4230,7 +4233,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4230
4233
  ni,
4231
4234
  {
4232
4235
  ...e,
4233
- onLoaded: i,
4236
+ onLoaded: s,
4234
4237
  onError: u
4235
4238
  }
4236
4239
  );
@@ -4261,7 +4264,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4261
4264
  children: /* @__PURE__ */ c("polygon", { points: "6 3 20 12 6 21 6 3" })
4262
4265
  }
4263
4266
  ) }), ui = 750, di = 1250, fi = 360, pi = 480, hi = (e, t) => ({ cursor: `url("${e}"), ${t}` }), mi = ({ images: e, onlyPreload: t }) => {
4264
- const { demoSpin: n, reverse360: o, spinCursor: s, themeConfig: i } = Ke(), { isShowingDetails: u, isZooming: r } = Je(), g = Fe(() => en(i), [i]), m = r || u, L = Ce(null), f = Ce(null), [p, a] = be(!1), [b, k] = be("default"), M = s === "grab" && p ? "grabbing" : s, _ = g?.cursor ? hi(
4267
+ const { demoSpin: n, reverse360: o, spinCursor: i, themeConfig: s } = Ke(), { isShowingDetails: u, isZooming: r } = Je(), g = Fe(() => en(s), [s]), m = r || u, L = Ce(null), f = Ce(null), [p, a] = be(!1), [b, k] = be("default"), M = i === "grab" && p ? "grabbing" : i, _ = g?.cursor ? hi(
4265
4268
  g.cursor[b === "left" ? "leftSpin" : b === "right" ? "rightSpin" : "default"],
4266
4269
  M
4267
4270
  ) : { cursor: M }, x = Ce(0), E = Ce(null), v = Ce(null), I = Ce(null), P = Ce(null), K = Ce(0), T = 16, H = Ce({
@@ -4452,9 +4455,9 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4452
4455
  images: t,
4453
4456
  onPlaceholderImageLoaded: n,
4454
4457
  onSpinImagesLoaded: o,
4455
- onError: s
4458
+ onError: i
4456
4459
  }) => {
4457
- const { autoLoad360: i, emitAnalyticsEvent: u, themeConfig: r } = Ke(), { displayedCategoryId: g, displayedCategoryName: m } = Je(), L = Fe(() => en(r), [r]), f = Fe(() => t.map(({ src: x }) => x), [t]), [p, a] = be(null), b = p ? [...p.values()].filter((x) => x).length / t.length * 100 : null, k = B(
4460
+ const { autoLoad360: s, emitAnalyticsEvent: u, themeConfig: r } = Ke(), { displayedCategoryId: g, displayedCategoryName: m } = Je(), L = Fe(() => en(r), [r]), f = Fe(() => t.map(({ src: x }) => x), [t]), [p, a] = be(null), b = p ? [...p.values()].filter((x) => x).length / t.length * 100 : null, k = B(
4458
4461
  (x) => {
4459
4462
  b === null && (a(new Map(f.map((E) => [E, !1]))), u({
4460
4463
  type: "interaction",
@@ -4488,8 +4491,8 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4488
4491
  });
4489
4492
  }, []);
4490
4493
  return me(() => {
4491
- i && k("auto");
4492
- }, [i, k]), me(() => {
4494
+ s && k("auto");
4495
+ }, [s, k]), me(() => {
4493
4496
  b === 100 && o();
4494
4497
  }, [b, o]), /* @__PURE__ */ c("div", { className: "relative aspect-[4/3] w-full", children: [
4495
4498
  b !== null && b !== 100 && // Add images to DOM to preload them
@@ -4498,7 +4501,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4498
4501
  {
4499
4502
  src: x,
4500
4503
  onLoad: () => _(x),
4501
- onError: s
4504
+ onError: i
4502
4505
  },
4503
4506
  x
4504
4507
  )) }),
@@ -4549,7 +4552,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4549
4552
  ] })
4550
4553
  ] });
4551
4554
  }, vi = (e) => {
4552
- const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, s] = be(
4555
+ const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, i] = be(
4553
4556
  null
4554
4557
  );
4555
4558
  return me(() => {
@@ -4564,16 +4567,16 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4564
4567
  gi,
4565
4568
  {
4566
4569
  ...e,
4567
- onPlaceholderImageLoaded: () => s((i) => i === null ? "placeholder" : i),
4568
- onSpinImagesLoaded: () => s("spin"),
4569
- onError: () => s("error")
4570
+ onPlaceholderImageLoaded: () => i((s) => s === null ? "placeholder" : s),
4571
+ onSpinImagesLoaded: () => i("spin"),
4572
+ onError: () => i("error")
4570
4573
  }
4571
4574
  ) : /* @__PURE__ */ c(mi, { ...e });
4572
4575
  }, _i = 750, wi = 1250, yi = 360, xi = 480, bi = (e, t) => ({ cursor: `url("${e}"), ${t}` }), Ci = ({
4573
4576
  images: e,
4574
4577
  onlyPreload: t
4575
4578
  }) => {
4576
- const { demoSpin: n, reverse360: o, spinCursor: s, themeConfig: i } = Ke(), { isShowingDetails: u, isZooming: r } = Je(), g = Fe(() => en(i), [i]), m = r || u, L = Ce(null), f = Ce(null), [p, a] = be(!1), [b, k] = be("default"), M = s === "grab" && p ? "grabbing" : s, _ = g?.cursor ? bi(
4579
+ const { demoSpin: n, reverse360: o, spinCursor: i, themeConfig: s } = Ke(), { isShowingDetails: u, isZooming: r } = Je(), g = Fe(() => en(s), [s]), m = r || u, L = Ce(null), f = Ce(null), [p, a] = be(!1), [b, k] = be("default"), M = i === "grab" && p ? "grabbing" : i, _ = g?.cursor ? bi(
4577
4580
  g.cursor[b === "left" ? "leftSpin" : b === "right" ? "rightSpin" : "default"],
4578
4581
  M
4579
4582
  ) : { cursor: M }, x = Ce(n), E = Ce(null), v = B(() => {
@@ -4724,9 +4727,9 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4724
4727
  images: t,
4725
4728
  onPlaceholderImageLoaded: n,
4726
4729
  onSpinImagesLoaded: o,
4727
- onError: s
4730
+ onError: i
4728
4731
  }) => {
4729
- const { autoLoad360: i, emitAnalyticsEvent: u, themeConfig: r } = Ke(), { displayedCategoryId: g, displayedCategoryName: m } = Je(), L = Fe(() => en(r), [r]), f = Fe(() => t.map(({ src: x }) => x), [t]), [p, a] = be(null), b = p ? [...p.values()].filter((x) => x).length / t.length * 100 : null, k = B(
4732
+ const { autoLoad360: s, emitAnalyticsEvent: u, themeConfig: r } = Ke(), { displayedCategoryId: g, displayedCategoryName: m } = Je(), L = Fe(() => en(r), [r]), f = Fe(() => t.map(({ src: x }) => x), [t]), [p, a] = be(null), b = p ? [...p.values()].filter((x) => x).length / t.length * 100 : null, k = B(
4730
4733
  (x) => {
4731
4734
  b === null && (a(new Map(f.map((E) => [E, !1]))), u({
4732
4735
  type: "interaction",
@@ -4760,8 +4763,8 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4760
4763
  });
4761
4764
  }, []);
4762
4765
  return me(() => {
4763
- i && k("auto");
4764
- }, [i, k]), me(() => {
4766
+ s && k("auto");
4767
+ }, [s, k]), me(() => {
4765
4768
  b === 100 && o();
4766
4769
  }, [b, o]), /* @__PURE__ */ c("div", { className: "relative aspect-[4/3] w-full", children: [
4767
4770
  b !== null && b !== 100 && // Add images to DOM to preload them
@@ -4770,7 +4773,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4770
4773
  {
4771
4774
  src: x,
4772
4775
  onLoad: () => _(x),
4773
- onError: s
4776
+ onError: i
4774
4777
  },
4775
4778
  x
4776
4779
  )) }),
@@ -4821,7 +4824,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4821
4824
  ] })
4822
4825
  ] });
4823
4826
  }, Li = (e) => {
4824
- const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, s] = be();
4827
+ const { itemIndex: t } = e, { setItemInteraction: n } = Je(), [o, i] = be();
4825
4828
  return me(() => {
4826
4829
  o === null || o === "error" || n(t, o === "spin" ? "running" : "ready");
4827
4830
  }, [t, n, o]), o === "error" ? /* @__PURE__ */ c(
@@ -4834,9 +4837,9 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4834
4837
  Ei,
4835
4838
  {
4836
4839
  ...e,
4837
- onPlaceholderImageLoaded: () => s((i) => i === null ? "placeholder" : i),
4838
- onSpinImagesLoaded: () => s("spin"),
4839
- onError: () => s("error")
4840
+ onPlaceholderImageLoaded: () => i((s) => s === null ? "placeholder" : s),
4841
+ onSpinImagesLoaded: () => i("spin"),
4842
+ onError: () => i("error")
4840
4843
  }
4841
4844
  ) : /* @__PURE__ */ c(Ci, { ...e });
4842
4845
  }, Mi = (e) => /* @__PURE__ */ c(nt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(no, { className: "size-full" }) }), Ii = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ c(
@@ -4897,14 +4900,14 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4897
4900
  style: { transform: `translateX(-${100 * (1 - e)}%)` }
4898
4901
  }
4899
4902
  ) }), Si = 3e3, Pi = ({ src: e, poster: t, itemIndex: n }) => {
4900
- const { carrouselItemIndex: o, setItemInteraction: s } = Je(), i = Ce(null), u = Ce(null), r = B(() => {
4903
+ const { carrouselItemIndex: o, setItemInteraction: i } = Je(), s = Ce(null), u = Ce(null), r = B(() => {
4901
4904
  if (!u.current)
4902
4905
  throw new Error("videoRef.current is null");
4903
4906
  return u.current;
4904
4907
  }, []);
4905
4908
  me(() => {
4906
- s(n, "ready");
4907
- }, [n, s]);
4909
+ i(n, "ready");
4910
+ }, [n, i]);
4908
4911
  const g = B(() => {
4909
4912
  r().play();
4910
4913
  }, [r]), m = B(() => {
@@ -4914,9 +4917,9 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4914
4917
  o === n || m();
4915
4918
  }, [o, n, m]);
4916
4919
  const [L, f] = be(!1), [p, a] = be(!0), b = () => {
4917
- f(!0), s(n, "running");
4920
+ f(!0), i(n, "running");
4918
4921
  }, k = () => {
4919
- f(!1), s(n, "ready");
4922
+ f(!1), i(n, "ready");
4920
4923
  }, M = () => {
4921
4924
  a(!1);
4922
4925
  }, _ = () => {
@@ -4972,7 +4975,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4972
4975
  }, Si);
4973
4976
  }, [$]);
4974
4977
  return me(() => {
4975
- const Z = i.current, D = u.current;
4978
+ const Z = s.current, D = u.current;
4976
4979
  if (!Z || !D)
4977
4980
  return;
4978
4981
  const j = () => {
@@ -4993,7 +4996,7 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
4993
4996
  return Z.addEventListener("mousedown", ie), Z.addEventListener("mouseup", O), Z.addEventListener("mouseenter", j), Z.addEventListener("mousemove", ne), Z.addEventListener("mouseleave", z), D.addEventListener("touchstart", ae, { passive: !0 }), () => {
4994
4997
  Z.removeEventListener("mousedown", ie), Z.removeEventListener("mouseup", O), Z.removeEventListener("mouseenter", j), Z.removeEventListener("mousemove", j), Z.removeEventListener("mouseleave", z), D.removeEventListener("touchstart", ae);
4995
4998
  };
4996
- }, [$, m, pe]), /* @__PURE__ */ c("div", { ref: i, className: "relative aspect-[4/3] w-full", children: [
4999
+ }, [$, m, pe]), /* @__PURE__ */ c("div", { ref: s, className: "relative aspect-[4/3] w-full", children: [
4997
5000
  /* @__PURE__ */ c(
4998
5001
  "video",
4999
5002
  {
@@ -5098,22 +5101,22 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
5098
5101
  ] });
5099
5102
  }, Ni = ({ index: e, item: t, isShown: n }) => {
5100
5103
  const { type: o } = t;
5101
- let s;
5104
+ let i;
5102
5105
  switch (o) {
5103
5106
  case "image":
5104
- s = /* @__PURE__ */ c(io, { itemIndex: e, onlyPreload: !n, ...t });
5107
+ i = /* @__PURE__ */ c(io, { itemIndex: e, onlyPreload: !n, ...t });
5105
5108
  break;
5106
5109
  case "video":
5107
- s = /* @__PURE__ */ c(Pi, { itemIndex: e, ...t });
5110
+ i = /* @__PURE__ */ c(Pi, { itemIndex: e, ...t });
5108
5111
  break;
5109
5112
  case "360":
5110
- s = /* @__PURE__ */ c(Li, { itemIndex: e, onlyPreload: !n, ...t });
5113
+ i = /* @__PURE__ */ c(Li, { itemIndex: e, onlyPreload: !n, ...t });
5111
5114
  break;
5112
5115
  case "next360":
5113
- s = /* @__PURE__ */ c(vi, { itemIndex: e, onlyPreload: !n, ...t });
5116
+ i = /* @__PURE__ */ c(vi, { itemIndex: e, onlyPreload: !n, ...t });
5114
5117
  break;
5115
5118
  case "interior-360":
5116
- s = /* @__PURE__ */ c(
5119
+ i = /* @__PURE__ */ c(
5117
5120
  ri,
5118
5121
  {
5119
5122
  itemIndex: e,
@@ -5123,9 +5126,9 @@ const ei = ({ className: e }) => /* @__PURE__ */ c(
5123
5126
  );
5124
5127
  break;
5125
5128
  case "custom":
5126
- s = /* @__PURE__ */ c(Ba, { itemIndex: e, ...t });
5129
+ i = /* @__PURE__ */ c(Ba, { itemIndex: e, ...t });
5127
5130
  }
5128
- return s = /* @__PURE__ */ c("div", { className: "grid grid-cols-[repeat(var(--max-items),1fr)]", children: s }), s;
5131
+ return i = /* @__PURE__ */ c("div", { className: "grid grid-cols-[repeat(var(--max-items),1fr)]", children: i }), i;
5129
5132
  }, Ri = (e) => {
5130
5133
  me(() => {
5131
5134
  const t = (n) => {
@@ -5144,15 +5147,15 @@ const Di = ({
5144
5147
  children: t,
5145
5148
  isVisible: n,
5146
5149
  url: o,
5147
- title: s,
5148
- description: i,
5150
+ title: i,
5151
+ description: s,
5149
5152
  clickHandler: u,
5150
5153
  extendMode: r,
5151
5154
  variant: g,
5152
5155
  aspectRatioStyle: m,
5153
5156
  maxItemsShown: L = 1
5154
5157
  }) => {
5155
- const { isFullScreen: f, integration: p } = Ke(), a = () => g || (!p || f ? "centered" : "aside"), b = () => !!(s || i), k = a(), M = (_) => {
5158
+ const { isFullScreen: f, integration: p } = Ke(), a = () => g || (!p || f ? "centered" : "aside"), b = () => !!(i || s), k = a(), M = (_) => {
5156
5159
  if (!m) return {};
5157
5160
  switch (_) {
5158
5161
  case "centered":
@@ -5218,24 +5221,24 @@ const Di = ({
5218
5221
  r && "large:p-4"
5219
5222
  ),
5220
5223
  children: [
5221
- s && /* @__PURE__ */ c(
5224
+ i && /* @__PURE__ */ c(
5222
5225
  "span",
5223
5226
  {
5224
5227
  className: fe(
5225
5228
  "text-sm font-semibold small:text-base small:font-bold",
5226
5229
  r && "large:text-lg"
5227
5230
  ),
5228
- children: s
5231
+ children: i
5229
5232
  }
5230
5233
  ),
5231
- i && /* @__PURE__ */ c(
5234
+ s && /* @__PURE__ */ c(
5232
5235
  "p",
5233
5236
  {
5234
5237
  className: fe(
5235
5238
  "text-xs text-foreground/65 small:text-sm",
5236
5239
  r && "large:text-base"
5237
5240
  ),
5238
- children: i
5241
+ children: s
5239
5242
  }
5240
5243
  )
5241
5244
  ]
@@ -5278,24 +5281,24 @@ const Di = ({
5278
5281
  }
5279
5282
  ),
5280
5283
  /* @__PURE__ */ c("div", { className: "min-h-[15%] shrink-0 space-y-1 p-2 small:p-3", children: [
5281
- s && /* @__PURE__ */ c(
5284
+ i && /* @__PURE__ */ c(
5282
5285
  "span",
5283
5286
  {
5284
5287
  className: fe(
5285
5288
  "block text-xs font-semibold leading-tight small:text-base small:font-bold",
5286
5289
  r && "large:text-lg"
5287
5290
  ),
5288
- children: s
5291
+ children: i
5289
5292
  }
5290
5293
  ),
5291
- i && /* @__PURE__ */ c(
5294
+ s && /* @__PURE__ */ c(
5292
5295
  "p",
5293
5296
  {
5294
5297
  className: fe(
5295
5298
  "text-[10px] leading-tight text-foreground/65 small:text-sm",
5296
5299
  r && "large:text-base"
5297
5300
  ),
5298
- children: i
5301
+ children: s
5299
5302
  }
5300
5303
  )
5301
5304
  ] })
@@ -5336,24 +5339,24 @@ const Di = ({
5336
5339
  }
5337
5340
  ),
5338
5341
  /* @__PURE__ */ c("div", { className: "h-[15%] space-y-1 overflow-y-auto px-2 py-1 small:p-3", children: [
5339
- s && /* @__PURE__ */ c(
5342
+ i && /* @__PURE__ */ c(
5340
5343
  "span",
5341
5344
  {
5342
5345
  className: fe(
5343
5346
  "text-sm font-semibold small:text-base small:font-bold",
5344
5347
  r && "large:text-lg"
5345
5348
  ),
5346
- children: s
5349
+ children: i
5347
5350
  }
5348
5351
  ),
5349
- i && /* @__PURE__ */ c(
5352
+ s && /* @__PURE__ */ c(
5350
5353
  "p",
5351
5354
  {
5352
5355
  className: fe(
5353
5356
  "text-xs text-foreground/65 small:text-sm",
5354
5357
  r && "large:text-base"
5355
5358
  ),
5356
- children: i
5359
+ children: s
5357
5360
  }
5358
5361
  )
5359
5362
  ] })
@@ -5450,7 +5453,7 @@ const Di = ({
5450
5453
  onToggle: t,
5451
5454
  label: n,
5452
5455
  className: o,
5453
- children: s
5456
+ children: i
5454
5457
  }) => /* @__PURE__ */ c(
5455
5458
  "label",
5456
5459
  {
@@ -5483,7 +5486,7 @@ const Di = ({
5483
5486
  "flex size-4 items-center justify-center rounded-full p-0.5 transition",
5484
5487
  e ? "translate-x-1.5 bg-primary-foreground text-primary" : "-translate-x-1.5 bg-background text-foreground"
5485
5488
  ),
5486
- children: s
5489
+ children: i
5487
5490
  }
5488
5491
  )
5489
5492
  }
@@ -5508,13 +5511,13 @@ const Di = ({
5508
5511
  )
5509
5512
  }
5510
5513
  ) }), Xi = ({ sharedClassName: e }) => {
5511
- const { categories: t } = gt(), { displayedCategoryId: n, changeCategory: o } = Je(), [s, i] = be(!1), u = () => {
5512
- i(!s);
5514
+ const { categories: t } = gt(), { displayedCategoryId: n, changeCategory: o } = Je(), [i, s] = be(!1), u = () => {
5515
+ s(!i);
5513
5516
  }, r = () => {
5514
- i(!1);
5517
+ s(!1);
5515
5518
  };
5516
5519
  return /* @__PURE__ */ c(Qe, { children: [
5517
- s && /* @__PURE__ */ c(
5520
+ i && /* @__PURE__ */ c(
5518
5521
  "div",
5519
5522
  {
5520
5523
  className: fe(e, "inset-0 small:hidden"),
@@ -5534,12 +5537,12 @@ const Di = ({
5534
5537
  nt,
5535
5538
  {
5536
5539
  shape: "icon",
5537
- color: s ? "primary" : "neutral",
5540
+ color: i ? "primary" : "neutral",
5538
5541
  onClick: u,
5539
5542
  children: /* @__PURE__ */ c(Zi, {})
5540
5543
  }
5541
5544
  ),
5542
- s && /* @__PURE__ */ c("div", { className: "rounded-ui-md bg-background transition-radius", children: /* @__PURE__ */ c("ul", { className: "space-y-0.5 p-1", children: t.map(({ id: g, title: m }) => /* @__PURE__ */ c(
5545
+ i && /* @__PURE__ */ c("div", { className: "rounded-ui-md bg-background transition-radius", children: /* @__PURE__ */ c("ul", { className: "space-y-0.5 p-1", children: t.map(({ id: g, title: m }) => /* @__PURE__ */ c(
5543
5546
  "li",
5544
5547
  {
5545
5548
  className: fe(
@@ -5547,7 +5550,7 @@ const Di = ({
5547
5550
  g === n && "bg-primary/50"
5548
5551
  ),
5549
5552
  onClick: () => {
5550
- o(g), i(!1);
5553
+ o(g), s(!1);
5551
5554
  },
5552
5555
  children: m
5553
5556
  },
@@ -5582,8 +5585,8 @@ const Di = ({
5582
5585
  infiniteCarrousel: t,
5583
5586
  permanentGallery: n,
5584
5587
  extendBehavior: o,
5585
- maxItemsShown: s,
5586
- isFullScreen: i,
5588
+ maxItemsShown: i,
5589
+ isFullScreen: s,
5587
5590
  integration: u
5588
5591
  } = Ke(), {
5589
5592
  aspectRatioStyle: r,
@@ -5621,12 +5624,12 @@ const Di = ({
5621
5624
  );
5622
5625
  Ri(H);
5623
5626
  const j = "absolute z-overlay", z = () => {
5624
- if (s === 1) return f;
5625
- const O = Math.floor(s) - 1;
5627
+ if (i === 1) return f;
5628
+ const O = Math.floor(i) - 1;
5626
5629
  return f + O;
5627
5630
  }, V = () => {
5628
5631
  if (!u) return p;
5629
- const O = Math.floor(s) - 1;
5632
+ const O = Math.floor(i) - 1;
5630
5633
  return p + O;
5631
5634
  };
5632
5635
  return /* @__PURE__ */ c(Qe, { children: [
@@ -5643,7 +5646,7 @@ const Di = ({
5643
5646
  L && !N && /* @__PURE__ */ c("div", { className: fe(j, bt("top-right")), children: /* @__PURE__ */ c(
5644
5647
  zi,
5645
5648
  {
5646
- currentIndex: !u || i ? f : z(),
5649
+ currentIndex: !u || s ? f : z(),
5647
5650
  maxIndex: m - 1
5648
5651
  }
5649
5652
  ) }),
@@ -5726,7 +5729,7 @@ const Di = ({
5726
5729
  children: /* @__PURE__ */ c(Fi, { className: "size-full" })
5727
5730
  }
5728
5731
  ),
5729
- Y && (!u || i) && /* @__PURE__ */ c("div", { className: "max-small:hidden", children: [
5732
+ Y && (!u || s) && /* @__PURE__ */ c("div", { className: "max-small:hidden", children: [
5730
5733
  /* @__PURE__ */ c(
5731
5734
  nt,
5732
5735
  {
@@ -5775,7 +5778,7 @@ const Di = ({
5775
5778
  description: K?.text,
5776
5779
  clickHandler: D,
5777
5780
  extendMode: I,
5778
- maxItemsShown: s,
5781
+ maxItemsShown: i,
5779
5782
  aspectRatioStyle: r,
5780
5783
  children: /* @__PURE__ */ c(
5781
5784
  vn,
@@ -5799,8 +5802,8 @@ const Di = ({
5799
5802
  infiniteCarrousel: t,
5800
5803
  preloadRange: n,
5801
5804
  isFullScreen: o,
5802
- maxItemsShown: s,
5803
- integration: i
5805
+ maxItemsShown: i,
5806
+ integration: s
5804
5807
  } = Ke(), { aspectRatioStyle: u } = gt(), {
5805
5808
  items: r,
5806
5809
  slidable: g,
@@ -5826,8 +5829,8 @@ const Di = ({
5826
5829
  const S = ae.offsetLeft, xe = Math.abs(S - ie);
5827
5830
  xe < ne && (ne = xe, O = oe);
5828
5831
  }), x > 1) {
5829
- const ae = Math.ceil(x), oe = r.length + (i && !t && x % 1 !== 0 ? 1 : 0), S = Math.max(0, oe - ae);
5830
- if (O = Math.min(O, S), i && !t && x % 1 !== 0) {
5832
+ const ae = Math.ceil(x), oe = r.length + (s && !t && x % 1 !== 0 ? 1 : 0), S = Math.max(0, oe - ae);
5833
+ if (O = Math.min(O, S), s && !t && x % 1 !== 0) {
5831
5834
  const xe = r.length - 1;
5832
5835
  O = Math.min(O, xe);
5833
5836
  }
@@ -5838,7 +5841,7 @@ const Di = ({
5838
5841
  x,
5839
5842
  r.length,
5840
5843
  t,
5841
- i
5844
+ s
5842
5845
  ]), N = B(
5843
5846
  (z) => {
5844
5847
  const V = v("setStyleCursor");
@@ -5858,7 +5861,7 @@ const Di = ({
5858
5861
  let oe = ne[z].offsetLeft;
5859
5862
  const S = O.clientWidth, xe = O.scrollWidth - S;
5860
5863
  if (x > 1) {
5861
- const w = Math.ceil(x), Q = r.length + (i && !t && x % 1 !== 0 ? 1 : 0);
5864
+ const w = Math.ceil(x), Q = r.length + (s && !t && x % 1 !== 0 ? 1 : 0);
5862
5865
  z >= Q - w && (oe = Math.min(oe, xe));
5863
5866
  }
5864
5867
  const q = (w) => {
@@ -5895,7 +5898,7 @@ const Di = ({
5895
5898
  x,
5896
5899
  G,
5897
5900
  r.length,
5898
- i,
5901
+ s,
5899
5902
  t
5900
5903
  ]
5901
5904
  ), [$, pe] = be(), Z = !!$;
@@ -5991,7 +5994,7 @@ const Di = ({
5991
5994
  _,
5992
5995
  Z,
5993
5996
  f,
5994
- s,
5997
+ i,
5995
5998
  L,
5996
5999
  p
5997
6000
  ]), me(() => {
@@ -6004,7 +6007,7 @@ const Di = ({
6004
6007
  };
6005
6008
  switch (a) {
6006
6009
  case "first_to_last": {
6007
- const V = Math.ceil(x), ie = r.length + (i && !t && x % 1 !== 0 ? 1 : 0), O = x > 1 ? Math.max(0, ie - V) : r.length - 1;
6010
+ const V = Math.ceil(x), ie = r.length + (s && !t && x % 1 !== 0 ? 1 : 0), O = x > 1 ? Math.max(0, ie - V) : r.length - 1;
6008
6011
  R(O, "instant", z);
6009
6012
  break;
6010
6013
  }
@@ -6027,9 +6030,9 @@ const Di = ({
6027
6030
  p,
6028
6031
  x,
6029
6032
  t,
6030
- i
6033
+ s
6031
6034
  ]);
6032
- const D = Fe(() => !i || o ? u : { aspectRatio: "auto" }, [i, o, u]), j = Fe(
6035
+ const D = Fe(() => !s || o ? u : { aspectRatio: "auto" }, [s, o, u]), j = Fe(
6033
6036
  () => ({
6034
6037
  ...u,
6035
6038
  minWidth: `${100 / x}%`,
@@ -6107,7 +6110,7 @@ const Di = ({
6107
6110
  q
6108
6111
  );
6109
6112
  }),
6110
- i && !t && !o && s % 1 !== 0 && /* @__PURE__ */ c(
6113
+ s && !t && !o && i % 1 !== 0 && /* @__PURE__ */ c(
6111
6114
  "div",
6112
6115
  {
6113
6116
  className: "h-full",
@@ -6125,15 +6128,15 @@ const Di = ({
6125
6128
  }, $i = () => {
6126
6129
  const { permanentGallery: e, integration: t } = Ke(), { aspectRatioStyle: n } = gt(), {
6127
6130
  isShowingDetails: o,
6128
- resetShownDetails: s,
6129
- extendMode: i,
6131
+ resetShownDetails: i,
6132
+ extendMode: s,
6130
6133
  disableExtendMode: u,
6131
6134
  isZooming: r,
6132
6135
  resetZoom: g,
6133
6136
  fakeFullScreen: m
6134
6137
  } = Je(), L = Ce(null), f = Ce(null), p = Ce(null);
6135
6138
  return me(() => {
6136
- if (!i)
6139
+ if (!s)
6137
6140
  return;
6138
6141
  const a = L.current, b = f.current, k = p.current;
6139
6142
  if (!a || !b || !k)
@@ -6147,9 +6150,9 @@ const Di = ({
6147
6150
  return a.addEventListener("mousedown", x), a.addEventListener("mouseup", E), () => {
6148
6151
  a.removeEventListener("mousedown", x), a.removeEventListener("mouseup", E);
6149
6152
  };
6150
- }, [u, i]), me(() => {
6153
+ }, [u, s]), me(() => {
6151
6154
  const a = (b) => {
6152
- b.key === "Escape" && (r ? g() : o ? s() : u());
6155
+ b.key === "Escape" && (r ? g() : o ? i() : u());
6153
6156
  };
6154
6157
  return addEventListener("keydown", a), () => {
6155
6158
  removeEventListener("keydown", a);
@@ -6158,7 +6161,7 @@ const Di = ({
6158
6161
  u,
6159
6162
  o,
6160
6163
  r,
6161
- s,
6164
+ i,
6162
6165
  g
6163
6166
  ]), /* @__PURE__ */ c(
6164
6167
  "div",
@@ -6166,7 +6169,7 @@ const Di = ({
6166
6169
  ref: L,
6167
6170
  className: fe(
6168
6171
  "relative",
6169
- i && "flex size-full items-center justify-center",
6172
+ s && "flex size-full items-center justify-center",
6170
6173
  m && "fixed inset-0 z-overlay bg-foreground/75"
6171
6174
  ),
6172
6175
  children: [
@@ -6174,24 +6177,24 @@ const Di = ({
6174
6177
  "div",
6175
6178
  {
6176
6179
  ref: f,
6177
- className: i ? "flex size-full flex-col justify-center gap-y-2 small:gap-y-4" : "space-y-2",
6180
+ className: s ? "flex size-full flex-col justify-center gap-y-2 small:gap-y-4" : "space-y-2",
6178
6181
  children: [
6179
6182
  /* @__PURE__ */ c(
6180
6183
  "div",
6181
6184
  {
6182
6185
  ref: p,
6183
6186
  className: fe(
6184
- i && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
6187
+ s && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
6185
6188
  ),
6186
6189
  style: t ? {} : n,
6187
- children: /* @__PURE__ */ c(Gi, { className: fe(i && "h-full min-w-0") })
6190
+ children: /* @__PURE__ */ c(Gi, { className: fe(s && "h-full min-w-0") })
6188
6191
  }
6189
6192
  ),
6190
- e && /* @__PURE__ */ c(oo, { className: fe(i && "my-2 shrink-0 small:my-4") })
6193
+ e && /* @__PURE__ */ c(oo, { className: fe(s && "my-2 shrink-0 small:my-4") })
6191
6194
  ]
6192
6195
  }
6193
6196
  ),
6194
- i && /* @__PURE__ */ c(
6197
+ s && /* @__PURE__ */ c(
6195
6198
  vn,
6196
6199
  {
6197
6200
  className: "absolute right-2 top-2 small:right-4 small:top-4",
@@ -6204,8 +6207,8 @@ const Di = ({
6204
6207
  }, ji = () => {
6205
6208
  const { emitEvent: e, emitAnalyticsEvent: t, compositionUrl: n } = Ke(), {
6206
6209
  data: o,
6207
- status: s,
6208
- isSuccess: i,
6210
+ status: i,
6211
+ isSuccess: s,
6209
6212
  error: u
6210
6213
  } = ba(n);
6211
6214
  return me(() => {
@@ -6229,22 +6232,22 @@ const Di = ({
6229
6232
  }
6230
6233
  };
6231
6234
  t(r);
6232
- } else s === "fetching" ? e(wo, n) : i && e(yo, o);
6235
+ } else i === "fetching" ? e(wo, n) : s && e(yo, o);
6233
6236
  }, [
6234
6237
  o,
6235
6238
  n,
6236
6239
  e,
6237
6240
  t,
6238
6241
  u,
6239
- i,
6240
- s
6242
+ s,
6243
+ i
6241
6244
  ]), u ? /* @__PURE__ */ c(
6242
6245
  Qt,
6243
6246
  {
6244
6247
  className: "aspect-square text-foreground/70",
6245
6248
  text: "Player could not be loaded"
6246
6249
  }
6247
- ) : i ? /* @__PURE__ */ c(Ea, { composition: o, children: /* @__PURE__ */ c(Ia, { children: /* @__PURE__ */ c($i, {}) }) }) : /* @__PURE__ */ c("div", { className: "flex aspect-square size-full flex-col items-center justify-center gap-y-4", children: [
6250
+ ) : s ? /* @__PURE__ */ c(Ea, { composition: o, children: /* @__PURE__ */ c(Ia, { children: /* @__PURE__ */ c($i, {}) }) }) : /* @__PURE__ */ c("div", { className: "flex aspect-square size-full flex-col items-center justify-center gap-y-4", children: [
6248
6251
  /* @__PURE__ */ c("div", { className: "animate-pulse text-xl", children: "Loading Player" }),
6249
6252
  /* @__PURE__ */ c(Qr, { color: "foreground" })
6250
6253
  ] });
@@ -6267,12 +6270,12 @@ const Di = ({
6267
6270
  const { type: t, ...n } = e;
6268
6271
  return JSON.stringify(n);
6269
6272
  }, is = 1e4, ss = async (e, t = is) => {
6270
- const { payload: n, compositionUrl: o } = e, s = os(o), i = as(n), u = rs(n.type), r = new AbortController(), g = setTimeout(() => r.abort(), t);
6273
+ const { payload: n, compositionUrl: o } = e, i = os(o), s = as(n), u = rs(n.type), r = new AbortController(), g = setTimeout(() => r.abort(), t);
6271
6274
  try {
6272
6275
  const m = await fetch(u, {
6273
6276
  method: "POST",
6274
- headers: s,
6275
- body: i,
6277
+ headers: i,
6278
+ body: s,
6276
6279
  signal: r.signal
6277
6280
  });
6278
6281
  if (!m.ok)
@@ -6287,8 +6290,8 @@ const Di = ({
6287
6290
  integration: t = !1,
6288
6291
  maxItemsShown: n = 1,
6289
6292
  hideCategoriesNav: o = !1,
6290
- infiniteCarrousel: s = !1,
6291
- permanentGallery: i = !1,
6293
+ infiniteCarrousel: i = !1,
6294
+ permanentGallery: s = !1,
6292
6295
  mediaLoadStrategy: u = Io,
6293
6296
  minMediaWidth: r = 0,
6294
6297
  maxMediaWidth: g = 1 / 0,
@@ -6374,8 +6377,8 @@ const Di = ({
6374
6377
  integration: t,
6375
6378
  max_items_shown: n,
6376
6379
  hide_categories_nav: o,
6377
- infinite_carrousel: s,
6378
- permanent_gallery: i,
6380
+ infinite_carrousel: i,
6381
+ permanent_gallery: s,
6379
6382
  media_load_strategy: u,
6380
6383
  min_media_width: r,
6381
6384
  preload_range: m,
@@ -6444,8 +6447,8 @@ const Di = ({
6444
6447
  compositionUrl: e,
6445
6448
  integration: t,
6446
6449
  hideCategoriesNav: o,
6447
- infiniteCarrousel: s,
6448
- permanentGallery: i,
6450
+ infiniteCarrousel: i,
6451
+ permanentGallery: s,
6449
6452
  maxItemsShown: n,
6450
6453
  mediaLoadStrategy: u,
6451
6454
  minMediaWidth: r,
@@ -6494,19 +6497,19 @@ const Di = ({
6494
6497
  }
6495
6498
  );
6496
6499
  }, cs = ({ children: e, index: t, thumbnailSrc: n }) => {
6497
- const { registerCustomMedia: o, unregisterCustomMedia: s } = Ft();
6500
+ const { registerCustomMedia: o, unregisterCustomMedia: i } = Ft();
6498
6501
  return me(() => {
6499
6502
  if (!e)
6500
6503
  return;
6501
- const i = o({
6504
+ const s = o({
6502
6505
  Media: e,
6503
6506
  index: t,
6504
6507
  thumbnailSrc: n
6505
6508
  });
6506
6509
  return () => {
6507
- s(i);
6510
+ i(s);
6508
6511
  };
6509
- }, [e, s, t, o, n]), null;
6512
+ }, [e, i, t, o, n]), null;
6510
6513
  }, us = (e) => kn() ? /* @__PURE__ */ c(cs, { ...e }) : /* @__PURE__ */ c("slot", {}), ds = ({ name: e, children: t }) => {
6511
6514
  const { registerIconConfig: n, unregisterIconConfig: o } = Ft();
6512
6515
  return me(() => {
@@ -6527,8 +6530,8 @@ function hs(e) {
6527
6530
  function Sn(e) {
6528
6531
  return Object.entries(e).reduce((t, [n, o]) => {
6529
6532
  if (o !== void 0) {
6530
- const s = hs(n);
6531
- t[s] = o.toString();
6533
+ const i = hs(n);
6534
+ t[i] = o.toString();
6532
6535
  }
6533
6536
  return t;
6534
6537
  }, {});
@@ -6581,9 +6584,9 @@ const Cs = {
6581
6584
  stringify: (e) => e.name,
6582
6585
  parse: (e, t, n) => {
6583
6586
  const o = (() => {
6584
- const s = lo(t);
6585
- if (typeof n < "u" && s in n.container)
6586
- return n.container[s];
6587
+ const i = lo(t);
6588
+ if (typeof n < "u" && i in n.container)
6589
+ return n.container[i];
6587
6590
  })();
6588
6591
  return typeof o == "function" ? o.bind(n) : void 0;
6589
6592
  }
@@ -6602,7 +6605,7 @@ const Cs = {
6602
6605
  json: xs
6603
6606
  }, Tt = Symbol.for("r2wc.render"), Yt = Symbol.for("r2wc.connected"), wt = Symbol.for("r2wc.context"), ot = Symbol.for("r2wc.props");
6604
6607
  function Ms(e, t, n) {
6605
- var o, s, i;
6608
+ var o, i, s;
6606
6609
  t.props || (t.props = e.propTypes ? Object.keys(e.propTypes) : []), t.events || (t.events = []);
6607
6610
  const u = Array.isArray(t.props) ? t.props.slice() : Object.keys(t.props), r = Array.isArray(t.events) ? t.events.slice() : Object.keys(t.events), g = {}, m = {}, L = {}, f = {};
6608
6611
  for (const a of u) {
@@ -6614,7 +6617,7 @@ function Ms(e, t, n) {
6614
6617
  m[a] = Array.isArray(t.events) ? {} : t.events[a];
6615
6618
  class p extends HTMLElement {
6616
6619
  constructor() {
6617
- super(), Xt(this, i, !0), Xt(this, s), Xt(this, o, {}), Xt(this, "container"), t.shadow ? this.container = this.attachShadow({
6620
+ super(), Xt(this, s, !0), Xt(this, i), Xt(this, o, {}), Xt(this, "container"), t.shadow ? this.container = this.attachShadow({
6618
6621
  mode: t.shadow
6619
6622
  }) : this.container = this, this[ot].container = this.container;
6620
6623
  for (const b of u) {
@@ -6655,7 +6658,7 @@ function Ms(e, t, n) {
6655
6658
  const _ = f[b], x = g[_], E = x ? cn[x] : null;
6656
6659
  _ in g && E != null && E.parse && M && (this[ot][_] = E.parse(M, b, this), this[Tt]());
6657
6660
  }
6658
- [(i = Yt, s = wt, o = ot, Tt)]() {
6661
+ [(s = Yt, i = wt, o = ot, Tt)]() {
6659
6662
  this[Yt] && (this[wt] ? n.update(this[wt], this[ot]) : this[wt] = n.mount(
6660
6663
  this.container,
6661
6664
  e,
@@ -6685,8 +6688,8 @@ function Ms(e, t, n) {
6685
6688
  return p;
6686
6689
  }
6687
6690
  function Is(e, t, n) {
6688
- const o = gs(e), s = Br.createElement(t, n);
6689
- return o.render(s), {
6691
+ const o = gs(e), i = Br.createElement(t, n);
6692
+ return o.render(i), {
6690
6693
  root: o,
6691
6694
  ReactComponent: t
6692
6695
  };
@@ -6713,6 +6716,7 @@ const Ss = Pn(ms, {
6713
6716
  permanentGallery: "boolean",
6714
6717
  integration: "boolean",
6715
6718
  maxItemsShown: "number",
6719
+ themeConfig: "string",
6716
6720
  // Medias loading
6717
6721
  minMediaWidth: "number",
6718
6722
  maxMediaWidth: "number",