@zyzgroup/core-web 0.1.33 → 0.1.34

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,7 +1,7 @@
1
- function Vr() {
2
- return typeof window < "u" ? window : typeof global < "u" ? global : this || {};
1
+ function ei() {
2
+ return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : this || {};
3
3
  }
4
- const ei = (i) => {
4
+ const si = (i) => {
5
5
  let t = null;
6
6
  switch (i) {
7
7
  case "any-character":
@@ -42,7 +42,7 @@ const ei = (i) => {
42
42
  break;
43
43
  case "native-method":
44
44
  t = RegExp(
45
- "^" + Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(ei("regexp"), "\\$&").replace(
45
+ "^" + Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(si("regexp"), "\\$&").replace(
46
46
  /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
47
47
  "$1.*?"
48
48
  ) + "$"
@@ -140,8 +140,8 @@ const ei = (i) => {
140
140
  break;
141
141
  }
142
142
  return t;
143
- }, ee = (i, t) => (typeof i == "string" && (i = ei(i) || new RegExp(i)), i.test(t)), Gr = (i, t) => {
144
- typeof i == "string" && (i = ei(i) || new RegExp(i));
143
+ }, ee = (i, t) => (typeof i == "string" && (i = si(i) || new RegExp(i)), i.test(t)), Ur = (i, t) => {
144
+ typeof i == "string" && (i = si(i) || new RegExp(i));
145
145
  const e = t.match(i);
146
146
  return e ? i.flags.toLowerCase().indexOf("g") >= 0 ? e.map(
147
147
  (s) => ({
@@ -154,8 +154,8 @@ const ei = (i) => {
154
154
  fullMatch: e[0],
155
155
  groupMatchs: e.slice(1)
156
156
  } : null;
157
- }, qr = (i, t) => {
158
- typeof i == "string" && (i = ei(i) || new RegExp(i));
157
+ }, Vr = (i, t) => {
158
+ typeof i == "string" && (i = si(i) || new RegExp(i));
159
159
  const e = [], s = t.matchAll(i);
160
160
  for (const n of s)
161
161
  e.push({
@@ -169,11 +169,11 @@ function Wa(i) {
169
169
  const t = i.match(/[\s\S]/gu);
170
170
  return t ? t.length : 0;
171
171
  }
172
- function Gn(i, t) {
172
+ function Vn(i, t) {
173
173
  const e = i.codePointAt(t);
174
174
  return e ? String.fromCodePoint(e) : void 0;
175
175
  }
176
- function jr(i = 12) {
176
+ function Gr(i = 12) {
177
177
  const t = "ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789", e = t.length;
178
178
  let s = "";
179
179
  for (let n = 0; n < i; n++)
@@ -190,10 +190,10 @@ const yt = (i, t = "-") => {
190
190
  function Ja(i) {
191
191
  return i.replace(/(^\w|[_-]\w)/g, (t) => t.slice(-1).toUpperCase());
192
192
  }
193
- function Hr(i) {
193
+ function qr(i) {
194
194
  return Za(Ja(i));
195
195
  }
196
- function $r(i) {
196
+ function jr(i) {
197
197
  let t = "";
198
198
  for (let e = 0, s = i.length; e < s; e++) {
199
199
  const n = i.charCodeAt(e);
@@ -213,25 +213,25 @@ function Ka(i, t = !0) {
213
213
  );
214
214
  }
215
215
  const th = "[object String]", eh = "[object Symbol]";
216
- function Wr(i) {
216
+ function Hr(i) {
217
217
  return Object.prototype.toString.call(i);
218
218
  }
219
219
  function sh(i) {
220
220
  return i != null;
221
221
  }
222
222
  function ih(i) {
223
- return Wr(i) === th;
223
+ return Hr(i) === th;
224
224
  }
225
225
  function nh(i) {
226
226
  return i === i + 0;
227
227
  }
228
228
  function rh(i) {
229
- return Wr(i) === eh;
229
+ return Hr(i) === eh;
230
230
  }
231
- function Zr(i, ...t) {
231
+ function $r(i, ...t) {
232
232
  return new i.constructor(...t);
233
233
  }
234
- function qn(i, t) {
234
+ function Gn(i, t) {
235
235
  for (const e in i)
236
236
  Object.prototype.hasOwnProperty.call(i, e) && !t(e, i[e]) && delete i[e];
237
237
  return i;
@@ -255,26 +255,26 @@ function Te(i, t) {
255
255
  const e = i.findIndex((s) => s === t);
256
256
  return e >= 0 && i.splice(e, 1), i;
257
257
  }
258
- function Jr(i, t) {
258
+ function Wr(i, t) {
259
259
  return i.findIndex((e) => e == t) >= 0;
260
260
  }
261
261
  function ch(i, ...t) {
262
262
  return t.forEach((e) => {
263
- Jr(i, e) || i.push(e);
263
+ Wr(i, e) || i.push(e);
264
264
  }), i;
265
265
  }
266
- let jn;
266
+ let qn;
267
267
  try {
268
- jn = Map;
268
+ qn = Map;
269
269
  } catch {
270
- jn = function() {
270
+ qn = function() {
271
271
  };
272
272
  }
273
- let Hn;
273
+ let jn;
274
274
  try {
275
- Hn = Set;
275
+ jn = Set;
276
276
  } catch {
277
- Hn = function() {
277
+ jn = function() {
278
278
  };
279
279
  }
280
280
  function Rt(i, t) {
@@ -310,7 +310,7 @@ function Jt(i, t = 12) {
310
310
  return +fh(i, t);
311
311
  }
312
312
  function Yi(i, t) {
313
- const e = Gr("number-single", String(i));
313
+ const e = Ur("number-single", String(i));
314
314
  return {
315
315
  hasNumber: !!e,
316
316
  number: e && !Array.isArray(e) && e.fullMatch ? parseFloat(e.fullMatch) : sh(t) ? t : NaN,
@@ -318,8 +318,8 @@ function Yi(i, t) {
318
318
  suffix: e && !Array.isArray(e) && e.fullMatch ? i.substring(e.matchIndex + e.fullMatch.length) : ""
319
319
  };
320
320
  }
321
- function Qr(i) {
322
- const t = Gr("number", i);
321
+ function Zr(i) {
322
+ const t = Ur("number", i);
323
323
  return t ? Array.isArray(t) ? t.map((e) => Number(e.fullMatch)) : [Number(t.fullMatch)] : [];
324
324
  }
325
325
  const re = dh();
@@ -605,26 +605,17 @@ class ke {
605
605
  }
606
606
  }
607
607
  }
608
- let si = !1, nn = (i, t) => {
609
- };
610
- function sf() {
611
- si = !0;
612
- }
613
- function nf() {
614
- si = !1;
615
- }
616
- function rf(i) {
617
- nn = i;
618
- }
608
+ const Jr = ei().openLog || !1, Qr = ei().logUploadFn || ((i, t) => {
609
+ });
619
610
  function Ce(i) {
620
- nn("info", i), si && (!console || typeof console != "object" || typeof console.log != "function" || console.log(i));
611
+ Qr("info", i), Jr && (!console || typeof console != "object" || typeof console.log != "function" || console.log(i));
621
612
  }
622
613
  function vh(i) {
623
- nn("warn", i), si && (!console || typeof console != "object" || typeof console.warn != "function" || console.warn(i));
614
+ Qr("warn", i), Jr && (!console || typeof console != "object" || typeof console.warn != "function" || console.warn(i));
624
615
  }
625
616
  const Xi = () => {
626
617
  };
627
- function rn(i, t = 3, e) {
618
+ function nn(i, t = 3, e) {
628
619
  return async function(...s) {
629
620
  let n;
630
621
  for (let r = 0; r < t; r++)
@@ -644,7 +635,7 @@ function rn(i, t = 3, e) {
644
635
  ), n;
645
636
  };
646
637
  }
647
- function on(i, t = 6e4) {
638
+ function rn(i, t = 6e4) {
648
639
  const e = new ke(), s = new ke();
649
640
  return async function(...n) {
650
641
  const r = Date.now();
@@ -690,10 +681,10 @@ class Ch {
690
681
  this.subscribers.forEach((t) => t());
691
682
  }
692
683
  }
693
- const $n = /* @__PURE__ */ new WeakMap();
684
+ const Hn = /* @__PURE__ */ new WeakMap();
694
685
  function zs(i, t) {
695
- let e = $n.get(i);
696
- e || (e = /* @__PURE__ */ new Map(), $n.set(i, e));
686
+ let e = Hn.get(i);
687
+ e || (e = /* @__PURE__ */ new Map(), Hn.set(i, e));
697
688
  let s = e.get(t);
698
689
  return s || (s = new Ch(), e.set(t, s)), s;
699
690
  }
@@ -701,7 +692,7 @@ function _h(i, t = !1) {
701
692
  return Object.keys(i).forEach((e) => {
702
693
  let s = i[e];
703
694
  if (t && typeof s == "object" && s !== null)
704
- i[e] = an(s, t);
695
+ i[e] = on(s, t);
705
696
  else {
706
697
  const n = zs(i, e);
707
698
  Object.defineProperty(i, e, {
@@ -726,14 +717,14 @@ function _h(i, t = !1) {
726
717
  function ii(i, t = !1) {
727
718
  return _h({ value: i }, t);
728
719
  }
729
- function an(i, t = !1) {
720
+ function on(i, t = !1) {
730
721
  const e = {
731
722
  // 拦截对象属性的读取
732
723
  // target 目标对象、key 键值、receiver 当前proxy实例
733
724
  get(n, r, o) {
734
725
  const a = Reflect.get(n, r, o);
735
726
  if (t && typeof a == "object" && a !== null && !("isYZReactiveProxy" in a)) {
736
- const c = an(a, t);
727
+ const c = on(a, t);
737
728
  c.YZReactiveProxyParentTarget = n, c.YZReactiveProxyParentKey = r, Reflect.set(o, r, c);
738
729
  }
739
730
  return zs(n, r).add(), Reflect.get(n, r, o);
@@ -794,7 +785,7 @@ function an(i, t = !1) {
794
785
  };
795
786
  return new Proxy(i, e);
796
787
  }
797
- const Kr = an;
788
+ const Kr = on;
798
789
  function Th(i = 3, t) {
799
790
  return function(e, s, n) {
800
791
  const r = `${e.constructor.name}.${String(s)}`, o = n.value;
@@ -802,7 +793,7 @@ function Th(i = 3, t) {
802
793
  throw new SyntaxError(
803
794
  `@Retry() can only be used on functions, not: ${r}`
804
795
  );
805
- const a = rn(o, i, t);
796
+ const a = nn(o, i, t);
806
797
  return {
807
798
  ...n,
808
799
  async value(...h) {
@@ -818,7 +809,7 @@ function Ph(i = 6e4) {
818
809
  throw new SyntaxError(
819
810
  `@Cache() can only be used on functions, not: ${n}`
820
811
  );
821
- const o = on(r, i);
812
+ const o = rn(r, i);
822
813
  return {
823
814
  ...s,
824
815
  async value(...a) {
@@ -847,11 +838,11 @@ function Eh() {
847
838
  i.resolve = t, i.reject = e;
848
839
  }), i;
849
840
  }
850
- let Wn;
841
+ let $n;
851
842
  try {
852
- Wn = Promise;
843
+ $n = Promise;
853
844
  } catch {
854
- Wn = function() {
845
+ $n = function() {
855
846
  };
856
847
  }
857
848
  function to(i) {
@@ -1015,7 +1006,7 @@ function so(i, t) {
1015
1006
  return i.apply(t, arguments);
1016
1007
  };
1017
1008
  }
1018
- const { toString: Ih } = Object.prototype, { getPrototypeOf: hn } = Object, ni = ((i) => (t) => {
1009
+ const { toString: Ih } = Object.prototype, { getPrototypeOf: an } = Object, ni = ((i) => (t) => {
1019
1010
  const e = Ih.call(t);
1020
1011
  return i[e] || (i[e] = e.slice(8, -1).toLowerCase());
1021
1012
  })(/* @__PURE__ */ Object.create(null)), Gt = (i) => (i = i.toLowerCase(), (t) => ni(t) === i), ri = (i) => (t) => typeof t === i, { isArray: He } = Array, cs = ri("undefined");
@@ -1030,7 +1021,7 @@ function Rh(i) {
1030
1021
  const Lh = ri("string"), Et = ri("function"), no = ri("number"), oi = (i) => i !== null && typeof i == "object", zh = (i) => i === !0 || i === !1, Os = (i) => {
1031
1022
  if (ni(i) !== "object")
1032
1023
  return !1;
1033
- const t = hn(i);
1024
+ const t = an(i);
1034
1025
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in i) && !(Symbol.iterator in i);
1035
1026
  }, Oh = Gt("Date"), Fh = Gt("File"), Nh = Gt("Blob"), Bh = Gt("FileList"), Yh = (i) => oi(i) && Et(i.pipe), Xh = (i) => {
1036
1027
  let t;
@@ -1084,7 +1075,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1084
1075
  do {
1085
1076
  for (n = Object.getOwnPropertyNames(i), r = n.length; r-- > 0; )
1086
1077
  o = n[r], (!s || s(o, i, t)) && !a[o] && (t[o] = i[o], a[o] = !0);
1087
- i = e !== !1 && hn(i);
1078
+ i = e !== !1 && an(i);
1088
1079
  } while (i && (!e || e(i, t)) && i !== Object.prototype);
1089
1080
  return t;
1090
1081
  }, Qh = (i, t, e) => {
@@ -1103,7 +1094,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1103
1094
  for (; t-- > 0; )
1104
1095
  e[t] = i[t];
1105
1096
  return e;
1106
- }, tc = ((i) => (t) => i && t instanceof i)(typeof Uint8Array < "u" && hn(Uint8Array)), ec = (i, t) => {
1097
+ }, tc = ((i) => (t) => i && t instanceof i)(typeof Uint8Array < "u" && an(Uint8Array)), ec = (i, t) => {
1107
1098
  const s = (i && i[Symbol.iterator]).call(i);
1108
1099
  let n;
1109
1100
  for (; (n = s.next()) && !n.done; ) {
@@ -1121,7 +1112,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1121
1112
  function(e, s, n) {
1122
1113
  return s.toUpperCase() + n;
1123
1114
  }
1124
- ), Zn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), rc = Gt("RegExp"), ao = (i, t) => {
1115
+ ), Wn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), rc = Gt("RegExp"), ao = (i, t) => {
1125
1116
  const e = Object.getOwnPropertyDescriptors(i), s = {};
1126
1117
  us(e, (n, r) => {
1127
1118
  let o;
@@ -1217,8 +1208,8 @@ const uc = (i) => {
1217
1208
  forEachEntry: ec,
1218
1209
  matchAll: sc,
1219
1210
  isHTMLForm: ic,
1220
- hasOwnProperty: Zn,
1221
- hasOwnProp: Zn,
1211
+ hasOwnProperty: Wn,
1212
+ hasOwnProp: Wn,
1222
1213
  // an alias to avoid ESLint no-prototype-builtins detection
1223
1214
  reduceDescriptors: ao,
1224
1215
  freezeMethods: oc,
@@ -1293,7 +1284,7 @@ function Vi(i) {
1293
1284
  function uo(i) {
1294
1285
  return E.endsWith(i, "[]") ? i.slice(0, -2) : i;
1295
1286
  }
1296
- function Jn(i, t, e) {
1287
+ function Zn(i, t, e) {
1297
1288
  return i ? i.concat(t).map(function(n, r) {
1298
1289
  return n = uo(n), !e && r ? "[" + n + "]" : n;
1299
1290
  }).join(e ? "." : "") : t;
@@ -1335,12 +1326,12 @@ function ai(i, t, e) {
1335
1326
  return S = uo(S), w.forEach(function(g, y) {
1336
1327
  !(E.isUndefined(g) || g === null) && t.append(
1337
1328
  // eslint-disable-next-line no-nested-ternary
1338
- o === !0 ? Jn([S], y, r) : o === null ? S : S + "[]",
1329
+ o === !0 ? Zn([S], y, r) : o === null ? S : S + "[]",
1339
1330
  c(g)
1340
1331
  );
1341
1332
  }), !1;
1342
1333
  }
1343
- return Vi(m) ? !0 : (t.append(Jn(v, S, r), c(m)), !1);
1334
+ return Vi(m) ? !0 : (t.append(Zn(v, S, r), c(m)), !1);
1344
1335
  }
1345
1336
  const u = [], f = Object.assign(yc, {
1346
1337
  defaultVisitor: l,
@@ -1366,7 +1357,7 @@ function ai(i, t, e) {
1366
1357
  throw new TypeError("data must be an object");
1367
1358
  return d(i), t;
1368
1359
  }
1369
- function Qn(i) {
1360
+ function Jn(i) {
1370
1361
  const t = {
1371
1362
  "!": "%21",
1372
1363
  "'": "%27",
@@ -1380,17 +1371,17 @@ function Qn(i) {
1380
1371
  return t[s];
1381
1372
  });
1382
1373
  }
1383
- function cn(i, t) {
1374
+ function hn(i, t) {
1384
1375
  this._pairs = [], i && ai(i, this, t);
1385
1376
  }
1386
- const fo = cn.prototype;
1377
+ const fo = hn.prototype;
1387
1378
  fo.append = function(t, e) {
1388
1379
  this._pairs.push([t, e]);
1389
1380
  };
1390
1381
  fo.toString = function(t) {
1391
1382
  const e = t ? function(s) {
1392
- return t.call(this, s, Qn);
1393
- } : Qn;
1383
+ return t.call(this, s, Jn);
1384
+ } : Jn;
1394
1385
  return this._pairs.map(function(n) {
1395
1386
  return e(n[0]) + "=" + e(n[1]);
1396
1387
  }, "").join("&");
@@ -1407,7 +1398,7 @@ function mo(i, t, e) {
1407
1398
  });
1408
1399
  const n = e && e.serialize;
1409
1400
  let r;
1410
- if (n ? r = n(t, e) : r = E.isURLSearchParams(t) ? t.toString() : new cn(t, e).toString(s), r) {
1401
+ if (n ? r = n(t, e) : r = E.isURLSearchParams(t) ? t.toString() : new hn(t, e).toString(s), r) {
1411
1402
  const o = i.indexOf("#");
1412
1403
  o !== -1 && (i = i.slice(0, o)), i += (i.indexOf("?") === -1 ? "?" : "&") + r;
1413
1404
  }
@@ -1467,11 +1458,11 @@ class wc {
1467
1458
  });
1468
1459
  }
1469
1460
  }
1470
- const Kn = wc, po = {
1461
+ const Qn = wc, po = {
1471
1462
  silentJSONParsing: !0,
1472
1463
  forcedJSONParsing: !0,
1473
1464
  clarifyTimeoutError: !1
1474
- }, bc = typeof URLSearchParams < "u" ? URLSearchParams : cn, Sc = typeof FormData < "u" ? FormData : null, vc = typeof Blob < "u" ? Blob : null, Cc = {
1465
+ }, bc = typeof URLSearchParams < "u" ? URLSearchParams : hn, Sc = typeof FormData < "u" ? FormData : null, vc = typeof Blob < "u" ? Blob : null, Cc = {
1475
1466
  isBrowser: !0,
1476
1467
  classes: {
1477
1468
  URLSearchParams: bc,
@@ -1479,10 +1470,10 @@ const Kn = wc, po = {
1479
1470
  Blob: vc
1480
1471
  },
1481
1472
  protocols: ["http", "https", "file", "blob", "url", "data"]
1482
- }, ln = typeof window < "u" && typeof document < "u", Gi = typeof navigator == "object" && navigator || void 0, _c = ln && (!Gi || ["ReactNative", "NativeScript", "NS"].indexOf(Gi.product) < 0), Tc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1483
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Pc = ln && window.location.href || "http://localhost", Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1473
+ }, cn = typeof window < "u" && typeof document < "u", Gi = typeof navigator == "object" && navigator || void 0, _c = cn && (!Gi || ["ReactNative", "NativeScript", "NS"].indexOf(Gi.product) < 0), Tc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1474
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Pc = cn && window.location.href || "http://localhost", Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1484
1475
  __proto__: null,
1485
- hasBrowserEnv: ln,
1476
+ hasBrowserEnv: cn,
1486
1477
  hasStandardBrowserEnv: _c,
1487
1478
  hasStandardBrowserWebWorkerEnv: Tc,
1488
1479
  navigator: Gi,
@@ -1536,7 +1527,7 @@ function Ic(i, t, e) {
1536
1527
  }
1537
1528
  return (e || JSON.stringify)(i);
1538
1529
  }
1539
- const un = {
1530
+ const ln = {
1540
1531
  transitional: po,
1541
1532
  adapter: ["xhr", "http", "fetch"],
1542
1533
  transformRequest: [function(t, e) {
@@ -1565,7 +1556,7 @@ const un = {
1565
1556
  return r || n ? (e.setContentType("application/json", !1), Ic(t)) : t;
1566
1557
  }],
1567
1558
  transformResponse: [function(t) {
1568
- const e = this.transitional || un.transitional, s = e && e.forcedJSONParsing, n = this.responseType === "json";
1559
+ const e = this.transitional || ln.transitional, s = e && e.forcedJSONParsing, n = this.responseType === "json";
1569
1560
  if (E.isResponse(t) || E.isReadableStream(t))
1570
1561
  return t;
1571
1562
  if (t && E.isString(t) && (s && !this.responseType || n)) {
@@ -1603,9 +1594,9 @@ const un = {
1603
1594
  }
1604
1595
  };
1605
1596
  E.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
1606
- un.headers[i] = {};
1597
+ ln.headers[i] = {};
1607
1598
  });
1608
- const fn = un, Dc = E.toObjectSet([
1599
+ const un = ln, Dc = E.toObjectSet([
1609
1600
  "age",
1610
1601
  "authorization",
1611
1602
  "content-length",
@@ -1630,7 +1621,7 @@ const fn = un, Dc = E.toObjectSet([
1630
1621
  `).forEach(function(o) {
1631
1622
  n = o.indexOf(":"), e = o.substring(0, n).trim().toLowerCase(), s = o.substring(n + 1).trim(), !(!e || t[e] && Dc[e]) && (e === "set-cookie" ? t[e] ? t[e].push(s) : t[e] = [s] : t[e] = t[e] ? t[e] + ", " + s : s);
1632
1623
  }), t;
1633
- }, tr = Symbol("internals");
1624
+ }, Kn = Symbol("internals");
1634
1625
  function Qe(i) {
1635
1626
  return i && String(i).trim().toLowerCase();
1636
1627
  }
@@ -1777,7 +1768,7 @@ class hi {
1777
1768
  return e.forEach((n) => s.set(n)), s;
1778
1769
  }
1779
1770
  static accessor(t) {
1780
- const s = (this[tr] = this[tr] = {
1771
+ const s = (this[Kn] = this[Kn] = {
1781
1772
  accessors: {}
1782
1773
  }).accessors, n = this.prototype;
1783
1774
  function r(o) {
@@ -1800,7 +1791,7 @@ E.reduceDescriptors(hi.prototype, ({ value: i }, t) => {
1800
1791
  E.freezeMethods(hi);
1801
1792
  const Ut = hi;
1802
1793
  function Mi(i, t) {
1803
- const e = this || fn, s = t || e, n = Ut.from(s.headers);
1794
+ const e = this || un, s = t || e, n = Ut.from(s.headers);
1804
1795
  let r = s.data;
1805
1796
  return E.forEach(i, function(a) {
1806
1797
  r = a.call(e, r, n.normalize(), t ? t.status : void 0);
@@ -1876,14 +1867,14 @@ const Us = (i, t, e = 3) => {
1876
1867
  };
1877
1868
  i(u);
1878
1869
  }, e);
1879
- }, er = (i, t) => {
1870
+ }, tr = (i, t) => {
1880
1871
  const e = i != null;
1881
1872
  return [(s) => t[0]({
1882
1873
  lengthComputable: e,
1883
1874
  total: i,
1884
1875
  loaded: s
1885
1876
  }), t[1]];
1886
- }, sr = (i) => (...t) => E.asap(() => i(...t)), Xc = lt.hasStandardBrowserEnv ? ((i, t) => (e) => (e = new URL(e, lt.origin), i.protocol === e.protocol && i.host === e.host && (t || i.port === e.port)))(
1877
+ }, er = (i) => (...t) => E.asap(() => i(...t)), Xc = lt.hasStandardBrowserEnv ? ((i, t) => (e) => (e = new URL(e, lt.origin), i.protocol === e.protocol && i.host === e.host && (t || i.port === e.port)))(
1887
1878
  new URL(lt.origin),
1888
1879
  lt.navigator && /(msie|trident)/i.test(lt.navigator.userAgent)
1889
1880
  ) : () => !0, Uc = lt.hasStandardBrowserEnv ? (
@@ -1923,7 +1914,7 @@ function wo(i, t, e) {
1923
1914
  let s = !Vc(t);
1924
1915
  return i && (s || e == !1) ? Gc(i, t) : t;
1925
1916
  }
1926
- const ir = (i) => i instanceof Ut ? { ...i } : i;
1917
+ const sr = (i) => i instanceof Ut ? { ...i } : i;
1927
1918
  function Ie(i, t) {
1928
1919
  t = t || {};
1929
1920
  const e = {};
@@ -1983,7 +1974,7 @@ function Ie(i, t) {
1983
1974
  socketPath: o,
1984
1975
  responseEncoding: o,
1985
1976
  validateStatus: a,
1986
- headers: (c, l, u) => n(ir(c), ir(l), u, !0)
1977
+ headers: (c, l, u) => n(sr(c), sr(l), u, !0)
1987
1978
  };
1988
1979
  return E.forEach(Object.keys(Object.assign({}, i, t)), function(l) {
1989
1980
  const u = h[l] || n, f = u(i[l], t[l], l);
@@ -2119,7 +2110,7 @@ const bo = (i) => {
2119
2110
  } finally {
2120
2111
  await t.cancel();
2121
2112
  }
2122
- }, nr = (i, t, e, s) => {
2113
+ }, ir = (i, t, e, s) => {
2123
2114
  const n = Zc(i, t);
2124
2115
  let r = 0, o, a = (h) => {
2125
2116
  o || (o = !0, s && s(h));
@@ -2164,7 +2155,7 @@ const bo = (i) => {
2164
2155
  }
2165
2156
  }).headers.has("Content-Type");
2166
2157
  return i && !t;
2167
- }), rr = 64 * 1024, qi = So && vo(() => E.isReadableStream(new Response("").body)), Vs = {
2158
+ }), nr = 64 * 1024, qi = So && vo(() => E.isReadableStream(new Response("").body)), Vs = {
2168
2159
  stream: qi && ((i) => i.body)
2169
2160
  };
2170
2161
  ci && ((i) => {
@@ -2220,11 +2211,11 @@ const tl = async (i) => {
2220
2211
  duplex: "half"
2221
2212
  }), C;
2222
2213
  if (E.isFormData(s) && (C = _.headers.get("content-type")) && l.setContentType(C), _.body) {
2223
- const [D, X] = er(
2214
+ const [D, X] = tr(
2224
2215
  v,
2225
- Us(sr(h))
2216
+ Us(er(h))
2226
2217
  );
2227
- s = nr(_.body, rr, D, X);
2218
+ s = ir(_.body, nr, D, X);
2228
2219
  }
2229
2220
  }
2230
2221
  E.isString(u) || (u = u ? "include" : "omit");
@@ -2245,12 +2236,12 @@ const tl = async (i) => {
2245
2236
  ["status", "statusText", "headers"].forEach((V) => {
2246
2237
  _[V] = b[V];
2247
2238
  });
2248
- const C = E.toFiniteNumber(b.headers.get("content-length")), [D, X] = a && er(
2239
+ const C = E.toFiniteNumber(b.headers.get("content-length")), [D, X] = a && tr(
2249
2240
  C,
2250
- Us(sr(a), !0)
2241
+ Us(er(a), !0)
2251
2242
  ) || [];
2252
2243
  b = new Response(
2253
- nr(b.body, rr, D, () => {
2244
+ ir(b.body, nr, D, () => {
2254
2245
  X && X(), S && S();
2255
2246
  }),
2256
2247
  _
@@ -2290,7 +2281,7 @@ E.forEach(ji, (i, t) => {
2290
2281
  Object.defineProperty(i, "adapterName", { value: t });
2291
2282
  }
2292
2283
  });
2293
- const or = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !1, Co = {
2284
+ const rr = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !1, Co = {
2294
2285
  getAdapter: (i) => {
2295
2286
  i = E.isArray(i) ? i : [i];
2296
2287
  const { length: t } = i;
@@ -2310,8 +2301,8 @@ const or = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !
2310
2301
  ([a, h]) => `adapter ${a} ` + (h === !1 ? "is not supported by the environment" : "is not available in the build")
2311
2302
  );
2312
2303
  let o = t ? r.length > 1 ? `since :
2313
- ` + r.map(or).join(`
2314
- `) : " " + or(r[0]) : "as no adapter specified";
2304
+ ` + r.map(rr).join(`
2305
+ `) : " " + rr(r[0]) : "as no adapter specified";
2315
2306
  throw new B(
2316
2307
  "There is no suitable adapter to dispatch the request " + o,
2317
2308
  "ERR_NOT_SUPPORT"
@@ -2325,11 +2316,11 @@ function Ei(i) {
2325
2316
  if (i.cancelToken && i.cancelToken.throwIfRequested(), i.signal && i.signal.aborted)
2326
2317
  throw new $e(null, i);
2327
2318
  }
2328
- function ar(i) {
2319
+ function or(i) {
2329
2320
  return Ei(i), i.headers = Ut.from(i.headers), i.data = Mi.call(
2330
2321
  i,
2331
2322
  i.transformRequest
2332
- ), ["post", "put", "patch"].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), Co.getAdapter(i.adapter || fn.adapter)(i).then(function(s) {
2323
+ ), ["post", "put", "patch"].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), Co.getAdapter(i.adapter || un.adapter)(i).then(function(s) {
2333
2324
  return Ei(i), s.data = Mi.call(
2334
2325
  i,
2335
2326
  i.transformResponse,
@@ -2349,7 +2340,7 @@ const _o = "1.8.4", li = {};
2349
2340
  return typeof s === i || "a" + (t < 1 ? "n " : " ") + i;
2350
2341
  };
2351
2342
  });
2352
- const hr = {};
2343
+ const ar = {};
2353
2344
  li.transitional = function(t, e, s) {
2354
2345
  function n(r, o) {
2355
2346
  return "[Axios v" + _o + "] Transitional option '" + r + "'" + o + (s ? ". " + s : "");
@@ -2360,7 +2351,7 @@ li.transitional = function(t, e, s) {
2360
2351
  n(o, " has been removed" + (e ? " in " + e : "")),
2361
2352
  B.ERR_DEPRECATED
2362
2353
  );
2363
- return e && !hr[o] && (hr[o] = !0, console.warn(
2354
+ return e && !ar[o] && (ar[o] = !0, console.warn(
2364
2355
  n(
2365
2356
  o,
2366
2357
  " has been deprecated since v" + e + " and will be removed in the near future"
@@ -2395,8 +2386,8 @@ const Ns = {
2395
2386
  class Gs {
2396
2387
  constructor(t) {
2397
2388
  this.defaults = t, this.interceptors = {
2398
- request: new Kn(),
2399
- response: new Kn()
2389
+ request: new Qn(),
2390
+ response: new Qn()
2400
2391
  };
2401
2392
  }
2402
2393
  /**
@@ -2461,7 +2452,7 @@ class Gs {
2461
2452
  });
2462
2453
  let l, u = 0, f;
2463
2454
  if (!h) {
2464
- const m = [ar.bind(this), void 0];
2455
+ const m = [or.bind(this), void 0];
2465
2456
  for (m.unshift.apply(m, a), m.push.apply(m, c), f = m.length, l = Promise.resolve(e); u < f; )
2466
2457
  l = l.then(m[u++], m[u++]);
2467
2458
  return l;
@@ -2478,7 +2469,7 @@ class Gs {
2478
2469
  }
2479
2470
  }
2480
2471
  try {
2481
- l = ar.call(this, d);
2472
+ l = or.call(this, d);
2482
2473
  } catch (m) {
2483
2474
  return Promise.reject(m);
2484
2475
  }
@@ -2517,7 +2508,7 @@ E.forEach(["post", "put", "patch"], function(t) {
2517
2508
  Gs.prototype[t] = e(), Gs.prototype[t + "Form"] = e(!0);
2518
2509
  });
2519
2510
  const Bs = Gs;
2520
- class dn {
2511
+ class fn {
2521
2512
  constructor(t) {
2522
2513
  if (typeof t != "function")
2523
2514
  throw new TypeError("executor must be a function.");
@@ -2584,14 +2575,14 @@ class dn {
2584
2575
  static source() {
2585
2576
  let t;
2586
2577
  return {
2587
- token: new dn(function(n) {
2578
+ token: new fn(function(n) {
2588
2579
  t = n;
2589
2580
  }),
2590
2581
  cancel: t
2591
2582
  };
2592
2583
  }
2593
2584
  }
2594
- const rl = dn;
2585
+ const rl = fn;
2595
2586
  function ol(i) {
2596
2587
  return function(e) {
2597
2588
  return i.apply(null, e);
@@ -2675,7 +2666,7 @@ function To(i) {
2675
2666
  return To(Ie(i, n));
2676
2667
  }, e;
2677
2668
  }
2678
- const et = To(fn);
2669
+ const et = To(un);
2679
2670
  et.Axios = Bs;
2680
2671
  et.CanceledError = $e;
2681
2672
  et.CancelToken = rl;
@@ -2813,7 +2804,7 @@ class pl {
2813
2804
  this.pendingRequestMap.clear();
2814
2805
  }
2815
2806
  }
2816
- const Eo = (i) => new XMLSerializer().serializeToString(i), of = (i, t = "text/html") => new DOMParser().parseFromString(i, t), gl = (i, t = pt.SVG, e = Xs.utf8) => sn(Eo(i), t, e);
2807
+ const Eo = (i) => new XMLSerializer().serializeToString(i), sf = (i, t = "text/html") => new DOMParser().parseFromString(i, t), gl = (i, t = pt.SVG, e = Xs.utf8) => sn(Eo(i), t, e);
2817
2808
  async function Ao(i = ["*"], t) {
2818
2809
  if (!document || !(document instanceof Document))
2819
2810
  throw new Error("This is not a browser environment");
@@ -2870,18 +2861,18 @@ function ui(i, t = Lt.text, e) {
2870
2861
  }
2871
2862
  });
2872
2863
  }
2873
- async function af(i) {
2864
+ async function nf(i) {
2874
2865
  const t = await ui(
2875
2866
  i,
2876
2867
  Lt.arraybuffer
2877
2868
  );
2878
2869
  return gh(t);
2879
2870
  }
2880
- const hf = (i) => {
2871
+ const rf = (i) => {
2881
2872
  let t;
2882
2873
  return i instanceof File ? t = i.name : t = i, t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i)?.[1] || "";
2883
2874
  };
2884
- function cf(i) {
2875
+ function of(i) {
2885
2876
  switch (i.toLowerCase()) {
2886
2877
  case "jpg":
2887
2878
  case "jpeg":
@@ -2929,7 +2920,7 @@ async function yl(i, t = 1 * 1024 * 1024) {
2929
2920
  )
2930
2921
  );
2931
2922
  }
2932
- class lf {
2923
+ class af {
2933
2924
  axios;
2934
2925
  // 获取服务器端 文件 MD5 hash 地址
2935
2926
  checkURL;
@@ -2988,7 +2979,7 @@ class lf {
2988
2979
  this.timer && (clearInterval(this.timer), this.timer = void 0);
2989
2980
  }
2990
2981
  }
2991
- function uf(i, t) {
2982
+ function hf(i, t) {
2992
2983
  const e = ii(t?.value || "");
2993
2984
  if (!e.value) {
2994
2985
  const s = `; ${document.cookie}`.split(`; ${i}=`).pop()?.split(";").shift();
@@ -3001,7 +2992,7 @@ function uf(i, t) {
3001
2992
  }
3002
2993
  }), e;
3003
2994
  }
3004
- function ff() {
2995
+ function cf() {
3005
2996
  const i = document.cookie.split("; ");
3006
2997
  for (let t = 0; t < i.length; t++) {
3007
2998
  const e = window.location.hostname.split(".");
@@ -3031,10 +3022,10 @@ function xl(i, t) {
3031
3022
  window.localStorage.removeItem(i);
3032
3023
  }), e;
3033
3024
  }
3034
- function df() {
3025
+ function lf() {
3035
3026
  window.localStorage.clear();
3036
3027
  }
3037
- function mf(i, t) {
3028
+ function uf(i, t) {
3038
3029
  const e = ii(t || "");
3039
3030
  if (!t)
3040
3031
  try {
@@ -3056,7 +3047,7 @@ function wl(i, t) {
3056
3047
  let e;
3057
3048
  return i.objectStoreNames.contains(t) || (e = i.createObjectStore(t, { keyPath: "id" })), e;
3058
3049
  }
3059
- function pf(i, t = 1, e) {
3050
+ function ff(i, t = 1, e) {
3060
3051
  return new Promise((s, n) => {
3061
3052
  let r;
3062
3053
  const o = window.indexedDB.open(i, t);
@@ -3067,7 +3058,7 @@ function pf(i, t = 1, e) {
3067
3058
  };
3068
3059
  });
3069
3060
  }
3070
- function gf(i, t, e = { id: 1, name: "xxx" }) {
3061
+ function df(i, t, e = { id: 1, name: "xxx" }) {
3071
3062
  return new Promise((s, n) => {
3072
3063
  const r = i.transaction(
3073
3064
  [t],
@@ -3123,7 +3114,7 @@ const bl = [
3123
3114
  "dragleave",
3124
3115
  "drop"
3125
3116
  ], Tl = ["change"];
3126
- function yf(i, t, e = {
3117
+ function mf(i, t, e = {
3127
3118
  bubbles: !0,
3128
3119
  detail: {}
3129
3120
  }) {
@@ -3142,7 +3133,7 @@ function yf(i, t, e = {
3142
3133
  else
3143
3134
  throw new Error(`Can't fire event : ${t}`);
3144
3135
  }
3145
- function xf(i, t) {
3136
+ function pf(i, t) {
3146
3137
  const e = i.changedTouches[0];
3147
3138
  return new MouseEvent(t, {
3148
3139
  bubbles: !0,
@@ -3175,13 +3166,13 @@ function Pl(i) {
3175
3166
  } catch {
3176
3167
  }
3177
3168
  }
3178
- function wf(i, t) {
3169
+ function gf(i, t) {
3179
3170
  let e = document.createElement(i);
3180
3171
  t = "on" + t;
3181
3172
  let s = t in e;
3182
3173
  return s || (e.setAttribute(t, "return;"), s = typeof e[t] == "function"), e = null, s;
3183
3174
  }
3184
- function bf(i) {
3175
+ function yf(i) {
3185
3176
  if (document.implementation.hasFeature("MouseEvents", "2.0"))
3186
3177
  return i.button;
3187
3178
  switch (i.button) {
@@ -3198,12 +3189,12 @@ function bf(i) {
3198
3189
  return 1;
3199
3190
  }
3200
3191
  }
3201
- const mn = () => {
3192
+ const dn = () => {
3202
3193
  const i = navigator.userAgent.toLowerCase();
3203
3194
  let t = "Unknown";
3204
3195
  return /iphone|ipad|ipod/i.test(i) ? t = "iOS" : /android/i.test(i) ? t = "Android" : /BlackBerry/i.test(i) ? t = "BlackBerry" : /mac/i.test(i) ? t = "macOS" : /win/i.test(i) ? t = "Windows" : /linux/i.test(i) ? t = "Linux" : /bsd/i.test(i) && (t = "BSD"), t.toLowerCase();
3205
3196
  };
3206
- function Sf(i = navigator.userAgent) {
3197
+ function xf(i = navigator.userAgent) {
3207
3198
  let t = "Unknown";
3208
3199
  if (/iPhone|iPad|iPod/i.test(i)) {
3209
3200
  const e = i.match(/OS (\d+_\d+)/i);
@@ -3220,7 +3211,7 @@ function Sf(i = navigator.userAgent) {
3220
3211
  }
3221
3212
  return t.toLowerCase();
3222
3213
  }
3223
- function vf(i, t) {
3214
+ function wf(i, t) {
3224
3215
  const e = i.split("."), s = t.split(".");
3225
3216
  for (let n = 0, r = e.length; n < r; n++) {
3226
3217
  if (s.length == n)
@@ -3235,7 +3226,7 @@ function Io() {
3235
3226
  let t = "Unknown";
3236
3227
  return /opr/i.test(i) || /opera/i.test(i) ? t = "Opera" : /chrome/i.test(i) ? t = "Chrome" : /firefox/i.test(i) ? t = "Firefox" : /safari/i.test(i) ? t = "Safari" : /edge/i.test(i) ? t = "Edge" : /msie|trident/i.test(i) ? t = "IE" : /MicroMessenger/i.test(i) ? t = "Wechat" : /alipay/i.test(i) && (t = "Ali"), t.toLowerCase();
3237
3228
  }
3238
- const Cf = () => {
3229
+ const bf = () => {
3239
3230
  const i = navigator.userAgent;
3240
3231
  let t = "Unknown";
3241
3232
  if (/Chrome/.test(i)) {
@@ -3256,25 +3247,25 @@ const Cf = () => {
3256
3247
  }
3257
3248
  return t;
3258
3249
  };
3259
- function _f() {
3250
+ function Sf() {
3260
3251
  return (navigator.browserLanguage || navigator.language).toLowerCase();
3261
3252
  }
3262
- function Tf() {
3253
+ function vf() {
3263
3254
  return Intl.DateTimeFormat().resolvedOptions().timeZone.toLowerCase();
3264
3255
  }
3265
3256
  function Do() {
3266
- return mn() === "ios";
3257
+ return dn() === "ios";
3267
3258
  }
3268
3259
  function Ro() {
3269
- return mn() === "macos";
3260
+ return dn() === "macos";
3270
3261
  }
3271
- function Pf() {
3262
+ function Cf() {
3272
3263
  return Do() | Ro();
3273
3264
  }
3274
3265
  function Ml() {
3275
- return mn() === "android";
3266
+ return dn() === "android";
3276
3267
  }
3277
- function Mf() {
3268
+ function _f() {
3278
3269
  return Do() || Ml();
3279
3270
  }
3280
3271
  function El() {
@@ -3288,24 +3279,24 @@ function El() {
3288
3279
  const s = i.indexOf("Edge/");
3289
3280
  return s > 0 ? parseInt(i.substring(s + 5, i.indexOf(".", s)), 10) : -1;
3290
3281
  }
3291
- const Ef = El() !== -1, Af = document.documentMode ? document.documentMode === 9 : !1, kf = document.documentMode ? document.documentMode === 10 : !1, If = document.documentMode ? document.documentMode === 11 : !1;
3282
+ const Tf = El() !== -1, Pf = document.documentMode ? document.documentMode === 9 : !1, Mf = document.documentMode ? document.documentMode === 10 : !1, Ef = document.documentMode ? document.documentMode === 11 : !1;
3292
3283
  function Al() {
3293
3284
  return Io() === "wechat";
3294
3285
  }
3295
3286
  function kl() {
3296
3287
  return Io() === "ali";
3297
3288
  }
3298
- function Df() {
3289
+ function Af() {
3299
3290
  return Al() && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === "miniprogram";
3300
3291
  }
3301
- function Rf() {
3292
+ function kf() {
3302
3293
  return kl() && navigator.userAgent.match(/miniprogram/i);
3303
3294
  }
3304
- const Lf = typeof document < "u", Il = typeof window < "u", zf = typeof history < "u", Of = Il && window.File && window.FileReader && window.FileList && window.Blob, Dl = (() => {
3305
- const i = Vr();
3295
+ const If = typeof document < "u", Il = typeof window < "u", Df = typeof history < "u", Rf = Il && window.File && window.FileReader && window.FileList && window.Blob, Dl = (() => {
3296
+ const i = ei();
3306
3297
  return !!(i.Worker && i.Blob && i.Promise && i.OffscreenCanvas && i.OffscreenCanvasRenderingContext2D && i.HTMLCanvasElement && i.HTMLCanvasElement.prototype.transferControlToOffscreen && i.URL && i.URL.createObjectURL);
3307
- })(), Ff = typeof Path2D == "function" && typeof DOMMatrix == "function", Rl = function() {
3308
- if (!Vr().OffscreenCanvas)
3298
+ })(), Lf = typeof Path2D == "function" && typeof DOMMatrix == "function", Rl = function() {
3299
+ if (!ei().OffscreenCanvas)
3309
3300
  return !1;
3310
3301
  const t = new OffscreenCanvas(1, 1), e = t.getContext("2d");
3311
3302
  e.fillRect(0, 0, 1, 1);
@@ -3316,15 +3307,15 @@ const Lf = typeof document < "u", Il = typeof window < "u", zf = typeof history
3316
3307
  return !1;
3317
3308
  }
3318
3309
  return !0;
3319
- }(), Nf = typeof HTMLElement == "object" ? function(t) {
3310
+ }(), zf = typeof HTMLElement == "object" ? function(t) {
3320
3311
  return t instanceof HTMLElement;
3321
3312
  } : function(t) {
3322
3313
  return t && typeof t == "object" && t.nodeType === 1 && typeof t.nodeName == "string";
3323
- }, Bf = "webkit moz ms o".split(" ");
3314
+ }, Of = "webkit moz ms o".split(" ");
3324
3315
  function Ai(i) {
3325
3316
  return typeof i == "function" && /native code/.test(i.toString());
3326
3317
  }
3327
- function Yf() {
3318
+ function Ff() {
3328
3319
  return "ontouchstart" in window || "ontouchend" in document || navigator.maxTouchPoints > 0;
3329
3320
  }
3330
3321
  (function() {
@@ -3349,7 +3340,7 @@ function Lo(i) {
3349
3340
  t = !0;
3350
3341
  };
3351
3342
  }
3352
- function cr(i, t = 0) {
3343
+ function hr(i, t = 0) {
3353
3344
  if (t == 0)
3354
3345
  return i(Z()), () => {
3355
3346
  };
@@ -3358,20 +3349,20 @@ function cr(i, t = 0) {
3358
3349
  return Lo((s) => s - e >= t ? (i(s), !1) : !0);
3359
3350
  }
3360
3351
  }
3361
- function Xf(i, t = 0) {
3352
+ function Nf(i, t = 0) {
3362
3353
  let e = !1, s = 0;
3363
3354
  const n = Z(), r = (o) => {
3364
3355
  if (e)
3365
3356
  return;
3366
3357
  s++;
3367
3358
  const a = o - n - s * t;
3368
- i(o, s, t <= a), cr(r, Math.max(0, t - a));
3359
+ i(o, s, t <= a), hr(r, Math.max(0, t - a));
3369
3360
  };
3370
- return cr(r, t), () => {
3361
+ return hr(r, t), () => {
3371
3362
  e = !0;
3372
3363
  };
3373
3364
  }
3374
- function Uf(i, t = 20) {
3365
+ function Bf(i, t = 20) {
3375
3366
  const e = 1e3 / t;
3376
3367
  let s = 0, n;
3377
3368
  return () => (Z() - s >= e && (s = Z(), n = i()), n);
@@ -3425,7 +3416,7 @@ function Ol(i) {
3425
3416
  e < le && Se < le ? (e < 8 && (e = 8), le = e < Se ? Se : e) : e > le && Se > le ? le = e < Se ? Se : e : Se = e, qs = t + le, zl.postMessage(null);
3426
3417
  });
3427
3418
  }
3428
- function Vf(i) {
3419
+ function Yf(i) {
3429
3420
  if (typeof setImmediate < "u" && Ai(setImmediate))
3430
3421
  setImmediate(i);
3431
3422
  else if (typeof MessageChannel < "u" && (Ai(MessageChannel) || MessageChannel.toString() === "[object MessageChannelConstructor]")) {
@@ -3434,7 +3425,7 @@ function Vf(i) {
3434
3425
  } else
3435
3426
  typeof Promise < "u" && Ai(Promise) ? Promise.resolve().then(i) : setTimeout(i, 0);
3436
3427
  }
3437
- function Gf(i) {
3428
+ function Xf(i) {
3438
3429
  typeof queueMicrotask == "function" ? queueMicrotask(i) : Promise.resolve().then(i).catch(
3439
3430
  (t) => setTimeout(() => {
3440
3431
  throw t;
@@ -3763,10 +3754,10 @@ function jl(i) {
3763
3754
  const [t, e, s, n] = Uo(i);
3764
3755
  return [1 - s, 1 - n, 1 - t, 1 - e];
3765
3756
  }
3766
- function qf(i) {
3757
+ function Uf(i) {
3767
3758
  return Xo(...Uo(i));
3768
3759
  }
3769
- function jf(i) {
3760
+ function Vf(i) {
3770
3761
  return Xo(...jl(i));
3771
3762
  }
3772
3763
  const me = {
@@ -4097,7 +4088,7 @@ class Go {
4097
4088
  typeof s == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(s) : this._valuesStartRepeat[t] = s, this._valuesEnd[t] = e;
4098
4089
  }
4099
4090
  }
4100
- const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl = zt.add.bind(zt), Jl = zt.remove.bind(zt), Ql = zt.update.bind(zt), Hf = {
4091
+ const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl = zt.add.bind(zt), Jl = zt.remove.bind(zt), Ql = zt.update.bind(zt), Gf = {
4101
4092
  now: Z,
4102
4093
  Sequence: fs,
4103
4094
  Easing: z,
@@ -4111,7 +4102,7 @@ const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl =
4111
4102
  remove: Jl,
4112
4103
  update: Ql
4113
4104
  };
4114
- class lr {
4105
+ class cr {
4115
4106
  autoStart;
4116
4107
  startTime;
4117
4108
  oldTime;
@@ -4142,7 +4133,7 @@ class lr {
4142
4133
  return t;
4143
4134
  }
4144
4135
  }
4145
- class pn {
4136
+ class mn {
4146
4137
  tweens = [];
4147
4138
  /// 异步任务队列
4148
4139
  // private taskQueue: AsyncTaskQueue = new AsyncTaskQueue(1);
@@ -4196,7 +4187,7 @@ class pn {
4196
4187
  };
4197
4188
  runTweens(t) {
4198
4189
  this.cancelRequestAnimationCycle();
4199
- const e = new lr(), s = this.frameDuration;
4190
+ const e = new cr(), s = this.frameDuration;
4200
4191
  return new Promise((n) => {
4201
4192
  this.onGroupStart?.(), this.cancelRequestAnimationCycle = Lo(
4202
4193
  (r) => {
@@ -4217,7 +4208,7 @@ class pn {
4217
4208
  });
4218
4209
  }
4219
4210
  isPaused = !1;
4220
- pausedClock = new lr();
4211
+ pausedClock = new cr();
4221
4212
  pausedDuration = 0;
4222
4213
  /// 注意传入的 tweens 为深拷贝新数据
4223
4214
  play(t = this.cloneTweens(this.tweens)) {
@@ -4242,17 +4233,17 @@ class pn {
4242
4233
  }
4243
4234
  }
4244
4235
  const Hs = new ke(), qo = (i = !0) => {
4245
- Hs.filter((t, e) => (e.alternate && (vn(e, e.alternate), i && Hs.set(t, e.alternate), e.alternate = void 0), i));
4236
+ Hs.filter((t, e) => (e.alternate && (Sn(e, e.alternate), i && Hs.set(t, e.alternate), e.alternate = void 0), i));
4246
4237
  };
4247
4238
  function jo(i) {
4248
4239
  let t = Hs.get(i);
4249
- return t || (t = Sn(i), Hs.set(i, t)), t;
4240
+ return t || (t = bn(i), Hs.set(i, t)), t;
4250
4241
  }
4251
4242
  function Ho(i) {
4252
4243
  const t = jo(i);
4253
- return t.alternate || (t.alternate = Sn(i)), t.alternate;
4244
+ return t.alternate || (t.alternate = bn(i)), t.alternate;
4254
4245
  }
4255
- function $f(i, t, e = !0) {
4246
+ function qf(i, t, e = !0) {
4256
4247
  t(Ho(i)), qo(e);
4257
4248
  }
4258
4249
  function $o(i, t, e = !0) {
@@ -4264,11 +4255,11 @@ function Y(i) {
4264
4255
  function gt(i) {
4265
4256
  return i * 180 / Math.PI;
4266
4257
  }
4267
- function gn(i, t, e = 0) {
4258
+ function pn(i, t, e = 0) {
4268
4259
  return Math.sqrt(i * i + t * t + e * e);
4269
4260
  }
4270
- function yn(i, t, e, s) {
4271
- return gn(e - i, s - t);
4261
+ function gn(i, t, e, s) {
4262
+ return pn(e - i, s - t);
4272
4263
  }
4273
4264
  function Di(i, t, e, s) {
4274
4265
  const n = e - i, r = s - t;
@@ -4284,7 +4275,7 @@ function Vt(i, t) {
4284
4275
  dy: Math.sin(i) * t
4285
4276
  };
4286
4277
  }
4287
- function Wf(i, t, e) {
4278
+ function jf(i, t, e) {
4288
4279
  if (typeof e == "number") {
4289
4280
  const s = Math.sqrt(Math.pow(i, 2) + Math.pow(t, 2) + Math.pow(e, 2));
4290
4281
  return {
@@ -4300,13 +4291,13 @@ function Wf(i, t, e) {
4300
4291
  };
4301
4292
  }
4302
4293
  }
4303
- function Zf(i, t, e, s, n = 10) {
4294
+ function Hf(i, t, e, s, n = 10) {
4304
4295
  if (Math.abs(e - i) < n && Math.abs(s - t) < n)
4305
4296
  return "no";
4306
4297
  const r = gt(De(i, t, e, s));
4307
4298
  return r >= -135 && r <= -45 ? "up" : r > 45 && r < 135 ? "down" : r >= 135 && r <= 180 || r >= -180 && r < -135 ? "left" : "right";
4308
4299
  }
4309
- const ur = Kl(
4300
+ const lr = Kl(
4310
4301
  "50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",
4311
4302
  32
4312
4303
  );
@@ -4466,7 +4457,7 @@ class Ri {
4466
4457
  this.__root.appendChild(s);
4467
4458
  }
4468
4459
  }
4469
- class fr {
4460
+ class ur {
4470
4461
  __root;
4471
4462
  __ctx;
4472
4463
  constructor(t, e) {
@@ -4565,7 +4556,7 @@ class $s {
4565
4556
  for (let r = 0; r < n.length; r++) {
4566
4557
  const o = Ke[n[r]], a = this[n[r]];
4567
4558
  if (o.apply) {
4568
- if (a instanceof fr) {
4559
+ if (a instanceof ur) {
4569
4560
  if (a.__ctx)
4570
4561
  for (; a.__ctx.__SVGdefs.childNodes.length; ) {
4571
4562
  const h = a.__ctx.__SVGdefs.childNodes[0].getAttribute("id");
@@ -4630,9 +4621,9 @@ class $s {
4630
4621
  'xmlns="http://www.w3.org/2000/svg',
4631
4622
  'xmlns:xlink="http://www.w3.org/1999/xlink'
4632
4623
  )), t) {
4633
- const n = Object.keys(ur);
4624
+ const n = Object.keys(lr);
4634
4625
  for (let r = 0, o = n.length; r < o; r++) {
4635
- const a = n[r], h = ur[a], c = new RegExp(a, "gi");
4626
+ const a = n[r], h = lr[a], c = new RegExp(a, "gi");
4636
4627
  c.test(e) && (e = e.replace(c, h));
4637
4628
  }
4638
4629
  }
@@ -5112,7 +5103,7 @@ class $s {
5112
5103
  ), s.appendChild(r), this.__SVGdefs.appendChild(s)) : t instanceof $s && (s.setAttribute("width", "" + t.width), s.setAttribute(
5113
5104
  "height",
5114
5105
  "" + t.height
5115
- ), s.appendChild(t.__rootSVG.childNodes[1]), this.__SVGdefs.appendChild(s)), new fr(s, this);
5106
+ ), s.appendChild(t.__rootSVG.childNodes[1]), this.__SVGdefs.appendChild(s)), new ur(s, this);
5116
5107
  }
5117
5108
  setLineDash(t) {
5118
5109
  t && t.length > 0 ? this.lineDash = t.join(",") : this.lineDash = null;
@@ -5467,7 +5458,7 @@ let fi = class {
5467
5458
  return isNaN(l) || isNaN(u) ? null : { x: l, y: u };
5468
5459
  }
5469
5460
  };
5470
- const dr = fi;
5461
+ const fr = fi;
5471
5462
  class Zi extends fi {
5472
5463
  // x方向的半径
5473
5464
  rx;
@@ -5740,7 +5731,7 @@ class xt extends fi {
5740
5731
  }
5741
5732
  }
5742
5733
  const os = Math.PI * 2;
5743
- function mr(i, t, e, s) {
5734
+ function dr(i, t, e, s) {
5744
5735
  const n = i * s - t * e < 0 ? -1 : 1;
5745
5736
  let r = i * e + t * s;
5746
5737
  return r > 1 && (r = 1), r < -1 && (r = -1), n * Math.acos(r);
@@ -5749,8 +5740,8 @@ function nu(i, t, e, s, n, r, o, a, h, c) {
5749
5740
  const l = c * (i - e) / 2 + h * (t - s) / 2, u = -h * (i - e) / 2 + c * (t - s) / 2, f = o * o, d = a * a, m = l * l, S = u * u;
5750
5741
  let v = f * d - f * S - d * m;
5751
5742
  v < 0 && (v = 0), v /= f * S + d * m, v = Math.sqrt(v) * (n === r ? -1 : 1);
5752
- const w = v * o / a * u, b = v * -a / o * l, g = c * w - h * b + (i + e) / 2, y = h * w + c * b + (t + s) / 2, _ = (l - w) / o, C = (u - b) / a, D = (-l - w) / o, X = (-u - b) / a, V = mr(1, 0, _, C);
5753
- let q = mr(_, C, D, X);
5743
+ const w = v * o / a * u, b = v * -a / o * l, g = c * w - h * b + (i + e) / 2, y = h * w + c * b + (t + s) / 2, _ = (l - w) / o, C = (u - b) / a, D = (-l - w) / o, X = (-u - b) / a, V = dr(1, 0, _, C);
5744
+ let q = dr(_, C, D, X);
5754
5745
  return r === 0 && q > 0 && (q -= os), r === 1 && q < 0 && (q += os), [g, y, V, q];
5755
5746
  }
5756
5747
  function ru(i, t) {
@@ -5837,16 +5828,16 @@ class Ye {
5837
5828
  return e && _e(s, e), s;
5838
5829
  }
5839
5830
  static createSvgPath(t, e) {
5840
- return this.createSVGElement("path", { d: t, id: e || jr() });
5831
+ return this.createSVGElement("path", { d: t, id: e || Gr() });
5841
5832
  }
5842
5833
  static downloadFromSVGElement(t, e = "shape") {
5843
- return Yr(
5834
+ return Br(
5844
5835
  gl(t),
5845
5836
  `${e}.svg`
5846
5837
  );
5847
5838
  }
5848
5839
  static downloadFromSVGString(t, e = "shape") {
5849
- return Yr(sn(t), `${e}.svg`);
5840
+ return Br(sn(t), `${e}.svg`);
5850
5841
  }
5851
5842
  static getSVGRawStringFromElement(t) {
5852
5843
  return Eo(t);
@@ -5882,7 +5873,7 @@ class Ye {
5882
5873
  /([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,
5883
5874
  (s, n, r) => {
5884
5875
  let o = n.toLowerCase();
5885
- const a = Qr(r);
5876
+ const a = Zr(r);
5886
5877
  for (o == "m" && a.length > As[o] && (e.push([
5887
5878
  n,
5888
5879
  ...a.splice(0, As[o])
@@ -6445,7 +6436,7 @@ class Pt {
6445
6436
  const t = this.polymorphPoints, e = t.length;
6446
6437
  let s = t[e - 2], n = t[e - 1], r = 0;
6447
6438
  for (let o = 0; o < e; o += 6)
6448
- r += yn(t[o], t[o + 1], s, n), s = t[o], n = t[o + 1];
6439
+ r += gn(t[o], t[o + 1], s, n), s = t[o], n = t[o + 1];
6449
6440
  return Math.floor(r);
6450
6441
  }
6451
6442
  expendFill(t) {
@@ -6523,7 +6514,7 @@ class H extends je {
6523
6514
  parent;
6524
6515
  shapes = [];
6525
6516
  constructor(t) {
6526
- if (super(), this.id = jr(), t?.d && (this.originD = t?.d), t?.originMatrix && (this.originMatrix = t.originMatrix), this.independentTransformInGroup = typeof t?.independentTransformInGroup == "boolean" ? t.independentTransformInGroup : !1, this.x = t?.x || 0, this.y = t?.y || 0, this.cX = 0, this.cY = 0, typeof t?.centerX == "number" && typeof t?.centerY == "number" && this.forceSetCXY(t.centerX - this.x, t.centerY - this.y), this.degree = t?.degree || 0, this.scalarX = 1, this.scalarY = 1, t?.scalar !== void 0 && (this.scalarX = t.scalar, this.scalarY = t.scalar), t?.scalarX !== void 0 && (this.scalarX = t.scalarX), t?.scalarY !== void 0 && (this.scalarY = t.scalarY), this.diffXInGroup = t?.diffXInGroup || 0, this.diffYInGroup = t?.diffYInGroup || 0, this.diffDegreeInGroup = t?.diffDegreeInGroup || 0, this.diffScalarXInGroup = t?.diffScalarXInGroup || 1, this.diffScalarYInGroup = t?.diffScalarYInGroup || 1, this.vx = t?.vx || 0, this.vy = t?.vy || 0, this.ax = t?.ax || 0, this.ay = t?.ay || 0, this.mass = t?.mass || 1, this.attrs = {
6517
+ if (super(), this.id = Gr(), t?.d && (this.originD = t?.d), t?.originMatrix && (this.originMatrix = t.originMatrix), this.independentTransformInGroup = typeof t?.independentTransformInGroup == "boolean" ? t.independentTransformInGroup : !1, this.x = t?.x || 0, this.y = t?.y || 0, this.cX = 0, this.cY = 0, typeof t?.centerX == "number" && typeof t?.centerY == "number" && this.forceSetCXY(t.centerX - this.x, t.centerY - this.y), this.degree = t?.degree || 0, this.scalarX = 1, this.scalarY = 1, t?.scalar !== void 0 && (this.scalarX = t.scalar, this.scalarY = t.scalar), t?.scalarX !== void 0 && (this.scalarX = t.scalarX), t?.scalarY !== void 0 && (this.scalarY = t.scalarY), this.diffXInGroup = t?.diffXInGroup || 0, this.diffYInGroup = t?.diffYInGroup || 0, this.diffDegreeInGroup = t?.diffDegreeInGroup || 0, this.diffScalarXInGroup = t?.diffScalarXInGroup || 1, this.diffScalarYInGroup = t?.diffScalarYInGroup || 1, this.vx = t?.vx || 0, this.vy = t?.vy || 0, this.ax = t?.ax || 0, this.ay = t?.ay || 0, this.mass = t?.mass || 1, this.attrs = {
6527
6518
  // "paint-order": "markers stroke fill", // 先 stroke 再 fill
6528
6519
  // "paint-order": "fill stroke markers", // default
6529
6520
  stroke: "none",
@@ -6531,7 +6522,7 @@ class H extends je {
6531
6522
  // "pointerEvents": "none",
6532
6523
  }, t?.attrs && this.setAttr(t?.attrs), this.enableDrag = t?.enableDrag || !1, this.alongPath = t?.alongPath, this.targetToAfterDragFree = t?.targetToAfterDragFree, this.followMouse = t?.followMouse || !1, this.isShow = typeof t?.isShow == "boolean" ? t?.isShow : !0, this.strokeArmyAnts = t?.strokeArmyAnts || !1, this.strokeArmyAnts) {
6533
6524
  const s = this.getAttr("stroke-dasharray", "4 4");
6534
- this.setAttr("stroke-dasharray", s), this.strokeDashTotalLength = Qr(
6525
+ this.setAttr("stroke-dasharray", s), this.strokeDashTotalLength = Zr(
6535
6526
  s
6536
6527
  ).reduce((n, r) => n + r, 0);
6537
6528
  }
@@ -6646,7 +6637,7 @@ class H extends je {
6646
6637
  return this.el instanceof SVGGeometryElement ? this.el.isPointInStroke(n) : !1;
6647
6638
  }
6648
6639
  clone() {
6649
- return Zr(this).copy(this);
6640
+ return $r(this).copy(this);
6650
6641
  }
6651
6642
  copy(t) {
6652
6643
  return this.id = t.id, this.originD = t.originD, this.originMatrix = t.originMatrix, this.independentTransformInGroup = t.independentTransformInGroup, this.x = t.x, this.y = t.y, this.cX = t.cX, this.cY = t.cY, this.degree = t.degree, this.scalarX = t.scalarX, this.scalarY = t.scalarY, this.diffXInGroup = t.diffXInGroup, this.diffYInGroup = t.diffYInGroup, this.diffDegreeInGroup = t.diffDegreeInGroup, this.diffScalarXInGroup = t.diffScalarXInGroup, this.diffScalarYInGroup = t.diffScalarYInGroup, this.vx = t.vx, this.vy = t.vy, this.ax = t.ax, this.ay = t.ay, this.mass = t.mass, this.attrs = {
@@ -6675,7 +6666,7 @@ class H extends je {
6675
6666
  return !!this.attrs[t] || !!this.attrs[yt(t)];
6676
6667
  }
6677
6668
  distance(t) {
6678
- return yn(this.x, this.y, t.x, t.y);
6669
+ return gn(this.x, this.y, t.x, t.y);
6679
6670
  }
6680
6671
  rotateTo(t) {
6681
6672
  this.degree = gt(De(this.x, this.y, t.x, t.y));
@@ -6746,7 +6737,7 @@ class H extends je {
6746
6737
  strokeDasharray: `${n} ${n}`,
6747
6738
  strokeDashoffset: `${n}`
6748
6739
  });
6749
- const r = e?.onUpdate, o = new pn({ frameDuration: t });
6740
+ const r = e?.onUpdate, o = new mn({ frameDuration: t });
6750
6741
  o.addTween(
6751
6742
  { offset: n },
6752
6743
  { offset: 0 },
@@ -6811,7 +6802,7 @@ class ks extends H {
6811
6802
  return this.x === t.x && this.y === t.y && this.z === t.z && this.radius === t.radius && this.mass === t.mass;
6812
6803
  }
6813
6804
  length() {
6814
- return gn(this.x, this.y, this.z);
6805
+ return pn(this.x, this.y, this.z);
6815
6806
  }
6816
6807
  distance(t) {
6817
6808
  const e = t.x - this.x, s = t.y - this.y, n = t.z - this.z;
@@ -6880,7 +6871,7 @@ class ks extends H {
6880
6871
  };
6881
6872
  }
6882
6873
  }
6883
- class xn {
6874
+ class yn {
6884
6875
  // x, y, z 表示旋转轴的方向
6885
6876
  _x;
6886
6877
  _y;
@@ -6948,7 +6939,7 @@ class xn {
6948
6939
  return this._x = t, this._y = e, this._z = s, this._w = n, this._onChangeCallback(), this;
6949
6940
  }
6950
6941
  clone() {
6951
- return new xn(this._x, this._y, this._z, this._w);
6942
+ return new yn(this._x, this._y, this._z, this._w);
6952
6943
  }
6953
6944
  copy(t) {
6954
6945
  return this._x = t.x, this._y = t.y, this._z = t.z, this._w = t.w, this._onChangeCallback(), this;
@@ -7286,7 +7277,7 @@ class di {
7286
7277
  }
7287
7278
  /// 相对于 v 的垂直分量
7288
7279
  perpendOnVector(t) {
7289
- return pr.copy(this).projectOnVector(t), this.sub(pr);
7280
+ return mr.copy(this).projectOnVector(t), this.sub(mr);
7290
7281
  }
7291
7282
  /// 模、范数、长度
7292
7283
  /// |P| >= 0
@@ -7445,10 +7436,10 @@ class Ot {
7445
7436
  return this.x = t.x * e.x, this.y = t.y * e.y, this.z = t.z * e.z, this;
7446
7437
  }
7447
7438
  applyEuler(t) {
7448
- return this.applyQuaternion(gr.setFromEuler(t));
7439
+ return this.applyQuaternion(pr.setFromEuler(t));
7449
7440
  }
7450
7441
  applyAxisAngle(t, e) {
7451
- return this.applyQuaternion(gr.setFromAxisAngle(t, e));
7442
+ return this.applyQuaternion(pr.setFromAxisAngle(t, e));
7452
7443
  }
7453
7444
  applyMatrix3(t) {
7454
7445
  const e = this.x, s = this.y, n = this.z, r = t.value;
@@ -7878,7 +7869,7 @@ class Zo {
7878
7869
  yield this.x, yield this.y, yield this.z, yield this.w;
7879
7870
  }
7880
7871
  }
7881
- const pr = new di(), Li = new Ot(), gr = new xn(), Is = 2e3, yr = 2001, xr = [1, 0, 0, 1], wr = [1, 0, 0, 1, 0, 0], br = [1, 0, 0, 0, 1, 0, 0, 0, 1], Sr = [
7872
+ const mr = new di(), Li = new Ot(), pr = new yn(), Is = 2e3, gr = 2001, yr = [1, 0, 0, 1], xr = [1, 0, 0, 1, 0, 0], wr = [1, 0, 0, 0, 1, 0, 0, 0, 1], br = [
7882
7873
  1,
7883
7874
  0,
7884
7875
  0,
@@ -7899,7 +7890,7 @@ const pr = new di(), Li = new Ot(), gr = new xn(), Is = 2e3, yr = 2001, xr = [1,
7899
7890
  class Jo {
7900
7891
  /// 按列顺序
7901
7892
  value;
7902
- constructor(t = xr) {
7893
+ constructor(t = yr) {
7903
7894
  this.value = Array.from(t);
7904
7895
  }
7905
7896
  get m11() {
@@ -7931,7 +7922,7 @@ class Jo {
7931
7922
  return this.m11 = t, this.m21 = e, this.m12 = s, this.m22 = n, this;
7932
7923
  }
7933
7924
  identity() {
7934
- return this.value = Array.from(xr), this;
7925
+ return this.value = Array.from(yr), this;
7935
7926
  }
7936
7927
  get isIdentity() {
7937
7928
  return this.m11 == 1 && this.m12 == 0 && this.m21 == 0 && this.m22 == 1;
@@ -7971,7 +7962,7 @@ class Jo {
7971
7962
  class ds {
7972
7963
  /// 按列顺序
7973
7964
  value;
7974
- constructor(t = br) {
7965
+ constructor(t = wr) {
7975
7966
  this.value = Array.from(t);
7976
7967
  }
7977
7968
  get m11() {
@@ -8034,7 +8025,7 @@ class ds {
8034
8025
  return l[0] = t, l[1] = n, l[2] = a, l[3] = e, l[4] = r, l[5] = h, l[6] = s, l[7] = o, l[8] = c, this;
8035
8026
  }
8036
8027
  identity() {
8037
- return this.value = Array.from(br), this;
8028
+ return this.value = Array.from(wr), this;
8038
8029
  }
8039
8030
  get isIdentity() {
8040
8031
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1;
@@ -8141,7 +8132,7 @@ class Tt {
8141
8132
  /// 按列顺序
8142
8133
  value;
8143
8134
  is3dSpecial = !1;
8144
- constructor(t = Sr) {
8135
+ constructor(t = br) {
8145
8136
  this.value = Array.from(t);
8146
8137
  }
8147
8138
  get m11() {
@@ -8252,7 +8243,7 @@ class Tt {
8252
8243
  return !this.is2D();
8253
8244
  }
8254
8245
  identity() {
8255
- return this.value = Array.from(Sr), this;
8246
+ return this.value = Array.from(br), this;
8256
8247
  }
8257
8248
  get isIdentity() {
8258
8249
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m14 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m24 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1 && this.m34 == 0 && this.m41 == 0 && this.m42 == 0 && this.m43 == 0 && this.m44 == 1;
@@ -8265,7 +8256,7 @@ class Tt {
8265
8256
  }
8266
8257
  // matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1)
8267
8258
  static fromString(t) {
8268
- const e = new Tt(), s = qr("number", t);
8259
+ const e = new Tt(), s = Vr("number", t);
8269
8260
  return s.length === 16 && s.forEach((n, r) => {
8270
8261
  n.fullMatch && (e.value[r] = parseFloat(n.fullMatch));
8271
8262
  }), e;
@@ -8502,7 +8493,7 @@ class Tt {
8502
8493
  let d, m;
8503
8494
  if (a === Is)
8504
8495
  d = -(o + r) / (o - r), m = -2 * o * r / (o - r);
8505
- else if (a === yr)
8496
+ else if (a === gr)
8506
8497
  d = -o / (o - r), m = -o * r / (o - r);
8507
8498
  else
8508
8499
  throw new Error(
@@ -8515,7 +8506,7 @@ class Tt {
8515
8506
  let m, S;
8516
8507
  if (a === Is)
8517
8508
  m = (o + r) * u, S = -2 * u;
8518
- else if (a === yr)
8509
+ else if (a === gr)
8519
8510
  m = r * u, S = -1 * u;
8520
8511
  else
8521
8512
  throw new Error(
@@ -8680,7 +8671,7 @@ class Mt {
8680
8671
  _m23 = 0;
8681
8672
  _m33 = 1;
8682
8673
  matrix4;
8683
- constructor(t = wr) {
8674
+ constructor(t = xr) {
8684
8675
  this.value = Array.from(t), this.matrix4 = this.toMatrix4();
8685
8676
  }
8686
8677
  get m11() {
@@ -8739,7 +8730,7 @@ class Mt {
8739
8730
  }
8740
8731
  // matrix(1, 0, 0, 1, -50, -50)
8741
8732
  static fromString(t) {
8742
- const e = new Mt(), s = qr("number", t);
8733
+ const e = new Mt(), s = Vr("number", t);
8743
8734
  return s.length === 6 && s.forEach((n, r) => {
8744
8735
  n.fullMatch && (e.value[r] = parseFloat(n.fullMatch));
8745
8736
  }), e;
@@ -8766,7 +8757,7 @@ class Mt {
8766
8757
  return t ? (t.value = e, t) : new Tt(e);
8767
8758
  }
8768
8759
  identity() {
8769
- return this.value = Array.from(wr), this.m13 = 0, this.m23 = 0, this.m33 = 1, this.matrix4 = this.toMatrix4(), this;
8760
+ return this.value = Array.from(xr), this.m13 = 0, this.m23 = 0, this.m33 = 1, this.matrix4 = this.toMatrix4(), this;
8770
8761
  }
8771
8762
  get isIdentity() {
8772
8763
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1;
@@ -9108,13 +9099,13 @@ function Ko(i) {
9108
9099
  ]);
9109
9100
  return c.multiplySelf(new DOMMatrix(i?.originMatrix || "")), c;
9110
9101
  }
9111
- function Qf(i, t) {
9102
+ function Wf(i, t) {
9112
9103
  const e = new Path2D(i), s = new Path2D();
9113
9104
  return s.addPath(e, Ko(t)), s;
9114
9105
  }
9115
9106
  function Xe(i, t, e) {
9116
9107
  const s = jo(i);
9117
- return s.props.style = s.props.style || {}, t ? s.props.style[t] || s.props.style[Hr(t)] || s.props.style[yt(t)] || "" : s.props.style;
9108
+ return s.props.style = s.props.style || {}, t ? s.props.style[t] || s.props.style[qr(t)] || s.props.style[yt(t)] || "" : s.props.style;
9118
9109
  }
9119
9110
  function ta(i, t, e) {
9120
9111
  $o(
@@ -9143,7 +9134,7 @@ function ea(i) {
9143
9134
  s && n && (t[s.trim()] = n.trim());
9144
9135
  }), t;
9145
9136
  }
9146
- function Kf(i, t, e) {
9137
+ function Zf(i, t, e) {
9147
9138
  let s = i.style[t] || "";
9148
9139
  if (!s && getComputedStyle) {
9149
9140
  t = yt(t);
@@ -9152,13 +9143,13 @@ function Kf(i, t, e) {
9152
9143
  }
9153
9144
  return s || (s = i.currentStyle[t] || ""), s;
9154
9145
  }
9155
- function wn(i, t, e) {
9146
+ function xn(i, t, e) {
9156
9147
  typeof t == "string" && e ? i.style.setProperty(
9157
9148
  yt(t),
9158
9149
  e.replace(/!important/i, ""),
9159
9150
  e.toLowerCase().includes("!important") ? "important" : ""
9160
9151
  ) : t instanceof Object && Object.keys(t).forEach((s) => {
9161
- wn(i, s, t[s]);
9152
+ xn(i, s, t[s]);
9162
9153
  });
9163
9154
  }
9164
9155
  function sa(i, t) {
@@ -9185,7 +9176,7 @@ function cu(i, t) {
9185
9176
  };
9186
9177
  }
9187
9178
  }
9188
- function td(i, t, e = {}) {
9179
+ function Jf(i, t, e = {}) {
9189
9180
  Object.prototype.hasOwnProperty.call(e, "transform") || Object.assign(e, {
9190
9181
  transform: Xe(i, "transform") || ""
9191
9182
  });
@@ -9379,7 +9370,7 @@ function _e(i, t, e) {
9379
9370
  });
9380
9371
  });
9381
9372
  }
9382
- const ed = ["-o-", "-ms-", "-moz-", "-webkit-", ""];
9373
+ const Qf = ["-o-", "-ms-", "-moz-", "-webkit-", ""];
9383
9374
  function ia(i) {
9384
9375
  const t = {};
9385
9376
  for (let e = 0, s = i.attributes, n = s.length; e < n; e++) {
@@ -9394,13 +9385,13 @@ function lu(i, t) {
9394
9385
  function ls(i, t, e) {
9395
9386
  return i.setAttribute(yt(t), "" + e);
9396
9387
  }
9397
- function sd(i, t) {
9388
+ function Kf(i, t) {
9398
9389
  t.split(/[,\s]+/i).forEach((e) => {
9399
9390
  const s = yt(e.trim());
9400
9391
  s != "" && i.removeAttribute(s);
9401
9392
  });
9402
9393
  }
9403
- function id(i, t) {
9394
+ function td(i, t) {
9404
9395
  ls(i, "draggable", "true");
9405
9396
  const e = [];
9406
9397
  return e.push(
@@ -9426,7 +9417,7 @@ function id(i, t) {
9426
9417
  e.forEach((s) => s());
9427
9418
  };
9428
9419
  }
9429
- function nd(i, t) {
9420
+ function ed(i, t) {
9430
9421
  const e = [];
9431
9422
  return e.push(
9432
9423
  N(i, "dragenter", (s) => {
@@ -9456,7 +9447,7 @@ function nd(i, t) {
9456
9447
  e.forEach((s) => s());
9457
9448
  };
9458
9449
  }
9459
- function rd() {
9450
+ function sd() {
9460
9451
  return {
9461
9452
  screenWidth: window.screen.width,
9462
9453
  screenHeight: window.screen.height,
@@ -9488,7 +9479,7 @@ function mi() {
9488
9479
  offsetParent: i.offsetParent
9489
9480
  };
9490
9481
  }
9491
- function od() {
9482
+ function id() {
9492
9483
  const i = document.body;
9493
9484
  return {
9494
9485
  clientWidth: i.clientWidth,
@@ -9518,7 +9509,7 @@ function uu() {
9518
9509
  height: document.body.clientHeight
9519
9510
  };
9520
9511
  }
9521
- function ad() {
9512
+ function nd() {
9522
9513
  const { scrollWidth: i, scrollHeight: t } = mi();
9523
9514
  return {
9524
9515
  // width: Math.min(scrollWidth, contentWidth),
@@ -9526,7 +9517,7 @@ function ad() {
9526
9517
  height: t
9527
9518
  };
9528
9519
  }
9529
- function vr(i) {
9520
+ function Sr(i) {
9530
9521
  const { top: t, left: e, width: s, height: n } = i.getBoundingClientRect(), { scrollLeft: r, scrollTop: o } = mi();
9531
9522
  return {
9532
9523
  x: e + r,
@@ -9535,7 +9526,7 @@ function vr(i) {
9535
9526
  height: n
9536
9527
  };
9537
9528
  }
9538
- function hd(i) {
9529
+ function rd(i) {
9539
9530
  let t = i, e = 0, s = 0;
9540
9531
  for (; t !== null; )
9541
9532
  e += t.offsetLeft, s += t.offsetTop, t.offsetParent instanceof HTMLElement ? t = t.offsetParent : t = null;
@@ -9549,7 +9540,7 @@ function hd(i) {
9549
9540
  function fu(i) {
9550
9541
  return i.getBoundingClientRect();
9551
9542
  }
9552
- function cd(i) {
9543
+ function od(i) {
9553
9544
  const t = i.getBoundingClientRect();
9554
9545
  return {
9555
9546
  x: i.offsetLeft,
@@ -9558,7 +9549,7 @@ function cd(i) {
9558
9549
  height: t.height || t.bottom - t.top
9559
9550
  };
9560
9551
  }
9561
- function ld() {
9552
+ function ad() {
9562
9553
  const { clientHeight: i, scrollTop: t, scrollHeight: e } = mi(), s = e - i;
9563
9554
  return s <= 0 ? 0 : t / s * 100;
9564
9555
  }
@@ -9591,7 +9582,7 @@ function du() {
9591
9582
  }
9592
9583
  };
9593
9584
  }
9594
- function ud(i) {
9585
+ function hd(i) {
9595
9586
  if ("center" in i) {
9596
9587
  const t = i.center, e = fu(i.target);
9597
9588
  return {
@@ -9604,7 +9595,7 @@ function ud(i) {
9604
9595
  y: i.clientY
9605
9596
  };
9606
9597
  }
9607
- function Cr(i) {
9598
+ function vr(i) {
9608
9599
  if ("center" in i)
9609
9600
  return i.center;
9610
9601
  if (typeof i.pageX == "number" && typeof i.pageY == "number")
@@ -9624,7 +9615,7 @@ function ts(i, t) {
9624
9615
  y: 0
9625
9616
  };
9626
9617
  if (t) {
9627
- const s = Cr(i), n = vr(t);
9618
+ const s = vr(i), n = Sr(t);
9628
9619
  e.x = O(s.x - n.x, 0, n.width), e.y = O(s.y - n.y, 0, n.height);
9629
9620
  } else {
9630
9621
  let s = 0, n = 0;
@@ -9635,7 +9626,7 @@ function ts(i, t) {
9635
9626
  if ("offsetX" in i)
9636
9627
  e.x = i.offsetX + s, e.y = i.offsetY + n;
9637
9628
  else {
9638
- const r = Cr(i), o = vr(i.target);
9629
+ const r = vr(i), o = Sr(i.target);
9639
9630
  e.x = O(r.x - o.x + s, 0, o.width), e.y = O(r.y - o.y + n, 0, o.height);
9640
9631
  }
9641
9632
  }
@@ -9773,7 +9764,7 @@ var na = { exports: {} };
9773
9764
  var x = p.ownerDocument || p;
9774
9765
  return x.defaultView || x.parentWindow || t;
9775
9766
  }
9776
- var Nt = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = st(t, "PointerEvent") !== n, F = R && Nt.test(navigator.userAgent), G = "touch", ft = "pen", Bt = "mouse", ps = "kinect", gs = 25, it = 1, qt = 2, J = 4, ct = 8, Le = 1, ye = 2, xe = 4, he = 8, A = 16, K = ye | xe, we = he | A, Tn = K | we, Pn = ["x", "y"], ys = ["clientX", "clientY"];
9767
+ var Nt = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = st(t, "PointerEvent") !== n, F = R && Nt.test(navigator.userAgent), G = "touch", ft = "pen", Bt = "mouse", ps = "kinect", gs = 25, it = 1, qt = 2, J = 4, ct = 8, Le = 1, ye = 2, xe = 4, he = 8, A = 16, K = ye | xe, we = he | A, _n = K | we, Tn = ["x", "y"], ys = ["clientX", "clientY"];
9777
9768
  function kt(p, x) {
9778
9769
  var P = this;
9779
9770
  this.manager = p, this.callback = x, this.element = p.element, this.target = p.options.inputTarget, this.domHandler = function(M) {
@@ -9810,10 +9801,10 @@ var na = { exports: {} };
9810
9801
  }
9811
9802
  function _a(p, x) {
9812
9803
  var P = p.session, M = x.pointers, k = M.length;
9813
- P.firstInput || (P.firstInput = Mn(x)), k > 1 && !P.firstMultiple ? P.firstMultiple = Mn(x) : k === 1 && (P.firstMultiple = !1);
9814
- var L = P.firstInput, U = P.firstMultiple, nt = U ? U.center : L.center, ht = x.center = En(M);
9815
- x.timeStamp = l(), x.deltaTime = x.timeStamp - L.timeStamp, x.angle = pi(nt, ht), x.distance = xs(nt, ht), Ta(P, x), x.offsetDirection = kn(x.deltaX, x.deltaY);
9816
- var dt = An(x.deltaTime, x.deltaX, x.deltaY);
9804
+ P.firstInput || (P.firstInput = Pn(x)), k > 1 && !P.firstMultiple ? P.firstMultiple = Pn(x) : k === 1 && (P.firstMultiple = !1);
9805
+ var L = P.firstInput, U = P.firstMultiple, nt = U ? U.center : L.center, ht = x.center = Mn(M);
9806
+ x.timeStamp = l(), x.deltaTime = x.timeStamp - L.timeStamp, x.angle = pi(nt, ht), x.distance = xs(nt, ht), Ta(P, x), x.offsetDirection = An(x.deltaX, x.deltaY);
9807
+ var dt = En(x.deltaTime, x.deltaX, x.deltaY);
9817
9808
  x.overallVelocityX = dt.x, x.overallVelocityY = dt.y, x.overallVelocity = c(dt.x) > c(dt.y) ? dt.x : dt.y, x.scale = U ? Ea(U.pointers, M) : 1, x.rotation = U ? Ma(U.pointers, M) : 0, x.maxPointers = P.prevInput ? x.pointers.length > P.prevInput.maxPointers ? x.pointers.length : P.prevInput.maxPointers : x.pointers.length, Pa(P, x);
9818
9809
  var Ht = p.element;
9819
9810
  X(x.srcEvent.target, Ht) && (Ht = x.srcEvent.target), x.target = Ht;
@@ -9831,13 +9822,13 @@ var na = { exports: {} };
9831
9822
  function Pa(p, x) {
9832
9823
  var P = p.lastInterval || x, M = x.timeStamp - P.timeStamp, k, L, U, nt;
9833
9824
  if (x.eventType != ct && (M > gs || P.velocity === n)) {
9834
- var ht = x.deltaX - P.deltaX, dt = x.deltaY - P.deltaY, Ht = An(M, ht, dt);
9835
- L = Ht.x, U = Ht.y, k = c(Ht.x) > c(Ht.y) ? Ht.x : Ht.y, nt = kn(ht, dt), p.lastInterval = x;
9825
+ var ht = x.deltaX - P.deltaX, dt = x.deltaY - P.deltaY, Ht = En(M, ht, dt);
9826
+ L = Ht.x, U = Ht.y, k = c(Ht.x) > c(Ht.y) ? Ht.x : Ht.y, nt = An(ht, dt), p.lastInterval = x;
9836
9827
  } else
9837
9828
  k = P.velocity, L = P.velocityX, U = P.velocityY, nt = P.direction;
9838
9829
  x.velocity = k, x.velocityX = L, x.velocityY = U, x.direction = nt;
9839
9830
  }
9840
- function Mn(p) {
9831
+ function Pn(p) {
9841
9832
  for (var x = [], P = 0; P < p.pointers.length; )
9842
9833
  x[P] = {
9843
9834
  clientX: h(p.pointers[P].clientX),
@@ -9846,12 +9837,12 @@ var na = { exports: {} };
9846
9837
  return {
9847
9838
  timeStamp: l(),
9848
9839
  pointers: x,
9849
- center: En(x),
9840
+ center: Mn(x),
9850
9841
  deltaX: p.deltaX,
9851
9842
  deltaY: p.deltaY
9852
9843
  };
9853
9844
  }
9854
- function En(p) {
9845
+ function Mn(p) {
9855
9846
  var x = p.length;
9856
9847
  if (x === 1)
9857
9848
  return {
@@ -9865,22 +9856,22 @@ var na = { exports: {} };
9865
9856
  y: h(M / x)
9866
9857
  };
9867
9858
  }
9868
- function An(p, x, P) {
9859
+ function En(p, x, P) {
9869
9860
  return {
9870
9861
  x: x / p || 0,
9871
9862
  y: P / p || 0
9872
9863
  };
9873
9864
  }
9874
- function kn(p, x) {
9865
+ function An(p, x) {
9875
9866
  return p === x ? Le : c(p) >= c(x) ? p < 0 ? ye : xe : x < 0 ? he : A;
9876
9867
  }
9877
9868
  function xs(p, x, P) {
9878
- P || (P = Pn);
9869
+ P || (P = Tn);
9879
9870
  var M = x[P[0]] - p[P[0]], k = x[P[1]] - p[P[1]];
9880
9871
  return Math.sqrt(M * M + k * k);
9881
9872
  }
9882
9873
  function pi(p, x, P) {
9883
- P || (P = Pn);
9874
+ P || (P = Tn);
9884
9875
  var M = x[P[0]] - p[P[0]], k = x[P[1]] - p[P[1]];
9885
9876
  return Math.atan2(k, M) * 180 / Math.PI;
9886
9877
  }
@@ -9925,10 +9916,10 @@ var na = { exports: {} };
9925
9916
  4: Bt,
9926
9917
  5: ps
9927
9918
  // see https://twitter.com/jacobrossi/status/480596438489890816
9928
- }, In = "pointerdown", Dn = "pointermove pointerup pointercancel";
9929
- t.MSPointerEvent && !t.PointerEvent && (In = "MSPointerDown", Dn = "MSPointerMove MSPointerUp MSPointerCancel");
9919
+ }, kn = "pointerdown", In = "pointermove pointerup pointercancel";
9920
+ t.MSPointerEvent && !t.PointerEvent && (kn = "MSPointerDown", In = "MSPointerMove MSPointerUp MSPointerCancel");
9930
9921
  function gi() {
9931
- this.evEl = In, this.evWin = Dn, kt.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
9922
+ this.evEl = kn, this.evWin = In, kt.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
9932
9923
  }
9933
9924
  b(gi, kt, {
9934
9925
  /**
@@ -9951,10 +9942,10 @@ var na = { exports: {} };
9951
9942
  touchend: J,
9952
9943
  touchcancel: ct
9953
9944
  }, za = "touchstart", Oa = "touchstart touchmove touchend touchcancel";
9954
- function Rn() {
9945
+ function Dn() {
9955
9946
  this.evTarget = za, this.evWin = Oa, this.started = !1, kt.apply(this, arguments);
9956
9947
  }
9957
- b(Rn, kt, {
9948
+ b(Dn, kt, {
9958
9949
  handler: function(x) {
9959
9950
  var P = La[x.type];
9960
9951
  if (P === it && (this.started = !0), !!this.started) {
@@ -10011,7 +10002,7 @@ var na = { exports: {} };
10011
10002
  nt
10012
10003
  ];
10013
10004
  }
10014
- var Xa = 2500, Ln = 25;
10005
+ var Xa = 2500, Rn = 25;
10015
10006
  function yi() {
10016
10007
  kt.apply(this, arguments);
10017
10008
  var p = g(this.handler, this);
@@ -10042,9 +10033,9 @@ var na = { exports: {} };
10042
10033
  }
10043
10034
  });
10044
10035
  function Ua(p, x) {
10045
- p & it ? (this.primaryTouch = x.changedPointers[0].identifier, zn.call(this, x)) : p & (J | ct) && zn.call(this, x);
10036
+ p & it ? (this.primaryTouch = x.changedPointers[0].identifier, Ln.call(this, x)) : p & (J | ct) && Ln.call(this, x);
10046
10037
  }
10047
- function zn(p) {
10038
+ function Ln(p) {
10048
10039
  var x = p.changedPointers[0];
10049
10040
  if (x.identifier === this.primaryTouch) {
10050
10041
  var P = { x: x.clientX, y: x.clientY };
@@ -10059,12 +10050,12 @@ var na = { exports: {} };
10059
10050
  function Va(p) {
10060
10051
  for (var x = p.srcEvent.clientX, P = p.srcEvent.clientY, M = 0; M < this.lastTouches.length; M++) {
10061
10052
  var k = this.lastTouches[M], L = Math.abs(x - k.x), U = Math.abs(P - k.y);
10062
- if (L <= Ln && U <= Ln)
10053
+ if (L <= Rn && U <= Rn)
10063
10054
  return !0;
10064
10055
  }
10065
10056
  return !1;
10066
10057
  }
10067
- var On = st(o.style, "touchAction"), Fn = On !== n, Nn = "compute", Bn = "auto", xi = "manipulation", be = "none", We = "pan-x", Ze = "pan-y", Ss = qa();
10058
+ var zn = st(o.style, "touchAction"), On = zn !== n, Fn = "compute", Nn = "auto", xi = "manipulation", be = "none", We = "pan-x", Ze = "pan-y", Ss = qa();
10068
10059
  function wi(p, x) {
10069
10060
  this.manager = p, this.set(x);
10070
10061
  }
@@ -10074,7 +10065,7 @@ var na = { exports: {} };
10074
10065
  * @param {String} value
10075
10066
  */
10076
10067
  set: function(p) {
10077
- p == Nn && (p = this.compute()), Fn && this.manager.element.style && Ss[p] && (this.manager.element.style[On] = p), this.actions = p.toLowerCase().trim();
10068
+ p == Fn && (p = this.compute()), On && this.manager.element.style && Ss[p] && (this.manager.element.style[zn] = p), this.actions = p.toLowerCase().trim();
10078
10069
  },
10079
10070
  /**
10080
10071
  * just re-set the touchAction value
@@ -10123,10 +10114,10 @@ var na = { exports: {} };
10123
10114
  if (V(p, be))
10124
10115
  return be;
10125
10116
  var x = V(p, We), P = V(p, Ze);
10126
- return x && P ? be : x || P ? x ? We : Ze : V(p, xi) ? xi : Bn;
10117
+ return x && P ? be : x || P ? x ? We : Ze : V(p, xi) ? xi : Nn;
10127
10118
  }
10128
10119
  function qa() {
10129
- if (!Fn)
10120
+ if (!On)
10130
10121
  return !1;
10131
10122
  var p = {}, x = t.CSS && t.CSS.supports;
10132
10123
  return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(P) {
@@ -10218,7 +10209,7 @@ var na = { exports: {} };
10218
10209
  function M(k) {
10219
10210
  x.manager.emit(k, p);
10220
10211
  }
10221
- P < ce && M(x.options.event + Yn(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= ce && M(x.options.event + Yn(P));
10212
+ P < ce && M(x.options.event + Bn(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= ce && M(x.options.event + Bn(P));
10222
10213
  },
10223
10214
  /**
10224
10215
  * Check that all the require failure recognizers has failed,
@@ -10280,10 +10271,10 @@ var na = { exports: {} };
10280
10271
  reset: function() {
10281
10272
  }
10282
10273
  };
10283
- function Yn(p) {
10274
+ function Bn(p) {
10284
10275
  return p & Je ? "cancel" : p & ce ? "end" : p & ze ? "move" : p & It ? "start" : "";
10285
10276
  }
10286
- function Xn(p) {
10277
+ function Yn(p) {
10287
10278
  return p == A ? "down" : p == he ? "up" : p == ye ? "left" : p == xe ? "right" : "";
10288
10279
  }
10289
10280
  function Cs(p, x) {
@@ -10338,7 +10329,7 @@ var na = { exports: {} };
10338
10329
  event: "pan",
10339
10330
  threshold: 10,
10340
10331
  pointers: 1,
10341
- direction: Tn
10332
+ direction: _n
10342
10333
  },
10343
10334
  getTouchAction: function() {
10344
10335
  var p = this.options.direction, x = [];
@@ -10353,7 +10344,7 @@ var na = { exports: {} };
10353
10344
  },
10354
10345
  emit: function(p) {
10355
10346
  this.pX = p.deltaX, this.pY = p.deltaY;
10356
- var x = Xn(p.direction);
10347
+ var x = Yn(p.direction);
10357
10348
  x && (p.additionalEvent = this.options.event + x), this._super.emit.call(this, p);
10358
10349
  }
10359
10350
  });
@@ -10401,7 +10392,7 @@ var na = { exports: {} };
10401
10392
  // a minimal movement is ok, but keep it low
10402
10393
  },
10403
10394
  getTouchAction: function() {
10404
- return [Bn];
10395
+ return [Nn];
10405
10396
  },
10406
10397
  process: function(p) {
10407
10398
  var x = this.options, P = p.pointers.length === x.pointers, M = p.distance < x.threshold, k = p.deltaTime > x.time;
@@ -10465,7 +10456,7 @@ var na = { exports: {} };
10465
10456
  return x & (K | we) ? P = p.overallVelocity : x & K ? P = p.overallVelocityX : x & we && (P = p.overallVelocityY), this._super.attrTest.call(this, p) && x & p.offsetDirection && p.distance > this.options.threshold && p.maxPointers == this.options.pointers && c(P) > this.options.velocity && p.eventType & J;
10466
10457
  },
10467
10458
  emit: function(p) {
10468
- var x = Xn(p.offsetDirection);
10459
+ var x = Yn(p.offsetDirection);
10469
10460
  x && this.manager.emit(this.options.event + x, p), this.manager.emit(this.options.event, p);
10470
10461
  }
10471
10462
  });
@@ -10539,7 +10530,7 @@ var na = { exports: {} };
10539
10530
  * @type {String}
10540
10531
  * @default compute
10541
10532
  */
10542
- touchAction: Nn,
10533
+ touchAction: Fn,
10543
10534
  /**
10544
10535
  * @type {Boolean}
10545
10536
  * @default true
@@ -10621,9 +10612,9 @@ var na = { exports: {} };
10621
10612
  tapHighlightColor: "rgba(0,0,0,0)"
10622
10613
  }
10623
10614
  };
10624
- var ja = 1, Un = 2;
10615
+ var ja = 1, Xn = 2;
10625
10616
  function _i(p, x) {
10626
- this.options = S({}, te.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = va(this), this.touchAction = new wi(this, this.options.touchAction), Vn(this, !0), d(this.options.recognizers, function(P) {
10617
+ this.options = S({}, te.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = va(this), this.touchAction = new wi(this, this.options.touchAction), Un(this, !0), d(this.options.recognizers, function(P) {
10627
10618
  var M = this.add(new P[0](P[1]));
10628
10619
  P[2] && M.recognizeWith(P[2]), P[3] && M.requireFailure(P[3]);
10629
10620
  }, this);
@@ -10644,7 +10635,7 @@ var na = { exports: {} };
10644
10635
  * @param {Boolean} [force]
10645
10636
  */
10646
10637
  stop: function(p) {
10647
- this.session.stopped = p ? Un : ja;
10638
+ this.session.stopped = p ? Xn : ja;
10648
10639
  },
10649
10640
  /**
10650
10641
  * run the recognizers!
@@ -10659,7 +10650,7 @@ var na = { exports: {} };
10659
10650
  var P, M = this.recognizers, k = x.curRecognizer;
10660
10651
  (!k || k && k.state & Qt) && (k = x.curRecognizer = null);
10661
10652
  for (var L = 0; L < M.length; )
10662
- P = M[L], x.stopped !== Un && // 1
10653
+ P = M[L], x.stopped !== Xn && // 1
10663
10654
  (!k || P == k || // 2
10664
10655
  P.canRecognizeWith(k)) ? P.recognize(p) : P.reset(), !k && P.state & (It | ze | ce) && (k = x.curRecognizer = P), L++;
10665
10656
  }
@@ -10752,10 +10743,10 @@ var na = { exports: {} };
10752
10743
  * it doesn't unbind dom events, that is the user own responsibility
10753
10744
  */
10754
10745
  destroy: function() {
10755
- this.element && Vn(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
10746
+ this.element && Un(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
10756
10747
  }
10757
10748
  };
10758
- function Vn(p, x) {
10749
+ function Un(p, x) {
10759
10750
  var P = p.element;
10760
10751
  if (P.style) {
10761
10752
  var M;
@@ -10787,7 +10778,7 @@ var na = { exports: {} };
10787
10778
  DIRECTION_DOWN: A,
10788
10779
  DIRECTION_HORIZONTAL: K,
10789
10780
  DIRECTION_VERTICAL: we,
10790
- DIRECTION_ALL: Tn,
10781
+ DIRECTION_ALL: _n,
10791
10782
  Manager: _i,
10792
10783
  Input: kt,
10793
10784
  TouchAction: wi,
@@ -10795,7 +10786,7 @@ var na = { exports: {} };
10795
10786
  MouseInput: ws,
10796
10787
  PointerEventInput: gi,
10797
10788
  TouchMouseInput: yi,
10798
- SingleTouchInput: Rn,
10789
+ SingleTouchInput: Dn,
10799
10790
  Recognizer: Kt,
10800
10791
  AttrRecognizer: Yt,
10801
10792
  Tap: Ts,
@@ -10833,7 +10824,7 @@ async function ra(i, t) {
10833
10824
  s.observe(i);
10834
10825
  });
10835
10826
  }
10836
- function fd(i) {
10827
+ function cd(i) {
10837
10828
  return i(window.innerWidth, window.innerHeight), N(
10838
10829
  window,
10839
10830
  "orientationchange" in window ? "orientationchange" : "resize",
@@ -10856,7 +10847,7 @@ function gu(i, t) {
10856
10847
  };
10857
10848
  return e.on("pointerDown", s), () => e.off("pointerDown", s);
10858
10849
  }
10859
- function dd(i, t) {
10850
+ function ld(i, t) {
10860
10851
  const e = i.eb, s = (o) => {
10861
10852
  document.addEventListener("mousemove", r, !1), document.addEventListener("mouseup", n, !1), t?.start?.(o);
10862
10853
  }, n = (o) => {
@@ -10866,7 +10857,7 @@ function dd(i, t) {
10866
10857
  };
10867
10858
  return e.on("mouseDown", s), () => e.off("mouseDown", s);
10868
10859
  }
10869
- function md(i, t) {
10860
+ function ud(i, t) {
10870
10861
  const e = i.eb, s = (o) => {
10871
10862
  e.on("touchMove", r), e.on("touchEnd", n), e.on("touchCancel", n);
10872
10863
  const a = o.changedTouches[0];
@@ -10881,7 +10872,7 @@ function md(i, t) {
10881
10872
  };
10882
10873
  return e.on("touchStart", s), () => e.off("touchStart", s);
10883
10874
  }
10884
- function pd(i = document.documentElement) {
10875
+ function fd(i = document.documentElement) {
10885
10876
  const t = new je(), e = new pu(i);
10886
10877
  let s = [];
10887
10878
  const n = du(), r = n.mousePoint, o = (A) => {
@@ -11017,7 +11008,7 @@ function pd(i = document.documentElement) {
11017
11008
  }
11018
11009
  };
11019
11010
  }
11020
- function gd(i, t, e = 50) {
11011
+ function dd(i, t, e = 50) {
11021
11012
  return Ae(i, {
11022
11013
  move: () => {
11023
11014
  i.mousePoint.dStartY > 0 && i.mousePoint.dStartY < e;
@@ -11027,7 +11018,7 @@ function gd(i, t, e = 50) {
11027
11018
  }
11028
11019
  });
11029
11020
  }
11030
- function yd(i, t, e = 50) {
11021
+ function md(i, t, e = 50) {
11031
11022
  return Ae(i, {
11032
11023
  move: () => {
11033
11024
  i.mousePoint.dStartY > 0 && i.mousePoint.dStartY < e;
@@ -11058,10 +11049,10 @@ wt(() => {
11058
11049
  break;
11059
11050
  }
11060
11051
  });
11061
- function xd(i) {
11052
+ function pd(i) {
11062
11053
  Re.value = i;
11063
11054
  }
11064
- function wd() {
11055
+ function gd() {
11065
11056
  switch (Re.value) {
11066
11057
  case "dark":
11067
11058
  return "dark";
@@ -11069,19 +11060,19 @@ function wd() {
11069
11060
  return "light";
11070
11061
  }
11071
11062
  }
11072
- function bd() {
11063
+ function yd() {
11073
11064
  Re.value = Re.value == "dark" ? "light" : "dark";
11074
11065
  }
11075
11066
  function xu(i, t = "") {
11076
11067
  return getComputedStyle(document.documentElement).getPropertyValue(i) || t;
11077
11068
  }
11078
- function Sd(i, t) {
11069
+ function xd(i, t) {
11079
11070
  document.documentElement.style.setProperty(i, t);
11080
11071
  }
11081
- const vd = {
11072
+ const wd = {
11082
11073
  getSelectedText: () => window.getSelection()?.toString() || ""
11083
11074
  };
11084
- function Cd(i) {
11075
+ function bd(i) {
11085
11076
  document.getElementsByTagName("title")[0].innerText = i, document.title = i;
11086
11077
  }
11087
11078
  function wu(i) {
@@ -11117,9 +11108,9 @@ async function Su(i, t) {
11117
11108
  });
11118
11109
  }
11119
11110
  const ie = new je();
11120
- let _r = "";
11111
+ let Cr = "";
11121
11112
  Su(document, () => {
11122
- location.href !== _r && (_r = location.href, ie.emit("urlchange", location.href));
11113
+ location.href !== Cr && (Cr = location.href, ie.emit("urlchange", location.href));
11123
11114
  });
11124
11115
  N(window, "hashchange", () => {
11125
11116
  ie.emit("hashchange", location.hash);
@@ -11145,15 +11136,15 @@ const vu = {
11145
11136
  ie.off("popstate", i);
11146
11137
  })
11147
11138
  };
11148
- function _d(i) {
11139
+ function Sd(i) {
11149
11140
  return vu.onPopState(() => {
11150
11141
  const { pathname: t, search: e } = location;
11151
11142
  i[t]?.();
11152
11143
  });
11153
11144
  }
11154
- let Tr = !1;
11145
+ let _r = !1;
11155
11146
  function Cu() {
11156
- Tr || (Tr = !0, cu(`
11147
+ _r || (_r = !0, cu(`
11157
11148
  :root {
11158
11149
  --sat:env(safe-area-inset-top, 0px);
11159
11150
  --sar:env(safe-area-inset-right, 0px);
@@ -11183,7 +11174,7 @@ ra(document.documentElement, () => {
11183
11174
  n !== Qs && Dt.emit("left", n), Qs = n;
11184
11175
  }, 0);
11185
11176
  });
11186
- const Td = {
11177
+ const vd = {
11187
11178
  onTop: (i) => (Ws && i(Ws), Dt.on("top", i), () => {
11188
11179
  Dt.off("top", i);
11189
11180
  }),
@@ -11197,18 +11188,18 @@ const Td = {
11197
11188
  Dt.off("left", i);
11198
11189
  })
11199
11190
  }, es = [];
11200
- let Pr = Xi;
11191
+ let Tr = Xi;
11201
11192
  function _u(i) {
11202
- return es.length == 0 && (Pr = N(document, "scroll", (t) => {
11193
+ return es.length == 0 && (Tr = N(document, "scroll", (t) => {
11203
11194
  es.forEach((e) => e(t));
11204
11195
  })), es.push(i), () => {
11205
- Te(es, i), es.length == 0 && Pr();
11196
+ Te(es, i), es.length == 0 && Tr();
11206
11197
  };
11207
11198
  }
11208
- function Pd(i, t) {
11199
+ function Cd(i, t) {
11209
11200
  window.scrollTo(i, t);
11210
11201
  }
11211
- function Md() {
11202
+ function _d() {
11212
11203
  let i = Xi, t = Xi;
11213
11204
  return "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual", i = bu(() => {
11214
11205
  window.history.scrollRestoration = "auto";
@@ -11234,7 +11225,7 @@ async function Tu(i, t, e = {
11234
11225
  ).observe(i);
11235
11226
  });
11236
11227
  }
11237
- function Ed(i, t) {
11228
+ function Td(i, t) {
11238
11229
  let e;
11239
11230
  function s() {
11240
11231
  const { width: n, height: r } = t?.root?.getBoundingClientRect() || uu(), { top: o, left: a, right: h, bottom: c } = i.getBoundingClientRect();
@@ -11242,7 +11233,7 @@ function Ed(i, t) {
11242
11233
  }
11243
11234
  return s(), _u(s);
11244
11235
  }
11245
- async function Ad(i, t) {
11236
+ async function Pd(i, t) {
11246
11237
  let e;
11247
11238
  const s = typeof t.threshold == "number" ? t.threshold : 0.5;
11248
11239
  return Tu(
@@ -11262,12 +11253,12 @@ async function Ad(i, t) {
11262
11253
  }
11263
11254
  );
11264
11255
  }
11265
- function kd(i) {
11256
+ function Md(i) {
11266
11257
  return i(!document.hidden), N(window, "visibilitychange", () => {
11267
11258
  i(!document.hidden);
11268
11259
  });
11269
11260
  }
11270
- function Id(i, t, e, s, n) {
11261
+ function Ed(i, t, e, s, n) {
11271
11262
  const r = t / e;
11272
11263
  let o = 0, a = 0;
11273
11264
  switch (i) {
@@ -11298,7 +11289,7 @@ function Pu(i) {
11298
11289
  return new ImageData(i.width, i.height);
11299
11290
  }
11300
11291
  }
11301
- const Dd = (i) => {
11292
+ const Ad = (i) => {
11302
11293
  const t = i.width, e = i.height, s = t * e * 3, n = s + 54, r = [
11303
11294
  // WORD bfType -- The file type signature; must be "BM"
11304
11295
  66,
@@ -11400,10 +11391,10 @@ const Dd = (i) => {
11400
11391
  return btoa(S);
11401
11392
  }
11402
11393
  return d(r.concat(o)) + d(c);
11403
- }, Rd = (i) => {
11394
+ }, kd = (i) => {
11404
11395
  const { width: t, height: e } = i, s = document.createElement("canvas"), n = s.getContext("2d");
11405
11396
  return s.width = t, s.height = e, n.putImageData(i, 0, 0, 0, 0, t, e), s.toDataURL("image/png");
11406
- }, Ld = (i, t, e) => {
11397
+ }, Id = (i, t, e) => {
11407
11398
  const { width: s, height: n } = i, r = document.createElement("canvas"), o = r.getContext("2d");
11408
11399
  r.width = s, r.height = n, o.putImageData(i, 0, 0, 0, 0, s, n);
11409
11400
  const a = `image/${t ? t.toLowerCase() : "png"}`;
@@ -11415,10 +11406,10 @@ const Dd = (i) => {
11415
11406
  1
11416
11407
  );
11417
11408
  };
11418
- function zd(i, t) {
11409
+ function Dd(i, t) {
11419
11410
  return createImageBitmap(i, t);
11420
11411
  }
11421
- function Od(i) {
11412
+ function Rd(i) {
11422
11413
  const t = [], e = [], s = [];
11423
11414
  let n = 0;
11424
11415
  for (let h = 0, c = i.data.length; h < c; h += 4)
@@ -11443,7 +11434,7 @@ function Oi(i) {
11443
11434
  return;
11444
11435
  return e[o];
11445
11436
  }
11446
- const Fd = (i) => {
11437
+ const Ld = (i) => {
11447
11438
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11448
11439
  for (let o = 0; o < s; o++)
11449
11440
  for (let a = 0; a < e; a++) {
@@ -11451,7 +11442,7 @@ const Fd = (i) => {
11451
11442
  n[h] = t[(o * e + e - a - 1) * 4], n[h + 1] = t[(o * e + e - a - 1) * 4 + 1], n[h + 2] = t[(o * e + e - a - 1) * 4 + 2], n[h + 3] = t[(o * e + e - a - 1) * 4 + 3];
11452
11443
  }
11453
11444
  return new ImageData(n, e, s);
11454
- }, Nd = (i) => {
11445
+ }, zd = (i) => {
11455
11446
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11456
11447
  for (let o = 0; o < s; o++)
11457
11448
  for (let a = 0; a < e; a++) {
@@ -11459,7 +11450,7 @@ const Fd = (i) => {
11459
11450
  n[h] = t[((s - o - 1) * e + a) * 4], n[h + 1] = t[((s - o - 1) * e + a) * 4 + 1], n[h + 2] = t[((s - o - 1) * e + a) * 4 + 2], n[h + 3] = t[((s - o - 1) * e + a) * 4 + 3];
11460
11451
  }
11461
11452
  return new ImageData(n, e, s);
11462
- }, Bd = (i) => {
11453
+ }, Od = (i) => {
11463
11454
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11464
11455
  for (let o = 0; o < e; o++)
11465
11456
  for (let a = 0; a < s; a++) {
@@ -11467,7 +11458,7 @@ const Fd = (i) => {
11467
11458
  n[h] = t[(a * e + e - o - 1) * 4], n[h + 1] = t[(a * e + e - o - 1) * 4 + 1], n[h + 2] = t[(a * e + e - o - 1) * 4 + 2], n[h + 3] = t[(a * e + e - o - 1) * 4 + 3];
11468
11459
  }
11469
11460
  return new ImageData(n, s, e);
11470
- }, Yd = (i) => {
11461
+ }, Fd = (i) => {
11471
11462
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11472
11463
  for (let o = 0; o < e; o++)
11473
11464
  for (let a = 0; a < s; a++) {
@@ -11475,7 +11466,7 @@ const Fd = (i) => {
11475
11466
  n[h] = t[((s - a - 1) * e + o) * 4], n[h + 1] = t[((s - a - 1) * e + o) * 4 + 1], n[h + 2] = t[((s - a - 1) * e + o) * 4 + 2], n[h + 3] = t[((s - a - 1) * e + o) * 4 + 3];
11476
11467
  }
11477
11468
  return new ImageData(n, s, e);
11478
- }, Xd = (i) => {
11469
+ }, Nd = (i) => {
11479
11470
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11480
11471
  for (let o = 0; o < s; o++)
11481
11472
  for (let a = 0; a < e; a++) {
@@ -11483,7 +11474,7 @@ const Fd = (i) => {
11483
11474
  n[h] = c, n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11484
11475
  }
11485
11476
  return new ImageData(n, e, s);
11486
- }, Ud = (i) => {
11477
+ }, Bd = (i) => {
11487
11478
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11488
11479
  for (let o = 0; o < s; o++)
11489
11480
  for (let a = 0; a < e; a++) {
@@ -11491,7 +11482,7 @@ const Fd = (i) => {
11491
11482
  n[h] = c, n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11492
11483
  }
11493
11484
  return new ImageData(n, e, s);
11494
- }, Vd = (i) => {
11485
+ }, Yd = (i) => {
11495
11486
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11496
11487
  for (let o = 0; o < s; o++)
11497
11488
  for (let a = 0; a < e; a++) {
@@ -11499,7 +11490,7 @@ const Fd = (i) => {
11499
11490
  n[h] = l, n[h + 1] = l, n[h + 2] = l, n[h + 3] = t[h + 3];
11500
11491
  }
11501
11492
  return new ImageData(n, e, s);
11502
- }, Gd = (i) => {
11493
+ }, Xd = (i) => {
11503
11494
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11504
11495
  for (let o = 0; o < s; o++)
11505
11496
  for (let a = 0; a < e; a++) {
@@ -11507,7 +11498,7 @@ const Fd = (i) => {
11507
11498
  n[h] = 255 - t[h], n[h + 1] = 255 - t[h + 1], n[h + 2] = 255 - t[h + 2], n[h + 3] = t[h + 3];
11508
11499
  }
11509
11500
  return new ImageData(n, e, s);
11510
- }, qd = (i) => {
11501
+ }, Ud = (i) => {
11511
11502
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11512
11503
  for (let o = 0; o < s; o++)
11513
11504
  for (let a = 0; a < e; a++) {
@@ -11515,7 +11506,7 @@ const Fd = (i) => {
11515
11506
  n[h] = t[h], n[h + 1] = 0, n[h + 2] = 0, n[h + 3] = t[h + 3];
11516
11507
  }
11517
11508
  return new ImageData(n, e, s);
11518
- }, jd = (i) => {
11509
+ }, Vd = (i) => {
11519
11510
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11520
11511
  for (let o = 0; o < s; o++)
11521
11512
  for (let a = 0; a < e; a++) {
@@ -11523,7 +11514,7 @@ const Fd = (i) => {
11523
11514
  n[h] = 0, n[h + 1] = t[h + 1], n[h + 2] = 0, n[h + 3] = t[h + 3];
11524
11515
  }
11525
11516
  return new ImageData(n, e, s);
11526
- }, Hd = (i) => {
11517
+ }, Gd = (i) => {
11527
11518
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11528
11519
  for (let o = 0; o < s; o++)
11529
11520
  for (let a = 0; a < e; a++) {
@@ -11531,7 +11522,7 @@ const Fd = (i) => {
11531
11522
  n[h] = 0, n[h + 1] = 0, n[h + 2] = t[h + 2], n[h + 3] = t[h + 3];
11532
11523
  }
11533
11524
  return new ImageData(n, e, s);
11534
- }, $d = (i) => {
11525
+ }, qd = (i) => {
11535
11526
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11536
11527
  for (let o = 0; o < s; o++)
11537
11528
  for (let a = 0; a < e; a++) {
@@ -11539,7 +11530,7 @@ const Fd = (i) => {
11539
11530
  n[h] = t[h], n[h + 1] = t[h + 1], n[h + 2] = 0, n[h + 3] = t[h + 3];
11540
11531
  }
11541
11532
  return new ImageData(n, e, s);
11542
- }, Wd = (i) => {
11533
+ }, jd = (i) => {
11543
11534
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11544
11535
  for (let o = 0; o < s; o++)
11545
11536
  for (let a = 0; a < e; a++) {
@@ -11547,7 +11538,7 @@ const Fd = (i) => {
11547
11538
  n[h] = t[h], n[h + 1] = 0, n[h + 2] = t[h + 1], n[h + 3] = t[h + 3];
11548
11539
  }
11549
11540
  return new ImageData(n, e, s);
11550
- }, Zd = (i) => {
11541
+ }, Hd = (i) => {
11551
11542
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11552
11543
  for (let o = 0; o < s; o++)
11553
11544
  for (let a = 0; a < e; a++) {
@@ -11555,7 +11546,7 @@ const Fd = (i) => {
11555
11546
  n[h] = 0, n[h + 1] = t[h + 1], n[h + 2] = t[h + 1], n[h + 3] = t[h + 3];
11556
11547
  }
11557
11548
  return new ImageData(n, e, s);
11558
- }, Jd = (i) => {
11549
+ }, $d = (i) => {
11559
11550
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11560
11551
  for (let o = 0; o < s; o++)
11561
11552
  for (let a = 0; a < e; a++) {
@@ -11563,7 +11554,7 @@ const Fd = (i) => {
11563
11554
  n[h] = t[h], n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11564
11555
  }
11565
11556
  return new ImageData(n, e, s);
11566
- }, Qd = (i) => {
11557
+ }, Wd = (i) => {
11567
11558
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11568
11559
  for (let o = 0; o < s; o++)
11569
11560
  for (let a = 0; a < e; a++) {
@@ -11571,7 +11562,7 @@ const Fd = (i) => {
11571
11562
  n[h] = c, n[h + 1] = t[h + 1], n[h + 2] = c, n[h + 3] = t[h + 3];
11572
11563
  }
11573
11564
  return new ImageData(n, e, s);
11574
- }, Kd = (i) => {
11565
+ }, Zd = (i) => {
11575
11566
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11576
11567
  for (let o = 0; o < s; o++)
11577
11568
  for (let a = 0; a < e; a++) {
@@ -11579,7 +11570,7 @@ const Fd = (i) => {
11579
11570
  n[h] = c, n[h + 1] = c, n[h + 2] = t[h + 2], n[h + 3] = t[h + 3];
11580
11571
  }
11581
11572
  return new ImageData(n, e, s);
11582
- }, tm = (i) => oa(i, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), em = (i) => oa(i, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), sm = (i) => {
11573
+ }, Jd = (i) => oa(i, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), Qd = (i) => oa(i, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), Kd = (i) => {
11583
11574
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11584
11575
  for (let o = 0; o < s; o++)
11585
11576
  for (let a = 0; a < e; a++) {
@@ -11587,7 +11578,7 @@ const Fd = (i) => {
11587
11578
  n[h] = t[h], n[h + 1] = t[h + 1], n[h + 2] = t[h + 2], n[h + 3] = 255;
11588
11579
  }
11589
11580
  return new ImageData(n, e, s);
11590
- }, im = (i) => {
11581
+ }, tm = (i) => {
11591
11582
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11592
11583
  for (let o = 0; o < s; o++)
11593
11584
  for (let a = 0; a < e; a++) {
@@ -11609,7 +11600,7 @@ const Fd = (i) => {
11609
11600
  }
11610
11601
  return new ImageData(n, e, s);
11611
11602
  };
11612
- function nm(i, t, e, s, n, r = !1, o) {
11603
+ function em(i, t, e, s, n, r = !1, o) {
11613
11604
  const { data: a, width: h, height: c } = i;
11614
11605
  let l = n, u = s, f = t, d = e;
11615
11606
  if (l < 0 ? l = 0 : l > h && (l = h), u < 0 ? u = 0 : u > c && (u = c), f < 1 ? f = 1 : f > h && (f = h), d < 1 ? d = 1 : d > c && (d = c), l + f > h && (f = h - l), u + d > c && (d = c - u), r) {
@@ -11630,7 +11621,7 @@ function nm(i, t, e, s, n, r = !1, o) {
11630
11621
  return new ImageData(m, f, d);
11631
11622
  }
11632
11623
  }
11633
- function rm(i, t, e, s) {
11624
+ function sm(i, t, e, s) {
11634
11625
  const { data: n, width: r, height: o } = i;
11635
11626
  let a = t;
11636
11627
  a > Math.floor(r / 2) && (a = Math.floor(r / 2)), a > Math.floor(o / 2) && (a = Math.floor(o / 2)), a < 0 && (a = 0);
@@ -11651,13 +11642,13 @@ function rm(i, t, e, s) {
11651
11642
  }
11652
11643
  return new ImageData(h, r, o);
11653
11644
  }
11654
- function om(i, t, e, s, n, r = 1e4) {
11645
+ function im(i, t, e, s, n, r = 1e4) {
11655
11646
  const o = new Image();
11656
11647
  o.src = i;
11657
11648
  const a = document.createElement("canvas"), h = a.getContext("2d");
11658
11649
  return a.width = r, a.height = r, h.drawImage(o, 0, 0, t, e, 0, 0, s, n), h.getImageData(0, 0, s, n);
11659
11650
  }
11660
- function am(i, t) {
11651
+ function nm(i, t) {
11661
11652
  const { data: e, width: s, height: n } = i, r = new Uint8ClampedArray(e.length);
11662
11653
  for (let a = 0; a < n; a++)
11663
11654
  for (let h = 0; h < s; h++) {
@@ -11675,7 +11666,7 @@ function am(i, t) {
11675
11666
  }
11676
11667
  return new ImageData(r, s, n);
11677
11668
  }
11678
- function hm(i, t, e = !1) {
11669
+ function rm(i, t, e = !1) {
11679
11670
  const { data: s, width: n, height: r } = i, o = new Uint8ClampedArray(s.length);
11680
11671
  for (let h = 0; h < r; h++)
11681
11672
  for (let c = 0; c < n; c++) {
@@ -11686,7 +11677,7 @@ function hm(i, t, e = !1) {
11686
11677
  }
11687
11678
  return new ImageData(o, n, r);
11688
11679
  }
11689
- function cm(i, t, e, s) {
11680
+ function om(i, t, e, s) {
11690
11681
  const { data: n, width: r, height: o } = i, {
11691
11682
  data: a,
11692
11683
  width: h,
@@ -11717,7 +11708,7 @@ function cm(i, t, e, s) {
11717
11708
  }
11718
11709
  return new ImageData(f, r, o);
11719
11710
  }
11720
- function lm(i, t, e, s, n, r = 10) {
11711
+ function am(i, t, e, s, n, r = 10) {
11721
11712
  const { data: o, width: a, height: h } = i;
11722
11713
  let c = n, l = s, u = t, f = e;
11723
11714
  c < 0 ? c = 0 : c > a && (c = a), l < 0 ? l = 0 : l > h && (l = h), u < 1 ? u = 1 : u > a && (u = a), f < 1 ? f = 1 : f > h && (f = h), c + u > a && (u = a - c), l + f > h && (f = h - l);
@@ -11740,7 +11731,7 @@ function lm(i, t, e, s, n, r = 10) {
11740
11731
  }
11741
11732
  return new ImageData(d, a, h);
11742
11733
  }
11743
- function um(i, t, e = {
11734
+ function hm(i, t, e = {
11744
11735
  backgroundColor: { r: 0, g: 0, b: 0, a: 255 },
11745
11736
  changeIntoColor: { r: 0, g: 0, b: 0, a: 0 }
11746
11737
  }) {
@@ -12444,7 +12435,7 @@ class ne {
12444
12435
  }
12445
12436
  }
12446
12437
  }
12447
- class Mr {
12438
+ class Pr {
12448
12439
  buffer;
12449
12440
  length;
12450
12441
  constructor() {
@@ -12511,7 +12502,7 @@ class Ee {
12511
12502
  const e = ne.getRSBlocks(
12512
12503
  t,
12513
12504
  this.errorCorrectLevel
12514
- ), s = new Mr();
12505
+ ), s = new Pr();
12515
12506
  let n = 0;
12516
12507
  for (let r = 0; r < e.length; r++)
12517
12508
  n += e[r].dataCount;
@@ -12625,7 +12616,7 @@ class Ee {
12625
12616
  }
12626
12617
  }
12627
12618
  static createData(t, e, s) {
12628
- const n = ne.getRSBlocks(t, e), r = new Mr();
12619
+ const n = ne.getRSBlocks(t, e), r = new Pr();
12629
12620
  for (let a = 0; a < s.length; a++) {
12630
12621
  const h = s[a];
12631
12622
  r.put(h.mode, 4), r.put(
@@ -12676,9 +12667,9 @@ class Ee {
12676
12667
  return c;
12677
12668
  }
12678
12669
  }
12679
- const Er = Math.ceil, as = Math.floor, Ar = Math.round;
12680
- function fm(i, t) {
12681
- const e = $r(i), s = t?.ecc || "H", n = t?.size || 256, r = -1, o = t?.padding || 0, a = t?.color || "#000000", h = t?.background || "#ffffff", c = new Ee(r, s);
12670
+ const Mr = Math.ceil, as = Math.floor, Er = Math.round;
12671
+ function cm(i, t) {
12672
+ const e = jr(i), s = t?.ecc || "H", n = t?.size || 256, r = -1, o = t?.padding || 0, a = t?.color || "#000000", h = t?.background || "#ffffff", c = new Ee(r, s);
12682
12673
  c.addData(e), c.make();
12683
12674
  const l = c.getModuleCount(), u = (n - o * 2) / l, f = o, d = n - o;
12684
12675
  return Au(n, a, h, function(m, S) {
@@ -12689,17 +12680,17 @@ function fm(i, t) {
12689
12680
  return 1;
12690
12681
  });
12691
12682
  }
12692
- function dm(i, t) {
12693
- const e = t.x || 0, s = t.y || 0, n = $r(i), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? as(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", u = t.background || "#ffffff", f = new Ee(c, o);
12683
+ function lm(i, t) {
12684
+ const e = t.x || 0, s = t.y || 0, n = jr(i), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? as(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", u = t.background || "#ffffff", f = new Ee(c, o);
12694
12685
  f.addData(n), f.make();
12695
12686
  const d = f.getModuleCount(), m = (a - h * 2) / d;
12696
12687
  r.fillStyle = u, r.fillRect(e, s, a, a);
12697
12688
  for (let S = 0; S < d; S++)
12698
12689
  for (let v = 0; v < d; v++) {
12699
- const w = Er((v + 1) * m) - as(v * m), b = Er((S + 1) * m) - as(S * m);
12690
+ const w = Mr((v + 1) * m) - as(v * m), b = Mr((S + 1) * m) - as(S * m);
12700
12691
  r.fillStyle = f.isDark(S, v) ? l : u, r.fillRect(
12701
- e + Ar(v * m) + h,
12702
- s + Ar(S * m) + h,
12692
+ e + Er(v * m) + h,
12693
+ s + Er(S * m) + h,
12703
12694
  w,
12704
12695
  b
12705
12696
  );
@@ -12856,7 +12847,7 @@ class ae {
12856
12847
  return this._onChangeCallback = t, this;
12857
12848
  }
12858
12849
  clone() {
12859
- return Zr(
12850
+ return $r(
12860
12851
  this,
12861
12852
  this.array,
12862
12853
  this.itemSize,
@@ -12872,42 +12863,42 @@ class ae {
12872
12863
  };
12873
12864
  }
12874
12865
  }
12875
- class mm extends ae {
12866
+ class um extends ae {
12876
12867
  constructor(t, e, s = !1) {
12877
12868
  super(new Int8Array(t), e, s);
12878
12869
  }
12879
12870
  }
12880
- class pm extends ae {
12871
+ class fm extends ae {
12881
12872
  constructor(t, e, s = !1) {
12882
12873
  super(new Uint8Array(t), e, s);
12883
12874
  }
12884
12875
  }
12885
- class gm extends ae {
12876
+ class dm extends ae {
12886
12877
  constructor(t, e, s = !1) {
12887
12878
  super(new Uint8ClampedArray(t), e, s);
12888
12879
  }
12889
12880
  }
12890
- class ym extends ae {
12881
+ class mm extends ae {
12891
12882
  constructor(t, e, s = !1) {
12892
12883
  super(new Int16Array(t), e, s);
12893
12884
  }
12894
12885
  }
12895
- class xm extends ae {
12886
+ class pm extends ae {
12896
12887
  constructor(t, e, s = !1) {
12897
12888
  super(new Uint16Array(t), e, s);
12898
12889
  }
12899
12890
  }
12900
- class wm extends ae {
12891
+ class gm extends ae {
12901
12892
  constructor(t, e, s = !1) {
12902
12893
  super(new Int32Array(t), e, s);
12903
12894
  }
12904
12895
  }
12905
- class bm extends ae {
12896
+ class ym extends ae {
12906
12897
  constructor(t, e, s = !1) {
12907
12898
  super(new Uint32Array(t), e, s);
12908
12899
  }
12909
12900
  }
12910
- class Sm extends ae {
12901
+ class xm extends ae {
12911
12902
  isFloat16BufferAttribute = !0;
12912
12903
  constructor(t, e, s = !1) {
12913
12904
  super(new Uint16Array(t), e, s);
@@ -12950,7 +12941,7 @@ class Sm extends ae {
12950
12941
  return t *= this.itemSize, this.normalized && (e = j(e, this.array), s = j(s, this.array), n = j(n, this.array), r = j(r, this.array)), this.array[t + 0] = St(e), this.array[t + 1] = St(s), this.array[t + 2] = St(n), this.array[t + 3] = St(r), this;
12951
12942
  }
12952
12943
  }
12953
- class vm extends ae {
12944
+ class wm extends ae {
12954
12945
  constructor(t, e, s = !1) {
12955
12946
  super(new Float32Array(t), e, s);
12956
12947
  }
@@ -13055,7 +13046,7 @@ class ut extends H {
13055
13046
  break;
13056
13047
  case "parallel":
13057
13048
  default:
13058
- const n = new pn({ frameDuration: t }), r = {}, o = {};
13049
+ const n = new mn({ frameDuration: t }), r = {}, o = {};
13059
13050
  this.shapes.forEach((a, h) => {
13060
13051
  const c = Jt(a.getTotalLength(), 0);
13061
13052
  r[`offset_${h}`] = c, o[`offset_${h}`] = 0, a.setAttr({
@@ -13669,7 +13660,7 @@ function Ue(i) {
13669
13660
  function Ve(i) {
13670
13661
  return i < 31308e-7 ? i * 12.92 : 1.055 * Math.pow(i, 0.41666) - 0.055;
13671
13662
  }
13672
- const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr = new ds().set(
13663
+ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", Ar = new ds().set(
13673
13664
  0.4123908,
13674
13665
  0.3575843,
13675
13666
  0.1804808,
@@ -13679,7 +13670,7 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13679
13670
  0.0193308,
13680
13671
  0.1191948,
13681
13672
  0.9505322
13682
- ), Ir = new ds().set(
13673
+ ), kr = new ds().set(
13683
13674
  3.2409699,
13684
13675
  -1.5373832,
13685
13676
  -0.4986108,
@@ -13689,7 +13680,7 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13689
13680
  0.0556301,
13690
13681
  -0.203977,
13691
13682
  1.0569715
13692
- ), Dr = [0.64, 0.33, 0.3, 0.6, 0.15, 0.06], Rr = [0.2126, 0.7152, 0.0722], Lr = [0.3127, 0.329], ua = {
13683
+ ), Ir = [0.64, 0.33, 0.3, 0.6, 0.15, 0.06], Dr = [0.2126, 0.7152, 0.0722], Rr = [0.3127, 0.329], ua = {
13693
13684
  enabled: !0,
13694
13685
  workingColorSpace: ca,
13695
13686
  /**
@@ -13745,22 +13736,22 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13745
13736
  };
13746
13737
  ua.define({
13747
13738
  [ca]: {
13748
- primaries: Dr,
13749
- whitePoint: Lr,
13739
+ primaries: Ir,
13740
+ whitePoint: Rr,
13750
13741
  transfer: la,
13751
- toXYZ: kr,
13752
- fromXYZ: Ir,
13753
- luminanceCoefficients: Rr,
13742
+ toXYZ: Ar,
13743
+ fromXYZ: kr,
13744
+ luminanceCoefficients: Dr,
13754
13745
  workingColorSpaceConfig: { unpackColorSpace: Be },
13755
13746
  outputColorSpaceConfig: { drawingBufferColorSpace: Be }
13756
13747
  },
13757
13748
  [Be]: {
13758
- primaries: Dr,
13759
- whitePoint: Lr,
13749
+ primaries: Ir,
13750
+ whitePoint: Rr,
13760
13751
  transfer: Qi,
13761
- toXYZ: kr,
13762
- fromXYZ: Ir,
13763
- luminanceCoefficients: Rr,
13752
+ toXYZ: Ar,
13753
+ fromXYZ: kr,
13754
+ luminanceCoefficients: Dr,
13764
13755
  outputColorSpaceConfig: { drawingBufferColorSpace: Be }
13765
13756
  }
13766
13757
  });
@@ -13824,12 +13815,12 @@ class Ge extends H {
13824
13815
  t.beginPath(), t.moveTo(0, 0), t.lineTo(this.toX - this.x, this.toY - this.y);
13825
13816
  }
13826
13817
  intersection(t) {
13827
- const e = new dr({
13818
+ const e = new fr({
13828
13819
  x: this.x,
13829
13820
  y: this.y,
13830
13821
  toX: this.toX,
13831
13822
  toY: this.toY
13832
- }), s = new dr({
13823
+ }), s = new fr({
13833
13824
  x: t.x,
13834
13825
  y: t.y,
13835
13826
  toX: t.toX,
@@ -13838,7 +13829,7 @@ class Ge extends H {
13838
13829
  return e.intersection(s);
13839
13830
  }
13840
13831
  }
13841
- class Cm extends H {
13832
+ class bm extends H {
13842
13833
  cx;
13843
13834
  cy;
13844
13835
  toX;
@@ -13948,9 +13939,9 @@ class Ru extends je {
13948
13939
  this.emit("finish");
13949
13940
  return;
13950
13941
  }
13951
- let e, s, n = Gn(this.source, 0);
13942
+ let e, s, n = Vn(this.source, 0);
13952
13943
  for (let r = 1; r < t; r++)
13953
- e = s, s = n, n = Gn(this.source, r), this.raw += s, s && this.step(s, n, e);
13944
+ e = s, s = n, n = Vn(this.source, r), this.raw += s, s && this.step(s, n, e);
13954
13945
  n && this.step(n, void 0, s), this.emit("finish");
13955
13946
  }
13956
13947
  step(t, e, s) {
@@ -13974,7 +13965,7 @@ class Ru extends je {
13974
13965
  }
13975
13966
  break;
13976
13967
  case "entity":
13977
- ee("whitespace", t) ? (this.textchunk += zr(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += zr(this.entity + t), this.mode = "text") : this.entity += t;
13968
+ ee("whitespace", t) ? (this.textchunk += Lr(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += Lr(this.entity + t), this.mode = "text") : this.entity += t;
13978
13969
  break;
13979
13970
  case "special":
13980
13971
  if (s == "!" && t == "-" && e == "-") {
@@ -14118,7 +14109,7 @@ class Ru extends je {
14118
14109
  }
14119
14110
  }
14120
14111
  }
14121
- function zr(i) {
14112
+ function Lr(i) {
14122
14113
  const t = {
14123
14114
  lt: 60,
14124
14115
  "lt;": 60,
@@ -14139,7 +14130,7 @@ function zr(i) {
14139
14130
  let e;
14140
14131
  return i.charAt(0) == "#" ? i.charAt(1).toLowerCase() == "x" ? e = parseInt(i.substring(2), 16) : e = parseInt(i.substring(1), 10) : e = t[i], e ? String.fromCharCode(e) : "&" + i;
14141
14132
  }
14142
- var Or = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
14133
+ var zr = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
14143
14134
  function Lu(i, t = {}) {
14144
14135
  var e = 1, s = 1;
14145
14136
  function n(R) {
@@ -14238,8 +14229,8 @@ function Lu(i, t = {}) {
14238
14229
  return h("property missing ':'");
14239
14230
  var F = d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/), G = R({
14240
14231
  type: "declaration",
14241
- property: I.replace(Or, ""),
14242
- value: F ? se(F[0]).replace(Or, "") : ""
14232
+ property: I.replace(zr, ""),
14233
+ value: F ? se(F[0]).replace(zr, "") : ""
14243
14234
  });
14244
14235
  return d(/^[;\s]*/), G;
14245
14236
  }
@@ -14616,7 +14607,7 @@ const Bi = [
14616
14607
  "font-weight",
14617
14608
  "letter-spacing"
14618
14609
  ];
14619
- class _m {
14610
+ class Sm {
14620
14611
  controller;
14621
14612
  rootEl;
14622
14613
  ue;
@@ -14685,7 +14676,7 @@ class _m {
14685
14676
  e.text,
14686
14677
  e.x,
14687
14678
  e.y,
14688
- qn(e.getAttrs(), (n, r) => typeof r == "string")
14679
+ Gn(e.getAttrs(), (n, r) => typeof r == "string")
14689
14680
  ) : (e.el = _t.createSvgPath(e.toSVGPathD(), e.id), this.ue.insert(e.el))), e.followMouse && (!Ys(e.x, this.controller.mousePoint.x, 5) || !Ys(e.y, this.controller.mousePoint.y, 5)) && e.followTo(this.controller.mousePoint), e.targetToAfterDragFree && (this.controller.mousePoint.isDown || e.runEaseTo(
14690
14681
  {
14691
14682
  x: e.targetToAfterDragFree.targetX,
@@ -14710,7 +14701,7 @@ class _m {
14710
14701
  const s = e.toSVGPathD();
14711
14702
  if (this.attr(
14712
14703
  e,
14713
- qn(e.getAttrs(), (n, r) => typeof r == "string")
14704
+ Gn(e.getAttrs(), (n, r) => typeof r == "string")
14714
14705
  ), this.attr(e, "d", s), !this.currentMouseInShape) {
14715
14706
  const n = e.isPointInPath(
14716
14707
  this.controller.mousePoint.x,
@@ -14805,7 +14796,7 @@ class _m {
14805
14796
  }), this.ue.insert(o), o;
14806
14797
  }
14807
14798
  }
14808
- class Tm extends ut {
14799
+ class vm extends ut {
14809
14800
  svgWidth = 0;
14810
14801
  svgHeight = 0;
14811
14802
  width = 0;
@@ -14892,7 +14883,7 @@ class pe extends H {
14892
14883
  };
14893
14884
  }
14894
14885
  length() {
14895
- return gn(this.x, this.y);
14886
+ return pn(this.x, this.y);
14896
14887
  }
14897
14888
  scalar(t) {
14898
14889
  return this.x *= t, this.y *= t, this;
@@ -15192,7 +15183,7 @@ class Fu extends H {
15192
15183
  t.beginPath(), t.ellipse(0, 0, this.rx, this.ry, 0, 0, 2 * Math.PI, !0), t.closePath();
15193
15184
  }
15194
15185
  }
15195
- class Pm extends H {
15186
+ class Cm extends H {
15196
15187
  constructor(t) {
15197
15188
  super(t);
15198
15189
  }
@@ -15213,7 +15204,7 @@ class Pm extends H {
15213
15204
  t.beginPath(), t.moveTo(-50, -25), t.lineTo(0, -25), t.lineTo(0, -50), t.lineTo(50, 0), t.lineTo(0, 50), t.lineTo(0, 25), t.lineTo(-50, 25), t.lineTo(-50, -25), t.closePath();
15214
15205
  }
15215
15206
  }
15216
- class Mm extends H {
15207
+ class _m extends H {
15217
15208
  constructor(t) {
15218
15209
  super(t);
15219
15210
  }
@@ -15238,7 +15229,7 @@ class Mm extends H {
15238
15229
  t.beginPath(), t.moveTo(4, 24), t.lineTo(8, 16), t.lineTo(14, 10), t.lineTo(15, 0), t.lineTo(9, -10), t.lineTo(2, 0), t.lineTo(-2, 0), t.lineTo(-9, -10), t.lineTo(-15, 0), t.lineTo(-14, 10), t.lineTo(-8, 16), t.lineTo(-4, 24), t.closePath();
15239
15230
  }
15240
15231
  }
15241
- class Em extends H {
15232
+ class Tm extends H {
15242
15233
  rx;
15243
15234
  ry;
15244
15235
  constructor(t) {
@@ -15259,7 +15250,7 @@ class Em extends H {
15259
15250
  ];
15260
15251
  }
15261
15252
  }
15262
- class Am extends H {
15253
+ class Pm extends H {
15263
15254
  rx;
15264
15255
  ry;
15265
15256
  constructor(t) {
@@ -15296,7 +15287,7 @@ class Am extends H {
15296
15287
  ];
15297
15288
  }
15298
15289
  }
15299
- class km extends H {
15290
+ class Mm extends H {
15300
15291
  r;
15301
15292
  constructor(t) {
15302
15293
  super(t), this.r = t?.r || 20;
@@ -15310,7 +15301,7 @@ class km extends H {
15310
15301
  return t;
15311
15302
  }
15312
15303
  }
15313
- class Im extends H {
15304
+ class Em extends H {
15314
15305
  constructor(t) {
15315
15306
  super(t);
15316
15307
  }
@@ -15326,12 +15317,12 @@ class Im extends H {
15326
15317
  ];
15327
15318
  }
15328
15319
  }
15329
- class Dm extends H {
15320
+ class Am extends H {
15330
15321
  constructor(t) {
15331
15322
  super(t), this.originD = "m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z";
15332
15323
  }
15333
15324
  }
15334
- class Rm extends ut {
15325
+ class km extends ut {
15335
15326
  constructor(t) {
15336
15327
  super(t);
15337
15328
  const e = new Ge({
@@ -15453,7 +15444,7 @@ class Nu extends ut {
15453
15444
  });
15454
15445
  }
15455
15446
  }
15456
- class Lm extends ut {
15447
+ class Im extends ut {
15457
15448
  radius;
15458
15449
  expandRaidus;
15459
15450
  startDegree;
@@ -15591,11 +15582,11 @@ class Bu extends H {
15591
15582
  ), t.closePath();
15592
15583
  }
15593
15584
  containPoint(t, e) {
15594
- const s = yn(this.x, this.y, t, e), n = gt(De(this.x, this.y, t, e));
15585
+ const s = gn(this.x, this.y, t, e), n = gt(De(this.x, this.y, t, e));
15595
15586
  return s <= this.radius && n >= this.startDegree && n <= this.endDegree;
15596
15587
  }
15597
15588
  }
15598
- class zm extends ut {
15589
+ class Dm extends ut {
15599
15590
  showFlame;
15600
15591
  ship;
15601
15592
  flame;
@@ -15622,7 +15613,7 @@ class zm extends ut {
15622
15613
  });
15623
15614
  }
15624
15615
  }
15625
- class Om extends ut {
15616
+ class Rm extends ut {
15626
15617
  value;
15627
15618
  backgroundRect;
15628
15619
  occupyRect;
@@ -15682,7 +15673,7 @@ class Om extends ut {
15682
15673
  });
15683
15674
  }
15684
15675
  }
15685
- class Fm extends ut {
15676
+ class Lm extends ut {
15686
15677
  width;
15687
15678
  height;
15688
15679
  cornerRadius;
@@ -15719,7 +15710,7 @@ class Fm extends ut {
15719
15710
  };
15720
15711
  }
15721
15712
  }
15722
- class Fr extends H {
15713
+ class Or extends H {
15723
15714
  extendDegree;
15724
15715
  radius;
15725
15716
  startDegree;
@@ -15770,7 +15761,7 @@ class Fr extends H {
15770
15761
  );
15771
15762
  }
15772
15763
  }
15773
- class Nm extends ut {
15764
+ class zm extends ut {
15774
15765
  percent = 0;
15775
15766
  ringBg;
15776
15767
  ring;
@@ -15784,7 +15775,7 @@ class Nm extends ut {
15784
15775
  const e = t?.startDegree || 0, s = t?.endDegree || 180, n = t?.extendDegree || 15, r = t?.lineWidth || 12;
15785
15776
  this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.indicatorLineCount = 22 + 1;
15786
15777
  const o = 20, a = 2, h = 17;
15787
- this.ringBg = new Fr({
15778
+ this.ringBg = new Or({
15788
15779
  ...t,
15789
15780
  x: t?.x,
15790
15781
  y: t?.y,
@@ -15795,7 +15786,7 @@ class Nm extends ut {
15795
15786
  extendDegree: n,
15796
15787
  lineWidth: r,
15797
15788
  color: this.bgColor
15798
- }), this.addShape(this.ringBg), this.ring = new Fr({
15789
+ }), this.addShape(this.ringBg), this.ring = new Or({
15799
15790
  ...t,
15800
15791
  x: t?.x,
15801
15792
  y: t?.y,
@@ -15881,7 +15872,7 @@ class Nm extends ut {
15881
15872
  }
15882
15873
  }
15883
15874
  }
15884
- class Nr extends H {
15875
+ class Fr extends H {
15885
15876
  radius;
15886
15877
  startDegree;
15887
15878
  endDegree;
@@ -15928,7 +15919,7 @@ class Nr extends H {
15928
15919
  );
15929
15920
  }
15930
15921
  }
15931
- class Bm extends ut {
15922
+ class Om extends ut {
15932
15923
  percent = 0;
15933
15924
  ringBg;
15934
15925
  ring;
@@ -15938,7 +15929,7 @@ class Bm extends ut {
15938
15929
  constructor(t) {
15939
15930
  super(t);
15940
15931
  const e = t?.lineWidth || 12;
15941
- this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.ringBg = new Nr({
15932
+ this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.ringBg = new Fr({
15942
15933
  ...t,
15943
15934
  x: t?.x,
15944
15935
  y: t?.y,
@@ -15948,7 +15939,7 @@ class Bm extends ut {
15948
15939
  endDegree: 360,
15949
15940
  lineWidth: e,
15950
15941
  color: this.bgColor
15951
- }), this.addShape(this.ringBg), this.ring = new Nr({
15942
+ }), this.addShape(this.ringBg), this.ring = new Fr({
15952
15943
  ...t,
15953
15944
  x: t?.x,
15954
15945
  y: t?.y,
@@ -16008,7 +15999,7 @@ class Yu extends H {
16008
15999
  }
16009
16000
  }
16010
16001
  const Xu = Yu;
16011
- class Ym extends H {
16002
+ class Fm extends H {
16012
16003
  points;
16013
16004
  light;
16014
16005
  constructor(t = []) {
@@ -16071,7 +16062,7 @@ class Ym extends H {
16071
16062
  return e.r *= s, e.g *= s, e.b *= s, e.toString();
16072
16063
  }
16073
16064
  }
16074
- class Xm extends ut {
16065
+ class Nm extends ut {
16075
16066
  fettis = [];
16076
16067
  constructor(t, e, s) {
16077
16068
  super();
@@ -16277,7 +16268,7 @@ class fa {
16277
16268
  }), o);
16278
16269
  }
16279
16270
  polymorphTween(t = 6e3, e) {
16280
- const s = this.shapes.findIndex((a) => a instanceof ut) >= 0 ? this.polymorphGroup() : this.polymorph(), n = s(0), r = e?.onUpdate, o = new pn({ frameDuration: t });
16271
+ const s = this.shapes.findIndex((a) => a instanceof ut) >= 0 ? this.polymorphGroup() : this.polymorph(), n = s(0), r = e?.onUpdate, o = new mn({ frameDuration: t });
16281
16272
  o.addTween(
16282
16273
  { t: 0 },
16283
16274
  { t: 1 },
@@ -16350,12 +16341,12 @@ const Uu = {
16350
16341
  this.map.clear();
16351
16342
  }
16352
16343
  };
16353
- function Um(i, t, e) {
16344
+ function Bm(i, t, e) {
16354
16345
  const s = new OffscreenCanvas(i, t), n = s.getContext("2d");
16355
16346
  if (n)
16356
16347
  return e(n), s.transferToImageBitmap();
16357
16348
  }
16358
- function Vm(i, t, e) {
16349
+ function Ym(i, t, e) {
16359
16350
  const s = i.createPattern(
16360
16351
  Uu.transform(t),
16361
16352
  "no-repeat"
@@ -16368,13 +16359,13 @@ function Vm(i, t, e) {
16368
16359
  function Vu(i) {
16369
16360
  return window.URL.createObjectURL(i);
16370
16361
  }
16371
- function Gm(i) {
16362
+ function Xm(i) {
16372
16363
  return window.URL.revokeObjectURL(i);
16373
16364
  }
16374
- const Br = new ke();
16365
+ const Nr = new ke();
16375
16366
  async function Gu(i, t = 6e4) {
16376
16367
  return new Promise((e, s) => {
16377
- const n = typeof i == "string" ? i : Vu(i), r = Br.get(n);
16368
+ const n = typeof i == "string" ? i : Vu(i), r = Nr.get(n);
16378
16369
  if (r)
16379
16370
  return e(r);
16380
16371
  const o = document.createElement("img");
@@ -16387,7 +16378,7 @@ async function Gu(i, t = 6e4) {
16387
16378
  element: o,
16388
16379
  imageData: Pu(o)
16389
16380
  };
16390
- Br.set(n, u), e(u), o.onerror = o.onload = null;
16381
+ Nr.set(n, u), e(u), o.onerror = o.onload = null;
16391
16382
  }, o.onerror = (h) => {
16392
16383
  clearTimeout(a), s(h);
16393
16384
  }, o.src = n;
@@ -16405,7 +16396,7 @@ async function da(i = Lt.text, t = ["*"]) {
16405
16396
  data: n
16406
16397
  };
16407
16398
  }
16408
- async function qm(i = ["image/*"]) {
16399
+ async function Um(i = ["image/*"]) {
16409
16400
  const e = (await Ao(i))[0];
16410
16401
  if (!e.type.match(/image\/*/))
16411
16402
  return new Error("Not Image Type!");
@@ -16456,7 +16447,7 @@ function ma(i, t, e) {
16456
16447
  resume: () => r = !1
16457
16448
  };
16458
16449
  }
16459
- const jm = {
16450
+ const Vm = {
16460
16451
  BACKSPACE: 8,
16461
16452
  TAB: 9,
16462
16453
  COMMA: 188,
@@ -16474,7 +16465,7 @@ const jm = {
16474
16465
  RIGHT: 39,
16475
16466
  SPACE: 32
16476
16467
  };
16477
- function Hm(i) {
16468
+ function Gm(i) {
16478
16469
  if (i.key)
16479
16470
  return i.key;
16480
16471
  if (i.keyCode)
@@ -16482,7 +16473,7 @@ function Hm(i) {
16482
16473
  if (i.which)
16483
16474
  return i.which;
16484
16475
  }
16485
- async function $m(i = { keys: ["o"] }, t = Lt.text) {
16476
+ async function qm(i = { keys: ["o"] }, t = Lt.text) {
16486
16477
  const e = Eh(), s = ma(
16487
16478
  i,
16488
16479
  async () => {
@@ -16498,7 +16489,7 @@ async function $m(i = { keys: ["o"] }, t = Lt.text) {
16498
16489
  );
16499
16490
  return await e.promise;
16500
16491
  }
16501
- function Wm(i = { keys: ["o"] }, t = Lt.text) {
16492
+ function jm(i = { keys: ["o"] }, t = Lt.text) {
16502
16493
  const e = new je();
16503
16494
  return ma(
16504
16495
  i,
@@ -16519,7 +16510,7 @@ function Wm(i = { keys: ["o"] }, t = Lt.text) {
16519
16510
  }
16520
16511
  };
16521
16512
  }
16522
- async function Zm(i, t = 6e4) {
16513
+ async function Hm(i, t = 6e4) {
16523
16514
  return new Promise((e, s) => {
16524
16515
  const n = document.createElement("script");
16525
16516
  n.type = "text/javascript", n.async = !1, n.onload = (o) => {
@@ -16533,7 +16524,7 @@ async function Zm(i, t = 6e4) {
16533
16524
  document.body.appendChild(n);
16534
16525
  });
16535
16526
  }
16536
- async function Jm(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16527
+ async function $m(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16537
16528
  return new Promise((s, n) => {
16538
16529
  const r = document.createElement("link");
16539
16530
  r.setAttribute("type", "text/css"), r.setAttribute("rel", "stylesheet"), r.onload = (a) => {
@@ -16547,7 +16538,7 @@ async function Jm(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16547
16538
  t.appendChild(r);
16548
16539
  });
16549
16540
  }
16550
- function Qm() {
16541
+ function Wm() {
16551
16542
  return new Promise((i) => {
16552
16543
  const t = Array.from(
16553
16544
  document.querySelectorAll("link[rel=stylesheet]")
@@ -16561,7 +16552,7 @@ function Qm() {
16561
16552
  });
16562
16553
  });
16563
16554
  }
16564
- function Yr(i, t) {
16555
+ function Br(i, t) {
16565
16556
  const e = document.createElement("a");
16566
16557
  e.style.visibility = "hidden", e.download = t, typeof i == "string" ? e.href = i : e.href = window.URL.createObjectURL(i), e.click();
16567
16558
  }
@@ -16569,7 +16560,7 @@ const en = new ke();
16569
16560
  function pa(i, t) {
16570
16561
  return ah({ url: i, ...t });
16571
16562
  }
16572
- async function bn(i, t) {
16563
+ async function wn(i, t) {
16573
16564
  if (typeof fetch > "u")
16574
16565
  throw new Error("fetch() not supported!");
16575
16566
  if (typeof AbortController > "u")
@@ -16630,21 +16621,21 @@ async function bn(i, t) {
16630
16621
  } else
16631
16622
  return Promise.reject(h);
16632
16623
  }
16633
- function Km(i, t) {
16624
+ function Zm(i, t) {
16634
16625
  const e = en.get(pa(i, t));
16635
16626
  e && e.abort();
16636
16627
  }
16637
- function tp(i = 3, t) {
16638
- return rn(bn, i, t);
16628
+ function Jm(i = 3, t) {
16629
+ return nn(wn, i, t);
16639
16630
  }
16640
- function ep(i = 6e4) {
16641
- return on(bn, i);
16631
+ function Qm(i = 6e4) {
16632
+ return rn(wn, i);
16642
16633
  }
16643
- function sp(i = 6e4, t = 3, e) {
16644
- return on(rn(bn, t, e), i);
16634
+ function Km(i = 6e4, t = 3, e) {
16635
+ return rn(nn(wn, t, e), i);
16645
16636
  }
16646
- function ip(i, t, e) {
16647
- if (typeof t == "string" && (t = Hr(t)), (typeof t == "string" || t === void 0) && e === void 0) {
16637
+ function tp(i, t, e) {
16638
+ if (typeof t == "string" && (t = qr(t)), (typeof t == "string" || t === void 0) && e === void 0) {
16648
16639
  const s = Object.assign({}, i.dataset);
16649
16640
  return Object.keys(s).forEach((n) => {
16650
16641
  if (s[n]?.startsWith("[") || s[n]?.startsWith("{"))
@@ -16660,7 +16651,7 @@ function ip(i, t, e) {
16660
16651
  });
16661
16652
  }
16662
16653
  }
16663
- function np(i, t) {
16654
+ function ep(i, t) {
16664
16655
  t.split(/[,\s]+/).forEach((e) => {
16665
16656
  e.trim() != "" && delete i.dataset[e.trim()];
16666
16657
  });
@@ -16698,16 +16689,16 @@ function ga(i, t, e = "toggle") {
16698
16689
  );
16699
16690
  }
16700
16691
  }
16701
- function rp(i, t) {
16692
+ function sp(i, t) {
16702
16693
  ga(i, t, "add");
16703
16694
  }
16704
- function op(i, t) {
16695
+ function ip(i, t) {
16705
16696
  ga(i, t, "remove");
16706
16697
  }
16707
- function hp(i, t) {
16698
+ function np(i, t) {
16708
16699
  return new RegExp("(?:^|\\s+)" + t + "(?:\\s+|$)").test(i.className) || !1;
16709
16700
  }
16710
- function cp(i, t) {
16701
+ function rp(i, t) {
16711
16702
  Xe(i, "display") == "none" && t === void 0 || t === !0 ? ju(i) : Hu(i);
16712
16703
  }
16713
16704
  function ju(i) {
@@ -16834,21 +16825,21 @@ function $u(i, t = !1) {
16834
16825
  n != s && e.content.replaceChild(n, s);
16835
16826
  }), e.content;
16836
16827
  }
16837
- function lp(i) {
16828
+ function op(i) {
16838
16829
  return document.createElement.call(document, i);
16839
16830
  }
16840
- function up(i) {
16831
+ function hp(i) {
16841
16832
  return document.createElementNS("http://www.w3.org/1999/xhtml", i);
16842
16833
  }
16843
- function fp(i) {
16834
+ function cp(i) {
16844
16835
  return document.createTextNode.call(document, i);
16845
16836
  }
16846
16837
  function ya(i) {
16847
- return i.tagName == "SCRIPT" && (i = Xr(i)), i.querySelectorAll && i.querySelectorAll("script").forEach((t) => {
16848
- t.parentNode?.replaceChild(Xr(t), t);
16838
+ return i.tagName == "SCRIPT" && (i = Yr(i)), i.querySelectorAll && i.querySelectorAll("script").forEach((t) => {
16839
+ t.parentNode?.replaceChild(Yr(t), t);
16849
16840
  }), i;
16850
16841
  }
16851
- function Xr(i) {
16842
+ function Yr(i) {
16852
16843
  const t = i.ownerDocument.createElement("script");
16853
16844
  t.text = i.text;
16854
16845
  const e = i.attributes;
@@ -16856,7 +16847,7 @@ function Xr(i) {
16856
16847
  t.setAttribute(e[s].name, e[s].value);
16857
16848
  return t;
16858
16849
  }
16859
- function dp(i) {
16850
+ function lp(i) {
16860
16851
  return {
16861
16852
  shadowRoot: () => {
16862
16853
  let t = i;
@@ -16871,7 +16862,7 @@ function dp(i) {
16871
16862
  }
16872
16863
  };
16873
16864
  }
16874
- function mp(i, t = "http://test.com/localstorage.html") {
16865
+ function up(i, t = "http://test.com/localstorage.html") {
16875
16866
  const e = document.createElement("iframe");
16876
16867
  e.src = t, document.body.append(e), setTimeout(function() {
16877
16868
  e.contentWindow?.postMessage(i, t);
@@ -16879,7 +16870,7 @@ function mp(i, t = "http://test.com/localstorage.html") {
16879
16870
  e.remove();
16880
16871
  }, 6e3);
16881
16872
  }
16882
- async function pp(i) {
16873
+ async function fp(i) {
16883
16874
  if (navigator.clipboard)
16884
16875
  return await navigator.clipboard.writeText(i);
16885
16876
  {
@@ -16887,7 +16878,7 @@ async function pp(i) {
16887
16878
  return t.value = i, t.style.opacity = "0", t.style.position = "fixed", t.style.top = "0", t.style.left = "0", t.focus(), t.select(), document.execCommand("copy");
16888
16879
  }
16889
16880
  }
16890
- function gp() {
16881
+ function dp() {
16891
16882
  return "geolocation" in navigator ? new Promise((i, t) => {
16892
16883
  navigator.geolocation.getCurrentPosition(
16893
16884
  (e) => {
@@ -16900,10 +16891,10 @@ function gp() {
16900
16891
  );
16901
16892
  }) : Promise.reject("Geolocation is not available.");
16902
16893
  }
16903
- function yp(i = 200) {
16894
+ function mp(i = 200) {
16904
16895
  "vibrate" in navigator ? window.navigator.vibrate(i) : console.error("Your device is not support vibrate on this browser.");
16905
16896
  }
16906
- function xp(i) {
16897
+ function pp(i) {
16907
16898
  const t = new Proxy(window, {
16908
16899
  get(e, s, n) {
16909
16900
  if (typeof s == "string" && ["open", "location", "document"].includes(s))
@@ -17008,11 +16999,11 @@ function Ne(i, t = {}, e = [], s) {
17008
16999
  el: s
17009
17000
  };
17010
17001
  }
17011
- function Sn(i) {
17002
+ function bn(i) {
17012
17003
  return Ne(
17013
17004
  i.tagName,
17014
17005
  ia(i),
17015
- Array.from(i.children).map((t) => Sn(t)),
17006
+ Array.from(i.children).map((t) => bn(t)),
17016
17007
  i
17017
17008
  );
17018
17009
  }
@@ -17022,13 +17013,13 @@ function hs(i, t = document.documentElement) {
17022
17013
  if (i.el = document.createElement(i.tag), i.props)
17023
17014
  for (const e in i.props) {
17024
17015
  const s = i.props[e];
17025
- e.startsWith("on") ? i.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? wn(i.el, i.props[e]) : ls(i.el, e, s);
17016
+ e.startsWith("on") ? i.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? xn(i.el, i.props[e]) : ls(i.el, e, s);
17026
17017
  }
17027
17018
  return i.children && (typeof i.children == "string" ? i.el.appendChild(document.createTextNode(i.children)) : i.children.forEach((e) => {
17028
17019
  hs(e, i.el);
17029
17020
  })), t.appendChild(i.el), i.el;
17030
17021
  }
17031
- function vn(i, t) {
17022
+ function Sn(i, t) {
17032
17023
  if (!i.el)
17033
17024
  return;
17034
17025
  if (i.tag !== t.tag) {
@@ -17050,7 +17041,7 @@ function vn(i, t) {
17050
17041
  } else if (a === "style") {
17051
17042
  for (const l in h)
17052
17043
  l in c || sa(e, l);
17053
- wn(e, c);
17044
+ xn(e, c);
17054
17045
  } else
17055
17046
  ls(e, a, c);
17056
17047
  }
@@ -17064,7 +17055,7 @@ function vn(i, t) {
17064
17055
  else {
17065
17056
  const a = Math.min(r.length, o.length);
17066
17057
  for (let h = 0; h < a; h++)
17067
- vn(r[h], o[h]);
17058
+ Sn(r[h], o[h]);
17068
17059
  o.length > r.length && o.slice(r.length).forEach((h) => {
17069
17060
  hs(h, e);
17070
17061
  }), o.length < r.length && r.slice(o.length).forEach((h) => {
@@ -17072,7 +17063,7 @@ function vn(i, t) {
17072
17063
  });
17073
17064
  }
17074
17065
  }
17075
- class wp {
17066
+ class gp {
17076
17067
  state;
17077
17068
  el;
17078
17069
  constructor(t, e) {
@@ -17100,7 +17091,7 @@ class wp {
17100
17091
  } else if (de(s).isInputCheckbox()) {
17101
17092
  const l = s;
17102
17093
  wt(() => {
17103
- l.checked = Jr(
17094
+ l.checked = Wr(
17104
17095
  this.getStateValue(c),
17105
17096
  l.value
17106
17097
  );
@@ -17204,7 +17195,7 @@ class wp {
17204
17195
  })`;
17205
17196
  }
17206
17197
  }
17207
- class bp {
17198
+ class yp {
17208
17199
  requestid = 0;
17209
17200
  url;
17210
17201
  socket;
@@ -17264,7 +17255,7 @@ class bp {
17264
17255
  return delete this.waitings[this.requestid], r;
17265
17256
  }
17266
17257
  }
17267
- function Sp(i) {
17258
+ function xp(i) {
17268
17259
  const t = document.documentElement, e = window.top === window.self ? window.devicePixelRatio : 1;
17269
17260
  t.dataset.dpr = e;
17270
17261
  let s = 100;
@@ -17282,10 +17273,10 @@ function Sp(i) {
17282
17273
  !1
17283
17274
  );
17284
17275
  }
17285
- function vp(i, t = import.meta.url) {
17276
+ function wp(i, t = import.meta.url) {
17286
17277
  return new URL(i, t);
17287
17278
  }
17288
- function Cn(i = window.location.href) {
17279
+ function vn(i = window.location.href) {
17289
17280
  try {
17290
17281
  return new URL(i);
17291
17282
  } catch {
@@ -17302,15 +17293,15 @@ function Cn(i = window.location.href) {
17302
17293
  };
17303
17294
  }
17304
17295
  }
17305
- function Cp(i) {
17306
- const t = Cn(i);
17296
+ function bp(i) {
17297
+ const t = vn(i);
17307
17298
  return t.protocol === "http:" || t.protocol === "https:";
17308
17299
  }
17309
17300
  function Ju(i = window.location.href) {
17310
- const t = Cn(i), e = t.href.indexOf(t.hash);
17301
+ const t = vn(i), e = t.href.indexOf(t.hash);
17311
17302
  return t.hash && e >= 0 ? t.href.substring(0, e) : t.href;
17312
17303
  }
17313
- function _p(i = Cn().search) {
17304
+ function Sp(i = vn().search) {
17314
17305
  i = decodeURIComponent(i).replace(/^[#?&]/, "");
17315
17306
  const t = {};
17316
17307
  if (!i)
@@ -17321,10 +17312,10 @@ function _p(i = Cn().search) {
17321
17312
  t[s[1]] = s[2], s = e.exec(i);
17322
17313
  return t;
17323
17314
  }
17324
- const Tp = (i = window.location.href) => JSON.parse(
17315
+ const vp = (i = window.location.href) => JSON.parse(
17325
17316
  '{"' + decodeURI(i.split("?")[1]).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}'
17326
17317
  );
17327
- function _n(i) {
17318
+ function Cn(i) {
17328
17319
  return "?" + Object.entries(i).map(([t, e]) => `${encodeURIComponent(t)}=${encodeURIComponent(e)}`).join("&");
17329
17320
  }
17330
17321
  function Qu(i) {
@@ -17335,16 +17326,16 @@ function Qu(i) {
17335
17326
  function Ku(i, t) {
17336
17327
  return i.replace(/(?:\?.*)?$/, t.replace(/^[&?]/, "?"));
17337
17328
  }
17338
- function Pp(i, t) {
17339
- return Ku(i, _n(t));
17329
+ function Cp(i, t) {
17330
+ return Ku(i, Cn(t));
17340
17331
  }
17341
17332
  function wa(i, t) {
17342
17333
  return i + t.replace(/^[&?]/, i.indexOf("?") >= 0 ? "&" : "?");
17343
17334
  }
17344
- function Mp(i, t) {
17345
- return wa(i, _n(t));
17335
+ function _p(i, t) {
17336
+ return wa(i, Cn(t));
17346
17337
  }
17347
- class Ep {
17338
+ class Tp {
17348
17339
  worker;
17349
17340
  cbs = {};
17350
17341
  constructor(t) {
@@ -17416,7 +17407,7 @@ class Ep {
17416
17407
  });
17417
17408
  }
17418
17409
  }
17419
- class Ap {
17410
+ class Pp {
17420
17411
  port1;
17421
17412
  port2;
17422
17413
  port1MessageCbs = [];
@@ -17486,7 +17477,7 @@ function tf() {
17486
17477
  i = new XMLHttpRequest();
17487
17478
  return i;
17488
17479
  }
17489
- function kp(i, t) {
17480
+ function Mp(i, t) {
17490
17481
  return new Promise((e, s) => {
17491
17482
  const {
17492
17483
  method: n = "GET",
@@ -17539,7 +17530,7 @@ function kp(i, t) {
17539
17530
  switch (d) {
17540
17531
  case "GET":
17541
17532
  let b = "";
17542
- r instanceof FormData ? b = Qu(r) : b = _n(r), f.open("GET", wa(i, b), !0), w(), f.send(null);
17533
+ r instanceof FormData ? b = Qu(r) : b = Cn(r), f.open("GET", wa(i, b), !0), w(), f.send(null);
17543
17534
  break;
17544
17535
  default:
17545
17536
  f.open(d, i, !0), w(), m ? f.sendAsBinary(o) : v ? f.send(JSON.stringify(r)) : S ? f.send(
@@ -17554,7 +17545,7 @@ function kp(i, t) {
17554
17545
  }
17555
17546
  });
17556
17547
  }
17557
- async function Ip(i) {
17548
+ async function Ep(i) {
17558
17549
  const t = {
17559
17550
  url: i.action || "",
17560
17551
  data: {},
@@ -17608,7 +17599,7 @@ Content-Type: ` + d.type + `\r
17608
17599
  `) + "--" + t.boundary + `--\r
17609
17600
  `, t;
17610
17601
  }
17611
- class Dp {
17602
+ class Ap {
17612
17603
  controller;
17613
17604
  ctx;
17614
17605
  shapes = [];
@@ -17841,7 +17832,7 @@ function ef(i, t) {
17841
17832
  }
17842
17833
  }
17843
17834
  }
17844
- class Rp {
17835
+ class kp {
17845
17836
  localVideoUtil;
17846
17837
  remoteVideoUtil;
17847
17838
  localPeerConnection = null;
@@ -17964,7 +17955,7 @@ ${t.sdp}.`), this.remotePeerConnection && (this.trace("remotePeerConnection setL
17964
17955
  return t === this.localPeerConnection ? "localPeerConnection" : "remotePeerConnection";
17965
17956
  }
17966
17957
  }
17967
- class Lp {
17958
+ class Ip {
17968
17959
  canvas;
17969
17960
  gl;
17970
17961
  constructor(t) {
@@ -17974,13 +17965,13 @@ class Lp {
17974
17965
  throw new Error("WebGL failed to initialize.");
17975
17966
  }
17976
17967
  }
17977
- const ba = [], Ur = {};
17968
+ const ba = [], Xr = {};
17978
17969
  function Sa(i) {
17979
17970
  ba.push(i);
17980
17971
  }
17981
- function zp(i, t = !1) {
17972
+ function Dp(i, t = !1) {
17982
17973
  const e = Ju();
17983
- if (Ur[e])
17974
+ if (Xr[e])
17984
17975
  return;
17985
17976
  wx.error((r) => {
17986
17977
  console.log(r.errMsg || JSON.stringify(r));
@@ -18034,9 +18025,9 @@ function zp(i, t = !1) {
18034
18025
  jsApiList: s,
18035
18026
  openTagList: n
18036
18027
  })
18037
- ), Ur[e] = !0;
18028
+ ), Xr[e] = !0;
18038
18029
  }
18039
- function Op(i) {
18030
+ function Rp(i) {
18040
18031
  return new Promise((t, e) => {
18041
18032
  wx.checkJsApi({
18042
18033
  jsApiList: [i],
@@ -18049,74 +18040,74 @@ function Op(i) {
18049
18040
  });
18050
18041
  });
18051
18042
  }
18052
- function Fp(i) {
18043
+ function Lp(i) {
18053
18044
  Sa(function() {
18054
18045
  wx.updateAppMessageShareData(i);
18055
18046
  });
18056
18047
  }
18057
- function Np(i) {
18048
+ function zp(i) {
18058
18049
  Sa(function() {
18059
18050
  wx.updateTimelineShareData(i);
18060
18051
  });
18061
18052
  }
18062
- function Bp(i) {
18053
+ function Op(i) {
18063
18054
  wx.chooseImage(i);
18064
18055
  }
18065
- function Yp(i) {
18056
+ function Fp(i) {
18066
18057
  wx.previewImage(i);
18067
18058
  }
18068
- function Xp(i) {
18059
+ function Np(i) {
18069
18060
  wx.uploadImage(i);
18070
18061
  }
18071
- function Up(i) {
18062
+ function Bp(i) {
18072
18063
  wx.downloadImage(i);
18073
18064
  }
18074
- function Vp(i) {
18065
+ function Yp(i) {
18075
18066
  wx.getLocalImgData(i);
18076
18067
  }
18077
- function Gp() {
18068
+ function Xp() {
18078
18069
  wx.startRecord();
18079
18070
  }
18080
- function qp(i) {
18071
+ function Up(i) {
18081
18072
  wx.stopRecord(i);
18082
18073
  }
18083
- function jp(i) {
18074
+ function Vp(i) {
18084
18075
  wx.onVoiceRecordEnd(i);
18085
18076
  }
18086
- function Hp(i) {
18077
+ function Gp(i) {
18087
18078
  wx.playVoice(i);
18088
18079
  }
18089
- function $p(i) {
18080
+ function qp(i) {
18090
18081
  wx.pauseVoice(i);
18091
18082
  }
18092
- function Wp(i) {
18083
+ function jp(i) {
18093
18084
  wx.stopVoice(i);
18094
18085
  }
18095
- function Zp(i) {
18086
+ function Hp(i) {
18096
18087
  wx.onVoicePlayEnd(i);
18097
18088
  }
18098
- function Jp(i) {
18089
+ function $p(i) {
18099
18090
  wx.uploadVoice(i);
18100
18091
  }
18101
- function Qp(i) {
18092
+ function Wp(i) {
18102
18093
  wx.downloadVoice(i);
18103
18094
  }
18104
- function Kp(i) {
18095
+ function Zp(i) {
18105
18096
  wx.translateVoice(i);
18106
18097
  }
18107
- function t0(i) {
18098
+ function Jp(i) {
18108
18099
  wx.getNetworkType(i);
18109
18100
  }
18110
- function e0(i) {
18101
+ function Qp(i) {
18111
18102
  wx.openLocation(i);
18112
18103
  }
18113
- function s0(i) {
18104
+ function Kp(i) {
18114
18105
  wx.getLocation(i);
18115
18106
  }
18116
- function i0(i) {
18107
+ function t0(i) {
18117
18108
  wx.scanQRCode(i);
18118
18109
  }
18119
- function n0(i, t, e) {
18110
+ function e0(i, t, e) {
18120
18111
  function s() {
18121
18112
  WeixinJSBridge.invoke("getBrandWCPayRequest", i, function(n) {
18122
18113
  n.err_msg == "get_brand_wcpay_request:ok" ? t() : e(n.err_msg);
@@ -18124,12 +18115,12 @@ function n0(i, t, e) {
18124
18115
  }
18125
18116
  typeof WeixinJSBridge > "u" ? document.addEventListener ? document.addEventListener("WeixinJSBridgeReady", s, !1) : document.attachEvent && (document.attachEvent("WeixinJSBridgeReady", s), document.attachEvent("onWeixinJSBridgeReady", s)) : s();
18126
18117
  }
18127
- function r0(i, t, e = "snsapi_userinfo", s = "") {
18118
+ function s0(i, t, e = "snsapi_userinfo", s = "") {
18128
18119
  return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${i}&redirect_uri=${encodeURIComponent(
18129
18120
  t
18130
18121
  )}&response_type=code&scope=${e}&state=${s}#wechat_redirect`;
18131
18122
  }
18132
- function o0(i) {
18123
+ function i0(i) {
18133
18124
  window.AlipayJSBridge ? i && i() : document.addEventListener("AlipayJSBridgeReady", i, !1);
18134
18125
  }
18135
18126
  function ms(i, t) {
@@ -18171,7 +18162,7 @@ function ms(i, t) {
18171
18162
  }
18172
18163
  return `${i.error}(${e}): ${i.errorMessage}`;
18173
18164
  }
18174
- function a0(i, t, e) {
18165
+ function n0(i, t, e) {
18175
18166
  ap.tradePay(
18176
18167
  Object.assign(i, {
18177
18168
  // fail: (res: commonFailOption) => {
@@ -18203,7 +18194,7 @@ function a0(i, t, e) {
18203
18194
  }
18204
18195
  );
18205
18196
  }
18206
- function h0(i, t, e) {
18197
+ function r0(i, t, e) {
18207
18198
  ap.scan(
18208
18199
  Object.assign(i, {
18209
18200
  fail: (s) => {
@@ -18215,7 +18206,7 @@ function h0(i, t, e) {
18215
18206
  }
18216
18207
  );
18217
18208
  }
18218
- function c0(i, t, e) {
18209
+ function o0(i, t, e) {
18219
18210
  ap.getLocation(
18220
18211
  Object.assign(i, {
18221
18212
  fail: (s) => {
@@ -18227,7 +18218,7 @@ function c0(i, t, e) {
18227
18218
  }
18228
18219
  );
18229
18220
  }
18230
- function l0(i, t, e) {
18221
+ function a0(i, t, e) {
18231
18222
  ap.openLocation(
18232
18223
  Object.assign(i, {
18233
18224
  fail: (s) => {
@@ -18239,7 +18230,7 @@ function l0(i, t, e) {
18239
18230
  }
18240
18231
  );
18241
18232
  }
18242
- function u0(i, t, e) {
18233
+ function h0(i, t, e) {
18243
18234
  ap.chooseImage(
18244
18235
  Object.assign(i, {
18245
18236
  fail: (s) => {
@@ -18251,7 +18242,7 @@ function u0(i, t, e) {
18251
18242
  }
18252
18243
  );
18253
18244
  }
18254
- function f0(i, t, e) {
18245
+ function c0(i, t, e) {
18255
18246
  ap.previewImage(
18256
18247
  Object.assign(i, {
18257
18248
  fail: (s) => {
@@ -18263,13 +18254,13 @@ function f0(i, t, e) {
18263
18254
  }
18264
18255
  );
18265
18256
  }
18266
- class d0 {
18257
+ class l0 {
18267
18258
  map;
18268
18259
  constructor(t, e = 120.619585, s = 31.299379, n = 18) {
18269
18260
  this.map = new T.Map(t), this.map.centerAndZoom(new T.LngLat(e, s), n);
18270
18261
  }
18271
18262
  }
18272
- class m0 {
18263
+ class u0 {
18273
18264
  /// 当前页数,从0开始
18274
18265
  currentPage;
18275
18266
  /// 每页item数量
@@ -18340,7 +18331,7 @@ class m0 {
18340
18331
  this.nextText && (this.currentPage < this.totalPages - 1 || this.nextShowAlways) && this.appendVNode(t, this.currentPage + 1, {
18341
18332
  text: this.nextText,
18342
18333
  classes: "next"
18343
- }), vn(this.parentVNode, t), this.parentVNode = t;
18334
+ }), Sn(this.parentVNode, t), this.parentVNode = t;
18344
18335
  }
18345
18336
  selectPage(t, e) {
18346
18337
  this.currentPage = t = t < 0 ? 0 : t < this.totalPages ? t : this.totalPages - 1, this.drawLinks();
@@ -18355,19 +18346,19 @@ class m0 {
18355
18346
  }
18356
18347
  }
18357
18348
  export {
18358
- Pm as Arrow,
18349
+ Cm as Arrow,
18359
18350
  Xo as BezierEasing,
18360
18351
  ae as BufferAttribute,
18361
- qf as CSSToJSEasing,
18362
- lr as Clock,
18352
+ Uf as CSSToJSEasing,
18353
+ cr as Clock,
18363
18354
  rt as Color,
18364
18355
  ua as ColorManagement,
18365
- jm as CommonKeyCode,
18366
- Xm as Confetti,
18367
- Dm as Cross,
18356
+ Vm as CommonKeyCode,
18357
+ Nm as Confetti,
18358
+ Am as Cross,
18368
18359
  $s as CustomCanvasContext,
18369
18360
  Ri as CustomCanvasGradient,
18370
- fr as CustomCanvasPattern,
18361
+ ur as CustomCanvasPattern,
18371
18362
  Ru as DOMParse,
18372
18363
  Ye as DOMSVGUtil,
18373
18364
  gl as DOMToBlob,
@@ -18377,364 +18368,361 @@ export {
18377
18368
  Fu as Ellipse,
18378
18369
  Mo as FetchWithAxios,
18379
18370
  pl as FetchWithAxiosRequestCancel,
18380
- lf as FileUpload,
18381
- Sm as Float16BufferAttribute,
18382
- vm as Float32BufferAttribute,
18383
- Mm as Fox,
18384
- Fr as HalfRing,
18385
- Nm as HalfRingIndicator,
18386
- Em as Heart,
18387
- Am as HeartVariant,
18388
- ym as Int16BufferAttribute,
18389
- wm as Int32BufferAttribute,
18390
- mm as Int8BufferAttribute,
18371
+ af as FileUpload,
18372
+ xm as Float16BufferAttribute,
18373
+ wm as Float32BufferAttribute,
18374
+ _m as Fox,
18375
+ Or as HalfRing,
18376
+ zm as HalfRingIndicator,
18377
+ Tm as Heart,
18378
+ Pm as HeartVariant,
18379
+ mm as Int16BufferAttribute,
18380
+ gm as Int32BufferAttribute,
18381
+ um as Int8BufferAttribute,
18391
18382
  me as Interpolation,
18392
18383
  Ge as Line,
18393
- Tm as LinePicture,
18394
- Cm as LineQuadraticBezier,
18384
+ vm as LinePicture,
18385
+ bm as LineQuadraticBezier,
18395
18386
  ca as LinearSRGBColorSpace,
18396
18387
  Ve as LinearToSRGB,
18397
18388
  la as LinearTransfer,
18398
18389
  ve as Ls,
18399
- wp as MVVM,
18390
+ gp as MVVM,
18400
18391
  Mt as Matrix,
18401
18392
  Jo as Matrix2,
18402
18393
  ds as Matrix3,
18403
18394
  Tt as Matrix4,
18404
18395
  Du as NoColorSpace,
18405
- m0 as Pagination,
18396
+ u0 as Pagination,
18406
18397
  pe as Point,
18407
18398
  ks as Point3D,
18408
- Ym as Point3Ds,
18399
+ Fm as Point3Ds,
18409
18400
  Ou as Points,
18410
18401
  Ee as QRCode,
18411
- Im as Rabbit,
18402
+ Em as Rabbit,
18412
18403
  ge as Rect,
18413
- Nr as Ring,
18414
- Bm as RingIndicator,
18404
+ Fr as Ring,
18405
+ Om as RingIndicator,
18415
18406
  Be as SRGBColorSpace,
18416
18407
  Ue as SRGBToLinear,
18417
18408
  Qi as SRGBTransfer,
18418
18409
  zu as SVGParse,
18419
18410
  As as SVGParsedPathArgsLength,
18420
- Lm as Sector,
18411
+ Im as Sector,
18421
18412
  Bu as SectorArc,
18422
- Fm as Segment,
18413
+ Lm as Segment,
18423
18414
  H as Shape,
18424
18415
  fa as ShapeCombo,
18425
18416
  ut as ShapeGroup,
18426
- zm as Ship,
18427
- Om as Slider,
18428
- km as Star,
18429
- Hf as TWEEN,
18417
+ Dm as Ship,
18418
+ Rm as Slider,
18419
+ Mm as Star,
18420
+ Gf as TWEEN,
18430
18421
  ti as Text,
18431
- pn as Timeline,
18422
+ mn as Timeline,
18432
18423
  Nu as Tip,
18433
- Rm as Tree,
18424
+ km as Tree,
18434
18425
  Go as Tween,
18435
- xm as Uint16BufferAttribute,
18436
- bm as Uint32BufferAttribute,
18437
- pm as Uint8BufferAttribute,
18438
- gm as Uint8ClampedBufferAttribute,
18426
+ pm as Uint16BufferAttribute,
18427
+ ym as Uint32BufferAttribute,
18428
+ fm as Uint8BufferAttribute,
18429
+ dm as Uint8ClampedBufferAttribute,
18439
18430
  di as Vector2,
18440
18431
  Ot as Vector3,
18441
18432
  Zo as Vector4,
18442
18433
  Is as WebGLCoordinateSystem,
18443
- Lp as WebGLRenderer,
18444
- yr as WebGPUCoordinateSystem,
18445
- Rp as WebRTCClient,
18446
- bp as WebSocketClient,
18447
- Dp as YZCanvas,
18434
+ Ip as WebGLRenderer,
18435
+ gr as WebGPUCoordinateSystem,
18436
+ kp as WebRTCClient,
18437
+ yp as WebSocketClient,
18438
+ Ap as YZCanvas,
18448
18439
  Wi as YZCanvasContext,
18449
- Ap as YZMessageChannel,
18450
- _m as YZSVG,
18451
- Ep as YZWorker,
18440
+ Pp as YZMessageChannel,
18441
+ Sm as YZSVG,
18442
+ Tp as YZWorker,
18452
18443
  Wt as __color,
18453
- rp as addClass,
18454
- cm as addWatermark,
18444
+ sp as addClass,
18445
+ om as addWatermark,
18455
18446
  Sa as addWxJsReadyFnBeforeConfig,
18456
- kp as ajax,
18457
- u0 as aliJsChooseImage,
18458
- c0 as aliJsGetLocation,
18459
- l0 as aliJsOpenLocation,
18460
- f0 as aliJsPreviewImage,
18461
- o0 as aliJsReady,
18462
- h0 as aliJsScan,
18463
- a0 as aliJsTradePay,
18447
+ Mp as ajax,
18448
+ h0 as aliJsChooseImage,
18449
+ o0 as aliJsGetLocation,
18450
+ a0 as aliJsOpenLocation,
18451
+ c0 as aliJsPreviewImage,
18452
+ i0 as aliJsReady,
18453
+ r0 as aliJsScan,
18454
+ n0 as aliJsTradePay,
18464
18455
  De as angle,
18465
18456
  wa as appendURL,
18466
- Mp as appendURLRecord,
18457
+ _p as appendURLRecord,
18467
18458
  lu as atomReadAttribute,
18468
18459
  ia as atomReadAttributes,
18469
- Kf as atomReadStyle,
18460
+ Zf as atomReadStyle,
18470
18461
  ea as atomReadStyles,
18471
- sd as atomRemoveAttribute,
18472
- np as atomRemoveDataset,
18462
+ Kf as atomRemoveAttribute,
18463
+ ep as atomRemoveDataset,
18473
18464
  sa as atomRemoveStyle,
18474
18465
  ls as atomWriteAttribute,
18475
- wn as atomWriteStyle,
18466
+ xn as atomWriteStyle,
18476
18467
  Mu as base64EncodeOutputStream,
18477
18468
  Uu as bitmapMapper,
18478
- zd as blobToImageData,
18469
+ Dd as blobToImageData,
18479
18470
  ha as byteArrayOutputStream,
18480
18471
  Rl as canDrawBitmap,
18481
- Ff as canUsePaths,
18472
+ Lf as canUsePaths,
18482
18473
  Dl as canUseWorker,
18483
18474
  Pl as cancelBubble,
18484
- Km as cancelFetch,
18485
- am as changeBrightness,
18486
- hm as changeDiaphaneity,
18487
- om as changeSize,
18488
- Op as checkWxJsApi,
18489
- ff as clearCookies,
18490
- df as clearLocalStorage,
18491
- nf as closeLog,
18492
- td as combineTransformToMatrix,
18493
- vf as compareVersion,
18494
- Id as computeImageDisplayRect,
18495
- lp as createElement,
18496
- up as createElementNS,
18475
+ Zm as cancelFetch,
18476
+ nm as changeBrightness,
18477
+ rm as changeDiaphaneity,
18478
+ im as changeSize,
18479
+ Rp as checkWxJsApi,
18480
+ cf as clearCookies,
18481
+ lf as clearLocalStorage,
18482
+ Jf as combineTransformToMatrix,
18483
+ wf as compareVersion,
18484
+ Ed as computeImageDisplayRect,
18485
+ op as createElement,
18486
+ hp as createElementNS,
18497
18487
  $u as createFragment,
18498
- pf as createIndexDB,
18488
+ ff as createIndexDB,
18499
18489
  Vu as createObjectURL,
18500
- Uf as createRunCycleInMaxRate,
18501
- fp as createTextNode,
18490
+ Bf as createRunCycleInMaxRate,
18491
+ cp as createTextNode,
18502
18492
  tf as createXMLHttpRequest,
18503
- yn as distance,
18493
+ gn as distance,
18504
18494
  Di as distance2,
18505
- ed as domPrefixes,
18506
- Vm as drawBitmapInCanvas,
18507
- dm as drawQRCodeToCanvas,
18495
+ Qf as domPrefixes,
18496
+ Ym as drawBitmapInCanvas,
18497
+ lm as drawQRCodeToCanvas,
18508
18498
  Uo as easeNameToCubicBezier,
18509
- Fd as flipSideToSide,
18510
- Nd as flipUpsideDown,
18499
+ Ld as flipSideToSide,
18500
+ zd as flipUpsideDown,
18511
18501
  Ku as flushURL,
18512
- Pp as flushURLRecord,
18502
+ Cp as flushURLRecord,
18513
18503
  Qu as formDataToSearch,
18514
- Um as getBitmapFromCanvas,
18515
- od as getBodyPosition,
18504
+ Bm as getBitmapFromCanvas,
18505
+ id as getBodyPosition,
18516
18506
  Io as getBrowserClient,
18517
- Cf as getBrowserClientVersion,
18518
- _f as getBrowserLanguage,
18507
+ bf as getBrowserClientVersion,
18508
+ Sf as getBrowserLanguage,
18519
18509
  xu as getCSSVar,
18520
18510
  Ko as getDOMMatrix,
18521
- Zf as getDirection,
18511
+ Hf as getDirection,
18522
18512
  mi as getDocumentElementPosition,
18523
- vr as getElementPositionInPage,
18524
- hd as getElementPositionInPage2,
18513
+ Sr as getElementPositionInPage,
18514
+ rd as getElementPositionInPage2,
18525
18515
  fu as getElementPositionInViewport,
18526
18516
  pa as getFetchId,
18527
- hf as getFileExtension,
18517
+ rf as getFileExtension,
18528
18518
  yl as getFileMD5Hash,
18529
- af as getFileTypeFromFile,
18530
- Ip as getFormSubmitData,
18519
+ nf as getFileTypeFromFile,
18520
+ Ep as getFormSubmitData,
18531
18521
  Pu as getImageData,
18532
- um as getImageDataByAIData,
18533
- Od as getImageMainColor,
18522
+ hm as getImageDataByAIData,
18523
+ Rd as getImageMainColor,
18534
18524
  El as getInternetExplorerVersion,
18535
- Hm as getKeyCode,
18536
- cf as getMIME,
18537
- bf as getMouseButton,
18525
+ Gm as getKeyCode,
18526
+ of as getMIME,
18527
+ yf as getMouseButton,
18538
18528
  ts as getMousePositionInElement,
18539
- Cr as getMousePositionInPage,
18540
- ud as getMousePositionInViewport,
18541
- mn as getOperatingSystem,
18542
- Sf as getOperatingSystemVersion,
18543
- ad as getPageSize,
18544
- Tp as getParameters,
18545
- vp as getPath,
18546
- cd as getRelativeBoundingClientRect,
18547
- rd as getScreenPosition,
18529
+ vr as getMousePositionInPage,
18530
+ hd as getMousePositionInViewport,
18531
+ dn as getOperatingSystem,
18532
+ xf as getOperatingSystemVersion,
18533
+ nd as getPageSize,
18534
+ vp as getParameters,
18535
+ wp as getPath,
18536
+ od as getRelativeBoundingClientRect,
18537
+ sd as getScreenPosition,
18548
18538
  Xe as getStyle,
18549
- wd as getTheme,
18550
- Tf as getTimeZone,
18551
- Cn as getURL,
18552
- ld as getVerticalScrollPercentInPage,
18539
+ gd as getTheme,
18540
+ vf as getTimeZone,
18541
+ vn as getURL,
18542
+ ad as getVerticalScrollPercentInPage,
18553
18543
  uu as getViewportSize,
18554
18544
  jo as getVnode,
18555
18545
  Eu as gifImage,
18556
18546
  Ne as h,
18557
- Sn as hFromEl,
18558
- hp as hasClass,
18559
- Lf as hasDocument,
18560
- zf as hasHistory,
18547
+ bn as hFromEl,
18548
+ np as hasClass,
18549
+ If as hasDocument,
18550
+ Df as hasHistory,
18561
18551
  Il as hasWindow,
18562
18552
  Hu as hideEl,
18563
- mp as iframePostMessage,
18564
- Dd as imageDataToBitmap,
18565
- Ld as imageDataToBlob,
18566
- Rd as imageDataToDataURL,
18567
- $f as immediateVnode,
18553
+ up as iframePostMessage,
18554
+ Ad as imageDataToBitmap,
18555
+ Id as imageDataToBlob,
18556
+ kd as imageDataToDataURL,
18557
+ qf as immediateVnode,
18568
18558
  cu as injectStyle,
18569
- zp as injectWxJsConfig,
18559
+ Dp as injectWxJsConfig,
18570
18560
  kl as isAliBrowser,
18571
- Rf as isAliMiniProgram,
18561
+ kf as isAliMiniProgram,
18572
18562
  Ml as isAndroid,
18573
- Pf as isAppleDevice,
18574
- Of as isBrowserSupportFileAPI,
18575
- Nf as isElement,
18576
- wf as isEventSupported,
18577
- Ef as isIE,
18578
- kf as isIE10,
18579
- If as isIE11,
18580
- Af as isIE9,
18563
+ Cf as isAppleDevice,
18564
+ Rf as isBrowserSupportFileAPI,
18565
+ zf as isElement,
18566
+ gf as isEventSupported,
18567
+ Tf as isIE,
18568
+ Mf as isIE10,
18569
+ Ef as isIE11,
18570
+ Pf as isIE9,
18581
18571
  Do as isIOS,
18582
18572
  Ro as isMacOS,
18583
- Mf as isMobile,
18573
+ _f as isMobile,
18584
18574
  Ai as isNative,
18585
- Yf as isTouchSupport,
18586
- Cp as isURL,
18575
+ Ff as isTouchSupport,
18576
+ bp as isURL,
18587
18577
  Al as isWxBrowser,
18588
- Df as isWxMiniProgram,
18589
- sm as jpgToPng,
18590
- Bd as leftRotate,
18591
- gn as length,
18592
- d0 as mapTDTJSSDK,
18593
- em as marginSharpen,
18594
- Gf as microTask,
18595
- lm as mosaic,
18578
+ Af as isWxMiniProgram,
18579
+ Kd as jpgToPng,
18580
+ Od as leftRotate,
18581
+ pn as length,
18582
+ l0 as mapTDTJSSDK,
18583
+ Qd as marginSharpen,
18584
+ Xf as microTask,
18585
+ am as mosaic,
18596
18586
  hs as mount,
18597
- Vf as nextTick,
18598
- Wf as normalizePoint,
18587
+ Yf as nextTick,
18588
+ jf as normalizePoint,
18599
18589
  ul as objectSignature,
18600
18590
  bu as onBeforeUnload,
18601
18591
  wu as onDocumentReady,
18602
- sf as openLog,
18603
18592
  Au as outputGifBase64,
18604
- fm as outputQRCodeBase64,
18593
+ cm as outputQRCodeBase64,
18605
18594
  Lu as parseCSS,
18606
18595
  Qo as parseTransformToMatrix,
18607
- vn as patch,
18608
- im as pngToJpg,
18596
+ Sn as patch,
18597
+ tm as pngToJpg,
18609
18598
  Vt as polar,
18610
- Bf as prefixes,
18599
+ Of as prefixes,
18611
18600
  Me as preventDefault,
18612
- rm as radiusClip,
18601
+ sm as radiusClip,
18613
18602
  ui as readFileInBrowser,
18614
- _n as recordToSearch,
18615
- nm as rectClip,
18616
- op as removeClass,
18603
+ Cn as recordToSearch,
18604
+ em as rectClip,
18605
+ ip as removeClass,
18617
18606
  Lo as requestAnimationFrameCycle,
18618
- jf as reverseCSSToJSEasing,
18607
+ Vf as reverseCSSToJSEasing,
18619
18608
  jl as reverseEaseNameToCubicBezier,
18620
18609
  Fl as reverseEasing,
18621
- Gm as revokeObjectURL,
18622
- Yd as rightRotate,
18610
+ Xm as revokeObjectURL,
18611
+ Fd as rightRotate,
18623
18612
  Zt as rotatePoint,
18624
18613
  Ll as scheduleIdle,
18625
18614
  $o as scheduleVnode,
18626
18615
  zo as scheduleYZIdle,
18627
- Pd as scrollTo,
18628
- _p as searchToRecord,
18616
+ Cd as scrollTo,
18617
+ Sp as searchToRecord,
18629
18618
  Ao as selectFileInBrowser,
18630
- Sd as setCSSVar,
18631
- Xf as setIntervalAccurate,
18632
- rf as setLogUpload,
18633
- Md as setManualScroll,
18634
- Sp as setRem,
18619
+ xd as setCSSVar,
18620
+ Nf as setIntervalAccurate,
18621
+ _d as setManualScroll,
18622
+ xp as setRem,
18635
18623
  ta as setStyle,
18636
- xd as setTheme,
18637
- cr as setTimeoutAccurate,
18638
- Cd as setWindowTitle,
18639
- tm as sharpen,
18624
+ pd as setTheme,
18625
+ hr as setTimeoutAccurate,
18626
+ bd as setWindowTitle,
18627
+ Jd as sharpen,
18640
18628
  ju as showEl,
18641
18629
  ll as signature,
18642
- xf as simulateMouseEventFromTouch,
18643
- of as stringToDOM,
18644
- Vd as toBlackAndWhite,
18645
- Hd as toBlue,
18646
- Zd as toBlueAndGreen,
18647
- Kd as toBlueAndGrey,
18630
+ pf as simulateMouseEventFromTouch,
18631
+ sf as stringToDOM,
18632
+ Yd as toBlackAndWhite,
18633
+ Gd as toBlue,
18634
+ Hd as toBlueAndGreen,
18635
+ Zd as toBlueAndGrey,
18648
18636
  gt as toDegree,
18649
- jd as toGreen,
18650
- Qd as toGreenAndGrey,
18651
- Xd as toGrey,
18652
- Ud as toGrey2,
18653
- Gd as toOpposite,
18637
+ Vd as toGreen,
18638
+ Wd as toGreenAndGrey,
18639
+ Nd as toGrey,
18640
+ Bd as toGrey2,
18641
+ Xd as toOpposite,
18654
18642
  Y as toRadian,
18655
- qd as toRed,
18656
- Wd as toRedAndBlue,
18657
- $d as toRedAndGreen,
18658
- Jd as toRedAndGrey,
18643
+ Ud as toRed,
18644
+ jd as toRedAndBlue,
18645
+ qd as toRedAndGreen,
18646
+ $d as toRedAndGrey,
18659
18647
  ga as toggleClass,
18660
- cp as toggleElDisplay,
18661
- bd as toggleTheme,
18662
- Qf as transformPath2D,
18648
+ rp as toggleElDisplay,
18649
+ yd as toggleTheme,
18650
+ Wf as transformPath2D,
18663
18651
  Ju as trimHash,
18664
18652
  _e as useAttribute,
18665
- Yr as useClickA,
18666
- pp as useClipboard,
18667
- uf as useCookie,
18668
- ip as useDataset,
18669
- id as useDraggable,
18670
- nd as useDrop,
18653
+ Br as useClickA,
18654
+ fp as useClipboard,
18655
+ hf as useCookie,
18656
+ tp as useDataset,
18657
+ td as useDraggable,
18658
+ ed as useDrop,
18671
18659
  de as useElement,
18672
- pd as useElementEventBus,
18660
+ fd as useElementEventBus,
18673
18661
  N as useEventListener,
18674
18662
  vu as useFeRouteChange,
18675
- bn as useFetch,
18676
- ep as useFetchCache,
18677
- tp as useFetchRetry,
18678
- sp as useFetchRetryCache,
18679
- yf as useFireEvent,
18680
- _d as useHistoryRouter,
18663
+ wn as useFetch,
18664
+ Qm as useFetchCache,
18665
+ Jm as useFetchRetry,
18666
+ Km as useFetchRetryCache,
18667
+ mf as useFireEvent,
18668
+ Sd as useHistoryRouter,
18681
18669
  ma as useHotKey,
18682
- Wm as useHotKeyFileLoop,
18683
- $m as useHotKeyFileOnce,
18670
+ jm as useHotKeyFileLoop,
18671
+ qm as useHotKeyFileOnce,
18684
18672
  Tu as useIntersection,
18685
18673
  Gu as useLoadImage,
18686
- Jm as useLoadLink,
18687
- Zm as useLoadScript,
18674
+ $m as useLoadLink,
18675
+ Hm as useLoadScript,
18688
18676
  xl as useLocalStorage,
18689
18677
  xa as useLocale,
18690
- gp as useLocation,
18678
+ dp as useLocation,
18691
18679
  yu as useMedia,
18692
18680
  du as useMousePoint,
18693
18681
  Su as useMutation,
18694
18682
  Ae as usePressDownMove,
18695
- dd as usePressDownMoveWithMouse,
18683
+ ld as usePressDownMoveWithMouse,
18696
18684
  gu as usePressDownMoveWithPointer,
18697
- md as usePressDownMoveWithTouch,
18698
- gd as usePullDown,
18699
- yd as usePullUp,
18685
+ ud as usePressDownMoveWithTouch,
18686
+ dd as usePullDown,
18687
+ md as usePullUp,
18700
18688
  ra as useResize,
18701
- xp as useRunInSandbox,
18702
- Td as useSafeArea,
18689
+ pp as useRunInSandbox,
18690
+ vd as useSafeArea,
18703
18691
  _u as useScroll,
18704
18692
  da as useSelectFile,
18705
- qm as useSelectFileImage,
18706
- mf as useSessionStorage,
18707
- dp as useShadowRoot,
18708
- yp as useVibrate,
18709
- Ad as useVisible,
18710
- Ed as useVisibleSimple,
18711
- vd as useWindow,
18712
- fd as useWindowResize,
18713
- kd as useWindowVisible,
18714
- Qm as waitForStyleSheetsLoaded,
18715
- gf as writeToIndexDB,
18716
- Bp as wxJsChooseImage,
18717
- Up as wxJsDownloadImage,
18718
- Qp as wxJsDownloadVoice,
18719
- Vp as wxJsGetLocalImgData,
18720
- s0 as wxJsGetLocation,
18721
- t0 as wxJsGetNetworkType,
18722
- r0 as wxJsLogin,
18723
- Zp as wxJsOnVoicePlayEnd,
18724
- jp as wxJsOnVoiceRecordEnd,
18725
- e0 as wxJsOpenLocation,
18726
- $p as wxJsPauseVoice,
18727
- n0 as wxJsPay,
18728
- Hp as wxJsPlayVoice,
18729
- Yp as wxJsPreviewImage,
18730
- i0 as wxJsScanQRCode,
18731
- Gp as wxJsStartRecord,
18732
- qp as wxJsStopRecord,
18733
- Wp as wxJsStopVoice,
18734
- Kp as wxJsTranslateVoice,
18735
- Fp as wxJsUpdateAppMessageShareData,
18736
- Np as wxJsUpdateTimelineShareData,
18737
- Xp as wxJsUploadImage,
18738
- Jp as wxJsUploadVoice
18693
+ Um as useSelectFileImage,
18694
+ uf as useSessionStorage,
18695
+ lp as useShadowRoot,
18696
+ mp as useVibrate,
18697
+ Pd as useVisible,
18698
+ Td as useVisibleSimple,
18699
+ wd as useWindow,
18700
+ cd as useWindowResize,
18701
+ Md as useWindowVisible,
18702
+ Wm as waitForStyleSheetsLoaded,
18703
+ df as writeToIndexDB,
18704
+ Op as wxJsChooseImage,
18705
+ Bp as wxJsDownloadImage,
18706
+ Wp as wxJsDownloadVoice,
18707
+ Yp as wxJsGetLocalImgData,
18708
+ Kp as wxJsGetLocation,
18709
+ Jp as wxJsGetNetworkType,
18710
+ s0 as wxJsLogin,
18711
+ Hp as wxJsOnVoicePlayEnd,
18712
+ Vp as wxJsOnVoiceRecordEnd,
18713
+ Qp as wxJsOpenLocation,
18714
+ qp as wxJsPauseVoice,
18715
+ e0 as wxJsPay,
18716
+ Gp as wxJsPlayVoice,
18717
+ Fp as wxJsPreviewImage,
18718
+ t0 as wxJsScanQRCode,
18719
+ Xp as wxJsStartRecord,
18720
+ Up as wxJsStopRecord,
18721
+ jp as wxJsStopVoice,
18722
+ Zp as wxJsTranslateVoice,
18723
+ Lp as wxJsUpdateAppMessageShareData,
18724
+ zp as wxJsUpdateTimelineShareData,
18725
+ Np as wxJsUploadImage,
18726
+ $p as wxJsUploadVoice
18739
18727
  };
18740
18728
  //# sourceMappingURL=zyzgroup_core_web.js.map