@zyzgroup/core-web 0.1.16 → 0.1.17

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.
@@ -146,7 +146,7 @@ const ti = (i) => {
146
146
  break;
147
147
  }
148
148
  return t;
149
- }, te = (i, t) => (typeof i == "string" && (i = ti(i) || new RegExp(i)), i.test(t)), Yr = (i, t) => {
149
+ }, ee = (i, t) => (typeof i == "string" && (i = ti(i) || new RegExp(i)), i.test(t)), Yr = (i, t) => {
150
150
  typeof i == "string" && (i = ti(i) || new RegExp(i));
151
151
  const e = t.match(i);
152
152
  return e ? i.flags.toLowerCase().indexOf("g") >= 0 ? e.map(
@@ -279,7 +279,7 @@ try {
279
279
  function nh(i) {
280
280
  return typeof i == "number" && Number.isNaN(i);
281
281
  }
282
- function Dt(i, t) {
282
+ function Rt(i, t) {
283
283
  if (i = parseFloat(i), nh(i)) {
284
284
  if (typeof t == "number")
285
285
  return t;
@@ -305,9 +305,9 @@ const oh = (i, t, e) => (s) => {
305
305
  return e == 0 ? n : t - n < e ? t : Math.round(n / e) * e;
306
306
  };
307
307
  function ah(i, t = 12) {
308
- return Dt(i, 0).toFixed(t);
308
+ return Rt(i, 0).toFixed(t);
309
309
  }
310
- function Wt(i, t = 12) {
310
+ function Zt(i, t = 12) {
311
311
  return +ah(i, t);
312
312
  }
313
313
  function Bi(i, t) {
@@ -323,7 +323,7 @@ function $r(i) {
323
323
  const t = Yr("number", i);
324
324
  return t ? Array.isArray(t) ? t.map((e) => Number(e.fullMatch)) : [Number(t.fullMatch)] : [];
325
325
  }
326
- const ne = hh();
326
+ const re = hh();
327
327
  function hh() {
328
328
  const i = new ArrayBuffer(4), t = new Float32Array(i), e = new Uint32Array(i), s = new Uint32Array(512), n = new Uint32Array(512);
329
329
  for (let h = 0; h < 256; ++h) {
@@ -358,15 +358,15 @@ function hh() {
358
358
  };
359
359
  }
360
360
  function St(i) {
361
- Math.abs(i) > 65504 && console.warn("toHalfFloat(): Value out of range."), i = O(i, -65504, 65504), ne.floatView[0] = i;
362
- const t = ne.uint32View[0], e = t >> 23 & 511;
363
- return ne.baseTable[e] + ((t & 8388607) >> ne.shiftTable[e]);
361
+ Math.abs(i) > 65504 && console.warn("toHalfFloat(): Value out of range."), i = O(i, -65504, 65504), re.floatView[0] = i;
362
+ const t = re.uint32View[0], e = t >> 23 & 511;
363
+ return re.baseTable[e] + ((t & 8388607) >> re.shiftTable[e]);
364
364
  }
365
365
  function Ts(i) {
366
366
  const t = i >> 10;
367
- return ne.uint32View[0] = ne.mantissaTable[ne.offsetTable[t] + (i & 1023)] + ne.exponentTable[t], ne.floatView[0];
367
+ return re.uint32View[0] = re.mantissaTable[re.offsetTable[t] + (i & 1023)] + re.exponentTable[t], re.floatView[0];
368
368
  }
369
- var mt = /* @__PURE__ */ ((i) => (i.UNKNOWN = "", i.TEXT = "text/plain", i.MD = "text/plain", i.HTML = "text/html", i.XML_TEXT = "text/xml", i.CSS = "text/css", i.JPEG = "image/jpeg", i.PNG = "image/png", i.GIF = "image/gif", i.BMP = "image/bmp", i.WEBP = "image/webp", i.SVG = "image/svg+xml", i.ICON = "image/x-icon", i.MICROSOFT_ICON = "image/vnd.microsoft.icon", i.MPEG = "audio/mpeg", i.MP3 = "audio/mpeg", i.MP4 = "video/mp4", i.OGG = "audio/ogg", i.WAV = "audio/wav", i.MIDI = "audio/midi", i.WEBM = "video/webm", i.VIDEO_OGG = "video/ogg", i.OCTET_STREAM = "application/octet-stream", i.JAVASCRIPT = "application/javascript", i.ECMASCRIPT = "application/ecmascript", i.JSON = "application/json", i.XML = "application/xml", i.XHTML = "application/xhtml+xml", i.XWWW = "application/x-www-form-urlencoded", i.DOC = "application/msword", i.CSV = "application/x-csv", i.EXCEL = "application/vnb.ms-excel", i.PPT = "application/vnb.mspowerpoint", i.PDF = "application/pdf", i.ZIP = "application/zip", i.TGZ = "application/x-gtar", i.TAR_GZ = "application/x-gzip", i.EOT = "appliaction/vnd.ms-fontobject", i.TTF = "aplication/font-sfnt", i.PKCS12 = "aplication/pkcs12", i))(mt || {}), Ys = /* @__PURE__ */ ((i) => (i.ascii = "ascii", i.utf8 = "utf8", i.utf16le = "utf16le", i.ucs2 = "ucs2", i.base64 = "base64", i.base64url = "base64url", i.latin1 = "latin1", i.binary = "binary", i.hex = "hex", i))(Ys || {}), Rt = /* @__PURE__ */ ((i) => (i.text = "text", i.dataURL = "dataURL", i.binaryString = "binaryString", i.arraybuffer = "arraybuffer", i))(Rt || {});
369
+ var mt = /* @__PURE__ */ ((i) => (i.UNKNOWN = "", i.TEXT = "text/plain", i.MD = "text/plain", i.HTML = "text/html", i.XML_TEXT = "text/xml", i.CSS = "text/css", i.JPEG = "image/jpeg", i.PNG = "image/png", i.GIF = "image/gif", i.BMP = "image/bmp", i.WEBP = "image/webp", i.SVG = "image/svg+xml", i.ICON = "image/x-icon", i.MICROSOFT_ICON = "image/vnd.microsoft.icon", i.MPEG = "audio/mpeg", i.MP3 = "audio/mpeg", i.MP4 = "video/mp4", i.OGG = "audio/ogg", i.WAV = "audio/wav", i.MIDI = "audio/midi", i.WEBM = "video/webm", i.VIDEO_OGG = "video/ogg", i.OCTET_STREAM = "application/octet-stream", i.JAVASCRIPT = "application/javascript", i.ECMASCRIPT = "application/ecmascript", i.JSON = "application/json", i.XML = "application/xml", i.XHTML = "application/xhtml+xml", i.XWWW = "application/x-www-form-urlencoded", i.DOC = "application/msword", i.CSV = "application/x-csv", i.EXCEL = "application/vnb.ms-excel", i.PPT = "application/vnb.mspowerpoint", i.PDF = "application/pdf", i.ZIP = "application/zip", i.TGZ = "application/x-gtar", i.TAR_GZ = "application/x-gzip", i.EOT = "appliaction/vnd.ms-fontobject", i.TTF = "aplication/font-sfnt", i.PKCS12 = "aplication/pkcs12", i))(mt || {}), Ys = /* @__PURE__ */ ((i) => (i.ascii = "ascii", i.utf8 = "utf8", i.utf16le = "utf16le", i.ucs2 = "ucs2", i.base64 = "base64", i.base64url = "base64url", i.latin1 = "latin1", i.binary = "binary", i.hex = "hex", i))(Ys || {}), Lt = /* @__PURE__ */ ((i) => (i.text = "text", i.dataURL = "dataURL", i.binaryString = "binaryString", i.arraybuffer = "arraybuffer", i))(Lt || {});
370
370
  const Le = (i, t = 16) => {
371
371
  let e = i.toLowerCase();
372
372
  const s = e.indexOf("0b") == 0, n = e.indexOf("0o") == 0, r = e.indexOf("0x") == 0;
@@ -887,11 +887,11 @@ function Qr(i, t) {
887
887
  const { toString: Ch } = Object.prototype, { getPrototypeOf: nn } = Object, si = ((i) => (t) => {
888
888
  const e = Ch.call(t);
889
889
  return i[e] || (i[e] = e.slice(8, -1).toLowerCase());
890
- })(/* @__PURE__ */ Object.create(null)), Ut = (i) => (i = i.toLowerCase(), (t) => si(t) === i), ii = (i) => (t) => typeof t === i, { isArray: qe } = Array, hs = ii("undefined");
890
+ })(/* @__PURE__ */ Object.create(null)), Vt = (i) => (i = i.toLowerCase(), (t) => si(t) === i), ii = (i) => (t) => typeof t === i, { isArray: qe } = Array, hs = ii("undefined");
891
891
  function _h(i) {
892
892
  return i !== null && !hs(i) && i.constructor !== null && !hs(i.constructor) && Et(i.constructor.isBuffer) && i.constructor.isBuffer(i);
893
893
  }
894
- const Kr = Ut("ArrayBuffer");
894
+ const Kr = Vt("ArrayBuffer");
895
895
  function Th(i) {
896
896
  let t;
897
897
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(i) : t = i && i.buffer && Kr(i.buffer), t;
@@ -901,11 +901,11 @@ const Ph = ii("string"), Et = ii("function"), to = ii("number"), ni = (i) => i !
901
901
  return !1;
902
902
  const t = nn(i);
903
903
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in i) && !(Symbol.iterator in i);
904
- }, Eh = Ut("Date"), Ah = Ut("File"), kh = Ut("Blob"), Ih = Ut("FileList"), Dh = (i) => ni(i) && Et(i.pipe), Rh = (i) => {
904
+ }, Eh = Vt("Date"), Ah = Vt("File"), kh = Vt("Blob"), Ih = Vt("FileList"), Dh = (i) => ni(i) && Et(i.pipe), Rh = (i) => {
905
905
  let t;
906
906
  return i && (typeof FormData == "function" && i instanceof FormData || Et(i.append) && ((t = si(i)) === "formdata" || // detect form-data instance
907
907
  t === "object" && Et(i.toString) && i.toString() === "[object FormData]"));
908
- }, Lh = Ut("URLSearchParams"), [zh, Oh, Nh, Fh] = ["ReadableStream", "Request", "Response", "Headers"].map(Ut), Bh = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
908
+ }, Lh = Vt("URLSearchParams"), [zh, Oh, Nh, Fh] = ["ReadableStream", "Request", "Response", "Headers"].map(Vt), Bh = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
909
909
  function ls(i, t, { allOwnKeys: e = !1 } = {}) {
910
910
  if (i === null || typeof i > "u")
911
911
  return;
@@ -985,12 +985,12 @@ const Yh = (i, t, e, { allOwnKeys: s } = {}) => (ls(t, (n, r) => {
985
985
  for (; (e = i.exec(t)) !== null; )
986
986
  s.push(e);
987
987
  return s;
988
- }, Wh = Ut("HTMLFormElement"), Zh = (i) => i.toLowerCase().replace(
988
+ }, Wh = Vt("HTMLFormElement"), Zh = (i) => i.toLowerCase().replace(
989
989
  /[-_\s]([a-z\d])(\w*)/g,
990
990
  function(e, s, n) {
991
991
  return s.toUpperCase() + n;
992
992
  }
993
- ), jn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), Jh = Ut("RegExp"), io = (i, t) => {
993
+ ), jn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), Jh = Vt("RegExp"), io = (i, t) => {
994
994
  const e = Object.getOwnPropertyDescriptors(i), s = {};
995
995
  ls(e, (n, r) => {
996
996
  let o;
@@ -1040,7 +1040,7 @@ const ic = (i) => {
1040
1040
  return s;
1041
1041
  };
1042
1042
  return e(i, 0);
1043
- }, nc = Ut("AsyncFunction"), rc = (i) => i && (ni(i) || Et(i)) && Et(i.then) && Et(i.catch), no = ((i, t) => i ? setImmediate : t ? ((e, s) => (Te.addEventListener("message", ({ source: n, data: r }) => {
1043
+ }, nc = Vt("AsyncFunction"), rc = (i) => i && (ni(i) || Et(i)) && Et(i.then) && Et(i.catch), no = ((i, t) => i ? setImmediate : t ? ((e, s) => (Te.addEventListener("message", ({ source: n, data: r }) => {
1044
1044
  n === Te && r === e && s.length && s.shift()();
1045
1045
  }, !1), (n) => {
1046
1046
  s.push(n), Te.postMessage(e, "*");
@@ -1080,7 +1080,7 @@ const ic = (i) => {
1080
1080
  inherits: Uh,
1081
1081
  toFlatObject: Vh,
1082
1082
  kindOf: si,
1083
- kindOfTest: Ut,
1083
+ kindOfTest: Vt,
1084
1084
  endsWith: Gh,
1085
1085
  toArray: qh,
1086
1086
  forEachEntry: Hh,
@@ -1667,9 +1667,9 @@ E.reduceDescriptors(oi.prototype, ({ value: i }, t) => {
1667
1667
  };
1668
1668
  });
1669
1669
  E.freezeMethods(oi);
1670
- const Xt = oi;
1670
+ const Ut = oi;
1671
1671
  function Ti(i, t) {
1672
- const e = this || hn, s = t || e, n = Xt.from(s.headers);
1672
+ const e = this || hn, s = t || e, n = Ut.from(s.headers);
1673
1673
  let r = s.data;
1674
1674
  return E.forEach(i, function(a) {
1675
1675
  r = a.call(e, r, n.normalize(), t ? t.status : void 0);
@@ -1792,7 +1792,7 @@ function po(i, t, e) {
1792
1792
  let s = !zc(t);
1793
1793
  return i && (s || e == !1) ? Oc(i, t) : t;
1794
1794
  }
1795
- const Kn = (i) => i instanceof Xt ? { ...i } : i;
1795
+ const Kn = (i) => i instanceof Ut ? { ...i } : i;
1796
1796
  function Ae(i, t) {
1797
1797
  t = t || {};
1798
1798
  const e = {};
@@ -1862,7 +1862,7 @@ function Ae(i, t) {
1862
1862
  const go = (i) => {
1863
1863
  const t = Ae({}, i);
1864
1864
  let { data: e, withXSRFToken: s, xsrfHeaderName: n, xsrfCookieName: r, headers: o, auth: a } = t;
1865
- t.headers = o = Xt.from(o), t.url = co(po(t.baseURL, t.url, t.allowAbsoluteUrls), i.params, i.paramsSerializer), a && o.set(
1865
+ t.headers = o = Ut.from(o), t.url = co(po(t.baseURL, t.url, t.allowAbsoluteUrls), i.params, i.paramsSerializer), a && o.set(
1866
1866
  "Authorization",
1867
1867
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1868
1868
  );
@@ -1884,7 +1884,7 @@ const go = (i) => {
1884
1884
  return new Promise(function(e, s) {
1885
1885
  const n = go(i);
1886
1886
  let r = n.data;
1887
- const o = Xt.from(n.headers).normalize();
1887
+ const o = Ut.from(n.headers).normalize();
1888
1888
  let { responseType: a, onUploadProgress: h, onDownloadProgress: c } = n, l, u, f, d, m;
1889
1889
  function S() {
1890
1890
  d && d(), m && m(), n.cancelToken && n.cancelToken.unsubscribe(l), n.signal && n.signal.removeEventListener("abort", l);
@@ -1894,7 +1894,7 @@ const go = (i) => {
1894
1894
  function w() {
1895
1895
  if (!v)
1896
1896
  return;
1897
- const g = Xt.from(
1897
+ const g = Ut.from(
1898
1898
  "getAllResponseHeaders" in v && v.getAllResponseHeaders()
1899
1899
  ), _ = {
1900
1900
  data: !a || a === "text" || a === "json" ? v.responseText : v.response,
@@ -2130,7 +2130,7 @@ const jc = async (i) => {
2130
2130
  return !g && S && S(), await new Promise((_, C) => {
2131
2131
  mo(_, C, {
2132
2132
  data: y,
2133
- headers: Xt.from(b.headers),
2133
+ headers: Ut.from(b.headers),
2134
2134
  status: b.status,
2135
2135
  statusText: b.statusText,
2136
2136
  config: i,
@@ -2195,7 +2195,7 @@ function Pi(i) {
2195
2195
  throw new je(null, i);
2196
2196
  }
2197
2197
  function ir(i) {
2198
- return Pi(i), i.headers = Xt.from(i.headers), i.data = Ti.call(
2198
+ return Pi(i), i.headers = Ut.from(i.headers), i.data = Ti.call(
2199
2199
  i,
2200
2200
  i.transformRequest
2201
2201
  ), ["post", "put", "patch"].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), wo.getAdapter(i.adapter || hn.adapter)(i).then(function(s) {
@@ -2203,13 +2203,13 @@ function ir(i) {
2203
2203
  i,
2204
2204
  i.transformResponse,
2205
2205
  s
2206
- ), s.headers = Xt.from(s.headers), s;
2206
+ ), s.headers = Ut.from(s.headers), s;
2207
2207
  }, function(s) {
2208
2208
  return fo(s) || (Pi(i), s && s.response && (s.response.data = Ti.call(
2209
2209
  i,
2210
2210
  i.transformResponse,
2211
2211
  s.response
2212
- ), s.response.headers = Xt.from(s.response.headers))), Promise.reject(s);
2212
+ ), s.response.headers = Ut.from(s.response.headers))), Promise.reject(s);
2213
2213
  });
2214
2214
  }
2215
2215
  const bo = "1.8.4", hi = {};
@@ -2260,7 +2260,7 @@ function Zc(i, t, e) {
2260
2260
  const Ns = {
2261
2261
  assertOptions: Zc,
2262
2262
  validators: hi
2263
- }, jt = Ns.validators;
2263
+ }, Ht = Ns.validators;
2264
2264
  class Vs {
2265
2265
  constructor(t) {
2266
2266
  this.defaults = t, this.interceptors = {
@@ -2297,17 +2297,17 @@ class Vs {
2297
2297
  typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = Ae(this.defaults, e);
2298
2298
  const { transitional: s, paramsSerializer: n, headers: r } = e;
2299
2299
  s !== void 0 && Ns.assertOptions(s, {
2300
- silentJSONParsing: jt.transitional(jt.boolean),
2301
- forcedJSONParsing: jt.transitional(jt.boolean),
2302
- clarifyTimeoutError: jt.transitional(jt.boolean)
2300
+ silentJSONParsing: Ht.transitional(Ht.boolean),
2301
+ forcedJSONParsing: Ht.transitional(Ht.boolean),
2302
+ clarifyTimeoutError: Ht.transitional(Ht.boolean)
2303
2303
  }, !1), n != null && (E.isFunction(n) ? e.paramsSerializer = {
2304
2304
  serialize: n
2305
2305
  } : Ns.assertOptions(n, {
2306
- encode: jt.function,
2307
- serialize: jt.function
2306
+ encode: Ht.function,
2307
+ serialize: Ht.function
2308
2308
  }, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), Ns.assertOptions(e, {
2309
- baseUrl: jt.spelling("baseURL"),
2310
- withXsrfToken: jt.spelling("withXSRFToken")
2309
+ baseUrl: Ht.spelling("baseURL"),
2310
+ withXsrfToken: Ht.spelling("withXSRFToken")
2311
2311
  }, !0), e.method = (e.method || this.defaults.method || "get").toLowerCase();
2312
2312
  let o = r && E.merge(
2313
2313
  r.common,
@@ -2318,7 +2318,7 @@ class Vs {
2318
2318
  (m) => {
2319
2319
  delete r[m];
2320
2320
  }
2321
- ), e.headers = Xt.concat(o, r);
2321
+ ), e.headers = Ut.concat(o, r);
2322
2322
  const a = [];
2323
2323
  let h = !0;
2324
2324
  this.interceptors.request.forEach(function(S) {
@@ -2559,7 +2559,7 @@ tt.all = function(t) {
2559
2559
  tt.spread = Qc;
2560
2560
  tt.isAxiosError = Kc;
2561
2561
  tt.mergeConfig = Ae;
2562
- tt.AxiosHeaders = Xt;
2562
+ tt.AxiosHeaders = Ut;
2563
2563
  tt.formToJSON = (i) => uo(E.isHTMLForm(i) ? new FormData(i) : i);
2564
2564
  tt.getAdapter = wo.getAdapter;
2565
2565
  tt.HttpStatusCode = tl;
@@ -2708,7 +2708,7 @@ async function _o(i = ["*"], t) {
2708
2708
  throw s.remove(), n;
2709
2709
  });
2710
2710
  }
2711
- function ci(i, t = Rt.text, e) {
2711
+ function ci(i, t = Lt.text, e) {
2712
2712
  return new Promise((s, n) => {
2713
2713
  const r = new FileReader();
2714
2714
  switch (r.addEventListener("progress", (o) => {
@@ -2718,16 +2718,16 @@ function ci(i, t = Rt.text, e) {
2718
2718
  }), r.addEventListener("error", (o) => {
2719
2719
  n(o);
2720
2720
  }), t) {
2721
- case Rt.dataURL:
2721
+ case Lt.dataURL:
2722
2722
  r.readAsDataURL(i);
2723
2723
  break;
2724
- case Rt.binaryString:
2724
+ case Lt.binaryString:
2725
2725
  r.readAsBinaryString(i);
2726
2726
  break;
2727
- case Rt.arraybuffer:
2727
+ case Lt.arraybuffer:
2728
2728
  r.readAsArrayBuffer(i);
2729
2729
  break;
2730
- case Rt.text:
2730
+ case Lt.text:
2731
2731
  default:
2732
2732
  r.readAsText(i);
2733
2733
  }
@@ -2736,7 +2736,7 @@ function ci(i, t = Rt.text, e) {
2736
2736
  async function Wu(i) {
2737
2737
  const t = await ci(
2738
2738
  i,
2739
- Rt.arraybuffer
2739
+ Lt.arraybuffer
2740
2740
  );
2741
2741
  return uh(t);
2742
2742
  }
@@ -3271,7 +3271,7 @@ function ko(i, t, e) {
3271
3271
  }), Ei.length > 0 && ko();
3272
3272
  }));
3273
3273
  }
3274
- let Gs = 0, Se = 33, le = 33, Hi;
3274
+ let Gs = 0, Se = 33, ue = 33, Hi;
3275
3275
  const Io = new MessageChannel(), Tl = Io.port2;
3276
3276
  Io.port1.onmessage = (i) => {
3277
3277
  Hi !== null && Hi({
@@ -3281,8 +3281,8 @@ Io.port1.onmessage = (i) => {
3281
3281
  };
3282
3282
  function Pl(i) {
3283
3283
  return Hi = i, requestAnimationFrame((t) => {
3284
- let e = t - Gs + le;
3285
- e < le && Se < le ? (e < 8 && (e = 8), le = e < Se ? Se : e) : e > le && Se > le ? le = e < Se ? Se : e : Se = e, Gs = t + le, Tl.postMessage(null);
3284
+ let e = t - Gs + ue;
3285
+ e < ue && Se < ue ? (e < 8 && (e = 8), ue = e < Se ? Se : e) : e > ue && Se > ue ? ue = e < Se ? Se : e : Se = e, Gs = t + ue, Tl.postMessage(null);
3286
3286
  });
3287
3287
  }
3288
3288
  function If(i) {
@@ -3629,7 +3629,7 @@ function Rf(i) {
3629
3629
  function Lf(i) {
3630
3630
  return Oo(...Ol(i));
3631
3631
  }
3632
- const me = {
3632
+ const pe = {
3633
3633
  Utils: {
3634
3634
  Linear: function(i, t, e) {
3635
3635
  return (t - i) * e + i;
@@ -3646,7 +3646,7 @@ const me = {
3646
3646
  };
3647
3647
  }(),
3648
3648
  Bernstein: function(i, t) {
3649
- const e = me.Utils.Factorial;
3649
+ const e = pe.Utils.Factorial;
3650
3650
  return e(i) / e(t) / e(i - t);
3651
3651
  },
3652
3652
  // 卡特穆尔·罗姆
@@ -3665,13 +3665,13 @@ const me = {
3665
3665
  },
3666
3666
  // 线性
3667
3667
  Linear: function(i, t) {
3668
- const e = i.length - 1, s = e * t, n = Math.floor(s), r = me.Utils.Linear;
3668
+ const e = i.length - 1, s = e * t, n = Math.floor(s), r = pe.Utils.Linear;
3669
3669
  return t < 0 ? r(i[0], i[1], s) : t > 1 ? r(i[e], i[e - 1], e - s) : r(i[n], i[n + 1 > e ? e : n + 1], s - n);
3670
3670
  },
3671
3671
  // 贝塞尔
3672
3672
  Bezier: function(i, t) {
3673
3673
  let e = 0;
3674
- const s = i.length - 1, n = Math.pow, r = me.Utils.Bernstein;
3674
+ const s = i.length - 1, n = Math.pow, r = pe.Utils.Bernstein;
3675
3675
  for (let o = 0; o <= s; o++)
3676
3676
  e += n(1 - t, s - o) * n(t, o) * i[o] * r(s, o);
3677
3677
  return e;
@@ -3680,7 +3680,7 @@ const me = {
3680
3680
  CatmullRom: function(i, t) {
3681
3681
  const e = i.length - 1;
3682
3682
  let s = e * t, n = Math.floor(s);
3683
- const r = me.Utils.CatmullRom;
3683
+ const r = pe.Utils.CatmullRom;
3684
3684
  return i[0] === i[e] ? (t < 0 && (n = Math.floor(s = e * (1 + t))), r(
3685
3685
  i[(n - 1 + e) % e],
3686
3686
  i[n],
@@ -3720,9 +3720,9 @@ class Fo {
3720
3720
  return !!Object.keys(this._tweens).length;
3721
3721
  }
3722
3722
  }
3723
- const Lt = new Fo();
3723
+ const zt = new Fo();
3724
3724
  class Bo {
3725
- constructor(t, e = Lt) {
3725
+ constructor(t, e = zt) {
3726
3726
  this._object = t, this._group = e;
3727
3727
  }
3728
3728
  _id = us.nextId();
@@ -3757,7 +3757,7 @@ class Bo {
3757
3757
  // 缓动函数
3758
3758
  _easingFunction = z.Linear.None;
3759
3759
  // 插值函数
3760
- _interpolationFunction = me.Linear;
3760
+ _interpolationFunction = pe.Linear;
3761
3761
  // 链式动画数组
3762
3762
  _chainedTweens = [];
3763
3763
  // 链式动画是否已停止
@@ -3854,7 +3854,7 @@ class Bo {
3854
3854
  this._chainedTweens[t].stop();
3855
3855
  return this;
3856
3856
  }
3857
- group(t = Lt) {
3857
+ group(t = zt) {
3858
3858
  return this._group = t, this;
3859
3859
  }
3860
3860
  delay(t = 0) {
@@ -3872,7 +3872,7 @@ class Bo {
3872
3872
  easing(t = z.Linear.None) {
3873
3873
  return this._easingFunction = t, this;
3874
3874
  }
3875
- interpolation(t = me.Linear) {
3875
+ interpolation(t = pe.Linear) {
3876
3876
  return this._interpolationFunction = t, this;
3877
3877
  }
3878
3878
  chain(...t) {
@@ -3957,11 +3957,11 @@ class Bo {
3957
3957
  typeof s == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(s) : this._valuesStartRepeat[t] = s, this._valuesEnd[t] = e;
3958
3958
  }
3959
3959
  }
3960
- const Nl = us.nextId, Fl = Lt.getAll.bind(Lt), Bl = Lt.removeAll.bind(Lt), Yl = Lt.add.bind(Lt), Xl = Lt.remove.bind(Lt), Ul = Lt.update.bind(Lt), zf = {
3960
+ const Nl = us.nextId, Fl = zt.getAll.bind(zt), Bl = zt.removeAll.bind(zt), Yl = zt.add.bind(zt), Xl = zt.remove.bind(zt), Ul = zt.update.bind(zt), zf = {
3961
3961
  now: Z,
3962
3962
  Sequence: us,
3963
3963
  Easing: z,
3964
- Interpolation: me,
3964
+ Interpolation: pe,
3965
3965
  Group: Fo,
3966
3966
  Tween: Bo,
3967
3967
  nextId: Nl,
@@ -4040,7 +4040,7 @@ class un {
4040
4040
  /// 默认顺序执行
4041
4041
  delay: typeof s?.delay == "number" ? s.delay : this.tweens.length,
4042
4042
  easeFunction: s?.easeFunction || z.Linear.None,
4043
- interpolationFunction: s?.interpolationFunction || me.Linear,
4043
+ interpolationFunction: s?.interpolationFunction || pe.Linear,
4044
4044
  repeat: typeof s?.repeat == "number" ? s.repeat : 0,
4045
4045
  yoyo: s?.yoyo || !1,
4046
4046
  onStart: s?.onStart || (() => {
@@ -4138,7 +4138,7 @@ function ke(i, t, e, s) {
4138
4138
  let n = Math.atan2(s - t, e - i);
4139
4139
  return n < 0 && (n += Math.PI * 2), n;
4140
4140
  }
4141
- function oe(i, t) {
4141
+ function ae(i, t) {
4142
4142
  return {
4143
4143
  dx: Math.cos(i) * t,
4144
4144
  dy: Math.sin(i) * t
@@ -6326,7 +6326,7 @@ class Pt {
6326
6326
  static mixPoints(t, e, s) {
6327
6327
  const n = t.length, r = new Array(n);
6328
6328
  for (let o = 0; o < n; o++)
6329
- r[o] = Wt(t[o] + (e[o] - t[o]) * s, 6);
6329
+ r[o] = Zt(t[o] + (e[o] - t[o]) * s, 6);
6330
6330
  return r;
6331
6331
  }
6332
6332
  /// offset : 0 ~ 1
@@ -6542,12 +6542,12 @@ class $ extends Ge {
6542
6542
  }
6543
6543
  followTo(t, e = 3) {
6544
6544
  this.rotateTo(t);
6545
- const { dx: s, dy: n } = oe(U(this.degree), e);
6545
+ const { dx: s, dy: n } = ae(U(this.degree), e);
6546
6546
  this.vx = s, this.vy = n, this.run();
6547
6547
  }
6548
6548
  followAccelerationTo(t, e = 0.05) {
6549
6549
  this.rotateTo(t);
6550
- const { dx: s, dy: n } = oe(U(this.degree), e);
6550
+ const { dx: s, dy: n } = ae(U(this.degree), e);
6551
6551
  this.ax = s, this.ay = n, this.run();
6552
6552
  }
6553
6553
  /// 碰撞检测
@@ -6563,24 +6563,24 @@ class $ extends Ge {
6563
6563
  }
6564
6564
  run(t) {
6565
6565
  this.vx += this.ax, this.vy += this.ay;
6566
- const e = Dt(t?.gravity, 0);
6566
+ const e = Rt(t?.gravity, 0);
6567
6567
  this.vy += e;
6568
- const s = Dt(t?.friction, 1);
6568
+ const s = Rt(t?.friction, 1);
6569
6569
  this.vx *= s, this.vy *= s, this.x += this.vx, this.y += this.vy;
6570
6570
  }
6571
6571
  runEaseTo(t, e) {
6572
- const s = Dt(e?.easing, 0.05), n = t.x - this.cX - this.x, r = t.y - this.cY - this.y;
6572
+ const s = Rt(e?.easing, 0.05), n = t.x - this.cX - this.x, r = t.y - this.cY - this.y;
6573
6573
  this.vx = n * s, this.vy = r * s, this.run(e);
6574
6574
  }
6575
6575
  runSpringTo(t, e) {
6576
- const s = Dt(e?.spring, 0.03);
6576
+ const s = Rt(e?.spring, 0.03);
6577
6577
  (Array.isArray(t) ? t : [t]).forEach((n) => {
6578
6578
  const r = n.x - this.cX - this.x, o = n.y - this.cY - this.y, a = r * s, h = o * s;
6579
6579
  this.vx += a, this.vy += h;
6580
6580
  }), this.run({ friction: 0.9, ...e });
6581
6581
  }
6582
6582
  springMassTo(t, e) {
6583
- const s = Dt(e?.springLength, 100), n = Dt(e?.spring, 1e-4), r = t.x - this.x, o = t.y - this.y, a = Math.sqrt(r * r + o * o);
6583
+ const s = Rt(e?.springLength, 100), n = Rt(e?.spring, 1e-4), r = t.x - this.x, o = t.y - this.y, a = Math.sqrt(r * r + o * o);
6584
6584
  if (a < s) {
6585
6585
  const h = r * n, c = o * n;
6586
6586
  return this.vx += h / this.mass, this.vy += c / this.mass, t.vx -= h / t.mass, t.vy -= c / t.mass, 1 - a / s;
@@ -6601,7 +6601,7 @@ class $ extends Ge {
6601
6601
  return t.originD = this.initPathD().getSubpath(0, e * s), this.getPointAtLength(e * s);
6602
6602
  }
6603
6603
  strokeDashTween(t = 1e3, e) {
6604
- const s = this.initPathD(), n = Wt(s.getTotalLength(), 0);
6604
+ const s = this.initPathD(), n = Zt(s.getTotalLength(), 0);
6605
6605
  this.setAttr({
6606
6606
  strokeDasharray: `${n} ${n}`,
6607
6607
  strokeDashoffset: `${n}`
@@ -6612,7 +6612,7 @@ class $ extends Ge {
6612
6612
  { offset: 0 },
6613
6613
  Object.assign(e || {}, {
6614
6614
  onUpdate: (a, h) => {
6615
- this.setAttr("strokeDashoffset", "" + Wt(a.offset, 2)), r?.(a, h);
6615
+ this.setAttr("strokeDashoffset", "" + Zt(a.offset, 2)), r?.(a, h);
6616
6616
  }
6617
6617
  })
6618
6618
  ), o.play();
@@ -6651,13 +6651,13 @@ class As extends $ {
6651
6651
  this.cX = t, this.cY = e, this.cZ = s;
6652
6652
  }
6653
6653
  rotateX(t) {
6654
- ({ x: this.y, y: this.z } = $t(U(t), this.y, this.z));
6654
+ ({ x: this.y, y: this.z } = Wt(U(t), this.y, this.z));
6655
6655
  }
6656
6656
  rotateY(t) {
6657
- ({ x: this.x, y: this.z } = $t(U(t), this.x, this.z));
6657
+ ({ x: this.x, y: this.z } = Wt(U(t), this.x, this.z));
6658
6658
  }
6659
6659
  rotateZ(t) {
6660
- ({ x: this.x, y: this.y } = $t(U(t), this.x, this.y));
6660
+ ({ x: this.x, y: this.y } = Wt(U(t), this.x, this.y));
6661
6661
  }
6662
6662
  getScreenX() {
6663
6663
  const t = this.fl / (this.fl + this.z + this.cZ);
@@ -6741,9 +6741,11 @@ class As extends $ {
6741
6741
  }
6742
6742
  }
6743
6743
  class mn {
6744
+ // x, y, z 表示旋转轴的方向
6744
6745
  _x;
6745
6746
  _y;
6746
6747
  _z;
6748
+ // w 表示旋转角度的余弦值(实际上是 cos(θ/2))
6747
6749
  _w;
6748
6750
  constructor(t = 0, e = 0, s = 0, n = 1) {
6749
6751
  this._x = t, this._y = e, this._z = s, this._w = n;
@@ -6908,6 +6910,7 @@ class mn {
6908
6910
  const s = t._x, n = t._y, r = t._z, o = t._w, a = e._x, h = e._y, c = e._z, l = e._w;
6909
6911
  return this._x = s * l + o * a + n * c - r * h, this._y = n * l + o * h + r * a - s * c, this._z = r * l + o * c + s * h - n * a, this._w = o * l - s * a - n * h - r * c, this._onChangeCallback(), this;
6910
6912
  }
6913
+ // 插值 t: 0 ~ 1
6911
6914
  slerp(t, e) {
6912
6915
  if (e === 0)
6913
6916
  return this;
@@ -7215,7 +7218,7 @@ class ui {
7215
7218
  yield this.x, yield this.y;
7216
7219
  }
7217
7220
  }
7218
- class zt {
7221
+ class Ot {
7219
7222
  x = 0;
7220
7223
  y = 0;
7221
7224
  z = 0;
@@ -7266,7 +7269,7 @@ class zt {
7266
7269
  }
7267
7270
  }
7268
7271
  clone() {
7269
- return new zt(this.x, this.y, this.z);
7272
+ return new Ot(this.x, this.y, this.z);
7270
7273
  }
7271
7274
  copy(t) {
7272
7275
  return this.x = t.x, this.y = t.y, this.z = t.z, this;
@@ -7735,7 +7738,7 @@ class qo {
7735
7738
  yield this.x, yield this.y, yield this.z, yield this.w;
7736
7739
  }
7737
7740
  }
7738
- const ur = new ui(), Di = new zt(), fr = new mn(), ks = 2e3, dr = 2001, mr = [1, 0, 0, 1], pr = [1, 0, 0, 1, 0, 0], gr = [1, 0, 0, 0, 1, 0, 0, 0, 1], yr = [
7741
+ const ur = new ui(), Di = new Ot(), fr = new mn(), ks = 2e3, dr = 2001, mr = [1, 0, 0, 1], pr = [1, 0, 0, 1, 0, 0], gr = [1, 0, 0, 0, 1, 0, 0, 0, 1], yr = [
7739
7742
  1,
7740
7743
  0,
7741
7744
  0,
@@ -8205,7 +8208,7 @@ class Tt {
8205
8208
  return this.m31 = 0, this.m32 = 0, this.m33 = 1, this.m34 = 0, this.m14 = 0, this.m24 = 0, this.m43 = 0, this.m44 = 1, this;
8206
8209
  }
8207
8210
  toString(t = 6) {
8208
- return `matrix4(${this.value.map((e) => Wt(e, t)).join(",")})`;
8211
+ return `matrix4(${this.value.map((e) => Zt(e, t)).join(",")})`;
8209
8212
  }
8210
8213
  split() {
8211
8214
  const t = Math.sqrt(
@@ -8267,11 +8270,11 @@ class Tt {
8267
8270
  }
8268
8271
  lookAt(t, e, s) {
8269
8272
  const n = this.value;
8270
- return vt.subVectors(t, e), vt.lengthSq() === 0 && (vt.z = 1), vt.normalize(), ue.crossVectors(s, vt), ue.lengthSq() === 0 && (Math.abs(s.z) === 1 ? vt.x += 1e-4 : vt.z += 1e-4, vt.normalize(), ue.crossVectors(s, vt)), ue.normalize(), Is.crossVectors(vt, ue), n[0] = ue.x, n[4] = Is.x, n[8] = vt.x, n[1] = ue.y, n[5] = Is.y, n[9] = vt.y, n[2] = ue.z, n[6] = Is.z, n[10] = vt.z, this;
8273
+ return vt.subVectors(t, e), vt.lengthSq() === 0 && (vt.z = 1), vt.normalize(), fe.crossVectors(s, vt), fe.lengthSq() === 0 && (Math.abs(s.z) === 1 ? vt.x += 1e-4 : vt.z += 1e-4, vt.normalize(), fe.crossVectors(s, vt)), fe.normalize(), Is.crossVectors(vt, fe), n[0] = fe.x, n[4] = Is.x, n[8] = vt.x, n[1] = fe.y, n[5] = Is.y, n[9] = vt.y, n[2] = fe.z, n[6] = Is.z, n[10] = vt.z, this;
8271
8274
  }
8272
8275
  multiplyMatrices(t, e) {
8273
- const s = t.value, n = e.value, r = this.value, o = s[0], a = s[4], h = s[8], c = s[12], l = s[1], u = s[5], f = s[9], d = s[13], m = s[2], S = s[6], v = s[10], w = s[14], b = s[3], g = s[7], y = s[11], _ = s[15], C = n[0], D = n[4], Y = n[8], V = n[12], q = n[1], H = n[5], Q = n[9], rt = n[13], et = n[2], Ot = n[6], bt = n[10], At = n[14], Nt = n[3], R = n[7], I = n[11], N = n[15];
8274
- return r[0] = o * C + a * q + h * et + c * Nt, r[4] = o * D + a * H + h * Ot + c * R, r[8] = o * Y + a * Q + h * bt + c * I, r[12] = o * V + a * rt + h * At + c * N, r[1] = l * C + u * q + f * et + d * Nt, r[5] = l * D + u * H + f * Ot + d * R, r[9] = l * Y + u * Q + f * bt + d * I, r[13] = l * V + u * rt + f * At + d * N, r[2] = m * C + S * q + v * et + w * Nt, r[6] = m * D + S * H + v * Ot + w * R, r[10] = m * Y + S * Q + v * bt + w * I, r[14] = m * V + S * rt + v * At + w * N, r[3] = b * C + g * q + y * et + _ * Nt, r[7] = b * D + g * H + y * Ot + _ * R, r[11] = b * Y + g * Q + y * bt + _ * I, r[15] = b * V + g * rt + y * At + _ * N, this;
8276
+ const s = t.value, n = e.value, r = this.value, o = s[0], a = s[4], h = s[8], c = s[12], l = s[1], u = s[5], f = s[9], d = s[13], m = s[2], S = s[6], v = s[10], w = s[14], b = s[3], g = s[7], y = s[11], _ = s[15], C = n[0], D = n[4], Y = n[8], V = n[12], q = n[1], H = n[5], Q = n[9], rt = n[13], et = n[2], Nt = n[6], bt = n[10], At = n[14], Ft = n[3], R = n[7], I = n[11], N = n[15];
8277
+ return r[0] = o * C + a * q + h * et + c * Ft, r[4] = o * D + a * H + h * Nt + c * R, r[8] = o * Y + a * Q + h * bt + c * I, r[12] = o * V + a * rt + h * At + c * N, r[1] = l * C + u * q + f * et + d * Ft, r[5] = l * D + u * H + f * Nt + d * R, r[9] = l * Y + u * Q + f * bt + d * I, r[13] = l * V + u * rt + f * At + d * N, r[2] = m * C + S * q + v * et + w * Ft, r[6] = m * D + S * H + v * Nt + w * R, r[10] = m * Y + S * Q + v * bt + w * I, r[14] = m * V + S * rt + v * At + w * N, r[3] = b * C + g * q + y * et + _ * Ft, r[7] = b * D + g * H + y * Nt + _ * R, r[11] = b * Y + g * Q + y * bt + _ * I, r[15] = b * V + g * rt + y * At + _ * N, this;
8275
8278
  }
8276
8279
  multiply(t) {
8277
8280
  return this.multiplyMatrices(this, t);
@@ -8294,7 +8297,7 @@ class Tt {
8294
8297
  }
8295
8298
  setPosition(t, e, s) {
8296
8299
  const n = this.value;
8297
- return t instanceof zt ? (n[12] = t.x, n[13] = t.y, n[14] = t.z) : typeof t == "number" && typeof e == "number" && typeof s == "number" && (n[12] = t, n[13] = e, n[14] = s), this;
8300
+ return t instanceof Ot ? (n[12] = t.x, n[13] = t.y, n[14] = t.z) : typeof t == "number" && typeof e == "number" && typeof s == "number" && (n[12] = t, n[13] = e, n[14] = s), this;
8298
8301
  }
8299
8302
  /**
8300
8303
  * Inverts the matrix
@@ -8313,7 +8316,7 @@ class Tt {
8313
8316
  return Math.sqrt(Math.max(e, s, n));
8314
8317
  }
8315
8318
  makeTranslation(t, e, s) {
8316
- return t instanceof zt ? this.set(1, 0, 0, t.x, 0, 1, 0, t.y, 0, 0, 1, t.z, 0, 0, 0, 1) : this.set(1, 0, 0, t, 0, 1, 0, e, 0, 0, 1, s, 0, 0, 0, 1), this;
8319
+ return t instanceof Ot ? this.set(1, 0, 0, t.x, 0, 1, 0, t.y, 0, 0, 1, t.z, 0, 0, 0, 1) : this.set(1, 0, 0, t, 0, 1, 0, e, 0, 0, 1, s, 0, 0, 0, 1), this;
8317
8320
  }
8318
8321
  makeRotationX(t) {
8319
8322
  const e = Math.cos(t), s = Math.sin(t);
@@ -8388,9 +8391,9 @@ class Tt {
8388
8391
  const n = this.value;
8389
8392
  let r = ze.set(n[0], n[1], n[2]).length();
8390
8393
  const o = ze.set(n[4], n[5], n[6]).length(), a = ze.set(n[8], n[9], n[10]).length();
8391
- this.determinant() < 0 && (r = -r), t.x = n[12], t.y = n[13], t.z = n[14], Yt.copy(this);
8394
+ this.determinant() < 0 && (r = -r), t.x = n[12], t.y = n[13], t.z = n[14], Xt.copy(this);
8392
8395
  const c = 1 / r, l = 1 / o, u = 1 / a;
8393
- return Yt.value[0] *= c, Yt.value[1] *= c, Yt.value[2] *= c, Yt.value[4] *= l, Yt.value[5] *= l, Yt.value[6] *= l, Yt.value[8] *= u, Yt.value[9] *= u, Yt.value[10] *= u, e.setFromRotationMatrix4(Yt), s.x = r, s.y = o, s.z = a, this;
8396
+ return Xt.value[0] *= c, Xt.value[1] *= c, Xt.value[2] *= c, Xt.value[4] *= l, Xt.value[5] *= l, Xt.value[6] *= l, Xt.value[8] *= u, Xt.value[9] *= u, Xt.value[10] *= u, e.setFromRotationMatrix4(Xt), s.x = r, s.y = o, s.z = a, this;
8394
8397
  }
8395
8398
  equals(t) {
8396
8399
  for (let e = 0; e < 16; e++)
@@ -8682,7 +8685,7 @@ class Mt {
8682
8685
  return new Mt(C);
8683
8686
  }
8684
8687
  toString(t = 6) {
8685
- return this.matrix4.is2D() ? `matrix(${this.value.map((e) => Wt(e, t)).join(",")})` : this.matrix4.toString();
8688
+ return this.matrix4.is2D() ? `matrix(${this.value.map((e) => Zt(e, t)).join(",")})` : this.matrix4.toString();
8686
8689
  }
8687
8690
  // toFilter() {
8688
8691
  // return (
@@ -8856,7 +8859,7 @@ class Mt {
8856
8859
  return this.matrix4.perspective(t), this.matrix4.toMatrix(this), this;
8857
8860
  }
8858
8861
  }
8859
- const Jl = new zt(0, 0, 0), Ql = new zt(1, 1, 1), ue = new zt(), Is = new zt(), vt = new zt(), ze = new zt(), Ri = new fs(), Yt = new Tt();
8862
+ const Jl = new Ot(0, 0, 0), Ql = new Ot(1, 1, 1), fe = new Ot(), Is = new Ot(), vt = new Ot(), ze = new Ot(), Ri = new fs(), Xt = new Tt();
8860
8863
  function Ho(i) {
8861
8864
  const t = new Mt();
8862
8865
  return i.replace(
@@ -8950,7 +8953,7 @@ function Ho(i) {
8950
8953
  }
8951
8954
  ), t;
8952
8955
  }
8953
- function $t(i, t, e) {
8956
+ function Wt(i, t, e) {
8954
8957
  const s = new Mt();
8955
8958
  return s.rotate(pt(i)), s.transformPoint({ x: t, y: e });
8956
8959
  }
@@ -9621,15 +9624,15 @@ var Ko = { exports: {} };
9621
9624
  }
9622
9625
  return n;
9623
9626
  }
9624
- var Ot = 1;
9627
+ var Nt = 1;
9625
9628
  function bt() {
9626
- return Ot++;
9629
+ return Nt++;
9627
9630
  }
9628
9631
  function At(p) {
9629
9632
  var x = p.ownerDocument || p;
9630
9633
  return x.defaultView || x.parentWindow || t;
9631
9634
  }
9632
- var Nt = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = et(t, "PointerEvent") !== n, N = R && Nt.test(navigator.userAgent), G = "touch", ut = "pen", Ft = "mouse", ms = "kinect", ps = 25, ot = 1, Zt = 2, J = 4, ht = 8, De = 1, he = 2, A = 4, ct = 8, He = 16, Vt = he | A, we = ct | He, Sn = Vt | we, vn = ["x", "y"], gs = ["clientX", "clientY"];
9635
+ var Ft = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = et(t, "PointerEvent") !== n, N = R && Ft.test(navigator.userAgent), G = "touch", ut = "pen", Bt = "mouse", ms = "kinect", ps = 25, ot = 1, Jt = 2, J = 4, ht = 8, De = 1, ce = 2, A = 4, ct = 8, He = 16, Gt = ce | A, we = ct | He, Sn = Gt | we, vn = ["x", "y"], gs = ["clientX", "clientY"];
9633
9636
  function kt(p, x) {
9634
9637
  var P = this;
9635
9638
  this.manager = p, this.callback = x, this.element = p.element, this.target = p.options.inputTarget, this.domHandler = function(M) {
@@ -9671,8 +9674,8 @@ var Ko = { exports: {} };
9671
9674
  x.timeStamp = l(), x.deltaTime = x.timeStamp - L.timeStamp, x.angle = di(st, at), x.distance = ys(st, at), ba(P, x), x.offsetDirection = Pn(x.deltaX, x.deltaY);
9672
9675
  var ft = Tn(x.deltaTime, x.deltaX, x.deltaY);
9673
9676
  x.overallVelocityX = ft.x, x.overallVelocityY = ft.y, x.overallVelocity = c(ft.x) > c(ft.y) ? ft.x : ft.y, x.scale = X ? Ca(X.pointers, M) : 1, x.rotation = X ? va(X.pointers, M) : 0, x.maxPointers = P.prevInput ? x.pointers.length > P.prevInput.maxPointers ? x.pointers.length : P.prevInput.maxPointers : x.pointers.length, Sa(P, x);
9674
- var qt = p.element;
9675
- Y(x.srcEvent.target, qt) && (qt = x.srcEvent.target), x.target = qt;
9677
+ var jt = p.element;
9678
+ Y(x.srcEvent.target, jt) && (jt = x.srcEvent.target), x.target = jt;
9676
9679
  }
9677
9680
  function ba(p, x) {
9678
9681
  var P = x.center, M = p.offsetDelta || {}, k = p.prevDelta || {}, L = p.prevInput || {};
@@ -9687,8 +9690,8 @@ var Ko = { exports: {} };
9687
9690
  function Sa(p, x) {
9688
9691
  var P = p.lastInterval || x, M = x.timeStamp - P.timeStamp, k, L, X, st;
9689
9692
  if (x.eventType != ht && (M > ps || P.velocity === n)) {
9690
- var at = x.deltaX - P.deltaX, ft = x.deltaY - P.deltaY, qt = Tn(M, at, ft);
9691
- L = qt.x, X = qt.y, k = c(qt.x) > c(qt.y) ? qt.x : qt.y, st = Pn(at, ft), p.lastInterval = x;
9693
+ var at = x.deltaX - P.deltaX, ft = x.deltaY - P.deltaY, jt = Tn(M, at, ft);
9694
+ L = jt.x, X = jt.y, k = c(jt.x) > c(jt.y) ? jt.x : jt.y, st = Pn(at, ft), p.lastInterval = x;
9692
9695
  } else
9693
9696
  k = P.velocity, L = P.velocityX, X = P.velocityY, st = P.direction;
9694
9697
  x.velocity = k, x.velocityX = L, x.velocityY = X, x.direction = st;
@@ -9728,7 +9731,7 @@ var Ko = { exports: {} };
9728
9731
  };
9729
9732
  }
9730
9733
  function Pn(p, x) {
9731
- return p === x ? De : c(p) >= c(x) ? p < 0 ? he : A : x < 0 ? ct : He;
9734
+ return p === x ? De : c(p) >= c(x) ? p < 0 ? ce : A : x < 0 ? ct : He;
9732
9735
  }
9733
9736
  function ys(p, x, P) {
9734
9737
  P || (P = vn);
@@ -9748,7 +9751,7 @@ var Ko = { exports: {} };
9748
9751
  }
9749
9752
  var _a = {
9750
9753
  mousedown: ot,
9751
- mousemove: Zt,
9754
+ mousemove: Jt,
9752
9755
  mouseup: J
9753
9756
  }, Ta = "mousedown", Pa = "mousemove mouseup";
9754
9757
  function xs() {
@@ -9761,24 +9764,24 @@ var Ko = { exports: {} };
9761
9764
  */
9762
9765
  handler: function(x) {
9763
9766
  var P = _a[x.type];
9764
- P & ot && x.button === 0 && (this.pressed = !0), P & Zt && x.which !== 1 && (P = J), this.pressed && (P & J && (this.pressed = !1), this.callback(this.manager, P, {
9767
+ P & ot && x.button === 0 && (this.pressed = !0), P & Jt && x.which !== 1 && (P = J), this.pressed && (P & J && (this.pressed = !1), this.callback(this.manager, P, {
9765
9768
  pointers: [x],
9766
9769
  changedPointers: [x],
9767
- pointerType: Ft,
9770
+ pointerType: Bt,
9768
9771
  srcEvent: x
9769
9772
  }));
9770
9773
  }
9771
9774
  });
9772
9775
  var Ma = {
9773
9776
  pointerdown: ot,
9774
- pointermove: Zt,
9777
+ pointermove: Jt,
9775
9778
  pointerup: J,
9776
9779
  pointercancel: ht,
9777
9780
  pointerout: ht
9778
9781
  }, Ea = {
9779
9782
  2: G,
9780
9783
  3: ut,
9781
- 4: Ft,
9784
+ 4: Bt,
9782
9785
  5: ms
9783
9786
  // see https://twitter.com/jacobrossi/status/480596438489890816
9784
9787
  }, Mn = "pointerdown", En = "pointermove pointerup pointercancel";
@@ -9803,7 +9806,7 @@ var Ko = { exports: {} };
9803
9806
  });
9804
9807
  var Aa = {
9805
9808
  touchstart: ot,
9806
- touchmove: Zt,
9809
+ touchmove: Jt,
9807
9810
  touchend: J,
9808
9811
  touchcancel: ht
9809
9812
  }, ka = "touchstart", Ia = "touchstart touchmove touchend touchcancel";
@@ -9830,7 +9833,7 @@ var Ko = { exports: {} };
9830
9833
  }
9831
9834
  var Ra = {
9832
9835
  touchstart: ot,
9833
- touchmove: Zt,
9836
+ touchmove: Jt,
9834
9837
  touchend: J,
9835
9838
  touchcancel: ht
9836
9839
  }, La = "touchstart touchmove touchend touchcancel";
@@ -9850,7 +9853,7 @@ var Ko = { exports: {} };
9850
9853
  });
9851
9854
  function za(p, x) {
9852
9855
  var P = Q(p.touches), M = this.targetIds;
9853
- if (x & (ot | Zt) && P.length === 1)
9856
+ if (x & (ot | Jt) && P.length === 1)
9854
9857
  return M[P[0].identifier] = !0, [P, P];
9855
9858
  var k, L, X = Q(p.changedTouches), st = [], at = this.target;
9856
9859
  if (L = P.filter(function(ft) {
@@ -9881,7 +9884,7 @@ var Ko = { exports: {} };
9881
9884
  * @param {Object} inputData
9882
9885
  */
9883
9886
  handler: function(x, P, M) {
9884
- var k = M.pointerType == G, L = M.pointerType == Ft;
9887
+ var k = M.pointerType == G, L = M.pointerType == Bt;
9885
9888
  if (!(L && M.sourceCapabilities && M.sourceCapabilities.firesTouchEvents)) {
9886
9889
  if (k)
9887
9890
  Na.call(this, P, M);
@@ -9964,7 +9967,7 @@ var Ko = { exports: {} };
9964
9967
  if (st && at && ft)
9965
9968
  return;
9966
9969
  }
9967
- if (!(X && L) && (k || L && P & Vt || X && P & we))
9970
+ if (!(X && L) && (k || L && P & Gt || X && P & we))
9968
9971
  return this.preventSrc(x);
9969
9972
  },
9970
9973
  /**
@@ -9989,11 +9992,11 @@ var Ko = { exports: {} };
9989
9992
  p[P] = x ? t.CSS.supports("touch-action", P) : !0;
9990
9993
  }), p;
9991
9994
  }
9992
- var Ss = 1, It = 2, Re = 4, ce = 8, Jt = ce, Ze = 16, Gt = 32;
9993
- function Qt(p) {
9995
+ var Ss = 1, It = 2, Re = 4, le = 8, Qt = le, Ze = 16, qt = 32;
9996
+ function Kt(p) {
9994
9997
  this.options = S({}, this.defaults, p || {}), this.id = bt(), this.manager = null, this.options.enable = _(this.options.enable, !0), this.state = Ss, this.simultaneous = {}, this.requireFail = [];
9995
9998
  }
9996
- Qt.prototype = {
9999
+ Kt.prototype = {
9997
10000
  /**
9998
10001
  * @virtual
9999
10002
  * @type {Object}
@@ -10074,7 +10077,7 @@ var Ko = { exports: {} };
10074
10077
  function M(k) {
10075
10078
  x.manager.emit(k, p);
10076
10079
  }
10077
- P < ce && M(x.options.event + On(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= ce && M(x.options.event + On(P));
10080
+ P < le && M(x.options.event + On(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= le && M(x.options.event + On(P));
10078
10081
  },
10079
10082
  /**
10080
10083
  * Check that all the require failure recognizers has failed,
@@ -10085,7 +10088,7 @@ var Ko = { exports: {} };
10085
10088
  tryEmit: function(p) {
10086
10089
  if (this.canEmit())
10087
10090
  return this.emit(p);
10088
- this.state = Gt;
10091
+ this.state = qt;
10089
10092
  },
10090
10093
  /**
10091
10094
  * can we emit?
@@ -10093,7 +10096,7 @@ var Ko = { exports: {} };
10093
10096
  */
10094
10097
  canEmit: function() {
10095
10098
  for (var p = 0; p < this.requireFail.length; ) {
10096
- if (!(this.requireFail[p].state & (Gt | Ss)))
10099
+ if (!(this.requireFail[p].state & (qt | Ss)))
10097
10100
  return !1;
10098
10101
  p++;
10099
10102
  }
@@ -10106,10 +10109,10 @@ var Ko = { exports: {} };
10106
10109
  recognize: function(p) {
10107
10110
  var x = S({}, p);
10108
10111
  if (!y(this.options.enable, [this, x])) {
10109
- this.reset(), this.state = Gt;
10112
+ this.reset(), this.state = qt;
10110
10113
  return;
10111
10114
  }
10112
- this.state & (Jt | Ze | Gt) && (this.state = Ss), this.state = this.process(x), this.state & (It | Re | ce | Ze) && this.tryEmit(x);
10115
+ this.state & (Qt | Ze | qt) && (this.state = Ss), this.state = this.process(x), this.state & (It | Re | le | Ze) && this.tryEmit(x);
10113
10116
  },
10114
10117
  /**
10115
10118
  * return the state of the recognizer
@@ -10137,19 +10140,19 @@ var Ko = { exports: {} };
10137
10140
  }
10138
10141
  };
10139
10142
  function On(p) {
10140
- return p & Ze ? "cancel" : p & ce ? "end" : p & Re ? "move" : p & It ? "start" : "";
10143
+ return p & Ze ? "cancel" : p & le ? "end" : p & Re ? "move" : p & It ? "start" : "";
10141
10144
  }
10142
10145
  function Nn(p) {
10143
- return p == He ? "down" : p == ct ? "up" : p == he ? "left" : p == A ? "right" : "";
10146
+ return p == He ? "down" : p == ct ? "up" : p == ce ? "left" : p == A ? "right" : "";
10144
10147
  }
10145
10148
  function vs(p, x) {
10146
10149
  var P = x.manager;
10147
10150
  return P ? P.get(p) : p;
10148
10151
  }
10149
- function Bt() {
10150
- Qt.apply(this, arguments);
10152
+ function Yt() {
10153
+ Kt.apply(this, arguments);
10151
10154
  }
10152
- b(Bt, Qt, {
10155
+ b(Yt, Kt, {
10153
10156
  /**
10154
10157
  * @namespace
10155
10158
  * @memberof AttrRecognizer
@@ -10179,13 +10182,13 @@ var Ko = { exports: {} };
10179
10182
  */
10180
10183
  process: function(p) {
10181
10184
  var x = this.state, P = p.eventType, M = x & (It | Re), k = this.attrTest(p);
10182
- return M && (P & ht || !k) ? x | Ze : M || k ? P & J ? x | ce : x & It ? x | Re : It : Gt;
10185
+ return M && (P & ht || !k) ? x | Ze : M || k ? P & J ? x | le : x & It ? x | Re : It : qt;
10183
10186
  }
10184
10187
  });
10185
10188
  function Cs() {
10186
- Bt.apply(this, arguments), this.pX = null, this.pY = null;
10189
+ Yt.apply(this, arguments), this.pX = null, this.pY = null;
10187
10190
  }
10188
- b(Cs, Bt, {
10191
+ b(Cs, Yt, {
10189
10192
  /**
10190
10193
  * @namespace
10191
10194
  * @memberof PanRecognizer
@@ -10198,14 +10201,14 @@ var Ko = { exports: {} };
10198
10201
  },
10199
10202
  getTouchAction: function() {
10200
10203
  var p = this.options.direction, x = [];
10201
- return p & Vt && x.push(We), p & we && x.push($e), x;
10204
+ return p & Gt && x.push(We), p & we && x.push($e), x;
10202
10205
  },
10203
10206
  directionTest: function(p) {
10204
10207
  var x = this.options, P = !0, M = p.distance, k = p.direction, L = p.deltaX, X = p.deltaY;
10205
- return k & x.direction || (x.direction & Vt ? (k = L === 0 ? De : L < 0 ? he : A, P = L != this.pX, M = Math.abs(p.deltaX)) : (k = X === 0 ? De : X < 0 ? ct : He, P = X != this.pY, M = Math.abs(p.deltaY))), p.direction = k, P && M > x.threshold && k & x.direction;
10208
+ return k & x.direction || (x.direction & Gt ? (k = L === 0 ? De : L < 0 ? ce : A, P = L != this.pX, M = Math.abs(p.deltaX)) : (k = X === 0 ? De : X < 0 ? ct : He, P = X != this.pY, M = Math.abs(p.deltaY))), p.direction = k, P && M > x.threshold && k & x.direction;
10206
10209
  },
10207
10210
  attrTest: function(p) {
10208
- return Bt.prototype.attrTest.call(this, p) && (this.state & It || !(this.state & It) && this.directionTest(p));
10211
+ return Yt.prototype.attrTest.call(this, p) && (this.state & It || !(this.state & It) && this.directionTest(p));
10209
10212
  },
10210
10213
  emit: function(p) {
10211
10214
  this.pX = p.deltaX, this.pY = p.deltaY;
@@ -10214,9 +10217,9 @@ var Ko = { exports: {} };
10214
10217
  }
10215
10218
  });
10216
10219
  function xi() {
10217
- Bt.apply(this, arguments);
10220
+ Yt.apply(this, arguments);
10218
10221
  }
10219
- b(xi, Bt, {
10222
+ b(xi, Yt, {
10220
10223
  /**
10221
10224
  * @namespace
10222
10225
  * @memberof PinchRecognizer
@@ -10241,9 +10244,9 @@ var Ko = { exports: {} };
10241
10244
  }
10242
10245
  });
10243
10246
  function wi() {
10244
- Qt.apply(this, arguments), this._timer = null, this._input = null;
10247
+ Kt.apply(this, arguments), this._timer = null, this._input = null;
10245
10248
  }
10246
- b(wi, Qt, {
10249
+ b(wi, Kt, {
10247
10250
  /**
10248
10251
  * @namespace
10249
10252
  * @memberof PressRecognizer
@@ -10265,23 +10268,23 @@ var Ko = { exports: {} };
10265
10268
  this.reset();
10266
10269
  else if (p.eventType & ot)
10267
10270
  this.reset(), this._timer = u(function() {
10268
- this.state = Jt, this.tryEmit();
10271
+ this.state = Qt, this.tryEmit();
10269
10272
  }, x.time, this);
10270
10273
  else if (p.eventType & J)
10271
- return Jt;
10272
- return Gt;
10274
+ return Qt;
10275
+ return qt;
10273
10276
  },
10274
10277
  reset: function() {
10275
10278
  clearTimeout(this._timer);
10276
10279
  },
10277
10280
  emit: function(p) {
10278
- this.state === Jt && (p && p.eventType & J ? this.manager.emit(this.options.event + "up", p) : (this._input.timeStamp = l(), this.manager.emit(this.options.event, this._input)));
10281
+ this.state === Qt && (p && p.eventType & J ? this.manager.emit(this.options.event + "up", p) : (this._input.timeStamp = l(), this.manager.emit(this.options.event, this._input)));
10279
10282
  }
10280
10283
  });
10281
10284
  function bi() {
10282
- Bt.apply(this, arguments);
10285
+ Yt.apply(this, arguments);
10283
10286
  }
10284
- b(bi, Bt, {
10287
+ b(bi, Yt, {
10285
10288
  /**
10286
10289
  * @namespace
10287
10290
  * @memberof RotateRecognizer
@@ -10299,9 +10302,9 @@ var Ko = { exports: {} };
10299
10302
  }
10300
10303
  });
10301
10304
  function Si() {
10302
- Bt.apply(this, arguments);
10305
+ Yt.apply(this, arguments);
10303
10306
  }
10304
- b(Si, Bt, {
10307
+ b(Si, Yt, {
10305
10308
  /**
10306
10309
  * @namespace
10307
10310
  * @memberof SwipeRecognizer
@@ -10310,7 +10313,7 @@ var Ko = { exports: {} };
10310
10313
  event: "swipe",
10311
10314
  threshold: 10,
10312
10315
  velocity: 0.3,
10313
- direction: Vt | we,
10316
+ direction: Gt | we,
10314
10317
  pointers: 1
10315
10318
  },
10316
10319
  getTouchAction: function() {
@@ -10318,7 +10321,7 @@ var Ko = { exports: {} };
10318
10321
  },
10319
10322
  attrTest: function(p) {
10320
10323
  var x = this.options.direction, P;
10321
- return x & (Vt | we) ? P = p.overallVelocity : x & Vt ? P = p.overallVelocityX : x & we && (P = p.overallVelocityY), this._super.attrTest.call(this, p) && x & p.offsetDirection && p.distance > this.options.threshold && p.maxPointers == this.options.pointers && c(P) > this.options.velocity && p.eventType & J;
10324
+ return x & (Gt | we) ? P = p.overallVelocity : x & Gt ? P = p.overallVelocityX : x & we && (P = p.overallVelocityY), this._super.attrTest.call(this, p) && x & p.offsetDirection && p.distance > this.options.threshold && p.maxPointers == this.options.pointers && c(P) > this.options.velocity && p.eventType & J;
10322
10325
  },
10323
10326
  emit: function(p) {
10324
10327
  var x = Nn(p.offsetDirection);
@@ -10326,9 +10329,9 @@ var Ko = { exports: {} };
10326
10329
  }
10327
10330
  });
10328
10331
  function _s() {
10329
- Qt.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0;
10332
+ Kt.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0;
10330
10333
  }
10331
- b(_s, Qt, {
10334
+ b(_s, Kt, {
10332
10335
  /**
10333
10336
  * @namespace
10334
10337
  * @memberof PinchRecognizer
@@ -10361,27 +10364,27 @@ var Ko = { exports: {} };
10361
10364
  var st = this.count % x.taps;
10362
10365
  if (st === 0)
10363
10366
  return this.hasRequireFailures() ? (this._timer = u(function() {
10364
- this.state = Jt, this.tryEmit();
10365
- }, x.interval, this), It) : Jt;
10367
+ this.state = Qt, this.tryEmit();
10368
+ }, x.interval, this), It) : Qt;
10366
10369
  }
10367
- return Gt;
10370
+ return qt;
10368
10371
  },
10369
10372
  failTimeout: function() {
10370
10373
  return this._timer = u(function() {
10371
- this.state = Gt;
10372
- }, this.options.interval, this), Gt;
10374
+ this.state = qt;
10375
+ }, this.options.interval, this), qt;
10373
10376
  },
10374
10377
  reset: function() {
10375
10378
  clearTimeout(this._timer);
10376
10379
  },
10377
10380
  emit: function() {
10378
- this.state == Jt && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
10381
+ this.state == Qt && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
10379
10382
  }
10380
10383
  });
10381
- function Kt(p, x) {
10382
- return x = x || {}, x.recognizers = _(x.recognizers, Kt.defaults.preset), new vi(p, x);
10384
+ function te(p, x) {
10385
+ return x = x || {}, x.recognizers = _(x.recognizers, te.defaults.preset), new vi(p, x);
10383
10386
  }
10384
- Kt.VERSION = "2.0.7", Kt.defaults = {
10387
+ te.VERSION = "2.0.7", te.defaults = {
10385
10388
  /**
10386
10389
  * set if DOM events are being triggered.
10387
10390
  * But this is slower and unused by simple implementations, so disabled by default.
@@ -10424,8 +10427,8 @@ var Ko = { exports: {} };
10424
10427
  // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
10425
10428
  [bi, { enable: !1 }],
10426
10429
  [xi, { enable: !1 }, ["rotate"]],
10427
- [Si, { direction: Vt }],
10428
- [Cs, { direction: Vt }, ["swipe"]],
10430
+ [Si, { direction: Gt }],
10431
+ [Cs, { direction: Gt }, ["swipe"]],
10429
10432
  [_s],
10430
10433
  [_s, { event: "doubletap", taps: 2 }, ["tap"]],
10431
10434
  [wi]
@@ -10479,7 +10482,7 @@ var Ko = { exports: {} };
10479
10482
  };
10480
10483
  var Xa = 1, Fn = 2;
10481
10484
  function vi(p, x) {
10482
- this.options = S({}, Kt.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = ya(this), this.touchAction = new yi(this, this.options.touchAction), Bn(this, !0), d(this.options.recognizers, function(P) {
10485
+ this.options = S({}, te.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = ya(this), this.touchAction = new yi(this, this.options.touchAction), Bn(this, !0), d(this.options.recognizers, function(P) {
10483
10486
  var M = this.add(new P[0](P[1]));
10484
10487
  P[2] && M.recognizeWith(P[2]), P[3] && M.requireFailure(P[3]);
10485
10488
  }, this);
@@ -10513,11 +10516,11 @@ var Ko = { exports: {} };
10513
10516
  if (!x.stopped) {
10514
10517
  this.touchAction.preventDefaults(p);
10515
10518
  var P, M = this.recognizers, k = x.curRecognizer;
10516
- (!k || k && k.state & Jt) && (k = x.curRecognizer = null);
10519
+ (!k || k && k.state & Qt) && (k = x.curRecognizer = null);
10517
10520
  for (var L = 0; L < M.length; )
10518
10521
  P = M[L], x.stopped !== Fn && // 1
10519
10522
  (!k || P == k || // 2
10520
- P.canRecognizeWith(k)) ? P.recognize(p) : P.reset(), !k && P.state & (It | Re | ce) && (k = x.curRecognizer = P), L++;
10523
+ P.canRecognizeWith(k)) ? P.recognize(p) : P.reset(), !k && P.state & (It | Re | le) && (k = x.curRecognizer = P), L++;
10521
10524
  }
10522
10525
  },
10523
10526
  /**
@@ -10526,7 +10529,7 @@ var Ko = { exports: {} };
10526
10529
  * @returns {Recognizer|Null}
10527
10530
  */
10528
10531
  get: function(p) {
10529
- if (p instanceof Qt)
10532
+ if (p instanceof Kt)
10530
10533
  return p;
10531
10534
  for (var x = this.recognizers, P = 0; P < x.length; P++)
10532
10535
  if (x[P].options.event == p)
@@ -10624,24 +10627,24 @@ var Ko = { exports: {} };
10624
10627
  var P = e.createEvent("Event");
10625
10628
  P.initEvent(p, !0, !0), P.gesture = x, x.target.dispatchEvent(P);
10626
10629
  }
10627
- S(Kt, {
10630
+ S(te, {
10628
10631
  INPUT_START: ot,
10629
- INPUT_MOVE: Zt,
10632
+ INPUT_MOVE: Jt,
10630
10633
  INPUT_END: J,
10631
10634
  INPUT_CANCEL: ht,
10632
10635
  STATE_POSSIBLE: Ss,
10633
10636
  STATE_BEGAN: It,
10634
10637
  STATE_CHANGED: Re,
10635
- STATE_ENDED: ce,
10636
- STATE_RECOGNIZED: Jt,
10638
+ STATE_ENDED: le,
10639
+ STATE_RECOGNIZED: Qt,
10637
10640
  STATE_CANCELLED: Ze,
10638
- STATE_FAILED: Gt,
10641
+ STATE_FAILED: qt,
10639
10642
  DIRECTION_NONE: De,
10640
- DIRECTION_LEFT: he,
10643
+ DIRECTION_LEFT: ce,
10641
10644
  DIRECTION_RIGHT: A,
10642
10645
  DIRECTION_UP: ct,
10643
10646
  DIRECTION_DOWN: He,
10644
- DIRECTION_HORIZONTAL: Vt,
10647
+ DIRECTION_HORIZONTAL: Gt,
10645
10648
  DIRECTION_VERTICAL: we,
10646
10649
  DIRECTION_ALL: Sn,
10647
10650
  Manager: vi,
@@ -10652,8 +10655,8 @@ var Ko = { exports: {} };
10652
10655
  PointerEventInput: mi,
10653
10656
  TouchMouseInput: pi,
10654
10657
  SingleTouchInput: An,
10655
- Recognizer: Qt,
10656
- AttrRecognizer: Bt,
10658
+ Recognizer: Kt,
10659
+ AttrRecognizer: Yt,
10657
10660
  Tap: _s,
10658
10661
  Pan: Cs,
10659
10662
  Swipe: Si,
@@ -10671,9 +10674,9 @@ var Ko = { exports: {} };
10671
10674
  prefixed: et
10672
10675
  });
10673
10676
  var Va = typeof t < "u" ? t : typeof self < "u" ? self : {};
10674
- Va.Hammer = Kt, typeof n == "function" && n.amd ? n(function() {
10675
- return Kt;
10676
- }) : i.exports ? i.exports = Kt : t[s] = Kt;
10677
+ Va.Hammer = te, typeof n == "function" && n.amd ? n(function() {
10678
+ return te;
10679
+ }) : i.exports ? i.exports = te : t[s] = te;
10677
10680
  })(window, document, "Hammer");
10678
10681
  })(Ko);
10679
10682
  var nu = Ko.exports;
@@ -10791,13 +10794,13 @@ function id(i = document.documentElement) {
10791
10794
  t.emit("panCancel", A);
10792
10795
  }, et = (A) => {
10793
10796
  t.emit("panLeft", A);
10794
- }, Ot = (A) => {
10797
+ }, Nt = (A) => {
10795
10798
  t.emit("panRight", A);
10796
10799
  }, bt = (A) => {
10797
10800
  t.emit("panUp", A);
10798
10801
  }, At = (A) => {
10799
10802
  t.emit("panDown", A);
10800
- }, Nt = (A) => {
10803
+ }, Ft = (A) => {
10801
10804
  t.emit("pinch", A);
10802
10805
  }, R = (A) => {
10803
10806
  t.emit("press", A);
@@ -10809,7 +10812,7 @@ function id(i = document.documentElement) {
10809
10812
  t.emit("swipeLeft", A);
10810
10813
  }, ut = (A) => {
10811
10814
  t.emit("swipeRight", A);
10812
- }, Ft = (A) => {
10815
+ }, Bt = (A) => {
10813
10816
  t.emit("swipeUp", A);
10814
10817
  }, ms = (A) => {
10815
10818
  t.emit("swipeDown", A);
@@ -10817,7 +10820,7 @@ function id(i = document.documentElement) {
10817
10820
  t.emit("tap", A);
10818
10821
  }, ot = (A) => {
10819
10822
  !A.target || i == A.target || i.contains(A.target) || t.emit("tapOutSide", A);
10820
- }, Zt = (A) => {
10823
+ }, Jt = (A) => {
10821
10824
  t.emit("transitionstart", A);
10822
10825
  }, J = (A) => {
10823
10826
  t.emit("transitionend", A);
@@ -10826,7 +10829,7 @@ function id(i = document.documentElement) {
10826
10829
  }, De = (A) => {
10827
10830
  t.emit("animationend", A);
10828
10831
  };
10829
- let he = {
10832
+ let ce = {
10830
10833
  ...i.getBoundingClientRect(),
10831
10834
  width: i.offsetWidth,
10832
10835
  height: i.offsetHeight
@@ -10834,7 +10837,7 @@ function id(i = document.documentElement) {
10834
10837
  return {
10835
10838
  el: i,
10836
10839
  get rect() {
10837
- return he;
10840
+ return ce;
10838
10841
  },
10839
10842
  mousePoint: r,
10840
10843
  eb: t,
@@ -10846,9 +10849,9 @@ function id(i = document.documentElement) {
10846
10849
  // older Firefox
10847
10850
  S
10848
10851
  )
10849
- ), s.push(F(i, "contextmenu", v)), s.push(F(i, "touchstart", w)), s.push(F(i, "touchend", b)), s.push(F(i, "touchcancel", g)), s.push(F(i, "touchmove", y)), s.push(F(i, "pointerdown", _)), s.push(F(i, "pointerup", C)), s.push(F(i, "pointercancel", D)), s.push(F(i, "pointermove", Y)), e.on("pan", V), e.on("panstart", q), e.on("panmove", H), e.on("panend", Q), e.on("pancancel", rt), e.on("panleft", et), e.on("panright", Ot), e.on("panup", bt), e.on("pandown", At), e.on("pinch", Nt), e.on("press", R), e.on("rotate", I), e.on("swipe", N), e.on("swipeleft", G), e.on("swiperight", ut), e.on("swipeup", Ft), e.on("swipedown", ms), e.on("tap", ps), s.push(F(document, "pointerdown", ot)), s.push(F(i, "transitionstart", Zt)), s.push(F(i, "transitionend", J)), s.push(F(i, "animationstart", ht)), s.push(F(i, "animationend", De));
10852
+ ), s.push(F(i, "contextmenu", v)), s.push(F(i, "touchstart", w)), s.push(F(i, "touchend", b)), s.push(F(i, "touchcancel", g)), s.push(F(i, "touchmove", y)), s.push(F(i, "pointerdown", _)), s.push(F(i, "pointerup", C)), s.push(F(i, "pointercancel", D)), s.push(F(i, "pointermove", Y)), e.on("pan", V), e.on("panstart", q), e.on("panmove", H), e.on("panend", Q), e.on("pancancel", rt), e.on("panleft", et), e.on("panright", Nt), e.on("panup", bt), e.on("pandown", At), e.on("pinch", Ft), e.on("press", R), e.on("rotate", I), e.on("swipe", N), e.on("swipeleft", G), e.on("swiperight", ut), e.on("swipeup", Bt), e.on("swipedown", ms), e.on("tap", ps), s.push(F(document, "pointerdown", ot)), s.push(F(i, "transitionstart", Jt)), s.push(F(i, "transitionend", J)), s.push(F(i, "animationstart", ht)), s.push(F(i, "animationend", De));
10850
10853
  const A = await ta(i, (ct) => {
10851
- he = ct, t.emit("resize", ct);
10854
+ ce = ct, t.emit("resize", ct);
10852
10855
  });
10853
10856
  s.push(A), s.push(
10854
10857
  Ee(this, {
@@ -10865,7 +10868,7 @@ function id(i = document.documentElement) {
10865
10868
  );
10866
10869
  },
10867
10870
  end: () => {
10868
- t.removeAllListeners(), s.forEach((A) => A()), s = [], e.off("pan", V), e.off("panstart", q), e.off("panmove", H), e.off("panend", Q), e.off("pancancel", rt), e.off("panleft", et), e.off("panright", Ot), e.off("panup", bt), e.off("pandown", At), e.off("pinch", Nt), e.off("press", R), e.off("rotate", I), e.off("swipe", N), e.off("swipeleft", G), e.off("swiperight", ut), e.off("swipeup", Ft), e.off("swipedown", ms), e.off("tap", ps);
10871
+ t.removeAllListeners(), s.forEach((A) => A()), s = [], e.off("pan", V), e.off("panstart", q), e.off("panmove", H), e.off("panend", Q), e.off("pancancel", rt), e.off("panleft", et), e.off("panright", Nt), e.off("panup", bt), e.off("pandown", At), e.off("pinch", Ft), e.off("press", R), e.off("rotate", I), e.off("swipe", N), e.off("swipeleft", G), e.off("swiperight", ut), e.off("swipeup", Bt), e.off("swipedown", ms), e.off("tap", ps);
10869
10872
  }
10870
10873
  };
10871
10874
  }
@@ -10964,23 +10967,23 @@ async function fu(i, t) {
10964
10967
  });
10965
10968
  });
10966
10969
  }
10967
- const se = new Ge();
10970
+ const ie = new Ge();
10968
10971
  let br = "";
10969
10972
  fu(document, () => {
10970
- location.href !== br && (br = location.href, se.emit("urlchange", location.href));
10973
+ location.href !== br && (br = location.href, ie.emit("urlchange", location.href));
10971
10974
  });
10972
10975
  F(window, "hashchange", () => {
10973
- se.emit("hashchange", location.hash);
10976
+ ie.emit("hashchange", location.hash);
10974
10977
  });
10975
10978
  F(window, "popstate", (i) => {
10976
- se.emit("popstate", i.state);
10979
+ ie.emit("popstate", i.state);
10977
10980
  });
10978
10981
  const du = {
10979
- onUrlChange: (i) => (se.on("urlchange", i), () => {
10980
- se.off("urlchange", i);
10982
+ onUrlChange: (i) => (ie.on("urlchange", i), () => {
10983
+ ie.off("urlchange", i);
10981
10984
  }),
10982
- onHashChange: (i) => (se.on("hashchange", i), () => {
10983
- se.off("hashchange", i);
10985
+ onHashChange: (i) => (ie.on("hashchange", i), () => {
10986
+ ie.off("hashchange", i);
10984
10987
  }),
10985
10988
  // goto("/home?name=xxx")
10986
10989
  goto: (i, t = null) => {
@@ -10989,8 +10992,8 @@ const du = {
10989
10992
  replace: (i, t = null) => {
10990
10993
  history.replaceState(t, "", i);
10991
10994
  },
10992
- onPopState: (i) => (se.on("popstate", i), () => {
10993
- se.off("popstate", i);
10995
+ onPopState: (i) => (ie.on("popstate", i), () => {
10996
+ ie.off("popstate", i);
10994
10997
  })
10995
10998
  };
10996
10999
  function ud(i) {
@@ -11017,25 +11020,33 @@ function mu() {
11017
11020
  `));
11018
11021
  }
11019
11022
  mu();
11020
- const pe = new Ge();
11023
+ const Dt = new Ge();
11021
11024
  let $s, Ws, Zs, Js;
11022
11025
  ta(document.documentElement, () => {
11023
11026
  setTimeout(() => {
11024
11027
  const i = getComputedStyle(document.documentElement), t = i.getPropertyValue("--sat");
11025
- t !== $s && pe.emit("top", t), $s = t;
11028
+ t !== $s && Dt.emit("top", t), $s = t;
11026
11029
  const e = i.getPropertyValue("--sar");
11027
- e !== Ws && pe.emit("right", e), Ws = e;
11030
+ e !== Ws && Dt.emit("right", e), Ws = e;
11028
11031
  const s = i.getPropertyValue("--sab");
11029
- s !== Zs && pe.emit("bottom", s), Zs = s;
11032
+ s !== Zs && Dt.emit("bottom", s), Zs = s;
11030
11033
  const n = i.getPropertyValue("--sal");
11031
- n !== Js && pe.emit("left", n), Js = n;
11034
+ n !== Js && Dt.emit("left", n), Js = n;
11032
11035
  }, 0);
11033
11036
  });
11034
11037
  const fd = {
11035
- onTop: (i) => ($s && i($s), pe.on("top", i)),
11036
- onRight: (i) => (Ws && i(Ws), pe.on("right", i)),
11037
- onBottom: (i) => (Zs && i(Zs), pe.on("bottom", i)),
11038
- onLeft: (i) => (Js && i(Js), pe.on("left", i))
11038
+ onTop: (i) => ($s && i($s), Dt.on("top", i), () => {
11039
+ Dt.off("top", i);
11040
+ }),
11041
+ onRight: (i) => (Ws && i(Ws), Dt.on("right", i), () => {
11042
+ Dt.off("right", i);
11043
+ }),
11044
+ onBottom: (i) => (Zs && i(Zs), Dt.on("bottom", i), () => {
11045
+ Dt.off("bottom", i);
11046
+ }),
11047
+ onLeft: (i) => (Js && i(Js), Dt.on("left", i), () => {
11048
+ Dt.off("left", i);
11049
+ })
11039
11050
  }, ts = [];
11040
11051
  let vr = Yi;
11041
11052
  function pu(i) {
@@ -11793,7 +11804,7 @@ const _d = (i) => {
11793
11804
  L: 1,
11794
11805
  H: 2,
11795
11806
  Q: 3
11796
- }, fe = {
11807
+ }, de = {
11797
11808
  PATTERN000: 0,
11798
11809
  PATTERN001: 1,
11799
11810
  PATTERN010: 2,
@@ -11893,21 +11904,21 @@ const W = {
11893
11904
  },
11894
11905
  getMask: function(i, t, e) {
11895
11906
  switch (i) {
11896
- case fe.PATTERN000:
11907
+ case de.PATTERN000:
11897
11908
  return (t + e) % 2 == 0;
11898
- case fe.PATTERN001:
11909
+ case de.PATTERN001:
11899
11910
  return t % 2 == 0;
11900
- case fe.PATTERN010:
11911
+ case de.PATTERN010:
11901
11912
  return e % 3 == 0;
11902
- case fe.PATTERN011:
11913
+ case de.PATTERN011:
11903
11914
  return (t + e) % 3 == 0;
11904
- case fe.PATTERN100:
11915
+ case de.PATTERN100:
11905
11916
  return (Math.floor(t / 2) + Math.floor(e / 3)) % 2 == 0;
11906
- case fe.PATTERN101:
11917
+ case de.PATTERN101:
11907
11918
  return t * e % 2 + t * e % 3 == 0;
11908
- case fe.PATTERN110:
11919
+ case de.PATTERN110:
11909
11920
  return (t * e % 2 + t * e % 3) % 2 == 0;
11910
- case fe.PATTERN111:
11921
+ case de.PATTERN111:
11911
11922
  return (t * e % 3 + (t + e) % 2) % 2 == 0;
11912
11923
  default:
11913
11924
  throw new Error("bad maskPattern:" + i);
@@ -12032,7 +12043,7 @@ class Ve {
12032
12043
  return new Ve(s, 0).mod(t);
12033
12044
  }
12034
12045
  }
12035
- class ie {
12046
+ class ne {
12036
12047
  totalCount;
12037
12048
  dataCount;
12038
12049
  constructor(t, e) {
@@ -12245,7 +12256,7 @@ class ie {
12245
12256
  [20, 45, 15, 61, 46, 16]
12246
12257
  ];
12247
12258
  static getRSBlocks(t, e) {
12248
- const s = ie.getRsBlockTable(t, e);
12259
+ const s = ne.getRsBlockTable(t, e);
12249
12260
  if (s == null)
12250
12261
  throw new Error(
12251
12262
  "bad rs block @ typeNumber:" + t + "/errorCorrectLevel:" + e
@@ -12254,20 +12265,20 @@ class ie {
12254
12265
  for (let o = 0; o < n; o++) {
12255
12266
  const a = s[o * 3 + 0], h = s[o * 3 + 1], c = s[o * 3 + 2];
12256
12267
  for (let l = 0; l < a; l++)
12257
- r.push(new ie(h, c));
12268
+ r.push(new ne(h, c));
12258
12269
  }
12259
12270
  return r;
12260
12271
  }
12261
12272
  static getRsBlockTable(t, e) {
12262
12273
  switch (e) {
12263
12274
  case is.L:
12264
- return ie.RS_BLOCK_TABLE[(t - 1) * 4 + 0];
12275
+ return ne.RS_BLOCK_TABLE[(t - 1) * 4 + 0];
12265
12276
  case is.M:
12266
- return ie.RS_BLOCK_TABLE[(t - 1) * 4 + 1];
12277
+ return ne.RS_BLOCK_TABLE[(t - 1) * 4 + 1];
12267
12278
  case is.Q:
12268
- return ie.RS_BLOCK_TABLE[(t - 1) * 4 + 2];
12279
+ return ne.RS_BLOCK_TABLE[(t - 1) * 4 + 2];
12269
12280
  case is.H:
12270
- return ie.RS_BLOCK_TABLE[(t - 1) * 4 + 3];
12281
+ return ne.RS_BLOCK_TABLE[(t - 1) * 4 + 3];
12271
12282
  default:
12272
12283
  return;
12273
12284
  }
@@ -12337,7 +12348,7 @@ class Me {
12337
12348
  if (this.typeNumber < 1) {
12338
12349
  let t = 1;
12339
12350
  for (t = 1; t < 40; t++) {
12340
- const e = ie.getRSBlocks(
12351
+ const e = ne.getRSBlocks(
12341
12352
  t,
12342
12353
  this.errorCorrectLevel
12343
12354
  ), s = new Cr();
@@ -12454,7 +12465,7 @@ class Me {
12454
12465
  }
12455
12466
  }
12456
12467
  static createData(t, e, s) {
12457
- const n = ie.getRSBlocks(t, e), r = new Cr();
12468
+ const n = ne.getRSBlocks(t, e), r = new Cr();
12458
12469
  for (let a = 0; a < s.length; a++) {
12459
12470
  const h = s[a];
12460
12471
  r.put(h.mode, 4), r.put(
@@ -12534,8 +12545,8 @@ function tm(i, t) {
12534
12545
  );
12535
12546
  }
12536
12547
  }
12537
- const Ds = new ui(), K = new zt();
12538
- function re(i, t) {
12548
+ const Ds = new ui(), K = new Ot();
12549
+ function oe(i, t) {
12539
12550
  switch (t.constructor) {
12540
12551
  case Float32Array:
12541
12552
  return i;
@@ -12575,7 +12586,7 @@ function j(i, t) {
12575
12586
  throw new Error("Invalid component type.");
12576
12587
  }
12577
12588
  }
12578
- class ae {
12589
+ class he {
12579
12590
  array;
12580
12591
  itemSize;
12581
12592
  count;
@@ -12639,35 +12650,35 @@ class ae {
12639
12650
  }
12640
12651
  getComponent(t, e) {
12641
12652
  let s = this.array[t * this.itemSize + e];
12642
- return this.normalized && (s = re(s, this.array)), s;
12653
+ return this.normalized && (s = oe(s, this.array)), s;
12643
12654
  }
12644
12655
  setComponent(t, e, s) {
12645
12656
  return this.normalized && (s = j(s, this.array)), this.array[t * this.itemSize + e] = s, this;
12646
12657
  }
12647
12658
  getX(t) {
12648
12659
  let e = this.array[t * this.itemSize];
12649
- return this.normalized && (e = re(e, this.array)), e;
12660
+ return this.normalized && (e = oe(e, this.array)), e;
12650
12661
  }
12651
12662
  setX(t, e) {
12652
12663
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize] = e, this;
12653
12664
  }
12654
12665
  getY(t) {
12655
12666
  let e = this.array[t * this.itemSize + 1];
12656
- return this.normalized && (e = re(e, this.array)), e;
12667
+ return this.normalized && (e = oe(e, this.array)), e;
12657
12668
  }
12658
12669
  setY(t, e) {
12659
12670
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 1] = e, this;
12660
12671
  }
12661
12672
  getZ(t) {
12662
12673
  let e = this.array[t * this.itemSize + 2];
12663
- return this.normalized && (e = re(e, this.array)), e;
12674
+ return this.normalized && (e = oe(e, this.array)), e;
12664
12675
  }
12665
12676
  setZ(t, e) {
12666
12677
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 2] = e, this;
12667
12678
  }
12668
12679
  getW(t) {
12669
12680
  let e = this.array[t * this.itemSize + 3];
12670
- return this.normalized && (e = re(e, this.array)), e;
12681
+ return this.normalized && (e = oe(e, this.array)), e;
12671
12682
  }
12672
12683
  setW(t, e) {
12673
12684
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 3] = e, this;
@@ -12701,70 +12712,70 @@ class ae {
12701
12712
  };
12702
12713
  }
12703
12714
  }
12704
- class em extends ae {
12715
+ class em extends he {
12705
12716
  constructor(t, e, s = !1) {
12706
12717
  super(new Int8Array(t), e, s);
12707
12718
  }
12708
12719
  }
12709
- class sm extends ae {
12720
+ class sm extends he {
12710
12721
  constructor(t, e, s = !1) {
12711
12722
  super(new Uint8Array(t), e, s);
12712
12723
  }
12713
12724
  }
12714
- class im extends ae {
12725
+ class im extends he {
12715
12726
  constructor(t, e, s = !1) {
12716
12727
  super(new Uint8ClampedArray(t), e, s);
12717
12728
  }
12718
12729
  }
12719
- class nm extends ae {
12730
+ class nm extends he {
12720
12731
  constructor(t, e, s = !1) {
12721
12732
  super(new Int16Array(t), e, s);
12722
12733
  }
12723
12734
  }
12724
- class rm extends ae {
12735
+ class rm extends he {
12725
12736
  constructor(t, e, s = !1) {
12726
12737
  super(new Uint16Array(t), e, s);
12727
12738
  }
12728
12739
  }
12729
- class om extends ae {
12740
+ class om extends he {
12730
12741
  constructor(t, e, s = !1) {
12731
12742
  super(new Int32Array(t), e, s);
12732
12743
  }
12733
12744
  }
12734
- class am extends ae {
12745
+ class am extends he {
12735
12746
  constructor(t, e, s = !1) {
12736
12747
  super(new Uint32Array(t), e, s);
12737
12748
  }
12738
12749
  }
12739
- class hm extends ae {
12750
+ class hm extends he {
12740
12751
  isFloat16BufferAttribute = !0;
12741
12752
  constructor(t, e, s = !1) {
12742
12753
  super(new Uint16Array(t), e, s);
12743
12754
  }
12744
12755
  getX(t) {
12745
12756
  let e = Ts(this.array[t * this.itemSize]);
12746
- return this.normalized && (e = re(e, this.array)), e;
12757
+ return this.normalized && (e = oe(e, this.array)), e;
12747
12758
  }
12748
12759
  setX(t, e) {
12749
12760
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize] = St(e), this;
12750
12761
  }
12751
12762
  getY(t) {
12752
12763
  let e = Ts(this.array[t * this.itemSize + 1]);
12753
- return this.normalized && (e = re(e, this.array)), e;
12764
+ return this.normalized && (e = oe(e, this.array)), e;
12754
12765
  }
12755
12766
  setY(t, e) {
12756
12767
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 1] = St(e), this;
12757
12768
  }
12758
12769
  getZ(t) {
12759
12770
  let e = Ts(this.array[t * this.itemSize + 2]);
12760
- return this.normalized && (e = re(e, this.array)), e;
12771
+ return this.normalized && (e = oe(e, this.array)), e;
12761
12772
  }
12762
12773
  setZ(t, e) {
12763
12774
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 2] = St(e), this;
12764
12775
  }
12765
12776
  getW(t) {
12766
12777
  let e = Ts(this.array[t * this.itemSize + 3]);
12767
- return this.normalized && (e = re(e, this.array)), e;
12778
+ return this.normalized && (e = oe(e, this.array)), e;
12768
12779
  }
12769
12780
  setW(t, e) {
12770
12781
  return this.normalized && (e = j(e, this.array)), this.array[t * this.itemSize + 3] = St(e), this;
@@ -12779,7 +12790,7 @@ class hm extends ae {
12779
12790
  return t *= this.itemSize, this.normalized && (e = j(e, this.array), s = j(s, this.array), n = j(n, this.array), r = j(r, this.array)), this.array[t + 0] = St(e), this.array[t + 1] = St(s), this.array[t + 2] = St(n), this.array[t + 3] = St(r), this;
12780
12791
  }
12781
12792
  }
12782
- class cm extends ae {
12793
+ class cm extends he {
12783
12794
  constructor(t, e, s = !1) {
12784
12795
  super(new Float32Array(t), e, s);
12785
12796
  }
@@ -12886,7 +12897,7 @@ class yt extends $ {
12886
12897
  default:
12887
12898
  const n = new un({ frameDuration: t }), r = {}, o = {};
12888
12899
  this.shapes.forEach((a, h) => {
12889
- const c = Wt(a.getTotalLength(), 0);
12900
+ const c = Zt(a.getTotalLength(), 0);
12890
12901
  r[`offset_${h}`] = c, o[`offset_${h}`] = 0, a.setAttr({
12891
12902
  strokeDasharray: `${c} ${c}`,
12892
12903
  strokeDashoffset: `${c}`
@@ -12903,7 +12914,7 @@ class yt extends $ {
12903
12914
  const l = Bi(c).number;
12904
12915
  this.shapes[l].setAttr(
12905
12916
  "strokeDashoffset",
12906
- "" + Wt(a[c], 2)
12917
+ "" + Zt(a[c], 2)
12907
12918
  );
12908
12919
  }
12909
12920
  e?.onGroupUpdate?.();
@@ -13197,7 +13208,7 @@ class it {
13197
13208
  }
13198
13209
  set r(t) {
13199
13210
  try {
13200
- this._color.r = O(Math.round(Dt(t)), 0, 255);
13211
+ this._color.r = O(Math.round(Rt(t)), 0, 255);
13201
13212
  } catch {
13202
13213
  }
13203
13214
  }
@@ -13206,7 +13217,7 @@ class it {
13206
13217
  }
13207
13218
  set g(t) {
13208
13219
  try {
13209
- this._color.g = O(Math.round(Dt(t)), 0, 255);
13220
+ this._color.g = O(Math.round(Rt(t)), 0, 255);
13210
13221
  } catch {
13211
13222
  }
13212
13223
  }
@@ -13215,7 +13226,7 @@ class it {
13215
13226
  }
13216
13227
  set b(t) {
13217
13228
  try {
13218
- this._color.b = O(Math.round(Dt(t)), 0, 255);
13229
+ this._color.b = O(Math.round(Rt(t)), 0, 255);
13219
13230
  } catch {
13220
13231
  }
13221
13232
  }
@@ -13224,7 +13235,7 @@ class it {
13224
13235
  }
13225
13236
  set a(t) {
13226
13237
  try {
13227
- this._color.a = O(Dt(t), 0, 1);
13238
+ this._color.a = O(Rt(t), 0, 1);
13228
13239
  } catch {
13229
13240
  }
13230
13241
  }
@@ -13248,7 +13259,7 @@ class it {
13248
13259
  return t[e] = this.r, t[e + 1] = this.g, t[e + 2] = this.b, t[e + 3] = this.a, t;
13249
13260
  }
13250
13261
  toRGBString() {
13251
- return this.a === 1 ? `rgb(${this.r},${this.g},${this.b})` : `rgba(${this.r},${this.g},${this.b},${Wt(this.a, 6)})`;
13262
+ return this.a === 1 ? `rgb(${this.r},${this.g},${this.b})` : `rgba(${this.r},${this.g},${this.b},${Zt(this.a, 6)})`;
13252
13263
  }
13253
13264
  toHexString() {
13254
13265
  return this.a === 1 ? ("000000" + this.hex.toString(16)).slice(-6) : ("00000000" + this.hex.toString(16)).slice(-8);
@@ -13257,8 +13268,8 @@ class it {
13257
13268
  return this.a === 1 ? "#" + this.toHexString() : this.toRGBString();
13258
13269
  }
13259
13270
  toColorSpaceString(t = Ne) {
13260
- aa.fromWorkingColorSpace(Ht.copy(this), t);
13261
- const e = Ht.r, s = Ht.g, n = Ht.b;
13271
+ aa.fromWorkingColorSpace($t.copy(this), t);
13272
+ const e = $t.r, s = $t.g, n = $t.b;
13262
13273
  return t !== Ne ? `color(${t} ${e.toFixed(3)} ${s.toFixed(3)} ${n.toFixed(
13263
13274
  3
13264
13275
  )})` : this.toRGBString();
@@ -13346,26 +13357,26 @@ class it {
13346
13357
  /// t: 0 ~ 1
13347
13358
  static gradient(t, e, s) {
13348
13359
  try {
13349
- return Ht.lerpColors(new it(t), new it(e), s).toString();
13360
+ return $t.lerpColors(new it(t), new it(e), s).toString();
13350
13361
  } catch {
13351
13362
  return e;
13352
13363
  }
13353
13364
  }
13354
13365
  static random() {
13355
- return Ht.setHEX(Math.random() * 16777215).toString();
13366
+ return $t.setHEX(Math.random() * 16777215).toString();
13356
13367
  }
13357
13368
  static nextIndex = 0;
13358
13369
  static next(t = it.nextIndex) {
13359
13370
  it.nextIndex = t;
13360
13371
  const e = Object.keys(it.NAMES), s = e.length;
13361
- return Ht.setHEX(it.NAMES[e[it.nextIndex++ % s]]).toString();
13372
+ return $t.setHEX(it.NAMES[e[it.nextIndex++ % s]]).toString();
13362
13373
  }
13363
13374
  setColorName(t) {
13364
13375
  const e = it.NAMES[t.toLowerCase()];
13365
13376
  return e !== void 0 ? this.setHEX(e) : t === "none" ? this.a = 0 : (this.a = 1, console.warn("Color.setColorName: Unknown color " + t)), this;
13366
13377
  }
13367
13378
  static getColors() {
13368
- return Object.values(it.NAMES).map((t) => Ht.setHEX(t).toString());
13379
+ return Object.values(it.NAMES).map((t) => $t.setHEX(t).toString());
13369
13380
  }
13370
13381
  setRGB(t, e, s, n = 1) {
13371
13382
  return this.r = t, this.g = e, this.b = s, this.a = n, this;
@@ -13461,7 +13472,7 @@ class it {
13461
13472
  };
13462
13473
  }
13463
13474
  }
13464
- const Ht = new it();
13475
+ const $t = new it();
13465
13476
  function Ye(i) {
13466
13477
  return i < 0.04045 ? i * 0.0773993808 : Math.pow(i * 0.9478672986 + 0.0521327014, 2.4);
13467
13478
  }
@@ -13773,7 +13784,7 @@ class _u extends Ge {
13773
13784
  }
13774
13785
  break;
13775
13786
  case "entity":
13776
- te("whitespace", t) ? (this.textchunk += Ir(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += Ir(this.entity + t), this.mode = "text") : this.entity += t;
13787
+ ee("whitespace", t) ? (this.textchunk += Ir(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += Ir(this.entity + t), this.mode = "text") : this.entity += t;
13777
13788
  break;
13778
13789
  case "special":
13779
13790
  if (s == "!" && t == "-" && e == "-") {
@@ -13827,7 +13838,7 @@ class _u extends Ge {
13827
13838
  this.emit("text", "<");
13828
13839
  break;
13829
13840
  }
13830
- if (!te("whitespace", t)) {
13841
+ if (!ee("whitespace", t)) {
13831
13842
  if (this.mode = "tag name", t == "/") {
13832
13843
  this.mode = "close tag name start";
13833
13844
  break;
@@ -13842,10 +13853,10 @@ class _u extends Ge {
13842
13853
  }
13843
13854
  break;
13844
13855
  case "close tag name start":
13845
- te("whitespace", t) || (this.mode = "close tag name", this.tagname = "", this.nodename = "", this.act(t, e, s));
13856
+ ee("whitespace", t) || (this.mode = "close tag name", this.tagname = "", this.nodename = "", this.act(t, e, s));
13846
13857
  break;
13847
13858
  case "close tag name":
13848
- if (te("whitespace", t))
13859
+ if (ee("whitespace", t))
13849
13860
  this.tagname = this.nodename;
13850
13861
  else
13851
13862
  switch (t) {
@@ -13858,7 +13869,7 @@ class _u extends Ge {
13858
13869
  }
13859
13870
  break;
13860
13871
  case "tag name":
13861
- if (te("whitespace", t))
13872
+ if (ee("whitespace", t))
13862
13873
  this.tagname = this.nodename, this.nodename = "", this.mode = "attr start";
13863
13874
  else
13864
13875
  switch (t) {
@@ -13874,10 +13885,10 @@ class _u extends Ge {
13874
13885
  }
13875
13886
  break;
13876
13887
  case "attr start":
13877
- te("whitespace", t) || (this.mode = "attr", this.nodename = "", this.act(t, e, s));
13888
+ ee("whitespace", t) || (this.mode = "attr", this.nodename = "", this.act(t, e, s));
13878
13889
  break;
13879
13890
  case "attr":
13880
- if (te("whitespace", t) || t == "=")
13891
+ if (ee("whitespace", t) || t == "=")
13881
13892
  this.attrs[this.nodename] = "", this.mode = "attr value start";
13882
13893
  else
13883
13894
  switch (t) {
@@ -13890,7 +13901,7 @@ class _u extends Ge {
13890
13901
  }
13891
13902
  break;
13892
13903
  case "attr value start":
13893
- if (!te("whitespace", t)) {
13904
+ if (!ee("whitespace", t)) {
13894
13905
  if (this.mode = "attr value", this.quote = "", t == "'" || t == '"') {
13895
13906
  this.quote = t;
13896
13907
  return;
@@ -13899,7 +13910,7 @@ class _u extends Ge {
13899
13910
  }
13900
13911
  break;
13901
13912
  case "attr value":
13902
- if (te("whitespace", t) && !this.quote)
13913
+ if (ee("whitespace", t) && !this.quote)
13903
13914
  this.mode = "attr start";
13904
13915
  else if (t == ">" && !this.quote)
13905
13916
  this.emit("tag", this.tagname, this.attrs), this.mode = "text";
@@ -13987,7 +13998,7 @@ function Tu(i, t = {}) {
13987
13998
  }
13988
13999
  function f() {
13989
14000
  var R, I = [];
13990
- for (m(), S(I); i.length && i.charAt(0) != "}" && (R = At() || Nt()); )
14001
+ for (m(), S(I); i.length && i.charAt(0) != "}" && (R = At() || Ft()); )
13991
14002
  R !== !1 && (I.push(R), S(I));
13992
14003
  return I;
13993
14004
  }
@@ -14024,7 +14035,7 @@ function Tu(i, t = {}) {
14024
14035
  function w() {
14025
14036
  var R = d(/^([^{]+)/);
14026
14037
  if (R)
14027
- return ee(R[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, "").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function(I) {
14038
+ return se(R[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, "").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function(I) {
14028
14039
  return I.replace(/,/g, "‌");
14029
14040
  }).split(/\s*(?![^(]*\)),\s*/).map(function(I) {
14030
14041
  return I.replace(/\u200C/g, ",");
@@ -14033,12 +14044,12 @@ function Tu(i, t = {}) {
14033
14044
  function b() {
14034
14045
  var R = r(), I = d(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
14035
14046
  if (I) {
14036
- if (I = ee(I[0]), !d(/^:\s*/))
14047
+ if (I = se(I[0]), !d(/^:\s*/))
14037
14048
  return h("property missing ':'");
14038
14049
  var N = d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/), G = R({
14039
14050
  type: "declaration",
14040
14051
  property: I.replace(Dr, ""),
14041
- value: N ? ee(N[0]).replace(Dr, "") : ""
14052
+ value: N ? se(N[0]).replace(Dr, "") : ""
14042
14053
  });
14043
14054
  return d(/^[;\s]*/), G;
14044
14055
  }
@@ -14071,20 +14082,20 @@ function Tu(i, t = {}) {
14071
14082
  var G = I[1];
14072
14083
  if (!l())
14073
14084
  return h("@keyframes missing '{'");
14074
- for (var ut, Ft = S(); ut = y(); )
14075
- Ft.push(ut), Ft = Ft.concat(S());
14085
+ for (var ut, Bt = S(); ut = y(); )
14086
+ Bt.push(ut), Bt = Bt.concat(S());
14076
14087
  return u() ? R({
14077
14088
  type: "keyframes",
14078
14089
  name: G,
14079
14090
  vendor: N,
14080
- keyframes: Ft
14091
+ keyframes: Bt
14081
14092
  }) : h("@keyframes missing '}'");
14082
14093
  }
14083
14094
  }
14084
14095
  function C() {
14085
14096
  var R = r(), I = d(/^@supports *([^{]+)/);
14086
14097
  if (I) {
14087
- var N = ee(I[1]);
14098
+ var N = se(I[1]);
14088
14099
  if (!l())
14089
14100
  return h("@supports missing '{'");
14090
14101
  var G = S().concat(f());
@@ -14110,7 +14121,7 @@ function Tu(i, t = {}) {
14110
14121
  function Y() {
14111
14122
  var R = r(), I = d(/^@media *([^{]+)/);
14112
14123
  if (I) {
14113
- var N = ee(I[1]);
14124
+ var N = se(I[1]);
14114
14125
  if (!l())
14115
14126
  return h("@media missing '{'");
14116
14127
  var G = S().concat(f());
@@ -14126,8 +14137,8 @@ function Tu(i, t = {}) {
14126
14137
  if (I)
14127
14138
  return R({
14128
14139
  type: "custom-media",
14129
- name: ee(I[1]),
14130
- media: ee(I[2])
14140
+ name: se(I[1]),
14141
+ media: se(I[2])
14131
14142
  });
14132
14143
  }
14133
14144
  function q() {
@@ -14148,7 +14159,7 @@ function Tu(i, t = {}) {
14148
14159
  function H() {
14149
14160
  var R = r(), I = d(/^@([-\w]+)?document *([^{]+)/);
14150
14161
  if (I) {
14151
- var N = ee(I[1]), G = ee(I[2]);
14162
+ var N = se(I[1]), G = se(I[2]);
14152
14163
  if (!l())
14153
14164
  return h("@document missing '{'");
14154
14165
  var ut = S().concat(f());
@@ -14173,7 +14184,7 @@ function Tu(i, t = {}) {
14173
14184
  }) : h("@font-face missing '}'");
14174
14185
  }
14175
14186
  }
14176
- var rt = bt("import"), et = bt("charset"), Ot = bt("namespace");
14187
+ var rt = bt("import"), et = bt("charset"), Nt = bt("namespace");
14177
14188
  function bt(R) {
14178
14189
  var I = new RegExp("^@" + R + "\\s*([^;]+);");
14179
14190
  return function() {
@@ -14186,9 +14197,9 @@ function Tu(i, t = {}) {
14186
14197
  }
14187
14198
  function At() {
14188
14199
  if (i[0] == "@")
14189
- return _() || Y() || V() || C() || rt() || et() || Ot() || H() || q() || D() || Q();
14200
+ return _() || Y() || V() || C() || rt() || et() || Nt() || H() || q() || D() || Q();
14190
14201
  }
14191
- function Nt() {
14202
+ function Ft() {
14192
14203
  var R = r(), I = w();
14193
14204
  return I ? (S(), R({
14194
14205
  type: "rule",
@@ -14198,7 +14209,7 @@ function Tu(i, t = {}) {
14198
14209
  }
14199
14210
  return Qi(c());
14200
14211
  }
14201
- function ee(i) {
14212
+ function se(i) {
14202
14213
  return i ? i.replace(/^\s+|\s+$/g, "") : "";
14203
14214
  }
14204
14215
  function Qi(i, t) {
@@ -14428,8 +14439,8 @@ class um {
14428
14439
  constructor(t, e, s) {
14429
14440
  this.controller = t, this.rootEl = _t.createSVGElement(
14430
14441
  "svg"
14431
- ), this.ue = de(this.rootEl);
14432
- const n = de(this.controller.el);
14442
+ ), this.ue = me(this.rootEl);
14443
+ const n = me(this.controller.el);
14433
14444
  n.empty(), n.insert(this.rootEl), e && s ? this.setSize(e, s) : (this.setSize(this.controller.rect.width, this.controller.rect.height), this.controller.eb.on("resize", (r) => {
14434
14445
  this.setSize(r.width, r.height);
14435
14446
  })), Ee(this.controller, {
@@ -14582,7 +14593,7 @@ class um {
14582
14593
  x: String(e),
14583
14594
  y: String(s)
14584
14595
  });
14585
- return de(r).html(t), this.attr(r, Object.assign({ "alignment-baseline": "middle" }, n)), this.ue.insert(r), r;
14596
+ return me(r).html(t), this.attr(r, Object.assign({ "alignment-baseline": "middle" }, n)), this.ue.insert(r), r;
14586
14597
  }
14587
14598
  textWithTspan(t, e, s, n) {
14588
14599
  const r = n?.["line-height"] || "1.2em", o = _t.createSVGElement("text", {
@@ -14596,7 +14607,7 @@ class um {
14596
14607
  x: String(e),
14597
14608
  dy: h > 0 ? r : "0"
14598
14609
  });
14599
- de(c).html(a), de(o).insert(c), this.attr(
14610
+ me(c).html(a), me(o).insert(c), this.attr(
14600
14611
  c,
14601
14612
  Object.assign({ "alignment-baseline": "middle" }, n)
14602
14613
  );
@@ -14753,13 +14764,13 @@ class ge extends $ {
14753
14764
  checkCollision(t) {
14754
14765
  const e = t.x - this.x, s = t.y - this.y;
14755
14766
  if (Math.sqrt(e * e + s * s) < this.radius + t.radius) {
14756
- const r = Math.atan2(s, e), o = { x: 0, y: 0 }, a = $t(-r, e, s), h = $t(-r, this.vx, this.vy), c = $t(-r, t.vx, t.vy), l = h.x - c.x;
14767
+ const r = Math.atan2(s, e), o = { x: 0, y: 0 }, a = Wt(-r, e, s), h = Wt(-r, this.vx, this.vy), c = Wt(-r, t.vx, t.vy), l = h.x - c.x;
14757
14768
  h.x = ((this.mass - t.mass) * h.x + 2 * t.mass * c.x) / (this.mass + t.mass), c.x = l + h.x;
14758
14769
  const u = Math.abs(h.x) + Math.abs(c.x), f = this.radius + t.radius - Math.abs(o.x - a.x);
14759
14770
  o.x += h.x / u * f, a.x += c.x / u * f;
14760
- const d = $t(r, o.x, o.y), m = $t(r, a.x, a.y);
14771
+ const d = Wt(r, o.x, o.y), m = Wt(r, a.x, a.y);
14761
14772
  t.x = this.x + m.x, t.y = this.y + m.y, this.x = this.x + d.x, this.y = this.y + d.y;
14762
- const S = $t(r, h.x, h.y), v = $t(r, c.x, c.y);
14773
+ const S = Wt(r, h.x, h.y), v = Wt(r, c.x, c.y);
14763
14774
  this.vx = S.x, this.vy = S.y, t.vx = v.x, t.vy = v.y;
14764
14775
  }
14765
14776
  }
@@ -15231,7 +15242,7 @@ class Au extends yt {
15231
15242
  text: this.text,
15232
15243
  attrs: {
15233
15244
  ...this.getAttrs(),
15234
- fill: Ht.set(this.bg).opposite(!0).toString(),
15245
+ fill: $t.set(this.bg).opposite(!0).toString(),
15235
15246
  textAnchor: "start"
15236
15247
  }
15237
15248
  }), this.bgShape = new xe({
@@ -15321,12 +15332,12 @@ class Sm extends yt {
15321
15332
  }
15322
15333
  frameUpdate(t) {
15323
15334
  this.text && !this.defaultShowText && (this.line12.isShow = this.sectorArc.isMouseIn, this.line23.isShow = this.sectorArc.isMouseIn, this.textShape.isShow = this.sectorArc.isMouseIn);
15324
- const e = this.startDegree + (this.endDegree - this.startDegree) / 2, { dx: s, dy: n } = oe(
15335
+ const e = this.startDegree + (this.endDegree - this.startDegree) / 2, { dx: s, dy: n } = ae(
15325
15336
  U(e),
15326
15337
  this.sectorArc.radius + this.p1Offset
15327
15338
  );
15328
15339
  this.p1.x = this.x + s, this.p1.y = this.y + n;
15329
- const { dx: r, dy: o } = oe(
15340
+ const { dx: r, dy: o } = ae(
15330
15341
  U(e),
15331
15342
  this.sectorArc.radius + this.p1Offset + this.p2Offset
15332
15343
  );
@@ -15359,10 +15370,10 @@ class ku extends $ {
15359
15370
  this.vr -= this.ar, this.radius += this.vr * this.durationTime, this.radius < t && (this.radius = t, this.vr *= -this.bounce);
15360
15371
  }
15361
15372
  toSVGPathData() {
15362
- const { dx: t, dy: e } = oe(
15373
+ const { dx: t, dy: e } = ae(
15363
15374
  U(this.startDegree),
15364
15375
  this.radius
15365
- ), { dx: s, dy: n } = oe(U(this.endDegree), this.radius);
15376
+ ), { dx: s, dy: n } = ae(U(this.endDegree), this.radius);
15366
15377
  return [
15367
15378
  ["m", 0, 0],
15368
15379
  ["l", t, e],
@@ -15540,10 +15551,10 @@ class Rr extends $ {
15540
15551
  this.endDegree = this.startDegree + (this.diffDegree + this.extendDegree * 2) * t;
15541
15552
  }
15542
15553
  toSVGPathData() {
15543
- const { dx: t, dy: e } = oe(
15554
+ const { dx: t, dy: e } = ae(
15544
15555
  U(this.startDegree),
15545
15556
  this.radius
15546
- ), { dx: s, dy: n } = oe(U(this.endDegree), this.radius);
15557
+ ), { dx: s, dy: n } = ae(U(this.endDegree), this.radius);
15547
15558
  return [
15548
15559
  ["m", t, e],
15549
15560
  [
@@ -15755,7 +15766,7 @@ class Pm extends $ {
15755
15766
  return Math.acos(n / (r * o)) / Math.PI * this.light.brightness;
15756
15767
  }
15757
15768
  getAdjustedColor(t) {
15758
- const e = Ht.set(t), s = this.getLightFactor();
15769
+ const e = $t.set(t), s = this.getLightFactor();
15759
15770
  return e.r *= s, e.g *= s, e.b *= s, e.toString();
15760
15771
  }
15761
15772
  }
@@ -15873,7 +15884,7 @@ class ha {
15873
15884
  });
15874
15885
  }
15875
15886
  springConnect(t) {
15876
- const e = Dt(t?.springLength, 100);
15887
+ const e = Rt(t?.springLength, 100);
15877
15888
  this.shapes.forEach((s) => {
15878
15889
  s.isDragging || this.shapes.filter((n) => n.id !== s.id).forEach((n) => {
15879
15890
  const r = ke(s.x, s.y, n.x, n.y);
@@ -15922,7 +15933,7 @@ class ha {
15922
15933
  }
15923
15934
  const s = new $({ d: e[0](0) });
15924
15935
  return (n) => {
15925
- const r = Wt(t * n, 6), o = Math.min(Math.floor(r), t - 1), a = Wt(r - o, 6);
15936
+ const r = Zt(t * n, 6), o = Math.min(Math.floor(r), t - 1), a = Zt(r - o, 6);
15926
15937
  s.originD = e[o](a);
15927
15938
  const h = this.shapes[o].getAttr("fill", "none"), c = this.shapes[o + 1].getAttr("fill", "none");
15928
15939
  typeof h == "string" && typeof c == "string" && s.setAttr(
@@ -15979,7 +15990,7 @@ class ha {
15979
15990
  static generatePointsShape(t, e, s, n) {
15980
15991
  const r = [];
15981
15992
  for (let o = 0; o < n; o++) {
15982
- const a = o / n * 2 * Math.PI, { dx: h, dy: c } = oe(a, s);
15993
+ const a = o / n * 2 * Math.PI, { dx: h, dy: c } = ae(a, s);
15983
15994
  r.push({ x: t + h, y: e + c });
15984
15995
  }
15985
15996
  return new Mu({ points: r });
@@ -16084,7 +16095,7 @@ async function zu(i, t = 6e4) {
16084
16095
  }, t);
16085
16096
  });
16086
16097
  }
16087
- async function ca(i = Rt.text, t = ["*"]) {
16098
+ async function ca(i = Lt.text, t = ["*"]) {
16088
16099
  const s = (await _o(t))[0], n = await ci(s, i);
16089
16100
  return {
16090
16101
  type: s.type,
@@ -16099,7 +16110,7 @@ async function Im(i = ["image/*"]) {
16099
16110
  return new Error("Not Image Type!");
16100
16111
  const s = await ci(
16101
16112
  e,
16102
- Rt.arraybuffer
16113
+ Lt.arraybuffer
16103
16114
  ), n = en(s), r = await zu(n);
16104
16115
  return {
16105
16116
  type: e.type,
@@ -16170,7 +16181,7 @@ function Rm(i) {
16170
16181
  if (i.which)
16171
16182
  return i.which;
16172
16183
  }
16173
- async function Lm(i = { keys: ["o"] }, t = Rt.text) {
16184
+ async function Lm(i = { keys: ["o"] }, t = Lt.text) {
16174
16185
  const e = bh(), s = la(
16175
16186
  i,
16176
16187
  async () => {
@@ -16186,7 +16197,7 @@ async function Lm(i = { keys: ["o"] }, t = Rt.text) {
16186
16197
  );
16187
16198
  return await e.promise;
16188
16199
  }
16189
- function zm(i = { keys: ["o"] }, t = Rt.text) {
16200
+ function zm(i = { keys: ["o"] }, t = Lt.text) {
16190
16201
  const e = new Ge();
16191
16202
  return la(
16192
16203
  i,
@@ -16419,7 +16430,7 @@ function Fu(i) {
16419
16430
  function Bu(i) {
16420
16431
  Wo(i, "display", "none");
16421
16432
  }
16422
- function de(i) {
16433
+ function me(i) {
16423
16434
  return {
16424
16435
  el: i,
16425
16436
  isRoot: () => /(html|body)/i.test(i.tagName) || i === document.documentElement,
@@ -16786,7 +16797,7 @@ class sp {
16786
16797
  [...s.attributes].forEach((a) => {
16787
16798
  const h = a.name, c = a.value;
16788
16799
  if (h === "v-model")
16789
- if (de(s).isInputRadio()) {
16800
+ if (me(s).isInputRadio()) {
16790
16801
  const l = s;
16791
16802
  wt(() => {
16792
16803
  l.checked = this.getStateValue(c) == l.value;
@@ -16796,7 +16807,7 @@ class sp {
16796
16807
  u.target.value
16797
16808
  );
16798
16809
  });
16799
- } else if (de(s).isInputCheckbox()) {
16810
+ } else if (me(s).isInputCheckbox()) {
16800
16811
  const l = s;
16801
16812
  wt(() => {
16802
16813
  l.checked = Hr(
@@ -16807,7 +16818,7 @@ class sp {
16807
16818
  const f = u.target, d = f.value;
16808
16819
  f.checked ? ih(this.getStateValue(c), d) : _e(this.getStateValue(c), d);
16809
16820
  });
16810
- } else if (de(s).isSelect()) {
16821
+ } else if (me(s).isSelect()) {
16811
16822
  const l = s;
16812
16823
  wt(() => {
16813
16824
  l.value = this.getStateValue(c);
@@ -17275,7 +17286,7 @@ async function pp(i) {
17275
17286
  if (d) {
17276
17287
  const m = await ci(
17277
17288
  d,
17278
- Rt.binaryString
17289
+ Lt.binaryString
17279
17290
  );
17280
17291
  e.push(
17281
17292
  'Content-Disposition: form-data; name="' + h.name + '"; filename="' + d.name + `"\r
@@ -18056,7 +18067,7 @@ class Qp {
18056
18067
  export {
18057
18068
  dm as Arrow,
18058
18069
  Oo as BezierEasing,
18059
- ae as BufferAttribute,
18070
+ he as BufferAttribute,
18060
18071
  Rf as CSSToJSEasing,
18061
18072
  or as Clock,
18062
18073
  it as Color,
@@ -18086,7 +18097,7 @@ export {
18086
18097
  nm as Int16BufferAttribute,
18087
18098
  om as Int32BufferAttribute,
18088
18099
  em as Int8BufferAttribute,
18089
- me as Interpolation,
18100
+ pe as Interpolation,
18090
18101
  Ue as Line,
18091
18102
  fm as LinePicture,
18092
18103
  lm as LineQuadraticBezier,
@@ -18135,7 +18146,7 @@ export {
18135
18146
  sm as Uint8BufferAttribute,
18136
18147
  im as Uint8ClampedBufferAttribute,
18137
18148
  ui as Vector2,
18138
- zt as Vector3,
18149
+ Ot as Vector3,
18139
18150
  qo as Vector4,
18140
18151
  ks as WebGLCoordinateSystem,
18141
18152
  xp as WebGLRenderer,
@@ -18147,7 +18158,7 @@ export {
18147
18158
  dp as YZMessageChannel,
18148
18159
  um as YZSVG,
18149
18160
  fp as YZWorker,
18150
- Ht as __color,
18161
+ $t as __color,
18151
18162
  Vm as addClass,
18152
18163
  Zd as addWatermark,
18153
18164
  ga as addWxJsReadyFnBeforeConfig,
@@ -18300,7 +18311,7 @@ export {
18300
18311
  Ho as parseTransformToMatrix,
18301
18312
  xn as patch,
18302
18313
  Gd as pngToJpg,
18303
- oe as polar,
18314
+ ae as polar,
18304
18315
  Mf as prefixes,
18305
18316
  Pe as preventDefault,
18306
18317
  jd as radiusClip,
@@ -18314,7 +18325,7 @@ export {
18314
18325
  Ml as reverseEasing,
18315
18326
  km as revokeObjectURL,
18316
18327
  Md as rightRotate,
18317
- $t as rotatePoint,
18328
+ Wt as rotatePoint,
18318
18329
  _l as scheduleIdle,
18319
18330
  Vo as scheduleVnode,
18320
18331
  ko as scheduleYZIdle,
@@ -18359,7 +18370,7 @@ export {
18359
18370
  Xm as useDataset,
18360
18371
  qf as useDraggable,
18361
18372
  jf as useDrop,
18362
- de as useElement,
18373
+ me as useElement,
18363
18374
  id as useElementEventBus,
18364
18375
  F as useEventListener,
18365
18376
  du as useFeRouteChange,