@car-cutter/wc-webplayer 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- const Jt = "cc-webplayer", vn = "cc-webplayer-custom-media", wn = "cc-webplayer-icon", vo = "composition-loading", wo = "composition-loaded", _o = "composition-load-error", bo = "item-change", xo = "extend-mode-on", yo = "extend-mode-off", On = "hotspots-on", Fn = "hotspots-off", Co = "gallery-open", Eo = "gallery-close";
1
+ const Jt = "cc-webplayer", gn = "cc-webplayer-custom-media", vn = "cc-webplayer-icon", vo = "composition-loading", wo = "composition-loaded", _o = "composition-load-error", bo = "item-change", xo = "extend-mode-on", yo = "extend-mode-off", Hn = "hotspots-on", On = "hotspots-off", Co = "gallery-open", Eo = "gallery-close";
2
2
  const Mo = "quality";
3
3
  const ko = "*", Lo = "full_screen", Io = "cc-webplayer:";
4
- function ns(e, t) {
4
+ function os(e, t) {
5
5
  return `https://cdn.car-cutter.com/gallery/${e}/${t}/composition_v3.json`;
6
6
  }
7
7
  function To(e, t) {
@@ -9,14 +9,14 @@ function To(e, t) {
9
9
  return [r.join("/"), t, o].join("/");
10
10
  }
11
11
  function So() {
12
- return !!customElements.get(Jt) && !!customElements.get(vn) && !!customElements.get(wn);
12
+ return !!customElements.get(Jt) && !!customElements.get(gn) && !!customElements.get(vn);
13
13
  }
14
- var Nt, we, hr, _t, Un, mr, gr, vr, _n, dn, fn, wr, St = {}, _r = [], Po = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Rt = Array.isArray;
14
+ var Nt, we, pr, _t, Fn, hr, mr, gr, wn, un, dn, vr, St = {}, wr = [], Po = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Rt = Array.isArray;
15
15
  function ot(e, t) {
16
16
  for (var r in t) e[r] = t[r];
17
17
  return e;
18
18
  }
19
- function bn(e) {
19
+ function _n(e) {
20
20
  e && e.parentNode && e.parentNode.removeChild(e);
21
21
  }
22
22
  function ut(e, t, r) {
@@ -26,7 +26,7 @@ function ut(e, t, r) {
26
26
  return Tt(e, f, o, s, null);
27
27
  }
28
28
  function Tt(e, t, r, o, s) {
29
- var l = { type: e, props: t, key: r, ref: o, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: s ?? ++hr, __i: -1, __u: 0 };
29
+ var l = { type: e, props: t, key: r, ref: o, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: s ?? ++pr, __i: -1, __u: 0 };
30
30
  return s == null && we.vnode != null && we.vnode(l), l;
31
31
  }
32
32
  function No() {
@@ -43,38 +43,38 @@ function Ct(e, t) {
43
43
  for (var r; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) return r.__e;
44
44
  return typeof e.type == "function" ? Ct(e) : null;
45
45
  }
46
- function br(e) {
46
+ function _r(e) {
47
47
  var t, r;
48
48
  if ((e = e.__) != null && e.__c != null) {
49
49
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) {
50
50
  e.__e = e.__c.base = r.__e;
51
51
  break;
52
52
  }
53
- return br(e);
53
+ return _r(e);
54
54
  }
55
55
  }
56
- function pn(e) {
57
- (!e.__d && (e.__d = !0) && _t.push(e) && !qt.__r++ || Un != we.debounceRendering) && ((Un = we.debounceRendering) || mr)(qt);
56
+ function fn(e) {
57
+ (!e.__d && (e.__d = !0) && _t.push(e) && !qt.__r++ || Fn != we.debounceRendering) && ((Fn = we.debounceRendering) || hr)(qt);
58
58
  }
59
59
  function qt() {
60
- for (var e, t, r, o, s, l, f, n = 1; _t.length; ) _t.length > n && _t.sort(gr), e = _t.shift(), n = _t.length, e.__d && (r = void 0, s = (o = (t = e).__v).__e, l = [], f = [], t.__P && ((r = ot({}, o)).__v = o.__v + 1, we.vnode && we.vnode(r), xn(t.__P, r, o, t.__n, t.__P.namespaceURI, 32 & o.__u ? [s] : null, l, s ?? Ct(o), !!(32 & o.__u), f), r.__v = o.__v, r.__.__k[r.__i] = r, Cr(l, r, f), r.__e != s && br(r)));
60
+ for (var e, t, r, o, s, l, f, n = 1; _t.length; ) _t.length > n && _t.sort(mr), e = _t.shift(), n = _t.length, e.__d && (r = void 0, s = (o = (t = e).__v).__e, l = [], f = [], t.__P && ((r = ot({}, o)).__v = o.__v + 1, we.vnode && we.vnode(r), bn(t.__P, r, o, t.__n, t.__P.namespaceURI, 32 & o.__u ? [s] : null, l, s ?? Ct(o), !!(32 & o.__u), f), r.__v = o.__v, r.__.__k[r.__i] = r, yr(l, r, f), r.__e != s && _r(r)));
61
61
  qt.__r = 0;
62
62
  }
63
- function xr(e, t, r, o, s, l, f, n, m, h, k) {
64
- var d, p, a, M, E, L, _ = o && o.__k || _r, C = t.length;
65
- for (m = Ro(r, t, _, m, C), d = 0; d < C; d++) (a = r.__k[d]) != null && (p = a.__i == -1 ? St : _[a.__i] || St, a.__i = d, L = xn(e, a, p, s, l, f, n, m, h, k), M = a.__e, a.ref && p.ref != a.ref && (p.ref && yn(p.ref, null, a), k.push(a.ref, a.__c || M, a)), E == null && M != null && (E = M), 4 & a.__u || p.__k === a.__k ? m = yr(a, m, e) : typeof a.type == "function" && L !== void 0 ? m = L : M && (m = M.nextSibling), a.__u &= -7);
63
+ function br(e, t, r, o, s, l, f, n, m, h, k) {
64
+ var d, p, a, M, E, L, _ = o && o.__k || wr, C = t.length;
65
+ for (m = Ro(r, t, _, m, C), d = 0; d < C; d++) (a = r.__k[d]) != null && (p = a.__i == -1 ? St : _[a.__i] || St, a.__i = d, L = bn(e, a, p, s, l, f, n, m, h, k), M = a.__e, a.ref && p.ref != a.ref && (p.ref && xn(p.ref, null, a), k.push(a.ref, a.__c || M, a)), E == null && M != null && (E = M), 4 & a.__u || p.__k === a.__k ? m = xr(a, m, e) : typeof a.type == "function" && L !== void 0 ? m = L : M && (m = M.nextSibling), a.__u &= -7);
66
66
  return r.__e = E, m;
67
67
  }
68
68
  function Ro(e, t, r, o, s) {
69
69
  var l, f, n, m, h, k = r.length, d = k, p = 0;
70
70
  for (e.__k = new Array(s), l = 0; l < s; l++) (f = t[l]) != null && typeof f != "boolean" && typeof f != "function" ? (m = l + p, (f = e.__k[l] = typeof f == "string" || typeof f == "number" || typeof f == "bigint" || f.constructor == String ? Tt(null, f, null, null, null) : Rt(f) ? Tt(Xe, { children: f }, null, null, null) : f.constructor == null && f.__b > 0 ? Tt(f.type, f.props, f.key, f.ref ? f.ref : null, f.__v) : f).__ = e, f.__b = e.__b + 1, n = null, (h = f.__i = Ao(f, r, m, d)) != -1 && (d--, (n = r[h]) && (n.__u |= 2)), n == null || n.__v == null ? (h == -1 && (s > k ? p-- : s < k && p++), typeof f.type != "function" && (f.__u |= 4)) : h != m && (h == m - 1 ? p-- : h == m + 1 ? p++ : (h > m ? p-- : p++, f.__u |= 4))) : e.__k[l] = null;
71
- if (d) for (l = 0; l < k; l++) (n = r[l]) != null && !(2 & n.__u) && (n.__e == o && (o = Ct(n)), Mr(n, n));
71
+ if (d) for (l = 0; l < k; l++) (n = r[l]) != null && !(2 & n.__u) && (n.__e == o && (o = Ct(n)), Er(n, n));
72
72
  return o;
73
73
  }
74
- function yr(e, t, r) {
74
+ function xr(e, t, r) {
75
75
  var o, s;
76
76
  if (typeof e.type == "function") {
77
- for (o = e.__k, s = 0; o && s < o.length; s++) o[s] && (o[s].__ = e, t = yr(o[s], t, r));
77
+ for (o = e.__k, s = 0; o && s < o.length; s++) o[s] && (o[s].__ = e, t = xr(o[s], t, r));
78
78
  return t;
79
79
  }
80
80
  e.__e != t && (t && e.type && !r.contains(t) && (t = Ct(e)), r.insertBefore(e.__e, t || null), t = e.__e);
@@ -103,17 +103,17 @@ function Ao(e, t, r, o) {
103
103
  }
104
104
  return -1;
105
105
  }
106
- function Vn(e, t, r) {
106
+ function Un(e, t, r) {
107
107
  t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || Po.test(t) ? r : r + "px";
108
108
  }
109
109
  function Ut(e, t, r, o, s) {
110
110
  var l;
111
111
  e: if (t == "style") if (typeof r == "string") e.style.cssText = r;
112
112
  else {
113
- if (typeof o == "string" && (e.style.cssText = o = ""), o) for (t in o) r && t in r || Vn(e.style, t, "");
114
- if (r) for (t in r) o && r[t] == o[t] || Vn(e.style, t, r[t]);
113
+ if (typeof o == "string" && (e.style.cssText = o = ""), o) for (t in o) r && t in r || Un(e.style, t, "");
114
+ if (r) for (t in r) o && r[t] == o[t] || Un(e.style, t, r[t]);
115
115
  }
116
- else if (t[0] == "o" && t[1] == "n") l = t != (t = t.replace(vr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + l] = r, r ? o ? r.u = o.u : (r.u = _n, e.addEventListener(t, l ? fn : dn, l)) : e.removeEventListener(t, l ? fn : dn, l);
116
+ else if (t[0] == "o" && t[1] == "n") l = t != (t = t.replace(gr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + l] = r, r ? o ? r.u = o.u : (r.u = wn, e.addEventListener(t, l ? dn : un, l)) : e.removeEventListener(t, l ? dn : un, l);
117
117
  else {
118
118
  if (s == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
119
119
  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 {
@@ -128,14 +128,14 @@ function Wn(e) {
128
128
  return function(t) {
129
129
  if (this.l) {
130
130
  var r = this.l[t.type + e];
131
- if (t.t == null) t.t = _n++;
131
+ if (t.t == null) t.t = wn++;
132
132
  else if (t.t < r.u) return;
133
133
  return r(we.event ? we.event(t) : t);
134
134
  }
135
135
  };
136
136
  }
137
- function xn(e, t, r, o, s, l, f, n, m, h) {
138
- var k, d, p, a, M, E, L, _, C, y, v, I, S, V, T, j, H, O = t.type;
137
+ function bn(e, t, r, o, s, l, f, n, m, h) {
138
+ var k, d, p, a, M, E, L, _, C, y, v, I, S, W, T, j, H, O = t.type;
139
139
  if (t.constructor != null) return null;
140
140
  128 & r.__u && (m = !!(32 & r.__u), l = [n = t.__e = r.__e]), (k = we.__b) && k(t);
141
141
  e: if (typeof O == "function") try {
@@ -152,26 +152,26 @@ function xn(e, t, r, o, s, l, f, n, m, h) {
152
152
  d.componentDidUpdate(a, M, E);
153
153
  });
154
154
  }
155
- if (d.context = v, d.props = _, d.__P = e, d.__e = !1, S = we.__r, V = 0, C) {
155
+ if (d.context = v, d.props = _, d.__P = e, d.__e = !1, S = we.__r, W = 0, C) {
156
156
  for (d.state = d.__s, d.__d = !1, S && S(t), k = d.render(d.props, d.state, d.context), T = 0; T < d._sb.length; T++) d.__h.push(d._sb[T]);
157
157
  d._sb = [];
158
158
  } else do
159
159
  d.__d = !1, S && S(t), k = d.render(d.props, d.state, d.context), d.state = d.__s;
160
- while (d.__d && ++V < 25);
161
- d.state = d.__s, d.getChildContext != null && (o = ot(ot({}, o), d.getChildContext())), C && !p && d.getSnapshotBeforeUpdate != null && (E = d.getSnapshotBeforeUpdate(a, M)), j = k, k != null && k.type === Xe && k.key == null && (j = Er(k.props.children)), n = xr(e, Rt(j) ? j : [j], t, r, o, s, l, f, n, m, h), d.base = t.__e, t.__u &= -161, d.__h.length && f.push(d), L && (d.__E = d.__ = null);
160
+ while (d.__d && ++W < 25);
161
+ d.state = d.__s, d.getChildContext != null && (o = ot(ot({}, o), d.getChildContext())), C && !p && d.getSnapshotBeforeUpdate != null && (E = d.getSnapshotBeforeUpdate(a, M)), j = k, k != null && k.type === Xe && k.key == null && (j = Cr(k.props.children)), n = br(e, Rt(j) ? j : [j], t, r, o, s, l, f, n, m, h), d.base = t.__e, t.__u &= -161, d.__h.length && f.push(d), L && (d.__E = d.__ = null);
162
162
  } catch (D) {
163
163
  if (t.__v = null, m || l != null) if (D.then) {
164
164
  for (t.__u |= m ? 160 : 128; n && n.nodeType == 8 && n.nextSibling; ) n = n.nextSibling;
165
165
  l[l.indexOf(n)] = null, t.__e = n;
166
- } else for (H = l.length; H--; ) bn(l[H]);
166
+ } else for (H = l.length; H--; ) _n(l[H]);
167
167
  else t.__e = r.__e, t.__k = r.__k;
168
168
  we.__e(D, t, r);
169
169
  }
170
170
  else l == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : n = t.__e = zo(r.__e, t, r, o, s, l, f, m, h);
171
171
  return (k = we.diffed) && k(t), 128 & t.__u ? void 0 : n;
172
172
  }
173
- function Cr(e, t, r) {
174
- for (var o = 0; o < r.length; o++) yn(r[o], r[++o], r[++o]);
173
+ function yr(e, t, r) {
174
+ for (var o = 0; o < r.length; o++) xn(r[o], r[++o], r[++o]);
175
175
  we.__c && we.__c(t, e), e.some(function(s) {
176
176
  try {
177
177
  e = s.__h, s.__h = [], e.some(function(l) {
@@ -182,8 +182,8 @@ function Cr(e, t, r) {
182
182
  }
183
183
  });
184
184
  }
185
- function Er(e) {
186
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Rt(e) ? e.map(Er) : ot({}, e);
185
+ function Cr(e) {
186
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Rt(e) ? e.map(Cr) : ot({}, e);
187
187
  }
188
188
  function zo(e, t, r, o, s, l, f, n, m) {
189
189
  var h, k, d, p, a, M, E, L = r.props, _ = t.props, C = t.type;
@@ -209,12 +209,12 @@ function zo(e, t, r, o, s, l, f, n, m) {
209
209
  }
210
210
  for (h in _) a = _[h], h == "children" ? p = a : h == "dangerouslySetInnerHTML" ? k = a : h == "value" ? M = a : h == "checked" ? E = a : n && typeof a != "function" || L[h] === a || Ut(e, h, a, L[h], s);
211
211
  if (k) n || d && (k.__html == d.__html || k.__html == e.innerHTML) || (e.innerHTML = k.__html), t.__k = [];
212
- else if (d && (e.innerHTML = ""), xr(t.type == "template" ? e.content : e, Rt(p) ? p : [p], t, r, o, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, l, f, l ? l[0] : r.__k && Ct(r, 0), n, m), l != null) for (h = l.length; h--; ) bn(l[h]);
212
+ else if (d && (e.innerHTML = ""), br(t.type == "template" ? e.content : e, Rt(p) ? p : [p], t, r, o, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, l, f, l ? l[0] : r.__k && Ct(r, 0), n, m), l != null) for (h = l.length; h--; ) _n(l[h]);
213
213
  n || (h = "value", C == "progress" && M == null ? e.removeAttribute("value") : M != null && (M !== e[h] || C == "progress" && !M || C == "option" && M != L[h]) && Ut(e, h, M, L[h], s), h = "checked", E != null && E != e[h] && Ut(e, h, E, L[h], s));
214
214
  }
215
215
  return e;
216
216
  }
217
- function yn(e, t, r) {
217
+ function xn(e, t, r) {
218
218
  try {
219
219
  if (typeof e == "function") {
220
220
  var o = typeof e.__u == "function";
@@ -224,9 +224,9 @@ function yn(e, t, r) {
224
224
  we.__e(s, r);
225
225
  }
226
226
  }
227
- function Mr(e, t, r) {
227
+ function Er(e, t, r) {
228
228
  var o, s;
229
- if (we.unmount && we.unmount(e), (o = e.ref) && (o.current && o.current != e.__e || yn(o, null, t)), (o = e.__c) != null) {
229
+ if (we.unmount && we.unmount(e), (o = e.ref) && (o.current && o.current != e.__e || xn(o, null, t)), (o = e.__c) != null) {
230
230
  if (o.componentWillUnmount) try {
231
231
  o.componentWillUnmount();
232
232
  } catch (l) {
@@ -234,18 +234,18 @@ function Mr(e, t, r) {
234
234
  }
235
235
  o.base = o.__P = null;
236
236
  }
237
- if (o = e.__k) for (s = 0; s < o.length; s++) o[s] && Mr(o[s], t, r || typeof e.type != "function");
238
- r || bn(e.__e), e.__c = e.__ = e.__e = void 0;
237
+ if (o = e.__k) for (s = 0; s < o.length; s++) o[s] && Er(o[s], t, r || typeof e.type != "function");
238
+ r || _n(e.__e), e.__c = e.__ = e.__e = void 0;
239
239
  }
240
240
  function Do(e, t, r) {
241
241
  return this.constructor(e, r);
242
242
  }
243
243
  function Pt(e, t, r) {
244
244
  var o, s, l, f;
245
- t == document && (t = document.documentElement), we.__ && we.__(e, t), s = (o = typeof r == "function") ? null : r && r.__k || t.__k, l = [], f = [], xn(t, e = (!o && r || t).__k = ut(Xe, null, [e]), s || St, St, t.namespaceURI, !o && r ? [r] : s ? null : t.firstChild ? Nt.call(t.childNodes) : null, l, !o && r ? r : s ? s.__e : t.firstChild, o, f), Cr(l, e, f);
245
+ t == document && (t = document.documentElement), we.__ && we.__(e, t), s = (o = typeof r == "function") ? null : r && r.__k || t.__k, l = [], f = [], bn(t, e = (!o && r || t).__k = ut(Xe, null, [e]), s || St, St, t.namespaceURI, !o && r ? [r] : s ? null : t.firstChild ? Nt.call(t.childNodes) : null, l, !o && r ? r : s ? s.__e : t.firstChild, o, f), yr(l, e, f);
246
246
  }
247
- function kr(e, t) {
248
- Pt(e, t, kr);
247
+ function Mr(e, t) {
248
+ Pt(e, t, Mr);
249
249
  }
250
250
  function Ho(e, t, r) {
251
251
  var o, s, l, f, n = ot({}, e.props);
@@ -261,7 +261,7 @@ function At(e) {
261
261
  o = null;
262
262
  }, this.shouldComponentUpdate = function(l) {
263
263
  this.props.value != l.value && o.forEach(function(f) {
264
- f.__e = !0, pn(f);
264
+ f.__e = !0, fn(f);
265
265
  });
266
266
  }, this.sub = function(l) {
267
267
  o.add(l);
@@ -271,25 +271,25 @@ function At(e) {
271
271
  };
272
272
  }), r.children;
273
273
  }
274
- return t.__c = "__cC" + wr++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(r, o) {
274
+ return t.__c = "__cC" + vr++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(r, o) {
275
275
  return r.children(o);
276
276
  }).contextType = t, t;
277
277
  }
278
- Nt = _r.slice, we = { __e: function(e, t, r, o) {
278
+ Nt = wr.slice, we = { __e: function(e, t, r, o) {
279
279
  for (var s, l, f; t = t.__; ) if ((s = t.__c) && !s.__) try {
280
280
  if ((l = s.constructor) && l.getDerivedStateFromError != null && (s.setState(l.getDerivedStateFromError(e)), f = s.__d), s.componentDidCatch != null && (s.componentDidCatch(e, o || {}), f = s.__d), f) return s.__E = s;
281
281
  } catch (n) {
282
282
  e = n;
283
283
  }
284
284
  throw e;
285
- } }, hr = 0, it.prototype.setState = function(e, t) {
285
+ } }, pr = 0, it.prototype.setState = function(e, t) {
286
286
  var r;
287
- r = this.__s != null && this.__s != this.state ? this.__s : this.__s = ot({}, this.state), typeof e == "function" && (e = e(ot({}, r), this.props)), e && ot(r, e), e != null && this.__v && (t && this._sb.push(t), pn(this));
287
+ r = this.__s != null && this.__s != this.state ? this.__s : this.__s = ot({}, this.state), typeof e == "function" && (e = e(ot({}, r), this.props)), e && ot(r, e), e != null && this.__v && (t && this._sb.push(t), fn(this));
288
288
  }, it.prototype.forceUpdate = function(e) {
289
- this.__v && (this.__e = !0, e && this.__h.push(e), pn(this));
290
- }, it.prototype.render = Xe, _t = [], mr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, gr = function(e, t) {
289
+ this.__v && (this.__e = !0, e && this.__h.push(e), fn(this));
290
+ }, it.prototype.render = Xe, _t = [], hr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, mr = function(e, t) {
291
291
  return e.__v.__b - t.__v.__b;
292
- }, qt.__r = 0, vr = /(PointerCapture)$|Capture$/i, _n = 0, dn = Wn(!1), fn = Wn(!0), wr = 0;
292
+ }, qt.__r = 0, gr = /(PointerCapture)$|Capture$/i, wn = 0, un = Wn(!1), dn = Wn(!0), vr = 0;
293
293
  var Oo = 0;
294
294
  function c(e, t, r, o, s, l) {
295
295
  t || (t = {});
@@ -299,18 +299,18 @@ function c(e, t, r, o, s, l) {
299
299
  if (typeof e == "function" && (f = e.defaultProps)) for (n in f) m[n] === void 0 && (m[n] = f[n]);
300
300
  return we.vnode && we.vnode(h), h;
301
301
  }
302
- var ht, ze, sn, Bn, Et = 0, Lr = [], Ue = we, Xn = Ue.__b, Yn = Ue.__r, Zn = Ue.diffed, Gn = Ue.__c, jn = Ue.unmount, $n = Ue.__;
302
+ var ht, ze, an, Vn, Et = 0, kr = [], Ue = we, Bn = Ue.__b, Xn = Ue.__r, Yn = Ue.diffed, Zn = Ue.__c, Gn = Ue.unmount, jn = Ue.__;
303
303
  function Mt(e, t) {
304
304
  Ue.__h && Ue.__h(ze, e, Et || t), Et = 0;
305
305
  var r = ze.__H || (ze.__H = { __: [], __h: [] });
306
306
  return e >= r.__.length && r.__.push({}), r.__[e];
307
307
  }
308
308
  function Ee(e) {
309
- return Et = 1, Cn(Pr, e);
309
+ return Et = 1, yn(Sr, e);
310
310
  }
311
- function Cn(e, t, r) {
311
+ function yn(e, t, r) {
312
312
  var o = Mt(ht++, 2);
313
- if (o.t = e, !o.__c && (o.__ = [r ? r(t) : Pr(void 0, t), function(n) {
313
+ if (o.t = e, !o.__c && (o.__ = [r ? r(t) : Sr(void 0, t), function(n) {
314
314
  var m = o.__N ? o.__N[0] : o.__[0], h = o.t(m, n);
315
315
  m !== h && (o.__N = [h, o.__[1]], o.__c.setState({}));
316
316
  }], o.__c = ze, !ze.__f)) {
@@ -344,18 +344,18 @@ function Cn(e, t, r) {
344
344
  }
345
345
  function ge(e, t) {
346
346
  var r = Mt(ht++, 3);
347
- !Ue.__s && En(r.__H, t) && (r.__ = e, r.u = t, ze.__H.__h.push(r));
347
+ !Ue.__s && Cn(r.__H, t) && (r.__ = e, r.u = t, ze.__H.__h.push(r));
348
348
  }
349
349
  function zt(e, t) {
350
350
  var r = Mt(ht++, 4);
351
- !Ue.__s && En(r.__H, t) && (r.__ = e, r.u = t, ze.__h.push(r));
351
+ !Ue.__s && Cn(r.__H, t) && (r.__ = e, r.u = t, ze.__h.push(r));
352
352
  }
353
353
  function Se(e) {
354
- return Et = 5, $e(function() {
354
+ return Et = 5, qe(function() {
355
355
  return { current: e };
356
356
  }, []);
357
357
  }
358
- function Ir(e, t, r) {
358
+ function Lr(e, t, r) {
359
359
  Et = 6, zt(function() {
360
360
  if (typeof e == "function") {
361
361
  var o = e(t());
@@ -368,12 +368,12 @@ function Ir(e, t, r) {
368
368
  };
369
369
  }, r == null ? r : r.concat(e));
370
370
  }
371
- function $e(e, t) {
371
+ function qe(e, t) {
372
372
  var r = Mt(ht++, 7);
373
- return En(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
373
+ return Cn(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
374
374
  }
375
375
  function q(e, t) {
376
- return Et = 8, $e(function() {
376
+ return Et = 8, qe(function() {
377
377
  return e;
378
378
  }, t);
379
379
  }
@@ -381,10 +381,10 @@ function kt(e) {
381
381
  var t = ze.context[e.__c], r = Mt(ht++, 9);
382
382
  return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub(ze)), t.props.value) : e.__;
383
383
  }
384
- function Tr(e, t) {
384
+ function Ir(e, t) {
385
385
  Ue.useDebugValue && Ue.useDebugValue(t ? t(e) : e);
386
386
  }
387
- function Sr() {
387
+ function Tr() {
388
388
  var e = Mt(ht++, 11);
389
389
  if (!e.__) {
390
390
  for (var t = ze.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
@@ -394,42 +394,42 @@ function Sr() {
394
394
  return e.__;
395
395
  }
396
396
  function Fo() {
397
- for (var e; e = Lr.shift(); ) if (e.__P && e.__H) try {
398
- e.__H.__h.forEach(Gt), e.__H.__h.forEach(hn), e.__H.__h = [];
397
+ for (var e; e = kr.shift(); ) if (e.__P && e.__H) try {
398
+ e.__H.__h.forEach(Gt), e.__H.__h.forEach(pn), e.__H.__h = [];
399
399
  } catch (t) {
400
400
  e.__H.__h = [], Ue.__e(t, e.__v);
401
401
  }
402
402
  }
403
403
  Ue.__b = function(e) {
404
- ze = null, Xn && Xn(e);
404
+ ze = null, Bn && Bn(e);
405
405
  }, Ue.__ = function(e, t) {
406
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), $n && $n(e, t);
406
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), jn && jn(e, t);
407
407
  }, Ue.__r = function(e) {
408
- Yn && Yn(e), ht = 0;
408
+ Xn && Xn(e), ht = 0;
409
409
  var t = (ze = e.__c).__H;
410
- t && (sn === ze ? (t.__h = [], ze.__h = [], t.__.forEach(function(r) {
410
+ t && (an === ze ? (t.__h = [], ze.__h = [], t.__.forEach(function(r) {
411
411
  r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
412
- })) : (t.__h.forEach(Gt), t.__h.forEach(hn), t.__h = [], ht = 0)), sn = ze;
412
+ })) : (t.__h.forEach(Gt), t.__h.forEach(pn), t.__h = [], ht = 0)), an = ze;
413
413
  }, Ue.diffed = function(e) {
414
- Zn && Zn(e);
414
+ Yn && Yn(e);
415
415
  var t = e.__c;
416
- t && t.__H && (t.__H.__h.length && (Lr.push(t) !== 1 && Bn === Ue.requestAnimationFrame || ((Bn = Ue.requestAnimationFrame) || Uo)(Fo)), t.__H.__.forEach(function(r) {
416
+ t && t.__H && (t.__H.__h.length && (kr.push(t) !== 1 && Vn === Ue.requestAnimationFrame || ((Vn = Ue.requestAnimationFrame) || Uo)(Fo)), t.__H.__.forEach(function(r) {
417
417
  r.u && (r.__H = r.u), r.u = void 0;
418
- })), sn = ze = null;
418
+ })), an = ze = null;
419
419
  }, Ue.__c = function(e, t) {
420
420
  t.some(function(r) {
421
421
  try {
422
422
  r.__h.forEach(Gt), r.__h = r.__h.filter(function(o) {
423
- return !o.__ || hn(o);
423
+ return !o.__ || pn(o);
424
424
  });
425
425
  } catch (o) {
426
426
  t.some(function(s) {
427
427
  s.__h && (s.__h = []);
428
428
  }), t = [], Ue.__e(o, r.__v);
429
429
  }
430
- }), Gn && Gn(e, t);
430
+ }), Zn && Zn(e, t);
431
431
  }, Ue.unmount = function(e) {
432
- jn && jn(e);
432
+ Gn && Gn(e);
433
433
  var t, r = e.__c;
434
434
  r && r.__H && (r.__H.__.forEach(function(o) {
435
435
  try {
@@ -439,49 +439,49 @@ Ue.__b = function(e) {
439
439
  }
440
440
  }), r.__H = void 0, t && Ue.__e(t, r.__v));
441
441
  };
442
- var qn = typeof requestAnimationFrame == "function";
442
+ var $n = typeof requestAnimationFrame == "function";
443
443
  function Uo(e) {
444
444
  var t, r = function() {
445
- clearTimeout(o), qn && cancelAnimationFrame(t), setTimeout(e);
445
+ clearTimeout(o), $n && cancelAnimationFrame(t), setTimeout(e);
446
446
  }, o = setTimeout(r, 100);
447
- qn && (t = requestAnimationFrame(r));
447
+ $n && (t = requestAnimationFrame(r));
448
448
  }
449
449
  function Gt(e) {
450
450
  var t = ze, r = e.__c;
451
451
  typeof r == "function" && (e.__c = void 0, r()), ze = t;
452
452
  }
453
- function hn(e) {
453
+ function pn(e) {
454
454
  var t = ze;
455
455
  e.__c = e.__(), ze = t;
456
456
  }
457
- function En(e, t) {
457
+ function Cn(e, t) {
458
458
  return !e || e.length !== t.length || t.some(function(r, o) {
459
459
  return r !== e[o];
460
460
  });
461
461
  }
462
- function Pr(e, t) {
462
+ function Sr(e, t) {
463
463
  return typeof t == "function" ? t(e) : t;
464
464
  }
465
- function Nr(e, t) {
465
+ function Pr(e, t) {
466
466
  for (var r in t) e[r] = t[r];
467
467
  return e;
468
468
  }
469
- function mn(e, t) {
469
+ function hn(e, t) {
470
470
  for (var r in e) if (r !== "__source" && !(r in t)) return !0;
471
471
  for (var o in t) if (o !== "__source" && e[o] !== t[o]) return !0;
472
472
  return !1;
473
473
  }
474
- function Rr(e, t) {
474
+ function Nr(e, t) {
475
475
  var r = t(), o = Ee({ t: { __: r, u: t } }), s = o[0].t, l = o[1];
476
476
  return zt(function() {
477
- s.__ = r, s.u = t, ln(s) && l({ t: s });
477
+ s.__ = r, s.u = t, sn(s) && l({ t: s });
478
478
  }, [e, r, t]), ge(function() {
479
- return ln(s) && l({ t: s }), e(function() {
480
- ln(s) && l({ t: s });
479
+ return sn(s) && l({ t: s }), e(function() {
480
+ sn(s) && l({ t: s });
481
481
  });
482
482
  }, [e]), r;
483
483
  }
484
- function ln(e) {
484
+ function sn(e) {
485
485
  var t, r, o = e.u, s = e.__;
486
486
  try {
487
487
  var l = o();
@@ -490,23 +490,23 @@ function ln(e) {
490
490
  return !0;
491
491
  }
492
492
  }
493
- function Ar(e) {
493
+ function Rr(e) {
494
494
  e();
495
495
  }
496
- function zr(e) {
496
+ function Ar(e) {
497
497
  return e;
498
498
  }
499
- function Dr() {
500
- return [!1, Ar];
499
+ function zr() {
500
+ return [!1, Rr];
501
501
  }
502
- var Hr = zt;
502
+ var Dr = zt;
503
503
  function Kt(e, t) {
504
504
  this.props = e, this.context = t;
505
505
  }
506
- function Vo(e, t) {
506
+ function Wo(e, t) {
507
507
  function r(s) {
508
508
  var l = this.props.ref, f = l == s.ref;
509
- return !f && l && (l.call ? l(null) : l.current = null), t ? !t(this.props, s) || !f : mn(this.props, s);
509
+ return !f && l && (l.call ? l(null) : l.current = null), t ? !t(this.props, s) || !f : hn(this.props, s);
510
510
  }
511
511
  function o(s) {
512
512
  return this.shouldComponentUpdate = r, ut(e, s);
@@ -514,23 +514,23 @@ function Vo(e, t) {
514
514
  return o.displayName = "Memo(" + (e.displayName || e.name) + ")", o.prototype.isReactComponent = !0, o.__f = !0, o;
515
515
  }
516
516
  (Kt.prototype = new it()).isPureReactComponent = !0, Kt.prototype.shouldComponentUpdate = function(e, t) {
517
- return mn(this.props, e) || mn(this.state, t);
517
+ return hn(this.props, e) || hn(this.state, t);
518
518
  };
519
- var Kn = we.__b;
519
+ var qn = we.__b;
520
520
  we.__b = function(e) {
521
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Kn && Kn(e);
521
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), qn && qn(e);
522
522
  };
523
- var Wo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
523
+ var Vo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
524
524
  function Bo(e) {
525
525
  function t(r) {
526
- var o = Nr({}, r);
526
+ var o = Pr({}, r);
527
527
  return delete o.ref, e(o, r.ref || null);
528
528
  }
529
- return t.$$typeof = Wo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
529
+ return t.$$typeof = Vo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
530
530
  }
531
- var Jn = function(e, t) {
531
+ var Kn = function(e, t) {
532
532
  return e == null ? null : ct(ct(e).map(t));
533
- }, Xo = { map: Jn, forEach: Jn, count: function(e) {
533
+ }, Xo = { map: Kn, forEach: Kn, count: function(e) {
534
534
  return e ? ct(e).length : 0;
535
535
  }, only: function(e) {
536
536
  var t = ct(e);
@@ -543,23 +543,23 @@ we.__e = function(e, t, r, o) {
543
543
  }
544
544
  Yo(e, t, r, o);
545
545
  };
546
- var Qn = we.unmount;
547
- function Or(e, t, r) {
546
+ var Jn = we.unmount;
547
+ function Hr(e, t, r) {
548
548
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(o) {
549
549
  typeof o.__c == "function" && o.__c();
550
- }), e.__c.__H = null), (e = Nr({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(o) {
551
- return Or(o, t, r);
550
+ }), e.__c.__H = null), (e = Pr({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(o) {
551
+ return Hr(o, t, r);
552
552
  })), e;
553
553
  }
554
- function Fr(e, t, r) {
554
+ function Or(e, t, r) {
555
555
  return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(o) {
556
- return Fr(o, t, r);
556
+ return Or(o, t, r);
557
557
  }), e.__c && e.__c.__P === t && (e.__e && r.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = r)), e;
558
558
  }
559
559
  function jt() {
560
560
  this.__u = 0, this.o = null, this.__b = null;
561
561
  }
562
- function Ur(e) {
562
+ function Fr(e) {
563
563
  var t = e.__.__c;
564
564
  return t && t.__a && t.__a(e);
565
565
  }
@@ -581,11 +581,11 @@ function It() {
581
581
  }
582
582
  we.unmount = function(e) {
583
583
  var t = e.__c;
584
- t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Qn && Qn(e);
584
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Jn && Jn(e);
585
585
  }, (jt.prototype = new it()).__c = function(e, t) {
586
586
  var r = t.__c, o = this;
587
587
  o.o == null && (o.o = []), o.o.push(r);
588
- var s = Ur(o.__v), l = !1, f = function() {
588
+ var s = Fr(o.__v), l = !1, f = function() {
589
589
  l || (l = !0, r.__R = null, s ? s(n) : n());
590
590
  };
591
591
  r.__R = f;
@@ -593,7 +593,7 @@ we.unmount = function(e) {
593
593
  if (!--o.__u) {
594
594
  if (o.state.__a) {
595
595
  var m = o.state.__a;
596
- o.__v.__k[0] = Fr(m, m.__c.__P, m.__c.__O);
596
+ o.__v.__k[0] = Or(m, m.__c.__P, m.__c.__O);
597
597
  }
598
598
  var h;
599
599
  for (o.setState({ __a: o.__b = null }); h = o.o.pop(); ) h.forceUpdate();
@@ -606,14 +606,14 @@ we.unmount = function(e) {
606
606
  if (this.__b) {
607
607
  if (this.__v.__k) {
608
608
  var r = document.createElement("div"), o = this.__v.__k[0].__c;
609
- this.__v.__k[0] = Or(this.__b, r, o.__O = o.__P);
609
+ this.__v.__k[0] = Hr(this.__b, r, o.__O = o.__P);
610
610
  }
611
611
  this.__b = null;
612
612
  }
613
613
  var s = t.__a && ut(Xe, null, e.fallback);
614
614
  return s && (s.__u &= -33), [ut(Xe, null, t.__a ? null : e.children), s];
615
615
  };
616
- var er = function(e, t, r) {
616
+ var Qn = function(e, t, r) {
617
617
  if (++r[1] === r[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (r = e.i; r; ) {
618
618
  for (; r.length > 3; ) r.pop()();
619
619
  if (r[1] < r[0]) break;
@@ -644,10 +644,10 @@ function $o(e, t) {
644
644
  return r.containerInfo = t, r;
645
645
  }
646
646
  (It.prototype = new it()).__a = function(e) {
647
- var t = this, r = Ur(t.__v), o = t.l.get(e);
647
+ var t = this, r = Fr(t.__v), o = t.l.get(e);
648
648
  return o[0]++, function(s) {
649
649
  var l = function() {
650
- t.props.revealOrder ? (o.push(s), er(t, e, o)) : s();
650
+ t.props.revealOrder ? (o.push(s), Qn(t, e, o)) : s();
651
651
  };
652
652
  r ? r(l) : l();
653
653
  };
@@ -660,17 +660,17 @@ function $o(e, t) {
660
660
  }, It.prototype.componentDidUpdate = It.prototype.componentDidMount = function() {
661
661
  var e = this;
662
662
  this.l.forEach(function(t, r) {
663
- er(e, r, t);
663
+ Qn(e, r, t);
664
664
  });
665
665
  };
666
- var Vr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, qo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ko = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Jo = /[A-Z0-9]/g, Qo = typeof document < "u", ea = function(e) {
666
+ var Ur = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, qo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ko = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Jo = /[A-Z0-9]/g, Qo = typeof document < "u", ea = function(e) {
667
667
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
668
668
  };
669
669
  function Wr(e, t, r) {
670
670
  return t.__k == null && (t.textContent = ""), Pt(e, t), typeof r == "function" && r(), e ? e.__c : null;
671
671
  }
672
672
  function ta(e, t, r) {
673
- return kr(e, t), typeof r == "function" && r(), e ? e.__c : null;
673
+ return Mr(e, t), typeof r == "function" && r(), e ? e.__c : null;
674
674
  }
675
675
  it.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
676
676
  Object.defineProperty(it.prototype, e, { configurable: !0, get: function() {
@@ -679,7 +679,7 @@ it.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
679
679
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
680
680
  } });
681
681
  });
682
- var tr = we.event;
682
+ var er = we.event;
683
683
  function na() {
684
684
  }
685
685
  function ra() {
@@ -689,11 +689,11 @@ function oa() {
689
689
  return this.defaultPrevented;
690
690
  }
691
691
  we.event = function(e) {
692
- return tr && (e = tr(e)), e.persist = na, e.isPropagationStopped = ra, e.isDefaultPrevented = oa, e.nativeEvent = e;
692
+ return er && (e = er(e)), e.persist = na, e.isPropagationStopped = ra, e.isDefaultPrevented = oa, e.nativeEvent = e;
693
693
  };
694
- var Mn, aa = { enumerable: !1, configurable: !0, get: function() {
694
+ var En, aa = { enumerable: !1, configurable: !0, get: function() {
695
695
  return this.class;
696
- } }, nr = we.vnode;
696
+ } }, tr = we.vnode;
697
697
  we.vnode = function(e) {
698
698
  typeof e.type == "string" && function(t) {
699
699
  var r = t.props, o = t.type, s = {}, l = o.indexOf("-") === -1;
@@ -709,26 +709,26 @@ we.vnode = function(e) {
709
709
  })), o == "select" && s.defaultValue != null && (s.value = ct(r.children).forEach(function(h) {
710
710
  h.props.selected = s.multiple ? s.defaultValue.indexOf(h.props.value) != -1 : s.defaultValue == h.props.value;
711
711
  })), r.class && !r.className ? (s.class = r.class, Object.defineProperty(s, "className", aa)) : (r.className && !r.class || r.class && r.className) && (s.class = s.className = r.className), t.props = s;
712
- }(e), e.$$typeof = Vr, nr && nr(e);
712
+ }(e), e.$$typeof = Ur, tr && tr(e);
713
713
  };
714
- var rr = we.__r;
714
+ var nr = we.__r;
715
715
  we.__r = function(e) {
716
- rr && rr(e), Mn = e.__c;
716
+ nr && nr(e), En = e.__c;
717
717
  };
718
- var or = we.diffed;
718
+ var rr = we.diffed;
719
719
  we.diffed = function(e) {
720
- or && or(e);
720
+ rr && rr(e);
721
721
  var t = e.props, r = e.__e;
722
- r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value), Mn = null;
722
+ r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value), En = null;
723
723
  };
724
724
  var ia = { ReactCurrentDispatcher: { current: { readContext: function(e) {
725
- return Mn.__n[e.__c].props.value;
726
- }, useCallback: q, useContext: kt, useDebugValue: Tr, useDeferredValue: zr, useEffect: ge, useId: Sr, useImperativeHandle: Ir, useInsertionEffect: Hr, useLayoutEffect: zt, useMemo: $e, useReducer: Cn, useRef: Se, useState: Ee, useSyncExternalStore: Rr, useTransition: Dr } } };
725
+ return En.__n[e.__c].props.value;
726
+ }, useCallback: q, useContext: kt, useDebugValue: Ir, useDeferredValue: Ar, useEffect: ge, useId: Tr, useImperativeHandle: Lr, useInsertionEffect: Dr, useLayoutEffect: zt, useMemo: qe, useReducer: yn, useRef: Se, useState: Ee, useSyncExternalStore: Nr, useTransition: zr } } };
727
727
  function sa(e) {
728
728
  return ut.bind(null, e);
729
729
  }
730
730
  function Qt(e) {
731
- return !!e && e.$$typeof === Vr;
731
+ return !!e && e.$$typeof === Ur;
732
732
  }
733
733
  function la(e) {
734
734
  return Qt(e) && e.type === Xe;
@@ -739,7 +739,7 @@ function ca(e) {
739
739
  function ua(e) {
740
740
  return Qt(e) ? Ho.apply(null, arguments) : e;
741
741
  }
742
- function Br(e) {
742
+ function Vr(e) {
743
743
  return !!e.__k && (Pt(null, e), !0);
744
744
  }
745
745
  function da(e) {
@@ -749,20 +749,20 @@ var fa = function(e, t) {
749
749
  return e(t);
750
750
  }, pa = function(e, t) {
751
751
  return e(t);
752
- }, ha = Xe, ma = Qt, kn = { useState: Ee, useId: Sr, useReducer: Cn, useEffect: ge, useLayoutEffect: zt, useInsertionEffect: Hr, useTransition: Dr, useDeferredValue: zr, useSyncExternalStore: Rr, startTransition: Ar, useRef: Se, useImperativeHandle: Ir, useMemo: $e, useCallback: q, useContext: kt, useDebugValue: Tr, version: "18.3.1", Children: Xo, render: Wr, hydrate: ta, unmountComponentAtNode: Br, createPortal: $o, createElement: ut, createContext: At, createFactory: sa, cloneElement: ua, createRef: No, Fragment: Xe, isValidElement: Qt, isElement: ma, isFragment: la, isMemo: ca, findDOMNode: da, Component: it, PureComponent: Kt, memo: Vo, forwardRef: Bo, flushSync: pa, unstable_batchedUpdates: fa, StrictMode: ha, Suspense: jt, SuspenseList: It, lazy: Zo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ia };
752
+ }, ha = Xe, ma = Qt, Mn = { useState: Ee, useId: Tr, useReducer: yn, useEffect: ge, useLayoutEffect: zt, useInsertionEffect: Dr, useTransition: zr, useDeferredValue: Ar, useSyncExternalStore: Nr, startTransition: Rr, useRef: Se, useImperativeHandle: Lr, useMemo: qe, useCallback: q, useContext: kt, useDebugValue: Ir, version: "18.3.1", Children: Xo, render: Wr, hydrate: ta, unmountComponentAtNode: Vr, createPortal: $o, createElement: ut, createContext: At, createFactory: sa, cloneElement: ua, createRef: No, Fragment: Xe, isValidElement: Qt, isElement: ma, isFragment: la, isMemo: ca, findDOMNode: da, Component: it, PureComponent: Kt, memo: Wo, forwardRef: Bo, flushSync: pa, unstable_batchedUpdates: fa, StrictMode: ha, Suspense: jt, SuspenseList: It, lazy: Zo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ia };
753
753
  async function ga(e) {
754
754
  const t = await fetch(e);
755
755
  if (!t.ok)
756
756
  throw new Error(`Failed to fetch composition: ${t.statusText}`);
757
757
  return await t.json();
758
758
  }
759
- const cn = /* @__PURE__ */ new Map(), va = (e) => {
759
+ const ln = /* @__PURE__ */ new Map(), va = (e) => {
760
760
  const [t, r] = Ee({
761
761
  status: "pending",
762
762
  isSuccess: !1
763
763
  });
764
764
  return ge(() => {
765
- const o = (l) => r({ status: "success", data: l, isSuccess: !0 }), s = cn.get(e);
765
+ const o = (l) => r({ status: "success", data: l, isSuccess: !0 }), s = ln.get(e);
766
766
  if (s && !(s instanceof Promise)) {
767
767
  o(s);
768
768
  return;
@@ -777,7 +777,7 @@ const cn = /* @__PURE__ */ new Map(), va = (e) => {
777
777
  l = await s;
778
778
  else {
779
779
  const f = ga(e);
780
- cn.set(e, f), l = await f, cn.set(e, l);
780
+ ln.set(e, f), l = await f, ln.set(e, l);
781
781
  }
782
782
  o(l);
783
783
  } catch (l) {
@@ -789,15 +789,15 @@ const cn = /* @__PURE__ */ new Map(), va = (e) => {
789
789
  }
790
790
  }();
791
791
  }, [e]), t;
792
- }, Xr = At(null), et = () => {
793
- const e = kt(Xr);
792
+ }, Br = At(null), et = () => {
793
+ const e = kt(Br);
794
794
  if (!e)
795
795
  throw new Error(
796
796
  "useGlobalContext must be used within a GlobalContextProvider"
797
797
  );
798
798
  return e;
799
- }, wa = ({ children: e, ...t }) => /* @__PURE__ */ c(Xr.Provider, { value: t, children: e }), Yr = At(null), mt = () => {
800
- const e = kt(Yr);
799
+ }, wa = ({ children: e, ...t }) => /* @__PURE__ */ c(Br.Provider, { value: t, children: e }), Xr = At(null), mt = () => {
800
+ const e = kt(Xr);
801
801
  if (!e)
802
802
  throw new Error(
803
803
  "useCompositionContext must be used within a CompositionContextProvider"
@@ -809,19 +809,19 @@ const cn = /* @__PURE__ */ new Map(), va = (e) => {
809
809
  categories: o,
810
810
  imageHdWidth: s,
811
811
  imageSubWidths: l
812
- } = e, { minMediaWidth: f, maxMediaWidth: n, categoriesFilter: m } = et(), h = $e(() => {
812
+ } = e, { minMediaWidth: f, maxMediaWidth: n, categoriesFilter: m } = et(), h = qe(() => {
813
813
  if (m === "*")
814
814
  return o;
815
815
  function a(M) {
816
816
  return m.split("|").some((E) => new RegExp(`^${E.replace(/\*/g, ".*")}$`).test(M));
817
817
  }
818
818
  return o.filter(({ id: M }) => a(M));
819
- }, [o, m]), k = $e(
819
+ }, [o, m]), k = qe(
820
820
  () => h.flatMap(({ items: a }) => a),
821
821
  [h]
822
822
  ), d = {
823
823
  aspectRatio: r.replace(":", " / ")
824
- }, p = $e(() => {
824
+ }, p = qe(() => {
825
825
  const a = l.concat(s), M = a.sort((L, _) => L - _), E = M.filter(
826
826
  (L) => L >= f && L <= n
827
827
  );
@@ -838,7 +838,7 @@ const cn = /* @__PURE__ */ new Map(), va = (e) => {
838
838
  return E;
839
839
  }, [l, s, f, n]);
840
840
  return /* @__PURE__ */ c(
841
- Yr.Provider,
841
+ Xr.Provider,
842
842
  {
843
843
  value: {
844
844
  ...e,
@@ -850,14 +850,14 @@ const cn = /* @__PURE__ */ new Map(), va = (e) => {
850
850
  children: t
851
851
  }
852
852
  );
853
- }, Zr = 500, yt = 0.75, bt = 1 + yt * 2, Gr = () => {
853
+ }, Yr = 500, yt = 0.75, bt = 1 + yt * 2, Zr = () => {
854
854
  const { isFullScreen: e, maxItemsShown: t, integration: r } = et();
855
855
  return { effectiveMaxItemsShown: r && e ? 1 : t };
856
856
  };
857
857
  function at(e, t, r) {
858
858
  return Math.min(Math.max(e, t), r);
859
859
  }
860
- const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
860
+ const $t = (e, t, r) => e + (t - e) * r, or = (e, t, r, o, s, l = !1) => {
861
861
  const f = at(e, t, r);
862
862
  if (f === (l ? r : t)) return o;
863
863
  if (f === (l ? t : r)) return 1;
@@ -872,21 +872,21 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
872
872
  l < o && (o = l, r = t[s]);
873
873
  }
874
874
  return r;
875
- }, jr = At(null), Ln = () => kt(jr), Dt = () => {
876
- const e = Ln();
875
+ }, Gr = At(null), kn = () => kt(Gr), Dt = () => {
876
+ const e = kn();
877
877
  if (!e)
878
878
  throw new Error(
879
879
  "useCustomizationContext must be used within a CustomizationContextProvider"
880
880
  );
881
881
  return e;
882
- }, ir = "*:size-full", sr = "*:object-cover *:size-full", xa = ({ children: e }) => {
882
+ }, ar = "*:size-full", ir = "*:object-cover *:size-full", xa = ({ children: e }) => {
883
883
  const { compositionUrl: t } = et(), r = q(
884
884
  () => document.querySelector(
885
885
  `${Jt}[composition-url="${t}"]`
886
886
  ),
887
887
  [t]
888
888
  ), o = q((M) => {
889
- const E = M.querySelectorAll(wn), L = /* @__PURE__ */ new Map();
889
+ const E = M.querySelectorAll(vn), L = /* @__PURE__ */ new Map();
890
890
  for (const _ of E) {
891
891
  const C = _.getAttribute("name");
892
892
  if (!C) {
@@ -896,7 +896,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
896
896
  const y = _.innerHTML, v = y ? /* @__PURE__ */ c(
897
897
  "div",
898
898
  {
899
- className: ir,
899
+ className: ar,
900
900
  dangerouslySetInnerHTML: { __html: y }
901
901
  }
902
902
  ) : void 0;
@@ -935,7 +935,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
935
935
  return new Map(
936
936
  L.set(M, {
937
937
  ...C,
938
- Icon: /* @__PURE__ */ c("div", { className: ir, children: _ })
938
+ Icon: /* @__PURE__ */ c("div", { className: ar, children: _ })
939
939
  })
940
940
  );
941
941
  });
@@ -945,7 +945,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
945
945
  l((E) => (E.delete(M), new Map(E)));
946
946
  }, []), h = q((M) => {
947
947
  const E = M.querySelectorAll(
948
- vn
948
+ gn
949
949
  ), L = new Array();
950
950
  for (const _ of E) {
951
951
  const C = _.innerHTML;
@@ -964,7 +964,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
964
964
  Media: /* @__PURE__ */ c(
965
965
  "div",
966
966
  {
967
- className: sr,
967
+ className: ir,
968
968
  dangerouslySetInnerHTML: { __html: C }
969
969
  }
970
970
  ),
@@ -990,7 +990,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
990
990
  }), () => E.disconnect();
991
991
  }, [h, r]);
992
992
  const p = q((M) => {
993
- const { Media: E, ...L } = M, _ = /* @__PURE__ */ c("div", { className: sr, children: E }), C = JSON.stringify(L);
993
+ const { Media: E, ...L } = M, _ = /* @__PURE__ */ c("div", { className: ir, children: E }), C = JSON.stringify(L);
994
994
  return d((y) => [
995
995
  ...y,
996
996
  {
@@ -1005,7 +1005,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1005
1005
  );
1006
1006
  }, []);
1007
1007
  return /* @__PURE__ */ c(
1008
- jr.Provider,
1008
+ Gr.Provider,
1009
1009
  {
1010
1010
  value: {
1011
1011
  getIconConfig: f,
@@ -1018,8 +1018,8 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1018
1018
  children: e
1019
1019
  }
1020
1020
  );
1021
- }, $r = At(null), tt = () => {
1022
- const e = kt($r);
1021
+ }, jr = At(null), tt = () => {
1022
+ const e = kt(jr);
1023
1023
  if (!e)
1024
1024
  throw new Error(
1025
1025
  "useControlsContext must be used within a ControlsContextProvider"
@@ -1036,7 +1036,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1036
1036
  isFullScreen: l,
1037
1037
  requestFullscreen: f,
1038
1038
  exitFullscreen: n
1039
- } = et(), { customMediaList: m } = Dt(), { categories: h, items: k } = mt(), d = $e(() => {
1039
+ } = et(), { customMediaList: m } = Dt(), { categories: h, items: k } = mt(), d = qe(() => {
1040
1040
  const B = new Array(
1041
1041
  ...k
1042
1042
  ), de = m.slice().sort((fe, ye) => fe.index < 0 && ye.index < 0 ? ye.index - fe.index : fe.index < 0 ? 1 : ye.index < 0 ? -1 : fe.index - ye.index);
@@ -1059,16 +1059,16 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1059
1059
  );
1060
1060
  },
1061
1061
  []
1062
- ), [E, L] = Ee(0), [_, C] = Ee(null), y = _ ?? E, v = d[y], I = p[y], [S, V] = Ee(
1062
+ ), [E, L] = Ee(0), [_, C] = Ee(null), y = _ ?? E, v = d[y], I = p[y], [S, W] = Ee(
1063
1063
  null
1064
- ), T = !!S, j = q(() => V(null), []), { effectiveMaxItemsShown: H } = Gr(), O = q(() => {
1064
+ ), T = !!S, j = q(() => W(null), []), { effectiveMaxItemsShown: H } = Zr(), O = q(() => {
1065
1065
  if (T || _ !== null)
1066
1066
  return;
1067
1067
  const B = E - 1;
1068
1068
  if (B >= 0)
1069
1069
  C(B);
1070
1070
  else if (t) {
1071
- V("first_to_last");
1071
+ W("first_to_last");
1072
1072
  const de = Math.ceil(H), fe = d.length + (o && !t && H % 1 !== 0 ? 1 : 0), ye = H > 1 ? Math.max(0, fe - de) : d.length - 1;
1073
1073
  C(ye);
1074
1074
  }
@@ -1084,7 +1084,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1084
1084
  if (T || _ !== null)
1085
1085
  return;
1086
1086
  const B = E + 1, de = Math.ceil(H), fe = d.length + (o && !t && H % 1 !== 0 ? 1 : 0), ye = H > 1 ? Math.max(0, fe - de) : d.length - 1;
1087
- B <= ye ? C(B) : t && (V("last_to_first"), C(0));
1087
+ B <= ye ? C(B) : t && (W("last_to_first"), C(0));
1088
1088
  }, [
1089
1089
  T,
1090
1090
  _,
@@ -1096,7 +1096,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1096
1096
  ]), U = q(
1097
1097
  (B) => {
1098
1098
  const de = Math.min(E, B), fe = Math.max(E, B);
1099
- p.slice(de, fe + 1).filter((He) => He === null).length > 2 && V("instant"), C(B);
1099
+ p.slice(de, fe + 1).filter((He) => He === null).length > 2 && W("instant"), C(B);
1100
1100
  },
1101
1101
  [E, p]
1102
1102
  );
@@ -1106,7 +1106,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1106
1106
  item: v
1107
1107
  });
1108
1108
  }, [v, s, y]);
1109
- const K = $e(() => {
1109
+ const K = qe(() => {
1110
1110
  let B;
1111
1111
  if (v.type === "custom") {
1112
1112
  const de = d.slice(0, y).reverse().find((fe) => fe.type !== "custom") ?? d.slice(y + 1).find((fe) => fe.type !== "custom");
@@ -1128,7 +1128,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1128
1128
  U(fe);
1129
1129
  },
1130
1130
  [h, d, U]
1131
- ), A = $e(() => {
1131
+ ), A = qe(() => {
1132
1132
  if (o && !l)
1133
1133
  return d.some((B) => {
1134
1134
  switch (B.type) {
@@ -1148,7 +1148,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1148
1148
  default:
1149
1149
  return !1;
1150
1150
  }
1151
- }, [v, I, o, d, l]), [X, te] = Ee(!0), [F, J] = Ee({}), _e = $e(() => o && l ? F[y] ?? !0 : X, [
1151
+ }, [v, I, o, d, l]), [X, te] = Ee(!0), [F, J] = Ee({}), _e = qe(() => o && l ? F[y] ?? !0 : X, [
1152
1152
  o,
1153
1153
  l,
1154
1154
  F,
@@ -1160,10 +1160,10 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1160
1160
  J((fe) => ({
1161
1161
  ...fe,
1162
1162
  [y]: de
1163
- })), s(de ? On : Fn);
1163
+ })), s(de ? Hn : On);
1164
1164
  } else {
1165
1165
  const B = !X;
1166
- te(B), s(B ? On : Fn);
1166
+ te(B), s(B ? Hn : On);
1167
1167
  }
1168
1168
  }, [
1169
1169
  s,
@@ -1172,7 +1172,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1172
1172
  l,
1173
1173
  F,
1174
1174
  y
1175
- ]), G = $e(() => {
1175
+ ]), G = qe(() => {
1176
1176
  switch (v.type) {
1177
1177
  case "video":
1178
1178
  return I !== "running";
@@ -1182,7 +1182,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1182
1182
  }, [v, I]), [Z, le] = Ee(!1), P = q(() => {
1183
1183
  const B = !Z;
1184
1184
  le(B), s(B ? Co : Eo);
1185
- }, [s, Z]), [Me, $] = Ee(null), be = q(() => $(null), []), Ye = !!Me, Ke = $e(() => {
1185
+ }, [s, Z]), [Me, $] = Ee(null), be = q(() => $(null), []), Ze = !!Me, Ke = qe(() => {
1186
1186
  switch (v.type) {
1187
1187
  case "image":
1188
1188
  return !0;
@@ -1193,11 +1193,11 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1193
1193
  default:
1194
1194
  return !1;
1195
1195
  }
1196
- }, [v.type, I]), [We, g] = Ee(1), b = We !== 1, ue = We < bt, oe = We > 1, Q = q((B) => {
1196
+ }, [v.type, I]), [Ve, g] = Ee(1), b = Ve !== 1, ue = Ve < bt, oe = Ve > 1, Q = q((B) => {
1197
1197
  g((de) => at(de + B, 1, bt));
1198
1198
  }, []), x = q(() => g(1), []), ne = q(() => Q(yt), [Q]), ae = q(() => Q(-0.75), [Q]), ve = q(() => {
1199
1199
  x(), be();
1200
- }, [x, be]), [ie, Be] = Ee(!1), [Ne, Ze] = Ee(), [Je, Ge] = Ee(!1), Re = q(
1200
+ }, [x, be]), [ie, Be] = Ee(!1), [Ne, Ge] = Ee(), [Je, je] = Ee(!1), Re = q(
1201
1201
  async (B) => {
1202
1202
  ve(), Be(B), s(B ? xo : yo);
1203
1203
  },
@@ -1205,13 +1205,13 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1205
1205
  ), xe = q(() => {
1206
1206
  clearTimeout(Ne);
1207
1207
  const B = setTimeout(() => {
1208
- Ze(void 0);
1209
- }, Zr);
1210
- Ze(B);
1208
+ Ge(void 0);
1209
+ }, Yr);
1210
+ Ge(B);
1211
1211
  }, [Ne]), Ae = q(async () => {
1212
1212
  if (xe(), r === "full_screen") {
1213
1213
  const B = await f();
1214
- if (Ge(!B), B)
1214
+ if (je(!B), B)
1215
1215
  return;
1216
1216
  }
1217
1217
  Re(!0);
@@ -1220,16 +1220,16 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1220
1220
  Re,
1221
1221
  f,
1222
1222
  xe
1223
- ]), Ve = q(async () => {
1224
- xe(), !(r === "full_screen" && (Ge(!1), await n())) && Re(!1);
1223
+ ]), We = q(async () => {
1224
+ xe(), !(r === "full_screen" && (je(!1), await n())) && Re(!1);
1225
1225
  }, [
1226
1226
  r,
1227
1227
  Re,
1228
1228
  n,
1229
1229
  xe
1230
1230
  ]), De = q(() => {
1231
- ie ? Ve() : Ae();
1232
- }, [Ve, Ae, ie]);
1231
+ ie ? We() : Ae();
1232
+ }, [We, Ae, ie]);
1233
1233
  return ge(() => {
1234
1234
  r === "full_screen" && (Je && ie || l !== ie && (xe(), Re(l)));
1235
1235
  }, [
@@ -1240,7 +1240,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1240
1240
  l,
1241
1241
  xe
1242
1242
  ]), /* @__PURE__ */ c(
1243
- $r.Provider,
1243
+ jr.Provider,
1244
1244
  {
1245
1245
  value: {
1246
1246
  items: d,
@@ -1267,11 +1267,11 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1267
1267
  showGallery: Z,
1268
1268
  toggleGallery: P,
1269
1269
  shownDetails: Me,
1270
- isShowingDetails: Ye,
1270
+ isShowingDetails: Ze,
1271
1271
  setShownDetails: $,
1272
1272
  resetShownDetails: be,
1273
1273
  showZoomControls: Ke,
1274
- zoom: We,
1274
+ zoom: Ve,
1275
1275
  isZooming: b,
1276
1276
  setZoom: g,
1277
1277
  resetZoom: x,
@@ -1282,7 +1282,7 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1282
1282
  resetView: ve,
1283
1283
  extendMode: ie,
1284
1284
  enableExtendMode: Ae,
1285
- disableExtendMode: Ve,
1285
+ disableExtendMode: We,
1286
1286
  toggleExtendMode: De,
1287
1287
  extendTransition: !!Ne,
1288
1288
  fakeFullScreen: Je
@@ -1290,9 +1290,9 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1290
1290
  children: e
1291
1291
  }
1292
1292
  );
1293
- }, qr = ["left", "center", "right", "fullW"], Kr = ["top", "middle", "bottom", "fullH"], Ca = [
1293
+ }, $r = ["left", "center", "right", "fullW"], qr = ["top", "middle", "bottom", "fullH"], Ca = [
1294
+ ...$r,
1294
1295
  ...qr,
1295
- ...Kr,
1296
1296
  "top-left",
1297
1297
  "top-center",
1298
1298
  "top-right",
@@ -1311,10 +1311,10 @@ const $t = (e, t, r) => e + (t - e) * r, ar = (e, t, r, o, s, l = !1) => {
1311
1311
  "fullW-fullW"
1312
1312
  ];
1313
1313
  function Ea(e) {
1314
- return qr.includes(e);
1314
+ return $r.includes(e);
1315
1315
  }
1316
1316
  function Ma(e) {
1317
- return Kr.includes(e);
1317
+ return qr.includes(e);
1318
1318
  }
1319
1319
  function ka(e) {
1320
1320
  return Ca.includes(e);
@@ -1339,7 +1339,7 @@ function Ia(e) {
1339
1339
  return "inset-x-1 small:inset-x-2";
1340
1340
  }
1341
1341
  }
1342
- function Jr(e) {
1342
+ function Kr(e) {
1343
1343
  switch (e) {
1344
1344
  case "top":
1345
1345
  return "top-1 small:top-2";
@@ -1356,20 +1356,20 @@ function Ta({
1356
1356
  positionY: t
1357
1357
  }) {
1358
1358
  const r = new Array();
1359
- return e && r.push(Ia(e)), t && r.push(Jr(t)), r.join(" ");
1359
+ return e && r.push(Ia(e)), t && r.push(Kr(t)), r.join(" ");
1360
1360
  }
1361
1361
  function xt(e) {
1362
1362
  const [t, r] = La(e);
1363
1363
  return Ta({ positionX: r, positionY: t });
1364
1364
  }
1365
- const qe = ({
1365
+ const Ye = ({
1366
1366
  customizationKey: e,
1367
1367
  className: t,
1368
1368
  children: r
1369
1369
  }) => {
1370
1370
  const { getIconConfig: o } = Dt(), l = o(e)?.Icon;
1371
1371
  return l ? t ? /* @__PURE__ */ c("div", { className: t, children: l }) : l : r;
1372
- }, Sa = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_CLOSE", children: /* @__PURE__ */ c(
1372
+ }, Sa = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_CLOSE", children: /* @__PURE__ */ c(
1373
1373
  "svg",
1374
1374
  {
1375
1375
  className: e,
@@ -1420,7 +1420,7 @@ const qe = ({
1420
1420
  children: s
1421
1421
  }
1422
1422
  );
1423
- }, gn = (e) => /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(Sa, { className: "size-full" }) }), In = ({ text: e, className: t }) => /* @__PURE__ */ c(
1423
+ }, mn = (e) => /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(Sa, { className: "size-full" }) }), Ln = ({ text: e, className: t }) => /* @__PURE__ */ c(
1424
1424
  "div",
1425
1425
  {
1426
1426
  className: se(
@@ -1446,7 +1446,7 @@ const qe = ({
1446
1446
  sm: "size-4 border",
1447
1447
  md: "size-8 border-2",
1448
1448
  lg: "size-12 border-4"
1449
- }, Qr = ({
1449
+ }, Jr = ({
1450
1450
  color: e = "foreground",
1451
1451
  size: t = "md"
1452
1452
  }) => {
@@ -1470,7 +1470,7 @@ const qe = ({
1470
1470
  fadeIn: l,
1471
1471
  ...f
1472
1472
  }) => {
1473
- const { mediaLoadStrategy: n, playerInViewportWidthRatio: m } = et(), { imageHdWidth: h, usedMediaWidths: k } = mt(), [d, p] = $e(() => {
1473
+ const { mediaLoadStrategy: n, playerInViewportWidthRatio: m } = et(), { imageHdWidth: h, usedMediaWidths: k } = mt(), [d, p] = qe(() => {
1474
1474
  const E = k.map((_) => `${_ !== h ? To(e, _) : e} ${_}w`);
1475
1475
  let L;
1476
1476
  if (s)
@@ -1542,13 +1542,13 @@ const qe = ({
1542
1542
  ...f
1543
1543
  }
1544
1544
  );
1545
- }, eo = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_IMAGE", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ c(
1545
+ }, Qr = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_IMAGE", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ c(
1546
1546
  "path",
1547
1547
  {
1548
1548
  d: "M9.5 2.5V9.5H2.5V2.5H9.5ZM9.5 1.5H2.5C1.95 1.5 1.5 1.95 1.5 2.5V9.5C1.5 10.05 1.95 10.5 2.5 10.5H9.5C10.05 10.5 10.5 10.05 10.5 9.5V2.5C10.5 1.95 10.05 1.5 9.5 1.5ZM7.07 5.93L5.57 7.865L4.5 6.57L3 8.5H9L7.07 5.93Z",
1549
1549
  fill: "currentColor"
1550
1550
  }
1551
- ) }) }), to = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "INTERIOR_UI_360", children: /* @__PURE__ */ c(
1551
+ ) }) }), eo = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "INTERIOR_UI_360", children: /* @__PURE__ */ c(
1552
1552
  "svg",
1553
1553
  {
1554
1554
  className: e,
@@ -1616,7 +1616,7 @@ const qe = ({
1616
1616
  )
1617
1617
  ]
1618
1618
  }
1619
- ) }), en = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_PLAY", children: /* @__PURE__ */ c(
1619
+ ) }), to = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_PLAY", children: /* @__PURE__ */ c(
1620
1620
  "svg",
1621
1621
  {
1622
1622
  className: e,
@@ -1628,7 +1628,7 @@ const qe = ({
1628
1628
  strokeLinejoin: "round",
1629
1629
  children: /* @__PURE__ */ c("polygon", { points: "6 3 20 12 6 21 6 3" })
1630
1630
  }
1631
- ) }), no = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_360", children: /* @__PURE__ */ c(
1631
+ ) }), no = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_360", children: /* @__PURE__ */ c(
1632
1632
  "svg",
1633
1633
  {
1634
1634
  className: e,
@@ -1713,7 +1713,7 @@ const qe = ({
1713
1713
  fadeIn: !r
1714
1714
  }
1715
1715
  ) : /* @__PURE__ */ c("img", { className: o, src: e });
1716
- }, Vt = ({
1716
+ }, Wt = ({
1717
1717
  children: e
1718
1718
  }) => {
1719
1719
  const { extendMode: t } = tt();
@@ -1753,16 +1753,16 @@ const qe = ({
1753
1753
  let f;
1754
1754
  switch (r) {
1755
1755
  case "360":
1756
- f = /* @__PURE__ */ c(Vt, { children: /* @__PURE__ */ c(no, { className: "size-full text-primary-light" }) });
1756
+ f = /* @__PURE__ */ c(Wt, { children: /* @__PURE__ */ c(no, { className: "size-full" }) });
1757
1757
  break;
1758
1758
  case "interior-360":
1759
- f = /* @__PURE__ */ c(Vt, { children: /* @__PURE__ */ c(to, { className: "size-full text-primary-light" }) });
1759
+ f = /* @__PURE__ */ c(Wt, { children: /* @__PURE__ */ c(eo, { className: "size-full" }) });
1760
1760
  break;
1761
1761
  case "video":
1762
- f = /* @__PURE__ */ c(Vt, { children: /* @__PURE__ */ c(en, { className: "size-full p-0.5 text-background" }) });
1762
+ f = /* @__PURE__ */ c(Wt, { children: /* @__PURE__ */ c(to, { className: "size-full p-0.5 text-background" }) });
1763
1763
  break;
1764
1764
  case "custom":
1765
- f = o ? null : /* @__PURE__ */ c(Vt, { children: /* @__PURE__ */ c(eo, { className: "size-full p-0.5 text-background" }) });
1765
+ f = o ? null : /* @__PURE__ */ c(Wt, { children: /* @__PURE__ */ c(Qr, { className: "size-full p-0.5 text-background" }) });
1766
1766
  break;
1767
1767
  }
1768
1768
  return /* @__PURE__ */ c("div", { className: "relative bg-foreground/30", style: t, children: [
@@ -1799,7 +1799,7 @@ const qe = ({
1799
1799
  nextItem: M,
1800
1800
  scrollToItemIndex: E,
1801
1801
  resetView: L
1802
- } = tt(), _ = $e(() => {
1802
+ } = tt(), _ = qe(() => {
1803
1803
  if (r)
1804
1804
  return [];
1805
1805
  const D = new Array();
@@ -1818,7 +1818,7 @@ const qe = ({
1818
1818
  return C.current;
1819
1819
  }, []), v = Se(!1), I = Se(
1820
1820
  null
1821
- ), [S, V] = Ee(!1), T = q(
1821
+ ), [S, W] = Ee(!1), T = q(
1822
1822
  (D, U) => {
1823
1823
  const K = y(), ce = K.clientWidth, A = K.scrollWidth / h.length, X = (D + 1 / 2) * A - ce / 2, te = K.scrollWidth - K.clientWidth;
1824
1824
  K.scrollTo({
@@ -1846,12 +1846,12 @@ const qe = ({
1846
1846
  if (!S && Math.abs(te) < 5)
1847
1847
  return;
1848
1848
  const F = I.current.scrollLeft - te;
1849
- V(!0), requestAnimationFrame(() => {
1849
+ W(!0), requestAnimationFrame(() => {
1850
1850
  D.scrollLeft = F;
1851
1851
  });
1852
1852
  }, ce = () => {
1853
1853
  v.current && (v.current = !1, requestAnimationFrame(() => {
1854
- V(!1);
1854
+ W(!1);
1855
1855
  }));
1856
1856
  };
1857
1857
  return D.addEventListener("mousedown", U), document.addEventListener("mousemove", K), document.addEventListener("mouseleave", ce), document.addEventListener("mouseup", ce), document.addEventListener("contextmenu", ce), () => {
@@ -1936,7 +1936,7 @@ const qe = ({
1936
1936
  return ge(() => {
1937
1937
  r(t, "ready");
1938
1938
  }, [t, r]), e;
1939
- }, lr = (e, t) => Math.sqrt(
1939
+ }, sr = (e, t) => Math.sqrt(
1940
1940
  (e.clientX - t.clientX) ** 2 + (e.clientY - t.clientY) ** 2
1941
1941
  ), Fa = ({
1942
1942
  onlyPreload: e,
@@ -1953,11 +1953,11 @@ const qe = ({
1953
1953
  const v = n("setTransformStyle"), {
1954
1954
  x: I,
1955
1955
  y: S,
1956
- scale: V
1956
+ scale: W
1957
1957
  } = {
1958
1958
  ...d.current,
1959
1959
  ...y
1960
- }, T = at(V, 1, bt), j = v.clientWidth, H = v.clientHeight, O = j * T, D = H * T, U = at(I, -(O - j), 0), K = at(S, -(D - H), 0);
1960
+ }, T = at(W, 1, bt), j = v.clientWidth, H = v.clientHeight, O = j * T, D = H * T, U = at(I, -(O - j), 0), K = at(S, -(D - H), 0);
1961
1961
  d.current = { x: U, y: K, scale: T }, v.style.transform = `translate(${U}px, ${K}px) scale(${T})`;
1962
1962
  },
1963
1963
  [n]
@@ -1966,7 +1966,7 @@ const qe = ({
1966
1966
  const {
1967
1967
  x: I,
1968
1968
  y: S,
1969
- scale: V
1969
+ scale: W
1970
1970
  } = d.current, {
1971
1971
  x: T,
1972
1972
  y: j,
@@ -1978,7 +1978,7 @@ const qe = ({
1978
1978
  p.current && (cancelAnimationFrame(p.current), p.current = null);
1979
1979
  const O = () => {
1980
1980
  a({ x: T, y: j, scale: H }), s(H);
1981
- }, D = Math.abs(T - I) < 1 && Math.abs(j - S) < 1 && Math.abs(H - V) < 5e-3;
1981
+ }, D = Math.abs(T - I) < 1 && Math.abs(j - S) < 1 && Math.abs(H - W) < 5e-3;
1982
1982
  if (!v || D) {
1983
1983
  O();
1984
1984
  return;
@@ -1990,7 +1990,7 @@ const qe = ({
1990
1990
  O(), p.current = null;
1991
1991
  return;
1992
1992
  }
1993
- const te = Math.min(X / v, 1), F = ao(te), J = $t(I, T, F), _e = $t(S, j, F), Y = $t(V, H, F);
1993
+ const te = Math.min(X / v, 1), F = ao(te), J = $t(I, T, F), _e = $t(S, j, F), Y = $t(W, H, F);
1994
1994
  a({ x: J, y: _e, scale: Y }), K();
1995
1995
  };
1996
1996
  p.current = requestAnimationFrame(ce);
@@ -2012,12 +2012,12 @@ const qe = ({
2012
2012
  [M]
2013
2013
  ), L = q(
2014
2014
  (y, v, I) => {
2015
- const S = d.current.scale, V = at(y, 1, bt), T = V / S, { x: j, y: H } = d.current, { x: O, y: D } = v, U = -j + O, K = -H + D, ce = U * T, A = K * T, X = ce - O, te = A - D, F = -X, J = -te;
2015
+ const S = d.current.scale, W = at(y, 1, bt), T = W / S, { x: j, y: H } = d.current, { x: O, y: D } = v, U = -j + O, K = -H + D, ce = U * T, A = K * T, X = ce - O, te = A - D, F = -X, J = -te;
2016
2016
  M(
2017
2017
  {
2018
2018
  x: F,
2019
2019
  y: J,
2020
- scale: V
2020
+ scale: W
2021
2021
  },
2022
2022
  I
2023
2023
  );
@@ -2057,24 +2057,24 @@ const qe = ({
2057
2057
  const y = f.current;
2058
2058
  if (!y)
2059
2059
  return;
2060
- const v = (V) => {
2061
- V.preventDefault(), V.stopPropagation(), m.current = !0, h.current = {
2062
- x: V.clientX,
2063
- y: V.clientY
2060
+ const v = (W) => {
2061
+ W.preventDefault(), W.stopPropagation(), m.current = !0, h.current = {
2062
+ x: W.clientX,
2063
+ y: W.clientY
2064
2064
  };
2065
- }, I = (V) => {
2065
+ }, I = (W) => {
2066
2066
  if (!m.current)
2067
2067
  return;
2068
2068
  if (!h.current)
2069
2069
  throw new Error("mouseStartXY.current is null");
2070
- V.stopPropagation();
2071
- const T = V.clientX - h.current.x, j = V.clientY - h.current.y;
2070
+ W.stopPropagation();
2071
+ const T = W.clientX - h.current.x, j = W.clientY - h.current.y;
2072
2072
  E({
2073
2073
  x: T,
2074
2074
  y: j
2075
2075
  }), h.current = {
2076
- x: V.clientX,
2077
- y: V.clientY
2076
+ x: W.clientX,
2077
+ y: W.clientY
2078
2078
  };
2079
2079
  }, S = () => {
2080
2080
  m.current = !1;
@@ -2089,11 +2089,11 @@ const qe = ({
2089
2089
  if (!y)
2090
2090
  return;
2091
2091
  const v = (I) => {
2092
- const { ctrlKey: S, clientX: V, clientY: T, deltaX: j, deltaY: H } = I;
2092
+ const { ctrlKey: S, clientX: W, clientY: T, deltaX: j, deltaY: H } = I;
2093
2093
  if (S) {
2094
2094
  if (!o && H >= 0)
2095
2095
  return;
2096
- const { left: O, top: D } = y.getBoundingClientRect(), U = V - O, K = T - D;
2096
+ const { left: O, top: D } = y.getBoundingClientRect(), U = W - O, K = T - D;
2097
2097
  C(-0.01 * H, {
2098
2098
  x: U,
2099
2099
  y: K
@@ -2120,7 +2120,7 @@ const qe = ({
2120
2120
  const O = j.changedTouches[H];
2121
2121
  I.set(O.identifier, O);
2122
2122
  }
2123
- }, V = (j) => {
2123
+ }, W = (j) => {
2124
2124
  for (let H = 0; H < j.changedTouches.length; H++) {
2125
2125
  const O = j.changedTouches[H];
2126
2126
  I.delete(O.identifier);
@@ -2144,18 +2144,18 @@ const qe = ({
2144
2144
  const [O, D] = j.touches, U = I.get(O.identifier), K = I.get(D.identifier);
2145
2145
  if (!U || !K)
2146
2146
  throw new Error("initialTouch1 or initialTouch2 is null");
2147
- const ce = lr(
2147
+ const ce = sr(
2148
2148
  U,
2149
2149
  K
2150
- ), X = lr(O, D) / ce, { left: te, top: F } = y.getBoundingClientRect();
2150
+ ), X = sr(O, D) / ce, { left: te, top: F } = y.getBoundingClientRect();
2151
2151
  C(X - 1, {
2152
2152
  x: (O.clientX + D.clientX) / 2 - te,
2153
2153
  y: (O.clientY + D.clientY) / 2 - F
2154
2154
  }), I.set(O.identifier, O), I.set(D.identifier, D);
2155
2155
  }
2156
2156
  };
2157
- return v.addEventListener("touchstart", S), v.addEventListener("touchmove", T), v.addEventListener("touchend", V), v.addEventListener("touchcancel", V), () => {
2158
- v.removeEventListener("touchstart", S), v.removeEventListener("touchmove", T), v.removeEventListener("touchend", V), v.removeEventListener("touchcancel", V);
2157
+ return v.addEventListener("touchstart", S), v.addEventListener("touchmove", T), v.addEventListener("touchend", W), v.addEventListener("touchcancel", W), () => {
2158
+ v.removeEventListener("touchstart", S), v.removeEventListener("touchmove", T), v.removeEventListener("touchend", W), v.removeEventListener("touchcancel", W);
2159
2159
  };
2160
2160
  }, [o, E, C]), /* @__PURE__ */ c(
2161
2161
  "div",
@@ -2179,7 +2179,7 @@ const qe = ({
2179
2179
  }
2180
2180
  );
2181
2181
  }, Ua = ({ hotspot: e }) => {
2182
- const { title: t, icon: r, description: o, position: s, detail: l } = e, { getIconConfig: f } = Dt(), n = r ? f(r) : void 0, { extendMode: m, setShownDetails: h } = tt(), k = !!l, d = l?.type === "image", p = !!t || !!o, a = d ? /* @__PURE__ */ c(eo, { className: "size-4" }) : /* @__PURE__ */ c("div", { className: "size-1" }), M = () => {
2182
+ const { title: t, icon: r, description: o, position: s, detail: l } = e, { getIconConfig: f } = Dt(), n = r ? f(r) : void 0, { extendMode: m, setShownDetails: h } = tt(), k = !!l, d = l?.type === "image", p = !!t || !!o, a = d ? /* @__PURE__ */ c(Qr, { className: "size-4" }) : /* @__PURE__ */ c("div", { className: "size-1" }), M = () => {
2183
2183
  d && h({
2184
2184
  src: l.src,
2185
2185
  title: t,
@@ -2233,7 +2233,7 @@ const qe = ({
2233
2233
  ]
2234
2234
  }
2235
2235
  );
2236
- }, Va = ({ hotspot: e }) => {
2236
+ }, Wa = ({ hotspot: e }) => {
2237
2237
  const { detail: t } = e, r = /* @__PURE__ */ c(Ua, { hotspot: e });
2238
2238
  switch (t?.type) {
2239
2239
  case "link":
@@ -2268,7 +2268,7 @@ const qe = ({
2268
2268
  ...s
2269
2269
  }
2270
2270
  ),
2271
- f && e?.map((m, h) => /* @__PURE__ */ c(Va, { hotspot: m }, h))
2271
+ f && e?.map((m, h) => /* @__PURE__ */ c(Wa, { hotspot: m }, h))
2272
2272
  ]
2273
2273
  }
2274
2274
  ) });
@@ -2277,7 +2277,7 @@ window.libpannellum = function(e, t, r) {
2277
2277
  function o(k) {
2278
2278
  var d = t.createElement("canvas");
2279
2279
  d.style.width = d.style.height = "100%", k.appendChild(d);
2280
- var p, a, M, E, L, _, C, y, v, I, S, V, T, j, H, O;
2280
+ var p, a, M, E, L, _, C, y, v, I, S, W, T, j, H, O;
2281
2281
  this.init = function(g, b, ue, oe, Q, x, ne, ae) {
2282
2282
  if (b === r && (b = "equirectangular"), b != "equirectangular" && b != "cubemap" && b != "multires")
2283
2283
  throw console.log("Error: invalid image type specified!"), { type: "config error" };
@@ -2292,56 +2292,56 @@ window.libpannellum = function(e, t, r) {
2292
2292
  if (I == "cubemap")
2293
2293
  for (ie = 0; ie < 6; ie++)
2294
2294
  v[ie].width > 0 ? (Ne === r && (Ne = v[ie].width), Ne != v[ie].width && console.log("Cube faces have inconsistent widths: " + Ne + " vs. " + v[ie].width)) : Be = !0;
2295
- function Ze(Oe) {
2295
+ function Ge(Oe) {
2296
2296
  if (Be) {
2297
- var W = Oe * Oe * 4, Le = new Uint8ClampedArray(W), Ce = ae.backgroundColor ? ae.backgroundColor : [0, 0, 0];
2297
+ var V = Oe * Oe * 4, Le = new Uint8ClampedArray(V), Ce = ae.backgroundColor ? ae.backgroundColor : [0, 0, 0];
2298
2298
  Ce[0] *= 255, Ce[1] *= 255, Ce[2] *= 255;
2299
- for (var he = 0; he < W; he++)
2299
+ for (var he = 0; he < V; he++)
2300
2300
  Le[he++] = Ce[0], Le[he++] = Ce[1], Le[he++] = Ce[2];
2301
2301
  var Ie = new ImageData(Le, Oe, Oe);
2302
2302
  for (ie = 0; ie < 6; ie++)
2303
2303
  v[ie].width == 0 && (v[ie] = Ie);
2304
2304
  }
2305
2305
  }
2306
- if (I == "cubemap" && Ne & Ne - 1 && (navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/) || navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/) || navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/) || navigator.userAgent.match(/Trident.*rv[ :]*11\./)) || (a || (a = d.getContext("experimental-webgl", { alpha: !1, depth: !1 })), a && a.getError() == 1286 && We()), !a && (I == "multires" && v.hasOwnProperty("fallbackPath") || I == "cubemap") && ("WebkitAppearance" in t.documentElement.style || navigator.userAgent.match(/Trident.*rv[ :]*11\./) || navigator.appVersion.indexOf("MSIE 10") !== -1)) {
2306
+ if (I == "cubemap" && Ne & Ne - 1 && (navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/) || navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/) || navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/) || navigator.userAgent.match(/Trident.*rv[ :]*11\./)) || (a || (a = d.getContext("experimental-webgl", { alpha: !1, depth: !1 })), a && a.getError() == 1286 && Ve()), !a && (I == "multires" && v.hasOwnProperty("fallbackPath") || I == "cubemap") && ("WebkitAppearance" in t.documentElement.style || navigator.userAgent.match(/Trident.*rv[ :]*11\./) || navigator.appVersion.indexOf("MSIE 10") !== -1)) {
2307
2307
  _ && k.removeChild(_), _ = t.createElement("div"), _.className = "pnlm-world";
2308
2308
  var Je;
2309
2309
  v.basePath ? Je = v.basePath + v.fallbackPath : Je = v.fallbackPath;
2310
- var Ge = ["f", "r", "b", "l", "u", "d"], Re = 0, xe = function() {
2311
- var W = t.createElement("canvas");
2312
- W.className = "pnlm-face pnlm-" + Ge[this.side] + "face", _.appendChild(W);
2313
- var Le = W.getContext("2d");
2314
- W.style.width = this.width + 4 + "px", W.style.height = this.height + 4 + "px", W.width = this.width + 4, W.height = this.height + 4, Le.drawImage(this, 2, 2);
2315
- var Ce = Le.getImageData(0, 0, W.width, W.height), he = Ce.data, Ie, ee;
2316
- for (Ie = 2; Ie < W.width - 2; Ie++)
2310
+ var je = ["f", "r", "b", "l", "u", "d"], Re = 0, xe = function() {
2311
+ var V = t.createElement("canvas");
2312
+ V.className = "pnlm-face pnlm-" + je[this.side] + "face", _.appendChild(V);
2313
+ var Le = V.getContext("2d");
2314
+ V.style.width = this.width + 4 + "px", V.style.height = this.height + 4 + "px", V.width = this.width + 4, V.height = this.height + 4, Le.drawImage(this, 2, 2);
2315
+ var Ce = Le.getImageData(0, 0, V.width, V.height), he = Ce.data, Ie, ee;
2316
+ for (Ie = 2; Ie < V.width - 2; Ie++)
2317
2317
  for (ee = 0; ee < 4; ee++)
2318
- he[(Ie + W.width) * 4 + ee] = he[(Ie + W.width * 2) * 4 + ee], he[(Ie + W.width * (W.height - 2)) * 4 + ee] = he[(Ie + W.width * (W.height - 3)) * 4 + ee];
2319
- for (Ie = 2; Ie < W.height - 2; Ie++)
2318
+ he[(Ie + V.width) * 4 + ee] = he[(Ie + V.width * 2) * 4 + ee], he[(Ie + V.width * (V.height - 2)) * 4 + ee] = he[(Ie + V.width * (V.height - 3)) * 4 + ee];
2319
+ for (Ie = 2; Ie < V.height - 2; Ie++)
2320
2320
  for (ee = 0; ee < 4; ee++)
2321
- he[(Ie * W.width + 1) * 4 + ee] = he[(Ie * W.width + 2) * 4 + ee], he[((Ie + 1) * W.width - 2) * 4 + ee] = he[((Ie + 1) * W.width - 3) * 4 + ee];
2321
+ he[(Ie * V.width + 1) * 4 + ee] = he[(Ie * V.width + 2) * 4 + ee], he[((Ie + 1) * V.width - 2) * 4 + ee] = he[((Ie + 1) * V.width - 3) * 4 + ee];
2322
2322
  for (ee = 0; ee < 4; ee++)
2323
- he[(W.width + 1) * 4 + ee] = he[(W.width * 2 + 2) * 4 + ee], he[(W.width * 2 - 2) * 4 + ee] = he[(W.width * 3 - 3) * 4 + ee], he[(W.width * (W.height - 2) + 1) * 4 + ee] = he[(W.width * (W.height - 3) + 2) * 4 + ee], he[(W.width * (W.height - 1) - 2) * 4 + ee] = he[(W.width * (W.height - 2) - 3) * 4 + ee];
2324
- for (Ie = 1; Ie < W.width - 1; Ie++)
2323
+ he[(V.width + 1) * 4 + ee] = he[(V.width * 2 + 2) * 4 + ee], he[(V.width * 2 - 2) * 4 + ee] = he[(V.width * 3 - 3) * 4 + ee], he[(V.width * (V.height - 2) + 1) * 4 + ee] = he[(V.width * (V.height - 3) + 2) * 4 + ee], he[(V.width * (V.height - 1) - 2) * 4 + ee] = he[(V.width * (V.height - 2) - 3) * 4 + ee];
2324
+ for (Ie = 1; Ie < V.width - 1; Ie++)
2325
2325
  for (ee = 0; ee < 4; ee++)
2326
- he[Ie * 4 + ee] = he[(Ie + W.width) * 4 + ee], he[(Ie + W.width * (W.height - 1)) * 4 + ee] = he[(Ie + W.width * (W.height - 2)) * 4 + ee];
2327
- for (Ie = 1; Ie < W.height - 1; Ie++)
2326
+ he[Ie * 4 + ee] = he[(Ie + V.width) * 4 + ee], he[(Ie + V.width * (V.height - 1)) * 4 + ee] = he[(Ie + V.width * (V.height - 2)) * 4 + ee];
2327
+ for (Ie = 1; Ie < V.height - 1; Ie++)
2328
2328
  for (ee = 0; ee < 4; ee++)
2329
- he[Ie * W.width * 4 + ee] = he[(Ie * W.width + 1) * 4 + ee], he[((Ie + 1) * W.width - 1) * 4 + ee] = he[((Ie + 1) * W.width - 2) * 4 + ee];
2329
+ he[Ie * V.width * 4 + ee] = he[(Ie * V.width + 1) * 4 + ee], he[((Ie + 1) * V.width - 1) * 4 + ee] = he[((Ie + 1) * V.width - 2) * 4 + ee];
2330
2330
  for (ee = 0; ee < 4; ee++)
2331
- he[ee] = he[(W.width + 1) * 4 + ee], he[(W.width - 1) * 4 + ee] = he[(W.width * 2 - 2) * 4 + ee], he[W.width * (W.height - 1) * 4 + ee] = he[(W.width * (W.height - 2) + 1) * 4 + ee], he[(W.width * W.height - 1) * 4 + ee] = he[(W.width * (W.height - 1) - 2) * 4 + ee];
2331
+ he[ee] = he[(V.width + 1) * 4 + ee], he[(V.width - 1) * 4 + ee] = he[(V.width * 2 - 2) * 4 + ee], he[V.width * (V.height - 1) * 4 + ee] = he[(V.width * (V.height - 2) + 1) * 4 + ee], he[(V.width * V.height - 1) * 4 + ee] = he[(V.width * (V.height - 1) - 2) * 4 + ee];
2332
2332
  Le.putImageData(Ce, 0, 0), Ae.call(this);
2333
2333
  }, Ae = function() {
2334
2334
  this.width > 0 ? (L === r && (L = this.width), L != this.width && console.log("Fallback faces have inconsistent widths: " + L + " vs. " + this.width)) : Be = !0, Re++, Re == 6 && (L = this.width, k.appendChild(_), ne());
2335
2335
  };
2336
2336
  for (Be = !1, ie = 0; ie < 6; ie++) {
2337
- var Ve = new Image();
2338
- Ve.crossOrigin = O.crossOrigin ? O.crossOrigin : "anonymous", Ve.side = ie, Ve.onload = xe, Ve.onerror = Ae, I == "multires" ? Ve.src = encodeURI(Je.replace("%s", Ge[ie]) + "." + v.extension) : Ve.src = encodeURI(v[ie].src);
2337
+ var We = new Image();
2338
+ We.crossOrigin = O.crossOrigin ? O.crossOrigin : "anonymous", We.side = ie, We.onload = xe, We.onerror = Ae, I == "multires" ? We.src = encodeURI(Je.replace("%s", je[ie]) + "." + v.extension) : We.src = encodeURI(v[ie].src);
2339
2339
  }
2340
- Ze(L);
2340
+ Ge(L);
2341
2341
  return;
2342
2342
  } else if (!a)
2343
2343
  throw console.log("Error: no WebGL support detected!"), { type: "no webgl" };
2344
- I == "cubemap" && Ze(Ne), v.basePath ? v.fullpath = v.basePath + v.path : v.fullpath = v.path, v.invTileResolution = 1 / v.tileResolution;
2344
+ I == "cubemap" && Ge(Ne), v.basePath ? v.fullpath = v.basePath + v.path : v.fullpath = v.path, v.invTileResolution = 1 / v.tileResolution;
2345
2345
  var De = X();
2346
2346
  for (C = [], ie = 0; ie < 6; ie++)
2347
2347
  C[ie] = De.slice(ie * 12, ie * 12 + 12), De = X();
@@ -2356,7 +2356,7 @@ window.libpannellum = function(e, t, r) {
2356
2356
  var He = m;
2357
2357
  I == "cubemap" ? (fe = a.TEXTURE_CUBE_MAP, He = n) : I == "multires" && (He = h), a.shaderSource(E, He), a.compileShader(E), p = a.createProgram(), a.attachShader(p, M), a.attachShader(p, E), a.linkProgram(p), a.getShaderParameter(M, a.COMPILE_STATUS) || console.log(a.getShaderInfoLog(M)), a.getShaderParameter(E, a.COMPILE_STATUS) || console.log(a.getShaderInfoLog(E)), a.getProgramParameter(p, a.LINK_STATUS) || console.log(a.getProgramInfoLog(p)), a.useProgram(p), p.drawInProgress = !1;
2358
2358
  var Pe = ae.backgroundColor ? ae.backgroundColor : [0, 0, 0];
2359
- a.clearColor(Pe[0], Pe[1], Pe[2], 1), a.clear(a.COLOR_BUFFER_BIT), p.texCoordLocation = a.getAttribLocation(p, "a_texCoord"), a.enableVertexAttribArray(p.texCoordLocation), I != "multires" ? (V || (V = a.createBuffer()), a.bindBuffer(a.ARRAY_BUFFER, V), a.bufferData(a.ARRAY_BUFFER, new Float32Array([-1, 1, 1, 1, 1, -1, -1, 1, 1, -1, -1, -1]), a.STATIC_DRAW), a.vertexAttribPointer(p.texCoordLocation, 2, a.FLOAT, !1, 0, 0), p.aspectRatio = a.getUniformLocation(p, "u_aspectRatio"), a.uniform1f(p.aspectRatio, a.drawingBufferWidth / a.drawingBufferHeight), p.psi = a.getUniformLocation(p, "u_psi"), p.theta = a.getUniformLocation(p, "u_theta"), p.f = a.getUniformLocation(p, "u_f"), p.h = a.getUniformLocation(p, "u_h"), p.v = a.getUniformLocation(p, "u_v"), p.vo = a.getUniformLocation(p, "u_vo"), p.rot = a.getUniformLocation(p, "u_rot"), a.uniform1f(p.h, oe / (Math.PI * 2)), a.uniform1f(p.v, Q / Math.PI), a.uniform1f(p.vo, x / Math.PI * 2), I == "equirectangular" && (p.backgroundColor = a.getUniformLocation(p, "u_backgroundColor"), a.uniform4fv(p.backgroundColor, Pe.concat([1]))), p.texture = a.createTexture(), a.bindTexture(fe, p.texture), I == "cubemap" ? (a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_X, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[1]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_X, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[3]), a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_Y, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[4]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[5]), a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_Z, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[0]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[2])) : a.texImage2D(fe, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v), a.texParameteri(fe, a.TEXTURE_WRAP_S, a.CLAMP_TO_EDGE), a.texParameteri(fe, a.TEXTURE_WRAP_T, a.CLAMP_TO_EDGE), a.texParameteri(fe, a.TEXTURE_MIN_FILTER, a.LINEAR), a.texParameteri(fe, a.TEXTURE_MAG_FILTER, a.LINEAR)) : (p.vertPosLocation = a.getAttribLocation(p, "a_vertCoord"), a.enableVertexAttribArray(p.vertPosLocation), T || (T = a.createBuffer()), j || (j = a.createBuffer()), H || (H = a.createBuffer()), a.bindBuffer(a.ARRAY_BUFFER, j), a.bufferData(a.ARRAY_BUFFER, new Float32Array([0, 0, 1, 0, 1, 1, 0, 1]), a.STATIC_DRAW), a.bindBuffer(a.ELEMENT_ARRAY_BUFFER, H), a.bufferData(a.ELEMENT_ARRAY_BUFFER, new Uint16Array([0, 1, 2, 0, 2, 3]), a.STATIC_DRAW), p.perspUniform = a.getUniformLocation(p, "u_perspMatrix"), p.cubeUniform = a.getUniformLocation(p, "u_cubeMatrix"), p.level = -1, p.currentNodes = [], p.nodeCache = [], p.nodeCacheTimestamp = 0);
2359
+ a.clearColor(Pe[0], Pe[1], Pe[2], 1), a.clear(a.COLOR_BUFFER_BIT), p.texCoordLocation = a.getAttribLocation(p, "a_texCoord"), a.enableVertexAttribArray(p.texCoordLocation), I != "multires" ? (W || (W = a.createBuffer()), a.bindBuffer(a.ARRAY_BUFFER, W), a.bufferData(a.ARRAY_BUFFER, new Float32Array([-1, 1, 1, 1, 1, -1, -1, 1, 1, -1, -1, -1]), a.STATIC_DRAW), a.vertexAttribPointer(p.texCoordLocation, 2, a.FLOAT, !1, 0, 0), p.aspectRatio = a.getUniformLocation(p, "u_aspectRatio"), a.uniform1f(p.aspectRatio, a.drawingBufferWidth / a.drawingBufferHeight), p.psi = a.getUniformLocation(p, "u_psi"), p.theta = a.getUniformLocation(p, "u_theta"), p.f = a.getUniformLocation(p, "u_f"), p.h = a.getUniformLocation(p, "u_h"), p.v = a.getUniformLocation(p, "u_v"), p.vo = a.getUniformLocation(p, "u_vo"), p.rot = a.getUniformLocation(p, "u_rot"), a.uniform1f(p.h, oe / (Math.PI * 2)), a.uniform1f(p.v, Q / Math.PI), a.uniform1f(p.vo, x / Math.PI * 2), I == "equirectangular" && (p.backgroundColor = a.getUniformLocation(p, "u_backgroundColor"), a.uniform4fv(p.backgroundColor, Pe.concat([1]))), p.texture = a.createTexture(), a.bindTexture(fe, p.texture), I == "cubemap" ? (a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_X, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[1]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_X, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[3]), a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_Y, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[4]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[5]), a.texImage2D(a.TEXTURE_CUBE_MAP_POSITIVE_Z, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[0]), a.texImage2D(a.TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v[2])) : a.texImage2D(fe, 0, a.RGB, a.RGB, a.UNSIGNED_BYTE, v), a.texParameteri(fe, a.TEXTURE_WRAP_S, a.CLAMP_TO_EDGE), a.texParameteri(fe, a.TEXTURE_WRAP_T, a.CLAMP_TO_EDGE), a.texParameteri(fe, a.TEXTURE_MIN_FILTER, a.LINEAR), a.texParameteri(fe, a.TEXTURE_MAG_FILTER, a.LINEAR)) : (p.vertPosLocation = a.getAttribLocation(p, "a_vertCoord"), a.enableVertexAttribArray(p.vertPosLocation), T || (T = a.createBuffer()), j || (j = a.createBuffer()), H || (H = a.createBuffer()), a.bindBuffer(a.ARRAY_BUFFER, j), a.bufferData(a.ARRAY_BUFFER, new Float32Array([0, 0, 1, 0, 1, 1, 0, 1]), a.STATIC_DRAW), a.bindBuffer(a.ELEMENT_ARRAY_BUFFER, H), a.bufferData(a.ELEMENT_ARRAY_BUFFER, new Uint16Array([0, 1, 2, 0, 2, 3]), a.STATIC_DRAW), p.perspUniform = a.getUniformLocation(p, "u_perspMatrix"), p.cubeUniform = a.getUniformLocation(p, "u_cubeMatrix"), p.level = -1, p.currentNodes = [], p.nodeCache = [], p.nodeCacheTimestamp = 0);
2360
2360
  var Fe = a.getError();
2361
2361
  if (Fe !== 0)
2362
2362
  throw console.log("Error: Something went wrong with WebGL!", Fe), { type: "webgl error" };
@@ -2368,20 +2368,20 @@ window.libpannellum = function(e, t, r) {
2368
2368
  }
2369
2369
  }, this.resize = function() {
2370
2370
  var g = e.devicePixelRatio || 1;
2371
- d.width = d.clientWidth * g, d.height = d.clientHeight * g, a && (a.getError() == 1286 && We(), a.viewport(0, 0, a.drawingBufferWidth, a.drawingBufferHeight), I != "multires" && a.uniform1f(p.aspectRatio, d.clientWidth / d.clientHeight));
2371
+ d.width = d.clientWidth * g, d.height = d.clientHeight * g, a && (a.getError() == 1286 && Ve(), a.viewport(0, 0, a.drawingBufferWidth, a.drawingBufferHeight), I != "multires" && a.uniform1f(p.aspectRatio, d.clientWidth / d.clientHeight));
2372
2372
  }, this.resize(), this.setPose = function(g, b) {
2373
2373
  y = [g, b];
2374
2374
  }, this.render = function(g, b, ue, oe) {
2375
2375
  var Q, x, ne, ae = 0;
2376
2376
  if (oe === r && (oe = {}), oe.roll && (ae = oe.roll), y !== r) {
2377
- var ve = y[0], ie = y[1], Be = g, Ne = b, Ze = Math.cos(ie) * Math.sin(g) * Math.sin(ve) + Math.cos(g) * (Math.cos(ve) * Math.cos(b) + Math.sin(ie) * Math.sin(ve) * Math.sin(b)), Je = -Math.sin(g) * Math.sin(ie) + Math.cos(g) * Math.cos(ie) * Math.sin(b), Ge = Math.cos(ie) * Math.cos(ve) * Math.sin(g) + Math.cos(g) * (-Math.cos(b) * Math.sin(ve) + Math.cos(ve) * Math.sin(ie) * Math.sin(b));
2378
- g = Math.asin(Math.max(Math.min(Ge, 1), -1)), b = Math.atan2(Je, Ze);
2377
+ var ve = y[0], ie = y[1], Be = g, Ne = b, Ge = Math.cos(ie) * Math.sin(g) * Math.sin(ve) + Math.cos(g) * (Math.cos(ve) * Math.cos(b) + Math.sin(ie) * Math.sin(ve) * Math.sin(b)), Je = -Math.sin(g) * Math.sin(ie) + Math.cos(g) * Math.cos(ie) * Math.sin(b), je = Math.cos(ie) * Math.cos(ve) * Math.sin(g) + Math.cos(g) * (-Math.cos(b) * Math.sin(ve) + Math.cos(ve) * Math.sin(ie) * Math.sin(b));
2378
+ g = Math.asin(Math.max(Math.min(je, 1), -1)), b = Math.atan2(Je, Ge);
2379
2379
  var Re = [Math.cos(Be) * (Math.sin(ie) * Math.sin(ve) * Math.cos(Ne) - Math.cos(ve) * Math.sin(Ne)), Math.cos(Be) * Math.cos(ie) * Math.cos(Ne), Math.cos(Be) * (Math.cos(ve) * Math.sin(ie) * Math.cos(Ne) + Math.sin(Ne) * Math.sin(ve))], xe = [-Math.cos(g) * Math.sin(b), Math.cos(g) * Math.cos(b)], Ae = Math.acos(Math.max(Math.min((Re[0] * xe[0] + Re[1] * xe[1]) / (Math.sqrt(Re[0] * Re[0] + Re[1] * Re[1] + Re[2] * Re[2]) * Math.sqrt(xe[0] * xe[0] + xe[1] * xe[1])), 1), -1));
2380
2380
  Re[2] < 0 && (Ae = 2 * Math.PI - Ae), ae += Ae;
2381
2381
  }
2382
2382
  if (!a && (I == "multires" || I == "cubemap")) {
2383
2383
  ne = L / 2;
2384
- var Ve = {
2384
+ var We = {
2385
2385
  f: "translate3d(-" + (ne + 2) + "px, -" + (ne + 2) + "px, -" + ne + "px)",
2386
2386
  b: "translate3d(" + (ne + 2) + "px, -" + (ne + 2) + "px, " + ne + "px) rotateX(180deg) rotateZ(180deg)",
2387
2387
  u: "translate3d(-" + (ne + 2) + "px, -" + ne + "px, " + (ne + 2) + "px) rotateX(270deg)",
@@ -2390,10 +2390,10 @@ window.libpannellum = function(e, t, r) {
2390
2390
  r: "translate3d(" + ne + "px, -" + (ne + 2) + "px, -" + (ne + 2) + "px) rotateY(270deg)"
2391
2391
  };
2392
2392
  Q = 1 / Math.tan(ue / 2);
2393
- var De = Q * d.clientWidth / 2 + "px", B = "perspective(" + De + ") translateZ(" + De + ") rotateX(" + g + "rad) rotateY(" + b + "rad) ", de = Object.keys(Ve);
2393
+ var De = Q * d.clientWidth / 2 + "px", B = "perspective(" + De + ") translateZ(" + De + ") rotateX(" + g + "rad) rotateY(" + b + "rad) ", de = Object.keys(We);
2394
2394
  for (x = 0; x < 6; x++) {
2395
2395
  var fe = _.querySelector(".pnlm-" + de[x] + "face");
2396
- fe && (fe.style.webkitTransform = B + Ve[de[x]], fe.style.transform = B + Ve[de[x]]);
2396
+ fe && (fe.style.webkitTransform = B + We[de[x]], fe.style.transform = B + We[de[x]]);
2397
2397
  }
2398
2398
  return;
2399
2399
  }
@@ -2410,9 +2410,9 @@ window.libpannellum = function(e, t, r) {
2410
2410
  for (var Oe = p.nodeCache.splice(200, p.nodeCache.length - 200), x = 0; x < Oe.length; x++)
2411
2411
  a.deleteTexture(Oe[x].texture);
2412
2412
  p.currentNodes = [];
2413
- var W = ["f", "b", "u", "d", "l", "r"];
2413
+ var V = ["f", "b", "u", "d", "l", "r"];
2414
2414
  for (ne = 0; ne < 6; ne++) {
2415
- var Le = new ce(C[ne], W[ne], 1, 0, 0, v.fullpath);
2415
+ var Le = new ce(C[ne], V[ne], 1, 0, 0, v.fullpath);
2416
2416
  A(Fe, Le, g, b);
2417
2417
  }
2418
2418
  for (p.currentNodes.sort(U), x = Z.length - 1; x >= 0; x--)
@@ -2458,20 +2458,20 @@ window.libpannellum = function(e, t, r) {
2458
2458
  }
2459
2459
  function A(g, b, ue, oe, Q) {
2460
2460
  if (Ke(g, b.vertices)) {
2461
- var x = b.vertices, ne = x[0] + x[3] + x[6] + x[9], ae = x[1] + x[4] + x[7] + x[10], ve = x[2] + x[5] + x[8] + x[11], ie = Math.sqrt(ne * ne + ae * ae + ve * ve), Be = Math.asin(ve / ie), Ne = Math.atan2(ae, ne), Ze = Ne - oe;
2462
- Ze += Ze > Math.PI ? -2 * Math.PI : Ze < -Math.PI ? 2 * Math.PI : 0, Ze = Math.abs(Ze), b.diff = Math.acos(Math.sin(ue) * Math.sin(Be) + Math.cos(ue) * Math.cos(Be) * Math.cos(Ze));
2463
- for (var Je = !1, Ge = 0; Ge < p.nodeCache.length; Ge++)
2464
- if (p.nodeCache[Ge].path == b.path) {
2465
- Je = !0, p.nodeCache[Ge].timestamp = p.nodeCacheTimestamp++, p.nodeCache[Ge].diff = b.diff, p.currentNodes.push(p.nodeCache[Ge]);
2461
+ var x = b.vertices, ne = x[0] + x[3] + x[6] + x[9], ae = x[1] + x[4] + x[7] + x[10], ve = x[2] + x[5] + x[8] + x[11], ie = Math.sqrt(ne * ne + ae * ae + ve * ve), Be = Math.asin(ve / ie), Ne = Math.atan2(ae, ne), Ge = Ne - oe;
2462
+ Ge += Ge > Math.PI ? -2 * Math.PI : Ge < -Math.PI ? 2 * Math.PI : 0, Ge = Math.abs(Ge), b.diff = Math.acos(Math.sin(ue) * Math.sin(Be) + Math.cos(ue) * Math.cos(Be) * Math.cos(Ge));
2463
+ for (var Je = !1, je = 0; je < p.nodeCache.length; je++)
2464
+ if (p.nodeCache[je].path == b.path) {
2465
+ Je = !0, p.nodeCache[je].timestamp = p.nodeCacheTimestamp++, p.nodeCache[je].diff = b.diff, p.currentNodes.push(p.nodeCache[je]);
2466
2466
  break;
2467
2467
  }
2468
2468
  if (Je || (b.timestamp = p.nodeCacheTimestamp++, p.currentNodes.push(b), p.nodeCache.push(b)), b.level < p.level) {
2469
- var Re = v.cubeResolution * Math.pow(2, b.level - v.maxLevel), xe = Math.ceil(Re * v.invTileResolution) - 1, Ae = Re % v.tileResolution * 2, Ve = Re * 2 % v.tileResolution;
2470
- Ve === 0 && (Ve = v.tileResolution), Ae === 0 && (Ae = v.tileResolution * 2);
2469
+ var Re = v.cubeResolution * Math.pow(2, b.level - v.maxLevel), xe = Math.ceil(Re * v.invTileResolution) - 1, Ae = Re % v.tileResolution * 2, We = Re * 2 % v.tileResolution;
2470
+ We === 0 && (We = v.tileResolution), Ae === 0 && (Ae = v.tileResolution * 2);
2471
2471
  var De = 0.5;
2472
- (b.x == xe || b.y == xe) && (De = 1 - v.tileResolution / (v.tileResolution + Ve));
2473
- var B = 1 - De, de = [], fe, ye, He = De, Pe = De, Fe = De, Oe = B, W = B, Le = B;
2474
- Ve < v.tileResolution && (b.x == xe && b.y != xe ? (Pe = 0.5, W = 0.5, (b.side == "d" || b.side == "u") && (Fe = 0.5, Le = 0.5)) : b.x != xe && b.y == xe && (He = 0.5, Oe = 0.5, (b.side == "l" || b.side == "r") && (Fe = 0.5, Le = 0.5))), Ae <= v.tileResolution && (b.x == xe && (He = 0, Oe = 1, (b.side == "l" || b.side == "r") && (Fe = 0, Le = 1)), b.y == xe && (Pe = 0, W = 1, (b.side == "d" || b.side == "u") && (Fe = 0, Le = 1))), fe = [x[0], x[1], x[2], x[0] * He + x[3] * Oe, x[1] * De + x[4] * B, x[2] * Fe + x[5] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * W, x[2] * Fe + x[8] * Le, x[0] * De + x[9] * B, x[1] * Pe + x[10] * W, x[2] * Fe + x[11] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2, b.y * 2, v.fullpath), de.push(ye), b.x == xe && Ae <= v.tileResolution || (fe = [x[0] * He + x[3] * Oe, x[1] * De + x[4] * B, x[2] * Fe + x[5] * Le, x[3], x[4], x[5], x[3] * De + x[6] * B, x[4] * Pe + x[7] * W, x[5] * Fe + x[8] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * W, x[2] * Fe + x[8] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2 + 1, b.y * 2, v.fullpath), de.push(ye)), !(b.x == xe && Ae <= v.tileResolution) && !(b.y == xe && Ae <= v.tileResolution) && (fe = [x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * W, x[2] * Fe + x[8] * Le, x[3] * De + x[6] * B, x[4] * Pe + x[7] * W, x[5] * Fe + x[8] * Le, x[6], x[7], x[8], x[9] * He + x[6] * Oe, x[10] * De + x[7] * B, x[11] * Fe + x[8] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2 + 1, b.y * 2 + 1, v.fullpath), de.push(ye)), b.y == xe && Ae <= v.tileResolution || (fe = [x[0] * De + x[9] * B, x[1] * Pe + x[10] * W, x[2] * Fe + x[11] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * W, x[2] * Fe + x[8] * Le, x[9] * He + x[6] * Oe, x[10] * De + x[7] * B, x[11] * Fe + x[8] * Le, x[9], x[10], x[11]], ye = new ce(fe, b.side, b.level + 1, b.x * 2, b.y * 2 + 1, v.fullpath), de.push(ye));
2472
+ (b.x == xe || b.y == xe) && (De = 1 - v.tileResolution / (v.tileResolution + We));
2473
+ var B = 1 - De, de = [], fe, ye, He = De, Pe = De, Fe = De, Oe = B, V = B, Le = B;
2474
+ We < v.tileResolution && (b.x == xe && b.y != xe ? (Pe = 0.5, V = 0.5, (b.side == "d" || b.side == "u") && (Fe = 0.5, Le = 0.5)) : b.x != xe && b.y == xe && (He = 0.5, Oe = 0.5, (b.side == "l" || b.side == "r") && (Fe = 0.5, Le = 0.5))), Ae <= v.tileResolution && (b.x == xe && (He = 0, Oe = 1, (b.side == "l" || b.side == "r") && (Fe = 0, Le = 1)), b.y == xe && (Pe = 0, V = 1, (b.side == "d" || b.side == "u") && (Fe = 0, Le = 1))), fe = [x[0], x[1], x[2], x[0] * He + x[3] * Oe, x[1] * De + x[4] * B, x[2] * Fe + x[5] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * V, x[2] * Fe + x[8] * Le, x[0] * De + x[9] * B, x[1] * Pe + x[10] * V, x[2] * Fe + x[11] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2, b.y * 2, v.fullpath), de.push(ye), b.x == xe && Ae <= v.tileResolution || (fe = [x[0] * He + x[3] * Oe, x[1] * De + x[4] * B, x[2] * Fe + x[5] * Le, x[3], x[4], x[5], x[3] * De + x[6] * B, x[4] * Pe + x[7] * V, x[5] * Fe + x[8] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * V, x[2] * Fe + x[8] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2 + 1, b.y * 2, v.fullpath), de.push(ye)), !(b.x == xe && Ae <= v.tileResolution) && !(b.y == xe && Ae <= v.tileResolution) && (fe = [x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * V, x[2] * Fe + x[8] * Le, x[3] * De + x[6] * B, x[4] * Pe + x[7] * V, x[5] * Fe + x[8] * Le, x[6], x[7], x[8], x[9] * He + x[6] * Oe, x[10] * De + x[7] * B, x[11] * Fe + x[8] * Le], ye = new ce(fe, b.side, b.level + 1, b.x * 2 + 1, b.y * 2 + 1, v.fullpath), de.push(ye)), b.y == xe && Ae <= v.tileResolution || (fe = [x[0] * De + x[9] * B, x[1] * Pe + x[10] * V, x[2] * Fe + x[11] * Le, x[0] * He + x[6] * Oe, x[1] * Pe + x[7] * V, x[2] * Fe + x[8] * Le, x[9] * He + x[6] * Oe, x[10] * De + x[7] * B, x[11] * Fe + x[8] * Le, x[9], x[10], x[11]], ye = new ce(fe, b.side, b.level + 1, b.x * 2, b.y * 2 + 1, v.fullpath), de.push(ye));
2475
2475
  for (var Ce = 0; Ce < de.length; Ce++)
2476
2476
  A(g, de[Ce], ue, oe);
2477
2477
  }
@@ -2631,12 +2631,12 @@ window.libpannellum = function(e, t, r) {
2631
2631
  function be(g, b) {
2632
2632
  return [g[0] * b[0] + g[1] * b[1] + g[2] * b[2], g[4] * b[0] + g[5] * b[1] + g[6] * b[2], g[11] + g[8] * b[0] + g[9] * b[1] + g[10] * b[2], 1 / (g[12] * b[0] + g[13] * b[1] + g[14] * b[2])];
2633
2633
  }
2634
- function Ye(g, b) {
2634
+ function Ze(g, b) {
2635
2635
  var ue = be(g, b), oe = ue[0] * ue[3], Q = ue[1] * ue[3], x = ue[2] * ue[3], ne = [0, 0, 0];
2636
2636
  return oe < -1 && (ne[0] = -1), oe > 1 && (ne[0] = 1), Q < -1 && (ne[1] = -1), Q > 1 && (ne[1] = 1), (x < -1 || x > 1) && (ne[2] = 1), ne;
2637
2637
  }
2638
2638
  function Ke(g, b) {
2639
- var ue = Ye(g, b.slice(0, 3)), oe = Ye(g, b.slice(3, 6)), Q = Ye(g, b.slice(6, 9)), x = Ye(g, b.slice(9, 12)), ne = ue[0] + oe[0] + Q[0] + x[0];
2639
+ var ue = Ze(g, b.slice(0, 3)), oe = Ze(g, b.slice(3, 6)), Q = Ze(g, b.slice(6, 9)), x = Ze(g, b.slice(9, 12)), ne = ue[0] + oe[0] + Q[0] + x[0];
2640
2640
  if (ne == -4 || ne == 4)
2641
2641
  return !1;
2642
2642
  var ae = ue[1] + oe[1] + Q[1] + x[1];
@@ -2645,7 +2645,7 @@ window.libpannellum = function(e, t, r) {
2645
2645
  var ve = ue[2] + oe[2] + Q[2] + x[2];
2646
2646
  return ve != 4;
2647
2647
  }
2648
- function We() {
2648
+ function Ve() {
2649
2649
  console.log("Reducing canvas size due to error 1286!"), d.width = Math.round(d.width / 2), d.height = Math.round(d.height / 2);
2650
2650
  }
2651
2651
  }
@@ -2740,7 +2740,7 @@ window.libpannellum = function(e, t, r) {
2740
2740
  }(window, document);
2741
2741
  window.pannellum = /* @__PURE__ */ function(e, t, r) {
2742
2742
  function o(s, l) {
2743
- var f = this, n, m, h, k = !1, d = Date.now(), p = 0, a = 0, M = -1, E = 0, L = 0, _ = new Array(10), C = !1, y, v = !1, I = !1, S, V, T = { yaw: 0, pitch: 0, hfov: 0 }, j = !1, H = !1, O = 0, D, U = 0, K, ce, A = {}, X = {}, te = [], F = !1, J = !1, _e = {
2743
+ var f = this, n, m, h, k = !1, d = Date.now(), p = 0, a = 0, M = -1, E = 0, L = 0, _ = new Array(10), C = !1, y, v = !1, I = !1, S, W, T = { yaw: 0, pitch: 0, hfov: 0 }, j = !1, H = !1, O = 0, D, U = 0, K, ce, A = {}, X = {}, te = [], F = !1, J = !1, _e = {
2744
2744
  hfov: 100,
2745
2745
  minHfov: 50,
2746
2746
  maxHfov: 120,
@@ -2771,7 +2771,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2771
2771
  hotSpotDebug: !1,
2772
2772
  backgroundColor: [0, 0, 0],
2773
2773
  avoidShowingBackground: !1,
2774
- animationTimingFunction: W,
2774
+ animationTimingFunction: V,
2775
2775
  draggable: !0,
2776
2776
  disableKeyboardCtrl: !1,
2777
2777
  crossOrigin: "anonymous",
@@ -2807,8 +2807,8 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2807
2807
  Me.className = "pnlm-sprite pnlm-hot-spot-debug-indicator", Y.appendChild(Me), P.container = t.createElement("div"), P.container.className = "pnlm-panorama-info", P.title = t.createElement("div"), P.title.className = "pnlm-title-box", P.container.appendChild(P.title), P.author = t.createElement("div"), P.author.className = "pnlm-author-box", P.container.appendChild(P.author), Y.appendChild(P.container), P.load = {}, P.load.box = t.createElement("div"), P.load.box.className = "pnlm-load-box", P.load.boxp = t.createElement("p"), P.load.box.appendChild(P.load.boxp), P.load.lbox = t.createElement("div"), P.load.lbox.className = "pnlm-lbox", P.load.lbox.innerHTML = '<div class="pnlm-loading"></div>', P.load.box.appendChild(P.load.lbox), P.load.lbar = t.createElement("div"), P.load.lbar.className = "pnlm-lbar", P.load.lbarFill = t.createElement("div"), P.load.lbarFill.className = "pnlm-lbar-fill", P.load.lbar.appendChild(P.load.lbarFill), P.load.box.appendChild(P.load.lbar), P.load.msg = t.createElement("p"), P.load.msg.className = "pnlm-lmsg", P.load.box.appendChild(P.load.msg), Y.appendChild(P.load.box), P.errorMsg = t.createElement("div"), P.errorMsg.className = "pnlm-error-msg pnlm-info-box", Y.appendChild(P.errorMsg);
2808
2808
  var $ = {};
2809
2809
  $.container = t.createElement("div"), $.container.className = "pnlm-controls-container", Y.appendChild($.container), $.load = t.createElement("div"), $.load.className = "pnlm-load-button", $.load.addEventListener("click", function() {
2810
- nn(), Dn();
2811
- }), Y.appendChild($.load), $.zoom = t.createElement("div"), $.zoom.className = "pnlm-zoom-controls pnlm-controls", $.zoomIn = t.createElement("div"), $.zoomIn.className = "pnlm-zoom-in pnlm-sprite pnlm-control", $.zoomIn.addEventListener("click", ho), $.zoom.appendChild($.zoomIn), $.zoomOut = t.createElement("div"), $.zoomOut.className = "pnlm-zoom-out pnlm-sprite pnlm-control", $.zoomOut.addEventListener("click", mo), $.zoom.appendChild($.zoomOut), $.container.appendChild($.zoom), $.fullscreen = t.createElement("div"), $.fullscreen.addEventListener("click", rn), $.fullscreen.className = "pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control", (t.fullscreenEnabled || t.mozFullScreenEnabled || t.webkitFullscreenEnabled || t.msFullscreenEnabled) && $.container.appendChild($.fullscreen), $.orientation = t.createElement("div"), $.orientation.addEventListener("click", function(i) {
2810
+ tn(), zn();
2811
+ }), Y.appendChild($.load), $.zoom = t.createElement("div"), $.zoom.className = "pnlm-zoom-controls pnlm-controls", $.zoomIn = t.createElement("div"), $.zoomIn.className = "pnlm-zoom-in pnlm-sprite pnlm-control", $.zoomIn.addEventListener("click", ho), $.zoom.appendChild($.zoomIn), $.zoomOut = t.createElement("div"), $.zoomOut.className = "pnlm-zoom-out pnlm-sprite pnlm-control", $.zoomOut.addEventListener("click", mo), $.zoom.appendChild($.zoomOut), $.container.appendChild($.zoom), $.fullscreen = t.createElement("div"), $.fullscreen.addEventListener("click", nn), $.fullscreen.className = "pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control", (t.fullscreenEnabled || t.mozFullScreenEnabled || t.webkitFullscreenEnabled || t.msFullscreenEnabled) && $.container.appendChild($.fullscreen), $.orientation = t.createElement("div"), $.orientation.addEventListener("click", function(i) {
2812
2812
  H ? Lt() : Ft();
2813
2813
  }), $.orientation.addEventListener("mousedown", function(i) {
2814
2814
  i.stopPropagation();
@@ -2817,13 +2817,13 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2817
2817
  }), $.orientation.addEventListener("pointerdown", function(i) {
2818
2818
  i.stopPropagation();
2819
2819
  }), $.orientation.className = "pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";
2820
- var be, Ye = !1;
2820
+ var be, Ze = !1;
2821
2821
  function Ke(i) {
2822
- e.removeEventListener("deviceorientation", Ke), i && i.alpha !== null && i.beta !== null && i.gamma !== null ? ($.container.appendChild($.orientation), be = !0, Ye && Ft()) : be = !1;
2822
+ e.removeEventListener("deviceorientation", Ke), i && i.alpha !== null && i.beta !== null && i.gamma !== null ? ($.container.appendChild($.orientation), be = !0, Ze && Ft()) : be = !1;
2823
2823
  }
2824
2824
  e.DeviceOrientationEvent ? e.addEventListener("deviceorientation", Ke) : be = !1;
2825
- var We = t.createElement("div");
2826
- We.className = "pnlm-compass pnlm-controls pnlm-control", Y.appendChild(We), l.firstScene ? Ht(l.firstScene) : l.default && l.default.firstScene ? Ht(l.default.firstScene) : Ht(null), nn(!0);
2825
+ var Ve = t.createElement("div");
2826
+ Ve.className = "pnlm-compass pnlm-controls pnlm-control", Y.appendChild(Ve), l.firstScene ? Ht(l.firstScene) : l.default && l.default.firstScene ? Ht(l.default.firstScene) : Ht(null), tn(!0);
2827
2827
  function g() {
2828
2828
  var i = t.createElement("div");
2829
2829
  if (i.innerHTML = "<!--[if lte IE 9]><i></i><![endif]-->", i.getElementsByTagName("i").length == 1) {
@@ -2875,8 +2875,8 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2875
2875
  if (me.lengthComputable) {
2876
2876
  var Te = me.loaded / me.total * 100;
2877
2877
  P.load.lbarFill.style.width = Te + "%";
2878
- var ke, Qe, je;
2879
- me.total > 1e6 ? (ke = "MB", Qe = (me.loaded / 1e6).toFixed(2), je = (me.total / 1e6).toFixed(2)) : me.total > 1e3 ? (ke = "kB", Qe = (me.loaded / 1e3).toFixed(1), je = (me.total / 1e3).toFixed(1)) : (ke = "B", Qe = me.loaded, je = me.total), P.load.msg.innerHTML = Qe + " / " + je + " " + ke;
2878
+ var ke, Qe, $e;
2879
+ me.total > 1e6 ? (ke = "MB", Qe = (me.loaded / 1e6).toFixed(2), $e = (me.total / 1e6).toFixed(2)) : me.total > 1e3 ? (ke = "kB", Qe = (me.loaded / 1e3).toFixed(1), $e = (me.total / 1e3).toFixed(1)) : (ke = "B", Qe = me.loaded, $e = me.total), P.load.msg.innerHTML = Qe + " / " + $e + " " + ke;
2880
2880
  } else
2881
2881
  P.load.lbox.style.display = "block", P.load.lbar.style.display = "none";
2882
2882
  };
@@ -2893,7 +2893,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2893
2893
  return new RegExp("^(?:[a-z]+:)?//", "i").test(i) || i[0] == "/" || i.slice(0, 5) == "blob:";
2894
2894
  }
2895
2895
  function ue() {
2896
- m || (m = new libpannellum.renderer(G)), I || (I = !0, Z.addEventListener("mousedown", ve, !1), t.addEventListener("mousemove", Ne, !1), t.addEventListener("mouseup", Ze, !1), n.mouseZoom && (Y.addEventListener("mousewheel", de, !1), Y.addEventListener("DOMMouseScroll", de, !1)), n.doubleClickZoom && Z.addEventListener("dblclick", ie, !1), Y.addEventListener("mozfullscreenchange", st, !1), Y.addEventListener("webkitfullscreenchange", st, !1), Y.addEventListener("msfullscreenchange", st, !1), Y.addEventListener("fullscreenchange", st, !1), e.addEventListener("resize", Le, !1), e.addEventListener("orientationchange", Le, !1), n.disableKeyboardCtrl || (s.addEventListener("keydown", fe, !1), s.addEventListener("keyup", He, !1), s.addEventListener("blur", ye, !1)), t.addEventListener("mouseleave", Ze, !1), t.documentElement.style.pointerAction === "" && t.documentElement.style.touchAction === "" ? (Z.addEventListener("pointerdown", Ve, !1), Z.addEventListener("pointermove", De, !1), Z.addEventListener("pointerup", B, !1), Z.addEventListener("pointerleave", B, !1)) : (Z.addEventListener("touchstart", Je, !1), Z.addEventListener("touchmove", Ge, !1), Z.addEventListener("touchend", Re, !1)), e.navigator.pointerEnabled && (s.style.touchAction = "none")), co(), nt(n.hfov), setTimeout(function() {
2896
+ m || (m = new libpannellum.renderer(G)), I || (I = !0, Z.addEventListener("mousedown", ve, !1), t.addEventListener("mousemove", Ne, !1), t.addEventListener("mouseup", Ge, !1), n.mouseZoom && (Y.addEventListener("mousewheel", de, !1), Y.addEventListener("DOMMouseScroll", de, !1)), n.doubleClickZoom && Z.addEventListener("dblclick", ie, !1), Y.addEventListener("mozfullscreenchange", st, !1), Y.addEventListener("webkitfullscreenchange", st, !1), Y.addEventListener("msfullscreenchange", st, !1), Y.addEventListener("fullscreenchange", st, !1), e.addEventListener("resize", Le, !1), e.addEventListener("orientationchange", Le, !1), n.disableKeyboardCtrl || (s.addEventListener("keydown", fe, !1), s.addEventListener("keyup", He, !1), s.addEventListener("blur", ye, !1)), t.addEventListener("mouseleave", Ge, !1), t.documentElement.style.pointerAction === "" && t.documentElement.style.touchAction === "" ? (Z.addEventListener("pointerdown", We, !1), Z.addEventListener("pointermove", De, !1), Z.addEventListener("pointerup", B, !1), Z.addEventListener("pointerleave", B, !1)) : (Z.addEventListener("touchstart", Je, !1), Z.addEventListener("touchmove", je, !1), Z.addEventListener("touchend", Re, !1)), e.navigator.pointerEnabled && (s.style.touchAction = "none")), co(), nt(n.hfov), setTimeout(function() {
2897
2897
  }, 500);
2898
2898
  }
2899
2899
  function oe(i) {
@@ -2961,8 +2961,8 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2961
2961
  }
2962
2962
  }
2963
2963
  function Be(i) {
2964
- var u = ae(i), w = m.getCanvas(), N = w.clientWidth, z = w.clientHeight, R = u.x / N * 2 - 1, pe = (1 - u.y / z * 2) * z / N, re = 1 / Math.tan(n.hfov * Math.PI / 360), me = Math.sin(n.pitch * Math.PI / 180), Te = Math.cos(n.pitch * Math.PI / 180), ke = re * Te - pe * me, Qe = Math.sqrt(R * R + ke * ke), je = Math.atan((pe * Te + re * me) / Qe) * 180 / Math.PI, dt = Math.atan2(R / Qe, ke / Qe) * 180 / Math.PI + n.yaw;
2965
- return dt < -180 && (dt += 360), dt > 180 && (dt -= 360), [je, dt];
2964
+ var u = ae(i), w = m.getCanvas(), N = w.clientWidth, z = w.clientHeight, R = u.x / N * 2 - 1, pe = (1 - u.y / z * 2) * z / N, re = 1 / Math.tan(n.hfov * Math.PI / 360), me = Math.sin(n.pitch * Math.PI / 180), Te = Math.cos(n.pitch * Math.PI / 180), ke = re * Te - pe * me, Qe = Math.sqrt(R * R + ke * ke), $e = Math.atan((pe * Te + re * me) / Qe) * 180 / Math.PI, dt = Math.atan2(R / Qe, ke / Qe) * 180 / Math.PI + n.yaw;
2965
+ return dt < -180 && (dt += 360), dt > 180 && (dt -= 360), [$e, dt];
2966
2966
  }
2967
2967
  function Ne(i) {
2968
2968
  if (k && y) {
@@ -2973,7 +2973,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2973
2973
  T.pitch = (re - n.pitch) * 0.2, n.pitch = re;
2974
2974
  }
2975
2975
  }
2976
- function Ze(i) {
2976
+ function Ge(i) {
2977
2977
  k && (k = !1, Date.now() - d > 15 && (T.pitch = T.yaw = 0), Y.classList.add("pnlm-grab"), Y.classList.remove("pnlm-grabbing"), d = Date.now(), lt("mouseup", i));
2978
2978
  }
2979
2979
  function Je(i) {
@@ -2987,7 +2987,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
2987
2987
  k = !0, d = Date.now(), E = n.yaw, L = n.pitch, lt("touchstart", i), Ce();
2988
2988
  }
2989
2989
  }
2990
- function Ge(i) {
2990
+ function je(i) {
2991
2991
  if (n.draggable && (i.preventDefault(), y && (d = Date.now()), k && y)) {
2992
2992
  var u = ae(i.targetTouches[0]), w = u.x, N = u.y;
2993
2993
  if (i.targetTouches.length == 2 && M != -1) {
@@ -3006,14 +3006,14 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3006
3006
  k = !1, Date.now() - d > 150 && (T.pitch = T.yaw = 0), M = -1, d = Date.now(), lt("touchend", event);
3007
3007
  }
3008
3008
  var xe = [], Ae = [];
3009
- function Ve(i) {
3009
+ function We(i) {
3010
3010
  i.pointerType == "touch" && (xe.push(i.pointerId), Ae.push({ clientX: i.clientX, clientY: i.clientY }), i.targetTouches = Ae, Je(i), i.preventDefault());
3011
3011
  }
3012
3012
  function De(i) {
3013
3013
  if (i.pointerType == "touch") {
3014
3014
  for (var u = 0; u < xe.length; u++)
3015
3015
  if (i.pointerId == xe[u]) {
3016
- Ae[u].clientX = i.clientX, Ae[u].clientY = i.clientY, i.targetTouches = Ae, Ge(i), i.preventDefault();
3016
+ Ae[u].clientX = i.clientX, Ae[u].clientY = i.clientY, i.targetTouches = Ae, je(i), i.preventDefault();
3017
3017
  return;
3018
3018
  }
3019
3019
  }
@@ -3031,7 +3031,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3031
3031
  function fe(i) {
3032
3032
  Ot(), d = Date.now(), Lt(), n.roll = 0;
3033
3033
  var u = i.which || i.keycode;
3034
- n.capturedKeyNumbers.indexOf(u) < 0 || (i.preventDefault(), u == 27 ? C && rn() : Pe(u, !0));
3034
+ n.capturedKeyNumbers.indexOf(u) < 0 || (i.preventDefault(), u == 27 ? C && nn() : Pe(u, !0));
3035
3035
  }
3036
3036
  function ye() {
3037
3037
  for (var i = 0; i < 10; i++)
@@ -3080,25 +3080,25 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3080
3080
  case 68:
3081
3081
  _[9] != u && (w = !0), _[9] = u;
3082
3082
  }
3083
- w && u && (typeof performance < "u" && performance.now() ? V = performance.now() : V = Date.now(), Ce());
3083
+ w && u && (typeof performance < "u" && performance.now() ? W = performance.now() : W = Date.now(), Ce());
3084
3084
  }
3085
3085
  function Fe() {
3086
3086
  if (y) {
3087
3087
  var i = !1, u = n.pitch, w = n.yaw, N = n.hfov, z;
3088
- typeof performance < "u" && performance.now() ? z = performance.now() : z = Date.now(), V === r && (V = z);
3089
- var R = (z - V) * n.hfov / 1700;
3088
+ typeof performance < "u" && performance.now() ? z = performance.now() : z = Date.now(), W === r && (W = z);
3089
+ var R = (z - W) * n.hfov / 1700;
3090
3090
  if (R = Math.min(R, 1), _[0] && n.keyboardZoom === !0 && (nt(n.hfov + (T.hfov * 0.8 + 0.5) * R), i = !0), _[1] && n.keyboardZoom === !0 && (nt(n.hfov + (T.hfov * 0.8 - 0.2) * R), i = !0), (_[2] || _[6]) && (n.pitch += (T.pitch * 0.8 + 0.2) * R, i = !0), (_[3] || _[7]) && (n.pitch += (T.pitch * 0.8 - 0.2) * R, i = !0), (_[4] || _[8]) && (n.yaw += (T.yaw * 0.8 - 0.2) * R, i = !0), (_[5] || _[9]) && (n.yaw += (T.yaw * 0.8 + 0.2) * R, i = !0), i && (d = Date.now()), n.autoRotate) {
3091
- if (z - V > 1e-3) {
3092
- var pe = (z - V) / 1e3, re = (T.yaw / pe * R - n.autoRotate * 0.2) * pe;
3091
+ if (z - W > 1e-3) {
3092
+ var pe = (z - W) / 1e3, re = (T.yaw / pe * R - n.autoRotate * 0.2) * pe;
3093
3093
  re = (-n.autoRotate > 0 ? 1 : -1) * Math.min(Math.abs(n.autoRotate * pe), Math.abs(re)), n.yaw += re;
3094
3094
  }
3095
- n.autoRotateStopDelay && (n.autoRotateStopDelay -= z - V, n.autoRotateStopDelay <= 0 && (n.autoRotateStopDelay = !1, U = n.autoRotate, n.autoRotate = 0));
3095
+ n.autoRotateStopDelay && (n.autoRotateStopDelay -= z - W, n.autoRotateStopDelay <= 0 && (n.autoRotateStopDelay = !1, U = n.autoRotate, n.autoRotate = 0));
3096
3096
  }
3097
3097
  if (A.pitch && (Oe("pitch"), u = n.pitch), A.yaw && (Oe("yaw"), w = n.yaw), A.hfov && (Oe("hfov"), N = n.hfov), R > 0 && !n.autoRotate) {
3098
3098
  var me = 0.85;
3099
3099
  !_[4] && !_[5] && !_[8] && !_[9] && !A.yaw && (n.yaw += T.yaw * R * me), !_[2] && !_[3] && !_[6] && !_[7] && !A.pitch && (n.pitch += T.pitch * R * me), !_[0] && !_[1] && !A.hfov && nt(n.hfov + T.hfov * R * me);
3100
3100
  }
3101
- if (V = z, R > 0) {
3101
+ if (W = z, R > 0) {
3102
3102
  T.yaw = T.yaw * 0.8 + (n.yaw - w) / R * 0.2, T.pitch = T.pitch * 0.8 + (n.pitch - u) / R * 0.2, T.hfov = T.hfov * 0.8 + (n.hfov - N) / R * 0.2;
3103
3103
  var Te = n.autoRotate ? Math.abs(n.autoRotate) : 5;
3104
3104
  T.yaw = Math.min(Te, Math.max(T.yaw, -Te)), T.pitch = Math.min(Te, Math.max(T.pitch, -Te)), T.hfov = Math.min(Te, Math.max(T.hfov, -Te));
@@ -3115,7 +3115,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3115
3115
  }
3116
3116
  n[i] = N;
3117
3117
  }
3118
- function W(i) {
3118
+ function V(i) {
3119
3119
  return i < 0.5 ? 2 * i * i : -1 + (4 - 2 * i) * i;
3120
3120
  }
3121
3121
  function Le() {
@@ -3132,7 +3132,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3132
3132
  else if (m && (m.isLoading() || n.dynamic === !0 && F))
3133
3133
  requestAnimationFrame(he);
3134
3134
  else {
3135
- j = !1, V = r;
3135
+ j = !1, W = r;
3136
3136
  var i = n.autoRotateInactivityDelay - (Date.now() - d);
3137
3137
  i > 0 ? D = setTimeout(function() {
3138
3138
  n.autoRotate = U, f.lookAt(ce, r, K, 3e3), Ce();
@@ -3149,9 +3149,9 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3149
3149
  z ? N * (1 - Math.min(Math.cos((n.pitch - w) / 180 * Math.PI), Math.cos((n.pitch + w) / 180 * Math.PI))) : u = w * (1 - Math.min(Math.cos((n.pitch - N) / 180 * Math.PI), Math.cos((n.pitch + N) / 180 * Math.PI)));
3150
3150
  }
3151
3151
  var R = n.maxYaw - n.minYaw, pe = -180, re = 180;
3152
- R < 360 && (pe = n.minYaw + n.hfov / 2 + u, re = n.maxYaw - n.hfov / 2 - u, R < n.hfov && (pe = re = (pe + re) / 2), n.yaw = Math.max(pe, Math.min(re, n.yaw))), n.autoRotate !== !1 && i != n.yaw && V !== r && (n.autoRotate *= -1);
3153
- var me = m.getCanvas(), Te = 2 * Math.atan(Math.tan(n.hfov / 180 * Math.PI * 0.5) / (me.width / me.height)) / Math.PI * 180, ke = n.minPitch + Te / 2, Qe = n.maxPitch - Te / 2, je = n.maxPitch - n.minPitch;
3154
- je < Te && (ke = Qe = (ke + Qe) / 2), isNaN(ke) && (ke = -90), isNaN(Qe) && (Qe = 90), n.pitch = Math.max(ke, Math.min(Qe, n.pitch)), m.render(n.pitch * Math.PI / 180, n.yaw * Math.PI / 180, n.hfov * Math.PI / 180, { roll: n.roll * Math.PI / 180 }), An(), n.compass && (We.style.transform = "rotate(" + (-n.yaw - n.northOffset) + "deg)", We.style.webkitTransform = "rotate(" + (-n.yaw - n.northOffset) + "deg)"), n.onRender && n.onRender();
3152
+ R < 360 && (pe = n.minYaw + n.hfov / 2 + u, re = n.maxYaw - n.hfov / 2 - u, R < n.hfov && (pe = re = (pe + re) / 2), n.yaw = Math.max(pe, Math.min(re, n.yaw))), n.autoRotate !== !1 && i != n.yaw && W !== r && (n.autoRotate *= -1);
3153
+ var me = m.getCanvas(), Te = 2 * Math.atan(Math.tan(n.hfov / 180 * Math.PI * 0.5) / (me.width / me.height)) / Math.PI * 180, ke = n.minPitch + Te / 2, Qe = n.maxPitch - Te / 2, $e = n.maxPitch - n.minPitch;
3154
+ $e < Te && (ke = Qe = (ke + Qe) / 2), isNaN(ke) && (ke = -90), isNaN(Qe) && (Qe = 90), n.pitch = Math.max(ke, Math.min(Qe, n.pitch)), m.render(n.pitch * Math.PI / 180, n.yaw * Math.PI / 180, n.hfov * Math.PI / 180, { roll: n.roll * Math.PI / 180 }), Rn(), n.compass && (Ve.style.transform = "rotate(" + (-n.yaw - n.northOffset) + "deg)", Ve.style.webkitTransform = "rotate(" + (-n.yaw - n.northOffset) + "deg)"), n.onRender && n.onRender();
3155
3155
  }
3156
3156
  }
3157
3157
  function ee(i, u, w, N) {
@@ -3173,7 +3173,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3173
3173
  var z = e.orientation ? -e.orientation * Math.PI / 180 / 2 : 0;
3174
3174
  return N.multiply(new ee(Math.cos(z), 0, -Math.sin(z), 0));
3175
3175
  }
3176
- function Pn(i) {
3176
+ function Sn(i) {
3177
3177
  var u = lo(i.alpha, i.beta, i.gamma).toEulerAngles();
3178
3178
  typeof H == "number" && H < 10 ? H += 1 : H === 10 ? (O = u[2] / Math.PI * 180 + n.yaw, H = !0, requestAnimationFrame(he)) : (n.pitch = u[0] / Math.PI * 180, n.roll = -u[1] / Math.PI * 180, n.yaw = -u[2] / Math.PI * 180 + O);
3179
3179
  }
@@ -3198,9 +3198,9 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3198
3198
  G.removeChild(i), lt("scenechangefadedone");
3199
3199
  }, n.sceneFadeDuration);
3200
3200
  }
3201
- n.compass ? We.style.display = "inline" : We.style.display = "none", fo(), P.load.box.style.display = "none", h !== r && (G.removeChild(h), h = r), y = !0, lt("load"), Ce();
3201
+ n.compass ? Ve.style.display = "inline" : Ve.style.display = "none", fo(), P.load.box.style.display = "none", h !== r && (G.removeChild(h), h = r), y = !0, lt("load"), Ce();
3202
3202
  }
3203
- function Nn(i) {
3203
+ function Pn(i) {
3204
3204
  i.pitch = Number(i.pitch) || 0, i.yaw = Number(i.yaw) || 0;
3205
3205
  var u = t.createElement("div");
3206
3206
  u.className = "pnlm-hotspot-base", i.cssClass ? u.className += " " + i.cssClass : u.className += " pnlm-hotspot pnlm-sprite pnlm-" + gt(i.type);
@@ -3216,7 +3216,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3216
3216
  var pe = t.createElement("img");
3217
3217
  pe.src = vt(R), pe.style.width = i.width + "px", pe.style.paddingTop = "5px", G.appendChild(u), N.appendChild(pe), w.style.maxWidth = "initial";
3218
3218
  } else i.URL ? (N = t.createElement("a"), N.href = vt(i.URL), N.target = "_blank", G.appendChild(N), u.className += " pnlm-pointer", w.className += " pnlm-pointer", N.appendChild(u)) : (i.sceneId && (u.onclick = u.ontouchend = function() {
3219
- return u.clicked || (u.clicked = !0, on(i.sceneId, i.targetPitch, i.targetYaw, i.targetHfov)), !1;
3219
+ return u.clicked || (u.clicked = !0, rn(i.sceneId, i.targetPitch, i.targetYaw, i.targetHfov)), !1;
3220
3220
  }, u.className += " pnlm-pointer", w.className += " pnlm-pointer"), G.appendChild(u));
3221
3221
  i.createTooltipFunc ? i.createTooltipFunc(u, i.createTooltipArgs) : (i.text || i.video || i.image) && (u.classList.add("pnlm-tooltip"), u.appendChild(w), w.style.width = w.scrollWidth - 20 + "px", w.style.marginLeft = -(w.scrollWidth - u.offsetWidth) / 2 + "px", w.style.marginTop = -w.scrollHeight - 12 + "px"), i.clickHandlerFunc && (u.addEventListener("click", function(re) {
3222
3222
  i.clickHandlerFunc(re, i.clickHandlerArgs);
@@ -3225,7 +3225,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3225
3225
  function fo() {
3226
3226
  J || (n.hotSpots ? (n.hotSpots = n.hotSpots.sort(function(i, u) {
3227
3227
  return i.pitch < u.pitch;
3228
- }), n.hotSpots.forEach(Nn)) : n.hotSpots = [], J = !0, An());
3228
+ }), n.hotSpots.forEach(Pn)) : n.hotSpots = [], J = !0, Rn());
3229
3229
  }
3230
3230
  function po() {
3231
3231
  var i = n.hotSpots;
@@ -3236,21 +3236,21 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3236
3236
  G.removeChild(w), delete i[u].div;
3237
3237
  }
3238
3238
  }
3239
- function Rn(i) {
3239
+ function Nn(i) {
3240
3240
  var u = Math.sin(i.pitch * Math.PI / 180), w = Math.cos(i.pitch * Math.PI / 180), N = Math.sin(n.pitch * Math.PI / 180), z = Math.cos(n.pitch * Math.PI / 180), R = Math.cos((-i.yaw + n.yaw) * Math.PI / 180), pe = u * N + w * R * z;
3241
3241
  if (i.yaw <= 90 && i.yaw > -90 && pe <= 0 || (i.yaw > 90 || i.yaw <= -90) && pe <= 0)
3242
3242
  i.div.style.visibility = "hidden";
3243
3243
  else {
3244
3244
  var re = Math.sin((-i.yaw + n.yaw) * Math.PI / 180), me = Math.tan(n.hfov * Math.PI / 360);
3245
3245
  i.div.style.visibility = "visible";
3246
- var Te = m.getCanvas(), ke = Te.clientWidth, Qe = Te.clientHeight, je = [-ke / me * re * w / pe / 2, -ke / me * (u * z - w * R * N) / pe / 2], dt = Math.sin(n.roll * Math.PI / 180), Hn = Math.cos(n.roll * Math.PI / 180);
3247
- je = [je[0] * Hn - je[1] * dt, je[0] * dt + je[1] * Hn], je[0] += (ke - i.div.offsetWidth) / 2, je[1] += (Qe - i.div.offsetHeight) / 2;
3248
- var an = "translate(" + je[0] + "px, " + je[1] + "px) translateZ(9999px) rotate(" + n.roll + "deg)";
3249
- i.div.style.webkitTransform = an, i.div.style.MozTransform = an, i.div.style.transform = an;
3246
+ var Te = m.getCanvas(), ke = Te.clientWidth, Qe = Te.clientHeight, $e = [-ke / me * re * w / pe / 2, -ke / me * (u * z - w * R * N) / pe / 2], dt = Math.sin(n.roll * Math.PI / 180), Dn = Math.cos(n.roll * Math.PI / 180);
3247
+ $e = [$e[0] * Dn - $e[1] * dt, $e[0] * dt + $e[1] * Dn], $e[0] += (ke - i.div.offsetWidth) / 2, $e[1] += (Qe - i.div.offsetHeight) / 2;
3248
+ var on = "translate(" + $e[0] + "px, " + $e[1] + "px) translateZ(9999px) rotate(" + n.roll + "deg)";
3249
+ i.div.style.webkitTransform = on, i.div.style.MozTransform = on, i.div.style.transform = on;
3250
3250
  }
3251
3251
  }
3252
- function An() {
3253
- n.hotSpots.forEach(Rn);
3252
+ function Rn() {
3253
+ n.hotSpots.forEach(Nn);
3254
3254
  }
3255
3255
  function Ht(i) {
3256
3256
  n = {};
@@ -3284,7 +3284,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3284
3284
  else
3285
3285
  n[u] = l[u], N.indexOf(u) >= 0 && te.push(u);
3286
3286
  }
3287
- function nn(i) {
3287
+ function tn(i) {
3288
3288
  if (i = i || !1, i && "preview" in n) {
3289
3289
  var u = n.preview;
3290
3290
  n.basePath && !b(u) && (u = n.basePath + u), h = t.createElement("div"), h.className = "pnlm-preview-img", h.style.backgroundImage = "url('" + go(u) + "')", G.appendChild(h);
@@ -3325,12 +3325,12 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3325
3325
  n[z] || ($.orientation.style.display = "none", $.zoom.style.display = "none", $.fullscreen.style.display = "none");
3326
3326
  break;
3327
3327
  case "orientationOnByDefault":
3328
- n[z] && (be === r ? Ye = !0 : be === !0 && Ft());
3328
+ n[z] && (be === r ? Ze = !0 : be === !0 && Ft());
3329
3329
  break;
3330
3330
  }
3331
3331
  i && (w ? n.title = w : delete n.title, N ? n.author = N : delete n.author);
3332
3332
  }
3333
- function rn() {
3333
+ function nn() {
3334
3334
  if (y && !v)
3335
3335
  if (C)
3336
3336
  t.exitFullscreen ? t.exitFullscreen() : t.mozCancelFullScreen ? t.mozCancelFullScreen() : t.webkitCancelFullScreen ? t.webkitCancelFullScreen() : t.msExitFullscreen && t.msExitFullscreen();
@@ -3350,7 +3350,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3350
3350
  function mo() {
3351
3351
  y && (nt(n.hfov + 5), Ce());
3352
3352
  }
3353
- function zn(i) {
3353
+ function An(i) {
3354
3354
  var u = n.minHfov;
3355
3355
  if (n.type == "multires" && m && (u = Math.min(u, m.getCanvas().width / (n.multiRes.cubeResolution / 90 * 0.9))), u > n.maxHfov)
3356
3356
  return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."), n.hfov;
@@ -3362,33 +3362,33 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3362
3362
  return w;
3363
3363
  }
3364
3364
  function nt(i) {
3365
- n.hfov = zn(i);
3365
+ n.hfov = An(i);
3366
3366
  }
3367
3367
  function Ot() {
3368
3368
  A = {}, U = n.autoRotate ? n.autoRotate : U, n.autoRotate = !1;
3369
3369
  }
3370
- function Dn() {
3370
+ function zn() {
3371
3371
  x(), y = !1, $.load.style.display = "none", P.load.box.style.display = "inline", g();
3372
3372
  }
3373
- function on(i, u, w, N, z) {
3373
+ function rn(i, u, w, N, z) {
3374
3374
  y = !1, A = {};
3375
3375
  var R, pe, re, me;
3376
3376
  if (n.sceneFadeDuration && !z) {
3377
3377
  var Te = m.render(n.pitch * Math.PI / 180, n.yaw * Math.PI / 180, n.hfov * Math.PI / 180, { returnImage: !0 });
3378
3378
  if (Te !== r) {
3379
3379
  R = new Image(), R.className = "pnlm-fade-img", R.style.transition = "opacity " + n.sceneFadeDuration / 1e3 + "s", R.style.width = "100%", R.style.height = "100%", R.onload = function() {
3380
- on(i, u, w, N, !0);
3380
+ rn(i, u, w, N, !0);
3381
3381
  }, R.src = Te, G.appendChild(R), m.fadeImg = R;
3382
3382
  return;
3383
3383
  }
3384
3384
  }
3385
- u === "same" ? pe = n.pitch : pe = u, w === "same" ? re = n.yaw : w === "sameAzimuth" ? re = n.yaw + (n.northOffset || 0) - (l.scenes[i].northOffset || 0) : re = w, N === "same" ? me = n.hfov : me = N, po(), Ht(i), T.yaw = T.pitch = T.hfov = 0, nn(), pe !== r && (n.pitch = pe), re !== r && (n.yaw = re), me !== r && (n.hfov = me), lt("scenechange", i), Dn();
3385
+ u === "same" ? pe = n.pitch : pe = u, w === "same" ? re = n.yaw : w === "sameAzimuth" ? re = n.yaw + (n.northOffset || 0) - (l.scenes[i].northOffset || 0) : re = w, N === "same" ? me = n.hfov : me = N, po(), Ht(i), T.yaw = T.pitch = T.hfov = 0, tn(), pe !== r && (n.pitch = pe), re !== r && (n.yaw = re), me !== r && (n.hfov = me), lt("scenechange", i), zn();
3386
3386
  }
3387
3387
  function Lt() {
3388
- e.removeEventListener("deviceorientation", Pn), $.orientation.classList.remove("pnlm-orientation-button-active"), H = !1;
3388
+ e.removeEventListener("deviceorientation", Sn), $.orientation.classList.remove("pnlm-orientation-button-active"), H = !1;
3389
3389
  }
3390
3390
  function Ft() {
3391
- H = 1, e.addEventListener("deviceorientation", Pn), $.orientation.classList.add("pnlm-orientation-button-active");
3391
+ H = 1, e.addEventListener("deviceorientation", Sn), $.orientation.classList.add("pnlm-orientation-button-active");
3392
3392
  }
3393
3393
  function gt(i) {
3394
3394
  return l.escapeHTML ? String(i).split(/&/g).join("&amp;").split('"').join("&quot;").split("'").join("&#39;").split("<").join("&lt;").split(">").join("&gt;").split("/").join("&#x2f;").split(`
@@ -3439,7 +3439,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3439
3439
  return u = u == r ? 1e3 : Number(u), u ? A.hfov = {
3440
3440
  startTime: Date.now(),
3441
3441
  startPosition: n.hfov,
3442
- endPosition: zn(i),
3442
+ endPosition: An(i),
3443
3443
  duration: u,
3444
3444
  callback: w,
3445
3445
  callbackArgs: N
@@ -3473,7 +3473,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3473
3473
  }, this.mouseEventToCoords = function(i) {
3474
3474
  return Be(i);
3475
3475
  }, this.loadScene = function(i, u, w, N) {
3476
- return y !== !1 && on(i, u, w, N), this;
3476
+ return y !== !1 && rn(i, u, w, N), this;
3477
3477
  }, this.getScene = function() {
3478
3478
  return n.scene;
3479
3479
  }, this.addScene = function(i, u) {
@@ -3481,7 +3481,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3481
3481
  }, this.removeScene = function(i) {
3482
3482
  return n.scene === i || !l.scenes.hasOwnProperty(i) ? !1 : (delete l.scenes[i], !0);
3483
3483
  }, this.toggleFullscreen = function() {
3484
- return rn(), this;
3484
+ return nn(), this;
3485
3485
  }, this.getConfig = function() {
3486
3486
  return n;
3487
3487
  }, this.getContainer = function() {
@@ -3496,7 +3496,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3496
3496
  else
3497
3497
  throw "Invalid scene ID!";
3498
3498
  }
3499
- return (u === r || n.scene == u) && (Nn(i), y && Rn(i)), this;
3499
+ return (u === r || n.scene == u) && (Pn(i), y && Nn(i)), this;
3500
3500
  }, this.removeHotSpot = function(i, u) {
3501
3501
  if (u === r || n.scene == u) {
3502
3502
  if (!n.hotSpots)
@@ -3545,7 +3545,7 @@ window.pannellum = /* @__PURE__ */ function(e, t, r) {
3545
3545
  X[i][X[i].length - u].apply(null, [].slice.call(arguments, 1));
3546
3546
  }
3547
3547
  this.destroy = function() {
3548
- m && m.destroy(), I && (Z.removeEventListener("mousedown", ve, !1), Z.removeEventListener("dblclick", ie, !1), t.removeEventListener("mousemove", Ne, !1), t.removeEventListener("mouseup", Ze, !1), s.removeEventListener("mousewheel", de, !1), s.removeEventListener("DOMMouseScroll", de, !1), s.removeEventListener("mozfullscreenchange", st, !1), s.removeEventListener("webkitfullscreenchange", st, !1), s.removeEventListener("msfullscreenchange", st, !1), s.removeEventListener("fullscreenchange", st, !1), e.removeEventListener("resize", Le, !1), e.removeEventListener("orientationchange", Le, !1), s.removeEventListener("keydown", fe, !1), s.removeEventListener("keyup", He, !1), s.removeEventListener("blur", ye, !1), t.removeEventListener("mouseleave", Ze, !1), Z.removeEventListener("touchstart", Je, !1), Z.removeEventListener("touchmove", Ge, !1), Z.removeEventListener("touchend", Re, !1), Z.removeEventListener("pointerdown", Ve, !1), Z.removeEventListener("pointermove", De, !1), Z.removeEventListener("pointerup", B, !1), Z.removeEventListener("pointerleave", B, !1)), s.innerHTML = "", s.classList.remove("pnlm-container"), Y.classList.remove("pnlm-grab"), Y.classList.remove("pnlm-grabbing");
3548
+ m && m.destroy(), I && (Z.removeEventListener("mousedown", ve, !1), Z.removeEventListener("dblclick", ie, !1), t.removeEventListener("mousemove", Ne, !1), t.removeEventListener("mouseup", Ge, !1), s.removeEventListener("mousewheel", de, !1), s.removeEventListener("DOMMouseScroll", de, !1), s.removeEventListener("mozfullscreenchange", st, !1), s.removeEventListener("webkitfullscreenchange", st, !1), s.removeEventListener("msfullscreenchange", st, !1), s.removeEventListener("fullscreenchange", st, !1), e.removeEventListener("resize", Le, !1), e.removeEventListener("orientationchange", Le, !1), s.removeEventListener("keydown", fe, !1), s.removeEventListener("keyup", He, !1), s.removeEventListener("blur", ye, !1), t.removeEventListener("mouseleave", Ge, !1), Z.removeEventListener("touchstart", Je, !1), Z.removeEventListener("touchmove", je, !1), Z.removeEventListener("touchend", Re, !1), Z.removeEventListener("pointerdown", We, !1), Z.removeEventListener("pointermove", De, !1), Z.removeEventListener("pointerup", B, !1), Z.removeEventListener("pointerleave", B, !1)), s.innerHTML = "", s.classList.remove("pnlm-container"), Y.classList.remove("pnlm-grab"), Y.classList.remove("pnlm-grabbing");
3549
3549
  };
3550
3550
  }
3551
3551
  return {
@@ -3559,8 +3559,8 @@ window.requestAnimationFrame || (window.requestAnimationFrame = function() {
3559
3559
  window.setTimeout(e, 1e3 / 60);
3560
3560
  };
3561
3561
  }());
3562
- var cr, ur;
3563
- function Wa(e, t) {
3562
+ var lr, cr;
3563
+ function Va(e, t) {
3564
3564
  if (!(e instanceof t))
3565
3565
  throw new TypeError("Cannot call a class as a function");
3566
3566
  }
@@ -3574,10 +3574,10 @@ function Xa(e, t) {
3574
3574
  throw new TypeError("Super expression must either be null or a function, not " + typeof t);
3575
3575
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
3576
3576
  }
3577
- var tn = (ur = cr = function(e) {
3577
+ var en = (cr = lr = function(e) {
3578
3578
  Xa(t, e);
3579
3579
  function t(r) {
3580
- Wa(this, t);
3580
+ Va(this, t);
3581
3581
  var o = Ba(this, e.call(this, r));
3582
3582
  return o.renderImage = function(s) {
3583
3583
  var l = o.props.children, f = [].concat(l), n = [];
@@ -3674,7 +3674,7 @@ var tn = (ur = cr = function(e) {
3674
3674
  width: l,
3675
3675
  height: f
3676
3676
  };
3677
- return kn.createElement("div", {
3677
+ return Mn.createElement("div", {
3678
3678
  id: this.props.id ? this.props.id : this.state.id,
3679
3679
  style: n,
3680
3680
  ref: function(h) {
@@ -3682,7 +3682,7 @@ var tn = (ur = cr = function(e) {
3682
3682
  }
3683
3683
  });
3684
3684
  }, t;
3685
- }(Kt), cr.defaultProps = {
3685
+ }(Kt), lr.defaultProps = {
3686
3686
  children: [],
3687
3687
  width: "100%",
3688
3688
  height: "400px",
@@ -3735,13 +3735,13 @@ var tn = (ur = cr = function(e) {
3735
3735
  },
3736
3736
  hotspotDebug: !1,
3737
3737
  onRender: null
3738
- }, ur);
3739
- tn.propTypes = {};
3740
- tn.Hotspot = function() {
3738
+ }, cr);
3739
+ en.propTypes = {};
3740
+ en.Hotspot = function() {
3741
3741
  };
3742
- tn.Hotspot = function() {
3742
+ en.Hotspot = function() {
3743
3743
  };
3744
- const dr = 100, Wt = 100, Bt = 50, Ya = 0, Za = 0, Ga = (e) => {
3744
+ const ur = 100, Vt = 100, Bt = 50, Ya = 0, Za = 0, Ga = (e) => {
3745
3745
  const [t, r] = Ee(0), [o, s] = Ee(!1);
3746
3746
  return ge(() => {
3747
3747
  const l = XMLHttpRequest.prototype.open, f = XMLHttpRequest.prototype.send;
@@ -3778,15 +3778,34 @@ function ja(e, t = 50, r = 200) {
3778
3778
  }, r);
3779
3779
  };
3780
3780
  }
3781
- const $a = ({
3781
+ const $a = ({ className: e }) => /* @__PURE__ */ c(
3782
+ Ye,
3783
+ {
3784
+ className: e,
3785
+ customizationKey: "UI_INTERIOR_360_PLAY",
3786
+ children: /* @__PURE__ */ c(
3787
+ "svg",
3788
+ {
3789
+ className: e,
3790
+ viewBox: "0 0 24 24",
3791
+ fill: "none",
3792
+ stroke: "currentColor",
3793
+ strokeWidth: "1.5",
3794
+ strokeLinecap: "round",
3795
+ strokeLinejoin: "round",
3796
+ children: /* @__PURE__ */ c("polygon", { points: "6 3 20 12 6 21 6 3" })
3797
+ }
3798
+ )
3799
+ }
3800
+ ), qa = ({
3782
3801
  isPannellumLoaded: e,
3783
3802
  isLoading: t,
3784
3803
  progress: r,
3785
3804
  autoloadInterior360: o,
3786
3805
  loadScene: s
3787
3806
  }) => e ? null : (o && s(), /* @__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: [
3788
- /* @__PURE__ */ c(to, { className: "size-20 text-primary-light" }),
3789
- /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", onClick: s, children: /* @__PURE__ */ c(en, { className: "size-full" }) }),
3807
+ /* @__PURE__ */ c(eo, { className: "size-20" }),
3808
+ /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", onClick: s, children: /* @__PURE__ */ c($a, { className: "size-full" }) }),
3790
3809
  /* @__PURE__ */ c(
3791
3810
  "div",
3792
3811
  {
@@ -3803,7 +3822,7 @@ const $a = ({
3803
3822
  )
3804
3823
  }
3805
3824
  )
3806
- ] }) })), qa = (e) => {
3825
+ ] }) })), Ka = (e) => {
3807
3826
  const { itemIndex: t, src: r, poster: o, onLoaded: s, onError: l } = e, { autoLoadInterior360: f } = et(), { isShowingDetails: n, setItemInteraction: m, zoom: h, isZooming: k, setZoom: d } = tt(), [p, a] = Ga(r), M = Se(null), E = Se(null), [L, _] = Ee(!1), C = q(() => {
3808
3827
  t !== void 0 && m(t, "ready"), s?.(), _(!0);
3809
3828
  }, [t, m, s]), y = q((I) => {
@@ -3816,26 +3835,26 @@ const $a = ({
3816
3835
  if (M.current && L && E.current) {
3817
3836
  const I = M.current.getViewer(), S = E.current;
3818
3837
  if (I) {
3819
- const V = (U) => {
3838
+ const W = (U) => {
3820
3839
  U.preventDefault();
3821
- const K = ar(
3840
+ const K = or(
3822
3841
  I.getHfov(),
3823
3842
  Bt,
3824
- Wt,
3843
+ Vt,
3825
3844
  bt,
3826
3845
  yt
3827
3846
  ), A = (U.deltaY < 0 ? "zoom-in" : "zoom-out") === "zoom-in" ? Math.min(K + yt, bt) : Math.max(K - yt, 1);
3828
3847
  d(A);
3829
3848
  }, T = ja(
3830
- V,
3849
+ W,
3831
3850
  100,
3832
3851
  150
3833
3852
  ), j = (U) => {
3834
3853
  U.preventDefault();
3835
- const K = ar(
3854
+ const K = or(
3836
3855
  I.getHfov(),
3837
3856
  Bt,
3838
- Wt,
3857
+ Vt,
3839
3858
  bt,
3840
3859
  yt,
3841
3860
  !0
@@ -3843,9 +3862,9 @@ const $a = ({
3843
3862
  d(K);
3844
3863
  };
3845
3864
  S.addEventListener("wheel", T), S.addEventListener("dblclick", j);
3846
- const H = Math.abs(1 - Math.abs(h)), O = Wt - Bt, D = dr - H * O;
3865
+ const H = Math.abs(1 - Math.abs(h)), O = Vt - Bt, D = ur - H * O;
3847
3866
  return I.setHfov(D), () => {
3848
- S.removeEventListener("wheel", V), S.removeEventListener("dblclick", j);
3867
+ S.removeEventListener("wheel", W), S.removeEventListener("dblclick", j);
3849
3868
  };
3850
3869
  }
3851
3870
  }
@@ -3859,7 +3878,7 @@ const $a = ({
3859
3878
  "div",
3860
3879
  {
3861
3880
  className: se(
3862
- "size-full duration-details",
3881
+ "size-full",
3863
3882
  n ? "scale-105" : "scale-100"
3864
3883
  ),
3865
3884
  children: [
@@ -3887,7 +3906,7 @@ const $a = ({
3887
3906
  }
3888
3907
  ` }),
3889
3908
  E.current && /* @__PURE__ */ c(
3890
- tn,
3909
+ en,
3891
3910
  {
3892
3911
  ref: M,
3893
3912
  id: E.current,
@@ -3898,8 +3917,8 @@ const $a = ({
3898
3917
  image: r,
3899
3918
  pitch: Ya,
3900
3919
  yaw: Za,
3901
- hfov: dr,
3902
- maxHfov: Wt,
3920
+ hfov: ur,
3921
+ maxHfov: Vt,
3903
3922
  minHfov: Bt,
3904
3923
  compass: !1,
3905
3924
  showControls: !1,
@@ -3915,7 +3934,7 @@ const $a = ({
3915
3934
  )
3916
3935
  ] }),
3917
3936
  /* @__PURE__ */ c(
3918
- $a,
3937
+ qa,
3919
3938
  {
3920
3939
  isPannellumLoaded: L,
3921
3940
  isLoading: a,
@@ -3929,25 +3948,37 @@ const $a = ({
3929
3948
  )
3930
3949
  }
3931
3950
  ) });
3932
- }, Ka = (e) => {
3951
+ }, Ja = (e) => {
3933
3952
  const { itemIndex: t } = e, { setItemInteraction: r } = tt(), [o, s] = Ee();
3934
3953
  return ge(() => {
3935
3954
  o === null || o === "error" || r(t, o === "spin" ? "running" : "ready");
3936
3955
  }, [t, r, o]), o === "error" ? /* @__PURE__ */ c(
3937
- In,
3956
+ Ln,
3938
3957
  {
3939
3958
  className: "text-background",
3940
3959
  text: "Interior Spin could not be loaded"
3941
3960
  }
3942
3961
  ) : /* @__PURE__ */ c(
3943
- qa,
3962
+ Ka,
3944
3963
  {
3945
3964
  ...e,
3946
3965
  onLoaded: () => s("spin"),
3947
3966
  onError: () => s("error")
3948
3967
  }
3949
3968
  );
3950
- }, Ja = 750, Qa = 1250, ei = 360, ti = 480, ni = ({
3969
+ }, Qa = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_360_PLAY", children: /* @__PURE__ */ c(
3970
+ "svg",
3971
+ {
3972
+ className: e,
3973
+ viewBox: "0 0 24 24",
3974
+ fill: "none",
3975
+ stroke: "currentColor",
3976
+ strokeWidth: "1.5",
3977
+ strokeLinecap: "round",
3978
+ strokeLinejoin: "round",
3979
+ children: /* @__PURE__ */ c("polygon", { points: "6 3 20 12 6 21 6 3" })
3980
+ }
3981
+ ) }), ei = 750, ti = 1250, ni = 360, ri = 480, oi = ({
3951
3982
  images: e,
3952
3983
  onlyPreload: t
3953
3984
  }) => {
@@ -3971,32 +4002,32 @@ const $a = ({
3971
4002
  h.current && (h.current = !1, k.current = setTimeout(() => {
3972
4003
  const G = Date.now(), Z = () => {
3973
4004
  const le = () => {
3974
- const Me = (Date.now() - G) / Qa, be = Math.round(((Ke) => Ke * (2 - Ke))(Me) * L), Ye = at(be % L, 0, L - 1);
3975
- E(Ye), !(be >= L) && Z();
4005
+ const Me = (Date.now() - G) / ti, be = Math.round(((Ke) => Ke * (2 - Ke))(Me) * L), Ze = at(be % L, 0, L - 1);
4006
+ E(Ze), !(be >= L) && Z();
3976
4007
  };
3977
4008
  p.current = requestAnimationFrame(le);
3978
4009
  };
3979
4010
  Z();
3980
- }, Ja));
3981
- const I = ei / L;
3982
- let S = null, V = [];
4011
+ }, ei));
4012
+ const I = ni / L;
4013
+ let S = null, W = [];
3983
4014
  const T = (G) => {
3984
- V.push(G), V.length > 20 && V.shift();
4015
+ W.push(G), W.length > 20 && W.shift();
3985
4016
  }, j = () => {
3986
4017
  const G = (() => {
3987
- const $ = Date.now(), be = V.filter(
3988
- (We) => $ - We.timestamp < 50
4018
+ const $ = Date.now(), be = W.filter(
4019
+ (Ve) => $ - Ve.timestamp < 50
3989
4020
  );
3990
4021
  if (be.length < 2)
3991
4022
  return 0;
3992
- const Ye = be[0], Ke = be[be.length - 1];
3993
- return (Ke.value - Ye.value) / (1e-3 * Math.max(Ke.timestamp - Ye.timestamp, 1));
4023
+ const Ze = be[0], Ke = be[be.length - 1];
4024
+ return (Ke.value - Ze.value) / (1e-3 * Math.max(Ke.timestamp - Ze.timestamp, 1));
3994
4025
  })(), Z = Date.now();
3995
4026
  let le = 0, P = Z;
3996
4027
  const Me = () => {
3997
4028
  const $ = () => {
3998
- const be = Date.now(), Ye = (be - Z) / 1e3, Ke = Math.pow(0.05, Ye), We = G * Ke, g = (be - P) / 1e3;
3999
- if (le += We * g, Math.abs(We) < 5 * I && Math.abs(le) < I) {
4029
+ const be = Date.now(), Ze = (be - Z) / 1e3, Ke = Math.pow(0.05, Ze), Ve = G * Ke, g = (be - P) / 1e3;
4030
+ if (le += Ve * g, Math.abs(Ve) < 5 * I && Math.abs(le) < I) {
4000
4031
  p.current = null;
4001
4032
  return;
4002
4033
  }
@@ -4012,7 +4043,7 @@ const $a = ({
4012
4043
  return;
4013
4044
  G.preventDefault(), G.stopPropagation(), H();
4014
4045
  const Z = G.clientX;
4015
- S = Z, V = [{ timestamp: Date.now(), value: Z }];
4046
+ S = Z, W = [{ timestamp: Date.now(), value: Z }];
4016
4047
  }, D = (G) => {
4017
4048
  if (S === null)
4018
4049
  return;
@@ -4025,7 +4056,7 @@ const $a = ({
4025
4056
  S !== null && (S = null, j());
4026
4057
  };
4027
4058
  y.addEventListener("mousedown", O), document.addEventListener("mousemove", D), document.addEventListener("mouseleave", U), document.addEventListener("mouseup", U), document.addEventListener("contextmenu", U);
4028
- const K = ti / L, ce = () => v.getBoundingClientRect().width, A = () => v.scrollWidth / 2 - ce() / 2, X = () => {
4059
+ const K = ri / L, ce = () => v.getBoundingClientRect().width, A = () => v.scrollWidth / 2 - ce() / 2, X = () => {
4029
4060
  const G = A();
4030
4061
  v.scrollLeft = G;
4031
4062
  };
@@ -4041,7 +4072,7 @@ const $a = ({
4041
4072
  return;
4042
4073
  H();
4043
4074
  const { identifier: Z, clientX: le } = G.changedTouches[0];
4044
- F = Z, S = le, V = [{ timestamp: Date.now(), value: le }];
4075
+ F = Z, S = le, W = [{ timestamp: Date.now(), value: le }];
4045
4076
  }, _e = (G) => {
4046
4077
  if (!S)
4047
4078
  return;
@@ -4070,7 +4101,7 @@ const $a = ({
4070
4101
  f,
4071
4102
  o,
4072
4103
  L
4073
- ]), /* @__PURE__ */ c("div", { ref: n, className: "cursor-ew-resize", children: /* @__PURE__ */ c("div", { ref: m, className: "overflow-x-scroll no-scrollbar", children: [
4104
+ ]), /* @__PURE__ */ c("div", { ref: n, className: "cursor-ew-resize", children: /* @__PURE__ */ c("div", { ref: m, className: " overflow-x-scroll", children: [
4074
4105
  /* @__PURE__ */ c("div", { className: "sticky left-0 top-0", children: [
4075
4106
  e.map((y) => /* @__PURE__ */ c(
4076
4107
  pt,
@@ -4084,8 +4115,8 @@ const $a = ({
4084
4115
  ] }),
4085
4116
  /* @__PURE__ */ c("div", { className: "pointer-events-none -mt-px h-px w-[calc(100%+1024px)]" })
4086
4117
  ] }) });
4087
- }, ri = ({ images: e, onPlaceholderImageLoaded: t, onSpinImagesLoaded: r, onError: o }) => {
4088
- const { autoLoad360: s } = et(), l = $e(() => e.map(({ src: d }) => d), [e]), [f, n] = Ee(null), m = f ? [...f.values()].filter((d) => d).length / e.length * 100 : null, h = q(() => {
4118
+ }, ai = ({ images: e, onPlaceholderImageLoaded: t, onSpinImagesLoaded: r, onError: o }) => {
4119
+ const { autoLoad360: s } = et(), l = qe(() => e.map(({ src: d }) => d), [e]), [f, n] = Ee(null), m = f ? [...f.values()].filter((d) => d).length / e.length * 100 : null, h = q(() => {
4089
4120
  m === null && n(new Map(l.map((d) => [d, !1])));
4090
4121
  }, [l, m]), k = q((d) => {
4091
4122
  n((p) => {
@@ -4117,8 +4148,8 @@ const $a = ({
4117
4148
  }
4118
4149
  ),
4119
4150
  /* @__PURE__ */ c("div", { className: "absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35", children: [
4120
- /* @__PURE__ */ c(no, { className: "size-20 text-primary-light" }),
4121
- /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", onClick: h, children: /* @__PURE__ */ c(en, { className: "size-full" }) }),
4151
+ /* @__PURE__ */ c(no, { className: "size-20" }),
4152
+ /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", onClick: h, children: /* @__PURE__ */ c(Qa, { className: "size-full" }) }),
4122
4153
  /* @__PURE__ */ c(
4123
4154
  "div",
4124
4155
  {
@@ -4137,26 +4168,26 @@ const $a = ({
4137
4168
  )
4138
4169
  ] })
4139
4170
  ] });
4140
- }, oi = (e) => {
4171
+ }, ii = (e) => {
4141
4172
  const { itemIndex: t } = e, { setItemInteraction: r } = tt(), [o, s] = Ee();
4142
4173
  return ge(() => {
4143
4174
  o === null || o === "error" || r(t, o === "spin" ? "running" : "ready");
4144
4175
  }, [t, r, o]), o === "error" ? /* @__PURE__ */ c(
4145
- In,
4176
+ Ln,
4146
4177
  {
4147
4178
  className: "text-background",
4148
4179
  text: "Spin could not be loaded"
4149
4180
  }
4150
4181
  ) : o !== "spin" ? /* @__PURE__ */ c(
4151
- ri,
4182
+ ai,
4152
4183
  {
4153
4184
  ...e,
4154
4185
  onPlaceholderImageLoaded: () => s((l) => l === null ? "placeholder" : l),
4155
4186
  onSpinImagesLoaded: () => s("spin"),
4156
4187
  onError: () => s("error")
4157
4188
  }
4158
- ) : /* @__PURE__ */ c(ni, { ...e });
4159
- }, ai = (e) => /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(en, { className: "size-full" }) }), ii = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ c(
4189
+ ) : /* @__PURE__ */ c(oi, { ...e });
4190
+ }, si = (e) => /* @__PURE__ */ c(rt, { color: "neutral", shape: "icon", ...e, children: /* @__PURE__ */ c(to, { className: "size-full" }) }), li = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ c(
4160
4191
  "svg",
4161
4192
  {
4162
4193
  className: e,
@@ -4173,7 +4204,7 @@ const $a = ({
4173
4204
  }
4174
4205
  )
4175
4206
  }
4176
- ) }), si = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_VOLUME", children: /* @__PURE__ */ c(
4207
+ ) }), ci = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_VOLUME", children: /* @__PURE__ */ c(
4177
4208
  "svg",
4178
4209
  {
4179
4210
  className: e,
@@ -4190,7 +4221,7 @@ const $a = ({
4190
4221
  }
4191
4222
  )
4192
4223
  }
4193
- ) }), li = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_VOLUME_OFF", children: /* @__PURE__ */ c(
4224
+ ) }), ui = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_VOLUME_OFF", children: /* @__PURE__ */ c(
4194
4225
  "svg",
4195
4226
  {
4196
4227
  className: e,
@@ -4207,13 +4238,13 @@ const $a = ({
4207
4238
  }
4208
4239
  )
4209
4240
  }
4210
- ) }), fr = ({ progress: e }) => /* @__PURE__ */ c("div", { className: "h-1 w-full overflow-hidden rounded-ui-sm bg-background/25", children: /* @__PURE__ */ c(
4241
+ ) }), dr = ({ progress: e }) => /* @__PURE__ */ c("div", { className: "h-1 w-full overflow-hidden rounded-ui-sm bg-background/25", children: /* @__PURE__ */ c(
4211
4242
  "div",
4212
4243
  {
4213
4244
  className: "size-full rounded-ui-sm bg-background transition-transform",
4214
4245
  style: { transform: `translateX(-${100 * (1 - e)}%)` }
4215
4246
  }
4216
- ) }), ci = 3e3, ui = ({ src: e, poster: t, itemIndex: r }) => {
4247
+ ) }), di = 3e3, fi = ({ src: e, poster: t, itemIndex: r }) => {
4217
4248
  const { carrouselItemIndex: o, setItemInteraction: s } = tt(), l = Se(null), f = Se(null), n = q(() => {
4218
4249
  if (!f.current)
4219
4250
  throw new Error("videoRef.current is null");
@@ -4259,13 +4290,13 @@ const $a = ({
4259
4290
  A.removeEventListener("volumechange", X);
4260
4291
  };
4261
4292
  }, []);
4262
- const [S, V] = Ee(null), T = S ? S.currentTime / S.duration : 0;
4293
+ const [S, W] = Ee(null), T = S ? S.currentTime / S.duration : 0;
4263
4294
  ge(() => {
4264
4295
  const A = f.current;
4265
4296
  if (!A) return;
4266
4297
  const X = () => {
4267
4298
  const te = A.currentTime, F = A.duration;
4268
- isNaN(te) || isNaN(F) || V({
4299
+ isNaN(te) || isNaN(F) || W({
4269
4300
  currentTime: te,
4270
4301
  duration: F
4271
4302
  });
@@ -4286,7 +4317,7 @@ const $a = ({
4286
4317
  ), ce = q(() => {
4287
4318
  K(), U.current = setTimeout(() => {
4288
4319
  D(!1);
4289
- }, ci);
4320
+ }, di);
4290
4321
  }, [K]);
4291
4322
  return ge(() => {
4292
4323
  const A = l.current, X = f.current;
@@ -4350,7 +4381,7 @@ const $a = ({
4350
4381
  variant: "ghost",
4351
4382
  color: "neutral",
4352
4383
  onClick: h,
4353
- children: /* @__PURE__ */ c(ii, { className: "size-full" })
4384
+ children: /* @__PURE__ */ c(li, { className: "size-full" })
4354
4385
  }
4355
4386
  ),
4356
4387
  S && /* @__PURE__ */ c("span", { className: "text-sm", children: [
@@ -4372,7 +4403,7 @@ const $a = ({
4372
4403
  {
4373
4404
  className: `w-12 cursor-pointer py-1 opacity-0 transition-opacity ${C.isMuted ? "group-hover/volume:opacity-50" : "group-hover/volume:opacity-100"}`,
4374
4405
  onClick: v,
4375
- children: /* @__PURE__ */ c(fr, { progress: C.volume })
4406
+ children: /* @__PURE__ */ c(dr, { progress: C.volume })
4376
4407
  }
4377
4408
  ),
4378
4409
  /* @__PURE__ */ c(
@@ -4380,7 +4411,7 @@ const $a = ({
4380
4411
  {
4381
4412
  className: "size-5 cursor-pointer",
4382
4413
  onClick: () => I(!C.isMuted),
4383
- children: C.isMuted ? /* @__PURE__ */ c(li, { className: "size-full" }) : /* @__PURE__ */ c(si, { className: "size-full" })
4414
+ children: C.isMuted ? /* @__PURE__ */ c(ui, { className: "size-full" }) : /* @__PURE__ */ c(ci, { className: "size-full" })
4384
4415
  }
4385
4416
  )
4386
4417
  ]
@@ -4392,7 +4423,7 @@ const $a = ({
4392
4423
  {
4393
4424
  className: "cursor-pointer py-1",
4394
4425
  onClick: j,
4395
- children: /* @__PURE__ */ c(fr, { progress: T })
4426
+ children: /* @__PURE__ */ c(dr, { progress: T })
4396
4427
  }
4397
4428
  )
4398
4429
  ]
@@ -4402,18 +4433,18 @@ const $a = ({
4402
4433
  "div",
4403
4434
  {
4404
4435
  className: "pointer-events-none absolute inset-0 flex items-center justify-center bg-foreground/25",
4405
- children: /* @__PURE__ */ c(Qr, { size: "lg", color: "background" })
4436
+ children: /* @__PURE__ */ c(Jr, { size: "lg", color: "background" })
4406
4437
  }
4407
4438
  )
4408
4439
  ] }) : /* @__PURE__ */ c(
4409
4440
  "div",
4410
4441
  {
4411
4442
  className: "absolute inset-0 flex items-center justify-center bg-foreground/25",
4412
- children: /* @__PURE__ */ c(ai, { onClick: m })
4443
+ children: /* @__PURE__ */ c(si, { onClick: m })
4413
4444
  }
4414
4445
  )
4415
4446
  ] });
4416
- }, di = ({ index: e, item: t, isShown: r }) => {
4447
+ }, pi = ({ index: e, item: t, isShown: r }) => {
4417
4448
  const { type: o } = t;
4418
4449
  let s;
4419
4450
  switch (o) {
@@ -4421,14 +4452,14 @@ const $a = ({
4421
4452
  s = /* @__PURE__ */ c(io, { itemIndex: e, onlyPreload: !r, ...t });
4422
4453
  break;
4423
4454
  case "video":
4424
- s = /* @__PURE__ */ c(ui, { itemIndex: e, ...t });
4455
+ s = /* @__PURE__ */ c(fi, { itemIndex: e, ...t });
4425
4456
  break;
4426
4457
  case "360":
4427
- s = /* @__PURE__ */ c(oi, { itemIndex: e, onlyPreload: !r, ...t });
4458
+ s = /* @__PURE__ */ c(ii, { itemIndex: e, onlyPreload: !r, ...t });
4428
4459
  break;
4429
4460
  case "interior-360":
4430
4461
  s = /* @__PURE__ */ c(
4431
- Ka,
4462
+ Ja,
4432
4463
  {
4433
4464
  itemIndex: e,
4434
4465
  onlyPreload: !r,
@@ -4440,7 +4471,7 @@ const $a = ({
4440
4471
  s = /* @__PURE__ */ c(Oa, { itemIndex: e, ...t });
4441
4472
  }
4442
4473
  return s = /* @__PURE__ */ c("div", { className: "grid grid-cols-[repeat(var(--max-items),1fr)]", children: s }), s;
4443
- }, fi = (e) => {
4474
+ }, hi = (e) => {
4444
4475
  ge(() => {
4445
4476
  const t = (r) => {
4446
4477
  r.key === "Escape" && e();
@@ -4450,10 +4481,10 @@ const $a = ({
4450
4481
  };
4451
4482
  }, [e]);
4452
4483
  };
4453
- function pi(e) {
4484
+ function mi(e) {
4454
4485
  return e.target === e.currentTarget;
4455
4486
  }
4456
- const hi = ({
4487
+ const gi = ({
4457
4488
  className: e,
4458
4489
  children: t,
4459
4490
  isVisible: r,
@@ -4647,29 +4678,29 @@ const hi = ({
4647
4678
  )
4648
4679
  }
4649
4680
  );
4650
- }, mi = ({ currentIndex: e, maxIndex: t }) => /* @__PURE__ */ c("div", { className: "space-x-0.5 rounded-ui bg-foreground/40 px-1.5 py-0.5 text-xs text-background/75 transition-radius small:space-x-1 small:px-2 small:py-1 small:text-sm", children: [
4681
+ }, vi = ({ currentIndex: e, maxIndex: t }) => /* @__PURE__ */ c("div", { className: "space-x-0.5 rounded-ui bg-foreground/40 px-1.5 py-0.5 text-xs text-background/75 transition-radius small:space-x-1 small:px-2 small:py-1 small:text-sm", children: [
4651
4682
  /* @__PURE__ */ c("span", { children: e + 1 }),
4652
4683
  /* @__PURE__ */ c("span", { children: "/" }),
4653
4684
  /* @__PURE__ */ c("span", { children: t + 1 })
4654
- ] }), pr = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_ARROW_RIGHT", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4685
+ ] }), fr = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_ARROW_RIGHT", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4655
4686
  "path",
4656
4687
  {
4657
4688
  d: "M4.07666 13.4868L5.25666 14.6668L11.9233 8.00016L5.25666 1.3335L4.07666 2.5135L9.56333 8.00016L4.07666 13.4868Z",
4658
4689
  fill: "currentColor"
4659
4690
  }
4660
- ) }) }), gi = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_EXTEND", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4691
+ ) }) }), wi = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_EXTEND", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4661
4692
  "path",
4662
4693
  {
4663
4694
  d: "M4.66683 9.3335H3.3335V12.6668H6.66683V11.3335H4.66683V9.3335ZM3.3335 6.66683H4.66683V4.66683H6.66683V3.3335H3.3335V6.66683ZM11.3335 11.3335H9.3335V12.6668H12.6668V9.3335H11.3335V11.3335ZM9.3335 3.3335V4.66683H11.3335V6.66683H12.6668V3.3335H9.3335Z",
4664
4695
  fill: "currentColor"
4665
4696
  }
4666
- ) }) }), vi = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_GALLERY", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4697
+ ) }) }), _i = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_GALLERY", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4667
4698
  "path",
4668
4699
  {
4669
4700
  d: "M13.3334 2.66683V10.6668H5.33337V2.66683H13.3334ZM13.3334 1.3335H5.33337C4.60004 1.3335 4.00004 1.9335 4.00004 2.66683V10.6668C4.00004 11.4002 4.60004 12.0002 5.33337 12.0002H13.3334C14.0667 12.0002 14.6667 11.4002 14.6667 10.6668V2.66683C14.6667 1.9335 14.0667 1.3335 13.3334 1.3335ZM7.66671 7.78016L8.79337 9.28683L10.4467 7.22016L12.6667 10.0002H6.00004L7.66671 7.78016ZM1.33337 4.00016V13.3335C1.33337 14.0668 1.93337 14.6668 2.66671 14.6668H12V13.3335H2.66671V4.00016H1.33337Z",
4670
4701
  fill: "currentColor"
4671
4702
  }
4672
- ) }) }), wi = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_HOTSPOTS", children: /* @__PURE__ */ c(
4703
+ ) }) }), bi = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_HOTSPOTS", children: /* @__PURE__ */ c(
4673
4704
  "svg",
4674
4705
  {
4675
4706
  className: e,
@@ -4689,7 +4720,7 @@ const hi = ({
4689
4720
  /* @__PURE__ */ c("defs", { children: /* @__PURE__ */ c("clipPath", { id: "clip0_418_982", children: /* @__PURE__ */ c("rect", { width: "12", height: "12", fill: "white" }) }) })
4690
4721
  ]
4691
4722
  }
4692
- ) }), _i = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_MINUS", children: /* @__PURE__ */ c(
4723
+ ) }), xi = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_MINUS", children: /* @__PURE__ */ c(
4693
4724
  "svg",
4694
4725
  {
4695
4726
  className: e,
@@ -4706,7 +4737,7 @@ const hi = ({
4706
4737
  }
4707
4738
  )
4708
4739
  }
4709
- ) }), bi = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_PLUS", children: /* @__PURE__ */ c(
4740
+ ) }), yi = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_PLUS", children: /* @__PURE__ */ c(
4710
4741
  "svg",
4711
4742
  {
4712
4743
  className: e,
@@ -4723,13 +4754,13 @@ const hi = ({
4723
4754
  }
4724
4755
  )
4725
4756
  }
4726
- ) }), xi = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_REDUCE", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4757
+ ) }), Ci = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_REDUCE", children: /* @__PURE__ */ c("svg", { className: e, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ c(
4727
4758
  "path",
4728
4759
  {
4729
4760
  d: "M3.33325 10.6668H5.33325V12.6668H6.66659V9.3335H3.33325V10.6668ZM5.33325 5.3335H3.33325V6.66683H6.66659V3.3335H5.33325V5.3335ZM9.33325 12.6668H10.6666V10.6668H12.6666V9.3335H9.33325V12.6668ZM10.6666 5.3335V3.3335H9.33325V6.66683H12.6666V5.3335H10.6666Z",
4730
4761
  fill: "currentColor"
4731
4762
  }
4732
- ) }) }), yi = ({
4763
+ ) }) }), Ei = ({
4733
4764
  enabled: e,
4734
4765
  onToggle: t,
4735
4766
  label: r,
@@ -4774,7 +4805,7 @@ const hi = ({
4774
4805
  )
4775
4806
  ]
4776
4807
  }
4777
- ), Ci = ({ className: e }) => /* @__PURE__ */ c(qe, { className: e, customizationKey: "UI_BURGER", children: /* @__PURE__ */ c(
4808
+ ), Mi = ({ className: e }) => /* @__PURE__ */ c(Ye, { className: e, customizationKey: "UI_BURGER", children: /* @__PURE__ */ c(
4778
4809
  "svg",
4779
4810
  {
4780
4811
  className: e,
@@ -4791,7 +4822,7 @@ const hi = ({
4791
4822
  }
4792
4823
  )
4793
4824
  }
4794
- ) }), Ei = ({ sharedClassName: e }) => {
4825
+ ) }), ki = ({ sharedClassName: e }) => {
4795
4826
  const { categories: t } = mt(), { displayedCategoryId: r, changeCategory: o } = tt(), [s, l] = Ee(!1), f = () => {
4796
4827
  l(!s);
4797
4828
  }, n = () => {
@@ -4820,7 +4851,7 @@ const hi = ({
4820
4851
  shape: "icon",
4821
4852
  color: s ? "primary" : "neutral",
4822
4853
  onClick: f,
4823
- children: /* @__PURE__ */ c(Ci, {})
4854
+ children: /* @__PURE__ */ c(Mi, {})
4824
4855
  }
4825
4856
  ),
4826
4857
  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: m, title: h }) => /* @__PURE__ */ c(
@@ -4845,7 +4876,7 @@ const hi = ({
4845
4876
  {
4846
4877
  className: se(
4847
4878
  e,
4848
- Jr("top"),
4879
+ Kr("top"),
4849
4880
  "w-full overflow-x-auto max-small:hidden"
4850
4881
  ),
4851
4882
  children: /* @__PURE__ */ c("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: t.map(({ id: m, title: h }) => /* @__PURE__ */ c(
@@ -4860,7 +4891,7 @@ const hi = ({
4860
4891
  }
4861
4892
  )
4862
4893
  ] });
4863
- }, Mi = () => {
4894
+ }, Li = () => {
4864
4895
  const {
4865
4896
  hideCategoriesNav: e,
4866
4897
  infiniteCarrousel: t,
@@ -4887,7 +4918,7 @@ const hi = ({
4887
4918
  toggleGallery: v,
4888
4919
  extendMode: I,
4889
4920
  toggleExtendMode: S,
4890
- shownDetails: V,
4921
+ shownDetails: W,
4891
4922
  isShowingDetails: T,
4892
4923
  resetShownDetails: j,
4893
4924
  showZoomControls: H,
@@ -4899,11 +4930,11 @@ const hi = ({
4899
4930
  resetView: A
4900
4931
  } = tt(), X = q(
4901
4932
  (_e) => {
4902
- pi(_e) && j();
4933
+ mi(_e) && j();
4903
4934
  },
4904
4935
  [j]
4905
4936
  );
4906
- fi(j);
4937
+ hi(j);
4907
4938
  const te = "absolute z-overlay", F = () => {
4908
4939
  if (s === 1) return d;
4909
4940
  const Y = Math.floor(s) - 1;
@@ -4915,7 +4946,7 @@ const hi = ({
4915
4946
  };
4916
4947
  return /* @__PURE__ */ c(Xe, { children: [
4917
4948
  !e && m > 1 && /* @__PURE__ */ c(
4918
- Ei,
4949
+ ki,
4919
4950
  {
4920
4951
  sharedClassName: se(
4921
4952
  te,
@@ -4925,7 +4956,7 @@ const hi = ({
4925
4956
  }
4926
4957
  ),
4927
4958
  k && !O && /* @__PURE__ */ c("div", { className: se(te, xt("top-right")), children: /* @__PURE__ */ c(
4928
- mi,
4959
+ vi,
4929
4960
  {
4930
4961
  currentIndex: !f || l ? d : F(),
4931
4962
  maxIndex: h - 1
@@ -4944,7 +4975,7 @@ const hi = ({
4944
4975
  ),
4945
4976
  onClick: a,
4946
4977
  disabled: !t && p <= 0,
4947
- children: /* @__PURE__ */ c(qe, { customizationKey: "CONTROLS_PREV", children: /* @__PURE__ */ c(pr, { className: "size-full -scale-x-100" }) })
4978
+ children: /* @__PURE__ */ c(Ye, { customizationKey: "CONTROLS_PREV", children: /* @__PURE__ */ c(fr, { className: "size-full -scale-x-100" }) })
4948
4979
  }
4949
4980
  ),
4950
4981
  /* @__PURE__ */ c(
@@ -4959,7 +4990,7 @@ const hi = ({
4959
4990
  ),
4960
4991
  onClick: M,
4961
4992
  disabled: !t && J() >= h - 1,
4962
- children: /* @__PURE__ */ c(qe, { customizationKey: "CONTROLS_NEXT", children: /* @__PURE__ */ c(pr, { className: "size-full" }) })
4993
+ children: /* @__PURE__ */ c(Ye, { customizationKey: "CONTROLS_NEXT", children: /* @__PURE__ */ c(fr, { className: "size-full" }) })
4963
4994
  }
4964
4995
  )
4965
4996
  ] }),
@@ -4981,7 +5012,7 @@ const hi = ({
4981
5012
  color: y ? "primary" : "neutral",
4982
5013
  shape: "icon",
4983
5014
  onClick: v,
4984
- children: /* @__PURE__ */ c(vi, { className: "size-full" })
5015
+ children: /* @__PURE__ */ c(_i, { className: "size-full" })
4985
5016
  }
4986
5017
  ),
4987
5018
  y && /* @__PURE__ */ c(
@@ -4999,7 +5030,7 @@ const hi = ({
4999
5030
  ] }),
5000
5031
  /* @__PURE__ */ c("div", { className: "col-start-3 flex flex-col items-end gap-y-1 small:gap-y-2", children: [
5001
5032
  L && /* @__PURE__ */ c(
5002
- yi,
5033
+ Ei,
5003
5034
  {
5004
5035
  className: se(
5005
5036
  "transition-opacity",
@@ -5007,7 +5038,7 @@ const hi = ({
5007
5038
  ),
5008
5039
  enabled: _,
5009
5040
  onToggle: C,
5010
- children: /* @__PURE__ */ c(wi, { className: "size-full" })
5041
+ children: /* @__PURE__ */ c(bi, { className: "size-full" })
5011
5042
  }
5012
5043
  ),
5013
5044
  H && (!f || l) && /* @__PURE__ */ c("div", { className: "max-small:hidden", children: [
@@ -5019,7 +5050,7 @@ const hi = ({
5019
5050
  shape: "icon",
5020
5051
  disabled: !D,
5021
5052
  onClick: U,
5022
- children: /* @__PURE__ */ c(bi, { className: "size-full" })
5053
+ children: /* @__PURE__ */ c(yi, { className: "size-full" })
5023
5054
  }
5024
5055
  ),
5025
5056
  /* @__PURE__ */ c(ro, { color: "background" }),
@@ -5031,7 +5062,7 @@ const hi = ({
5031
5062
  shape: "icon",
5032
5063
  disabled: !K,
5033
5064
  onClick: ce,
5034
- children: /* @__PURE__ */ c(_i, { className: "size-full" })
5065
+ children: /* @__PURE__ */ c(xi, { className: "size-full" })
5035
5066
  }
5036
5067
  )
5037
5068
  ] }),
@@ -5042,7 +5073,7 @@ const hi = ({
5042
5073
  color: I ? "primary" : "neutral",
5043
5074
  shape: "icon",
5044
5075
  onClick: S,
5045
- children: I ? /* @__PURE__ */ c(xi, { className: "size-full" }) : /* @__PURE__ */ c(gi, { className: "size-full" })
5076
+ children: I ? /* @__PURE__ */ c(Ci, { className: "size-full" }) : /* @__PURE__ */ c(wi, { className: "size-full" })
5046
5077
  }
5047
5078
  )
5048
5079
  ] })
@@ -5050,19 +5081,19 @@ const hi = ({
5050
5081
  }
5051
5082
  ),
5052
5083
  /* @__PURE__ */ c(
5053
- hi,
5084
+ gi,
5054
5085
  {
5055
5086
  isVisible: T,
5056
5087
  className: te,
5057
- url: V?.src,
5058
- title: V?.title,
5059
- description: V?.text,
5088
+ url: W?.src,
5089
+ title: W?.title,
5090
+ description: W?.text,
5060
5091
  clickHandler: X,
5061
5092
  extendMode: I,
5062
5093
  maxItemsShown: s,
5063
5094
  aspectRatioStyle: n,
5064
5095
  children: /* @__PURE__ */ c(
5065
- gn,
5096
+ mn,
5066
5097
  {
5067
5098
  className: "absolute right-2 top-2 z-10",
5068
5099
  onClick: j
@@ -5071,14 +5102,14 @@ const hi = ({
5071
5102
  }
5072
5103
  ),
5073
5104
  O && /* @__PURE__ */ c(
5074
- gn,
5105
+ mn,
5075
5106
  {
5076
5107
  className: se(te, xt("top-right")),
5077
5108
  onClick: A
5078
5109
  }
5079
5110
  )
5080
5111
  ] });
5081
- }, ki = ({ className: e = "" }) => {
5112
+ }, Ii = ({ className: e = "" }) => {
5082
5113
  const {
5083
5114
  infiniteCarrousel: t,
5084
5115
  preloadRange: r,
@@ -5097,11 +5128,11 @@ const hi = ({
5097
5128
  finishSpecialCommand: E,
5098
5129
  extendMode: L,
5099
5130
  extendTransition: _
5100
- } = tt(), { effectiveMaxItemsShown: C } = Gr(), y = Se(null), v = q((F) => {
5131
+ } = tt(), { effectiveMaxItemsShown: C } = Zr(), y = Se(null), v = q((F) => {
5101
5132
  if (!y.current)
5102
5133
  throw new Error(`[${F ?? "sliderOrThrow"}] slider.current is null`);
5103
5134
  return y.current;
5104
- }, []), I = Se(!1), S = Se(null), V = Se(null), T = Se(null), j = q(() => {
5135
+ }, []), I = Se(!1), S = Se(null), W = Se(null), T = Se(null), j = q(() => {
5105
5136
  T.current && cancelAnimationFrame(T.current);
5106
5137
  }, []), H = q(() => {
5107
5138
  const F = v("computeClosestSnapIndex"), J = Array.from(F.children), _e = F.scrollLeft;
@@ -5152,16 +5183,16 @@ const hi = ({
5152
5183
  });
5153
5184
  }, be = () => {
5154
5185
  $(le), D("mandatory"), _e?.();
5155
- }, Ye = Math.abs(Z - le);
5156
- if (Ye < 1 || J === "instant") {
5186
+ }, Ze = Math.abs(Z - le);
5187
+ if (Ze < 1 || J === "instant") {
5157
5188
  be();
5158
5189
  return;
5159
5190
  }
5160
- const Ke = at(Ye / 2.5, 300, 1e3), We = (/* @__PURE__ */ new Date()).getTime();
5191
+ const Ke = at(Ze / 2.5, 300, 1e3), Ve = (/* @__PURE__ */ new Date()).getTime();
5161
5192
  D("none");
5162
5193
  const g = () => {
5163
5194
  const b = () => {
5164
- const oe = (/* @__PURE__ */ new Date()).getTime() - We;
5195
+ const oe = (/* @__PURE__ */ new Date()).getTime() - Ve;
5165
5196
  if (oe >= Ke) {
5166
5197
  be();
5167
5198
  return;
@@ -5188,7 +5219,7 @@ const hi = ({
5188
5219
  clearTimeout(K);
5189
5220
  const J = setTimeout(() => {
5190
5221
  ce(void 0);
5191
- }, Zr);
5222
+ }, Yr);
5192
5223
  ce(J);
5193
5224
  };
5194
5225
  return addEventListener("resize", F), document.addEventListener("fullscreenchange", F), () => {
@@ -5220,7 +5251,7 @@ const hi = ({
5220
5251
  return;
5221
5252
  O("grab"), D("mandatory");
5222
5253
  const J = (G) => {
5223
- G.button === 0 && (G.preventDefault(), G.stopPropagation(), j(), I.current = !0, S.current = G.pageX - F.offsetLeft, V.current = F.scrollLeft, O("grabbing"));
5254
+ G.button === 0 && (G.preventDefault(), G.stopPropagation(), j(), I.current = !0, S.current = G.pageX - F.offsetLeft, W.current = F.scrollLeft, O("grabbing"));
5224
5255
  }, _e = (G) => {
5225
5256
  if (!I.current)
5226
5257
  return;
@@ -5229,9 +5260,9 @@ const hi = ({
5229
5260
  D("none");
5230
5261
  const le = G.pageX - F.offsetLeft - S.current;
5231
5262
  requestAnimationFrame(() => {
5232
- if (V.current === null)
5263
+ if (W.current === null)
5233
5264
  throw new Error("[onMouseMove] scrollLeft is null");
5234
- let P = V.current - le;
5265
+ let P = W.current - le;
5235
5266
  if (!t) {
5236
5267
  const Me = F.scrollWidth - F.clientWidth;
5237
5268
  P > Me && (P = Me);
@@ -5313,7 +5344,7 @@ const hi = ({
5313
5344
  t,
5314
5345
  l
5315
5346
  ]);
5316
- const X = $e(() => !l || o ? f : { aspectRatio: "auto" }, [l, o, f]), te = $e(
5347
+ const X = qe(() => !l || o ? f : { aspectRatio: "auto" }, [l, o, f]), te = qe(
5317
5348
  () => ({
5318
5349
  ...f,
5319
5350
  minWidth: `${100 / C}%`,
@@ -5386,7 +5417,7 @@ const hi = ({
5386
5417
  // Give high-ground to the shown item (to avoid 1px vertical line)
5387
5418
  ),
5388
5419
  style: { ...te, ...Z },
5389
- children: Me && /* @__PURE__ */ c(di, { index: J, item: F, isShown: _e })
5420
+ children: Me && /* @__PURE__ */ c(pi, { index: J, item: F, isShown: _e })
5390
5421
  },
5391
5422
  $
5392
5423
  );
@@ -5402,11 +5433,11 @@ const hi = ({
5402
5433
  ]
5403
5434
  }
5404
5435
  ),
5405
- /* @__PURE__ */ c(Mi, {})
5436
+ /* @__PURE__ */ c(Li, {})
5406
5437
  ]
5407
5438
  }
5408
5439
  );
5409
- }, Li = () => {
5440
+ }, Ti = () => {
5410
5441
  const { permanentGallery: e, integration: t } = et(), { aspectRatioStyle: r } = mt(), {
5411
5442
  prevItem: o,
5412
5443
  nextItem: s,
@@ -5472,7 +5503,7 @@ const hi = ({
5472
5503
  n && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
5473
5504
  ),
5474
5505
  style: t ? {} : r,
5475
- children: /* @__PURE__ */ c(ki, { className: se(n && "h-full min-w-0") })
5506
+ children: /* @__PURE__ */ c(Ii, { className: se(n && "h-full min-w-0") })
5476
5507
  }
5477
5508
  ),
5478
5509
  e && /* @__PURE__ */ c(oo, { className: se(n && "my-2 shrink-0 small:my-4") })
@@ -5480,7 +5511,7 @@ const hi = ({
5480
5511
  }
5481
5512
  ),
5482
5513
  n && /* @__PURE__ */ c(
5483
- gn,
5514
+ mn,
5484
5515
  {
5485
5516
  className: "absolute right-2 top-2 small:right-4 small:top-4",
5486
5517
  onClick: m
@@ -5489,7 +5520,7 @@ const hi = ({
5489
5520
  ]
5490
5521
  }
5491
5522
  );
5492
- }, Ii = () => {
5523
+ }, Si = () => {
5493
5524
  const { emitEvent: e, compositionUrl: t } = et(), {
5494
5525
  data: r,
5495
5526
  status: o,
@@ -5499,20 +5530,20 @@ const hi = ({
5499
5530
  return ge(() => {
5500
5531
  l ? e(_o, l) : o === "fetching" ? e(vo, t) : s && e(wo, r);
5501
5532
  }, [r, t, e, l, s, o]), l ? /* @__PURE__ */ c(
5502
- In,
5533
+ Ln,
5503
5534
  {
5504
5535
  className: "aspect-square text-foreground/70",
5505
5536
  text: "Player could not be loaded"
5506
5537
  }
5507
- ) : s ? /* @__PURE__ */ c(_a, { composition: r, children: /* @__PURE__ */ c(ya, { children: /* @__PURE__ */ c(Li, {}) }) }) : /* @__PURE__ */ c("div", { className: "flex aspect-square size-full flex-col items-center justify-center gap-y-4", children: [
5538
+ ) : s ? /* @__PURE__ */ c(_a, { composition: r, children: /* @__PURE__ */ c(ya, { children: /* @__PURE__ */ c(Ti, {}) }) }) : /* @__PURE__ */ c("div", { className: "flex aspect-square size-full flex-col items-center justify-center gap-y-4", children: [
5508
5539
  /* @__PURE__ */ c("div", { className: "animate-pulse text-xl", children: "Loading Player" }),
5509
- /* @__PURE__ */ c(Qr, { color: "foreground" })
5540
+ /* @__PURE__ */ c(Jr, { color: "foreground" })
5510
5541
  ] });
5511
- }, Ti = {
5542
+ }, Pi = {
5512
5543
  hideCategoriesNav: !0,
5513
5544
  infiniteCarrousel: !1,
5514
5545
  permanentGallery: !1
5515
- }, Si = [1, 1.5, 2, 2.5], Pi = ({
5546
+ }, Ni = [1, 1.5, 2, 2.5], Ri = ({
5516
5547
  compositionUrl: e,
5517
5548
  integration: t = !1,
5518
5549
  maxItemsShown: r = 1,
@@ -5535,9 +5566,9 @@ const hi = ({
5535
5566
  }) => {
5536
5567
  r = ba(
5537
5568
  r,
5538
- Si
5569
+ Ni
5539
5570
  );
5540
- const C = Se(null), [y, v] = Ee(0.5), [I, S] = Ee(!1), V = q(
5571
+ const C = Se(null), [y, v] = Ee(0.5), [I, S] = Ee(!1), W = q(
5541
5572
  (H, O) => {
5542
5573
  const D = M + H, U = new CustomEvent(D, { detail: O });
5543
5574
  document.dispatchEvent(U);
@@ -5610,12 +5641,12 @@ const hi = ({
5610
5641
  extendBehavior: a,
5611
5642
  demoSpin: E,
5612
5643
  reverse360: L,
5613
- emitEvent: V,
5644
+ emitEvent: W,
5614
5645
  playerInViewportWidthRatio: y,
5615
5646
  isFullScreen: I,
5616
5647
  requestFullscreen: T,
5617
5648
  exitFullscreen: j,
5618
- ...t ? Ti : {},
5649
+ ...t ? Pi : {},
5619
5650
  children: /* @__PURE__ */ c(xa, { children: [
5620
5651
  /* @__PURE__ */ c(
5621
5652
  "div",
@@ -5634,14 +5665,14 @@ const hi = ({
5634
5665
  "--radius-carrousel": "var(--cc-webplayer-radius-carrousel, 0)",
5635
5666
  "--radius-gallery": "var(--cc-webplayer-radius-gallery, 0)"
5636
5667
  },
5637
- children: /* @__PURE__ */ c(Ii, {})
5668
+ children: /* @__PURE__ */ c(Si, {})
5638
5669
  }
5639
5670
  ),
5640
5671
  _
5641
5672
  ] })
5642
5673
  }
5643
5674
  );
5644
- }, Ni = ({ children: e, index: t, thumbnailSrc: r }) => {
5675
+ }, Ai = ({ children: e, index: t, thumbnailSrc: r }) => {
5645
5676
  const { registerCustomMedia: o, unregisterCustomMedia: s } = Dt();
5646
5677
  return ge(() => {
5647
5678
  if (!e)
@@ -5655,7 +5686,7 @@ const hi = ({
5655
5686
  s(l);
5656
5687
  };
5657
5688
  }, [e, s, t, o, r]), null;
5658
- }, Ri = (e) => Ln() ? /* @__PURE__ */ c(Ni, { ...e }) : /* @__PURE__ */ c("slot", {}), Ai = ({ name: e, children: t }) => {
5689
+ }, zi = (e) => kn() ? /* @__PURE__ */ c(Ai, { ...e }) : /* @__PURE__ */ c("slot", {}), Di = ({ name: e, children: t }) => {
5659
5690
  const { registerIconConfig: r, unregisterIconConfig: o } = Dt();
5660
5691
  return ge(() => {
5661
5692
  if (t)
@@ -5665,27 +5696,27 @@ const hi = ({
5665
5696
  o(e);
5666
5697
  };
5667
5698
  }, [t, e, r, o]), null;
5668
- }, zi = (e) => Ln() ? /* @__PURE__ */ c(Ai, { ...e }) : /* @__PURE__ */ c("slot", {}), Di = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-bottom-1{bottom:-4px}.-left-1{left:-4px}.-right-1{right:-4px}.-top-1{top:-4px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.right-1{right:4px}.right-2{right:8px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-40{max-width:160px}.max-w-\\[1600px\\]{max-width:1600px}.max-w-\\[60\\%\\]{max-width:60%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.text-pretty{text-wrap:pretty}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-4{padding-right:16px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[10px\\]{font-size:10px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary-light{color:hsl(var(--primary-light))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-48{max-width:192px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-8{padding-left:32px}.small\\:pr-6{padding-right:24px}.small\\:text-base{font-size:16px;line-height:24px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media (min-width: 1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-56{max-width:224px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-base{font-size:16px;line-height:24px}.large\\:text-lg{font-size:18px;line-height:28px}}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;
5669
- function Hi(e) {
5699
+ }, Hi = (e) => kn() ? /* @__PURE__ */ c(Di, { ...e }) : /* @__PURE__ */ c("slot", {}), Oi = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-bottom-1{bottom:-4px}.-left-1{left:-4px}.-right-1{right:-4px}.-top-1{top:-4px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.right-1{right:4px}.right-2{right:8px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-40{max-width:160px}.max-w-\\[1600px\\]{max-width:1600px}.max-w-\\[60\\%\\]{max-width:60%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.text-pretty{text-wrap:pretty}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-4{padding-right:16px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[10px\\]{font-size:10px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-48{max-width:192px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-8{padding-left:32px}.small\\:pr-6{padding-right:24px}.small\\:text-base{font-size:16px;line-height:24px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media (min-width: 1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-56{max-width:224px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-base{font-size:16px;line-height:24px}.large\\:text-lg{font-size:18px;line-height:28px}}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;
5700
+ function Fi(e) {
5670
5701
  return e.replace(
5671
5702
  /([a-z0-9])([A-Z])/g,
5672
5703
  (t, r, o) => `${r}-${o.toLowerCase()}`
5673
5704
  );
5674
5705
  }
5675
- function Tn(e) {
5706
+ function In(e) {
5676
5707
  return Object.entries(e).reduce((t, [r, o]) => {
5677
5708
  if (o !== void 0) {
5678
- const s = Hi(r);
5709
+ const s = Fi(r);
5679
5710
  t[s] = o.toString();
5680
5711
  }
5681
5712
  return t;
5682
5713
  }, {});
5683
5714
  }
5684
- const Oi = (e) => /* @__PURE__ */ c(Xe, { children: [
5685
- /* @__PURE__ */ c("style", { children: Di }),
5686
- /* @__PURE__ */ c(Pi, { ...e })
5687
- ] }), rs = (e) => Tn(e), os = (e) => Tn(e), as = (e) => Tn(e);
5688
- function Fi(e) {
5715
+ const Ui = (e) => /* @__PURE__ */ c(Xe, { children: [
5716
+ /* @__PURE__ */ c("style", { children: Oi }),
5717
+ /* @__PURE__ */ c(Ri, { ...e })
5718
+ ] }), as = (e) => In(e), is = (e) => In(e), ss = (e) => In(e);
5719
+ function Wi(e) {
5689
5720
  return {
5690
5721
  // eslint-disable-next-line
5691
5722
  render: function(t) {
@@ -5693,21 +5724,21 @@ function Fi(e) {
5693
5724
  },
5694
5725
  // eslint-disable-next-line
5695
5726
  unmount: function() {
5696
- Br(e);
5727
+ Vr(e);
5697
5728
  }
5698
5729
  };
5699
5730
  }
5700
- var Ui = Object.defineProperty, Vi = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t, r) => (Vi(e, typeof t != "symbol" ? t + "" : t, r), r);
5701
- const Wi = {
5731
+ var Vi = Object.defineProperty, Bi = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t, r) => (Bi(e, typeof t != "symbol" ? t + "" : t, r), r);
5732
+ const Xi = {
5702
5733
  stringify: (e) => e,
5703
5734
  parse: (e) => e
5704
- }, Bi = {
5735
+ }, Yi = {
5705
5736
  stringify: (e) => `${e}`,
5706
5737
  parse: (e) => parseFloat(e)
5707
- }, Xi = {
5738
+ }, Zi = {
5708
5739
  stringify: (e) => e ? "true" : "false",
5709
5740
  parse: (e) => /^[ty1-9]/i.test(e)
5710
- }, Yi = {
5741
+ }, Gi = {
5711
5742
  stringify: (e) => e.name,
5712
5743
  parse: (e, t, r) => {
5713
5744
  const o = (() => {
@@ -5718,30 +5749,30 @@ const Wi = {
5718
5749
  })();
5719
5750
  return typeof o == "function" ? o.bind(r) : void 0;
5720
5751
  }
5721
- }, Zi = {
5752
+ }, ji = {
5722
5753
  stringify: (e) => JSON.stringify(e),
5723
5754
  parse: (e) => JSON.parse(e)
5724
- }, un = {
5725
- string: Wi,
5726
- number: Bi,
5727
- boolean: Xi,
5728
- function: Yi,
5729
- json: Zi
5755
+ }, cn = {
5756
+ string: Xi,
5757
+ number: Yi,
5758
+ boolean: Zi,
5759
+ function: Gi,
5760
+ json: ji
5730
5761
  };
5731
- function Gi(e) {
5762
+ function $i(e) {
5732
5763
  return e.replace(
5733
5764
  /([a-z0-9])([A-Z])/g,
5734
5765
  (t, r, o) => `${r}-${o.toLowerCase()}`
5735
5766
  );
5736
5767
  }
5737
5768
  const Yt = Symbol.for("r2wc.render"), Zt = Symbol.for("r2wc.connected"), wt = Symbol.for("r2wc.context"), ft = Symbol.for("r2wc.props");
5738
- function ji(e, t, r) {
5769
+ function qi(e, t, r) {
5739
5770
  var o, s, l;
5740
5771
  t.props || (t.props = e.propTypes ? Object.keys(e.propTypes) : []);
5741
5772
  const f = Array.isArray(t.props) ? t.props.slice() : Object.keys(t.props), n = {}, m = {}, h = {};
5742
5773
  for (const d of f) {
5743
5774
  n[d] = Array.isArray(t.props) ? "string" : t.props[d];
5744
- const p = Gi(d);
5775
+ const p = $i(d);
5745
5776
  m[d] = p, h[p] = d;
5746
5777
  }
5747
5778
  class k extends HTMLElement {
@@ -5750,7 +5781,7 @@ function ji(e, t, r) {
5750
5781
  mode: t.shadow
5751
5782
  }) : this.container = this, this[ft].container = this.container;
5752
5783
  for (const p of f) {
5753
- const a = m[p], M = this.getAttribute(a), E = n[p], L = E ? un[E] : null;
5784
+ const a = m[p], M = this.getAttribute(a), E = n[p], L = E ? cn[E] : null;
5754
5785
  L != null && L.parse && M && (this[ft][p] = L.parse(M, a, this));
5755
5786
  }
5756
5787
  }
@@ -5764,7 +5795,7 @@ function ji(e, t, r) {
5764
5795
  this[Zt] = !1, this[wt] && r.unmount(this[wt]), delete this[wt];
5765
5796
  }
5766
5797
  attributeChangedCallback(p, a, M) {
5767
- const E = h[p], L = n[E], _ = L ? un[L] : null;
5798
+ const E = h[p], L = n[E], _ = L ? cn[L] : null;
5768
5799
  E in n && _ != null && _.parse && M && (this[ft][E] = _.parse(M, p, this), this[Yt]());
5769
5800
  }
5770
5801
  [(o = Zt, s = wt, l = ft, Yt)]() {
@@ -5785,7 +5816,7 @@ function ji(e, t, r) {
5785
5816
  },
5786
5817
  set(M) {
5787
5818
  this[ft][d] = M;
5788
- const E = a ? un[a] : null;
5819
+ const E = a ? cn[a] : null;
5789
5820
  if (E != null && E.stringify) {
5790
5821
  const L = E.stringify(M, p, this);
5791
5822
  this.getAttribute(p) !== L && this.setAttribute(p, L);
@@ -5796,26 +5827,26 @@ function ji(e, t, r) {
5796
5827
  }
5797
5828
  return k;
5798
5829
  }
5799
- function $i(e, t, r) {
5800
- const o = Fi(e), s = kn.createElement(t, r);
5830
+ function Ki(e, t, r) {
5831
+ const o = Wi(e), s = Mn.createElement(t, r);
5801
5832
  return o.render(s), {
5802
5833
  root: o,
5803
5834
  ReactComponent: t
5804
5835
  };
5805
5836
  }
5806
- function qi({ root: e, ReactComponent: t }, r) {
5807
- const o = kn.createElement(t, r);
5837
+ function Ji({ root: e, ReactComponent: t }, r) {
5838
+ const o = Mn.createElement(t, r);
5808
5839
  e.render(o);
5809
5840
  }
5810
- function Ki({ root: e }) {
5841
+ function Qi({ root: e }) {
5811
5842
  setTimeout(() => {
5812
5843
  e.unmount();
5813
5844
  }, 0);
5814
5845
  }
5815
- function Sn(e, t = {}) {
5816
- return ji(e, t, { mount: $i, update: qi, unmount: Ki });
5846
+ function Tn(e, t = {}) {
5847
+ return qi(e, t, { mount: Ki, update: Ji, unmount: Qi });
5817
5848
  }
5818
- const Ji = Sn(Oi, {
5849
+ const es = Tn(Ui, {
5819
5850
  shadow: "closed",
5820
5851
  props: {
5821
5852
  compositionUrl: "string",
@@ -5839,26 +5870,26 @@ const Ji = Sn(Oi, {
5839
5870
  demoSpin: "boolean",
5840
5871
  reverse360: "boolean"
5841
5872
  }
5842
- }), Qi = Sn(Ri, {
5873
+ }), ts = Tn(zi, {
5843
5874
  shadow: "closed",
5844
5875
  props: {
5845
5876
  index: "number",
5846
5877
  thumbnailSrc: "string"
5847
5878
  }
5848
- }), es = Sn(zi, {
5879
+ }), ns = Tn(Hi, {
5849
5880
  shadow: "closed",
5850
5881
  props: {
5851
5882
  name: "string"
5852
5883
  }
5853
5884
  });
5854
- function ts() {
5855
- customElements.define(Jt, Ji), customElements.define(
5856
- vn,
5857
- Qi
5858
- ), customElements.define(wn, es);
5885
+ function rs() {
5886
+ customElements.define(Jt, es), customElements.define(
5887
+ gn,
5888
+ ts
5889
+ ), customElements.define(vn, ns);
5859
5890
  }
5860
- function is() {
5861
- So() || ts();
5891
+ function ls() {
5892
+ So() || rs();
5862
5893
  }
5863
5894
  export {
5864
5895
  Io as DEFAULT_EVENT_PREFIX,
@@ -5869,16 +5900,16 @@ export {
5869
5900
  xo as EVENT_EXTEND_MODE_ON,
5870
5901
  Eo as EVENT_GALLERY_CLOSE,
5871
5902
  Co as EVENT_GALLERY_OPEN,
5872
- Fn as EVENT_HOTSPOTS_OFF,
5873
- On as EVENT_HOTSPOTS_ON,
5903
+ On as EVENT_HOTSPOTS_OFF,
5904
+ Hn as EVENT_HOTSPOTS_ON,
5874
5905
  bo as EVENT_ITEM_CHANGE,
5875
- vn as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
5876
- wn as WEB_PLAYER_ICON_WC_TAG,
5906
+ gn as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
5907
+ vn as WEB_PLAYER_ICON_WC_TAG,
5877
5908
  Jt as WEB_PLAYER_WC_TAG,
5878
5909
  So as checkCustomElementsDefinition,
5879
- is as ensureCustomElementsDefinition,
5880
- ns as generateCompositionUrl,
5881
- os as webPlayerCustomMediaPropsToAttributes,
5882
- as as webPlayerIconPropsToAttributes,
5883
- rs as webPlayerPropsToAttributes
5910
+ ls as ensureCustomElementsDefinition,
5911
+ os as generateCompositionUrl,
5912
+ is as webPlayerCustomMediaPropsToAttributes,
5913
+ ss as webPlayerIconPropsToAttributes,
5914
+ as as webPlayerPropsToAttributes
5884
5915
  };