@ysolve/ocity-heritage-visualizer 1.0.4 → 1.0.5

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.
@@ -1,4 +1,4 @@
1
- import { jsxs as V, jsx as w, Fragment as We } from "react/jsx-runtime";
1
+ import { jsxs as W, jsx as w, Fragment as We } from "react/jsx-runtime";
2
2
  import { useState as C, useRef as F, useEffect as j } from "react";
3
3
  const zt = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_DEBUG_MODE: "false", VITE_DEFAULT_IMAGE_URL: "https://o-city.org/assets/NO_AVAILABLE_IMG-4d02b370.png", VITE_ELEVENLABS_API_BASE: "https://api.elevenlabs.io/v1", VITE_ELEVENLABS_API_KEY: "sk_fcf711f6cba8630638aef7a7e1802559a1e9d029461b55cf", VITE_GOOGLE_TRANSLATE_BASE: "https://translate.googleapis.com/translate_a/single", VITE_IMAGE_BASE_URL: "https://eu2.contabostorage.com/7fb97413b6c243adb4347dafa02551a9:ocity/heritage/images/" };
4
4
  function re(e, t = !0) {
@@ -33,10 +33,10 @@ function lt(e, t) {
33
33
  return e.apply(t, arguments);
34
34
  };
35
35
  }
36
- const { toString: Jt } = Object.prototype, { getPrototypeOf: Fe } = Object, { iterator: ye, toStringTag: ut } = Symbol, Ee = /* @__PURE__ */ ((e) => (t) => {
36
+ const { toString: Jt } = Object.prototype, { getPrototypeOf: Fe } = Object, { iterator: we, toStringTag: ut } = Symbol, ye = /* @__PURE__ */ ((e) => (t) => {
37
37
  const n = Jt.call(t);
38
38
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
39
- })(/* @__PURE__ */ Object.create(null)), M = (e) => (e = e.toLowerCase(), (t) => Ee(t) === e), be = (e) => (t) => typeof t === e, { isArray: ee } = Array, ae = be("undefined");
39
+ })(/* @__PURE__ */ Object.create(null)), M = (e) => (e = e.toLowerCase(), (t) => ye(t) === e), Ee = (e) => (t) => typeof t === e, { isArray: ee } = Array, ae = Ee("undefined");
40
40
  function Gt(e) {
41
41
  return e !== null && !ae(e) && e.constructor !== null && !ae(e.constructor) && P(e.constructor.isBuffer) && e.constructor.isBuffer(e);
42
42
  }
@@ -45,14 +45,14 @@ function Wt(e) {
45
45
  let t;
46
46
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && dt(e.buffer), t;
47
47
  }
48
- const Kt = be("string"), P = be("function"), ft = be("number"), _e = (e) => e !== null && typeof e == "object", Xt = (e) => e === !0 || e === !1, pe = (e) => {
49
- if (Ee(e) !== "object")
48
+ const Kt = Ee("string"), P = Ee("function"), ft = Ee("number"), be = (e) => e !== null && typeof e == "object", Xt = (e) => e === !0 || e === !1, fe = (e) => {
49
+ if (ye(e) !== "object")
50
50
  return !1;
51
51
  const t = Fe(e);
52
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ut in e) && !(ye in e);
53
- }, Zt = M("Date"), Yt = M("File"), Qt = M("Blob"), en = M("FileList"), tn = (e) => _e(e) && P(e.pipe), nn = (e) => {
52
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ut in e) && !(we in e);
53
+ }, Zt = M("Date"), Yt = M("File"), Qt = M("Blob"), en = M("FileList"), tn = (e) => be(e) && P(e.pipe), nn = (e) => {
54
54
  let t;
55
- return e && (typeof FormData == "function" && e instanceof FormData || P(e.append) && ((t = Ee(e)) === "formdata" || // detect form-data instance
55
+ return e && (typeof FormData == "function" && e instanceof FormData || P(e.append) && ((t = ye(e)) === "formdata" || // detect form-data instance
56
56
  t === "object" && P(e.toString) && e.toString() === "[object FormData]"));
57
57
  }, rn = M("URLSearchParams"), [sn, on, an, cn] = ["ReadableStream", "Request", "Response", "Headers"].map(M), ln = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
58
58
  function ce(e, t, { allOwnKeys: n = !1 } = {}) {
@@ -79,10 +79,10 @@ function pt(e, t) {
79
79
  return null;
80
80
  }
81
81
  const X = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ht = (e) => !ae(e) && e !== X;
82
- function Ne() {
82
+ function Be() {
83
83
  const { caseless: e } = ht(this) && this || {}, t = {}, n = (r, s) => {
84
84
  const i = e && pt(t, s) || s;
85
- pe(t[i]) && pe(r) ? t[i] = Ne(t[i], r) : pe(r) ? t[i] = Ne({}, r) : ee(r) ? t[i] = r.slice() : t[i] = r;
85
+ fe(t[i]) && fe(r) ? t[i] = Be(t[i], r) : fe(r) ? t[i] = Be({}, r) : ee(r) ? t[i] = r.slice() : t[i] = r;
86
86
  };
87
87
  for (let r = 0, s = arguments.length; r < s; r++)
88
88
  arguments[r] && ce(arguments[r], n);
@@ -118,7 +118,7 @@ const un = (e, t, n, { allOwnKeys: r } = {}) => (ce(t, (s, i) => {
118
118
  n[t] = e[t];
119
119
  return n;
120
120
  }, gn = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Fe(Uint8Array)), wn = (e, t) => {
121
- const r = (e && e[ye]).call(e);
121
+ const r = (e && e[we]).call(e);
122
122
  let s;
123
123
  for (; (s = r.next()) && !s.done; ) {
124
124
  const i = s.value;
@@ -166,11 +166,11 @@ const un = (e, t, n, { allOwnKeys: r } = {}) => (ce(t, (s, i) => {
166
166
  }, Tn = () => {
167
167
  }, An = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
168
168
  function On(e) {
169
- return !!(e && P(e.append) && e[ut] === "FormData" && e[ye]);
169
+ return !!(e && P(e.append) && e[ut] === "FormData" && e[we]);
170
170
  }
171
171
  const xn = (e) => {
172
172
  const t = new Array(10), n = (r, s) => {
173
- if (_e(r)) {
173
+ if (be(r)) {
174
174
  if (t.indexOf(r) >= 0)
175
175
  return;
176
176
  if (!("toJSON" in r)) {
@@ -185,14 +185,14 @@ const xn = (e) => {
185
185
  return r;
186
186
  };
187
187
  return n(e, 0);
188
- }, Ln = M("AsyncFunction"), Cn = (e) => e && (_e(e) || P(e)) && P(e.then) && P(e.catch), gt = ((e, t) => e ? setImmediate : t ? ((n, r) => (X.addEventListener("message", ({ source: s, data: i }) => {
188
+ }, Ln = M("AsyncFunction"), Cn = (e) => e && (be(e) || P(e)) && P(e.then) && P(e.catch), gt = ((e, t) => e ? setImmediate : t ? ((n, r) => (X.addEventListener("message", ({ source: s, data: i }) => {
189
189
  s === X && i === n && r.length && r.shift()();
190
190
  }, !1), (s) => {
191
191
  r.push(s), X.postMessage(n, "*");
192
192
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
193
193
  typeof setImmediate == "function",
194
194
  P(X.postMessage)
195
- ), kn = typeof queueMicrotask < "u" ? queueMicrotask.bind(X) : typeof process < "u" && process.nextTick || gt, Nn = (e) => e != null && P(e[ye]), a = {
195
+ ), kn = typeof queueMicrotask < "u" ? queueMicrotask.bind(X) : typeof process < "u" && process.nextTick || gt, Bn = (e) => e != null && P(e[we]), a = {
196
196
  isArray: ee,
197
197
  isArrayBuffer: dt,
198
198
  isBuffer: Gt,
@@ -201,8 +201,8 @@ const xn = (e) => {
201
201
  isString: Kt,
202
202
  isNumber: ft,
203
203
  isBoolean: Xt,
204
- isObject: _e,
205
- isPlainObject: pe,
204
+ isObject: be,
205
+ isPlainObject: fe,
206
206
  isReadableStream: sn,
207
207
  isRequest: on,
208
208
  isResponse: an,
@@ -218,13 +218,13 @@ const xn = (e) => {
218
218
  isTypedArray: gn,
219
219
  isFileList: en,
220
220
  forEach: ce,
221
- merge: Ne,
221
+ merge: Be,
222
222
  extend: un,
223
223
  trim: ln,
224
224
  stripBOM: dn,
225
225
  inherits: fn,
226
226
  toFlatObject: pn,
227
- kindOf: Ee,
227
+ kindOf: ye,
228
228
  kindOfTest: M,
229
229
  endsWith: hn,
230
230
  toArray: mn,
@@ -249,7 +249,7 @@ const xn = (e) => {
249
249
  isThenable: Cn,
250
250
  setImmediate: gt,
251
251
  asap: kn,
252
- isIterable: Nn
252
+ isIterable: Bn
253
253
  };
254
254
  function g(e, t, n, r, s) {
255
255
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
@@ -301,8 +301,8 @@ g.from = (e, t, n, r, s, i) => {
301
301
  return l !== Error.prototype;
302
302
  }, (c) => c !== "isAxiosError"), g.call(o, e.message, t, n, r, s), o.cause = e, o.name = e.name, i && Object.assign(o, i), o;
303
303
  };
304
- const Bn = null;
305
- function Be(e) {
304
+ const Nn = null;
305
+ function Ne(e) {
306
306
  return a.isPlainObject(e) || a.isArray(e);
307
307
  }
308
308
  function Et(e) {
@@ -314,12 +314,12 @@ function Xe(e, t, n) {
314
314
  }).join(n ? "." : "") : t;
315
315
  }
316
316
  function vn(e) {
317
- return a.isArray(e) && !e.some(Be);
317
+ return a.isArray(e) && !e.some(Ne);
318
318
  }
319
319
  const Pn = a.toFlatObject(a, {}, null, function(t) {
320
320
  return /^is[A-Z]/.test(t);
321
321
  });
322
- function Se(e, t, n) {
322
+ function _e(e, t, n) {
323
323
  if (!a.isObject(e))
324
324
  throw new TypeError("target must be an object");
325
325
  t = t || new FormData(), n = a.toFlatObject(n, {
@@ -356,12 +356,12 @@ function Se(e, t, n) {
356
356
  );
357
357
  }), !1;
358
358
  }
359
- return Be(f) ? !0 : (t.append(Xe(h, m, i), u(f)), !1);
359
+ return Ne(f) ? !0 : (t.append(Xe(h, m, i), u(f)), !1);
360
360
  }
361
361
  const p = [], y = Object.assign(Pn, {
362
362
  defaultVisitor: d,
363
363
  convertValue: u,
364
- isVisitable: Be
364
+ isVisitable: Ne
365
365
  });
366
366
  function E(f, m) {
367
367
  if (!a.isUndefined(f)) {
@@ -397,7 +397,7 @@ function Ze(e) {
397
397
  });
398
398
  }
399
399
  function De(e, t) {
400
- this._pairs = [], e && Se(e, this, t);
400
+ this._pairs = [], e && _e(e, this, t);
401
401
  }
402
402
  const bt = De.prototype;
403
403
  bt.append = function(t, n) {
@@ -503,14 +503,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", $n
503
503
  hasStandardBrowserWebWorkerEnv: qn,
504
504
  navigator: ve,
505
505
  origin: $n
506
- }, Symbol.toStringTag, { value: "Module" })), N = {
506
+ }, Symbol.toStringTag, { value: "Module" })), B = {
507
507
  ...Hn,
508
508
  ...jn
509
509
  };
510
510
  function zn(e, t) {
511
- return Se(e, new N.classes.URLSearchParams(), Object.assign({
511
+ return _e(e, new B.classes.URLSearchParams(), Object.assign({
512
512
  visitor: function(n, r, s, i) {
513
- return N.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
513
+ return B.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
514
514
  }
515
515
  }, t));
516
516
  }
@@ -570,7 +570,7 @@ const le = {
570
570
  return zn(t, this.formSerializer).toString();
571
571
  if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
572
572
  const l = this.env && this.env.FormData;
573
- return Se(
573
+ return _e(
574
574
  c ? { "files[]": t } : t,
575
575
  l && new l(),
576
576
  this.formSerializer
@@ -604,8 +604,8 @@ const le = {
604
604
  maxContentLength: -1,
605
605
  maxBodyLength: -1,
606
606
  env: {
607
- FormData: N.classes.FormData,
608
- Blob: N.classes.Blob
607
+ FormData: B.classes.FormData,
608
+ Blob: B.classes.Blob
609
609
  },
610
610
  validateStatus: function(t) {
611
611
  return t >= 200 && t < 300;
@@ -649,8 +649,8 @@ const Wn = a.toObjectSet([
649
649
  function se(e) {
650
650
  return e && String(e).trim().toLowerCase();
651
651
  }
652
- function he(e) {
653
- return e === !1 || e == null ? e : a.isArray(e) ? e.map(he) : String(e);
652
+ function pe(e) {
653
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map(pe) : String(e);
654
654
  }
655
655
  function Xn(e) {
656
656
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -695,7 +695,7 @@ let U = class {
695
695
  if (!d)
696
696
  throw new Error("header name must be a non-empty string");
697
697
  const p = a.findKey(s, d);
698
- (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || l] = he(c));
698
+ (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || l] = pe(c));
699
699
  }
700
700
  const o = (c, l) => a.forEach(c, (u, d) => i(u, d, l));
701
701
  if (a.isPlainObject(t) || t instanceof this.constructor)
@@ -763,11 +763,11 @@ let U = class {
763
763
  return a.forEach(this, (s, i) => {
764
764
  const o = a.findKey(r, i);
765
765
  if (o) {
766
- n[o] = he(s), delete n[i];
766
+ n[o] = pe(s), delete n[i];
767
767
  return;
768
768
  }
769
769
  const c = t ? Yn(i) : String(i).trim();
770
- c !== i && delete n[i], n[c] = he(s), r[c] = !0;
770
+ c !== i && delete n[i], n[c] = pe(s), r[c] = !0;
771
771
  }), this;
772
772
  }
773
773
  concat(...t) {
@@ -879,7 +879,7 @@ function nr(e, t) {
879
879
  }, r - p)));
880
880
  }, () => s && o(s)];
881
881
  }
882
- const ge = (e, t, n = 3) => {
882
+ const me = (e, t, n = 3) => {
883
883
  let r = 0;
884
884
  const s = tr(50, 250);
885
885
  return nr((i) => {
@@ -905,10 +905,10 @@ const ge = (e, t, n = 3) => {
905
905
  total: e,
906
906
  loaded: r
907
907
  }), t[1]];
908
- }, tt = (e) => (...t) => a.asap(() => e(...t)), rr = N.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, N.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
909
- new URL(N.origin),
910
- N.navigator && /(msie|trident)/i.test(N.navigator.userAgent)
911
- ) : () => !0, sr = N.hasStandardBrowserEnv ? (
908
+ }, tt = (e) => (...t) => a.asap(() => e(...t)), rr = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, B.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
909
+ new URL(B.origin),
910
+ B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
911
+ ) : () => !0, sr = B.hasStandardBrowserEnv ? (
912
912
  // Standard browser envs support document.cookie
913
913
  {
914
914
  write(e, t, n, r, s, i) {
@@ -1019,14 +1019,14 @@ const xt = (e) => {
1019
1019
  );
1020
1020
  let l;
1021
1021
  if (a.isFormData(n)) {
1022
- if (N.hasStandardBrowserEnv || N.hasStandardBrowserWebWorkerEnv)
1022
+ if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
1023
1023
  o.setContentType(void 0);
1024
1024
  else if ((l = o.getContentType()) !== !1) {
1025
1025
  const [u, ...d] = l ? l.split(";").map((p) => p.trim()).filter(Boolean) : [];
1026
1026
  o.setContentType([u || "multipart/form-data", ...d].join("; "));
1027
1027
  }
1028
1028
  }
1029
- if (N.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && rr(t.url))) {
1029
+ if (B.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && rr(t.url))) {
1030
1030
  const u = s && i && sr.read(i);
1031
1031
  u && o.set(s, u);
1032
1032
  }
@@ -1078,11 +1078,11 @@ const xt = (e) => {
1078
1078
  )), h = null;
1079
1079
  }, i === void 0 && o.setContentType(null), "setRequestHeader" in h && a.forEach(o.toJSON(), function(k, O) {
1080
1080
  h.setRequestHeader(O, k);
1081
- }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([y, f] = ge(u, !0), h.addEventListener("progress", y)), l && h.upload && ([p, E] = ge(l), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", E)), (s.cancelToken || s.signal) && (d = (S) => {
1081
+ }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([y, f] = me(u, !0), h.addEventListener("progress", y)), l && h.upload && ([p, E] = me(l), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", E)), (s.cancelToken || s.signal) && (d = (S) => {
1082
1082
  h && (r(!S || S.type ? new te(null, e, h) : S), h.abort(), h = null);
1083
1083
  }, s.cancelToken && s.cancelToken.subscribe(d), s.signal && (s.signal.aborted ? d() : s.signal.addEventListener("abort", d)));
1084
1084
  const R = er(s.url);
1085
- if (R && N.protocols.indexOf(R) === -1) {
1085
+ if (R && B.protocols.indexOf(R) === -1) {
1086
1086
  r(new g("Unsupported protocol " + R + ":", g.ERR_BAD_REQUEST, e));
1087
1087
  return;
1088
1088
  }
@@ -1168,7 +1168,7 @@ const xt = (e) => {
1168
1168
  }, {
1169
1169
  highWaterMark: 2
1170
1170
  });
1171
- }, Re = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Lt = Re && typeof ReadableStream == "function", pr = Re && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ct = (e, ...t) => {
1171
+ }, Se = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Lt = Se && typeof ReadableStream == "function", pr = Se && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ct = (e, ...t) => {
1172
1172
  try {
1173
1173
  return !!e(...t);
1174
1174
  } catch {
@@ -1176,7 +1176,7 @@ const xt = (e) => {
1176
1176
  }
1177
1177
  }, hr = Lt && Ct(() => {
1178
1178
  let e = !1;
1179
- const t = new Request(N.origin, {
1179
+ const t = new Request(B.origin, {
1180
1180
  body: new ReadableStream(),
1181
1181
  method: "POST",
1182
1182
  get duplex() {
@@ -1184,12 +1184,12 @@ const xt = (e) => {
1184
1184
  }
1185
1185
  }).headers.has("Content-Type");
1186
1186
  return e && !t;
1187
- }), st = 64 * 1024, Pe = Lt && Ct(() => a.isReadableStream(new Response("").body)), we = {
1187
+ }), st = 64 * 1024, Pe = Lt && Ct(() => a.isReadableStream(new Response("").body)), ge = {
1188
1188
  stream: Pe && ((e) => e.body)
1189
1189
  };
1190
- Re && ((e) => {
1190
+ Se && ((e) => {
1191
1191
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
1192
- !we[t] && (we[t] = a.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
1192
+ !ge[t] && (ge[t] = a.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
1193
1193
  throw new g(`Response type '${t}' is not supported`, g.ERR_NOT_SUPPORT, r);
1194
1194
  });
1195
1195
  });
@@ -1200,7 +1200,7 @@ const mr = async (e) => {
1200
1200
  if (a.isBlob(e))
1201
1201
  return e.size;
1202
1202
  if (a.isSpecCompliantForm(e))
1203
- return (await new Request(N.origin, {
1203
+ return (await new Request(B.origin, {
1204
1204
  method: "POST",
1205
1205
  body: e
1206
1206
  }).arrayBuffer()).byteLength;
@@ -1211,7 +1211,7 @@ const mr = async (e) => {
1211
1211
  }, gr = async (e, t) => {
1212
1212
  const n = a.toFiniteNumber(e.getContentLength());
1213
1213
  return n ?? mr(t);
1214
- }, wr = Re && (async (e) => {
1214
+ }, wr = Se && (async (e) => {
1215
1215
  let {
1216
1216
  url: t,
1217
1217
  method: n,
@@ -1238,11 +1238,11 @@ const mr = async (e) => {
1238
1238
  method: "POST",
1239
1239
  body: r,
1240
1240
  duplex: "half"
1241
- }), B;
1242
- if (a.isFormData(r) && (B = O.headers.get("content-type")) && d.setContentType(B), O.body) {
1241
+ }), N;
1242
+ if (a.isFormData(r) && (N = O.headers.get("content-type")) && d.setContentType(N), O.body) {
1243
1243
  const [D, b] = et(
1244
1244
  h,
1245
- ge(tt(l))
1245
+ me(tt(l))
1246
1246
  );
1247
1247
  r = rt(O.body, st, D, b);
1248
1248
  }
@@ -1262,12 +1262,12 @@ const mr = async (e) => {
1262
1262
  const S = Pe && (u === "stream" || u === "response");
1263
1263
  if (Pe && (c || S && m)) {
1264
1264
  const O = {};
1265
- ["status", "statusText", "headers"].forEach((A) => {
1266
- O[A] = R[A];
1265
+ ["status", "statusText", "headers"].forEach((T) => {
1266
+ O[T] = R[T];
1267
1267
  });
1268
- const B = a.toFiniteNumber(R.headers.get("content-length")), [D, b] = c && et(
1269
- B,
1270
- ge(tt(c), !0)
1268
+ const N = a.toFiniteNumber(R.headers.get("content-length")), [D, b] = c && et(
1269
+ N,
1270
+ me(tt(c), !0)
1271
1271
  ) || [];
1272
1272
  R = new Response(
1273
1273
  rt(R.body, st, D, () => {
@@ -1277,9 +1277,9 @@ const mr = async (e) => {
1277
1277
  );
1278
1278
  }
1279
1279
  u = u || "text";
1280
- let k = await we[a.findKey(we, u) || "text"](R, e);
1281
- return !S && m && m(), await new Promise((O, B) => {
1282
- At(O, B, {
1280
+ let k = await ge[a.findKey(ge, u) || "text"](R, e);
1281
+ return !S && m && m(), await new Promise((O, N) => {
1282
+ At(O, N, {
1283
1283
  data: k,
1284
1284
  headers: U.from(R.headers),
1285
1285
  status: R.status,
@@ -1297,7 +1297,7 @@ const mr = async (e) => {
1297
1297
  ) : g.from(_, _ && _.code, e, f);
1298
1298
  }
1299
1299
  }), Ue = {
1300
- http: Bn,
1300
+ http: Nn,
1301
1301
  xhr: cr,
1302
1302
  fetch: wr
1303
1303
  };
@@ -1363,16 +1363,16 @@ function it(e) {
1363
1363
  ), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
1364
1364
  });
1365
1365
  }
1366
- const Nt = "1.10.0", Te = {};
1366
+ const Bt = "1.10.0", Re = {};
1367
1367
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1368
- Te[e] = function(r) {
1368
+ Re[e] = function(r) {
1369
1369
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1370
1370
  };
1371
1371
  });
1372
1372
  const at = {};
1373
- Te.transitional = function(t, n, r) {
1373
+ Re.transitional = function(t, n, r) {
1374
1374
  function s(i, o) {
1375
- return "[Axios v" + Nt + "] Transitional option '" + i + "'" + o + (r ? ". " + r : "");
1375
+ return "[Axios v" + Bt + "] Transitional option '" + i + "'" + o + (r ? ". " + r : "");
1376
1376
  }
1377
1377
  return (i, o, c) => {
1378
1378
  if (t === !1)
@@ -1388,7 +1388,7 @@ Te.transitional = function(t, n, r) {
1388
1388
  )), t ? t(i, o, c) : !0;
1389
1389
  };
1390
1390
  };
1391
- Te.spelling = function(t) {
1391
+ Re.spelling = function(t) {
1392
1392
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1393
1393
  };
1394
1394
  function Er(e, t, n) {
@@ -1408,10 +1408,10 @@ function Er(e, t, n) {
1408
1408
  throw new g("Unknown option " + i, g.ERR_BAD_OPTION);
1409
1409
  }
1410
1410
  }
1411
- const me = {
1411
+ const he = {
1412
1412
  assertOptions: Er,
1413
- validators: Te
1414
- }, $ = me.validators;
1413
+ validators: Re
1414
+ }, $ = he.validators;
1415
1415
  let Z = class {
1416
1416
  constructor(t) {
1417
1417
  this.defaults = t || {}, this.interceptors = {
@@ -1447,16 +1447,16 @@ let Z = class {
1447
1447
  _request(t, n) {
1448
1448
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Y(this.defaults, n);
1449
1449
  const { transitional: r, paramsSerializer: s, headers: i } = n;
1450
- r !== void 0 && me.assertOptions(r, {
1450
+ r !== void 0 && he.assertOptions(r, {
1451
1451
  silentJSONParsing: $.transitional($.boolean),
1452
1452
  forcedJSONParsing: $.transitional($.boolean),
1453
1453
  clarifyTimeoutError: $.transitional($.boolean)
1454
1454
  }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1455
1455
  serialize: s
1456
- } : me.assertOptions(s, {
1456
+ } : he.assertOptions(s, {
1457
1457
  encode: $.function,
1458
1458
  serialize: $.function
1459
- }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), me.assertOptions(n, {
1459
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), he.assertOptions(n, {
1460
1460
  baseUrl: $.spelling("baseURL"),
1461
1461
  withXsrfToken: $.spelling("withXSRFToken")
1462
1462
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1536,7 +1536,7 @@ a.forEach(["post", "put", "patch"], function(t) {
1536
1536
  }
1537
1537
  Z.prototype[t] = n(), Z.prototype[t + "Form"] = n(!0);
1538
1538
  });
1539
- let br = class Bt {
1539
+ let br = class Nt {
1540
1540
  constructor(t) {
1541
1541
  if (typeof t != "function")
1542
1542
  throw new TypeError("executor must be a function.");
@@ -1602,7 +1602,7 @@ let br = class Bt {
1602
1602
  static source() {
1603
1603
  let t;
1604
1604
  return {
1605
- token: new Bt(function(s) {
1605
+ token: new Nt(function(s) {
1606
1606
  t = s;
1607
1607
  }),
1608
1608
  cancel: t
@@ -1696,8 +1696,8 @@ x.Axios = Z;
1696
1696
  x.CanceledError = te;
1697
1697
  x.CancelToken = br;
1698
1698
  x.isCancel = Tt;
1699
- x.VERSION = Nt;
1700
- x.toFormData = Se;
1699
+ x.VERSION = Bt;
1700
+ x.toFormData = _e;
1701
1701
  x.AxiosError = g;
1702
1702
  x.Cancel = x.CanceledError;
1703
1703
  x.all = function(t) {
@@ -1724,8 +1724,8 @@ const {
1724
1724
  spread: Ls,
1725
1725
  toFormData: Cs,
1726
1726
  AxiosHeaders: ks,
1727
- HttpStatusCode: Ns,
1728
- formToJSON: Bs,
1727
+ HttpStatusCode: Bs,
1728
+ formToJSON: Ns,
1729
1729
  getAdapter: vs,
1730
1730
  mergeConfig: Ps
1731
1731
  } = x;
@@ -1779,14 +1779,14 @@ function Lr(e) {
1779
1779
  }, [r]);
1780
1780
  const E = (b) => {
1781
1781
  if (e.avatars.length <= 1) return 0;
1782
- const A = e.avatars.length, q = 100 / A;
1783
- return Math.min(Math.floor(b / q), A - 1);
1782
+ const T = e.avatars.length, q = 100 / T;
1783
+ return Math.min(Math.floor(b / q), T - 1);
1784
1784
  }, f = () => {
1785
1785
  u.current && (clearInterval(u.current), u.current = null);
1786
1786
  }, m = () => {
1787
1787
  l.current && (u.current = setInterval(() => {
1788
1788
  if (l.current && l.current.duration) {
1789
- const b = l.current.currentTime, A = l.current.duration, q = b / A * 100;
1789
+ const b = l.current.currentTime, T = l.current.duration, q = b / T * 100;
1790
1790
  n((Q) => ({
1791
1791
  ...Q,
1792
1792
  progress: Math.min(q, 100),
@@ -1796,8 +1796,8 @@ function Lr(e) {
1796
1796
  }, 100));
1797
1797
  }, h = () => {
1798
1798
  var b;
1799
- l.current && !t.isPaused && (l.current.pause(), f(), n((A) => ({
1800
- ...A,
1799
+ l.current && !t.isPaused && (l.current.pause(), f(), n((T) => ({
1800
+ ...T,
1801
1801
  isPlaying: !1,
1802
1802
  isPaused: !0
1803
1803
  })), (b = e.onPause) == null || b.call(e));
@@ -1810,8 +1810,8 @@ function Lr(e) {
1810
1810
  isPaused: !1
1811
1811
  }));
1812
1812
  } catch (b) {
1813
- console.error("Error al reanudar audio:", b), n((A) => ({
1814
- ...A,
1813
+ console.error("Error al reanudar audio:", b), n((T) => ({
1814
+ ...T,
1815
1815
  error: {
1816
1816
  type: "audio",
1817
1817
  message: "Error al reanudar la reproducción"
@@ -1826,15 +1826,15 @@ function Lr(e) {
1826
1826
  f(), l.current && (y.current && (l.current.removeEventListener(
1827
1827
  "ended",
1828
1828
  y.current
1829
- ), y.current = null), l.current.removeEventListener("error", O), l.current.removeEventListener("pause", B), l.current.pause(), l.current.currentTime = 0, l.current.src = "", l.current.load(), l.current = null), n((A) => ({
1830
- ...A,
1829
+ ), y.current = null), l.current.removeEventListener("error", O), l.current.removeEventListener("pause", N), l.current.pause(), l.current.currentTime = 0, l.current.src = "", l.current.load(), l.current = null), n((T) => ({
1830
+ ...T,
1831
1831
  isPlaying: !1,
1832
1832
  isPaused: !1,
1833
1833
  progress: 0,
1834
1834
  currentPNGTuber: 0
1835
- })), d.current && !p.current && (p.current = !0, c((A) => A + 1)), b || setTimeout(() => {
1836
- var A;
1837
- (A = e.onStop) == null || A.call(e);
1835
+ })), d.current && !p.current && (p.current = !0, c((T) => T + 1)), b || setTimeout(() => {
1836
+ var T;
1837
+ (T = e.onStop) == null || T.call(e);
1838
1838
  }, 50);
1839
1839
  }, O = () => {
1840
1840
  n((b) => ({
@@ -1844,14 +1844,14 @@ function Lr(e) {
1844
1844
  message: "Error al reproducir el audio"
1845
1845
  }
1846
1846
  })), k();
1847
- }, B = () => {
1847
+ }, N = () => {
1848
1848
  l.current && l.current.currentTime < l.current.duration && n((b) => ({
1849
1849
  ...b,
1850
1850
  isPlaying: !1,
1851
1851
  isPaused: !0
1852
1852
  }));
1853
1853
  }, D = async () => {
1854
- var A, q, Q;
1854
+ var T, q, Q;
1855
1855
  if (!e.text.trim()) {
1856
1856
  n((L) => ({
1857
1857
  ...L,
@@ -1899,19 +1899,19 @@ function Lr(e) {
1899
1899
  if (L) {
1900
1900
  const I = URL.createObjectURL(L);
1901
1901
  l.current = new Audio(I);
1902
- const J = () => {
1902
+ const V = () => {
1903
1903
  k(!1), URL.revokeObjectURL(I);
1904
1904
  };
1905
- y.current = J, l.current.addEventListener("ended", J), l.current.addEventListener("error", O), l.current.addEventListener("pause", B), l.current.addEventListener("canplaythrough", async () => {
1905
+ y.current = V, l.current.addEventListener("ended", V), l.current.addEventListener("error", O), l.current.addEventListener("pause", N), l.current.addEventListener("canplaythrough", async () => {
1906
1906
  var ue;
1907
- o(!1), n((G) => ({
1908
- ...G,
1907
+ o(!1), n((J) => ({
1908
+ ...J,
1909
1909
  isPlaying: !0
1910
1910
  })), m();
1911
1911
  try {
1912
1912
  await ((ue = l.current) == null ? void 0 : ue.play());
1913
- } catch (G) {
1914
- console.error("Error al iniciar reproducción:", G), n((H) => ({
1913
+ } catch (J) {
1914
+ console.error("Error al iniciar reproducción:", J), n((H) => ({
1915
1915
  ...H,
1916
1916
  error: {
1917
1917
  type: "audio",
@@ -1929,11 +1929,11 @@ function Lr(e) {
1929
1929
  message: `Error en la API: ${L.message}`
1930
1930
  },
1931
1931
  isPlaying: !1
1932
- })), f(), o(!1), x.isAxiosError(L) ? (console.error("Código de estado:", (A = L.response) == null ? void 0 : A.status), ((q = L.response) == null ? void 0 : q.data) instanceof Blob ? L.response.data.text().then((I) => {
1932
+ })), f(), o(!1), x.isAxiosError(L) ? (console.error("Código de estado:", (T = L.response) == null ? void 0 : T.status), ((q = L.response) == null ? void 0 : q.data) instanceof Blob ? L.response.data.text().then((I) => {
1933
1933
  console.error("Respuesta de error (texto):", I);
1934
1934
  try {
1935
- const J = JSON.parse(I);
1936
- console.error("Respuesta de error (JSON):", J);
1935
+ const V = JSON.parse(I);
1936
+ console.error("Respuesta de error (JSON):", V);
1937
1937
  } catch {
1938
1938
  console.error("No es JSON válido");
1939
1939
  }
@@ -1962,11 +1962,11 @@ function Lr(e) {
1962
1962
  avatars: e.avatars
1963
1963
  };
1964
1964
  }
1965
- const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdown_1kmif_18", Br = "_dropdownItem_1kmif_31", vr = "_active_1kmif_44", oe = {
1965
+ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Br = "_dropdown_1kmif_18", Nr = "_dropdownItem_1kmif_31", vr = "_active_1kmif_44", oe = {
1966
1966
  selectorWrapper: Cr,
1967
1967
  iconButton: kr,
1968
- dropdown: Nr,
1969
- dropdownItem: Br,
1968
+ dropdown: Br,
1969
+ dropdownItem: Nr,
1970
1970
  active: vr
1971
1971
  }, Pr = ({
1972
1972
  languages: e,
@@ -1979,7 +1979,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
1979
1979
  c.current && !c.current.contains(u.target) && s(!1);
1980
1980
  };
1981
1981
  return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
1982
- }, []), /* @__PURE__ */ V("div", { className: oe.selectorWrapper, ref: c, children: [
1982
+ }, []), /* @__PURE__ */ W("div", { className: oe.selectorWrapper, ref: c, children: [
1983
1983
  /* @__PURE__ */ w(
1984
1984
  "button",
1985
1985
  {
@@ -2011,7 +2011,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2011
2011
  l.code
2012
2012
  )) })
2013
2013
  ] });
2014
- }, Ur = "_controlsRow_8wakc_1", Ir = "_select_8wakc_9", Fr = "_autoAdvanceButton_8wakc_15", Dr = "_section_8wakc_26", jr = "_textarea_8wakc_36", Mr = "_input_8wakc_46", qr = "_error_8wakc_54", $r = "_buttonPrimary_8wakc_59", Hr = "_buttonSuccess_8wakc_69", zr = "_infoBox_8wakc_78", Vr = "_viewer_8wakc_86", Jr = "_viewerTopBar_8wakc_97", Gr = "_topRightControls_8wakc_110", Wr = "_itemCounter_8wakc_118", Kr = "_iconButton_8wakc_126", Xr = "_navButton_8wakc_146", Zr = "_navButtonLeft_8wakc_163", Yr = "_navButtonRight_8wakc_167", Qr = "_backgroundImage_8wakc_171", es = "_avatar_8wakc_178", ts = "_caption_8wakc_188", ns = "_captionTitle_8wakc_201", rs = "_captionText_8wakc_211", ss = "_loadingOverlay_8wakc_217", os = "_loadingSpinner_8wakc_232", is = "_spin_8wakc_251", as = "_loadingButton_8wakc_242", cs = "_spinner_8wakc_251", ls = "_progressBar_8wakc_264", us = "_progressFill_8wakc_273", ds = "_playbackControls_8wakc_279", fs = "_playButton_8wakc_292", ps = "_pauseButton_8wakc_293", T = {
2014
+ }, Ur = "_controlsRow_8wakc_1", Ir = "_select_8wakc_9", Fr = "_autoAdvanceButton_8wakc_15", Dr = "_section_8wakc_26", jr = "_textarea_8wakc_36", Mr = "_input_8wakc_46", qr = "_error_8wakc_54", $r = "_buttonPrimary_8wakc_59", Hr = "_buttonSuccess_8wakc_69", zr = "_infoBox_8wakc_78", Vr = "_viewer_8wakc_86", Jr = "_viewerTopBar_8wakc_97", Gr = "_topRightControls_8wakc_110", Wr = "_itemCounter_8wakc_118", Kr = "_iconButton_8wakc_126", Xr = "_navButton_8wakc_146", Zr = "_navButtonLeft_8wakc_163", Yr = "_navButtonRight_8wakc_167", Qr = "_backgroundImage_8wakc_171", es = "_avatar_8wakc_178", ts = "_caption_8wakc_188", ns = "_captionTitle_8wakc_201", rs = "_captionText_8wakc_211", ss = "_loadingOverlay_8wakc_217", os = "_loadingSpinner_8wakc_232", is = "_spin_8wakc_251", as = "_loadingButton_8wakc_242", cs = "_spinner_8wakc_251", ls = "_progressBar_8wakc_264", us = "_progressFill_8wakc_273", ds = "_playbackControls_8wakc_279", fs = "_playButton_8wakc_292", ps = "_pauseButton_8wakc_293", A = {
2015
2015
  controlsRow: Ur,
2016
2016
  select: Ir,
2017
2017
  autoAdvanceButton: Fr,
@@ -2059,13 +2059,13 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2059
2059
  }) => {
2060
2060
  const [o] = C(e), [c, l] = C(0), [u, d] = C(n), [p, y] = C(
2061
2061
  t
2062
- ), [E, f] = C(""), [m, h] = C([]), [_, R] = C(0), [S, k] = C(r), [O, B] = C(!1), [D, b] = C(
2062
+ ), [E, f] = C(""), [m, h] = C([]), [_, R] = C(0), [S, k] = C(r), [O, N] = C(!1), [D, b] = C(
2063
2063
  s.length > 0 ? s[0] : ""
2064
- ), A = D || (s.length > 0 ? s[c % s.length] : ""), q = i[c % i.length], [Q, L] = C(!1), [I, J] = C(!1), [ue, G] = C(!0), H = F(null), qe = F(S), $e = F(c), Ae = F(o), K = F(null), de = F(!1);
2064
+ ), T = D || (s.length > 0 ? s[c % s.length] : ""), q = i[c % i.length], [Q, L] = C(!1), [I, V] = C(!1), [ue, J] = C(!0), H = F(null), qe = F(S), $e = F(c), Te = F(o), K = F(null), de = F(!1);
2065
2065
  j(() => {
2066
- qe.current = S, $e.current = c, Ae.current = o;
2066
+ qe.current = S, $e.current = c, Te.current = o;
2067
2067
  }, [S, c, o]);
2068
- const fe = o[c] || {
2068
+ const Ae = o[c] || {
2069
2069
  id: "default",
2070
2070
  name: "Patrimonio Cultural",
2071
2071
  description: {
@@ -2076,7 +2076,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2076
2076
  },
2077
2077
  imageUrl: ""
2078
2078
  }, {
2079
- isPlaying: W,
2079
+ isPlaying: G,
2080
2080
  isPaused: He,
2081
2081
  isLoadingAudio: Ut,
2082
2082
  progress: ze,
@@ -2088,26 +2088,26 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2088
2088
  text: E,
2089
2089
  lang: p,
2090
2090
  onStop: () => {
2091
- G(!0), qe.current && Ae.current.length > 1 && !de.current && setTimeout(() => {
2092
- B(!0);
2093
- const v = ($e.current + 1) % Ae.current.length;
2091
+ J(!0), qe.current && Te.current.length > 1 && !de.current && setTimeout(() => {
2092
+ N(!0);
2093
+ const v = ($e.current + 1) % Te.current.length;
2094
2094
  l(v);
2095
2095
  }, 100), de.current = !1;
2096
2096
  },
2097
- voiceId: A,
2097
+ voiceId: T,
2098
2098
  avatars: [q],
2099
2099
  apiKey: ie.ELEVENLABS_API_KEY
2100
2100
  });
2101
2101
  j(() => {
2102
2102
  if (O && E && !E.includes("JSON válido")) {
2103
2103
  const v = setTimeout(() => {
2104
- W || Ve(), B(!1);
2104
+ G || Ve(), N(!1);
2105
2105
  }, 500);
2106
2106
  return () => clearTimeout(v);
2107
2107
  }
2108
- }, [O, E, W]), j(() => {
2108
+ }, [O, E, G]), j(() => {
2109
2109
  (async () => {
2110
- const z = fe.description.local[u];
2110
+ const z = Ae.description.local[u];
2111
2111
  if (z)
2112
2112
  try {
2113
2113
  const ne = await Vt(z, p);
@@ -2116,10 +2116,10 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2116
2116
  console.error("Error en traducción:", ne), f(z);
2117
2117
  }
2118
2118
  })();
2119
- }, [fe, u, p]);
2119
+ }, [Ae, u, p]);
2120
2120
  const Oe = () => {
2121
- G(!0), K.current && clearTimeout(K.current), K.current = setTimeout(() => {
2122
- G(!1);
2121
+ J(!0), K.current && clearTimeout(K.current), K.current = setTimeout(() => {
2122
+ J(!1);
2123
2123
  }, 4e3);
2124
2124
  }, Ve = () => {
2125
2125
  if (!E.trim() || E.includes("JSON válido")) {
@@ -2132,7 +2132,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2132
2132
  }, qt = () => {
2133
2133
  Dt(), Oe();
2134
2134
  }, Je = () => {
2135
- jt(), B(!1), H.current && clearTimeout(H.current), K.current && clearTimeout(K.current), G(!0);
2135
+ jt(), N(!1), H.current && clearTimeout(H.current), K.current && clearTimeout(K.current), J(!0);
2136
2136
  }, $t = () => {
2137
2137
  de.current = !0, Je(), c > 0 && l((v) => v - 1);
2138
2138
  }, Ht = () => {
@@ -2146,27 +2146,27 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2146
2146
  h(v), R(0);
2147
2147
  }
2148
2148
  }, [E]), j(() => {
2149
- if (!W || m.length === 0) return;
2149
+ if (!G || m.length === 0) return;
2150
2150
  H.current && clearTimeout(H.current);
2151
2151
  const z = 1500 + m[_].length * 50;
2152
2152
  H.current = setTimeout(() => {
2153
2153
  R((ne) => (ne + 1) % m.length);
2154
2154
  }, z);
2155
- }, [W, m, _]);
2155
+ }, [G, m, _]);
2156
2156
  const [Ge, hs] = C(!1);
2157
2157
  return j(() => {
2158
2158
  !Ge && s.length > 0 && b(s[c % s.length]);
2159
- }, [c, s, Ge]), /* @__PURE__ */ V("div", { children: [
2159
+ }, [c, s, Ge]), /* @__PURE__ */ W("div", { children: [
2160
2160
  ie.DEBUG_MODE,
2161
- /* @__PURE__ */ V("div", { className: T.viewer, onClick: Oe, children: [
2162
- /* @__PURE__ */ V("div", { className: T.viewerTopBar, children: [
2163
- /* @__PURE__ */ w("div", { className: T.itemCounter, children: o.length > 0 ? `${c + 1}/${o.length}` : "0/0" }),
2164
- /* @__PURE__ */ V("div", { className: T.topRightControls, children: [
2161
+ /* @__PURE__ */ W("div", { className: A.viewer, onClick: Oe, children: [
2162
+ /* @__PURE__ */ W("div", { className: A.viewerTopBar, children: [
2163
+ /* @__PURE__ */ w("div", { className: A.itemCounter, children: o.length > 0 ? `${c + 1}/${o.length}` : "0/0" }),
2164
+ /* @__PURE__ */ W("div", { className: A.topRightControls, children: [
2165
2165
  /* @__PURE__ */ w(
2166
2166
  "button",
2167
2167
  {
2168
2168
  onClick: () => k(!S),
2169
- className: T.iconButton,
2169
+ className: A.iconButton,
2170
2170
  title: "Autoplay",
2171
2171
  style: {
2172
2172
  backgroundColor: S ? "rgba(255, 255, 255, 0.7)" : "rgba(0, 0, 0, 0.7)"
@@ -2208,7 +2208,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2208
2208
  {
2209
2209
  onClick: $t,
2210
2210
  disabled: o.length === 0,
2211
- className: `${T.navButton} ${T.navButtonLeft}`,
2211
+ className: `${A.navButton} ${A.navButtonLeft}`,
2212
2212
  title: "Anterior",
2213
2213
  onMouseOver: () => L(!0),
2214
2214
  onMouseOut: () => L(!1),
@@ -2240,10 +2240,10 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2240
2240
  {
2241
2241
  onClick: Ht,
2242
2242
  disabled: o.length === 0,
2243
- className: `${T.navButton} ${T.navButtonRight}`,
2243
+ className: `${A.navButton} ${A.navButtonRight}`,
2244
2244
  title: "Siguiente",
2245
- onMouseOver: () => J(!0),
2246
- onMouseOut: () => J(!1),
2245
+ onMouseOver: () => V(!0),
2246
+ onMouseOut: () => V(!1),
2247
2247
  children: /* @__PURE__ */ w(
2248
2248
  "svg",
2249
2249
  {
@@ -2270,36 +2270,33 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2270
2270
  /* @__PURE__ */ w(
2271
2271
  "img",
2272
2272
  {
2273
- src: fe.imageUrl || ct,
2273
+ src: Ae.imageUrl || ct,
2274
2274
  alt: "Background",
2275
- className: T.backgroundImage,
2276
- style: { opacity: W ? 1 : 0.7 },
2275
+ className: A.backgroundImage,
2276
+ style: { opacity: G ? 1 : 0.7 },
2277
2277
  onError: (v) => v.currentTarget.src = ct
2278
2278
  }
2279
2279
  ),
2280
- W && /* @__PURE__ */ w(We, { children: /* @__PURE__ */ w(
2280
+ G && /* @__PURE__ */ w(We, { children: /* @__PURE__ */ w(
2281
2281
  "img",
2282
2282
  {
2283
2283
  src: q,
2284
2284
  alt: "Avatar",
2285
- className: T.avatar,
2285
+ className: A.avatar,
2286
2286
  style: { transform: `scale(${ze % 10 < 5 ? 4 : 4.05})` }
2287
2287
  }
2288
2288
  ) }),
2289
- /* @__PURE__ */ V("div", { className: T.caption, children: [
2290
- /* @__PURE__ */ w("h4", { className: T.captionTitle, children: fe.name }),
2291
- W && /* @__PURE__ */ w(We, { children: /* @__PURE__ */ w("p", { className: T.captionText, children: m.length > 0 && m[_] }) })
2292
- ] }),
2293
- O && /* @__PURE__ */ V("div", { className: T.loadingOverlay, children: [
2294
- /* @__PURE__ */ w("div", { className: T.loadingSpinner }),
2289
+ /* @__PURE__ */ w("div", { className: A.caption, children: G && /* @__PURE__ */ w(We, { children: /* @__PURE__ */ w("p", { className: A.captionText, children: m.length > 0 && m[_] }) }) }),
2290
+ O && /* @__PURE__ */ W("div", { className: A.loadingOverlay, children: [
2291
+ /* @__PURE__ */ w("div", { className: A.loadingSpinner }),
2295
2292
  /* @__PURE__ */ w("p", { children: "Cargando siguiente patrimonio..." })
2296
2293
  ] }),
2297
- ue && /* @__PURE__ */ w("div", { className: T.playbackControls, children: Ut ? (
2294
+ ue && /* @__PURE__ */ w("div", { className: A.playbackControls, children: Ut ? (
2298
2295
  // Loading spinner
2299
- /* @__PURE__ */ w("button", { disabled: !0, className: T.loadingButton, children: /* @__PURE__ */ V(
2296
+ /* @__PURE__ */ w("button", { disabled: !0, className: A.loadingButton, children: /* @__PURE__ */ W(
2300
2297
  "svg",
2301
2298
  {
2302
- className: T.spinner,
2299
+ className: A.spinner,
2303
2300
  xmlns: "http://www.w3.org/2000/svg",
2304
2301
  fill: "none",
2305
2302
  viewBox: "0 0 24 24",
@@ -2326,14 +2323,14 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2326
2323
  ]
2327
2324
  }
2328
2325
  ) })
2329
- ) : !W && !He ? (
2326
+ ) : !G && !He ? (
2330
2327
  // Play (desde cero)
2331
2328
  /* @__PURE__ */ w(
2332
2329
  "button",
2333
2330
  {
2334
2331
  onClick: Ve,
2335
2332
  disabled: o.length === 0 || O,
2336
- className: T.playButton,
2333
+ className: A.playButton,
2337
2334
  children: /* @__PURE__ */ w(
2338
2335
  "svg",
2339
2336
  {
@@ -2353,7 +2350,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2353
2350
  )
2354
2351
  ) : He ? (
2355
2352
  // Resume
2356
- /* @__PURE__ */ w("button", { onClick: qt, className: T.playButton, children: /* @__PURE__ */ w(
2353
+ /* @__PURE__ */ w("button", { onClick: qt, className: A.playButton, children: /* @__PURE__ */ w(
2357
2354
  "svg",
2358
2355
  {
2359
2356
  xmlns: "http://www.w3.org/2000/svg",
@@ -2370,7 +2367,7 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2370
2367
  ) })
2371
2368
  ) : (
2372
2369
  // Pause
2373
- /* @__PURE__ */ w("button", { onClick: Mt, className: T.pauseButton, children: /* @__PURE__ */ V(
2370
+ /* @__PURE__ */ w("button", { onClick: Mt, className: A.pauseButton, children: /* @__PURE__ */ W(
2374
2371
  "svg",
2375
2372
  {
2376
2373
  xmlns: "http://www.w3.org/2000/svg",
@@ -2389,10 +2386,10 @@ const Cr = "_selectorWrapper_1kmif_1", kr = "_iconButton_1kmif_6", Nr = "_dropdo
2389
2386
  }
2390
2387
  ) })
2391
2388
  ) }),
2392
- /* @__PURE__ */ w("div", { className: T.progressBar, children: /* @__PURE__ */ w(
2389
+ /* @__PURE__ */ w("div", { className: A.progressBar, children: /* @__PURE__ */ w(
2393
2390
  "div",
2394
2391
  {
2395
- className: T.progressFill,
2392
+ className: A.progressFill,
2396
2393
  style: { width: `${ze}%` }
2397
2394
  }
2398
2395
  ) })
@@ -2403,7 +2400,7 @@ export {
2403
2400
  Pr as LanguageSelector,
2404
2401
  oe as LanguageSelectorStyles,
2405
2402
  Is as StoryVisualizer,
2406
- T as StoryVisualizerStyles,
2403
+ A as StoryVisualizerStyles,
2407
2404
  Us as voices
2408
2405
  };
2409
2406
  //# sourceMappingURL=ocity-heritage-visualizer.es.js.map