@zyzgroup/core-web 0.1.5 → 0.1.7

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.
@@ -260,7 +260,7 @@ function Qt(n, t) {
260
260
  }
261
261
  return n;
262
262
  }
263
- function vs(n, t, e = Number.EPSILON * Math.pow(2, 2)) {
263
+ function bs(n, t, e = Number.EPSILON * Math.pow(2, 2)) {
264
264
  return Math.abs(n - t) < e;
265
265
  }
266
266
  const j = (n, t, e) => n < t ? t : n > e ? e : n, ha = (n, t, e) => (s) => {
@@ -320,7 +320,7 @@ function la() {
320
320
  offsetTable: a
321
321
  };
322
322
  }
323
- var Ft = /* @__PURE__ */ ((n) => (n.UNKNOWN = "", n.TEXT = "text/plain", n.MD = "text/plain", n.HTML = "text/html", n.XML_TEXT = "text/xml", n.CSS = "text/css", n.JPEG = "image/jpeg", n.PNG = "image/png", n.GIF = "image/gif", n.BMP = "image/bmp", n.WEBP = "image/webp", n.SVG = "image/svg+xml", n.ICON = "image/x-icon", n.MICROSOFT_ICON = "image/vnd.microsoft.icon", n.MPEG = "audio/mpeg", n.MP3 = "audio/mpeg", n.MP4 = "video/mp4", n.OGG = "audio/ogg", n.WAV = "audio/wav", n.MIDI = "audio/midi", n.WEBM = "video/webm", n.VIDEO_OGG = "video/ogg", n.OCTET_STREAM = "application/octet-stream", n.JAVASCRIPT = "application/javascript", n.ECMASCRIPT = "application/ecmascript", n.JSON = "application/json", n.XML = "application/xml", n.XHTML = "application/xhtml+xml", n.XWWW = "application/x-www-form-urlencoded", n.DOC = "application/msword", n.CSV = "application/x-csv", n.EXCEL = "application/vnb.ms-excel", n.PPT = "application/vnb.mspowerpoint", n.PDF = "application/pdf", n.ZIP = "application/zip", n.TGZ = "application/x-gtar", n.TAR_GZ = "application/x-gzip", n.EOT = "appliaction/vnd.ms-fontobject", n.TTF = "aplication/font-sfnt", n.PKCS12 = "aplication/pkcs12", n))(Ft || {}), He = /* @__PURE__ */ ((n) => (n.ascii = "ascii", n.utf8 = "utf8", n.utf16le = "utf16le", n.ucs2 = "ucs2", n.base64 = "base64", n.base64url = "base64url", n.latin1 = "latin1", n.binary = "binary", n.hex = "hex", n))(He || {}), Pt = /* @__PURE__ */ ((n) => (n.text = "text", n.dataURL = "dataURL", n.binaryString = "binaryString", n.arraybuffer = "arraybuffer", n))(Pt || {});
323
+ var Ft = /* @__PURE__ */ ((n) => (n.UNKNOWN = "", n.TEXT = "text/plain", n.MD = "text/plain", n.HTML = "text/html", n.XML_TEXT = "text/xml", n.CSS = "text/css", n.JPEG = "image/jpeg", n.PNG = "image/png", n.GIF = "image/gif", n.BMP = "image/bmp", n.WEBP = "image/webp", n.SVG = "image/svg+xml", n.ICON = "image/x-icon", n.MICROSOFT_ICON = "image/vnd.microsoft.icon", n.MPEG = "audio/mpeg", n.MP3 = "audio/mpeg", n.MP4 = "video/mp4", n.OGG = "audio/ogg", n.WAV = "audio/wav", n.MIDI = "audio/midi", n.WEBM = "video/webm", n.VIDEO_OGG = "video/ogg", n.OCTET_STREAM = "application/octet-stream", n.JAVASCRIPT = "application/javascript", n.ECMASCRIPT = "application/ecmascript", n.JSON = "application/json", n.XML = "application/xml", n.XHTML = "application/xhtml+xml", n.XWWW = "application/x-www-form-urlencoded", n.DOC = "application/msword", n.CSV = "application/x-csv", n.EXCEL = "application/vnb.ms-excel", n.PPT = "application/vnb.mspowerpoint", n.PDF = "application/pdf", n.ZIP = "application/zip", n.TGZ = "application/x-gtar", n.TAR_GZ = "application/x-gzip", n.EOT = "appliaction/vnd.ms-fontobject", n.TTF = "aplication/font-sfnt", n.PKCS12 = "aplication/pkcs12", n))(Ft || {}), vs = /* @__PURE__ */ ((n) => (n.ascii = "ascii", n.utf8 = "utf8", n.utf16le = "utf16le", n.ucs2 = "ucs2", n.base64 = "base64", n.base64url = "base64url", n.latin1 = "latin1", n.binary = "binary", n.hex = "hex", n))(vs || {}), Pt = /* @__PURE__ */ ((n) => (n.text = "text", n.dataURL = "dataURL", n.binaryString = "binaryString", n.arraybuffer = "arraybuffer", n))(Pt || {});
324
324
  const be = (n, t = 16) => {
325
325
  let e = n.toLowerCase();
326
326
  const s = e.indexOf("0b") == 0, i = e.indexOf("0o") == 0, r = e.indexOf("0x") == 0;
@@ -333,10 +333,13 @@ const be = (n, t = 16) => {
333
333
  function ua(n) {
334
334
  return new TextEncoder().encode(n);
335
335
  }
336
- function fa(n, t = He.utf8) {
337
- return new TextDecoder(t).decode(n);
336
+ function fa(n) {
337
+ return String.fromCharCode.apply(
338
+ null,
339
+ new Uint16Array(n)
340
+ );
338
341
  }
339
- const In = (n, t, e) => t ? e === He.base64 ? new Blob([n], { type: `${t};${e}` }) : e === He.utf8 ? new Blob([n], {
342
+ const In = (n, t, e) => t ? e === vs.base64 ? new Blob([n], { type: `${t};${e}` }) : e === vs.utf8 ? new Blob([n], {
340
343
  type: `${t};charset=${e}`
341
344
  }) : new Blob([n], {
342
345
  type: `${t}`
@@ -477,7 +480,7 @@ class va {
477
480
  }
478
481
  }
479
482
  const wi = /* @__PURE__ */ new WeakMap();
480
- function gs(n, t) {
483
+ function ps(n, t) {
481
484
  let e = wi.get(n);
482
485
  e || (e = /* @__PURE__ */ new Map(), wi.set(n, e));
483
486
  let s = e.get(t);
@@ -489,7 +492,7 @@ function Sa(n, t = !1) {
489
492
  if (t && typeof s == "object" && s !== null)
490
493
  n[e] = Mn(s, t);
491
494
  else {
492
- const i = gs(n, e);
495
+ const i = ps(n, e);
493
496
  Object.defineProperty(n, e, {
494
497
  configurable: !0,
495
498
  // 是否可删除、可配置
@@ -522,16 +525,16 @@ function Mn(n, t = !1) {
522
525
  const c = Mn(a, t);
523
526
  c.YZReactiveProxyParentTarget = i, c.YZReactiveProxyParentKey = r, Reflect.set(o, r, c);
524
527
  }
525
- return gs(i, r).add(), Reflect.get(i, r, o);
528
+ return ps(i, r).add(), Reflect.get(i, r, o);
526
529
  },
527
530
  // 拦截对象属性的设置
528
531
  // target 目标对象、key 键值、value 值、receiver 当前proxy实例
529
532
  set(i, r, o, a) {
530
533
  const h = Reflect.get(i, r, a), c = Reflect.set(i, r, o, a);
531
- return Array.isArray(i) ? gs(
534
+ return Array.isArray(i) ? ps(
532
535
  i.YZReactiveProxyParentTarget,
533
536
  i.YZReactiveProxyParentKey
534
- ).notify() : h != o && gs(i, r).notify(), c;
537
+ ).notify() : h != o && ps(i, r).notify(), c;
535
538
  },
536
539
  // 拦截 `key in proxy` 的操作,返回一个布尔值
537
540
  has(i, r) {
@@ -820,16 +823,16 @@ function ur(n, t) {
820
823
  const { toString: _a } = Object.prototype, { getPrototypeOf: kn } = Object, Os = ((n) => (t) => {
821
824
  const e = _a.call(t);
822
825
  return n[e] || (n[e] = e.slice(8, -1).toLowerCase());
823
- })(/* @__PURE__ */ Object.create(null)), It = (n) => (n = n.toLowerCase(), (t) => Os(t) === n), Ns = (n) => (t) => typeof t === n, { isArray: Ae } = Array, $e = Ns("undefined");
826
+ })(/* @__PURE__ */ Object.create(null)), It = (n) => (n = n.toLowerCase(), (t) => Os(t) === n), Ns = (n) => (t) => typeof t === n, { isArray: Ae } = Array, He = Ns("undefined");
824
827
  function Aa(n) {
825
- return n !== null && !$e(n) && n.constructor !== null && !$e(n.constructor) && vt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
828
+ return n !== null && !He(n) && n.constructor !== null && !He(n.constructor) && vt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
826
829
  }
827
830
  const fr = It("ArrayBuffer");
828
831
  function Da(n) {
829
832
  let t;
830
833
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(n) : t = n && n.buffer && fr(n.buffer), t;
831
834
  }
832
- const Ia = Ns("string"), vt = Ns("function"), dr = Ns("number"), Fs = (n) => n !== null && typeof n == "object", Ma = (n) => n === !0 || n === !1, ys = (n) => {
835
+ const Ia = Ns("string"), vt = Ns("function"), dr = Ns("number"), Fs = (n) => n !== null && typeof n == "object", Ma = (n) => n === !0 || n === !1, gs = (n) => {
833
836
  if (Os(n) !== "object")
834
837
  return !1;
835
838
  const t = kn(n);
@@ -839,7 +842,7 @@ const Ia = Ns("string"), vt = Ns("function"), dr = Ns("number"), Fs = (n) => n !
839
842
  return n && (typeof FormData == "function" && n instanceof FormData || vt(n.append) && ((t = Os(n)) === "formdata" || // detect form-data instance
840
843
  t === "object" && vt(n.toString) && n.toString() === "[object FormData]"));
841
844
  }, Ya = It("URLSearchParams"), [Ua, Ba, Xa, za] = ["ReadableStream", "Request", "Response", "Headers"].map(It), Ga = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
842
- function We(n, t, { allOwnKeys: e = !1 } = {}) {
845
+ function $e(n, t, { allOwnKeys: e = !1 } = {}) {
843
846
  if (n === null || typeof n > "u")
844
847
  return;
845
848
  let s, i;
@@ -862,17 +865,17 @@ function mr(n, t) {
862
865
  return i;
863
866
  return null;
864
867
  }
865
- const ue = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), pr = (n) => !$e(n) && n !== ue;
868
+ const ue = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), pr = (n) => !He(n) && n !== ue;
866
869
  function yn() {
867
870
  const { caseless: n } = pr(this) && this || {}, t = {}, e = (s, i) => {
868
871
  const r = n && mr(t, i) || i;
869
- ys(t[r]) && ys(s) ? t[r] = yn(t[r], s) : ys(s) ? t[r] = yn({}, s) : Ae(s) ? t[r] = s.slice() : t[r] = s;
872
+ gs(t[r]) && gs(s) ? t[r] = yn(t[r], s) : gs(s) ? t[r] = yn({}, s) : Ae(s) ? t[r] = s.slice() : t[r] = s;
870
873
  };
871
874
  for (let s = 0, i = arguments.length; s < i; s++)
872
- arguments[s] && We(arguments[s], e);
875
+ arguments[s] && $e(arguments[s], e);
873
876
  return t;
874
877
  }
875
- const Va = (n, t, e, { allOwnKeys: s } = {}) => (We(t, (i, r) => {
878
+ const Va = (n, t, e, { allOwnKeys: s } = {}) => ($e(t, (i, r) => {
876
879
  e && vt(i) ? n[r] = ur(i, e) : n[r] = i;
877
880
  }, { allOwnKeys: s }), n), qa = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), ja = (n, t, e, s) => {
878
881
  n.prototype = Object.create(t.prototype, s), n.prototype.constructor = n, Object.defineProperty(n, "super", {
@@ -925,7 +928,7 @@ const Va = (n, t, e, { allOwnKeys: s } = {}) => (We(t, (i, r) => {
925
928
  }
926
929
  ), bi = (({ hasOwnProperty: n }) => (t, e) => n.call(t, e))(Object.prototype), eh = It("RegExp"), gr = (n, t) => {
927
930
  const e = Object.getOwnPropertyDescriptors(n), s = {};
928
- We(e, (i, r) => {
931
+ $e(e, (i, r) => {
929
932
  let o;
930
933
  (o = t(i, r, n)) !== !1 && (s[r] = o || i);
931
934
  }), Object.defineProperties(n, s);
@@ -964,9 +967,9 @@ const ah = (n) => {
964
967
  if (!("toJSON" in s)) {
965
968
  t[i] = s;
966
969
  const r = Ae(s) ? [] : {};
967
- return We(s, (o, a) => {
970
+ return $e(s, (o, a) => {
968
971
  const h = e(o, i + 1);
969
- !$e(h) && (r[a] = h);
972
+ !He(h) && (r[a] = h);
970
973
  }), t[i] = void 0, r;
971
974
  }
972
975
  }
@@ -990,12 +993,12 @@ const ah = (n) => {
990
993
  isNumber: dr,
991
994
  isBoolean: Ma,
992
995
  isObject: Fs,
993
- isPlainObject: ys,
996
+ isPlainObject: gs,
994
997
  isReadableStream: Ua,
995
998
  isRequest: Ba,
996
999
  isResponse: Xa,
997
1000
  isHeaders: za,
998
- isUndefined: $e,
1001
+ isUndefined: He,
999
1002
  isDate: ka,
1000
1003
  isFile: La,
1001
1004
  isBlob: Ra,
@@ -1005,7 +1008,7 @@ const ah = (n) => {
1005
1008
  isURLSearchParams: Ya,
1006
1009
  isTypedArray: Ja,
1007
1010
  isFileList: Oa,
1008
- forEach: We,
1011
+ forEach: $e,
1009
1012
  merge: yn,
1010
1013
  extend: Va,
1011
1014
  trim: Ga,
@@ -1436,8 +1439,8 @@ const Nn = On, Ah = A.toObjectSet([
1436
1439
  function Fe(n) {
1437
1440
  return n && String(n).trim().toLowerCase();
1438
1441
  }
1439
- function ws(n) {
1440
- return n === !1 || n == null ? n : A.isArray(n) ? n.map(ws) : String(n);
1442
+ function ys(n) {
1443
+ return n === !1 || n == null ? n : A.isArray(n) ? n.map(ys) : String(n);
1441
1444
  }
1442
1445
  function Ih(n) {
1443
1446
  const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -1482,7 +1485,7 @@ class Us {
1482
1485
  if (!l)
1483
1486
  throw new Error("header name must be a non-empty string");
1484
1487
  const f = A.findKey(i, l);
1485
- (!f || i[f] === void 0 || c === !0 || c === void 0 && i[f] !== !1) && (i[f || h] = ws(a));
1488
+ (!f || i[f] === void 0 || c === !0 || c === void 0 && i[f] !== !1) && (i[f || h] = ys(a));
1486
1489
  }
1487
1490
  const o = (a, h) => A.forEach(a, (c, l) => r(c, l, h));
1488
1491
  if (A.isPlainObject(t) || t instanceof this.constructor)
@@ -1545,11 +1548,11 @@ class Us {
1545
1548
  return A.forEach(this, (i, r) => {
1546
1549
  const o = A.findKey(s, r);
1547
1550
  if (o) {
1548
- e[o] = ws(i), delete e[r];
1551
+ e[o] = ys(i), delete e[r];
1549
1552
  return;
1550
1553
  }
1551
1554
  const a = t ? kh(r) : String(r).trim();
1552
- a !== r && delete e[r], e[a] = ws(i), s[a] = !0;
1555
+ a !== r && delete e[r], e[a] = ys(i), s[a] = !0;
1553
1556
  }), this;
1554
1557
  }
1555
1558
  concat(...t) {
@@ -2190,10 +2193,10 @@ function tc(n, t, e) {
2190
2193
  throw new N("Unknown option " + r, N.ERR_BAD_OPTION);
2191
2194
  }
2192
2195
  }
2193
- const xs = {
2196
+ const ws = {
2194
2197
  assertOptions: tc,
2195
2198
  validators: Xs
2196
- }, Ot = xs.validators;
2199
+ }, Ot = ws.validators;
2197
2200
  class Cs {
2198
2201
  constructor(t) {
2199
2202
  this.defaults = t, this.interceptors = {
@@ -2229,16 +2232,16 @@ class Cs {
2229
2232
  _request(t, e) {
2230
2233
  typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = de(this.defaults, e);
2231
2234
  const { transitional: s, paramsSerializer: i, headers: r } = e;
2232
- s !== void 0 && xs.assertOptions(s, {
2235
+ s !== void 0 && ws.assertOptions(s, {
2233
2236
  silentJSONParsing: Ot.transitional(Ot.boolean),
2234
2237
  forcedJSONParsing: Ot.transitional(Ot.boolean),
2235
2238
  clarifyTimeoutError: Ot.transitional(Ot.boolean)
2236
2239
  }, !1), i != null && (A.isFunction(i) ? e.paramsSerializer = {
2237
2240
  serialize: i
2238
- } : xs.assertOptions(i, {
2241
+ } : ws.assertOptions(i, {
2239
2242
  encode: Ot.function,
2240
2243
  serialize: Ot.function
2241
- }, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), xs.assertOptions(e, {
2244
+ }, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), ws.assertOptions(e, {
2242
2245
  baseUrl: Ot.spelling("baseURL"),
2243
2246
  withXsrfToken: Ot.spelling("withXSRFToken")
2244
2247
  }, !0), e.method = (e.method || this.defaults.method || "get").toLowerCase();
@@ -2318,7 +2321,7 @@ A.forEach(["post", "put", "patch"], function(t) {
2318
2321
  }
2319
2322
  Cs.prototype[t] = e(), Cs.prototype[t + "Form"] = e(!0);
2320
2323
  });
2321
- const bs = Cs;
2324
+ const xs = Cs;
2322
2325
  class Fn {
2323
2326
  constructor(t) {
2324
2327
  if (typeof t != "function")
@@ -2472,13 +2475,13 @@ Object.entries(Sn).forEach(([n, t]) => {
2472
2475
  });
2473
2476
  const ic = Sn;
2474
2477
  function Lr(n) {
2475
- const t = new bs(n), e = ur(bs.prototype.request, t);
2476
- return A.extend(e, bs.prototype, t, { allOwnKeys: !0 }), A.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(i) {
2478
+ const t = new xs(n), e = ur(xs.prototype.request, t);
2479
+ return A.extend(e, xs.prototype, t, { allOwnKeys: !0 }), A.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(i) {
2477
2480
  return Lr(de(n, i));
2478
2481
  }, e;
2479
2482
  }
2480
2483
  const Z = Lr(Nn);
2481
- Z.Axios = bs;
2484
+ Z.Axios = xs;
2482
2485
  Z.CanceledError = De;
2483
2486
  Z.CancelToken = ec;
2484
2487
  Z.isCancel = Pr;
@@ -2609,7 +2612,7 @@ class cc {
2609
2612
  this.pendingRequestMap.clear();
2610
2613
  }
2611
2614
  }
2612
- const Or = (n) => new XMLSerializer().serializeToString(n), ql = (n, t = "text/html") => new DOMParser().parseFromString(n, t), lc = (n, t = Ft.SVG, e = He.utf8) => In(Or(n), t, e);
2615
+ const Or = (n) => new XMLSerializer().serializeToString(n), ql = (n, t = "text/html") => new DOMParser().parseFromString(n, t), lc = (n, t = Ft.SVG, e = vs.utf8) => In(Or(n), t, e);
2613
2616
  async function Nr(n = ["*"], t) {
2614
2617
  if (!document || !(document instanceof Document))
2615
2618
  throw new Error("This is not a browser environment");
@@ -3059,12 +3062,15 @@ function iu(n) {
3059
3062
  }
3060
3063
  document.addEventListener("DOMContentLoaded", e, !1), e();
3061
3064
  }
3065
+ function ru(n) {
3066
+ document.getElementsByTagName("title")[0].innerText = n, document.title = n;
3067
+ }
3062
3068
  const Yn = () => {
3063
3069
  const n = navigator.userAgent.toLowerCase();
3064
3070
  let t = "Unknown";
3065
3071
  return /iphone|ipad|ipod/i.test(n) ? t = "iOS" : /android/i.test(n) ? t = "Android" : /BlackBerry/i.test(n) ? t = "BlackBerry" : /mac/i.test(n) ? t = "macOS" : /win/i.test(n) ? t = "Windows" : /linux/i.test(n) ? t = "Linux" : /bsd/i.test(n) && (t = "BSD"), t.toLowerCase();
3066
3072
  };
3067
- function ru(n = navigator.userAgent) {
3073
+ function ou(n = navigator.userAgent) {
3068
3074
  let t = "Unknown";
3069
3075
  if (/iPhone|iPad|iPod/i.test(n)) {
3070
3076
  const e = n.match(/OS (\d+_\d+)/i);
@@ -3081,7 +3087,7 @@ function ru(n = navigator.userAgent) {
3081
3087
  }
3082
3088
  return t.toLowerCase();
3083
3089
  }
3084
- function ou(n, t) {
3090
+ function au(n, t) {
3085
3091
  const e = n.split("."), s = t.split(".");
3086
3092
  for (let i = 0, r = e.length; i < r; i++) {
3087
3093
  if (s.length == i)
@@ -3095,7 +3101,7 @@ const Br = () => {
3095
3101
  const n = navigator.userAgent.toLowerCase();
3096
3102
  let t = "Unknown";
3097
3103
  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();
3098
- }, au = () => {
3104
+ }, hu = () => {
3099
3105
  const n = navigator.userAgent;
3100
3106
  let t = "Unknown";
3101
3107
  if (/Chrome/.test(n)) {
@@ -3116,10 +3122,10 @@ const Br = () => {
3116
3122
  }
3117
3123
  return t;
3118
3124
  };
3119
- function hu() {
3125
+ function cu() {
3120
3126
  return (navigator.browserLanguage || navigator.language).toLowerCase();
3121
3127
  }
3122
- function cu() {
3128
+ function lu() {
3123
3129
  return Intl.DateTimeFormat().resolvedOptions().timeZone.toLowerCase();
3124
3130
  }
3125
3131
  function Xr() {
@@ -3128,13 +3134,13 @@ function Xr() {
3128
3134
  function zr() {
3129
3135
  return Yn() === "macos";
3130
3136
  }
3131
- function lu() {
3137
+ function uu() {
3132
3138
  return Xr() | zr();
3133
3139
  }
3134
3140
  function Cc() {
3135
3141
  return Yn() === "android";
3136
3142
  }
3137
- function uu() {
3143
+ function fu() {
3138
3144
  return Xr() || Cc();
3139
3145
  }
3140
3146
  function Pc() {
@@ -3148,8 +3154,8 @@ function Pc() {
3148
3154
  const s = n.indexOf("Edge/");
3149
3155
  return s > 0 ? parseInt(n.substring(s + 5, n.indexOf(".", s)), 10) : -1;
3150
3156
  }
3151
- const fu = Pc() !== -1;
3152
- function du() {
3157
+ const du = Pc() !== -1;
3158
+ function mu() {
3153
3159
  const n = document.documentMode;
3154
3160
  return n && (n === 9 || n === 10);
3155
3161
  }
@@ -3159,16 +3165,16 @@ function Ec() {
3159
3165
  function _c() {
3160
3166
  return Br() === "ali";
3161
3167
  }
3162
- function mu() {
3168
+ function pu() {
3163
3169
  return Ec() && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === "miniprogram";
3164
3170
  }
3165
- function pu() {
3171
+ function gu() {
3166
3172
  return _c() && navigator.userAgent.match(/miniprogram/i);
3167
3173
  }
3168
- const gu = typeof document < "u", Ac = typeof window < "u", yu = typeof history < "u", wu = Ac && window.File && window.FileReader && window.FileList && window.Blob, Dc = (() => {
3174
+ const yu = typeof document < "u", Ac = typeof window < "u", wu = typeof history < "u", xu = Ac && window.File && window.FileReader && window.FileList && window.Blob, Dc = (() => {
3169
3175
  const n = er();
3170
3176
  return !!(n.Worker && n.Blob && n.Promise && n.OffscreenCanvas && n.OffscreenCanvasRenderingContext2D && n.HTMLCanvasElement && n.HTMLCanvasElement.prototype.transferControlToOffscreen && n.URL && n.URL.createObjectURL);
3171
- })(), xu = typeof Path2D == "function" && typeof DOMMatrix == "function", Ic = function() {
3177
+ })(), bu = typeof Path2D == "function" && typeof DOMMatrix == "function", Ic = function() {
3172
3178
  if (!er().OffscreenCanvas)
3173
3179
  return !1;
3174
3180
  const t = new OffscreenCanvas(1, 1), e = t.getContext("2d");
@@ -3180,11 +3186,11 @@ const gu = typeof document < "u", Ac = typeof window < "u", yu = typeof history
3180
3186
  return !1;
3181
3187
  }
3182
3188
  return !0;
3183
- }(), bu = typeof HTMLElement == "object" ? function(t) {
3189
+ }(), vu = typeof HTMLElement == "object" ? function(t) {
3184
3190
  return t instanceof HTMLElement;
3185
3191
  } : function(t) {
3186
3192
  return t && typeof t == "object" && t.nodeType === 1 && typeof t.nodeName == "string";
3187
- }, vu = "webkit moz ms o".split(" ");
3193
+ }, Su = "webkit moz ms o".split(" ");
3188
3194
  function on(n) {
3189
3195
  return typeof n == "function" && /native code/.test(n.toString());
3190
3196
  }
@@ -3219,7 +3225,7 @@ function Ri(n, t = 0) {
3219
3225
  return Gr((s) => s - e >= t ? (n(s), !1) : !0);
3220
3226
  }
3221
3227
  }
3222
- function Su(n, t = 0) {
3228
+ function Tu(n, t = 0) {
3223
3229
  let e = !1, s = 0;
3224
3230
  const i = K(), r = (o) => {
3225
3231
  if (e)
@@ -3232,7 +3238,7 @@ function Su(n, t = 0) {
3232
3238
  e = !0;
3233
3239
  };
3234
3240
  }
3235
- function Tu(n, t = 20) {
3241
+ function Cu(n, t = 20) {
3236
3242
  const e = 1e3 / t;
3237
3243
  let s = 0, i;
3238
3244
  return () => (K() - s >= e && (s = K(), i = n()), i);
@@ -3279,7 +3285,7 @@ function Lc(n) {
3279
3285
  e < Jt && he < Jt ? (e < 8 && (e = 8), Jt = e < he ? he : e) : e > Jt && he > Jt ? Jt = e < he ? he : e : he = e, Ps = t + Jt, kc.postMessage(null);
3280
3286
  });
3281
3287
  }
3282
- function Cu(n) {
3288
+ function Pu(n) {
3283
3289
  if (typeof setImmediate < "u" && on(setImmediate))
3284
3290
  setImmediate(n);
3285
3291
  else if (typeof MessageChannel < "u" && (on(MessageChannel) || MessageChannel.toString() === "[object MessageChannelConstructor]")) {
@@ -3288,17 +3294,17 @@ function Cu(n) {
3288
3294
  } else
3289
3295
  typeof Promise < "u" && on(Promise) ? Promise.resolve().then(n) : setTimeout(n, 0);
3290
3296
  }
3291
- function Pu(n) {
3297
+ function Eu(n) {
3292
3298
  typeof queueMicrotask == "function" ? queueMicrotask(n) : Promise.resolve().then(n).catch(
3293
3299
  (t) => setTimeout(() => {
3294
3300
  throw t;
3295
3301
  })
3296
3302
  );
3297
3303
  }
3298
- class Je {
3304
+ class We {
3299
3305
  static _nextId = 0;
3300
3306
  static nextId() {
3301
- return Je._nextId++;
3307
+ return We._nextId++;
3302
3308
  }
3303
3309
  }
3304
3310
  const R = {
@@ -3538,7 +3544,7 @@ function Rc(n) {
3538
3544
  return n;
3539
3545
  }
3540
3546
  }
3541
- const Oc = 4, Nc = 1e-3, Fc = 1e-7, Yc = 10, Ue = 11, ls = 1 / (Ue - 1), Uc = typeof Float32Array == "function";
3547
+ const Oc = 4, Nc = 1e-3, Fc = 1e-7, Yc = 10, Ue = 11, cs = 1 / (Ue - 1), Uc = typeof Float32Array == "function";
3542
3548
  function jr(n, t) {
3543
3549
  return 1 - 3 * t + 3 * n;
3544
3550
  }
@@ -3581,18 +3587,18 @@ function Jr(n, t, e, s) {
3581
3587
  return zc;
3582
3588
  const i = Uc ? new Float32Array(Ue) : new Array(Ue);
3583
3589
  for (let o = 0; o < Ue; ++o)
3584
- i[o] = Es(o * ls, n, e);
3590
+ i[o] = Es(o * cs, n, e);
3585
3591
  function r(o) {
3586
3592
  let a = 0, h = 1;
3587
3593
  const c = Ue - 1;
3588
3594
  for (; h !== c && i[h] <= o; ++h)
3589
- a += ls;
3595
+ a += cs;
3590
3596
  --h;
3591
- const l = (o - i[h]) / (i[h + 1] - i[h]), f = a + l * ls, g = Wr(f, n, e);
3597
+ const l = (o - i[h]) / (i[h + 1] - i[h]), f = a + l * cs, g = Wr(f, n, e);
3592
3598
  return g >= Nc ? Xc(o, f, n, e) : g === 0 ? f : Bc(
3593
3599
  o,
3594
3600
  a,
3595
- a + ls,
3601
+ a + cs,
3596
3602
  n,
3597
3603
  e
3598
3604
  );
@@ -3617,10 +3623,10 @@ function Gc(n) {
3617
3623
  const [t, e, s, i] = Zr(n);
3618
3624
  return [1 - s, 1 - i, 1 - t, 1 - e];
3619
3625
  }
3620
- function Eu(n) {
3626
+ function _u(n) {
3621
3627
  return Jr(...Zr(n));
3622
3628
  }
3623
- function _u(n) {
3629
+ function Au(n) {
3624
3630
  return Jr(...Gc(n));
3625
3631
  }
3626
3632
  const ee = {
@@ -3719,7 +3725,7 @@ class Qr {
3719
3725
  constructor(t, e = Et) {
3720
3726
  this._object = t, this._group = e;
3721
3727
  }
3722
- _id = Je.nextId();
3728
+ _id = We.nextId();
3723
3729
  // 是否正在执行
3724
3730
  _isPlaying = !1;
3725
3731
  // 动画开始时间
@@ -3951,9 +3957,9 @@ class Qr {
3951
3957
  typeof s == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(s) : this._valuesStartRepeat[t] = s, this._valuesEnd[t] = e;
3952
3958
  }
3953
3959
  }
3954
- const Vc = Je.nextId, qc = Et.getAll.bind(Et), jc = Et.removeAll.bind(Et), Hc = Et.add.bind(Et), $c = Et.remove.bind(Et), Wc = Et.update.bind(Et), Au = {
3960
+ const Vc = We.nextId, qc = Et.getAll.bind(Et), jc = Et.removeAll.bind(Et), Hc = Et.add.bind(Et), $c = Et.remove.bind(Et), Wc = Et.update.bind(Et), Du = {
3955
3961
  now: K,
3956
- Sequence: Je,
3962
+ Sequence: We,
3957
3963
  Easing: R,
3958
3964
  Interpolation: ee,
3959
3965
  Group: Kr,
@@ -4109,7 +4115,7 @@ function so(n) {
4109
4115
  function no(n, t, e = !0) {
4110
4116
  t(so(n)), Vr("FLUSH_DOM_ACTION", () => to(e), 50);
4111
4117
  }
4112
- function Du(n, t, e = !0) {
4118
+ function Iu(n, t, e = !0) {
4113
4119
  t(so(n)), to(e);
4114
4120
  }
4115
4121
  function B(n) {
@@ -4138,7 +4144,7 @@ function Ht(n, t) {
4138
4144
  dy: Math.sin(n) * t
4139
4145
  };
4140
4146
  }
4141
- function Iu(n, t, e) {
4147
+ function Mu(n, t, e) {
4142
4148
  if (typeof e == "number") {
4143
4149
  const s = Math.sqrt(Math.pow(n, 2) + Math.pow(t, 2) + Math.pow(e, 2));
4144
4150
  return {
@@ -4154,7 +4160,7 @@ function Iu(n, t, e) {
4154
4160
  };
4155
4161
  }
4156
4162
  }
4157
- function Mu(n, t, e, s, i = 10) {
4163
+ function ku(n, t, e, s, i = 10) {
4158
4164
  if (Math.abs(e - n) < i && Math.abs(s - t) < i)
4159
4165
  return "no";
4160
4166
  const r = ht(me(n, t, e, s));
@@ -4181,7 +4187,7 @@ function at(n, t) {
4181
4187
  );
4182
4188
  return n;
4183
4189
  }
4184
- function us(n) {
4190
+ function ls(n) {
4185
4191
  let t, e;
4186
4192
  if (!n)
4187
4193
  throw new Error(
@@ -4765,7 +4771,7 @@ class As {
4765
4771
  const r = this.__createElement(
4766
4772
  "linearGradient",
4767
4773
  {
4768
- id: us(this.__ids),
4774
+ id: ls(this.__ids),
4769
4775
  x1: t + "px",
4770
4776
  x2: s + "px",
4771
4777
  y1: e + "px",
@@ -4784,7 +4790,7 @@ class As {
4784
4790
  const a = this.__createElement(
4785
4791
  "radialGradient",
4786
4792
  {
4787
- id: us(this.__ids),
4793
+ id: ls(this.__ids),
4788
4794
  cx: i + "px",
4789
4795
  cy: r + "px",
4790
4796
  r: o + "px",
@@ -4901,7 +4907,7 @@ class As {
4901
4907
  * Generates a ClipPath from the clip command.
4902
4908
  */
4903
4909
  clip() {
4904
- const t = this.__closestGroupOrSvg(), e = this.__createElement("clipPath"), s = us(this.__ids), i = this.__createElement("g");
4910
+ const t = this.__closestGroupOrSvg(), e = this.__createElement("clipPath"), s = ls(this.__ids), i = this.__createElement("g");
4905
4911
  this.__applyCurrentDefaultPath(), t.removeChild(this.__currentElement), e.setAttribute("id", s), e.appendChild(this.__currentElement), this.__SVGdefs.appendChild(e), t.setAttribute("clip-path", at("url(#{id})", { id: s })), t.appendChild(i), this.__currentElement = i;
4906
4912
  }
4907
4913
  /**
@@ -4948,7 +4954,7 @@ class As {
4948
4954
  const s = this.__document.createElementNS(
4949
4955
  "http://www.w3.org/2000/svg",
4950
4956
  "pattern"
4951
- ), i = us(this.__ids);
4957
+ ), i = ls(this.__ids);
4952
4958
  let r;
4953
4959
  return s.setAttribute("id", i), t.nodeName === "CANVAS" || t.nodeName === "IMG" ? (r = this.__document.createElementNS(
4954
4960
  "http://www.w3.org/2000/svg",
@@ -5658,7 +5664,7 @@ function En(n, t, e, s, i, r) {
5658
5664
  function Be(n, t, e, s) {
5659
5665
  return [n, t, e, s, e, s];
5660
5666
  }
5661
- const fs = {
5667
+ const us = {
5662
5668
  a: 7,
5663
5669
  // A rx,ry xAxisRotate LargeArcFlag,SweepFlag x,y
5664
5670
  c: 6,
@@ -5737,17 +5743,17 @@ class Te {
5737
5743
  (s, i, r) => {
5738
5744
  let o = i.toLowerCase();
5739
5745
  const a = ar(r);
5740
- for (o == "m" && a.length > fs[o] && (e.push([
5746
+ for (o == "m" && a.length > us[o] && (e.push([
5741
5747
  i,
5742
- ...a.splice(0, fs[o])
5748
+ ...a.splice(0, us[o])
5743
5749
  ]), o = "l", i = i == "m" ? "l" : "L"); a.length; ) {
5744
- if (a.length < fs[o])
5750
+ if (a.length < us[o])
5745
5751
  throw new Error(
5746
5752
  `parseSVGPath substring:{ ${s} } command:{ ${i} } args:{ ${a} }`
5747
5753
  );
5748
5754
  e.push([
5749
5755
  i,
5750
- ...a.splice(0, fs[o])
5756
+ ...a.splice(0, us[o])
5751
5757
  ]);
5752
5758
  }
5753
5759
  return o == "z" && e.push([i]), "";
@@ -6612,7 +6618,7 @@ class q extends Ls {
6612
6618
  ), o.play();
6613
6619
  }
6614
6620
  }
6615
- class ds extends q {
6621
+ class fs extends q {
6616
6622
  x;
6617
6623
  y;
6618
6624
  z;
@@ -7394,7 +7400,7 @@ class xt {
7394
7400
  return r == 0 && (r = 1e-4), s /= r, i /= r, r < 0 && (s -= this.m41, i -= this.m42, s *= 1 / r, i *= 1 / r, s += this.m41, i += this.m42), { x: s, y: i, z: e, mass: r };
7395
7401
  }
7396
7402
  bounds(t, e, s, i) {
7397
- const r = new ds({ x: t, y: e }), o = new ds({ x: t + s, y: e }), a = new ds({ x: t + s, y: e + i }), h = new ds({ x: t, y: e + i });
7403
+ const r = new fs({ x: t, y: e }), o = new fs({ x: t + s, y: e }), a = new fs({ x: t + s, y: e + i }), h = new fs({ x: t, y: e + i });
7398
7404
  ({ x: r.x, y: r.y, z: r.z, mass: r.mass } = this.project(r)), { x: o.x, y: o.y, z: o.z, mass: o.mass } = this.project(o), { x: a.x, y: a.y, z: a.z, mass: a.mass } = this.project(a), { x: h.x, y: h.y, z: h.z, mass: h.mass } = this.project(h);
7399
7405
  const c = Math.min(r.x, o.x, a.x, h.x), l = Math.min(r.y, o.y, a.y, h.y), f = Math.max(r.x, o.x, a.x, h.x) - c, g = Math.max(r.y, o.y, a.y, h.y) - l;
7400
7406
  return { x: c, y: l, width: f, height: g };
@@ -7508,7 +7514,7 @@ function oo(n) {
7508
7514
  ]);
7509
7515
  return c.multiplySelf(new DOMMatrix(n?.originMatrix || "")), c;
7510
7516
  }
7511
- function Lu(n, t) {
7517
+ function Ru(n, t) {
7512
7518
  const e = new Path2D(n), s = new Path2D();
7513
7519
  return s.addPath(e, oo(t)), s;
7514
7520
  }
@@ -7569,13 +7575,13 @@ function rl(n, t) {
7569
7575
  c.w
7570
7576
  ]);
7571
7577
  }
7572
- function Ru(n) {
7578
+ function Ou(n) {
7573
7579
  let t = n[0];
7574
7580
  for (let e = 1, s = n.length; e < s; e++)
7575
7581
  t = il(t, n[e]);
7576
7582
  return t;
7577
7583
  }
7578
- function Ou(n) {
7584
+ function Nu(n) {
7579
7585
  let t = n[0];
7580
7586
  for (let e = 1, s = n.length; e < s; e++)
7581
7587
  t = rl(t, n[e]);
@@ -7613,7 +7619,7 @@ function ho(n) {
7613
7619
  )
7614
7620
  );
7615
7621
  }
7616
- function Nu(n, t, e) {
7622
+ function Fu(n, t, e) {
7617
7623
  if (getComputedStyle) {
7618
7624
  t = pt(t);
7619
7625
  const s = getComputedStyle(n, e), i = s.getPropertyPriority(t);
@@ -7654,7 +7660,7 @@ function ol(n, t) {
7654
7660
  };
7655
7661
  }
7656
7662
  }
7657
- function Fu(n, t, e = {}) {
7663
+ function Yu(n, t, e = {}) {
7658
7664
  Object.prototype.hasOwnProperty.call(e, "transform") || Object.assign(e, {
7659
7665
  transform: Ce(n, "transform") || ""
7660
7666
  });
@@ -7837,7 +7843,7 @@ function Fu(n, t, e = {}) {
7837
7843
  }), i;
7838
7844
  }
7839
7845
  let zi = !1;
7840
- function ms() {
7846
+ function ds() {
7841
7847
  zi || (zi = !0, ol(`
7842
7848
  /* iOS > 11.2 */
7843
7849
  /* 注意:--xxx:后面不要有空格 */
@@ -7855,25 +7861,25 @@ function ms() {
7855
7861
  }
7856
7862
  `));
7857
7863
  }
7858
- const Zt = ge(), Yu = {
7859
- onTop: (n) => (ms(), setTimeout(() => {
7864
+ const Zt = ge(), Uu = {
7865
+ onTop: (n) => (ds(), setTimeout(() => {
7860
7866
  const t = getComputedStyle(document.documentElement);
7861
7867
  Zt.emit("top", t.getPropertyValue("--sat"));
7862
7868
  }, 1), Zt.on("top", n)),
7863
- onRight: (n) => (ms(), setTimeout(() => {
7869
+ onRight: (n) => (ds(), setTimeout(() => {
7864
7870
  const t = getComputedStyle(document.documentElement);
7865
7871
  Zt.emit("right", t.getPropertyValue("--sar"));
7866
7872
  }, 1), Zt.on("right", n)),
7867
- onBottom: (n) => (ms(), setTimeout(() => {
7873
+ onBottom: (n) => (ds(), setTimeout(() => {
7868
7874
  const t = getComputedStyle(document.documentElement);
7869
7875
  Zt.emit("bottom", t.getPropertyValue("--sab"));
7870
7876
  }, 1), Zt.on("bottom", n)),
7871
- onLeft: (n) => (ms(), setTimeout(() => {
7877
+ onLeft: (n) => (ds(), setTimeout(() => {
7872
7878
  const t = getComputedStyle(document.documentElement);
7873
7879
  Zt.emit("left", t.getPropertyValue("--sal"));
7874
7880
  }, 1), Zt.on("left", n))
7875
7881
  };
7876
- function Uu(n) {
7882
+ function Bu(n) {
7877
7883
  return Ge.onpopstate(() => {
7878
7884
  const { pathname: t, search: e } = location;
7879
7885
  n[t]?.();
@@ -7883,7 +7889,7 @@ function Uu(n) {
7883
7889
  replace: Ge.replacestate
7884
7890
  };
7885
7891
  }
7886
- function Bu() {
7892
+ function Xu() {
7887
7893
  const n = ge();
7888
7894
  return {
7889
7895
  destroy: gt(document, "scroll", (t) => {
@@ -7894,15 +7900,15 @@ function Bu() {
7894
7900
  })
7895
7901
  };
7896
7902
  }
7897
- function Xu() {
7903
+ function zu() {
7898
7904
  return gt(document, "touchmove", (n) => {
7899
7905
  n.preventDefault();
7900
7906
  });
7901
7907
  }
7902
- function zu(n, t) {
7908
+ function Gu(n, t) {
7903
7909
  window.scrollTo(n, t);
7904
7910
  }
7905
- function Gu() {
7911
+ function Vu() {
7906
7912
  let n = yi, t = yi;
7907
7913
  return "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual", n = Ge.onbeforeunload(() => {
7908
7914
  window.history.scrollRestoration = "auto";
@@ -7926,7 +7932,7 @@ function al(n) {
7926
7932
  }
7927
7933
  };
7928
7934
  }
7929
- function Vu(n, t = 0.5, e) {
7935
+ function qu(n, t = 0.5, e) {
7930
7936
  const s = ge();
7931
7937
  let i;
7932
7938
  const r = new IntersectionObserver(
@@ -7956,7 +7962,7 @@ function Vu(n, t = 0.5, e) {
7956
7962
  }
7957
7963
  };
7958
7964
  }
7959
- function qu(n) {
7965
+ function ju(n) {
7960
7966
  const t = ge(), e = new MutationObserver(
7961
7967
  (s, i) => {
7962
7968
  t.emit("mutation", s, i);
@@ -7975,7 +7981,7 @@ function qu(n) {
7975
7981
  }
7976
7982
  };
7977
7983
  }
7978
- function ju(n, t, e, s, i) {
7984
+ function Hu(n, t, e, s, i) {
7979
7985
  const r = t / e;
7980
7986
  let o = 0, a = 0;
7981
7987
  switch (n) {
@@ -7999,10 +8005,14 @@ function ju(n, t, e, s, i) {
7999
8005
  return { width: o, height: a };
8000
8006
  }
8001
8007
  function hl(n) {
8002
- const t = document.createElement("canvas"), e = t.getContext("2d");
8003
- 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);
8008
+ try {
8009
+ const t = document.createElement("canvas"), e = t.getContext("2d");
8010
+ 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);
8011
+ } catch {
8012
+ return new ImageData(n.width, n.height);
8013
+ }
8004
8014
  }
8005
- const Hu = (n) => {
8015
+ const $u = (n) => {
8006
8016
  const t = n.width, e = n.height, s = t * e * 3, i = s + 54, r = [
8007
8017
  // WORD bfType -- The file type signature; must be "BM"
8008
8018
  66,
@@ -8104,10 +8114,10 @@ const Hu = (n) => {
8104
8114
  return btoa(E);
8105
8115
  }
8106
8116
  return x(r.concat(o)) + x(c);
8107
- }, $u = (n) => {
8117
+ }, Wu = (n) => {
8108
8118
  const { width: t, height: e } = n, s = document.createElement("canvas"), i = s.getContext("2d");
8109
8119
  return s.width = t, s.height = e, i.putImageData(n, 0, 0, 0, 0, t, e), s.toDataURL("image/png");
8110
- }, Wu = (n, t, e) => {
8120
+ }, Ju = (n, t, e) => {
8111
8121
  const { width: s, height: i } = n, r = document.createElement("canvas"), o = r.getContext("2d");
8112
8122
  r.width = s, r.height = i, o.putImageData(n, 0, 0, 0, 0, s, i);
8113
8123
  const a = `image/${t ? t.toLowerCase() : "png"}`;
@@ -8119,10 +8129,10 @@ const Hu = (n) => {
8119
8129
  1
8120
8130
  );
8121
8131
  };
8122
- function Ju(n, t) {
8132
+ function Zu(n, t) {
8123
8133
  return createImageBitmap(n, t);
8124
8134
  }
8125
- function Zu(n) {
8135
+ function Ku(n) {
8126
8136
  const t = [], e = [], s = [];
8127
8137
  let i = 0;
8128
8138
  for (let h = 0, c = n.data.length; h < c; h += 4)
@@ -8147,7 +8157,7 @@ function un(n) {
8147
8157
  return;
8148
8158
  return e[o];
8149
8159
  }
8150
- const Ku = (n) => {
8160
+ const Qu = (n) => {
8151
8161
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8152
8162
  for (let o = 0; o < s; o++)
8153
8163
  for (let a = 0; a < e; a++) {
@@ -8155,7 +8165,7 @@ const Ku = (n) => {
8155
8165
  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];
8156
8166
  }
8157
8167
  return new ImageData(i, e, s);
8158
- }, Qu = (n) => {
8168
+ }, tf = (n) => {
8159
8169
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8160
8170
  for (let o = 0; o < s; o++)
8161
8171
  for (let a = 0; a < e; a++) {
@@ -8163,7 +8173,7 @@ const Ku = (n) => {
8163
8173
  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];
8164
8174
  }
8165
8175
  return new ImageData(i, e, s);
8166
- }, tf = (n) => {
8176
+ }, ef = (n) => {
8167
8177
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8168
8178
  for (let o = 0; o < e; o++)
8169
8179
  for (let a = 0; a < s; a++) {
@@ -8171,7 +8181,7 @@ const Ku = (n) => {
8171
8181
  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];
8172
8182
  }
8173
8183
  return new ImageData(i, s, e);
8174
- }, ef = (n) => {
8184
+ }, sf = (n) => {
8175
8185
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8176
8186
  for (let o = 0; o < e; o++)
8177
8187
  for (let a = 0; a < s; a++) {
@@ -8179,7 +8189,7 @@ const Ku = (n) => {
8179
8189
  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];
8180
8190
  }
8181
8191
  return new ImageData(i, s, e);
8182
- }, sf = (n) => {
8192
+ }, nf = (n) => {
8183
8193
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8184
8194
  for (let o = 0; o < s; o++)
8185
8195
  for (let a = 0; a < e; a++) {
@@ -8187,7 +8197,7 @@ const Ku = (n) => {
8187
8197
  i[h] = c, i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
8188
8198
  }
8189
8199
  return new ImageData(i, e, s);
8190
- }, nf = (n) => {
8200
+ }, rf = (n) => {
8191
8201
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8192
8202
  for (let o = 0; o < s; o++)
8193
8203
  for (let a = 0; a < e; a++) {
@@ -8195,7 +8205,7 @@ const Ku = (n) => {
8195
8205
  i[h] = c, i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
8196
8206
  }
8197
8207
  return new ImageData(i, e, s);
8198
- }, rf = (n) => {
8208
+ }, of = (n) => {
8199
8209
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8200
8210
  for (let o = 0; o < s; o++)
8201
8211
  for (let a = 0; a < e; a++) {
@@ -8203,7 +8213,7 @@ const Ku = (n) => {
8203
8213
  i[h] = l, i[h + 1] = l, i[h + 2] = l, i[h + 3] = t[h + 3];
8204
8214
  }
8205
8215
  return new ImageData(i, e, s);
8206
- }, of = (n) => {
8216
+ }, af = (n) => {
8207
8217
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8208
8218
  for (let o = 0; o < s; o++)
8209
8219
  for (let a = 0; a < e; a++) {
@@ -8211,7 +8221,7 @@ const Ku = (n) => {
8211
8221
  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];
8212
8222
  }
8213
8223
  return new ImageData(i, e, s);
8214
- }, af = (n) => {
8224
+ }, hf = (n) => {
8215
8225
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8216
8226
  for (let o = 0; o < s; o++)
8217
8227
  for (let a = 0; a < e; a++) {
@@ -8219,7 +8229,7 @@ const Ku = (n) => {
8219
8229
  i[h] = t[h], i[h + 1] = 0, i[h + 2] = 0, i[h + 3] = t[h + 3];
8220
8230
  }
8221
8231
  return new ImageData(i, e, s);
8222
- }, hf = (n) => {
8232
+ }, cf = (n) => {
8223
8233
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8224
8234
  for (let o = 0; o < s; o++)
8225
8235
  for (let a = 0; a < e; a++) {
@@ -8227,7 +8237,7 @@ const Ku = (n) => {
8227
8237
  i[h] = 0, i[h + 1] = t[h + 1], i[h + 2] = 0, i[h + 3] = t[h + 3];
8228
8238
  }
8229
8239
  return new ImageData(i, e, s);
8230
- }, cf = (n) => {
8240
+ }, lf = (n) => {
8231
8241
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8232
8242
  for (let o = 0; o < s; o++)
8233
8243
  for (let a = 0; a < e; a++) {
@@ -8235,7 +8245,7 @@ const Ku = (n) => {
8235
8245
  i[h] = 0, i[h + 1] = 0, i[h + 2] = t[h + 2], i[h + 3] = t[h + 3];
8236
8246
  }
8237
8247
  return new ImageData(i, e, s);
8238
- }, lf = (n) => {
8248
+ }, uf = (n) => {
8239
8249
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8240
8250
  for (let o = 0; o < s; o++)
8241
8251
  for (let a = 0; a < e; a++) {
@@ -8243,7 +8253,7 @@ const Ku = (n) => {
8243
8253
  i[h] = t[h], i[h + 1] = t[h + 1], i[h + 2] = 0, i[h + 3] = t[h + 3];
8244
8254
  }
8245
8255
  return new ImageData(i, e, s);
8246
- }, uf = (n) => {
8256
+ }, ff = (n) => {
8247
8257
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8248
8258
  for (let o = 0; o < s; o++)
8249
8259
  for (let a = 0; a < e; a++) {
@@ -8251,7 +8261,7 @@ const Ku = (n) => {
8251
8261
  i[h] = t[h], i[h + 1] = 0, i[h + 2] = t[h + 1], i[h + 3] = t[h + 3];
8252
8262
  }
8253
8263
  return new ImageData(i, e, s);
8254
- }, ff = (n) => {
8264
+ }, df = (n) => {
8255
8265
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8256
8266
  for (let o = 0; o < s; o++)
8257
8267
  for (let a = 0; a < e; a++) {
@@ -8259,7 +8269,7 @@ const Ku = (n) => {
8259
8269
  i[h] = 0, i[h + 1] = t[h + 1], i[h + 2] = t[h + 1], i[h + 3] = t[h + 3];
8260
8270
  }
8261
8271
  return new ImageData(i, e, s);
8262
- }, df = (n) => {
8272
+ }, mf = (n) => {
8263
8273
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8264
8274
  for (let o = 0; o < s; o++)
8265
8275
  for (let a = 0; a < e; a++) {
@@ -8267,7 +8277,7 @@ const Ku = (n) => {
8267
8277
  i[h] = t[h], i[h + 1] = c, i[h + 2] = c, i[h + 3] = t[h + 3];
8268
8278
  }
8269
8279
  return new ImageData(i, e, s);
8270
- }, mf = (n) => {
8280
+ }, pf = (n) => {
8271
8281
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8272
8282
  for (let o = 0; o < s; o++)
8273
8283
  for (let a = 0; a < e; a++) {
@@ -8275,7 +8285,7 @@ const Ku = (n) => {
8275
8285
  i[h] = c, i[h + 1] = t[h + 1], i[h + 2] = c, i[h + 3] = t[h + 3];
8276
8286
  }
8277
8287
  return new ImageData(i, e, s);
8278
- }, pf = (n) => {
8288
+ }, gf = (n) => {
8279
8289
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8280
8290
  for (let o = 0; o < s; o++)
8281
8291
  for (let a = 0; a < e; a++) {
@@ -8283,7 +8293,7 @@ const Ku = (n) => {
8283
8293
  i[h] = c, i[h + 1] = c, i[h + 2] = t[h + 2], i[h + 3] = t[h + 3];
8284
8294
  }
8285
8295
  return new ImageData(i, e, s);
8286
- }, gf = (n) => lo(n, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), yf = (n) => lo(n, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), wf = (n) => {
8296
+ }, yf = (n) => lo(n, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), wf = (n) => lo(n, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), xf = (n) => {
8287
8297
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8288
8298
  for (let o = 0; o < s; o++)
8289
8299
  for (let a = 0; a < e; a++) {
@@ -8291,7 +8301,7 @@ const Ku = (n) => {
8291
8301
  i[h] = t[h], i[h + 1] = t[h + 1], i[h + 2] = t[h + 2], i[h + 3] = 255;
8292
8302
  }
8293
8303
  return new ImageData(i, e, s);
8294
- }, xf = (n) => {
8304
+ }, bf = (n) => {
8295
8305
  const { data: t, width: e, height: s } = n, i = new Uint8ClampedArray(t.length);
8296
8306
  for (let o = 0; o < s; o++)
8297
8307
  for (let a = 0; a < e; a++) {
@@ -8312,7 +8322,7 @@ const Ku = (n) => {
8312
8322
  }
8313
8323
  }
8314
8324
  return new ImageData(i, e, s);
8315
- }, bf = (n, t, e, s, i, r = !1, o) => {
8325
+ }, vf = (n, t, e, s, i, r = !1, o) => {
8316
8326
  const { data: a, width: h, height: c } = n;
8317
8327
  let l = i, f = s, g = t, x = e;
8318
8328
  if (l < 0 ? l = 0 : l > h && (l = h), f < 0 ? f = 0 : f > c && (f = c), g < 1 ? g = 1 : g > h && (g = h), x < 1 ? x = 1 : x > c && (x = c), l + g > h && (g = h - l), f + x > c && (x = c - f), r) {
@@ -8332,7 +8342,7 @@ const Ku = (n) => {
8332
8342
  }
8333
8343
  return new ImageData(y, g, x);
8334
8344
  }
8335
- }, vf = (n, t, e, s) => {
8345
+ }, Sf = (n, t, e, s) => {
8336
8346
  const { data: i, width: r, height: o } = n;
8337
8347
  let a = t;
8338
8348
  a > Math.floor(r / 2) && (a = Math.floor(r / 2)), a > Math.floor(o / 2) && (a = Math.floor(o / 2)), a < 0 && (a = 0);
@@ -8352,12 +8362,12 @@ const Ku = (n) => {
8352
8362
  ))), Math.round(x) > a ? (h[g] = 255, h[g + 1] = 255, h[g + 2] = 255, h[g + 3] = s || e.toUpperCase() === "PNG" ? 0 : 255) : (h[g] = i[g], h[g + 1] = i[g + 1], h[g + 2] = i[g + 2], h[g + 3] = s || e.toUpperCase() === "PNG" ? i[g + 3] : 255);
8353
8363
  }
8354
8364
  return new ImageData(h, r, o);
8355
- }, Sf = (n, t, e, s, i, r = 1e4) => {
8365
+ }, Tf = (n, t, e, s, i, r = 1e4) => {
8356
8366
  const o = new Image();
8357
8367
  o.src = n;
8358
8368
  const a = document.createElement("canvas"), h = a.getContext("2d");
8359
8369
  return a.width = r, a.height = r, h.drawImage(o, 0, 0, t, e, 0, 0, s, i), h.getImageData(0, 0, s, i);
8360
- }, Tf = (n, t) => {
8370
+ }, Cf = (n, t) => {
8361
8371
  const { data: e, width: s, height: i } = n, r = new Uint8ClampedArray(e.length);
8362
8372
  for (let a = 0; a < i; a++)
8363
8373
  for (let h = 0; h < s; h++) {
@@ -8374,7 +8384,7 @@ const Ku = (n) => {
8374
8384
  ), r[c + 3] = e[c + 3];
8375
8385
  }
8376
8386
  return new ImageData(r, s, i);
8377
- }, Cf = (n, t, e = !1) => {
8387
+ }, Pf = (n, t, e = !1) => {
8378
8388
  const { data: s, width: i, height: r } = n, o = new Uint8ClampedArray(s.length);
8379
8389
  for (let h = 0; h < r; h++)
8380
8390
  for (let c = 0; c < i; c++) {
@@ -8384,7 +8394,7 @@ const Ku = (n) => {
8384
8394
  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;
8385
8395
  }
8386
8396
  return new ImageData(o, i, r);
8387
- }, Pf = (n, t, e, s) => {
8397
+ }, Ef = (n, t, e, s) => {
8388
8398
  const { data: i, width: r, height: o } = n, {
8389
8399
  data: a,
8390
8400
  width: h,
@@ -8414,7 +8424,7 @@ const Ku = (n) => {
8414
8424
  }
8415
8425
  }
8416
8426
  return new ImageData(g, r, o);
8417
- }, Ef = (n, t, e, s, i, r = 10) => {
8427
+ }, _f = (n, t, e, s, i, r = 10) => {
8418
8428
  const { data: o, width: a, height: h } = n;
8419
8429
  let c = i, l = s, f = t, g = e;
8420
8430
  c < 0 ? c = 0 : c > a && (c = a), l < 0 ? l = 0 : l > h && (l = h), f < 1 ? f = 1 : f > a && (f = a), g < 1 ? g = 1 : g > h && (g = h), c + f > a && (f = a - c), l + g > h && (g = h - l);
@@ -8436,7 +8446,7 @@ const Ku = (n) => {
8436
8446
  x[b] = o[b], x[b + 1] = o[b + 1], x[b + 2] = o[b + 2], x[b + 3] = o[b + 3];
8437
8447
  }
8438
8448
  return new ImageData(x, a, h);
8439
- }, _f = (n, t, e = {
8449
+ }, Af = (n, t, e = {
8440
8450
  backgroundColor: { r: 0, g: 0, b: 0, a: 255 },
8441
8451
  changeIntoColor: { r: 0, g: 0, b: 0, a: 0 }
8442
8452
  }) => {
@@ -9370,7 +9380,7 @@ class fe {
9370
9380
  }
9371
9381
  }
9372
9382
  const Vi = Math.ceil, qe = Math.floor, qi = Math.round;
9373
- function Af(n, t) {
9383
+ function Df(n, t) {
9374
9384
  const e = rr(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 fe(r, s);
9375
9385
  c.addData(e), c.make();
9376
9386
  const l = c.getModuleCount(), f = (i - o * 2) / l, g = o, x = i - o;
@@ -9382,7 +9392,7 @@ function Af(n, t) {
9382
9392
  return 1;
9383
9393
  });
9384
9394
  }
9385
- function Df(n, t) {
9395
+ function If(n, t) {
9386
9396
  const e = t.x || 0, s = t.y || 0, i = rr(n), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? qe(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", f = t.background || "#ffffff", g = new fe(c, o);
9387
9397
  g.addData(i), g.make();
9388
9398
  const x = g.getModuleCount(), y = (a - h * 2) / x;
@@ -9535,12 +9545,12 @@ const mo = getComputedStyle(document.documentElement);
9535
9545
  function U(n) {
9536
9546
  return mo.getPropertyValue(n);
9537
9547
  }
9538
- function If(n, t) {
9548
+ function Mf(n, t) {
9539
9549
  document.documentElement.style.setProperty(n, t), mo.setProperty(n, t);
9540
9550
  }
9541
9551
  const ji = {
9542
9552
  colorPrimary: U("--color-primary") || "#5A82F0",
9543
- colorRed: U("--color-red") || "#ff5050",
9553
+ colorRed: U("--color-red") || "#FA503C",
9544
9554
  colorOrange: U("--color-orange") || "#fa8c00",
9545
9555
  colorYellow: U("--color-yellow") || "#fadc32",
9546
9556
  colorGreen: U("--color-green") || "#00c878",
@@ -9878,7 +9888,7 @@ class Pe extends q {
9878
9888
  return e.intersection(s);
9879
9889
  }
9880
9890
  }
9881
- class Mf extends q {
9891
+ class kf extends q {
9882
9892
  cx;
9883
9893
  cy;
9884
9894
  toX;
@@ -10056,7 +10066,7 @@ var po = { exports: {} };
10056
10066
  var d = u.ownerDocument || u;
10057
10067
  return d.defaultView || d.parentWindow || t;
10058
10068
  }
10059
- var we = /mobile|tablet|ip(ad|hone|od)|android/i, L = "ontouchstart" in t, M = lt(t, "PointerEvent") !== i, F = L && we.test(navigator.userAgent), V = "touch", rt = "pen", _t = "mouse", Ke = "kinect", Qe = 25, Q = 1, Mt = 2, $ = 4, D = 8, ts = 1, Ie = 2, Me = 4, ke = 8, Le = 16, kt = Ie | Me, oe = ke | Le, $n = kt | oe, Wn = ["x", "y"], es = ["clientX", "clientY"];
10069
+ var we = /mobile|tablet|ip(ad|hone|od)|android/i, L = "ontouchstart" in t, M = lt(t, "PointerEvent") !== i, F = L && we.test(navigator.userAgent), V = "touch", rt = "pen", _t = "mouse", Ze = "kinect", Ke = 25, Q = 1, Mt = 2, $ = 4, D = 8, Qe = 1, Ie = 2, Me = 4, ke = 8, Le = 16, kt = Ie | Me, oe = ke | Le, $n = kt | oe, Wn = ["x", "y"], ts = ["clientX", "clientY"];
10060
10070
  function Tt(u, d) {
10061
10071
  var C = this;
10062
10072
  this.manager = u, this.callback = d, this.element = u.element, this.target = u.options.inputTarget, this.domHandler = function(_) {
@@ -10085,7 +10095,7 @@ var po = { exports: {} };
10085
10095
  };
10086
10096
  function _o(u) {
10087
10097
  var d, C = u.options.inputClass;
10088
- return C ? d = C : M ? d = Hs : F ? d = is : L ? d = $s : d = ns, new d(u, Ao);
10098
+ return C ? d = C : M ? d = Hs : F ? d = ns : L ? d = $s : d = ss, new d(u, Ao);
10089
10099
  }
10090
10100
  function Ao(u, d, C) {
10091
10101
  var _ = C.pointers.length, I = C.changedPointers.length, k = d & Q && _ - I === 0, Y = d & ($ | D) && _ - I === 0;
@@ -10095,7 +10105,7 @@ var po = { exports: {} };
10095
10105
  var C = u.session, _ = d.pointers, I = _.length;
10096
10106
  C.firstInput || (C.firstInput = Jn(d)), I > 1 && !C.firstMultiple ? C.firstMultiple = Jn(d) : I === 1 && (C.firstMultiple = !1);
10097
10107
  var k = C.firstInput, Y = C.firstMultiple, tt = Y ? Y.center : k.center, st = d.center = Zn(_);
10098
- d.timeStamp = l(), d.deltaTime = d.timeStamp - k.timeStamp, d.angle = js(tt, st), d.distance = ss(tt, st), Io(C, d), d.offsetDirection = Qn(d.deltaX, d.deltaY);
10108
+ d.timeStamp = l(), d.deltaTime = d.timeStamp - k.timeStamp, d.angle = js(tt, st), d.distance = es(tt, st), Io(C, d), d.offsetDirection = Qn(d.deltaX, d.deltaY);
10099
10109
  var ot = Kn(d.deltaTime, d.deltaX, d.deltaY);
10100
10110
  d.overallVelocityX = ot.x, d.overallVelocityY = ot.y, d.overallVelocity = c(ot.x) > c(ot.y) ? ot.x : ot.y, d.scale = Y ? Lo(Y.pointers, _) : 1, d.rotation = Y ? ko(Y.pointers, _) : 0, d.maxPointers = C.prevInput ? d.pointers.length > C.prevInput.maxPointers ? d.pointers.length : C.prevInput.maxPointers : d.pointers.length, Mo(C, d);
10101
10111
  var Rt = u.element;
@@ -10113,7 +10123,7 @@ var po = { exports: {} };
10113
10123
  }
10114
10124
  function Mo(u, d) {
10115
10125
  var C = u.lastInterval || d, _ = d.timeStamp - C.timeStamp, I, k, Y, tt;
10116
- if (d.eventType != D && (_ > Qe || C.velocity === i)) {
10126
+ if (d.eventType != D && (_ > Ke || C.velocity === i)) {
10117
10127
  var st = d.deltaX - C.deltaX, ot = d.deltaY - C.deltaY, Rt = Kn(_, st, ot);
10118
10128
  k = Rt.x, Y = Rt.y, I = c(Rt.x) > c(Rt.y) ? Rt.x : Rt.y, tt = Qn(st, ot), u.lastInterval = d;
10119
10129
  } else
@@ -10155,9 +10165,9 @@ var po = { exports: {} };
10155
10165
  };
10156
10166
  }
10157
10167
  function Qn(u, d) {
10158
- return u === d ? ts : c(u) >= c(d) ? u < 0 ? Ie : Me : d < 0 ? ke : Le;
10168
+ return u === d ? Qe : c(u) >= c(d) ? u < 0 ? Ie : Me : d < 0 ? ke : Le;
10159
10169
  }
10160
- function ss(u, d, C) {
10170
+ function es(u, d, C) {
10161
10171
  C || (C = Wn);
10162
10172
  var _ = d[C[0]] - u[C[0]], I = d[C[1]] - u[C[1]];
10163
10173
  return Math.sqrt(_ * _ + I * I);
@@ -10168,20 +10178,20 @@ var po = { exports: {} };
10168
10178
  return Math.atan2(I, _) * 180 / Math.PI;
10169
10179
  }
10170
10180
  function ko(u, d) {
10171
- return js(d[1], d[0], es) + js(u[1], u[0], es);
10181
+ return js(d[1], d[0], ts) + js(u[1], u[0], ts);
10172
10182
  }
10173
10183
  function Lo(u, d) {
10174
- return ss(d[0], d[1], es) / ss(u[0], u[1], es);
10184
+ return es(d[0], d[1], ts) / es(u[0], u[1], ts);
10175
10185
  }
10176
10186
  var Ro = {
10177
10187
  mousedown: Q,
10178
10188
  mousemove: Mt,
10179
10189
  mouseup: $
10180
10190
  }, Oo = "mousedown", No = "mousemove mouseup";
10181
- function ns() {
10191
+ function ss() {
10182
10192
  this.evEl = Oo, this.evWin = No, this.pressed = !1, Tt.apply(this, arguments);
10183
10193
  }
10184
- w(ns, Tt, {
10194
+ w(ss, Tt, {
10185
10195
  /**
10186
10196
  * handle mouse events
10187
10197
  * @param {Object} ev
@@ -10206,7 +10216,7 @@ var po = { exports: {} };
10206
10216
  2: V,
10207
10217
  3: rt,
10208
10218
  4: _t,
10209
- 5: Ke
10219
+ 5: Ze
10210
10220
  // see https://twitter.com/jacobrossi/status/480596438489890816
10211
10221
  }, ti = "pointerdown", ei = "pointermove pointerup pointercancel";
10212
10222
  t.MSPointerEvent && !t.PointerEvent && (ti = "MSPointerDown", ei = "MSPointerMove MSPointerUp MSPointerCancel");
@@ -10261,10 +10271,10 @@ var po = { exports: {} };
10261
10271
  touchend: $,
10262
10272
  touchcancel: D
10263
10273
  }, Vo = "touchstart touchmove touchend touchcancel";
10264
- function is() {
10274
+ function ns() {
10265
10275
  this.evTarget = Vo, this.targetIds = {}, Tt.apply(this, arguments);
10266
10276
  }
10267
- w(is, Tt, {
10277
+ w(ns, Tt, {
10268
10278
  handler: function(d) {
10269
10279
  var C = Go[d.type], _ = qo.call(this, d, C);
10270
10280
  _ && this.callback(this.manager, C, {
@@ -10298,7 +10308,7 @@ var po = { exports: {} };
10298
10308
  function $s() {
10299
10309
  Tt.apply(this, arguments);
10300
10310
  var u = m(this.handler, this);
10301
- this.touch = new is(this.manager, u), this.mouse = new ns(this.manager, u), this.primaryTouch = null, this.lastTouches = [];
10311
+ this.touch = new ns(this.manager, u), this.mouse = new ss(this.manager, u), this.primaryTouch = null, this.lastTouches = [];
10302
10312
  }
10303
10313
  w($s, Tt, {
10304
10314
  /**
@@ -10347,7 +10357,7 @@ var po = { exports: {} };
10347
10357
  }
10348
10358
  return !1;
10349
10359
  }
10350
- var ri = lt(o.style, "touchAction"), oi = ri !== i, ai = "compute", hi = "auto", Ws = "manipulation", ae = "none", Re = "pan-x", Oe = "pan-y", rs = Jo();
10360
+ var ri = lt(o.style, "touchAction"), oi = ri !== i, ai = "compute", hi = "auto", Ws = "manipulation", ae = "none", Re = "pan-x", Oe = "pan-y", is = Jo();
10351
10361
  function Js(u, d) {
10352
10362
  this.manager = u, this.set(d);
10353
10363
  }
@@ -10357,7 +10367,7 @@ var po = { exports: {} };
10357
10367
  * @param {String} value
10358
10368
  */
10359
10369
  set: function(u) {
10360
- u == ai && (u = this.compute()), oi && this.manager.element.style && rs[u] && (this.manager.element.style[ri] = u), this.actions = u.toLowerCase().trim();
10370
+ u == ai && (u = this.compute()), oi && this.manager.element.style && is[u] && (this.manager.element.style[ri] = u), this.actions = u.toLowerCase().trim();
10361
10371
  },
10362
10372
  /**
10363
10373
  * just re-set the touchAction value
@@ -10385,7 +10395,7 @@ var po = { exports: {} };
10385
10395
  d.preventDefault();
10386
10396
  return;
10387
10397
  }
10388
- var _ = this.actions, I = G(_, ae) && !rs[ae], k = G(_, Oe) && !rs[Oe], Y = G(_, Re) && !rs[Re];
10398
+ var _ = this.actions, I = G(_, ae) && !is[ae], k = G(_, Oe) && !is[Oe], Y = G(_, Re) && !is[Re];
10389
10399
  if (I) {
10390
10400
  var tt = u.pointers.length === 1, st = u.distance < 2, ot = u.deltaTime < 250;
10391
10401
  if (tt && st && ot)
@@ -10416,9 +10426,9 @@ var po = { exports: {} };
10416
10426
  u[C] = d ? t.CSS.supports("touch-action", C) : !0;
10417
10427
  }), u;
10418
10428
  }
10419
- var os = 1, Ct = 2, xe = 4, Wt = 8, Xt = Wt, Ne = 16, Lt = 32;
10429
+ var rs = 1, Ct = 2, xe = 4, Wt = 8, Xt = Wt, Ne = 16, Lt = 32;
10420
10430
  function zt(u) {
10421
- this.options = E({}, this.defaults, u || {}), this.id = $t(), this.manager = null, this.options.enable = P(this.options.enable, !0), this.state = os, this.simultaneous = {}, this.requireFail = [];
10431
+ this.options = E({}, this.defaults, u || {}), this.id = $t(), this.manager = null, this.options.enable = P(this.options.enable, !0), this.state = rs, this.simultaneous = {}, this.requireFail = [];
10422
10432
  }
10423
10433
  zt.prototype = {
10424
10434
  /**
@@ -10443,7 +10453,7 @@ var po = { exports: {} };
10443
10453
  if (g(u, "recognizeWith", this))
10444
10454
  return this;
10445
10455
  var d = this.simultaneous;
10446
- return u = as(u, this), d[u.id] || (d[u.id] = u, u.recognizeWith(this)), this;
10456
+ return u = os(u, this), d[u.id] || (d[u.id] = u, u.recognizeWith(this)), this;
10447
10457
  },
10448
10458
  /**
10449
10459
  * drop the simultaneous link. it doesnt remove the link on the other recognizer.
@@ -10451,7 +10461,7 @@ var po = { exports: {} };
10451
10461
  * @returns {Recognizer} this
10452
10462
  */
10453
10463
  dropRecognizeWith: function(u) {
10454
- return g(u, "dropRecognizeWith", this) ? this : (u = as(u, this), delete this.simultaneous[u.id], this);
10464
+ return g(u, "dropRecognizeWith", this) ? this : (u = os(u, this), delete this.simultaneous[u.id], this);
10455
10465
  },
10456
10466
  /**
10457
10467
  * recognizer can only run when an other is failing
@@ -10462,7 +10472,7 @@ var po = { exports: {} };
10462
10472
  if (g(u, "requireFailure", this))
10463
10473
  return this;
10464
10474
  var d = this.requireFail;
10465
- return u = as(u, this), J(d, u) === -1 && (d.push(u), u.requireFailure(this)), this;
10475
+ return u = os(u, this), J(d, u) === -1 && (d.push(u), u.requireFailure(this)), this;
10466
10476
  },
10467
10477
  /**
10468
10478
  * drop the requireFailure link. it does not remove the link on the other recognizer.
@@ -10472,7 +10482,7 @@ var po = { exports: {} };
10472
10482
  dropRequireFailure: function(u) {
10473
10483
  if (g(u, "dropRequireFailure", this))
10474
10484
  return this;
10475
- u = as(u, this);
10485
+ u = os(u, this);
10476
10486
  var d = J(this.requireFail, u);
10477
10487
  return d > -1 && this.requireFail.splice(d, 1), this;
10478
10488
  },
@@ -10520,7 +10530,7 @@ var po = { exports: {} };
10520
10530
  */
10521
10531
  canEmit: function() {
10522
10532
  for (var u = 0; u < this.requireFail.length; ) {
10523
- if (!(this.requireFail[u].state & (Lt | os)))
10533
+ if (!(this.requireFail[u].state & (Lt | rs)))
10524
10534
  return !1;
10525
10535
  u++;
10526
10536
  }
@@ -10536,7 +10546,7 @@ var po = { exports: {} };
10536
10546
  this.reset(), this.state = Lt;
10537
10547
  return;
10538
10548
  }
10539
- this.state & (Xt | Ne | Lt) && (this.state = os), this.state = this.process(d), this.state & (Ct | xe | Wt | Ne) && this.tryEmit(d);
10549
+ this.state & (Xt | Ne | Lt) && (this.state = rs), this.state = this.process(d), this.state & (Ct | xe | Wt | Ne) && this.tryEmit(d);
10540
10550
  },
10541
10551
  /**
10542
10552
  * return the state of the recognizer
@@ -10569,7 +10579,7 @@ var po = { exports: {} };
10569
10579
  function li(u) {
10570
10580
  return u == Le ? "down" : u == ke ? "up" : u == Ie ? "left" : u == Me ? "right" : "";
10571
10581
  }
10572
- function as(u, d) {
10582
+ function os(u, d) {
10573
10583
  var C = d.manager;
10574
10584
  return C ? C.get(u) : u;
10575
10585
  }
@@ -10609,10 +10619,10 @@ var po = { exports: {} };
10609
10619
  return _ && (C & D || !I) ? d | Ne : _ || I ? C & $ ? d | Wt : d & Ct ? d | xe : Ct : Lt;
10610
10620
  }
10611
10621
  });
10612
- function hs() {
10622
+ function as() {
10613
10623
  At.apply(this, arguments), this.pX = null, this.pY = null;
10614
10624
  }
10615
- w(hs, At, {
10625
+ w(as, At, {
10616
10626
  /**
10617
10627
  * @namespace
10618
10628
  * @memberof PanRecognizer
@@ -10629,7 +10639,7 @@ var po = { exports: {} };
10629
10639
  },
10630
10640
  directionTest: function(u) {
10631
10641
  var d = this.options, C = !0, _ = u.distance, I = u.direction, k = u.deltaX, Y = u.deltaY;
10632
- return I & d.direction || (d.direction & kt ? (I = k === 0 ? ts : k < 0 ? Ie : Me, C = k != this.pX, _ = Math.abs(u.deltaX)) : (I = Y === 0 ? ts : Y < 0 ? ke : Le, C = Y != this.pY, _ = Math.abs(u.deltaY))), u.direction = I, C && _ > d.threshold && I & d.direction;
10642
+ return I & d.direction || (d.direction & kt ? (I = k === 0 ? Qe : k < 0 ? Ie : Me, C = k != this.pX, _ = Math.abs(u.deltaX)) : (I = Y === 0 ? Qe : Y < 0 ? ke : Le, C = Y != this.pY, _ = Math.abs(u.deltaY))), u.direction = I, C && _ > d.threshold && I & d.direction;
10633
10643
  },
10634
10644
  attrTest: function(u) {
10635
10645
  return At.prototype.attrTest.call(this, u) && (this.state & Ct || !(this.state & Ct) && this.directionTest(u));
@@ -10741,7 +10751,7 @@ var po = { exports: {} };
10741
10751
  pointers: 1
10742
10752
  },
10743
10753
  getTouchAction: function() {
10744
- return hs.prototype.getTouchAction.call(this);
10754
+ return as.prototype.getTouchAction.call(this);
10745
10755
  },
10746
10756
  attrTest: function(u) {
10747
10757
  var d = this.options.direction, C;
@@ -10752,10 +10762,10 @@ var po = { exports: {} };
10752
10762
  d && this.manager.emit(this.options.event + d, u), this.manager.emit(this.options.event, u);
10753
10763
  }
10754
10764
  });
10755
- function cs() {
10765
+ function hs() {
10756
10766
  zt.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0;
10757
10767
  }
10758
- w(cs, zt, {
10768
+ w(hs, zt, {
10759
10769
  /**
10760
10770
  * @namespace
10761
10771
  * @memberof PinchRecognizer
@@ -10783,7 +10793,7 @@ var po = { exports: {} };
10783
10793
  if (_ && I && C) {
10784
10794
  if (u.eventType != $)
10785
10795
  return this.failTimeout();
10786
- var k = this.pTime ? u.timeStamp - this.pTime < d.interval : !0, Y = !this.pCenter || ss(this.pCenter, u.center) < d.posThreshold;
10796
+ var k = this.pTime ? u.timeStamp - this.pTime < d.interval : !0, Y = !this.pCenter || es(this.pCenter, u.center) < d.posThreshold;
10787
10797
  this.pTime = u.timeStamp, this.pCenter = u.center, !Y || !k ? this.count = 1 : this.count += 1, this._input = u;
10788
10798
  var tt = this.count % d.taps;
10789
10799
  if (tt === 0)
@@ -10852,9 +10862,9 @@ var po = { exports: {} };
10852
10862
  [Qs, { enable: !1 }],
10853
10863
  [Zs, { enable: !1 }, ["rotate"]],
10854
10864
  [tn, { direction: kt }],
10855
- [hs, { direction: kt }, ["swipe"]],
10856
- [cs],
10857
- [cs, { event: "doubletap", taps: 2 }, ["tap"]],
10865
+ [as, { direction: kt }, ["swipe"]],
10866
+ [hs],
10867
+ [hs, { event: "doubletap", taps: 2 }, ["tap"]],
10858
10868
  [Ks]
10859
10869
  ],
10860
10870
  /**
@@ -11056,14 +11066,14 @@ var po = { exports: {} };
11056
11066
  INPUT_MOVE: Mt,
11057
11067
  INPUT_END: $,
11058
11068
  INPUT_CANCEL: D,
11059
- STATE_POSSIBLE: os,
11069
+ STATE_POSSIBLE: rs,
11060
11070
  STATE_BEGAN: Ct,
11061
11071
  STATE_CHANGED: xe,
11062
11072
  STATE_ENDED: Wt,
11063
11073
  STATE_RECOGNIZED: Xt,
11064
11074
  STATE_CANCELLED: Ne,
11065
11075
  STATE_FAILED: Lt,
11066
- DIRECTION_NONE: ts,
11076
+ DIRECTION_NONE: Qe,
11067
11077
  DIRECTION_LEFT: Ie,
11068
11078
  DIRECTION_RIGHT: Me,
11069
11079
  DIRECTION_UP: ke,
@@ -11074,15 +11084,15 @@ var po = { exports: {} };
11074
11084
  Manager: en,
11075
11085
  Input: Tt,
11076
11086
  TouchAction: Js,
11077
- TouchInput: is,
11078
- MouseInput: ns,
11087
+ TouchInput: ns,
11088
+ MouseInput: ss,
11079
11089
  PointerEventInput: Hs,
11080
11090
  TouchMouseInput: $s,
11081
11091
  SingleTouchInput: si,
11082
11092
  Recognizer: zt,
11083
11093
  AttrRecognizer: At,
11084
- Tap: cs,
11085
- Pan: hs,
11094
+ Tap: hs,
11095
+ Pan: as,
11086
11096
  Swipe: tn,
11087
11097
  Pinch: Zs,
11088
11098
  Rotate: Qs,
@@ -11105,7 +11115,7 @@ var po = { exports: {} };
11105
11115
  })(po);
11106
11116
  var ml = po.exports;
11107
11117
  const pl = /* @__PURE__ */ cr(ml);
11108
- function kf() {
11118
+ function Lf() {
11109
11119
  const n = window.screen;
11110
11120
  return {
11111
11121
  screenWidth: n.width,
@@ -11141,7 +11151,7 @@ function qs() {
11141
11151
  offsetParent: n.offsetParent
11142
11152
  };
11143
11153
  }
11144
- function Lf() {
11154
+ function Rf() {
11145
11155
  const n = document.body;
11146
11156
  return {
11147
11157
  clientWidth: n.clientWidth,
@@ -11161,7 +11171,7 @@ function Lf() {
11161
11171
  offsetParent: n.offsetParent
11162
11172
  };
11163
11173
  }
11164
- function Rf() {
11174
+ function Of() {
11165
11175
  return typeof window.innerWidth == "number" ? {
11166
11176
  width: window.innerWidth,
11167
11177
  height: window.innerHeight
@@ -11173,7 +11183,7 @@ function Rf() {
11173
11183
  height: document.body.clientHeight
11174
11184
  };
11175
11185
  }
11176
- function Of() {
11186
+ function Nf() {
11177
11187
  const { scrollWidth: n, scrollHeight: t } = qs();
11178
11188
  return {
11179
11189
  // width: Math.min(scrollWidth, contentWidth),
@@ -11190,7 +11200,7 @@ function gl(n) {
11190
11200
  height: i
11191
11201
  };
11192
11202
  }
11193
- function Nf(n) {
11203
+ function Ff(n) {
11194
11204
  let t = n, e = 0, s = 0;
11195
11205
  for (; t !== null; )
11196
11206
  e += t.offsetLeft, s += t.offsetTop, t.offsetParent instanceof HTMLElement ? t = t.offsetParent : t = null;
@@ -11204,7 +11214,7 @@ function Nf(n) {
11204
11214
  function yl(n) {
11205
11215
  return n.getBoundingClientRect();
11206
11216
  }
11207
- function Ff(n) {
11217
+ function Yf(n) {
11208
11218
  const t = n.getBoundingClientRect();
11209
11219
  return {
11210
11220
  x: n.offsetLeft,
@@ -11213,11 +11223,11 @@ function Ff(n) {
11213
11223
  height: t.height || t.bottom - t.top
11214
11224
  };
11215
11225
  }
11216
- function Yf() {
11226
+ function Uf() {
11217
11227
  const { clientHeight: n, scrollTop: t, scrollHeight: e } = qs(), s = e - n;
11218
11228
  return s <= 0 ? 0 : t / s * 100;
11219
11229
  }
11220
- function Uf(n) {
11230
+ function Bf(n) {
11221
11231
  if ("center" in n) {
11222
11232
  const t = n.center, e = yl(n.target);
11223
11233
  return {
@@ -11255,7 +11265,7 @@ function Nt(n, t) {
11255
11265
  y: e.y - s.y
11256
11266
  };
11257
11267
  }
11258
- class Bf extends Ls {
11268
+ class Xf extends Ls {
11259
11269
  // [idx: string]: any;
11260
11270
  container;
11261
11271
  width;
@@ -11380,22 +11390,22 @@ class Bf extends Ls {
11380
11390
  this.emit("inputChange", D, this.container.files);
11381
11391
  }, _t = (D) => {
11382
11392
  this.emit("dragstart", D);
11383
- }, Ke = (D) => {
11393
+ }, Ze = (D) => {
11384
11394
  D.dataTransfer && (D.dataTransfer.dropEffect = "copy"), this.emit("dragover", D);
11385
- }, Qe = (D) => {
11395
+ }, Ke = (D) => {
11386
11396
  this.emit("dragenter", D);
11387
11397
  }, Q = (D) => {
11388
11398
  this.emit("dragend", D);
11389
11399
  }, Mt = (D) => {
11390
11400
  D.dataTransfer, this.emit("drop", D, D.dataTransfer?.files);
11391
11401
  };
11392
- this.container.addEventListener("mousedown", t, !1), this.container.addEventListener("mouseup", e, !1), this.container.addEventListener("mousemove", s, !1), this.container.addEventListener("mouseover", i, !1), this.container.addEventListener("mouseout", r, !1), this.container.addEventListener("mouseenter", o, !1), this.container.addEventListener("mouseleave", a, !1), this.container.addEventListener("click", h, !1), this.container.addEventListener("dblclick", c, !1), this.container.addEventListener("wheel", l, !1), this.container.addEventListener("contextmenu", f, !1), this.container.addEventListener("touchstart", g, !1), this.container.addEventListener("touchend", x, !1), this.container.addEventListener("touchcancel", y, !1), this.container.addEventListener("touchmove", E, !1), this.container.addEventListener("pointerdown", v, !1), this.container.addEventListener("pointerup", b, !1), this.container.addEventListener("pointercancel", w, !1), this.container.addEventListener("pointermove", m, !1), this.hammer.on("pan", p), this.hammer.on("panstart", P), this.hammer.on("panmove", S), this.hammer.on("panend", O), this.hammer.on("pancancel", z), this.hammer.on("panleft", G), this.hammer.on("panright", W), this.hammer.on("panup", J), this.hammer.on("pandown", nt), this.hammer.on("pinch", St), this.hammer.on("press", lt), this.hammer.on("rotate", ye), this.hammer.on("swipe", $t), this.hammer.on("swipeleft", re), this.hammer.on("swiperight", we), this.hammer.on("swipeup", L), this.hammer.on("swipedown", M), this.hammer.on("tap", F), document.addEventListener("pointerdown", V, !1), this.container instanceof HTMLInputElement && this.container.addEventListener("change", rt, !1), this.container.addEventListener("dragstart", _t, !1), this.container.addEventListener("dragover", Ke, !1), this.container.addEventListener("dragenter", Qe, !1), this.container.addEventListener("dragend", Q, !1), this.container.addEventListener("drop", Mt, !1);
11402
+ this.container.addEventListener("mousedown", t, !1), this.container.addEventListener("mouseup", e, !1), this.container.addEventListener("mousemove", s, !1), this.container.addEventListener("mouseover", i, !1), this.container.addEventListener("mouseout", r, !1), this.container.addEventListener("mouseenter", o, !1), this.container.addEventListener("mouseleave", a, !1), this.container.addEventListener("click", h, !1), this.container.addEventListener("dblclick", c, !1), this.container.addEventListener("wheel", l, !1), this.container.addEventListener("contextmenu", f, !1), this.container.addEventListener("touchstart", g, !1), this.container.addEventListener("touchend", x, !1), this.container.addEventListener("touchcancel", y, !1), this.container.addEventListener("touchmove", E, !1), this.container.addEventListener("pointerdown", v, !1), this.container.addEventListener("pointerup", b, !1), this.container.addEventListener("pointercancel", w, !1), this.container.addEventListener("pointermove", m, !1), this.hammer.on("pan", p), this.hammer.on("panstart", P), this.hammer.on("panmove", S), this.hammer.on("panend", O), this.hammer.on("pancancel", z), this.hammer.on("panleft", G), this.hammer.on("panright", W), this.hammer.on("panup", J), this.hammer.on("pandown", nt), this.hammer.on("pinch", St), this.hammer.on("press", lt), this.hammer.on("rotate", ye), this.hammer.on("swipe", $t), this.hammer.on("swipeleft", re), this.hammer.on("swiperight", we), this.hammer.on("swipeup", L), this.hammer.on("swipedown", M), this.hammer.on("tap", F), document.addEventListener("pointerdown", V, !1), this.container instanceof HTMLInputElement && this.container.addEventListener("change", rt, !1), this.container.addEventListener("dragstart", _t, !1), this.container.addEventListener("dragover", Ze, !1), this.container.addEventListener("dragenter", Ke, !1), this.container.addEventListener("dragend", Q, !1), this.container.addEventListener("drop", Mt, !1);
11393
11403
  const $ = () => {
11394
11404
  this.container.removeEventListener("mousedown", t, !1), this.container.removeEventListener("mouseup", e, !1), this.container.removeEventListener("mousemove", s, !1), this.container.removeEventListener("mouseover", i, !1), this.container.removeEventListener("mouseout", r, !1), this.container.removeEventListener("mouseenter", o, !1), this.container.removeEventListener("mouseleave", a, !1), this.container.removeEventListener("click", h, !1), this.container.removeEventListener("dblclick", c, !1), this.container.removeEventListener("wheel", l, !1), this.container.removeEventListener(
11395
11405
  "contextmenu",
11396
11406
  f,
11397
11407
  !1
11398
- ), this.container.removeEventListener("touchstart", g, !1), this.container.removeEventListener("touchend", x, !1), this.container.removeEventListener("touchcancel", y, !1), this.container.removeEventListener("touchmove", E, !1), this.container.removeEventListener("pointerdown", v, !1), this.container.removeEventListener("pointerup", b, !1), this.container.removeEventListener("pointercancel", w), this.container.removeEventListener("pointermove", m, !1), this.hammer.off("pan", p), this.hammer.off("panstart", P), this.hammer.off("panmove", S), this.hammer.off("panend", O), this.hammer.off("pancancel", z), this.hammer.off("panleft", G), this.hammer.off("panright", W), this.hammer.off("panup", J), this.hammer.off("pandown", nt), this.hammer.off("pinch", St), this.hammer.off("press", lt), this.hammer.off("rotate", ye), this.hammer.off("swipe", $t), this.hammer.off("swipeleft", re), this.hammer.off("swiperight", we), this.hammer.off("swipeup", L), this.hammer.off("swipedown", M), this.hammer.off("tap", F), document.removeEventListener("pointerdown", V, !1), document.removeEventListener("touchstart", V, !1), document.removeEventListener("mousedown", V, !1), this.container instanceof HTMLInputElement && this.container.removeEventListener("change", rt, !1), this.container.removeEventListener("dragstart", _t, !1), this.container.removeEventListener("dragover", Ke, !1), this.container.removeEventListener("dragenter", Qe, !1), this.container.removeEventListener("dragend", Q, !1), this.container.removeEventListener("drop", Mt, !1);
11408
+ ), this.container.removeEventListener("touchstart", g, !1), this.container.removeEventListener("touchend", x, !1), this.container.removeEventListener("touchcancel", y, !1), this.container.removeEventListener("touchmove", E, !1), this.container.removeEventListener("pointerdown", v, !1), this.container.removeEventListener("pointerup", b, !1), this.container.removeEventListener("pointercancel", w), this.container.removeEventListener("pointermove", m, !1), this.hammer.off("pan", p), this.hammer.off("panstart", P), this.hammer.off("panmove", S), this.hammer.off("panend", O), this.hammer.off("pancancel", z), this.hammer.off("panleft", G), this.hammer.off("panright", W), this.hammer.off("panup", J), this.hammer.off("pandown", nt), this.hammer.off("pinch", St), this.hammer.off("press", lt), this.hammer.off("rotate", ye), this.hammer.off("swipe", $t), this.hammer.off("swipeleft", re), this.hammer.off("swiperight", we), this.hammer.off("swipeup", L), this.hammer.off("swipedown", M), this.hammer.off("tap", F), document.removeEventListener("pointerdown", V, !1), document.removeEventListener("touchstart", V, !1), document.removeEventListener("mousedown", V, !1), this.container instanceof HTMLInputElement && this.container.removeEventListener("change", rt, !1), this.container.removeEventListener("dragstart", _t, !1), this.container.removeEventListener("dragover", Ze, !1), this.container.removeEventListener("dragenter", Ke, !1), this.container.removeEventListener("dragend", Q, !1), this.container.removeEventListener("drop", Mt, !1);
11399
11409
  };
11400
11410
  return this.addRemoves($), $;
11401
11411
  }
@@ -12305,7 +12315,7 @@ const mn = [
12305
12315
  "font-weight",
12306
12316
  "letter-spacing"
12307
12317
  ];
12308
- class Xf {
12318
+ class zf {
12309
12319
  app;
12310
12320
  rootEl;
12311
12321
  ue;
@@ -12376,7 +12386,7 @@ class Xf {
12376
12386
  e.x,
12377
12387
  e.y,
12378
12388
  mi(e.getAttrs(), (i, r) => typeof r == "string")
12379
- ) : (e.el = wt.createSvgPath(e.toSVGPathD(), e.id), this.ue.insert(e.el))), e.followMouse && (!vs(e.x, this.app.mousePoint.x, 5) || !vs(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
12389
+ ) : (e.el = wt.createSvgPath(e.toSVGPathD(), e.id), this.ue.insert(e.el))), e.followMouse && (!bs(e.x, this.app.mousePoint.x, 5) || !bs(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
12380
12390
  {
12381
12391
  x: e.targetToAfterDragFree.targetX,
12382
12392
  y: e.targetToAfterDragFree.targetY
@@ -12495,7 +12505,7 @@ class Xf {
12495
12505
  }), this.ue.insert(o), o;
12496
12506
  }
12497
12507
  }
12498
- class zf extends ct {
12508
+ class Gf extends ct {
12499
12509
  svgWidth = 0;
12500
12510
  svgHeight = 0;
12501
12511
  width = 0;
@@ -12882,7 +12892,7 @@ class Tl extends q {
12882
12892
  t.beginPath(), t.ellipse(0, 0, this.rx, this.ry, 0, 0, 2 * Math.PI, !0), t.closePath();
12883
12893
  }
12884
12894
  }
12885
- class Gf extends q {
12895
+ class Vf extends q {
12886
12896
  constructor(t) {
12887
12897
  super(t);
12888
12898
  }
@@ -12903,7 +12913,7 @@ class Gf extends q {
12903
12913
  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();
12904
12914
  }
12905
12915
  }
12906
- class Vf extends q {
12916
+ class qf extends q {
12907
12917
  constructor(t) {
12908
12918
  super(t);
12909
12919
  }
@@ -12928,7 +12938,7 @@ class Vf extends q {
12928
12938
  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();
12929
12939
  }
12930
12940
  }
12931
- class qf extends q {
12941
+ class jf extends q {
12932
12942
  rx;
12933
12943
  ry;
12934
12944
  constructor(t) {
@@ -12949,7 +12959,7 @@ class qf extends q {
12949
12959
  ];
12950
12960
  }
12951
12961
  }
12952
- class jf extends q {
12962
+ class Hf extends q {
12953
12963
  rx;
12954
12964
  ry;
12955
12965
  constructor(t) {
@@ -12986,7 +12996,7 @@ class jf extends q {
12986
12996
  ];
12987
12997
  }
12988
12998
  }
12989
- class Hf extends q {
12999
+ class $f extends q {
12990
13000
  r;
12991
13001
  constructor(t) {
12992
13002
  super(t), this.r = t?.r || 20;
@@ -13000,7 +13010,7 @@ class Hf extends q {
13000
13010
  return t;
13001
13011
  }
13002
13012
  }
13003
- class $f extends q {
13013
+ class Wf extends q {
13004
13014
  constructor(t) {
13005
13015
  super(t);
13006
13016
  }
@@ -13016,12 +13026,12 @@ class $f extends q {
13016
13026
  ];
13017
13027
  }
13018
13028
  }
13019
- class Wf extends q {
13029
+ class Jf extends q {
13020
13030
  constructor(t) {
13021
13031
  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";
13022
13032
  }
13023
13033
  }
13024
- class Jf extends ct {
13034
+ class Zf extends ct {
13025
13035
  constructor(t) {
13026
13036
  super(t);
13027
13037
  const e = new Pe({
@@ -13143,7 +13153,7 @@ class Cl extends ct {
13143
13153
  });
13144
13154
  }
13145
13155
  }
13146
- class Zf extends ct {
13156
+ class Kf extends ct {
13147
13157
  radius;
13148
13158
  expandRaidus;
13149
13159
  startDegree;
@@ -13285,7 +13295,7 @@ class Pl extends q {
13285
13295
  return s <= this.radius && i >= this.startDegree && i <= this.endDegree;
13286
13296
  }
13287
13297
  }
13288
- class Kf extends ct {
13298
+ class Qf extends ct {
13289
13299
  showFlame;
13290
13300
  ship;
13291
13301
  flame;
@@ -13312,7 +13322,7 @@ class Kf extends ct {
13312
13322
  });
13313
13323
  }
13314
13324
  }
13315
- class Qf extends ct {
13325
+ class td extends ct {
13316
13326
  value;
13317
13327
  backgroundRect;
13318
13328
  occupyRect;
@@ -13372,7 +13382,7 @@ class Qf extends ct {
13372
13382
  });
13373
13383
  }
13374
13384
  }
13375
- class td extends ct {
13385
+ class ed extends ct {
13376
13386
  width;
13377
13387
  height;
13378
13388
  cornerRadius;
@@ -13457,7 +13467,7 @@ class Wi extends q {
13457
13467
  );
13458
13468
  }
13459
13469
  }
13460
- class ed extends ct {
13470
+ class sd extends ct {
13461
13471
  percent = 0;
13462
13472
  ringBg;
13463
13473
  ring;
@@ -13584,7 +13594,7 @@ class El extends q {
13584
13594
  }
13585
13595
  }
13586
13596
  const _l = El;
13587
- class sd extends q {
13597
+ class nd extends q {
13588
13598
  points;
13589
13599
  light;
13590
13600
  constructor(t = []) {
@@ -13647,7 +13657,7 @@ class sd extends q {
13647
13657
  return e.r *= s, e.g *= s, e.b *= s, e.toString();
13648
13658
  }
13649
13659
  }
13650
- class nd extends ct {
13660
+ class id extends ct {
13651
13661
  fettis = [];
13652
13662
  constructor(t, e, s) {
13653
13663
  super();
@@ -13926,12 +13936,12 @@ const Al = {
13926
13936
  this.map.clear();
13927
13937
  }
13928
13938
  };
13929
- function id(n, t, e) {
13939
+ function rd(n, t, e) {
13930
13940
  const s = new OffscreenCanvas(n, t), i = s.getContext("2d");
13931
13941
  if (i)
13932
13942
  return e(i), s.transferToImageBitmap();
13933
13943
  }
13934
- function rd(n, t, e) {
13944
+ function od(n, t, e) {
13935
13945
  const s = n.createPattern(
13936
13946
  Al.transform(t),
13937
13947
  "no-repeat"
@@ -13944,7 +13954,7 @@ function rd(n, t, e) {
13944
13954
  function Dl(n) {
13945
13955
  return window.URL.createObjectURL(n);
13946
13956
  }
13947
- function od(n) {
13957
+ function ad(n) {
13948
13958
  return window.URL.revokeObjectURL(n);
13949
13959
  }
13950
13960
  const Ji = new pe();
@@ -13954,15 +13964,15 @@ async function Il(n, t = 6e4) {
13954
13964
  const r = Ji.get(e);
13955
13965
  if (r)
13956
13966
  return s(r);
13957
- const o = new Image();
13967
+ const o = document.createElement("img");
13958
13968
  o.onload = (h) => {
13959
13969
  clearTimeout(a);
13960
13970
  const c = o.naturalWidth || o.width, l = o.naturalHeight || o.height, f = {
13961
13971
  width: c,
13962
13972
  height: l,
13963
13973
  aspectRatio: c / l,
13964
- imageData: hl(o),
13965
- element: o
13974
+ element: o,
13975
+ imageData: hl(o)
13966
13976
  };
13967
13977
  Ji.set(e, f), s(f), o.onerror = o.onload = null;
13968
13978
  }, o.onerror = (h) => {
@@ -13982,7 +13992,7 @@ async function yo(n = Pt.text, t = ["*"]) {
13982
13992
  data: i
13983
13993
  };
13984
13994
  }
13985
- async function ad(n = ["image/*"]) {
13995
+ async function hd(n = ["image/*"]) {
13986
13996
  const e = (await Nr(n))[0];
13987
13997
  if (!e.type.match(/image\/*/))
13988
13998
  return new Error("Not Image Type!");
@@ -14034,7 +14044,7 @@ function wo(n, t, e) {
14034
14044
  resume: () => r = !1
14035
14045
  };
14036
14046
  }
14037
- const hd = {
14047
+ const cd = {
14038
14048
  BACKSPACE: 8,
14039
14049
  TAB: 9,
14040
14050
  COMMA: 188,
@@ -14052,7 +14062,7 @@ const hd = {
14052
14062
  RIGHT: 39,
14053
14063
  SPACE: 32
14054
14064
  };
14055
- async function cd(n = { keys: ["o"] }, t = Pt.text) {
14065
+ async function ld(n = { keys: ["o"] }, t = Pt.text) {
14056
14066
  const e = Ca(), s = wo(
14057
14067
  n,
14058
14068
  async () => {
@@ -14068,7 +14078,7 @@ async function cd(n = { keys: ["o"] }, t = Pt.text) {
14068
14078
  );
14069
14079
  return await e.promise;
14070
14080
  }
14071
- function ld(n = { keys: ["o"] }, t = Pt.text) {
14081
+ function ud(n = { keys: ["o"] }, t = Pt.text) {
14072
14082
  const e = ge();
14073
14083
  return wo(
14074
14084
  n,
@@ -14089,7 +14099,7 @@ function ld(n = { keys: ["o"] }, t = Pt.text) {
14089
14099
  }
14090
14100
  };
14091
14101
  }
14092
- async function ud(n, t = 6e4) {
14102
+ async function fd(n, t = 6e4) {
14093
14103
  return new Promise((e, s) => {
14094
14104
  const i = document.createElement("script");
14095
14105
  i.type = "text/javascript", i.async = !1, i.onload = (o) => {
@@ -14103,7 +14113,7 @@ async function ud(n, t = 6e4) {
14103
14113
  document.body.appendChild(i);
14104
14114
  });
14105
14115
  }
14106
- async function fd(n, t = document.getElementsByTagName("head")[0], e = 6e4) {
14116
+ async function dd(n, t = document.getElementsByTagName("head")[0], e = 6e4) {
14107
14117
  return new Promise((s, i) => {
14108
14118
  const r = document.createElement("link");
14109
14119
  r.setAttribute("type", "text/css"), r.setAttribute("rel", "stylesheet"), r.onload = (a) => {
@@ -14117,7 +14127,7 @@ async function fd(n, t = document.getElementsByTagName("head")[0], e = 6e4) {
14117
14127
  t.appendChild(r);
14118
14128
  });
14119
14129
  }
14120
- function dd() {
14130
+ function md() {
14121
14131
  return new Promise((n) => {
14122
14132
  const t = Array.from(
14123
14133
  document.querySelectorAll("link[rel=stylesheet]")
@@ -14136,69 +14146,72 @@ function Zi(n, t) {
14136
14146
  e.style.visibility = "hidden", e.download = t, typeof n == "string" ? e.href = n : e.href = window.URL.createObjectURL(n), e.click();
14137
14147
  }
14138
14148
  const Dn = new pe();
14139
- async function Ll(n, t = {
14140
- responseType: "json"
14141
- }) {
14149
+ async function Ll(n, t) {
14142
14150
  if (typeof fetch > "u")
14143
14151
  throw new Error("fetch() not supported!");
14144
14152
  if (typeof AbortController > "u")
14145
14153
  throw new Error("AbortController not supported!");
14146
14154
  const e = Gn(n, t), s = new AbortController();
14147
14155
  Dn.set(e, s);
14148
- const { responseType: i, onProgress: r } = t;
14149
- let o = await fetch(
14156
+ const { responseType: i, onProgress: r, timeout: o } = {
14157
+ responseType: "json",
14158
+ timeout: 6e4,
14159
+ ...t
14160
+ }, a = setTimeout(() => {
14161
+ throw s.abort(), new Error(`${o} ms Timeout!`);
14162
+ }, o);
14163
+ let h = await fetch(
14150
14164
  new Request(n, {
14151
14165
  ...t,
14152
14166
  signal: s.signal
14167
+ // signal: AbortSignal.timeout(timeout)
14153
14168
  // headers: new Headers(headers),
14154
14169
  // credentials: "include" || "same-origin"
14155
14170
  })
14156
14171
  );
14157
- if (Dn.delete(e), o.status === 200 || o.status === 0) {
14158
- if (o.status === 0 && console.warn("useFetch: HTTP Status 0 received."), typeof ReadableStream < "u" && o.body !== void 0 && o.body?.getReader !== void 0 && r) {
14159
- const a = o.body.getReader(), h = o.headers.get("X-File-Size") || o.headers.get("Content-Length"), c = h ? parseInt(h) : 0, l = c !== 0;
14160
- let f = 0;
14161
- const g = new ReadableStream({
14162
- start(x) {
14163
- function y() {
14164
- a.read().then(({ done: E, value: v }) => {
14165
- E ? x.close() : (f += v.byteLength, r?.(
14172
+ if (Dn.delete(e), clearTimeout(a), h.status === 200 || h.status === 0) {
14173
+ if (h.status === 0 && console.warn("useFetch: HTTP Status 0 received."), typeof ReadableStream < "u" && h.body !== void 0 && h.body?.getReader !== void 0 && r) {
14174
+ const c = h.body.getReader(), l = h.headers.get("X-File-Size") || h.headers.get("Content-Length"), f = l ? parseInt(l) : 0, g = f !== 0;
14175
+ let x = 0;
14176
+ const y = new ReadableStream({
14177
+ start(E) {
14178
+ function v() {
14179
+ c.read().then(({ done: b, value: w }) => {
14180
+ b ? E.close() : (x += w.byteLength, r?.(
14166
14181
  new ProgressEvent("progress", {
14167
- lengthComputable: l,
14168
- loaded: f,
14169
- total: c
14182
+ lengthComputable: g,
14183
+ loaded: x,
14184
+ total: f
14170
14185
  })
14171
- ), x.enqueue(v), y());
14172
- }).catch((E) => {
14173
- x.error(E);
14186
+ ), E.enqueue(w), v());
14187
+ }).catch((b) => {
14188
+ E.error(b);
14174
14189
  });
14175
14190
  }
14176
- y();
14191
+ v();
14177
14192
  }
14178
14193
  });
14179
- o = new Response(g);
14194
+ h = new Response(y);
14180
14195
  }
14181
14196
  switch (i) {
14182
14197
  case "arraybuffer":
14183
- return o.arrayBuffer();
14198
+ return [h.arrayBuffer(), h];
14184
14199
  case "blob":
14185
- return o.blob();
14200
+ return [h.blob(), h];
14186
14201
  case "json":
14187
- return o.json();
14202
+ return [h.json(), h];
14188
14203
  case "text":
14189
14204
  default:
14190
- return o.text();
14205
+ return [h.text(), h];
14191
14206
  }
14192
14207
  } else
14193
14208
  throw new ta(
14194
- `useFetch for "${o.url}" responded with ${o.status}: ${o.statusText}`,
14195
- o
14209
+ `useFetch for "${h.url}" responded with ${h.status}: ${h.statusText}`,
14210
+ h
14196
14211
  );
14197
14212
  }
14198
14213
  const Ki = new pe(), pn = new pe();
14199
- async function md(n, t = {
14200
- responseType: "json"
14201
- }) {
14214
+ async function pd(n, t) {
14202
14215
  const e = Gn(n, t);
14203
14216
  try {
14204
14217
  const s = Ki.get(e);
@@ -14214,15 +14227,11 @@ async function md(n, t = {
14214
14227
  } catch {
14215
14228
  }
14216
14229
  }
14217
- function pd(n, t = {
14218
- responseType: "json"
14219
- }) {
14230
+ function gd(n, t) {
14220
14231
  const e = Dn.get(Gn(n, t));
14221
14232
  e && e.abort();
14222
14233
  }
14223
- function Gn(n, t = {
14224
- responseType: "json"
14225
- }) {
14234
+ function Gn(n, t) {
14226
14235
  return JSON.stringify({ url: n, ...t });
14227
14236
  }
14228
14237
  function le(n, t, e) {
@@ -14251,12 +14260,12 @@ function Rl(n, t) {
14251
14260
  function bo(n, t, e) {
14252
14261
  return n.setAttribute(pt(t), e);
14253
14262
  }
14254
- function gd(n, t) {
14263
+ function yd(n, t) {
14255
14264
  t.split(/[,\s]+/).forEach((e) => {
14256
14265
  e.trim() != "" && n.removeAttribute(e.trim());
14257
14266
  });
14258
14267
  }
14259
- function yd(n, t, e) {
14268
+ function wd(n, t, e) {
14260
14269
  if (typeof t == "string" && (t = ks(t)), (typeof t == "string" || t === void 0) && e === void 0) {
14261
14270
  const s = Object.assign({}, n.dataset);
14262
14271
  return Object.keys(s).forEach((i) => {
@@ -14273,7 +14282,7 @@ function yd(n, t, e) {
14273
14282
  });
14274
14283
  }
14275
14284
  }
14276
- function wd(n, t) {
14285
+ function xd(n, t) {
14277
14286
  t.split(/[,\s]+/).forEach((e) => {
14278
14287
  e.trim() != "" && delete n.dataset[e.trim()];
14279
14288
  });
@@ -14311,16 +14320,16 @@ function vo(n, t, e = "toggle") {
14311
14320
  );
14312
14321
  }
14313
14322
  }
14314
- function xd(n, t) {
14323
+ function bd(n, t) {
14315
14324
  vo(n, t, "add");
14316
14325
  }
14317
- function bd(n, t) {
14326
+ function vd(n, t) {
14318
14327
  vo(n, t, "remove");
14319
14328
  }
14320
- function vd(n, t) {
14329
+ function Sd(n, t) {
14321
14330
  return new RegExp("(?:^|\\s+)" + t + "(?:\\s+|$)").test(n.className) || !1;
14322
14331
  }
14323
- function Sd(n, t) {
14332
+ function Td(n, t) {
14324
14333
  Ce(n, "display") == "none" && t === void 0 || t === !0 ? Ol(n) : Nl(n);
14325
14334
  }
14326
14335
  function Ol(n) {
@@ -14338,6 +14347,15 @@ function Ut(n) {
14338
14347
  el: n,
14339
14348
  isRoot: () => /(html|body)/i.test(n.tagName) || n === document.documentElement,
14340
14349
  isActive: () => n === document.activeElement && (n.type || n.href),
14350
+ getRemSize: function() {
14351
+ return parseFloat(getComputedStyle(document.documentElement).fontSize);
14352
+ },
14353
+ rem2px: function(t) {
14354
+ return t * this.getRemSize();
14355
+ },
14356
+ getEmSize: function() {
14357
+ return n.parentElement ? parseFloat(getComputedStyle(n.parentElement).fontSize) : this.getRemSize();
14358
+ },
14341
14359
  nearestElement: () => {
14342
14360
  let t = n;
14343
14361
  for (; t && t.nodeType !== 1 && t.parentElement; )
@@ -14438,13 +14456,13 @@ function Fl(n) {
14438
14456
  s != e && t.content.replaceChild(s, e);
14439
14457
  }), t.content;
14440
14458
  }
14441
- function Td(n) {
14459
+ function Cd(n) {
14442
14460
  return document.createElement.call(document, n);
14443
14461
  }
14444
- function Cd(n) {
14462
+ function Pd(n) {
14445
14463
  return document.createElementNS("http://www.w3.org/1999/xhtml", n);
14446
14464
  }
14447
- function Pd(n) {
14465
+ function Ed(n) {
14448
14466
  return document.createTextNode.call(document, n);
14449
14467
  }
14450
14468
  function So(n) {
@@ -14460,7 +14478,7 @@ function Qi(n) {
14460
14478
  t.setAttribute(e[s].name, e[s].value);
14461
14479
  return t;
14462
14480
  }
14463
- function Ed(n) {
14481
+ function _d(n) {
14464
14482
  return {
14465
14483
  shadowRoot: () => {
14466
14484
  let t = n;
@@ -14475,7 +14493,7 @@ function Ed(n) {
14475
14493
  }
14476
14494
  };
14477
14495
  }
14478
- function _d(n) {
14496
+ function Ad(n) {
14479
14497
  if (document.implementation.hasFeature("MouseEvents", "2.0"))
14480
14498
  return n.button;
14481
14499
  switch (n.button) {
@@ -14492,11 +14510,11 @@ function _d(n) {
14492
14510
  return 1;
14493
14511
  }
14494
14512
  }
14495
- function Ad(n, t = n.target) {
14513
+ function Dd(n, t = n.target) {
14496
14514
  const e = n.relatedTarget || n.fromElement, s = n.relatedTarget || n.toElement;
14497
14515
  return t === null || e === null || s === null ? !0 : n.type == "mouseover" ? !Ut(t).contains(e) && e !== t : !Ut(t).contains(s) && s !== t;
14498
14516
  }
14499
- function Dd(n, t = "http://test.com/localstorage.html") {
14517
+ function Id(n, t = "http://test.com/localstorage.html") {
14500
14518
  const e = document.createElement("iframe");
14501
14519
  e.src = t, document.body.append(e), setTimeout(function() {
14502
14520
  e.contentWindow?.postMessage(n, t);
@@ -14504,7 +14522,7 @@ function Dd(n, t = "http://test.com/localstorage.html") {
14504
14522
  e.remove();
14505
14523
  }, 6e3);
14506
14524
  }
14507
- async function Id(n) {
14525
+ async function Md(n) {
14508
14526
  if (navigator.clipboard)
14509
14527
  return await navigator.clipboard.writeText(n);
14510
14528
  {
@@ -14512,7 +14530,7 @@ async function Id(n) {
14512
14530
  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");
14513
14531
  }
14514
14532
  }
14515
- function Md() {
14533
+ function kd() {
14516
14534
  return "geolocation" in navigator ? new Promise((n, t) => {
14517
14535
  navigator.geolocation.getCurrentPosition(
14518
14536
  (e) => {
@@ -14525,10 +14543,10 @@ function Md() {
14525
14543
  );
14526
14544
  }) : Promise.reject("Geolocation is not available.");
14527
14545
  }
14528
- function kd(n = 200) {
14546
+ function Ld(n = 200) {
14529
14547
  "vibrate" in navigator ? window.navigator.vibrate(n) : console.error("Your device is not support vibrate on this browser.");
14530
14548
  }
14531
- function Ld(n) {
14549
+ function Rd(n) {
14532
14550
  const t = new Proxy(window, {
14533
14551
  get(e, s, i) {
14534
14552
  if (typeof s == "string" && ["open", "location", "document"].includes(s))
@@ -14604,12 +14622,12 @@ const Yl = {
14604
14622
  return `[${n}${t[(e - 20) % 10] || t[e] || t[0]}]`;
14605
14623
  }
14606
14624
  }, ce = new pe();
14607
- let ps = "zh-cn";
14625
+ let ms = "zh-cn";
14608
14626
  To(Ul);
14609
14627
  To(Yl);
14610
14628
  function To(n, t) {
14611
14629
  if (!n)
14612
- return ce.get(ps);
14630
+ return ce.get(ms);
14613
14631
  let e;
14614
14632
  if (typeof n == "string") {
14615
14633
  const s = n.toLowerCase();
@@ -14618,12 +14636,12 @@ function To(n, t) {
14618
14636
  else if (t)
14619
14637
  ce.set(s, t), e = s;
14620
14638
  else
14621
- return ce.get(ps);
14639
+ return ce.get(ms);
14622
14640
  } else {
14623
14641
  const { name: s } = n;
14624
14642
  ce.set(s, n), e = s;
14625
14643
  }
14626
- return e && (ps = e), ce.get(e) || ce.get(ps);
14644
+ return e && (ms = e), ce.get(e) || ce.get(ms);
14627
14645
  }
14628
14646
  function ve(n, t = {}, e = [], s) {
14629
14647
  return {
@@ -14697,7 +14715,7 @@ function qn(n, t) {
14697
14715
  });
14698
14716
  }
14699
14717
  }
14700
- class Rd {
14718
+ class Od {
14701
14719
  state;
14702
14720
  el;
14703
14721
  constructor(t, e) {
@@ -14829,7 +14847,7 @@ class Rd {
14829
14847
  })`;
14830
14848
  }
14831
14849
  }
14832
- class Od {
14850
+ class Nd {
14833
14851
  requestid = 0;
14834
14852
  url;
14835
14853
  socket;
@@ -14889,7 +14907,7 @@ class Od {
14889
14907
  return delete this.waitings[this.requestid], r;
14890
14908
  }
14891
14909
  }
14892
- function Nd(n) {
14910
+ function Fd(n) {
14893
14911
  const t = document.documentElement, e = window.top === window.self ? window.devicePixelRatio : 1;
14894
14912
  t.dataset.dpr = e;
14895
14913
  let s = 100;
@@ -14907,7 +14925,7 @@ function Nd(n) {
14907
14925
  !1
14908
14926
  );
14909
14927
  }
14910
- function Fd(n, t = import.meta.url) {
14928
+ function Yd(n, t = import.meta.url) {
14911
14929
  return new URL(n, t);
14912
14930
  }
14913
14931
  function jn(n = window.location.href) {
@@ -14927,7 +14945,7 @@ function jn(n = window.location.href) {
14927
14945
  };
14928
14946
  }
14929
14947
  }
14930
- function Yd(n) {
14948
+ function Ud(n) {
14931
14949
  const t = jn(n);
14932
14950
  return t.protocol === "http:" || t.protocol === "https:";
14933
14951
  }
@@ -14935,7 +14953,7 @@ function Bl(n = window.location.href) {
14935
14953
  const t = jn(n), e = t.href.indexOf(t.hash);
14936
14954
  return t.hash && e >= 0 ? t.href.substring(0, e) : t.href;
14937
14955
  }
14938
- function Ud(n = jn().search) {
14956
+ function Bd(n = jn().search) {
14939
14957
  n = decodeURIComponent(n).replace(/^[#?&]/, "");
14940
14958
  const t = {};
14941
14959
  if (!n)
@@ -14946,7 +14964,7 @@ function Ud(n = jn().search) {
14946
14964
  t[s[1]] = s[2], s = e.exec(n);
14947
14965
  return t;
14948
14966
  }
14949
- const Bd = (n = window.location.href) => JSON.parse(
14967
+ const Xd = (n = window.location.href) => JSON.parse(
14950
14968
  '{"' + decodeURI(n.split("?")[1]).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}'
14951
14969
  );
14952
14970
  function Hn(n) {
@@ -14960,16 +14978,16 @@ function Xl(n) {
14960
14978
  function zl(n, t) {
14961
14979
  return n.replace(/(?:\?.*)?$/, t.replace(/^[&?]/, "?"));
14962
14980
  }
14963
- function Xd(n, t) {
14981
+ function zd(n, t) {
14964
14982
  return zl(n, Hn(t));
14965
14983
  }
14966
14984
  function Co(n, t) {
14967
14985
  return n + t.replace(/^[&?]/, n.indexOf("?") >= 0 ? "&" : "?");
14968
14986
  }
14969
- function zd(n, t) {
14987
+ function Gd(n, t) {
14970
14988
  return Co(n, Hn(t));
14971
14989
  }
14972
- class Gd {
14990
+ class Vd {
14973
14991
  worker;
14974
14992
  cbs = {};
14975
14993
  constructor(t) {
@@ -15041,7 +15059,7 @@ class Gd {
15041
15059
  });
15042
15060
  }
15043
15061
  }
15044
- class Vd {
15062
+ class qd {
15045
15063
  port1;
15046
15064
  port2;
15047
15065
  port1MessageCbs = [];
@@ -15111,7 +15129,7 @@ function Gl() {
15111
15129
  n = new XMLHttpRequest();
15112
15130
  return n;
15113
15131
  }
15114
- function qd(n, t) {
15132
+ function jd(n, t) {
15115
15133
  return new Promise((e, s) => {
15116
15134
  const {
15117
15135
  method: i = "GET",
@@ -15179,7 +15197,7 @@ function qd(n, t) {
15179
15197
  }
15180
15198
  });
15181
15199
  }
15182
- async function jd(n) {
15200
+ async function Hd(n) {
15183
15201
  const t = {
15184
15202
  url: n.action || "",
15185
15203
  data: {},
@@ -15233,7 +15251,7 @@ Content-Type: ` + x.type + `\r
15233
15251
  `) + "--" + t.boundary + `--\r
15234
15252
  `, t;
15235
15253
  }
15236
- class Hd {
15254
+ class $d {
15237
15255
  app;
15238
15256
  ctx;
15239
15257
  shapes = [];
@@ -15290,7 +15308,7 @@ class Hd {
15290
15308
  for (const e of this.shapes) {
15291
15309
  if (!e.isShow)
15292
15310
  continue;
15293
- if (this.ctx.save(), e.frameStart(this.app.mousePoint), Vl(this.ctx, e.getAttrs()), e.followMouse && (!vs(e.x, this.app.mousePoint.x, 5) || !vs(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
15311
+ if (this.ctx.save(), e.frameStart(this.app.mousePoint), Vl(this.ctx, e.getAttrs()), e.followMouse && (!bs(e.x, this.app.mousePoint.x, 5) || !bs(e.y, this.app.mousePoint.y, 5)) && e.followTo(this.app.mousePoint), e.targetToAfterDragFree && (this.isMouseDown || e.runEaseTo(
15294
15312
  {
15295
15313
  x: e.targetToAfterDragFree.targetX,
15296
15314
  y: e.targetToAfterDragFree.targetY
@@ -15462,7 +15480,7 @@ function Vl(n, t) {
15462
15480
  }
15463
15481
  }
15464
15482
  }
15465
- class $d {
15483
+ class Wd {
15466
15484
  localVideoUtil;
15467
15485
  remoteVideoUtil;
15468
15486
  localPeerConnection = null;
@@ -15585,7 +15603,7 @@ ${t.sdp}.`), this.remotePeerConnection && (this.trace("remotePeerConnection setL
15585
15603
  return t === this.localPeerConnection ? "localPeerConnection" : "remotePeerConnection";
15586
15604
  }
15587
15605
  }
15588
- class Wd {
15606
+ class Jd {
15589
15607
  canvas;
15590
15608
  gl;
15591
15609
  constructor(t) {
@@ -15599,7 +15617,7 @@ const Po = [], tr = {};
15599
15617
  function Eo(n) {
15600
15618
  Po.push(n);
15601
15619
  }
15602
- function Jd(n, t = !1) {
15620
+ function Zd(n, t = !1) {
15603
15621
  const e = Bl();
15604
15622
  if (tr[e])
15605
15623
  return;
@@ -15657,7 +15675,7 @@ function Jd(n, t = !1) {
15657
15675
  })
15658
15676
  ), tr[e] = !0;
15659
15677
  }
15660
- function Zd(n) {
15678
+ function Kd(n) {
15661
15679
  return new Promise((t, e) => {
15662
15680
  wx.checkJsApi({
15663
15681
  jsApiList: [n],
@@ -15670,74 +15688,74 @@ function Zd(n) {
15670
15688
  });
15671
15689
  });
15672
15690
  }
15673
- function Kd(n) {
15691
+ function Qd(n) {
15674
15692
  Eo(function() {
15675
15693
  wx.updateAppMessageShareData(n);
15676
15694
  });
15677
15695
  }
15678
- function Qd(n) {
15696
+ function tm(n) {
15679
15697
  Eo(function() {
15680
15698
  wx.updateTimelineShareData(n);
15681
15699
  });
15682
15700
  }
15683
- function tm(n) {
15701
+ function em(n) {
15684
15702
  wx.chooseImage(n);
15685
15703
  }
15686
- function em(n) {
15704
+ function sm(n) {
15687
15705
  wx.previewImage(n);
15688
15706
  }
15689
- function sm(n) {
15707
+ function nm(n) {
15690
15708
  wx.uploadImage(n);
15691
15709
  }
15692
- function nm(n) {
15710
+ function im(n) {
15693
15711
  wx.downloadImage(n);
15694
15712
  }
15695
- function im(n) {
15713
+ function rm(n) {
15696
15714
  wx.getLocalImgData(n);
15697
15715
  }
15698
- function rm() {
15716
+ function om() {
15699
15717
  wx.startRecord();
15700
15718
  }
15701
- function om(n) {
15719
+ function am(n) {
15702
15720
  wx.stopRecord(n);
15703
15721
  }
15704
- function am(n) {
15722
+ function hm(n) {
15705
15723
  wx.onVoiceRecordEnd(n);
15706
15724
  }
15707
- function hm(n) {
15725
+ function cm(n) {
15708
15726
  wx.playVoice(n);
15709
15727
  }
15710
- function cm(n) {
15728
+ function lm(n) {
15711
15729
  wx.pauseVoice(n);
15712
15730
  }
15713
- function lm(n) {
15731
+ function um(n) {
15714
15732
  wx.stopVoice(n);
15715
15733
  }
15716
- function um(n) {
15734
+ function fm(n) {
15717
15735
  wx.onVoicePlayEnd(n);
15718
15736
  }
15719
- function fm(n) {
15737
+ function dm(n) {
15720
15738
  wx.uploadVoice(n);
15721
15739
  }
15722
- function dm(n) {
15740
+ function mm(n) {
15723
15741
  wx.downloadVoice(n);
15724
15742
  }
15725
- function mm(n) {
15743
+ function pm(n) {
15726
15744
  wx.translateVoice(n);
15727
15745
  }
15728
- function pm(n) {
15746
+ function gm(n) {
15729
15747
  wx.getNetworkType(n);
15730
15748
  }
15731
- function gm(n) {
15749
+ function ym(n) {
15732
15750
  wx.openLocation(n);
15733
15751
  }
15734
- function ym(n) {
15752
+ function wm(n) {
15735
15753
  wx.getLocation(n);
15736
15754
  }
15737
- function wm(n) {
15755
+ function xm(n) {
15738
15756
  wx.scanQRCode(n);
15739
15757
  }
15740
- function xm(n, t, e) {
15758
+ function bm(n, t, e) {
15741
15759
  function s() {
15742
15760
  WeixinJSBridge.invoke("getBrandWCPayRequest", n, function(i) {
15743
15761
  i.err_msg == "get_brand_wcpay_request:ok" ? t() : e(i.err_msg);
@@ -15745,15 +15763,15 @@ function xm(n, t, e) {
15745
15763
  }
15746
15764
  typeof WeixinJSBridge > "u" ? document.addEventListener ? document.addEventListener("WeixinJSBridgeReady", s, !1) : document.attachEvent && (document.attachEvent("WeixinJSBridgeReady", s), document.attachEvent("onWeixinJSBridgeReady", s)) : s();
15747
15765
  }
15748
- function bm(n, t, e = "snsapi_userinfo", s = "") {
15766
+ function vm(n, t, e = "snsapi_userinfo", s = "") {
15749
15767
  return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${n}&redirect_uri=${encodeURIComponent(
15750
15768
  t
15751
15769
  )}&response_type=code&scope=${e}&state=${s}#wechat_redirect`;
15752
15770
  }
15753
- function vm(n) {
15771
+ function Sm(n) {
15754
15772
  window.AlipayJSBridge ? n && n() : document.addEventListener("AlipayJSBridgeReady", n, !1);
15755
15773
  }
15756
- function Ze(n, t) {
15774
+ function Je(n, t) {
15757
15775
  let e = "未知错误";
15758
15776
  switch (n.error) {
15759
15777
  case 1:
@@ -15792,7 +15810,7 @@ function Ze(n, t) {
15792
15810
  }
15793
15811
  return `${n.error}(${e}): ${n.errorMessage}`;
15794
15812
  }
15795
- function Sm(n, t, e) {
15813
+ function Tm(n, t, e) {
15796
15814
  ap.tradePay(
15797
15815
  Object.assign(n, {
15798
15816
  // fail: (res: commonFailOption) => {
@@ -15824,11 +15842,11 @@ function Sm(n, t, e) {
15824
15842
  }
15825
15843
  );
15826
15844
  }
15827
- function Tm(n, t, e) {
15845
+ function Cm(n, t, e) {
15828
15846
  ap.scan(
15829
15847
  Object.assign(n, {
15830
15848
  fail: (s) => {
15831
- e?.(Ze(s));
15849
+ e?.(Je(s));
15832
15850
  }
15833
15851
  }),
15834
15852
  function(s) {
@@ -15836,11 +15854,11 @@ function Tm(n, t, e) {
15836
15854
  }
15837
15855
  );
15838
15856
  }
15839
- function Cm(n, t, e) {
15857
+ function Pm(n, t, e) {
15840
15858
  ap.getLocation(
15841
15859
  Object.assign(n, {
15842
15860
  fail: (s) => {
15843
- e?.(Ze(s));
15861
+ e?.(Je(s));
15844
15862
  }
15845
15863
  }),
15846
15864
  function(s) {
@@ -15848,11 +15866,11 @@ function Cm(n, t, e) {
15848
15866
  }
15849
15867
  );
15850
15868
  }
15851
- function Pm(n, t, e) {
15869
+ function Em(n, t, e) {
15852
15870
  ap.openLocation(
15853
15871
  Object.assign(n, {
15854
15872
  fail: (s) => {
15855
- e?.(Ze(s));
15873
+ e?.(Je(s));
15856
15874
  }
15857
15875
  }),
15858
15876
  function() {
@@ -15860,11 +15878,11 @@ function Pm(n, t, e) {
15860
15878
  }
15861
15879
  );
15862
15880
  }
15863
- function Em(n, t, e) {
15881
+ function _m(n, t, e) {
15864
15882
  ap.chooseImage(
15865
15883
  Object.assign(n, {
15866
15884
  fail: (s) => {
15867
- e?.(Ze(s, "chooseImage"));
15885
+ e?.(Je(s, "chooseImage"));
15868
15886
  }
15869
15887
  }),
15870
15888
  function(s) {
@@ -15872,11 +15890,11 @@ function Em(n, t, e) {
15872
15890
  }
15873
15891
  );
15874
15892
  }
15875
- function _m(n, t, e) {
15893
+ function Am(n, t, e) {
15876
15894
  ap.previewImage(
15877
15895
  Object.assign(n, {
15878
15896
  fail: (s) => {
15879
- e?.(Ze(s));
15897
+ e?.(Je(s));
15880
15898
  }
15881
15899
  }),
15882
15900
  function() {
@@ -15884,13 +15902,13 @@ function _m(n, t, e) {
15884
15902
  }
15885
15903
  );
15886
15904
  }
15887
- class Am {
15905
+ class Dm {
15888
15906
  map;
15889
15907
  constructor(t, e = 120.619585, s = 31.299379, i = 18) {
15890
15908
  this.map = new T.Map(t), this.map.centerAndZoom(new T.LngLat(e, s), i);
15891
15909
  }
15892
15910
  }
15893
- class Dm {
15911
+ class Im {
15894
15912
  /// 当前页数,从0开始
15895
15913
  currentPage;
15896
15914
  /// 每页item数量
@@ -15976,19 +15994,19 @@ class Dm {
15976
15994
  }
15977
15995
  }
15978
15996
  export {
15979
- Gf as Arrow,
15997
+ Vf as Arrow,
15980
15998
  Jr as BezierEasing,
15981
- Eu as CSSToJSEasing,
15999
+ _u as CSSToJSEasing,
15982
16000
  Oi as Clock,
15983
16001
  dt as Color,
15984
- hd as CommonKeyCode,
15985
- nd as Confetti,
16002
+ cd as CommonKeyCode,
16003
+ id as Confetti,
15986
16004
  _e as ControlsColorPattern,
15987
- Wf as Cross,
16005
+ Jf as Cross,
15988
16006
  As as CustomCanvasContext,
15989
16007
  ln as CustomCanvasGradient,
15990
16008
  Fi as CustomCanvasPattern,
15991
- Bf as DOMEventBus,
16009
+ Xf as DOMEventBus,
15992
16010
  xl as DOMParse,
15993
16011
  Te as DOMSVGUtil,
15994
16012
  lc as DOMToBlob,
@@ -15999,316 +16017,317 @@ export {
15999
16017
  hc as FetchWithAxios,
16000
16018
  cc as FetchWithAxiosRequestCancel,
16001
16019
  $l as FileUpload,
16002
- Vf as Fox,
16003
- qf as Heart,
16004
- jf as HeartVariant,
16020
+ qf as Fox,
16021
+ jf as Heart,
16022
+ Hf as HeartVariant,
16005
16023
  ta as HttpError,
16006
16024
  ee as Interpolation,
16007
16025
  Pe as Line,
16008
- zf as LinePicture,
16009
- Mf as LineQuadraticBezier,
16026
+ Gf as LinePicture,
16027
+ kf as LineQuadraticBezier,
16010
16028
  ce as Ls,
16011
- Rd as MVVM,
16029
+ Od as MVVM,
16012
16030
  mt as Matrix,
16013
16031
  xt as Matrix3D,
16014
16032
  dl as NormalColors,
16015
- Dm as Pagination,
16033
+ Im as Pagination,
16016
16034
  se as Point,
16017
- ds as Point3D,
16018
- sd as Point3Ds,
16035
+ fs as Point3D,
16036
+ nd as Point3Ds,
16019
16037
  Sl as Points,
16020
16038
  fe as QRCode,
16021
- $f as Rabbit,
16039
+ Wf as Rabbit,
16022
16040
  ie as Rect,
16023
16041
  Wi as Ring,
16024
- ed as RingIndicator,
16042
+ sd as RingIndicator,
16025
16043
  vl as SVGParse,
16026
- fs as SVGParsedPathArgsLength,
16027
- Zf as Sector,
16044
+ us as SVGParsedPathArgsLength,
16045
+ Kf as Sector,
16028
16046
  Pl as SectorArc,
16029
- td as Segment,
16047
+ ed as Segment,
16030
16048
  q as Shape,
16031
16049
  go as ShapeCombo,
16032
16050
  ct as ShapeGroup,
16033
- Kf as Ship,
16034
- Qf as Slider,
16035
- Hf as Star,
16036
- Au as TWEEN,
16051
+ Qf as Ship,
16052
+ td as Slider,
16053
+ $f as Star,
16054
+ Du as TWEEN,
16037
16055
  Is as Text,
16038
16056
  Un as Timeline,
16039
16057
  Cl as Tip,
16040
- Jf as Tree,
16058
+ Zf as Tree,
16041
16059
  Qr as Tween,
16042
- Wd as WebGLRenderer,
16043
- $d as WebRTCClient,
16044
- Od as WebSocketClient,
16045
- Hd as YZCanvas,
16060
+ Jd as WebGLRenderer,
16061
+ Wd as WebRTCClient,
16062
+ Nd as WebSocketClient,
16063
+ $d as YZCanvas,
16046
16064
  Cn as YZCanvasContext,
16047
- Vd as YZMessageChannel,
16048
- Xf as YZSVG,
16049
- Gd as YZWorker,
16050
- xd as addClass,
16051
- Pf as addWatermark,
16065
+ qd as YZMessageChannel,
16066
+ zf as YZSVG,
16067
+ Vd as YZWorker,
16068
+ bd as addClass,
16069
+ Ef as addWatermark,
16052
16070
  Eo as addWxJsReadyFnBeforeConfig,
16053
- qd as ajax,
16054
- Em as aliJsChooseImage,
16055
- Cm as aliJsGetLocation,
16056
- Pm as aliJsOpenLocation,
16057
- _m as aliJsPreviewImage,
16058
- vm as aliJsReady,
16059
- Tm as aliJsScan,
16060
- Sm as aliJsTradePay,
16071
+ jd as ajax,
16072
+ _m as aliJsChooseImage,
16073
+ Pm as aliJsGetLocation,
16074
+ Em as aliJsOpenLocation,
16075
+ Am as aliJsPreviewImage,
16076
+ Sm as aliJsReady,
16077
+ Cm as aliJsScan,
16078
+ Tm as aliJsTradePay,
16061
16079
  me as angle,
16062
16080
  Co as appendURL,
16063
- zd as appendURLRecord,
16081
+ Gd as appendURLRecord,
16064
16082
  Rl as atomReadAttribute,
16065
16083
  xo as atomReadAttributes,
16066
- Nu as atomReadStyle,
16084
+ Fu as atomReadStyle,
16067
16085
  ho as atomReadStyles,
16068
- gd as atomRemoveAttribute,
16069
- wd as atomRemoveDataset,
16086
+ yd as atomRemoveAttribute,
16087
+ xd as atomRemoveDataset,
16070
16088
  co as atomRemoveStyle,
16071
16089
  bo as atomWriteAttribute,
16072
16090
  zn as atomWriteStyle,
16073
16091
  cl as base64EncodeOutputStream,
16074
16092
  Al as bitmapMapper,
16075
- Ju as blobToImageData,
16093
+ Zu as blobToImageData,
16076
16094
  fo as byteArrayOutputStream,
16077
16095
  Ic as canDrawBitmap,
16078
- xu as canUsePaths,
16096
+ bu as canUsePaths,
16079
16097
  Dc as canUseWorker,
16080
- pd as cancelFetch,
16081
- Tf as changeBrightness,
16082
- Cf as changeDiaphaneity,
16083
- Sf as changeSize,
16084
- Zd as checkWxJsApi,
16098
+ gd as cancelFetch,
16099
+ Cf as changeBrightness,
16100
+ Pf as changeDiaphaneity,
16101
+ Tf as changeSize,
16102
+ Kd as checkWxJsApi,
16085
16103
  Jl as clearCookies,
16086
16104
  Vs as color,
16087
- Fu as combineTransformToMatrix,
16088
- ou as compareVersion,
16089
- ju as computeImageDisplayRect,
16090
- Td as createElement,
16091
- Cd as createElementNS,
16105
+ Yu as combineTransformToMatrix,
16106
+ au as compareVersion,
16107
+ Hu as computeImageDisplayRect,
16108
+ Cd as createElement,
16109
+ Pd as createElementNS,
16092
16110
  Fl as createFragment,
16093
16111
  Kl as createIndexDB,
16094
16112
  Dl as createObjectURL,
16095
- Pd as createTextNode,
16113
+ Ed as createTextNode,
16096
16114
  Gl as createXMLHttpRequest,
16097
16115
  bc as dispatchEvent,
16098
16116
  Xn as distance,
16099
16117
  cn as distance2,
16100
- rd as drawBitmapInCanvas,
16101
- Df as drawQRCodeToCanvas,
16118
+ od as drawBitmapInCanvas,
16119
+ If as drawQRCodeToCanvas,
16102
16120
  Zr as easeNameToCubicBezier,
16103
- Ku as flipSideToSide,
16104
- Qu as flipUpsideDown,
16121
+ Qu as flipSideToSide,
16122
+ tf as flipUpsideDown,
16105
16123
  zl as flushURL,
16106
- Xd as flushURLRecord,
16124
+ zd as flushURLRecord,
16107
16125
  Xl as formDataToSearch,
16108
- Tu as fpsTask,
16109
- id as getBitmapFromCanvas,
16110
- Lf as getBodyPosition,
16126
+ Cu as fpsTask,
16127
+ rd as getBitmapFromCanvas,
16128
+ Rf as getBodyPosition,
16111
16129
  Br as getBrowserClient,
16112
- au as getBrowserClientVersion,
16113
- hu as getBrowserLanguage,
16130
+ hu as getBrowserClientVersion,
16131
+ cu as getBrowserLanguage,
16114
16132
  U as getCSSVar,
16115
16133
  oo as getDOMMatrix,
16116
- Mu as getDirection,
16134
+ ku as getDirection,
16117
16135
  qs as getDocumentElementPosition,
16118
16136
  gl as getElementPositionInPage,
16119
- Nf as getElementPositionInPage2,
16137
+ Ff as getElementPositionInPage2,
16120
16138
  yl as getElementPositionInViewport,
16121
16139
  Gn as getFetchId,
16122
16140
  Hl as getFileExtension,
16123
16141
  uc as getFileMD5Hash,
16124
16142
  jl as getFileTypeFromFile,
16125
- jd as getFormSubmitData,
16143
+ Hd as getFormSubmitData,
16126
16144
  hl as getImageData,
16127
- _f as getImageDataByAIData,
16128
- Zu as getImageMainColor,
16145
+ Af as getImageDataByAIData,
16146
+ Ku as getImageMainColor,
16129
16147
  Pc as getInternetExplorerVersion,
16130
- _d as getMouseButton,
16148
+ Ad as getMouseButton,
16131
16149
  Nt as getMousePositionInElement,
16132
16150
  wl as getMousePositionInPage,
16133
- Uf as getMousePositionInViewport,
16151
+ Bf as getMousePositionInViewport,
16134
16152
  Yn as getOperatingSystem,
16135
- ru as getOperatingSystemVersion,
16136
- Of as getPageSize,
16137
- Bd as getParameters,
16138
- Fd as getPath,
16139
- Ff as getRelativeBoundingClientRect,
16140
- kf as getScreenPosition,
16153
+ ou as getOperatingSystemVersion,
16154
+ Nf as getPageSize,
16155
+ Xd as getParameters,
16156
+ Yd as getPath,
16157
+ Yf as getRelativeBoundingClientRect,
16158
+ Lf as getScreenPosition,
16141
16159
  Ce as getStyle,
16142
- cu as getTimeZone,
16160
+ lu as getTimeZone,
16143
16161
  jn as getURL,
16144
- Yf as getVerticalScrollPercentInPage,
16145
- Rf as getViewportSize,
16162
+ Uf as getVerticalScrollPercentInPage,
16163
+ Of as getViewportSize,
16146
16164
  eo as getVnode,
16147
16165
  ll as gifImage,
16148
16166
  ve as h,
16149
16167
  Vn as hFromEl,
16150
- vd as hasClass,
16151
- gu as hasDocument,
16152
- yu as hasHistory,
16168
+ Sd as hasClass,
16169
+ yu as hasDocument,
16170
+ wu as hasHistory,
16153
16171
  Ac as hasWindow,
16154
16172
  Nl as hideEl,
16155
- Dd as iframePostMessage,
16156
- Hu as imageDataToBitmap,
16157
- Wu as imageDataToBlob,
16158
- $u as imageDataToDataURL,
16159
- Du as immediateVnode,
16173
+ Id as iframePostMessage,
16174
+ $u as imageDataToBitmap,
16175
+ Ju as imageDataToBlob,
16176
+ Wu as imageDataToDataURL,
16177
+ Iu as immediateVnode,
16160
16178
  ol as injectStyle,
16161
- Jd as injectWxJsConfig,
16179
+ Zd as injectWxJsConfig,
16162
16180
  _c as isAliBrowser,
16163
- pu as isAliMiniProgram,
16181
+ gu as isAliMiniProgram,
16164
16182
  Cc as isAndroid,
16165
- lu as isAppleDevice,
16166
- wu as isBrowserSupportFileAPI,
16167
- bu as isElement,
16168
- fu as isIE,
16169
- du as isIE9or10,
16183
+ uu as isAppleDevice,
16184
+ xu as isBrowserSupportFileAPI,
16185
+ vu as isElement,
16186
+ du as isIE,
16187
+ mu as isIE9or10,
16170
16188
  Xr as isIOS,
16171
16189
  zr as isMacOS,
16172
- uu as isMobile,
16173
- Ad as isMouseHover,
16190
+ fu as isMobile,
16191
+ Dd as isMouseHover,
16174
16192
  on as isNative,
16175
- Yd as isURL,
16193
+ Ud as isURL,
16176
16194
  Ec as isWxBrowser,
16177
- mu as isWxMiniProgram,
16178
- wf as jpgToPng,
16179
- tf as leftRotate,
16195
+ pu as isWxMiniProgram,
16196
+ xf as jpgToPng,
16197
+ ef as leftRotate,
16180
16198
  Bn as length,
16181
- Am as mapTDTJSSDK,
16182
- yf as marginSharpen,
16183
- Pu as microTask,
16184
- Ef as mosaic,
16199
+ Dm as mapTDTJSSDK,
16200
+ wf as marginSharpen,
16201
+ Eu as microTask,
16202
+ _f as mosaic,
16185
16203
  je as mount,
16186
- Ru as multiplyArrayOfMatrix,
16187
- Ou as multiplyArrayOfMatrix3D,
16204
+ Ou as multiplyArrayOfMatrix,
16205
+ Nu as multiplyArrayOfMatrix3D,
16188
16206
  il as multiplyMatrix,
16189
16207
  rl as multiplyMatrix3D,
16190
- Cu as nextTick,
16191
- Iu as normalizePoint,
16208
+ Pu as nextTick,
16209
+ Mu as normalizePoint,
16192
16210
  ac as objectSignature,
16193
16211
  iu as onDocumentReady,
16194
16212
  ul as outputGifBase64,
16195
- Af as outputQRCodeBase64,
16213
+ Df as outputQRCodeBase64,
16196
16214
  bl as parseCSS,
16197
16215
  ro as parseTransformToMatrix,
16198
16216
  qn as patch,
16199
- xf as pngToJpg,
16217
+ bf as pngToJpg,
16200
16218
  Ht as polar,
16201
- vu as prefixes,
16202
- vf as radiusClip,
16219
+ Su as prefixes,
16220
+ Sf as radiusClip,
16203
16221
  zs as readFileInBrowser,
16204
16222
  Hn as recordToSearch,
16205
- bf as rectClip,
16206
- bd as removeClass,
16223
+ vf as rectClip,
16224
+ vd as removeClass,
16207
16225
  Gr as requestAnimationFrameCycle,
16208
- _u as reverseCSSToJSEasing,
16226
+ Au as reverseCSSToJSEasing,
16209
16227
  Gc as reverseEaseNameToCubicBezier,
16210
16228
  Rc as reverseEasing,
16211
- od as revokeObjectURL,
16212
- ef as rightRotate,
16229
+ ad as revokeObjectURL,
16230
+ sf as rightRotate,
16213
16231
  Yt as rotatePoint,
16214
16232
  Mc as scheduleIdle,
16215
16233
  no as scheduleVnode,
16216
16234
  Vr as scheduleYZIdle,
16217
- zu as scrollTo,
16218
- Ud as searchToRecord,
16235
+ Gu as scrollTo,
16236
+ Bd as searchToRecord,
16219
16237
  Nr as selectFileInBrowser,
16220
- If as setCSSVar,
16221
- Su as setIntervalAccurate,
16222
- Gu as setManualScroll,
16223
- Nd as setRem,
16238
+ Mf as setCSSVar,
16239
+ Tu as setIntervalAccurate,
16240
+ Vu as setManualScroll,
16241
+ Fd as setRem,
16224
16242
  ao as setStyle,
16225
16243
  Ri as setTimeoutAccurate,
16226
- gf as sharpen,
16244
+ ru as setWindowTitle,
16245
+ yf as sharpen,
16227
16246
  Ol as showEl,
16228
16247
  oc as signature,
16229
16248
  eu as simulateMouseEventFromTouch,
16230
16249
  ql as stringToDOM,
16231
16250
  ji as theme,
16232
- rf as toBlackAndWhite,
16233
- cf as toBlue,
16234
- ff as toBlueAndGreen,
16235
- pf as toBlueAndGrey,
16251
+ of as toBlackAndWhite,
16252
+ lf as toBlue,
16253
+ df as toBlueAndGreen,
16254
+ gf as toBlueAndGrey,
16236
16255
  ht as toDegree,
16237
- hf as toGreen,
16238
- mf as toGreenAndGrey,
16239
- sf as toGrey,
16240
- nf as toGrey2,
16241
- of as toOpposite,
16256
+ cf as toGreen,
16257
+ pf as toGreenAndGrey,
16258
+ nf as toGrey,
16259
+ rf as toGrey2,
16260
+ af as toOpposite,
16242
16261
  B as toRadian,
16243
- af as toRed,
16244
- uf as toRedAndBlue,
16245
- lf as toRedAndGreen,
16246
- df as toRedAndGrey,
16262
+ hf as toRed,
16263
+ ff as toRedAndBlue,
16264
+ uf as toRedAndGreen,
16265
+ mf as toRedAndGrey,
16247
16266
  vo as toggleClass,
16248
- Sd as toggleElDisplay,
16249
- Lu as transformPath2D,
16267
+ Td as toggleElDisplay,
16268
+ Ru as transformPath2D,
16250
16269
  Bl as trimHash,
16251
16270
  le as useAttribute,
16252
16271
  Zi as useClickA,
16253
- Id as useClipboard,
16272
+ Md as useClipboard,
16254
16273
  Wl as useCookie,
16255
- yd as useDataset,
16274
+ wd as useDataset,
16256
16275
  Ut as useElement,
16257
16276
  ge as useEmit,
16258
16277
  gt as useEventListener,
16259
16278
  Ll as useFetch,
16260
- md as useFetchCache,
16279
+ pd as useFetchCache,
16261
16280
  tu as useFireEvent,
16262
- Uu as useHistoryRouter,
16281
+ Bu as useHistoryRouter,
16263
16282
  wo as useHotKey,
16264
- ld as useHotKeyFileLoop,
16265
- cd as useHotKeyFileOnce,
16283
+ ud as useHotKeyFileLoop,
16284
+ ld as useHotKeyFileOnce,
16266
16285
  Il as useLoadImage,
16267
- fd as useLoadLink,
16268
- ud as useLoadScript,
16286
+ dd as useLoadLink,
16287
+ fd as useLoadScript,
16269
16288
  fc as useLocalStorage,
16270
16289
  To as useLocale,
16271
- Md as useLocation,
16290
+ kd as useLocation,
16272
16291
  vc as useMedia,
16273
- qu as useMutation,
16274
- Xu as usePreventScroll,
16292
+ ju as useMutation,
16293
+ zu as usePreventScroll,
16275
16294
  al as useResize,
16276
- Ld as useRunInSandbox,
16277
- Yu as useSafeArea,
16278
- Bu as useScroll,
16295
+ Rd as useRunInSandbox,
16296
+ Uu as useSafeArea,
16297
+ Xu as useScroll,
16279
16298
  yo as useSelectFile,
16280
- ad as useSelectFileImage,
16299
+ hd as useSelectFileImage,
16281
16300
  Zl as useSessionStorage,
16282
- Ed as useShadowRoot,
16301
+ _d as useShadowRoot,
16283
16302
  su as useTheme,
16284
16303
  nu as useThemeToggle,
16285
- kd as useVibrate,
16286
- Vu as useVisible,
16304
+ Ld as useVibrate,
16305
+ qu as useVisible,
16287
16306
  Ge as useWindow,
16288
- dd as waitForStyleSheetsLoaded,
16307
+ md as waitForStyleSheetsLoaded,
16289
16308
  Ql as writeToIndexDB,
16290
- tm as wxJsChooseImage,
16291
- nm as wxJsDownloadImage,
16292
- dm as wxJsDownloadVoice,
16293
- im as wxJsGetLocalImgData,
16294
- ym as wxJsGetLocation,
16295
- pm as wxJsGetNetworkType,
16296
- bm as wxJsLogin,
16297
- um as wxJsOnVoicePlayEnd,
16298
- am as wxJsOnVoiceRecordEnd,
16299
- gm as wxJsOpenLocation,
16300
- cm as wxJsPauseVoice,
16301
- xm as wxJsPay,
16302
- hm as wxJsPlayVoice,
16303
- em as wxJsPreviewImage,
16304
- wm as wxJsScanQRCode,
16305
- rm as wxJsStartRecord,
16306
- om as wxJsStopRecord,
16307
- lm as wxJsStopVoice,
16308
- mm as wxJsTranslateVoice,
16309
- Kd as wxJsUpdateAppMessageShareData,
16310
- Qd as wxJsUpdateTimelineShareData,
16311
- sm as wxJsUploadImage,
16312
- fm as wxJsUploadVoice
16309
+ em as wxJsChooseImage,
16310
+ im as wxJsDownloadImage,
16311
+ mm as wxJsDownloadVoice,
16312
+ rm as wxJsGetLocalImgData,
16313
+ wm as wxJsGetLocation,
16314
+ gm as wxJsGetNetworkType,
16315
+ vm as wxJsLogin,
16316
+ fm as wxJsOnVoicePlayEnd,
16317
+ hm as wxJsOnVoiceRecordEnd,
16318
+ ym as wxJsOpenLocation,
16319
+ lm as wxJsPauseVoice,
16320
+ bm as wxJsPay,
16321
+ cm as wxJsPlayVoice,
16322
+ sm as wxJsPreviewImage,
16323
+ xm as wxJsScanQRCode,
16324
+ om as wxJsStartRecord,
16325
+ am as wxJsStopRecord,
16326
+ um as wxJsStopVoice,
16327
+ pm as wxJsTranslateVoice,
16328
+ Qd as wxJsUpdateAppMessageShareData,
16329
+ tm as wxJsUpdateTimelineShareData,
16330
+ nm as wxJsUploadImage,
16331
+ dm as wxJsUploadVoice
16313
16332
  };
16314
16333
  //# sourceMappingURL=zyzgroup_core_web.js.map