@zyzgroup/core-web 0.0.99 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- class Go extends Error {
1
+ class Vo extends Error {
2
2
  response;
3
3
  constructor(t, e) {
4
4
  super(t), this.response = e;
@@ -171,7 +171,7 @@ const Es = (n) => {
171
171
  });
172
172
  return e;
173
173
  };
174
- function Vo(n) {
174
+ function qo(n) {
175
175
  const t = n.match(/[\s\S]/gu);
176
176
  return t ? t.length : 0;
177
177
  }
@@ -186,18 +186,18 @@ function Hi(n = 12) {
186
186
  s += t[Math.floor(Math.random() * e)];
187
187
  return s;
188
188
  }
189
- function qo(n) {
189
+ function jo(n) {
190
190
  return n.replace(/(^\w)/g, (t) => t.toLowerCase());
191
191
  }
192
192
  const mt = (n, t = "-") => {
193
193
  let e = n.replace(new RegExp(`${t}?([A-Z])`, "g"), t + "$1").toLowerCase();
194
194
  return e = e.replace(new RegExp(`^${t}`), ""), e;
195
195
  };
196
- function jo(n) {
196
+ function Ho(n) {
197
197
  return n.replace(/(^\w|[_-]\w)/g, (t) => t.slice(-1).toUpperCase());
198
198
  }
199
199
  function _s(n) {
200
- return qo(jo(n));
200
+ return jo(Ho(n));
201
201
  }
202
202
  function $i(n) {
203
203
  let t = "";
@@ -207,10 +207,10 @@ function $i(n) {
207
207
  }
208
208
  return t;
209
209
  }
210
- function Ho(n) {
210
+ function $o(n) {
211
211
  return n != null;
212
212
  }
213
- function $o(n, ...t) {
213
+ function Wo(n, ...t) {
214
214
  return new n.constructor(...t);
215
215
  }
216
216
  function oi(n, t) {
@@ -218,7 +218,7 @@ function oi(n, t) {
218
218
  Object.prototype.hasOwnProperty.call(n, e) && !t(e, n[e]) && delete n[e];
219
219
  return n;
220
220
  }
221
- function Wo(n, t = "", e = ["", "sign", "key"]) {
221
+ function Jo(n, t = "", e = ["", "sign", "key"]) {
222
222
  return Object.keys(n).filter((s) => {
223
223
  for (let i = 0, r = e.length; i < r; i++)
224
224
  if (n[s] == e[i])
@@ -233,7 +233,7 @@ function xe(n, t) {
233
233
  function Wi(n, t) {
234
234
  return n.findIndex((e) => e == t) >= 0;
235
235
  }
236
- function Jo(n, ...t) {
236
+ function Zo(n, ...t) {
237
237
  return t.forEach((e) => {
238
238
  Wi(n, e) || n.push(e);
239
239
  }), n;
@@ -263,21 +263,21 @@ function Kt(n, t) {
263
263
  function ws(n, t, e = Number.EPSILON * Math.pow(2, 2)) {
264
264
  return Math.abs(n - t) < e;
265
265
  }
266
- const j = (n, t, e) => n < t ? t : n > e ? e : n, Zo = (n, t, e) => (s) => {
266
+ const j = (n, t, e) => n < t ? t : n > e ? e : n, Ko = (n, t, e) => (s) => {
267
267
  const i = j(s, n, t);
268
268
  return e == 0 ? i : t - i < e ? t : Math.round(i / e) * e;
269
269
  };
270
- function Ko(n, t = 12) {
270
+ function Qo(n, t = 12) {
271
271
  return Kt(n).toFixed(t);
272
272
  }
273
273
  function Ft(n, t = 12) {
274
- return +Ko(n, t);
274
+ return +Qo(n, t);
275
275
  }
276
276
  function cn(n, t) {
277
277
  const e = qi("number-single", String(n));
278
278
  return {
279
279
  hasNumber: !!e,
280
- number: e && !Array.isArray(e) && e.fullMatch ? parseFloat(e.fullMatch) : Ho(t) ? t : NaN,
280
+ number: e && !Array.isArray(e) && e.fullMatch ? parseFloat(e.fullMatch) : $o(t) ? t : NaN,
281
281
  prefix: e && !Array.isArray(e) && e.fullMatch ? n.substring(0, e.matchIndex) : "",
282
282
  suffix: e && !Array.isArray(e) && e.fullMatch ? n.substring(e.matchIndex + e.fullMatch.length) : ""
283
283
  };
@@ -286,8 +286,8 @@ function Ji(n) {
286
286
  const t = qi("number", n);
287
287
  return t ? Array.isArray(t) ? t.map((e) => Number(e.fullMatch)) : [Number(t.fullMatch)] : [];
288
288
  }
289
- Qo();
290
- function Qo() {
289
+ ta();
290
+ function ta() {
291
291
  const n = new ArrayBuffer(4), t = new Float32Array(n), e = new Uint32Array(n), s = new Uint32Array(512), i = new Uint32Array(512);
292
292
  for (let h = 0; h < 256; ++h) {
293
293
  const c = h - 127;
@@ -330,19 +330,19 @@ const ye = (n, t = 16) => {
330
330
  throw new Error(`radixStringToNumber(${n}, ${t}) 无法解析!`);
331
331
  return o;
332
332
  };
333
- function ta(n) {
333
+ function ea(n) {
334
334
  return new TextEncoder().encode(n);
335
335
  }
336
- function ea(n, t = qe.utf8) {
336
+ function sa(n, t = qe.utf8) {
337
337
  return new TextDecoder(t).decode(n);
338
338
  }
339
339
  const Sn = (n, t, e) => t ? e === qe.base64 ? new Blob([n], { type: `${t};${e}` }) : e === qe.utf8 ? new Blob([n], {
340
340
  type: `${t};charset=${e}`
341
341
  }) : new Blob([n], {
342
342
  type: `${t}`
343
- }) : new Blob([n]), sa = (n) => {
343
+ }) : new Blob([n]), na = (n) => {
344
344
  let t = Lt.UNKNOWN;
345
- switch (new DataView(n).getUint32(0, na()).toString(16).toUpperCase()) {
345
+ switch (new DataView(n).getUint32(0, ia()).toString(16).toUpperCase()) {
346
346
  case "FFD8FFDB":
347
347
  t = Lt.JPEG;
348
348
  break;
@@ -370,7 +370,7 @@ const Sn = (n, t, e) => t ? e === qe.base64 ? new Blob([n], { type: `${t};${e}`
370
370
  }
371
371
  return t;
372
372
  };
373
- function na() {
373
+ function ia() {
374
374
  const n = Uint32Array.of(305419896), t = new Uint8Array(n.buffer);
375
375
  switch (t[0] * 16777216 + t[1] * 65536 + t[2] * 256 + t[3]) {
376
376
  case 305419896:
@@ -382,14 +382,14 @@ function na() {
382
382
  function K() {
383
383
  return (performance || Date).now();
384
384
  }
385
- function ia(n) {
385
+ function ra(n) {
386
386
  let t = 0;
387
387
  for (let e = 5; e >= 0; e = e - 2)
388
388
  e == 5 ? t += n[e - 1] * 10 + n[e] : e == 3 ? t += (n[e - 1] * 10 + n[e]) * 60 : e == 1 && (t += (n[e - 1] * 10 + n[e]) * 60 * 60);
389
389
  return t = Math.floor(Math.max(0, t)), t * 1e3;
390
390
  }
391
- function ra(n) {
392
- let t = ia(n) / 1e3;
391
+ function oa(n) {
392
+ let t = ra(n) / 1e3;
393
393
  const e = t % 60;
394
394
  n[5] = e % 10, n[4] = Math.floor(e / 10), t = Math.floor(t / 60);
395
395
  const s = t % 60;
@@ -397,14 +397,14 @@ function ra(n) {
397
397
  const i = t % 60 % 24;
398
398
  return n[1] = i % 10, n[0] = Math.floor(i / 10), n;
399
399
  }
400
- function oa(n, t = 1) {
401
- return n[5] += t, ra(n);
400
+ function aa(n, t = 1) {
401
+ return n[5] += t, oa(n);
402
402
  }
403
- const aa = (n, t = ":") => {
403
+ const ha = (n, t = ":") => {
404
404
  const e = `${n[0]}${n[1]}`, s = `${n[2]}${n[3]}`, i = `${n[4]}${n[5]}`;
405
405
  return [e, s, i].join(t);
406
406
  };
407
- function ha(n, t) {
407
+ function ca(n, t) {
408
408
  let e;
409
409
  return function(...s) {
410
410
  clearTimeout(e), e = setTimeout(() => {
@@ -453,6 +453,13 @@ class As {
453
453
  }
454
454
  const ci = () => {
455
455
  };
456
+ function la(n) {
457
+ let t = !1;
458
+ return function(...e) {
459
+ if (!t)
460
+ return t = !0, n.apply(this, e);
461
+ };
462
+ }
456
463
  Array.prototype.ap = function(n) {
457
464
  return this.reduce((t, e) => t.concat(n.map(e)), []);
458
465
  };
@@ -460,7 +467,7 @@ let Be;
460
467
  function ut(n) {
461
468
  Be = n, n(), Be = null;
462
469
  }
463
- class ca {
470
+ class ua {
464
471
  subscribers = /* @__PURE__ */ new Set();
465
472
  add() {
466
473
  Be && !this.subscribers.has(Be) && this.subscribers.add(Be);
@@ -474,9 +481,9 @@ function ms(n, t) {
474
481
  let e = li.get(n);
475
482
  e || (e = /* @__PURE__ */ new Map(), li.set(n, e));
476
483
  let s = e.get(t);
477
- return s || (s = new ca(), e.set(t, s)), s;
484
+ return s || (s = new ua(), e.set(t, s)), s;
478
485
  }
479
- function la(n, t = !1) {
486
+ function fa(n, t = !1) {
480
487
  return Object.keys(n).forEach((e) => {
481
488
  let s = n[e];
482
489
  if (t && typeof s == "object" && s !== null)
@@ -503,7 +510,7 @@ function la(n, t = !1) {
503
510
  }), n;
504
511
  }
505
512
  function ie(n, t = !1) {
506
- return la({ value: n }, t);
513
+ return fa({ value: n }, t);
507
514
  }
508
515
  function Tn(n, t = !1) {
509
516
  const e = {
@@ -622,7 +629,7 @@ class de {
622
629
  }
623
630
  }
624
631
  }
625
- function ua(n, t = (e, s) => e <= s) {
632
+ function da(n, t = (e, s) => e <= s) {
626
633
  const e = n.length;
627
634
  let s = Math.floor(e / 2);
628
635
  for (; s > 0; ) {
@@ -636,7 +643,7 @@ function ua(n, t = (e, s) => e <= s) {
636
643
  s = Math.floor(s / 2);
637
644
  }
638
645
  }
639
- function fa() {
646
+ function ma() {
640
647
  const n = {};
641
648
  return n.promise = new Promise((t, e) => {
642
649
  n.resolve = t, n.reject = e;
@@ -803,35 +810,35 @@ var Qi = { exports: {} };
803
810
  }, E;
804
811
  });
805
812
  })(Qi);
806
- var da = Qi.exports;
807
- const ma = /* @__PURE__ */ Ki(da);
813
+ var pa = Qi.exports;
814
+ const ga = /* @__PURE__ */ Ki(pa);
808
815
  function tr(n, t) {
809
816
  return function() {
810
817
  return n.apply(t, arguments);
811
818
  };
812
819
  }
813
- const { toString: pa } = Object.prototype, { getPrototypeOf: Cn } = Object, Ds = ((n) => (t) => {
814
- const e = pa.call(t);
820
+ const { toString: ya } = Object.prototype, { getPrototypeOf: Cn } = Object, Ds = ((n) => (t) => {
821
+ const e = ya.call(t);
815
822
  return n[e] || (n[e] = e.slice(8, -1).toLowerCase());
816
823
  })(/* @__PURE__ */ Object.create(null)), Yt = (n) => (n = n.toLowerCase(), (t) => Ds(t) === n), Is = (n) => (t) => typeof t === n, { isArray: _e } = Array, je = Is("undefined");
817
- function ga(n) {
824
+ function wa(n) {
818
825
  return n !== null && !je(n) && n.constructor !== null && !je(n.constructor) && Ct(n.constructor.isBuffer) && n.constructor.isBuffer(n);
819
826
  }
820
827
  const er = Yt("ArrayBuffer");
821
- function ya(n) {
828
+ function xa(n) {
822
829
  let t;
823
830
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(n) : t = n && n.buffer && er(n.buffer), t;
824
831
  }
825
- const wa = Is("string"), Ct = Is("function"), sr = Is("number"), Ms = (n) => n !== null && typeof n == "object", xa = (n) => n === !0 || n === !1, ps = (n) => {
832
+ const ba = Is("string"), Ct = Is("function"), sr = Is("number"), Ms = (n) => n !== null && typeof n == "object", va = (n) => n === !0 || n === !1, ps = (n) => {
826
833
  if (Ds(n) !== "object")
827
834
  return !1;
828
835
  const t = Cn(n);
829
836
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
830
- }, ba = Yt("Date"), va = Yt("File"), Sa = Yt("Blob"), Ta = Yt("FileList"), Ca = (n) => Ms(n) && Ct(n.pipe), Pa = (n) => {
837
+ }, Sa = Yt("Date"), Ta = Yt("File"), Ca = Yt("Blob"), Pa = Yt("FileList"), Ea = (n) => Ms(n) && Ct(n.pipe), _a = (n) => {
831
838
  let t;
832
839
  return n && (typeof FormData == "function" && n instanceof FormData || Ct(n.append) && ((t = Ds(n)) === "formdata" || // detect form-data instance
833
840
  t === "object" && Ct(n.toString) && n.toString() === "[object FormData]"));
834
- }, Ea = Yt("URLSearchParams"), _a = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
841
+ }, Aa = Yt("URLSearchParams"), Da = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
835
842
  function He(n, t, { allOwnKeys: e = !1 } = {}) {
836
843
  if (n === null || typeof n > "u")
837
844
  return;
@@ -865,13 +872,13 @@ function ln() {
865
872
  arguments[s] && He(arguments[s], e);
866
873
  return t;
867
874
  }
868
- const Aa = (n, t, e, { allOwnKeys: s } = {}) => (He(t, (i, r) => {
875
+ const Ia = (n, t, e, { allOwnKeys: s } = {}) => (He(t, (i, r) => {
869
876
  e && Ct(i) ? n[r] = tr(i, e) : n[r] = i;
870
- }, { allOwnKeys: s }), n), Da = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), Ia = (n, t, e, s) => {
877
+ }, { allOwnKeys: s }), n), Ma = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), ka = (n, t, e, s) => {
871
878
  n.prototype = Object.create(t.prototype, s), n.prototype.constructor = n, Object.defineProperty(n, "super", {
872
879
  value: t.prototype
873
880
  }), e && Object.assign(n.prototype, e);
874
- }, Ma = (n, t, e, s) => {
881
+ }, La = (n, t, e, s) => {
875
882
  let i, r, o;
876
883
  const a = {};
877
884
  if (t = t || {}, n == null)
@@ -882,11 +889,11 @@ const Aa = (n, t, e, { allOwnKeys: s } = {}) => (He(t, (i, r) => {
882
889
  n = e !== !1 && Cn(n);
883
890
  } while (n && (!e || e(n, t)) && n !== Object.prototype);
884
891
  return t;
885
- }, ka = (n, t, e) => {
892
+ }, Ra = (n, t, e) => {
886
893
  n = String(n), (e === void 0 || e > n.length) && (e = n.length), e -= t.length;
887
894
  const s = n.indexOf(t, e);
888
895
  return s !== -1 && s === e;
889
- }, La = (n) => {
896
+ }, Oa = (n) => {
890
897
  if (!n)
891
898
  return null;
892
899
  if (_e(n))
@@ -898,31 +905,31 @@ const Aa = (n, t, e, { allOwnKeys: s } = {}) => (He(t, (i, r) => {
898
905
  for (; t-- > 0; )
899
906
  e[t] = n[t];
900
907
  return e;
901
- }, Ra = ((n) => (t) => n && t instanceof n)(typeof Uint8Array < "u" && Cn(Uint8Array)), Oa = (n, t) => {
908
+ }, Na = ((n) => (t) => n && t instanceof n)(typeof Uint8Array < "u" && Cn(Uint8Array)), Fa = (n, t) => {
902
909
  const s = (n && n[Symbol.iterator]).call(n);
903
910
  let i;
904
911
  for (; (i = s.next()) && !i.done; ) {
905
912
  const r = i.value;
906
913
  t.call(n, r[0], r[1]);
907
914
  }
908
- }, Na = (n, t) => {
915
+ }, Ya = (n, t) => {
909
916
  let e;
910
917
  const s = [];
911
918
  for (; (e = n.exec(t)) !== null; )
912
919
  s.push(e);
913
920
  return s;
914
- }, Fa = Yt("HTMLFormElement"), Ya = (n) => n.toLowerCase().replace(
921
+ }, Ua = Yt("HTMLFormElement"), Xa = (n) => n.toLowerCase().replace(
915
922
  /[-_\s]([a-z\d])(\w*)/g,
916
923
  function(e, s, i) {
917
924
  return s.toUpperCase() + i;
918
925
  }
919
- ), fi = (({ hasOwnProperty: n }) => (t, e) => n.call(t, e))(Object.prototype), Ua = Yt("RegExp"), or = (n, t) => {
926
+ ), fi = (({ hasOwnProperty: n }) => (t, e) => n.call(t, e))(Object.prototype), Ba = Yt("RegExp"), or = (n, t) => {
920
927
  const e = Object.getOwnPropertyDescriptors(n), s = {};
921
928
  He(e, (i, r) => {
922
929
  let o;
923
930
  (o = t(i, r, n)) !== !1 && (s[r] = o || i);
924
931
  }), Object.defineProperties(n, s);
925
- }, Xa = (n) => {
932
+ }, za = (n) => {
926
933
  or(n, (t, e) => {
927
934
  if (Ct(n) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
928
935
  return !1;
@@ -937,29 +944,29 @@ const Aa = (n, t, e, { allOwnKeys: s } = {}) => (He(t, (i, r) => {
937
944
  });
938
945
  }
939
946
  });
940
- }, Ba = (n, t) => {
947
+ }, Ga = (n, t) => {
941
948
  const e = {}, s = (i) => {
942
949
  i.forEach((r) => {
943
950
  e[r] = !0;
944
951
  });
945
952
  };
946
953
  return _e(n) ? s(n) : s(String(n).split(t)), e;
947
- }, za = () => {
948
- }, Ga = (n, t) => (n = +n, Number.isFinite(n) ? n : t), $s = "abcdefghijklmnopqrstuvwxyz", di = "0123456789", ar = {
954
+ }, Va = () => {
955
+ }, qa = (n, t) => (n = +n, Number.isFinite(n) ? n : t), $s = "abcdefghijklmnopqrstuvwxyz", di = "0123456789", ar = {
949
956
  DIGIT: di,
950
957
  ALPHA: $s,
951
958
  ALPHA_DIGIT: $s + $s.toUpperCase() + di
952
- }, Va = (n = 16, t = ar.ALPHA_DIGIT) => {
959
+ }, ja = (n = 16, t = ar.ALPHA_DIGIT) => {
953
960
  let e = "";
954
961
  const { length: s } = t;
955
962
  for (; n--; )
956
963
  e += t[Math.random() * s | 0];
957
964
  return e;
958
965
  };
959
- function qa(n) {
966
+ function Ha(n) {
960
967
  return !!(n && Ct(n.append) && n[Symbol.toStringTag] === "FormData" && n[Symbol.iterator]);
961
968
  }
962
- const ja = (n) => {
969
+ const $a = (n) => {
963
970
  const t = new Array(10), e = (s, i) => {
964
971
  if (Ms(s)) {
965
972
  if (t.indexOf(s) >= 0)
@@ -976,59 +983,59 @@ const ja = (n) => {
976
983
  return s;
977
984
  };
978
985
  return e(n, 0);
979
- }, Ha = Yt("AsyncFunction"), $a = (n) => n && (Ms(n) || Ct(n)) && Ct(n.then) && Ct(n.catch), A = {
986
+ }, Wa = Yt("AsyncFunction"), Ja = (n) => n && (Ms(n) || Ct(n)) && Ct(n.then) && Ct(n.catch), A = {
980
987
  isArray: _e,
981
988
  isArrayBuffer: er,
982
- isBuffer: ga,
983
- isFormData: Pa,
984
- isArrayBufferView: ya,
985
- isString: wa,
989
+ isBuffer: wa,
990
+ isFormData: _a,
991
+ isArrayBufferView: xa,
992
+ isString: ba,
986
993
  isNumber: sr,
987
- isBoolean: xa,
994
+ isBoolean: va,
988
995
  isObject: Ms,
989
996
  isPlainObject: ps,
990
997
  isUndefined: je,
991
- isDate: ba,
992
- isFile: va,
993
- isBlob: Sa,
994
- isRegExp: Ua,
998
+ isDate: Sa,
999
+ isFile: Ta,
1000
+ isBlob: Ca,
1001
+ isRegExp: Ba,
995
1002
  isFunction: Ct,
996
- isStream: Ca,
997
- isURLSearchParams: Ea,
998
- isTypedArray: Ra,
999
- isFileList: Ta,
1003
+ isStream: Ea,
1004
+ isURLSearchParams: Aa,
1005
+ isTypedArray: Na,
1006
+ isFileList: Pa,
1000
1007
  forEach: He,
1001
1008
  merge: ln,
1002
- extend: Aa,
1003
- trim: _a,
1004
- stripBOM: Da,
1005
- inherits: Ia,
1006
- toFlatObject: Ma,
1009
+ extend: Ia,
1010
+ trim: Da,
1011
+ stripBOM: Ma,
1012
+ inherits: ka,
1013
+ toFlatObject: La,
1007
1014
  kindOf: Ds,
1008
1015
  kindOfTest: Yt,
1009
- endsWith: ka,
1010
- toArray: La,
1011
- forEachEntry: Oa,
1012
- matchAll: Na,
1013
- isHTMLForm: Fa,
1016
+ endsWith: Ra,
1017
+ toArray: Oa,
1018
+ forEachEntry: Fa,
1019
+ matchAll: Ya,
1020
+ isHTMLForm: Ua,
1014
1021
  hasOwnProperty: fi,
1015
1022
  hasOwnProp: fi,
1016
1023
  // an alias to avoid ESLint no-prototype-builtins detection
1017
1024
  reduceDescriptors: or,
1018
- freezeMethods: Xa,
1019
- toObjectSet: Ba,
1020
- toCamelCase: Ya,
1021
- noop: za,
1022
- toFiniteNumber: Ga,
1025
+ freezeMethods: za,
1026
+ toObjectSet: Ga,
1027
+ toCamelCase: Xa,
1028
+ noop: Va,
1029
+ toFiniteNumber: qa,
1023
1030
  findKey: nr,
1024
1031
  global: ir,
1025
1032
  isContextDefined: rr,
1026
1033
  ALPHABET: ar,
1027
- generateString: Va,
1028
- isSpecCompliantForm: qa,
1029
- toJSONObject: ja,
1030
- isAsyncFn: Ha,
1031
- isThenable: $a
1034
+ generateString: ja,
1035
+ isSpecCompliantForm: Ha,
1036
+ toJSONObject: $a,
1037
+ isAsyncFn: Wa,
1038
+ isThenable: Ja
1032
1039
  };
1033
1040
  function X(n, t, e, s, i) {
1034
1041
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = n, this.name = "AxiosError", t && (this.code = t), e && (this.config = e), s && (this.request = s), i && (this.response = i);
@@ -1080,7 +1087,7 @@ X.from = (n, t, e, s, i, r) => {
1080
1087
  return h !== Error.prototype;
1081
1088
  }, (a) => a !== "isAxiosError"), X.call(o, n.message, t, e, s, i), o.cause = n, o.name = n.name, r && Object.assign(o, r), o;
1082
1089
  };
1083
- const Wa = null;
1090
+ const Za = null;
1084
1091
  function un(n) {
1085
1092
  return A.isPlainObject(n) || A.isArray(n);
1086
1093
  }
@@ -1092,10 +1099,10 @@ function mi(n, t, e) {
1092
1099
  return i = lr(i), !e && r ? "[" + i + "]" : i;
1093
1100
  }).join(e ? "." : "") : t;
1094
1101
  }
1095
- function Ja(n) {
1102
+ function Ka(n) {
1096
1103
  return A.isArray(n) && !n.some(un);
1097
1104
  }
1098
- const Za = A.toFlatObject(A, {}, null, function(t) {
1105
+ const Qa = A.toFlatObject(A, {}, null, function(t) {
1099
1106
  return /^is[A-Z]/.test(t);
1100
1107
  });
1101
1108
  function ks(n, t, e) {
@@ -1125,7 +1132,7 @@ function ks(n, t, e) {
1125
1132
  if (m && !E && typeof m == "object") {
1126
1133
  if (A.endsWith(P, "{}"))
1127
1134
  P = s ? P : P.slice(0, -2), m = JSON.stringify(m);
1128
- else if (A.isArray(m) && Ja(m) || (A.isFileList(m) || A.endsWith(P, "[]")) && (b = A.toArray(m)))
1135
+ else if (A.isArray(m) && Ka(m) || (A.isFileList(m) || A.endsWith(P, "[]")) && (b = A.toArray(m)))
1129
1136
  return P = lr(P), b.forEach(function(g, p) {
1130
1137
  !(A.isUndefined(g) || g === null) && t.append(
1131
1138
  // eslint-disable-next-line no-nested-ternary
@@ -1136,7 +1143,7 @@ function ks(n, t, e) {
1136
1143
  }
1137
1144
  return un(m) ? !0 : (t.append(mi(E, P, r), c(m)), !1);
1138
1145
  }
1139
- const f = [], y = Object.assign(Za, {
1146
+ const f = [], y = Object.assign(Qa, {
1140
1147
  defaultVisitor: l,
1141
1148
  convertValue: c,
1142
1149
  isVisitable: un
@@ -1189,13 +1196,13 @@ ur.toString = function(t) {
1189
1196
  return e(i[0]) + "=" + e(i[1]);
1190
1197
  }, "").join("&");
1191
1198
  };
1192
- function Ka(n) {
1199
+ function th(n) {
1193
1200
  return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1194
1201
  }
1195
1202
  function fr(n, t, e) {
1196
1203
  if (!t)
1197
1204
  return n;
1198
- const s = e && e.encode || Ka, i = e && e.serialize;
1205
+ const s = e && e.encode || th, i = e && e.serialize;
1199
1206
  let r;
1200
1207
  if (i ? r = i(t, e) : r = A.isURLSearchParams(t) ? t.toString() : new Pn(t, e).toString(s), r) {
1201
1208
  const o = n.indexOf("#");
@@ -1203,7 +1210,7 @@ function fr(n, t, e) {
1203
1210
  }
1204
1211
  return n;
1205
1212
  }
1206
- class Qa {
1213
+ class eh {
1207
1214
  constructor() {
1208
1215
  this.handlers = [];
1209
1216
  }
@@ -1257,36 +1264,36 @@ class Qa {
1257
1264
  });
1258
1265
  }
1259
1266
  }
1260
- const gi = Qa, dr = {
1267
+ const gi = eh, dr = {
1261
1268
  silentJSONParsing: !0,
1262
1269
  forcedJSONParsing: !0,
1263
1270
  clarifyTimeoutError: !1
1264
- }, th = typeof URLSearchParams < "u" ? URLSearchParams : Pn, eh = typeof FormData < "u" ? FormData : null, sh = typeof Blob < "u" ? Blob : null, nh = (() => {
1271
+ }, sh = typeof URLSearchParams < "u" ? URLSearchParams : Pn, nh = typeof FormData < "u" ? FormData : null, ih = typeof Blob < "u" ? Blob : null, rh = (() => {
1265
1272
  let n;
1266
1273
  return typeof navigator < "u" && ((n = navigator.product) === "ReactNative" || n === "NativeScript" || n === "NS") ? !1 : typeof window < "u" && typeof document < "u";
1267
- })(), ih = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1274
+ })(), oh = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1268
1275
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Nt = {
1269
1276
  isBrowser: !0,
1270
1277
  classes: {
1271
- URLSearchParams: th,
1272
- FormData: eh,
1273
- Blob: sh
1278
+ URLSearchParams: sh,
1279
+ FormData: nh,
1280
+ Blob: ih
1274
1281
  },
1275
- isStandardBrowserEnv: nh,
1276
- isStandardBrowserWebWorkerEnv: ih,
1282
+ isStandardBrowserEnv: rh,
1283
+ isStandardBrowserWebWorkerEnv: oh,
1277
1284
  protocols: ["http", "https", "file", "blob", "url", "data"]
1278
1285
  };
1279
- function rh(n, t) {
1286
+ function ah(n, t) {
1280
1287
  return ks(n, new Nt.classes.URLSearchParams(), Object.assign({
1281
1288
  visitor: function(e, s, i, r) {
1282
1289
  return Nt.isNode && A.isBuffer(e) ? (this.append(s, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
1283
1290
  }
1284
1291
  }, t));
1285
1292
  }
1286
- function oh(n) {
1293
+ function hh(n) {
1287
1294
  return A.matchAll(/\w+|\[(\w*)]/g, n).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1288
1295
  }
1289
- function ah(n) {
1296
+ function ch(n) {
1290
1297
  const t = {}, e = Object.keys(n);
1291
1298
  let s;
1292
1299
  const i = e.length;
@@ -1299,17 +1306,17 @@ function mr(n) {
1299
1306
  function t(e, s, i, r) {
1300
1307
  let o = e[r++];
1301
1308
  const a = Number.isFinite(+o), h = r >= e.length;
1302
- return o = !o && A.isArray(i) ? i.length : o, h ? (A.hasOwnProp(i, o) ? i[o] = [i[o], s] : i[o] = s, !a) : ((!i[o] || !A.isObject(i[o])) && (i[o] = []), t(e, s, i[o], r) && A.isArray(i[o]) && (i[o] = ah(i[o])), !a);
1309
+ return o = !o && A.isArray(i) ? i.length : o, h ? (A.hasOwnProp(i, o) ? i[o] = [i[o], s] : i[o] = s, !a) : ((!i[o] || !A.isObject(i[o])) && (i[o] = []), t(e, s, i[o], r) && A.isArray(i[o]) && (i[o] = ch(i[o])), !a);
1303
1310
  }
1304
1311
  if (A.isFormData(n) && A.isFunction(n.entries)) {
1305
1312
  const e = {};
1306
1313
  return A.forEachEntry(n, (s, i) => {
1307
- t(oh(s), i, e, 0);
1314
+ t(hh(s), i, e, 0);
1308
1315
  }), e;
1309
1316
  }
1310
1317
  return null;
1311
1318
  }
1312
- function hh(n, t, e) {
1319
+ function lh(n, t, e) {
1313
1320
  if (A.isString(n))
1314
1321
  try {
1315
1322
  return (t || JSON.parse)(n), A.trim(n);
@@ -1335,7 +1342,7 @@ const En = {
1335
1342
  let a;
1336
1343
  if (r) {
1337
1344
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
1338
- return rh(t, this.formSerializer).toString();
1345
+ return ah(t, this.formSerializer).toString();
1339
1346
  if ((a = A.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
1340
1347
  const h = this.env && this.env.FormData;
1341
1348
  return ks(
@@ -1345,7 +1352,7 @@ const En = {
1345
1352
  );
1346
1353
  }
1347
1354
  }
1348
- return r || i ? (e.setContentType("application/json", !1), hh(t)) : t;
1355
+ return r || i ? (e.setContentType("application/json", !1), lh(t)) : t;
1349
1356
  }],
1350
1357
  transformResponse: [function(t) {
1351
1358
  const e = this.transitional || En.transitional, s = e && e.forcedJSONParsing, i = this.responseType === "json";
@@ -1386,7 +1393,7 @@ const En = {
1386
1393
  A.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
1387
1394
  En.headers[n] = {};
1388
1395
  });
1389
- const _n = En, ch = A.toObjectSet([
1396
+ const _n = En, uh = A.toObjectSet([
1390
1397
  "age",
1391
1398
  "authorization",
1392
1399
  "content-length",
@@ -1404,12 +1411,12 @@ const _n = En, ch = A.toObjectSet([
1404
1411
  "referer",
1405
1412
  "retry-after",
1406
1413
  "user-agent"
1407
- ]), lh = (n) => {
1414
+ ]), fh = (n) => {
1408
1415
  const t = {};
1409
1416
  let e, s, i;
1410
1417
  return n && n.split(`
1411
1418
  `).forEach(function(o) {
1412
- i = o.indexOf(":"), e = o.substring(0, i).trim().toLowerCase(), s = o.substring(i + 1).trim(), !(!e || t[e] && ch[e]) && (e === "set-cookie" ? t[e] ? t[e].push(s) : t[e] = [s] : t[e] = t[e] ? t[e] + ", " + s : s);
1419
+ i = o.indexOf(":"), e = o.substring(0, i).trim().toLowerCase(), s = o.substring(i + 1).trim(), !(!e || t[e] && uh[e]) && (e === "set-cookie" ? t[e] ? t[e].push(s) : t[e] = [s] : t[e] = t[e] ? t[e] + ", " + s : s);
1413
1420
  }), t;
1414
1421
  }, yi = Symbol("internals");
1415
1422
  function Ne(n) {
@@ -1418,14 +1425,14 @@ function Ne(n) {
1418
1425
  function gs(n) {
1419
1426
  return n === !1 || n == null ? n : A.isArray(n) ? n.map(gs) : String(n);
1420
1427
  }
1421
- function uh(n) {
1428
+ function dh(n) {
1422
1429
  const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1423
1430
  let s;
1424
1431
  for (; s = e.exec(n); )
1425
1432
  t[s[1]] = s[2];
1426
1433
  return t;
1427
1434
  }
1428
- const fh = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
1435
+ const mh = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
1429
1436
  function Ws(n, t, e, s, i) {
1430
1437
  if (A.isFunction(s))
1431
1438
  return s.call(this, t, e);
@@ -1436,10 +1443,10 @@ function Ws(n, t, e, s, i) {
1436
1443
  return s.test(t);
1437
1444
  }
1438
1445
  }
1439
- function dh(n) {
1446
+ function ph(n) {
1440
1447
  return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, e, s) => e.toUpperCase() + s);
1441
1448
  }
1442
- function mh(n, t) {
1449
+ function gh(n, t) {
1443
1450
  const e = A.toCamelCase(" " + t);
1444
1451
  ["get", "set", "has"].forEach((s) => {
1445
1452
  Object.defineProperty(n, s + e, {
@@ -1464,7 +1471,7 @@ class Ls {
1464
1471
  (!f || i[f] === void 0 || c === !0 || c === void 0 && i[f] !== !1) && (i[f || h] = gs(a));
1465
1472
  }
1466
1473
  const o = (a, h) => A.forEach(a, (c, l) => r(c, l, h));
1467
- return A.isPlainObject(t) || t instanceof this.constructor ? o(t, e) : A.isString(t) && (t = t.trim()) && !fh(t) ? o(lh(t), e) : t != null && r(e, t, s), this;
1474
+ return A.isPlainObject(t) || t instanceof this.constructor ? o(t, e) : A.isString(t) && (t = t.trim()) && !mh(t) ? o(fh(t), e) : t != null && r(e, t, s), this;
1468
1475
  }
1469
1476
  get(t, e) {
1470
1477
  if (t = Ne(t), t) {
@@ -1474,7 +1481,7 @@ class Ls {
1474
1481
  if (!e)
1475
1482
  return i;
1476
1483
  if (e === !0)
1477
- return uh(i);
1484
+ return dh(i);
1478
1485
  if (A.isFunction(e))
1479
1486
  return e.call(this, i, s);
1480
1487
  if (A.isRegExp(e))
@@ -1518,7 +1525,7 @@ class Ls {
1518
1525
  e[o] = gs(i), delete e[r];
1519
1526
  return;
1520
1527
  }
1521
- const a = t ? dh(r) : String(r).trim();
1528
+ const a = t ? ph(r) : String(r).trim();
1522
1529
  a !== r && delete e[r], e[a] = gs(i), s[a] = !0;
1523
1530
  }), this;
1524
1531
  }
@@ -1554,7 +1561,7 @@ class Ls {
1554
1561
  }).accessors, i = this.prototype;
1555
1562
  function r(o) {
1556
1563
  const a = Ne(o);
1557
- s[a] || (mh(i, o), s[a] = !0);
1564
+ s[a] || (gh(i, o), s[a] = !0);
1558
1565
  }
1559
1566
  return A.isArray(t) ? t.forEach(r) : r(t), this;
1560
1567
  }
@@ -1587,7 +1594,7 @@ function $e(n, t, e) {
1587
1594
  A.inherits($e, X, {
1588
1595
  __CANCEL__: !0
1589
1596
  });
1590
- function ph(n, t, e) {
1597
+ function yh(n, t, e) {
1591
1598
  const s = e.config.validateStatus;
1592
1599
  !e.status || !s || s(e.status) ? n(e) : t(new X(
1593
1600
  "Request failed with status code " + e.status,
@@ -1597,7 +1604,7 @@ function ph(n, t, e) {
1597
1604
  e
1598
1605
  ));
1599
1606
  }
1600
- const gh = Nt.isStandardBrowserEnv ? (
1607
+ const wh = Nt.isStandardBrowserEnv ? (
1601
1608
  // Standard browser envs support document.cookie
1602
1609
  function() {
1603
1610
  return {
@@ -1628,16 +1635,16 @@ const gh = Nt.isStandardBrowserEnv ? (
1628
1635
  };
1629
1636
  }()
1630
1637
  );
1631
- function yh(n) {
1638
+ function xh(n) {
1632
1639
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(n);
1633
1640
  }
1634
- function wh(n, t) {
1641
+ function bh(n, t) {
1635
1642
  return t ? n.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : n;
1636
1643
  }
1637
1644
  function gr(n, t) {
1638
- return n && !yh(t) ? wh(n, t) : t;
1645
+ return n && !xh(t) ? bh(n, t) : t;
1639
1646
  }
1640
- const xh = Nt.isStandardBrowserEnv ? (
1647
+ const vh = Nt.isStandardBrowserEnv ? (
1641
1648
  // Standard browser envs have full support of the APIs needed to test
1642
1649
  // whether the request URL is of the same origin as current location.
1643
1650
  function() {
@@ -1669,11 +1676,11 @@ const xh = Nt.isStandardBrowserEnv ? (
1669
1676
  };
1670
1677
  }()
1671
1678
  );
1672
- function bh(n) {
1679
+ function Sh(n) {
1673
1680
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(n);
1674
1681
  return t && t[1] || "";
1675
1682
  }
1676
- function vh(n, t) {
1683
+ function Th(n, t) {
1677
1684
  n = n || 10;
1678
1685
  const e = new Array(n), s = new Array(n);
1679
1686
  let i = 0, r = 0, o;
@@ -1691,7 +1698,7 @@ function vh(n, t) {
1691
1698
  }
1692
1699
  function wi(n, t) {
1693
1700
  let e = 0;
1694
- const s = vh(50, 250);
1701
+ const s = Th(50, 250);
1695
1702
  return (i) => {
1696
1703
  const r = i.loaded, o = i.lengthComputable ? i.total : void 0, a = r - e, h = s(a), c = r <= o;
1697
1704
  e = r;
@@ -1707,7 +1714,7 @@ function wi(n, t) {
1707
1714
  l[t ? "download" : "upload"] = !0, n(l);
1708
1715
  };
1709
1716
  }
1710
- const Sh = typeof XMLHttpRequest < "u", Th = Sh && function(n) {
1717
+ const Ch = typeof XMLHttpRequest < "u", Ph = Ch && function(n) {
1711
1718
  return new Promise(function(e, s) {
1712
1719
  let i = n.data;
1713
1720
  const r = qt.from(n.headers).normalize(), o = n.responseType;
@@ -1737,7 +1744,7 @@ const Sh = typeof XMLHttpRequest < "u", Th = Sh && function(n) {
1737
1744
  config: n,
1738
1745
  request: l
1739
1746
  };
1740
- ph(function(x) {
1747
+ yh(function(x) {
1741
1748
  e(x), h();
1742
1749
  }, function(x) {
1743
1750
  s(x), h();
@@ -1759,7 +1766,7 @@ const Sh = typeof XMLHttpRequest < "u", Th = Sh && function(n) {
1759
1766
  l
1760
1767
  )), l = null;
1761
1768
  }, Nt.isStandardBrowserEnv) {
1762
- const m = (n.withCredentials || xh(f)) && n.xsrfCookieName && gh.read(n.xsrfCookieName);
1769
+ const m = (n.withCredentials || vh(f)) && n.xsrfCookieName && wh.read(n.xsrfCookieName);
1763
1770
  m && r.set(n.xsrfHeaderName, m);
1764
1771
  }
1765
1772
  i === void 0 && r.setContentType(null), "setRequestHeader" in l && A.forEach(r.toJSON(), function(P, E) {
@@ -1767,7 +1774,7 @@ const Sh = typeof XMLHttpRequest < "u", Th = Sh && function(n) {
1767
1774
  }), A.isUndefined(n.withCredentials) || (l.withCredentials = !!n.withCredentials), o && o !== "json" && (l.responseType = n.responseType), typeof n.onDownloadProgress == "function" && l.addEventListener("progress", wi(n.onDownloadProgress, !0)), typeof n.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", wi(n.onUploadProgress)), (n.cancelToken || n.signal) && (a = (m) => {
1768
1775
  l && (s(!m || m.type ? new $e(null, n, l) : m), l.abort(), l = null);
1769
1776
  }, n.cancelToken && n.cancelToken.subscribe(a), n.signal && (n.signal.aborted ? a() : n.signal.addEventListener("abort", a)));
1770
- const w = bh(f);
1777
+ const w = Sh(f);
1771
1778
  if (w && Nt.protocols.indexOf(w) === -1) {
1772
1779
  s(new X("Unsupported protocol " + w + ":", X.ERR_BAD_REQUEST, n));
1773
1780
  return;
@@ -1775,8 +1782,8 @@ const Sh = typeof XMLHttpRequest < "u", Th = Sh && function(n) {
1775
1782
  l.send(i || null);
1776
1783
  });
1777
1784
  }, fn = {
1778
- http: Wa,
1779
- xhr: Th
1785
+ http: Za,
1786
+ xhr: Ph
1780
1787
  };
1781
1788
  A.forEach(fn, (n, t) => {
1782
1789
  if (n) {
@@ -1787,7 +1794,7 @@ A.forEach(fn, (n, t) => {
1787
1794
  Object.defineProperty(n, "adapterName", { value: t });
1788
1795
  }
1789
1796
  });
1790
- const xi = (n) => `- ${n}`, Ch = (n) => A.isFunction(n) || n === null || n === !1, yr = {
1797
+ const xi = (n) => `- ${n}`, Eh = (n) => A.isFunction(n) || n === null || n === !1, yr = {
1791
1798
  getAdapter: (n) => {
1792
1799
  n = A.isArray(n) ? n : [n];
1793
1800
  const { length: t } = n;
@@ -1796,7 +1803,7 @@ const xi = (n) => `- ${n}`, Ch = (n) => A.isFunction(n) || n === null || n === !
1796
1803
  for (let r = 0; r < t; r++) {
1797
1804
  e = n[r];
1798
1805
  let o;
1799
- if (s = e, !Ch(e) && (s = fn[(o = String(e)).toLowerCase()], s === void 0))
1806
+ if (s = e, !Eh(e) && (s = fn[(o = String(e)).toLowerCase()], s === void 0))
1800
1807
  throw new X(`Unknown adapter '${o}'`);
1801
1808
  if (s)
1802
1809
  break;
@@ -1931,7 +1938,7 @@ An.transitional = function(t, e, s) {
1931
1938
  )), t ? t(r, o, a) : !0;
1932
1939
  };
1933
1940
  };
1934
- function Ph(n, t, e) {
1941
+ function _h(n, t, e) {
1935
1942
  if (typeof n != "object")
1936
1943
  throw new X("options must be an object", X.ERR_BAD_OPTION_VALUE);
1937
1944
  const s = Object.keys(n);
@@ -1949,7 +1956,7 @@ function Ph(n, t, e) {
1949
1956
  }
1950
1957
  }
1951
1958
  const dn = {
1952
- assertOptions: Ph,
1959
+ assertOptions: _h,
1953
1960
  validators: An
1954
1961
  }, Wt = dn.validators;
1955
1962
  class xs {
@@ -2125,13 +2132,13 @@ class Dn {
2125
2132
  };
2126
2133
  }
2127
2134
  }
2128
- const Eh = Dn;
2129
- function _h(n) {
2135
+ const Ah = Dn;
2136
+ function Dh(n) {
2130
2137
  return function(e) {
2131
2138
  return n.apply(null, e);
2132
2139
  };
2133
2140
  }
2134
- function Ah(n) {
2141
+ function Ih(n) {
2135
2142
  return A.isObject(n) && n.isAxiosError === !0;
2136
2143
  }
2137
2144
  const mn = {
@@ -2202,7 +2209,7 @@ const mn = {
2202
2209
  Object.entries(mn).forEach(([n, t]) => {
2203
2210
  mn[t] = n;
2204
2211
  });
2205
- const Dh = mn;
2212
+ const Mh = mn;
2206
2213
  function xr(n) {
2207
2214
  const t = new ys(n), e = tr(ys.prototype.request, t);
2208
2215
  return A.extend(e, ys.prototype, t, { allOwnKeys: !0 }), A.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(i) {
@@ -2212,7 +2219,7 @@ function xr(n) {
2212
2219
  const Z = xr(_n);
2213
2220
  Z.Axios = ys;
2214
2221
  Z.CanceledError = $e;
2215
- Z.CancelToken = Eh;
2222
+ Z.CancelToken = Ah;
2216
2223
  Z.isCancel = pr;
2217
2224
  Z.VERSION = wr;
2218
2225
  Z.toFormData = ks;
@@ -2221,29 +2228,29 @@ Z.Cancel = Z.CanceledError;
2221
2228
  Z.all = function(t) {
2222
2229
  return Promise.all(t);
2223
2230
  };
2224
- Z.spread = _h;
2225
- Z.isAxiosError = Ah;
2231
+ Z.spread = Dh;
2232
+ Z.isAxiosError = Ih;
2226
2233
  Z.mergeConfig = Ce;
2227
2234
  Z.AxiosHeaders = qt;
2228
2235
  Z.formToJSON = (n) => mr(A.isHTMLForm(n) ? new FormData(n) : n);
2229
2236
  Z.getAdapter = yr.getAdapter;
2230
- Z.HttpStatusCode = Dh;
2237
+ Z.HttpStatusCode = Mh;
2231
2238
  Z.default = Z;
2232
- const Ih = Z, br = window.crypto.subtle;
2239
+ const kh = Z, br = window.crypto.subtle;
2233
2240
  br || console.warn("Crypto API not supported");
2234
- async function Mh(n, t = "SHA-256") {
2235
- const e = await br.digest(t, ta(n));
2236
- return ea(e);
2241
+ async function Lh(n, t = "SHA-256") {
2242
+ const e = await br.digest(t, ea(n));
2243
+ return sa(e);
2237
2244
  }
2238
- async function kh(n, t = "SHA-256") {
2239
- const e = JSON.stringify(Wo(n));
2240
- return Mh(e, t);
2245
+ async function Rh(n, t = "SHA-256") {
2246
+ const e = JSON.stringify(Jo(n));
2247
+ return Lh(e, t);
2241
2248
  }
2242
- class Lh {
2249
+ class Oh {
2243
2250
  instance;
2244
2251
  constructor(t) {
2245
- this.instance = Ih.create(t);
2246
- const e = new Rh();
2252
+ this.instance = kh.create(t);
2253
+ const e = new Nh();
2247
2254
  this.instance.interceptors.request.use(
2248
2255
  (s) => (e.pendingRequest(s), s),
2249
2256
  (s) => (e.cancelRequest(s.config), s)
@@ -2304,14 +2311,14 @@ class Lh {
2304
2311
  return this.instance.getUri(t);
2305
2312
  }
2306
2313
  }
2307
- class Rh {
2314
+ class Nh {
2308
2315
  pendingRequestMap;
2309
2316
  constructor() {
2310
2317
  this.pendingRequestMap = /* @__PURE__ */ new Map();
2311
2318
  }
2312
2319
  async getRequestId(t) {
2313
2320
  const { url: e, method: s, params: i, data: r } = t;
2314
- return await kh({ url: e, method: s, params: i, data: r });
2321
+ return await Rh({ url: e, method: s, params: i, data: r });
2315
2322
  }
2316
2323
  async pendingRequest(t) {
2317
2324
  const e = await this.getRequestId(t);
@@ -2341,7 +2348,7 @@ class Rh {
2341
2348
  this.pendingRequestMap.clear();
2342
2349
  }
2343
2350
  }
2344
- const vr = (n) => new XMLSerializer().serializeToString(n), gl = (n, t = "text/html") => new DOMParser().parseFromString(n, t), Oh = (n, t = Lt.SVG, e = qe.utf8) => Sn(vr(n), t, e);
2351
+ const vr = (n) => new XMLSerializer().serializeToString(n), wl = (n, t = "text/html") => new DOMParser().parseFromString(n, t), Fh = (n, t = Lt.SVG, e = qe.utf8) => Sn(vr(n), t, e);
2345
2352
  async function Sr(n = ["*"], t) {
2346
2353
  if (!document || !(document instanceof Document))
2347
2354
  throw new Error("This is not a browser environment");
@@ -2398,14 +2405,14 @@ function Rs(n, t = Tt.text, e) {
2398
2405
  }
2399
2406
  });
2400
2407
  }
2401
- async function yl(n) {
2408
+ async function xl(n) {
2402
2409
  const t = await Rs(
2403
2410
  n,
2404
2411
  Tt.arraybuffer
2405
2412
  );
2406
- return sa(t);
2413
+ return na(t);
2407
2414
  }
2408
- const wl = (n) => {
2415
+ const bl = (n) => {
2409
2416
  let t;
2410
2417
  return n instanceof File ? t = n.name : t = n, t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i)?.[1] ?? "";
2411
2418
  };
@@ -2428,12 +2435,12 @@ function Tr(n, t, e, s, i, r, o) {
2428
2435
  return n(e.end());
2429
2436
  }), a.addEventListener("error", (h) => t(h)), a.readAsArrayBuffer(s.slice(r, o));
2430
2437
  }
2431
- async function Nh(n, t = 1 * 1024 * 1024) {
2438
+ async function Yh(n, t = 1 * 1024 * 1024) {
2432
2439
  return await new Promise(
2433
2440
  (e, s) => Tr(
2434
2441
  e,
2435
2442
  s,
2436
- new ma.ArrayBuffer(),
2443
+ new ga.ArrayBuffer(),
2437
2444
  n,
2438
2445
  t,
2439
2446
  0,
@@ -2441,7 +2448,7 @@ async function Nh(n, t = 1 * 1024 * 1024) {
2441
2448
  )
2442
2449
  );
2443
2450
  }
2444
- class xl {
2451
+ class vl {
2445
2452
  axios;
2446
2453
  // 获取服务器端 文件 MD5 hash 地址
2447
2454
  checkURL;
@@ -2469,7 +2476,7 @@ class xl {
2469
2476
  onComplete;
2470
2477
  onTime;
2471
2478
  constructor(t) {
2472
- this.axios = new Lh({
2479
+ this.axios = new Oh({
2473
2480
  baseURL: t.baseURL,
2474
2481
  interceptor: {
2475
2482
  request: (e) => e,
@@ -2478,7 +2485,7 @@ class xl {
2478
2485
  }), this.checkURL = t.checkURL, this.uploadURL = t.uploadURL, this.file = t.file, this.chunkSize = t.chunkSize || 1 * 1024 * 1024, this.chunks = Math.ceil(this.file.size / this.chunkSize), this.onExist = t.onExist, this.onStart = t.onStart, this.onProgress = t.onProgress, this.onComplete = t.onComplete, this.onTime = t.onTime;
2479
2486
  }
2480
2487
  async start() {
2481
- this.fileHash || (this.fileHash = await Nh(this.file, this.chunkSize)), (await this.axios.post(this.checkURL, {
2488
+ this.fileHash || (this.fileHash = await Yh(this.file, this.chunkSize)), (await this.axios.post(this.checkURL, {
2482
2489
  fileName: this.file.name,
2483
2490
  fileHash: this.fileHash
2484
2491
  })).isExist ? (this.isUploading = !1, this.onExist?.()) : this.isUploading || (this.onStart?.(), this.startTimeCount(), await this.uploadChunk());
@@ -2493,14 +2500,14 @@ class xl {
2493
2500
  }
2494
2501
  startTimeCount() {
2495
2502
  this.stopTimeCount(), this.timer = setInterval(() => {
2496
- oa(this.timeData, 1), this.onTime?.(aa(this.timeData));
2503
+ aa(this.timeData, 1), this.onTime?.(ha(this.timeData));
2497
2504
  }, 1e3);
2498
2505
  }
2499
2506
  stopTimeCount() {
2500
2507
  this.timer && (clearInterval(this.timer), this.timer = void 0);
2501
2508
  }
2502
2509
  }
2503
- function bl(n, t) {
2510
+ function Sl(n, t) {
2504
2511
  const e = ie(t?.value || "");
2505
2512
  if (!e.value) {
2506
2513
  const s = `; ${document.cookie}`.split(`; ${n}=`).pop()?.split(";").shift();
@@ -2513,7 +2520,7 @@ function bl(n, t) {
2513
2520
  }
2514
2521
  }), e;
2515
2522
  }
2516
- function vl() {
2523
+ function Tl() {
2517
2524
  const n = document.cookie.split("; ");
2518
2525
  for (let t = 0; t < n.length; t++) {
2519
2526
  const e = window.location.hostname.split(".");
@@ -2525,7 +2532,7 @@ function vl() {
2525
2532
  }
2526
2533
  }
2527
2534
  }
2528
- function Fh(n, t) {
2535
+ function Uh(n, t) {
2529
2536
  const e = ie(t || "");
2530
2537
  if (!t)
2531
2538
  try {
@@ -2543,7 +2550,7 @@ function Fh(n, t) {
2543
2550
  window.localStorage.removeItem(n);
2544
2551
  }), e;
2545
2552
  }
2546
- function Sl(n, t) {
2553
+ function Cl(n, t) {
2547
2554
  const e = ie(t || "");
2548
2555
  if (!t)
2549
2556
  try {
@@ -2561,22 +2568,22 @@ function Sl(n, t) {
2561
2568
  window.sessionStorage.removeItem(n);
2562
2569
  }), e;
2563
2570
  }
2564
- function Yh(n, t) {
2571
+ function Xh(n, t) {
2565
2572
  let e;
2566
2573
  return n.objectStoreNames.contains(t) || (e = n.createObjectStore(t, { keyPath: "id" })), e;
2567
2574
  }
2568
- function Tl(n, t = 1, e) {
2575
+ function Pl(n, t = 1, e) {
2569
2576
  return new Promise((s, i) => {
2570
2577
  let r;
2571
2578
  const o = window.indexedDB.open(n, t);
2572
2579
  o.onerror = () => {
2573
2580
  i("无法使用IndexDB!");
2574
2581
  }, o.onsuccess = (a) => {
2575
- r = a.target.result, Yh(r, e), s(r);
2582
+ r = a.target.result, Xh(r, e), s(r);
2576
2583
  };
2577
2584
  });
2578
2585
  }
2579
- function Cl(n, t, e = { id: 1, name: "xxx" }) {
2586
+ function El(n, t, e = { id: 1, name: "xxx" }) {
2580
2587
  return new Promise((s, i) => {
2581
2588
  const r = n.transaction(
2582
2589
  [t],
@@ -2596,7 +2603,7 @@ const pt = (n, t, e) => {
2596
2603
  return n.addEventListener(t, s, !1), () => {
2597
2604
  n.removeEventListener(t, s, !1);
2598
2605
  };
2599
- }, Uh = [
2606
+ }, Bh = [
2600
2607
  "click",
2601
2608
  "dblclick",
2602
2609
  "wheel",
@@ -2608,23 +2615,23 @@ const pt = (n, t, e) => {
2608
2615
  "mouseout",
2609
2616
  "mouseenter",
2610
2617
  "mouseleave"
2611
- ], Xh = ["keydown", "keyup", "keypress"], Bh = ["touchstart", "touchend", "touchcancel", "touchmove"], zh = [
2618
+ ], zh = ["keydown", "keyup", "keypress"], Gh = ["touchstart", "touchend", "touchcancel", "touchmove"], Vh = [
2612
2619
  "pointerdown",
2613
2620
  "pointerup",
2614
2621
  "pointercancel",
2615
2622
  "pointermove"
2616
- ], Gh = ["dragstart", "dragend", "dragenter", "dragover", "drop"], Vh = ["change"];
2617
- function Pl(n, t, e = {
2623
+ ], qh = ["dragstart", "dragend", "dragenter", "dragover", "drop"], jh = ["change"];
2624
+ function _l(n, t, e = {
2618
2625
  bubbles: !0,
2619
2626
  detail: {}
2620
2627
  }) {
2621
2628
  let s;
2622
- Uh.includes(t) ? s = new MouseEvent(t, e) : Xh.includes(t) ? s = new KeyboardEvent(t, e) : Bh.includes(t) ? s = new TouchEvent(t, e) : zh.includes(t) ? s = new PointerEvent(t, e) : Gh.includes(t) ? s = new DragEvent(t, e) : Vh.includes(t) ? s = new Event(t, e) : s = new CustomEvent(t, e), qh(n, s);
2629
+ Bh.includes(t) ? s = new MouseEvent(t, e) : zh.includes(t) ? s = new KeyboardEvent(t, e) : Gh.includes(t) ? s = new TouchEvent(t, e) : Vh.includes(t) ? s = new PointerEvent(t, e) : qh.includes(t) ? s = new DragEvent(t, e) : jh.includes(t) ? s = new Event(t, e) : s = new CustomEvent(t, e), Hh(n, s);
2623
2630
  }
2624
- function qh(n, t) {
2631
+ function Hh(n, t) {
2625
2632
  n.dispatchEvent(t);
2626
2633
  }
2627
- function El(n, t) {
2634
+ function Al(n, t) {
2628
2635
  const e = n.changedTouches[0];
2629
2636
  return new MouseEvent(t, {
2630
2637
  bubbles: !0,
@@ -2657,15 +2664,15 @@ function Ae() {
2657
2664
  }
2658
2665
  };
2659
2666
  }
2660
- function jh(n = "(prefers-color-scheme: dark)") {
2667
+ function $h(n = "(prefers-color-scheme: dark)") {
2661
2668
  const t = window.matchMedia(n), e = ie(t.matches);
2662
2669
  return pt(t, "change", (s) => {
2663
2670
  e.value = s.matches;
2664
2671
  }), e;
2665
2672
  }
2666
- const Hh = "__theme__", se = Fh(Hh);
2673
+ const Wh = "__theme__", se = Uh(Wh);
2667
2674
  if (!se.value) {
2668
- const n = jh("(prefers-color-scheme: dark)");
2675
+ const n = $h("(prefers-color-scheme: dark)");
2669
2676
  se.value = n.value ? "dark" : "light";
2670
2677
  }
2671
2678
  const Cr = () => {
@@ -2682,18 +2689,18 @@ ut(() => {
2682
2689
  Cr();
2683
2690
  });
2684
2691
  setTimeout(Cr);
2685
- function _l(n) {
2692
+ function Dl(n) {
2686
2693
  return n && (se.value = n), se;
2687
2694
  }
2688
- function Al() {
2695
+ function Il() {
2689
2696
  return se.value = se.value == "light" ? "dark" : "light", se;
2690
2697
  }
2691
2698
  const B = Ae();
2692
2699
  let Ti = "";
2693
- const $h = new MutationObserver((n, t) => {
2700
+ const Jh = new MutationObserver((n, t) => {
2694
2701
  location.href !== Ti && (Ti = location.href, B.emit("urlchange", location.href));
2695
2702
  });
2696
- $h.observe(document, {
2703
+ Jh.observe(document, {
2697
2704
  attributes: !0,
2698
2705
  childList: !0,
2699
2706
  subtree: !0
@@ -2712,8 +2719,9 @@ pt(
2712
2719
  B.emit("windowresize", t, e);
2713
2720
  }
2714
2721
  );
2715
- pt(window, "load", (n) => {
2716
- B.emit("load", n);
2722
+ let Pr = !1;
2723
+ pt(window, "load", () => {
2724
+ B.emit("load"), Pr = !0;
2717
2725
  });
2718
2726
  pt(window, "beforeunload", (n) => {
2719
2727
  B.emit("beforeunload", n);
@@ -2752,9 +2760,12 @@ const be = {
2752
2760
  onwindowresize: (n) => (B.on("windowresize", n), () => {
2753
2761
  B.off("windowresize", n);
2754
2762
  }),
2755
- onload: (n) => (B.on("load", n), () => {
2756
- B.off("load", n);
2757
- }),
2763
+ onload: (n) => {
2764
+ const t = la(n);
2765
+ return B.on("load", t), Pr && t(), () => {
2766
+ B.off("load", t);
2767
+ };
2768
+ },
2758
2769
  onbeforeunload: (n) => (B.on("beforeunload", n), () => {
2759
2770
  B.off("beforeunload", n);
2760
2771
  }),
@@ -2773,11 +2784,25 @@ const be = {
2773
2784
  onwindowhidden: (n) => (B.on("windowhidden", n), () => {
2774
2785
  B.off("windowhidden", n);
2775
2786
  })
2776
- }, In = () => {
2787
+ };
2788
+ function Ml(n) {
2789
+ let t = !1;
2790
+ function e() {
2791
+ if (document.readyState !== "loading") {
2792
+ if (t) {
2793
+ document.removeEventListener("DOMContentLoaded", e, !1);
2794
+ return;
2795
+ }
2796
+ t = !0, document.removeEventListener("DOMContentLoaded", e, !1), n();
2797
+ }
2798
+ }
2799
+ document.addEventListener("DOMContentLoaded", e, !1), e();
2800
+ }
2801
+ const In = () => {
2777
2802
  const n = navigator.userAgent.toLowerCase();
2778
2803
  let t = "Unknown";
2779
2804
  return /mac/i.test(n) ? t = "macOS" : /win/i.test(n) ? t = "Windows" : /android/i.test(n) ? t = "Android" : /iphone|ipad|ipod/i.test(n) ? t = "iOS" : /linux/i.test(n) ? t = "Linux" : /bsd/i.test(n) && (t = "BSD"), t.toLowerCase();
2780
- }, Dl = () => {
2805
+ }, kl = () => {
2781
2806
  const n = navigator.userAgent;
2782
2807
  let t = "Unknown";
2783
2808
  if (/Windows NT/.test(n)) {
@@ -2794,11 +2819,11 @@ const be = {
2794
2819
  e && (t = e[1].replace("_", "."));
2795
2820
  }
2796
2821
  return t.toLowerCase();
2797
- }, Pr = () => {
2822
+ }, Er = () => {
2798
2823
  const n = navigator.userAgent.toLowerCase();
2799
2824
  let t = "Unknown";
2800
2825
  return /opr/i.test(n) || /opera/i.test(n) ? t = "Opera" : /chrome/i.test(n) ? t = "Chrome" : /firefox/i.test(n) ? t = "Firefox" : /safari/i.test(n) ? t = "Safari" : /edge/i.test(n) ? t = "Edge" : /msie|trident/i.test(n) ? t = "IE" : /MicroMessenger/i.test(n) ? t = "Wechat" : /alipay/i.test(n) && (t = "Ali"), t.toLowerCase();
2801
- }, Il = () => {
2826
+ }, Ll = () => {
2802
2827
  const n = navigator.userAgent;
2803
2828
  let t = "Unknown";
2804
2829
  if (/Chrome/.test(n)) {
@@ -2819,28 +2844,28 @@ const be = {
2819
2844
  }
2820
2845
  return t;
2821
2846
  };
2822
- function Ml() {
2847
+ function Rl() {
2823
2848
  return (navigator.browserLanguage || navigator.language).toLowerCase();
2824
2849
  }
2825
- function kl() {
2850
+ function Ol() {
2826
2851
  return Intl.DateTimeFormat().resolvedOptions().timeZone.toLowerCase();
2827
2852
  }
2828
- function Er() {
2853
+ function _r() {
2829
2854
  return In() === "ios";
2830
2855
  }
2831
- function _r() {
2856
+ function Ar() {
2832
2857
  return In() === "macos";
2833
2858
  }
2834
- function Ll() {
2835
- return Er() | _r();
2859
+ function Nl() {
2860
+ return _r() | Ar();
2836
2861
  }
2837
- function Wh() {
2862
+ function Zh() {
2838
2863
  return In() === "android";
2839
2864
  }
2840
- function Rl() {
2841
- return Er() || Wh();
2865
+ function Fl() {
2866
+ return _r() || Zh();
2842
2867
  }
2843
- function Jh() {
2868
+ function Kh() {
2844
2869
  const n = window.navigator.userAgent, t = n.indexOf("MSIE ");
2845
2870
  if (t > 0)
2846
2871
  return parseInt(n.substring(t + 5, n.indexOf(".", t)), 10);
@@ -2851,27 +2876,27 @@ function Jh() {
2851
2876
  const s = n.indexOf("Edge/");
2852
2877
  return s > 0 ? parseInt(n.substring(s + 5, n.indexOf(".", s)), 10) : -1;
2853
2878
  }
2854
- const Ol = Jh() !== -1;
2855
- function Nl() {
2879
+ const Yl = Kh() !== -1;
2880
+ function Ul() {
2856
2881
  const n = document.documentMode;
2857
2882
  return n && (n === 9 || n === 10);
2858
2883
  }
2859
- function Zh() {
2860
- return Pr() === "wechat";
2884
+ function Qh() {
2885
+ return Er() === "wechat";
2861
2886
  }
2862
- function Kh() {
2863
- return Pr() === "ali";
2887
+ function tc() {
2888
+ return Er() === "ali";
2864
2889
  }
2865
- function Fl() {
2866
- return Zh() && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === "miniprogram";
2890
+ function Xl() {
2891
+ return Qh() && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === "miniprogram";
2867
2892
  }
2868
- function Yl() {
2869
- return Kh() && navigator.userAgent.match(/miniprogram/i);
2893
+ function Bl() {
2894
+ return tc() && navigator.userAgent.match(/miniprogram/i);
2870
2895
  }
2871
- const Ul = typeof document < "u", Qh = typeof window < "u", Xl = typeof history < "u", Bl = Qh && window.File && window.FileReader && window.FileList && window.Blob, tc = (() => {
2896
+ const zl = typeof document < "u", ec = typeof window < "u", Gl = typeof history < "u", Vl = ec && window.File && window.FileReader && window.FileList && window.Blob, sc = (() => {
2872
2897
  const n = Vi();
2873
2898
  return !!(n.Worker && n.Blob && n.Promise && n.OffscreenCanvas && n.OffscreenCanvasRenderingContext2D && n.HTMLCanvasElement && n.HTMLCanvasElement.prototype.transferControlToOffscreen && n.URL && n.URL.createObjectURL);
2874
- })(), zl = typeof Path2D == "function" && typeof DOMMatrix == "function", ec = function() {
2899
+ })(), ql = typeof Path2D == "function" && typeof DOMMatrix == "function", nc = function() {
2875
2900
  if (!Vi().OffscreenCanvas)
2876
2901
  return !1;
2877
2902
  const t = new OffscreenCanvas(1, 1), e = t.getContext("2d");
@@ -2883,11 +2908,11 @@ const Ul = typeof document < "u", Qh = typeof window < "u", Xl = typeof history
2883
2908
  return !1;
2884
2909
  }
2885
2910
  return !0;
2886
- }(), Gl = typeof HTMLElement == "object" ? function(t) {
2911
+ }(), jl = typeof HTMLElement == "object" ? function(t) {
2887
2912
  return t instanceof HTMLElement;
2888
2913
  } : function(t) {
2889
2914
  return t && typeof t == "object" && t.nodeType === 1 && typeof t.nodeName == "string";
2890
- }, Vl = "webkit moz ms o".split(" ");
2915
+ }, Hl = "webkit moz ms o".split(" ");
2891
2916
  function Ks(n) {
2892
2917
  return typeof n == "function" && /native code/.test(n.toString());
2893
2918
  }
@@ -2905,7 +2930,7 @@ function Ks(n) {
2905
2930
  clearTimeout(n);
2906
2931
  });
2907
2932
  })();
2908
- const Ar = (n) => {
2933
+ const Dr = (n) => {
2909
2934
  let t = !1;
2910
2935
  return window.requestAnimationFrame(function e(s) {
2911
2936
  !t && n(s) && window.requestAnimationFrame(e);
@@ -2919,10 +2944,10 @@ function Ci(n, t = 0) {
2919
2944
  };
2920
2945
  {
2921
2946
  const e = K();
2922
- return Ar((s) => s - e >= t ? (n(s), !1) : !0);
2947
+ return Dr((s) => s - e >= t ? (n(s), !1) : !0);
2923
2948
  }
2924
2949
  }
2925
- function ql(n, t = 0) {
2950
+ function $l(n, t = 0) {
2926
2951
  let e = !1, s = 0;
2927
2952
  const i = K(), r = (o) => {
2928
2953
  if (e)
@@ -2935,54 +2960,54 @@ function ql(n, t = 0) {
2935
2960
  e = !0;
2936
2961
  };
2937
2962
  }
2938
- function jl(n, t = 20) {
2963
+ function Wl(n, t = 20) {
2939
2964
  const e = 1e3 / t;
2940
2965
  let s = 0, i;
2941
2966
  return () => (K() - s >= e && (s = K(), i = n()), i);
2942
2967
  }
2943
2968
  const Qt = new de();
2944
2969
  let Qs = !1;
2945
- function sc(n, t, e) {
2970
+ function ic(n, t, e) {
2946
2971
  n && t && Qt.set(n, t), !Qs && (Qs = !0, requestIdleCallback(
2947
2972
  (s) => {
2948
2973
  for (Qs = !1; s.timeRemaining() > 0 && Qt.length > 0; ) {
2949
2974
  const i = Qt.shift();
2950
2975
  i && i[1]();
2951
2976
  }
2952
- Qt.length > 0 && sc();
2977
+ Qt.length > 0 && ic();
2953
2978
  },
2954
2979
  { timeout: e }
2955
2980
  ));
2956
2981
  }
2957
2982
  let tn = !1;
2958
- function Dr(n, t, e) {
2983
+ function Ir(n, t, e) {
2959
2984
  if (n && t && Qt.set(n, t), tn)
2960
2985
  return;
2961
2986
  tn = !0;
2962
2987
  const s = K();
2963
- ic((i) => {
2988
+ oc((i) => {
2964
2989
  for (tn = !1; (i.timeRemaining() > 0 || e && K() - s >= e) && Qt.length > 0; ) {
2965
2990
  const r = Qt.shift();
2966
2991
  r && r[1]();
2967
2992
  }
2968
- Qt.length > 0 && Dr();
2993
+ Qt.length > 0 && Ir();
2969
2994
  });
2970
2995
  }
2971
2996
  let bs = 0, he = 33, Jt = 33, pn;
2972
- const Ir = new MessageChannel(), nc = Ir.port2;
2973
- Ir.port1.onmessage = (n) => {
2997
+ const Mr = new MessageChannel(), rc = Mr.port2;
2998
+ Mr.port1.onmessage = (n) => {
2974
2999
  pn !== null && pn({
2975
3000
  didTimeout: bs <= K(),
2976
3001
  timeRemaining: () => Math.max(0, bs - K())
2977
3002
  });
2978
3003
  };
2979
- function ic(n) {
3004
+ function oc(n) {
2980
3005
  return pn = n, requestAnimationFrame((t) => {
2981
3006
  let e = t - bs + Jt;
2982
- e < Jt && he < Jt ? (e < 8 && (e = 8), Jt = e < he ? he : e) : e > Jt && he > Jt ? Jt = e < he ? he : e : he = e, bs = t + Jt, nc.postMessage(null);
3007
+ e < Jt && he < Jt ? (e < 8 && (e = 8), Jt = e < he ? he : e) : e > Jt && he > Jt ? Jt = e < he ? he : e : he = e, bs = t + Jt, rc.postMessage(null);
2983
3008
  });
2984
3009
  }
2985
- function Hl(n) {
3010
+ function Jl(n) {
2986
3011
  if (typeof setImmediate < "u" && Ks(setImmediate))
2987
3012
  setImmediate(n);
2988
3013
  else if (typeof MessageChannel < "u" && (Ks(MessageChannel) || MessageChannel.toString() === "[object MessageChannelConstructor]")) {
@@ -2991,7 +3016,7 @@ function Hl(n) {
2991
3016
  } else
2992
3017
  typeof Promise < "u" && Ks(Promise) ? Promise.resolve().then(n) : setTimeout(n, 0);
2993
3018
  }
2994
- function $l(n) {
3019
+ function Zl(n) {
2995
3020
  typeof queueMicrotask == "function" ? queueMicrotask(n) : Promise.resolve().then(n).catch(
2996
3021
  (t) => setTimeout(() => {
2997
3022
  throw t;
@@ -3175,7 +3200,7 @@ const R = {
3175
3200
  return n + 0.2 * Math.random() - 0.1;
3176
3201
  }
3177
3202
  };
3178
- function rc(n) {
3203
+ function ac(n) {
3179
3204
  switch (n) {
3180
3205
  case R.Quadratic.In:
3181
3206
  return R.Quadratic.Out;
@@ -3241,32 +3266,32 @@ function rc(n) {
3241
3266
  return n;
3242
3267
  }
3243
3268
  }
3244
- const oc = 4, ac = 1e-3, hc = 1e-7, cc = 10, Ye = 11, cs = 1 / (Ye - 1), lc = typeof Float32Array == "function";
3245
- function Mr(n, t) {
3269
+ const hc = 4, cc = 1e-3, lc = 1e-7, uc = 10, Ye = 11, cs = 1 / (Ye - 1), fc = typeof Float32Array == "function";
3270
+ function kr(n, t) {
3246
3271
  return 1 - 3 * t + 3 * n;
3247
3272
  }
3248
- function kr(n, t) {
3273
+ function Lr(n, t) {
3249
3274
  return 3 * t - 6 * n;
3250
3275
  }
3251
- function Lr(n) {
3276
+ function Rr(n) {
3252
3277
  return 3 * n;
3253
3278
  }
3254
3279
  function vs(n, t, e) {
3255
- return ((Mr(t, e) * n + kr(t, e)) * n + Lr(t)) * n;
3280
+ return ((kr(t, e) * n + Lr(t, e)) * n + Rr(t)) * n;
3256
3281
  }
3257
- function Rr(n, t, e) {
3258
- return 3 * Mr(t, e) * n * n + 2 * kr(t, e) * n + Lr(t);
3282
+ function Or(n, t, e) {
3283
+ return 3 * kr(t, e) * n * n + 2 * Lr(t, e) * n + Rr(t);
3259
3284
  }
3260
- function uc(n, t, e, s, i) {
3285
+ function dc(n, t, e, s, i) {
3261
3286
  let r, o, a = 0;
3262
3287
  do
3263
3288
  o = t + (e - t) / 2, r = vs(o, s, i) - n, r > 0 ? e = o : t = o;
3264
- while (Math.abs(r) > hc && ++a < cc);
3289
+ while (Math.abs(r) > lc && ++a < uc);
3265
3290
  return o;
3266
3291
  }
3267
- function fc(n, t, e, s) {
3268
- for (let i = 0; i < oc; ++i) {
3269
- const r = Rr(t, e, s);
3292
+ function mc(n, t, e, s) {
3293
+ for (let i = 0; i < hc; ++i) {
3294
+ const r = Or(t, e, s);
3270
3295
  if (r === 0)
3271
3296
  return t;
3272
3297
  const o = vs(t, e, s) - n;
@@ -3274,15 +3299,15 @@ function fc(n, t, e, s) {
3274
3299
  }
3275
3300
  return t;
3276
3301
  }
3277
- function dc(n) {
3302
+ function pc(n) {
3278
3303
  return n;
3279
3304
  }
3280
- function Or(n, t, e, s) {
3305
+ function Nr(n, t, e, s) {
3281
3306
  if (!(0 <= n && n <= 1 && 0 <= e && e <= 1))
3282
3307
  throw new Error("bezier x values must be in [0, 1] range");
3283
3308
  if (n === t && e === s)
3284
- return dc;
3285
- const i = lc ? new Float32Array(Ye) : new Array(Ye);
3309
+ return pc;
3310
+ const i = fc ? new Float32Array(Ye) : new Array(Ye);
3286
3311
  for (let o = 0; o < Ye; ++o)
3287
3312
  i[o] = vs(o * cs, n, e);
3288
3313
  function r(o) {
@@ -3291,8 +3316,8 @@ function Or(n, t, e, s) {
3291
3316
  for (; h !== c && i[h] <= o; ++h)
3292
3317
  a += cs;
3293
3318
  --h;
3294
- const l = (o - i[h]) / (i[h + 1] - i[h]), f = a + l * cs, y = Rr(f, n, e);
3295
- return y >= ac ? fc(o, f, n, e) : y === 0 ? f : uc(
3319
+ const l = (o - i[h]) / (i[h + 1] - i[h]), f = a + l * cs, y = Or(f, n, e);
3320
+ return y >= cc ? mc(o, f, n, e) : y === 0 ? f : dc(
3296
3321
  o,
3297
3322
  a,
3298
3323
  a + cs,
@@ -3302,7 +3327,7 @@ function Or(n, t, e, s) {
3302
3327
  }
3303
3328
  return (o) => o === 0 || o === 1 ? o : vs(r(o), t, s);
3304
3329
  }
3305
- function Nr(n) {
3330
+ function Fr(n) {
3306
3331
  switch (n) {
3307
3332
  case "linear":
3308
3333
  return [0, 0, 1, 1];
@@ -3316,15 +3341,15 @@ function Nr(n) {
3316
3341
  return [0, 0, 0.58, 1];
3317
3342
  }
3318
3343
  }
3319
- function mc(n) {
3320
- const [t, e, s, i] = Nr(n);
3344
+ function gc(n) {
3345
+ const [t, e, s, i] = Fr(n);
3321
3346
  return [1 - s, 1 - i, 1 - t, 1 - e];
3322
3347
  }
3323
- function Wl(n) {
3324
- return Or(...Nr(n));
3348
+ function Kl(n) {
3349
+ return Nr(...Fr(n));
3325
3350
  }
3326
- function Jl(n) {
3327
- return Or(...mc(n));
3351
+ function Ql(n) {
3352
+ return Nr(...gc(n));
3328
3353
  }
3329
3354
  const te = {
3330
3355
  Utils: {
@@ -3393,7 +3418,7 @@ const te = {
3393
3418
  );
3394
3419
  }
3395
3420
  };
3396
- class Fr {
3421
+ class Yr {
3397
3422
  _tweens = {};
3398
3423
  _tweensAddedDuringUpdate = {};
3399
3424
  getAll() {
@@ -3417,8 +3442,8 @@ class Fr {
3417
3442
  return !!Object.keys(this._tweens).length;
3418
3443
  }
3419
3444
  }
3420
- const Pt = new Fr();
3421
- class Yr {
3445
+ const Pt = new Yr();
3446
+ class Ur {
3422
3447
  constructor(t, e = Pt) {
3423
3448
  this._object = t, this._group = e;
3424
3449
  }
@@ -3654,19 +3679,19 @@ class Yr {
3654
3679
  typeof s == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(s) : this._valuesStartRepeat[t] = s, this._valuesEnd[t] = e;
3655
3680
  }
3656
3681
  }
3657
- const pc = We.nextId, gc = Pt.getAll.bind(Pt), yc = Pt.removeAll.bind(Pt), wc = Pt.add.bind(Pt), xc = Pt.remove.bind(Pt), bc = Pt.update.bind(Pt), Zl = {
3682
+ const yc = We.nextId, wc = Pt.getAll.bind(Pt), xc = Pt.removeAll.bind(Pt), bc = Pt.add.bind(Pt), vc = Pt.remove.bind(Pt), Sc = Pt.update.bind(Pt), tu = {
3658
3683
  now: K,
3659
3684
  Sequence: We,
3660
3685
  Easing: R,
3661
3686
  Interpolation: te,
3662
- Group: Fr,
3663
- Tween: Yr,
3664
- nextId: pc,
3665
- getAll: gc,
3666
- removeAll: yc,
3667
- add: wc,
3668
- remove: xc,
3669
- update: bc
3687
+ Group: Yr,
3688
+ Tween: Ur,
3689
+ nextId: yc,
3690
+ getAll: wc,
3691
+ removeAll: xc,
3692
+ add: bc,
3693
+ remove: vc,
3694
+ update: Sc
3670
3695
  };
3671
3696
  class Pi {
3672
3697
  autoStart;
@@ -3717,7 +3742,7 @@ class Mn {
3717
3742
  this.tweens = [];
3718
3743
  }
3719
3744
  sort(t = !1) {
3720
- ua(
3745
+ da(
3721
3746
  this.tweens,
3722
3747
  (e, s) => t ? e.delay > s.delay : e.delay <= s.delay
3723
3748
  );
@@ -3755,7 +3780,7 @@ class Mn {
3755
3780
  this.cancelRequestAnimationCycle();
3756
3781
  const e = new Pi(), s = this.frameDuration;
3757
3782
  return new Promise((i) => {
3758
- this.onGroupStart?.(), this.cancelRequestAnimationCycle = Ar(
3783
+ this.onGroupStart?.(), this.cancelRequestAnimationCycle = Dr(
3759
3784
  (r) => {
3760
3785
  if (!this.isPaused) {
3761
3786
  const a = Math.max(0, r - this.pausedDuration), h = Math.max(
@@ -3763,7 +3788,7 @@ class Mn {
3763
3788
  e.getElapsedTime() - this.pausedDuration
3764
3789
  );
3765
3790
  t.filter((c) => c.delay * s <= h).forEach((c) => {
3766
- c.tween || (c.tween = new Yr({ ...c.fromValues }).to({ ...c.toValues }, c.frames * s).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete), c.tween.start(a)), /// 进行中的tween
3791
+ c.tween || (c.tween = new Ur({ ...c.fromValues }).to({ ...c.toValues }, c.frames * s).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete), c.tween.start(a)), /// 进行中的tween
3767
3792
  (c.delay + c.frames * (c.repeat + 1)) * s > h ? c.tween.update(a) : (c.tween.isPlaying() && c.tween.end(), xe(t, c));
3768
3793
  });
3769
3794
  }
@@ -3784,7 +3809,7 @@ class Mn {
3784
3809
  const t = this.cloneTweens(this.tweens);
3785
3810
  let e = 0;
3786
3811
  t.forEach((s) => {
3787
- e = Math.max(e, s.delay + s.frames), s.easeFunction = rc(s.easeFunction);
3812
+ e = Math.max(e, s.delay + s.frames), s.easeFunction = ac(s.easeFunction);
3788
3813
  const i = { ...s.toValues };
3789
3814
  s.toValues = { ...s.fromValues }, s.fromValues = { ...i };
3790
3815
  }), t.forEach((s) => {
@@ -3798,22 +3823,22 @@ class Mn {
3798
3823
  this.pausedDuration += this.pausedClock.getElapsedTime(), this.pausedClock.stop(), this.isPaused = !1;
3799
3824
  }
3800
3825
  }
3801
- const Ss = new de(), Ur = (n = !0) => {
3826
+ const Ss = new de(), Xr = (n = !0) => {
3802
3827
  Ss.filter((t, e) => (e.alternate && (Fn(e, e.alternate), n && Ss.set(t, e.alternate), e.alternate = void 0), n));
3803
3828
  };
3804
- function Xr(n) {
3829
+ function Br(n) {
3805
3830
  let t = Ss.get(n);
3806
3831
  return t || (t = Nn(n), Ss.set(n, t)), t;
3807
3832
  }
3808
- function Br(n) {
3809
- const t = Xr(n);
3833
+ function zr(n) {
3834
+ const t = Br(n);
3810
3835
  return t.alternate || (t.alternate = Nn(n)), t.alternate;
3811
3836
  }
3812
- function zr(n, t, e = !0) {
3813
- t(Br(n)), Dr("FLUSH_DOM_ACTION", () => Ur(e), 50);
3837
+ function Gr(n, t, e = !0) {
3838
+ t(zr(n)), Ir("FLUSH_DOM_ACTION", () => Xr(e), 50);
3814
3839
  }
3815
- function Kl(n, t, e = !0) {
3816
- t(Br(n)), Ur(e);
3840
+ function eu(n, t, e = !0) {
3841
+ t(zr(n)), Xr(e);
3817
3842
  }
3818
3843
  function U(n) {
3819
3844
  return n * Math.PI / 180;
@@ -3841,7 +3866,7 @@ function jt(n, t) {
3841
3866
  dy: Math.sin(n) * t
3842
3867
  };
3843
3868
  }
3844
- function Ql(n, t, e) {
3869
+ function su(n, t, e) {
3845
3870
  if (typeof e == "number") {
3846
3871
  const s = Math.sqrt(Math.pow(n, 2) + Math.pow(t, 2) + Math.pow(e, 2));
3847
3872
  return {
@@ -3857,17 +3882,17 @@ function Ql(n, t, e) {
3857
3882
  };
3858
3883
  }
3859
3884
  }
3860
- function tu(n, t, e, s, i = 10) {
3885
+ function nu(n, t, e, s, i = 10) {
3861
3886
  if (Math.abs(e - n) < i && Math.abs(s - t) < i)
3862
3887
  return "no";
3863
3888
  const r = at(fe(n, t, e, s));
3864
3889
  return r >= -135 && r <= -45 ? "up" : r > 45 && r < 135 ? "down" : r >= 135 && r <= 180 || r >= -180 && r < -135 ? "left" : "right";
3865
3890
  }
3866
- const Ei = vc(
3891
+ const Ei = Tc(
3867
3892
  "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",
3868
3893
  32
3869
3894
  );
3870
- function vc(n, t = 10) {
3895
+ function Tc(n, t = 10) {
3871
3896
  const e = {}, s = n.split(",");
3872
3897
  for (let i = 0; i < s.length; i += 2) {
3873
3898
  const r = "&" + s[i + 1] + ";", o = parseInt(s[i], t);
@@ -3898,7 +3923,7 @@ function ls(n) {
3898
3923
  while (n[t]);
3899
3924
  return t;
3900
3925
  }
3901
- function Sc(n) {
3926
+ function Cc(n) {
3902
3927
  const t = {
3903
3928
  left: "start",
3904
3929
  right: "end",
@@ -3908,7 +3933,7 @@ function Sc(n) {
3908
3933
  };
3909
3934
  return t[n] || t.start;
3910
3935
  }
3911
- function Tc(n) {
3936
+ function Pc(n) {
3912
3937
  const t = {
3913
3938
  alphabetic: "alphabetic",
3914
3939
  hanging: "hanging",
@@ -4541,8 +4566,8 @@ class Ts {
4541
4566
  "text-decoration": r.decoration,
4542
4567
  x: e,
4543
4568
  y: s,
4544
- "text-anchor": Sc(this.textAlign),
4545
- "dominant-baseline": Tc(this.textBaseline)
4569
+ "text-anchor": Cc(this.textAlign),
4570
+ "dominant-baseline": Pc(this.textBaseline)
4546
4571
  },
4547
4572
  !0
4548
4573
  );
@@ -5093,7 +5118,7 @@ class yn extends Os {
5093
5118
  return [S, O, r, o, l, G, G + W];
5094
5119
  }
5095
5120
  }
5096
- class Cc extends Os {
5121
+ class Ec extends Os {
5097
5122
  cx;
5098
5123
  cy;
5099
5124
  isLineThrough;
@@ -5137,7 +5162,7 @@ class Cc extends Os {
5137
5162
  };
5138
5163
  }
5139
5164
  }
5140
- const Pc = Cc;
5165
+ const _c = Ec;
5141
5166
  class lt extends Os {
5142
5167
  c1x;
5143
5168
  c1y;
@@ -5302,7 +5327,7 @@ function Di(n, t, e, s) {
5302
5327
  let r = n * e + t * s;
5303
5328
  return r > 1 && (r = 1), r < -1 && (r = -1), i * Math.acos(r);
5304
5329
  }
5305
- function Ec(n, t, e, s, i, r, o, a, h, c) {
5330
+ function Ac(n, t, e, s, i, r, o, a, h, c) {
5306
5331
  const l = c * (n - e) / 2 + h * (t - s) / 2, f = -h * (n - e) / 2 + c * (t - s) / 2, y = o * o, w = a * a, m = l * l, P = f * f;
5307
5332
  let E = y * w - y * P - w * m;
5308
5333
  E < 0 && (E = 0), E /= y * P + w * m, E = Math.sqrt(E) * (i === r ? -1 : 1);
@@ -5310,7 +5335,7 @@ function Ec(n, t, e, s, i, r, o, a, h, c) {
5310
5335
  let W = Di(C, S, O, V);
5311
5336
  return r === 0 && W > 0 && (W -= ze), r === 1 && W < 0 && (W += ze), [g, p, G, W];
5312
5337
  }
5313
- function _c(n, t) {
5338
+ function Dc(n, t) {
5314
5339
  const e = 1.3333333333333333 * Math.tan(t / 4), s = Math.cos(n), i = Math.sin(n), r = Math.cos(n + t), o = Math.sin(n + t);
5315
5340
  return [
5316
5341
  s,
@@ -5323,7 +5348,7 @@ function _c(n, t) {
5323
5348
  o
5324
5349
  ];
5325
5350
  }
5326
- function Gr(n, t, e, s, i, r, o, a, h) {
5351
+ function Vr(n, t, e, s, i, r, o, a, h) {
5327
5352
  const c = Math.sin(h * ze / 360), l = Math.cos(h * ze / 360), f = l * (n - e) / 2 + c * (t - s) / 2, y = -c * (n - e) / 2 + l * (t - s) / 2;
5328
5353
  if (f === 0 && y === 0)
5329
5354
  return [];
@@ -5332,12 +5357,12 @@ function Gr(n, t, e, s, i, r, o, a, h) {
5332
5357
  o = Math.abs(o), a = Math.abs(a);
5333
5358
  const w = f * f / (o * o) + y * y / (a * a);
5334
5359
  w > 1 && (o *= Math.sqrt(w), a *= Math.sqrt(w));
5335
- const m = Ec(n, t, e, s, i, r, o, a, c, l), P = [];
5360
+ const m = Ac(n, t, e, s, i, r, o, a, c, l), P = [];
5336
5361
  let E = m[2], b = m[3];
5337
5362
  const x = Math.max(Math.ceil(Math.abs(b) / (ze / 4)), 1);
5338
5363
  b /= x;
5339
5364
  for (let g = 0; g < x; g++)
5340
- P.push(_c(E, b)), E += b;
5365
+ P.push(Dc(E, b)), E += b;
5341
5366
  return P.map((g) => {
5342
5367
  for (let p = 0; p < g.length; p += 2) {
5343
5368
  let C = g[p + 0], S = g[p + 1];
@@ -5398,7 +5423,7 @@ class ve {
5398
5423
  }
5399
5424
  static downloadFromSVGElement(t, e = "shape") {
5400
5425
  return Xi(
5401
- Oh(t),
5426
+ Fh(t),
5402
5427
  `${e}.svg`
5403
5428
  );
5404
5429
  }
@@ -5547,7 +5572,7 @@ class ve {
5547
5572
  s = m[1], i = m[2];
5548
5573
  break;
5549
5574
  case "A":
5550
- const E = Gr(
5575
+ const E = Vr(
5551
5576
  r,
5552
5577
  o,
5553
5578
  m[6],
@@ -5773,7 +5798,7 @@ class xt {
5773
5798
  /// 涉及 this.prevPathX + this.prevPathY
5774
5799
  appendLine(t) {
5775
5800
  if (t instanceof yn) {
5776
- Gr(
5801
+ Vr(
5777
5802
  this.prevPathX,
5778
5803
  this.prevPathY,
5779
5804
  t.toX,
@@ -5801,7 +5826,7 @@ class xt {
5801
5826
  return;
5802
5827
  }
5803
5828
  let e, s, i, r, o, a;
5804
- t instanceof lt ? (e = t.c1x, s = t.c1y, i = t.c2x, r = t.c2y, o = t.toX, a = t.toY) : t instanceof Pc ? [e, s, i, r, o, a] = wn(
5829
+ t instanceof lt ? (e = t.c1x, s = t.c1y, i = t.c2x, r = t.c2y, o = t.toX, a = t.toY) : t instanceof _c ? [e, s, i, r, o, a] = wn(
5805
5830
  this.prevPathX,
5806
5831
  this.prevPathY,
5807
5832
  t.cx,
@@ -6037,7 +6062,7 @@ class xt {
6037
6062
  ).toSVGPathData();
6038
6063
  }
6039
6064
  }
6040
- const Ac = xt;
6065
+ const Ic = xt;
6041
6066
  class q extends As {
6042
6067
  // [index: string | number | symbol]: any;
6043
6068
  id;
@@ -6203,7 +6228,7 @@ class q extends As {
6203
6228
  return this.el instanceof SVGGeometryElement ? this.el.isPointInStroke(i) : !1;
6204
6229
  }
6205
6230
  clone() {
6206
- return $o(this).copy(this);
6231
+ return Wo(this).copy(this);
6207
6232
  }
6208
6233
  copy(t) {
6209
6234
  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 = {
@@ -7103,7 +7128,7 @@ class wt {
7103
7128
  return { x: c, y: l, width: f, height: y };
7104
7129
  }
7105
7130
  }
7106
- function Vr(n) {
7131
+ function qr(n) {
7107
7132
  const t = new dt();
7108
7133
  return n.replace(
7109
7134
  // /([a-z]+)\(?([^)a-z]+)\)?/gi,
@@ -7200,7 +7225,7 @@ function Rt(n, t, e) {
7200
7225
  const s = new dt();
7201
7226
  return s.rotate(at(n)), s.transformPoint({ x: t, y: e });
7202
7227
  }
7203
- function qr(n) {
7228
+ function jr(n) {
7204
7229
  const t = typeof n?.x == "number" ? n?.x : 0, e = typeof n?.y == "number" ? n?.y : 0, s = typeof n?.degree == "number" ? n?.degree : 0, i = typeof n?.scalarX == "number" ? n?.scalarX : 1, r = typeof n?.scalarY == "number" ? n?.scalarY : 1, o = U(s), a = Math.cos(o), h = Math.sin(o), c = new DOMMatrix([
7205
7230
  a * i,
7206
7231
  h * i,
@@ -7211,11 +7236,11 @@ function qr(n) {
7211
7236
  ]);
7212
7237
  return c.multiplySelf(new DOMMatrix(n?.originMatrix || "")), c;
7213
7238
  }
7214
- function su(n, t) {
7239
+ function ru(n, t) {
7215
7240
  const e = new Path2D(n), s = new Path2D();
7216
- return s.addPath(e, qr(t)), s;
7241
+ return s.addPath(e, jr(t)), s;
7217
7242
  }
7218
- function Dc(n, t) {
7243
+ function Mc(n, t) {
7219
7244
  const e = {
7220
7245
  x: t.m11,
7221
7246
  y: t.m12,
@@ -7231,7 +7256,7 @@ function Dc(n, t) {
7231
7256
  }, r = n.transformPoint(e), o = n.transformPoint(s), a = n.transformPoint(i), h = new dt();
7232
7257
  return h.m11 = r.x, h.m12 = r.y, h.m13 = r.z, h.m21 = o.x, h.m22 = o.y, h.m23 = o.z, h.m31 = a.x, h.m32 = a.y, h.m33 = a.z, h;
7233
7258
  }
7234
- function Ic(n, t) {
7259
+ function kc(n, t) {
7235
7260
  const e = {
7236
7261
  x: t.m11,
7237
7262
  y: t.m12,
@@ -7272,24 +7297,24 @@ function Ic(n, t) {
7272
7297
  c.w
7273
7298
  ]);
7274
7299
  }
7275
- function nu(n) {
7300
+ function ou(n) {
7276
7301
  let t = n[0];
7277
7302
  for (let e = 1, s = n.length; e < s; e++)
7278
- t = Dc(t, n[e]);
7303
+ t = Mc(t, n[e]);
7279
7304
  return t;
7280
7305
  }
7281
- function iu(n) {
7306
+ function au(n) {
7282
7307
  let t = n[0];
7283
7308
  for (let e = 1, s = n.length; e < s; e++)
7284
- t = Ic(t, n[e]);
7309
+ t = kc(t, n[e]);
7285
7310
  return t;
7286
7311
  }
7287
7312
  function Se(n, t, e) {
7288
- const s = Xr(n);
7313
+ const s = Br(n);
7289
7314
  return s.props.style = s.props.style || {}, t ? s.props.style[t] || s.props.style[_s(t)] || s.props.style[mt(t)] || "" : s.props.style;
7290
7315
  }
7291
- function jr(n, t, e) {
7292
- zr(
7316
+ function Hr(n, t, e) {
7317
+ Gr(
7293
7318
  n,
7294
7319
  (s) => {
7295
7320
  s.props.style = s.props.style || {}, typeof t == "string" && e ? s.props.style[t] = e : t instanceof Object && Object.keys(t).forEach((i) => {
@@ -7299,7 +7324,7 @@ function jr(n, t, e) {
7299
7324
  !0
7300
7325
  );
7301
7326
  }
7302
- function Hr(n) {
7327
+ function $r(n) {
7303
7328
  const t = [];
7304
7329
  if (getComputedStyle) {
7305
7330
  const e = getComputedStyle(n);
@@ -7316,7 +7341,7 @@ function Hr(n) {
7316
7341
  )
7317
7342
  );
7318
7343
  }
7319
- function ru(n, t, e) {
7344
+ function hu(n, t, e) {
7320
7345
  if (getComputedStyle) {
7321
7346
  t = mt(t);
7322
7347
  const s = getComputedStyle(n, e), i = s.getPropertyPriority(t);
@@ -7333,12 +7358,12 @@ function Rn(n, t, e) {
7333
7358
  Rn(n, s, t[s]);
7334
7359
  });
7335
7360
  }
7336
- function $r(n, t) {
7361
+ function Wr(n, t) {
7337
7362
  typeof t == "string" ? n.style.removeProperty(mt(t)) : Object.keys(t).forEach((e) => {
7338
- $r(n, e);
7363
+ Wr(n, e);
7339
7364
  });
7340
7365
  }
7341
- function Mc(n, t) {
7366
+ function Lc(n, t) {
7342
7367
  let e;
7343
7368
  if (typeof t == "string") {
7344
7369
  const i = document.querySelector(t)?.shadowRoot;
@@ -7357,11 +7382,11 @@ function Mc(n, t) {
7357
7382
  };
7358
7383
  }
7359
7384
  }
7360
- function ou(n, t, e = {}) {
7385
+ function cu(n, t, e = {}) {
7361
7386
  Object.prototype.hasOwnProperty.call(e, "transform") || Object.assign(e, {
7362
7387
  transform: Se(n, "transform") || ""
7363
7388
  });
7364
- const s = Vr(e.transform), i = {};
7389
+ const s = qr(e.transform), i = {};
7365
7390
  for (const r in t) {
7366
7391
  const o = t[r];
7367
7392
  switch (r) {
@@ -7539,26 +7564,30 @@ function ou(n, t, e = {}) {
7539
7564
  transform: s.toString()
7540
7565
  }), i;
7541
7566
  }
7542
- Mc(`
7567
+ Lc(`
7543
7568
  :root {
7569
+ --sat: constant(safe-area-inset-top);
7570
+ --sar: constant(safe-area-inset-right);
7571
+ --sab: constant(safe-area-inset-bottom);
7572
+ --sal: constant(safe-area-inset-left);
7544
7573
  --sat: env(safe-area-inset-top);
7545
7574
  --sar: env(safe-area-inset-right);
7546
7575
  --sab: env(safe-area-inset-bottom);
7547
7576
  --sal: env(safe-area-inset-left);
7548
7577
  }
7549
7578
  `);
7550
- const Wr = ie(0), Jr = ie(0), Zr = ie(0), Kr = ie(0);
7579
+ const Jr = ie("0px"), Zr = ie("0px"), Kr = ie("0px"), Qr = ie("0px");
7551
7580
  be.onload(() => {
7552
7581
  const n = getComputedStyle(document.documentElement);
7553
- Wr.value = n.getPropertyValue("--sat"), Jr.value = n.getPropertyValue("--sar"), Zr.value = n.getPropertyValue("--sab"), Kr.value = n.getPropertyValue("--sal");
7582
+ Jr.value = n.getPropertyValue("--sat"), Zr.value = n.getPropertyValue("--sar"), Kr.value = n.getPropertyValue("--sab"), Qr.value = n.getPropertyValue("--sal");
7554
7583
  });
7555
- const au = {
7556
- top: () => Wr.value,
7557
- right: () => Jr.value,
7558
- bottom: () => Zr.value,
7559
- left: () => Kr.value
7584
+ const lu = {
7585
+ top: () => Jr.value,
7586
+ right: () => Zr.value,
7587
+ bottom: () => Kr.value,
7588
+ left: () => Qr.value
7560
7589
  };
7561
- function hu(n) {
7590
+ function uu(n) {
7562
7591
  return be.onpopstate(() => {
7563
7592
  const { pathname: t, search: e } = location;
7564
7593
  n[t]?.();
@@ -7568,7 +7597,7 @@ function hu(n) {
7568
7597
  replace: be.replacestate
7569
7598
  };
7570
7599
  }
7571
- function cu() {
7600
+ function fu() {
7572
7601
  const n = Ae();
7573
7602
  return {
7574
7603
  destroy: pt(document, "scroll", (t) => {
@@ -7579,15 +7608,15 @@ function cu() {
7579
7608
  })
7580
7609
  };
7581
7610
  }
7582
- function lu() {
7611
+ function du() {
7583
7612
  return pt(document, "touchmove", (n) => {
7584
7613
  n.preventDefault();
7585
7614
  });
7586
7615
  }
7587
- function uu(n, t) {
7616
+ function mu(n, t) {
7588
7617
  window.scrollTo(n, t);
7589
7618
  }
7590
- function fu() {
7619
+ function pu() {
7591
7620
  let n = ci, t = ci;
7592
7621
  return "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual", n = be.onbeforeunload(() => {
7593
7622
  window.history.scrollRestoration = "auto";
@@ -7597,7 +7626,7 @@ function fu() {
7597
7626
  n(), t();
7598
7627
  };
7599
7628
  }
7600
- function kc(n) {
7629
+ function Rc(n) {
7601
7630
  const t = Ae(), e = new ResizeObserver((s) => {
7602
7631
  const i = s[0], { width: r, height: o } = i.contentRect;
7603
7632
  t.emit("resize", r, o);
@@ -7611,7 +7640,7 @@ function kc(n) {
7611
7640
  }
7612
7641
  };
7613
7642
  }
7614
- function du(n, t = 0.5, e) {
7643
+ function gu(n, t = 0.5, e) {
7615
7644
  const s = Ae();
7616
7645
  let i;
7617
7646
  const r = new IntersectionObserver(
@@ -7641,7 +7670,7 @@ function du(n, t = 0.5, e) {
7641
7670
  }
7642
7671
  };
7643
7672
  }
7644
- function mu(n) {
7673
+ function yu(n) {
7645
7674
  const t = Ae(), e = new MutationObserver(
7646
7675
  (s, i) => {
7647
7676
  t.emit("mutation", s, i);
@@ -7660,7 +7689,7 @@ function mu(n) {
7660
7689
  }
7661
7690
  };
7662
7691
  }
7663
- function pu(n, t, e, s, i) {
7692
+ function wu(n, t, e, s, i) {
7664
7693
  const r = t / e;
7665
7694
  let o = 0, a = 0;
7666
7695
  switch (n) {
@@ -7683,11 +7712,11 @@ function pu(n, t, e, s, i) {
7683
7712
  }
7684
7713
  return { width: o, height: a };
7685
7714
  }
7686
- function Lc(n) {
7715
+ function Oc(n) {
7687
7716
  const t = document.createElement("canvas"), e = t.getContext("2d");
7688
7717
  return t.width = n.width, t.height = n.height, e.drawImage(n, 0, 0, t.width, t.height), e.getImageData(0, 0, t.width, t.height);
7689
7718
  }
7690
- const gu = (n) => {
7719
+ const xu = (n) => {
7691
7720
  const t = n.width, e = n.height, s = t * e * 3, i = s + 54, r = [
7692
7721
  // WORD bfType -- The file type signature; must be "BM"
7693
7722
  66,
@@ -7789,10 +7818,10 @@ const gu = (n) => {
7789
7818
  return btoa(P);
7790
7819
  }
7791
7820
  return w(r.concat(o)) + w(c);
7792
- }, yu = (n) => {
7821
+ }, bu = (n) => {
7793
7822
  const { width: t, height: e } = n, s = document.createElement("canvas"), i = s.getContext("2d");
7794
7823
  return s.width = t, s.height = e, i.putImageData(n, 0, 0, 0, 0, t, e), s.toDataURL("image/png");
7795
- }, wu = (n, t, e) => {
7824
+ }, vu = (n, t, e) => {
7796
7825
  const { width: s, height: i } = n, r = document.createElement("canvas"), o = r.getContext("2d");
7797
7826
  r.width = s, r.height = i, o.putImageData(n, 0, 0, 0, 0, s, i);
7798
7827
  const a = `image/${t ? t.toLowerCase() : "png"}`;
@@ -7804,10 +7833,10 @@ const gu = (n) => {
7804
7833
  1
7805
7834
  );
7806
7835
  };
7807
- function xu(n, t) {
7836
+ function Su(n, t) {
7808
7837
  return createImageBitmap(n, t);
7809
7838
  }
7810
- function bu(n) {
7839
+ function Tu(n) {
7811
7840
  const t = [], e = [], s = [];
7812
7841
  let i = 0;
7813
7842
  for (let h = 0, c = n.data.length; h < c; h += 4)
@@ -7832,7 +7861,7 @@ function nn(n) {
7832
7861
  return;
7833
7862
  return e[o];
7834
7863
  }
7835
- const vu = (n) => {
7864
+ const Cu = (n) => {
7836
7865
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7837
7866
  for (let o = 0; o < s; o++)
7838
7867
  for (let a = 0; a < e; a++) {
@@ -7840,7 +7869,7 @@ const vu = (n) => {
7840
7869
  i[h] = t[(o * e + e - a - 1) * 4], i[h + 1] = t[(o * e + e - a - 1) * 4 + 1], i[h + 2] = t[(o * e + e - a - 1) * 4 + 2], i[h + 3] = t[(o * e + e - a - 1) * 4 + 3];
7841
7870
  }
7842
7871
  return new ImageData(i, e, s);
7843
- }, Su = (n) => {
7872
+ }, Pu = (n) => {
7844
7873
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7845
7874
  for (let o = 0; o < s; o++)
7846
7875
  for (let a = 0; a < e; a++) {
@@ -7848,7 +7877,7 @@ const vu = (n) => {
7848
7877
  i[h] = t[((s - o - 1) * e + a) * 4], i[h + 1] = t[((s - o - 1) * e + a) * 4 + 1], i[h + 2] = t[((s - o - 1) * e + a) * 4 + 2], i[h + 3] = t[((s - o - 1) * e + a) * 4 + 3];
7849
7878
  }
7850
7879
  return new ImageData(i, e, s);
7851
- }, Tu = (n) => {
7880
+ }, Eu = (n) => {
7852
7881
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7853
7882
  for (let o = 0; o < e; o++)
7854
7883
  for (let a = 0; a < s; a++) {
@@ -7856,7 +7885,7 @@ const vu = (n) => {
7856
7885
  i[h] = t[(a * e + e - o - 1) * 4], i[h + 1] = t[(a * e + e - o - 1) * 4 + 1], i[h + 2] = t[(a * e + e - o - 1) * 4 + 2], i[h + 3] = t[(a * e + e - o - 1) * 4 + 3];
7857
7886
  }
7858
7887
  return new ImageData(i, s, e);
7859
- }, Cu = (n) => {
7888
+ }, _u = (n) => {
7860
7889
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7861
7890
  for (let o = 0; o < e; o++)
7862
7891
  for (let a = 0; a < s; a++) {
@@ -7864,7 +7893,7 @@ const vu = (n) => {
7864
7893
  i[h] = t[((s - a - 1) * e + o) * 4], i[h + 1] = t[((s - a - 1) * e + o) * 4 + 1], i[h + 2] = t[((s - a - 1) * e + o) * 4 + 2], i[h + 3] = t[((s - a - 1) * e + o) * 4 + 3];
7865
7894
  }
7866
7895
  return new ImageData(i, s, e);
7867
- }, Pu = (n) => {
7896
+ }, Au = (n) => {
7868
7897
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7869
7898
  for (let o = 0; o < s; o++)
7870
7899
  for (let a = 0; a < e; a++) {
@@ -7872,7 +7901,7 @@ const vu = (n) => {
7872
7901
  i[h] = c, i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
7873
7902
  }
7874
7903
  return new ImageData(i, e, s);
7875
- }, Eu = (n) => {
7904
+ }, Du = (n) => {
7876
7905
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7877
7906
  for (let o = 0; o < s; o++)
7878
7907
  for (let a = 0; a < e; a++) {
@@ -7880,7 +7909,7 @@ const vu = (n) => {
7880
7909
  i[h] = c, i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
7881
7910
  }
7882
7911
  return new ImageData(i, e, s);
7883
- }, _u = (n) => {
7912
+ }, Iu = (n) => {
7884
7913
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7885
7914
  for (let o = 0; o < s; o++)
7886
7915
  for (let a = 0; a < e; a++) {
@@ -7888,7 +7917,7 @@ const vu = (n) => {
7888
7917
  i[h] = l, i[h + 1] = l, i[h + 2] = l, i[h + 3] = t[h + 3];
7889
7918
  }
7890
7919
  return new ImageData(i, e, s);
7891
- }, Au = (n) => {
7920
+ }, Mu = (n) => {
7892
7921
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7893
7922
  for (let o = 0; o < s; o++)
7894
7923
  for (let a = 0; a < e; a++) {
@@ -7896,7 +7925,7 @@ const vu = (n) => {
7896
7925
  i[h] = 255 - t[h], i[h + 1] = 255 - t[h + 1], i[h + 2] = 255 - t[h + 2], i[h + 3] = t[h + 3];
7897
7926
  }
7898
7927
  return new ImageData(i, e, s);
7899
- }, Du = (n) => {
7928
+ }, ku = (n) => {
7900
7929
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7901
7930
  for (let o = 0; o < s; o++)
7902
7931
  for (let a = 0; a < e; a++) {
@@ -7904,7 +7933,7 @@ const vu = (n) => {
7904
7933
  i[h] = t[h], i[h + 1] = 0, i[h + 2] = 0, i[h + 3] = t[h + 3];
7905
7934
  }
7906
7935
  return new ImageData(i, e, s);
7907
- }, Iu = (n) => {
7936
+ }, Lu = (n) => {
7908
7937
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7909
7938
  for (let o = 0; o < s; o++)
7910
7939
  for (let a = 0; a < e; a++) {
@@ -7912,7 +7941,7 @@ const vu = (n) => {
7912
7941
  i[h] = 0, i[h + 1] = t[h + 1], i[h + 2] = 0, i[h + 3] = t[h + 3];
7913
7942
  }
7914
7943
  return new ImageData(i, e, s);
7915
- }, Mu = (n) => {
7944
+ }, Ru = (n) => {
7916
7945
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7917
7946
  for (let o = 0; o < s; o++)
7918
7947
  for (let a = 0; a < e; a++) {
@@ -7920,7 +7949,7 @@ const vu = (n) => {
7920
7949
  i[h] = 0, i[h + 1] = 0, i[h + 2] = t[h + 2], i[h + 3] = t[h + 3];
7921
7950
  }
7922
7951
  return new ImageData(i, e, s);
7923
- }, ku = (n) => {
7952
+ }, Ou = (n) => {
7924
7953
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7925
7954
  for (let o = 0; o < s; o++)
7926
7955
  for (let a = 0; a < e; a++) {
@@ -7928,7 +7957,7 @@ const vu = (n) => {
7928
7957
  i[h] = t[h], i[h + 1] = t[h + 1], i[h + 2] = 0, i[h + 3] = t[h + 3];
7929
7958
  }
7930
7959
  return new ImageData(i, e, s);
7931
- }, Lu = (n) => {
7960
+ }, Nu = (n) => {
7932
7961
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7933
7962
  for (let o = 0; o < s; o++)
7934
7963
  for (let a = 0; a < e; a++) {
@@ -7936,7 +7965,7 @@ const vu = (n) => {
7936
7965
  i[h] = t[h], i[h + 1] = 0, i[h + 2] = t[h + 1], i[h + 3] = t[h + 3];
7937
7966
  }
7938
7967
  return new ImageData(i, e, s);
7939
- }, Ru = (n) => {
7968
+ }, Fu = (n) => {
7940
7969
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7941
7970
  for (let o = 0; o < s; o++)
7942
7971
  for (let a = 0; a < e; a++) {
@@ -7944,7 +7973,7 @@ const vu = (n) => {
7944
7973
  i[h] = 0, i[h + 1] = t[h + 1], i[h + 2] = t[h + 1], i[h + 3] = t[h + 3];
7945
7974
  }
7946
7975
  return new ImageData(i, e, s);
7947
- }, Ou = (n) => {
7976
+ }, Yu = (n) => {
7948
7977
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7949
7978
  for (let o = 0; o < s; o++)
7950
7979
  for (let a = 0; a < e; a++) {
@@ -7952,7 +7981,7 @@ const vu = (n) => {
7952
7981
  i[h] = t[h], i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
7953
7982
  }
7954
7983
  return new ImageData(i, e, s);
7955
- }, Nu = (n) => {
7984
+ }, Uu = (n) => {
7956
7985
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7957
7986
  for (let o = 0; o < s; o++)
7958
7987
  for (let a = 0; a < e; a++) {
@@ -7960,7 +7989,7 @@ const vu = (n) => {
7960
7989
  i[h] = c, i[h + 1] = t[h + 1], i[h + 2] = c, i[h + 3] = t[h + 3];
7961
7990
  }
7962
7991
  return new ImageData(i, e, s);
7963
- }, Fu = (n) => {
7992
+ }, Xu = (n) => {
7964
7993
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7965
7994
  for (let o = 0; o < s; o++)
7966
7995
  for (let a = 0; a < e; a++) {
@@ -7968,7 +7997,7 @@ const vu = (n) => {
7968
7997
  i[h] = c, i[h + 1] = c, i[h + 2] = t[h + 2], i[h + 3] = t[h + 3];
7969
7998
  }
7970
7999
  return new ImageData(i, e, s);
7971
- }, Yu = (n) => Qr(n, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), Uu = (n) => Qr(n, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), Xu = (n) => {
8000
+ }, Bu = (n) => to(n, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), zu = (n) => to(n, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), Gu = (n) => {
7972
8001
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7973
8002
  for (let o = 0; o < s; o++)
7974
8003
  for (let a = 0; a < e; a++) {
@@ -7976,7 +8005,7 @@ const vu = (n) => {
7976
8005
  i[h] = t[h], i[h + 1] = t[h + 1], i[h + 2] = t[h + 2], i[h + 3] = 255;
7977
8006
  }
7978
8007
  return new ImageData(i, e, s);
7979
- }, Bu = (n) => {
8008
+ }, Vu = (n) => {
7980
8009
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
7981
8010
  for (let o = 0; o < s; o++)
7982
8011
  for (let a = 0; a < e; a++) {
@@ -7984,7 +8013,7 @@ const vu = (n) => {
7984
8013
  if (t[h + 3] === 0)
7985
8014
  i[h] = 255, i[h + 1] = 255, i[h + 2] = 255, i[h + 3] = 255;
7986
8015
  else {
7987
- const c = to(
8016
+ const c = eo(
7988
8017
  [
7989
8018
  t[h],
7990
8019
  t[h + 1],
@@ -7997,7 +8026,7 @@ const vu = (n) => {
7997
8026
  }
7998
8027
  }
7999
8028
  return new ImageData(i, e, s);
8000
- }, zu = (n, t, e, s, i, r = !1, o) => {
8029
+ }, qu = (n, t, e, s, i, r = !1, o) => {
8001
8030
  const { data: a, width: h, height: c } = n;
8002
8031
  let l = i, f = s, y = t, w = e;
8003
8032
  if (l < 0 ? l = 0 : l > h && (l = h), f < 0 ? f = 0 : f > c && (f = c), y < 1 ? y = 1 : y > h && (y = h), w < 1 ? w = 1 : w > c && (w = c), l + y > h && (y = h - l), f + w > c && (w = c - f), r) {
@@ -8017,7 +8046,7 @@ const vu = (n) => {
8017
8046
  }
8018
8047
  return new ImageData(m, y, w);
8019
8048
  }
8020
- }, Gu = (n, t, e, s) => {
8049
+ }, ju = (n, t, e, s) => {
8021
8050
  const { data: i, width: r, height: o } = n;
8022
8051
  let a = t;
8023
8052
  a > Math.floor(r / 2) && (a = Math.floor(r / 2)), a > Math.floor(o / 2) && (a = Math.floor(o / 2)), a < 0 && (a = 0);
@@ -8037,12 +8066,12 @@ const vu = (n) => {
8037
8066
  ))), Math.round(w) > a ? (h[y] = 255, h[y + 1] = 255, h[y + 2] = 255, h[y + 3] = s || e.toUpperCase() === "PNG" ? 0 : 255) : (h[y] = i[y], h[y + 1] = i[y + 1], h[y + 2] = i[y + 2], h[y + 3] = s || e.toUpperCase() === "PNG" ? i[y + 3] : 255);
8038
8067
  }
8039
8068
  return new ImageData(h, r, o);
8040
- }, Vu = (n, t, e, s, i, r = 1e4) => {
8069
+ }, Hu = (n, t, e, s, i, r = 1e4) => {
8041
8070
  const o = new Image();
8042
8071
  o.src = n;
8043
8072
  const a = document.createElement("canvas"), h = a.getContext("2d");
8044
8073
  return a.width = r, a.height = r, h.drawImage(o, 0, 0, t, e, 0, 0, s, i), h.getImageData(0, 0, s, i);
8045
- }, qu = (n, t) => {
8074
+ }, $u = (n, t) => {
8046
8075
  const { data: e, width: s, height: i } = n, r = new Uint8ClampedArray(e.length);
8047
8076
  for (let a = 0; a < i; a++)
8048
8077
  for (let h = 0; h < s; h++) {
@@ -8059,7 +8088,7 @@ const vu = (n) => {
8059
8088
  ), r[c + 3] = e[c + 3];
8060
8089
  }
8061
8090
  return new ImageData(r, s, i);
8062
- }, ju = (n, t, e = !1) => {
8091
+ }, Wu = (n, t, e = !1) => {
8063
8092
  const { data: s, width: i, height: r } = n, o = new Uint8ClampedArray(s.length);
8064
8093
  for (let h = 0; h < r; h++)
8065
8094
  for (let c = 0; c < i; c++) {
@@ -8069,7 +8098,7 @@ const vu = (n) => {
8069
8098
  e ? f = Math.max(Math.min(Math.floor(255 * t), 255), 0) : f = Math.max(Math.min(Math.floor(f + 255 * t), 255), 0), o[l + 3] = f;
8070
8099
  }
8071
8100
  return new ImageData(o, i, r);
8072
- }, Hu = (n, t, e, s) => {
8101
+ }, Ju = (n, t, e, s) => {
8073
8102
  const { data: i, width: r, height: o } = n, {
8074
8103
  data: a,
8075
8104
  width: h,
@@ -8094,12 +8123,12 @@ const vu = (n) => {
8094
8123
  i[E + 1],
8095
8124
  i[E + 2],
8096
8125
  i[E + 3]
8097
- ], p = to(x, g);
8126
+ ], p = eo(x, g);
8098
8127
  y[E] = p[0], y[E + 1] = p[1], y[E + 2] = p[2], y[E + 3] = p[3];
8099
8128
  }
8100
8129
  }
8101
8130
  return new ImageData(y, r, o);
8102
- }, $u = (n, t, e, s, i, r = 10) => {
8131
+ }, Zu = (n, t, e, s, i, r = 10) => {
8103
8132
  const { data: o, width: a, height: h } = n;
8104
8133
  let c = i, l = s, f = t, y = e;
8105
8134
  c < 0 ? c = 0 : c > a && (c = a), l < 0 ? l = 0 : l > h && (l = h), f < 1 ? f = 1 : f > a && (f = a), y < 1 ? y = 1 : y > h && (y = h), c + f > a && (f = a - c), l + y > h && (y = h - l);
@@ -8121,7 +8150,7 @@ const vu = (n) => {
8121
8150
  w[b] = o[b], w[b + 1] = o[b + 1], w[b + 2] = o[b + 2], w[b + 3] = o[b + 3];
8122
8151
  }
8123
8152
  return new ImageData(w, a, h);
8124
- }, Wu = (n, t, e = {
8153
+ }, Ku = (n, t, e = {
8125
8154
  backgroundColor: { r: 0, g: 0, b: 0, a: 255 },
8126
8155
  changeIntoColor: { r: 0, g: 0, b: 0, a: 0 }
8127
8156
  }) => {
@@ -8135,7 +8164,7 @@ const vu = (n) => {
8135
8164
  return new ImageData(a, i, r);
8136
8165
  }
8137
8166
  return n;
8138
- }, Qr = (n, t) => {
8167
+ }, to = (n, t) => {
8139
8168
  const { data: e, width: s, height: i } = n, r = new Uint8ClampedArray(e.length);
8140
8169
  for (let a = 0; a < i; a++)
8141
8170
  for (let h = 0; h < s; h++) {
@@ -8147,7 +8176,7 @@ const vu = (n) => {
8147
8176
  r[c + 3] = e[c + 3];
8148
8177
  }
8149
8178
  return new ImageData(r, s, i);
8150
- }, to = (n, t) => {
8179
+ }, eo = (n, t) => {
8151
8180
  if (n && n.length === 4 && t && t.length === 4) {
8152
8181
  const e = n[3], s = t[3];
8153
8182
  if (e === 255 || s === 0)
@@ -8192,7 +8221,7 @@ const vu = (n) => {
8192
8221
  }
8193
8222
  }
8194
8223
  return [255, 255, 255, 255];
8195
- }, eo = function() {
8224
+ }, so = function() {
8196
8225
  const n = [];
8197
8226
  return {
8198
8227
  writeByte(t) {
@@ -8219,7 +8248,7 @@ const vu = (n) => {
8219
8248
  return t += "]", t;
8220
8249
  }
8221
8250
  };
8222
- }, Rc = function() {
8251
+ }, Nc = function() {
8223
8252
  let n = 0, t = 0, e = 0, s = "";
8224
8253
  const i = function(o) {
8225
8254
  if (!(o < 0)) {
@@ -8254,7 +8283,7 @@ const vu = (n) => {
8254
8283
  return s;
8255
8284
  }
8256
8285
  };
8257
- }, Oc = function(n, t, e) {
8286
+ }, Fc = function(n, t, e) {
8258
8287
  const s = new Array(n * n), i = function(a) {
8259
8288
  const h = a;
8260
8289
  let c = 0, l = 0;
@@ -8277,7 +8306,7 @@ const vu = (n) => {
8277
8306
  for (let E = 0; E < h; E++)
8278
8307
  f.add(String.fromCharCode(E));
8279
8308
  f.add(String.fromCharCode(h)), f.add(String.fromCharCode(c));
8280
- const y = eo(), w = i(y);
8309
+ const y = so(), w = i(y);
8281
8310
  w.write(h, l);
8282
8311
  let m = 0, P = String.fromCharCode(s[m]);
8283
8312
  for (m += 1; m < s.length; ) {
@@ -8319,14 +8348,14 @@ const vu = (n) => {
8319
8348
  a.writeByte(c.length - l), a.writeBytes(c, l, c.length - l), a.writeByte(0), a.writeString(";");
8320
8349
  }
8321
8350
  };
8322
- }, Nc = function(n, t, e, s) {
8323
- const i = Oc(n, t, e);
8351
+ }, Yc = function(n, t, e, s) {
8352
+ const i = Fc(n, t, e);
8324
8353
  for (let c = 0; c < n; c++)
8325
8354
  for (let l = 0; l < n; l++)
8326
8355
  i.setPixel(l, c, s(l, c));
8327
- const r = eo();
8356
+ const r = so();
8328
8357
  i.write(r);
8329
- const o = Rc(), a = r.toByteArray();
8358
+ const o = Nc(), a = r.toByteArray();
8330
8359
  for (let c = 0, l = a.length; c < l; c++)
8331
8360
  o.writeByte(a[c]);
8332
8361
  o.flush();
@@ -8844,7 +8873,7 @@ class ki {
8844
8873
  this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
8845
8874
  }
8846
8875
  }
8847
- class Fc {
8876
+ class Uc {
8848
8877
  mode;
8849
8878
  data;
8850
8879
  constructor(t) {
@@ -8871,7 +8900,7 @@ class ue {
8871
8900
  this.typeNumber = t, this.errorCorrectLevel = Xe[e], this.modules = [], this.moduleCount = 0, this.dataCache = null, this.dataList = [];
8872
8901
  }
8873
8902
  addData(t) {
8874
- const e = new Fc(t);
8903
+ const e = new Uc(t);
8875
8904
  this.dataList.push(e), this.dataCache = null;
8876
8905
  }
8877
8906
  isDark(t, e) {
@@ -9055,11 +9084,11 @@ class ue {
9055
9084
  }
9056
9085
  }
9057
9086
  const Li = Math.ceil, Ge = Math.floor, Ri = Math.round;
9058
- function Ju(n, t) {
9087
+ function Qu(n, t) {
9059
9088
  const e = $i(n), s = t?.ecc || "H", i = t?.size || 256, r = -1, o = t?.padding || 0, a = t?.color || "#000000", h = t?.background || "#ffffff", c = new ue(r, s);
9060
9089
  c.addData(e), c.make();
9061
9090
  const l = c.getModuleCount(), f = (i - o * 2) / l, y = o, w = i - o;
9062
- return Nc(i, a, h, function(m, P) {
9091
+ return Yc(i, a, h, function(m, P) {
9063
9092
  if (y <= m && m < w && y <= P && P < w) {
9064
9093
  const E = Ge((m - y) / f), b = Ge((P - y) / f);
9065
9094
  return c.isDark(b, E) ? 0 : 1;
@@ -9067,7 +9096,7 @@ function Ju(n, t) {
9067
9096
  return 1;
9068
9097
  });
9069
9098
  }
9070
- function Zu(n, t) {
9099
+ function tf(n, t) {
9071
9100
  const e = t.x || 0, s = t.y || 0, i = $i(n), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? Ge(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", f = t.background || "#ffffff", y = new ue(c, o);
9072
9101
  y.addData(i), y.make();
9073
9102
  const w = y.getModuleCount(), m = (a - h * 2) / w;
@@ -9216,12 +9245,12 @@ class ht extends q {
9216
9245
  }
9217
9246
  }
9218
9247
  }
9219
- const so = getComputedStyle(document.documentElement);
9248
+ const no = getComputedStyle(document.documentElement);
9220
9249
  function Y(n) {
9221
- return so.getPropertyValue(n);
9250
+ return no.getPropertyValue(n);
9222
9251
  }
9223
- function Ku(n, t) {
9224
- document.documentElement.style.setProperty(n, t), so.setProperty(n, t);
9252
+ function ef(n, t) {
9253
+ document.documentElement.style.setProperty(n, t), no.setProperty(n, t);
9225
9254
  }
9226
9255
  const Oi = {
9227
9256
  colorPrimary: Y("--color-primary") || "#5078f0",
@@ -9453,7 +9482,7 @@ function rn(n) {
9453
9482
  throw new Error("parseColor 不支持的颜色解析:" + n);
9454
9483
  return e.r = j(e.r, 0, 255), e.g = j(e.g, 0, 255), e.b = j(e.b, 0, 255), e.a = j(e.a, 0, 1), e;
9455
9484
  }
9456
- const Yc = [
9485
+ const Xc = [
9457
9486
  "#0ac2d2",
9458
9487
  "#7bb7fa",
9459
9488
  "#60d7a9",
@@ -9563,7 +9592,7 @@ class Te extends q {
9563
9592
  return e.intersection(s);
9564
9593
  }
9565
9594
  }
9566
- class Qu extends q {
9595
+ class sf extends q {
9567
9596
  cx;
9568
9597
  cy;
9569
9598
  toX;
@@ -9609,7 +9638,7 @@ class Qu extends q {
9609
9638
  );
9610
9639
  }
9611
9640
  }
9612
- var no = { exports: {} };
9641
+ var io = { exports: {} };
9613
9642
  /*! Hammer.JS - v2.0.7 - 2016-04-22
9614
9643
  * http://hammerjs.github.io/
9615
9644
  *
@@ -9768,25 +9797,25 @@ var no = { exports: {} };
9768
9797
  this.evEl && O(this.element, this.evEl, this.domHandler), this.evTarget && O(this.target, this.evTarget, this.domHandler), this.evWin && O(re(this.element), this.evWin, this.domHandler);
9769
9798
  }
9770
9799
  };
9771
- function go(u) {
9800
+ function yo(u) {
9772
9801
  var d, v = u.options.inputClass;
9773
- return v ? d = v : M ? d = Us : N ? d = ns : L ? d = Xs : d = ss, new d(u, yo);
9802
+ return v ? d = v : M ? d = Us : N ? d = ns : L ? d = Xs : d = ss, new d(u, wo);
9774
9803
  }
9775
- function yo(u, d, v) {
9804
+ function wo(u, d, v) {
9776
9805
  var _ = v.pointers.length, I = v.changedPointers.length, k = d & Q && _ - I === 0, F = d & ($ | D) && _ - I === 0;
9777
- v.isFirst = !!k, v.isFinal = !!F, k && (u.session = {}), v.eventType = d, wo(u, v), u.emit("hammer.input", v), u.recognize(v), u.session.prevInput = v;
9806
+ v.isFirst = !!k, v.isFinal = !!F, k && (u.session = {}), v.eventType = d, xo(u, v), u.emit("hammer.input", v), u.recognize(v), u.session.prevInput = v;
9778
9807
  }
9779
- function wo(u, d) {
9808
+ function xo(u, d) {
9780
9809
  var v = u.session, _ = d.pointers, I = _.length;
9781
9810
  v.firstInput || (v.firstInput = zn(d)), I > 1 && !v.firstMultiple ? v.firstMultiple = zn(d) : I === 1 && (v.firstMultiple = !1);
9782
9811
  var k = v.firstInput, F = v.firstMultiple, tt = F ? F.center : k.center, st = d.center = Gn(_);
9783
- d.timeStamp = l(), d.deltaTime = d.timeStamp - k.timeStamp, d.angle = Ys(tt, st), d.distance = es(tt, st), xo(v, d), d.offsetDirection = qn(d.deltaX, d.deltaY);
9812
+ d.timeStamp = l(), d.deltaTime = d.timeStamp - k.timeStamp, d.angle = Ys(tt, st), d.distance = es(tt, st), bo(v, d), d.offsetDirection = qn(d.deltaX, d.deltaY);
9784
9813
  var rt = Vn(d.deltaTime, d.deltaX, d.deltaY);
9785
- d.overallVelocityX = rt.x, d.overallVelocityY = rt.y, d.overallVelocity = c(rt.x) > c(rt.y) ? rt.x : rt.y, d.scale = F ? So(F.pointers, _) : 1, d.rotation = F ? vo(F.pointers, _) : 0, d.maxPointers = v.prevInput ? d.pointers.length > v.prevInput.maxPointers ? d.pointers.length : v.prevInput.maxPointers : d.pointers.length, bo(v, d);
9814
+ d.overallVelocityX = rt.x, d.overallVelocityY = rt.y, d.overallVelocity = c(rt.x) > c(rt.y) ? rt.x : rt.y, d.scale = F ? To(F.pointers, _) : 1, d.rotation = F ? So(F.pointers, _) : 0, d.maxPointers = v.prevInput ? d.pointers.length > v.prevInput.maxPointers ? d.pointers.length : v.prevInput.maxPointers : d.pointers.length, vo(v, d);
9786
9815
  var Mt = u.element;
9787
9816
  V(d.srcEvent.target, Mt) && (Mt = d.srcEvent.target), d.target = Mt;
9788
9817
  }
9789
- function xo(u, d) {
9818
+ function bo(u, d) {
9790
9819
  var v = d.center, _ = u.offsetDelta || {}, I = u.prevDelta || {}, k = u.prevInput || {};
9791
9820
  (d.eventType === Q || k.eventType === $) && (I = u.prevDelta = {
9792
9821
  x: k.deltaX || 0,
@@ -9796,7 +9825,7 @@ var no = { exports: {} };
9796
9825
  y: v.y
9797
9826
  }), d.deltaX = I.x + (v.x - _.x), d.deltaY = I.y + (v.y - _.y);
9798
9827
  }
9799
- function bo(u, d) {
9828
+ function vo(u, d) {
9800
9829
  var v = u.lastInterval || d, _ = d.timeStamp - v.timeStamp, I, k, F, tt;
9801
9830
  if (d.eventType != D && (_ > Ke || v.velocity === i)) {
9802
9831
  var st = d.deltaX - v.deltaX, rt = d.deltaY - v.deltaY, Mt = Vn(_, st, rt);
@@ -9852,19 +9881,19 @@ var no = { exports: {} };
9852
9881
  var _ = d[v[0]] - u[v[0]], I = d[v[1]] - u[v[1]];
9853
9882
  return Math.atan2(I, _) * 180 / Math.PI;
9854
9883
  }
9855
- function vo(u, d) {
9884
+ function So(u, d) {
9856
9885
  return Ys(d[1], d[0], ts) + Ys(u[1], u[0], ts);
9857
9886
  }
9858
- function So(u, d) {
9887
+ function To(u, d) {
9859
9888
  return es(d[0], d[1], ts) / es(u[0], u[1], ts);
9860
9889
  }
9861
- var To = {
9890
+ var Co = {
9862
9891
  mousedown: Q,
9863
9892
  mousemove: At,
9864
9893
  mouseup: $
9865
- }, Co = "mousedown", Po = "mousemove mouseup";
9894
+ }, Po = "mousedown", Eo = "mousemove mouseup";
9866
9895
  function ss() {
9867
- this.evEl = Co, this.evWin = Po, this.pressed = !1, vt.apply(this, arguments);
9896
+ this.evEl = Po, this.evWin = Eo, this.pressed = !1, vt.apply(this, arguments);
9868
9897
  }
9869
9898
  x(ss, vt, {
9870
9899
  /**
@@ -9872,7 +9901,7 @@ var no = { exports: {} };
9872
9901
  * @param {Object} ev
9873
9902
  */
9874
9903
  handler: function(d) {
9875
- var v = To[d.type];
9904
+ var v = Co[d.type];
9876
9905
  v & Q && d.button === 0 && (this.pressed = !0), v & At && d.which !== 1 && (v = $), this.pressed && (v & $ && (this.pressed = !1), this.callback(this.manager, v, {
9877
9906
  pointers: [d],
9878
9907
  changedPointers: [d],
@@ -9881,13 +9910,13 @@ var no = { exports: {} };
9881
9910
  }));
9882
9911
  }
9883
9912
  });
9884
- var Eo = {
9913
+ var _o = {
9885
9914
  pointerdown: Q,
9886
9915
  pointermove: At,
9887
9916
  pointerup: $,
9888
9917
  pointercancel: D,
9889
9918
  pointerout: D
9890
- }, _o = {
9919
+ }, Ao = {
9891
9920
  2: z,
9892
9921
  3: it,
9893
9922
  4: Et,
@@ -9904,7 +9933,7 @@ var no = { exports: {} };
9904
9933
  * @param {Object} ev
9905
9934
  */
9906
9935
  handler: function(d) {
9907
- var v = this.store, _ = !1, I = d.type.toLowerCase().replace("ms", ""), k = Eo[I], F = _o[d.pointerType] || d.pointerType, tt = F == z, st = J(v, d.pointerId, "pointerId");
9936
+ var v = this.store, _ = !1, I = d.type.toLowerCase().replace("ms", ""), k = _o[I], F = Ao[d.pointerType] || d.pointerType, tt = F == z, st = J(v, d.pointerId, "pointerId");
9908
9937
  k & Q && (d.button === 0 || tt) ? st < 0 && (v.push(d), st = v.length - 1) : k & ($ | D) && (_ = !0), !(st < 0) && (v[st] = d, this.callback(this.manager, k, {
9909
9938
  pointers: v,
9910
9939
  changedPointers: [d],
@@ -9913,20 +9942,20 @@ var no = { exports: {} };
9913
9942
  }), _ && v.splice(st, 1));
9914
9943
  }
9915
9944
  });
9916
- var Ao = {
9945
+ var Do = {
9917
9946
  touchstart: Q,
9918
9947
  touchmove: At,
9919
9948
  touchend: $,
9920
9949
  touchcancel: D
9921
- }, Do = "touchstart", Io = "touchstart touchmove touchend touchcancel";
9950
+ }, Io = "touchstart", Mo = "touchstart touchmove touchend touchcancel";
9922
9951
  function $n() {
9923
- this.evTarget = Do, this.evWin = Io, this.started = !1, vt.apply(this, arguments);
9952
+ this.evTarget = Io, this.evWin = Mo, this.started = !1, vt.apply(this, arguments);
9924
9953
  }
9925
9954
  x($n, vt, {
9926
9955
  handler: function(d) {
9927
- var v = Ao[d.type];
9956
+ var v = Do[d.type];
9928
9957
  if (v === Q && (this.started = !0), !!this.started) {
9929
- var _ = Mo.call(this, d, v);
9958
+ var _ = ko.call(this, d, v);
9930
9959
  v & ($ | D) && _[0].length - _[1].length === 0 && (this.started = !1), this.callback(this.manager, v, {
9931
9960
  pointers: _[0],
9932
9961
  changedPointers: _[1],
@@ -9936,22 +9965,22 @@ var no = { exports: {} };
9936
9965
  }
9937
9966
  }
9938
9967
  });
9939
- function Mo(u, d) {
9968
+ function ko(u, d) {
9940
9969
  var v = nt(u.touches), _ = nt(u.changedTouches);
9941
9970
  return d & ($ | D) && (v = bt(v.concat(_), "identifier", !0)), [v, _];
9942
9971
  }
9943
- var ko = {
9972
+ var Lo = {
9944
9973
  touchstart: Q,
9945
9974
  touchmove: At,
9946
9975
  touchend: $,
9947
9976
  touchcancel: D
9948
- }, Lo = "touchstart touchmove touchend touchcancel";
9977
+ }, Ro = "touchstart touchmove touchend touchcancel";
9949
9978
  function ns() {
9950
- this.evTarget = Lo, this.targetIds = {}, vt.apply(this, arguments);
9979
+ this.evTarget = Ro, this.targetIds = {}, vt.apply(this, arguments);
9951
9980
  }
9952
9981
  x(ns, vt, {
9953
9982
  handler: function(d) {
9954
- var v = ko[d.type], _ = Ro.call(this, d, v);
9983
+ var v = Lo[d.type], _ = Oo.call(this, d, v);
9955
9984
  _ && this.callback(this.manager, v, {
9956
9985
  pointers: _[0],
9957
9986
  changedPointers: _[1],
@@ -9960,7 +9989,7 @@ var no = { exports: {} };
9960
9989
  });
9961
9990
  }
9962
9991
  });
9963
- function Ro(u, d) {
9992
+ function Oo(u, d) {
9964
9993
  var v = nt(u.touches), _ = this.targetIds;
9965
9994
  if (d & (Q | At) && v.length === 1)
9966
9995
  return _[v[0].identifier] = !0, [v, v];
@@ -9979,7 +10008,7 @@ var no = { exports: {} };
9979
10008
  tt
9980
10009
  ];
9981
10010
  }
9982
- var Oo = 2500, Wn = 25;
10011
+ var No = 2500, Wn = 25;
9983
10012
  function Xs() {
9984
10013
  vt.apply(this, arguments);
9985
10014
  var u = g(this.handler, this);
@@ -9996,8 +10025,8 @@ var no = { exports: {} };
9996
10025
  var I = _.pointerType == z, k = _.pointerType == Et;
9997
10026
  if (!(k && _.sourceCapabilities && _.sourceCapabilities.firesTouchEvents)) {
9998
10027
  if (I)
9999
- No.call(this, v, _);
10000
- else if (k && Fo.call(this, _))
10028
+ Fo.call(this, v, _);
10029
+ else if (k && Yo.call(this, _))
10001
10030
  return;
10002
10031
  this.callback(d, v, _);
10003
10032
  }
@@ -10009,7 +10038,7 @@ var no = { exports: {} };
10009
10038
  this.touch.destroy(), this.mouse.destroy();
10010
10039
  }
10011
10040
  });
10012
- function No(u, d) {
10041
+ function Fo(u, d) {
10013
10042
  u & Q ? (this.primaryTouch = d.changedPointers[0].identifier, Jn.call(this, d)) : u & ($ | D) && Jn.call(this, d);
10014
10043
  }
10015
10044
  function Jn(u) {
@@ -10021,10 +10050,10 @@ var no = { exports: {} };
10021
10050
  var k = _.indexOf(v);
10022
10051
  k > -1 && _.splice(k, 1);
10023
10052
  };
10024
- setTimeout(I, Oo);
10053
+ setTimeout(I, No);
10025
10054
  }
10026
10055
  }
10027
- function Fo(u) {
10056
+ function Yo(u) {
10028
10057
  for (var d = u.srcEvent.clientX, v = u.srcEvent.clientY, _ = 0; _ < this.lastTouches.length; _++) {
10029
10058
  var I = this.lastTouches[_], k = Math.abs(d - I.x), F = Math.abs(v - I.y);
10030
10059
  if (k <= Wn && F <= Wn)
@@ -10032,7 +10061,7 @@ var no = { exports: {} };
10032
10061
  }
10033
10062
  return !1;
10034
10063
  }
10035
- var Zn = ct(o.style, "touchAction"), Kn = Zn !== i, Qn = "compute", ti = "auto", Bs = "manipulation", ae = "none", Le = "pan-x", Re = "pan-y", is = Uo();
10064
+ var Zn = ct(o.style, "touchAction"), Kn = Zn !== i, Qn = "compute", ti = "auto", Bs = "manipulation", ae = "none", Le = "pan-x", Re = "pan-y", is = Xo();
10036
10065
  function zs(u, d) {
10037
10066
  this.manager = u, this.set(d);
10038
10067
  }
@@ -10058,7 +10087,7 @@ var no = { exports: {} };
10058
10087
  var u = [];
10059
10088
  return w(this.manager.recognizers, function(d) {
10060
10089
  p(d.options.enable, [d]) && (u = u.concat(d.getTouchAction()));
10061
- }), Yo(u.join(" "));
10090
+ }), Uo(u.join(" "));
10062
10091
  },
10063
10092
  /**
10064
10093
  * this method is called on each input cycle and provides the preventing of the browser behavior
@@ -10087,13 +10116,13 @@ var no = { exports: {} };
10087
10116
  this.manager.session.prevented = !0, u.preventDefault();
10088
10117
  }
10089
10118
  };
10090
- function Yo(u) {
10119
+ function Uo(u) {
10091
10120
  if (G(u, ae))
10092
10121
  return ae;
10093
10122
  var d = G(u, Le), v = G(u, Re);
10094
10123
  return d && v ? ae : d || v ? d ? Le : Re : G(u, Bs) ? Bs : ti;
10095
10124
  }
10096
- function Uo() {
10125
+ function Xo() {
10097
10126
  if (!Kn)
10098
10127
  return !1;
10099
10128
  var u = {}, d = t.CSS && t.CSS.supports;
@@ -10589,9 +10618,9 @@ var no = { exports: {} };
10589
10618
  tapHighlightColor: "rgba(0,0,0,0)"
10590
10619
  }
10591
10620
  };
10592
- var Xo = 1, ni = 2;
10621
+ var Bo = 1, ni = 2;
10593
10622
  function Hs(u, d) {
10594
- this.options = P({}, Bt.defaults, d || {}), this.options.inputTarget = this.options.inputTarget || u, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = u, this.input = go(this), this.touchAction = new zs(this, this.options.touchAction), ii(this, !0), w(this.options.recognizers, function(v) {
10623
+ this.options = P({}, Bt.defaults, d || {}), this.options.inputTarget = this.options.inputTarget || u, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = u, this.input = yo(this), this.touchAction = new zs(this, this.options.touchAction), ii(this, !0), w(this.options.recognizers, function(v) {
10595
10624
  var _ = this.add(new v[0](v[1]));
10596
10625
  v[2] && _.recognizeWith(v[2]), v[3] && _.requireFailure(v[3]);
10597
10626
  }, this);
@@ -10612,7 +10641,7 @@ var no = { exports: {} };
10612
10641
  * @param {Boolean} [force]
10613
10642
  */
10614
10643
  stop: function(u) {
10615
- this.session.stopped = u ? ni : Xo;
10644
+ this.session.stopped = u ? ni : Bo;
10616
10645
  },
10617
10646
  /**
10618
10647
  * run the recognizers!
@@ -10705,7 +10734,7 @@ var no = { exports: {} };
10705
10734
  * @param {Object} data
10706
10735
  */
10707
10736
  emit: function(u, d) {
10708
- this.options.domEvents && Bo(u, d);
10737
+ this.options.domEvents && zo(u, d);
10709
10738
  var v = this.handlers[u] && this.handlers[u].slice();
10710
10739
  if (!(!v || !v.length)) {
10711
10740
  d.type = u, d.preventDefault = function() {
@@ -10732,7 +10761,7 @@ var no = { exports: {} };
10732
10761
  }), d || (u.oldCssProps = {});
10733
10762
  }
10734
10763
  }
10735
- function Bo(u, d) {
10764
+ function zo(u, d) {
10736
10765
  var v = e.createEvent("Event");
10737
10766
  v.initEvent(u, !0, !0), v.gesture = d, d.target.dispatchEvent(v);
10738
10767
  }
@@ -10782,15 +10811,15 @@ var no = { exports: {} };
10782
10811
  bindFn: g,
10783
10812
  prefixed: ct
10784
10813
  });
10785
- var zo = typeof t < "u" ? t : typeof self < "u" ? self : {};
10786
- zo.Hammer = Bt, typeof i == "function" && i.amd ? i(function() {
10814
+ var Go = typeof t < "u" ? t : typeof self < "u" ? self : {};
10815
+ Go.Hammer = Bt, typeof i == "function" && i.amd ? i(function() {
10787
10816
  return Bt;
10788
10817
  }) : n.exports ? n.exports = Bt : t[s] = Bt;
10789
10818
  })(window, document, "Hammer");
10790
- })(no);
10791
- var Uc = no.exports;
10792
- const Xc = /* @__PURE__ */ Ki(Uc);
10793
- function tf() {
10819
+ })(io);
10820
+ var Bc = io.exports;
10821
+ const zc = /* @__PURE__ */ Ki(Bc);
10822
+ function nf() {
10794
10823
  const n = window.screen;
10795
10824
  return {
10796
10825
  screenWidth: n.width,
@@ -10826,7 +10855,7 @@ function Fs() {
10826
10855
  offsetParent: n.offsetParent
10827
10856
  };
10828
10857
  }
10829
- function ef() {
10858
+ function rf() {
10830
10859
  const n = document.body;
10831
10860
  return {
10832
10861
  clientWidth: n.clientWidth,
@@ -10846,7 +10875,7 @@ function ef() {
10846
10875
  offsetParent: n.offsetParent
10847
10876
  };
10848
10877
  }
10849
- function sf() {
10878
+ function of() {
10850
10879
  return typeof window.innerWidth == "number" ? {
10851
10880
  width: window.innerWidth,
10852
10881
  height: window.innerHeight
@@ -10858,7 +10887,7 @@ function sf() {
10858
10887
  height: document.body.clientHeight
10859
10888
  };
10860
10889
  }
10861
- function nf() {
10890
+ function af() {
10862
10891
  const { scrollWidth: n, scrollHeight: t } = Fs();
10863
10892
  return {
10864
10893
  // width: Math.min(scrollWidth, contentWidth),
@@ -10866,7 +10895,7 @@ function nf() {
10866
10895
  height: t
10867
10896
  };
10868
10897
  }
10869
- function Bc(n) {
10898
+ function Gc(n) {
10870
10899
  const { top: t, left: e, width: s, height: i } = n.getBoundingClientRect(), { scrollLeft: r, scrollTop: o } = Fs();
10871
10900
  return {
10872
10901
  x: e + r,
@@ -10875,7 +10904,7 @@ function Bc(n) {
10875
10904
  height: i
10876
10905
  };
10877
10906
  }
10878
- function rf(n) {
10907
+ function hf(n) {
10879
10908
  let t = n, e = 0, s = 0;
10880
10909
  for (; t !== null; )
10881
10910
  e += t.offsetLeft, s += t.offsetTop, t.offsetParent instanceof HTMLElement ? t = t.offsetParent : t = null;
@@ -10886,10 +10915,10 @@ function rf(n) {
10886
10915
  height: n.offsetHeight
10887
10916
  };
10888
10917
  }
10889
- function zc(n) {
10918
+ function Vc(n) {
10890
10919
  return n.getBoundingClientRect();
10891
10920
  }
10892
- function of(n) {
10921
+ function cf(n) {
10893
10922
  const t = n.getBoundingClientRect();
10894
10923
  return {
10895
10924
  x: n.offsetLeft,
@@ -10898,13 +10927,13 @@ function of(n) {
10898
10927
  height: t.height || t.bottom - t.top
10899
10928
  };
10900
10929
  }
10901
- function af() {
10930
+ function lf() {
10902
10931
  const { clientHeight: n, scrollTop: t, scrollHeight: e } = Fs(), s = e - n;
10903
10932
  return s <= 0 ? 0 : t / s * 100;
10904
10933
  }
10905
- function hf(n) {
10934
+ function uf(n) {
10906
10935
  if ("center" in n) {
10907
- const t = n.center, e = zc(n.target);
10936
+ const t = n.center, e = Vc(n.target);
10908
10937
  return {
10909
10938
  x: t.x - e.x,
10910
10939
  y: t.y - e.y
@@ -10915,7 +10944,7 @@ function hf(n) {
10915
10944
  y: n.clientY
10916
10945
  };
10917
10946
  }
10918
- function Gc(n) {
10947
+ function qc(n) {
10919
10948
  if ("center" in n)
10920
10949
  return n.center;
10921
10950
  if (typeof n.pageX == "number" && typeof n.pageY == "number")
@@ -10932,7 +10961,7 @@ function kt(n, t) {
10932
10961
  x: n.offsetX,
10933
10962
  y: n.offsetY
10934
10963
  };
10935
- const e = Gc(n), s = Bc(
10964
+ const e = qc(n), s = Gc(
10936
10965
  t || n.target
10937
10966
  );
10938
10967
  return {
@@ -10940,7 +10969,7 @@ function kt(n, t) {
10940
10969
  y: e.y - s.y
10941
10970
  };
10942
10971
  }
10943
- class cf extends As {
10972
+ class ff extends As {
10944
10973
  // [idx: string]: any;
10945
10974
  container;
10946
10975
  width;
@@ -10950,9 +10979,9 @@ class cf extends As {
10950
10979
  hammer;
10951
10980
  removes = [];
10952
10981
  constructor(t = document.documentElement, e = !0, s) {
10953
- super(), this.container = t, this.width = t.offsetWidth, this.height = t.offsetHeight, this.hammer = new Xc(this.container), e && this.start(s);
10982
+ super(), this.container = t, this.width = t.offsetWidth, this.height = t.offsetHeight, this.hammer = new zc(this.container), e && this.start(s);
10954
10983
  }
10955
- emitDebounce = ha(
10984
+ emitDebounce = ca(
10956
10985
  (t, ...e) => super.emit(t, ...e),
10957
10986
  50
10958
10987
  );
@@ -11117,7 +11146,7 @@ class cf extends As {
11117
11146
  return this.addRemoves(s), s;
11118
11147
  }
11119
11148
  registerResizeObserver() {
11120
- const { on: t, destroy: e } = kc(this.container), s = t((r, o) => {
11149
+ const { on: t, destroy: e } = Rc(this.container), s = t((r, o) => {
11121
11150
  this.width = r, this.height = o, this.emit("resize", r, o);
11122
11151
  }), i = () => {
11123
11152
  s(), e();
@@ -11303,7 +11332,7 @@ class Cs {
11303
11332
  document.addEventListener("click", e), document.addEventListener("touchend", e);
11304
11333
  }
11305
11334
  }
11306
- class Vc extends As {
11335
+ class jc extends As {
11307
11336
  source;
11308
11337
  raw = "";
11309
11338
  mode = "text";
@@ -11317,7 +11346,7 @@ class Vc extends As {
11317
11346
  super(), this.source = t;
11318
11347
  }
11319
11348
  parse() {
11320
- const t = Vo(this.source);
11349
+ const t = qo(this.source);
11321
11350
  if (t === 0) {
11322
11351
  this.emit("finish");
11323
11352
  return;
@@ -11514,7 +11543,7 @@ function Ni(n) {
11514
11543
  return n.charAt(0) == "#" ? n.charAt(1).toLowerCase() == "x" ? e = parseInt(n.substring(2), 16) : e = parseInt(n.substring(1), 10) : e = t[n], e ? String.fromCharCode(e) : "&" + n;
11515
11544
  }
11516
11545
  var Fi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
11517
- function qc(n, t = {}) {
11546
+ function Hc(n, t = {}) {
11518
11547
  var e = 1, s = 1;
11519
11548
  function i(L) {
11520
11549
  var M = L.match(/\n/g);
@@ -11791,7 +11820,7 @@ function xn(n, t) {
11791
11820
  value: t || null
11792
11821
  }), n;
11793
11822
  }
11794
- class jc extends Vc {
11823
+ class $c extends jc {
11795
11824
  currentItem = {};
11796
11825
  items = [];
11797
11826
  groups = [];
@@ -11810,7 +11839,7 @@ class jc extends Vc {
11810
11839
  }), this.on("text", (e) => {
11811
11840
  if (this.currentItem.type == "style") {
11812
11841
  try {
11813
- const s = qc(e);
11842
+ const s = Hc(e);
11814
11843
  for (const i of s.stylesheet.rules)
11815
11844
  for (const r of i.declarations)
11816
11845
  for (const o of i.selectors)
@@ -11990,7 +12019,7 @@ const an = [
11990
12019
  "font-weight",
11991
12020
  "letter-spacing"
11992
12021
  ];
11993
- class lf {
12022
+ class df {
11994
12023
  app;
11995
12024
  rootEl;
11996
12025
  ue;
@@ -12128,7 +12157,7 @@ class lf {
12128
12157
  return this.ue.insert(i), i;
12129
12158
  }
12130
12159
  ellipse(t, e, s, i) {
12131
- return this.path(new $c({ x: t, y: e, rx: s, ry: i }));
12160
+ return this.path(new Jc({ x: t, y: e, rx: s, ry: i }));
12132
12161
  }
12133
12162
  ellipseEl(t, e, s, i) {
12134
12163
  const r = yt.createSVGElement("ellipse", {
@@ -12180,14 +12209,14 @@ class lf {
12180
12209
  }), this.ue.insert(o), o;
12181
12210
  }
12182
12211
  }
12183
- class uf extends ht {
12212
+ class mf extends ht {
12184
12213
  svgWidth = 0;
12185
12214
  svgHeight = 0;
12186
12215
  width = 0;
12187
12216
  height = 0;
12188
12217
  constructor(t) {
12189
12218
  super(t);
12190
- const e = new jc(t.svg).parse();
12219
+ const e = new $c(t.svg).parse();
12191
12220
  for (let s = 0, i = e.length; s < i; s++) {
12192
12221
  const r = e[s];
12193
12222
  if (r.type == "viewbox" && r.width && r.height) {
@@ -12212,7 +12241,7 @@ class uf extends ht {
12212
12241
  c.push(y), y[0].toLowerCase() == "z" && (h.push(c), c = []);
12213
12242
  }
12214
12243
  c.length && h.push(c), h.forEach((l) => {
12215
- const f = Vr(r.transform ?? "");
12244
+ const f = qr(r.transform ?? "");
12216
12245
  f.scale(
12217
12246
  this.width && this.svgWidth ? this.width / this.svgWidth : 1
12218
12247
  ), this.addShape(
@@ -12345,7 +12374,7 @@ class ee extends q {
12345
12374
  this.x + this.radius > r ? (this.x = r - this.radius, this.vx *= e) : this.x - this.radius < s && (this.x = s + this.radius, this.vx *= e), this.y + this.radius > o ? (this.y = o - this.radius, this.vy *= e) : this.y - this.radius < i && (this.y = i + this.radius, this.vy *= e);
12346
12375
  }
12347
12376
  }
12348
- class Hc extends q {
12377
+ class Wc extends q {
12349
12378
  points;
12350
12379
  isStraight;
12351
12380
  constructor(t) {
@@ -12541,7 +12570,7 @@ class ne extends q {
12541
12570
  return t >= this.x && t <= this.x + this.width && e >= this.y && e <= this.y + this.height;
12542
12571
  }
12543
12572
  }
12544
- class $c extends q {
12573
+ class Jc extends q {
12545
12574
  rx;
12546
12575
  ry;
12547
12576
  constructor(t) {
@@ -12567,7 +12596,7 @@ class $c extends q {
12567
12596
  t.beginPath(), t.ellipse(0, 0, this.rx, this.ry, 0, 0, 2 * Math.PI, !0), t.closePath();
12568
12597
  }
12569
12598
  }
12570
- class ff extends q {
12599
+ class pf extends q {
12571
12600
  constructor(t) {
12572
12601
  super(t);
12573
12602
  }
@@ -12588,7 +12617,7 @@ class ff extends q {
12588
12617
  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();
12589
12618
  }
12590
12619
  }
12591
- class df extends q {
12620
+ class gf extends q {
12592
12621
  constructor(t) {
12593
12622
  super(t);
12594
12623
  }
@@ -12613,7 +12642,7 @@ class df extends q {
12613
12642
  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();
12614
12643
  }
12615
12644
  }
12616
- class mf extends q {
12645
+ class yf extends q {
12617
12646
  rx;
12618
12647
  ry;
12619
12648
  constructor(t) {
@@ -12634,7 +12663,7 @@ class mf extends q {
12634
12663
  ];
12635
12664
  }
12636
12665
  }
12637
- class pf extends q {
12666
+ class wf extends q {
12638
12667
  rx;
12639
12668
  ry;
12640
12669
  constructor(t) {
@@ -12671,7 +12700,7 @@ class pf extends q {
12671
12700
  ];
12672
12701
  }
12673
12702
  }
12674
- class gf extends q {
12703
+ class xf extends q {
12675
12704
  r;
12676
12705
  constructor(t) {
12677
12706
  super(t), this.r = t?.r || 20;
@@ -12685,7 +12714,7 @@ class gf extends q {
12685
12714
  return t;
12686
12715
  }
12687
12716
  }
12688
- class yf extends q {
12717
+ class bf extends q {
12689
12718
  constructor(t) {
12690
12719
  super(t);
12691
12720
  }
@@ -12701,12 +12730,12 @@ class yf extends q {
12701
12730
  ];
12702
12731
  }
12703
12732
  }
12704
- class wf extends q {
12733
+ class vf extends q {
12705
12734
  constructor(t) {
12706
12735
  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";
12707
12736
  }
12708
12737
  }
12709
- class xf extends ht {
12738
+ class Sf extends ht {
12710
12739
  constructor(t) {
12711
12740
  super(t);
12712
12741
  const e = new Te({
@@ -12791,7 +12820,7 @@ class Ps extends q {
12791
12820
  return o;
12792
12821
  }
12793
12822
  }
12794
- class Wc extends ht {
12823
+ class Zc extends ht {
12795
12824
  text;
12796
12825
  bg;
12797
12826
  padding;
@@ -12828,7 +12857,7 @@ class Wc extends ht {
12828
12857
  });
12829
12858
  }
12830
12859
  }
12831
- class bf extends ht {
12860
+ class Tf extends ht {
12832
12861
  radius;
12833
12862
  expandRaidus;
12834
12863
  startDegree;
@@ -12855,7 +12884,7 @@ class bf extends ht {
12855
12884
  textShape;
12856
12885
  tipShape;
12857
12886
  constructor(t) {
12858
- super(t), this.radius = t.radius, this.expandRaidus = t.expandRaidus ?? 20, this.startDegree = t.startDegree, this.endDegree = t.endDegree, this.text = t.text || "", this.defaultShowText = typeof t?.defaultShowText == "boolean" ? t.defaultShowText : !!this.text, this.tip = t.tip || "", this.sectorArc = new Jc({
12887
+ super(t), this.radius = t.radius, this.expandRaidus = t.expandRaidus ?? 20, this.startDegree = t.startDegree, this.endDegree = t.endDegree, this.text = t.text || "", this.defaultShowText = typeof t?.defaultShowText == "boolean" ? t.defaultShowText : !!this.text, this.tip = t.tip || "", this.sectorArc = new Kc({
12859
12888
  x: this.x,
12860
12889
  y: this.y,
12861
12890
  radius: this.radius,
@@ -12888,7 +12917,7 @@ class bf extends ht {
12888
12917
  textAnchor: this.direction == 1 ? "start" : "end"
12889
12918
  },
12890
12919
  isShow: this.defaultShowText
12891
- }), this.text && (this.addShape(this.line12), this.addShape(this.line23), this.addShape(this.textShape)), this.tipShape = new Wc({
12920
+ }), this.text && (this.addShape(this.line12), this.addShape(this.line23), this.addShape(this.textShape)), this.tipShape = new Zc({
12892
12921
  x: 0,
12893
12922
  y: 0,
12894
12923
  text: this.tip,
@@ -12909,7 +12938,7 @@ class bf extends ht {
12909
12938
  this.p2.x = this.x + r, this.p2.y = this.y + o, this.line12.x = this.p1.x, this.line12.y = this.p1.y, this.line12.toX = this.p2.x, this.line12.toY = this.p2.y, this.direction = this.p1.x > this.x ? 1 : -1, this.p3.x = this.p2.x + this.direction * this.p3Offset, this.p3.y = this.p2.y, this.p4.x = this.p3.x + this.direction * this.p4Offset, this.p4.y = this.p3.y, this.line23.x = this.p2.x, this.line23.y = this.p2.y, this.line23.toX = this.p3.x, this.line23.toY = this.p3.y, this.textShape.x = this.p4.x, this.textShape.y = this.p4.y, this.textShape.setAttr("textAnchor", this.direction == 1 ? "start" : "end"), this.sectorArc.isMouseIn ? (this.tipShape.isShow = !0, this.tipShape.x = t.x, this.tipShape.y = t.y) : (this.tipShape.isShow = !1, this.tipShape.x = t.x, this.tipShape.y = t.y);
12910
12939
  }
12911
12940
  }
12912
- class Jc extends q {
12941
+ class Kc extends q {
12913
12942
  radius;
12914
12943
  realRadius;
12915
12944
  expandRaidus;
@@ -12970,7 +12999,7 @@ class Jc extends q {
12970
12999
  return s <= this.radius && i >= this.startDegree && i <= this.endDegree;
12971
13000
  }
12972
13001
  }
12973
- class vf extends ht {
13002
+ class Cf extends ht {
12974
13003
  showFlame;
12975
13004
  ship;
12976
13005
  flame;
@@ -12997,14 +13026,14 @@ class vf extends ht {
12997
13026
  });
12998
13027
  }
12999
13028
  }
13000
- class Sf extends ht {
13029
+ class Pf extends ht {
13001
13030
  value;
13002
13031
  backgroundRect;
13003
13032
  occupyRect;
13004
13033
  handle;
13005
13034
  constructor(t) {
13006
13035
  super(t);
13007
- const e = t?.min || 0, s = t?.max || 100, i = t?.step || 1, r = Zo(e, s, i);
13036
+ const e = t?.min || 0, s = t?.max || 100, i = t?.step || 1, r = Ko(e, s, i);
13008
13037
  this.value = r(
13009
13038
  typeof t?.defaultValue == "number" ? j(t.defaultValue, e, s) : e
13010
13039
  );
@@ -13037,7 +13066,7 @@ class Sf extends ht {
13037
13066
  diffXInGroup: a * o,
13038
13067
  diffYInGroup: l,
13039
13068
  radius: c,
13040
- alongPath: new Ac({
13069
+ alongPath: new Ic({
13041
13070
  x: this.x,
13042
13071
  y: this.y + l,
13043
13072
  d: [
@@ -13057,7 +13086,7 @@ class Sf extends ht {
13057
13086
  });
13058
13087
  }
13059
13088
  }
13060
- class Tf extends ht {
13089
+ class Ef extends ht {
13061
13090
  width;
13062
13091
  height;
13063
13092
  cornerRadius;
@@ -13142,7 +13171,7 @@ class Yi extends q {
13142
13171
  );
13143
13172
  }
13144
13173
  }
13145
- class Cf extends ht {
13174
+ class _f extends ht {
13146
13175
  percent = 0;
13147
13176
  ringBg;
13148
13177
  ring;
@@ -13253,7 +13282,7 @@ class Cf extends ht {
13253
13282
  }
13254
13283
  }
13255
13284
  }
13256
- class Zc extends q {
13285
+ class Qc extends q {
13257
13286
  x;
13258
13287
  y;
13259
13288
  z;
@@ -13268,14 +13297,14 @@ class Zc extends q {
13268
13297
  return [];
13269
13298
  }
13270
13299
  }
13271
- const Kc = Zc;
13272
- class Pf extends q {
13300
+ const tl = Qc;
13301
+ class Af extends q {
13273
13302
  points;
13274
13303
  light;
13275
13304
  constructor(t = []) {
13276
13305
  if (t.length < 3)
13277
13306
  throw new Error("points length must >= 3");
13278
- super(), this.points = t, this.light = new Kc({ x: 0, y: 0, z: 0, brightness: 1 });
13307
+ super(), this.points = t, this.light = new tl({ x: 0, y: 0, z: 0, brightness: 1 });
13279
13308
  }
13280
13309
  toSVGPathData() {
13281
13310
  const t = [];
@@ -13332,7 +13361,7 @@ class Pf extends q {
13332
13361
  return e.r *= s, e.g *= s, e.b *= s, e.toString();
13333
13362
  }
13334
13363
  }
13335
- class Ef extends ht {
13364
+ class Df extends ht {
13336
13365
  fettis = [];
13337
13366
  constructor(t, e, s) {
13338
13367
  super();
@@ -13364,7 +13393,7 @@ class Ef extends ht {
13364
13393
  gravity: 1,
13365
13394
  drift: 0,
13366
13395
  ticks: 200,
13367
- colors: Yc,
13396
+ colors: Xc,
13368
13397
  scalar: 1,
13369
13398
  flat: !1
13370
13399
  },
@@ -13417,7 +13446,7 @@ class Ef extends ht {
13417
13446
  }));
13418
13447
  }
13419
13448
  }
13420
- class io {
13449
+ class ro {
13421
13450
  shapes;
13422
13451
  constructor(t) {
13423
13452
  this.shapes = t;
@@ -13528,7 +13557,7 @@ class io {
13528
13557
  });
13529
13558
  const r = [];
13530
13559
  i.forEach((a) => {
13531
- r.push(new io(a).polymorph());
13560
+ r.push(new ro(a).polymorph());
13532
13561
  });
13533
13562
  const o = new ht();
13534
13563
  return r.forEach((a) => {
@@ -13555,7 +13584,7 @@ class io {
13555
13584
  const a = o / i * 2 * Math.PI, { dx: h, dy: c } = jt(a, s);
13556
13585
  r.push({ x: t + h, y: e + c });
13557
13586
  }
13558
- return new Hc({ points: r });
13587
+ return new Wc({ points: r });
13559
13588
  }
13560
13589
  static generateRosettaShape(t, e, s, i, r) {
13561
13590
  if (r == 0)
@@ -13592,7 +13621,7 @@ class io {
13592
13621
  return new q({ d: xt.fromLines(o) });
13593
13622
  }
13594
13623
  }
13595
- const Qc = {
13624
+ const el = {
13596
13625
  map: /* @__PURE__ */ new Map(),
13597
13626
  // see https://github.com/catdad/canvas-confetti/issues/209
13598
13627
  // creating canvases is actually pretty expensive, so we should create a
@@ -13600,7 +13629,7 @@ const Qc = {
13600
13629
  // a performant manner, but also not store them forever so that we don't
13601
13630
  // have a memory leak
13602
13631
  transform: function(n) {
13603
- if (ec)
13632
+ if (nc)
13604
13633
  return n;
13605
13634
  if (this.map.has(n))
13606
13635
  return this.map.get(n);
@@ -13611,30 +13640,30 @@ const Qc = {
13611
13640
  this.map.clear();
13612
13641
  }
13613
13642
  };
13614
- function _f(n, t, e) {
13643
+ function If(n, t, e) {
13615
13644
  const s = new OffscreenCanvas(n, t), i = s.getContext("2d");
13616
13645
  if (i)
13617
13646
  return e(i), s.transferToImageBitmap();
13618
13647
  }
13619
- function Af(n, t, e) {
13648
+ function Mf(n, t, e) {
13620
13649
  const s = n.createPattern(
13621
- Qc.transform(t),
13650
+ el.transform(t),
13622
13651
  "no-repeat"
13623
13652
  );
13624
13653
  if (s) {
13625
- const i = qr(e);
13654
+ const i = jr(e);
13626
13655
  s.setTransform(i), n.fillStyle = s;
13627
13656
  }
13628
13657
  }
13629
- function tl(n) {
13658
+ function sl(n) {
13630
13659
  return window.URL.createObjectURL(n);
13631
13660
  }
13632
- function Df(n) {
13661
+ function kf(n) {
13633
13662
  return window.URL.revokeObjectURL(n);
13634
13663
  }
13635
13664
  const Ui = new de();
13636
- async function el(n, t = 6e4) {
13637
- const e = typeof n == "string" ? n : tl(n);
13665
+ async function nl(n, t = 6e4) {
13666
+ const e = typeof n == "string" ? n : sl(n);
13638
13667
  return new Promise((s, i) => {
13639
13668
  const r = Ui.get(e);
13640
13669
  if (r)
@@ -13646,7 +13675,7 @@ async function el(n, t = 6e4) {
13646
13675
  width: c,
13647
13676
  height: l,
13648
13677
  aspectRatio: c / l,
13649
- imageData: Lc(o),
13678
+ imageData: Oc(o),
13650
13679
  element: o
13651
13680
  };
13652
13681
  Ui.set(e, f), s(f), o.onerror = o.onload = null;
@@ -13658,7 +13687,7 @@ async function el(n, t = 6e4) {
13658
13687
  }, t);
13659
13688
  });
13660
13689
  }
13661
- async function ro(n = Tt.text, t = ["*"]) {
13690
+ async function oo(n = Tt.text, t = ["*"]) {
13662
13691
  const s = (await Sr(t))[0], i = await Rs(s, n);
13663
13692
  return {
13664
13693
  type: s.type,
@@ -13667,14 +13696,14 @@ async function ro(n = Tt.text, t = ["*"]) {
13667
13696
  data: i
13668
13697
  };
13669
13698
  }
13670
- async function If(n = ["image/*"]) {
13699
+ async function Lf(n = ["image/*"]) {
13671
13700
  const e = (await Sr(n))[0];
13672
13701
  if (!e.type.match(/image\/*/))
13673
13702
  return new Error("Not Image Type!");
13674
13703
  const s = await Rs(
13675
13704
  e,
13676
13705
  Tt.arraybuffer
13677
- ), i = Sn(s), r = await el(i);
13706
+ ), i = Sn(s), r = await nl(i);
13678
13707
  return {
13679
13708
  type: e.type,
13680
13709
  name: e.name,
@@ -13686,22 +13715,22 @@ async function If(n = ["image/*"]) {
13686
13715
  imageData: r.imageData
13687
13716
  };
13688
13717
  }
13689
- function sl(n, t) {
13718
+ function il(n, t) {
13690
13719
  const e = t.ctrl || !1, s = t.shift || !1, i = t.alt || !1;
13691
13720
  return (e === n.metaKey || e === n.ctrlKey) && s === n.shiftKey && i === n.altKey && t.keys.map((r) => r.toLowerCase()).includes(n.key.toLowerCase());
13692
13721
  }
13693
- function nl(n) {
13722
+ function rl(n) {
13694
13723
  const t = [];
13695
- return n.ctrl && t.push(_r() ? "Cmd" : "Ctrl"), n.shift && t.push("Shift"), n.alt && t.push("Alt"), t.push(...n.keys), t;
13724
+ return n.ctrl && t.push(Ar() ? "Cmd" : "Ctrl"), n.shift && t.push("Shift"), n.alt && t.push("Alt"), t.push(...n.keys), t;
13696
13725
  }
13697
- function oo(n, t, e) {
13726
+ function ao(n, t, e) {
13698
13727
  const s = n.target || document || window;
13699
13728
  let i = !1, r = !1;
13700
13729
  const o = pt(
13701
13730
  s,
13702
13731
  "keydown",
13703
13732
  async (h) => {
13704
- r || (i = sl(h, n), i && (h.stopPropagation(), h.preventDefault(), await t()));
13733
+ r || (i = il(h, n), i && (h.stopPropagation(), h.preventDefault(), await t()));
13705
13734
  }
13706
13735
  ), a = pt(
13707
13736
  s,
@@ -13711,7 +13740,7 @@ function oo(n, t, e) {
13711
13740
  }
13712
13741
  );
13713
13742
  return {
13714
- hotKeys: nl(n),
13743
+ hotKeys: rl(n),
13715
13744
  destroy: () => {
13716
13745
  o(), a();
13717
13746
  },
@@ -13719,7 +13748,7 @@ function oo(n, t, e) {
13719
13748
  resume: () => r = !1
13720
13749
  };
13721
13750
  }
13722
- const Mf = {
13751
+ const Rf = {
13723
13752
  BACKSPACE: 8,
13724
13753
  TAB: 9,
13725
13754
  COMMA: 188,
@@ -13737,12 +13766,12 @@ const Mf = {
13737
13766
  RIGHT: 39,
13738
13767
  SPACE: 32
13739
13768
  };
13740
- async function kf(n = { keys: ["o"] }, t = Tt.text) {
13741
- const e = fa(), s = oo(
13769
+ async function Of(n = { keys: ["o"] }, t = Tt.text) {
13770
+ const e = ma(), s = ao(
13742
13771
  n,
13743
13772
  async () => {
13744
13773
  try {
13745
- e.resolve(await ro(t));
13774
+ e.resolve(await oo(t));
13746
13775
  } catch (i) {
13747
13776
  e.reject(i);
13748
13777
  }
@@ -13753,13 +13782,13 @@ async function kf(n = { keys: ["o"] }, t = Tt.text) {
13753
13782
  );
13754
13783
  return await e.promise;
13755
13784
  }
13756
- function Lf(n = { keys: ["o"] }, t = Tt.text) {
13785
+ function Nf(n = { keys: ["o"] }, t = Tt.text) {
13757
13786
  const e = Ae();
13758
- return oo(
13787
+ return ao(
13759
13788
  n,
13760
13789
  async () => {
13761
13790
  try {
13762
- e.emit("file", await ro(t));
13791
+ e.emit("file", await oo(t));
13763
13792
  } catch {
13764
13793
  }
13765
13794
  },
@@ -13774,20 +13803,7 @@ function Lf(n = { keys: ["o"] }, t = Tt.text) {
13774
13803
  }
13775
13804
  };
13776
13805
  }
13777
- function Rf(n) {
13778
- let t = !1;
13779
- function e() {
13780
- if (document.readyState !== "loading") {
13781
- if (t) {
13782
- document.removeEventListener("DOMContentLoaded", e, !1);
13783
- return;
13784
- }
13785
- t = !0, document.removeEventListener("DOMContentLoaded", e, !1), n();
13786
- }
13787
- }
13788
- document.addEventListener("DOMContentLoaded", e, !1), e();
13789
- }
13790
- async function Of(n, t = 6e4) {
13806
+ async function Ff(n, t = 6e4) {
13791
13807
  return new Promise((e, s) => {
13792
13808
  const i = document.createElement("script");
13793
13809
  i.type = "text/javascript", i.async = !1, i.onload = (o) => {
@@ -13801,7 +13817,7 @@ async function Of(n, t = 6e4) {
13801
13817
  document.body.appendChild(i);
13802
13818
  });
13803
13819
  }
13804
- async function Nf(n, t = 6e4) {
13820
+ async function Yf(n, t = 6e4) {
13805
13821
  return new Promise((e, s) => {
13806
13822
  const i = document.createElement("link");
13807
13823
  i.type = "text/css", i.rel = "stylesheet", i.onload = (o) => {
@@ -13815,7 +13831,7 @@ async function Nf(n, t = 6e4) {
13815
13831
  document.getElementsByTagName("head")[0].appendChild(i);
13816
13832
  });
13817
13833
  }
13818
- function Ff() {
13834
+ function Uf() {
13819
13835
  return new Promise((n) => {
13820
13836
  const t = Array.from(
13821
13837
  document.querySelectorAll("link[rel=stylesheet]")
@@ -13834,7 +13850,7 @@ function Xi(n, t) {
13834
13850
  e.style.visibility = "hidden", e.download = t, typeof n == "string" ? e.href = n : e.href = window.URL.createObjectURL(n), e.click();
13835
13851
  }
13836
13852
  const vn = new de();
13837
- async function il(n, t = {
13853
+ async function ol(n, t = {
13838
13854
  responseType: "json"
13839
13855
  }) {
13840
13856
  if (typeof fetch > "u")
@@ -13888,13 +13904,13 @@ async function il(n, t = {
13888
13904
  return o.text();
13889
13905
  }
13890
13906
  } else
13891
- throw new Go(
13907
+ throw new Vo(
13892
13908
  `useFetch for "${o.url}" responded with ${o.status}: ${o.statusText}`,
13893
13909
  o
13894
13910
  );
13895
13911
  }
13896
13912
  const Bi = new de(), hn = new de();
13897
- async function Yf(n, t = {
13913
+ async function Xf(n, t = {
13898
13914
  responseType: "json"
13899
13915
  }) {
13900
13916
  const e = On(n, t);
@@ -13905,14 +13921,14 @@ async function Yf(n, t = {
13905
13921
  const i = hn.get(e);
13906
13922
  if (i)
13907
13923
  return await i;
13908
- const r = il(n, t);
13924
+ const r = ol(n, t);
13909
13925
  hn.set(e, r);
13910
13926
  const o = await r;
13911
13927
  return Bi.set(e, o), hn.delete(e), o;
13912
13928
  } catch {
13913
13929
  }
13914
13930
  }
13915
- function Uf(n, t = {
13931
+ function Bf(n, t = {
13916
13932
  responseType: "json"
13917
13933
  }) {
13918
13934
  const e = vn.get(On(n, t));
@@ -13925,36 +13941,36 @@ function On(n, t = {
13925
13941
  }
13926
13942
  function le(n, t, e) {
13927
13943
  if (t === void 0 && e === void 0)
13928
- return ao(n);
13944
+ return ho(n);
13929
13945
  if (typeof t == "string" && e === void 0)
13930
- return rl(n, t);
13946
+ return al(n, t);
13931
13947
  let s = {};
13932
- typeof t == "object" ? s = t : typeof t == "string" && typeof e == "string" && (s[t] = e), zr(n, (i) => {
13948
+ typeof t == "object" ? s = t : typeof t == "string" && typeof e == "string" && (s[t] = e), Gr(n, (i) => {
13933
13949
  Object.entries(s).forEach(([r, o]) => {
13934
13950
  i.props[r] = o;
13935
13951
  });
13936
13952
  });
13937
13953
  }
13938
- function ao(n) {
13954
+ function ho(n) {
13939
13955
  const t = {};
13940
13956
  for (let e = 0, s = n.attributes, i = s.length; e < i; e++) {
13941
13957
  const r = s[e];
13942
- r.nodeName && r.nodeValue && (r.nodeName === "style" ? t[r.nodeName] = Hr(n) : t[r.nodeName] = r.nodeValue);
13958
+ r.nodeName && r.nodeValue && (r.nodeName === "style" ? t[r.nodeName] = $r(n) : t[r.nodeName] = r.nodeValue);
13943
13959
  }
13944
13960
  return t;
13945
13961
  }
13946
- function rl(n, t) {
13947
- return t === "style" ? Hr(n) : n.getAttribute(mt(t));
13962
+ function al(n, t) {
13963
+ return t === "style" ? $r(n) : n.getAttribute(mt(t));
13948
13964
  }
13949
- function ho(n, t, e) {
13965
+ function co(n, t, e) {
13950
13966
  return n.setAttribute(mt(t), e);
13951
13967
  }
13952
- function Xf(n, t) {
13968
+ function zf(n, t) {
13953
13969
  t.split(/[,\s]+/).forEach((e) => {
13954
13970
  e.trim() != "" && n.removeAttribute(e.trim());
13955
13971
  });
13956
13972
  }
13957
- function Bf(n, t, e) {
13973
+ function Gf(n, t, e) {
13958
13974
  if (typeof t == "string" && (t = _s(t)), (typeof t == "string" || t === void 0) && e === void 0) {
13959
13975
  const s = Object.assign({}, n.dataset);
13960
13976
  return Object.keys(s).forEach((i) => {
@@ -13971,12 +13987,12 @@ function Bf(n, t, e) {
13971
13987
  });
13972
13988
  }
13973
13989
  }
13974
- function zf(n, t) {
13990
+ function Vf(n, t) {
13975
13991
  t.split(/[,\s]+/).forEach((e) => {
13976
13992
  e.trim() != "" && delete n.dataset[e.trim()];
13977
13993
  });
13978
13994
  }
13979
- function co(n, t, e = "toggle") {
13995
+ function lo(n, t, e = "toggle") {
13980
13996
  const s = t.split(/[,\s]+/);
13981
13997
  if (n.classList)
13982
13998
  s.forEach((i) => {
@@ -14009,27 +14025,27 @@ function co(n, t, e = "toggle") {
14009
14025
  );
14010
14026
  }
14011
14027
  }
14012
- function Gf(n, t) {
14013
- co(n, t, "add");
14028
+ function qf(n, t) {
14029
+ lo(n, t, "add");
14014
14030
  }
14015
- function Vf(n, t) {
14016
- co(n, t, "remove");
14031
+ function jf(n, t) {
14032
+ lo(n, t, "remove");
14017
14033
  }
14018
- function qf(n, t) {
14034
+ function Hf(n, t) {
14019
14035
  return new RegExp("(?:^|\\s+)" + t + "(?:\\s+|$)").test(n.className) || !1;
14020
14036
  }
14021
- function jf(n, t) {
14022
- Se(n, "display") == "none" && t === void 0 || t === !0 ? ol(n) : al(n);
14037
+ function $f(n, t) {
14038
+ Se(n, "display") == "none" && t === void 0 || t === !0 ? hl(n) : cl(n);
14023
14039
  }
14024
- function ol(n) {
14025
- jr(
14040
+ function hl(n) {
14041
+ Hr(
14026
14042
  n,
14027
14043
  "display",
14028
14044
  n instanceof HTMLTableRowElement ? "table-row" : n instanceof HTMLTableCellElement ? "table-cell" : "block"
14029
14045
  );
14030
14046
  }
14031
- function al(n) {
14032
- jr(n, "display", "none");
14047
+ function cl(n) {
14048
+ Hr(n, "display", "none");
14033
14049
  }
14034
14050
  function Ot(n) {
14035
14051
  return {
@@ -14092,12 +14108,12 @@ function Ot(n) {
14092
14108
  this.isInputCheckbox() && (n.checked = t);
14093
14109
  },
14094
14110
  insert: (t, e = "append") => {
14095
- typeof t == "string" ? n[e](hl(t)) : n[e](t);
14111
+ typeof t == "string" ? n[e](ll(t)) : n[e](t);
14096
14112
  },
14097
14113
  html: function(t) {
14098
14114
  if (typeof t == "string") {
14099
14115
  n.innerHTML = t;
14100
- const e = lo(n);
14116
+ const e = uo(n);
14101
14117
  e != n && (n = e);
14102
14118
  } else
14103
14119
  this.insert(t, "replaceWith");
@@ -14123,23 +14139,23 @@ function Ot(n) {
14123
14139
  remove: () => n.remove()
14124
14140
  };
14125
14141
  }
14126
- function hl(n) {
14142
+ function ll(n) {
14127
14143
  const t = document.createElement("template");
14128
14144
  return t.innerHTML = n, t.content.childNodes.forEach((e) => {
14129
- const s = lo(e);
14145
+ const s = uo(e);
14130
14146
  s != e && t.content.replaceChild(s, e);
14131
14147
  }), t.content;
14132
14148
  }
14133
- function Hf(n) {
14149
+ function Wf(n) {
14134
14150
  return document.createElement.call(document, n);
14135
14151
  }
14136
- function $f(n) {
14152
+ function Jf(n) {
14137
14153
  return document.createElementNS("http://www.w3.org/1999/xhtml", n);
14138
14154
  }
14139
- function Wf(n) {
14155
+ function Zf(n) {
14140
14156
  return document.createTextNode.call(document, n);
14141
14157
  }
14142
- function lo(n) {
14158
+ function uo(n) {
14143
14159
  return n.tagName == "SCRIPT" && (n = zi(n)), n.querySelectorAll && n.querySelectorAll("script").forEach((t) => {
14144
14160
  t.parentNode?.replaceChild(zi(t), t);
14145
14161
  }), n;
@@ -14152,7 +14168,7 @@ function zi(n) {
14152
14168
  t.setAttribute(e[s].name, e[s].value);
14153
14169
  return t;
14154
14170
  }
14155
- function Jf(n) {
14171
+ function Kf(n) {
14156
14172
  if (document.implementation.hasFeature("MouseEvents", "2.0"))
14157
14173
  return n.button;
14158
14174
  switch (n.button) {
@@ -14169,11 +14185,11 @@ function Jf(n) {
14169
14185
  return 1;
14170
14186
  }
14171
14187
  }
14172
- function Zf(n, t = n.target) {
14188
+ function Qf(n, t = n.target) {
14173
14189
  const e = n.relatedTarget || n.fromElement, s = n.relatedTarget || n.toElement;
14174
14190
  return t === null || e === null || s === null ? !0 : n.type == "mouseover" ? !Ot(t).contains(e) && e !== t : !Ot(t).contains(s) && s !== t;
14175
14191
  }
14176
- function Kf(n, t = "http://test.com/localstorage.html") {
14192
+ function td(n, t = "http://test.com/localstorage.html") {
14177
14193
  const e = document.createElement("iframe");
14178
14194
  e.src = t, document.body.append(e), setTimeout(function() {
14179
14195
  e.contentWindow?.postMessage(n, t);
@@ -14181,7 +14197,7 @@ function Kf(n, t = "http://test.com/localstorage.html") {
14181
14197
  e.remove();
14182
14198
  }, 6e3);
14183
14199
  }
14184
- async function Qf(n) {
14200
+ async function ed(n) {
14185
14201
  if (navigator.clipboard)
14186
14202
  return await navigator.clipboard.writeText(n);
14187
14203
  {
@@ -14189,7 +14205,7 @@ async function Qf(n) {
14189
14205
  return t.value = n, t.style.opacity = "0", t.style.position = "fixed", t.style.top = "0", t.style.left = "0", t.focus(), t.select(), document.execCommand("copy");
14190
14206
  }
14191
14207
  }
14192
- function td() {
14208
+ function sd() {
14193
14209
  return "geolocation" in navigator ? new Promise((n, t) => {
14194
14210
  navigator.geolocation.getCurrentPosition(
14195
14211
  (e) => {
@@ -14202,10 +14218,10 @@ function td() {
14202
14218
  );
14203
14219
  }) : Promise.reject("Geolocation is not available.");
14204
14220
  }
14205
- function ed(n = 200) {
14221
+ function nd(n = 200) {
14206
14222
  "vibrate" in navigator ? window.navigator.vibrate(n) : console.error("Your device is not support vibrate on this browser.");
14207
14223
  }
14208
- function sd(n) {
14224
+ function id(n) {
14209
14225
  const t = new Proxy(window, {
14210
14226
  get(e, s, i) {
14211
14227
  if (typeof s == "string" && ["open", "location", "document"].includes(s))
@@ -14218,7 +14234,7 @@ function sd(n) {
14218
14234
  });
14219
14235
  new Function("window", `with(window) { ${n} }`)(t, null);
14220
14236
  }
14221
- const cl = {
14237
+ const ul = {
14222
14238
  name: "zh-cn",
14223
14239
  weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
14224
14240
  weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
@@ -14268,7 +14284,7 @@ const cl = {
14268
14284
  const e = n * 100 + t;
14269
14285
  return e < 600 ? "凌晨" : e < 900 ? "早上" : e < 1100 ? "上午" : e < 1300 ? "中午" : e < 1800 ? "下午" : "晚上";
14270
14286
  }
14271
- }, ll = {
14287
+ }, fl = {
14272
14288
  name: "en",
14273
14289
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split(
14274
14290
  "_"
@@ -14282,9 +14298,9 @@ const cl = {
14282
14298
  }
14283
14299
  }, ce = new de();
14284
14300
  let ds = "zh-cn";
14285
- uo(ll);
14286
- uo(cl);
14287
- function uo(n, t) {
14301
+ fo(fl);
14302
+ fo(ul);
14303
+ function fo(n, t) {
14288
14304
  if (!n)
14289
14305
  return ce.get(ds);
14290
14306
  let e;
@@ -14313,7 +14329,7 @@ function we(n, t = {}, e = [], s) {
14313
14329
  function Nn(n) {
14314
14330
  return we(
14315
14331
  n.tagName,
14316
- ao(n),
14332
+ ho(n),
14317
14333
  Array.from(n.children).map((t) => Nn(t)),
14318
14334
  n
14319
14335
  );
@@ -14324,7 +14340,7 @@ function Ve(n, t = document.documentElement) {
14324
14340
  if (n.el = document.createElement(n.tag), n.props)
14325
14341
  for (const e in n.props) {
14326
14342
  const s = n.props[e];
14327
- e.startsWith("on") ? n.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? Rn(n.el, n.props[e]) : ho(n.el, e, s);
14343
+ e.startsWith("on") ? n.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? Rn(n.el, n.props[e]) : co(n.el, e, s);
14328
14344
  }
14329
14345
  return n.children && (typeof n.children == "string" ? n.el.appendChild(document.createTextNode(n.children)) : n.children.forEach((e) => {
14330
14346
  Ve(e, n.el);
@@ -14351,10 +14367,10 @@ function Fn(n, t) {
14351
14367
  e.removeEventListener(l, h), e.addEventListener(l, c);
14352
14368
  } else if (a === "style") {
14353
14369
  for (const l in h)
14354
- l in c || $r(e, l);
14370
+ l in c || Wr(e, l);
14355
14371
  Rn(e, c);
14356
14372
  } else
14357
- ho(e, a, c);
14373
+ co(e, a, c);
14358
14374
  }
14359
14375
  const r = n.children || [], o = t.children || [];
14360
14376
  if (typeof o == "string")
@@ -14374,7 +14390,7 @@ function Fn(n, t) {
14374
14390
  });
14375
14391
  }
14376
14392
  }
14377
- class nd {
14393
+ class rd {
14378
14394
  state;
14379
14395
  el;
14380
14396
  constructor(t, e) {
@@ -14408,7 +14424,7 @@ class nd {
14408
14424
  );
14409
14425
  }), l.addEventListener("change", (f) => {
14410
14426
  const y = f.target, w = y.value;
14411
- y.checked ? Jo(this.getStateValue(c), w) : xe(this.getStateValue(c), w);
14427
+ y.checked ? Zo(this.getStateValue(c), w) : xe(this.getStateValue(c), w);
14412
14428
  });
14413
14429
  } else if (Ot(s).isSelect()) {
14414
14430
  const l = s;
@@ -14506,7 +14522,7 @@ class nd {
14506
14522
  })`;
14507
14523
  }
14508
14524
  }
14509
- class id {
14525
+ class od {
14510
14526
  requestid = 0;
14511
14527
  url;
14512
14528
  socket;
@@ -14566,7 +14582,7 @@ class id {
14566
14582
  return delete this.waitings[this.requestid], r;
14567
14583
  }
14568
14584
  }
14569
- function rd(n) {
14585
+ function ad(n) {
14570
14586
  const t = document.documentElement, e = window.top === window.self ? window.devicePixelRatio : 1;
14571
14587
  t.dataset.dpr = e;
14572
14588
  let s = 100;
@@ -14584,7 +14600,7 @@ function rd(n) {
14584
14600
  !1
14585
14601
  );
14586
14602
  }
14587
- function od(n, t = import.meta.url) {
14603
+ function hd(n, t = import.meta.url) {
14588
14604
  return new URL(n, t);
14589
14605
  }
14590
14606
  function Yn(n = window.location.href) {
@@ -14604,15 +14620,15 @@ function Yn(n = window.location.href) {
14604
14620
  };
14605
14621
  }
14606
14622
  }
14607
- function ad(n) {
14623
+ function cd(n) {
14608
14624
  const t = Yn(n);
14609
14625
  return t.protocol === "http:" || t.protocol === "https:";
14610
14626
  }
14611
- function ul(n = window.location.href) {
14627
+ function dl(n = window.location.href) {
14612
14628
  const t = Yn(n), e = t.href.indexOf(t.hash);
14613
14629
  return t.hash && e >= 0 ? t.href.substring(0, e) : t.href;
14614
14630
  }
14615
- function hd(n = Yn().search) {
14631
+ function ld(n = Yn().search) {
14616
14632
  n = decodeURIComponent(n).replace(/^[#?&]/, "");
14617
14633
  const t = {};
14618
14634
  if (!n)
@@ -14623,34 +14639,34 @@ function hd(n = Yn().search) {
14623
14639
  t[s[1]] = s[2], s = e.exec(n);
14624
14640
  return t;
14625
14641
  }
14626
- const cd = (n = window.location.href) => JSON.parse(
14642
+ const ud = (n = window.location.href) => JSON.parse(
14627
14643
  '{"' + decodeURI(n.split("?")[1]).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}'
14628
14644
  );
14629
14645
  function Un(n) {
14630
14646
  return "?" + Object.entries(n).map(([t, e]) => `${encodeURIComponent(t)}=${encodeURIComponent(e)}`).join("&");
14631
14647
  }
14632
- function fl(n) {
14648
+ function ml(n) {
14633
14649
  return "?" + [...n.entries()].map(
14634
14650
  (t) => encodeURIComponent(t[0]) + "=" + encodeURIComponent(t[1] instanceof File ? t[1].name : t[1])
14635
14651
  ).join("&");
14636
14652
  }
14637
- function dl(n, t) {
14653
+ function pl(n, t) {
14638
14654
  return n.replace(/(?:\?.*)?$/, t.replace(/^[&?]/, "?"));
14639
14655
  }
14640
- function ld(n, t) {
14641
- return dl(n, Un(t));
14656
+ function fd(n, t) {
14657
+ return pl(n, Un(t));
14642
14658
  }
14643
- function fo(n, t) {
14659
+ function mo(n, t) {
14644
14660
  return n + t.replace(/^[&?]/, n.indexOf("?") >= 0 ? "&" : "?");
14645
14661
  }
14646
- function ud(n, t) {
14647
- return fo(n, Un(t));
14662
+ function dd(n, t) {
14663
+ return mo(n, Un(t));
14648
14664
  }
14649
- class fd {
14665
+ class md {
14650
14666
  worker;
14651
14667
  cbs = {};
14652
14668
  constructor(t) {
14653
- if (tc)
14669
+ if (sc)
14654
14670
  try {
14655
14671
  this.worker = new Worker(
14656
14672
  URL.createObjectURL(
@@ -14718,7 +14734,7 @@ class fd {
14718
14734
  });
14719
14735
  }
14720
14736
  }
14721
- class dd {
14737
+ class pd {
14722
14738
  port1;
14723
14739
  port2;
14724
14740
  port1MessageCbs = [];
@@ -14765,7 +14781,7 @@ class dd {
14765
14781
  xe(this.port2MessageErrorCbs, t);
14766
14782
  }
14767
14783
  }
14768
- function ml() {
14784
+ function gl() {
14769
14785
  let n = null;
14770
14786
  if (window.ActiveXObject) {
14771
14787
  const t = [
@@ -14788,7 +14804,7 @@ function ml() {
14788
14804
  n = new XMLHttpRequest();
14789
14805
  return n;
14790
14806
  }
14791
- function md(n, t) {
14807
+ function gd(n, t) {
14792
14808
  return new Promise((e, s) => {
14793
14809
  const {
14794
14810
  method: i = "GET",
@@ -14799,7 +14815,7 @@ function md(n, t) {
14799
14815
  withCredentials: c = !1,
14800
14816
  responseType: l = "json",
14801
14817
  timeout: f = 3e4
14802
- } = t || {}, y = ml();
14818
+ } = t || {}, y = gl();
14803
14819
  y.timeout = f, y.responseType = l, y.onreadystatechange = function(x) {
14804
14820
  y.readyState === 4 && (y.status === 200 ? e(y.response) : s(y.statusText));
14805
14821
  }, y.ontimeout = () => {
@@ -14841,7 +14857,7 @@ function md(n, t) {
14841
14857
  switch (w) {
14842
14858
  case "GET":
14843
14859
  let x = "";
14844
- r instanceof FormData ? x = fl(r) : x = Un(r), y.open("GET", fo(n, x), !0), b(), y.send(null);
14860
+ r instanceof FormData ? x = ml(r) : x = Un(r), y.open("GET", mo(n, x), !0), b(), y.send(null);
14845
14861
  break;
14846
14862
  default:
14847
14863
  y.open(w, n, !0), b(), m ? y.sendAsBinary(o) : E ? y.send(JSON.stringify(r)) : P ? y.send(
@@ -14856,7 +14872,7 @@ function md(n, t) {
14856
14872
  }
14857
14873
  });
14858
14874
  }
14859
- async function pd(n) {
14875
+ async function yd(n) {
14860
14876
  const t = {
14861
14877
  url: n.action || "",
14862
14878
  data: {},
@@ -14910,7 +14926,7 @@ Content-Type: ` + w.type + `\r
14910
14926
  `) + "--" + t.boundary + `--\r
14911
14927
  `, t;
14912
14928
  }
14913
- class gd {
14929
+ class wd {
14914
14930
  app;
14915
14931
  ctx;
14916
14932
  shapes = [];
@@ -14967,7 +14983,7 @@ class gd {
14967
14983
  for (const e of this.shapes) {
14968
14984
  if (!e.isShow)
14969
14985
  continue;
14970
- if (this.ctx.save(), e.frameStart(this.app.mousePoint), pl(this.ctx, e.getAttrs()), e.followMouse && (!ws(e.x, this.app.mousePoint.x, 5) || !ws(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
14986
+ if (this.ctx.save(), e.frameStart(this.app.mousePoint), yl(this.ctx, e.getAttrs()), e.followMouse && (!ws(e.x, this.app.mousePoint.x, 5) || !ws(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
14971
14987
  {
14972
14988
  x: e.targetToAfterDragFree.targetX,
14973
14989
  y: e.targetToAfterDragFree.targetY
@@ -15041,7 +15057,7 @@ class gd {
15041
15057
  }
15042
15058
  }
15043
15059
  }
15044
- function pl(n, t) {
15060
+ function yl(n, t) {
15045
15061
  for (const e in t) {
15046
15062
  const s = t[e];
15047
15063
  switch (e) {
@@ -15139,7 +15155,7 @@ function pl(n, t) {
15139
15155
  }
15140
15156
  }
15141
15157
  }
15142
- class yd {
15158
+ class xd {
15143
15159
  localVideoUtil;
15144
15160
  remoteVideoUtil;
15145
15161
  localPeerConnection = null;
@@ -15262,7 +15278,7 @@ ${t.sdp}.`), this.remotePeerConnection && (this.trace("remotePeerConnection setL
15262
15278
  return t === this.localPeerConnection ? "localPeerConnection" : "remotePeerConnection";
15263
15279
  }
15264
15280
  }
15265
- class wd {
15281
+ class bd {
15266
15282
  canvas;
15267
15283
  gl;
15268
15284
  constructor(t) {
@@ -15272,18 +15288,18 @@ class wd {
15272
15288
  throw new Error("WebGL failed to initialize.");
15273
15289
  }
15274
15290
  }
15275
- const mo = [], Gi = {};
15276
- function po(n) {
15277
- mo.push(n);
15291
+ const po = [], Gi = {};
15292
+ function go(n) {
15293
+ po.push(n);
15278
15294
  }
15279
- function xd(n, t = !1) {
15280
- const e = ul();
15295
+ function vd(n, t = !1) {
15296
+ const e = dl();
15281
15297
  if (Gi[e])
15282
15298
  return;
15283
15299
  wx.error((r) => {
15284
15300
  console.log(r.errMsg || JSON.stringify(r));
15285
15301
  }), wx.ready(() => {
15286
- mo.forEach((r) => r());
15302
+ po.forEach((r) => r());
15287
15303
  });
15288
15304
  const s = [
15289
15305
  "updateAppMessageShareData",
@@ -15334,7 +15350,7 @@ function xd(n, t = !1) {
15334
15350
  })
15335
15351
  ), Gi[e] = !0;
15336
15352
  }
15337
- function bd(n) {
15353
+ function Sd(n) {
15338
15354
  return new Promise((t, e) => {
15339
15355
  wx.checkJsApi({
15340
15356
  jsApiList: [n],
@@ -15347,74 +15363,74 @@ function bd(n) {
15347
15363
  });
15348
15364
  });
15349
15365
  }
15350
- function vd(n) {
15351
- po(function() {
15366
+ function Td(n) {
15367
+ go(function() {
15352
15368
  wx.updateAppMessageShareData(n);
15353
15369
  });
15354
15370
  }
15355
- function Sd(n) {
15356
- po(function() {
15371
+ function Cd(n) {
15372
+ go(function() {
15357
15373
  wx.updateTimelineShareData(n);
15358
15374
  });
15359
15375
  }
15360
- function Td(n) {
15376
+ function Pd(n) {
15361
15377
  wx.chooseImage(n);
15362
15378
  }
15363
- function Cd(n) {
15379
+ function Ed(n) {
15364
15380
  wx.previewImage(n);
15365
15381
  }
15366
- function Pd(n) {
15382
+ function _d(n) {
15367
15383
  wx.uploadImage(n);
15368
15384
  }
15369
- function Ed(n) {
15385
+ function Ad(n) {
15370
15386
  wx.downloadImage(n);
15371
15387
  }
15372
- function _d(n) {
15388
+ function Dd(n) {
15373
15389
  wx.getLocalImgData(n);
15374
15390
  }
15375
- function Ad() {
15391
+ function Id() {
15376
15392
  wx.startRecord();
15377
15393
  }
15378
- function Dd(n) {
15394
+ function Md(n) {
15379
15395
  wx.stopRecord(n);
15380
15396
  }
15381
- function Id(n) {
15397
+ function kd(n) {
15382
15398
  wx.onVoiceRecordEnd(n);
15383
15399
  }
15384
- function Md(n) {
15400
+ function Ld(n) {
15385
15401
  wx.playVoice(n);
15386
15402
  }
15387
- function kd(n) {
15403
+ function Rd(n) {
15388
15404
  wx.pauseVoice(n);
15389
15405
  }
15390
- function Ld(n) {
15406
+ function Od(n) {
15391
15407
  wx.stopVoice(n);
15392
15408
  }
15393
- function Rd(n) {
15409
+ function Nd(n) {
15394
15410
  wx.onVoicePlayEnd(n);
15395
15411
  }
15396
- function Od(n) {
15412
+ function Fd(n) {
15397
15413
  wx.uploadVoice(n);
15398
15414
  }
15399
- function Nd(n) {
15415
+ function Yd(n) {
15400
15416
  wx.downloadVoice(n);
15401
15417
  }
15402
- function Fd(n) {
15418
+ function Ud(n) {
15403
15419
  wx.translateVoice(n);
15404
15420
  }
15405
- function Yd(n) {
15421
+ function Xd(n) {
15406
15422
  wx.getNetworkType(n);
15407
15423
  }
15408
- function Ud(n) {
15424
+ function Bd(n) {
15409
15425
  wx.openLocation(n);
15410
15426
  }
15411
- function Xd(n) {
15427
+ function zd(n) {
15412
15428
  wx.getLocation(n);
15413
15429
  }
15414
- function Bd(n) {
15430
+ function Gd(n) {
15415
15431
  wx.scanQRCode(n);
15416
15432
  }
15417
- function zd(n, t, e) {
15433
+ function Vd(n, t, e) {
15418
15434
  function s() {
15419
15435
  WeixinJSBridge.invoke("getBrandWCPayRequest", n, function(i) {
15420
15436
  i.err_msg == "get_brand_wcpay_request:ok" ? t() : e(i.err_msg);
@@ -15422,12 +15438,12 @@ function zd(n, t, e) {
15422
15438
  }
15423
15439
  typeof WeixinJSBridge > "u" ? document.addEventListener ? document.addEventListener("WeixinJSBridgeReady", s, !1) : document.attachEvent && (document.attachEvent("WeixinJSBridgeReady", s), document.attachEvent("onWeixinJSBridgeReady", s)) : s();
15424
15440
  }
15425
- function Gd(n, t, e = "snsapi_userinfo", s = "") {
15441
+ function qd(n, t, e = "snsapi_userinfo", s = "") {
15426
15442
  return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${n}&redirect_uri=${encodeURIComponent(
15427
15443
  t
15428
15444
  )}&response_type=code&scope=${e}&state=${s}#wechat_redirect`;
15429
15445
  }
15430
- function Vd(n) {
15446
+ function jd(n) {
15431
15447
  window.AlipayJSBridge ? n && n() : document.addEventListener("AlipayJSBridgeReady", n, !1);
15432
15448
  }
15433
15449
  function Je(n, t) {
@@ -15469,7 +15485,7 @@ function Je(n, t) {
15469
15485
  }
15470
15486
  return `${n.error}(${e}): ${n.errorMessage}`;
15471
15487
  }
15472
- function qd(n, t, e) {
15488
+ function Hd(n, t, e) {
15473
15489
  ap.tradePay(
15474
15490
  Object.assign(n, {
15475
15491
  // fail: (res: commonFailOption) => {
@@ -15501,7 +15517,7 @@ function qd(n, t, e) {
15501
15517
  }
15502
15518
  );
15503
15519
  }
15504
- function jd(n, t, e) {
15520
+ function $d(n, t, e) {
15505
15521
  ap.scan(
15506
15522
  Object.assign(n, {
15507
15523
  fail: (s) => {
@@ -15513,7 +15529,7 @@ function jd(n, t, e) {
15513
15529
  }
15514
15530
  );
15515
15531
  }
15516
- function Hd(n, t, e) {
15532
+ function Wd(n, t, e) {
15517
15533
  ap.getLocation(
15518
15534
  Object.assign(n, {
15519
15535
  fail: (s) => {
@@ -15525,7 +15541,7 @@ function Hd(n, t, e) {
15525
15541
  }
15526
15542
  );
15527
15543
  }
15528
- function $d(n, t, e) {
15544
+ function Jd(n, t, e) {
15529
15545
  ap.openLocation(
15530
15546
  Object.assign(n, {
15531
15547
  fail: (s) => {
@@ -15537,7 +15553,7 @@ function $d(n, t, e) {
15537
15553
  }
15538
15554
  );
15539
15555
  }
15540
- function Wd(n, t, e) {
15556
+ function Zd(n, t, e) {
15541
15557
  ap.chooseImage(
15542
15558
  Object.assign(n, {
15543
15559
  fail: (s) => {
@@ -15549,7 +15565,7 @@ function Wd(n, t, e) {
15549
15565
  }
15550
15566
  );
15551
15567
  }
15552
- function Jd(n, t, e) {
15568
+ function Kd(n, t, e) {
15553
15569
  ap.previewImage(
15554
15570
  Object.assign(n, {
15555
15571
  fail: (s) => {
@@ -15561,13 +15577,13 @@ function Jd(n, t, e) {
15561
15577
  }
15562
15578
  );
15563
15579
  }
15564
- class Zd {
15580
+ class Qd {
15565
15581
  map;
15566
15582
  constructor(t, e = 120.619585, s = 31.299379, i = 18) {
15567
15583
  this.map = new T.Map(t), this.map.centerAndZoom(new T.LngLat(e, s), i);
15568
15584
  }
15569
15585
  }
15570
- class Kd {
15586
+ class tm {
15571
15587
  /// 当前页数,从0开始
15572
15588
  currentPage;
15573
15589
  /// 每页item数量
@@ -15653,337 +15669,337 @@ class Kd {
15653
15669
  }
15654
15670
  }
15655
15671
  export {
15656
- ff as Arrow,
15657
- Or as BezierEasing,
15658
- Wl as CSSToJSEasing,
15672
+ pf as Arrow,
15673
+ Nr as BezierEasing,
15674
+ Kl as CSSToJSEasing,
15659
15675
  Pi as Clock,
15660
15676
  ft as Color,
15661
- Mf as CommonKeyCode,
15662
- Ef as Confetti,
15677
+ Rf as CommonKeyCode,
15678
+ Df as Confetti,
15663
15679
  Ee as ControlsColorPattern,
15664
- wf as Cross,
15680
+ vf as Cross,
15665
15681
  Ts as CustomCanvasContext,
15666
15682
  sn as CustomCanvasGradient,
15667
15683
  _i as CustomCanvasPattern,
15668
- cf as DOMEventBus,
15669
- Vc as DOMParse,
15684
+ ff as DOMEventBus,
15685
+ jc as DOMParse,
15670
15686
  ve as DOMSVGUtil,
15671
- Oh as DOMToBlob,
15687
+ Fh as DOMToBlob,
15672
15688
  vr as DOMToString,
15673
15689
  Cs as DOMVideo,
15674
15690
  R as Easing,
15675
- $c as Ellipse,
15676
- Lh as FetchWithAxios,
15677
- Rh as FetchWithAxiosRequestCancel,
15678
- xl as FileUpload,
15679
- df as Fox,
15680
- mf as Heart,
15681
- pf as HeartVariant,
15682
- Go as HttpError,
15691
+ Jc as Ellipse,
15692
+ Oh as FetchWithAxios,
15693
+ Nh as FetchWithAxiosRequestCancel,
15694
+ vl as FileUpload,
15695
+ gf as Fox,
15696
+ yf as Heart,
15697
+ wf as HeartVariant,
15698
+ Vo as HttpError,
15683
15699
  te as Interpolation,
15684
15700
  Te as Line,
15685
- uf as LinePicture,
15686
- Qu as LineQuadraticBezier,
15701
+ mf as LinePicture,
15702
+ sf as LineQuadraticBezier,
15687
15703
  ce as Ls,
15688
- nd as MVVM,
15704
+ rd as MVVM,
15689
15705
  dt as Matrix,
15690
15706
  wt as Matrix3D,
15691
- Yc as NormalColors,
15692
- Kd as Pagination,
15707
+ Xc as NormalColors,
15708
+ tm as Pagination,
15693
15709
  ee as Point,
15694
15710
  fs as Point3D,
15695
- Pf as Point3Ds,
15696
- Hc as Points,
15711
+ Af as Point3Ds,
15712
+ Wc as Points,
15697
15713
  ue as QRCode,
15698
- yf as Rabbit,
15714
+ bf as Rabbit,
15699
15715
  ne as Rect,
15700
15716
  Yi as Ring,
15701
- Cf as RingIndicator,
15702
- jc as SVGParse,
15717
+ _f as RingIndicator,
15718
+ $c as SVGParse,
15703
15719
  us as SVGParsedPathArgsLength,
15704
- bf as Sector,
15705
- Jc as SectorArc,
15706
- Tf as Segment,
15720
+ Tf as Sector,
15721
+ Kc as SectorArc,
15722
+ Ef as Segment,
15707
15723
  q as Shape,
15708
- io as ShapeCombo,
15724
+ ro as ShapeCombo,
15709
15725
  ht as ShapeGroup,
15710
- vf as Ship,
15711
- Sf as Slider,
15712
- gf as Star,
15713
- Zl as TWEEN,
15726
+ Cf as Ship,
15727
+ Pf as Slider,
15728
+ xf as Star,
15729
+ tu as TWEEN,
15714
15730
  Ps as Text,
15715
15731
  Mn as Timeline,
15716
- Wc as Tip,
15717
- xf as Tree,
15718
- Yr as Tween,
15719
- wd as WebGLRenderer,
15720
- yd as WebRTCClient,
15721
- id as WebSocketClient,
15722
- gd as YZCanvas,
15732
+ Zc as Tip,
15733
+ Sf as Tree,
15734
+ Ur as Tween,
15735
+ bd as WebGLRenderer,
15736
+ xd as WebRTCClient,
15737
+ od as WebSocketClient,
15738
+ wd as YZCanvas,
15723
15739
  gn as YZCanvasContext,
15724
- dd as YZMessageChannel,
15725
- lf as YZSVG,
15726
- fd as YZWorker,
15727
- Gf as addClass,
15728
- Hu as addWatermark,
15729
- po as addWxJsReadyFnBeforeConfig,
15730
- md as ajax,
15731
- Wd as aliJsChooseImage,
15732
- Hd as aliJsGetLocation,
15733
- $d as aliJsOpenLocation,
15734
- Jd as aliJsPreviewImage,
15735
- Vd as aliJsReady,
15736
- jd as aliJsScan,
15737
- qd as aliJsTradePay,
15740
+ pd as YZMessageChannel,
15741
+ df as YZSVG,
15742
+ md as YZWorker,
15743
+ qf as addClass,
15744
+ Ju as addWatermark,
15745
+ go as addWxJsReadyFnBeforeConfig,
15746
+ gd as ajax,
15747
+ Zd as aliJsChooseImage,
15748
+ Wd as aliJsGetLocation,
15749
+ Jd as aliJsOpenLocation,
15750
+ Kd as aliJsPreviewImage,
15751
+ jd as aliJsReady,
15752
+ $d as aliJsScan,
15753
+ Hd as aliJsTradePay,
15738
15754
  fe as angle,
15739
- fo as appendURL,
15740
- ud as appendURLRecord,
15741
- rl as atomReadAttribute,
15742
- ao as atomReadAttributes,
15743
- ru as atomReadStyle,
15744
- Hr as atomReadStyles,
15745
- Xf as atomRemoveAttribute,
15746
- zf as atomRemoveDataset,
15747
- $r as atomRemoveStyle,
15748
- ho as atomWriteAttribute,
15755
+ mo as appendURL,
15756
+ dd as appendURLRecord,
15757
+ al as atomReadAttribute,
15758
+ ho as atomReadAttributes,
15759
+ hu as atomReadStyle,
15760
+ $r as atomReadStyles,
15761
+ zf as atomRemoveAttribute,
15762
+ Vf as atomRemoveDataset,
15763
+ Wr as atomRemoveStyle,
15764
+ co as atomWriteAttribute,
15749
15765
  Rn as atomWriteStyle,
15750
- Rc as base64EncodeOutputStream,
15751
- Qc as bitmapMapper,
15752
- xu as blobToImageData,
15753
- eo as byteArrayOutputStream,
15754
- ec as canDrawBitmap,
15755
- zl as canUsePaths,
15756
- tc as canUseWorker,
15757
- Uf as cancelFetch,
15758
- qu as changeBrightness,
15759
- ju as changeDiaphaneity,
15760
- Vu as changeSize,
15761
- bd as checkWxJsApi,
15762
- vl as clearCookies,
15766
+ Nc as base64EncodeOutputStream,
15767
+ el as bitmapMapper,
15768
+ Su as blobToImageData,
15769
+ so as byteArrayOutputStream,
15770
+ nc as canDrawBitmap,
15771
+ ql as canUsePaths,
15772
+ sc as canUseWorker,
15773
+ Bf as cancelFetch,
15774
+ $u as changeBrightness,
15775
+ Wu as changeDiaphaneity,
15776
+ Hu as changeSize,
15777
+ Sd as checkWxJsApi,
15778
+ Tl as clearCookies,
15763
15779
  Ns as color,
15764
- ou as combineTransformToMatrix,
15765
- pu as computeImageDisplayRect,
15766
- Hf as createElement,
15767
- $f as createElementNS,
15768
- hl as createFragment,
15769
- Tl as createIndexDB,
15770
- tl as createObjectURL,
15771
- Wf as createTextNode,
15772
- ml as createXMLHttpRequest,
15773
- qh as dispatchEvent,
15780
+ cu as combineTransformToMatrix,
15781
+ wu as computeImageDisplayRect,
15782
+ Wf as createElement,
15783
+ Jf as createElementNS,
15784
+ ll as createFragment,
15785
+ Pl as createIndexDB,
15786
+ sl as createObjectURL,
15787
+ Zf as createTextNode,
15788
+ gl as createXMLHttpRequest,
15789
+ Hh as dispatchEvent,
15774
15790
  Ln as distance,
15775
15791
  en as distance2,
15776
- Af as drawBitmapInCanvas,
15777
- Zu as drawQRCodeToCanvas,
15778
- Nr as easeNameToCubicBezier,
15779
- vu as flipSideToSide,
15780
- Su as flipUpsideDown,
15781
- dl as flushURL,
15782
- ld as flushURLRecord,
15783
- fl as formDataToSearch,
15784
- jl as fpsTask,
15785
- _f as getBitmapFromCanvas,
15786
- ef as getBodyPosition,
15787
- Pr as getBrowserClient,
15788
- Il as getBrowserClientVersion,
15789
- Ml as getBrowserLanguage,
15792
+ Mf as drawBitmapInCanvas,
15793
+ tf as drawQRCodeToCanvas,
15794
+ Fr as easeNameToCubicBezier,
15795
+ Cu as flipSideToSide,
15796
+ Pu as flipUpsideDown,
15797
+ pl as flushURL,
15798
+ fd as flushURLRecord,
15799
+ ml as formDataToSearch,
15800
+ Wl as fpsTask,
15801
+ If as getBitmapFromCanvas,
15802
+ rf as getBodyPosition,
15803
+ Er as getBrowserClient,
15804
+ Ll as getBrowserClientVersion,
15805
+ Rl as getBrowserLanguage,
15790
15806
  Y as getCSSVar,
15791
- qr as getDOMMatrix,
15792
- tu as getDirection,
15807
+ jr as getDOMMatrix,
15808
+ nu as getDirection,
15793
15809
  Fs as getDocumentElementPosition,
15794
- Bc as getElementPositionInPage,
15795
- rf as getElementPositionInPage2,
15796
- zc as getElementPositionInViewport,
15810
+ Gc as getElementPositionInPage,
15811
+ hf as getElementPositionInPage2,
15812
+ Vc as getElementPositionInViewport,
15797
15813
  On as getFetchId,
15798
- wl as getFileExtension,
15799
- Nh as getFileMD5Hash,
15800
- yl as getFileTypeFromFile,
15801
- pd as getFormSubmitData,
15802
- Lc as getImageData,
15803
- Wu as getImageDataByAIData,
15804
- bu as getImageMainColor,
15805
- Jh as getInternetExplorerVersion,
15806
- Jf as getMouseButton,
15814
+ bl as getFileExtension,
15815
+ Yh as getFileMD5Hash,
15816
+ xl as getFileTypeFromFile,
15817
+ yd as getFormSubmitData,
15818
+ Oc as getImageData,
15819
+ Ku as getImageDataByAIData,
15820
+ Tu as getImageMainColor,
15821
+ Kh as getInternetExplorerVersion,
15822
+ Kf as getMouseButton,
15807
15823
  kt as getMousePositionInElement,
15808
- Gc as getMousePositionInPage,
15809
- hf as getMousePositionInViewport,
15824
+ qc as getMousePositionInPage,
15825
+ uf as getMousePositionInViewport,
15810
15826
  In as getOperatingSystem,
15811
- Dl as getOperatingSystemVersion,
15812
- nf as getPageSize,
15813
- cd as getParameters,
15814
- od as getPath,
15815
- of as getRelativeBoundingClientRect,
15816
- tf as getScreenPosition,
15827
+ kl as getOperatingSystemVersion,
15828
+ af as getPageSize,
15829
+ ud as getParameters,
15830
+ hd as getPath,
15831
+ cf as getRelativeBoundingClientRect,
15832
+ nf as getScreenPosition,
15817
15833
  Se as getStyle,
15818
- kl as getTimeZone,
15834
+ Ol as getTimeZone,
15819
15835
  Yn as getURL,
15820
- af as getVerticalScrollPercentInPage,
15821
- sf as getViewportSize,
15822
- Xr as getVnode,
15823
- Oc as gifImage,
15836
+ lf as getVerticalScrollPercentInPage,
15837
+ of as getViewportSize,
15838
+ Br as getVnode,
15839
+ Fc as gifImage,
15824
15840
  we as h,
15825
15841
  Nn as hFromEl,
15826
- qf as hasClass,
15827
- Ul as hasDocument,
15828
- Xl as hasHistory,
15829
- Qh as hasWindow,
15830
- al as hideEl,
15831
- Kf as iframePostMessage,
15832
- gu as imageDataToBitmap,
15833
- wu as imageDataToBlob,
15834
- yu as imageDataToDataURL,
15835
- Kl as immediateVnode,
15836
- Mc as injectStyle,
15837
- xd as injectWxJsConfig,
15838
- Kh as isAliBrowser,
15839
- Yl as isAliMiniProgram,
15840
- Wh as isAndroid,
15841
- Ll as isAppleDevice,
15842
- Bl as isBrowserSupportFileAPI,
15843
- Gl as isElement,
15844
- Ol as isIE,
15845
- Nl as isIE9or10,
15846
- Er as isIOS,
15847
- _r as isMacOS,
15848
- Rl as isMobile,
15849
- Zf as isMouseHover,
15842
+ Hf as hasClass,
15843
+ zl as hasDocument,
15844
+ Gl as hasHistory,
15845
+ ec as hasWindow,
15846
+ cl as hideEl,
15847
+ td as iframePostMessage,
15848
+ xu as imageDataToBitmap,
15849
+ vu as imageDataToBlob,
15850
+ bu as imageDataToDataURL,
15851
+ eu as immediateVnode,
15852
+ Lc as injectStyle,
15853
+ vd as injectWxJsConfig,
15854
+ tc as isAliBrowser,
15855
+ Bl as isAliMiniProgram,
15856
+ Zh as isAndroid,
15857
+ Nl as isAppleDevice,
15858
+ Vl as isBrowserSupportFileAPI,
15859
+ jl as isElement,
15860
+ Yl as isIE,
15861
+ Ul as isIE9or10,
15862
+ _r as isIOS,
15863
+ Ar as isMacOS,
15864
+ Fl as isMobile,
15865
+ Qf as isMouseHover,
15850
15866
  Ks as isNative,
15851
- ad as isURL,
15852
- Zh as isWxBrowser,
15853
- Fl as isWxMiniProgram,
15854
- Xu as jpgToPng,
15855
- Tu as leftRotate,
15867
+ cd as isURL,
15868
+ Qh as isWxBrowser,
15869
+ Xl as isWxMiniProgram,
15870
+ Gu as jpgToPng,
15871
+ Eu as leftRotate,
15856
15872
  kn as length,
15857
- Zd as mapTDTJSSDK,
15858
- Uu as marginSharpen,
15859
- $l as microTask,
15860
- $u as mosaic,
15873
+ Qd as mapTDTJSSDK,
15874
+ zu as marginSharpen,
15875
+ Zl as microTask,
15876
+ Zu as mosaic,
15861
15877
  Ve as mount,
15862
- nu as multiplyArrayOfMatrix,
15863
- iu as multiplyArrayOfMatrix3D,
15864
- Dc as multiplyMatrix,
15865
- Ic as multiplyMatrix3D,
15866
- Hl as nextTick,
15867
- Ql as normalizePoint,
15868
- kh as objectSignature,
15869
- Rf as onDocumentReady,
15870
- Nc as outputGifBase64,
15871
- Ju as outputQRCodeBase64,
15872
- qc as parseCSS,
15873
- Vr as parseTransformToMatrix,
15878
+ ou as multiplyArrayOfMatrix,
15879
+ au as multiplyArrayOfMatrix3D,
15880
+ Mc as multiplyMatrix,
15881
+ kc as multiplyMatrix3D,
15882
+ Jl as nextTick,
15883
+ su as normalizePoint,
15884
+ Rh as objectSignature,
15885
+ Ml as onDocumentReady,
15886
+ Yc as outputGifBase64,
15887
+ Qu as outputQRCodeBase64,
15888
+ Hc as parseCSS,
15889
+ qr as parseTransformToMatrix,
15874
15890
  Fn as patch,
15875
- Bu as pngToJpg,
15891
+ Vu as pngToJpg,
15876
15892
  jt as polar,
15877
- Vl as prefixes,
15878
- Gu as radiusClip,
15893
+ Hl as prefixes,
15894
+ ju as radiusClip,
15879
15895
  Rs as readFileInBrowser,
15880
15896
  Un as recordToSearch,
15881
- zu as rectClip,
15882
- Vf as removeClass,
15883
- Ar as requestAnimationFrameCycle,
15884
- Jl as reverseCSSToJSEasing,
15885
- mc as reverseEaseNameToCubicBezier,
15886
- rc as reverseEasing,
15887
- Df as revokeObjectURL,
15888
- Cu as rightRotate,
15897
+ qu as rectClip,
15898
+ jf as removeClass,
15899
+ Dr as requestAnimationFrameCycle,
15900
+ Ql as reverseCSSToJSEasing,
15901
+ gc as reverseEaseNameToCubicBezier,
15902
+ ac as reverseEasing,
15903
+ kf as revokeObjectURL,
15904
+ _u as rightRotate,
15889
15905
  Rt as rotatePoint,
15890
- sc as scheduleIdle,
15891
- zr as scheduleVnode,
15892
- Dr as scheduleYZIdle,
15893
- uu as scrollTo,
15894
- hd as searchToRecord,
15906
+ ic as scheduleIdle,
15907
+ Gr as scheduleVnode,
15908
+ Ir as scheduleYZIdle,
15909
+ mu as scrollTo,
15910
+ ld as searchToRecord,
15895
15911
  Sr as selectFileInBrowser,
15896
- Ku as setCSSVar,
15897
- ql as setIntervalAccurate,
15898
- fu as setManualScroll,
15899
- rd as setRem,
15900
- jr as setStyle,
15912
+ ef as setCSSVar,
15913
+ $l as setIntervalAccurate,
15914
+ pu as setManualScroll,
15915
+ ad as setRem,
15916
+ Hr as setStyle,
15901
15917
  Ci as setTimeoutAccurate,
15902
- Yu as sharpen,
15903
- ol as showEl,
15904
- Mh as signature,
15905
- El as simulateMouseEventFromTouch,
15906
- gl as stringToDOM,
15918
+ Bu as sharpen,
15919
+ hl as showEl,
15920
+ Lh as signature,
15921
+ Al as simulateMouseEventFromTouch,
15922
+ wl as stringToDOM,
15907
15923
  Oi as theme,
15908
- _u as toBlackAndWhite,
15909
- Mu as toBlue,
15910
- Ru as toBlueAndGreen,
15911
- Fu as toBlueAndGrey,
15924
+ Iu as toBlackAndWhite,
15925
+ Ru as toBlue,
15926
+ Fu as toBlueAndGreen,
15927
+ Xu as toBlueAndGrey,
15912
15928
  at as toDegree,
15913
- Iu as toGreen,
15914
- Nu as toGreenAndGrey,
15915
- Pu as toGrey,
15916
- Eu as toGrey2,
15917
- Au as toOpposite,
15929
+ Lu as toGreen,
15930
+ Uu as toGreenAndGrey,
15931
+ Au as toGrey,
15932
+ Du as toGrey2,
15933
+ Mu as toOpposite,
15918
15934
  U as toRadian,
15919
- Du as toRed,
15920
- Lu as toRedAndBlue,
15921
- ku as toRedAndGreen,
15922
- Ou as toRedAndGrey,
15923
- co as toggleClass,
15924
- jf as toggleElDisplay,
15925
- su as transformPath2D,
15926
- ul as trimHash,
15935
+ ku as toRed,
15936
+ Nu as toRedAndBlue,
15937
+ Ou as toRedAndGreen,
15938
+ Yu as toRedAndGrey,
15939
+ lo as toggleClass,
15940
+ $f as toggleElDisplay,
15941
+ ru as transformPath2D,
15942
+ dl as trimHash,
15927
15943
  le as useAttribute,
15928
15944
  Xi as useClickA,
15929
- Qf as useClipboard,
15930
- bl as useCookie,
15931
- Bf as useDataset,
15945
+ ed as useClipboard,
15946
+ Sl as useCookie,
15947
+ Gf as useDataset,
15932
15948
  Ot as useElement,
15933
15949
  Ae as useEmit,
15934
15950
  pt as useEventListener,
15935
- il as useFetch,
15936
- Yf as useFetchCache,
15937
- Pl as useFireEvent,
15938
- hu as useHistoryRouter,
15939
- oo as useHotKey,
15940
- Lf as useHotKeyFileLoop,
15941
- kf as useHotKeyFileOnce,
15942
- el as useLoadImage,
15943
- Nf as useLoadLink,
15944
- Of as useLoadScript,
15945
- Fh as useLocalStorage,
15946
- uo as useLocale,
15947
- td as useLocation,
15948
- jh as useMedia,
15949
- mu as useMutation,
15950
- lu as usePreventScroll,
15951
- kc as useResize,
15952
- sd as useRunInSandbox,
15953
- au as useSafeArea,
15954
- cu as useScroll,
15955
- ro as useSelectFile,
15956
- If as useSelectFileImage,
15957
- Sl as useSessionStorage,
15958
- _l as useTheme,
15959
- Al as useThemeToggle,
15960
- ed as useVibrate,
15961
- du as useVisible,
15951
+ ol as useFetch,
15952
+ Xf as useFetchCache,
15953
+ _l as useFireEvent,
15954
+ uu as useHistoryRouter,
15955
+ ao as useHotKey,
15956
+ Nf as useHotKeyFileLoop,
15957
+ Of as useHotKeyFileOnce,
15958
+ nl as useLoadImage,
15959
+ Yf as useLoadLink,
15960
+ Ff as useLoadScript,
15961
+ Uh as useLocalStorage,
15962
+ fo as useLocale,
15963
+ sd as useLocation,
15964
+ $h as useMedia,
15965
+ yu as useMutation,
15966
+ du as usePreventScroll,
15967
+ Rc as useResize,
15968
+ id as useRunInSandbox,
15969
+ lu as useSafeArea,
15970
+ fu as useScroll,
15971
+ oo as useSelectFile,
15972
+ Lf as useSelectFileImage,
15973
+ Cl as useSessionStorage,
15974
+ Dl as useTheme,
15975
+ Il as useThemeToggle,
15976
+ nd as useVibrate,
15977
+ gu as useVisible,
15962
15978
  be as useWindow,
15963
- Ff as waitForStyleSheetsLoaded,
15964
- Cl as writeToIndexDB,
15965
- Td as wxJsChooseImage,
15966
- Ed as wxJsDownloadImage,
15967
- Nd as wxJsDownloadVoice,
15968
- _d as wxJsGetLocalImgData,
15969
- Xd as wxJsGetLocation,
15970
- Yd as wxJsGetNetworkType,
15971
- Gd as wxJsLogin,
15972
- Rd as wxJsOnVoicePlayEnd,
15973
- Id as wxJsOnVoiceRecordEnd,
15974
- Ud as wxJsOpenLocation,
15975
- kd as wxJsPauseVoice,
15976
- zd as wxJsPay,
15977
- Md as wxJsPlayVoice,
15978
- Cd as wxJsPreviewImage,
15979
- Bd as wxJsScanQRCode,
15980
- Ad as wxJsStartRecord,
15981
- Dd as wxJsStopRecord,
15982
- Ld as wxJsStopVoice,
15983
- Fd as wxJsTranslateVoice,
15984
- vd as wxJsUpdateAppMessageShareData,
15985
- Sd as wxJsUpdateTimelineShareData,
15986
- Pd as wxJsUploadImage,
15987
- Od as wxJsUploadVoice
15979
+ Uf as waitForStyleSheetsLoaded,
15980
+ El as writeToIndexDB,
15981
+ Pd as wxJsChooseImage,
15982
+ Ad as wxJsDownloadImage,
15983
+ Yd as wxJsDownloadVoice,
15984
+ Dd as wxJsGetLocalImgData,
15985
+ zd as wxJsGetLocation,
15986
+ Xd as wxJsGetNetworkType,
15987
+ qd as wxJsLogin,
15988
+ Nd as wxJsOnVoicePlayEnd,
15989
+ kd as wxJsOnVoiceRecordEnd,
15990
+ Bd as wxJsOpenLocation,
15991
+ Rd as wxJsPauseVoice,
15992
+ Vd as wxJsPay,
15993
+ Ld as wxJsPlayVoice,
15994
+ Ed as wxJsPreviewImage,
15995
+ Gd as wxJsScanQRCode,
15996
+ Id as wxJsStartRecord,
15997
+ Md as wxJsStopRecord,
15998
+ Od as wxJsStopVoice,
15999
+ Ud as wxJsTranslateVoice,
16000
+ Td as wxJsUpdateAppMessageShareData,
16001
+ Cd as wxJsUpdateTimelineShareData,
16002
+ _d as wxJsUploadImage,
16003
+ Fd as wxJsUploadVoice
15988
16004
  };
15989
16005
  //# sourceMappingURL=zyzgroup_core_web.js.map