reacthub-pixitweenjs 0.2.107-alpha.55 → 0.2.107-alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +715 -710
- package/dist/index.umd.js +30 -30
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as te from "react";
|
|
2
|
-
import Jw, { useEffect as jn, useState as Is, useRef as
|
|
2
|
+
import Jw, { useEffect as jn, useState as Is, useRef as me, useLayoutEffect as lm, useCallback as kt, useContext as Ui, useReducer as eS } from "react";
|
|
3
3
|
import { TilingSprite as tS, withFilters as rS, Container as wt, Sprite as Bs, useApp as zc, AnimatedSprite as nS, Text as iS, useTick as cm } from "@pixi/react";
|
|
4
4
|
import * as er from "pixi.js";
|
|
5
5
|
import { Transformer as sS } from "reacthub-react-bindings";
|
|
@@ -54,7 +54,7 @@ Ro.Fragment = lS;
|
|
|
54
54
|
Ro.jsx = fm;
|
|
55
55
|
Ro.jsxs = fm;
|
|
56
56
|
hm.exports = Ro;
|
|
57
|
-
var
|
|
57
|
+
var Ce = hm.exports, Bn = /* @__PURE__ */ ((t) => (t.BlackAndWhite = "BlackAndWhite", t.Sepia = "Sepia", t.RetroVintage = "RetroVintage", t.NightVision = "NightVision", t.Normal = "Normal", t.Vignette = "Vignette", t.None = "Normal", t))(Bn || {});
|
|
58
58
|
let Qd;
|
|
59
59
|
function dm() {
|
|
60
60
|
return Qd = document.body, Qd;
|
|
@@ -112,7 +112,7 @@ const qn = te.createContext({}), Qe = {
|
|
|
112
112
|
}, U5 = ({
|
|
113
113
|
children: t
|
|
114
114
|
}) => {
|
|
115
|
-
const [e, r] = Is(0), n =
|
|
115
|
+
const [e, r] = Is(0), n = me(), i = me(), a = me(1e-3), u = me(!1), l = me(!1), [h, p] = Is(!1);
|
|
116
116
|
lm(() => (i.current = J.context(() => {
|
|
117
117
|
n.current && n.current.progress(0).kill(), n.current && n.current.clear(), n.current && J.killTweensOf(n.current), n.current = J.timeline({
|
|
118
118
|
paused: !0,
|
|
@@ -183,7 +183,7 @@ const qn = te.createContext({}), Qe = {
|
|
|
183
183
|
Qe.SCRUBBER_PROGRESS_UPDATE,
|
|
184
184
|
(w) => {
|
|
185
185
|
}
|
|
186
|
-
), /* @__PURE__ */
|
|
186
|
+
), /* @__PURE__ */ Ce.jsx(
|
|
187
187
|
qn.Provider,
|
|
188
188
|
{
|
|
189
189
|
value: {
|
|
@@ -256,7 +256,7 @@ const qn = te.createContext({}), Qe = {
|
|
|
256
256
|
}, [n]);
|
|
257
257
|
return te.useEffect(() => (t.current && (t.current.on("mouseover", _), t.current.on("mouseout", y), t.current.on("mousedown", b)), () => {
|
|
258
258
|
t.current && (t.current.off("mouseover", _), t.current.off("mouseout", y), t.current.off("mousedown", b));
|
|
259
|
-
}), []), /* @__PURE__ */
|
|
259
|
+
}), []), /* @__PURE__ */ Ce.jsx(
|
|
260
260
|
sS,
|
|
261
261
|
{
|
|
262
262
|
ref: t,
|
|
@@ -493,7 +493,7 @@ const hp = {
|
|
|
493
493
|
}
|
|
494
494
|
}, lC = (t) => {
|
|
495
495
|
const { overlay: e, width: r, height: n, x: i, y: a } = t, { src: u, blendmode: l } = hp[e] || hp.normal;
|
|
496
|
-
return /* @__PURE__ */
|
|
496
|
+
return /* @__PURE__ */ Ce.jsx(
|
|
497
497
|
tS,
|
|
498
498
|
{
|
|
499
499
|
image: u,
|
|
@@ -535,14 +535,14 @@ function gC(t, e, r, n, i, a, u, l, h) {
|
|
|
535
535
|
I > 1 && (r = hs(I) * r, n = hs(I) * n);
|
|
536
536
|
var O = r * r, F = n * n, N = (O * F - O * w - F * E) / (O * w + F * E);
|
|
537
537
|
N < 0 && (N = 0);
|
|
538
|
-
var L = (a === u ? -1 : 1) * hs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + h) / 2, X = Y + (m * D - c * V), G = se + (c * D + m * V), ie = (b - D) / r, re = (x - V) / n, H = (-b - D) / r, Q = (-x - V) / n,
|
|
538
|
+
var L = (a === u ? -1 : 1) * hs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + h) / 2, X = Y + (m * D - c * V), G = se + (c * D + m * V), ie = (b - D) / r, re = (x - V) / n, H = (-b - D) / r, Q = (-x - V) / n, de = ie * ie + re * re, W = (re < 0 ? -1 : 1) * Math.acos(ie / hs(de)), j = (ie * Q - re * H < 0 ? -1 : 1) * Math.acos((ie * H + re * Q) / hs(de * (H * H + Q * Q)));
|
|
539
539
|
isNaN(j) && (j = d), !u && j > 0 ? j -= g : u && j < 0 && (j += g), W %= g, j %= g;
|
|
540
|
-
var le = Math.ceil(ys(j) / (g / 4)),
|
|
541
|
-
for (
|
|
542
|
-
i = W +
|
|
543
|
-
for (
|
|
544
|
-
b =
|
|
545
|
-
return
|
|
540
|
+
var le = Math.ceil(ys(j) / (g / 4)), he = [], pe = j / le, be = 4 / 3 * Na(pe / 2) / (1 + La(pe / 2)), Se = m * r, xe = c * r, Be = c * -n, ze = m * n, ve;
|
|
541
|
+
for (ve = 0; ve < le; ve++)
|
|
542
|
+
i = W + ve * pe, b = La(i), x = Na(i), ie = La(i += pe), re = Na(i), he.push(b - be * x, x + be * b, ie + be * re, re - be * ie, ie, re);
|
|
543
|
+
for (ve = 0; ve < he.length; ve += 2)
|
|
544
|
+
b = he[ve], x = he[ve + 1], he[ve] = b * Se + x * Be + X, he[ve + 1] = b * xe + x * ze + G;
|
|
545
|
+
return he[ve - 2] = l, he[ve - 1] = h, he;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
548
|
function mC(t) {
|
|
@@ -937,7 +937,8 @@ function SC() {
|
|
|
937
937
|
}
|
|
938
938
|
var Am = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.FLASH = "FLASH", t.PULSE = "PULSE", t.SHAKE = "SHAKE", t.SWING = "SWING", t.JELLO = "JELLO", t.WOOBLE = "WOOBLE", t.FADE_IN = "FADE_IN", t.FADE_OUT = "FADE_OUT", t.FADE_IN_OUT = "FADE_IN_OUT", t.SLIDE_IN_LEFT = "SLIDE_IN_LEFT", t.SLIDE_IN_RIGHT = "SLIDE_IN_RIGHT", t.SLIDE_IN_TOP = "SLIDE_IN_TOP", t.SLIDE_IN_BOTTOM = "SLIDE_IN_BOTTOM", t.SLIDE_OUT_LEFT = "SLIDE_OUT_LEFT", t.SLIDE_OUT_RIGHT = "SLIDE_OUT_RIGHT", t.SLIDE_OUT_TOP = "SLIDE_OUT_TOP", t.SLIDE_OUT_BOTTOM = "SLIDE_OUT_BOTTOM", t.ZOOM_IN = "ZOOM_IN", t.ZOOM_OUT = "ZOOM_OUT", t.ZOOM_IN_OUT = "ZOOM_IN_OUT", t.BOUNCE_IN = "BOUNCE_IN", t.BOUNCE_OUT = "BOUNCE_OUT", t.BOUNCE_IN_OUT = "BOUNCE_IN_OUT", t.BOUNCE_IN_DOWN = "BOUNCE_IN_DOWN", t.BOUNCE_IN_LEFT = "BOUNCE_IN_LEFT", t.BOUNCE_IN_RIGHT = "BOUNCE_IN_RIGHT", t.BOUNCE_IN_UP = "BOUNCE_IN_UP", t.BOUNCE_OUT_DOWN = "BOUNCE_OUT_DOWN", t.BOUNCE_OUT_LEFT = "BOUNCE_OUT_LEFT", t.BOUNCE_OUT_RIGHT = "BOUNCE_OUT_RIGHT", t.BOUNCE_OUT_UP = "BOUNCE_OUT_UP", t.FADE_IN_DOWN = "FADE_IN_DOWN", t.FADE_IN_LEFT = "FADE_IN_LEFT", t.FADE_IN_RIGHT = "FADE_IN_RIGHT", t.FADE_IN_UP = "FADE_IN_UP", t.FADE_OUT_DOWN = "FADE_OUT_DOWN", t.FADE_OUT_LEFT = "FADE_OUT_LEFT", t.FADE_OUT_RIGHT = "FADE_OUT_RIGHT", t.FADE_OUT_UP = "FADE_OUT_UP", t.ELASTIC_IN = "ELASTIC_IN", t.ELASTIC_OUT = "ELASTIC_OUT", t.ELASTIC_IN_OUT = "ELASTIC_IN_OUT", t.BACK_IN = "BACK_IN", t.BACK_OUT = "BACK_OUT", t.BACK_IN_OUT = "BACK_IN_OUT", t.CIRCULAR_IN = "CIRCULAR_IN", t.CIRCULAR_OUT = "CIRCULAR_OUT", t.CIRCULAR_IN_OUT = "CIRCULAR_IN_OUT", t.EXPO_IN = "EXPO_IN", t.EXPO_OUT = "EXPO_OUT", t.EXPO_IN_OUT = "EXPO_IN_OUT", t.SINE_IN = "SINE_IN", t.SINE_OUT = "SINE_OUT", t.SINE_IN_OUT = "SINE_IN_OUT", t.BOUNCE = "BOUNCE", t.ELASTIC = "ELASTIC", t.BACK = "BACK", t.CIRCULAR = "CIRCULAR", t.EXPO = "EXPO", t.SINE = "SINE", t))(Am || {});
|
|
939
939
|
const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te.forwardRef((t, e) => {
|
|
940
|
-
|
|
940
|
+
var be, Se;
|
|
941
|
+
const [r, n] = te.useState(!1), [i, a] = Is(!1), [u, l] = Is(!1), h = me(null), p = me(null), m = me(null), c = me(null), d = me(null), { tl: g } = Ui(qn), {
|
|
941
942
|
uniqueId: _,
|
|
942
943
|
visible: y,
|
|
943
944
|
startAt: b,
|
|
@@ -961,7 +962,7 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
961
962
|
isDragging: re,
|
|
962
963
|
isGif: H,
|
|
963
964
|
onDoubleClick: Q,
|
|
964
|
-
isTextEditMode:
|
|
965
|
+
isTextEditMode: de
|
|
965
966
|
} = t, W = SC();
|
|
966
967
|
pt(Qe.COMPLETE, () => {
|
|
967
968
|
h.current;
|
|
@@ -976,21 +977,21 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
976
977
|
h.current && n(!0);
|
|
977
978
|
}, []), te.useEffect(() => {
|
|
978
979
|
if (g.current) {
|
|
979
|
-
const
|
|
980
|
+
const xe = W.updateEffect(h, D, {
|
|
980
981
|
x,
|
|
981
982
|
y: E,
|
|
982
983
|
width: w,
|
|
983
984
|
height: I,
|
|
984
985
|
onUpdate: () => {
|
|
985
|
-
var
|
|
986
|
+
var ze, ve;
|
|
986
987
|
console.log(
|
|
987
988
|
"current image ref location",
|
|
988
|
-
(
|
|
989
|
-
(
|
|
989
|
+
(ze = h.current) == null ? void 0 : ze.x,
|
|
990
|
+
(ve = h.current) == null ? void 0 : ve.y
|
|
990
991
|
);
|
|
991
992
|
}
|
|
992
|
-
}),
|
|
993
|
-
d.current && (g.current.remove(d.current), console.log("killing timeline"), d.current.progress(0).kill()), console.log("startAt Anim", b), g.current.add(
|
|
993
|
+
}), Be = g.current.progress();
|
|
994
|
+
d.current && (g.current.remove(d.current), console.log("killing timeline"), d.current.progress(0).kill()), console.log("startAt Anim", b), g.current.add(xe, b), g.current.progress(0).progress(Be), d.current = xe;
|
|
994
995
|
}
|
|
995
996
|
return () => {
|
|
996
997
|
g.current && d.current && (g.current.remove(d.current), d.current.progress(0).kill());
|
|
@@ -1000,16 +1001,20 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1000
1001
|
l(!0), G && G();
|
|
1001
1002
|
}, []), le = te.useCallback(() => {
|
|
1002
1003
|
a(!0);
|
|
1003
|
-
}, []),
|
|
1004
|
-
(
|
|
1005
|
-
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(
|
|
1004
|
+
}, []), he = te.useCallback(
|
|
1005
|
+
(xe) => {
|
|
1006
|
+
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(xe), a(!1);
|
|
1006
1007
|
},
|
|
1007
1008
|
[]
|
|
1008
|
-
),
|
|
1009
|
+
), pe = rS(wt, {
|
|
1009
1010
|
matrix: er.filters.ColorMatrixFilter
|
|
1010
1011
|
});
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1012
|
+
return console.log(
|
|
1013
|
+
"render=> imageRef location",
|
|
1014
|
+
(be = h.current) == null ? void 0 : be.x,
|
|
1015
|
+
(Se = h.current) == null ? void 0 : Se.y
|
|
1016
|
+
), /* @__PURE__ */ Ce.jsxs(wt, { ref: p, children: [
|
|
1017
|
+
/* @__PURE__ */ Ce.jsxs(
|
|
1013
1018
|
wt,
|
|
1014
1019
|
{
|
|
1015
1020
|
ref: h,
|
|
@@ -1027,23 +1032,23 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1027
1032
|
pointerout: X
|
|
1028
1033
|
},
|
|
1029
1034
|
children: [
|
|
1030
|
-
!H && /* @__PURE__ */
|
|
1031
|
-
|
|
1035
|
+
!H && /* @__PURE__ */ Ce.jsx(
|
|
1036
|
+
pe,
|
|
1032
1037
|
{
|
|
1033
1038
|
scale: 1,
|
|
1034
|
-
apply: ({ matrix:
|
|
1035
|
-
N === Bn.BlackAndWhite ?
|
|
1039
|
+
apply: ({ matrix: xe }) => {
|
|
1040
|
+
N === Bn.BlackAndWhite ? xe.desaturate() : N === Bn.Sepia ? xe.sepia() : N === Bn.RetroVintage || N === Bn.NightVision ? xe.negative() : N === Bn.Normal && xe.reset();
|
|
1036
1041
|
},
|
|
1037
1042
|
matrix: {
|
|
1038
1043
|
enabled: !0,
|
|
1039
1044
|
// @ts-ignore
|
|
1040
1045
|
matrix: AC
|
|
1041
1046
|
},
|
|
1042
|
-
children: /* @__PURE__ */
|
|
1047
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: m, children: t.children })
|
|
1043
1048
|
}
|
|
1044
1049
|
),
|
|
1045
|
-
H && /* @__PURE__ */
|
|
1046
|
-
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */
|
|
1050
|
+
H && /* @__PURE__ */ Ce.jsx(wt, { ref: m, children: t.children }),
|
|
1051
|
+
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */ Ce.jsx(
|
|
1047
1052
|
lC,
|
|
1048
1053
|
{
|
|
1049
1054
|
overlay: L,
|
|
@@ -1056,13 +1061,13 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1056
1061
|
]
|
|
1057
1062
|
}
|
|
1058
1063
|
),
|
|
1059
|
-
V && y && !
|
|
1064
|
+
V && y && !de && /* @__PURE__ */ Ce.jsx(
|
|
1060
1065
|
dS,
|
|
1061
1066
|
{
|
|
1062
1067
|
pixiTransformerRef: c,
|
|
1063
1068
|
imageRef: h,
|
|
1064
1069
|
isMounted: r,
|
|
1065
|
-
transformCommit:
|
|
1070
|
+
transformCommit: he,
|
|
1066
1071
|
transformChange: le,
|
|
1067
1072
|
mouseoverEvent: j,
|
|
1068
1073
|
uniqueId: _,
|
|
@@ -1076,7 +1081,7 @@ mn.whyDidYouRender = {
|
|
|
1076
1081
|
logOnDifferentValues: !0,
|
|
1077
1082
|
customName: "AbstractContainer"
|
|
1078
1083
|
};
|
|
1079
|
-
var Yn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Yn || {}), Em = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Em || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}),
|
|
1084
|
+
var Yn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Yn || {}), Em = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Em || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}), fe = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ADD = 1] = "ADD", t[t.MULTIPLY = 2] = "MULTIPLY", t[t.SCREEN = 3] = "SCREEN", t[t.OVERLAY = 4] = "OVERLAY", t[t.DARKEN = 5] = "DARKEN", t[t.LIGHTEN = 6] = "LIGHTEN", t[t.COLOR_DODGE = 7] = "COLOR_DODGE", t[t.COLOR_BURN = 8] = "COLOR_BURN", t[t.HARD_LIGHT = 9] = "HARD_LIGHT", t[t.SOFT_LIGHT = 10] = "SOFT_LIGHT", t[t.DIFFERENCE = 11] = "DIFFERENCE", t[t.EXCLUSION = 12] = "EXCLUSION", t[t.HUE = 13] = "HUE", t[t.SATURATION = 14] = "SATURATION", t[t.COLOR = 15] = "COLOR", t[t.LUMINOSITY = 16] = "LUMINOSITY", t[t.NORMAL_NPM = 17] = "NORMAL_NPM", t[t.ADD_NPM = 18] = "ADD_NPM", t[t.SCREEN_NPM = 19] = "SCREEN_NPM", t[t.NONE = 20] = "NONE", t[t.SRC_OVER = 0] = "SRC_OVER", t[t.SRC_IN = 21] = "SRC_IN", t[t.SRC_OUT = 22] = "SRC_OUT", t[t.SRC_ATOP = 23] = "SRC_ATOP", t[t.DST_OVER = 24] = "DST_OVER", t[t.DST_IN = 25] = "DST_IN", t[t.DST_OUT = 26] = "DST_OUT", t[t.DST_ATOP = 27] = "DST_ATOP", t[t.ERASE = 26] = "ERASE", t[t.SUBTRACT = 28] = "SUBTRACT", t[t.XOR = 29] = "XOR", t))(fe || {}), dn = /* @__PURE__ */ ((t) => (t[t.POINTS = 0] = "POINTS", t[t.LINES = 1] = "LINES", t[t.LINE_LOOP = 2] = "LINE_LOOP", t[t.LINE_STRIP = 3] = "LINE_STRIP", t[t.TRIANGLES = 4] = "TRIANGLES", t[t.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", t[t.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", t))(dn || {}), K = /* @__PURE__ */ ((t) => (t[t.RGBA = 6408] = "RGBA", t[t.RGB = 6407] = "RGB", t[t.RG = 33319] = "RG", t[t.RED = 6403] = "RED", t[t.RGBA_INTEGER = 36249] = "RGBA_INTEGER", t[t.RGB_INTEGER = 36248] = "RGB_INTEGER", t[t.RG_INTEGER = 33320] = "RG_INTEGER", t[t.RED_INTEGER = 36244] = "RED_INTEGER", t[t.ALPHA = 6406] = "ALPHA", t[t.LUMINANCE = 6409] = "LUMINANCE", t[t.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", t[t.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", t[t.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", t))(K || {}), Ci = /* @__PURE__ */ ((t) => (t[t.TEXTURE_2D = 3553] = "TEXTURE_2D", t[t.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", t[t.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", t[t.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", t[t.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", t[t.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", t[t.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", t))(Ci || {}), Ue = /* @__PURE__ */ ((t) => (t[t.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", t[t.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", t[t.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", t[t.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", t[t.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", t[t.UNSIGNED_INT = 5125] = "UNSIGNED_INT", t[t.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", t[t.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", t[t.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", t[t.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", t[t.BYTE = 5120] = "BYTE", t[t.SHORT = 5122] = "SHORT", t[t.INT = 5124] = "INT", t[t.FLOAT = 5126] = "FLOAT", t[t.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", t[t.HALF_FLOAT = 36193] = "HALF_FLOAT", t))(Ue || {}), fc = /* @__PURE__ */ ((t) => (t[t.FLOAT = 0] = "FLOAT", t[t.INT = 1] = "INT", t[t.UINT = 2] = "UINT", t))(fc || {}), Lr = /* @__PURE__ */ ((t) => (t[t.NEAREST = 0] = "NEAREST", t[t.LINEAR = 1] = "LINEAR", t))(Lr || {}), Rs = /* @__PURE__ */ ((t) => (t[t.CLAMP = 33071] = "CLAMP", t[t.REPEAT = 10497] = "REPEAT", t[t.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", t))(Rs || {}), Xn = /* @__PURE__ */ ((t) => (t[t.OFF = 0] = "OFF", t[t.POW2 = 1] = "POW2", t[t.ON = 2] = "ON", t[t.ON_MANUAL = 3] = "ON_MANUAL", t))(Xn || {}), vn = /* @__PURE__ */ ((t) => (t[t.NPM = 0] = "NPM", t[t.UNPACK = 1] = "UNPACK", t[t.PMA = 2] = "PMA", t[t.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", t[t.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", t[t.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", t))(vn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.NO = 0] = "NO", t[t.YES = 1] = "YES", t[t.AUTO = 2] = "AUTO", t[t.BLEND = 0] = "BLEND", t[t.CLEAR = 1] = "CLEAR", t[t.BLIT = 2] = "BLIT", t))(Fn || {}), Yc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Yc || {}), cr = /* @__PURE__ */ ((t) => (t.LOW = "lowp", t.MEDIUM = "mediump", t.HIGH = "highp", t))(cr || {}), _t = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.SCISSOR = 1] = "SCISSOR", t[t.STENCIL = 2] = "STENCIL", t[t.SPRITE = 3] = "SPRITE", t[t.COLOR = 4] = "COLOR", t))(_t || {}), gt = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 8] = "HIGH", t))(gt || {}), kr = /* @__PURE__ */ ((t) => (t[t.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", t[t.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", t[t.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", t))(kr || {});
|
|
1080
1085
|
const EC = {
|
|
1081
1086
|
createCanvas: (t, e) => {
|
|
1082
1087
|
const r = document.createElement("canvas");
|
|
@@ -1089,7 +1094,7 @@ const EC = {
|
|
|
1089
1094
|
getFontFaceSet: () => document.fonts,
|
|
1090
1095
|
fetch: (t, e) => fetch(t, e),
|
|
1091
1096
|
parseXML: (t) => new DOMParser().parseFromString(t, "text/xml")
|
|
1092
|
-
},
|
|
1097
|
+
}, Pe = {
|
|
1093
1098
|
ADAPTER: EC,
|
|
1094
1099
|
RESOLUTION: 1,
|
|
1095
1100
|
CREATE_IMAGE_BITMAP: !1,
|
|
@@ -1158,8 +1163,8 @@ function Ap(t) {
|
|
|
1158
1163
|
return a.any = a.apple.device || a.android.device || a.windows.device || a.other.device, a.phone = a.apple.phone || a.android.phone || a.windows.phone, a.tablet = a.apple.tablet || a.android.tablet || a.windows.tablet, a;
|
|
1159
1164
|
}
|
|
1160
1165
|
const IC = Ap.default ?? Ap, Si = IC(globalThis.navigator);
|
|
1161
|
-
|
|
1162
|
-
|
|
1166
|
+
Pe.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
1167
|
+
Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
1163
1168
|
var Cm = { exports: {} };
|
|
1164
1169
|
(function(t) {
|
|
1165
1170
|
var e = Object.prototype.hasOwnProperty, r = "~";
|
|
@@ -1561,19 +1566,19 @@ mo.exports;
|
|
|
1561
1566
|
throw new RangeError(w[W]);
|
|
1562
1567
|
}
|
|
1563
1568
|
function D(W, j) {
|
|
1564
|
-
for (var le = W.length,
|
|
1565
|
-
|
|
1566
|
-
return
|
|
1569
|
+
for (var le = W.length, he = []; le--; )
|
|
1570
|
+
he[le] = j(W[le]);
|
|
1571
|
+
return he;
|
|
1567
1572
|
}
|
|
1568
1573
|
function V(W, j) {
|
|
1569
|
-
var le = W.split("@"),
|
|
1570
|
-
le.length > 1 && (
|
|
1571
|
-
var
|
|
1572
|
-
return
|
|
1574
|
+
var le = W.split("@"), he = "";
|
|
1575
|
+
le.length > 1 && (he = le[0] + "@", W = le[1]), W = W.replace(E, ".");
|
|
1576
|
+
var pe = W.split("."), be = D(pe, j).join(".");
|
|
1577
|
+
return he + be;
|
|
1573
1578
|
}
|
|
1574
1579
|
function Y(W) {
|
|
1575
|
-
for (var j = [], le = 0,
|
|
1576
|
-
|
|
1580
|
+
for (var j = [], le = 0, he = W.length, pe, be; le < he; )
|
|
1581
|
+
pe = W.charCodeAt(le++), pe >= 55296 && pe <= 56319 && le < he ? (be = W.charCodeAt(le++), (be & 64512) == 56320 ? j.push(((pe & 1023) << 10) + (be & 1023) + 65536) : (j.push(pe), le--)) : j.push(pe);
|
|
1577
1582
|
return j;
|
|
1578
1583
|
}
|
|
1579
1584
|
function se(W) {
|
|
@@ -1589,36 +1594,36 @@ mo.exports;
|
|
|
1589
1594
|
return W + 22 + 75 * (W < 26) - ((j != 0) << 5);
|
|
1590
1595
|
}
|
|
1591
1596
|
function ie(W, j, le) {
|
|
1592
|
-
var
|
|
1593
|
-
for (W = le ? O(W / d) : W >> 1, W += O(W / j); W > I * m >> 1;
|
|
1597
|
+
var he = 0;
|
|
1598
|
+
for (W = le ? O(W / d) : W >> 1, W += O(W / j); W > I * m >> 1; he += h)
|
|
1594
1599
|
W = O(W / I);
|
|
1595
|
-
return O(
|
|
1600
|
+
return O(he + (I + 1) * W / (W + c));
|
|
1596
1601
|
}
|
|
1597
1602
|
function re(W) {
|
|
1598
|
-
var j = [], le = W.length,
|
|
1599
|
-
for (
|
|
1600
|
-
W.charCodeAt(
|
|
1601
|
-
for (
|
|
1602
|
-
for (
|
|
1603
|
-
_e = h -
|
|
1604
|
-
|
|
1603
|
+
var j = [], le = W.length, he, pe = 0, be = _, Se = g, xe, Be, ze, ve, Ie, Ge, Ke, Ee, _e;
|
|
1604
|
+
for (xe = W.lastIndexOf(y), xe < 0 && (xe = 0), Be = 0; Be < xe; ++Be)
|
|
1605
|
+
W.charCodeAt(Be) >= 128 && L("not-basic"), j.push(W.charCodeAt(Be));
|
|
1606
|
+
for (ze = xe > 0 ? xe + 1 : 0; ze < le; ) {
|
|
1607
|
+
for (ve = pe, Ie = 1, Ge = h; ze >= le && L("invalid-input"), Ke = X(W.charCodeAt(ze++)), (Ke >= h || Ke > O((l - pe) / Ie)) && L("overflow"), pe += Ke * Ie, Ee = Ge <= Se ? p : Ge >= Se + m ? m : Ge - Se, !(Ke < Ee); Ge += h)
|
|
1608
|
+
_e = h - Ee, Ie > O(l / _e) && L("overflow"), Ie *= _e;
|
|
1609
|
+
he = j.length + 1, Se = ie(pe - ve, he, ve == 0), O(pe / he) > l - be && L("overflow"), be += O(pe / he), pe %= he, j.splice(pe++, 0, be);
|
|
1605
1610
|
}
|
|
1606
1611
|
return se(j);
|
|
1607
1612
|
}
|
|
1608
1613
|
function H(W) {
|
|
1609
|
-
var j, le,
|
|
1610
|
-
for (W = Y(W), Ke = W.length, j = _, le = 0,
|
|
1611
|
-
|
|
1612
|
-
for (
|
|
1613
|
-
for (
|
|
1614
|
-
|
|
1615
|
-
for (
|
|
1616
|
-
if (
|
|
1617
|
-
for (
|
|
1618
|
-
rt =
|
|
1619
|
-
F(G(
|
|
1620
|
-
),
|
|
1621
|
-
Ge.push(F(G(
|
|
1614
|
+
var j, le, he, pe, be, Se, xe, Be, ze, ve, Ie, Ge = [], Ke, Ee, _e, rt;
|
|
1615
|
+
for (W = Y(W), Ke = W.length, j = _, le = 0, be = g, Se = 0; Se < Ke; ++Se)
|
|
1616
|
+
Ie = W[Se], Ie < 128 && Ge.push(F(Ie));
|
|
1617
|
+
for (he = pe = Ge.length, pe && Ge.push(y); he < Ke; ) {
|
|
1618
|
+
for (xe = l, Se = 0; Se < Ke; ++Se)
|
|
1619
|
+
Ie = W[Se], Ie >= j && Ie < xe && (xe = Ie);
|
|
1620
|
+
for (Ee = he + 1, xe - j > O((l - le) / Ee) && L("overflow"), le += (xe - j) * Ee, j = xe, Se = 0; Se < Ke; ++Se)
|
|
1621
|
+
if (Ie = W[Se], Ie < j && ++le > l && L("overflow"), Ie == j) {
|
|
1622
|
+
for (Be = le, ze = h; ve = ze <= be ? p : ze >= be + m ? m : ze - be, !(Be < ve); ze += h)
|
|
1623
|
+
rt = Be - ve, _e = h - ve, Ge.push(
|
|
1624
|
+
F(G(ve + rt % _e, 0))
|
|
1625
|
+
), Be = O(rt / _e);
|
|
1626
|
+
Ge.push(F(G(Be, 0))), be = ie(le, Ee, he == pe), le = 0, ++he;
|
|
1622
1627
|
}
|
|
1623
1628
|
++le, ++j;
|
|
1624
1629
|
}
|
|
@@ -1629,7 +1634,7 @@ mo.exports;
|
|
|
1629
1634
|
return b.test(j) ? re(j.slice(4).toLowerCase()) : j;
|
|
1630
1635
|
});
|
|
1631
1636
|
}
|
|
1632
|
-
function
|
|
1637
|
+
function de(W) {
|
|
1633
1638
|
return V(W, function(j) {
|
|
1634
1639
|
return x.test(j) ? "xn--" + H(j) : j;
|
|
1635
1640
|
});
|
|
@@ -1654,7 +1659,7 @@ mo.exports;
|
|
|
1654
1659
|
},
|
|
1655
1660
|
decode: re,
|
|
1656
1661
|
encode: H,
|
|
1657
|
-
toASCII:
|
|
1662
|
+
toASCII: de,
|
|
1658
1663
|
toUnicode: Q
|
|
1659
1664
|
}, n && i)
|
|
1660
1665
|
if (t.exports == n)
|
|
@@ -1719,7 +1724,7 @@ var jC = mo.exports, qC = function() {
|
|
|
1719
1724
|
p.prototype = r.prototype, i.prototype = new p(), p.prototype = null;
|
|
1720
1725
|
}
|
|
1721
1726
|
return i;
|
|
1722
|
-
}, n2 = r2, Zc = Function.prototype.bind || n2, i2 = Zc, s2 = i2.call(Function.call, Object.prototype.hasOwnProperty),
|
|
1727
|
+
}, n2 = r2, Zc = Function.prototype.bind || n2, i2 = Zc, s2 = i2.call(Function.call, Object.prototype.hasOwnProperty), Oe, Oi = SyntaxError, Mm = Function, Ii = TypeError, El = function(t) {
|
|
1723
1728
|
try {
|
|
1724
1729
|
return Mm('"use strict"; return (' + t + ").constructor;")();
|
|
1725
1730
|
} catch {
|
|
@@ -1745,22 +1750,22 @@ var Cl = function() {
|
|
|
1745
1750
|
}
|
|
1746
1751
|
}() : Cl, mi = KC(), o2 = QC(), bt = Object.getPrototypeOf || (o2 ? function(t) {
|
|
1747
1752
|
return t.__proto__;
|
|
1748
|
-
} : null), bi = {}, u2 = typeof Uint8Array > "u" || !bt ?
|
|
1749
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
1753
|
+
} : null), bi = {}, u2 = typeof Uint8Array > "u" || !bt ? Oe : bt(Uint8Array), zn = {
|
|
1754
|
+
"%AggregateError%": typeof AggregateError > "u" ? Oe : AggregateError,
|
|
1750
1755
|
"%Array%": Array,
|
|
1751
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
1752
|
-
"%ArrayIteratorPrototype%": mi && bt ? bt([][Symbol.iterator]()) :
|
|
1753
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
1756
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? Oe : ArrayBuffer,
|
|
1757
|
+
"%ArrayIteratorPrototype%": mi && bt ? bt([][Symbol.iterator]()) : Oe,
|
|
1758
|
+
"%AsyncFromSyncIteratorPrototype%": Oe,
|
|
1754
1759
|
"%AsyncFunction%": bi,
|
|
1755
1760
|
"%AsyncGenerator%": bi,
|
|
1756
1761
|
"%AsyncGeneratorFunction%": bi,
|
|
1757
1762
|
"%AsyncIteratorPrototype%": bi,
|
|
1758
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
1759
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
1760
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
1761
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
1763
|
+
"%Atomics%": typeof Atomics > "u" ? Oe : Atomics,
|
|
1764
|
+
"%BigInt%": typeof BigInt > "u" ? Oe : BigInt,
|
|
1765
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? Oe : BigInt64Array,
|
|
1766
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? Oe : BigUint64Array,
|
|
1762
1767
|
"%Boolean%": Boolean,
|
|
1763
|
-
"%DataView%": typeof DataView > "u" ?
|
|
1768
|
+
"%DataView%": typeof DataView > "u" ? Oe : DataView,
|
|
1764
1769
|
"%Date%": Date,
|
|
1765
1770
|
"%decodeURI%": decodeURI,
|
|
1766
1771
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -1770,49 +1775,49 @@ var Cl = function() {
|
|
|
1770
1775
|
"%eval%": eval,
|
|
1771
1776
|
// eslint-disable-line no-eval
|
|
1772
1777
|
"%EvalError%": EvalError,
|
|
1773
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
1774
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
1775
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
1778
|
+
"%Float32Array%": typeof Float32Array > "u" ? Oe : Float32Array,
|
|
1779
|
+
"%Float64Array%": typeof Float64Array > "u" ? Oe : Float64Array,
|
|
1780
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? Oe : FinalizationRegistry,
|
|
1776
1781
|
"%Function%": Mm,
|
|
1777
1782
|
"%GeneratorFunction%": bi,
|
|
1778
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
1779
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
1780
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
1783
|
+
"%Int8Array%": typeof Int8Array > "u" ? Oe : Int8Array,
|
|
1784
|
+
"%Int16Array%": typeof Int16Array > "u" ? Oe : Int16Array,
|
|
1785
|
+
"%Int32Array%": typeof Int32Array > "u" ? Oe : Int32Array,
|
|
1781
1786
|
"%isFinite%": isFinite,
|
|
1782
1787
|
"%isNaN%": isNaN,
|
|
1783
|
-
"%IteratorPrototype%": mi && bt ? bt(bt([][Symbol.iterator]())) :
|
|
1784
|
-
"%JSON%": typeof JSON == "object" ? JSON :
|
|
1785
|
-
"%Map%": typeof Map > "u" ?
|
|
1786
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !mi || !bt ?
|
|
1788
|
+
"%IteratorPrototype%": mi && bt ? bt(bt([][Symbol.iterator]())) : Oe,
|
|
1789
|
+
"%JSON%": typeof JSON == "object" ? JSON : Oe,
|
|
1790
|
+
"%Map%": typeof Map > "u" ? Oe : Map,
|
|
1791
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !mi || !bt ? Oe : bt((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1787
1792
|
"%Math%": Math,
|
|
1788
1793
|
"%Number%": Number,
|
|
1789
1794
|
"%Object%": Object,
|
|
1790
1795
|
"%parseFloat%": parseFloat,
|
|
1791
1796
|
"%parseInt%": parseInt,
|
|
1792
|
-
"%Promise%": typeof Promise > "u" ?
|
|
1793
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
1797
|
+
"%Promise%": typeof Promise > "u" ? Oe : Promise,
|
|
1798
|
+
"%Proxy%": typeof Proxy > "u" ? Oe : Proxy,
|
|
1794
1799
|
"%RangeError%": RangeError,
|
|
1795
1800
|
"%ReferenceError%": ReferenceError,
|
|
1796
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
1801
|
+
"%Reflect%": typeof Reflect > "u" ? Oe : Reflect,
|
|
1797
1802
|
"%RegExp%": RegExp,
|
|
1798
|
-
"%Set%": typeof Set > "u" ?
|
|
1799
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !mi || !bt ?
|
|
1800
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
1803
|
+
"%Set%": typeof Set > "u" ? Oe : Set,
|
|
1804
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !mi || !bt ? Oe : bt((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
1805
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? Oe : SharedArrayBuffer,
|
|
1801
1806
|
"%String%": String,
|
|
1802
|
-
"%StringIteratorPrototype%": mi && bt ? bt(""[Symbol.iterator]()) :
|
|
1803
|
-
"%Symbol%": mi ? Symbol :
|
|
1807
|
+
"%StringIteratorPrototype%": mi && bt ? bt(""[Symbol.iterator]()) : Oe,
|
|
1808
|
+
"%Symbol%": mi ? Symbol : Oe,
|
|
1804
1809
|
"%SyntaxError%": Oi,
|
|
1805
1810
|
"%ThrowTypeError%": a2,
|
|
1806
1811
|
"%TypedArray%": u2,
|
|
1807
1812
|
"%TypeError%": Ii,
|
|
1808
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
1809
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
1810
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
1811
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
1813
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? Oe : Uint8Array,
|
|
1814
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? Oe : Uint8ClampedArray,
|
|
1815
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? Oe : Uint16Array,
|
|
1816
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? Oe : Uint32Array,
|
|
1812
1817
|
"%URIError%": URIError,
|
|
1813
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
1814
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
1815
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
1818
|
+
"%WeakMap%": typeof WeakMap > "u" ? Oe : WeakMap,
|
|
1819
|
+
"%WeakRef%": typeof WeakRef > "u" ? Oe : WeakRef,
|
|
1820
|
+
"%WeakSet%": typeof WeakSet > "u" ? Oe : WeakSet
|
|
1816
1821
|
};
|
|
1817
1822
|
if (bt)
|
|
1818
1823
|
try {
|
|
@@ -3009,12 +3014,12 @@ function iR() {
|
|
|
3009
3014
|
var r;
|
|
3010
3015
|
const e = {
|
|
3011
3016
|
stencil: !0,
|
|
3012
|
-
failIfMajorPerformanceCaveat:
|
|
3017
|
+
failIfMajorPerformanceCaveat: Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT
|
|
3013
3018
|
};
|
|
3014
3019
|
try {
|
|
3015
|
-
if (!
|
|
3020
|
+
if (!Pe.ADAPTER.getWebGLRenderingContext())
|
|
3016
3021
|
return !1;
|
|
3017
|
-
const n =
|
|
3022
|
+
const n = Pe.ADAPTER.createCanvas();
|
|
3018
3023
|
let i = n.getContext("webgl", e) || n.getContext("experimental-webgl", e);
|
|
3019
3024
|
const a = !!((r = i == null ? void 0 : i.getContextAttributes()) != null && r.stencil);
|
|
3020
3025
|
if (i) {
|
|
@@ -3363,7 +3368,7 @@ function pR() {
|
|
|
3363
3368
|
const t = [], e = [];
|
|
3364
3369
|
for (let n = 0; n < 32; n++)
|
|
3365
3370
|
t[n] = n, e[n] = n;
|
|
3366
|
-
t[
|
|
3371
|
+
t[fe.NORMAL_NPM] = fe.NORMAL, t[fe.ADD_NPM] = fe.ADD, t[fe.SCREEN_NPM] = fe.SCREEN, e[fe.NORMAL] = fe.NORMAL_NPM, e[fe.ADD] = fe.ADD_NPM, e[fe.SCREEN] = fe.SCREEN_NPM;
|
|
3367
3372
|
const r = [];
|
|
3368
3373
|
return r.push(e), r.push(t), r;
|
|
3369
3374
|
}
|
|
@@ -3416,10 +3421,10 @@ function vR(t, e = globalThis.location) {
|
|
|
3416
3421
|
}
|
|
3417
3422
|
function sg(t, e = 1) {
|
|
3418
3423
|
var n;
|
|
3419
|
-
const r = (n =
|
|
3424
|
+
const r = (n = Pe.RETINA_PREFIX) == null ? void 0 : n.exec(t);
|
|
3420
3425
|
return r ? parseFloat(r[1]) : e;
|
|
3421
3426
|
}
|
|
3422
|
-
var
|
|
3427
|
+
var Le = /* @__PURE__ */ ((t) => (t.Renderer = "renderer", t.Application = "application", t.RendererSystem = "renderer-webgl-system", t.RendererPlugin = "renderer-webgl-plugin", t.CanvasRendererSystem = "renderer-canvas-system", t.CanvasRendererPlugin = "renderer-canvas-plugin", t.Asset = "asset", t.LoadParser = "load-parser", t.ResolveParser = "resolve-parser", t.CacheParser = "cache-parser", t.DetectionParser = "detection-parser", t))(Le || {});
|
|
3423
3428
|
const Cc = (t) => {
|
|
3424
3429
|
if (typeof t == "function" || typeof t == "object" && t.extension) {
|
|
3425
3430
|
if (!t.extension)
|
|
@@ -3431,7 +3436,7 @@ const Cc = (t) => {
|
|
|
3431
3436
|
else
|
|
3432
3437
|
throw new Error("Invalid extension type");
|
|
3433
3438
|
return typeof t.type == "string" && (t.type = [t.type]), t;
|
|
3434
|
-
}, ag = (t, e) => Cc(t).priority ?? e,
|
|
3439
|
+
}, ag = (t, e) => Cc(t).priority ?? e, je = {
|
|
3435
3440
|
_addHandlers: {},
|
|
3436
3441
|
_removeHandlers: {},
|
|
3437
3442
|
_queue: {},
|
|
@@ -3549,7 +3554,7 @@ function bR(t, e) {
|
|
|
3549
3554
|
const Ul = 0, $l = 1, Gl = 2, Hl = 3, zl = 4, Vl = 5;
|
|
3550
3555
|
let Do = class Km {
|
|
3551
3556
|
constructor() {
|
|
3552
|
-
this.data = 0, this.blendMode =
|
|
3557
|
+
this.data = 0, this.blendMode = fe.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
3553
3558
|
}
|
|
3554
3559
|
get blend() {
|
|
3555
3560
|
return !!(this.data & 1 << Ul);
|
|
@@ -3591,7 +3596,7 @@ let Do = class Km {
|
|
|
3591
3596
|
return this._blendMode;
|
|
3592
3597
|
}
|
|
3593
3598
|
set blendMode(e) {
|
|
3594
|
-
this.blend = e !==
|
|
3599
|
+
this.blend = e !== fe.NONE, this._blendMode = e;
|
|
3595
3600
|
}
|
|
3596
3601
|
get polygonOffset() {
|
|
3597
3602
|
return this._polygonOffset;
|
|
@@ -3747,7 +3752,7 @@ const TR = {
|
|
|
3747
3752
|
resolution: d,
|
|
3748
3753
|
resourceOptions: g
|
|
3749
3754
|
} = e;
|
|
3750
|
-
t && !(t instanceof Ns) && (t = Zm(t, g), t.internal = !0), this.resolution = d ||
|
|
3755
|
+
t && !(t instanceof Ns) && (t = Zm(t, g), t.internal = !0), this.resolution = d || Pe.RESOLUTION, this.width = Math.round((u || 0) * this.resolution) / this.resolution, this.height = Math.round((l || 0) * this.resolution) / this.resolution, this._mipmap = n, this.anisotropicLevel = i, this._wrapMode = h, this._scaleMode = a, this.format = p, this.type = m, this.target = c, this.alphaMode = r, this.uid = Fs(), this.touched = 0, this.isPowerOfTwo = !1, this._refreshPOT(), this._glTextures = {}, this.dirtyId = 0, this.dirtyStyleId = 0, this.cacheId = null, this.valid = u > 0 && l > 0, this.textureCacheIds = [], this.destroyed = !1, this.resource = null, this._batchEnabled = 0, this._batchLocation = 0, this.parentTextureArray = null, this.setResource(t);
|
|
3751
3756
|
}
|
|
3752
3757
|
get realWidth() {
|
|
3753
3758
|
return Math.round(this.width * this.resolution);
|
|
@@ -3812,7 +3817,7 @@ const TR = {
|
|
|
3812
3817
|
castToBaseTexture() {
|
|
3813
3818
|
return this;
|
|
3814
3819
|
}
|
|
3815
|
-
static from(t, e, r =
|
|
3820
|
+
static from(t, e, r = Pe.STRICT_TEXTURE_CACHE) {
|
|
3816
3821
|
const n = typeof t == "string";
|
|
3817
3822
|
let i = null;
|
|
3818
3823
|
if (n)
|
|
@@ -4928,9 +4933,9 @@ const n0 = {};
|
|
|
4928
4933
|
let vi = n0;
|
|
4929
4934
|
function kR() {
|
|
4930
4935
|
if (vi === n0 || vi != null && vi.isContextLost()) {
|
|
4931
|
-
const t =
|
|
4936
|
+
const t = Pe.ADAPTER.createCanvas();
|
|
4932
4937
|
let e;
|
|
4933
|
-
|
|
4938
|
+
Pe.PREFER_ENV >= Yn.WEBGL2 && (e = t.getContext("webgl2", {})), e || (e = t.getContext("webgl", {}) || t.getContext("experimental-webgl", {}), e ? e.getExtension("WEBGL_draw_buffers") : e = null), vi = e;
|
|
4934
4939
|
}
|
|
4935
4940
|
return vi;
|
|
4936
4941
|
}
|
|
@@ -5166,7 +5171,7 @@ function VR() {
|
|
|
5166
5171
|
}
|
|
5167
5172
|
function XR(t) {
|
|
5168
5173
|
let e = !0;
|
|
5169
|
-
const r =
|
|
5174
|
+
const r = Pe.ADAPTER.getNavigator();
|
|
5170
5175
|
if (Si.tablet || Si.phone) {
|
|
5171
5176
|
if (Si.apple.device) {
|
|
5172
5177
|
const n = r.userAgent.match(/OS (\d+)_(\d+)?/);
|
|
@@ -5261,7 +5266,7 @@ const vr = class extends a0 {
|
|
|
5261
5266
|
}
|
|
5262
5267
|
contextChange() {
|
|
5263
5268
|
const t = this.renderer.gl;
|
|
5264
|
-
|
|
5269
|
+
Pe.PREFER_ENV === Yn.WEBGL_LEGACY ? this.maxTextures = 1 : (this.maxTextures = Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS), vr.defaultMaxTextures), this.maxTextures = bR(this.maxTextures, t)), this._shader = this.shaderGenerator.generateShader(this.maxTextures);
|
|
5265
5270
|
for (let e = 0; e < this._packedGeometryPoolSize; e++)
|
|
5266
5271
|
this._packedGeometries[e] = new this.geometryClass();
|
|
5267
5272
|
this.initFlushBuffers();
|
|
@@ -5378,11 +5383,11 @@ let xr = vr;
|
|
|
5378
5383
|
xr.defaultBatchSize = 4096;
|
|
5379
5384
|
xr.extension = {
|
|
5380
5385
|
name: "batch",
|
|
5381
|
-
type:
|
|
5386
|
+
type: Le.RendererPlugin
|
|
5382
5387
|
};
|
|
5383
5388
|
xr._drawCallPool = [];
|
|
5384
5389
|
xr._textureArrayPool = [];
|
|
5385
|
-
|
|
5390
|
+
je.add(xr);
|
|
5386
5391
|
var qR = `varying vec2 vTextureCoord;
|
|
5387
5392
|
|
|
5388
5393
|
uniform sampler2D uSampler;
|
|
@@ -5444,9 +5449,9 @@ const gs = class extends Xs {
|
|
|
5444
5449
|
return qR;
|
|
5445
5450
|
}
|
|
5446
5451
|
};
|
|
5447
|
-
let
|
|
5448
|
-
|
|
5449
|
-
|
|
5452
|
+
let Xe = gs;
|
|
5453
|
+
Xe.defaultResolution = 1;
|
|
5454
|
+
Xe.defaultMultisample = gt.NONE;
|
|
5450
5455
|
class Bo {
|
|
5451
5456
|
constructor() {
|
|
5452
5457
|
this.clearBeforeRender = !0, this._backgroundColor = new Mt(0), this.alpha = 1;
|
|
@@ -5481,12 +5486,12 @@ Bo.defaultOptions = {
|
|
|
5481
5486
|
};
|
|
5482
5487
|
Bo.extension = {
|
|
5483
5488
|
type: [
|
|
5484
|
-
|
|
5485
|
-
|
|
5489
|
+
Le.RendererSystem,
|
|
5490
|
+
Le.CanvasRendererSystem
|
|
5486
5491
|
],
|
|
5487
5492
|
name: "background"
|
|
5488
5493
|
};
|
|
5489
|
-
|
|
5494
|
+
je.add(Bo);
|
|
5490
5495
|
class o0 {
|
|
5491
5496
|
constructor(e) {
|
|
5492
5497
|
this.renderer = e, this.emptyRenderer = new a0(e), this.currentRenderer = this.emptyRenderer;
|
|
@@ -5530,10 +5535,10 @@ class o0 {
|
|
|
5530
5535
|
}
|
|
5531
5536
|
}
|
|
5532
5537
|
o0.extension = {
|
|
5533
|
-
type:
|
|
5538
|
+
type: Le.RendererSystem,
|
|
5534
5539
|
name: "batch"
|
|
5535
5540
|
};
|
|
5536
|
-
|
|
5541
|
+
je.add(o0);
|
|
5537
5542
|
let fg = 0;
|
|
5538
5543
|
class Uo {
|
|
5539
5544
|
constructor(e) {
|
|
@@ -5573,7 +5578,7 @@ class Uo {
|
|
|
5573
5578
|
}
|
|
5574
5579
|
createContext(e, r) {
|
|
5575
5580
|
let n;
|
|
5576
|
-
if (
|
|
5581
|
+
if (Pe.PREFER_ENV >= Yn.WEBGL2 && (n = e.getContext("webgl2", r)), n)
|
|
5577
5582
|
this.webGLVersion = 2;
|
|
5578
5583
|
else if (this.webGLVersion = 1, n = e.getContext("webgl", r) || e.getContext("experimental-webgl", r), !n)
|
|
5579
5584
|
throw new Error("This browser does not support WebGL. Try using the canvas renderer");
|
|
@@ -5635,10 +5640,10 @@ Uo.defaultOptions = {
|
|
|
5635
5640
|
powerPreference: "default"
|
|
5636
5641
|
};
|
|
5637
5642
|
Uo.extension = {
|
|
5638
|
-
type:
|
|
5643
|
+
type: Le.RendererSystem,
|
|
5639
5644
|
name: "context"
|
|
5640
5645
|
};
|
|
5641
|
-
|
|
5646
|
+
je.add(Uo);
|
|
5642
5647
|
class KR extends ah {
|
|
5643
5648
|
upload(e, r, n) {
|
|
5644
5649
|
const i = e.gl;
|
|
@@ -5760,7 +5765,7 @@ class l0 extends gn {
|
|
|
5760
5765
|
const n = new Image();
|
|
5761
5766
|
gn.crossOrigin(n, e, r.crossorigin), n.src = e, e = n;
|
|
5762
5767
|
}
|
|
5763
|
-
super(e), !e.complete && this._width && this._height && (this._width = 0, this._height = 0), this.url = e.src, this._process = null, this.preserveBitmap = !1, this.createBitmap = (r.createBitmap ??
|
|
5768
|
+
super(e), !e.complete && this._width && this._height && (this._width = 0, this._height = 0), this.url = e.src, this._process = null, this.preserveBitmap = !1, this.createBitmap = (r.createBitmap ?? Pe.CREATE_IMAGE_BITMAP) && !!globalThis.createImageBitmap, this.alphaMode = typeof r.alphaMode == "number" ? r.alphaMode : null, this.bitmap = null, this._load = null, r.autoLoad !== !1 && this.load();
|
|
5764
5769
|
}
|
|
5765
5770
|
load(e) {
|
|
5766
5771
|
return this._load ? this._load : (e !== void 0 && (this.createBitmap = e), this._load = new Promise((r, n) => {
|
|
@@ -5838,9 +5843,9 @@ function Ka(t) {
|
|
|
5838
5843
|
}, t.emit = function() {
|
|
5839
5844
|
};
|
|
5840
5845
|
}
|
|
5841
|
-
class
|
|
5846
|
+
class De extends Oo {
|
|
5842
5847
|
constructor(e, r, n, i, a, u, l) {
|
|
5843
|
-
if (super(), this.noFrame = !1, r || (this.noFrame = !0, r = new Ye(0, 0, 1, 1)), e instanceof
|
|
5848
|
+
if (super(), this.noFrame = !1, r || (this.noFrame = !0, r = new Ye(0, 0, 1, 1)), e instanceof De && (e = e.baseTexture), this.baseTexture = e, this._frame = r, this.trim = i, this.valid = !1, this._uvs = dg, this.uvMatrix = null, this.orig = n || r, this._rotate = Number(a || 0), a === !0)
|
|
5844
5849
|
this._rotate = 2;
|
|
5845
5850
|
else if (this._rotate % 2 !== 0)
|
|
5846
5851
|
throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
|
|
@@ -5862,21 +5867,21 @@ class Be extends Oo {
|
|
|
5862
5867
|
if (this.baseTexture) {
|
|
5863
5868
|
if (e) {
|
|
5864
5869
|
const { resource: r } = this.baseTexture;
|
|
5865
|
-
r != null && r.url && Fr[r.url] &&
|
|
5870
|
+
r != null && r.url && Fr[r.url] && De.removeFromCache(r.url), this.baseTexture.destroy();
|
|
5866
5871
|
}
|
|
5867
5872
|
this.baseTexture.off("loaded", this.onBaseTextureUpdated, this), this.baseTexture.off("update", this.onBaseTextureUpdated, this), this.baseTexture = null;
|
|
5868
5873
|
}
|
|
5869
|
-
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1,
|
|
5874
|
+
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, De.removeFromCache(this), this.textureCacheIds = null;
|
|
5870
5875
|
}
|
|
5871
5876
|
clone() {
|
|
5872
5877
|
var i;
|
|
5873
|
-
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new
|
|
5878
|
+
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new De(this.baseTexture, !this.noFrame && e, r, (i = this.trim) == null ? void 0 : i.clone(), this.rotate, this.defaultAnchor, this.defaultBorders);
|
|
5874
5879
|
return this.noFrame && (n._frame = e), n;
|
|
5875
5880
|
}
|
|
5876
5881
|
updateUvs() {
|
|
5877
5882
|
this._uvs === dg && (this._uvs = new c0()), this._uvs.set(this._frame, this.baseTexture, this.rotate), this._updateID++;
|
|
5878
5883
|
}
|
|
5879
|
-
static from(e, r = {}, n =
|
|
5884
|
+
static from(e, r = {}, n = Pe.STRICT_TEXTURE_CACHE) {
|
|
5880
5885
|
const i = typeof e == "string";
|
|
5881
5886
|
let a = null;
|
|
5882
5887
|
if (i)
|
|
@@ -5897,14 +5902,14 @@ class Be extends Oo {
|
|
|
5897
5902
|
let u = Fr[a];
|
|
5898
5903
|
if (i && n && !u)
|
|
5899
5904
|
throw new Error(`The cacheId "${a}" does not exist in TextureCache.`);
|
|
5900
|
-
return !u && !(e instanceof $e) ? (r.resolution || (r.resolution = sg(e)), u = new
|
|
5905
|
+
return !u && !(e instanceof $e) ? (r.resolution || (r.resolution = sg(e)), u = new De(new $e(e, r)), u.baseTexture.cacheId = a, $e.addToCache(u.baseTexture, a), De.addToCache(u, a)) : !u && e instanceof $e && (u = new De(e), De.addToCache(u, a)), u;
|
|
5901
5906
|
}
|
|
5902
5907
|
static fromURL(e, r) {
|
|
5903
|
-
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i =
|
|
5908
|
+
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i = De.from(e, Object.assign({ resourceOptions: n }, r), !1), a = i.baseTexture.resource;
|
|
5904
5909
|
return i.baseTexture.valid ? Promise.resolve(i) : a.load().then(() => Promise.resolve(i));
|
|
5905
5910
|
}
|
|
5906
5911
|
static fromBuffer(e, r, n, i) {
|
|
5907
|
-
return new
|
|
5912
|
+
return new De($e.fromBuffer(e, r, n, i));
|
|
5908
5913
|
}
|
|
5909
5914
|
static fromLoader(e, r, n, i) {
|
|
5910
5915
|
const a = new $e(e, Object.assign({
|
|
@@ -5912,8 +5917,8 @@ class Be extends Oo {
|
|
|
5912
5917
|
resolution: sg(r)
|
|
5913
5918
|
}, i)), { resource: u } = a;
|
|
5914
5919
|
u instanceof l0 && (u.url = r);
|
|
5915
|
-
const l = new
|
|
5916
|
-
return n || (n = r), $e.addToCache(l.baseTexture, n),
|
|
5920
|
+
const l = new De(a);
|
|
5921
|
+
return n || (n = r), $e.addToCache(l.baseTexture, n), De.addToCache(l, n), n !== r && ($e.addToCache(l.baseTexture, r), De.addToCache(l, r)), l.baseTexture.valid ? Promise.resolve(l) : new Promise((h) => {
|
|
5917
5922
|
l.baseTexture.once("loaded", () => h(l));
|
|
5918
5923
|
});
|
|
5919
5924
|
}
|
|
@@ -5965,17 +5970,17 @@ class Be extends Oo {
|
|
|
5965
5970
|
return this.baseTexture;
|
|
5966
5971
|
}
|
|
5967
5972
|
static get EMPTY() {
|
|
5968
|
-
return
|
|
5973
|
+
return De._EMPTY || (De._EMPTY = new De(new $e()), Ka(De._EMPTY), Ka(De._EMPTY.baseTexture)), De._EMPTY;
|
|
5969
5974
|
}
|
|
5970
5975
|
static get WHITE() {
|
|
5971
|
-
if (!
|
|
5972
|
-
const e =
|
|
5973
|
-
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16),
|
|
5976
|
+
if (!De._WHITE) {
|
|
5977
|
+
const e = Pe.ADAPTER.createCanvas(16, 16), r = e.getContext("2d");
|
|
5978
|
+
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16), De._WHITE = new De($e.from(e)), Ka(De._WHITE), Ka(De._WHITE.baseTexture);
|
|
5974
5979
|
}
|
|
5975
|
-
return
|
|
5980
|
+
return De._WHITE;
|
|
5976
5981
|
}
|
|
5977
5982
|
}
|
|
5978
|
-
class $o extends
|
|
5983
|
+
class $o extends De {
|
|
5979
5984
|
constructor(e, r) {
|
|
5980
5985
|
super(e, r), this.valid = !0, this.filterFrame = null, this.filterPoolKey = null, this.updateUvs();
|
|
5981
5986
|
}
|
|
@@ -6228,10 +6233,10 @@ class f0 {
|
|
|
6228
6233
|
}
|
|
6229
6234
|
}
|
|
6230
6235
|
f0.extension = {
|
|
6231
|
-
type:
|
|
6236
|
+
type: Le.RendererSystem,
|
|
6232
6237
|
name: "filter"
|
|
6233
6238
|
};
|
|
6234
|
-
|
|
6239
|
+
je.add(f0);
|
|
6235
6240
|
class eP {
|
|
6236
6241
|
constructor(e) {
|
|
6237
6242
|
this.framebuffer = e, this.stencil = null, this.dirtyId = -1, this.dirtyFormat = -1, this.dirtySize = -1, this.multisample = gt.NONE, this.msaaBuffer = null, this.blitFramebuffer = null, this.mipLevel = 0;
|
|
@@ -6247,7 +6252,7 @@ class d0 {
|
|
|
6247
6252
|
const e = this.gl = this.renderer.gl;
|
|
6248
6253
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, this.current = this.unknownFramebuffer, this.viewport = new Ye(), this.hasMRT = !0, this.writeDepthTexture = !0, this.renderer.context.webGLVersion === 1) {
|
|
6249
6254
|
let r = this.renderer.context.extensions.drawBuffers, n = this.renderer.context.extensions.depthTexture;
|
|
6250
|
-
|
|
6255
|
+
Pe.PREFER_ENV === Yn.WEBGL_LEGACY && (r = null, n = null), r ? e.drawBuffers = (i) => r.drawBuffersWEBGL(i) : (this.hasMRT = !1, e.drawBuffers = () => {
|
|
6251
6256
|
}), n || (this.writeDepthTexture = !1);
|
|
6252
6257
|
} else
|
|
6253
6258
|
this.msaaSamples = e.getInternalformatParameter(e.RENDERBUFFER, e.RGBA8, e.SAMPLES);
|
|
@@ -6380,10 +6385,10 @@ class d0 {
|
|
|
6380
6385
|
}
|
|
6381
6386
|
}
|
|
6382
6387
|
d0.extension = {
|
|
6383
|
-
type:
|
|
6388
|
+
type: Le.RendererSystem,
|
|
6384
6389
|
name: "framebuffer"
|
|
6385
6390
|
};
|
|
6386
|
-
|
|
6391
|
+
je.add(d0);
|
|
6387
6392
|
const jl = { 5126: 4, 5123: 2, 5121: 1 };
|
|
6388
6393
|
class p0 {
|
|
6389
6394
|
constructor(e) {
|
|
@@ -6394,7 +6399,7 @@ class p0 {
|
|
|
6394
6399
|
const e = this.gl = this.renderer.gl, r = this.renderer.context;
|
|
6395
6400
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, r.webGLVersion !== 2) {
|
|
6396
6401
|
let n = this.renderer.context.extensions.vertexArrayObject;
|
|
6397
|
-
|
|
6402
|
+
Pe.PREFER_ENV === Yn.WEBGL_LEGACY && (n = null), n ? (e.createVertexArray = () => n.createVertexArrayOES(), e.bindVertexArray = (i) => n.bindVertexArrayOES(i), e.deleteVertexArray = (i) => n.deleteVertexArrayOES(i)) : (this.hasVao = !1, e.createVertexArray = () => null, e.bindVertexArray = () => null, e.deleteVertexArray = () => null);
|
|
6398
6403
|
}
|
|
6399
6404
|
if (r.webGLVersion !== 2) {
|
|
6400
6405
|
const n = e.getExtension("ANGLE_instanced_arrays");
|
|
@@ -6516,10 +6521,10 @@ class p0 {
|
|
|
6516
6521
|
}
|
|
6517
6522
|
}
|
|
6518
6523
|
p0.extension = {
|
|
6519
|
-
type:
|
|
6524
|
+
type: Le.RendererSystem,
|
|
6520
6525
|
name: "geometry"
|
|
6521
6526
|
};
|
|
6522
|
-
|
|
6527
|
+
je.add(p0);
|
|
6523
6528
|
const pg = new Bt();
|
|
6524
6529
|
class rP {
|
|
6525
6530
|
constructor(e, r) {
|
|
@@ -6595,7 +6600,7 @@ void main(void)
|
|
|
6595
6600
|
vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;
|
|
6596
6601
|
}
|
|
6597
6602
|
`;
|
|
6598
|
-
class sP extends
|
|
6603
|
+
class sP extends Xe {
|
|
6599
6604
|
constructor(e, r, n) {
|
|
6600
6605
|
let i = null;
|
|
6601
6606
|
typeof e != "string" && r === void 0 && n === void 0 && (i = e, e = void 0, r = void 0, n = void 0), super(e || iP, r || nP, n), this.maskSprite = i, this.maskMatrix = new Bt();
|
|
@@ -6613,7 +6618,7 @@ class sP extends Ve {
|
|
|
6613
6618
|
}
|
|
6614
6619
|
class aP {
|
|
6615
6620
|
constructor(e = null) {
|
|
6616
|
-
this.type = _t.NONE, this.autoDetect = !0, this.maskObject = e || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample =
|
|
6621
|
+
this.type = _t.NONE, this.autoDetect = !0, this.maskObject = e || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample = Xe.defaultMultisample, this.enabled = !0, this.colorMask = 15, this._filters = null, this._stencilCounter = 0, this._scissorCounter = 0, this._scissorRect = null, this._scissorRectLocal = null, this._colorMask = 15, this._target = null;
|
|
6617
6622
|
}
|
|
6618
6623
|
get filter() {
|
|
6619
6624
|
return this._filters ? this._filters[0] : null;
|
|
@@ -6718,10 +6723,10 @@ class g0 {
|
|
|
6718
6723
|
}
|
|
6719
6724
|
}
|
|
6720
6725
|
g0.extension = {
|
|
6721
|
-
type:
|
|
6726
|
+
type: Le.RendererSystem,
|
|
6722
6727
|
name: "mask"
|
|
6723
6728
|
};
|
|
6724
|
-
|
|
6729
|
+
je.add(g0);
|
|
6725
6730
|
class m0 {
|
|
6726
6731
|
constructor(e) {
|
|
6727
6732
|
this.renderer = e, this.maskStack = [], this.glConst = 0;
|
|
@@ -6743,7 +6748,7 @@ class m0 {
|
|
|
6743
6748
|
}
|
|
6744
6749
|
const gg = new Bt(), mg = [], so = class extends m0 {
|
|
6745
6750
|
constructor(t) {
|
|
6746
|
-
super(t), this.glConst =
|
|
6751
|
+
super(t), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().SCISSOR_TEST;
|
|
6747
6752
|
}
|
|
6748
6753
|
getStackLength() {
|
|
6749
6754
|
const t = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6789,13 +6794,13 @@ const gg = new Bt(), mg = [], so = class extends m0 {
|
|
|
6789
6794
|
};
|
|
6790
6795
|
let v0 = so;
|
|
6791
6796
|
v0.extension = {
|
|
6792
|
-
type:
|
|
6797
|
+
type: Le.RendererSystem,
|
|
6793
6798
|
name: "scissor"
|
|
6794
6799
|
};
|
|
6795
|
-
|
|
6800
|
+
je.add(v0);
|
|
6796
6801
|
class _0 extends m0 {
|
|
6797
6802
|
constructor(e) {
|
|
6798
|
-
super(e), this.glConst =
|
|
6803
|
+
super(e), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().STENCIL_TEST;
|
|
6799
6804
|
}
|
|
6800
6805
|
getStackLength() {
|
|
6801
6806
|
const e = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6822,10 +6827,10 @@ class _0 extends m0 {
|
|
|
6822
6827
|
}
|
|
6823
6828
|
}
|
|
6824
6829
|
_0.extension = {
|
|
6825
|
-
type:
|
|
6830
|
+
type: Le.RendererSystem,
|
|
6826
6831
|
name: "stencil"
|
|
6827
6832
|
};
|
|
6828
|
-
|
|
6833
|
+
je.add(_0);
|
|
6829
6834
|
class y0 {
|
|
6830
6835
|
constructor(e) {
|
|
6831
6836
|
this.renderer = e, this.plugins = {}, Object.defineProperties(this.plugins, {
|
|
@@ -6861,12 +6866,12 @@ class y0 {
|
|
|
6861
6866
|
}
|
|
6862
6867
|
y0.extension = {
|
|
6863
6868
|
type: [
|
|
6864
|
-
|
|
6865
|
-
|
|
6869
|
+
Le.RendererSystem,
|
|
6870
|
+
Le.CanvasRendererSystem
|
|
6866
6871
|
],
|
|
6867
6872
|
name: "_plugin"
|
|
6868
6873
|
};
|
|
6869
|
-
|
|
6874
|
+
je.add(y0);
|
|
6870
6875
|
class x0 {
|
|
6871
6876
|
constructor(e) {
|
|
6872
6877
|
this.renderer = e, this.destinationFrame = null, this.sourceFrame = null, this.defaultFrame = null, this.projectionMatrix = new Bt(), this.transform = null;
|
|
@@ -6887,10 +6892,10 @@ class x0 {
|
|
|
6887
6892
|
}
|
|
6888
6893
|
}
|
|
6889
6894
|
x0.extension = {
|
|
6890
|
-
type:
|
|
6895
|
+
type: Le.RendererSystem,
|
|
6891
6896
|
name: "projection"
|
|
6892
6897
|
};
|
|
6893
|
-
|
|
6898
|
+
je.add(x0);
|
|
6894
6899
|
const oP = new lh();
|
|
6895
6900
|
class b0 {
|
|
6896
6901
|
constructor(e) {
|
|
@@ -6918,12 +6923,12 @@ class b0 {
|
|
|
6918
6923
|
}
|
|
6919
6924
|
b0.extension = {
|
|
6920
6925
|
type: [
|
|
6921
|
-
|
|
6922
|
-
|
|
6926
|
+
Le.RendererSystem,
|
|
6927
|
+
Le.CanvasRendererSystem
|
|
6923
6928
|
],
|
|
6924
6929
|
name: "textureGenerator"
|
|
6925
6930
|
};
|
|
6926
|
-
|
|
6931
|
+
je.add(b0);
|
|
6927
6932
|
const Pn = new Ye(), ps = new Ye();
|
|
6928
6933
|
class T0 {
|
|
6929
6934
|
constructor(e) {
|
|
@@ -6956,10 +6961,10 @@ class T0 {
|
|
|
6956
6961
|
}
|
|
6957
6962
|
}
|
|
6958
6963
|
T0.extension = {
|
|
6959
|
-
type:
|
|
6964
|
+
type: Le.RendererSystem,
|
|
6960
6965
|
name: "renderTexture"
|
|
6961
6966
|
};
|
|
6962
|
-
|
|
6967
|
+
je.add(T0);
|
|
6963
6968
|
class uP {
|
|
6964
6969
|
constructor(e, r) {
|
|
6965
6970
|
this.program = e, this.uniformData = r, this.uniformGroups = {}, this.uniformDirtyGroups = {}, this.uniformBufferBindings = {};
|
|
@@ -7255,10 +7260,10 @@ class S0 {
|
|
|
7255
7260
|
}
|
|
7256
7261
|
}
|
|
7257
7262
|
S0.extension = {
|
|
7258
|
-
type:
|
|
7263
|
+
type: Le.RendererSystem,
|
|
7259
7264
|
name: "shader"
|
|
7260
7265
|
};
|
|
7261
|
-
|
|
7266
|
+
je.add(S0);
|
|
7262
7267
|
class Go {
|
|
7263
7268
|
constructor(e) {
|
|
7264
7269
|
this.renderer = e;
|
|
@@ -7275,18 +7280,18 @@ Go.defaultOptions = {
|
|
|
7275
7280
|
};
|
|
7276
7281
|
Go.extension = {
|
|
7277
7282
|
type: [
|
|
7278
|
-
|
|
7279
|
-
|
|
7283
|
+
Le.RendererSystem,
|
|
7284
|
+
Le.CanvasRendererSystem
|
|
7280
7285
|
],
|
|
7281
7286
|
name: "startup"
|
|
7282
7287
|
};
|
|
7283
|
-
|
|
7288
|
+
je.add(Go);
|
|
7284
7289
|
function _P(t, e = []) {
|
|
7285
|
-
return e[
|
|
7290
|
+
return e[fe.NORMAL] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.ADD] = [t.ONE, t.ONE], e[fe.MULTIPLY] = [t.DST_COLOR, t.ONE_MINUS_SRC_ALPHA, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.SCREEN] = [t.ONE, t.ONE_MINUS_SRC_COLOR, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.OVERLAY] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.DARKEN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.LIGHTEN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.COLOR_DODGE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.COLOR_BURN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.HARD_LIGHT] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.SOFT_LIGHT] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.DIFFERENCE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.EXCLUSION] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.HUE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.SATURATION] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.COLOR] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.LUMINOSITY] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.NONE] = [0, 0], e[fe.NORMAL_NPM] = [t.SRC_ALPHA, t.ONE_MINUS_SRC_ALPHA, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.ADD_NPM] = [t.SRC_ALPHA, t.ONE, t.ONE, t.ONE], e[fe.SCREEN_NPM] = [t.SRC_ALPHA, t.ONE_MINUS_SRC_COLOR, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[fe.SRC_IN] = [t.DST_ALPHA, t.ZERO], e[fe.SRC_OUT] = [t.ONE_MINUS_DST_ALPHA, t.ZERO], e[fe.SRC_ATOP] = [t.DST_ALPHA, t.ONE_MINUS_SRC_ALPHA], e[fe.DST_OVER] = [t.ONE_MINUS_DST_ALPHA, t.ONE], e[fe.DST_IN] = [t.ZERO, t.SRC_ALPHA], e[fe.DST_OUT] = [t.ZERO, t.ONE_MINUS_SRC_ALPHA], e[fe.DST_ATOP] = [t.ONE_MINUS_DST_ALPHA, t.SRC_ALPHA], e[fe.XOR] = [t.ONE_MINUS_DST_ALPHA, t.ONE_MINUS_SRC_ALPHA], e[fe.SUBTRACT] = [t.ONE, t.ONE, t.ONE, t.ONE, t.FUNC_REVERSE_SUBTRACT, t.FUNC_ADD], e;
|
|
7286
7291
|
}
|
|
7287
7292
|
const yP = 0, xP = 1, bP = 2, TP = 3, wP = 4, SP = 5, Fc = class {
|
|
7288
7293
|
constructor() {
|
|
7289
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
7294
|
+
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode = fe.NONE, this._blendEq = !1, this.map = [], this.map[yP] = this.setBlend, this.map[xP] = this.setOffset, this.map[bP] = this.setCullFace, this.map[TP] = this.setDepthTest, this.map[wP] = this.setFrontFace, this.map[SP] = this.setDepthMask, this.checks = [], this.defaultState = new Do(), this.defaultState.blend = !0;
|
|
7290
7295
|
}
|
|
7291
7296
|
contextChange(t) {
|
|
7292
7297
|
this.gl = t, this.blendModes = _P(t), this.set(this.defaultState), this.reset();
|
|
@@ -7356,10 +7361,10 @@ const yP = 0, xP = 1, bP = 2, TP = 3, wP = 4, SP = 5, Fc = class {
|
|
|
7356
7361
|
};
|
|
7357
7362
|
let A0 = Fc;
|
|
7358
7363
|
A0.extension = {
|
|
7359
|
-
type:
|
|
7364
|
+
type: Le.RendererSystem,
|
|
7360
7365
|
name: "state"
|
|
7361
7366
|
};
|
|
7362
|
-
|
|
7367
|
+
je.add(A0);
|
|
7363
7368
|
class AP extends Oo {
|
|
7364
7369
|
constructor() {
|
|
7365
7370
|
super(...arguments), this.runners = {}, this._systemsHash = {};
|
|
@@ -7436,10 +7441,10 @@ br.defaultMode = Yc.AUTO;
|
|
|
7436
7441
|
br.defaultMaxIdle = 60 * 60;
|
|
7437
7442
|
br.defaultCheckCountMax = 60 * 10;
|
|
7438
7443
|
br.extension = {
|
|
7439
|
-
type:
|
|
7444
|
+
type: Le.RendererSystem,
|
|
7440
7445
|
name: "textureGC"
|
|
7441
7446
|
};
|
|
7442
|
-
|
|
7447
|
+
je.add(br);
|
|
7443
7448
|
class ql {
|
|
7444
7449
|
constructor(e) {
|
|
7445
7450
|
this.texture = e, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type = Ue.UNSIGNED_BYTE, this.internalFormat = K.RGBA, this.samplerType = 0;
|
|
@@ -7658,10 +7663,10 @@ class E0 {
|
|
|
7658
7663
|
}
|
|
7659
7664
|
}
|
|
7660
7665
|
E0.extension = {
|
|
7661
|
-
type:
|
|
7666
|
+
type: Le.RendererSystem,
|
|
7662
7667
|
name: "texture"
|
|
7663
7668
|
};
|
|
7664
|
-
|
|
7669
|
+
je.add(E0);
|
|
7665
7670
|
class C0 {
|
|
7666
7671
|
constructor(e) {
|
|
7667
7672
|
this.renderer = e;
|
|
@@ -7713,16 +7718,16 @@ class C0 {
|
|
|
7713
7718
|
}
|
|
7714
7719
|
}
|
|
7715
7720
|
C0.extension = {
|
|
7716
|
-
type:
|
|
7721
|
+
type: Le.RendererSystem,
|
|
7717
7722
|
name: "transformFeedback"
|
|
7718
7723
|
};
|
|
7719
|
-
|
|
7724
|
+
je.add(C0);
|
|
7720
7725
|
class Ho {
|
|
7721
7726
|
constructor(e) {
|
|
7722
7727
|
this.renderer = e;
|
|
7723
7728
|
}
|
|
7724
7729
|
init(e) {
|
|
7725
|
-
this.screen = new Ye(0, 0, e.width, e.height), this.element = e.view ||
|
|
7730
|
+
this.screen = new Ye(0, 0, e.width, e.height), this.element = e.view || Pe.ADAPTER.createCanvas(), this.resolution = e.resolution || Pe.RESOLUTION, this.autoDensity = !!e.autoDensity;
|
|
7726
7731
|
}
|
|
7727
7732
|
resizeView(e, r) {
|
|
7728
7733
|
this.element.width = Math.round(e * this.resolution), this.element.height = Math.round(r * this.resolution);
|
|
@@ -7737,26 +7742,26 @@ class Ho {
|
|
|
7737
7742
|
Ho.defaultOptions = {
|
|
7738
7743
|
width: 800,
|
|
7739
7744
|
height: 600,
|
|
7740
|
-
resolution:
|
|
7745
|
+
resolution: Pe.RESOLUTION,
|
|
7741
7746
|
autoDensity: !1
|
|
7742
7747
|
};
|
|
7743
7748
|
Ho.extension = {
|
|
7744
7749
|
type: [
|
|
7745
|
-
|
|
7746
|
-
|
|
7750
|
+
Le.RendererSystem,
|
|
7751
|
+
Le.CanvasRendererSystem
|
|
7747
7752
|
],
|
|
7748
7753
|
name: "_view"
|
|
7749
7754
|
};
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7755
|
+
je.add(Ho);
|
|
7756
|
+
Pe.PREFER_ENV = Yn.WEBGL2;
|
|
7757
|
+
Pe.STRICT_TEXTURE_CACHE = !1;
|
|
7758
|
+
Pe.RENDER_OPTIONS = {
|
|
7754
7759
|
...Uo.defaultOptions,
|
|
7755
7760
|
...Bo.defaultOptions,
|
|
7756
7761
|
...Ho.defaultOptions,
|
|
7757
7762
|
...Go.defaultOptions
|
|
7758
7763
|
};
|
|
7759
|
-
Object.defineProperties(
|
|
7764
|
+
Object.defineProperties(Pe, {
|
|
7760
7765
|
WRAP_MODE: {
|
|
7761
7766
|
get() {
|
|
7762
7767
|
return $e.defaultOptions.wrapMode;
|
|
@@ -7791,18 +7796,18 @@ Object.defineProperties(Re, {
|
|
|
7791
7796
|
},
|
|
7792
7797
|
FILTER_RESOLUTION: {
|
|
7793
7798
|
get() {
|
|
7794
|
-
return ke("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"),
|
|
7799
|
+
return ke("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"), Xe.defaultResolution;
|
|
7795
7800
|
},
|
|
7796
7801
|
set(t) {
|
|
7797
|
-
|
|
7802
|
+
Xe.defaultResolution = t;
|
|
7798
7803
|
}
|
|
7799
7804
|
},
|
|
7800
7805
|
FILTER_MULTISAMPLE: {
|
|
7801
7806
|
get() {
|
|
7802
|
-
return ke("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"),
|
|
7807
|
+
return ke("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"), Xe.defaultMultisample;
|
|
7803
7808
|
},
|
|
7804
7809
|
set(t) {
|
|
7805
|
-
|
|
7810
|
+
Xe.defaultMultisample = t;
|
|
7806
7811
|
}
|
|
7807
7812
|
},
|
|
7808
7813
|
SPRITE_MAX_TEXTURES: {
|
|
@@ -8015,7 +8020,7 @@ const Qt = class {
|
|
|
8015
8020
|
};
|
|
8016
8021
|
let Tr = Qt;
|
|
8017
8022
|
Tr.targetFPMS = 0.06;
|
|
8018
|
-
Object.defineProperties(
|
|
8023
|
+
Object.defineProperties(Pe, {
|
|
8019
8024
|
TARGET_FPMS: {
|
|
8020
8025
|
get() {
|
|
8021
8026
|
return Tr.targetFPMS;
|
|
@@ -8050,10 +8055,10 @@ class I0 {
|
|
|
8050
8055
|
}
|
|
8051
8056
|
}
|
|
8052
8057
|
}
|
|
8053
|
-
I0.extension =
|
|
8054
|
-
|
|
8058
|
+
I0.extension = Le.Application;
|
|
8059
|
+
je.add(I0);
|
|
8055
8060
|
const CP = [];
|
|
8056
|
-
|
|
8061
|
+
je.handleByList(Le.Renderer, CP);
|
|
8057
8062
|
class R0 {
|
|
8058
8063
|
constructor(e) {
|
|
8059
8064
|
this.renderer = e;
|
|
@@ -8073,10 +8078,10 @@ class R0 {
|
|
|
8073
8078
|
}
|
|
8074
8079
|
}
|
|
8075
8080
|
R0.extension = {
|
|
8076
|
-
type:
|
|
8081
|
+
type: Le.RendererSystem,
|
|
8077
8082
|
name: "_multisample"
|
|
8078
8083
|
};
|
|
8079
|
-
|
|
8084
|
+
je.add(R0);
|
|
8080
8085
|
class IP {
|
|
8081
8086
|
constructor(e) {
|
|
8082
8087
|
this.buffer = e || null, this.updateID = -1, this.byteLength = -1, this.refCount = 0;
|
|
@@ -8141,10 +8146,10 @@ class P0 {
|
|
|
8141
8146
|
}
|
|
8142
8147
|
}
|
|
8143
8148
|
P0.extension = {
|
|
8144
|
-
type:
|
|
8149
|
+
type: Le.RendererSystem,
|
|
8145
8150
|
name: "buffer"
|
|
8146
8151
|
};
|
|
8147
|
-
|
|
8152
|
+
je.add(P0);
|
|
8148
8153
|
class M0 {
|
|
8149
8154
|
constructor(e) {
|
|
8150
8155
|
this.renderer = e;
|
|
@@ -8165,13 +8170,13 @@ class M0 {
|
|
|
8165
8170
|
}
|
|
8166
8171
|
}
|
|
8167
8172
|
M0.extension = {
|
|
8168
|
-
type:
|
|
8173
|
+
type: Le.RendererSystem,
|
|
8169
8174
|
name: "objectRenderer"
|
|
8170
8175
|
};
|
|
8171
|
-
|
|
8176
|
+
je.add(M0);
|
|
8172
8177
|
const Nc = class extends AP {
|
|
8173
8178
|
constructor(t) {
|
|
8174
|
-
super(), this.type = Em.WEBGL, t = Object.assign({},
|
|
8179
|
+
super(), this.type = Em.WEBGL, t = Object.assign({}, Pe.RENDER_OPTIONS, t), this.gl = null, this.CONTEXT_UID = 0, this.globalUniforms = new Er({
|
|
8175
8180
|
projectionMatrix: new Bt()
|
|
8176
8181
|
}, !0);
|
|
8177
8182
|
const e = {
|
|
@@ -8300,14 +8305,14 @@ const Nc = class extends AP {
|
|
|
8300
8305
|
};
|
|
8301
8306
|
let Vi = Nc;
|
|
8302
8307
|
Vi.extension = {
|
|
8303
|
-
type:
|
|
8308
|
+
type: Le.Renderer,
|
|
8304
8309
|
priority: 1
|
|
8305
8310
|
};
|
|
8306
8311
|
Vi.__plugins = {};
|
|
8307
8312
|
Vi.__systems = {};
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8313
|
+
je.handleByMap(Le.RendererPlugin, Vi.__plugins);
|
|
8314
|
+
je.handleByMap(Le.RendererSystem, Vi.__systems);
|
|
8315
|
+
je.add(Vi);
|
|
8311
8316
|
class O0 extends Ns {
|
|
8312
8317
|
constructor(e, r) {
|
|
8313
8318
|
const { width: n, height: i } = r || {};
|
|
@@ -8441,7 +8446,7 @@ class Ei extends gn {
|
|
|
8441
8446
|
return;
|
|
8442
8447
|
}
|
|
8443
8448
|
try {
|
|
8444
|
-
const n = await
|
|
8449
|
+
const n = await Pe.ADAPTER.fetch(this.url, {
|
|
8445
8450
|
mode: this.crossOrigin ? "cors" : "no-cors"
|
|
8446
8451
|
});
|
|
8447
8452
|
if (this.destroyed)
|
|
@@ -8472,12 +8477,12 @@ class Ei extends gn {
|
|
|
8472
8477
|
return !!globalThis.createImageBitmap && typeof ImageBitmap < "u" && (typeof e == "string" || e instanceof ImageBitmap);
|
|
8473
8478
|
}
|
|
8474
8479
|
static get EMPTY() {
|
|
8475
|
-
return Ei._EMPTY = Ei._EMPTY ??
|
|
8480
|
+
return Ei._EMPTY = Ei._EMPTY ?? Pe.ADAPTER.createCanvas(0, 0), Ei._EMPTY;
|
|
8476
8481
|
}
|
|
8477
8482
|
}
|
|
8478
8483
|
const oo = class extends gn {
|
|
8479
8484
|
constructor(t, e) {
|
|
8480
|
-
e = e || {}, super(
|
|
8485
|
+
e = e || {}, super(Pe.ADAPTER.createCanvas()), this._width = 0, this._height = 0, this.svg = t, this.scale = e.scale || 1, this._overrideWidth = e.width, this._overrideHeight = e.height, this._resolve = null, this._crossorigin = e.crossorigin, this._load = null, e.autoLoad !== !1 && this.load();
|
|
8481
8486
|
}
|
|
8482
8487
|
load() {
|
|
8483
8488
|
return this._load ? this._load : (this._load = new Promise((t) => {
|
|
@@ -8647,7 +8652,7 @@ void main(void)
|
|
|
8647
8652
|
gl_FragColor = c * alpha;
|
|
8648
8653
|
}
|
|
8649
8654
|
`;
|
|
8650
|
-
let FP = class extends
|
|
8655
|
+
let FP = class extends Xe {
|
|
8651
8656
|
constructor(e) {
|
|
8652
8657
|
super(MP, OP), this.gamma = 1, this.saturation = 1, this.contrast = 1, this.brightness = 1, this.red = 1, this.green = 1, this.blue = 1, this.alpha = 1, Object.assign(this, e);
|
|
8653
8658
|
}
|
|
@@ -8721,7 +8726,7 @@ void main(void)
|
|
|
8721
8726
|
gl_FragColor = color;
|
|
8722
8727
|
}
|
|
8723
8728
|
`;
|
|
8724
|
-
let ks = class extends
|
|
8729
|
+
let ks = class extends Xe {
|
|
8725
8730
|
constructor(e = 4, r = 3, n = !1) {
|
|
8726
8731
|
super(NP, n ? kP : LP), this._kernels = [], this._blur = 4, this._quality = 3, this.uniforms.uOffset = new Float32Array(2), this._pixelSize = new Je(), this.pixelSize = 1, this._clamp = n, Array.isArray(e) ? this.kernels = e : (this._blur = e, this.quality = r);
|
|
8727
8732
|
}
|
|
@@ -8813,7 +8818,7 @@ void main() {
|
|
|
8813
8818
|
}
|
|
8814
8819
|
}
|
|
8815
8820
|
`;
|
|
8816
|
-
let BP = class extends
|
|
8821
|
+
let BP = class extends Xe {
|
|
8817
8822
|
constructor(e = 0.5) {
|
|
8818
8823
|
super(N0, DP), this.threshold = e;
|
|
8819
8824
|
}
|
|
@@ -8839,9 +8844,9 @@ void main() {
|
|
|
8839
8844
|
gl_FragColor = color + bloomColor;
|
|
8840
8845
|
}
|
|
8841
8846
|
`;
|
|
8842
|
-
const L0 = class extends
|
|
8847
|
+
const L0 = class extends Xe {
|
|
8843
8848
|
constructor(e) {
|
|
8844
|
-
super(N0, UP), this.bloomScale = 1, this.brightness = 1, this._resolution =
|
|
8849
|
+
super(N0, UP), this.bloomScale = 1, this.brightness = 1, this._resolution = Pe.FILTER_RESOLUTION, typeof e == "number" && (e = { threshold: e });
|
|
8845
8850
|
const r = Object.assign(L0.defaults, e);
|
|
8846
8851
|
this.bloomScale = r.bloomScale, this.brightness = r.brightness;
|
|
8847
8852
|
const { kernels: n, blur: i, quality: a, pixelSize: u, resolution: l } = r;
|
|
@@ -8891,7 +8896,7 @@ const L0 = class extends Ve {
|
|
|
8891
8896
|
}
|
|
8892
8897
|
};
|
|
8893
8898
|
let $P = L0;
|
|
8894
|
-
$P.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution:
|
|
8899
|
+
$P.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution: Pe.FILTER_RESOLUTION };
|
|
8895
8900
|
var GP = `attribute vec2 aVertexPosition;
|
|
8896
8901
|
attribute vec2 aTextureCoord;
|
|
8897
8902
|
|
|
@@ -8937,7 +8942,7 @@ void main()
|
|
|
8937
8942
|
gl_FragColor = color;
|
|
8938
8943
|
}
|
|
8939
8944
|
`;
|
|
8940
|
-
const k0 = class extends
|
|
8945
|
+
const k0 = class extends Xe {
|
|
8941
8946
|
constructor(e) {
|
|
8942
8947
|
super(GP, HP), this.uniforms.dimensions = new Float32Array(2), Object.assign(this, k0.defaults, e);
|
|
8943
8948
|
}
|
|
@@ -9196,17 +9201,17 @@ Kn.parse = function() {
|
|
|
9196
9201
|
function a() {
|
|
9197
9202
|
return u("linear-gradient", t.linearGradient, h) || u("repeating-linear-gradient", t.repeatingLinearGradient, h) || u("radial-gradient", t.radialGradient, c) || u("repeating-radial-gradient", t.repeatingRadialGradient, c);
|
|
9198
9203
|
}
|
|
9199
|
-
function u(H, Q,
|
|
9204
|
+
function u(H, Q, de) {
|
|
9200
9205
|
return l(Q, function(W) {
|
|
9201
|
-
var j =
|
|
9206
|
+
var j = de();
|
|
9202
9207
|
return j && (ie(t.comma) || r("Missing comma before color stops")), { type: H, orientation: j, colorStops: w(I) };
|
|
9203
9208
|
});
|
|
9204
9209
|
}
|
|
9205
9210
|
function l(H, Q) {
|
|
9206
|
-
var
|
|
9207
|
-
if (
|
|
9211
|
+
var de = ie(H);
|
|
9212
|
+
if (de) {
|
|
9208
9213
|
ie(t.startCall) || r("Missing (");
|
|
9209
|
-
var W = Q(
|
|
9214
|
+
var W = Q(de);
|
|
9210
9215
|
return ie(t.endCall) || r("Missing )"), W;
|
|
9211
9216
|
}
|
|
9212
9217
|
}
|
|
@@ -9220,8 +9225,8 @@ Kn.parse = function() {
|
|
|
9220
9225
|
return G("angular", t.angleValue, 1);
|
|
9221
9226
|
}
|
|
9222
9227
|
function c() {
|
|
9223
|
-
var H, Q = d(),
|
|
9224
|
-
return Q && (H = [], H.push(Q),
|
|
9228
|
+
var H, Q = d(), de;
|
|
9229
|
+
return Q && (H = [], H.push(Q), de = e, ie(t.comma) && (Q = d(), Q ? H.push(Q) : e = de)), H;
|
|
9225
9230
|
}
|
|
9226
9231
|
function d() {
|
|
9227
9232
|
var H = g() || _();
|
|
@@ -9231,8 +9236,8 @@ Kn.parse = function() {
|
|
|
9231
9236
|
var Q = y();
|
|
9232
9237
|
if (Q) {
|
|
9233
9238
|
H = Q;
|
|
9234
|
-
var
|
|
9235
|
-
|
|
9239
|
+
var de = b();
|
|
9240
|
+
de && (H.at = de);
|
|
9236
9241
|
} else {
|
|
9237
9242
|
var W = x();
|
|
9238
9243
|
W && (H = { type: "default-radial", at: W });
|
|
@@ -9266,11 +9271,11 @@ Kn.parse = function() {
|
|
|
9266
9271
|
return { x: Y(), y: Y() };
|
|
9267
9272
|
}
|
|
9268
9273
|
function w(H) {
|
|
9269
|
-
var Q = H(),
|
|
9274
|
+
var Q = H(), de = [];
|
|
9270
9275
|
if (Q)
|
|
9271
|
-
for (
|
|
9272
|
-
Q = H(), Q ?
|
|
9273
|
-
return
|
|
9276
|
+
for (de.push(Q); ie(t.comma); )
|
|
9277
|
+
Q = H(), Q ? de.push(Q) : r("One extra comma");
|
|
9278
|
+
return de;
|
|
9274
9279
|
}
|
|
9275
9280
|
function I() {
|
|
9276
9281
|
var H = O();
|
|
@@ -9307,14 +9312,14 @@ Kn.parse = function() {
|
|
|
9307
9312
|
function X() {
|
|
9308
9313
|
return G("px", t.pixelValue, 1) || G("em", t.emValue, 1);
|
|
9309
9314
|
}
|
|
9310
|
-
function G(H, Q,
|
|
9315
|
+
function G(H, Q, de) {
|
|
9311
9316
|
var W = ie(Q);
|
|
9312
9317
|
if (W)
|
|
9313
|
-
return { type: H, value: W[
|
|
9318
|
+
return { type: H, value: W[de] };
|
|
9314
9319
|
}
|
|
9315
9320
|
function ie(H) {
|
|
9316
|
-
var Q,
|
|
9317
|
-
return
|
|
9321
|
+
var Q, de;
|
|
9322
|
+
return de = /^[\n\r\t\s]+/.exec(e), de && re(de[0].length), Q = H.exec(e), Q && re(Q[0].length), Q;
|
|
9318
9323
|
}
|
|
9319
9324
|
function re(H) {
|
|
9320
9325
|
e = e.substr(H);
|
|
@@ -9500,7 +9505,7 @@ const bg = 90;
|
|
|
9500
9505
|
function fM(t) {
|
|
9501
9506
|
return [...t].sort((e, r) => e.offset - r.offset);
|
|
9502
9507
|
}
|
|
9503
|
-
const fh = class extends
|
|
9508
|
+
const fh = class extends Xe {
|
|
9504
9509
|
constructor(e) {
|
|
9505
9510
|
e && "css" in e && (e = hM(Zl({}, KP(e.css || "")), { alpha: e.alpha, maxColors: e.maxColors }));
|
|
9506
9511
|
const r = Zl(Zl({}, fh.defaults), e);
|
|
@@ -9587,7 +9592,7 @@ void main(void)
|
|
|
9587
9592
|
gl_FragColor.a = c22.a;
|
|
9588
9593
|
}
|
|
9589
9594
|
`;
|
|
9590
|
-
let gM = class extends
|
|
9595
|
+
let gM = class extends Xe {
|
|
9591
9596
|
constructor(e, r = 200, n = 200) {
|
|
9592
9597
|
super(dM, pM), this.uniforms.texelSize = new Float32Array(2), this.uniforms.matrix = new Float32Array(9), e !== void 0 && (this.matrix = e), this.width = r, this.height = n;
|
|
9593
9598
|
}
|
|
@@ -9690,7 +9695,7 @@ void main(void)
|
|
|
9690
9695
|
gl_FragColor.rgb = rgb;
|
|
9691
9696
|
}
|
|
9692
9697
|
`;
|
|
9693
|
-
const B0 = class extends
|
|
9698
|
+
const B0 = class extends Xe {
|
|
9694
9699
|
constructor(e) {
|
|
9695
9700
|
super(mM, vM), this.time = 0, this.seed = 0, this.uniforms.dimensions = new Float32Array(2), Object.assign(this, B0.defaults, e);
|
|
9696
9701
|
}
|
|
@@ -9792,11 +9797,11 @@ void main(void){
|
|
|
9792
9797
|
wM.call(e, r) && wg(t, r, e[r]);
|
|
9793
9798
|
return t;
|
|
9794
9799
|
};
|
|
9795
|
-
const Dc = class extends
|
|
9800
|
+
const Dc = class extends Xe {
|
|
9796
9801
|
constructor(e) {
|
|
9797
|
-
super(), this.angle = 45, this._distance = 5, this._resolution =
|
|
9802
|
+
super(), this.angle = 45, this._distance = 5, this._resolution = Pe.FILTER_RESOLUTION;
|
|
9798
9803
|
const r = e ? Sg(Sg({}, Dc.defaults), e) : Dc.defaults, { kernels: n, blur: i, quality: a, pixelSize: u, resolution: l } = r;
|
|
9799
|
-
this._offset = new $n(this._updatePadding, this), this._tintFilter = new
|
|
9804
|
+
this._offset = new $n(this._updatePadding, this), this._tintFilter = new Xe(yM, xM), this._tintFilter.uniforms.color = new Float32Array(4), this._tintFilter.uniforms.shift = this._offset, this._tintFilter.resolution = l, this._blurFilter = n ? new ks(n) : new ks(i, a), this.pixelSize = u, this.resolution = l;
|
|
9800
9805
|
const { shadowOnly: h, rotation: p, distance: m, offset: c, alpha: d, color: g } = r;
|
|
9801
9806
|
this.shadowOnly = h, p !== void 0 && m !== void 0 ? (this.rotation = p, this.distance = m) : this.offset = c, this.alpha = d, this.color = g;
|
|
9802
9807
|
}
|
|
@@ -9873,7 +9878,7 @@ const Dc = class extends Ve {
|
|
|
9873
9878
|
}
|
|
9874
9879
|
};
|
|
9875
9880
|
let SM = Dc;
|
|
9876
|
-
SM.defaults = { offset: { x: 4, y: 4 }, color: 0, alpha: 0.5, shadowOnly: !1, kernels: null, blur: 2, quality: 3, pixelSize: 1, resolution:
|
|
9881
|
+
SM.defaults = { offset: { x: 4, y: 4 }, color: 0, alpha: 0.5, shadowOnly: !1, kernels: null, blur: 2, quality: 3, pixelSize: 1, resolution: Pe.FILTER_RESOLUTION };
|
|
9877
9882
|
var AM = `attribute vec2 aVertexPosition;
|
|
9878
9883
|
attribute vec2 aTextureCoord;
|
|
9879
9884
|
|
|
@@ -9982,9 +9987,9 @@ void main(void)
|
|
|
9982
9987
|
gl_FragColor.a = texture2D(uSampler, coord).a;
|
|
9983
9988
|
}
|
|
9984
9989
|
`;
|
|
9985
|
-
const Bc = class extends
|
|
9990
|
+
const Bc = class extends Xe {
|
|
9986
9991
|
constructor(e) {
|
|
9987
|
-
super(AM, EM), this.offset = 100, this.fillMode = Bc.TRANSPARENT, this.average = !1, this.seed = 0, this.minSize = 8, this.sampleSize = 512, this._slices = 0, this._offsets = new Float32Array(1), this._sizes = new Float32Array(1), this._direction = -1, this.uniforms.dimensions = new Float32Array(2), this._canvas = document.createElement("canvas"), this._canvas.width = 4, this._canvas.height = this.sampleSize, this.texture =
|
|
9992
|
+
super(AM, EM), this.offset = 100, this.fillMode = Bc.TRANSPARENT, this.average = !1, this.seed = 0, this.minSize = 8, this.sampleSize = 512, this._slices = 0, this._offsets = new Float32Array(1), this._sizes = new Float32Array(1), this._direction = -1, this.uniforms.dimensions = new Float32Array(2), this._canvas = document.createElement("canvas"), this._canvas.width = 4, this._canvas.height = this.sampleSize, this.texture = De.from(this._canvas, { scaleMode: Lr.NEAREST }), Object.assign(this, Bc.defaults, e);
|
|
9988
9993
|
}
|
|
9989
9994
|
apply(e, r, n, i) {
|
|
9990
9995
|
const { width: a, height: u } = r.filterFrame;
|
|
@@ -10171,7 +10176,7 @@ void main(void) {
|
|
|
10171
10176
|
}
|
|
10172
10177
|
}
|
|
10173
10178
|
`;
|
|
10174
|
-
const U0 = class extends
|
|
10179
|
+
const U0 = class extends Xe {
|
|
10175
10180
|
constructor(t) {
|
|
10176
10181
|
const e = Object.assign({}, U0.defaults, t), { outerStrength: r, innerStrength: n, color: i, knockout: a, quality: u, alpha: l } = e, h = Math.round(e.distance);
|
|
10177
10182
|
super(CM, IM.replace(/__ANGLE_STEP_SIZE__/gi, `${(1 / u / h).toFixed(7)}`).replace(/__DIST__/gi, `${h.toFixed(0)}.0`)), this.uniforms.glowColor = new Float32Array([0, 0, 0, 1]), this.uniforms.alpha = 1, Object.assign(this, { color: i, outerStrength: r, innerStrength: n, padding: h, knockout: a, alpha: l });
|
|
@@ -10361,7 +10366,7 @@ void main(void) {
|
|
|
10361
10366
|
|
|
10362
10367
|
}
|
|
10363
10368
|
`;
|
|
10364
|
-
const $0 = class extends
|
|
10369
|
+
const $0 = class extends Xe {
|
|
10365
10370
|
constructor(e) {
|
|
10366
10371
|
super(PM, OM.replace("${perlin}", MM)), this.parallel = !0, this.time = 0, this._angle = 0, this.uniforms.dimensions = new Float32Array(2);
|
|
10367
10372
|
const r = Object.assign($0.defaults, e);
|
|
@@ -10470,7 +10475,7 @@ void main()
|
|
|
10470
10475
|
gl_FragColor = mix(color, result, uAlpha);
|
|
10471
10476
|
}
|
|
10472
10477
|
`;
|
|
10473
|
-
const G0 = class extends
|
|
10478
|
+
const G0 = class extends Xe {
|
|
10474
10479
|
constructor(t) {
|
|
10475
10480
|
super(NM, LM), this._hue = 0;
|
|
10476
10481
|
const e = Object.assign({}, G0.defaults, t);
|
|
@@ -10625,7 +10630,7 @@ void main()
|
|
|
10625
10630
|
gl_FragColor.rgb = color;
|
|
10626
10631
|
}
|
|
10627
10632
|
`;
|
|
10628
|
-
const H0 = class extends
|
|
10633
|
+
const H0 = class extends Xe {
|
|
10629
10634
|
constructor(e, r = 0) {
|
|
10630
10635
|
super(DM, BM), this.seed = 0, this.uniforms.dimensions = new Float32Array(2), typeof e == "number" ? (this.seed = e, e = void 0) : this.seed = r, Object.assign(this, H0.defaults, e);
|
|
10631
10636
|
}
|
|
@@ -10740,7 +10745,7 @@ void main(void) {
|
|
|
10740
10745
|
gl_FragColor = contentColor + outlineColor;
|
|
10741
10746
|
}
|
|
10742
10747
|
`;
|
|
10743
|
-
const uo = class extends
|
|
10748
|
+
const uo = class extends Xe {
|
|
10744
10749
|
constructor(e = 1, r = 0, n = 0.1, i = 1, a = !1) {
|
|
10745
10750
|
super(UM, $M.replace(/\$\{angleStep\}/, uo.getAngleStep(n))), this._thickness = 1, this._alpha = 1, this._knockout = !1, this.uniforms.uThickness = new Float32Array([0, 0]), this.uniforms.uColor = new Float32Array([0, 0, 0, 1]), this.uniforms.uAlpha = i, this.uniforms.uKnockout = a, Object.assign(this, { thickness: e, color: r, quality: n, alpha: i, knockout: a });
|
|
10746
10751
|
}
|
|
@@ -10834,7 +10839,7 @@ void main(void)
|
|
|
10834
10839
|
gl_FragColor = color * _alpha;
|
|
10835
10840
|
}
|
|
10836
10841
|
`;
|
|
10837
|
-
const V0 = class extends
|
|
10842
|
+
const V0 = class extends Xe {
|
|
10838
10843
|
constructor(e) {
|
|
10839
10844
|
super(GM, HM), this.time = 0, this.uniforms.amplitude = new Float32Array(2), this.uniforms.waveLength = new Float32Array(2), this.uniforms.alpha = new Float32Array(2), this.uniforms.dimensions = new Float32Array(2), Object.assign(this, V0.defaults, e);
|
|
10840
10845
|
}
|
|
@@ -10956,7 +10961,7 @@ void main()
|
|
|
10956
10961
|
gl_FragColor = color;
|
|
10957
10962
|
}
|
|
10958
10963
|
`;
|
|
10959
|
-
const X0 = class extends
|
|
10964
|
+
const X0 = class extends Xe {
|
|
10960
10965
|
constructor(e = [0, 0], r, n = 0) {
|
|
10961
10966
|
super(VM, XM), this.center = e, Object.assign(this, X0.defaults, r), this.time = n;
|
|
10962
10967
|
}
|
|
@@ -11053,7 +11058,7 @@ void main(void)
|
|
|
11053
11058
|
gl_FragColor = color;
|
|
11054
11059
|
}
|
|
11055
11060
|
`;
|
|
11056
|
-
let W0 = class extends
|
|
11061
|
+
let W0 = class extends Xe {
|
|
11057
11062
|
constructor(e) {
|
|
11058
11063
|
var r, n;
|
|
11059
11064
|
super(jM, qM), this.uniforms.blur = e.blur, this.uniforms.gradientBlur = e.gradientBlur, this.uniforms.start = (r = e.start) != null ? r : new Je(0, window.innerHeight / 2), this.uniforms.end = (n = e.end) != null ? n : new Je(600, window.innerHeight / 2), this.uniforms.delta = new Je(30, 30), this.uniforms.texSize = new Je(window.innerWidth, window.innerHeight), this.updateDelta();
|
|
@@ -11096,7 +11101,7 @@ let W0 = class extends Ve {
|
|
|
11096
11101
|
this.uniforms.delta.x = -r / n, this.uniforms.delta.y = e / n;
|
|
11097
11102
|
}
|
|
11098
11103
|
};
|
|
11099
|
-
const j0 = class extends
|
|
11104
|
+
const j0 = class extends Xe {
|
|
11100
11105
|
constructor(e, r, n, i) {
|
|
11101
11106
|
super(), typeof e == "number" && (ke("5.3.0", "TiltShiftFilter constructor arguments is deprecated, use options."), e = { blur: e, gradientBlur: r, start: n, end: i }), e = Object.assign({}, j0.defaults, e), this.tiltShiftXFilter = new YM(e), this.tiltShiftYFilter = new KM(e);
|
|
11102
11107
|
}
|
|
@@ -11199,7 +11204,7 @@ void main(void)
|
|
|
11199
11204
|
|
|
11200
11205
|
}
|
|
11201
11206
|
`;
|
|
11202
|
-
const q0 = class extends
|
|
11207
|
+
const q0 = class extends Xe {
|
|
11203
11208
|
constructor(t) {
|
|
11204
11209
|
super(QM, JM), Object.assign(this, q0.defaults, t);
|
|
11205
11210
|
}
|
|
@@ -11330,7 +11335,7 @@ void main() {
|
|
|
11330
11335
|
e.indexOf(n) < 0 && iO.call(t, n) && (r[n] = t[n]);
|
|
11331
11336
|
return r;
|
|
11332
11337
|
};
|
|
11333
|
-
const Y0 = class extends
|
|
11338
|
+
const Y0 = class extends Xe {
|
|
11334
11339
|
constructor(t) {
|
|
11335
11340
|
const e = Object.assign(Y0.defaults, t), { maxKernelSize: r } = e, n = sO(e, ["maxKernelSize"]);
|
|
11336
11341
|
super(tO, rO.replace("${maxKernelSize}", r.toFixed(1))), Object.assign(this, n);
|
|
@@ -11484,7 +11489,7 @@ const Zn = (t) => {
|
|
|
11484
11489
|
vignetteFilter: r
|
|
11485
11490
|
};
|
|
11486
11491
|
}, uO = te.forwardRef((t, e) => {
|
|
11487
|
-
const r =
|
|
11492
|
+
const r = me(null), n = me(null), {
|
|
11488
11493
|
src: i,
|
|
11489
11494
|
visible: a,
|
|
11490
11495
|
disabled: u,
|
|
@@ -11515,7 +11520,7 @@ const Zn = (t) => {
|
|
|
11515
11520
|
} = Zn(d), { nightVisionFilter: D } = oO();
|
|
11516
11521
|
return te.useEffect(() => (console.log("PixiImageSprite mounting"), () => {
|
|
11517
11522
|
console.log("PixiImageSprite unmounting");
|
|
11518
|
-
}), []), console.log("imageRef", r.current), /* @__PURE__ */
|
|
11523
|
+
}), []), console.log("imageRef", r.current), /* @__PURE__ */ Ce.jsx(mn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(
|
|
11519
11524
|
Bs,
|
|
11520
11525
|
{
|
|
11521
11526
|
image: i,
|
|
@@ -11789,36 +11794,36 @@ function fO(t, e) {
|
|
|
11789
11794
|
h || (a.cap === Gn.ROUND ? d += Mn(x - N * (X - G) * 0.5, E - L * (X - G) * 0.5, x - N * X, E - L * X, x + N * G, E + L * G, m, !0) + 2 : a.cap === Gn.SQUARE && (d += Rg(x, E, N, L, X, G, !0, m))), m.push(x - N * X, E - L * X, x + N * G, E + L * G);
|
|
11790
11795
|
for (let H = 1; H < c - 1; ++H) {
|
|
11791
11796
|
x = n[(H - 1) * 2], E = n[(H - 1) * 2 + 1], w = n[H * 2], I = n[H * 2 + 1], O = n[(H + 1) * 2], F = n[(H + 1) * 2 + 1], N = -(E - I), L = x - w, Y = Math.sqrt(N * N + L * L), N /= Y, L /= Y, N *= _, L *= _, D = -(I - F), V = w - O, Y = Math.sqrt(D * D + V * V), D /= Y, V /= Y, D *= _, V *= _;
|
|
11792
|
-
const Q = w - x,
|
|
11793
|
-
if (Math.abs(
|
|
11797
|
+
const Q = w - x, de = E - I, W = w - O, j = F - I, le = Q * W + de * j, he = de * W - j * Q, pe = he < 0;
|
|
11798
|
+
if (Math.abs(he) < 1e-3 * Math.abs(le)) {
|
|
11794
11799
|
m.push(w - N * X, I - L * X, w + N * G, I + L * G), le >= 0 && (a.join === yr.ROUND ? d += Mn(w, I, w - N * X, I - L * X, w - D * X, I - V * X, m, !1) + 4 : d += 2, m.push(w - D * G, I - V * G, w + D * X, I + V * X));
|
|
11795
11800
|
continue;
|
|
11796
11801
|
}
|
|
11797
|
-
const
|
|
11798
|
-
let
|
|
11799
|
-
if (
|
|
11800
|
-
switch (
|
|
11802
|
+
const be = (-N + x) * (-L + I) - (-N + w) * (-L + E), Se = (-D + O) * (-V + I) - (-D + w) * (-V + F), xe = (Q * Se - W * be) / he, Be = (j * be - de * Se) / he, ze = (xe - w) * (xe - w) + (Be - I) * (Be - I), ve = w + (xe - w) * X, Ie = I + (Be - I) * X, Ge = w - (xe - w) * G, Ke = I - (Be - I) * G, Ee = Math.min(Q * Q + de * de, W * W + j * j), _e = pe ? X : G, rt = Ee + _e * _e * y, ce = ze <= rt;
|
|
11803
|
+
let Fe = a.join;
|
|
11804
|
+
if (Fe === yr.MITER && ze / y > b && (Fe = yr.BEVEL), ce)
|
|
11805
|
+
switch (Fe) {
|
|
11801
11806
|
case yr.MITER: {
|
|
11802
|
-
m.push(
|
|
11807
|
+
m.push(ve, Ie, Ge, Ke);
|
|
11803
11808
|
break;
|
|
11804
11809
|
}
|
|
11805
11810
|
case yr.BEVEL: {
|
|
11806
|
-
|
|
11811
|
+
pe ? m.push(ve, Ie, w + N * G, I + L * G, ve, Ie, w + D * G, I + V * G) : m.push(w - N * X, I - L * X, Ge, Ke, w - D * X, I - V * X, Ge, Ke), d += 2;
|
|
11807
11812
|
break;
|
|
11808
11813
|
}
|
|
11809
11814
|
case yr.ROUND: {
|
|
11810
|
-
|
|
11815
|
+
pe ? (m.push(ve, Ie, w + N * G, I + L * G), d += Mn(w, I, w + N * G, I + L * G, w + D * G, I + V * G, m, !0) + 4, m.push(ve, Ie, w + D * G, I + V * G)) : (m.push(w - N * X, I - L * X, Ge, Ke), d += Mn(w, I, w - N * X, I - L * X, w - D * X, I - V * X, m, !1) + 4, m.push(w - D * X, I - V * X, Ge, Ke));
|
|
11811
11816
|
break;
|
|
11812
11817
|
}
|
|
11813
11818
|
}
|
|
11814
11819
|
else {
|
|
11815
|
-
switch (m.push(w - N * X, I - L * X, w + N * G, I + L * G),
|
|
11820
|
+
switch (m.push(w - N * X, I - L * X, w + N * G, I + L * G), Fe) {
|
|
11816
11821
|
case yr.MITER: {
|
|
11817
|
-
|
|
11822
|
+
pe ? m.push(Ge, Ke, Ge, Ke) : m.push(ve, Ie, ve, Ie), d += 2;
|
|
11818
11823
|
break;
|
|
11819
11824
|
}
|
|
11820
11825
|
case yr.ROUND: {
|
|
11821
|
-
|
|
11826
|
+
pe ? d += Mn(w, I, w + N * G, I + L * G, w + D * G, I + V * G, m, !0) + 2 : d += Mn(w, I, w - N * X, I - L * X, w - D * X, I - V * X, m, !1) + 2;
|
|
11822
11827
|
break;
|
|
11823
11828
|
}
|
|
11824
11829
|
}
|
|
@@ -12291,7 +12296,7 @@ const $c = class extends Di {
|
|
|
12291
12296
|
let Bi = $c;
|
|
12292
12297
|
Bi.defaultSortableChildren = !1;
|
|
12293
12298
|
Bi.prototype.containerUpdateTransform = Bi.prototype.updateTransform;
|
|
12294
|
-
Object.defineProperties(
|
|
12299
|
+
Object.defineProperties(Pe, {
|
|
12295
12300
|
SORTABLE_CHILDREN: {
|
|
12296
12301
|
get() {
|
|
12297
12302
|
return Bi.defaultSortableChildren;
|
|
@@ -12520,14 +12525,14 @@ let Q0 = Z0;
|
|
|
12520
12525
|
Q0.BATCHABLE_SIZE = 100;
|
|
12521
12526
|
class zo {
|
|
12522
12527
|
constructor() {
|
|
12523
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12528
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1, this.reset();
|
|
12524
12529
|
}
|
|
12525
12530
|
clone() {
|
|
12526
12531
|
const e = new zo();
|
|
12527
12532
|
return e.color = this.color, e.alpha = this.alpha, e.texture = this.texture, e.matrix = this.matrix, e.visible = this.visible, e;
|
|
12528
12533
|
}
|
|
12529
12534
|
reset() {
|
|
12530
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12535
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1;
|
|
12531
12536
|
}
|
|
12532
12537
|
destroy() {
|
|
12533
12538
|
this.texture = null, this.matrix = null;
|
|
@@ -12547,7 +12552,7 @@ class gh extends zo {
|
|
|
12547
12552
|
}
|
|
12548
12553
|
const Jl = {}, lo = class extends Bi {
|
|
12549
12554
|
constructor(t = null) {
|
|
12550
|
-
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new zo(), this._lineStyle = new gh(), this._matrix = null, this._holeMode = !1, this.state = Do.for2d(), this._geometry = t || new Q0(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode =
|
|
12555
|
+
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new zo(), this._lineStyle = new gh(), this._matrix = null, this._holeMode = !1, this.state = Do.for2d(), this._geometry = t || new Q0(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode = fe.NORMAL;
|
|
12551
12556
|
}
|
|
12552
12557
|
get geometry() {
|
|
12553
12558
|
return this._geometry;
|
|
@@ -12579,7 +12584,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12579
12584
|
lineTextureStyle(t) {
|
|
12580
12585
|
const e = {
|
|
12581
12586
|
width: 0,
|
|
12582
|
-
texture:
|
|
12587
|
+
texture: De.WHITE,
|
|
12583
12588
|
color: t != null && t.texture ? 16777215 : 0,
|
|
12584
12589
|
matrix: null,
|
|
12585
12590
|
alignment: 0.5,
|
|
@@ -12645,7 +12650,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12645
12650
|
return Ig.arc(l, h, t, e, r, n, i, a, m), this;
|
|
12646
12651
|
}
|
|
12647
12652
|
beginFill(t = 0, e) {
|
|
12648
|
-
return this.beginTextureFill({ texture:
|
|
12653
|
+
return this.beginTextureFill({ texture: De.WHITE, color: t, alpha: e });
|
|
12649
12654
|
}
|
|
12650
12655
|
normalizeColor(t) {
|
|
12651
12656
|
const e = Mt.shared.setValue(t.color ?? 0);
|
|
@@ -12653,7 +12658,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12653
12658
|
}
|
|
12654
12659
|
beginTextureFill(t) {
|
|
12655
12660
|
const e = {
|
|
12656
|
-
texture:
|
|
12661
|
+
texture: De.WHITE,
|
|
12657
12662
|
color: 16777215,
|
|
12658
12663
|
matrix: null
|
|
12659
12664
|
};
|
|
@@ -13650,8 +13655,8 @@ var zO = function() {
|
|
|
13650
13655
|
for (var se = 0; se < Y; se++)
|
|
13651
13656
|
_.push(VO(L, D)), L += D;
|
|
13652
13657
|
return _.map(function(X) {
|
|
13653
|
-
var G = ec(X[0], u, l, b, y, F, N), ie = G.x, re = G.y, H = ec(X[1], u, l, b, y, F, N), Q = H.x,
|
|
13654
|
-
return { x1: ie, y1: re, x2: Q, y2:
|
|
13658
|
+
var G = ec(X[0], u, l, b, y, F, N), ie = G.x, re = G.y, H = ec(X[1], u, l, b, y, F, N), Q = H.x, de = H.y, W = ec(X[2], u, l, b, y, F, N), j = W.x, le = W.y;
|
|
13659
|
+
return { x1: ie, y1: re, x2: Q, y2: de, x: j, y: le };
|
|
13655
13660
|
});
|
|
13656
13661
|
};
|
|
13657
13662
|
class WO extends mh {
|
|
@@ -14484,7 +14489,7 @@ ut.prototype.unshort = function() {
|
|
|
14484
14489
|
};
|
|
14485
14490
|
var vF = ut, _F = vF;
|
|
14486
14491
|
const yF = /* @__PURE__ */ $i(_F), sU = te.forwardRef((t, e) => {
|
|
14487
|
-
const [r, n] = te.useState(null), i =
|
|
14492
|
+
const [r, n] = te.useState(null), i = me(null), a = me(null), u = me(null), {
|
|
14488
14493
|
path: l,
|
|
14489
14494
|
visible: h,
|
|
14490
14495
|
disabled: p,
|
|
@@ -14515,10 +14520,10 @@ const yF = /* @__PURE__ */ $i(_F), sU = te.forwardRef((t, e) => {
|
|
|
14515
14520
|
const H = yF(l).scale(5).translate(0, 0).toString(), Q = `<svg xmlns="http://www.w3.org/2000/svg" width="${d}" height="${g}">
|
|
14516
14521
|
<path stroke="${x}" stroke-width="${E}" fill="${y || b}" d="${H}">
|
|
14517
14522
|
</path>
|
|
14518
|
-
</svg>`,
|
|
14523
|
+
</svg>`, de = new WO(Q), W = F.renderer.generateTexture(de);
|
|
14519
14524
|
return n(W), () => {
|
|
14520
14525
|
};
|
|
14521
|
-
}, [F, l, x, E, y, b]), /* @__PURE__ */
|
|
14526
|
+
}, [F, l, x, E, y, b]), /* @__PURE__ */ Ce.jsx(mn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: /* @__PURE__ */ Ce.jsx(wt, { ref: u, children: r && /* @__PURE__ */ Ce.jsx(
|
|
14522
14527
|
Bs,
|
|
14523
14528
|
{
|
|
14524
14529
|
texture: r,
|
|
@@ -15762,7 +15767,7 @@ const aU = (t) => {
|
|
|
15762
15767
|
loaded: !1,
|
|
15763
15768
|
size: { width: 50, height: 50 },
|
|
15764
15769
|
isDragging: !1
|
|
15765
|
-
}, [, r] = te.useState(!1), n =
|
|
15770
|
+
}, [, r] = te.useState(!1), n = me(null), i = me(e), a = me(null), u = te.useRef(null), { tl: l, dragModeRef: h } = Ui(qn), {
|
|
15766
15771
|
uniqueId: p,
|
|
15767
15772
|
src: m,
|
|
15768
15773
|
startAt: c,
|
|
@@ -15862,7 +15867,7 @@ const aU = (t) => {
|
|
|
15862
15867
|
]), te.useEffect(() => {
|
|
15863
15868
|
u.current && (console.log("running updateEffect 2002", p, b), u.current.volume(!g && x ? 1 : 0), u.current.rate(_ || 1), i.current.isPlaying = !0);
|
|
15864
15869
|
}, [g, x, _]), // @ts-ignore
|
|
15865
|
-
/* @__PURE__ */
|
|
15870
|
+
/* @__PURE__ */ Ce.jsx(wt, { ref: n });
|
|
15866
15871
|
};
|
|
15867
15872
|
function xF(t, e) {
|
|
15868
15873
|
for (var r = -1, n = t == null ? 0 : t.length, i = Array(n); ++r < n; )
|
|
@@ -16932,7 +16937,7 @@ const ZB = (t) => ({
|
|
|
16932
16937
|
});
|
|
16933
16938
|
}), [r, e]), r.instance);
|
|
16934
16939
|
}, JB = (t) => {
|
|
16935
|
-
const e =
|
|
16940
|
+
const e = me(t);
|
|
16936
16941
|
return jn(() => {
|
|
16937
16942
|
e.current = t;
|
|
16938
16943
|
}, [t]), e;
|
|
@@ -16974,7 +16979,7 @@ const ZB = (t) => ({
|
|
|
16974
16979
|
return;
|
|
16975
16980
|
const i = n.current;
|
|
16976
16981
|
i[t ? "gotoAndPlay" : "gotoAndStop"](i.currentFrame);
|
|
16977
|
-
}, [t]), /* @__PURE__ */
|
|
16982
|
+
}, [t]), /* @__PURE__ */ Ce.jsx(
|
|
16978
16983
|
nS,
|
|
16979
16984
|
{
|
|
16980
16985
|
ref: n,
|
|
@@ -16995,7 +17000,7 @@ var Io = { exports: {} };
|
|
|
16995
17000
|
Io.exports;
|
|
16996
17001
|
(function(t, e) {
|
|
16997
17002
|
(function() {
|
|
16998
|
-
var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", p = 500, m = "__lodash_placeholder__", c = 1, d = 2, g = 4, _ = 1, y = 2, b = 1, x = 2, E = 4, w = 8, I = 16, O = 32, F = 64, N = 128, L = 256, D = 512, V = 30, Y = "...", se = 800, X = 16, G = 1, ie = 2, re = 3, H = 1 / 0, Q = 9007199254740991,
|
|
17003
|
+
var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", p = 500, m = "__lodash_placeholder__", c = 1, d = 2, g = 4, _ = 1, y = 2, b = 1, x = 2, E = 4, w = 8, I = 16, O = 32, F = 64, N = 128, L = 256, D = 512, V = 30, Y = "...", se = 800, X = 16, G = 1, ie = 2, re = 3, H = 1 / 0, Q = 9007199254740991, de = 17976931348623157e292, W = 0 / 0, j = 4294967295, le = j - 1, he = j >>> 1, pe = [
|
|
16999
17004
|
["ary", N],
|
|
17000
17005
|
["bind", b],
|
|
17001
17006
|
["bindKey", x],
|
|
@@ -17005,7 +17010,7 @@ Io.exports;
|
|
|
17005
17010
|
["partial", O],
|
|
17006
17011
|
["partialRight", F],
|
|
17007
17012
|
["rearg", L]
|
|
17008
|
-
],
|
|
17013
|
+
], be = "[object Arguments]", Se = "[object Array]", xe = "[object AsyncFunction]", Be = "[object Boolean]", ze = "[object Date]", ve = "[object DOMException]", Ie = "[object Error]", Ge = "[object Function]", Ke = "[object GeneratorFunction]", Ee = "[object Map]", _e = "[object Number]", rt = "[object Null]", ce = "[object Object]", Fe = "[object Promise]", Xt = "[object Proxy]", Ut = "[object RegExp]", lt = "[object Set]", tr = "[object String]", Qn = "[object Symbol]", eu = "[object Undefined]", xn = "[object WeakMap]", fr = "[object WeakSet]", Jn = "[object ArrayBuffer]", ei = "[object DataView]", tu = "[object Float32Array]", ru = "[object Float64Array]", nu = "[object Int8Array]", iu = "[object Int16Array]", su = "[object Int32Array]", au = "[object Uint8Array]", ou = "[object Uint8ClampedArray]", uu = "[object Uint16Array]", lu = "[object Uint32Array]", xv = /\b__p \+= '';/g, bv = /\b(__p \+=) '' \+/g, Tv = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Th = /&(?:amp|lt|gt|quot|#39);/g, wh = /[&<>"']/g, wv = RegExp(Th.source), Sv = RegExp(wh.source), Av = /<%-([\s\S]+?)%>/g, Ev = /<%([\s\S]+?)%>/g, Sh = /<%=([\s\S]+?)%>/g, Cv = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Iv = /^\w*$/, Rv = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, cu = /[\\^$.*+?()[\]{}|]/g, Pv = RegExp(cu.source), hu = /^\s+/, Mv = /\s/, Ov = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Fv = /\{\n\/\* \[wrapped with (.+)\] \*/, Nv = /,? & /, Lv = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, kv = /[()=,{}\[\]\/\s]/, Dv = /\\(\\)?/g, Bv = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ah = /\w*$/, Uv = /^[-+]0x[0-9a-f]+$/i, $v = /^0b[01]+$/i, Gv = /^\[object .+?Constructor\]$/, Hv = /^0o[0-7]+$/i, zv = /^(?:0|[1-9]\d*)$/, Vv = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ws = /($^)/, Xv = /['\n\r\u2028\u2029\\]/g, js = "\\ud800-\\udfff", Wv = "\\u0300-\\u036f", jv = "\\ufe20-\\ufe2f", qv = "\\u20d0-\\u20ff", Eh = Wv + jv + qv, Ch = "\\u2700-\\u27bf", Ih = "a-z\\xdf-\\xf6\\xf8-\\xff", Yv = "\\xac\\xb1\\xd7\\xf7", Kv = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Zv = "\\u2000-\\u206f", Qv = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Rh = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ph = "\\ufe0e\\ufe0f", Mh = Yv + Kv + Zv + Qv, fu = "['’]", Jv = "[" + js + "]", Oh = "[" + Mh + "]", qs = "[" + Eh + "]", Fh = "\\d+", e_ = "[" + Ch + "]", Nh = "[" + Ih + "]", Lh = "[^" + js + Mh + Fh + Ch + Ih + Rh + "]", du = "\\ud83c[\\udffb-\\udfff]", t_ = "(?:" + qs + "|" + du + ")", kh = "[^" + js + "]", pu = "(?:\\ud83c[\\udde6-\\uddff]){2}", gu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ti = "[" + Rh + "]", Dh = "\\u200d", Bh = "(?:" + Nh + "|" + Lh + ")", r_ = "(?:" + ti + "|" + Lh + ")", Uh = "(?:" + fu + "(?:d|ll|m|re|s|t|ve))?", $h = "(?:" + fu + "(?:D|LL|M|RE|S|T|VE))?", Gh = t_ + "?", Hh = "[" + Ph + "]?", n_ = "(?:" + Dh + "(?:" + [kh, pu, gu].join("|") + ")" + Hh + Gh + ")*", i_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", s_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", zh = Hh + Gh + n_, a_ = "(?:" + [e_, pu, gu].join("|") + ")" + zh, o_ = "(?:" + [kh + qs + "?", qs, pu, gu, Jv].join("|") + ")", u_ = RegExp(fu, "g"), l_ = RegExp(qs, "g"), mu = RegExp(du + "(?=" + du + ")|" + o_ + zh, "g"), c_ = RegExp([
|
|
17009
17014
|
ti + "?" + Nh + "+" + Uh + "(?=" + [Oh, ti, "$"].join("|") + ")",
|
|
17010
17015
|
r_ + "+" + $h + "(?=" + [Oh, ti + Bh, "$"].join("|") + ")",
|
|
17011
17016
|
ti + "?" + Bh + "+" + Uh,
|
|
@@ -17046,9 +17051,9 @@ Io.exports;
|
|
|
17046
17051
|
"parseInt",
|
|
17047
17052
|
"setTimeout"
|
|
17048
17053
|
], p_ = -1, et = {};
|
|
17049
|
-
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[
|
|
17054
|
+
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[be] = et[Se] = et[Jn] = et[Be] = et[ei] = et[ze] = et[Ie] = et[Ge] = et[Ee] = et[_e] = et[ce] = et[Ut] = et[lt] = et[tr] = et[xn] = !1;
|
|
17050
17055
|
var Ze = {};
|
|
17051
|
-
Ze[
|
|
17056
|
+
Ze[be] = Ze[Se] = Ze[Jn] = Ze[ei] = Ze[Be] = Ze[ze] = Ze[tu] = Ze[ru] = Ze[nu] = Ze[iu] = Ze[su] = Ze[Ee] = Ze[_e] = Ze[ce] = Ze[Ut] = Ze[lt] = Ze[tr] = Ze[Qn] = Ze[au] = Ze[ou] = Ze[uu] = Ze[lu] = !0, Ze[Ie] = Ze[Ge] = Ze[xn] = !1;
|
|
17052
17057
|
var g_ = {
|
|
17053
17058
|
// Latin-1 Supplement block.
|
|
17054
17059
|
À: "A",
|
|
@@ -17282,8 +17287,8 @@ Io.exports;
|
|
|
17282
17287
|
return P.apply(B, k);
|
|
17283
17288
|
}
|
|
17284
17289
|
function T_(P, B, k, Z) {
|
|
17285
|
-
for (var
|
|
17286
|
-
var mt = P[
|
|
17290
|
+
for (var ge = -1, He = P == null ? 0 : P.length; ++ge < He; ) {
|
|
17291
|
+
var mt = P[ge];
|
|
17287
17292
|
B(Z, mt, k(mt), P);
|
|
17288
17293
|
}
|
|
17289
17294
|
return Z;
|
|
@@ -17305,9 +17310,9 @@ Io.exports;
|
|
|
17305
17310
|
return !0;
|
|
17306
17311
|
}
|
|
17307
17312
|
function en(P, B) {
|
|
17308
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17313
|
+
for (var k = -1, Z = P == null ? 0 : P.length, ge = 0, He = []; ++k < Z; ) {
|
|
17309
17314
|
var mt = P[k];
|
|
17310
|
-
B(mt, k, P) && (He[
|
|
17315
|
+
B(mt, k, P) && (He[ge++] = mt);
|
|
17311
17316
|
}
|
|
17312
17317
|
return He;
|
|
17313
17318
|
}
|
|
@@ -17316,31 +17321,31 @@ Io.exports;
|
|
|
17316
17321
|
return !!k && ri(P, B, 0) > -1;
|
|
17317
17322
|
}
|
|
17318
17323
|
function yu(P, B, k) {
|
|
17319
|
-
for (var Z = -1,
|
|
17324
|
+
for (var Z = -1, ge = P == null ? 0 : P.length; ++Z < ge; )
|
|
17320
17325
|
if (k(B, P[Z]))
|
|
17321
17326
|
return !0;
|
|
17322
17327
|
return !1;
|
|
17323
17328
|
}
|
|
17324
17329
|
function nt(P, B) {
|
|
17325
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17326
|
-
|
|
17327
|
-
return
|
|
17330
|
+
for (var k = -1, Z = P == null ? 0 : P.length, ge = Array(Z); ++k < Z; )
|
|
17331
|
+
ge[k] = B(P[k], k, P);
|
|
17332
|
+
return ge;
|
|
17328
17333
|
}
|
|
17329
17334
|
function tn(P, B) {
|
|
17330
|
-
for (var k = -1, Z = B.length,
|
|
17331
|
-
P[
|
|
17335
|
+
for (var k = -1, Z = B.length, ge = P.length; ++k < Z; )
|
|
17336
|
+
P[ge + k] = B[k];
|
|
17332
17337
|
return P;
|
|
17333
17338
|
}
|
|
17334
17339
|
function xu(P, B, k, Z) {
|
|
17335
|
-
var
|
|
17336
|
-
for (Z && He && (k = P[++
|
|
17337
|
-
k = B(k, P[
|
|
17340
|
+
var ge = -1, He = P == null ? 0 : P.length;
|
|
17341
|
+
for (Z && He && (k = P[++ge]); ++ge < He; )
|
|
17342
|
+
k = B(k, P[ge], ge, P);
|
|
17338
17343
|
return k;
|
|
17339
17344
|
}
|
|
17340
17345
|
function S_(P, B, k, Z) {
|
|
17341
|
-
var
|
|
17342
|
-
for (Z &&
|
|
17343
|
-
k = B(k, P[
|
|
17346
|
+
var ge = P == null ? 0 : P.length;
|
|
17347
|
+
for (Z && ge && (k = P[--ge]); ge--; )
|
|
17348
|
+
k = B(k, P[ge], ge, P);
|
|
17344
17349
|
return k;
|
|
17345
17350
|
}
|
|
17346
17351
|
function bu(P, B) {
|
|
@@ -17358,13 +17363,13 @@ Io.exports;
|
|
|
17358
17363
|
}
|
|
17359
17364
|
function Jh(P, B, k) {
|
|
17360
17365
|
var Z;
|
|
17361
|
-
return k(P, function(
|
|
17362
|
-
if (B(
|
|
17366
|
+
return k(P, function(ge, He, mt) {
|
|
17367
|
+
if (B(ge, He, mt))
|
|
17363
17368
|
return Z = He, !1;
|
|
17364
17369
|
}), Z;
|
|
17365
17370
|
}
|
|
17366
17371
|
function Ks(P, B, k, Z) {
|
|
17367
|
-
for (var
|
|
17372
|
+
for (var ge = P.length, He = k + (Z ? 1 : -1); Z ? He-- : ++He < ge; )
|
|
17368
17373
|
if (B(P[He], He, P))
|
|
17369
17374
|
return He;
|
|
17370
17375
|
return -1;
|
|
@@ -17373,9 +17378,9 @@ Io.exports;
|
|
|
17373
17378
|
return B === B ? U_(P, B, k) : Ks(P, ef, k);
|
|
17374
17379
|
}
|
|
17375
17380
|
function I_(P, B, k, Z) {
|
|
17376
|
-
for (var
|
|
17377
|
-
if (Z(P[
|
|
17378
|
-
return
|
|
17381
|
+
for (var ge = k - 1, He = P.length; ++ge < He; )
|
|
17382
|
+
if (Z(P[ge], B))
|
|
17383
|
+
return ge;
|
|
17379
17384
|
return -1;
|
|
17380
17385
|
}
|
|
17381
17386
|
function ef(P) {
|
|
@@ -17395,8 +17400,8 @@ Io.exports;
|
|
|
17395
17400
|
return P == null ? r : P[B];
|
|
17396
17401
|
};
|
|
17397
17402
|
}
|
|
17398
|
-
function rf(P, B, k, Z,
|
|
17399
|
-
return
|
|
17403
|
+
function rf(P, B, k, Z, ge) {
|
|
17404
|
+
return ge(P, function(He, mt, qe) {
|
|
17400
17405
|
k = Z ? (Z = !1, He) : B(k, He, mt, qe);
|
|
17401
17406
|
}), k;
|
|
17402
17407
|
}
|
|
@@ -17407,7 +17412,7 @@ Io.exports;
|
|
|
17407
17412
|
return P;
|
|
17408
17413
|
}
|
|
17409
17414
|
function Su(P, B) {
|
|
17410
|
-
for (var k, Z = -1,
|
|
17415
|
+
for (var k, Z = -1, ge = P.length; ++Z < ge; ) {
|
|
17411
17416
|
var He = B(P[Z]);
|
|
17412
17417
|
He !== r && (k = k === r ? He : k + He);
|
|
17413
17418
|
}
|
|
@@ -17474,8 +17479,8 @@ Io.exports;
|
|
|
17474
17479
|
}
|
|
17475
17480
|
function Cu(P) {
|
|
17476
17481
|
var B = -1, k = Array(P.size);
|
|
17477
|
-
return P.forEach(function(Z,
|
|
17478
|
-
k[++B] = [
|
|
17482
|
+
return P.forEach(function(Z, ge) {
|
|
17483
|
+
k[++B] = [ge, Z];
|
|
17479
17484
|
}), k;
|
|
17480
17485
|
}
|
|
17481
17486
|
function of(P, B) {
|
|
@@ -17484,9 +17489,9 @@ Io.exports;
|
|
|
17484
17489
|
};
|
|
17485
17490
|
}
|
|
17486
17491
|
function rn(P, B) {
|
|
17487
|
-
for (var k = -1, Z = P.length,
|
|
17492
|
+
for (var k = -1, Z = P.length, ge = 0, He = []; ++k < Z; ) {
|
|
17488
17493
|
var mt = P[k];
|
|
17489
|
-
(mt === B || mt === m) && (P[k] = m, He[
|
|
17494
|
+
(mt === B || mt === m) && (P[k] = m, He[ge++] = k);
|
|
17490
17495
|
}
|
|
17491
17496
|
return He;
|
|
17492
17497
|
}
|
|
@@ -17503,7 +17508,7 @@ Io.exports;
|
|
|
17503
17508
|
}), k;
|
|
17504
17509
|
}
|
|
17505
17510
|
function U_(P, B, k) {
|
|
17506
|
-
for (var Z = k - 1,
|
|
17511
|
+
for (var Z = k - 1, ge = P.length; ++Z < ge; )
|
|
17507
17512
|
if (P[Z] === B)
|
|
17508
17513
|
return Z;
|
|
17509
17514
|
return -1;
|
|
@@ -17539,11 +17544,11 @@ Io.exports;
|
|
|
17539
17544
|
}
|
|
17540
17545
|
var X_ = function P(B) {
|
|
17541
17546
|
B = B == null ? St : si.defaults(St.Object(), B, si.pick(St, d_));
|
|
17542
|
-
var k = B.Array, Z = B.Date,
|
|
17547
|
+
var k = B.Array, Z = B.Date, ge = B.Error, He = B.Function, mt = B.Math, qe = B.Object, Iu = B.RegExp, W_ = B.String, ir = B.TypeError, Qs = k.prototype, j_ = He.prototype, ai = qe.prototype, Js = B["__core-js_shared__"], ea = j_.toString, We = ai.hasOwnProperty, q_ = 0, lf = function() {
|
|
17543
17548
|
var s = /[^.]+$/.exec(Js && Js.keys && Js.keys.IE_PROTO || "");
|
|
17544
17549
|
return s ? "Symbol(src)_1." + s : "";
|
|
17545
17550
|
}(), ta = ai.toString, Y_ = ea.call(qe), K_ = St._, Z_ = Iu(
|
|
17546
|
-
"^" + ea.call(
|
|
17551
|
+
"^" + ea.call(We).replace(cu, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
17547
17552
|
), ra = Xh ? B.Buffer : r, nn = B.Symbol, na = B.Uint8Array, cf = ra ? ra.allocUnsafe : r, ia = of(qe.getPrototypeOf, qe), hf = qe.create, ff = ai.propertyIsEnumerable, sa = Qs.splice, df = nn ? nn.isConcatSpreadable : r, Ki = nn ? nn.iterator : r, Tn = nn ? nn.toStringTag : r, aa = function() {
|
|
17548
17553
|
try {
|
|
17549
17554
|
var s = Cn(qe, "defineProperty");
|
|
@@ -17552,10 +17557,10 @@ Io.exports;
|
|
|
17552
17557
|
}
|
|
17553
17558
|
}(), Q_ = B.clearTimeout !== St.clearTimeout && B.clearTimeout, J_ = Z && Z.now !== St.Date.now && Z.now, ey = B.setTimeout !== St.setTimeout && B.setTimeout, oa = mt.ceil, ua = mt.floor, Ru = qe.getOwnPropertySymbols, ty = ra ? ra.isBuffer : r, pf = B.isFinite, ry = Qs.join, ny = of(qe.keys, qe), vt = mt.max, It = mt.min, iy = Z.now, sy = B.parseInt, gf = mt.random, ay = Qs.reverse, Pu = Cn(B, "DataView"), Zi = Cn(B, "Map"), Mu = Cn(B, "Promise"), oi = Cn(B, "Set"), Qi = Cn(B, "WeakMap"), Ji = Cn(qe, "create"), la = Qi && new Qi(), ui = {}, oy = In(Pu), uy = In(Zi), ly = In(Mu), cy = In(oi), hy = In(Qi), ca = nn ? nn.prototype : r, es = ca ? ca.valueOf : r, mf = ca ? ca.toString : r;
|
|
17554
17559
|
function S(s) {
|
|
17555
|
-
if (ct(s) && !ye(s) && !(s instanceof
|
|
17560
|
+
if (ct(s) && !ye(s) && !(s instanceof Me)) {
|
|
17556
17561
|
if (s instanceof sr)
|
|
17557
17562
|
return s;
|
|
17558
|
-
if (
|
|
17563
|
+
if (We.call(s, "__wrapped__"))
|
|
17559
17564
|
return vd(s);
|
|
17560
17565
|
}
|
|
17561
17566
|
return new sr(s);
|
|
@@ -17623,16 +17628,16 @@ Io.exports;
|
|
|
17623
17628
|
_: S
|
|
17624
17629
|
}
|
|
17625
17630
|
}, S.prototype = ha.prototype, S.prototype.constructor = S, sr.prototype = li(ha.prototype), sr.prototype.constructor = sr;
|
|
17626
|
-
function
|
|
17631
|
+
function Me(s) {
|
|
17627
17632
|
this.__wrapped__ = s, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = j, this.__views__ = [];
|
|
17628
17633
|
}
|
|
17629
17634
|
function fy() {
|
|
17630
|
-
var s = new
|
|
17635
|
+
var s = new Me(this.__wrapped__);
|
|
17631
17636
|
return s.__actions__ = $t(this.__actions__), s.__dir__ = this.__dir__, s.__filtered__ = this.__filtered__, s.__iteratees__ = $t(this.__iteratees__), s.__takeCount__ = this.__takeCount__, s.__views__ = $t(this.__views__), s;
|
|
17632
17637
|
}
|
|
17633
17638
|
function dy() {
|
|
17634
17639
|
if (this.__filtered__) {
|
|
17635
|
-
var s = new
|
|
17640
|
+
var s = new Me(this);
|
|
17636
17641
|
s.__dir__ = -1, s.__filtered__ = !0;
|
|
17637
17642
|
} else
|
|
17638
17643
|
s = this.clone(), s.__dir__ *= -1;
|
|
@@ -17646,8 +17651,8 @@ Io.exports;
|
|
|
17646
17651
|
e:
|
|
17647
17652
|
for (; M-- && q < ee; ) {
|
|
17648
17653
|
U += o;
|
|
17649
|
-
for (var
|
|
17650
|
-
var
|
|
17654
|
+
for (var we = -1, ue = s[U]; ++we < z; ) {
|
|
17655
|
+
var Re = $[we], Ne = Re.iteratee, Kt = Re.type, Lt = Ne(ue);
|
|
17651
17656
|
if (Kt == ie)
|
|
17652
17657
|
ue = Lt;
|
|
17653
17658
|
else if (!Lt) {
|
|
@@ -17660,7 +17665,7 @@ Io.exports;
|
|
|
17660
17665
|
}
|
|
17661
17666
|
return oe;
|
|
17662
17667
|
}
|
|
17663
|
-
|
|
17668
|
+
Me.prototype = li(ha.prototype), Me.prototype.constructor = Me;
|
|
17664
17669
|
function wn(s) {
|
|
17665
17670
|
var o = -1, f = s == null ? 0 : s.length;
|
|
17666
17671
|
for (this.clear(); ++o < f; ) {
|
|
@@ -17681,11 +17686,11 @@ Io.exports;
|
|
|
17681
17686
|
var f = o[s];
|
|
17682
17687
|
return f === h ? r : f;
|
|
17683
17688
|
}
|
|
17684
|
-
return
|
|
17689
|
+
return We.call(o, s) ? o[s] : r;
|
|
17685
17690
|
}
|
|
17686
17691
|
function _y(s) {
|
|
17687
17692
|
var o = this.__data__;
|
|
17688
|
-
return Ji ? o[s] !== r :
|
|
17693
|
+
return Ji ? o[s] !== r : We.call(o, s);
|
|
17689
17694
|
}
|
|
17690
17695
|
function yy(s, o) {
|
|
17691
17696
|
var f = this.__data__;
|
|
@@ -17793,7 +17798,7 @@ Io.exports;
|
|
|
17793
17798
|
function vf(s, o) {
|
|
17794
17799
|
var f = ye(s), v = !f && Rn(s), T = !f && !v && ln(s), A = !f && !v && !T && di(s), C = f || v || T || A, R = C ? Au(s.length, W_) : [], M = R.length;
|
|
17795
17800
|
for (var U in s)
|
|
17796
|
-
(o ||
|
|
17801
|
+
(o || We.call(s, U)) && !(C && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
17797
17802
|
(U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
17798
17803
|
T && (U == "offset" || U == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
17799
17804
|
A && (U == "buffer" || U == "byteLength" || U == "byteOffset") || // Skip index properties.
|
|
@@ -17815,7 +17820,7 @@ Io.exports;
|
|
|
17815
17820
|
}
|
|
17816
17821
|
function ts(s, o, f) {
|
|
17817
17822
|
var v = s[o];
|
|
17818
|
-
(!(
|
|
17823
|
+
(!(We.call(s, o) && gr(v, f)) || f === r && !(o in s)) && Gr(s, o, f);
|
|
17819
17824
|
}
|
|
17820
17825
|
function fa(s, o) {
|
|
17821
17826
|
for (var f = s.length; f--; )
|
|
@@ -17864,7 +17869,7 @@ Io.exports;
|
|
|
17864
17869
|
var z = Rt(s), q = z == Ge || z == Ke;
|
|
17865
17870
|
if (ln(s))
|
|
17866
17871
|
return zf(s, R);
|
|
17867
|
-
if (z ==
|
|
17872
|
+
if (z == ce || z == be || q && !T) {
|
|
17868
17873
|
if (C = M || q ? {} : ud(s), !R)
|
|
17869
17874
|
return M ? vx(s, $y(C, s)) : mx(s, yf(C, s));
|
|
17870
17875
|
} else {
|
|
@@ -17879,12 +17884,12 @@ Io.exports;
|
|
|
17879
17884
|
return ee;
|
|
17880
17885
|
A.set(s, C), Dd(s) ? s.forEach(function(ue) {
|
|
17881
17886
|
C.add(ar(ue, o, f, ue, s, A));
|
|
17882
|
-
}) : Ld(s) && s.forEach(function(ue,
|
|
17883
|
-
C.set(
|
|
17887
|
+
}) : Ld(s) && s.forEach(function(ue, Re) {
|
|
17888
|
+
C.set(Re, ar(ue, o, f, Re, s, A));
|
|
17884
17889
|
});
|
|
17885
|
-
var oe = U ? M ? Ju : Qu : M ? Ht : yt,
|
|
17886
|
-
return nr(
|
|
17887
|
-
|
|
17890
|
+
var oe = U ? M ? Ju : Qu : M ? Ht : yt, we = $ ? r : oe(s);
|
|
17891
|
+
return nr(we || s, function(ue, Re) {
|
|
17892
|
+
we && (Re = ue, ue = s[Re]), ts(C, Re, ar(ue, o, f, Re, s, A));
|
|
17888
17893
|
}), C;
|
|
17889
17894
|
}
|
|
17890
17895
|
function Gy(s) {
|
|
@@ -17946,7 +17951,7 @@ Io.exports;
|
|
|
17946
17951
|
}
|
|
17947
17952
|
function zy(s, o, f, v) {
|
|
17948
17953
|
var T = s.length;
|
|
17949
|
-
for (f =
|
|
17954
|
+
for (f = Te(f), f < 0 && (f = -f > T ? 0 : T + f), v = v === r || v > T ? T : Te(v), v < 0 && (v += T), v = f > v ? 0 : Ud(v); f < v; )
|
|
17950
17955
|
s[f++] = o;
|
|
17951
17956
|
return s;
|
|
17952
17957
|
}
|
|
@@ -17993,7 +17998,7 @@ Io.exports;
|
|
|
17993
17998
|
return s > o;
|
|
17994
17999
|
}
|
|
17995
18000
|
function Vy(s, o) {
|
|
17996
|
-
return s != null &&
|
|
18001
|
+
return s != null && We.call(s, o);
|
|
17997
18002
|
}
|
|
17998
18003
|
function Xy(s, o) {
|
|
17999
18004
|
return s != null && o in qe(s);
|
|
@@ -18013,8 +18018,8 @@ Io.exports;
|
|
|
18013
18018
|
var ee = $[z], oe = o ? o(ee) : ee;
|
|
18014
18019
|
if (ee = f || ee !== 0 ? ee : 0, !(q ? Yi(q, oe) : v(U, oe, f))) {
|
|
18015
18020
|
for (C = A; --C; ) {
|
|
18016
|
-
var
|
|
18017
|
-
if (!(
|
|
18021
|
+
var we = R[C];
|
|
18022
|
+
if (!(we ? Yi(we, oe) : v(s[C], oe, f)))
|
|
18018
18023
|
continue e;
|
|
18019
18024
|
}
|
|
18020
18025
|
q && q.push(oe), U.push(ee);
|
|
@@ -18033,21 +18038,21 @@ Io.exports;
|
|
|
18033
18038
|
return v == null ? r : Wt(v, s, f);
|
|
18034
18039
|
}
|
|
18035
18040
|
function Ef(s) {
|
|
18036
|
-
return ct(s) && Ft(s) ==
|
|
18041
|
+
return ct(s) && Ft(s) == be;
|
|
18037
18042
|
}
|
|
18038
18043
|
function qy(s) {
|
|
18039
18044
|
return ct(s) && Ft(s) == Jn;
|
|
18040
18045
|
}
|
|
18041
18046
|
function Yy(s) {
|
|
18042
|
-
return ct(s) && Ft(s) ==
|
|
18047
|
+
return ct(s) && Ft(s) == ze;
|
|
18043
18048
|
}
|
|
18044
18049
|
function is(s, o, f, v, T) {
|
|
18045
18050
|
return s === o ? !0 : s == null || o == null || !ct(s) && !ct(o) ? s !== s && o !== o : Ky(s, o, f, v, is, T);
|
|
18046
18051
|
}
|
|
18047
18052
|
function Ky(s, o, f, v, T, A) {
|
|
18048
18053
|
var C = ye(s), R = ye(o), M = C ? Se : Rt(s), U = R ? Se : Rt(o);
|
|
18049
|
-
M = M ==
|
|
18050
|
-
var $ = M ==
|
|
18054
|
+
M = M == be ? ce : M, U = U == be ? ce : U;
|
|
18055
|
+
var $ = M == ce, z = U == ce, q = M == U;
|
|
18051
18056
|
if (q && ln(s)) {
|
|
18052
18057
|
if (!ln(o))
|
|
18053
18058
|
return !1;
|
|
@@ -18056,16 +18061,16 @@ Io.exports;
|
|
|
18056
18061
|
if (q && !$)
|
|
18057
18062
|
return A || (A = new pr()), C || di(s) ? sd(s, o, f, v, T, A) : wx(s, o, M, f, v, T, A);
|
|
18058
18063
|
if (!(f & _)) {
|
|
18059
|
-
var ee = $ &&
|
|
18064
|
+
var ee = $ && We.call(s, "__wrapped__"), oe = z && We.call(o, "__wrapped__");
|
|
18060
18065
|
if (ee || oe) {
|
|
18061
|
-
var
|
|
18062
|
-
return A || (A = new pr()), T(
|
|
18066
|
+
var we = ee ? s.value() : s, ue = oe ? o.value() : o;
|
|
18067
|
+
return A || (A = new pr()), T(we, ue, f, v, A);
|
|
18063
18068
|
}
|
|
18064
18069
|
}
|
|
18065
18070
|
return q ? (A || (A = new pr()), Sx(s, o, f, v, T, A)) : !1;
|
|
18066
18071
|
}
|
|
18067
18072
|
function Zy(s) {
|
|
18068
|
-
return ct(s) && Rt(s) ==
|
|
18073
|
+
return ct(s) && Rt(s) == Ee;
|
|
18069
18074
|
}
|
|
18070
18075
|
function Bu(s, o, f, v) {
|
|
18071
18076
|
var T = f.length, A = T, C = !v;
|
|
@@ -18115,7 +18120,7 @@ Io.exports;
|
|
|
18115
18120
|
return ny(s);
|
|
18116
18121
|
var o = [];
|
|
18117
18122
|
for (var f in qe(s))
|
|
18118
|
-
|
|
18123
|
+
We.call(s, f) && f != "constructor" && o.push(f);
|
|
18119
18124
|
return o;
|
|
18120
18125
|
}
|
|
18121
18126
|
function tx(s) {
|
|
@@ -18123,7 +18128,7 @@ Io.exports;
|
|
|
18123
18128
|
return Dx(s);
|
|
18124
18129
|
var o = os(s), f = [];
|
|
18125
18130
|
for (var v in s)
|
|
18126
|
-
v == "constructor" && (o || !
|
|
18131
|
+
v == "constructor" && (o || !We.call(s, v)) || f.push(v);
|
|
18127
18132
|
return f;
|
|
18128
18133
|
}
|
|
18129
18134
|
function $u(s, o) {
|
|
@@ -18244,7 +18249,7 @@ Io.exports;
|
|
|
18244
18249
|
while (o);
|
|
18245
18250
|
return f;
|
|
18246
18251
|
}
|
|
18247
|
-
function
|
|
18252
|
+
function Ae(s, o) {
|
|
18248
18253
|
return al(hd(s, o, zt), s + "");
|
|
18249
18254
|
}
|
|
18250
18255
|
function ax(s) {
|
|
@@ -18298,7 +18303,7 @@ Io.exports;
|
|
|
18298
18303
|
}
|
|
18299
18304
|
function ma(s, o, f) {
|
|
18300
18305
|
var v = 0, T = s == null ? v : s.length;
|
|
18301
|
-
if (typeof o == "number" && o === o && T <=
|
|
18306
|
+
if (typeof o == "number" && o === o && T <= he) {
|
|
18302
18307
|
for (; v < T; ) {
|
|
18303
18308
|
var A = v + T >>> 1, C = s[A];
|
|
18304
18309
|
C !== null && !Yt(C) && (f ? C <= o : C < o) ? v = A + 1 : T = A;
|
|
@@ -18313,11 +18318,11 @@ Io.exports;
|
|
|
18313
18318
|
return 0;
|
|
18314
18319
|
o = f(o);
|
|
18315
18320
|
for (var C = o !== o, R = o === null, M = Yt(o), U = o === r; T < A; ) {
|
|
18316
|
-
var $ = ua((T + A) / 2), z = f(s[$]), q = z !== r, ee = z === null, oe = z === z,
|
|
18321
|
+
var $ = ua((T + A) / 2), z = f(s[$]), q = z !== r, ee = z === null, oe = z === z, we = Yt(z);
|
|
18317
18322
|
if (C)
|
|
18318
18323
|
var ue = v || oe;
|
|
18319
18324
|
else
|
|
18320
|
-
U ? ue = oe && (v || q) : R ? ue = oe && q && (v || !ee) : M ? ue = oe && q && !ee && (v || !
|
|
18325
|
+
U ? ue = oe && (v || q) : R ? ue = oe && q && (v || !ee) : M ? ue = oe && q && !ee && (v || !we) : ee || we ? ue = !1 : ue = v ? z <= o : z < o;
|
|
18321
18326
|
ue ? T = $ + 1 : A = $;
|
|
18322
18327
|
}
|
|
18323
18328
|
return It(A, le);
|
|
@@ -18382,7 +18387,7 @@ Io.exports;
|
|
|
18382
18387
|
}
|
|
18383
18388
|
function $f(s, o) {
|
|
18384
18389
|
var f = s;
|
|
18385
|
-
return f instanceof
|
|
18390
|
+
return f instanceof Me && (f = f.value()), xu(o, function(v, T) {
|
|
18386
18391
|
return T.func.apply(T.thisArg, tn([v], T.args));
|
|
18387
18392
|
}, f);
|
|
18388
18393
|
}
|
|
@@ -18409,9 +18414,9 @@ Io.exports;
|
|
|
18409
18414
|
return typeof s == "function" ? s : zt;
|
|
18410
18415
|
}
|
|
18411
18416
|
function on(s, o) {
|
|
18412
|
-
return ye(s) ? s : nl(s, o) ? [s] : md(
|
|
18417
|
+
return ye(s) ? s : nl(s, o) ? [s] : md(Ve(s));
|
|
18413
18418
|
}
|
|
18414
|
-
var hx =
|
|
18419
|
+
var hx = Ae;
|
|
18415
18420
|
function un(s, o, f) {
|
|
18416
18421
|
var v = s.length;
|
|
18417
18422
|
return f = f === r ? v : f, !o && f >= v ? s : or(s, o, f);
|
|
@@ -18512,7 +18517,7 @@ Io.exports;
|
|
|
18512
18517
|
};
|
|
18513
18518
|
}
|
|
18514
18519
|
function ci(s) {
|
|
18515
|
-
return
|
|
18520
|
+
return Ae(function(o, f) {
|
|
18516
18521
|
var v = -1, T = f.length, A = T > 1 ? f[T - 1] : r, C = T > 2 ? f[2] : r;
|
|
18517
18522
|
for (A = s.length > 3 && typeof A == "function" ? (T--, A) : r, C && Nt(f[0], f[1], C) && (A = T < 3 ? r : A, T = 1), o = qe(o); ++v < T; ) {
|
|
18518
18523
|
var R = f[v];
|
|
@@ -18552,7 +18557,7 @@ Io.exports;
|
|
|
18552
18557
|
}
|
|
18553
18558
|
function Kf(s) {
|
|
18554
18559
|
return function(o) {
|
|
18555
|
-
o =
|
|
18560
|
+
o = Ve(o);
|
|
18556
18561
|
var f = ni(o) ? dr(o) : r, v = f ? f[0] : o.charAt(0), T = f ? un(f, 1).join("") : o.slice(1);
|
|
18557
18562
|
return v[s]() + T;
|
|
18558
18563
|
};
|
|
@@ -18650,29 +18655,29 @@ Io.exports;
|
|
|
18650
18655
|
});
|
|
18651
18656
|
}
|
|
18652
18657
|
function ya(s, o, f, v, T, A, C, R, M, U) {
|
|
18653
|
-
var $ = o & N, z = o & b, q = o & x, ee = o & (w | I), oe = o & D,
|
|
18658
|
+
var $ = o & N, z = o & b, q = o & x, ee = o & (w | I), oe = o & D, we = q ? r : as(s);
|
|
18654
18659
|
function ue() {
|
|
18655
|
-
for (var
|
|
18656
|
-
|
|
18660
|
+
for (var Re = arguments.length, Ne = k(Re), Kt = Re; Kt--; )
|
|
18661
|
+
Ne[Kt] = arguments[Kt];
|
|
18657
18662
|
if (ee)
|
|
18658
|
-
var Lt = fi(ue), Zt = M_(
|
|
18659
|
-
if (v && (
|
|
18660
|
-
var ft = rn(
|
|
18663
|
+
var Lt = fi(ue), Zt = M_(Ne, Lt);
|
|
18664
|
+
if (v && (Ne = Wf(Ne, v, T, ee)), A && (Ne = jf(Ne, A, C, ee)), Re -= Zt, ee && Re < U) {
|
|
18665
|
+
var ft = rn(Ne, Lt);
|
|
18661
18666
|
return td(
|
|
18662
18667
|
s,
|
|
18663
18668
|
o,
|
|
18664
18669
|
ya,
|
|
18665
18670
|
ue.placeholder,
|
|
18666
18671
|
f,
|
|
18667
|
-
|
|
18672
|
+
Ne,
|
|
18668
18673
|
ft,
|
|
18669
18674
|
R,
|
|
18670
18675
|
M,
|
|
18671
|
-
U -
|
|
18676
|
+
U - Re
|
|
18672
18677
|
);
|
|
18673
18678
|
}
|
|
18674
18679
|
var mr = z ? f : this, jr = q ? mr[s] : s;
|
|
18675
|
-
return
|
|
18680
|
+
return Re = Ne.length, R ? Ne = Ux(Ne, R) : oe && Re > 1 && Ne.reverse(), $ && M < Re && (Ne.length = M), this && this !== St && this instanceof ue && (jr = we || as(jr)), jr.apply(mr, Ne);
|
|
18676
18681
|
}
|
|
18677
18682
|
return ue;
|
|
18678
18683
|
}
|
|
@@ -18696,7 +18701,7 @@ Io.exports;
|
|
|
18696
18701
|
}
|
|
18697
18702
|
function Ku(s) {
|
|
18698
18703
|
return zr(function(o) {
|
|
18699
|
-
return o = nt(o, jt(ae())),
|
|
18704
|
+
return o = nt(o, jt(ae())), Ae(function(f) {
|
|
18700
18705
|
var v = this;
|
|
18701
18706
|
return s(o, function(T) {
|
|
18702
18707
|
return Wt(T, v, f);
|
|
@@ -18736,7 +18741,7 @@ Io.exports;
|
|
|
18736
18741
|
function td(s, o, f, v, T, A, C, R, M, U) {
|
|
18737
18742
|
var $ = o & w, z = $ ? C : r, q = $ ? r : C, ee = $ ? A : r, oe = $ ? r : A;
|
|
18738
18743
|
o |= $ ? O : F, o &= ~($ ? F : O), o & E || (o &= ~(b | x));
|
|
18739
|
-
var
|
|
18744
|
+
var we = [
|
|
18740
18745
|
s,
|
|
18741
18746
|
o,
|
|
18742
18747
|
T,
|
|
@@ -18747,15 +18752,15 @@ Io.exports;
|
|
|
18747
18752
|
R,
|
|
18748
18753
|
M,
|
|
18749
18754
|
U
|
|
18750
|
-
], ue = f.apply(r,
|
|
18751
|
-
return il(s) && dd(ue,
|
|
18755
|
+
], ue = f.apply(r, we);
|
|
18756
|
+
return il(s) && dd(ue, we), ue.placeholder = v, pd(ue, s, o);
|
|
18752
18757
|
}
|
|
18753
18758
|
function Zu(s) {
|
|
18754
18759
|
var o = mt[s];
|
|
18755
18760
|
return function(f, v) {
|
|
18756
|
-
if (f = lr(f), v = v == null ? 0 : It(
|
|
18757
|
-
var T = (
|
|
18758
|
-
return T = (
|
|
18761
|
+
if (f = lr(f), v = v == null ? 0 : It(Te(v), 292), v && pf(f)) {
|
|
18762
|
+
var T = (Ve(f) + "e").split("e"), A = o(T[0] + "e" + (+T[1] + v));
|
|
18763
|
+
return T = (Ve(A) + "e").split("e"), +(T[0] + "e" + (+T[1] - v));
|
|
18759
18764
|
}
|
|
18760
18765
|
return o(f);
|
|
18761
18766
|
};
|
|
@@ -18766,7 +18771,7 @@ Io.exports;
|
|
|
18766
18771
|
function rd(s) {
|
|
18767
18772
|
return function(o) {
|
|
18768
18773
|
var f = Rt(o);
|
|
18769
|
-
return f ==
|
|
18774
|
+
return f == Ee ? Cu(o) : f == lt ? B_(o) : P_(o, s(o));
|
|
18770
18775
|
};
|
|
18771
18776
|
}
|
|
18772
18777
|
function Hr(s, o, f, v, T, A, C, R) {
|
|
@@ -18774,7 +18779,7 @@ Io.exports;
|
|
|
18774
18779
|
if (!M && typeof s != "function")
|
|
18775
18780
|
throw new ir(u);
|
|
18776
18781
|
var U = v ? v.length : 0;
|
|
18777
|
-
if (U || (o &= ~(O | F), v = T = r), C = C === r ? C : vt(
|
|
18782
|
+
if (U || (o &= ~(O | F), v = T = r), C = C === r ? C : vt(Te(C), 0), R = R === r ? R : Te(R), U -= T ? T.length : 0, o & F) {
|
|
18778
18783
|
var $ = v, z = T;
|
|
18779
18784
|
v = T = r;
|
|
18780
18785
|
}
|
|
@@ -18794,11 +18799,11 @@ Io.exports;
|
|
|
18794
18799
|
var oe = _x(s, o, f);
|
|
18795
18800
|
else
|
|
18796
18801
|
o == w || o == I ? oe = yx(s, o, R) : (o == O || o == (b | O)) && !T.length ? oe = xx(s, o, f, v) : oe = ya.apply(r, ee);
|
|
18797
|
-
var
|
|
18798
|
-
return pd(
|
|
18802
|
+
var we = q ? kf : dd;
|
|
18803
|
+
return pd(we(oe, ee), s, o);
|
|
18799
18804
|
}
|
|
18800
18805
|
function nd(s, o, f, v) {
|
|
18801
|
-
return s === r || gr(s, ai[f]) && !
|
|
18806
|
+
return s === r || gr(s, ai[f]) && !We.call(v, f) ? o : s;
|
|
18802
18807
|
}
|
|
18803
18808
|
function id(s, o, f, v, T, A) {
|
|
18804
18809
|
return st(s) && st(o) && (A.set(o, s), ga(s, o, r, id, A), A.delete(o)), s;
|
|
@@ -18815,9 +18820,9 @@ Io.exports;
|
|
|
18815
18820
|
return U == o && $ == s;
|
|
18816
18821
|
var z = -1, q = !0, ee = f & y ? new Sn() : r;
|
|
18817
18822
|
for (A.set(s, o), A.set(o, s); ++z < R; ) {
|
|
18818
|
-
var oe = s[z],
|
|
18823
|
+
var oe = s[z], we = o[z];
|
|
18819
18824
|
if (v)
|
|
18820
|
-
var ue = C ? v(
|
|
18825
|
+
var ue = C ? v(we, oe, z, o, s, A) : v(oe, we, z, s, o, A);
|
|
18821
18826
|
if (ue !== r) {
|
|
18822
18827
|
if (ue)
|
|
18823
18828
|
continue;
|
|
@@ -18825,14 +18830,14 @@ Io.exports;
|
|
|
18825
18830
|
break;
|
|
18826
18831
|
}
|
|
18827
18832
|
if (ee) {
|
|
18828
|
-
if (!bu(o, function(
|
|
18829
|
-
if (!Yi(ee,
|
|
18830
|
-
return ee.push(
|
|
18833
|
+
if (!bu(o, function(Re, Ne) {
|
|
18834
|
+
if (!Yi(ee, Ne) && (oe === Re || T(oe, Re, f, v, A)))
|
|
18835
|
+
return ee.push(Ne);
|
|
18831
18836
|
})) {
|
|
18832
18837
|
q = !1;
|
|
18833
18838
|
break;
|
|
18834
18839
|
}
|
|
18835
|
-
} else if (!(oe ===
|
|
18840
|
+
} else if (!(oe === we || T(oe, we, f, v, A))) {
|
|
18836
18841
|
q = !1;
|
|
18837
18842
|
break;
|
|
18838
18843
|
}
|
|
@@ -18847,16 +18852,16 @@ Io.exports;
|
|
|
18847
18852
|
s = s.buffer, o = o.buffer;
|
|
18848
18853
|
case Jn:
|
|
18849
18854
|
return !(s.byteLength != o.byteLength || !A(new na(s), new na(o)));
|
|
18850
|
-
case
|
|
18851
|
-
case
|
|
18855
|
+
case Be:
|
|
18856
|
+
case ze:
|
|
18852
18857
|
case _e:
|
|
18853
18858
|
return gr(+s, +o);
|
|
18854
|
-
case
|
|
18859
|
+
case Ie:
|
|
18855
18860
|
return s.name == o.name && s.message == o.message;
|
|
18856
18861
|
case Ut:
|
|
18857
18862
|
case tr:
|
|
18858
18863
|
return s == o + "";
|
|
18859
|
-
case
|
|
18864
|
+
case Ee:
|
|
18860
18865
|
var R = Cu;
|
|
18861
18866
|
case lt:
|
|
18862
18867
|
var M = v & _;
|
|
@@ -18880,30 +18885,30 @@ Io.exports;
|
|
|
18880
18885
|
return !1;
|
|
18881
18886
|
for (var z = M; z--; ) {
|
|
18882
18887
|
var q = R[z];
|
|
18883
|
-
if (!(C ? q in o :
|
|
18888
|
+
if (!(C ? q in o : We.call(o, q)))
|
|
18884
18889
|
return !1;
|
|
18885
18890
|
}
|
|
18886
18891
|
var ee = A.get(s), oe = A.get(o);
|
|
18887
18892
|
if (ee && oe)
|
|
18888
18893
|
return ee == o && oe == s;
|
|
18889
|
-
var
|
|
18894
|
+
var we = !0;
|
|
18890
18895
|
A.set(s, o), A.set(o, s);
|
|
18891
18896
|
for (var ue = C; ++z < M; ) {
|
|
18892
18897
|
q = R[z];
|
|
18893
|
-
var
|
|
18898
|
+
var Re = s[q], Ne = o[q];
|
|
18894
18899
|
if (v)
|
|
18895
|
-
var Kt = C ? v(
|
|
18896
|
-
if (!(Kt === r ?
|
|
18897
|
-
|
|
18900
|
+
var Kt = C ? v(Ne, Re, q, o, s, A) : v(Re, Ne, q, s, o, A);
|
|
18901
|
+
if (!(Kt === r ? Re === Ne || T(Re, Ne, f, v, A) : Kt)) {
|
|
18902
|
+
we = !1;
|
|
18898
18903
|
break;
|
|
18899
18904
|
}
|
|
18900
18905
|
ue || (ue = q == "constructor");
|
|
18901
18906
|
}
|
|
18902
|
-
if (
|
|
18907
|
+
if (we && !ue) {
|
|
18903
18908
|
var Lt = s.constructor, Zt = o.constructor;
|
|
18904
|
-
Lt != Zt && "constructor" in s && "constructor" in o && !(typeof Lt == "function" && Lt instanceof Lt && typeof Zt == "function" && Zt instanceof Zt) && (
|
|
18909
|
+
Lt != Zt && "constructor" in s && "constructor" in o && !(typeof Lt == "function" && Lt instanceof Lt && typeof Zt == "function" && Zt instanceof Zt) && (we = !1);
|
|
18905
18910
|
}
|
|
18906
|
-
return A.delete(s), A.delete(o),
|
|
18911
|
+
return A.delete(s), A.delete(o), we;
|
|
18907
18912
|
}
|
|
18908
18913
|
function zr(s) {
|
|
18909
18914
|
return al(hd(s, r, xd), s + "");
|
|
@@ -18918,7 +18923,7 @@ Io.exports;
|
|
|
18918
18923
|
return la.get(s);
|
|
18919
18924
|
} : yl;
|
|
18920
18925
|
function wa(s) {
|
|
18921
|
-
for (var o = s.name + "", f = ui[o], v =
|
|
18926
|
+
for (var o = s.name + "", f = ui[o], v = We.call(ui, o) ? f.length : 0; v--; ) {
|
|
18922
18927
|
var T = f[v], A = T.func;
|
|
18923
18928
|
if (A == null || A == s)
|
|
18924
18929
|
return T.name;
|
|
@@ -18926,7 +18931,7 @@ Io.exports;
|
|
|
18926
18931
|
return o;
|
|
18927
18932
|
}
|
|
18928
18933
|
function fi(s) {
|
|
18929
|
-
var o =
|
|
18934
|
+
var o = We.call(S, "placeholder") ? S : s;
|
|
18930
18935
|
return o.placeholder;
|
|
18931
18936
|
}
|
|
18932
18937
|
function ae() {
|
|
@@ -18949,7 +18954,7 @@ Io.exports;
|
|
|
18949
18954
|
return Cf(f) ? f : r;
|
|
18950
18955
|
}
|
|
18951
18956
|
function Ax(s) {
|
|
18952
|
-
var o =
|
|
18957
|
+
var o = We.call(s, Tn), f = s[Tn];
|
|
18953
18958
|
try {
|
|
18954
18959
|
s[Tn] = r;
|
|
18955
18960
|
var v = !0;
|
|
@@ -18967,16 +18972,16 @@ Io.exports;
|
|
|
18967
18972
|
tn(o, rl(s)), s = ia(s);
|
|
18968
18973
|
return o;
|
|
18969
18974
|
} : xl, Rt = Ft;
|
|
18970
|
-
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ei || Zi && Rt(new Zi()) !=
|
|
18971
|
-
var o = Ft(s), f = o ==
|
|
18975
|
+
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ei || Zi && Rt(new Zi()) != Ee || Mu && Rt(Mu.resolve()) != Fe || oi && Rt(new oi()) != lt || Qi && Rt(new Qi()) != xn) && (Rt = function(s) {
|
|
18976
|
+
var o = Ft(s), f = o == ce ? s.constructor : r, v = f ? In(f) : "";
|
|
18972
18977
|
if (v)
|
|
18973
18978
|
switch (v) {
|
|
18974
18979
|
case oy:
|
|
18975
18980
|
return ei;
|
|
18976
18981
|
case uy:
|
|
18977
|
-
return
|
|
18982
|
+
return Ee;
|
|
18978
18983
|
case ly:
|
|
18979
|
-
return
|
|
18984
|
+
return Fe;
|
|
18980
18985
|
case cy:
|
|
18981
18986
|
return lt;
|
|
18982
18987
|
case hy:
|
|
@@ -19020,7 +19025,7 @@ Io.exports;
|
|
|
19020
19025
|
}
|
|
19021
19026
|
function Ix(s) {
|
|
19022
19027
|
var o = s.length, f = new s.constructor(o);
|
|
19023
|
-
return o && typeof s[0] == "string" &&
|
|
19028
|
+
return o && typeof s[0] == "string" && We.call(s, "index") && (f.index = s.index, f.input = s.input), f;
|
|
19024
19029
|
}
|
|
19025
19030
|
function ud(s) {
|
|
19026
19031
|
return typeof s.constructor == "function" && !os(s) ? li(ia(s)) : {};
|
|
@@ -19030,8 +19035,8 @@ Io.exports;
|
|
|
19030
19035
|
switch (o) {
|
|
19031
19036
|
case Jn:
|
|
19032
19037
|
return Yu(s);
|
|
19033
|
-
case
|
|
19034
|
-
case
|
|
19038
|
+
case Be:
|
|
19039
|
+
case ze:
|
|
19035
19040
|
return new v(+s);
|
|
19036
19041
|
case ei:
|
|
19037
19042
|
return fx(s, f);
|
|
@@ -19045,7 +19050,7 @@ Io.exports;
|
|
|
19045
19050
|
case uu:
|
|
19046
19051
|
case lu:
|
|
19047
19052
|
return Vf(s, f);
|
|
19048
|
-
case
|
|
19053
|
+
case Ee:
|
|
19049
19054
|
return new v();
|
|
19050
19055
|
case _e:
|
|
19051
19056
|
case tr:
|
|
@@ -19092,7 +19097,7 @@ Io.exports;
|
|
|
19092
19097
|
}
|
|
19093
19098
|
function il(s) {
|
|
19094
19099
|
var o = wa(s), f = S[o];
|
|
19095
|
-
if (typeof f != "function" || !(o in
|
|
19100
|
+
if (typeof f != "function" || !(o in Me.prototype))
|
|
19096
19101
|
return !1;
|
|
19097
19102
|
if (s === f)
|
|
19098
19103
|
return !0;
|
|
@@ -19220,19 +19225,19 @@ Io.exports;
|
|
|
19220
19225
|
return "";
|
|
19221
19226
|
}
|
|
19222
19227
|
function $x(s, o) {
|
|
19223
|
-
return nr(
|
|
19228
|
+
return nr(pe, function(f) {
|
|
19224
19229
|
var v = "_." + f[0];
|
|
19225
19230
|
o & f[1] && !Ys(s, v) && s.push(v);
|
|
19226
19231
|
}), s.sort();
|
|
19227
19232
|
}
|
|
19228
19233
|
function vd(s) {
|
|
19229
|
-
if (s instanceof
|
|
19234
|
+
if (s instanceof Me)
|
|
19230
19235
|
return s.clone();
|
|
19231
19236
|
var o = new sr(s.__wrapped__, s.__chain__);
|
|
19232
19237
|
return o.__actions__ = $t(s.__actions__), o.__index__ = s.__index__, o.__values__ = s.__values__, o;
|
|
19233
19238
|
}
|
|
19234
19239
|
function Gx(s, o, f) {
|
|
19235
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(
|
|
19240
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(Te(o), 0);
|
|
19236
19241
|
var v = s == null ? 0 : s.length;
|
|
19237
19242
|
if (!v || o < 1)
|
|
19238
19243
|
return [];
|
|
@@ -19255,22 +19260,22 @@ Io.exports;
|
|
|
19255
19260
|
o[v - 1] = arguments[v];
|
|
19256
19261
|
return tn(ye(f) ? $t(f) : [f], At(o, 1));
|
|
19257
19262
|
}
|
|
19258
|
-
var Vx =
|
|
19263
|
+
var Vx = Ae(function(s, o) {
|
|
19259
19264
|
return ht(s) ? rs(s, At(o, 1, ht, !0)) : [];
|
|
19260
|
-
}), Xx =
|
|
19265
|
+
}), Xx = Ae(function(s, o) {
|
|
19261
19266
|
var f = ur(o);
|
|
19262
19267
|
return ht(f) && (f = r), ht(s) ? rs(s, At(o, 1, ht, !0), ae(f, 2)) : [];
|
|
19263
|
-
}), Wx =
|
|
19268
|
+
}), Wx = Ae(function(s, o) {
|
|
19264
19269
|
var f = ur(o);
|
|
19265
19270
|
return ht(f) && (f = r), ht(s) ? rs(s, At(o, 1, ht, !0), r, f) : [];
|
|
19266
19271
|
});
|
|
19267
19272
|
function jx(s, o, f) {
|
|
19268
19273
|
var v = s == null ? 0 : s.length;
|
|
19269
|
-
return v ? (o = f || o === r ? 1 :
|
|
19274
|
+
return v ? (o = f || o === r ? 1 : Te(o), or(s, o < 0 ? 0 : o, v)) : [];
|
|
19270
19275
|
}
|
|
19271
19276
|
function qx(s, o, f) {
|
|
19272
19277
|
var v = s == null ? 0 : s.length;
|
|
19273
|
-
return v ? (o = f || o === r ? 1 :
|
|
19278
|
+
return v ? (o = f || o === r ? 1 : Te(o), o = v - o, or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19274
19279
|
}
|
|
19275
19280
|
function Yx(s, o) {
|
|
19276
19281
|
return s && s.length ? va(s, ae(o, 3), !0, !0) : [];
|
|
@@ -19286,7 +19291,7 @@ Io.exports;
|
|
|
19286
19291
|
var v = s == null ? 0 : s.length;
|
|
19287
19292
|
if (!v)
|
|
19288
19293
|
return -1;
|
|
19289
|
-
var T = f == null ? 0 :
|
|
19294
|
+
var T = f == null ? 0 : Te(f);
|
|
19290
19295
|
return T < 0 && (T = vt(v + T, 0)), Ks(s, ae(o, 3), T);
|
|
19291
19296
|
}
|
|
19292
19297
|
function yd(s, o, f) {
|
|
@@ -19294,7 +19299,7 @@ Io.exports;
|
|
|
19294
19299
|
if (!v)
|
|
19295
19300
|
return -1;
|
|
19296
19301
|
var T = v - 1;
|
|
19297
|
-
return f !== r && (T =
|
|
19302
|
+
return f !== r && (T = Te(f), T = f < 0 ? vt(v + T, 0) : It(T, v - 1)), Ks(s, ae(o, 3), T, !0);
|
|
19298
19303
|
}
|
|
19299
19304
|
function xd(s) {
|
|
19300
19305
|
var o = s == null ? 0 : s.length;
|
|
@@ -19306,7 +19311,7 @@ Io.exports;
|
|
|
19306
19311
|
}
|
|
19307
19312
|
function Jx(s, o) {
|
|
19308
19313
|
var f = s == null ? 0 : s.length;
|
|
19309
|
-
return f ? (o = o === r ? 1 :
|
|
19314
|
+
return f ? (o = o === r ? 1 : Te(o), At(s, o)) : [];
|
|
19310
19315
|
}
|
|
19311
19316
|
function e1(s) {
|
|
19312
19317
|
for (var o = -1, f = s == null ? 0 : s.length, v = {}; ++o < f; ) {
|
|
@@ -19322,20 +19327,20 @@ Io.exports;
|
|
|
19322
19327
|
var v = s == null ? 0 : s.length;
|
|
19323
19328
|
if (!v)
|
|
19324
19329
|
return -1;
|
|
19325
|
-
var T = f == null ? 0 :
|
|
19330
|
+
var T = f == null ? 0 : Te(f);
|
|
19326
19331
|
return T < 0 && (T = vt(v + T, 0)), ri(s, o, T);
|
|
19327
19332
|
}
|
|
19328
19333
|
function r1(s) {
|
|
19329
19334
|
var o = s == null ? 0 : s.length;
|
|
19330
19335
|
return o ? or(s, 0, -1) : [];
|
|
19331
19336
|
}
|
|
19332
|
-
var n1 =
|
|
19337
|
+
var n1 = Ae(function(s) {
|
|
19333
19338
|
var o = nt(s, ju);
|
|
19334
19339
|
return o.length && o[0] === s[0] ? Du(o) : [];
|
|
19335
|
-
}), i1 =
|
|
19340
|
+
}), i1 = Ae(function(s) {
|
|
19336
19341
|
var o = ur(s), f = nt(s, ju);
|
|
19337
19342
|
return o === ur(f) ? o = r : f.pop(), f.length && f[0] === s[0] ? Du(f, ae(o, 2)) : [];
|
|
19338
|
-
}), s1 =
|
|
19343
|
+
}), s1 = Ae(function(s) {
|
|
19339
19344
|
var o = ur(s), f = nt(s, ju);
|
|
19340
19345
|
return o = typeof o == "function" ? o : r, o && f.pop(), f.length && f[0] === s[0] ? Du(f, r, o) : [];
|
|
19341
19346
|
});
|
|
@@ -19351,12 +19356,12 @@ Io.exports;
|
|
|
19351
19356
|
if (!v)
|
|
19352
19357
|
return -1;
|
|
19353
19358
|
var T = v;
|
|
19354
|
-
return f !== r && (T =
|
|
19359
|
+
return f !== r && (T = Te(f), T = T < 0 ? vt(v + T, 0) : It(T, v - 1)), o === o ? $_(s, o, T) : Ks(s, ef, T, !0);
|
|
19355
19360
|
}
|
|
19356
19361
|
function u1(s, o) {
|
|
19357
|
-
return s && s.length ? Of(s,
|
|
19362
|
+
return s && s.length ? Of(s, Te(o)) : r;
|
|
19358
19363
|
}
|
|
19359
|
-
var l1 =
|
|
19364
|
+
var l1 = Ae(Td);
|
|
19360
19365
|
function Td(s, o) {
|
|
19361
19366
|
return s && s.length && o && o.length ? Gu(s, o) : s;
|
|
19362
19367
|
}
|
|
@@ -19388,7 +19393,7 @@ Io.exports;
|
|
|
19388
19393
|
}
|
|
19389
19394
|
function p1(s, o, f) {
|
|
19390
19395
|
var v = s == null ? 0 : s.length;
|
|
19391
|
-
return v ? (f && typeof f != "number" && Nt(s, o, f) ? (o = 0, f = v) : (o = o == null ? 0 :
|
|
19396
|
+
return v ? (f && typeof f != "number" && Nt(s, o, f) ? (o = 0, f = v) : (o = o == null ? 0 : Te(o), f = f === r ? v : Te(f)), or(s, o, f)) : [];
|
|
19392
19397
|
}
|
|
19393
19398
|
function g1(s, o) {
|
|
19394
19399
|
return ma(s, o);
|
|
@@ -19431,11 +19436,11 @@ Io.exports;
|
|
|
19431
19436
|
return o ? or(s, 1, o) : [];
|
|
19432
19437
|
}
|
|
19433
19438
|
function S1(s, o, f) {
|
|
19434
|
-
return s && s.length ? (o = f || o === r ? 1 :
|
|
19439
|
+
return s && s.length ? (o = f || o === r ? 1 : Te(o), or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19435
19440
|
}
|
|
19436
19441
|
function A1(s, o, f) {
|
|
19437
19442
|
var v = s == null ? 0 : s.length;
|
|
19438
|
-
return v ? (o = f || o === r ? 1 :
|
|
19443
|
+
return v ? (o = f || o === r ? 1 : Te(o), o = v - o, or(s, o < 0 ? 0 : o, v)) : [];
|
|
19439
19444
|
}
|
|
19440
19445
|
function E1(s, o) {
|
|
19441
19446
|
return s && s.length ? va(s, ae(o, 3), !1, !0) : [];
|
|
@@ -19443,12 +19448,12 @@ Io.exports;
|
|
|
19443
19448
|
function C1(s, o) {
|
|
19444
19449
|
return s && s.length ? va(s, ae(o, 3)) : [];
|
|
19445
19450
|
}
|
|
19446
|
-
var I1 =
|
|
19451
|
+
var I1 = Ae(function(s) {
|
|
19447
19452
|
return an(At(s, 1, ht, !0));
|
|
19448
|
-
}), R1 =
|
|
19453
|
+
}), R1 = Ae(function(s) {
|
|
19449
19454
|
var o = ur(s);
|
|
19450
19455
|
return ht(o) && (o = r), an(At(s, 1, ht, !0), ae(o, 2));
|
|
19451
|
-
}), P1 =
|
|
19456
|
+
}), P1 = Ae(function(s) {
|
|
19452
19457
|
var o = ur(s);
|
|
19453
19458
|
return o = typeof o == "function" ? o : r, an(At(s, 1, ht, !0), r, o);
|
|
19454
19459
|
});
|
|
@@ -19480,24 +19485,24 @@ Io.exports;
|
|
|
19480
19485
|
return Wt(o, r, v);
|
|
19481
19486
|
});
|
|
19482
19487
|
}
|
|
19483
|
-
var N1 =
|
|
19488
|
+
var N1 = Ae(function(s, o) {
|
|
19484
19489
|
return ht(s) ? rs(s, o) : [];
|
|
19485
|
-
}), L1 =
|
|
19490
|
+
}), L1 = Ae(function(s) {
|
|
19486
19491
|
return Wu(en(s, ht));
|
|
19487
|
-
}), k1 =
|
|
19492
|
+
}), k1 = Ae(function(s) {
|
|
19488
19493
|
var o = ur(s);
|
|
19489
19494
|
return ht(o) && (o = r), Wu(en(s, ht), ae(o, 2));
|
|
19490
|
-
}), D1 =
|
|
19495
|
+
}), D1 = Ae(function(s) {
|
|
19491
19496
|
var o = ur(s);
|
|
19492
19497
|
return o = typeof o == "function" ? o : r, Wu(en(s, ht), r, o);
|
|
19493
|
-
}), B1 =
|
|
19498
|
+
}), B1 = Ae(ul);
|
|
19494
19499
|
function U1(s, o) {
|
|
19495
19500
|
return Gf(s || [], o || [], ts);
|
|
19496
19501
|
}
|
|
19497
19502
|
function $1(s, o) {
|
|
19498
19503
|
return Gf(s || [], o || [], ss);
|
|
19499
19504
|
}
|
|
19500
|
-
var G1 =
|
|
19505
|
+
var G1 = Ae(function(s) {
|
|
19501
19506
|
var o = s.length, f = o > 1 ? s[o - 1] : r;
|
|
19502
19507
|
return f = typeof f == "function" ? (s.pop(), f) : r, wd(s, f);
|
|
19503
19508
|
});
|
|
@@ -19515,7 +19520,7 @@ Io.exports;
|
|
|
19515
19520
|
var o = s.length, f = o ? s[0] : 0, v = this.__wrapped__, T = function(A) {
|
|
19516
19521
|
return Fu(A, s);
|
|
19517
19522
|
};
|
|
19518
|
-
return o > 1 || this.__actions__.length || !(v instanceof
|
|
19523
|
+
return o > 1 || this.__actions__.length || !(v instanceof Me) || !Vr(f) ? this.thru(T) : (v = v.slice(f, +f + (o ? 1 : 0)), v.__actions__.push({
|
|
19519
19524
|
func: Ea,
|
|
19520
19525
|
args: [T],
|
|
19521
19526
|
thisArg: r
|
|
@@ -19548,9 +19553,9 @@ Io.exports;
|
|
|
19548
19553
|
}
|
|
19549
19554
|
function Y1() {
|
|
19550
19555
|
var s = this.__wrapped__;
|
|
19551
|
-
if (s instanceof
|
|
19556
|
+
if (s instanceof Me) {
|
|
19552
19557
|
var o = s;
|
|
19553
|
-
return this.__actions__.length && (o = new
|
|
19558
|
+
return this.__actions__.length && (o = new Me(this)), o = o.reverse(), o.__actions__.push({
|
|
19554
19559
|
func: Ea,
|
|
19555
19560
|
args: [ol],
|
|
19556
19561
|
thisArg: r
|
|
@@ -19562,7 +19567,7 @@ Io.exports;
|
|
|
19562
19567
|
return $f(this.__wrapped__, this.__actions__);
|
|
19563
19568
|
}
|
|
19564
19569
|
var Z1 = _a(function(s, o, f) {
|
|
19565
|
-
|
|
19570
|
+
We.call(s, f) ? ++s[f] : Gr(s, f, 1);
|
|
19566
19571
|
});
|
|
19567
19572
|
function Q1(s, o, f) {
|
|
19568
19573
|
var v = ye(s) ? Qh : Hy;
|
|
@@ -19580,7 +19585,7 @@ Io.exports;
|
|
|
19580
19585
|
return At(Ca(s, o), H);
|
|
19581
19586
|
}
|
|
19582
19587
|
function ib(s, o, f) {
|
|
19583
|
-
return f = f === r ? 1 :
|
|
19588
|
+
return f = f === r ? 1 : Te(f), At(Ca(s, o), f);
|
|
19584
19589
|
}
|
|
19585
19590
|
function Ad(s, o) {
|
|
19586
19591
|
var f = ye(s) ? nr : sn;
|
|
@@ -19591,14 +19596,14 @@ Io.exports;
|
|
|
19591
19596
|
return f(s, ae(o, 3));
|
|
19592
19597
|
}
|
|
19593
19598
|
var sb = _a(function(s, o, f) {
|
|
19594
|
-
|
|
19599
|
+
We.call(s, f) ? s[f].push(o) : Gr(s, f, [o]);
|
|
19595
19600
|
});
|
|
19596
19601
|
function ab(s, o, f, v) {
|
|
19597
|
-
s = Gt(s) ? s : pi(s), f = f && !v ?
|
|
19602
|
+
s = Gt(s) ? s : pi(s), f = f && !v ? Te(f) : 0;
|
|
19598
19603
|
var T = s.length;
|
|
19599
19604
|
return f < 0 && (f = vt(T + f, 0)), Oa(s) ? f <= T && s.indexOf(o, f) > -1 : !!T && ri(s, o, f) > -1;
|
|
19600
19605
|
}
|
|
19601
|
-
var ob =
|
|
19606
|
+
var ob = Ae(function(s, o, f) {
|
|
19602
19607
|
var v = -1, T = typeof o == "function", A = Gt(s) ? k(s.length) : [];
|
|
19603
19608
|
return sn(s, function(C) {
|
|
19604
19609
|
A[++v] = T ? Wt(o, C, f) : ns(C, o, f);
|
|
@@ -19635,7 +19640,7 @@ Io.exports;
|
|
|
19635
19640
|
return o(s);
|
|
19636
19641
|
}
|
|
19637
19642
|
function gb(s, o, f) {
|
|
19638
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
19643
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = Te(o);
|
|
19639
19644
|
var v = ye(s) ? Dy : ox;
|
|
19640
19645
|
return v(s, o);
|
|
19641
19646
|
}
|
|
@@ -19649,13 +19654,13 @@ Io.exports;
|
|
|
19649
19654
|
if (Gt(s))
|
|
19650
19655
|
return Oa(s) ? ii(s) : s.length;
|
|
19651
19656
|
var o = Rt(s);
|
|
19652
|
-
return o ==
|
|
19657
|
+
return o == Ee || o == lt ? s.size : Uu(s).length;
|
|
19653
19658
|
}
|
|
19654
19659
|
function _b(s, o, f) {
|
|
19655
19660
|
var v = ye(s) ? bu : cx;
|
|
19656
19661
|
return f && Nt(s, o, f) && (o = r), v(s, ae(o, 3));
|
|
19657
19662
|
}
|
|
19658
|
-
var yb =
|
|
19663
|
+
var yb = Ae(function(s, o) {
|
|
19659
19664
|
if (s == null)
|
|
19660
19665
|
return [];
|
|
19661
19666
|
var f = o.length;
|
|
@@ -19666,7 +19671,7 @@ Io.exports;
|
|
|
19666
19671
|
function xb(s, o) {
|
|
19667
19672
|
if (typeof o != "function")
|
|
19668
19673
|
throw new ir(u);
|
|
19669
|
-
return s =
|
|
19674
|
+
return s = Te(s), function() {
|
|
19670
19675
|
if (--s < 1)
|
|
19671
19676
|
return o.apply(this, arguments);
|
|
19672
19677
|
};
|
|
@@ -19678,18 +19683,18 @@ Io.exports;
|
|
|
19678
19683
|
var f;
|
|
19679
19684
|
if (typeof o != "function")
|
|
19680
19685
|
throw new ir(u);
|
|
19681
|
-
return s =
|
|
19686
|
+
return s = Te(s), function() {
|
|
19682
19687
|
return --s > 0 && (f = o.apply(this, arguments)), s <= 1 && (o = r), f;
|
|
19683
19688
|
};
|
|
19684
19689
|
}
|
|
19685
|
-
var ll =
|
|
19690
|
+
var ll = Ae(function(s, o, f) {
|
|
19686
19691
|
var v = b;
|
|
19687
19692
|
if (f.length) {
|
|
19688
19693
|
var T = rn(f, fi(ll));
|
|
19689
19694
|
v |= O;
|
|
19690
19695
|
}
|
|
19691
19696
|
return Hr(s, v, o, f, T);
|
|
19692
|
-
}), Rd =
|
|
19697
|
+
}), Rd = Ae(function(s, o, f) {
|
|
19693
19698
|
var v = b | x;
|
|
19694
19699
|
if (f.length) {
|
|
19695
19700
|
var T = rn(f, fi(Rd));
|
|
@@ -19717,9 +19722,9 @@ Io.exports;
|
|
|
19717
19722
|
return v = T = r, U = ft, C = s.apply(jr, mr), C;
|
|
19718
19723
|
}
|
|
19719
19724
|
function oe(ft) {
|
|
19720
|
-
return U = ft, R = us(
|
|
19725
|
+
return U = ft, R = us(Re, o), $ ? ee(ft) : C;
|
|
19721
19726
|
}
|
|
19722
|
-
function
|
|
19727
|
+
function we(ft) {
|
|
19723
19728
|
var mr = ft - M, jr = ft - U, Zd = o - mr;
|
|
19724
19729
|
return z ? It(Zd, A - jr) : Zd;
|
|
19725
19730
|
}
|
|
@@ -19727,20 +19732,20 @@ Io.exports;
|
|
|
19727
19732
|
var mr = ft - M, jr = ft - U;
|
|
19728
19733
|
return M === r || mr >= o || mr < 0 || z && jr >= A;
|
|
19729
19734
|
}
|
|
19730
|
-
function
|
|
19735
|
+
function Re() {
|
|
19731
19736
|
var ft = Ia();
|
|
19732
19737
|
if (ue(ft))
|
|
19733
|
-
return
|
|
19734
|
-
R = us(
|
|
19738
|
+
return Ne(ft);
|
|
19739
|
+
R = us(Re, we(ft));
|
|
19735
19740
|
}
|
|
19736
|
-
function
|
|
19741
|
+
function Ne(ft) {
|
|
19737
19742
|
return R = r, q && v ? ee(ft) : (v = T = r, C);
|
|
19738
19743
|
}
|
|
19739
19744
|
function Kt() {
|
|
19740
19745
|
R !== r && Hf(R), U = 0, v = M = T = R = r;
|
|
19741
19746
|
}
|
|
19742
19747
|
function Lt() {
|
|
19743
|
-
return R === r ? C :
|
|
19748
|
+
return R === r ? C : Ne(Ia());
|
|
19744
19749
|
}
|
|
19745
19750
|
function Zt() {
|
|
19746
19751
|
var ft = Ia(), mr = ue(ft);
|
|
@@ -19748,15 +19753,15 @@ Io.exports;
|
|
|
19748
19753
|
if (R === r)
|
|
19749
19754
|
return oe(M);
|
|
19750
19755
|
if (z)
|
|
19751
|
-
return Hf(R), R = us(
|
|
19756
|
+
return Hf(R), R = us(Re, o), ee(M);
|
|
19752
19757
|
}
|
|
19753
|
-
return R === r && (R = us(
|
|
19758
|
+
return R === r && (R = us(Re, o)), C;
|
|
19754
19759
|
}
|
|
19755
19760
|
return Zt.cancel = Kt, Zt.flush = Lt, Zt;
|
|
19756
19761
|
}
|
|
19757
|
-
var bb =
|
|
19762
|
+
var bb = Ae(function(s, o) {
|
|
19758
19763
|
return bf(s, 1, o);
|
|
19759
|
-
}), Tb =
|
|
19764
|
+
}), Tb = Ae(function(s, o, f) {
|
|
19760
19765
|
return bf(s, lr(o) || 0, f);
|
|
19761
19766
|
});
|
|
19762
19767
|
function wb(s) {
|
|
@@ -19799,15 +19804,15 @@ Io.exports;
|
|
|
19799
19804
|
var Ab = hx(function(s, o) {
|
|
19800
19805
|
o = o.length == 1 && ye(o[0]) ? nt(o[0], jt(ae())) : nt(At(o, 1), jt(ae()));
|
|
19801
19806
|
var f = o.length;
|
|
19802
|
-
return
|
|
19807
|
+
return Ae(function(v) {
|
|
19803
19808
|
for (var T = -1, A = It(v.length, f); ++T < A; )
|
|
19804
19809
|
v[T] = o[T].call(this, v[T]);
|
|
19805
19810
|
return Wt(s, this, v);
|
|
19806
19811
|
});
|
|
19807
|
-
}), cl =
|
|
19812
|
+
}), cl = Ae(function(s, o) {
|
|
19808
19813
|
var f = rn(o, fi(cl));
|
|
19809
19814
|
return Hr(s, O, r, o, f);
|
|
19810
|
-
}), Fd =
|
|
19815
|
+
}), Fd = Ae(function(s, o) {
|
|
19811
19816
|
var f = rn(o, fi(Fd));
|
|
19812
19817
|
return Hr(s, F, r, o, f);
|
|
19813
19818
|
}), Eb = zr(function(s, o) {
|
|
@@ -19816,12 +19821,12 @@ Io.exports;
|
|
|
19816
19821
|
function Cb(s, o) {
|
|
19817
19822
|
if (typeof s != "function")
|
|
19818
19823
|
throw new ir(u);
|
|
19819
|
-
return o = o === r ? o :
|
|
19824
|
+
return o = o === r ? o : Te(o), Ae(s, o);
|
|
19820
19825
|
}
|
|
19821
19826
|
function Ib(s, o) {
|
|
19822
19827
|
if (typeof s != "function")
|
|
19823
19828
|
throw new ir(u);
|
|
19824
|
-
return o = o == null ? 0 : vt(
|
|
19829
|
+
return o = o == null ? 0 : vt(Te(o), 0), Ae(function(f) {
|
|
19825
19830
|
var v = f[o], T = un(f, 0, o);
|
|
19826
19831
|
return v && tn(T, v), Wt(s, this, T);
|
|
19827
19832
|
});
|
|
@@ -19871,7 +19876,7 @@ Io.exports;
|
|
|
19871
19876
|
}), Rn = Ef(function() {
|
|
19872
19877
|
return arguments;
|
|
19873
19878
|
}()) ? Ef : function(s) {
|
|
19874
|
-
return ct(s) &&
|
|
19879
|
+
return ct(s) && We.call(s, "callee") && !ff.call(s, "callee");
|
|
19875
19880
|
}, ye = k.isArray, $b = Wh ? jt(Wh) : qy;
|
|
19876
19881
|
function Gt(s) {
|
|
19877
19882
|
return s != null && Ma(s.length) && !Xr(s);
|
|
@@ -19880,7 +19885,7 @@ Io.exports;
|
|
|
19880
19885
|
return ct(s) && Gt(s);
|
|
19881
19886
|
}
|
|
19882
19887
|
function Gb(s) {
|
|
19883
|
-
return s === !0 || s === !1 || ct(s) && Ft(s) ==
|
|
19888
|
+
return s === !0 || s === !1 || ct(s) && Ft(s) == Be;
|
|
19884
19889
|
}
|
|
19885
19890
|
var ln = ty || bl, Hb = jh ? jt(jh) : Yy;
|
|
19886
19891
|
function zb(s) {
|
|
@@ -19892,12 +19897,12 @@ Io.exports;
|
|
|
19892
19897
|
if (Gt(s) && (ye(s) || typeof s == "string" || typeof s.splice == "function" || ln(s) || di(s) || Rn(s)))
|
|
19893
19898
|
return !s.length;
|
|
19894
19899
|
var o = Rt(s);
|
|
19895
|
-
if (o ==
|
|
19900
|
+
if (o == Ee || o == lt)
|
|
19896
19901
|
return !s.size;
|
|
19897
19902
|
if (os(s))
|
|
19898
19903
|
return !Uu(s).length;
|
|
19899
19904
|
for (var f in s)
|
|
19900
|
-
if (
|
|
19905
|
+
if (We.call(s, f))
|
|
19901
19906
|
return !1;
|
|
19902
19907
|
return !0;
|
|
19903
19908
|
}
|
|
@@ -19913,7 +19918,7 @@ Io.exports;
|
|
|
19913
19918
|
if (!ct(s))
|
|
19914
19919
|
return !1;
|
|
19915
19920
|
var o = Ft(s);
|
|
19916
|
-
return o ==
|
|
19921
|
+
return o == Ie || o == ve || typeof s.message == "string" && typeof s.name == "string" && !ls(s);
|
|
19917
19922
|
}
|
|
19918
19923
|
function jb(s) {
|
|
19919
19924
|
return typeof s == "number" && pf(s);
|
|
@@ -19922,10 +19927,10 @@ Io.exports;
|
|
|
19922
19927
|
if (!st(s))
|
|
19923
19928
|
return !1;
|
|
19924
19929
|
var o = Ft(s);
|
|
19925
|
-
return o == Ge || o == Ke || o ==
|
|
19930
|
+
return o == Ge || o == Ke || o == xe || o == Xt;
|
|
19926
19931
|
}
|
|
19927
19932
|
function Nd(s) {
|
|
19928
|
-
return typeof s == "number" && s ==
|
|
19933
|
+
return typeof s == "number" && s == Te(s);
|
|
19929
19934
|
}
|
|
19930
19935
|
function Ma(s) {
|
|
19931
19936
|
return typeof s == "number" && s > -1 && s % 1 == 0 && s <= Q;
|
|
@@ -19949,7 +19954,7 @@ Io.exports;
|
|
|
19949
19954
|
}
|
|
19950
19955
|
function Zb(s) {
|
|
19951
19956
|
if (Nx(s))
|
|
19952
|
-
throw new
|
|
19957
|
+
throw new ge(a);
|
|
19953
19958
|
return Cf(s);
|
|
19954
19959
|
}
|
|
19955
19960
|
function Qb(s) {
|
|
@@ -19962,12 +19967,12 @@ Io.exports;
|
|
|
19962
19967
|
return typeof s == "number" || ct(s) && Ft(s) == _e;
|
|
19963
19968
|
}
|
|
19964
19969
|
function ls(s) {
|
|
19965
|
-
if (!ct(s) || Ft(s) !=
|
|
19970
|
+
if (!ct(s) || Ft(s) != ce)
|
|
19966
19971
|
return !1;
|
|
19967
19972
|
var o = ia(s);
|
|
19968
19973
|
if (o === null)
|
|
19969
19974
|
return !0;
|
|
19970
|
-
var f =
|
|
19975
|
+
var f = We.call(o, "constructor") && o.constructor;
|
|
19971
19976
|
return typeof f == "function" && f instanceof f && ea.call(f) == Y_;
|
|
19972
19977
|
}
|
|
19973
19978
|
var fl = Yh ? jt(Yh) : Qy;
|
|
@@ -20001,7 +20006,7 @@ Io.exports;
|
|
|
20001
20006
|
return Oa(s) ? dr(s) : $t(s);
|
|
20002
20007
|
if (Ki && s[Ki])
|
|
20003
20008
|
return D_(s[Ki]());
|
|
20004
|
-
var o = Rt(s), f = o ==
|
|
20009
|
+
var o = Rt(s), f = o == Ee ? Cu : o == lt ? Zs : pi;
|
|
20005
20010
|
return f(s);
|
|
20006
20011
|
}
|
|
20007
20012
|
function Wr(s) {
|
|
@@ -20009,16 +20014,16 @@ Io.exports;
|
|
|
20009
20014
|
return s === 0 ? s : 0;
|
|
20010
20015
|
if (s = lr(s), s === H || s === -H) {
|
|
20011
20016
|
var o = s < 0 ? -1 : 1;
|
|
20012
|
-
return o *
|
|
20017
|
+
return o * de;
|
|
20013
20018
|
}
|
|
20014
20019
|
return s === s ? s : 0;
|
|
20015
20020
|
}
|
|
20016
|
-
function
|
|
20021
|
+
function Te(s) {
|
|
20017
20022
|
var o = Wr(s), f = o % 1;
|
|
20018
20023
|
return o === o ? f ? o - f : o : 0;
|
|
20019
20024
|
}
|
|
20020
20025
|
function Ud(s) {
|
|
20021
|
-
return s ? An(
|
|
20026
|
+
return s ? An(Te(s), 0, j) : 0;
|
|
20022
20027
|
}
|
|
20023
20028
|
function lr(s) {
|
|
20024
20029
|
if (typeof s == "number")
|
|
@@ -20039,9 +20044,9 @@ Io.exports;
|
|
|
20039
20044
|
return Rr(s, Ht(s));
|
|
20040
20045
|
}
|
|
20041
20046
|
function aT(s) {
|
|
20042
|
-
return s ? An(
|
|
20047
|
+
return s ? An(Te(s), -Q, Q) : s === 0 ? s : 0;
|
|
20043
20048
|
}
|
|
20044
|
-
function
|
|
20049
|
+
function Ve(s) {
|
|
20045
20050
|
return s == null ? "" : qt(s);
|
|
20046
20051
|
}
|
|
20047
20052
|
var oT = ci(function(s, o) {
|
|
@@ -20050,7 +20055,7 @@ Io.exports;
|
|
|
20050
20055
|
return;
|
|
20051
20056
|
}
|
|
20052
20057
|
for (var f in o)
|
|
20053
|
-
|
|
20058
|
+
We.call(o, f) && ts(s, f, o[f]);
|
|
20054
20059
|
}), Gd = ci(function(s, o) {
|
|
20055
20060
|
Rr(o, Ht(o), s);
|
|
20056
20061
|
}), Fa = ci(function(s, o, f, v) {
|
|
@@ -20062,16 +20067,16 @@ Io.exports;
|
|
|
20062
20067
|
var f = li(s);
|
|
20063
20068
|
return o == null ? f : yf(f, o);
|
|
20064
20069
|
}
|
|
20065
|
-
var hT =
|
|
20070
|
+
var hT = Ae(function(s, o) {
|
|
20066
20071
|
s = qe(s);
|
|
20067
20072
|
var f = -1, v = o.length, T = v > 2 ? o[2] : r;
|
|
20068
20073
|
for (T && Nt(o[0], o[1], T) && (v = 1); ++f < v; )
|
|
20069
20074
|
for (var A = o[f], C = Ht(A), R = -1, M = C.length; ++R < M; ) {
|
|
20070
20075
|
var U = C[R], $ = s[U];
|
|
20071
|
-
($ === r || gr($, ai[U]) && !
|
|
20076
|
+
($ === r || gr($, ai[U]) && !We.call(s, U)) && (s[U] = A[U]);
|
|
20072
20077
|
}
|
|
20073
20078
|
return s;
|
|
20074
|
-
}), fT =
|
|
20079
|
+
}), fT = Ae(function(s) {
|
|
20075
20080
|
return s.push(r, id), Wt(Hd, r, s);
|
|
20076
20081
|
});
|
|
20077
20082
|
function dT(s, o) {
|
|
@@ -20111,8 +20116,8 @@ Io.exports;
|
|
|
20111
20116
|
var TT = Jf(function(s, o, f) {
|
|
20112
20117
|
o != null && typeof o.toString != "function" && (o = ta.call(o)), s[o] = f;
|
|
20113
20118
|
}, ml(zt)), wT = Jf(function(s, o, f) {
|
|
20114
|
-
o != null && typeof o.toString != "function" && (o = ta.call(o)),
|
|
20115
|
-
}, ae), ST =
|
|
20119
|
+
o != null && typeof o.toString != "function" && (o = ta.call(o)), We.call(s, o) ? s[o].push(f) : s[o] = [f];
|
|
20120
|
+
}, ae), ST = Ae(ns);
|
|
20116
20121
|
function yt(s) {
|
|
20117
20122
|
return Gt(s) ? vf(s) : Uu(s);
|
|
20118
20123
|
}
|
|
@@ -20225,23 +20230,23 @@ Io.exports;
|
|
|
20225
20230
|
return o = o.toLowerCase(), s + (f ? Wd(o) : o);
|
|
20226
20231
|
});
|
|
20227
20232
|
function Wd(s) {
|
|
20228
|
-
return gl(
|
|
20233
|
+
return gl(Ve(s).toLowerCase());
|
|
20229
20234
|
}
|
|
20230
20235
|
function jd(s) {
|
|
20231
|
-
return s =
|
|
20236
|
+
return s = Ve(s), s && s.replace(Vv, O_).replace(l_, "");
|
|
20232
20237
|
}
|
|
20233
20238
|
function zT(s, o, f) {
|
|
20234
|
-
s =
|
|
20239
|
+
s = Ve(s), o = qt(o);
|
|
20235
20240
|
var v = s.length;
|
|
20236
|
-
f = f === r ? v : An(
|
|
20241
|
+
f = f === r ? v : An(Te(f), 0, v);
|
|
20237
20242
|
var T = f;
|
|
20238
20243
|
return f -= o.length, f >= 0 && s.slice(f, T) == o;
|
|
20239
20244
|
}
|
|
20240
20245
|
function VT(s) {
|
|
20241
|
-
return s =
|
|
20246
|
+
return s = Ve(s), s && Sv.test(s) ? s.replace(wh, F_) : s;
|
|
20242
20247
|
}
|
|
20243
20248
|
function XT(s) {
|
|
20244
|
-
return s =
|
|
20249
|
+
return s = Ve(s), s && Pv.test(s) ? s.replace(cu, "\\$&") : s;
|
|
20245
20250
|
}
|
|
20246
20251
|
var WT = hi(function(s, o, f) {
|
|
20247
20252
|
return s + (f ? "-" : "") + o.toLowerCase();
|
|
@@ -20249,7 +20254,7 @@ Io.exports;
|
|
|
20249
20254
|
return s + (f ? " " : "") + o.toLowerCase();
|
|
20250
20255
|
}), qT = Kf("toLowerCase");
|
|
20251
20256
|
function YT(s, o, f) {
|
|
20252
|
-
s =
|
|
20257
|
+
s = Ve(s), o = Te(o);
|
|
20253
20258
|
var v = o ? ii(s) : 0;
|
|
20254
20259
|
if (!o || v >= o)
|
|
20255
20260
|
return s;
|
|
@@ -20257,63 +20262,63 @@ Io.exports;
|
|
|
20257
20262
|
return ba(ua(T), f) + s + ba(oa(T), f);
|
|
20258
20263
|
}
|
|
20259
20264
|
function KT(s, o, f) {
|
|
20260
|
-
s =
|
|
20265
|
+
s = Ve(s), o = Te(o);
|
|
20261
20266
|
var v = o ? ii(s) : 0;
|
|
20262
20267
|
return o && v < o ? s + ba(o - v, f) : s;
|
|
20263
20268
|
}
|
|
20264
20269
|
function ZT(s, o, f) {
|
|
20265
|
-
s =
|
|
20270
|
+
s = Ve(s), o = Te(o);
|
|
20266
20271
|
var v = o ? ii(s) : 0;
|
|
20267
20272
|
return o && v < o ? ba(o - v, f) + s : s;
|
|
20268
20273
|
}
|
|
20269
20274
|
function QT(s, o, f) {
|
|
20270
|
-
return f || o == null ? o = 0 : o && (o = +o), sy(
|
|
20275
|
+
return f || o == null ? o = 0 : o && (o = +o), sy(Ve(s).replace(hu, ""), o || 0);
|
|
20271
20276
|
}
|
|
20272
20277
|
function JT(s, o, f) {
|
|
20273
|
-
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
20278
|
+
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o = Te(o), zu(Ve(s), o);
|
|
20274
20279
|
}
|
|
20275
20280
|
function ew() {
|
|
20276
|
-
var s = arguments, o =
|
|
20281
|
+
var s = arguments, o = Ve(s[0]);
|
|
20277
20282
|
return s.length < 3 ? o : o.replace(s[1], s[2]);
|
|
20278
20283
|
}
|
|
20279
20284
|
var tw = hi(function(s, o, f) {
|
|
20280
20285
|
return s + (f ? "_" : "") + o.toLowerCase();
|
|
20281
20286
|
});
|
|
20282
20287
|
function rw(s, o, f) {
|
|
20283
|
-
return f && typeof f != "number" && Nt(s, o, f) && (o = f = r), f = f === r ? j : f >>> 0, f ? (s =
|
|
20288
|
+
return f && typeof f != "number" && Nt(s, o, f) && (o = f = r), f = f === r ? j : f >>> 0, f ? (s = Ve(s), s && (typeof o == "string" || o != null && !fl(o)) && (o = qt(o), !o && ni(s)) ? un(dr(s), 0, f) : s.split(o, f)) : [];
|
|
20284
20289
|
}
|
|
20285
20290
|
var nw = hi(function(s, o, f) {
|
|
20286
20291
|
return s + (f ? " " : "") + gl(o);
|
|
20287
20292
|
});
|
|
20288
20293
|
function iw(s, o, f) {
|
|
20289
|
-
return s =
|
|
20294
|
+
return s = Ve(s), f = f == null ? 0 : An(Te(f), 0, s.length), o = qt(o), s.slice(f, f + o.length) == o;
|
|
20290
20295
|
}
|
|
20291
20296
|
function sw(s, o, f) {
|
|
20292
20297
|
var v = S.templateSettings;
|
|
20293
|
-
f && Nt(s, o, f) && (o = r), s =
|
|
20298
|
+
f && Nt(s, o, f) && (o = r), s = Ve(s), o = Fa({}, o, v, nd);
|
|
20294
20299
|
var T = Fa({}, o.imports, v.imports, nd), A = yt(T), C = Eu(T, A), R, M, U = 0, $ = o.interpolate || Ws, z = "__p += '", q = Iu(
|
|
20295
20300
|
(o.escape || Ws).source + "|" + $.source + "|" + ($ === Sh ? Bv : Ws).source + "|" + (o.evaluate || Ws).source + "|$",
|
|
20296
20301
|
"g"
|
|
20297
|
-
), ee = "//# sourceURL=" + (
|
|
20302
|
+
), ee = "//# sourceURL=" + (We.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++p_ + "]") + `
|
|
20298
20303
|
`;
|
|
20299
|
-
s.replace(q, function(ue,
|
|
20300
|
-
return
|
|
20301
|
-
__e(` +
|
|
20304
|
+
s.replace(q, function(ue, Re, Ne, Kt, Lt, Zt) {
|
|
20305
|
+
return Ne || (Ne = Kt), z += s.slice(U, Zt).replace(Xv, N_), Re && (R = !0, z += `' +
|
|
20306
|
+
__e(` + Re + `) +
|
|
20302
20307
|
'`), Lt && (M = !0, z += `';
|
|
20303
20308
|
` + Lt + `;
|
|
20304
|
-
__p += '`),
|
|
20305
|
-
((__t = (` +
|
|
20309
|
+
__p += '`), Ne && (z += `' +
|
|
20310
|
+
((__t = (` + Ne + `)) == null ? '' : __t) +
|
|
20306
20311
|
'`), U = Zt + ue.length, ue;
|
|
20307
20312
|
}), z += `';
|
|
20308
20313
|
`;
|
|
20309
|
-
var oe =
|
|
20314
|
+
var oe = We.call(o, "variable") && o.variable;
|
|
20310
20315
|
if (!oe)
|
|
20311
20316
|
z = `with (obj) {
|
|
20312
20317
|
` + z + `
|
|
20313
20318
|
}
|
|
20314
20319
|
`;
|
|
20315
20320
|
else if (kv.test(oe))
|
|
20316
|
-
throw new
|
|
20321
|
+
throw new ge(l);
|
|
20317
20322
|
z = (M ? z.replace(xv, "") : z).replace(bv, "$1").replace(Tv, "$1;"), z = "function(" + (oe || "obj") + `) {
|
|
20318
20323
|
` + (oe ? "" : `obj || (obj = {});
|
|
20319
20324
|
`) + "var __t, __p = ''" + (R ? ", __e = _.escape" : "") + (M ? `, __j = Array.prototype.join;
|
|
@@ -20321,21 +20326,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20321
20326
|
` : `;
|
|
20322
20327
|
`) + z + `return __p
|
|
20323
20328
|
}`;
|
|
20324
|
-
var
|
|
20329
|
+
var we = Yd(function() {
|
|
20325
20330
|
return He(A, ee + "return " + z).apply(r, C);
|
|
20326
20331
|
});
|
|
20327
|
-
if (
|
|
20328
|
-
throw
|
|
20329
|
-
return
|
|
20332
|
+
if (we.source = z, hl(we))
|
|
20333
|
+
throw we;
|
|
20334
|
+
return we;
|
|
20330
20335
|
}
|
|
20331
20336
|
function aw(s) {
|
|
20332
|
-
return
|
|
20337
|
+
return Ve(s).toLowerCase();
|
|
20333
20338
|
}
|
|
20334
20339
|
function ow(s) {
|
|
20335
|
-
return
|
|
20340
|
+
return Ve(s).toUpperCase();
|
|
20336
20341
|
}
|
|
20337
20342
|
function uw(s, o, f) {
|
|
20338
|
-
if (s =
|
|
20343
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20339
20344
|
return nf(s);
|
|
20340
20345
|
if (!s || !(o = qt(o)))
|
|
20341
20346
|
return s;
|
|
@@ -20343,7 +20348,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20343
20348
|
return un(v, A, C).join("");
|
|
20344
20349
|
}
|
|
20345
20350
|
function lw(s, o, f) {
|
|
20346
|
-
if (s =
|
|
20351
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20347
20352
|
return s.slice(0, uf(s) + 1);
|
|
20348
20353
|
if (!s || !(o = qt(o)))
|
|
20349
20354
|
return s;
|
|
@@ -20351,7 +20356,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20351
20356
|
return un(v, 0, T).join("");
|
|
20352
20357
|
}
|
|
20353
20358
|
function cw(s, o, f) {
|
|
20354
|
-
if (s =
|
|
20359
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20355
20360
|
return s.replace(hu, "");
|
|
20356
20361
|
if (!s || !(o = qt(o)))
|
|
20357
20362
|
return s;
|
|
@@ -20362,9 +20367,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20362
20367
|
var f = V, v = Y;
|
|
20363
20368
|
if (st(o)) {
|
|
20364
20369
|
var T = "separator" in o ? o.separator : T;
|
|
20365
|
-
f = "length" in o ?
|
|
20370
|
+
f = "length" in o ? Te(o.length) : f, v = "omission" in o ? qt(o.omission) : v;
|
|
20366
20371
|
}
|
|
20367
|
-
s =
|
|
20372
|
+
s = Ve(s);
|
|
20368
20373
|
var A = s.length;
|
|
20369
20374
|
if (ni(s)) {
|
|
20370
20375
|
var C = dr(s);
|
|
@@ -20381,7 +20386,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20381
20386
|
if (C && (R += M.length - R), fl(T)) {
|
|
20382
20387
|
if (s.slice(R).search(T)) {
|
|
20383
20388
|
var U, $ = M;
|
|
20384
|
-
for (T.global || (T = Iu(T.source,
|
|
20389
|
+
for (T.global || (T = Iu(T.source, Ve(Ah.exec(T)) + "g")), T.lastIndex = 0; U = T.exec($); )
|
|
20385
20390
|
var z = U.index;
|
|
20386
20391
|
M = M.slice(0, z === r ? R : z);
|
|
20387
20392
|
}
|
|
@@ -20392,19 +20397,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20392
20397
|
return M + v;
|
|
20393
20398
|
}
|
|
20394
20399
|
function fw(s) {
|
|
20395
|
-
return s =
|
|
20400
|
+
return s = Ve(s), s && wv.test(s) ? s.replace(Th, G_) : s;
|
|
20396
20401
|
}
|
|
20397
20402
|
var dw = hi(function(s, o, f) {
|
|
20398
20403
|
return s + (f ? " " : "") + o.toUpperCase();
|
|
20399
20404
|
}), gl = Kf("toUpperCase");
|
|
20400
20405
|
function qd(s, o, f) {
|
|
20401
|
-
return s =
|
|
20406
|
+
return s = Ve(s), o = f ? r : o, o === r ? k_(s) ? V_(s) : C_(s) : s.match(o) || [];
|
|
20402
20407
|
}
|
|
20403
|
-
var Yd =
|
|
20408
|
+
var Yd = Ae(function(s, o) {
|
|
20404
20409
|
try {
|
|
20405
20410
|
return Wt(s, r, o);
|
|
20406
20411
|
} catch (f) {
|
|
20407
|
-
return hl(f) ? f : new
|
|
20412
|
+
return hl(f) ? f : new ge(f);
|
|
20408
20413
|
}
|
|
20409
20414
|
}), pw = zr(function(s, o) {
|
|
20410
20415
|
return nr(o, function(f) {
|
|
@@ -20417,7 +20422,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20417
20422
|
if (typeof v[1] != "function")
|
|
20418
20423
|
throw new ir(u);
|
|
20419
20424
|
return [f(v[0]), v[1]];
|
|
20420
|
-
}) : [],
|
|
20425
|
+
}) : [], Ae(function(v) {
|
|
20421
20426
|
for (var T = -1; ++T < o; ) {
|
|
20422
20427
|
var A = s[T];
|
|
20423
20428
|
if (Wt(A[0], this, v))
|
|
@@ -20449,11 +20454,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20449
20454
|
function bw(s, o) {
|
|
20450
20455
|
return Mf(s, ar(o, c));
|
|
20451
20456
|
}
|
|
20452
|
-
var Tw =
|
|
20457
|
+
var Tw = Ae(function(s, o) {
|
|
20453
20458
|
return function(f) {
|
|
20454
20459
|
return ns(f, s, o);
|
|
20455
20460
|
};
|
|
20456
|
-
}), ww =
|
|
20461
|
+
}), ww = Ae(function(s, o) {
|
|
20457
20462
|
return function(f) {
|
|
20458
20463
|
return ns(s, f, o);
|
|
20459
20464
|
};
|
|
@@ -20480,7 +20485,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20480
20485
|
function yl() {
|
|
20481
20486
|
}
|
|
20482
20487
|
function Aw(s) {
|
|
20483
|
-
return s =
|
|
20488
|
+
return s = Te(s), Ae(function(o) {
|
|
20484
20489
|
return Of(o, s);
|
|
20485
20490
|
});
|
|
20486
20491
|
}
|
|
@@ -20510,7 +20515,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20510
20515
|
return !0;
|
|
20511
20516
|
}
|
|
20512
20517
|
function Lw(s, o) {
|
|
20513
|
-
if (s =
|
|
20518
|
+
if (s = Te(s), s < 1 || s > Q)
|
|
20514
20519
|
return [];
|
|
20515
20520
|
var f = j, v = It(s, j);
|
|
20516
20521
|
o = ae(o), s -= j;
|
|
@@ -20519,11 +20524,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20519
20524
|
return T;
|
|
20520
20525
|
}
|
|
20521
20526
|
function kw(s) {
|
|
20522
|
-
return ye(s) ? nt(s, Pr) : Yt(s) ? [s] : $t(md(
|
|
20527
|
+
return ye(s) ? nt(s, Pr) : Yt(s) ? [s] : $t(md(Ve(s)));
|
|
20523
20528
|
}
|
|
20524
20529
|
function Dw(s) {
|
|
20525
20530
|
var o = ++q_;
|
|
20526
|
-
return
|
|
20531
|
+
return Ve(s) + o;
|
|
20527
20532
|
}
|
|
20528
20533
|
var Bw = xa(function(s, o) {
|
|
20529
20534
|
return s + o;
|
|
@@ -20559,27 +20564,27 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20559
20564
|
function Qw(s, o) {
|
|
20560
20565
|
return s && s.length ? Su(s, ae(o, 2)) : 0;
|
|
20561
20566
|
}
|
|
20562
|
-
return S.after = xb, S.ary = Cd, S.assign = oT, S.assignIn = Gd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Id, S.bind = ll, S.bindAll = pw, S.bindKey = Rd, S.castArray = Ob, S.chain = Sd, S.chunk = Gx, S.compact = Hx, S.concat = zx, S.cond = gw, S.conforms = mw, S.constant = ml, S.countBy = Z1, S.create = cT, S.curry = Pd, S.curryRight = Md, S.debounce = Od, S.defaults = hT, S.defaultsDeep = fT, S.defer = bb, S.delay = Tb, S.difference = Vx, S.differenceBy = Xx, S.differenceWith = Wx, S.drop = jx, S.dropRight = qx, S.dropRightWhile = Yx, S.dropWhile = Kx, S.fill = Zx, S.filter = J1, S.flatMap = rb, S.flatMapDeep = nb, S.flatMapDepth = ib, S.flatten = xd, S.flattenDeep = Qx, S.flattenDepth = Jx, S.flip = wb, S.flow = _w, S.flowRight = yw, S.fromPairs = e1, S.functions = yT, S.functionsIn = xT, S.groupBy = sb, S.initial = r1, S.intersection = n1, S.intersectionBy = i1, S.intersectionWith = s1, S.invert = TT, S.invertBy = wT, S.invokeMap = ob, S.iteratee = vl, S.keyBy = ub, S.keys = yt, S.keysIn = Ht, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = Hd, S.method = Tw, S.methodOf = ww, S.mixin = _l, S.negate = Pa, S.nthArg = Aw, S.omit = IT, S.omitBy = RT, S.once = Sb, S.orderBy = lb, S.over = Ew, S.overArgs = Ab, S.overEvery = Cw, S.overSome = Iw, S.partial = cl, S.partialRight = Fd, S.partition = cb, S.pick = PT, S.pickBy = zd, S.property = Kd, S.propertyOf = Rw, S.pull = l1, S.pullAll = Td, S.pullAllBy = c1, S.pullAllWith = h1, S.pullAt = f1, S.range = Pw, S.rangeRight = Mw, S.rearg = Eb, S.reject = db, S.remove = d1, S.rest = Cb, S.reverse = ol, S.sampleSize = gb, S.set = OT, S.setWith = FT, S.shuffle = mb, S.slice = p1, S.sortBy = yb, S.sortedUniq = b1, S.sortedUniqBy = T1, S.split = rw, S.spread = Ib, S.tail = w1, S.take = S1, S.takeRight = A1, S.takeRightWhile = E1, S.takeWhile = C1, S.tap = H1, S.throttle = Rb, S.thru = Ea, S.toArray = Bd, S.toPairs = Vd, S.toPairsIn = Xd, S.toPath = kw, S.toPlainObject = $d, S.transform = NT, S.unary = Pb, S.union = I1, S.unionBy = R1, S.unionWith = P1, S.uniq = M1, S.uniqBy = O1, S.uniqWith = F1, S.unset = LT, S.unzip = ul, S.unzipWith = wd, S.update = kT, S.updateWith = DT, S.values = pi, S.valuesIn = BT, S.without = N1, S.words = qd, S.wrap = Mb, S.xor = L1, S.xorBy = k1, S.xorWith = D1, S.zip = B1, S.zipObject = U1, S.zipObjectDeep = $1, S.zipWith = G1, S.entries = Vd, S.entriesIn = Xd, S.extend = Gd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Yd, S.camelCase = HT, S.capitalize = Wd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = jd, S.defaultTo = vw, S.divide = $w, S.endsWith = zT, S.eq = gr, S.escape = VT, S.escapeRegExp = XT, S.every = Q1, S.find = eb, S.findIndex = _d, S.findKey = dT, S.findLast = tb, S.findLastIndex = yd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ad, S.forEachRight = Ed, S.forIn = gT, S.forInRight = mT, S.forOwn = vT, S.forOwnRight = _T, S.get = dl, S.gt = Bb, S.gte = Ub, S.has = bT, S.hasIn = pl, S.head = bd, S.identity = zt, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Rn, S.isArray = ye, S.isArrayBuffer = $b, S.isArrayLike = Gt, S.isArrayLikeObject = ht, S.isBoolean = Gb, S.isBuffer = ln, S.isDate = Hb, S.isElement = zb, S.isEmpty = Vb, S.isEqual = Xb, S.isEqualWith = Wb, S.isError = hl, S.isFinite = jb, S.isFunction = Xr, S.isInteger = Nd, S.isLength = Ma, S.isMap = Ld, S.isMatch = qb, S.isMatchWith = Yb, S.isNaN = Kb, S.isNative = Zb, S.isNil = Jb, S.isNull = Qb, S.isNumber = kd, S.isObject = st, S.isObjectLike = ct, S.isPlainObject = ls, S.isRegExp = fl, S.isSafeInteger = eT, S.isSet = Dd, S.isString = Oa, S.isSymbol = Yt, S.isTypedArray = di, S.isUndefined = tT, S.isWeakMap = rT, S.isWeakSet = nT, S.join = a1, S.kebabCase = WT, S.last = ur, S.lastIndexOf = o1, S.lowerCase = jT, S.lowerFirst = qT, S.lt = iT, S.lte = sT, S.max = Hw, S.maxBy = zw, S.mean = Vw, S.meanBy = Xw, S.min = Ww, S.minBy = jw, S.stubArray = xl, S.stubFalse = bl, S.stubObject = Ow, S.stubString = Fw, S.stubTrue = Nw, S.multiply = qw, S.nth = u1, S.noConflict = Sw, S.noop = yl, S.now = Ia, S.pad = YT, S.padEnd = KT, S.padStart = ZT, S.parseInt = QT, S.random = GT, S.reduce = hb, S.reduceRight = fb, S.repeat = JT, S.replace = ew, S.result = MT, S.round = Yw, S.runInContext = P, S.sample = pb, S.size = vb, S.snakeCase = tw, S.some = _b, S.sortedIndex = g1, S.sortedIndexBy = m1, S.sortedIndexOf = v1, S.sortedLastIndex = _1, S.sortedLastIndexBy = y1, S.sortedLastIndexOf = x1, S.startCase = nw, S.startsWith = iw, S.subtract = Kw, S.sum = Zw, S.sumBy = Qw, S.template = sw, S.times = Lw, S.toFinite = Wr, S.toInteger =
|
|
20567
|
+
return S.after = xb, S.ary = Cd, S.assign = oT, S.assignIn = Gd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Id, S.bind = ll, S.bindAll = pw, S.bindKey = Rd, S.castArray = Ob, S.chain = Sd, S.chunk = Gx, S.compact = Hx, S.concat = zx, S.cond = gw, S.conforms = mw, S.constant = ml, S.countBy = Z1, S.create = cT, S.curry = Pd, S.curryRight = Md, S.debounce = Od, S.defaults = hT, S.defaultsDeep = fT, S.defer = bb, S.delay = Tb, S.difference = Vx, S.differenceBy = Xx, S.differenceWith = Wx, S.drop = jx, S.dropRight = qx, S.dropRightWhile = Yx, S.dropWhile = Kx, S.fill = Zx, S.filter = J1, S.flatMap = rb, S.flatMapDeep = nb, S.flatMapDepth = ib, S.flatten = xd, S.flattenDeep = Qx, S.flattenDepth = Jx, S.flip = wb, S.flow = _w, S.flowRight = yw, S.fromPairs = e1, S.functions = yT, S.functionsIn = xT, S.groupBy = sb, S.initial = r1, S.intersection = n1, S.intersectionBy = i1, S.intersectionWith = s1, S.invert = TT, S.invertBy = wT, S.invokeMap = ob, S.iteratee = vl, S.keyBy = ub, S.keys = yt, S.keysIn = Ht, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = Hd, S.method = Tw, S.methodOf = ww, S.mixin = _l, S.negate = Pa, S.nthArg = Aw, S.omit = IT, S.omitBy = RT, S.once = Sb, S.orderBy = lb, S.over = Ew, S.overArgs = Ab, S.overEvery = Cw, S.overSome = Iw, S.partial = cl, S.partialRight = Fd, S.partition = cb, S.pick = PT, S.pickBy = zd, S.property = Kd, S.propertyOf = Rw, S.pull = l1, S.pullAll = Td, S.pullAllBy = c1, S.pullAllWith = h1, S.pullAt = f1, S.range = Pw, S.rangeRight = Mw, S.rearg = Eb, S.reject = db, S.remove = d1, S.rest = Cb, S.reverse = ol, S.sampleSize = gb, S.set = OT, S.setWith = FT, S.shuffle = mb, S.slice = p1, S.sortBy = yb, S.sortedUniq = b1, S.sortedUniqBy = T1, S.split = rw, S.spread = Ib, S.tail = w1, S.take = S1, S.takeRight = A1, S.takeRightWhile = E1, S.takeWhile = C1, S.tap = H1, S.throttle = Rb, S.thru = Ea, S.toArray = Bd, S.toPairs = Vd, S.toPairsIn = Xd, S.toPath = kw, S.toPlainObject = $d, S.transform = NT, S.unary = Pb, S.union = I1, S.unionBy = R1, S.unionWith = P1, S.uniq = M1, S.uniqBy = O1, S.uniqWith = F1, S.unset = LT, S.unzip = ul, S.unzipWith = wd, S.update = kT, S.updateWith = DT, S.values = pi, S.valuesIn = BT, S.without = N1, S.words = qd, S.wrap = Mb, S.xor = L1, S.xorBy = k1, S.xorWith = D1, S.zip = B1, S.zipObject = U1, S.zipObjectDeep = $1, S.zipWith = G1, S.entries = Vd, S.entriesIn = Xd, S.extend = Gd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Yd, S.camelCase = HT, S.capitalize = Wd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = jd, S.defaultTo = vw, S.divide = $w, S.endsWith = zT, S.eq = gr, S.escape = VT, S.escapeRegExp = XT, S.every = Q1, S.find = eb, S.findIndex = _d, S.findKey = dT, S.findLast = tb, S.findLastIndex = yd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ad, S.forEachRight = Ed, S.forIn = gT, S.forInRight = mT, S.forOwn = vT, S.forOwnRight = _T, S.get = dl, S.gt = Bb, S.gte = Ub, S.has = bT, S.hasIn = pl, S.head = bd, S.identity = zt, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Rn, S.isArray = ye, S.isArrayBuffer = $b, S.isArrayLike = Gt, S.isArrayLikeObject = ht, S.isBoolean = Gb, S.isBuffer = ln, S.isDate = Hb, S.isElement = zb, S.isEmpty = Vb, S.isEqual = Xb, S.isEqualWith = Wb, S.isError = hl, S.isFinite = jb, S.isFunction = Xr, S.isInteger = Nd, S.isLength = Ma, S.isMap = Ld, S.isMatch = qb, S.isMatchWith = Yb, S.isNaN = Kb, S.isNative = Zb, S.isNil = Jb, S.isNull = Qb, S.isNumber = kd, S.isObject = st, S.isObjectLike = ct, S.isPlainObject = ls, S.isRegExp = fl, S.isSafeInteger = eT, S.isSet = Dd, S.isString = Oa, S.isSymbol = Yt, S.isTypedArray = di, S.isUndefined = tT, S.isWeakMap = rT, S.isWeakSet = nT, S.join = a1, S.kebabCase = WT, S.last = ur, S.lastIndexOf = o1, S.lowerCase = jT, S.lowerFirst = qT, S.lt = iT, S.lte = sT, S.max = Hw, S.maxBy = zw, S.mean = Vw, S.meanBy = Xw, S.min = Ww, S.minBy = jw, S.stubArray = xl, S.stubFalse = bl, S.stubObject = Ow, S.stubString = Fw, S.stubTrue = Nw, S.multiply = qw, S.nth = u1, S.noConflict = Sw, S.noop = yl, S.now = Ia, S.pad = YT, S.padEnd = KT, S.padStart = ZT, S.parseInt = QT, S.random = GT, S.reduce = hb, S.reduceRight = fb, S.repeat = JT, S.replace = ew, S.result = MT, S.round = Yw, S.runInContext = P, S.sample = pb, S.size = vb, S.snakeCase = tw, S.some = _b, S.sortedIndex = g1, S.sortedIndexBy = m1, S.sortedIndexOf = v1, S.sortedLastIndex = _1, S.sortedLastIndexBy = y1, S.sortedLastIndexOf = x1, S.startCase = nw, S.startsWith = iw, S.subtract = Kw, S.sum = Zw, S.sumBy = Qw, S.template = sw, S.times = Lw, S.toFinite = Wr, S.toInteger = Te, S.toLength = Ud, S.toLower = aw, S.toNumber = lr, S.toSafeInteger = aT, S.toString = Ve, S.toUpper = ow, S.trim = uw, S.trimEnd = lw, S.trimStart = cw, S.truncate = hw, S.unescape = fw, S.uniqueId = Dw, S.upperCase = dw, S.upperFirst = gl, S.each = Ad, S.eachRight = Ed, S.first = bd, _l(S, function() {
|
|
20563
20568
|
var s = {};
|
|
20564
20569
|
return Ir(S, function(o, f) {
|
|
20565
|
-
|
|
20570
|
+
We.call(S.prototype, f) || (s[f] = o);
|
|
20566
20571
|
}), s;
|
|
20567
20572
|
}(), { chain: !1 }), S.VERSION = n, nr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(s) {
|
|
20568
20573
|
S[s].placeholder = S;
|
|
20569
20574
|
}), nr(["drop", "take"], function(s, o) {
|
|
20570
|
-
|
|
20571
|
-
f = f === r ? 1 : vt(
|
|
20572
|
-
var v = this.__filtered__ && !o ? new
|
|
20575
|
+
Me.prototype[s] = function(f) {
|
|
20576
|
+
f = f === r ? 1 : vt(Te(f), 0);
|
|
20577
|
+
var v = this.__filtered__ && !o ? new Me(this) : this.clone();
|
|
20573
20578
|
return v.__filtered__ ? v.__takeCount__ = It(f, v.__takeCount__) : v.__views__.push({
|
|
20574
20579
|
size: It(f, j),
|
|
20575
20580
|
type: s + (v.__dir__ < 0 ? "Right" : "")
|
|
20576
20581
|
}), v;
|
|
20577
|
-
},
|
|
20582
|
+
}, Me.prototype[s + "Right"] = function(f) {
|
|
20578
20583
|
return this.reverse()[s](f).reverse();
|
|
20579
20584
|
};
|
|
20580
20585
|
}), nr(["filter", "map", "takeWhile"], function(s, o) {
|
|
20581
20586
|
var f = o + 1, v = f == G || f == re;
|
|
20582
|
-
|
|
20587
|
+
Me.prototype[s] = function(T) {
|
|
20583
20588
|
var A = this.clone();
|
|
20584
20589
|
return A.__iteratees__.push({
|
|
20585
20590
|
iteratee: ae(T, 3),
|
|
@@ -20588,49 +20593,49 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20588
20593
|
};
|
|
20589
20594
|
}), nr(["head", "last"], function(s, o) {
|
|
20590
20595
|
var f = "take" + (o ? "Right" : "");
|
|
20591
|
-
|
|
20596
|
+
Me.prototype[s] = function() {
|
|
20592
20597
|
return this[f](1).value()[0];
|
|
20593
20598
|
};
|
|
20594
20599
|
}), nr(["initial", "tail"], function(s, o) {
|
|
20595
20600
|
var f = "drop" + (o ? "" : "Right");
|
|
20596
|
-
|
|
20597
|
-
return this.__filtered__ ? new
|
|
20601
|
+
Me.prototype[s] = function() {
|
|
20602
|
+
return this.__filtered__ ? new Me(this) : this[f](1);
|
|
20598
20603
|
};
|
|
20599
|
-
}),
|
|
20604
|
+
}), Me.prototype.compact = function() {
|
|
20600
20605
|
return this.filter(zt);
|
|
20601
|
-
},
|
|
20606
|
+
}, Me.prototype.find = function(s) {
|
|
20602
20607
|
return this.filter(s).head();
|
|
20603
|
-
},
|
|
20608
|
+
}, Me.prototype.findLast = function(s) {
|
|
20604
20609
|
return this.reverse().find(s);
|
|
20605
|
-
},
|
|
20606
|
-
return typeof s == "function" ? new
|
|
20610
|
+
}, Me.prototype.invokeMap = Ae(function(s, o) {
|
|
20611
|
+
return typeof s == "function" ? new Me(this) : this.map(function(f) {
|
|
20607
20612
|
return ns(f, s, o);
|
|
20608
20613
|
});
|
|
20609
|
-
}),
|
|
20614
|
+
}), Me.prototype.reject = function(s) {
|
|
20610
20615
|
return this.filter(Pa(ae(s)));
|
|
20611
|
-
},
|
|
20612
|
-
s =
|
|
20616
|
+
}, Me.prototype.slice = function(s, o) {
|
|
20617
|
+
s = Te(s);
|
|
20613
20618
|
var f = this;
|
|
20614
|
-
return f.__filtered__ && (s > 0 || o < 0) ? new
|
|
20615
|
-
},
|
|
20619
|
+
return f.__filtered__ && (s > 0 || o < 0) ? new Me(f) : (s < 0 ? f = f.takeRight(-s) : s && (f = f.drop(s)), o !== r && (o = Te(o), f = o < 0 ? f.dropRight(-o) : f.take(o - s)), f);
|
|
20620
|
+
}, Me.prototype.takeRightWhile = function(s) {
|
|
20616
20621
|
return this.reverse().takeWhile(s).reverse();
|
|
20617
|
-
},
|
|
20622
|
+
}, Me.prototype.toArray = function() {
|
|
20618
20623
|
return this.take(j);
|
|
20619
|
-
}, Ir(
|
|
20624
|
+
}, Ir(Me.prototype, function(s, o) {
|
|
20620
20625
|
var f = /^(?:filter|find|map|reject)|While$/.test(o), v = /^(?:head|last)$/.test(o), T = S[v ? "take" + (o == "last" ? "Right" : "") : o], A = v || /^find/.test(o);
|
|
20621
20626
|
T && (S.prototype[o] = function() {
|
|
20622
|
-
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof
|
|
20623
|
-
var
|
|
20624
|
-
return v && q ?
|
|
20627
|
+
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof Me, U = R[0], $ = M || ye(C), z = function(Re) {
|
|
20628
|
+
var Ne = T.apply(S, tn([Re], R));
|
|
20629
|
+
return v && q ? Ne[0] : Ne;
|
|
20625
20630
|
};
|
|
20626
20631
|
$ && f && typeof U == "function" && U.length != 1 && (M = $ = !1);
|
|
20627
|
-
var q = this.__chain__, ee = !!this.__actions__.length, oe = A && !q,
|
|
20632
|
+
var q = this.__chain__, ee = !!this.__actions__.length, oe = A && !q, we = M && !ee;
|
|
20628
20633
|
if (!A && $) {
|
|
20629
|
-
C =
|
|
20634
|
+
C = we ? C : new Me(this);
|
|
20630
20635
|
var ue = s.apply(C, R);
|
|
20631
20636
|
return ue.__actions__.push({ func: Ea, args: [z], thisArg: r }), new sr(ue, q);
|
|
20632
20637
|
}
|
|
20633
|
-
return oe &&
|
|
20638
|
+
return oe && we ? s.apply(this, R) : (ue = this.thru(z), oe ? v ? ue.value()[0] : ue.value() : ue);
|
|
20634
20639
|
});
|
|
20635
20640
|
}), nr(["pop", "push", "shift", "sort", "splice", "unshift"], function(s) {
|
|
20636
20641
|
var o = Qs[s], f = /^(?:push|sort|unshift)$/.test(s) ? "tap" : "thru", v = /^(?:pop|shift)$/.test(s);
|
|
@@ -20644,16 +20649,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20644
20649
|
return o.apply(ye(C) ? C : [], T);
|
|
20645
20650
|
});
|
|
20646
20651
|
};
|
|
20647
|
-
}), Ir(
|
|
20652
|
+
}), Ir(Me.prototype, function(s, o) {
|
|
20648
20653
|
var f = S[o];
|
|
20649
20654
|
if (f) {
|
|
20650
20655
|
var v = f.name + "";
|
|
20651
|
-
|
|
20656
|
+
We.call(ui, v) || (ui[v] = []), ui[v].push({ name: o, func: f });
|
|
20652
20657
|
}
|
|
20653
20658
|
}), ui[ya(r, x).name] = [{
|
|
20654
20659
|
name: "wrapper",
|
|
20655
20660
|
func: r
|
|
20656
|
-
}],
|
|
20661
|
+
}], Me.prototype.clone = fy, Me.prototype.reverse = dy, Me.prototype.value = py, S.prototype.at = z1, S.prototype.chain = V1, S.prototype.commit = X1, S.prototype.next = W1, S.prototype.plant = q1, S.prototype.reverse = Y1, S.prototype.toJSON = S.prototype.valueOf = S.prototype.value = K1, S.prototype.first = S.prototype.head, Ki && (S.prototype[Ki] = j1), S;
|
|
20657
20662
|
}, si = X_();
|
|
20658
20663
|
bn ? ((bn.exports = si)._ = si, vu._ = si) : St._ = si;
|
|
20659
20664
|
}).call(Et);
|
|
@@ -20671,7 +20676,7 @@ const s5 = {
|
|
|
20671
20676
|
totalFrames: 0,
|
|
20672
20677
|
totalDuration: 0
|
|
20673
20678
|
}, a5 = te.forwardRef((t, e) => {
|
|
20674
|
-
const [r, n] = te.useState([]), [, i] = te.useState(0), [a, u] = te.useState([]), [, l] = Is(!1), [h, p] = qB({ autoPlay: !1 }), m =
|
|
20679
|
+
const [r, n] = te.useState([]), [, i] = te.useState(0), [a, u] = te.useState([]), [, l] = Is(!1), [h, p] = qB({ autoPlay: !1 }), m = me(null), c = me(null), d = me(s5), g = me(), { tl: _, dragModeRef: y } = Ui(qn), { frames: b, delays: x } = h, {
|
|
20675
20680
|
src: E,
|
|
20676
20681
|
startAt: w,
|
|
20677
20682
|
endAt: I,
|
|
@@ -20686,11 +20691,11 @@ const s5 = {
|
|
|
20686
20691
|
temperatureFilter: re,
|
|
20687
20692
|
sharpnessFilter: H,
|
|
20688
20693
|
hueFilter: Q,
|
|
20689
|
-
blurFilter:
|
|
20694
|
+
blurFilter: de,
|
|
20690
20695
|
adjustmentFilter: W,
|
|
20691
20696
|
vignetteFilter: j,
|
|
20692
20697
|
noiseFilter: le
|
|
20693
|
-
} = Zn(G), { blurRadius:
|
|
20698
|
+
} = Zn(G), { blurRadius: he = 0, vignette: pe = 0, noise: be = 0 } = G, Se = 0.1;
|
|
20694
20699
|
r5(E, p), pt(Qe.PAUSE, () => {
|
|
20695
20700
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20696
20701
|
}), pt(Qe.SEEK_END, () => {
|
|
@@ -20701,64 +20706,64 @@ const s5 = {
|
|
|
20701
20706
|
d.current && m.current && (y.current ? (m.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
|
|
20702
20707
|
}, [y]), te.useEffect(() => {
|
|
20703
20708
|
if (!Hs(b)) {
|
|
20704
|
-
const
|
|
20705
|
-
const { data:
|
|
20709
|
+
const Ee = SB(b, (ce) => {
|
|
20710
|
+
const { data: Fe, width: Xt, height: Ut } = ce, lt = new Uint8Array(Fe);
|
|
20706
20711
|
return er.Texture.fromBuffer(lt, Xt, Ut);
|
|
20707
|
-
}), _e =
|
|
20708
|
-
(
|
|
20709
|
-
texture:
|
|
20710
|
-
time: x[
|
|
20712
|
+
}), _e = Ee.map(
|
|
20713
|
+
(ce, Fe) => ({
|
|
20714
|
+
texture: ce,
|
|
20715
|
+
time: x[Fe]
|
|
20711
20716
|
})
|
|
20712
20717
|
);
|
|
20713
|
-
n(
|
|
20718
|
+
n(Ee), u(_e);
|
|
20714
20719
|
let rt = 0;
|
|
20715
|
-
x.forEach((
|
|
20716
|
-
rt +=
|
|
20720
|
+
x.forEach((ce) => {
|
|
20721
|
+
rt += ce * 10;
|
|
20717
20722
|
}), i(rt), d.current.totalDuration = rt, d.current.totalFrames = b.length;
|
|
20718
20723
|
}
|
|
20719
20724
|
}, [b, x]);
|
|
20720
|
-
const
|
|
20725
|
+
const xe = sm.debounce((Ee) => {
|
|
20721
20726
|
if (m.current) {
|
|
20722
|
-
let _e =
|
|
20727
|
+
let _e = Ee === 0 ? 0 : Ee / Se;
|
|
20723
20728
|
_e = isNaN(_e) ? 0 : _e;
|
|
20724
20729
|
const rt = d.current.totalFrames;
|
|
20725
20730
|
_e = _e > rt ? rt : _e, _e >= rt ? (m.current.gotoAndStop(0), d.current.isPlaying = !1) : (m.current.gotoAndPlay(_e || 0), d.current.isPlaying = !0);
|
|
20726
20731
|
}
|
|
20727
|
-
}, 20),
|
|
20732
|
+
}, 20), Be = sm.debounce(() => {
|
|
20728
20733
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20729
|
-
}, 50),
|
|
20734
|
+
}, 50), ze = (Ee) => {
|
|
20730
20735
|
if (m.current) {
|
|
20731
|
-
let _e =
|
|
20736
|
+
let _e = Ee === 0 ? 0 : Ee / Se;
|
|
20732
20737
|
_e = isNaN(_e) ? 0 : _e;
|
|
20733
20738
|
const rt = d.current.totalFrames;
|
|
20734
20739
|
_e = _e > rt ? rt : _e, _e >= rt ? (m.current.gotoAndStop(0), d.current.isPlaying = !1) : (m.current.gotoAndPlay(_e || 0), d.current.isPlaying = !0);
|
|
20735
20740
|
}
|
|
20736
|
-
},
|
|
20741
|
+
}, ve = () => {
|
|
20737
20742
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20738
|
-
},
|
|
20743
|
+
}, Ie = () => {
|
|
20739
20744
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20740
|
-
}, Ge = (
|
|
20745
|
+
}, Ge = (Ee) => {
|
|
20741
20746
|
var rt;
|
|
20742
|
-
const _e =
|
|
20743
|
-
m.current && y.current ? (
|
|
20747
|
+
const _e = Ee + ((rt = g.current) == null ? void 0 : rt.time());
|
|
20748
|
+
m.current && y.current ? (xe(_e), Be(), d.current.isPlaying = !1) : g.current && m.current && !d.current.isPlaying && g.current.isActive() && _.current.isActive() && (xe(_e), d.current.isPlaying = !0);
|
|
20744
20749
|
}, Ke = () => {
|
|
20745
20750
|
l(!0);
|
|
20746
20751
|
};
|
|
20747
20752
|
return jn(() => {
|
|
20748
|
-
let
|
|
20753
|
+
let Ee = J.context(() => {
|
|
20749
20754
|
});
|
|
20750
20755
|
if (c.current && _.current) {
|
|
20751
20756
|
const _e = {
|
|
20752
20757
|
duration: Number(F) - Number(O),
|
|
20753
|
-
onStart:
|
|
20754
|
-
onComplete:
|
|
20758
|
+
onStart: ze,
|
|
20759
|
+
onComplete: ve,
|
|
20755
20760
|
onStartParams: [O, F],
|
|
20756
20761
|
onCompleteParams: [],
|
|
20757
|
-
onInterrupt:
|
|
20762
|
+
onInterrupt: Ie,
|
|
20758
20763
|
onUpdate: Ge,
|
|
20759
20764
|
onUpdateParams: [O, F]
|
|
20760
20765
|
};
|
|
20761
|
-
g.current && g.current.kill(),
|
|
20766
|
+
g.current && g.current.kill(), Ee = J.context(() => {
|
|
20762
20767
|
g.current = J.from(
|
|
20763
20768
|
c.current,
|
|
20764
20769
|
// @ts-ignore
|
|
@@ -20768,16 +20773,16 @@ const s5 = {
|
|
|
20768
20773
|
});
|
|
20769
20774
|
}
|
|
20770
20775
|
return () => {
|
|
20771
|
-
g.current && (g.current.kill(), J.killTweensOf(g.current)),
|
|
20776
|
+
g.current && (g.current.kill(), J.killTweensOf(g.current)), Ee.revert();
|
|
20772
20777
|
};
|
|
20773
|
-
}, [w, I, O, F]), /* @__PURE__ */
|
|
20778
|
+
}, [w, I, O, F]), /* @__PURE__ */ Ce.jsx(
|
|
20774
20779
|
mn,
|
|
20775
20780
|
{
|
|
20776
20781
|
...t,
|
|
20777
20782
|
ref: e,
|
|
20778
20783
|
ignoreTlForVideo: !0,
|
|
20779
20784
|
isGif: !0,
|
|
20780
|
-
children: /* @__PURE__ */
|
|
20785
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: c, children: r && r.length > 0 && /* @__PURE__ */ Ce.jsx(
|
|
20781
20786
|
i5,
|
|
20782
20787
|
{
|
|
20783
20788
|
x: se,
|
|
@@ -20798,11 +20803,11 @@ const s5 = {
|
|
|
20798
20803
|
Q,
|
|
20799
20804
|
W,
|
|
20800
20805
|
// conditionally add blur filter
|
|
20801
|
-
...
|
|
20806
|
+
...he > 0 ? [de] : [],
|
|
20802
20807
|
// conditionally add vignette filter
|
|
20803
|
-
...
|
|
20808
|
+
...pe > 0 ? [j] : [],
|
|
20804
20809
|
// conditionally add noise filter
|
|
20805
|
-
...
|
|
20810
|
+
...be > 0 ? [le] : []
|
|
20806
20811
|
]
|
|
20807
20812
|
}
|
|
20808
20813
|
) })
|
|
@@ -20814,7 +20819,7 @@ a5.whyDidYouRender = {
|
|
|
20814
20819
|
customName: "PixiGifSprite"
|
|
20815
20820
|
};
|
|
20816
20821
|
const oU = te.forwardRef((t, e) => {
|
|
20817
|
-
const n =
|
|
20822
|
+
const n = me(null), i = me(0), a = me(null), u = me(null), l = me(16), h = me(null), {
|
|
20818
20823
|
visible: p,
|
|
20819
20824
|
text: m,
|
|
20820
20825
|
disabled: c,
|
|
@@ -20848,22 +20853,22 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20848
20853
|
colorCorrection: H = {}
|
|
20849
20854
|
} = d, {
|
|
20850
20855
|
temperatureFilter: Q,
|
|
20851
|
-
sharpnessFilter:
|
|
20856
|
+
sharpnessFilter: de,
|
|
20852
20857
|
hueFilter: W,
|
|
20853
20858
|
blurFilter: j,
|
|
20854
20859
|
adjustmentFilter: le
|
|
20855
|
-
} = Zn(H), { blurRadius:
|
|
20860
|
+
} = Zn(H), { blurRadius: he = 0 } = H;
|
|
20856
20861
|
te.useEffect(() => {
|
|
20857
20862
|
l.current = Number(I);
|
|
20858
20863
|
}, [I]);
|
|
20859
|
-
const
|
|
20864
|
+
const pe = ["italic", "oblique"].includes(w) ? w : void 0, be = ["small-caps"].includes(O), Se = [
|
|
20860
20865
|
"bold",
|
|
20861
20866
|
"bolder",
|
|
20862
20867
|
"lighter",
|
|
20863
20868
|
"100",
|
|
20864
20869
|
"200",
|
|
20865
20870
|
"300"
|
|
20866
|
-
].includes(E) ? E : void 0,
|
|
20871
|
+
].includes(E) ? E : void 0, xe = Number(re) > 0 ? re : void 0, Be = te.useMemo(() => new er.TextStyle({
|
|
20867
20872
|
fontFamily: x,
|
|
20868
20873
|
fontSize: I,
|
|
20869
20874
|
fill: F || "white",
|
|
@@ -20872,16 +20877,16 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20872
20877
|
stroke: N,
|
|
20873
20878
|
strokeThickness: L
|
|
20874
20879
|
},
|
|
20875
|
-
...
|
|
20876
|
-
fontStyle:
|
|
20880
|
+
...pe && {
|
|
20881
|
+
fontStyle: pe
|
|
20877
20882
|
},
|
|
20878
|
-
...
|
|
20879
|
-
fontVariant:
|
|
20883
|
+
...be && {
|
|
20884
|
+
fontVariant: be
|
|
20880
20885
|
},
|
|
20881
20886
|
...Se && {
|
|
20882
20887
|
fontWeight: Se
|
|
20883
20888
|
},
|
|
20884
|
-
...
|
|
20889
|
+
...xe && { letterSpacing: xe },
|
|
20885
20890
|
...V && {
|
|
20886
20891
|
dropShadow: !0,
|
|
20887
20892
|
dropShadowBlur: Number(D),
|
|
@@ -20909,10 +20914,10 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20909
20914
|
I,
|
|
20910
20915
|
w,
|
|
20911
20916
|
ie,
|
|
20912
|
-
|
|
20917
|
+
pe,
|
|
20913
20918
|
Se,
|
|
20914
|
-
|
|
20915
|
-
|
|
20919
|
+
be,
|
|
20920
|
+
xe,
|
|
20916
20921
|
Y,
|
|
20917
20922
|
N,
|
|
20918
20923
|
L,
|
|
@@ -20925,23 +20930,23 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20925
20930
|
...d
|
|
20926
20931
|
};
|
|
20927
20932
|
}, [d]);
|
|
20928
|
-
const
|
|
20929
|
-
const
|
|
20930
|
-
|
|
20931
|
-
},
|
|
20933
|
+
const ze = () => {
|
|
20934
|
+
const Ie = (/* @__PURE__ */ new Date()).getTime();
|
|
20935
|
+
Ie - i.current < 300 && _ ? _() : g && g(), i.current = Ie;
|
|
20936
|
+
}, ve = () => {
|
|
20932
20937
|
!c && _ && _();
|
|
20933
20938
|
};
|
|
20934
|
-
return /* @__PURE__ */
|
|
20939
|
+
return /* @__PURE__ */ Ce.jsx(
|
|
20935
20940
|
mn,
|
|
20936
20941
|
{
|
|
20937
20942
|
...t,
|
|
20938
20943
|
ref: e,
|
|
20939
20944
|
isText: !0,
|
|
20940
|
-
onDoubleClick:
|
|
20941
|
-
children: /* @__PURE__ */
|
|
20945
|
+
onDoubleClick: ve,
|
|
20946
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(wt, { alpha: 1, ref: u, children: /* @__PURE__ */ Ce.jsx(
|
|
20942
20947
|
iS,
|
|
20943
20948
|
{
|
|
20944
|
-
style:
|
|
20949
|
+
style: Be,
|
|
20945
20950
|
x: y,
|
|
20946
20951
|
y: b,
|
|
20947
20952
|
anchor: 0.5,
|
|
@@ -20950,16 +20955,16 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20950
20955
|
...p && !c && {
|
|
20951
20956
|
interactive: !0,
|
|
20952
20957
|
buttonMode: !0,
|
|
20953
|
-
pointerdown:
|
|
20958
|
+
pointerdown: ze
|
|
20954
20959
|
},
|
|
20955
20960
|
ref: a,
|
|
20956
20961
|
filters: [
|
|
20957
20962
|
Q,
|
|
20958
|
-
|
|
20963
|
+
de,
|
|
20959
20964
|
W,
|
|
20960
20965
|
le,
|
|
20961
20966
|
// conditionally add blur filter
|
|
20962
|
-
...
|
|
20967
|
+
...he > 0 ? [j] : []
|
|
20963
20968
|
]
|
|
20964
20969
|
}
|
|
20965
20970
|
) }) })
|
|
@@ -21077,7 +21082,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21077
21082
|
isDragging: !1,
|
|
21078
21083
|
timeDiff: 0
|
|
21079
21084
|
}, O5 = te.forwardRef((t, e) => {
|
|
21080
|
-
const [r, n] = te.useState(0), [i, a] = te.useState(), u =
|
|
21085
|
+
const [r, n] = te.useState(0), [i, a] = te.useState(), u = me(null), l = me(null), h = me(null), p = me(M5), m = me(), {
|
|
21081
21086
|
uniqueId: c,
|
|
21082
21087
|
mute: d = !1,
|
|
21083
21088
|
src: g,
|
|
@@ -21095,17 +21100,17 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21095
21100
|
pointerover: se = () => {
|
|
21096
21101
|
},
|
|
21097
21102
|
fps: X = 0
|
|
21098
|
-
} = t, { tl: G, dragModeRef: ie, isRemotion: re } = Ui(qn), { onPointerDown: H, onPointerOut: Q, onPointerOver:
|
|
21099
|
-
temperatureFilter:
|
|
21100
|
-
sharpnessFilter:
|
|
21101
|
-
hueFilter:
|
|
21103
|
+
} = t, { tl: G, dragModeRef: ie, isRemotion: re } = Ui(qn), { onPointerDown: H, onPointerOut: Q, onPointerOver: de } = bh(se, V, Y, 1), { blurRadius: W = 0, vignette: j = 0, noise: le = 0 } = D, {
|
|
21104
|
+
temperatureFilter: he,
|
|
21105
|
+
sharpnessFilter: pe,
|
|
21106
|
+
hueFilter: be,
|
|
21102
21107
|
blurFilter: Se,
|
|
21103
|
-
adjustmentFilter:
|
|
21104
|
-
vignetteFilter:
|
|
21105
|
-
noiseFilter:
|
|
21106
|
-
} = Zn(D),
|
|
21107
|
-
const
|
|
21108
|
-
return
|
|
21108
|
+
adjustmentFilter: xe,
|
|
21109
|
+
vignetteFilter: Be,
|
|
21110
|
+
noiseFilter: ze
|
|
21111
|
+
} = Zn(D), ve = g || "", Ie = te.useMemo(() => {
|
|
21112
|
+
const ce = document.createElement("video");
|
|
21113
|
+
return ce.src = g, ce.crossOrigin = "Anonymus", ce.autoplay = !1, ce.currentTime = b === 0 ? 1e-3 : b, ce;
|
|
21109
21114
|
}, [g, b]);
|
|
21110
21115
|
pt(Qe.PAUSE, () => {
|
|
21111
21116
|
h.current && (h.current.pause(), p.current.isPlaying = !1);
|
|
@@ -21117,8 +21122,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21117
21122
|
const Ge = te.useCallback(
|
|
21118
21123
|
fo(() => {
|
|
21119
21124
|
if (h.current) {
|
|
21120
|
-
const
|
|
21121
|
-
|
|
21125
|
+
const ce = h.current;
|
|
21126
|
+
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && h.current.pause(), p.current.isPlaying = !1;
|
|
21122
21127
|
}
|
|
21123
21128
|
}, 400),
|
|
21124
21129
|
[h]
|
|
@@ -21126,41 +21131,41 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21126
21131
|
te.useEffect(() => {
|
|
21127
21132
|
h.current && !re ? (ie.current ? (Ge(), p.current.isPlaying = !1, p.current.isDragging = !0) : p.current.isDragging = !1, h.current.muted = d) : p.current.isDragging = !1;
|
|
21128
21133
|
}, [d, ie, Ge, h]);
|
|
21129
|
-
const Ke = (
|
|
21134
|
+
const Ke = (ce) => {
|
|
21130
21135
|
if (h.current) {
|
|
21131
|
-
if (h.current.currentTime = Number(
|
|
21132
|
-
const
|
|
21136
|
+
if (h.current.currentTime = Number(ce), !ie.current) {
|
|
21137
|
+
const Fe = h.current, Xt = Fe.currentTime > 0 && !Fe.paused && !Fe.ended && Fe.readyState > Fe.HAVE_CURRENT_DATA;
|
|
21133
21138
|
G.current && G.current.isActive() && m.current && m.current.isActive() && (Xt || h.current.play(), p.current.isPlaying = !0, n((Ut) => Ut + 1));
|
|
21134
21139
|
}
|
|
21135
21140
|
p.current.progress = 0;
|
|
21136
21141
|
}
|
|
21137
|
-
},
|
|
21142
|
+
}, Ee = () => {
|
|
21138
21143
|
if (h.current) {
|
|
21139
|
-
const
|
|
21140
|
-
|
|
21144
|
+
const ce = h.current;
|
|
21145
|
+
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && h.current.pause(), p.current.isPlaying = !1, m.current && (p.current.progress = m.current.progress());
|
|
21141
21146
|
}
|
|
21142
21147
|
}, _e = () => {
|
|
21143
21148
|
}, rt = () => {
|
|
21144
|
-
var
|
|
21149
|
+
var ce, Fe;
|
|
21145
21150
|
if (m.current && (p.current.progress = m.current.progress()), h.current && m.current) {
|
|
21146
|
-
const Xt = b + ((
|
|
21151
|
+
const Xt = b + ((ce = m == null ? void 0 : m.current) == null ? void 0 : ce.time()), Ut = Math.abs(
|
|
21147
21152
|
h.current.currentTime - Xt
|
|
21148
21153
|
), lt = h.current, tr = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
|
|
21149
21154
|
ie.current ? (h.current.currentTime = Xt, setTimeout(() => {
|
|
21150
21155
|
h.current && h.current.play().then(() => {
|
|
21151
21156
|
p.current.isPlaying = !1, h.current && h.current.pause();
|
|
21152
21157
|
});
|
|
21153
|
-
}, 100), p.current.isPlaying = !1) : (tr !== p.current.isPlaying || !tr) && p.current.progress > 0.01 && p.current.progress < 0.99 ? (
|
|
21158
|
+
}, 100), p.current.isPlaying = !1) : (tr !== p.current.isPlaying || !tr) && p.current.progress > 0.01 && p.current.progress < 0.99 ? (Fe = G.current) != null && Fe.isActive() && m.current && m.current.isActive() && (tr || h.current.play(), p.current.isPlaying = !0) : Ut > 0.3 && p.current.progress > 0.01 && p.current.progress < 0.99 && (h.current.currentTime = Xt);
|
|
21154
21159
|
}
|
|
21155
21160
|
};
|
|
21156
21161
|
return jn(() => {
|
|
21157
|
-
let
|
|
21162
|
+
let ce = J.context(() => {
|
|
21158
21163
|
});
|
|
21159
21164
|
if (l.current && G.current) {
|
|
21160
|
-
const
|
|
21165
|
+
const Fe = {
|
|
21161
21166
|
duration: Number(x) - Number(b),
|
|
21162
21167
|
onStart: Ke,
|
|
21163
|
-
onComplete:
|
|
21168
|
+
onComplete: Ee,
|
|
21164
21169
|
onStartParams: [b, x],
|
|
21165
21170
|
onCompleteParams: [],
|
|
21166
21171
|
onInterrupt: _e,
|
|
@@ -21182,23 +21187,23 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21182
21187
|
console.log("onKill video sprite kill", c);
|
|
21183
21188
|
}
|
|
21184
21189
|
};
|
|
21185
|
-
|
|
21190
|
+
ce = J.context(() => {
|
|
21186
21191
|
m.current = J.from(
|
|
21187
21192
|
l.current,
|
|
21188
21193
|
// @ts-ignore
|
|
21189
|
-
|
|
21194
|
+
Fe,
|
|
21190
21195
|
b
|
|
21191
21196
|
), G.current.add(m.current, _);
|
|
21192
21197
|
});
|
|
21193
21198
|
}
|
|
21194
21199
|
return () => {
|
|
21195
|
-
m.current && (m.current.kill(), J.killTweensOf(m.current)),
|
|
21200
|
+
m.current && (m.current.kill(), J.killTweensOf(m.current)), ce.revert();
|
|
21196
21201
|
};
|
|
21197
21202
|
}, [L, _, y, b, x]), te.useEffect(() => {
|
|
21198
21203
|
h.current && (h.current.muted = d);
|
|
21199
21204
|
}, [d]), te.useEffect(() => {
|
|
21200
|
-
const
|
|
21201
|
-
h.current && (h.current.currentTime =
|
|
21205
|
+
const ce = Math.round((Number(b) + Number.EPSILON) * 100) / 100, Fe = function() {
|
|
21206
|
+
h.current && (h.current.currentTime = ce);
|
|
21202
21207
|
}, Xt = function() {
|
|
21203
21208
|
if (h.current) {
|
|
21204
21209
|
const fr = h.current;
|
|
@@ -21211,8 +21216,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21211
21216
|
p.current.isWaiting = !1, p.current.isStalled = !1;
|
|
21212
21217
|
}, tr = function() {
|
|
21213
21218
|
p.current.isWaiting = !1, p.current.isStalled = !0;
|
|
21214
|
-
}, Qn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, xn = `${
|
|
21215
|
-
return er.Texture.fromLoader(
|
|
21219
|
+
}, Qn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, xn = `${ve}#t=${Qn},${eu}`;
|
|
21220
|
+
return er.Texture.fromLoader(Ie, xn, c, {
|
|
21216
21221
|
pixiIdPrefix: c,
|
|
21217
21222
|
resourceOptions: {
|
|
21218
21223
|
autoPlay: !1,
|
|
@@ -21220,44 +21225,44 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21220
21225
|
updateFPS: X ? Math.max(120, Number(X)) : 30
|
|
21221
21226
|
}
|
|
21222
21227
|
}).then((fr) => {
|
|
21223
|
-
fr && (a(fr), h.current = fr.baseTexture.resource.source, h.current.id = c, h.current.addEventListener("loadedmetadata",
|
|
21228
|
+
fr && (a(fr), h.current = fr.baseTexture.resource.source, h.current.id = c, h.current.addEventListener("loadedmetadata", Fe), h.current.addEventListener("ended", Xt), h.current.addEventListener("loadstart", Ut), h.current.addEventListener("canplaythrough", lt), h.current.addEventListener("stalled", tr));
|
|
21224
21229
|
}), () => {
|
|
21225
|
-
h.current && (h.current.pause(), h.current.removeEventListener("loadedmetadata",
|
|
21230
|
+
h.current && (h.current.pause(), h.current.removeEventListener("loadedmetadata", Fe), h.current.removeEventListener("ended", Xt), h.current.removeEventListener("loadstart", Ut), h.current.removeEventListener(
|
|
21226
21231
|
"canplaythrough",
|
|
21227
21232
|
lt
|
|
21228
21233
|
), h.current.removeEventListener("stalled", tr));
|
|
21229
21234
|
};
|
|
21230
|
-
}, [
|
|
21231
|
-
const
|
|
21235
|
+
}, [ve, c, b, x, Ie]), te.useEffect(() => {
|
|
21236
|
+
const ce = setTimeout(() => {
|
|
21232
21237
|
i && m.current && G.current && m.current.progress() < 0.1 && h.current && !m.current.isActive() && !re && h.current.play().then(() => {
|
|
21233
21238
|
p.current.isPlaying = !1, h.current && h.current.pause();
|
|
21234
21239
|
});
|
|
21235
21240
|
}, 30);
|
|
21236
21241
|
return () => {
|
|
21237
|
-
clearTimeout(
|
|
21242
|
+
clearTimeout(ce);
|
|
21238
21243
|
};
|
|
21239
21244
|
}, [i]), te.useEffect(() => {
|
|
21240
21245
|
G.current && !G.current.isActive() && !re && (p.current.isPlaying = !1, h.current && h.current.pause());
|
|
21241
|
-
const
|
|
21246
|
+
const ce = setTimeout(() => {
|
|
21242
21247
|
if (i && G.current && r > 0 && !re) {
|
|
21243
21248
|
G.current.isActive() || (p.current.isPlaying = !1, h.current && h.current.pause());
|
|
21244
|
-
const
|
|
21245
|
-
|
|
21249
|
+
const Fe = h.current;
|
|
21250
|
+
Fe && G.current.isActive() && m.current && m.current.isActive() && (Fe.currentTime > 0 && !Fe.paused && !Fe.ended && Fe.readyState > Fe.HAVE_CURRENT_DATA || h.current.play(), p.current.isPlaying = !0);
|
|
21246
21251
|
}
|
|
21247
21252
|
}, 10);
|
|
21248
21253
|
return () => {
|
|
21249
|
-
clearTimeout(
|
|
21254
|
+
clearTimeout(ce);
|
|
21250
21255
|
};
|
|
21251
|
-
}, [r, i]), /* @__PURE__ */
|
|
21256
|
+
}, [r, i]), /* @__PURE__ */ Ce.jsx(
|
|
21252
21257
|
mn,
|
|
21253
21258
|
{
|
|
21254
21259
|
...t,
|
|
21255
21260
|
ref: e,
|
|
21256
21261
|
ignoreTlForVideo: !0,
|
|
21257
21262
|
pointerdown: H,
|
|
21258
|
-
pointerover:
|
|
21263
|
+
pointerover: de,
|
|
21259
21264
|
pointerout: Q,
|
|
21260
|
-
children: /* @__PURE__ */
|
|
21265
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: l, children: i && /* @__PURE__ */ Ce.jsx(
|
|
21261
21266
|
Bs,
|
|
21262
21267
|
{
|
|
21263
21268
|
texture: i,
|
|
@@ -21270,16 +21275,16 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21270
21275
|
alpha: E ? 1 : 0,
|
|
21271
21276
|
...!w && E && { interactive: !0, pointerdown: V },
|
|
21272
21277
|
filters: [
|
|
21273
|
-
|
|
21274
|
-
|
|
21275
|
-
|
|
21276
|
-
|
|
21278
|
+
he,
|
|
21279
|
+
pe,
|
|
21280
|
+
be,
|
|
21281
|
+
xe,
|
|
21277
21282
|
// conditionally add blur filter
|
|
21278
21283
|
...W > 0 ? [Se] : [],
|
|
21279
21284
|
// conditionally add vignette filter
|
|
21280
|
-
...j > 0 ? [
|
|
21285
|
+
...j > 0 ? [Be] : [],
|
|
21281
21286
|
// conditionally add noise filter
|
|
21282
|
-
...le > 0 ? [
|
|
21287
|
+
...le > 0 ? [ze] : []
|
|
21283
21288
|
]
|
|
21284
21289
|
}
|
|
21285
21290
|
) })
|
|
@@ -21291,7 +21296,7 @@ O5.whyDidYouRender = {
|
|
|
21291
21296
|
customName: "PixiVideoSprite"
|
|
21292
21297
|
};
|
|
21293
21298
|
const uU = te.forwardRef((t, e) => {
|
|
21294
|
-
const [r, n] = te.useState(), i =
|
|
21299
|
+
const [r, n] = te.useState(), i = me(null), a = me(null), {
|
|
21295
21300
|
visible: u,
|
|
21296
21301
|
disabled: l,
|
|
21297
21302
|
transformation: { x: h, y: p, width: m, height: c, colorCorrection: d = {} },
|
|
@@ -21321,7 +21326,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21321
21326
|
const re = er.Texture.from(x);
|
|
21322
21327
|
n(re);
|
|
21323
21328
|
}
|
|
21324
|
-
}, [x]), /* @__PURE__ */
|
|
21329
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21325
21330
|
mn,
|
|
21326
21331
|
{
|
|
21327
21332
|
...t,
|
|
@@ -21330,7 +21335,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21330
21335
|
pointerdown: w,
|
|
21331
21336
|
pointerover: O,
|
|
21332
21337
|
pointerout: I,
|
|
21333
|
-
children: /* @__PURE__ */
|
|
21338
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21334
21339
|
Bs,
|
|
21335
21340
|
{
|
|
21336
21341
|
texture: r,
|
|
@@ -21359,11 +21364,11 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21359
21364
|
}
|
|
21360
21365
|
);
|
|
21361
21366
|
}), lU = (t) => {
|
|
21362
|
-
const { startAt: e, endAt: r, uniqueId: n } = t, i =
|
|
21367
|
+
const { startAt: e, endAt: r, uniqueId: n } = t, i = me(null), a = me(null), u = me(null), l = me(null), h = me(!1), {
|
|
21363
21368
|
tl: p,
|
|
21364
21369
|
totalDuration: m = 0,
|
|
21365
21370
|
reverseModeRef: c
|
|
21366
|
-
} = Ui(qn), d = e < 0.2 ? "static" : "none", g =
|
|
21371
|
+
} = Ui(qn), d = e < 0.2 ? "static" : "none", g = me(1);
|
|
21367
21372
|
pt(Qe.COMPLETE, () => {
|
|
21368
21373
|
i.current && (i.current.eventMode = d);
|
|
21369
21374
|
}), pt(Qe.REVERSE_MODE_END, () => {
|
|
@@ -21403,13 +21408,13 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21403
21408
|
return () => {
|
|
21404
21409
|
l.current && (p.current.remove(l.current), l.current.progress(0).kill()), y.revert();
|
|
21405
21410
|
};
|
|
21406
|
-
}, [e, r, m, n]), /* @__PURE__ */
|
|
21411
|
+
}, [e, r, m, n]), /* @__PURE__ */ Ce.jsx(
|
|
21407
21412
|
wt,
|
|
21408
21413
|
{
|
|
21409
21414
|
ref: i,
|
|
21410
21415
|
alpha: e < 0.2 ? 1 : 0,
|
|
21411
21416
|
eventMode: e < 0.2 ? "static" : "none",
|
|
21412
|
-
children: /* @__PURE__ */
|
|
21417
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: u, children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, alpha: 1, children: t.children }) })
|
|
21413
21418
|
}
|
|
21414
21419
|
);
|
|
21415
21420
|
}, cU = (t) => {
|
|
@@ -21418,7 +21423,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21418
21423
|
n && n(Number(r) + 0.2);
|
|
21419
21424
|
}, [e, r]), t.children;
|
|
21420
21425
|
}, hU = te.forwardRef((t, e) => {
|
|
21421
|
-
const [r, n] = te.useState(), i =
|
|
21426
|
+
const [r, n] = te.useState(), i = me(null), a = me(null), {
|
|
21422
21427
|
visible: u,
|
|
21423
21428
|
disabled: l,
|
|
21424
21429
|
transformation: { x: h, y: p, width: m, height: c, colorCorrection: d = {} },
|
|
@@ -21448,7 +21453,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21448
21453
|
const re = er.Texture.from(x);
|
|
21449
21454
|
n(re);
|
|
21450
21455
|
}
|
|
21451
|
-
}, [x]), /* @__PURE__ */
|
|
21456
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21452
21457
|
mn,
|
|
21453
21458
|
{
|
|
21454
21459
|
...t,
|
|
@@ -21457,7 +21462,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21457
21462
|
pointerdown: w,
|
|
21458
21463
|
pointerover: O,
|
|
21459
21464
|
pointerout: I,
|
|
21460
|
-
children: /* @__PURE__ */
|
|
21465
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21461
21466
|
Bs,
|
|
21462
21467
|
{
|
|
21463
21468
|
texture: r,
|