@wandelbots/wandelbots-js-react-components 2.1.2 → 2.1.3-pr.feature-add-6-abbs.215.50e1b82

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
@@ -29,14 +29,18 @@ var mo = { exports: {} }, Sn = {};
29
29
  */
30
30
  var si;
31
31
  function uc() {
32
- if (si) return Sn;
32
+ if (si)
33
+ return Sn;
33
34
  si = 1;
34
35
  var e = Ls, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
35
36
  function s(a, l, c) {
36
37
  var u, p = {}, f = null, x = null;
37
38
  c !== void 0 && (f = "" + c), l.key !== void 0 && (f = "" + l.key), l.ref !== void 0 && (x = l.ref);
38
- for (u in l) r.call(l, u) && !i.hasOwnProperty(u) && (p[u] = l[u]);
39
- if (a && a.defaultProps) for (u in l = a.defaultProps, l) p[u] === void 0 && (p[u] = l[u]);
39
+ for (u in l)
40
+ r.call(l, u) && !i.hasOwnProperty(u) && (p[u] = l[u]);
41
+ if (a && a.defaultProps)
42
+ for (u in l = a.defaultProps, l)
43
+ p[u] === void 0 && (p[u] = l[u]);
40
44
  return { $$typeof: t, type: a, key: f, ref: x, props: p, _owner: o.current };
41
45
  }
42
46
  return Sn.Fragment = n, Sn.jsx = s, Sn.jsxs = s, Sn;
@@ -735,7 +739,8 @@ function y0({
735
739
  return /* @__PURE__ */ b.jsx("group", { ...t, children: e.map((n, r) => {
736
740
  let o = [];
737
741
  return n.geometry && (n.geometry.compound ? o = n.geometry.compound.child_geometries : n.geometry.convex_hull && (o = [n.geometry])), o.map((i, s) => {
738
- if (!i.convex_hull) return null;
742
+ if (!i.convex_hull)
743
+ return null;
739
744
  const a = i.convex_hull.vertices.map(
740
745
  (u) => new xe.Vector3(u.x / 1e3, u.y / 1e3, u.z / 1e3)
741
746
  ), l = pc(a);
@@ -1017,7 +1022,8 @@ var yo = { exports: {} }, te = {};
1017
1022
  */
1018
1023
  var pi;
1019
1024
  function Cc() {
1020
- if (pi) return te;
1025
+ if (pi)
1026
+ return te;
1021
1027
  pi = 1;
1022
1028
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), x = Symbol.for("react.client.reference");
1023
1029
  function y(d) {
@@ -2133,15 +2139,21 @@ const yi = (e) => e, Au = () => {
2133
2139
  }, ku = Au();
2134
2140
  function Gs(e) {
2135
2141
  var t, n, r = "";
2136
- if (typeof e == "string" || typeof e == "number") r += e;
2137
- else if (typeof e == "object") if (Array.isArray(e)) {
2138
- var o = e.length;
2139
- for (t = 0; t < o; t++) e[t] && (n = Gs(e[t])) && (r && (r += " "), r += n);
2140
- } else for (n in e) e[n] && (r && (r += " "), r += n);
2142
+ if (typeof e == "string" || typeof e == "number")
2143
+ r += e;
2144
+ else if (typeof e == "object")
2145
+ if (Array.isArray(e)) {
2146
+ var o = e.length;
2147
+ for (t = 0; t < o; t++)
2148
+ e[t] && (n = Gs(e[t])) && (r && (r += " "), r += n);
2149
+ } else
2150
+ for (n in e)
2151
+ e[n] && (r && (r += " "), r += n);
2141
2152
  return r;
2142
2153
  }
2143
2154
  function tt() {
2144
- for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Gs(e)) && (r && (r += " "), r += t);
2155
+ for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++)
2156
+ (e = arguments[n]) && (t = Gs(e)) && (r && (r += " "), r += t);
2145
2157
  return r;
2146
2158
  }
2147
2159
  const Pu = {
@@ -2237,25 +2249,26 @@ function or(e, t) {
2237
2249
  function Ys(e, t, n = []) {
2238
2250
  var o;
2239
2251
  let r;
2240
- e: for (let i = 0; i < t.length; i += 1) {
2241
- const s = t[i];
2242
- if (typeof s.props == "function") {
2243
- if (r ?? (r = {
2252
+ e:
2253
+ for (let i = 0; i < t.length; i += 1) {
2254
+ const s = t[i];
2255
+ if (typeof s.props == "function") {
2256
+ if (r ?? (r = {
2257
+ ...e,
2258
+ ...e.ownerState,
2259
+ ownerState: e.ownerState
2260
+ }), !s.props(r))
2261
+ continue;
2262
+ } else
2263
+ for (const a in s.props)
2264
+ if (e[a] !== s.props[a] && ((o = e.ownerState) == null ? void 0 : o[a]) !== s.props[a])
2265
+ continue e;
2266
+ typeof s.style == "function" ? (r ?? (r = {
2244
2267
  ...e,
2245
2268
  ...e.ownerState,
2246
2269
  ownerState: e.ownerState
2247
- }), !s.props(r))
2248
- continue;
2249
- } else
2250
- for (const a in s.props)
2251
- if (e[a] !== s.props[a] && ((o = e.ownerState) == null ? void 0 : o[a]) !== s.props[a])
2252
- continue e;
2253
- typeof s.style == "function" ? (r ?? (r = {
2254
- ...e,
2255
- ...e.ownerState,
2256
- ownerState: e.ownerState
2257
- }), n.push(s.style(r))) : n.push(s.style);
2258
- }
2270
+ }), n.push(s.style(r))) : n.push(s.style);
2271
+ }
2259
2272
  return n;
2260
2273
  }
2261
2274
  function Xs(e = {}) {
@@ -2378,7 +2391,8 @@ function mr(e, t) {
2378
2391
  n[o][l] = mr(i[l], s[l]);
2379
2392
  }
2380
2393
  }
2381
- } else n[o] === void 0 && (n[o] = e[o]);
2394
+ } else
2395
+ n[o] === void 0 && (n[o] = e[o]);
2382
2396
  }
2383
2397
  return n;
2384
2398
  }
@@ -3997,7 +4011,8 @@ const z = (e) => typeof e == "string", Tn = () => {
3997
4011
  const r = z(t) ? t.split(".") : t;
3998
4012
  let o = 0;
3999
4013
  for (; o < r.length - 1; ) {
4000
- if (ji(e)) return {};
4014
+ if (ji(e))
4015
+ return {};
4001
4016
  const i = _i(r[o]);
4002
4017
  !e[i] && n && (e[i] = new n()), Object.prototype.hasOwnProperty.call(e, i) ? e = e[i] : e = {}, ++o;
4003
4018
  }
@@ -4063,7 +4078,8 @@ class od {
4063
4078
  const id = [" ", ",", "?", "!", ";"], sd = new od(20), ad = (e, t, n) => {
4064
4079
  t = t || "", n = n || "";
4065
4080
  const r = id.filter((s) => t.indexOf(s) < 0 && n.indexOf(s) < 0);
4066
- if (r.length === 0) return !0;
4081
+ if (r.length === 0)
4082
+ return !0;
4067
4083
  const o = sd.getRegExp(`(${r.map((s) => s === "?" ? "\\?" : s).join("|")})`);
4068
4084
  let i = !o.test(e);
4069
4085
  if (!i) {
@@ -4073,8 +4089,10 @@ const id = [" ", ",", "?", "!", ";"], sd = new od(20), ad = (e, t, n) => {
4073
4089
  return i;
4074
4090
  }, So = function(e, t) {
4075
4091
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
4076
- if (!e) return;
4077
- if (e[t]) return e[t];
4092
+ if (!e)
4093
+ return;
4094
+ if (e[t])
4095
+ return e[t];
4078
4096
  const r = t.split(n);
4079
4097
  let o = e;
4080
4098
  for (let i = 0; i < r.length; ) {
@@ -4311,7 +4329,8 @@ class vr extends Dr {
4311
4329
  translate(t, n, r) {
4312
4330
  if (typeof n != "object" && this.options.overloadTranslationOptionHandler && (n = this.options.overloadTranslationOptionHandler(arguments)), typeof n == "object" && (n = {
4313
4331
  ...n
4314
- }), n || (n = {}), t == null) return "";
4332
+ }), n || (n = {}), t == null)
4333
+ return "";
4315
4334
  Array.isArray(t) || (t = [String(t)]);
4316
4335
  const o = n.returnDetails !== void 0 ? n.returnDetails : this.options.returnDetails, i = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, {
4317
4336
  key: s,
@@ -4385,7 +4404,8 @@ class vr extends Dr {
4385
4404
  if (this.options.saveMissingTo === "fallback" && q && q[0])
4386
4405
  for (let W = 0; W < q.length; W++)
4387
4406
  ee.push(q[W]);
4388
- else this.options.saveMissingTo === "all" ? ee = this.languageUtils.toResolveHierarchy(n.lng || this.language) : ee.push(n.lng || this.language);
4407
+ else
4408
+ this.options.saveMissingTo === "all" ? ee = this.languageUtils.toResolveHierarchy(n.lng || this.language) : ee.push(n.lng || this.language);
4389
4409
  const Pe = (W, be, Oe) => {
4390
4410
  const X = j && Oe !== f ? Oe : L;
4391
4411
  this.options.missingKeyHandler ? this.options.missingKeyHandler(W, l, be, X, M, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(W, l, be, X, M, n), this.emit("missingKey", W, l, be, f);
@@ -4450,7 +4470,8 @@ class vr extends Dr {
4450
4470
  resolve(t) {
4451
4471
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r, o, i, s, a;
4452
4472
  return z(t) && (t = [t]), t.forEach((l) => {
4453
- if (this.isValidLookup(r)) return;
4473
+ if (this.isValidLookup(r))
4474
+ return;
4454
4475
  const c = this.extractFromKey(l, n), u = c.key;
4455
4476
  o = u;
4456
4477
  let p = c.namespaces;
@@ -4458,7 +4479,8 @@ class vr extends Dr {
4458
4479
  const f = n.count !== void 0 && !z(n.count), x = f && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), y = n.context !== void 0 && (z(n.context) || typeof n.context == "number") && n.context !== "", d = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
4459
4480
  p.forEach((v) => {
4460
4481
  this.isValidLookup(r) || (a = v, !Ni[`${d[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (Ni[`${d[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${d.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), d.forEach((T) => {
4461
- if (this.isValidLookup(r)) return;
4482
+ if (this.isValidLookup(r))
4483
+ return;
4462
4484
  s = T;
4463
4485
  const E = [u];
4464
4486
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
@@ -4522,12 +4544,14 @@ class Mi {
4522
4544
  this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = et.create("languageUtils");
4523
4545
  }
4524
4546
  getScriptPartFromCode(t) {
4525
- if (t = br(t), !t || t.indexOf("-") < 0) return null;
4547
+ if (t = br(t), !t || t.indexOf("-") < 0)
4548
+ return null;
4526
4549
  const n = t.split("-");
4527
4550
  return n.length === 2 || (n.pop(), n[n.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(n.join("-"));
4528
4551
  }
4529
4552
  getLanguagePartFromCode(t) {
4530
- if (t = br(t), !t || t.indexOf("-") < 0) return t;
4553
+ if (t = br(t), !t || t.indexOf("-") < 0)
4554
+ return t;
4531
4555
  const n = t.split("-");
4532
4556
  return this.formatLanguageCode(n[0]);
4533
4557
  }
@@ -4536,7 +4560,8 @@ class Mi {
4536
4560
  if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
4537
4561
  try {
4538
4562
  let o = Intl.getCanonicalLocales(t)[0];
4539
- if (o && this.options.lowerCaseLng && (o = o.toLowerCase()), o) return o;
4563
+ if (o && this.options.lowerCaseLng && (o = o.toLowerCase()), o)
4564
+ return o;
4540
4565
  } catch {
4541
4566
  }
4542
4567
  const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
@@ -4549,27 +4574,35 @@ class Mi {
4549
4574
  return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (t = this.getLanguagePartFromCode(t)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(t) > -1;
4550
4575
  }
4551
4576
  getBestMatchFromCodes(t) {
4552
- if (!t) return null;
4577
+ if (!t)
4578
+ return null;
4553
4579
  let n;
4554
4580
  return t.forEach((r) => {
4555
- if (n) return;
4581
+ if (n)
4582
+ return;
4556
4583
  const o = this.formatLanguageCode(r);
4557
4584
  (!this.options.supportedLngs || this.isSupportedCode(o)) && (n = o);
4558
4585
  }), !n && this.options.supportedLngs && t.forEach((r) => {
4559
- if (n) return;
4586
+ if (n)
4587
+ return;
4560
4588
  const o = this.getLanguagePartFromCode(r);
4561
- if (this.isSupportedCode(o)) return n = o;
4589
+ if (this.isSupportedCode(o))
4590
+ return n = o;
4562
4591
  n = this.options.supportedLngs.find((i) => {
4563
- if (i === o) return i;
4592
+ if (i === o)
4593
+ return i;
4564
4594
  if (!(i.indexOf("-") < 0 && o.indexOf("-") < 0) && (i.indexOf("-") > 0 && o.indexOf("-") < 0 && i.substring(0, i.indexOf("-")) === o || i.indexOf(o) === 0 && o.length > 1))
4565
4595
  return i;
4566
4596
  });
4567
4597
  }), n || (n = this.getFallbackCodes(this.options.fallbackLng)[0]), n;
4568
4598
  }
4569
4599
  getFallbackCodes(t, n) {
4570
- if (!t) return [];
4571
- if (typeof t == "function" && (t = t(n)), z(t) && (t = [t]), Array.isArray(t)) return t;
4572
- if (!n) return t.default || [];
4600
+ if (!t)
4601
+ return [];
4602
+ if (typeof t == "function" && (t = t(n)), z(t) && (t = [t]), Array.isArray(t))
4603
+ return t;
4604
+ if (!n)
4605
+ return t.default || [];
4573
4606
  let r = t[n];
4574
4607
  return r || (r = t[this.getScriptPartFromCode(n)]), r || (r = t[this.formatLanguageCode(n)]), r || (r = t[this.getLanguagePartFromCode(n)]), r || (r = t.default), r || [];
4575
4608
  }
@@ -4858,7 +4891,8 @@ class hd {
4858
4891
  continue;
4859
4892
  } else
4860
4893
  this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`), s = "";
4861
- else !z(s) && !this.useRawValueToEscape && (s = $i(s));
4894
+ else
4895
+ !z(s) && !this.useRawValueToEscape && (s = $i(s));
4862
4896
  const d = x.safeValue(s);
4863
4897
  if (t = t.replace(i[0], d), p ? (x.regex.lastIndex += s.length, x.regex.lastIndex -= i[0].length) : x.regex.lastIndex = 0, a++, a >= this.maxReplaces)
4864
4898
  break;
@@ -4869,7 +4903,8 @@ class hd {
4869
4903
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, i, s;
4870
4904
  const a = (l, c) => {
4871
4905
  const u = this.nestingOptionsSeparator;
4872
- if (l.indexOf(u) < 0) return l;
4906
+ if (l.indexOf(u) < 0)
4907
+ return l;
4873
4908
  const p = l.split(new RegExp(`${u}[ ]*{`));
4874
4909
  let f = `{${p[1]}`;
4875
4910
  l = p[0], f = this.interpolate(f, s);
@@ -4895,7 +4930,8 @@ class hd {
4895
4930
  const u = o[1].split(this.formatSeparator).map((p) => p.trim());
4896
4931
  o[1] = u.shift(), l = u, c = !0;
4897
4932
  }
4898
- if (i = n(a.call(this, o[1].trim(), s), s), i && o[0] === t && !z(i)) return i;
4933
+ if (i = n(a.call(this, o[1].trim(), s), s), i && o[0] === t && !z(i))
4934
+ return i;
4899
4935
  z(i) || (i = $i(i)), i || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`), i = ""), c && (i = l.reduce((u, p) => this.format(u, p, r.lng, {
4900
4936
  ...r,
4901
4937
  interpolationkey: o[1].trim()
@@ -5062,7 +5098,8 @@ class xd extends Dr {
5062
5098
  }
5063
5099
  read(t, n, r) {
5064
5100
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, s = arguments.length > 5 ? arguments[5] : void 0;
5065
- if (!t.length) return s(null, {});
5101
+ if (!t.length)
5102
+ return s(null, {});
5066
5103
  if (this.readingCalls >= this.maxParallelReads) {
5067
5104
  this.waitingReads.push({
5068
5105
  lng: t,
@@ -5284,7 +5321,8 @@ class Ln extends Dr {
5284
5321
  const u = (p, f) => {
5285
5322
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(f), r(p, f);
5286
5323
  };
5287
- if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return u(null, this.t.bind(this));
5324
+ if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized)
5325
+ return u(null, this.t.bind(this));
5288
5326
  this.changeLanguage(this.options.lng, u);
5289
5327
  };
5290
5328
  return this.options.resources || !this.options.initImmediate ? c() : setTimeout(c, 0), l;
@@ -5293,9 +5331,11 @@ class Ln extends Dr {
5293
5331
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qn;
5294
5332
  const o = z(t) ? t : this.language;
5295
5333
  if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
5296
- if (o && o.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
5334
+ if (o && o.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0))
5335
+ return r();
5297
5336
  const i = [], s = (a) => {
5298
- if (!a || a === "cimode") return;
5337
+ if (!a || a === "cimode")
5338
+ return;
5299
5339
  this.services.languageUtils.toResolveHierarchy(a).forEach((c) => {
5300
5340
  c !== "cimode" && i.indexOf(c) < 0 && i.push(c);
5301
5341
  });
@@ -5313,8 +5353,10 @@ class Ln extends Dr {
5313
5353
  }), o;
5314
5354
  }
5315
5355
  use(t) {
5316
- if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
5317
- if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
5356
+ if (!t)
5357
+ throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
5358
+ if (!t.type)
5359
+ throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
5318
5360
  return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && ca.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
5319
5361
  }
5320
5362
  setResolvedLanguage(t) {
@@ -5384,14 +5426,16 @@ class Ln extends Dr {
5384
5426
  if (!this.languages || !this.languages.length)
5385
5427
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
5386
5428
  const r = n.lng || this.resolvedLanguage || this.languages[0], o = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1];
5387
- if (r.toLowerCase() === "cimode") return !0;
5429
+ if (r.toLowerCase() === "cimode")
5430
+ return !0;
5388
5431
  const s = (a, l) => {
5389
5432
  const c = this.services.backendConnector.state[`${a}|${l}`];
5390
5433
  return c === -1 || c === 0 || c === 2;
5391
5434
  };
5392
5435
  if (n.precheck) {
5393
5436
  const a = n.precheck(this, s);
5394
- if (a !== void 0) return a;
5437
+ if (a !== void 0)
5438
+ return a;
5395
5439
  }
5396
5440
  return !!(this.hasResourceBundle(r, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || s(r, t) && (!o || s(i, t)));
5397
5441
  }
@@ -5412,7 +5456,8 @@ class Ln extends Dr {
5412
5456
  }), r) : (n && n(), Promise.resolve());
5413
5457
  }
5414
5458
  dir(t) {
5415
- if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t) return "rtl";
5459
+ if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t)
5460
+ return "rtl";
5416
5461
  const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new Mi(Bi());
5417
5462
  return n.indexOf(r.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
5418
5463
  }
@@ -6121,7 +6166,8 @@ const ip = zn(
6121
6166
  f.stopJogging();
6122
6167
  }
6123
6168
  function E(g, $ = 1) {
6124
- if (g === void 0 || isNaN(g)) return "";
6169
+ if (g === void 0 || isNaN(g))
6170
+ return "";
6125
6171
  const D = a("General.degree.variable", {
6126
6172
  amount: g.toFixed($)
6127
6173
  });
@@ -6352,7 +6398,8 @@ const Cp = (e, t, n, { allOwnKeys: r } = {}) => (Wn(t, (o, i) => {
6352
6398
  }, Op = (e, t, n, r) => {
6353
6399
  let o, i, s;
6354
6400
  const a = {};
6355
- if (t = t || {}, e == null) return t;
6401
+ if (t = t || {}, e == null)
6402
+ return t;
6356
6403
  do {
6357
6404
  for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
6358
6405
  s = o[i], (!r || r(s, e, t)) && !a[s] && (t[s] = e[s], a[s] = !0);
@@ -6364,10 +6411,13 @@ const Cp = (e, t, n, { allOwnKeys: r } = {}) => (Wn(t, (o, i) => {
6364
6411
  const r = e.indexOf(t, n);
6365
6412
  return r !== -1 && r === n;
6366
6413
  }, Ap = (e) => {
6367
- if (!e) return null;
6368
- if (dn(e)) return e;
6414
+ if (!e)
6415
+ return null;
6416
+ if (dn(e))
6417
+ return e;
6369
6418
  let t = e.length;
6370
- if (!ma(t)) return null;
6419
+ if (!ma(t))
6420
+ return null;
6371
6421
  const n = new Array(t);
6372
6422
  for (; t-- > 0; )
6373
6423
  n[t] = e[t];
@@ -6599,7 +6649,8 @@ function zr(e, t, n) {
6599
6649
  if (!S.isFunction(o))
6600
6650
  throw new TypeError("visitor must be a function");
6601
6651
  function c(y) {
6602
- if (y === null) return "";
6652
+ if (y === null)
6653
+ return "";
6603
6654
  if (S.isDate(y))
6604
6655
  return y.toISOString();
6605
6656
  if (!l && S.isBlob(y))
@@ -6793,7 +6844,8 @@ function ig(e) {
6793
6844
  function Aa(e) {
6794
6845
  function t(n, r, o, i) {
6795
6846
  let s = n[i++];
6796
- if (s === "__proto__") return !0;
6847
+ if (s === "__proto__")
6848
+ return !0;
6797
6849
  const a = Number.isFinite(+s), l = i >= n.length;
6798
6850
  return s = !s && S.isArray(o) ? o.length : s, l ? (S.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !a) : ((!o[s] || !S.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && S.isArray(o[s]) && (o[s] = ig(o[s])), !a);
6799
6851
  }
@@ -7211,7 +7263,8 @@ function Dt(e, t) {
7211
7263
  if (S.isUndefined(u)) {
7212
7264
  if (!S.isUndefined(c))
7213
7265
  return r(void 0, c, p, f);
7214
- } else return r(c, u, p, f);
7266
+ } else
7267
+ return r(c, u, p, f);
7215
7268
  }
7216
7269
  function i(c, u) {
7217
7270
  if (!S.isUndefined(u))
@@ -7221,7 +7274,8 @@ function Dt(e, t) {
7221
7274
  if (S.isUndefined(u)) {
7222
7275
  if (!S.isUndefined(c))
7223
7276
  return r(void 0, c);
7224
- } else return r(void 0, u);
7277
+ } else
7278
+ return r(void 0, u);
7225
7279
  }
7226
7280
  function a(c, u, p) {
7227
7281
  if (p in t)
@@ -7801,7 +7855,8 @@ let jg = class Ma {
7801
7855
  });
7802
7856
  const r = this;
7803
7857
  this.promise.then((o) => {
7804
- if (!r._listeners) return;
7858
+ if (!r._listeners)
7859
+ return;
7805
7860
  let i = r._listeners.length;
7806
7861
  for (; i-- > 0; )
7807
7862
  r._listeners[i](o);
@@ -11557,7 +11612,8 @@ const Wb = (e, t) => {
11557
11612
  }
11558
11613
  }), e.userData.isGhost = !0);
11559
11614
  }, Gb = (e) => {
11560
- if (!e.userData.isGhost) return;
11615
+ if (!e.userData.isGhost)
11616
+ return;
11561
11617
  const t = [];
11562
11618
  e.traverse((n) => {
11563
11619
  var r;