reacthub-pixitweenjs 0.2.107-alpha.55 → 0.2.107-alpha.57
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 +723 -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,29 @@ 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
|
-
|
|
993
|
+
}), Be = g.current.progress();
|
|
994
|
+
console.log(
|
|
995
|
+
"all times duration",
|
|
996
|
+
g.current.duration(),
|
|
997
|
+
g.current.progress()
|
|
998
|
+
), 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), g.current.progress(Be), d.current = xe, console.log(
|
|
999
|
+
"all times duration 22",
|
|
1000
|
+
g.current.duration(),
|
|
1001
|
+
g.current.progress()
|
|
1002
|
+
);
|
|
994
1003
|
}
|
|
995
1004
|
return () => {
|
|
996
1005
|
g.current && d.current && (g.current.remove(d.current), d.current.progress(0).kill());
|
|
@@ -1000,16 +1009,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
1009
|
l(!0), G && G();
|
|
1001
1010
|
}, []), le = te.useCallback(() => {
|
|
1002
1011
|
a(!0);
|
|
1003
|
-
}, []),
|
|
1004
|
-
(
|
|
1005
|
-
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(
|
|
1012
|
+
}, []), he = te.useCallback(
|
|
1013
|
+
(xe) => {
|
|
1014
|
+
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(xe), a(!1);
|
|
1006
1015
|
},
|
|
1007
1016
|
[]
|
|
1008
|
-
),
|
|
1017
|
+
), pe = rS(wt, {
|
|
1009
1018
|
matrix: er.filters.ColorMatrixFilter
|
|
1010
1019
|
});
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1020
|
+
return console.log(
|
|
1021
|
+
"render=> imageRef location",
|
|
1022
|
+
(be = h.current) == null ? void 0 : be.x,
|
|
1023
|
+
(Se = h.current) == null ? void 0 : Se.y
|
|
1024
|
+
), /* @__PURE__ */ Ce.jsxs(wt, { ref: p, children: [
|
|
1025
|
+
/* @__PURE__ */ Ce.jsxs(
|
|
1013
1026
|
wt,
|
|
1014
1027
|
{
|
|
1015
1028
|
ref: h,
|
|
@@ -1027,23 +1040,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
1040
|
pointerout: X
|
|
1028
1041
|
},
|
|
1029
1042
|
children: [
|
|
1030
|
-
!H && /* @__PURE__ */
|
|
1031
|
-
|
|
1043
|
+
!H && /* @__PURE__ */ Ce.jsx(
|
|
1044
|
+
pe,
|
|
1032
1045
|
{
|
|
1033
1046
|
scale: 1,
|
|
1034
|
-
apply: ({ matrix:
|
|
1035
|
-
N === Bn.BlackAndWhite ?
|
|
1047
|
+
apply: ({ matrix: xe }) => {
|
|
1048
|
+
N === Bn.BlackAndWhite ? xe.desaturate() : N === Bn.Sepia ? xe.sepia() : N === Bn.RetroVintage || N === Bn.NightVision ? xe.negative() : N === Bn.Normal && xe.reset();
|
|
1036
1049
|
},
|
|
1037
1050
|
matrix: {
|
|
1038
1051
|
enabled: !0,
|
|
1039
1052
|
// @ts-ignore
|
|
1040
1053
|
matrix: AC
|
|
1041
1054
|
},
|
|
1042
|
-
children: /* @__PURE__ */
|
|
1055
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: m, children: t.children })
|
|
1043
1056
|
}
|
|
1044
1057
|
),
|
|
1045
|
-
H && /* @__PURE__ */
|
|
1046
|
-
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */
|
|
1058
|
+
H && /* @__PURE__ */ Ce.jsx(wt, { ref: m, children: t.children }),
|
|
1059
|
+
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */ Ce.jsx(
|
|
1047
1060
|
lC,
|
|
1048
1061
|
{
|
|
1049
1062
|
overlay: L,
|
|
@@ -1056,13 +1069,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
1069
|
]
|
|
1057
1070
|
}
|
|
1058
1071
|
),
|
|
1059
|
-
V && y && !
|
|
1072
|
+
V && y && !de && /* @__PURE__ */ Ce.jsx(
|
|
1060
1073
|
dS,
|
|
1061
1074
|
{
|
|
1062
1075
|
pixiTransformerRef: c,
|
|
1063
1076
|
imageRef: h,
|
|
1064
1077
|
isMounted: r,
|
|
1065
|
-
transformCommit:
|
|
1078
|
+
transformCommit: he,
|
|
1066
1079
|
transformChange: le,
|
|
1067
1080
|
mouseoverEvent: j,
|
|
1068
1081
|
uniqueId: _,
|
|
@@ -1076,7 +1089,7 @@ mn.whyDidYouRender = {
|
|
|
1076
1089
|
logOnDifferentValues: !0,
|
|
1077
1090
|
customName: "AbstractContainer"
|
|
1078
1091
|
};
|
|
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 || {}),
|
|
1092
|
+
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
1093
|
const EC = {
|
|
1081
1094
|
createCanvas: (t, e) => {
|
|
1082
1095
|
const r = document.createElement("canvas");
|
|
@@ -1089,7 +1102,7 @@ const EC = {
|
|
|
1089
1102
|
getFontFaceSet: () => document.fonts,
|
|
1090
1103
|
fetch: (t, e) => fetch(t, e),
|
|
1091
1104
|
parseXML: (t) => new DOMParser().parseFromString(t, "text/xml")
|
|
1092
|
-
},
|
|
1105
|
+
}, Pe = {
|
|
1093
1106
|
ADAPTER: EC,
|
|
1094
1107
|
RESOLUTION: 1,
|
|
1095
1108
|
CREATE_IMAGE_BITMAP: !1,
|
|
@@ -1158,8 +1171,8 @@ function Ap(t) {
|
|
|
1158
1171
|
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
1172
|
}
|
|
1160
1173
|
const IC = Ap.default ?? Ap, Si = IC(globalThis.navigator);
|
|
1161
|
-
|
|
1162
|
-
|
|
1174
|
+
Pe.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
1175
|
+
Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
1163
1176
|
var Cm = { exports: {} };
|
|
1164
1177
|
(function(t) {
|
|
1165
1178
|
var e = Object.prototype.hasOwnProperty, r = "~";
|
|
@@ -1561,19 +1574,19 @@ mo.exports;
|
|
|
1561
1574
|
throw new RangeError(w[W]);
|
|
1562
1575
|
}
|
|
1563
1576
|
function D(W, j) {
|
|
1564
|
-
for (var le = W.length,
|
|
1565
|
-
|
|
1566
|
-
return
|
|
1577
|
+
for (var le = W.length, he = []; le--; )
|
|
1578
|
+
he[le] = j(W[le]);
|
|
1579
|
+
return he;
|
|
1567
1580
|
}
|
|
1568
1581
|
function V(W, j) {
|
|
1569
|
-
var le = W.split("@"),
|
|
1570
|
-
le.length > 1 && (
|
|
1571
|
-
var
|
|
1572
|
-
return
|
|
1582
|
+
var le = W.split("@"), he = "";
|
|
1583
|
+
le.length > 1 && (he = le[0] + "@", W = le[1]), W = W.replace(E, ".");
|
|
1584
|
+
var pe = W.split("."), be = D(pe, j).join(".");
|
|
1585
|
+
return he + be;
|
|
1573
1586
|
}
|
|
1574
1587
|
function Y(W) {
|
|
1575
|
-
for (var j = [], le = 0,
|
|
1576
|
-
|
|
1588
|
+
for (var j = [], le = 0, he = W.length, pe, be; le < he; )
|
|
1589
|
+
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
1590
|
return j;
|
|
1578
1591
|
}
|
|
1579
1592
|
function se(W) {
|
|
@@ -1589,36 +1602,36 @@ mo.exports;
|
|
|
1589
1602
|
return W + 22 + 75 * (W < 26) - ((j != 0) << 5);
|
|
1590
1603
|
}
|
|
1591
1604
|
function ie(W, j, le) {
|
|
1592
|
-
var
|
|
1593
|
-
for (W = le ? O(W / d) : W >> 1, W += O(W / j); W > I * m >> 1;
|
|
1605
|
+
var he = 0;
|
|
1606
|
+
for (W = le ? O(W / d) : W >> 1, W += O(W / j); W > I * m >> 1; he += h)
|
|
1594
1607
|
W = O(W / I);
|
|
1595
|
-
return O(
|
|
1608
|
+
return O(he + (I + 1) * W / (W + c));
|
|
1596
1609
|
}
|
|
1597
1610
|
function re(W) {
|
|
1598
|
-
var j = [], le = W.length,
|
|
1599
|
-
for (
|
|
1600
|
-
W.charCodeAt(
|
|
1601
|
-
for (
|
|
1602
|
-
for (
|
|
1603
|
-
_e = h -
|
|
1604
|
-
|
|
1611
|
+
var j = [], le = W.length, he, pe = 0, be = _, Se = g, xe, Be, ze, ve, Ie, Ge, Ke, Ee, _e;
|
|
1612
|
+
for (xe = W.lastIndexOf(y), xe < 0 && (xe = 0), Be = 0; Be < xe; ++Be)
|
|
1613
|
+
W.charCodeAt(Be) >= 128 && L("not-basic"), j.push(W.charCodeAt(Be));
|
|
1614
|
+
for (ze = xe > 0 ? xe + 1 : 0; ze < le; ) {
|
|
1615
|
+
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)
|
|
1616
|
+
_e = h - Ee, Ie > O(l / _e) && L("overflow"), Ie *= _e;
|
|
1617
|
+
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
1618
|
}
|
|
1606
1619
|
return se(j);
|
|
1607
1620
|
}
|
|
1608
1621
|
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(
|
|
1622
|
+
var j, le, he, pe, be, Se, xe, Be, ze, ve, Ie, Ge = [], Ke, Ee, _e, rt;
|
|
1623
|
+
for (W = Y(W), Ke = W.length, j = _, le = 0, be = g, Se = 0; Se < Ke; ++Se)
|
|
1624
|
+
Ie = W[Se], Ie < 128 && Ge.push(F(Ie));
|
|
1625
|
+
for (he = pe = Ge.length, pe && Ge.push(y); he < Ke; ) {
|
|
1626
|
+
for (xe = l, Se = 0; Se < Ke; ++Se)
|
|
1627
|
+
Ie = W[Se], Ie >= j && Ie < xe && (xe = Ie);
|
|
1628
|
+
for (Ee = he + 1, xe - j > O((l - le) / Ee) && L("overflow"), le += (xe - j) * Ee, j = xe, Se = 0; Se < Ke; ++Se)
|
|
1629
|
+
if (Ie = W[Se], Ie < j && ++le > l && L("overflow"), Ie == j) {
|
|
1630
|
+
for (Be = le, ze = h; ve = ze <= be ? p : ze >= be + m ? m : ze - be, !(Be < ve); ze += h)
|
|
1631
|
+
rt = Be - ve, _e = h - ve, Ge.push(
|
|
1632
|
+
F(G(ve + rt % _e, 0))
|
|
1633
|
+
), Be = O(rt / _e);
|
|
1634
|
+
Ge.push(F(G(Be, 0))), be = ie(le, Ee, he == pe), le = 0, ++he;
|
|
1622
1635
|
}
|
|
1623
1636
|
++le, ++j;
|
|
1624
1637
|
}
|
|
@@ -1629,7 +1642,7 @@ mo.exports;
|
|
|
1629
1642
|
return b.test(j) ? re(j.slice(4).toLowerCase()) : j;
|
|
1630
1643
|
});
|
|
1631
1644
|
}
|
|
1632
|
-
function
|
|
1645
|
+
function de(W) {
|
|
1633
1646
|
return V(W, function(j) {
|
|
1634
1647
|
return x.test(j) ? "xn--" + H(j) : j;
|
|
1635
1648
|
});
|
|
@@ -1654,7 +1667,7 @@ mo.exports;
|
|
|
1654
1667
|
},
|
|
1655
1668
|
decode: re,
|
|
1656
1669
|
encode: H,
|
|
1657
|
-
toASCII:
|
|
1670
|
+
toASCII: de,
|
|
1658
1671
|
toUnicode: Q
|
|
1659
1672
|
}, n && i)
|
|
1660
1673
|
if (t.exports == n)
|
|
@@ -1719,7 +1732,7 @@ var jC = mo.exports, qC = function() {
|
|
|
1719
1732
|
p.prototype = r.prototype, i.prototype = new p(), p.prototype = null;
|
|
1720
1733
|
}
|
|
1721
1734
|
return i;
|
|
1722
|
-
}, n2 = r2, Zc = Function.prototype.bind || n2, i2 = Zc, s2 = i2.call(Function.call, Object.prototype.hasOwnProperty),
|
|
1735
|
+
}, 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
1736
|
try {
|
|
1724
1737
|
return Mm('"use strict"; return (' + t + ").constructor;")();
|
|
1725
1738
|
} catch {
|
|
@@ -1745,22 +1758,22 @@ var Cl = function() {
|
|
|
1745
1758
|
}
|
|
1746
1759
|
}() : Cl, mi = KC(), o2 = QC(), bt = Object.getPrototypeOf || (o2 ? function(t) {
|
|
1747
1760
|
return t.__proto__;
|
|
1748
|
-
} : null), bi = {}, u2 = typeof Uint8Array > "u" || !bt ?
|
|
1749
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
1761
|
+
} : null), bi = {}, u2 = typeof Uint8Array > "u" || !bt ? Oe : bt(Uint8Array), zn = {
|
|
1762
|
+
"%AggregateError%": typeof AggregateError > "u" ? Oe : AggregateError,
|
|
1750
1763
|
"%Array%": Array,
|
|
1751
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
1752
|
-
"%ArrayIteratorPrototype%": mi && bt ? bt([][Symbol.iterator]()) :
|
|
1753
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
1764
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? Oe : ArrayBuffer,
|
|
1765
|
+
"%ArrayIteratorPrototype%": mi && bt ? bt([][Symbol.iterator]()) : Oe,
|
|
1766
|
+
"%AsyncFromSyncIteratorPrototype%": Oe,
|
|
1754
1767
|
"%AsyncFunction%": bi,
|
|
1755
1768
|
"%AsyncGenerator%": bi,
|
|
1756
1769
|
"%AsyncGeneratorFunction%": bi,
|
|
1757
1770
|
"%AsyncIteratorPrototype%": bi,
|
|
1758
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
1759
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
1760
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
1761
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
1771
|
+
"%Atomics%": typeof Atomics > "u" ? Oe : Atomics,
|
|
1772
|
+
"%BigInt%": typeof BigInt > "u" ? Oe : BigInt,
|
|
1773
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? Oe : BigInt64Array,
|
|
1774
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? Oe : BigUint64Array,
|
|
1762
1775
|
"%Boolean%": Boolean,
|
|
1763
|
-
"%DataView%": typeof DataView > "u" ?
|
|
1776
|
+
"%DataView%": typeof DataView > "u" ? Oe : DataView,
|
|
1764
1777
|
"%Date%": Date,
|
|
1765
1778
|
"%decodeURI%": decodeURI,
|
|
1766
1779
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -1770,49 +1783,49 @@ var Cl = function() {
|
|
|
1770
1783
|
"%eval%": eval,
|
|
1771
1784
|
// eslint-disable-line no-eval
|
|
1772
1785
|
"%EvalError%": EvalError,
|
|
1773
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
1774
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
1775
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
1786
|
+
"%Float32Array%": typeof Float32Array > "u" ? Oe : Float32Array,
|
|
1787
|
+
"%Float64Array%": typeof Float64Array > "u" ? Oe : Float64Array,
|
|
1788
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? Oe : FinalizationRegistry,
|
|
1776
1789
|
"%Function%": Mm,
|
|
1777
1790
|
"%GeneratorFunction%": bi,
|
|
1778
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
1779
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
1780
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
1791
|
+
"%Int8Array%": typeof Int8Array > "u" ? Oe : Int8Array,
|
|
1792
|
+
"%Int16Array%": typeof Int16Array > "u" ? Oe : Int16Array,
|
|
1793
|
+
"%Int32Array%": typeof Int32Array > "u" ? Oe : Int32Array,
|
|
1781
1794
|
"%isFinite%": isFinite,
|
|
1782
1795
|
"%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 ?
|
|
1796
|
+
"%IteratorPrototype%": mi && bt ? bt(bt([][Symbol.iterator]())) : Oe,
|
|
1797
|
+
"%JSON%": typeof JSON == "object" ? JSON : Oe,
|
|
1798
|
+
"%Map%": typeof Map > "u" ? Oe : Map,
|
|
1799
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !mi || !bt ? Oe : bt((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1787
1800
|
"%Math%": Math,
|
|
1788
1801
|
"%Number%": Number,
|
|
1789
1802
|
"%Object%": Object,
|
|
1790
1803
|
"%parseFloat%": parseFloat,
|
|
1791
1804
|
"%parseInt%": parseInt,
|
|
1792
|
-
"%Promise%": typeof Promise > "u" ?
|
|
1793
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
1805
|
+
"%Promise%": typeof Promise > "u" ? Oe : Promise,
|
|
1806
|
+
"%Proxy%": typeof Proxy > "u" ? Oe : Proxy,
|
|
1794
1807
|
"%RangeError%": RangeError,
|
|
1795
1808
|
"%ReferenceError%": ReferenceError,
|
|
1796
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
1809
|
+
"%Reflect%": typeof Reflect > "u" ? Oe : Reflect,
|
|
1797
1810
|
"%RegExp%": RegExp,
|
|
1798
|
-
"%Set%": typeof Set > "u" ?
|
|
1799
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !mi || !bt ?
|
|
1800
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
1811
|
+
"%Set%": typeof Set > "u" ? Oe : Set,
|
|
1812
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !mi || !bt ? Oe : bt((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
1813
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? Oe : SharedArrayBuffer,
|
|
1801
1814
|
"%String%": String,
|
|
1802
|
-
"%StringIteratorPrototype%": mi && bt ? bt(""[Symbol.iterator]()) :
|
|
1803
|
-
"%Symbol%": mi ? Symbol :
|
|
1815
|
+
"%StringIteratorPrototype%": mi && bt ? bt(""[Symbol.iterator]()) : Oe,
|
|
1816
|
+
"%Symbol%": mi ? Symbol : Oe,
|
|
1804
1817
|
"%SyntaxError%": Oi,
|
|
1805
1818
|
"%ThrowTypeError%": a2,
|
|
1806
1819
|
"%TypedArray%": u2,
|
|
1807
1820
|
"%TypeError%": Ii,
|
|
1808
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
1809
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
1810
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
1811
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
1821
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? Oe : Uint8Array,
|
|
1822
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? Oe : Uint8ClampedArray,
|
|
1823
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? Oe : Uint16Array,
|
|
1824
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? Oe : Uint32Array,
|
|
1812
1825
|
"%URIError%": URIError,
|
|
1813
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
1814
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
1815
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
1826
|
+
"%WeakMap%": typeof WeakMap > "u" ? Oe : WeakMap,
|
|
1827
|
+
"%WeakRef%": typeof WeakRef > "u" ? Oe : WeakRef,
|
|
1828
|
+
"%WeakSet%": typeof WeakSet > "u" ? Oe : WeakSet
|
|
1816
1829
|
};
|
|
1817
1830
|
if (bt)
|
|
1818
1831
|
try {
|
|
@@ -3009,12 +3022,12 @@ function iR() {
|
|
|
3009
3022
|
var r;
|
|
3010
3023
|
const e = {
|
|
3011
3024
|
stencil: !0,
|
|
3012
|
-
failIfMajorPerformanceCaveat:
|
|
3025
|
+
failIfMajorPerformanceCaveat: Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT
|
|
3013
3026
|
};
|
|
3014
3027
|
try {
|
|
3015
|
-
if (!
|
|
3028
|
+
if (!Pe.ADAPTER.getWebGLRenderingContext())
|
|
3016
3029
|
return !1;
|
|
3017
|
-
const n =
|
|
3030
|
+
const n = Pe.ADAPTER.createCanvas();
|
|
3018
3031
|
let i = n.getContext("webgl", e) || n.getContext("experimental-webgl", e);
|
|
3019
3032
|
const a = !!((r = i == null ? void 0 : i.getContextAttributes()) != null && r.stencil);
|
|
3020
3033
|
if (i) {
|
|
@@ -3363,7 +3376,7 @@ function pR() {
|
|
|
3363
3376
|
const t = [], e = [];
|
|
3364
3377
|
for (let n = 0; n < 32; n++)
|
|
3365
3378
|
t[n] = n, e[n] = n;
|
|
3366
|
-
t[
|
|
3379
|
+
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
3380
|
const r = [];
|
|
3368
3381
|
return r.push(e), r.push(t), r;
|
|
3369
3382
|
}
|
|
@@ -3416,10 +3429,10 @@ function vR(t, e = globalThis.location) {
|
|
|
3416
3429
|
}
|
|
3417
3430
|
function sg(t, e = 1) {
|
|
3418
3431
|
var n;
|
|
3419
|
-
const r = (n =
|
|
3432
|
+
const r = (n = Pe.RETINA_PREFIX) == null ? void 0 : n.exec(t);
|
|
3420
3433
|
return r ? parseFloat(r[1]) : e;
|
|
3421
3434
|
}
|
|
3422
|
-
var
|
|
3435
|
+
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
3436
|
const Cc = (t) => {
|
|
3424
3437
|
if (typeof t == "function" || typeof t == "object" && t.extension) {
|
|
3425
3438
|
if (!t.extension)
|
|
@@ -3431,7 +3444,7 @@ const Cc = (t) => {
|
|
|
3431
3444
|
else
|
|
3432
3445
|
throw new Error("Invalid extension type");
|
|
3433
3446
|
return typeof t.type == "string" && (t.type = [t.type]), t;
|
|
3434
|
-
}, ag = (t, e) => Cc(t).priority ?? e,
|
|
3447
|
+
}, ag = (t, e) => Cc(t).priority ?? e, je = {
|
|
3435
3448
|
_addHandlers: {},
|
|
3436
3449
|
_removeHandlers: {},
|
|
3437
3450
|
_queue: {},
|
|
@@ -3549,7 +3562,7 @@ function bR(t, e) {
|
|
|
3549
3562
|
const Ul = 0, $l = 1, Gl = 2, Hl = 3, zl = 4, Vl = 5;
|
|
3550
3563
|
let Do = class Km {
|
|
3551
3564
|
constructor() {
|
|
3552
|
-
this.data = 0, this.blendMode =
|
|
3565
|
+
this.data = 0, this.blendMode = fe.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
3553
3566
|
}
|
|
3554
3567
|
get blend() {
|
|
3555
3568
|
return !!(this.data & 1 << Ul);
|
|
@@ -3591,7 +3604,7 @@ let Do = class Km {
|
|
|
3591
3604
|
return this._blendMode;
|
|
3592
3605
|
}
|
|
3593
3606
|
set blendMode(e) {
|
|
3594
|
-
this.blend = e !==
|
|
3607
|
+
this.blend = e !== fe.NONE, this._blendMode = e;
|
|
3595
3608
|
}
|
|
3596
3609
|
get polygonOffset() {
|
|
3597
3610
|
return this._polygonOffset;
|
|
@@ -3747,7 +3760,7 @@ const TR = {
|
|
|
3747
3760
|
resolution: d,
|
|
3748
3761
|
resourceOptions: g
|
|
3749
3762
|
} = e;
|
|
3750
|
-
t && !(t instanceof Ns) && (t = Zm(t, g), t.internal = !0), this.resolution = d ||
|
|
3763
|
+
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
3764
|
}
|
|
3752
3765
|
get realWidth() {
|
|
3753
3766
|
return Math.round(this.width * this.resolution);
|
|
@@ -3812,7 +3825,7 @@ const TR = {
|
|
|
3812
3825
|
castToBaseTexture() {
|
|
3813
3826
|
return this;
|
|
3814
3827
|
}
|
|
3815
|
-
static from(t, e, r =
|
|
3828
|
+
static from(t, e, r = Pe.STRICT_TEXTURE_CACHE) {
|
|
3816
3829
|
const n = typeof t == "string";
|
|
3817
3830
|
let i = null;
|
|
3818
3831
|
if (n)
|
|
@@ -4928,9 +4941,9 @@ const n0 = {};
|
|
|
4928
4941
|
let vi = n0;
|
|
4929
4942
|
function kR() {
|
|
4930
4943
|
if (vi === n0 || vi != null && vi.isContextLost()) {
|
|
4931
|
-
const t =
|
|
4944
|
+
const t = Pe.ADAPTER.createCanvas();
|
|
4932
4945
|
let e;
|
|
4933
|
-
|
|
4946
|
+
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
4947
|
}
|
|
4935
4948
|
return vi;
|
|
4936
4949
|
}
|
|
@@ -5166,7 +5179,7 @@ function VR() {
|
|
|
5166
5179
|
}
|
|
5167
5180
|
function XR(t) {
|
|
5168
5181
|
let e = !0;
|
|
5169
|
-
const r =
|
|
5182
|
+
const r = Pe.ADAPTER.getNavigator();
|
|
5170
5183
|
if (Si.tablet || Si.phone) {
|
|
5171
5184
|
if (Si.apple.device) {
|
|
5172
5185
|
const n = r.userAgent.match(/OS (\d+)_(\d+)?/);
|
|
@@ -5261,7 +5274,7 @@ const vr = class extends a0 {
|
|
|
5261
5274
|
}
|
|
5262
5275
|
contextChange() {
|
|
5263
5276
|
const t = this.renderer.gl;
|
|
5264
|
-
|
|
5277
|
+
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
5278
|
for (let e = 0; e < this._packedGeometryPoolSize; e++)
|
|
5266
5279
|
this._packedGeometries[e] = new this.geometryClass();
|
|
5267
5280
|
this.initFlushBuffers();
|
|
@@ -5378,11 +5391,11 @@ let xr = vr;
|
|
|
5378
5391
|
xr.defaultBatchSize = 4096;
|
|
5379
5392
|
xr.extension = {
|
|
5380
5393
|
name: "batch",
|
|
5381
|
-
type:
|
|
5394
|
+
type: Le.RendererPlugin
|
|
5382
5395
|
};
|
|
5383
5396
|
xr._drawCallPool = [];
|
|
5384
5397
|
xr._textureArrayPool = [];
|
|
5385
|
-
|
|
5398
|
+
je.add(xr);
|
|
5386
5399
|
var qR = `varying vec2 vTextureCoord;
|
|
5387
5400
|
|
|
5388
5401
|
uniform sampler2D uSampler;
|
|
@@ -5444,9 +5457,9 @@ const gs = class extends Xs {
|
|
|
5444
5457
|
return qR;
|
|
5445
5458
|
}
|
|
5446
5459
|
};
|
|
5447
|
-
let
|
|
5448
|
-
|
|
5449
|
-
|
|
5460
|
+
let Xe = gs;
|
|
5461
|
+
Xe.defaultResolution = 1;
|
|
5462
|
+
Xe.defaultMultisample = gt.NONE;
|
|
5450
5463
|
class Bo {
|
|
5451
5464
|
constructor() {
|
|
5452
5465
|
this.clearBeforeRender = !0, this._backgroundColor = new Mt(0), this.alpha = 1;
|
|
@@ -5481,12 +5494,12 @@ Bo.defaultOptions = {
|
|
|
5481
5494
|
};
|
|
5482
5495
|
Bo.extension = {
|
|
5483
5496
|
type: [
|
|
5484
|
-
|
|
5485
|
-
|
|
5497
|
+
Le.RendererSystem,
|
|
5498
|
+
Le.CanvasRendererSystem
|
|
5486
5499
|
],
|
|
5487
5500
|
name: "background"
|
|
5488
5501
|
};
|
|
5489
|
-
|
|
5502
|
+
je.add(Bo);
|
|
5490
5503
|
class o0 {
|
|
5491
5504
|
constructor(e) {
|
|
5492
5505
|
this.renderer = e, this.emptyRenderer = new a0(e), this.currentRenderer = this.emptyRenderer;
|
|
@@ -5530,10 +5543,10 @@ class o0 {
|
|
|
5530
5543
|
}
|
|
5531
5544
|
}
|
|
5532
5545
|
o0.extension = {
|
|
5533
|
-
type:
|
|
5546
|
+
type: Le.RendererSystem,
|
|
5534
5547
|
name: "batch"
|
|
5535
5548
|
};
|
|
5536
|
-
|
|
5549
|
+
je.add(o0);
|
|
5537
5550
|
let fg = 0;
|
|
5538
5551
|
class Uo {
|
|
5539
5552
|
constructor(e) {
|
|
@@ -5573,7 +5586,7 @@ class Uo {
|
|
|
5573
5586
|
}
|
|
5574
5587
|
createContext(e, r) {
|
|
5575
5588
|
let n;
|
|
5576
|
-
if (
|
|
5589
|
+
if (Pe.PREFER_ENV >= Yn.WEBGL2 && (n = e.getContext("webgl2", r)), n)
|
|
5577
5590
|
this.webGLVersion = 2;
|
|
5578
5591
|
else if (this.webGLVersion = 1, n = e.getContext("webgl", r) || e.getContext("experimental-webgl", r), !n)
|
|
5579
5592
|
throw new Error("This browser does not support WebGL. Try using the canvas renderer");
|
|
@@ -5635,10 +5648,10 @@ Uo.defaultOptions = {
|
|
|
5635
5648
|
powerPreference: "default"
|
|
5636
5649
|
};
|
|
5637
5650
|
Uo.extension = {
|
|
5638
|
-
type:
|
|
5651
|
+
type: Le.RendererSystem,
|
|
5639
5652
|
name: "context"
|
|
5640
5653
|
};
|
|
5641
|
-
|
|
5654
|
+
je.add(Uo);
|
|
5642
5655
|
class KR extends ah {
|
|
5643
5656
|
upload(e, r, n) {
|
|
5644
5657
|
const i = e.gl;
|
|
@@ -5760,7 +5773,7 @@ class l0 extends gn {
|
|
|
5760
5773
|
const n = new Image();
|
|
5761
5774
|
gn.crossOrigin(n, e, r.crossorigin), n.src = e, e = n;
|
|
5762
5775
|
}
|
|
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 ??
|
|
5776
|
+
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
5777
|
}
|
|
5765
5778
|
load(e) {
|
|
5766
5779
|
return this._load ? this._load : (e !== void 0 && (this.createBitmap = e), this._load = new Promise((r, n) => {
|
|
@@ -5838,9 +5851,9 @@ function Ka(t) {
|
|
|
5838
5851
|
}, t.emit = function() {
|
|
5839
5852
|
};
|
|
5840
5853
|
}
|
|
5841
|
-
class
|
|
5854
|
+
class De extends Oo {
|
|
5842
5855
|
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
|
|
5856
|
+
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
5857
|
this._rotate = 2;
|
|
5845
5858
|
else if (this._rotate % 2 !== 0)
|
|
5846
5859
|
throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
|
|
@@ -5862,21 +5875,21 @@ class Be extends Oo {
|
|
|
5862
5875
|
if (this.baseTexture) {
|
|
5863
5876
|
if (e) {
|
|
5864
5877
|
const { resource: r } = this.baseTexture;
|
|
5865
|
-
r != null && r.url && Fr[r.url] &&
|
|
5878
|
+
r != null && r.url && Fr[r.url] && De.removeFromCache(r.url), this.baseTexture.destroy();
|
|
5866
5879
|
}
|
|
5867
5880
|
this.baseTexture.off("loaded", this.onBaseTextureUpdated, this), this.baseTexture.off("update", this.onBaseTextureUpdated, this), this.baseTexture = null;
|
|
5868
5881
|
}
|
|
5869
|
-
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1,
|
|
5882
|
+
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, De.removeFromCache(this), this.textureCacheIds = null;
|
|
5870
5883
|
}
|
|
5871
5884
|
clone() {
|
|
5872
5885
|
var i;
|
|
5873
|
-
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new
|
|
5886
|
+
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
5887
|
return this.noFrame && (n._frame = e), n;
|
|
5875
5888
|
}
|
|
5876
5889
|
updateUvs() {
|
|
5877
5890
|
this._uvs === dg && (this._uvs = new c0()), this._uvs.set(this._frame, this.baseTexture, this.rotate), this._updateID++;
|
|
5878
5891
|
}
|
|
5879
|
-
static from(e, r = {}, n =
|
|
5892
|
+
static from(e, r = {}, n = Pe.STRICT_TEXTURE_CACHE) {
|
|
5880
5893
|
const i = typeof e == "string";
|
|
5881
5894
|
let a = null;
|
|
5882
5895
|
if (i)
|
|
@@ -5897,14 +5910,14 @@ class Be extends Oo {
|
|
|
5897
5910
|
let u = Fr[a];
|
|
5898
5911
|
if (i && n && !u)
|
|
5899
5912
|
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
|
|
5913
|
+
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
5914
|
}
|
|
5902
5915
|
static fromURL(e, r) {
|
|
5903
|
-
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i =
|
|
5916
|
+
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
5917
|
return i.baseTexture.valid ? Promise.resolve(i) : a.load().then(() => Promise.resolve(i));
|
|
5905
5918
|
}
|
|
5906
5919
|
static fromBuffer(e, r, n, i) {
|
|
5907
|
-
return new
|
|
5920
|
+
return new De($e.fromBuffer(e, r, n, i));
|
|
5908
5921
|
}
|
|
5909
5922
|
static fromLoader(e, r, n, i) {
|
|
5910
5923
|
const a = new $e(e, Object.assign({
|
|
@@ -5912,8 +5925,8 @@ class Be extends Oo {
|
|
|
5912
5925
|
resolution: sg(r)
|
|
5913
5926
|
}, i)), { resource: u } = a;
|
|
5914
5927
|
u instanceof l0 && (u.url = r);
|
|
5915
|
-
const l = new
|
|
5916
|
-
return n || (n = r), $e.addToCache(l.baseTexture, n),
|
|
5928
|
+
const l = new De(a);
|
|
5929
|
+
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
5930
|
l.baseTexture.once("loaded", () => h(l));
|
|
5918
5931
|
});
|
|
5919
5932
|
}
|
|
@@ -5965,17 +5978,17 @@ class Be extends Oo {
|
|
|
5965
5978
|
return this.baseTexture;
|
|
5966
5979
|
}
|
|
5967
5980
|
static get EMPTY() {
|
|
5968
|
-
return
|
|
5981
|
+
return De._EMPTY || (De._EMPTY = new De(new $e()), Ka(De._EMPTY), Ka(De._EMPTY.baseTexture)), De._EMPTY;
|
|
5969
5982
|
}
|
|
5970
5983
|
static get WHITE() {
|
|
5971
|
-
if (!
|
|
5972
|
-
const e =
|
|
5973
|
-
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16),
|
|
5984
|
+
if (!De._WHITE) {
|
|
5985
|
+
const e = Pe.ADAPTER.createCanvas(16, 16), r = e.getContext("2d");
|
|
5986
|
+
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
5987
|
}
|
|
5975
|
-
return
|
|
5988
|
+
return De._WHITE;
|
|
5976
5989
|
}
|
|
5977
5990
|
}
|
|
5978
|
-
class $o extends
|
|
5991
|
+
class $o extends De {
|
|
5979
5992
|
constructor(e, r) {
|
|
5980
5993
|
super(e, r), this.valid = !0, this.filterFrame = null, this.filterPoolKey = null, this.updateUvs();
|
|
5981
5994
|
}
|
|
@@ -6228,10 +6241,10 @@ class f0 {
|
|
|
6228
6241
|
}
|
|
6229
6242
|
}
|
|
6230
6243
|
f0.extension = {
|
|
6231
|
-
type:
|
|
6244
|
+
type: Le.RendererSystem,
|
|
6232
6245
|
name: "filter"
|
|
6233
6246
|
};
|
|
6234
|
-
|
|
6247
|
+
je.add(f0);
|
|
6235
6248
|
class eP {
|
|
6236
6249
|
constructor(e) {
|
|
6237
6250
|
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 +6260,7 @@ class d0 {
|
|
|
6247
6260
|
const e = this.gl = this.renderer.gl;
|
|
6248
6261
|
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
6262
|
let r = this.renderer.context.extensions.drawBuffers, n = this.renderer.context.extensions.depthTexture;
|
|
6250
|
-
|
|
6263
|
+
Pe.PREFER_ENV === Yn.WEBGL_LEGACY && (r = null, n = null), r ? e.drawBuffers = (i) => r.drawBuffersWEBGL(i) : (this.hasMRT = !1, e.drawBuffers = () => {
|
|
6251
6264
|
}), n || (this.writeDepthTexture = !1);
|
|
6252
6265
|
} else
|
|
6253
6266
|
this.msaaSamples = e.getInternalformatParameter(e.RENDERBUFFER, e.RGBA8, e.SAMPLES);
|
|
@@ -6380,10 +6393,10 @@ class d0 {
|
|
|
6380
6393
|
}
|
|
6381
6394
|
}
|
|
6382
6395
|
d0.extension = {
|
|
6383
|
-
type:
|
|
6396
|
+
type: Le.RendererSystem,
|
|
6384
6397
|
name: "framebuffer"
|
|
6385
6398
|
};
|
|
6386
|
-
|
|
6399
|
+
je.add(d0);
|
|
6387
6400
|
const jl = { 5126: 4, 5123: 2, 5121: 1 };
|
|
6388
6401
|
class p0 {
|
|
6389
6402
|
constructor(e) {
|
|
@@ -6394,7 +6407,7 @@ class p0 {
|
|
|
6394
6407
|
const e = this.gl = this.renderer.gl, r = this.renderer.context;
|
|
6395
6408
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, r.webGLVersion !== 2) {
|
|
6396
6409
|
let n = this.renderer.context.extensions.vertexArrayObject;
|
|
6397
|
-
|
|
6410
|
+
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
6411
|
}
|
|
6399
6412
|
if (r.webGLVersion !== 2) {
|
|
6400
6413
|
const n = e.getExtension("ANGLE_instanced_arrays");
|
|
@@ -6516,10 +6529,10 @@ class p0 {
|
|
|
6516
6529
|
}
|
|
6517
6530
|
}
|
|
6518
6531
|
p0.extension = {
|
|
6519
|
-
type:
|
|
6532
|
+
type: Le.RendererSystem,
|
|
6520
6533
|
name: "geometry"
|
|
6521
6534
|
};
|
|
6522
|
-
|
|
6535
|
+
je.add(p0);
|
|
6523
6536
|
const pg = new Bt();
|
|
6524
6537
|
class rP {
|
|
6525
6538
|
constructor(e, r) {
|
|
@@ -6595,7 +6608,7 @@ void main(void)
|
|
|
6595
6608
|
vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;
|
|
6596
6609
|
}
|
|
6597
6610
|
`;
|
|
6598
|
-
class sP extends
|
|
6611
|
+
class sP extends Xe {
|
|
6599
6612
|
constructor(e, r, n) {
|
|
6600
6613
|
let i = null;
|
|
6601
6614
|
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 +6626,7 @@ class sP extends Ve {
|
|
|
6613
6626
|
}
|
|
6614
6627
|
class aP {
|
|
6615
6628
|
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 =
|
|
6629
|
+
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
6630
|
}
|
|
6618
6631
|
get filter() {
|
|
6619
6632
|
return this._filters ? this._filters[0] : null;
|
|
@@ -6718,10 +6731,10 @@ class g0 {
|
|
|
6718
6731
|
}
|
|
6719
6732
|
}
|
|
6720
6733
|
g0.extension = {
|
|
6721
|
-
type:
|
|
6734
|
+
type: Le.RendererSystem,
|
|
6722
6735
|
name: "mask"
|
|
6723
6736
|
};
|
|
6724
|
-
|
|
6737
|
+
je.add(g0);
|
|
6725
6738
|
class m0 {
|
|
6726
6739
|
constructor(e) {
|
|
6727
6740
|
this.renderer = e, this.maskStack = [], this.glConst = 0;
|
|
@@ -6743,7 +6756,7 @@ class m0 {
|
|
|
6743
6756
|
}
|
|
6744
6757
|
const gg = new Bt(), mg = [], so = class extends m0 {
|
|
6745
6758
|
constructor(t) {
|
|
6746
|
-
super(t), this.glConst =
|
|
6759
|
+
super(t), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().SCISSOR_TEST;
|
|
6747
6760
|
}
|
|
6748
6761
|
getStackLength() {
|
|
6749
6762
|
const t = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6789,13 +6802,13 @@ const gg = new Bt(), mg = [], so = class extends m0 {
|
|
|
6789
6802
|
};
|
|
6790
6803
|
let v0 = so;
|
|
6791
6804
|
v0.extension = {
|
|
6792
|
-
type:
|
|
6805
|
+
type: Le.RendererSystem,
|
|
6793
6806
|
name: "scissor"
|
|
6794
6807
|
};
|
|
6795
|
-
|
|
6808
|
+
je.add(v0);
|
|
6796
6809
|
class _0 extends m0 {
|
|
6797
6810
|
constructor(e) {
|
|
6798
|
-
super(e), this.glConst =
|
|
6811
|
+
super(e), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().STENCIL_TEST;
|
|
6799
6812
|
}
|
|
6800
6813
|
getStackLength() {
|
|
6801
6814
|
const e = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6822,10 +6835,10 @@ class _0 extends m0 {
|
|
|
6822
6835
|
}
|
|
6823
6836
|
}
|
|
6824
6837
|
_0.extension = {
|
|
6825
|
-
type:
|
|
6838
|
+
type: Le.RendererSystem,
|
|
6826
6839
|
name: "stencil"
|
|
6827
6840
|
};
|
|
6828
|
-
|
|
6841
|
+
je.add(_0);
|
|
6829
6842
|
class y0 {
|
|
6830
6843
|
constructor(e) {
|
|
6831
6844
|
this.renderer = e, this.plugins = {}, Object.defineProperties(this.plugins, {
|
|
@@ -6861,12 +6874,12 @@ class y0 {
|
|
|
6861
6874
|
}
|
|
6862
6875
|
y0.extension = {
|
|
6863
6876
|
type: [
|
|
6864
|
-
|
|
6865
|
-
|
|
6877
|
+
Le.RendererSystem,
|
|
6878
|
+
Le.CanvasRendererSystem
|
|
6866
6879
|
],
|
|
6867
6880
|
name: "_plugin"
|
|
6868
6881
|
};
|
|
6869
|
-
|
|
6882
|
+
je.add(y0);
|
|
6870
6883
|
class x0 {
|
|
6871
6884
|
constructor(e) {
|
|
6872
6885
|
this.renderer = e, this.destinationFrame = null, this.sourceFrame = null, this.defaultFrame = null, this.projectionMatrix = new Bt(), this.transform = null;
|
|
@@ -6887,10 +6900,10 @@ class x0 {
|
|
|
6887
6900
|
}
|
|
6888
6901
|
}
|
|
6889
6902
|
x0.extension = {
|
|
6890
|
-
type:
|
|
6903
|
+
type: Le.RendererSystem,
|
|
6891
6904
|
name: "projection"
|
|
6892
6905
|
};
|
|
6893
|
-
|
|
6906
|
+
je.add(x0);
|
|
6894
6907
|
const oP = new lh();
|
|
6895
6908
|
class b0 {
|
|
6896
6909
|
constructor(e) {
|
|
@@ -6918,12 +6931,12 @@ class b0 {
|
|
|
6918
6931
|
}
|
|
6919
6932
|
b0.extension = {
|
|
6920
6933
|
type: [
|
|
6921
|
-
|
|
6922
|
-
|
|
6934
|
+
Le.RendererSystem,
|
|
6935
|
+
Le.CanvasRendererSystem
|
|
6923
6936
|
],
|
|
6924
6937
|
name: "textureGenerator"
|
|
6925
6938
|
};
|
|
6926
|
-
|
|
6939
|
+
je.add(b0);
|
|
6927
6940
|
const Pn = new Ye(), ps = new Ye();
|
|
6928
6941
|
class T0 {
|
|
6929
6942
|
constructor(e) {
|
|
@@ -6956,10 +6969,10 @@ class T0 {
|
|
|
6956
6969
|
}
|
|
6957
6970
|
}
|
|
6958
6971
|
T0.extension = {
|
|
6959
|
-
type:
|
|
6972
|
+
type: Le.RendererSystem,
|
|
6960
6973
|
name: "renderTexture"
|
|
6961
6974
|
};
|
|
6962
|
-
|
|
6975
|
+
je.add(T0);
|
|
6963
6976
|
class uP {
|
|
6964
6977
|
constructor(e, r) {
|
|
6965
6978
|
this.program = e, this.uniformData = r, this.uniformGroups = {}, this.uniformDirtyGroups = {}, this.uniformBufferBindings = {};
|
|
@@ -7255,10 +7268,10 @@ class S0 {
|
|
|
7255
7268
|
}
|
|
7256
7269
|
}
|
|
7257
7270
|
S0.extension = {
|
|
7258
|
-
type:
|
|
7271
|
+
type: Le.RendererSystem,
|
|
7259
7272
|
name: "shader"
|
|
7260
7273
|
};
|
|
7261
|
-
|
|
7274
|
+
je.add(S0);
|
|
7262
7275
|
class Go {
|
|
7263
7276
|
constructor(e) {
|
|
7264
7277
|
this.renderer = e;
|
|
@@ -7275,18 +7288,18 @@ Go.defaultOptions = {
|
|
|
7275
7288
|
};
|
|
7276
7289
|
Go.extension = {
|
|
7277
7290
|
type: [
|
|
7278
|
-
|
|
7279
|
-
|
|
7291
|
+
Le.RendererSystem,
|
|
7292
|
+
Le.CanvasRendererSystem
|
|
7280
7293
|
],
|
|
7281
7294
|
name: "startup"
|
|
7282
7295
|
};
|
|
7283
|
-
|
|
7296
|
+
je.add(Go);
|
|
7284
7297
|
function _P(t, e = []) {
|
|
7285
|
-
return e[
|
|
7298
|
+
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
7299
|
}
|
|
7287
7300
|
const yP = 0, xP = 1, bP = 2, TP = 3, wP = 4, SP = 5, Fc = class {
|
|
7288
7301
|
constructor() {
|
|
7289
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
7302
|
+
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
7303
|
}
|
|
7291
7304
|
contextChange(t) {
|
|
7292
7305
|
this.gl = t, this.blendModes = _P(t), this.set(this.defaultState), this.reset();
|
|
@@ -7356,10 +7369,10 @@ const yP = 0, xP = 1, bP = 2, TP = 3, wP = 4, SP = 5, Fc = class {
|
|
|
7356
7369
|
};
|
|
7357
7370
|
let A0 = Fc;
|
|
7358
7371
|
A0.extension = {
|
|
7359
|
-
type:
|
|
7372
|
+
type: Le.RendererSystem,
|
|
7360
7373
|
name: "state"
|
|
7361
7374
|
};
|
|
7362
|
-
|
|
7375
|
+
je.add(A0);
|
|
7363
7376
|
class AP extends Oo {
|
|
7364
7377
|
constructor() {
|
|
7365
7378
|
super(...arguments), this.runners = {}, this._systemsHash = {};
|
|
@@ -7436,10 +7449,10 @@ br.defaultMode = Yc.AUTO;
|
|
|
7436
7449
|
br.defaultMaxIdle = 60 * 60;
|
|
7437
7450
|
br.defaultCheckCountMax = 60 * 10;
|
|
7438
7451
|
br.extension = {
|
|
7439
|
-
type:
|
|
7452
|
+
type: Le.RendererSystem,
|
|
7440
7453
|
name: "textureGC"
|
|
7441
7454
|
};
|
|
7442
|
-
|
|
7455
|
+
je.add(br);
|
|
7443
7456
|
class ql {
|
|
7444
7457
|
constructor(e) {
|
|
7445
7458
|
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 +7671,10 @@ class E0 {
|
|
|
7658
7671
|
}
|
|
7659
7672
|
}
|
|
7660
7673
|
E0.extension = {
|
|
7661
|
-
type:
|
|
7674
|
+
type: Le.RendererSystem,
|
|
7662
7675
|
name: "texture"
|
|
7663
7676
|
};
|
|
7664
|
-
|
|
7677
|
+
je.add(E0);
|
|
7665
7678
|
class C0 {
|
|
7666
7679
|
constructor(e) {
|
|
7667
7680
|
this.renderer = e;
|
|
@@ -7713,16 +7726,16 @@ class C0 {
|
|
|
7713
7726
|
}
|
|
7714
7727
|
}
|
|
7715
7728
|
C0.extension = {
|
|
7716
|
-
type:
|
|
7729
|
+
type: Le.RendererSystem,
|
|
7717
7730
|
name: "transformFeedback"
|
|
7718
7731
|
};
|
|
7719
|
-
|
|
7732
|
+
je.add(C0);
|
|
7720
7733
|
class Ho {
|
|
7721
7734
|
constructor(e) {
|
|
7722
7735
|
this.renderer = e;
|
|
7723
7736
|
}
|
|
7724
7737
|
init(e) {
|
|
7725
|
-
this.screen = new Ye(0, 0, e.width, e.height), this.element = e.view ||
|
|
7738
|
+
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
7739
|
}
|
|
7727
7740
|
resizeView(e, r) {
|
|
7728
7741
|
this.element.width = Math.round(e * this.resolution), this.element.height = Math.round(r * this.resolution);
|
|
@@ -7737,26 +7750,26 @@ class Ho {
|
|
|
7737
7750
|
Ho.defaultOptions = {
|
|
7738
7751
|
width: 800,
|
|
7739
7752
|
height: 600,
|
|
7740
|
-
resolution:
|
|
7753
|
+
resolution: Pe.RESOLUTION,
|
|
7741
7754
|
autoDensity: !1
|
|
7742
7755
|
};
|
|
7743
7756
|
Ho.extension = {
|
|
7744
7757
|
type: [
|
|
7745
|
-
|
|
7746
|
-
|
|
7758
|
+
Le.RendererSystem,
|
|
7759
|
+
Le.CanvasRendererSystem
|
|
7747
7760
|
],
|
|
7748
7761
|
name: "_view"
|
|
7749
7762
|
};
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7763
|
+
je.add(Ho);
|
|
7764
|
+
Pe.PREFER_ENV = Yn.WEBGL2;
|
|
7765
|
+
Pe.STRICT_TEXTURE_CACHE = !1;
|
|
7766
|
+
Pe.RENDER_OPTIONS = {
|
|
7754
7767
|
...Uo.defaultOptions,
|
|
7755
7768
|
...Bo.defaultOptions,
|
|
7756
7769
|
...Ho.defaultOptions,
|
|
7757
7770
|
...Go.defaultOptions
|
|
7758
7771
|
};
|
|
7759
|
-
Object.defineProperties(
|
|
7772
|
+
Object.defineProperties(Pe, {
|
|
7760
7773
|
WRAP_MODE: {
|
|
7761
7774
|
get() {
|
|
7762
7775
|
return $e.defaultOptions.wrapMode;
|
|
@@ -7791,18 +7804,18 @@ Object.defineProperties(Re, {
|
|
|
7791
7804
|
},
|
|
7792
7805
|
FILTER_RESOLUTION: {
|
|
7793
7806
|
get() {
|
|
7794
|
-
return ke("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"),
|
|
7807
|
+
return ke("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"), Xe.defaultResolution;
|
|
7795
7808
|
},
|
|
7796
7809
|
set(t) {
|
|
7797
|
-
|
|
7810
|
+
Xe.defaultResolution = t;
|
|
7798
7811
|
}
|
|
7799
7812
|
},
|
|
7800
7813
|
FILTER_MULTISAMPLE: {
|
|
7801
7814
|
get() {
|
|
7802
|
-
return ke("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"),
|
|
7815
|
+
return ke("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"), Xe.defaultMultisample;
|
|
7803
7816
|
},
|
|
7804
7817
|
set(t) {
|
|
7805
|
-
|
|
7818
|
+
Xe.defaultMultisample = t;
|
|
7806
7819
|
}
|
|
7807
7820
|
},
|
|
7808
7821
|
SPRITE_MAX_TEXTURES: {
|
|
@@ -8015,7 +8028,7 @@ const Qt = class {
|
|
|
8015
8028
|
};
|
|
8016
8029
|
let Tr = Qt;
|
|
8017
8030
|
Tr.targetFPMS = 0.06;
|
|
8018
|
-
Object.defineProperties(
|
|
8031
|
+
Object.defineProperties(Pe, {
|
|
8019
8032
|
TARGET_FPMS: {
|
|
8020
8033
|
get() {
|
|
8021
8034
|
return Tr.targetFPMS;
|
|
@@ -8050,10 +8063,10 @@ class I0 {
|
|
|
8050
8063
|
}
|
|
8051
8064
|
}
|
|
8052
8065
|
}
|
|
8053
|
-
I0.extension =
|
|
8054
|
-
|
|
8066
|
+
I0.extension = Le.Application;
|
|
8067
|
+
je.add(I0);
|
|
8055
8068
|
const CP = [];
|
|
8056
|
-
|
|
8069
|
+
je.handleByList(Le.Renderer, CP);
|
|
8057
8070
|
class R0 {
|
|
8058
8071
|
constructor(e) {
|
|
8059
8072
|
this.renderer = e;
|
|
@@ -8073,10 +8086,10 @@ class R0 {
|
|
|
8073
8086
|
}
|
|
8074
8087
|
}
|
|
8075
8088
|
R0.extension = {
|
|
8076
|
-
type:
|
|
8089
|
+
type: Le.RendererSystem,
|
|
8077
8090
|
name: "_multisample"
|
|
8078
8091
|
};
|
|
8079
|
-
|
|
8092
|
+
je.add(R0);
|
|
8080
8093
|
class IP {
|
|
8081
8094
|
constructor(e) {
|
|
8082
8095
|
this.buffer = e || null, this.updateID = -1, this.byteLength = -1, this.refCount = 0;
|
|
@@ -8141,10 +8154,10 @@ class P0 {
|
|
|
8141
8154
|
}
|
|
8142
8155
|
}
|
|
8143
8156
|
P0.extension = {
|
|
8144
|
-
type:
|
|
8157
|
+
type: Le.RendererSystem,
|
|
8145
8158
|
name: "buffer"
|
|
8146
8159
|
};
|
|
8147
|
-
|
|
8160
|
+
je.add(P0);
|
|
8148
8161
|
class M0 {
|
|
8149
8162
|
constructor(e) {
|
|
8150
8163
|
this.renderer = e;
|
|
@@ -8165,13 +8178,13 @@ class M0 {
|
|
|
8165
8178
|
}
|
|
8166
8179
|
}
|
|
8167
8180
|
M0.extension = {
|
|
8168
|
-
type:
|
|
8181
|
+
type: Le.RendererSystem,
|
|
8169
8182
|
name: "objectRenderer"
|
|
8170
8183
|
};
|
|
8171
|
-
|
|
8184
|
+
je.add(M0);
|
|
8172
8185
|
const Nc = class extends AP {
|
|
8173
8186
|
constructor(t) {
|
|
8174
|
-
super(), this.type = Em.WEBGL, t = Object.assign({},
|
|
8187
|
+
super(), this.type = Em.WEBGL, t = Object.assign({}, Pe.RENDER_OPTIONS, t), this.gl = null, this.CONTEXT_UID = 0, this.globalUniforms = new Er({
|
|
8175
8188
|
projectionMatrix: new Bt()
|
|
8176
8189
|
}, !0);
|
|
8177
8190
|
const e = {
|
|
@@ -8300,14 +8313,14 @@ const Nc = class extends AP {
|
|
|
8300
8313
|
};
|
|
8301
8314
|
let Vi = Nc;
|
|
8302
8315
|
Vi.extension = {
|
|
8303
|
-
type:
|
|
8316
|
+
type: Le.Renderer,
|
|
8304
8317
|
priority: 1
|
|
8305
8318
|
};
|
|
8306
8319
|
Vi.__plugins = {};
|
|
8307
8320
|
Vi.__systems = {};
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8321
|
+
je.handleByMap(Le.RendererPlugin, Vi.__plugins);
|
|
8322
|
+
je.handleByMap(Le.RendererSystem, Vi.__systems);
|
|
8323
|
+
je.add(Vi);
|
|
8311
8324
|
class O0 extends Ns {
|
|
8312
8325
|
constructor(e, r) {
|
|
8313
8326
|
const { width: n, height: i } = r || {};
|
|
@@ -8441,7 +8454,7 @@ class Ei extends gn {
|
|
|
8441
8454
|
return;
|
|
8442
8455
|
}
|
|
8443
8456
|
try {
|
|
8444
|
-
const n = await
|
|
8457
|
+
const n = await Pe.ADAPTER.fetch(this.url, {
|
|
8445
8458
|
mode: this.crossOrigin ? "cors" : "no-cors"
|
|
8446
8459
|
});
|
|
8447
8460
|
if (this.destroyed)
|
|
@@ -8472,12 +8485,12 @@ class Ei extends gn {
|
|
|
8472
8485
|
return !!globalThis.createImageBitmap && typeof ImageBitmap < "u" && (typeof e == "string" || e instanceof ImageBitmap);
|
|
8473
8486
|
}
|
|
8474
8487
|
static get EMPTY() {
|
|
8475
|
-
return Ei._EMPTY = Ei._EMPTY ??
|
|
8488
|
+
return Ei._EMPTY = Ei._EMPTY ?? Pe.ADAPTER.createCanvas(0, 0), Ei._EMPTY;
|
|
8476
8489
|
}
|
|
8477
8490
|
}
|
|
8478
8491
|
const oo = class extends gn {
|
|
8479
8492
|
constructor(t, e) {
|
|
8480
|
-
e = e || {}, super(
|
|
8493
|
+
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
8494
|
}
|
|
8482
8495
|
load() {
|
|
8483
8496
|
return this._load ? this._load : (this._load = new Promise((t) => {
|
|
@@ -8647,7 +8660,7 @@ void main(void)
|
|
|
8647
8660
|
gl_FragColor = c * alpha;
|
|
8648
8661
|
}
|
|
8649
8662
|
`;
|
|
8650
|
-
let FP = class extends
|
|
8663
|
+
let FP = class extends Xe {
|
|
8651
8664
|
constructor(e) {
|
|
8652
8665
|
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
8666
|
}
|
|
@@ -8721,7 +8734,7 @@ void main(void)
|
|
|
8721
8734
|
gl_FragColor = color;
|
|
8722
8735
|
}
|
|
8723
8736
|
`;
|
|
8724
|
-
let ks = class extends
|
|
8737
|
+
let ks = class extends Xe {
|
|
8725
8738
|
constructor(e = 4, r = 3, n = !1) {
|
|
8726
8739
|
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
8740
|
}
|
|
@@ -8813,7 +8826,7 @@ void main() {
|
|
|
8813
8826
|
}
|
|
8814
8827
|
}
|
|
8815
8828
|
`;
|
|
8816
|
-
let BP = class extends
|
|
8829
|
+
let BP = class extends Xe {
|
|
8817
8830
|
constructor(e = 0.5) {
|
|
8818
8831
|
super(N0, DP), this.threshold = e;
|
|
8819
8832
|
}
|
|
@@ -8839,9 +8852,9 @@ void main() {
|
|
|
8839
8852
|
gl_FragColor = color + bloomColor;
|
|
8840
8853
|
}
|
|
8841
8854
|
`;
|
|
8842
|
-
const L0 = class extends
|
|
8855
|
+
const L0 = class extends Xe {
|
|
8843
8856
|
constructor(e) {
|
|
8844
|
-
super(N0, UP), this.bloomScale = 1, this.brightness = 1, this._resolution =
|
|
8857
|
+
super(N0, UP), this.bloomScale = 1, this.brightness = 1, this._resolution = Pe.FILTER_RESOLUTION, typeof e == "number" && (e = { threshold: e });
|
|
8845
8858
|
const r = Object.assign(L0.defaults, e);
|
|
8846
8859
|
this.bloomScale = r.bloomScale, this.brightness = r.brightness;
|
|
8847
8860
|
const { kernels: n, blur: i, quality: a, pixelSize: u, resolution: l } = r;
|
|
@@ -8891,7 +8904,7 @@ const L0 = class extends Ve {
|
|
|
8891
8904
|
}
|
|
8892
8905
|
};
|
|
8893
8906
|
let $P = L0;
|
|
8894
|
-
$P.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution:
|
|
8907
|
+
$P.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution: Pe.FILTER_RESOLUTION };
|
|
8895
8908
|
var GP = `attribute vec2 aVertexPosition;
|
|
8896
8909
|
attribute vec2 aTextureCoord;
|
|
8897
8910
|
|
|
@@ -8937,7 +8950,7 @@ void main()
|
|
|
8937
8950
|
gl_FragColor = color;
|
|
8938
8951
|
}
|
|
8939
8952
|
`;
|
|
8940
|
-
const k0 = class extends
|
|
8953
|
+
const k0 = class extends Xe {
|
|
8941
8954
|
constructor(e) {
|
|
8942
8955
|
super(GP, HP), this.uniforms.dimensions = new Float32Array(2), Object.assign(this, k0.defaults, e);
|
|
8943
8956
|
}
|
|
@@ -9196,17 +9209,17 @@ Kn.parse = function() {
|
|
|
9196
9209
|
function a() {
|
|
9197
9210
|
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
9211
|
}
|
|
9199
|
-
function u(H, Q,
|
|
9212
|
+
function u(H, Q, de) {
|
|
9200
9213
|
return l(Q, function(W) {
|
|
9201
|
-
var j =
|
|
9214
|
+
var j = de();
|
|
9202
9215
|
return j && (ie(t.comma) || r("Missing comma before color stops")), { type: H, orientation: j, colorStops: w(I) };
|
|
9203
9216
|
});
|
|
9204
9217
|
}
|
|
9205
9218
|
function l(H, Q) {
|
|
9206
|
-
var
|
|
9207
|
-
if (
|
|
9219
|
+
var de = ie(H);
|
|
9220
|
+
if (de) {
|
|
9208
9221
|
ie(t.startCall) || r("Missing (");
|
|
9209
|
-
var W = Q(
|
|
9222
|
+
var W = Q(de);
|
|
9210
9223
|
return ie(t.endCall) || r("Missing )"), W;
|
|
9211
9224
|
}
|
|
9212
9225
|
}
|
|
@@ -9220,8 +9233,8 @@ Kn.parse = function() {
|
|
|
9220
9233
|
return G("angular", t.angleValue, 1);
|
|
9221
9234
|
}
|
|
9222
9235
|
function c() {
|
|
9223
|
-
var H, Q = d(),
|
|
9224
|
-
return Q && (H = [], H.push(Q),
|
|
9236
|
+
var H, Q = d(), de;
|
|
9237
|
+
return Q && (H = [], H.push(Q), de = e, ie(t.comma) && (Q = d(), Q ? H.push(Q) : e = de)), H;
|
|
9225
9238
|
}
|
|
9226
9239
|
function d() {
|
|
9227
9240
|
var H = g() || _();
|
|
@@ -9231,8 +9244,8 @@ Kn.parse = function() {
|
|
|
9231
9244
|
var Q = y();
|
|
9232
9245
|
if (Q) {
|
|
9233
9246
|
H = Q;
|
|
9234
|
-
var
|
|
9235
|
-
|
|
9247
|
+
var de = b();
|
|
9248
|
+
de && (H.at = de);
|
|
9236
9249
|
} else {
|
|
9237
9250
|
var W = x();
|
|
9238
9251
|
W && (H = { type: "default-radial", at: W });
|
|
@@ -9266,11 +9279,11 @@ Kn.parse = function() {
|
|
|
9266
9279
|
return { x: Y(), y: Y() };
|
|
9267
9280
|
}
|
|
9268
9281
|
function w(H) {
|
|
9269
|
-
var Q = H(),
|
|
9282
|
+
var Q = H(), de = [];
|
|
9270
9283
|
if (Q)
|
|
9271
|
-
for (
|
|
9272
|
-
Q = H(), Q ?
|
|
9273
|
-
return
|
|
9284
|
+
for (de.push(Q); ie(t.comma); )
|
|
9285
|
+
Q = H(), Q ? de.push(Q) : r("One extra comma");
|
|
9286
|
+
return de;
|
|
9274
9287
|
}
|
|
9275
9288
|
function I() {
|
|
9276
9289
|
var H = O();
|
|
@@ -9307,14 +9320,14 @@ Kn.parse = function() {
|
|
|
9307
9320
|
function X() {
|
|
9308
9321
|
return G("px", t.pixelValue, 1) || G("em", t.emValue, 1);
|
|
9309
9322
|
}
|
|
9310
|
-
function G(H, Q,
|
|
9323
|
+
function G(H, Q, de) {
|
|
9311
9324
|
var W = ie(Q);
|
|
9312
9325
|
if (W)
|
|
9313
|
-
return { type: H, value: W[
|
|
9326
|
+
return { type: H, value: W[de] };
|
|
9314
9327
|
}
|
|
9315
9328
|
function ie(H) {
|
|
9316
|
-
var Q,
|
|
9317
|
-
return
|
|
9329
|
+
var Q, de;
|
|
9330
|
+
return de = /^[\n\r\t\s]+/.exec(e), de && re(de[0].length), Q = H.exec(e), Q && re(Q[0].length), Q;
|
|
9318
9331
|
}
|
|
9319
9332
|
function re(H) {
|
|
9320
9333
|
e = e.substr(H);
|
|
@@ -9500,7 +9513,7 @@ const bg = 90;
|
|
|
9500
9513
|
function fM(t) {
|
|
9501
9514
|
return [...t].sort((e, r) => e.offset - r.offset);
|
|
9502
9515
|
}
|
|
9503
|
-
const fh = class extends
|
|
9516
|
+
const fh = class extends Xe {
|
|
9504
9517
|
constructor(e) {
|
|
9505
9518
|
e && "css" in e && (e = hM(Zl({}, KP(e.css || "")), { alpha: e.alpha, maxColors: e.maxColors }));
|
|
9506
9519
|
const r = Zl(Zl({}, fh.defaults), e);
|
|
@@ -9587,7 +9600,7 @@ void main(void)
|
|
|
9587
9600
|
gl_FragColor.a = c22.a;
|
|
9588
9601
|
}
|
|
9589
9602
|
`;
|
|
9590
|
-
let gM = class extends
|
|
9603
|
+
let gM = class extends Xe {
|
|
9591
9604
|
constructor(e, r = 200, n = 200) {
|
|
9592
9605
|
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
9606
|
}
|
|
@@ -9690,7 +9703,7 @@ void main(void)
|
|
|
9690
9703
|
gl_FragColor.rgb = rgb;
|
|
9691
9704
|
}
|
|
9692
9705
|
`;
|
|
9693
|
-
const B0 = class extends
|
|
9706
|
+
const B0 = class extends Xe {
|
|
9694
9707
|
constructor(e) {
|
|
9695
9708
|
super(mM, vM), this.time = 0, this.seed = 0, this.uniforms.dimensions = new Float32Array(2), Object.assign(this, B0.defaults, e);
|
|
9696
9709
|
}
|
|
@@ -9792,11 +9805,11 @@ void main(void){
|
|
|
9792
9805
|
wM.call(e, r) && wg(t, r, e[r]);
|
|
9793
9806
|
return t;
|
|
9794
9807
|
};
|
|
9795
|
-
const Dc = class extends
|
|
9808
|
+
const Dc = class extends Xe {
|
|
9796
9809
|
constructor(e) {
|
|
9797
|
-
super(), this.angle = 45, this._distance = 5, this._resolution =
|
|
9810
|
+
super(), this.angle = 45, this._distance = 5, this._resolution = Pe.FILTER_RESOLUTION;
|
|
9798
9811
|
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
|
|
9812
|
+
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
9813
|
const { shadowOnly: h, rotation: p, distance: m, offset: c, alpha: d, color: g } = r;
|
|
9801
9814
|
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
9815
|
}
|
|
@@ -9873,7 +9886,7 @@ const Dc = class extends Ve {
|
|
|
9873
9886
|
}
|
|
9874
9887
|
};
|
|
9875
9888
|
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:
|
|
9889
|
+
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
9890
|
var AM = `attribute vec2 aVertexPosition;
|
|
9878
9891
|
attribute vec2 aTextureCoord;
|
|
9879
9892
|
|
|
@@ -9982,9 +9995,9 @@ void main(void)
|
|
|
9982
9995
|
gl_FragColor.a = texture2D(uSampler, coord).a;
|
|
9983
9996
|
}
|
|
9984
9997
|
`;
|
|
9985
|
-
const Bc = class extends
|
|
9998
|
+
const Bc = class extends Xe {
|
|
9986
9999
|
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 =
|
|
10000
|
+
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
10001
|
}
|
|
9989
10002
|
apply(e, r, n, i) {
|
|
9990
10003
|
const { width: a, height: u } = r.filterFrame;
|
|
@@ -10171,7 +10184,7 @@ void main(void) {
|
|
|
10171
10184
|
}
|
|
10172
10185
|
}
|
|
10173
10186
|
`;
|
|
10174
|
-
const U0 = class extends
|
|
10187
|
+
const U0 = class extends Xe {
|
|
10175
10188
|
constructor(t) {
|
|
10176
10189
|
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
10190
|
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 +10374,7 @@ void main(void) {
|
|
|
10361
10374
|
|
|
10362
10375
|
}
|
|
10363
10376
|
`;
|
|
10364
|
-
const $0 = class extends
|
|
10377
|
+
const $0 = class extends Xe {
|
|
10365
10378
|
constructor(e) {
|
|
10366
10379
|
super(PM, OM.replace("${perlin}", MM)), this.parallel = !0, this.time = 0, this._angle = 0, this.uniforms.dimensions = new Float32Array(2);
|
|
10367
10380
|
const r = Object.assign($0.defaults, e);
|
|
@@ -10470,7 +10483,7 @@ void main()
|
|
|
10470
10483
|
gl_FragColor = mix(color, result, uAlpha);
|
|
10471
10484
|
}
|
|
10472
10485
|
`;
|
|
10473
|
-
const G0 = class extends
|
|
10486
|
+
const G0 = class extends Xe {
|
|
10474
10487
|
constructor(t) {
|
|
10475
10488
|
super(NM, LM), this._hue = 0;
|
|
10476
10489
|
const e = Object.assign({}, G0.defaults, t);
|
|
@@ -10625,7 +10638,7 @@ void main()
|
|
|
10625
10638
|
gl_FragColor.rgb = color;
|
|
10626
10639
|
}
|
|
10627
10640
|
`;
|
|
10628
|
-
const H0 = class extends
|
|
10641
|
+
const H0 = class extends Xe {
|
|
10629
10642
|
constructor(e, r = 0) {
|
|
10630
10643
|
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
10644
|
}
|
|
@@ -10740,7 +10753,7 @@ void main(void) {
|
|
|
10740
10753
|
gl_FragColor = contentColor + outlineColor;
|
|
10741
10754
|
}
|
|
10742
10755
|
`;
|
|
10743
|
-
const uo = class extends
|
|
10756
|
+
const uo = class extends Xe {
|
|
10744
10757
|
constructor(e = 1, r = 0, n = 0.1, i = 1, a = !1) {
|
|
10745
10758
|
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
10759
|
}
|
|
@@ -10834,7 +10847,7 @@ void main(void)
|
|
|
10834
10847
|
gl_FragColor = color * _alpha;
|
|
10835
10848
|
}
|
|
10836
10849
|
`;
|
|
10837
|
-
const V0 = class extends
|
|
10850
|
+
const V0 = class extends Xe {
|
|
10838
10851
|
constructor(e) {
|
|
10839
10852
|
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
10853
|
}
|
|
@@ -10956,7 +10969,7 @@ void main()
|
|
|
10956
10969
|
gl_FragColor = color;
|
|
10957
10970
|
}
|
|
10958
10971
|
`;
|
|
10959
|
-
const X0 = class extends
|
|
10972
|
+
const X0 = class extends Xe {
|
|
10960
10973
|
constructor(e = [0, 0], r, n = 0) {
|
|
10961
10974
|
super(VM, XM), this.center = e, Object.assign(this, X0.defaults, r), this.time = n;
|
|
10962
10975
|
}
|
|
@@ -11053,7 +11066,7 @@ void main(void)
|
|
|
11053
11066
|
gl_FragColor = color;
|
|
11054
11067
|
}
|
|
11055
11068
|
`;
|
|
11056
|
-
let W0 = class extends
|
|
11069
|
+
let W0 = class extends Xe {
|
|
11057
11070
|
constructor(e) {
|
|
11058
11071
|
var r, n;
|
|
11059
11072
|
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 +11109,7 @@ let W0 = class extends Ve {
|
|
|
11096
11109
|
this.uniforms.delta.x = -r / n, this.uniforms.delta.y = e / n;
|
|
11097
11110
|
}
|
|
11098
11111
|
};
|
|
11099
|
-
const j0 = class extends
|
|
11112
|
+
const j0 = class extends Xe {
|
|
11100
11113
|
constructor(e, r, n, i) {
|
|
11101
11114
|
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
11115
|
}
|
|
@@ -11199,7 +11212,7 @@ void main(void)
|
|
|
11199
11212
|
|
|
11200
11213
|
}
|
|
11201
11214
|
`;
|
|
11202
|
-
const q0 = class extends
|
|
11215
|
+
const q0 = class extends Xe {
|
|
11203
11216
|
constructor(t) {
|
|
11204
11217
|
super(QM, JM), Object.assign(this, q0.defaults, t);
|
|
11205
11218
|
}
|
|
@@ -11330,7 +11343,7 @@ void main() {
|
|
|
11330
11343
|
e.indexOf(n) < 0 && iO.call(t, n) && (r[n] = t[n]);
|
|
11331
11344
|
return r;
|
|
11332
11345
|
};
|
|
11333
|
-
const Y0 = class extends
|
|
11346
|
+
const Y0 = class extends Xe {
|
|
11334
11347
|
constructor(t) {
|
|
11335
11348
|
const e = Object.assign(Y0.defaults, t), { maxKernelSize: r } = e, n = sO(e, ["maxKernelSize"]);
|
|
11336
11349
|
super(tO, rO.replace("${maxKernelSize}", r.toFixed(1))), Object.assign(this, n);
|
|
@@ -11484,7 +11497,7 @@ const Zn = (t) => {
|
|
|
11484
11497
|
vignetteFilter: r
|
|
11485
11498
|
};
|
|
11486
11499
|
}, uO = te.forwardRef((t, e) => {
|
|
11487
|
-
const r =
|
|
11500
|
+
const r = me(null), n = me(null), {
|
|
11488
11501
|
src: i,
|
|
11489
11502
|
visible: a,
|
|
11490
11503
|
disabled: u,
|
|
@@ -11515,7 +11528,7 @@ const Zn = (t) => {
|
|
|
11515
11528
|
} = Zn(d), { nightVisionFilter: D } = oO();
|
|
11516
11529
|
return te.useEffect(() => (console.log("PixiImageSprite mounting"), () => {
|
|
11517
11530
|
console.log("PixiImageSprite unmounting");
|
|
11518
|
-
}), []), console.log("imageRef", r.current), /* @__PURE__ */
|
|
11531
|
+
}), []), console.log("imageRef", r.current), /* @__PURE__ */ Ce.jsx(mn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(
|
|
11519
11532
|
Bs,
|
|
11520
11533
|
{
|
|
11521
11534
|
image: i,
|
|
@@ -11789,36 +11802,36 @@ function fO(t, e) {
|
|
|
11789
11802
|
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
11803
|
for (let H = 1; H < c - 1; ++H) {
|
|
11791
11804
|
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(
|
|
11805
|
+
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;
|
|
11806
|
+
if (Math.abs(he) < 1e-3 * Math.abs(le)) {
|
|
11794
11807
|
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
11808
|
continue;
|
|
11796
11809
|
}
|
|
11797
|
-
const
|
|
11798
|
-
let
|
|
11799
|
-
if (
|
|
11800
|
-
switch (
|
|
11810
|
+
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;
|
|
11811
|
+
let Fe = a.join;
|
|
11812
|
+
if (Fe === yr.MITER && ze / y > b && (Fe = yr.BEVEL), ce)
|
|
11813
|
+
switch (Fe) {
|
|
11801
11814
|
case yr.MITER: {
|
|
11802
|
-
m.push(
|
|
11815
|
+
m.push(ve, Ie, Ge, Ke);
|
|
11803
11816
|
break;
|
|
11804
11817
|
}
|
|
11805
11818
|
case yr.BEVEL: {
|
|
11806
|
-
|
|
11819
|
+
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
11820
|
break;
|
|
11808
11821
|
}
|
|
11809
11822
|
case yr.ROUND: {
|
|
11810
|
-
|
|
11823
|
+
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
11824
|
break;
|
|
11812
11825
|
}
|
|
11813
11826
|
}
|
|
11814
11827
|
else {
|
|
11815
|
-
switch (m.push(w - N * X, I - L * X, w + N * G, I + L * G),
|
|
11828
|
+
switch (m.push(w - N * X, I - L * X, w + N * G, I + L * G), Fe) {
|
|
11816
11829
|
case yr.MITER: {
|
|
11817
|
-
|
|
11830
|
+
pe ? m.push(Ge, Ke, Ge, Ke) : m.push(ve, Ie, ve, Ie), d += 2;
|
|
11818
11831
|
break;
|
|
11819
11832
|
}
|
|
11820
11833
|
case yr.ROUND: {
|
|
11821
|
-
|
|
11834
|
+
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
11835
|
break;
|
|
11823
11836
|
}
|
|
11824
11837
|
}
|
|
@@ -12291,7 +12304,7 @@ const $c = class extends Di {
|
|
|
12291
12304
|
let Bi = $c;
|
|
12292
12305
|
Bi.defaultSortableChildren = !1;
|
|
12293
12306
|
Bi.prototype.containerUpdateTransform = Bi.prototype.updateTransform;
|
|
12294
|
-
Object.defineProperties(
|
|
12307
|
+
Object.defineProperties(Pe, {
|
|
12295
12308
|
SORTABLE_CHILDREN: {
|
|
12296
12309
|
get() {
|
|
12297
12310
|
return Bi.defaultSortableChildren;
|
|
@@ -12520,14 +12533,14 @@ let Q0 = Z0;
|
|
|
12520
12533
|
Q0.BATCHABLE_SIZE = 100;
|
|
12521
12534
|
class zo {
|
|
12522
12535
|
constructor() {
|
|
12523
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12536
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1, this.reset();
|
|
12524
12537
|
}
|
|
12525
12538
|
clone() {
|
|
12526
12539
|
const e = new zo();
|
|
12527
12540
|
return e.color = this.color, e.alpha = this.alpha, e.texture = this.texture, e.matrix = this.matrix, e.visible = this.visible, e;
|
|
12528
12541
|
}
|
|
12529
12542
|
reset() {
|
|
12530
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12543
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1;
|
|
12531
12544
|
}
|
|
12532
12545
|
destroy() {
|
|
12533
12546
|
this.texture = null, this.matrix = null;
|
|
@@ -12547,7 +12560,7 @@ class gh extends zo {
|
|
|
12547
12560
|
}
|
|
12548
12561
|
const Jl = {}, lo = class extends Bi {
|
|
12549
12562
|
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 =
|
|
12563
|
+
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
12564
|
}
|
|
12552
12565
|
get geometry() {
|
|
12553
12566
|
return this._geometry;
|
|
@@ -12579,7 +12592,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12579
12592
|
lineTextureStyle(t) {
|
|
12580
12593
|
const e = {
|
|
12581
12594
|
width: 0,
|
|
12582
|
-
texture:
|
|
12595
|
+
texture: De.WHITE,
|
|
12583
12596
|
color: t != null && t.texture ? 16777215 : 0,
|
|
12584
12597
|
matrix: null,
|
|
12585
12598
|
alignment: 0.5,
|
|
@@ -12645,7 +12658,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12645
12658
|
return Ig.arc(l, h, t, e, r, n, i, a, m), this;
|
|
12646
12659
|
}
|
|
12647
12660
|
beginFill(t = 0, e) {
|
|
12648
|
-
return this.beginTextureFill({ texture:
|
|
12661
|
+
return this.beginTextureFill({ texture: De.WHITE, color: t, alpha: e });
|
|
12649
12662
|
}
|
|
12650
12663
|
normalizeColor(t) {
|
|
12651
12664
|
const e = Mt.shared.setValue(t.color ?? 0);
|
|
@@ -12653,7 +12666,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12653
12666
|
}
|
|
12654
12667
|
beginTextureFill(t) {
|
|
12655
12668
|
const e = {
|
|
12656
|
-
texture:
|
|
12669
|
+
texture: De.WHITE,
|
|
12657
12670
|
color: 16777215,
|
|
12658
12671
|
matrix: null
|
|
12659
12672
|
};
|
|
@@ -13650,8 +13663,8 @@ var zO = function() {
|
|
|
13650
13663
|
for (var se = 0; se < Y; se++)
|
|
13651
13664
|
_.push(VO(L, D)), L += D;
|
|
13652
13665
|
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:
|
|
13666
|
+
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;
|
|
13667
|
+
return { x1: ie, y1: re, x2: Q, y2: de, x: j, y: le };
|
|
13655
13668
|
});
|
|
13656
13669
|
};
|
|
13657
13670
|
class WO extends mh {
|
|
@@ -14484,7 +14497,7 @@ ut.prototype.unshort = function() {
|
|
|
14484
14497
|
};
|
|
14485
14498
|
var vF = ut, _F = vF;
|
|
14486
14499
|
const yF = /* @__PURE__ */ $i(_F), sU = te.forwardRef((t, e) => {
|
|
14487
|
-
const [r, n] = te.useState(null), i =
|
|
14500
|
+
const [r, n] = te.useState(null), i = me(null), a = me(null), u = me(null), {
|
|
14488
14501
|
path: l,
|
|
14489
14502
|
visible: h,
|
|
14490
14503
|
disabled: p,
|
|
@@ -14515,10 +14528,10 @@ const yF = /* @__PURE__ */ $i(_F), sU = te.forwardRef((t, e) => {
|
|
|
14515
14528
|
const H = yF(l).scale(5).translate(0, 0).toString(), Q = `<svg xmlns="http://www.w3.org/2000/svg" width="${d}" height="${g}">
|
|
14516
14529
|
<path stroke="${x}" stroke-width="${E}" fill="${y || b}" d="${H}">
|
|
14517
14530
|
</path>
|
|
14518
|
-
</svg>`,
|
|
14531
|
+
</svg>`, de = new WO(Q), W = F.renderer.generateTexture(de);
|
|
14519
14532
|
return n(W), () => {
|
|
14520
14533
|
};
|
|
14521
|
-
}, [F, l, x, E, y, b]), /* @__PURE__ */
|
|
14534
|
+
}, [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
14535
|
Bs,
|
|
14523
14536
|
{
|
|
14524
14537
|
texture: r,
|
|
@@ -15762,7 +15775,7 @@ const aU = (t) => {
|
|
|
15762
15775
|
loaded: !1,
|
|
15763
15776
|
size: { width: 50, height: 50 },
|
|
15764
15777
|
isDragging: !1
|
|
15765
|
-
}, [, r] = te.useState(!1), n =
|
|
15778
|
+
}, [, r] = te.useState(!1), n = me(null), i = me(e), a = me(null), u = te.useRef(null), { tl: l, dragModeRef: h } = Ui(qn), {
|
|
15766
15779
|
uniqueId: p,
|
|
15767
15780
|
src: m,
|
|
15768
15781
|
startAt: c,
|
|
@@ -15862,7 +15875,7 @@ const aU = (t) => {
|
|
|
15862
15875
|
]), te.useEffect(() => {
|
|
15863
15876
|
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
15877
|
}, [g, x, _]), // @ts-ignore
|
|
15865
|
-
/* @__PURE__ */
|
|
15878
|
+
/* @__PURE__ */ Ce.jsx(wt, { ref: n });
|
|
15866
15879
|
};
|
|
15867
15880
|
function xF(t, e) {
|
|
15868
15881
|
for (var r = -1, n = t == null ? 0 : t.length, i = Array(n); ++r < n; )
|
|
@@ -16932,7 +16945,7 @@ const ZB = (t) => ({
|
|
|
16932
16945
|
});
|
|
16933
16946
|
}), [r, e]), r.instance);
|
|
16934
16947
|
}, JB = (t) => {
|
|
16935
|
-
const e =
|
|
16948
|
+
const e = me(t);
|
|
16936
16949
|
return jn(() => {
|
|
16937
16950
|
e.current = t;
|
|
16938
16951
|
}, [t]), e;
|
|
@@ -16974,7 +16987,7 @@ const ZB = (t) => ({
|
|
|
16974
16987
|
return;
|
|
16975
16988
|
const i = n.current;
|
|
16976
16989
|
i[t ? "gotoAndPlay" : "gotoAndStop"](i.currentFrame);
|
|
16977
|
-
}, [t]), /* @__PURE__ */
|
|
16990
|
+
}, [t]), /* @__PURE__ */ Ce.jsx(
|
|
16978
16991
|
nS,
|
|
16979
16992
|
{
|
|
16980
16993
|
ref: n,
|
|
@@ -16995,7 +17008,7 @@ var Io = { exports: {} };
|
|
|
16995
17008
|
Io.exports;
|
|
16996
17009
|
(function(t, e) {
|
|
16997
17010
|
(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,
|
|
17011
|
+
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
17012
|
["ary", N],
|
|
17000
17013
|
["bind", b],
|
|
17001
17014
|
["bindKey", x],
|
|
@@ -17005,7 +17018,7 @@ Io.exports;
|
|
|
17005
17018
|
["partial", O],
|
|
17006
17019
|
["partialRight", F],
|
|
17007
17020
|
["rearg", L]
|
|
17008
|
-
],
|
|
17021
|
+
], 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
17022
|
ti + "?" + Nh + "+" + Uh + "(?=" + [Oh, ti, "$"].join("|") + ")",
|
|
17010
17023
|
r_ + "+" + $h + "(?=" + [Oh, ti + Bh, "$"].join("|") + ")",
|
|
17011
17024
|
ti + "?" + Bh + "+" + Uh,
|
|
@@ -17046,9 +17059,9 @@ Io.exports;
|
|
|
17046
17059
|
"parseInt",
|
|
17047
17060
|
"setTimeout"
|
|
17048
17061
|
], p_ = -1, et = {};
|
|
17049
|
-
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[
|
|
17062
|
+
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
17063
|
var Ze = {};
|
|
17051
|
-
Ze[
|
|
17064
|
+
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
17065
|
var g_ = {
|
|
17053
17066
|
// Latin-1 Supplement block.
|
|
17054
17067
|
À: "A",
|
|
@@ -17282,8 +17295,8 @@ Io.exports;
|
|
|
17282
17295
|
return P.apply(B, k);
|
|
17283
17296
|
}
|
|
17284
17297
|
function T_(P, B, k, Z) {
|
|
17285
|
-
for (var
|
|
17286
|
-
var mt = P[
|
|
17298
|
+
for (var ge = -1, He = P == null ? 0 : P.length; ++ge < He; ) {
|
|
17299
|
+
var mt = P[ge];
|
|
17287
17300
|
B(Z, mt, k(mt), P);
|
|
17288
17301
|
}
|
|
17289
17302
|
return Z;
|
|
@@ -17305,9 +17318,9 @@ Io.exports;
|
|
|
17305
17318
|
return !0;
|
|
17306
17319
|
}
|
|
17307
17320
|
function en(P, B) {
|
|
17308
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17321
|
+
for (var k = -1, Z = P == null ? 0 : P.length, ge = 0, He = []; ++k < Z; ) {
|
|
17309
17322
|
var mt = P[k];
|
|
17310
|
-
B(mt, k, P) && (He[
|
|
17323
|
+
B(mt, k, P) && (He[ge++] = mt);
|
|
17311
17324
|
}
|
|
17312
17325
|
return He;
|
|
17313
17326
|
}
|
|
@@ -17316,31 +17329,31 @@ Io.exports;
|
|
|
17316
17329
|
return !!k && ri(P, B, 0) > -1;
|
|
17317
17330
|
}
|
|
17318
17331
|
function yu(P, B, k) {
|
|
17319
|
-
for (var Z = -1,
|
|
17332
|
+
for (var Z = -1, ge = P == null ? 0 : P.length; ++Z < ge; )
|
|
17320
17333
|
if (k(B, P[Z]))
|
|
17321
17334
|
return !0;
|
|
17322
17335
|
return !1;
|
|
17323
17336
|
}
|
|
17324
17337
|
function nt(P, B) {
|
|
17325
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17326
|
-
|
|
17327
|
-
return
|
|
17338
|
+
for (var k = -1, Z = P == null ? 0 : P.length, ge = Array(Z); ++k < Z; )
|
|
17339
|
+
ge[k] = B(P[k], k, P);
|
|
17340
|
+
return ge;
|
|
17328
17341
|
}
|
|
17329
17342
|
function tn(P, B) {
|
|
17330
|
-
for (var k = -1, Z = B.length,
|
|
17331
|
-
P[
|
|
17343
|
+
for (var k = -1, Z = B.length, ge = P.length; ++k < Z; )
|
|
17344
|
+
P[ge + k] = B[k];
|
|
17332
17345
|
return P;
|
|
17333
17346
|
}
|
|
17334
17347
|
function xu(P, B, k, Z) {
|
|
17335
|
-
var
|
|
17336
|
-
for (Z && He && (k = P[++
|
|
17337
|
-
k = B(k, P[
|
|
17348
|
+
var ge = -1, He = P == null ? 0 : P.length;
|
|
17349
|
+
for (Z && He && (k = P[++ge]); ++ge < He; )
|
|
17350
|
+
k = B(k, P[ge], ge, P);
|
|
17338
17351
|
return k;
|
|
17339
17352
|
}
|
|
17340
17353
|
function S_(P, B, k, Z) {
|
|
17341
|
-
var
|
|
17342
|
-
for (Z &&
|
|
17343
|
-
k = B(k, P[
|
|
17354
|
+
var ge = P == null ? 0 : P.length;
|
|
17355
|
+
for (Z && ge && (k = P[--ge]); ge--; )
|
|
17356
|
+
k = B(k, P[ge], ge, P);
|
|
17344
17357
|
return k;
|
|
17345
17358
|
}
|
|
17346
17359
|
function bu(P, B) {
|
|
@@ -17358,13 +17371,13 @@ Io.exports;
|
|
|
17358
17371
|
}
|
|
17359
17372
|
function Jh(P, B, k) {
|
|
17360
17373
|
var Z;
|
|
17361
|
-
return k(P, function(
|
|
17362
|
-
if (B(
|
|
17374
|
+
return k(P, function(ge, He, mt) {
|
|
17375
|
+
if (B(ge, He, mt))
|
|
17363
17376
|
return Z = He, !1;
|
|
17364
17377
|
}), Z;
|
|
17365
17378
|
}
|
|
17366
17379
|
function Ks(P, B, k, Z) {
|
|
17367
|
-
for (var
|
|
17380
|
+
for (var ge = P.length, He = k + (Z ? 1 : -1); Z ? He-- : ++He < ge; )
|
|
17368
17381
|
if (B(P[He], He, P))
|
|
17369
17382
|
return He;
|
|
17370
17383
|
return -1;
|
|
@@ -17373,9 +17386,9 @@ Io.exports;
|
|
|
17373
17386
|
return B === B ? U_(P, B, k) : Ks(P, ef, k);
|
|
17374
17387
|
}
|
|
17375
17388
|
function I_(P, B, k, Z) {
|
|
17376
|
-
for (var
|
|
17377
|
-
if (Z(P[
|
|
17378
|
-
return
|
|
17389
|
+
for (var ge = k - 1, He = P.length; ++ge < He; )
|
|
17390
|
+
if (Z(P[ge], B))
|
|
17391
|
+
return ge;
|
|
17379
17392
|
return -1;
|
|
17380
17393
|
}
|
|
17381
17394
|
function ef(P) {
|
|
@@ -17395,8 +17408,8 @@ Io.exports;
|
|
|
17395
17408
|
return P == null ? r : P[B];
|
|
17396
17409
|
};
|
|
17397
17410
|
}
|
|
17398
|
-
function rf(P, B, k, Z,
|
|
17399
|
-
return
|
|
17411
|
+
function rf(P, B, k, Z, ge) {
|
|
17412
|
+
return ge(P, function(He, mt, qe) {
|
|
17400
17413
|
k = Z ? (Z = !1, He) : B(k, He, mt, qe);
|
|
17401
17414
|
}), k;
|
|
17402
17415
|
}
|
|
@@ -17407,7 +17420,7 @@ Io.exports;
|
|
|
17407
17420
|
return P;
|
|
17408
17421
|
}
|
|
17409
17422
|
function Su(P, B) {
|
|
17410
|
-
for (var k, Z = -1,
|
|
17423
|
+
for (var k, Z = -1, ge = P.length; ++Z < ge; ) {
|
|
17411
17424
|
var He = B(P[Z]);
|
|
17412
17425
|
He !== r && (k = k === r ? He : k + He);
|
|
17413
17426
|
}
|
|
@@ -17474,8 +17487,8 @@ Io.exports;
|
|
|
17474
17487
|
}
|
|
17475
17488
|
function Cu(P) {
|
|
17476
17489
|
var B = -1, k = Array(P.size);
|
|
17477
|
-
return P.forEach(function(Z,
|
|
17478
|
-
k[++B] = [
|
|
17490
|
+
return P.forEach(function(Z, ge) {
|
|
17491
|
+
k[++B] = [ge, Z];
|
|
17479
17492
|
}), k;
|
|
17480
17493
|
}
|
|
17481
17494
|
function of(P, B) {
|
|
@@ -17484,9 +17497,9 @@ Io.exports;
|
|
|
17484
17497
|
};
|
|
17485
17498
|
}
|
|
17486
17499
|
function rn(P, B) {
|
|
17487
|
-
for (var k = -1, Z = P.length,
|
|
17500
|
+
for (var k = -1, Z = P.length, ge = 0, He = []; ++k < Z; ) {
|
|
17488
17501
|
var mt = P[k];
|
|
17489
|
-
(mt === B || mt === m) && (P[k] = m, He[
|
|
17502
|
+
(mt === B || mt === m) && (P[k] = m, He[ge++] = k);
|
|
17490
17503
|
}
|
|
17491
17504
|
return He;
|
|
17492
17505
|
}
|
|
@@ -17503,7 +17516,7 @@ Io.exports;
|
|
|
17503
17516
|
}), k;
|
|
17504
17517
|
}
|
|
17505
17518
|
function U_(P, B, k) {
|
|
17506
|
-
for (var Z = k - 1,
|
|
17519
|
+
for (var Z = k - 1, ge = P.length; ++Z < ge; )
|
|
17507
17520
|
if (P[Z] === B)
|
|
17508
17521
|
return Z;
|
|
17509
17522
|
return -1;
|
|
@@ -17539,11 +17552,11 @@ Io.exports;
|
|
|
17539
17552
|
}
|
|
17540
17553
|
var X_ = function P(B) {
|
|
17541
17554
|
B = B == null ? St : si.defaults(St.Object(), B, si.pick(St, d_));
|
|
17542
|
-
var k = B.Array, Z = B.Date,
|
|
17555
|
+
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
17556
|
var s = /[^.]+$/.exec(Js && Js.keys && Js.keys.IE_PROTO || "");
|
|
17544
17557
|
return s ? "Symbol(src)_1." + s : "";
|
|
17545
17558
|
}(), ta = ai.toString, Y_ = ea.call(qe), K_ = St._, Z_ = Iu(
|
|
17546
|
-
"^" + ea.call(
|
|
17559
|
+
"^" + ea.call(We).replace(cu, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
17547
17560
|
), 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
17561
|
try {
|
|
17549
17562
|
var s = Cn(qe, "defineProperty");
|
|
@@ -17552,10 +17565,10 @@ Io.exports;
|
|
|
17552
17565
|
}
|
|
17553
17566
|
}(), 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
17567
|
function S(s) {
|
|
17555
|
-
if (ct(s) && !ye(s) && !(s instanceof
|
|
17568
|
+
if (ct(s) && !ye(s) && !(s instanceof Me)) {
|
|
17556
17569
|
if (s instanceof sr)
|
|
17557
17570
|
return s;
|
|
17558
|
-
if (
|
|
17571
|
+
if (We.call(s, "__wrapped__"))
|
|
17559
17572
|
return vd(s);
|
|
17560
17573
|
}
|
|
17561
17574
|
return new sr(s);
|
|
@@ -17623,16 +17636,16 @@ Io.exports;
|
|
|
17623
17636
|
_: S
|
|
17624
17637
|
}
|
|
17625
17638
|
}, S.prototype = ha.prototype, S.prototype.constructor = S, sr.prototype = li(ha.prototype), sr.prototype.constructor = sr;
|
|
17626
|
-
function
|
|
17639
|
+
function Me(s) {
|
|
17627
17640
|
this.__wrapped__ = s, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = j, this.__views__ = [];
|
|
17628
17641
|
}
|
|
17629
17642
|
function fy() {
|
|
17630
|
-
var s = new
|
|
17643
|
+
var s = new Me(this.__wrapped__);
|
|
17631
17644
|
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
17645
|
}
|
|
17633
17646
|
function dy() {
|
|
17634
17647
|
if (this.__filtered__) {
|
|
17635
|
-
var s = new
|
|
17648
|
+
var s = new Me(this);
|
|
17636
17649
|
s.__dir__ = -1, s.__filtered__ = !0;
|
|
17637
17650
|
} else
|
|
17638
17651
|
s = this.clone(), s.__dir__ *= -1;
|
|
@@ -17646,8 +17659,8 @@ Io.exports;
|
|
|
17646
17659
|
e:
|
|
17647
17660
|
for (; M-- && q < ee; ) {
|
|
17648
17661
|
U += o;
|
|
17649
|
-
for (var
|
|
17650
|
-
var
|
|
17662
|
+
for (var we = -1, ue = s[U]; ++we < z; ) {
|
|
17663
|
+
var Re = $[we], Ne = Re.iteratee, Kt = Re.type, Lt = Ne(ue);
|
|
17651
17664
|
if (Kt == ie)
|
|
17652
17665
|
ue = Lt;
|
|
17653
17666
|
else if (!Lt) {
|
|
@@ -17660,7 +17673,7 @@ Io.exports;
|
|
|
17660
17673
|
}
|
|
17661
17674
|
return oe;
|
|
17662
17675
|
}
|
|
17663
|
-
|
|
17676
|
+
Me.prototype = li(ha.prototype), Me.prototype.constructor = Me;
|
|
17664
17677
|
function wn(s) {
|
|
17665
17678
|
var o = -1, f = s == null ? 0 : s.length;
|
|
17666
17679
|
for (this.clear(); ++o < f; ) {
|
|
@@ -17681,11 +17694,11 @@ Io.exports;
|
|
|
17681
17694
|
var f = o[s];
|
|
17682
17695
|
return f === h ? r : f;
|
|
17683
17696
|
}
|
|
17684
|
-
return
|
|
17697
|
+
return We.call(o, s) ? o[s] : r;
|
|
17685
17698
|
}
|
|
17686
17699
|
function _y(s) {
|
|
17687
17700
|
var o = this.__data__;
|
|
17688
|
-
return Ji ? o[s] !== r :
|
|
17701
|
+
return Ji ? o[s] !== r : We.call(o, s);
|
|
17689
17702
|
}
|
|
17690
17703
|
function yy(s, o) {
|
|
17691
17704
|
var f = this.__data__;
|
|
@@ -17793,7 +17806,7 @@ Io.exports;
|
|
|
17793
17806
|
function vf(s, o) {
|
|
17794
17807
|
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
17808
|
for (var U in s)
|
|
17796
|
-
(o ||
|
|
17809
|
+
(o || We.call(s, U)) && !(C && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
17797
17810
|
(U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
17798
17811
|
T && (U == "offset" || U == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
17799
17812
|
A && (U == "buffer" || U == "byteLength" || U == "byteOffset") || // Skip index properties.
|
|
@@ -17815,7 +17828,7 @@ Io.exports;
|
|
|
17815
17828
|
}
|
|
17816
17829
|
function ts(s, o, f) {
|
|
17817
17830
|
var v = s[o];
|
|
17818
|
-
(!(
|
|
17831
|
+
(!(We.call(s, o) && gr(v, f)) || f === r && !(o in s)) && Gr(s, o, f);
|
|
17819
17832
|
}
|
|
17820
17833
|
function fa(s, o) {
|
|
17821
17834
|
for (var f = s.length; f--; )
|
|
@@ -17864,7 +17877,7 @@ Io.exports;
|
|
|
17864
17877
|
var z = Rt(s), q = z == Ge || z == Ke;
|
|
17865
17878
|
if (ln(s))
|
|
17866
17879
|
return zf(s, R);
|
|
17867
|
-
if (z ==
|
|
17880
|
+
if (z == ce || z == be || q && !T) {
|
|
17868
17881
|
if (C = M || q ? {} : ud(s), !R)
|
|
17869
17882
|
return M ? vx(s, $y(C, s)) : mx(s, yf(C, s));
|
|
17870
17883
|
} else {
|
|
@@ -17879,12 +17892,12 @@ Io.exports;
|
|
|
17879
17892
|
return ee;
|
|
17880
17893
|
A.set(s, C), Dd(s) ? s.forEach(function(ue) {
|
|
17881
17894
|
C.add(ar(ue, o, f, ue, s, A));
|
|
17882
|
-
}) : Ld(s) && s.forEach(function(ue,
|
|
17883
|
-
C.set(
|
|
17895
|
+
}) : Ld(s) && s.forEach(function(ue, Re) {
|
|
17896
|
+
C.set(Re, ar(ue, o, f, Re, s, A));
|
|
17884
17897
|
});
|
|
17885
|
-
var oe = U ? M ? Ju : Qu : M ? Ht : yt,
|
|
17886
|
-
return nr(
|
|
17887
|
-
|
|
17898
|
+
var oe = U ? M ? Ju : Qu : M ? Ht : yt, we = $ ? r : oe(s);
|
|
17899
|
+
return nr(we || s, function(ue, Re) {
|
|
17900
|
+
we && (Re = ue, ue = s[Re]), ts(C, Re, ar(ue, o, f, Re, s, A));
|
|
17888
17901
|
}), C;
|
|
17889
17902
|
}
|
|
17890
17903
|
function Gy(s) {
|
|
@@ -17946,7 +17959,7 @@ Io.exports;
|
|
|
17946
17959
|
}
|
|
17947
17960
|
function zy(s, o, f, v) {
|
|
17948
17961
|
var T = s.length;
|
|
17949
|
-
for (f =
|
|
17962
|
+
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
17963
|
s[f++] = o;
|
|
17951
17964
|
return s;
|
|
17952
17965
|
}
|
|
@@ -17993,7 +18006,7 @@ Io.exports;
|
|
|
17993
18006
|
return s > o;
|
|
17994
18007
|
}
|
|
17995
18008
|
function Vy(s, o) {
|
|
17996
|
-
return s != null &&
|
|
18009
|
+
return s != null && We.call(s, o);
|
|
17997
18010
|
}
|
|
17998
18011
|
function Xy(s, o) {
|
|
17999
18012
|
return s != null && o in qe(s);
|
|
@@ -18013,8 +18026,8 @@ Io.exports;
|
|
|
18013
18026
|
var ee = $[z], oe = o ? o(ee) : ee;
|
|
18014
18027
|
if (ee = f || ee !== 0 ? ee : 0, !(q ? Yi(q, oe) : v(U, oe, f))) {
|
|
18015
18028
|
for (C = A; --C; ) {
|
|
18016
|
-
var
|
|
18017
|
-
if (!(
|
|
18029
|
+
var we = R[C];
|
|
18030
|
+
if (!(we ? Yi(we, oe) : v(s[C], oe, f)))
|
|
18018
18031
|
continue e;
|
|
18019
18032
|
}
|
|
18020
18033
|
q && q.push(oe), U.push(ee);
|
|
@@ -18033,21 +18046,21 @@ Io.exports;
|
|
|
18033
18046
|
return v == null ? r : Wt(v, s, f);
|
|
18034
18047
|
}
|
|
18035
18048
|
function Ef(s) {
|
|
18036
|
-
return ct(s) && Ft(s) ==
|
|
18049
|
+
return ct(s) && Ft(s) == be;
|
|
18037
18050
|
}
|
|
18038
18051
|
function qy(s) {
|
|
18039
18052
|
return ct(s) && Ft(s) == Jn;
|
|
18040
18053
|
}
|
|
18041
18054
|
function Yy(s) {
|
|
18042
|
-
return ct(s) && Ft(s) ==
|
|
18055
|
+
return ct(s) && Ft(s) == ze;
|
|
18043
18056
|
}
|
|
18044
18057
|
function is(s, o, f, v, T) {
|
|
18045
18058
|
return s === o ? !0 : s == null || o == null || !ct(s) && !ct(o) ? s !== s && o !== o : Ky(s, o, f, v, is, T);
|
|
18046
18059
|
}
|
|
18047
18060
|
function Ky(s, o, f, v, T, A) {
|
|
18048
18061
|
var C = ye(s), R = ye(o), M = C ? Se : Rt(s), U = R ? Se : Rt(o);
|
|
18049
|
-
M = M ==
|
|
18050
|
-
var $ = M ==
|
|
18062
|
+
M = M == be ? ce : M, U = U == be ? ce : U;
|
|
18063
|
+
var $ = M == ce, z = U == ce, q = M == U;
|
|
18051
18064
|
if (q && ln(s)) {
|
|
18052
18065
|
if (!ln(o))
|
|
18053
18066
|
return !1;
|
|
@@ -18056,16 +18069,16 @@ Io.exports;
|
|
|
18056
18069
|
if (q && !$)
|
|
18057
18070
|
return A || (A = new pr()), C || di(s) ? sd(s, o, f, v, T, A) : wx(s, o, M, f, v, T, A);
|
|
18058
18071
|
if (!(f & _)) {
|
|
18059
|
-
var ee = $ &&
|
|
18072
|
+
var ee = $ && We.call(s, "__wrapped__"), oe = z && We.call(o, "__wrapped__");
|
|
18060
18073
|
if (ee || oe) {
|
|
18061
|
-
var
|
|
18062
|
-
return A || (A = new pr()), T(
|
|
18074
|
+
var we = ee ? s.value() : s, ue = oe ? o.value() : o;
|
|
18075
|
+
return A || (A = new pr()), T(we, ue, f, v, A);
|
|
18063
18076
|
}
|
|
18064
18077
|
}
|
|
18065
18078
|
return q ? (A || (A = new pr()), Sx(s, o, f, v, T, A)) : !1;
|
|
18066
18079
|
}
|
|
18067
18080
|
function Zy(s) {
|
|
18068
|
-
return ct(s) && Rt(s) ==
|
|
18081
|
+
return ct(s) && Rt(s) == Ee;
|
|
18069
18082
|
}
|
|
18070
18083
|
function Bu(s, o, f, v) {
|
|
18071
18084
|
var T = f.length, A = T, C = !v;
|
|
@@ -18115,7 +18128,7 @@ Io.exports;
|
|
|
18115
18128
|
return ny(s);
|
|
18116
18129
|
var o = [];
|
|
18117
18130
|
for (var f in qe(s))
|
|
18118
|
-
|
|
18131
|
+
We.call(s, f) && f != "constructor" && o.push(f);
|
|
18119
18132
|
return o;
|
|
18120
18133
|
}
|
|
18121
18134
|
function tx(s) {
|
|
@@ -18123,7 +18136,7 @@ Io.exports;
|
|
|
18123
18136
|
return Dx(s);
|
|
18124
18137
|
var o = os(s), f = [];
|
|
18125
18138
|
for (var v in s)
|
|
18126
|
-
v == "constructor" && (o || !
|
|
18139
|
+
v == "constructor" && (o || !We.call(s, v)) || f.push(v);
|
|
18127
18140
|
return f;
|
|
18128
18141
|
}
|
|
18129
18142
|
function $u(s, o) {
|
|
@@ -18244,7 +18257,7 @@ Io.exports;
|
|
|
18244
18257
|
while (o);
|
|
18245
18258
|
return f;
|
|
18246
18259
|
}
|
|
18247
|
-
function
|
|
18260
|
+
function Ae(s, o) {
|
|
18248
18261
|
return al(hd(s, o, zt), s + "");
|
|
18249
18262
|
}
|
|
18250
18263
|
function ax(s) {
|
|
@@ -18298,7 +18311,7 @@ Io.exports;
|
|
|
18298
18311
|
}
|
|
18299
18312
|
function ma(s, o, f) {
|
|
18300
18313
|
var v = 0, T = s == null ? v : s.length;
|
|
18301
|
-
if (typeof o == "number" && o === o && T <=
|
|
18314
|
+
if (typeof o == "number" && o === o && T <= he) {
|
|
18302
18315
|
for (; v < T; ) {
|
|
18303
18316
|
var A = v + T >>> 1, C = s[A];
|
|
18304
18317
|
C !== null && !Yt(C) && (f ? C <= o : C < o) ? v = A + 1 : T = A;
|
|
@@ -18313,11 +18326,11 @@ Io.exports;
|
|
|
18313
18326
|
return 0;
|
|
18314
18327
|
o = f(o);
|
|
18315
18328
|
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,
|
|
18329
|
+
var $ = ua((T + A) / 2), z = f(s[$]), q = z !== r, ee = z === null, oe = z === z, we = Yt(z);
|
|
18317
18330
|
if (C)
|
|
18318
18331
|
var ue = v || oe;
|
|
18319
18332
|
else
|
|
18320
|
-
U ? ue = oe && (v || q) : R ? ue = oe && q && (v || !ee) : M ? ue = oe && q && !ee && (v || !
|
|
18333
|
+
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
18334
|
ue ? T = $ + 1 : A = $;
|
|
18322
18335
|
}
|
|
18323
18336
|
return It(A, le);
|
|
@@ -18382,7 +18395,7 @@ Io.exports;
|
|
|
18382
18395
|
}
|
|
18383
18396
|
function $f(s, o) {
|
|
18384
18397
|
var f = s;
|
|
18385
|
-
return f instanceof
|
|
18398
|
+
return f instanceof Me && (f = f.value()), xu(o, function(v, T) {
|
|
18386
18399
|
return T.func.apply(T.thisArg, tn([v], T.args));
|
|
18387
18400
|
}, f);
|
|
18388
18401
|
}
|
|
@@ -18409,9 +18422,9 @@ Io.exports;
|
|
|
18409
18422
|
return typeof s == "function" ? s : zt;
|
|
18410
18423
|
}
|
|
18411
18424
|
function on(s, o) {
|
|
18412
|
-
return ye(s) ? s : nl(s, o) ? [s] : md(
|
|
18425
|
+
return ye(s) ? s : nl(s, o) ? [s] : md(Ve(s));
|
|
18413
18426
|
}
|
|
18414
|
-
var hx =
|
|
18427
|
+
var hx = Ae;
|
|
18415
18428
|
function un(s, o, f) {
|
|
18416
18429
|
var v = s.length;
|
|
18417
18430
|
return f = f === r ? v : f, !o && f >= v ? s : or(s, o, f);
|
|
@@ -18512,7 +18525,7 @@ Io.exports;
|
|
|
18512
18525
|
};
|
|
18513
18526
|
}
|
|
18514
18527
|
function ci(s) {
|
|
18515
|
-
return
|
|
18528
|
+
return Ae(function(o, f) {
|
|
18516
18529
|
var v = -1, T = f.length, A = T > 1 ? f[T - 1] : r, C = T > 2 ? f[2] : r;
|
|
18517
18530
|
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
18531
|
var R = f[v];
|
|
@@ -18552,7 +18565,7 @@ Io.exports;
|
|
|
18552
18565
|
}
|
|
18553
18566
|
function Kf(s) {
|
|
18554
18567
|
return function(o) {
|
|
18555
|
-
o =
|
|
18568
|
+
o = Ve(o);
|
|
18556
18569
|
var f = ni(o) ? dr(o) : r, v = f ? f[0] : o.charAt(0), T = f ? un(f, 1).join("") : o.slice(1);
|
|
18557
18570
|
return v[s]() + T;
|
|
18558
18571
|
};
|
|
@@ -18650,29 +18663,29 @@ Io.exports;
|
|
|
18650
18663
|
});
|
|
18651
18664
|
}
|
|
18652
18665
|
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,
|
|
18666
|
+
var $ = o & N, z = o & b, q = o & x, ee = o & (w | I), oe = o & D, we = q ? r : as(s);
|
|
18654
18667
|
function ue() {
|
|
18655
|
-
for (var
|
|
18656
|
-
|
|
18668
|
+
for (var Re = arguments.length, Ne = k(Re), Kt = Re; Kt--; )
|
|
18669
|
+
Ne[Kt] = arguments[Kt];
|
|
18657
18670
|
if (ee)
|
|
18658
|
-
var Lt = fi(ue), Zt = M_(
|
|
18659
|
-
if (v && (
|
|
18660
|
-
var ft = rn(
|
|
18671
|
+
var Lt = fi(ue), Zt = M_(Ne, Lt);
|
|
18672
|
+
if (v && (Ne = Wf(Ne, v, T, ee)), A && (Ne = jf(Ne, A, C, ee)), Re -= Zt, ee && Re < U) {
|
|
18673
|
+
var ft = rn(Ne, Lt);
|
|
18661
18674
|
return td(
|
|
18662
18675
|
s,
|
|
18663
18676
|
o,
|
|
18664
18677
|
ya,
|
|
18665
18678
|
ue.placeholder,
|
|
18666
18679
|
f,
|
|
18667
|
-
|
|
18680
|
+
Ne,
|
|
18668
18681
|
ft,
|
|
18669
18682
|
R,
|
|
18670
18683
|
M,
|
|
18671
|
-
U -
|
|
18684
|
+
U - Re
|
|
18672
18685
|
);
|
|
18673
18686
|
}
|
|
18674
18687
|
var mr = z ? f : this, jr = q ? mr[s] : s;
|
|
18675
|
-
return
|
|
18688
|
+
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
18689
|
}
|
|
18677
18690
|
return ue;
|
|
18678
18691
|
}
|
|
@@ -18696,7 +18709,7 @@ Io.exports;
|
|
|
18696
18709
|
}
|
|
18697
18710
|
function Ku(s) {
|
|
18698
18711
|
return zr(function(o) {
|
|
18699
|
-
return o = nt(o, jt(ae())),
|
|
18712
|
+
return o = nt(o, jt(ae())), Ae(function(f) {
|
|
18700
18713
|
var v = this;
|
|
18701
18714
|
return s(o, function(T) {
|
|
18702
18715
|
return Wt(T, v, f);
|
|
@@ -18736,7 +18749,7 @@ Io.exports;
|
|
|
18736
18749
|
function td(s, o, f, v, T, A, C, R, M, U) {
|
|
18737
18750
|
var $ = o & w, z = $ ? C : r, q = $ ? r : C, ee = $ ? A : r, oe = $ ? r : A;
|
|
18738
18751
|
o |= $ ? O : F, o &= ~($ ? F : O), o & E || (o &= ~(b | x));
|
|
18739
|
-
var
|
|
18752
|
+
var we = [
|
|
18740
18753
|
s,
|
|
18741
18754
|
o,
|
|
18742
18755
|
T,
|
|
@@ -18747,15 +18760,15 @@ Io.exports;
|
|
|
18747
18760
|
R,
|
|
18748
18761
|
M,
|
|
18749
18762
|
U
|
|
18750
|
-
], ue = f.apply(r,
|
|
18751
|
-
return il(s) && dd(ue,
|
|
18763
|
+
], ue = f.apply(r, we);
|
|
18764
|
+
return il(s) && dd(ue, we), ue.placeholder = v, pd(ue, s, o);
|
|
18752
18765
|
}
|
|
18753
18766
|
function Zu(s) {
|
|
18754
18767
|
var o = mt[s];
|
|
18755
18768
|
return function(f, v) {
|
|
18756
|
-
if (f = lr(f), v = v == null ? 0 : It(
|
|
18757
|
-
var T = (
|
|
18758
|
-
return T = (
|
|
18769
|
+
if (f = lr(f), v = v == null ? 0 : It(Te(v), 292), v && pf(f)) {
|
|
18770
|
+
var T = (Ve(f) + "e").split("e"), A = o(T[0] + "e" + (+T[1] + v));
|
|
18771
|
+
return T = (Ve(A) + "e").split("e"), +(T[0] + "e" + (+T[1] - v));
|
|
18759
18772
|
}
|
|
18760
18773
|
return o(f);
|
|
18761
18774
|
};
|
|
@@ -18766,7 +18779,7 @@ Io.exports;
|
|
|
18766
18779
|
function rd(s) {
|
|
18767
18780
|
return function(o) {
|
|
18768
18781
|
var f = Rt(o);
|
|
18769
|
-
return f ==
|
|
18782
|
+
return f == Ee ? Cu(o) : f == lt ? B_(o) : P_(o, s(o));
|
|
18770
18783
|
};
|
|
18771
18784
|
}
|
|
18772
18785
|
function Hr(s, o, f, v, T, A, C, R) {
|
|
@@ -18774,7 +18787,7 @@ Io.exports;
|
|
|
18774
18787
|
if (!M && typeof s != "function")
|
|
18775
18788
|
throw new ir(u);
|
|
18776
18789
|
var U = v ? v.length : 0;
|
|
18777
|
-
if (U || (o &= ~(O | F), v = T = r), C = C === r ? C : vt(
|
|
18790
|
+
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
18791
|
var $ = v, z = T;
|
|
18779
18792
|
v = T = r;
|
|
18780
18793
|
}
|
|
@@ -18794,11 +18807,11 @@ Io.exports;
|
|
|
18794
18807
|
var oe = _x(s, o, f);
|
|
18795
18808
|
else
|
|
18796
18809
|
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(
|
|
18810
|
+
var we = q ? kf : dd;
|
|
18811
|
+
return pd(we(oe, ee), s, o);
|
|
18799
18812
|
}
|
|
18800
18813
|
function nd(s, o, f, v) {
|
|
18801
|
-
return s === r || gr(s, ai[f]) && !
|
|
18814
|
+
return s === r || gr(s, ai[f]) && !We.call(v, f) ? o : s;
|
|
18802
18815
|
}
|
|
18803
18816
|
function id(s, o, f, v, T, A) {
|
|
18804
18817
|
return st(s) && st(o) && (A.set(o, s), ga(s, o, r, id, A), A.delete(o)), s;
|
|
@@ -18815,9 +18828,9 @@ Io.exports;
|
|
|
18815
18828
|
return U == o && $ == s;
|
|
18816
18829
|
var z = -1, q = !0, ee = f & y ? new Sn() : r;
|
|
18817
18830
|
for (A.set(s, o), A.set(o, s); ++z < R; ) {
|
|
18818
|
-
var oe = s[z],
|
|
18831
|
+
var oe = s[z], we = o[z];
|
|
18819
18832
|
if (v)
|
|
18820
|
-
var ue = C ? v(
|
|
18833
|
+
var ue = C ? v(we, oe, z, o, s, A) : v(oe, we, z, s, o, A);
|
|
18821
18834
|
if (ue !== r) {
|
|
18822
18835
|
if (ue)
|
|
18823
18836
|
continue;
|
|
@@ -18825,14 +18838,14 @@ Io.exports;
|
|
|
18825
18838
|
break;
|
|
18826
18839
|
}
|
|
18827
18840
|
if (ee) {
|
|
18828
|
-
if (!bu(o, function(
|
|
18829
|
-
if (!Yi(ee,
|
|
18830
|
-
return ee.push(
|
|
18841
|
+
if (!bu(o, function(Re, Ne) {
|
|
18842
|
+
if (!Yi(ee, Ne) && (oe === Re || T(oe, Re, f, v, A)))
|
|
18843
|
+
return ee.push(Ne);
|
|
18831
18844
|
})) {
|
|
18832
18845
|
q = !1;
|
|
18833
18846
|
break;
|
|
18834
18847
|
}
|
|
18835
|
-
} else if (!(oe ===
|
|
18848
|
+
} else if (!(oe === we || T(oe, we, f, v, A))) {
|
|
18836
18849
|
q = !1;
|
|
18837
18850
|
break;
|
|
18838
18851
|
}
|
|
@@ -18847,16 +18860,16 @@ Io.exports;
|
|
|
18847
18860
|
s = s.buffer, o = o.buffer;
|
|
18848
18861
|
case Jn:
|
|
18849
18862
|
return !(s.byteLength != o.byteLength || !A(new na(s), new na(o)));
|
|
18850
|
-
case
|
|
18851
|
-
case
|
|
18863
|
+
case Be:
|
|
18864
|
+
case ze:
|
|
18852
18865
|
case _e:
|
|
18853
18866
|
return gr(+s, +o);
|
|
18854
|
-
case
|
|
18867
|
+
case Ie:
|
|
18855
18868
|
return s.name == o.name && s.message == o.message;
|
|
18856
18869
|
case Ut:
|
|
18857
18870
|
case tr:
|
|
18858
18871
|
return s == o + "";
|
|
18859
|
-
case
|
|
18872
|
+
case Ee:
|
|
18860
18873
|
var R = Cu;
|
|
18861
18874
|
case lt:
|
|
18862
18875
|
var M = v & _;
|
|
@@ -18880,30 +18893,30 @@ Io.exports;
|
|
|
18880
18893
|
return !1;
|
|
18881
18894
|
for (var z = M; z--; ) {
|
|
18882
18895
|
var q = R[z];
|
|
18883
|
-
if (!(C ? q in o :
|
|
18896
|
+
if (!(C ? q in o : We.call(o, q)))
|
|
18884
18897
|
return !1;
|
|
18885
18898
|
}
|
|
18886
18899
|
var ee = A.get(s), oe = A.get(o);
|
|
18887
18900
|
if (ee && oe)
|
|
18888
18901
|
return ee == o && oe == s;
|
|
18889
|
-
var
|
|
18902
|
+
var we = !0;
|
|
18890
18903
|
A.set(s, o), A.set(o, s);
|
|
18891
18904
|
for (var ue = C; ++z < M; ) {
|
|
18892
18905
|
q = R[z];
|
|
18893
|
-
var
|
|
18906
|
+
var Re = s[q], Ne = o[q];
|
|
18894
18907
|
if (v)
|
|
18895
|
-
var Kt = C ? v(
|
|
18896
|
-
if (!(Kt === r ?
|
|
18897
|
-
|
|
18908
|
+
var Kt = C ? v(Ne, Re, q, o, s, A) : v(Re, Ne, q, s, o, A);
|
|
18909
|
+
if (!(Kt === r ? Re === Ne || T(Re, Ne, f, v, A) : Kt)) {
|
|
18910
|
+
we = !1;
|
|
18898
18911
|
break;
|
|
18899
18912
|
}
|
|
18900
18913
|
ue || (ue = q == "constructor");
|
|
18901
18914
|
}
|
|
18902
|
-
if (
|
|
18915
|
+
if (we && !ue) {
|
|
18903
18916
|
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) && (
|
|
18917
|
+
Lt != Zt && "constructor" in s && "constructor" in o && !(typeof Lt == "function" && Lt instanceof Lt && typeof Zt == "function" && Zt instanceof Zt) && (we = !1);
|
|
18905
18918
|
}
|
|
18906
|
-
return A.delete(s), A.delete(o),
|
|
18919
|
+
return A.delete(s), A.delete(o), we;
|
|
18907
18920
|
}
|
|
18908
18921
|
function zr(s) {
|
|
18909
18922
|
return al(hd(s, r, xd), s + "");
|
|
@@ -18918,7 +18931,7 @@ Io.exports;
|
|
|
18918
18931
|
return la.get(s);
|
|
18919
18932
|
} : yl;
|
|
18920
18933
|
function wa(s) {
|
|
18921
|
-
for (var o = s.name + "", f = ui[o], v =
|
|
18934
|
+
for (var o = s.name + "", f = ui[o], v = We.call(ui, o) ? f.length : 0; v--; ) {
|
|
18922
18935
|
var T = f[v], A = T.func;
|
|
18923
18936
|
if (A == null || A == s)
|
|
18924
18937
|
return T.name;
|
|
@@ -18926,7 +18939,7 @@ Io.exports;
|
|
|
18926
18939
|
return o;
|
|
18927
18940
|
}
|
|
18928
18941
|
function fi(s) {
|
|
18929
|
-
var o =
|
|
18942
|
+
var o = We.call(S, "placeholder") ? S : s;
|
|
18930
18943
|
return o.placeholder;
|
|
18931
18944
|
}
|
|
18932
18945
|
function ae() {
|
|
@@ -18949,7 +18962,7 @@ Io.exports;
|
|
|
18949
18962
|
return Cf(f) ? f : r;
|
|
18950
18963
|
}
|
|
18951
18964
|
function Ax(s) {
|
|
18952
|
-
var o =
|
|
18965
|
+
var o = We.call(s, Tn), f = s[Tn];
|
|
18953
18966
|
try {
|
|
18954
18967
|
s[Tn] = r;
|
|
18955
18968
|
var v = !0;
|
|
@@ -18967,16 +18980,16 @@ Io.exports;
|
|
|
18967
18980
|
tn(o, rl(s)), s = ia(s);
|
|
18968
18981
|
return o;
|
|
18969
18982
|
} : xl, Rt = Ft;
|
|
18970
|
-
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ei || Zi && Rt(new Zi()) !=
|
|
18971
|
-
var o = Ft(s), f = o ==
|
|
18983
|
+
(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) {
|
|
18984
|
+
var o = Ft(s), f = o == ce ? s.constructor : r, v = f ? In(f) : "";
|
|
18972
18985
|
if (v)
|
|
18973
18986
|
switch (v) {
|
|
18974
18987
|
case oy:
|
|
18975
18988
|
return ei;
|
|
18976
18989
|
case uy:
|
|
18977
|
-
return
|
|
18990
|
+
return Ee;
|
|
18978
18991
|
case ly:
|
|
18979
|
-
return
|
|
18992
|
+
return Fe;
|
|
18980
18993
|
case cy:
|
|
18981
18994
|
return lt;
|
|
18982
18995
|
case hy:
|
|
@@ -19020,7 +19033,7 @@ Io.exports;
|
|
|
19020
19033
|
}
|
|
19021
19034
|
function Ix(s) {
|
|
19022
19035
|
var o = s.length, f = new s.constructor(o);
|
|
19023
|
-
return o && typeof s[0] == "string" &&
|
|
19036
|
+
return o && typeof s[0] == "string" && We.call(s, "index") && (f.index = s.index, f.input = s.input), f;
|
|
19024
19037
|
}
|
|
19025
19038
|
function ud(s) {
|
|
19026
19039
|
return typeof s.constructor == "function" && !os(s) ? li(ia(s)) : {};
|
|
@@ -19030,8 +19043,8 @@ Io.exports;
|
|
|
19030
19043
|
switch (o) {
|
|
19031
19044
|
case Jn:
|
|
19032
19045
|
return Yu(s);
|
|
19033
|
-
case
|
|
19034
|
-
case
|
|
19046
|
+
case Be:
|
|
19047
|
+
case ze:
|
|
19035
19048
|
return new v(+s);
|
|
19036
19049
|
case ei:
|
|
19037
19050
|
return fx(s, f);
|
|
@@ -19045,7 +19058,7 @@ Io.exports;
|
|
|
19045
19058
|
case uu:
|
|
19046
19059
|
case lu:
|
|
19047
19060
|
return Vf(s, f);
|
|
19048
|
-
case
|
|
19061
|
+
case Ee:
|
|
19049
19062
|
return new v();
|
|
19050
19063
|
case _e:
|
|
19051
19064
|
case tr:
|
|
@@ -19092,7 +19105,7 @@ Io.exports;
|
|
|
19092
19105
|
}
|
|
19093
19106
|
function il(s) {
|
|
19094
19107
|
var o = wa(s), f = S[o];
|
|
19095
|
-
if (typeof f != "function" || !(o in
|
|
19108
|
+
if (typeof f != "function" || !(o in Me.prototype))
|
|
19096
19109
|
return !1;
|
|
19097
19110
|
if (s === f)
|
|
19098
19111
|
return !0;
|
|
@@ -19220,19 +19233,19 @@ Io.exports;
|
|
|
19220
19233
|
return "";
|
|
19221
19234
|
}
|
|
19222
19235
|
function $x(s, o) {
|
|
19223
|
-
return nr(
|
|
19236
|
+
return nr(pe, function(f) {
|
|
19224
19237
|
var v = "_." + f[0];
|
|
19225
19238
|
o & f[1] && !Ys(s, v) && s.push(v);
|
|
19226
19239
|
}), s.sort();
|
|
19227
19240
|
}
|
|
19228
19241
|
function vd(s) {
|
|
19229
|
-
if (s instanceof
|
|
19242
|
+
if (s instanceof Me)
|
|
19230
19243
|
return s.clone();
|
|
19231
19244
|
var o = new sr(s.__wrapped__, s.__chain__);
|
|
19232
19245
|
return o.__actions__ = $t(s.__actions__), o.__index__ = s.__index__, o.__values__ = s.__values__, o;
|
|
19233
19246
|
}
|
|
19234
19247
|
function Gx(s, o, f) {
|
|
19235
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(
|
|
19248
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(Te(o), 0);
|
|
19236
19249
|
var v = s == null ? 0 : s.length;
|
|
19237
19250
|
if (!v || o < 1)
|
|
19238
19251
|
return [];
|
|
@@ -19255,22 +19268,22 @@ Io.exports;
|
|
|
19255
19268
|
o[v - 1] = arguments[v];
|
|
19256
19269
|
return tn(ye(f) ? $t(f) : [f], At(o, 1));
|
|
19257
19270
|
}
|
|
19258
|
-
var Vx =
|
|
19271
|
+
var Vx = Ae(function(s, o) {
|
|
19259
19272
|
return ht(s) ? rs(s, At(o, 1, ht, !0)) : [];
|
|
19260
|
-
}), Xx =
|
|
19273
|
+
}), Xx = Ae(function(s, o) {
|
|
19261
19274
|
var f = ur(o);
|
|
19262
19275
|
return ht(f) && (f = r), ht(s) ? rs(s, At(o, 1, ht, !0), ae(f, 2)) : [];
|
|
19263
|
-
}), Wx =
|
|
19276
|
+
}), Wx = Ae(function(s, o) {
|
|
19264
19277
|
var f = ur(o);
|
|
19265
19278
|
return ht(f) && (f = r), ht(s) ? rs(s, At(o, 1, ht, !0), r, f) : [];
|
|
19266
19279
|
});
|
|
19267
19280
|
function jx(s, o, f) {
|
|
19268
19281
|
var v = s == null ? 0 : s.length;
|
|
19269
|
-
return v ? (o = f || o === r ? 1 :
|
|
19282
|
+
return v ? (o = f || o === r ? 1 : Te(o), or(s, o < 0 ? 0 : o, v)) : [];
|
|
19270
19283
|
}
|
|
19271
19284
|
function qx(s, o, f) {
|
|
19272
19285
|
var v = s == null ? 0 : s.length;
|
|
19273
|
-
return v ? (o = f || o === r ? 1 :
|
|
19286
|
+
return v ? (o = f || o === r ? 1 : Te(o), o = v - o, or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19274
19287
|
}
|
|
19275
19288
|
function Yx(s, o) {
|
|
19276
19289
|
return s && s.length ? va(s, ae(o, 3), !0, !0) : [];
|
|
@@ -19286,7 +19299,7 @@ Io.exports;
|
|
|
19286
19299
|
var v = s == null ? 0 : s.length;
|
|
19287
19300
|
if (!v)
|
|
19288
19301
|
return -1;
|
|
19289
|
-
var T = f == null ? 0 :
|
|
19302
|
+
var T = f == null ? 0 : Te(f);
|
|
19290
19303
|
return T < 0 && (T = vt(v + T, 0)), Ks(s, ae(o, 3), T);
|
|
19291
19304
|
}
|
|
19292
19305
|
function yd(s, o, f) {
|
|
@@ -19294,7 +19307,7 @@ Io.exports;
|
|
|
19294
19307
|
if (!v)
|
|
19295
19308
|
return -1;
|
|
19296
19309
|
var T = v - 1;
|
|
19297
|
-
return f !== r && (T =
|
|
19310
|
+
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
19311
|
}
|
|
19299
19312
|
function xd(s) {
|
|
19300
19313
|
var o = s == null ? 0 : s.length;
|
|
@@ -19306,7 +19319,7 @@ Io.exports;
|
|
|
19306
19319
|
}
|
|
19307
19320
|
function Jx(s, o) {
|
|
19308
19321
|
var f = s == null ? 0 : s.length;
|
|
19309
|
-
return f ? (o = o === r ? 1 :
|
|
19322
|
+
return f ? (o = o === r ? 1 : Te(o), At(s, o)) : [];
|
|
19310
19323
|
}
|
|
19311
19324
|
function e1(s) {
|
|
19312
19325
|
for (var o = -1, f = s == null ? 0 : s.length, v = {}; ++o < f; ) {
|
|
@@ -19322,20 +19335,20 @@ Io.exports;
|
|
|
19322
19335
|
var v = s == null ? 0 : s.length;
|
|
19323
19336
|
if (!v)
|
|
19324
19337
|
return -1;
|
|
19325
|
-
var T = f == null ? 0 :
|
|
19338
|
+
var T = f == null ? 0 : Te(f);
|
|
19326
19339
|
return T < 0 && (T = vt(v + T, 0)), ri(s, o, T);
|
|
19327
19340
|
}
|
|
19328
19341
|
function r1(s) {
|
|
19329
19342
|
var o = s == null ? 0 : s.length;
|
|
19330
19343
|
return o ? or(s, 0, -1) : [];
|
|
19331
19344
|
}
|
|
19332
|
-
var n1 =
|
|
19345
|
+
var n1 = Ae(function(s) {
|
|
19333
19346
|
var o = nt(s, ju);
|
|
19334
19347
|
return o.length && o[0] === s[0] ? Du(o) : [];
|
|
19335
|
-
}), i1 =
|
|
19348
|
+
}), i1 = Ae(function(s) {
|
|
19336
19349
|
var o = ur(s), f = nt(s, ju);
|
|
19337
19350
|
return o === ur(f) ? o = r : f.pop(), f.length && f[0] === s[0] ? Du(f, ae(o, 2)) : [];
|
|
19338
|
-
}), s1 =
|
|
19351
|
+
}), s1 = Ae(function(s) {
|
|
19339
19352
|
var o = ur(s), f = nt(s, ju);
|
|
19340
19353
|
return o = typeof o == "function" ? o : r, o && f.pop(), f.length && f[0] === s[0] ? Du(f, r, o) : [];
|
|
19341
19354
|
});
|
|
@@ -19351,12 +19364,12 @@ Io.exports;
|
|
|
19351
19364
|
if (!v)
|
|
19352
19365
|
return -1;
|
|
19353
19366
|
var T = v;
|
|
19354
|
-
return f !== r && (T =
|
|
19367
|
+
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
19368
|
}
|
|
19356
19369
|
function u1(s, o) {
|
|
19357
|
-
return s && s.length ? Of(s,
|
|
19370
|
+
return s && s.length ? Of(s, Te(o)) : r;
|
|
19358
19371
|
}
|
|
19359
|
-
var l1 =
|
|
19372
|
+
var l1 = Ae(Td);
|
|
19360
19373
|
function Td(s, o) {
|
|
19361
19374
|
return s && s.length && o && o.length ? Gu(s, o) : s;
|
|
19362
19375
|
}
|
|
@@ -19388,7 +19401,7 @@ Io.exports;
|
|
|
19388
19401
|
}
|
|
19389
19402
|
function p1(s, o, f) {
|
|
19390
19403
|
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 :
|
|
19404
|
+
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
19405
|
}
|
|
19393
19406
|
function g1(s, o) {
|
|
19394
19407
|
return ma(s, o);
|
|
@@ -19431,11 +19444,11 @@ Io.exports;
|
|
|
19431
19444
|
return o ? or(s, 1, o) : [];
|
|
19432
19445
|
}
|
|
19433
19446
|
function S1(s, o, f) {
|
|
19434
|
-
return s && s.length ? (o = f || o === r ? 1 :
|
|
19447
|
+
return s && s.length ? (o = f || o === r ? 1 : Te(o), or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19435
19448
|
}
|
|
19436
19449
|
function A1(s, o, f) {
|
|
19437
19450
|
var v = s == null ? 0 : s.length;
|
|
19438
|
-
return v ? (o = f || o === r ? 1 :
|
|
19451
|
+
return v ? (o = f || o === r ? 1 : Te(o), o = v - o, or(s, o < 0 ? 0 : o, v)) : [];
|
|
19439
19452
|
}
|
|
19440
19453
|
function E1(s, o) {
|
|
19441
19454
|
return s && s.length ? va(s, ae(o, 3), !1, !0) : [];
|
|
@@ -19443,12 +19456,12 @@ Io.exports;
|
|
|
19443
19456
|
function C1(s, o) {
|
|
19444
19457
|
return s && s.length ? va(s, ae(o, 3)) : [];
|
|
19445
19458
|
}
|
|
19446
|
-
var I1 =
|
|
19459
|
+
var I1 = Ae(function(s) {
|
|
19447
19460
|
return an(At(s, 1, ht, !0));
|
|
19448
|
-
}), R1 =
|
|
19461
|
+
}), R1 = Ae(function(s) {
|
|
19449
19462
|
var o = ur(s);
|
|
19450
19463
|
return ht(o) && (o = r), an(At(s, 1, ht, !0), ae(o, 2));
|
|
19451
|
-
}), P1 =
|
|
19464
|
+
}), P1 = Ae(function(s) {
|
|
19452
19465
|
var o = ur(s);
|
|
19453
19466
|
return o = typeof o == "function" ? o : r, an(At(s, 1, ht, !0), r, o);
|
|
19454
19467
|
});
|
|
@@ -19480,24 +19493,24 @@ Io.exports;
|
|
|
19480
19493
|
return Wt(o, r, v);
|
|
19481
19494
|
});
|
|
19482
19495
|
}
|
|
19483
|
-
var N1 =
|
|
19496
|
+
var N1 = Ae(function(s, o) {
|
|
19484
19497
|
return ht(s) ? rs(s, o) : [];
|
|
19485
|
-
}), L1 =
|
|
19498
|
+
}), L1 = Ae(function(s) {
|
|
19486
19499
|
return Wu(en(s, ht));
|
|
19487
|
-
}), k1 =
|
|
19500
|
+
}), k1 = Ae(function(s) {
|
|
19488
19501
|
var o = ur(s);
|
|
19489
19502
|
return ht(o) && (o = r), Wu(en(s, ht), ae(o, 2));
|
|
19490
|
-
}), D1 =
|
|
19503
|
+
}), D1 = Ae(function(s) {
|
|
19491
19504
|
var o = ur(s);
|
|
19492
19505
|
return o = typeof o == "function" ? o : r, Wu(en(s, ht), r, o);
|
|
19493
|
-
}), B1 =
|
|
19506
|
+
}), B1 = Ae(ul);
|
|
19494
19507
|
function U1(s, o) {
|
|
19495
19508
|
return Gf(s || [], o || [], ts);
|
|
19496
19509
|
}
|
|
19497
19510
|
function $1(s, o) {
|
|
19498
19511
|
return Gf(s || [], o || [], ss);
|
|
19499
19512
|
}
|
|
19500
|
-
var G1 =
|
|
19513
|
+
var G1 = Ae(function(s) {
|
|
19501
19514
|
var o = s.length, f = o > 1 ? s[o - 1] : r;
|
|
19502
19515
|
return f = typeof f == "function" ? (s.pop(), f) : r, wd(s, f);
|
|
19503
19516
|
});
|
|
@@ -19515,7 +19528,7 @@ Io.exports;
|
|
|
19515
19528
|
var o = s.length, f = o ? s[0] : 0, v = this.__wrapped__, T = function(A) {
|
|
19516
19529
|
return Fu(A, s);
|
|
19517
19530
|
};
|
|
19518
|
-
return o > 1 || this.__actions__.length || !(v instanceof
|
|
19531
|
+
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
19532
|
func: Ea,
|
|
19520
19533
|
args: [T],
|
|
19521
19534
|
thisArg: r
|
|
@@ -19548,9 +19561,9 @@ Io.exports;
|
|
|
19548
19561
|
}
|
|
19549
19562
|
function Y1() {
|
|
19550
19563
|
var s = this.__wrapped__;
|
|
19551
|
-
if (s instanceof
|
|
19564
|
+
if (s instanceof Me) {
|
|
19552
19565
|
var o = s;
|
|
19553
|
-
return this.__actions__.length && (o = new
|
|
19566
|
+
return this.__actions__.length && (o = new Me(this)), o = o.reverse(), o.__actions__.push({
|
|
19554
19567
|
func: Ea,
|
|
19555
19568
|
args: [ol],
|
|
19556
19569
|
thisArg: r
|
|
@@ -19562,7 +19575,7 @@ Io.exports;
|
|
|
19562
19575
|
return $f(this.__wrapped__, this.__actions__);
|
|
19563
19576
|
}
|
|
19564
19577
|
var Z1 = _a(function(s, o, f) {
|
|
19565
|
-
|
|
19578
|
+
We.call(s, f) ? ++s[f] : Gr(s, f, 1);
|
|
19566
19579
|
});
|
|
19567
19580
|
function Q1(s, o, f) {
|
|
19568
19581
|
var v = ye(s) ? Qh : Hy;
|
|
@@ -19580,7 +19593,7 @@ Io.exports;
|
|
|
19580
19593
|
return At(Ca(s, o), H);
|
|
19581
19594
|
}
|
|
19582
19595
|
function ib(s, o, f) {
|
|
19583
|
-
return f = f === r ? 1 :
|
|
19596
|
+
return f = f === r ? 1 : Te(f), At(Ca(s, o), f);
|
|
19584
19597
|
}
|
|
19585
19598
|
function Ad(s, o) {
|
|
19586
19599
|
var f = ye(s) ? nr : sn;
|
|
@@ -19591,14 +19604,14 @@ Io.exports;
|
|
|
19591
19604
|
return f(s, ae(o, 3));
|
|
19592
19605
|
}
|
|
19593
19606
|
var sb = _a(function(s, o, f) {
|
|
19594
|
-
|
|
19607
|
+
We.call(s, f) ? s[f].push(o) : Gr(s, f, [o]);
|
|
19595
19608
|
});
|
|
19596
19609
|
function ab(s, o, f, v) {
|
|
19597
|
-
s = Gt(s) ? s : pi(s), f = f && !v ?
|
|
19610
|
+
s = Gt(s) ? s : pi(s), f = f && !v ? Te(f) : 0;
|
|
19598
19611
|
var T = s.length;
|
|
19599
19612
|
return f < 0 && (f = vt(T + f, 0)), Oa(s) ? f <= T && s.indexOf(o, f) > -1 : !!T && ri(s, o, f) > -1;
|
|
19600
19613
|
}
|
|
19601
|
-
var ob =
|
|
19614
|
+
var ob = Ae(function(s, o, f) {
|
|
19602
19615
|
var v = -1, T = typeof o == "function", A = Gt(s) ? k(s.length) : [];
|
|
19603
19616
|
return sn(s, function(C) {
|
|
19604
19617
|
A[++v] = T ? Wt(o, C, f) : ns(C, o, f);
|
|
@@ -19635,7 +19648,7 @@ Io.exports;
|
|
|
19635
19648
|
return o(s);
|
|
19636
19649
|
}
|
|
19637
19650
|
function gb(s, o, f) {
|
|
19638
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
19651
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = Te(o);
|
|
19639
19652
|
var v = ye(s) ? Dy : ox;
|
|
19640
19653
|
return v(s, o);
|
|
19641
19654
|
}
|
|
@@ -19649,13 +19662,13 @@ Io.exports;
|
|
|
19649
19662
|
if (Gt(s))
|
|
19650
19663
|
return Oa(s) ? ii(s) : s.length;
|
|
19651
19664
|
var o = Rt(s);
|
|
19652
|
-
return o ==
|
|
19665
|
+
return o == Ee || o == lt ? s.size : Uu(s).length;
|
|
19653
19666
|
}
|
|
19654
19667
|
function _b(s, o, f) {
|
|
19655
19668
|
var v = ye(s) ? bu : cx;
|
|
19656
19669
|
return f && Nt(s, o, f) && (o = r), v(s, ae(o, 3));
|
|
19657
19670
|
}
|
|
19658
|
-
var yb =
|
|
19671
|
+
var yb = Ae(function(s, o) {
|
|
19659
19672
|
if (s == null)
|
|
19660
19673
|
return [];
|
|
19661
19674
|
var f = o.length;
|
|
@@ -19666,7 +19679,7 @@ Io.exports;
|
|
|
19666
19679
|
function xb(s, o) {
|
|
19667
19680
|
if (typeof o != "function")
|
|
19668
19681
|
throw new ir(u);
|
|
19669
|
-
return s =
|
|
19682
|
+
return s = Te(s), function() {
|
|
19670
19683
|
if (--s < 1)
|
|
19671
19684
|
return o.apply(this, arguments);
|
|
19672
19685
|
};
|
|
@@ -19678,18 +19691,18 @@ Io.exports;
|
|
|
19678
19691
|
var f;
|
|
19679
19692
|
if (typeof o != "function")
|
|
19680
19693
|
throw new ir(u);
|
|
19681
|
-
return s =
|
|
19694
|
+
return s = Te(s), function() {
|
|
19682
19695
|
return --s > 0 && (f = o.apply(this, arguments)), s <= 1 && (o = r), f;
|
|
19683
19696
|
};
|
|
19684
19697
|
}
|
|
19685
|
-
var ll =
|
|
19698
|
+
var ll = Ae(function(s, o, f) {
|
|
19686
19699
|
var v = b;
|
|
19687
19700
|
if (f.length) {
|
|
19688
19701
|
var T = rn(f, fi(ll));
|
|
19689
19702
|
v |= O;
|
|
19690
19703
|
}
|
|
19691
19704
|
return Hr(s, v, o, f, T);
|
|
19692
|
-
}), Rd =
|
|
19705
|
+
}), Rd = Ae(function(s, o, f) {
|
|
19693
19706
|
var v = b | x;
|
|
19694
19707
|
if (f.length) {
|
|
19695
19708
|
var T = rn(f, fi(Rd));
|
|
@@ -19717,9 +19730,9 @@ Io.exports;
|
|
|
19717
19730
|
return v = T = r, U = ft, C = s.apply(jr, mr), C;
|
|
19718
19731
|
}
|
|
19719
19732
|
function oe(ft) {
|
|
19720
|
-
return U = ft, R = us(
|
|
19733
|
+
return U = ft, R = us(Re, o), $ ? ee(ft) : C;
|
|
19721
19734
|
}
|
|
19722
|
-
function
|
|
19735
|
+
function we(ft) {
|
|
19723
19736
|
var mr = ft - M, jr = ft - U, Zd = o - mr;
|
|
19724
19737
|
return z ? It(Zd, A - jr) : Zd;
|
|
19725
19738
|
}
|
|
@@ -19727,20 +19740,20 @@ Io.exports;
|
|
|
19727
19740
|
var mr = ft - M, jr = ft - U;
|
|
19728
19741
|
return M === r || mr >= o || mr < 0 || z && jr >= A;
|
|
19729
19742
|
}
|
|
19730
|
-
function
|
|
19743
|
+
function Re() {
|
|
19731
19744
|
var ft = Ia();
|
|
19732
19745
|
if (ue(ft))
|
|
19733
|
-
return
|
|
19734
|
-
R = us(
|
|
19746
|
+
return Ne(ft);
|
|
19747
|
+
R = us(Re, we(ft));
|
|
19735
19748
|
}
|
|
19736
|
-
function
|
|
19749
|
+
function Ne(ft) {
|
|
19737
19750
|
return R = r, q && v ? ee(ft) : (v = T = r, C);
|
|
19738
19751
|
}
|
|
19739
19752
|
function Kt() {
|
|
19740
19753
|
R !== r && Hf(R), U = 0, v = M = T = R = r;
|
|
19741
19754
|
}
|
|
19742
19755
|
function Lt() {
|
|
19743
|
-
return R === r ? C :
|
|
19756
|
+
return R === r ? C : Ne(Ia());
|
|
19744
19757
|
}
|
|
19745
19758
|
function Zt() {
|
|
19746
19759
|
var ft = Ia(), mr = ue(ft);
|
|
@@ -19748,15 +19761,15 @@ Io.exports;
|
|
|
19748
19761
|
if (R === r)
|
|
19749
19762
|
return oe(M);
|
|
19750
19763
|
if (z)
|
|
19751
|
-
return Hf(R), R = us(
|
|
19764
|
+
return Hf(R), R = us(Re, o), ee(M);
|
|
19752
19765
|
}
|
|
19753
|
-
return R === r && (R = us(
|
|
19766
|
+
return R === r && (R = us(Re, o)), C;
|
|
19754
19767
|
}
|
|
19755
19768
|
return Zt.cancel = Kt, Zt.flush = Lt, Zt;
|
|
19756
19769
|
}
|
|
19757
|
-
var bb =
|
|
19770
|
+
var bb = Ae(function(s, o) {
|
|
19758
19771
|
return bf(s, 1, o);
|
|
19759
|
-
}), Tb =
|
|
19772
|
+
}), Tb = Ae(function(s, o, f) {
|
|
19760
19773
|
return bf(s, lr(o) || 0, f);
|
|
19761
19774
|
});
|
|
19762
19775
|
function wb(s) {
|
|
@@ -19799,15 +19812,15 @@ Io.exports;
|
|
|
19799
19812
|
var Ab = hx(function(s, o) {
|
|
19800
19813
|
o = o.length == 1 && ye(o[0]) ? nt(o[0], jt(ae())) : nt(At(o, 1), jt(ae()));
|
|
19801
19814
|
var f = o.length;
|
|
19802
|
-
return
|
|
19815
|
+
return Ae(function(v) {
|
|
19803
19816
|
for (var T = -1, A = It(v.length, f); ++T < A; )
|
|
19804
19817
|
v[T] = o[T].call(this, v[T]);
|
|
19805
19818
|
return Wt(s, this, v);
|
|
19806
19819
|
});
|
|
19807
|
-
}), cl =
|
|
19820
|
+
}), cl = Ae(function(s, o) {
|
|
19808
19821
|
var f = rn(o, fi(cl));
|
|
19809
19822
|
return Hr(s, O, r, o, f);
|
|
19810
|
-
}), Fd =
|
|
19823
|
+
}), Fd = Ae(function(s, o) {
|
|
19811
19824
|
var f = rn(o, fi(Fd));
|
|
19812
19825
|
return Hr(s, F, r, o, f);
|
|
19813
19826
|
}), Eb = zr(function(s, o) {
|
|
@@ -19816,12 +19829,12 @@ Io.exports;
|
|
|
19816
19829
|
function Cb(s, o) {
|
|
19817
19830
|
if (typeof s != "function")
|
|
19818
19831
|
throw new ir(u);
|
|
19819
|
-
return o = o === r ? o :
|
|
19832
|
+
return o = o === r ? o : Te(o), Ae(s, o);
|
|
19820
19833
|
}
|
|
19821
19834
|
function Ib(s, o) {
|
|
19822
19835
|
if (typeof s != "function")
|
|
19823
19836
|
throw new ir(u);
|
|
19824
|
-
return o = o == null ? 0 : vt(
|
|
19837
|
+
return o = o == null ? 0 : vt(Te(o), 0), Ae(function(f) {
|
|
19825
19838
|
var v = f[o], T = un(f, 0, o);
|
|
19826
19839
|
return v && tn(T, v), Wt(s, this, T);
|
|
19827
19840
|
});
|
|
@@ -19871,7 +19884,7 @@ Io.exports;
|
|
|
19871
19884
|
}), Rn = Ef(function() {
|
|
19872
19885
|
return arguments;
|
|
19873
19886
|
}()) ? Ef : function(s) {
|
|
19874
|
-
return ct(s) &&
|
|
19887
|
+
return ct(s) && We.call(s, "callee") && !ff.call(s, "callee");
|
|
19875
19888
|
}, ye = k.isArray, $b = Wh ? jt(Wh) : qy;
|
|
19876
19889
|
function Gt(s) {
|
|
19877
19890
|
return s != null && Ma(s.length) && !Xr(s);
|
|
@@ -19880,7 +19893,7 @@ Io.exports;
|
|
|
19880
19893
|
return ct(s) && Gt(s);
|
|
19881
19894
|
}
|
|
19882
19895
|
function Gb(s) {
|
|
19883
|
-
return s === !0 || s === !1 || ct(s) && Ft(s) ==
|
|
19896
|
+
return s === !0 || s === !1 || ct(s) && Ft(s) == Be;
|
|
19884
19897
|
}
|
|
19885
19898
|
var ln = ty || bl, Hb = jh ? jt(jh) : Yy;
|
|
19886
19899
|
function zb(s) {
|
|
@@ -19892,12 +19905,12 @@ Io.exports;
|
|
|
19892
19905
|
if (Gt(s) && (ye(s) || typeof s == "string" || typeof s.splice == "function" || ln(s) || di(s) || Rn(s)))
|
|
19893
19906
|
return !s.length;
|
|
19894
19907
|
var o = Rt(s);
|
|
19895
|
-
if (o ==
|
|
19908
|
+
if (o == Ee || o == lt)
|
|
19896
19909
|
return !s.size;
|
|
19897
19910
|
if (os(s))
|
|
19898
19911
|
return !Uu(s).length;
|
|
19899
19912
|
for (var f in s)
|
|
19900
|
-
if (
|
|
19913
|
+
if (We.call(s, f))
|
|
19901
19914
|
return !1;
|
|
19902
19915
|
return !0;
|
|
19903
19916
|
}
|
|
@@ -19913,7 +19926,7 @@ Io.exports;
|
|
|
19913
19926
|
if (!ct(s))
|
|
19914
19927
|
return !1;
|
|
19915
19928
|
var o = Ft(s);
|
|
19916
|
-
return o ==
|
|
19929
|
+
return o == Ie || o == ve || typeof s.message == "string" && typeof s.name == "string" && !ls(s);
|
|
19917
19930
|
}
|
|
19918
19931
|
function jb(s) {
|
|
19919
19932
|
return typeof s == "number" && pf(s);
|
|
@@ -19922,10 +19935,10 @@ Io.exports;
|
|
|
19922
19935
|
if (!st(s))
|
|
19923
19936
|
return !1;
|
|
19924
19937
|
var o = Ft(s);
|
|
19925
|
-
return o == Ge || o == Ke || o ==
|
|
19938
|
+
return o == Ge || o == Ke || o == xe || o == Xt;
|
|
19926
19939
|
}
|
|
19927
19940
|
function Nd(s) {
|
|
19928
|
-
return typeof s == "number" && s ==
|
|
19941
|
+
return typeof s == "number" && s == Te(s);
|
|
19929
19942
|
}
|
|
19930
19943
|
function Ma(s) {
|
|
19931
19944
|
return typeof s == "number" && s > -1 && s % 1 == 0 && s <= Q;
|
|
@@ -19949,7 +19962,7 @@ Io.exports;
|
|
|
19949
19962
|
}
|
|
19950
19963
|
function Zb(s) {
|
|
19951
19964
|
if (Nx(s))
|
|
19952
|
-
throw new
|
|
19965
|
+
throw new ge(a);
|
|
19953
19966
|
return Cf(s);
|
|
19954
19967
|
}
|
|
19955
19968
|
function Qb(s) {
|
|
@@ -19962,12 +19975,12 @@ Io.exports;
|
|
|
19962
19975
|
return typeof s == "number" || ct(s) && Ft(s) == _e;
|
|
19963
19976
|
}
|
|
19964
19977
|
function ls(s) {
|
|
19965
|
-
if (!ct(s) || Ft(s) !=
|
|
19978
|
+
if (!ct(s) || Ft(s) != ce)
|
|
19966
19979
|
return !1;
|
|
19967
19980
|
var o = ia(s);
|
|
19968
19981
|
if (o === null)
|
|
19969
19982
|
return !0;
|
|
19970
|
-
var f =
|
|
19983
|
+
var f = We.call(o, "constructor") && o.constructor;
|
|
19971
19984
|
return typeof f == "function" && f instanceof f && ea.call(f) == Y_;
|
|
19972
19985
|
}
|
|
19973
19986
|
var fl = Yh ? jt(Yh) : Qy;
|
|
@@ -20001,7 +20014,7 @@ Io.exports;
|
|
|
20001
20014
|
return Oa(s) ? dr(s) : $t(s);
|
|
20002
20015
|
if (Ki && s[Ki])
|
|
20003
20016
|
return D_(s[Ki]());
|
|
20004
|
-
var o = Rt(s), f = o ==
|
|
20017
|
+
var o = Rt(s), f = o == Ee ? Cu : o == lt ? Zs : pi;
|
|
20005
20018
|
return f(s);
|
|
20006
20019
|
}
|
|
20007
20020
|
function Wr(s) {
|
|
@@ -20009,16 +20022,16 @@ Io.exports;
|
|
|
20009
20022
|
return s === 0 ? s : 0;
|
|
20010
20023
|
if (s = lr(s), s === H || s === -H) {
|
|
20011
20024
|
var o = s < 0 ? -1 : 1;
|
|
20012
|
-
return o *
|
|
20025
|
+
return o * de;
|
|
20013
20026
|
}
|
|
20014
20027
|
return s === s ? s : 0;
|
|
20015
20028
|
}
|
|
20016
|
-
function
|
|
20029
|
+
function Te(s) {
|
|
20017
20030
|
var o = Wr(s), f = o % 1;
|
|
20018
20031
|
return o === o ? f ? o - f : o : 0;
|
|
20019
20032
|
}
|
|
20020
20033
|
function Ud(s) {
|
|
20021
|
-
return s ? An(
|
|
20034
|
+
return s ? An(Te(s), 0, j) : 0;
|
|
20022
20035
|
}
|
|
20023
20036
|
function lr(s) {
|
|
20024
20037
|
if (typeof s == "number")
|
|
@@ -20039,9 +20052,9 @@ Io.exports;
|
|
|
20039
20052
|
return Rr(s, Ht(s));
|
|
20040
20053
|
}
|
|
20041
20054
|
function aT(s) {
|
|
20042
|
-
return s ? An(
|
|
20055
|
+
return s ? An(Te(s), -Q, Q) : s === 0 ? s : 0;
|
|
20043
20056
|
}
|
|
20044
|
-
function
|
|
20057
|
+
function Ve(s) {
|
|
20045
20058
|
return s == null ? "" : qt(s);
|
|
20046
20059
|
}
|
|
20047
20060
|
var oT = ci(function(s, o) {
|
|
@@ -20050,7 +20063,7 @@ Io.exports;
|
|
|
20050
20063
|
return;
|
|
20051
20064
|
}
|
|
20052
20065
|
for (var f in o)
|
|
20053
|
-
|
|
20066
|
+
We.call(o, f) && ts(s, f, o[f]);
|
|
20054
20067
|
}), Gd = ci(function(s, o) {
|
|
20055
20068
|
Rr(o, Ht(o), s);
|
|
20056
20069
|
}), Fa = ci(function(s, o, f, v) {
|
|
@@ -20062,16 +20075,16 @@ Io.exports;
|
|
|
20062
20075
|
var f = li(s);
|
|
20063
20076
|
return o == null ? f : yf(f, o);
|
|
20064
20077
|
}
|
|
20065
|
-
var hT =
|
|
20078
|
+
var hT = Ae(function(s, o) {
|
|
20066
20079
|
s = qe(s);
|
|
20067
20080
|
var f = -1, v = o.length, T = v > 2 ? o[2] : r;
|
|
20068
20081
|
for (T && Nt(o[0], o[1], T) && (v = 1); ++f < v; )
|
|
20069
20082
|
for (var A = o[f], C = Ht(A), R = -1, M = C.length; ++R < M; ) {
|
|
20070
20083
|
var U = C[R], $ = s[U];
|
|
20071
|
-
($ === r || gr($, ai[U]) && !
|
|
20084
|
+
($ === r || gr($, ai[U]) && !We.call(s, U)) && (s[U] = A[U]);
|
|
20072
20085
|
}
|
|
20073
20086
|
return s;
|
|
20074
|
-
}), fT =
|
|
20087
|
+
}), fT = Ae(function(s) {
|
|
20075
20088
|
return s.push(r, id), Wt(Hd, r, s);
|
|
20076
20089
|
});
|
|
20077
20090
|
function dT(s, o) {
|
|
@@ -20111,8 +20124,8 @@ Io.exports;
|
|
|
20111
20124
|
var TT = Jf(function(s, o, f) {
|
|
20112
20125
|
o != null && typeof o.toString != "function" && (o = ta.call(o)), s[o] = f;
|
|
20113
20126
|
}, ml(zt)), wT = Jf(function(s, o, f) {
|
|
20114
|
-
o != null && typeof o.toString != "function" && (o = ta.call(o)),
|
|
20115
|
-
}, ae), ST =
|
|
20127
|
+
o != null && typeof o.toString != "function" && (o = ta.call(o)), We.call(s, o) ? s[o].push(f) : s[o] = [f];
|
|
20128
|
+
}, ae), ST = Ae(ns);
|
|
20116
20129
|
function yt(s) {
|
|
20117
20130
|
return Gt(s) ? vf(s) : Uu(s);
|
|
20118
20131
|
}
|
|
@@ -20225,23 +20238,23 @@ Io.exports;
|
|
|
20225
20238
|
return o = o.toLowerCase(), s + (f ? Wd(o) : o);
|
|
20226
20239
|
});
|
|
20227
20240
|
function Wd(s) {
|
|
20228
|
-
return gl(
|
|
20241
|
+
return gl(Ve(s).toLowerCase());
|
|
20229
20242
|
}
|
|
20230
20243
|
function jd(s) {
|
|
20231
|
-
return s =
|
|
20244
|
+
return s = Ve(s), s && s.replace(Vv, O_).replace(l_, "");
|
|
20232
20245
|
}
|
|
20233
20246
|
function zT(s, o, f) {
|
|
20234
|
-
s =
|
|
20247
|
+
s = Ve(s), o = qt(o);
|
|
20235
20248
|
var v = s.length;
|
|
20236
|
-
f = f === r ? v : An(
|
|
20249
|
+
f = f === r ? v : An(Te(f), 0, v);
|
|
20237
20250
|
var T = f;
|
|
20238
20251
|
return f -= o.length, f >= 0 && s.slice(f, T) == o;
|
|
20239
20252
|
}
|
|
20240
20253
|
function VT(s) {
|
|
20241
|
-
return s =
|
|
20254
|
+
return s = Ve(s), s && Sv.test(s) ? s.replace(wh, F_) : s;
|
|
20242
20255
|
}
|
|
20243
20256
|
function XT(s) {
|
|
20244
|
-
return s =
|
|
20257
|
+
return s = Ve(s), s && Pv.test(s) ? s.replace(cu, "\\$&") : s;
|
|
20245
20258
|
}
|
|
20246
20259
|
var WT = hi(function(s, o, f) {
|
|
20247
20260
|
return s + (f ? "-" : "") + o.toLowerCase();
|
|
@@ -20249,7 +20262,7 @@ Io.exports;
|
|
|
20249
20262
|
return s + (f ? " " : "") + o.toLowerCase();
|
|
20250
20263
|
}), qT = Kf("toLowerCase");
|
|
20251
20264
|
function YT(s, o, f) {
|
|
20252
|
-
s =
|
|
20265
|
+
s = Ve(s), o = Te(o);
|
|
20253
20266
|
var v = o ? ii(s) : 0;
|
|
20254
20267
|
if (!o || v >= o)
|
|
20255
20268
|
return s;
|
|
@@ -20257,63 +20270,63 @@ Io.exports;
|
|
|
20257
20270
|
return ba(ua(T), f) + s + ba(oa(T), f);
|
|
20258
20271
|
}
|
|
20259
20272
|
function KT(s, o, f) {
|
|
20260
|
-
s =
|
|
20273
|
+
s = Ve(s), o = Te(o);
|
|
20261
20274
|
var v = o ? ii(s) : 0;
|
|
20262
20275
|
return o && v < o ? s + ba(o - v, f) : s;
|
|
20263
20276
|
}
|
|
20264
20277
|
function ZT(s, o, f) {
|
|
20265
|
-
s =
|
|
20278
|
+
s = Ve(s), o = Te(o);
|
|
20266
20279
|
var v = o ? ii(s) : 0;
|
|
20267
20280
|
return o && v < o ? ba(o - v, f) + s : s;
|
|
20268
20281
|
}
|
|
20269
20282
|
function QT(s, o, f) {
|
|
20270
|
-
return f || o == null ? o = 0 : o && (o = +o), sy(
|
|
20283
|
+
return f || o == null ? o = 0 : o && (o = +o), sy(Ve(s).replace(hu, ""), o || 0);
|
|
20271
20284
|
}
|
|
20272
20285
|
function JT(s, o, f) {
|
|
20273
|
-
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
20286
|
+
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o = Te(o), zu(Ve(s), o);
|
|
20274
20287
|
}
|
|
20275
20288
|
function ew() {
|
|
20276
|
-
var s = arguments, o =
|
|
20289
|
+
var s = arguments, o = Ve(s[0]);
|
|
20277
20290
|
return s.length < 3 ? o : o.replace(s[1], s[2]);
|
|
20278
20291
|
}
|
|
20279
20292
|
var tw = hi(function(s, o, f) {
|
|
20280
20293
|
return s + (f ? "_" : "") + o.toLowerCase();
|
|
20281
20294
|
});
|
|
20282
20295
|
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 =
|
|
20296
|
+
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
20297
|
}
|
|
20285
20298
|
var nw = hi(function(s, o, f) {
|
|
20286
20299
|
return s + (f ? " " : "") + gl(o);
|
|
20287
20300
|
});
|
|
20288
20301
|
function iw(s, o, f) {
|
|
20289
|
-
return s =
|
|
20302
|
+
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
20303
|
}
|
|
20291
20304
|
function sw(s, o, f) {
|
|
20292
20305
|
var v = S.templateSettings;
|
|
20293
|
-
f && Nt(s, o, f) && (o = r), s =
|
|
20306
|
+
f && Nt(s, o, f) && (o = r), s = Ve(s), o = Fa({}, o, v, nd);
|
|
20294
20307
|
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
20308
|
(o.escape || Ws).source + "|" + $.source + "|" + ($ === Sh ? Bv : Ws).source + "|" + (o.evaluate || Ws).source + "|$",
|
|
20296
20309
|
"g"
|
|
20297
|
-
), ee = "//# sourceURL=" + (
|
|
20310
|
+
), ee = "//# sourceURL=" + (We.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++p_ + "]") + `
|
|
20298
20311
|
`;
|
|
20299
|
-
s.replace(q, function(ue,
|
|
20300
|
-
return
|
|
20301
|
-
__e(` +
|
|
20312
|
+
s.replace(q, function(ue, Re, Ne, Kt, Lt, Zt) {
|
|
20313
|
+
return Ne || (Ne = Kt), z += s.slice(U, Zt).replace(Xv, N_), Re && (R = !0, z += `' +
|
|
20314
|
+
__e(` + Re + `) +
|
|
20302
20315
|
'`), Lt && (M = !0, z += `';
|
|
20303
20316
|
` + Lt + `;
|
|
20304
|
-
__p += '`),
|
|
20305
|
-
((__t = (` +
|
|
20317
|
+
__p += '`), Ne && (z += `' +
|
|
20318
|
+
((__t = (` + Ne + `)) == null ? '' : __t) +
|
|
20306
20319
|
'`), U = Zt + ue.length, ue;
|
|
20307
20320
|
}), z += `';
|
|
20308
20321
|
`;
|
|
20309
|
-
var oe =
|
|
20322
|
+
var oe = We.call(o, "variable") && o.variable;
|
|
20310
20323
|
if (!oe)
|
|
20311
20324
|
z = `with (obj) {
|
|
20312
20325
|
` + z + `
|
|
20313
20326
|
}
|
|
20314
20327
|
`;
|
|
20315
20328
|
else if (kv.test(oe))
|
|
20316
|
-
throw new
|
|
20329
|
+
throw new ge(l);
|
|
20317
20330
|
z = (M ? z.replace(xv, "") : z).replace(bv, "$1").replace(Tv, "$1;"), z = "function(" + (oe || "obj") + `) {
|
|
20318
20331
|
` + (oe ? "" : `obj || (obj = {});
|
|
20319
20332
|
`) + "var __t, __p = ''" + (R ? ", __e = _.escape" : "") + (M ? `, __j = Array.prototype.join;
|
|
@@ -20321,21 +20334,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20321
20334
|
` : `;
|
|
20322
20335
|
`) + z + `return __p
|
|
20323
20336
|
}`;
|
|
20324
|
-
var
|
|
20337
|
+
var we = Yd(function() {
|
|
20325
20338
|
return He(A, ee + "return " + z).apply(r, C);
|
|
20326
20339
|
});
|
|
20327
|
-
if (
|
|
20328
|
-
throw
|
|
20329
|
-
return
|
|
20340
|
+
if (we.source = z, hl(we))
|
|
20341
|
+
throw we;
|
|
20342
|
+
return we;
|
|
20330
20343
|
}
|
|
20331
20344
|
function aw(s) {
|
|
20332
|
-
return
|
|
20345
|
+
return Ve(s).toLowerCase();
|
|
20333
20346
|
}
|
|
20334
20347
|
function ow(s) {
|
|
20335
|
-
return
|
|
20348
|
+
return Ve(s).toUpperCase();
|
|
20336
20349
|
}
|
|
20337
20350
|
function uw(s, o, f) {
|
|
20338
|
-
if (s =
|
|
20351
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20339
20352
|
return nf(s);
|
|
20340
20353
|
if (!s || !(o = qt(o)))
|
|
20341
20354
|
return s;
|
|
@@ -20343,7 +20356,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20343
20356
|
return un(v, A, C).join("");
|
|
20344
20357
|
}
|
|
20345
20358
|
function lw(s, o, f) {
|
|
20346
|
-
if (s =
|
|
20359
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20347
20360
|
return s.slice(0, uf(s) + 1);
|
|
20348
20361
|
if (!s || !(o = qt(o)))
|
|
20349
20362
|
return s;
|
|
@@ -20351,7 +20364,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20351
20364
|
return un(v, 0, T).join("");
|
|
20352
20365
|
}
|
|
20353
20366
|
function cw(s, o, f) {
|
|
20354
|
-
if (s =
|
|
20367
|
+
if (s = Ve(s), s && (f || o === r))
|
|
20355
20368
|
return s.replace(hu, "");
|
|
20356
20369
|
if (!s || !(o = qt(o)))
|
|
20357
20370
|
return s;
|
|
@@ -20362,9 +20375,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20362
20375
|
var f = V, v = Y;
|
|
20363
20376
|
if (st(o)) {
|
|
20364
20377
|
var T = "separator" in o ? o.separator : T;
|
|
20365
|
-
f = "length" in o ?
|
|
20378
|
+
f = "length" in o ? Te(o.length) : f, v = "omission" in o ? qt(o.omission) : v;
|
|
20366
20379
|
}
|
|
20367
|
-
s =
|
|
20380
|
+
s = Ve(s);
|
|
20368
20381
|
var A = s.length;
|
|
20369
20382
|
if (ni(s)) {
|
|
20370
20383
|
var C = dr(s);
|
|
@@ -20381,7 +20394,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20381
20394
|
if (C && (R += M.length - R), fl(T)) {
|
|
20382
20395
|
if (s.slice(R).search(T)) {
|
|
20383
20396
|
var U, $ = M;
|
|
20384
|
-
for (T.global || (T = Iu(T.source,
|
|
20397
|
+
for (T.global || (T = Iu(T.source, Ve(Ah.exec(T)) + "g")), T.lastIndex = 0; U = T.exec($); )
|
|
20385
20398
|
var z = U.index;
|
|
20386
20399
|
M = M.slice(0, z === r ? R : z);
|
|
20387
20400
|
}
|
|
@@ -20392,19 +20405,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20392
20405
|
return M + v;
|
|
20393
20406
|
}
|
|
20394
20407
|
function fw(s) {
|
|
20395
|
-
return s =
|
|
20408
|
+
return s = Ve(s), s && wv.test(s) ? s.replace(Th, G_) : s;
|
|
20396
20409
|
}
|
|
20397
20410
|
var dw = hi(function(s, o, f) {
|
|
20398
20411
|
return s + (f ? " " : "") + o.toUpperCase();
|
|
20399
20412
|
}), gl = Kf("toUpperCase");
|
|
20400
20413
|
function qd(s, o, f) {
|
|
20401
|
-
return s =
|
|
20414
|
+
return s = Ve(s), o = f ? r : o, o === r ? k_(s) ? V_(s) : C_(s) : s.match(o) || [];
|
|
20402
20415
|
}
|
|
20403
|
-
var Yd =
|
|
20416
|
+
var Yd = Ae(function(s, o) {
|
|
20404
20417
|
try {
|
|
20405
20418
|
return Wt(s, r, o);
|
|
20406
20419
|
} catch (f) {
|
|
20407
|
-
return hl(f) ? f : new
|
|
20420
|
+
return hl(f) ? f : new ge(f);
|
|
20408
20421
|
}
|
|
20409
20422
|
}), pw = zr(function(s, o) {
|
|
20410
20423
|
return nr(o, function(f) {
|
|
@@ -20417,7 +20430,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20417
20430
|
if (typeof v[1] != "function")
|
|
20418
20431
|
throw new ir(u);
|
|
20419
20432
|
return [f(v[0]), v[1]];
|
|
20420
|
-
}) : [],
|
|
20433
|
+
}) : [], Ae(function(v) {
|
|
20421
20434
|
for (var T = -1; ++T < o; ) {
|
|
20422
20435
|
var A = s[T];
|
|
20423
20436
|
if (Wt(A[0], this, v))
|
|
@@ -20449,11 +20462,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20449
20462
|
function bw(s, o) {
|
|
20450
20463
|
return Mf(s, ar(o, c));
|
|
20451
20464
|
}
|
|
20452
|
-
var Tw =
|
|
20465
|
+
var Tw = Ae(function(s, o) {
|
|
20453
20466
|
return function(f) {
|
|
20454
20467
|
return ns(f, s, o);
|
|
20455
20468
|
};
|
|
20456
|
-
}), ww =
|
|
20469
|
+
}), ww = Ae(function(s, o) {
|
|
20457
20470
|
return function(f) {
|
|
20458
20471
|
return ns(s, f, o);
|
|
20459
20472
|
};
|
|
@@ -20480,7 +20493,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20480
20493
|
function yl() {
|
|
20481
20494
|
}
|
|
20482
20495
|
function Aw(s) {
|
|
20483
|
-
return s =
|
|
20496
|
+
return s = Te(s), Ae(function(o) {
|
|
20484
20497
|
return Of(o, s);
|
|
20485
20498
|
});
|
|
20486
20499
|
}
|
|
@@ -20510,7 +20523,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20510
20523
|
return !0;
|
|
20511
20524
|
}
|
|
20512
20525
|
function Lw(s, o) {
|
|
20513
|
-
if (s =
|
|
20526
|
+
if (s = Te(s), s < 1 || s > Q)
|
|
20514
20527
|
return [];
|
|
20515
20528
|
var f = j, v = It(s, j);
|
|
20516
20529
|
o = ae(o), s -= j;
|
|
@@ -20519,11 +20532,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20519
20532
|
return T;
|
|
20520
20533
|
}
|
|
20521
20534
|
function kw(s) {
|
|
20522
|
-
return ye(s) ? nt(s, Pr) : Yt(s) ? [s] : $t(md(
|
|
20535
|
+
return ye(s) ? nt(s, Pr) : Yt(s) ? [s] : $t(md(Ve(s)));
|
|
20523
20536
|
}
|
|
20524
20537
|
function Dw(s) {
|
|
20525
20538
|
var o = ++q_;
|
|
20526
|
-
return
|
|
20539
|
+
return Ve(s) + o;
|
|
20527
20540
|
}
|
|
20528
20541
|
var Bw = xa(function(s, o) {
|
|
20529
20542
|
return s + o;
|
|
@@ -20559,27 +20572,27 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20559
20572
|
function Qw(s, o) {
|
|
20560
20573
|
return s && s.length ? Su(s, ae(o, 2)) : 0;
|
|
20561
20574
|
}
|
|
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 =
|
|
20575
|
+
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
20576
|
var s = {};
|
|
20564
20577
|
return Ir(S, function(o, f) {
|
|
20565
|
-
|
|
20578
|
+
We.call(S.prototype, f) || (s[f] = o);
|
|
20566
20579
|
}), s;
|
|
20567
20580
|
}(), { chain: !1 }), S.VERSION = n, nr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(s) {
|
|
20568
20581
|
S[s].placeholder = S;
|
|
20569
20582
|
}), nr(["drop", "take"], function(s, o) {
|
|
20570
|
-
|
|
20571
|
-
f = f === r ? 1 : vt(
|
|
20572
|
-
var v = this.__filtered__ && !o ? new
|
|
20583
|
+
Me.prototype[s] = function(f) {
|
|
20584
|
+
f = f === r ? 1 : vt(Te(f), 0);
|
|
20585
|
+
var v = this.__filtered__ && !o ? new Me(this) : this.clone();
|
|
20573
20586
|
return v.__filtered__ ? v.__takeCount__ = It(f, v.__takeCount__) : v.__views__.push({
|
|
20574
20587
|
size: It(f, j),
|
|
20575
20588
|
type: s + (v.__dir__ < 0 ? "Right" : "")
|
|
20576
20589
|
}), v;
|
|
20577
|
-
},
|
|
20590
|
+
}, Me.prototype[s + "Right"] = function(f) {
|
|
20578
20591
|
return this.reverse()[s](f).reverse();
|
|
20579
20592
|
};
|
|
20580
20593
|
}), nr(["filter", "map", "takeWhile"], function(s, o) {
|
|
20581
20594
|
var f = o + 1, v = f == G || f == re;
|
|
20582
|
-
|
|
20595
|
+
Me.prototype[s] = function(T) {
|
|
20583
20596
|
var A = this.clone();
|
|
20584
20597
|
return A.__iteratees__.push({
|
|
20585
20598
|
iteratee: ae(T, 3),
|
|
@@ -20588,49 +20601,49 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20588
20601
|
};
|
|
20589
20602
|
}), nr(["head", "last"], function(s, o) {
|
|
20590
20603
|
var f = "take" + (o ? "Right" : "");
|
|
20591
|
-
|
|
20604
|
+
Me.prototype[s] = function() {
|
|
20592
20605
|
return this[f](1).value()[0];
|
|
20593
20606
|
};
|
|
20594
20607
|
}), nr(["initial", "tail"], function(s, o) {
|
|
20595
20608
|
var f = "drop" + (o ? "" : "Right");
|
|
20596
|
-
|
|
20597
|
-
return this.__filtered__ ? new
|
|
20609
|
+
Me.prototype[s] = function() {
|
|
20610
|
+
return this.__filtered__ ? new Me(this) : this[f](1);
|
|
20598
20611
|
};
|
|
20599
|
-
}),
|
|
20612
|
+
}), Me.prototype.compact = function() {
|
|
20600
20613
|
return this.filter(zt);
|
|
20601
|
-
},
|
|
20614
|
+
}, Me.prototype.find = function(s) {
|
|
20602
20615
|
return this.filter(s).head();
|
|
20603
|
-
},
|
|
20616
|
+
}, Me.prototype.findLast = function(s) {
|
|
20604
20617
|
return this.reverse().find(s);
|
|
20605
|
-
},
|
|
20606
|
-
return typeof s == "function" ? new
|
|
20618
|
+
}, Me.prototype.invokeMap = Ae(function(s, o) {
|
|
20619
|
+
return typeof s == "function" ? new Me(this) : this.map(function(f) {
|
|
20607
20620
|
return ns(f, s, o);
|
|
20608
20621
|
});
|
|
20609
|
-
}),
|
|
20622
|
+
}), Me.prototype.reject = function(s) {
|
|
20610
20623
|
return this.filter(Pa(ae(s)));
|
|
20611
|
-
},
|
|
20612
|
-
s =
|
|
20624
|
+
}, Me.prototype.slice = function(s, o) {
|
|
20625
|
+
s = Te(s);
|
|
20613
20626
|
var f = this;
|
|
20614
|
-
return f.__filtered__ && (s > 0 || o < 0) ? new
|
|
20615
|
-
},
|
|
20627
|
+
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);
|
|
20628
|
+
}, Me.prototype.takeRightWhile = function(s) {
|
|
20616
20629
|
return this.reverse().takeWhile(s).reverse();
|
|
20617
|
-
},
|
|
20630
|
+
}, Me.prototype.toArray = function() {
|
|
20618
20631
|
return this.take(j);
|
|
20619
|
-
}, Ir(
|
|
20632
|
+
}, Ir(Me.prototype, function(s, o) {
|
|
20620
20633
|
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
20634
|
T && (S.prototype[o] = function() {
|
|
20622
|
-
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof
|
|
20623
|
-
var
|
|
20624
|
-
return v && q ?
|
|
20635
|
+
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof Me, U = R[0], $ = M || ye(C), z = function(Re) {
|
|
20636
|
+
var Ne = T.apply(S, tn([Re], R));
|
|
20637
|
+
return v && q ? Ne[0] : Ne;
|
|
20625
20638
|
};
|
|
20626
20639
|
$ && f && typeof U == "function" && U.length != 1 && (M = $ = !1);
|
|
20627
|
-
var q = this.__chain__, ee = !!this.__actions__.length, oe = A && !q,
|
|
20640
|
+
var q = this.__chain__, ee = !!this.__actions__.length, oe = A && !q, we = M && !ee;
|
|
20628
20641
|
if (!A && $) {
|
|
20629
|
-
C =
|
|
20642
|
+
C = we ? C : new Me(this);
|
|
20630
20643
|
var ue = s.apply(C, R);
|
|
20631
20644
|
return ue.__actions__.push({ func: Ea, args: [z], thisArg: r }), new sr(ue, q);
|
|
20632
20645
|
}
|
|
20633
|
-
return oe &&
|
|
20646
|
+
return oe && we ? s.apply(this, R) : (ue = this.thru(z), oe ? v ? ue.value()[0] : ue.value() : ue);
|
|
20634
20647
|
});
|
|
20635
20648
|
}), nr(["pop", "push", "shift", "sort", "splice", "unshift"], function(s) {
|
|
20636
20649
|
var o = Qs[s], f = /^(?:push|sort|unshift)$/.test(s) ? "tap" : "thru", v = /^(?:pop|shift)$/.test(s);
|
|
@@ -20644,16 +20657,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20644
20657
|
return o.apply(ye(C) ? C : [], T);
|
|
20645
20658
|
});
|
|
20646
20659
|
};
|
|
20647
|
-
}), Ir(
|
|
20660
|
+
}), Ir(Me.prototype, function(s, o) {
|
|
20648
20661
|
var f = S[o];
|
|
20649
20662
|
if (f) {
|
|
20650
20663
|
var v = f.name + "";
|
|
20651
|
-
|
|
20664
|
+
We.call(ui, v) || (ui[v] = []), ui[v].push({ name: o, func: f });
|
|
20652
20665
|
}
|
|
20653
20666
|
}), ui[ya(r, x).name] = [{
|
|
20654
20667
|
name: "wrapper",
|
|
20655
20668
|
func: r
|
|
20656
|
-
}],
|
|
20669
|
+
}], 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
20670
|
}, si = X_();
|
|
20658
20671
|
bn ? ((bn.exports = si)._ = si, vu._ = si) : St._ = si;
|
|
20659
20672
|
}).call(Et);
|
|
@@ -20671,7 +20684,7 @@ const s5 = {
|
|
|
20671
20684
|
totalFrames: 0,
|
|
20672
20685
|
totalDuration: 0
|
|
20673
20686
|
}, 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 =
|
|
20687
|
+
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
20688
|
src: E,
|
|
20676
20689
|
startAt: w,
|
|
20677
20690
|
endAt: I,
|
|
@@ -20686,11 +20699,11 @@ const s5 = {
|
|
|
20686
20699
|
temperatureFilter: re,
|
|
20687
20700
|
sharpnessFilter: H,
|
|
20688
20701
|
hueFilter: Q,
|
|
20689
|
-
blurFilter:
|
|
20702
|
+
blurFilter: de,
|
|
20690
20703
|
adjustmentFilter: W,
|
|
20691
20704
|
vignetteFilter: j,
|
|
20692
20705
|
noiseFilter: le
|
|
20693
|
-
} = Zn(G), { blurRadius:
|
|
20706
|
+
} = Zn(G), { blurRadius: he = 0, vignette: pe = 0, noise: be = 0 } = G, Se = 0.1;
|
|
20694
20707
|
r5(E, p), pt(Qe.PAUSE, () => {
|
|
20695
20708
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20696
20709
|
}), pt(Qe.SEEK_END, () => {
|
|
@@ -20701,64 +20714,64 @@ const s5 = {
|
|
|
20701
20714
|
d.current && m.current && (y.current ? (m.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
|
|
20702
20715
|
}, [y]), te.useEffect(() => {
|
|
20703
20716
|
if (!Hs(b)) {
|
|
20704
|
-
const
|
|
20705
|
-
const { data:
|
|
20717
|
+
const Ee = SB(b, (ce) => {
|
|
20718
|
+
const { data: Fe, width: Xt, height: Ut } = ce, lt = new Uint8Array(Fe);
|
|
20706
20719
|
return er.Texture.fromBuffer(lt, Xt, Ut);
|
|
20707
|
-
}), _e =
|
|
20708
|
-
(
|
|
20709
|
-
texture:
|
|
20710
|
-
time: x[
|
|
20720
|
+
}), _e = Ee.map(
|
|
20721
|
+
(ce, Fe) => ({
|
|
20722
|
+
texture: ce,
|
|
20723
|
+
time: x[Fe]
|
|
20711
20724
|
})
|
|
20712
20725
|
);
|
|
20713
|
-
n(
|
|
20726
|
+
n(Ee), u(_e);
|
|
20714
20727
|
let rt = 0;
|
|
20715
|
-
x.forEach((
|
|
20716
|
-
rt +=
|
|
20728
|
+
x.forEach((ce) => {
|
|
20729
|
+
rt += ce * 10;
|
|
20717
20730
|
}), i(rt), d.current.totalDuration = rt, d.current.totalFrames = b.length;
|
|
20718
20731
|
}
|
|
20719
20732
|
}, [b, x]);
|
|
20720
|
-
const
|
|
20733
|
+
const xe = sm.debounce((Ee) => {
|
|
20721
20734
|
if (m.current) {
|
|
20722
|
-
let _e =
|
|
20735
|
+
let _e = Ee === 0 ? 0 : Ee / Se;
|
|
20723
20736
|
_e = isNaN(_e) ? 0 : _e;
|
|
20724
20737
|
const rt = d.current.totalFrames;
|
|
20725
20738
|
_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
20739
|
}
|
|
20727
|
-
}, 20),
|
|
20740
|
+
}, 20), Be = sm.debounce(() => {
|
|
20728
20741
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20729
|
-
}, 50),
|
|
20742
|
+
}, 50), ze = (Ee) => {
|
|
20730
20743
|
if (m.current) {
|
|
20731
|
-
let _e =
|
|
20744
|
+
let _e = Ee === 0 ? 0 : Ee / Se;
|
|
20732
20745
|
_e = isNaN(_e) ? 0 : _e;
|
|
20733
20746
|
const rt = d.current.totalFrames;
|
|
20734
20747
|
_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
20748
|
}
|
|
20736
|
-
},
|
|
20749
|
+
}, ve = () => {
|
|
20737
20750
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20738
|
-
},
|
|
20751
|
+
}, Ie = () => {
|
|
20739
20752
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20740
|
-
}, Ge = (
|
|
20753
|
+
}, Ge = (Ee) => {
|
|
20741
20754
|
var rt;
|
|
20742
|
-
const _e =
|
|
20743
|
-
m.current && y.current ? (
|
|
20755
|
+
const _e = Ee + ((rt = g.current) == null ? void 0 : rt.time());
|
|
20756
|
+
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
20757
|
}, Ke = () => {
|
|
20745
20758
|
l(!0);
|
|
20746
20759
|
};
|
|
20747
20760
|
return jn(() => {
|
|
20748
|
-
let
|
|
20761
|
+
let Ee = J.context(() => {
|
|
20749
20762
|
});
|
|
20750
20763
|
if (c.current && _.current) {
|
|
20751
20764
|
const _e = {
|
|
20752
20765
|
duration: Number(F) - Number(O),
|
|
20753
|
-
onStart:
|
|
20754
|
-
onComplete:
|
|
20766
|
+
onStart: ze,
|
|
20767
|
+
onComplete: ve,
|
|
20755
20768
|
onStartParams: [O, F],
|
|
20756
20769
|
onCompleteParams: [],
|
|
20757
|
-
onInterrupt:
|
|
20770
|
+
onInterrupt: Ie,
|
|
20758
20771
|
onUpdate: Ge,
|
|
20759
20772
|
onUpdateParams: [O, F]
|
|
20760
20773
|
};
|
|
20761
|
-
g.current && g.current.kill(),
|
|
20774
|
+
g.current && g.current.kill(), Ee = J.context(() => {
|
|
20762
20775
|
g.current = J.from(
|
|
20763
20776
|
c.current,
|
|
20764
20777
|
// @ts-ignore
|
|
@@ -20768,16 +20781,16 @@ const s5 = {
|
|
|
20768
20781
|
});
|
|
20769
20782
|
}
|
|
20770
20783
|
return () => {
|
|
20771
|
-
g.current && (g.current.kill(), J.killTweensOf(g.current)),
|
|
20784
|
+
g.current && (g.current.kill(), J.killTweensOf(g.current)), Ee.revert();
|
|
20772
20785
|
};
|
|
20773
|
-
}, [w, I, O, F]), /* @__PURE__ */
|
|
20786
|
+
}, [w, I, O, F]), /* @__PURE__ */ Ce.jsx(
|
|
20774
20787
|
mn,
|
|
20775
20788
|
{
|
|
20776
20789
|
...t,
|
|
20777
20790
|
ref: e,
|
|
20778
20791
|
ignoreTlForVideo: !0,
|
|
20779
20792
|
isGif: !0,
|
|
20780
|
-
children: /* @__PURE__ */
|
|
20793
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: c, children: r && r.length > 0 && /* @__PURE__ */ Ce.jsx(
|
|
20781
20794
|
i5,
|
|
20782
20795
|
{
|
|
20783
20796
|
x: se,
|
|
@@ -20798,11 +20811,11 @@ const s5 = {
|
|
|
20798
20811
|
Q,
|
|
20799
20812
|
W,
|
|
20800
20813
|
// conditionally add blur filter
|
|
20801
|
-
...
|
|
20814
|
+
...he > 0 ? [de] : [],
|
|
20802
20815
|
// conditionally add vignette filter
|
|
20803
|
-
...
|
|
20816
|
+
...pe > 0 ? [j] : [],
|
|
20804
20817
|
// conditionally add noise filter
|
|
20805
|
-
...
|
|
20818
|
+
...be > 0 ? [le] : []
|
|
20806
20819
|
]
|
|
20807
20820
|
}
|
|
20808
20821
|
) })
|
|
@@ -20814,7 +20827,7 @@ a5.whyDidYouRender = {
|
|
|
20814
20827
|
customName: "PixiGifSprite"
|
|
20815
20828
|
};
|
|
20816
20829
|
const oU = te.forwardRef((t, e) => {
|
|
20817
|
-
const n =
|
|
20830
|
+
const n = me(null), i = me(0), a = me(null), u = me(null), l = me(16), h = me(null), {
|
|
20818
20831
|
visible: p,
|
|
20819
20832
|
text: m,
|
|
20820
20833
|
disabled: c,
|
|
@@ -20848,22 +20861,22 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20848
20861
|
colorCorrection: H = {}
|
|
20849
20862
|
} = d, {
|
|
20850
20863
|
temperatureFilter: Q,
|
|
20851
|
-
sharpnessFilter:
|
|
20864
|
+
sharpnessFilter: de,
|
|
20852
20865
|
hueFilter: W,
|
|
20853
20866
|
blurFilter: j,
|
|
20854
20867
|
adjustmentFilter: le
|
|
20855
|
-
} = Zn(H), { blurRadius:
|
|
20868
|
+
} = Zn(H), { blurRadius: he = 0 } = H;
|
|
20856
20869
|
te.useEffect(() => {
|
|
20857
20870
|
l.current = Number(I);
|
|
20858
20871
|
}, [I]);
|
|
20859
|
-
const
|
|
20872
|
+
const pe = ["italic", "oblique"].includes(w) ? w : void 0, be = ["small-caps"].includes(O), Se = [
|
|
20860
20873
|
"bold",
|
|
20861
20874
|
"bolder",
|
|
20862
20875
|
"lighter",
|
|
20863
20876
|
"100",
|
|
20864
20877
|
"200",
|
|
20865
20878
|
"300"
|
|
20866
|
-
].includes(E) ? E : void 0,
|
|
20879
|
+
].includes(E) ? E : void 0, xe = Number(re) > 0 ? re : void 0, Be = te.useMemo(() => new er.TextStyle({
|
|
20867
20880
|
fontFamily: x,
|
|
20868
20881
|
fontSize: I,
|
|
20869
20882
|
fill: F || "white",
|
|
@@ -20872,16 +20885,16 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20872
20885
|
stroke: N,
|
|
20873
20886
|
strokeThickness: L
|
|
20874
20887
|
},
|
|
20875
|
-
...
|
|
20876
|
-
fontStyle:
|
|
20888
|
+
...pe && {
|
|
20889
|
+
fontStyle: pe
|
|
20877
20890
|
},
|
|
20878
|
-
...
|
|
20879
|
-
fontVariant:
|
|
20891
|
+
...be && {
|
|
20892
|
+
fontVariant: be
|
|
20880
20893
|
},
|
|
20881
20894
|
...Se && {
|
|
20882
20895
|
fontWeight: Se
|
|
20883
20896
|
},
|
|
20884
|
-
...
|
|
20897
|
+
...xe && { letterSpacing: xe },
|
|
20885
20898
|
...V && {
|
|
20886
20899
|
dropShadow: !0,
|
|
20887
20900
|
dropShadowBlur: Number(D),
|
|
@@ -20909,10 +20922,10 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20909
20922
|
I,
|
|
20910
20923
|
w,
|
|
20911
20924
|
ie,
|
|
20912
|
-
|
|
20925
|
+
pe,
|
|
20913
20926
|
Se,
|
|
20914
|
-
|
|
20915
|
-
|
|
20927
|
+
be,
|
|
20928
|
+
xe,
|
|
20916
20929
|
Y,
|
|
20917
20930
|
N,
|
|
20918
20931
|
L,
|
|
@@ -20925,23 +20938,23 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20925
20938
|
...d
|
|
20926
20939
|
};
|
|
20927
20940
|
}, [d]);
|
|
20928
|
-
const
|
|
20929
|
-
const
|
|
20930
|
-
|
|
20931
|
-
},
|
|
20941
|
+
const ze = () => {
|
|
20942
|
+
const Ie = (/* @__PURE__ */ new Date()).getTime();
|
|
20943
|
+
Ie - i.current < 300 && _ ? _() : g && g(), i.current = Ie;
|
|
20944
|
+
}, ve = () => {
|
|
20932
20945
|
!c && _ && _();
|
|
20933
20946
|
};
|
|
20934
|
-
return /* @__PURE__ */
|
|
20947
|
+
return /* @__PURE__ */ Ce.jsx(
|
|
20935
20948
|
mn,
|
|
20936
20949
|
{
|
|
20937
20950
|
...t,
|
|
20938
20951
|
ref: e,
|
|
20939
20952
|
isText: !0,
|
|
20940
|
-
onDoubleClick:
|
|
20941
|
-
children: /* @__PURE__ */
|
|
20953
|
+
onDoubleClick: ve,
|
|
20954
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(wt, { alpha: 1, ref: u, children: /* @__PURE__ */ Ce.jsx(
|
|
20942
20955
|
iS,
|
|
20943
20956
|
{
|
|
20944
|
-
style:
|
|
20957
|
+
style: Be,
|
|
20945
20958
|
x: y,
|
|
20946
20959
|
y: b,
|
|
20947
20960
|
anchor: 0.5,
|
|
@@ -20950,16 +20963,16 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20950
20963
|
...p && !c && {
|
|
20951
20964
|
interactive: !0,
|
|
20952
20965
|
buttonMode: !0,
|
|
20953
|
-
pointerdown:
|
|
20966
|
+
pointerdown: ze
|
|
20954
20967
|
},
|
|
20955
20968
|
ref: a,
|
|
20956
20969
|
filters: [
|
|
20957
20970
|
Q,
|
|
20958
|
-
|
|
20971
|
+
de,
|
|
20959
20972
|
W,
|
|
20960
20973
|
le,
|
|
20961
20974
|
// conditionally add blur filter
|
|
20962
|
-
...
|
|
20975
|
+
...he > 0 ? [j] : []
|
|
20963
20976
|
]
|
|
20964
20977
|
}
|
|
20965
20978
|
) }) })
|
|
@@ -21077,7 +21090,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21077
21090
|
isDragging: !1,
|
|
21078
21091
|
timeDiff: 0
|
|
21079
21092
|
}, O5 = te.forwardRef((t, e) => {
|
|
21080
|
-
const [r, n] = te.useState(0), [i, a] = te.useState(), u =
|
|
21093
|
+
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
21094
|
uniqueId: c,
|
|
21082
21095
|
mute: d = !1,
|
|
21083
21096
|
src: g,
|
|
@@ -21095,17 +21108,17 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21095
21108
|
pointerover: se = () => {
|
|
21096
21109
|
},
|
|
21097
21110
|
fps: X = 0
|
|
21098
|
-
} = t, { tl: G, dragModeRef: ie, isRemotion: re } = Ui(qn), { onPointerDown: H, onPointerOut: Q, onPointerOver:
|
|
21099
|
-
temperatureFilter:
|
|
21100
|
-
sharpnessFilter:
|
|
21101
|
-
hueFilter:
|
|
21111
|
+
} = 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, {
|
|
21112
|
+
temperatureFilter: he,
|
|
21113
|
+
sharpnessFilter: pe,
|
|
21114
|
+
hueFilter: be,
|
|
21102
21115
|
blurFilter: Se,
|
|
21103
|
-
adjustmentFilter:
|
|
21104
|
-
vignetteFilter:
|
|
21105
|
-
noiseFilter:
|
|
21106
|
-
} = Zn(D),
|
|
21107
|
-
const
|
|
21108
|
-
return
|
|
21116
|
+
adjustmentFilter: xe,
|
|
21117
|
+
vignetteFilter: Be,
|
|
21118
|
+
noiseFilter: ze
|
|
21119
|
+
} = Zn(D), ve = g || "", Ie = te.useMemo(() => {
|
|
21120
|
+
const ce = document.createElement("video");
|
|
21121
|
+
return ce.src = g, ce.crossOrigin = "Anonymus", ce.autoplay = !1, ce.currentTime = b === 0 ? 1e-3 : b, ce;
|
|
21109
21122
|
}, [g, b]);
|
|
21110
21123
|
pt(Qe.PAUSE, () => {
|
|
21111
21124
|
h.current && (h.current.pause(), p.current.isPlaying = !1);
|
|
@@ -21117,8 +21130,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21117
21130
|
const Ge = te.useCallback(
|
|
21118
21131
|
fo(() => {
|
|
21119
21132
|
if (h.current) {
|
|
21120
|
-
const
|
|
21121
|
-
|
|
21133
|
+
const ce = h.current;
|
|
21134
|
+
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && h.current.pause(), p.current.isPlaying = !1;
|
|
21122
21135
|
}
|
|
21123
21136
|
}, 400),
|
|
21124
21137
|
[h]
|
|
@@ -21126,41 +21139,41 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21126
21139
|
te.useEffect(() => {
|
|
21127
21140
|
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
21141
|
}, [d, ie, Ge, h]);
|
|
21129
|
-
const Ke = (
|
|
21142
|
+
const Ke = (ce) => {
|
|
21130
21143
|
if (h.current) {
|
|
21131
|
-
if (h.current.currentTime = Number(
|
|
21132
|
-
const
|
|
21144
|
+
if (h.current.currentTime = Number(ce), !ie.current) {
|
|
21145
|
+
const Fe = h.current, Xt = Fe.currentTime > 0 && !Fe.paused && !Fe.ended && Fe.readyState > Fe.HAVE_CURRENT_DATA;
|
|
21133
21146
|
G.current && G.current.isActive() && m.current && m.current.isActive() && (Xt || h.current.play(), p.current.isPlaying = !0, n((Ut) => Ut + 1));
|
|
21134
21147
|
}
|
|
21135
21148
|
p.current.progress = 0;
|
|
21136
21149
|
}
|
|
21137
|
-
},
|
|
21150
|
+
}, Ee = () => {
|
|
21138
21151
|
if (h.current) {
|
|
21139
|
-
const
|
|
21140
|
-
|
|
21152
|
+
const ce = h.current;
|
|
21153
|
+
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
21154
|
}
|
|
21142
21155
|
}, _e = () => {
|
|
21143
21156
|
}, rt = () => {
|
|
21144
|
-
var
|
|
21157
|
+
var ce, Fe;
|
|
21145
21158
|
if (m.current && (p.current.progress = m.current.progress()), h.current && m.current) {
|
|
21146
|
-
const Xt = b + ((
|
|
21159
|
+
const Xt = b + ((ce = m == null ? void 0 : m.current) == null ? void 0 : ce.time()), Ut = Math.abs(
|
|
21147
21160
|
h.current.currentTime - Xt
|
|
21148
21161
|
), lt = h.current, tr = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
|
|
21149
21162
|
ie.current ? (h.current.currentTime = Xt, setTimeout(() => {
|
|
21150
21163
|
h.current && h.current.play().then(() => {
|
|
21151
21164
|
p.current.isPlaying = !1, h.current && h.current.pause();
|
|
21152
21165
|
});
|
|
21153
|
-
}, 100), p.current.isPlaying = !1) : (tr !== p.current.isPlaying || !tr) && p.current.progress > 0.01 && p.current.progress < 0.99 ? (
|
|
21166
|
+
}, 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
21167
|
}
|
|
21155
21168
|
};
|
|
21156
21169
|
return jn(() => {
|
|
21157
|
-
let
|
|
21170
|
+
let ce = J.context(() => {
|
|
21158
21171
|
});
|
|
21159
21172
|
if (l.current && G.current) {
|
|
21160
|
-
const
|
|
21173
|
+
const Fe = {
|
|
21161
21174
|
duration: Number(x) - Number(b),
|
|
21162
21175
|
onStart: Ke,
|
|
21163
|
-
onComplete:
|
|
21176
|
+
onComplete: Ee,
|
|
21164
21177
|
onStartParams: [b, x],
|
|
21165
21178
|
onCompleteParams: [],
|
|
21166
21179
|
onInterrupt: _e,
|
|
@@ -21182,23 +21195,23 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21182
21195
|
console.log("onKill video sprite kill", c);
|
|
21183
21196
|
}
|
|
21184
21197
|
};
|
|
21185
|
-
|
|
21198
|
+
ce = J.context(() => {
|
|
21186
21199
|
m.current = J.from(
|
|
21187
21200
|
l.current,
|
|
21188
21201
|
// @ts-ignore
|
|
21189
|
-
|
|
21202
|
+
Fe,
|
|
21190
21203
|
b
|
|
21191
21204
|
), G.current.add(m.current, _);
|
|
21192
21205
|
});
|
|
21193
21206
|
}
|
|
21194
21207
|
return () => {
|
|
21195
|
-
m.current && (m.current.kill(), J.killTweensOf(m.current)),
|
|
21208
|
+
m.current && (m.current.kill(), J.killTweensOf(m.current)), ce.revert();
|
|
21196
21209
|
};
|
|
21197
21210
|
}, [L, _, y, b, x]), te.useEffect(() => {
|
|
21198
21211
|
h.current && (h.current.muted = d);
|
|
21199
21212
|
}, [d]), te.useEffect(() => {
|
|
21200
|
-
const
|
|
21201
|
-
h.current && (h.current.currentTime =
|
|
21213
|
+
const ce = Math.round((Number(b) + Number.EPSILON) * 100) / 100, Fe = function() {
|
|
21214
|
+
h.current && (h.current.currentTime = ce);
|
|
21202
21215
|
}, Xt = function() {
|
|
21203
21216
|
if (h.current) {
|
|
21204
21217
|
const fr = h.current;
|
|
@@ -21211,8 +21224,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21211
21224
|
p.current.isWaiting = !1, p.current.isStalled = !1;
|
|
21212
21225
|
}, tr = function() {
|
|
21213
21226
|
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(
|
|
21227
|
+
}, Qn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, xn = `${ve}#t=${Qn},${eu}`;
|
|
21228
|
+
return er.Texture.fromLoader(Ie, xn, c, {
|
|
21216
21229
|
pixiIdPrefix: c,
|
|
21217
21230
|
resourceOptions: {
|
|
21218
21231
|
autoPlay: !1,
|
|
@@ -21220,44 +21233,44 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21220
21233
|
updateFPS: X ? Math.max(120, Number(X)) : 30
|
|
21221
21234
|
}
|
|
21222
21235
|
}).then((fr) => {
|
|
21223
|
-
fr && (a(fr), h.current = fr.baseTexture.resource.source, h.current.id = c, h.current.addEventListener("loadedmetadata",
|
|
21236
|
+
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
21237
|
}), () => {
|
|
21225
|
-
h.current && (h.current.pause(), h.current.removeEventListener("loadedmetadata",
|
|
21238
|
+
h.current && (h.current.pause(), h.current.removeEventListener("loadedmetadata", Fe), h.current.removeEventListener("ended", Xt), h.current.removeEventListener("loadstart", Ut), h.current.removeEventListener(
|
|
21226
21239
|
"canplaythrough",
|
|
21227
21240
|
lt
|
|
21228
21241
|
), h.current.removeEventListener("stalled", tr));
|
|
21229
21242
|
};
|
|
21230
|
-
}, [
|
|
21231
|
-
const
|
|
21243
|
+
}, [ve, c, b, x, Ie]), te.useEffect(() => {
|
|
21244
|
+
const ce = setTimeout(() => {
|
|
21232
21245
|
i && m.current && G.current && m.current.progress() < 0.1 && h.current && !m.current.isActive() && !re && h.current.play().then(() => {
|
|
21233
21246
|
p.current.isPlaying = !1, h.current && h.current.pause();
|
|
21234
21247
|
});
|
|
21235
21248
|
}, 30);
|
|
21236
21249
|
return () => {
|
|
21237
|
-
clearTimeout(
|
|
21250
|
+
clearTimeout(ce);
|
|
21238
21251
|
};
|
|
21239
21252
|
}, [i]), te.useEffect(() => {
|
|
21240
21253
|
G.current && !G.current.isActive() && !re && (p.current.isPlaying = !1, h.current && h.current.pause());
|
|
21241
|
-
const
|
|
21254
|
+
const ce = setTimeout(() => {
|
|
21242
21255
|
if (i && G.current && r > 0 && !re) {
|
|
21243
21256
|
G.current.isActive() || (p.current.isPlaying = !1, h.current && h.current.pause());
|
|
21244
|
-
const
|
|
21245
|
-
|
|
21257
|
+
const Fe = h.current;
|
|
21258
|
+
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
21259
|
}
|
|
21247
21260
|
}, 10);
|
|
21248
21261
|
return () => {
|
|
21249
|
-
clearTimeout(
|
|
21262
|
+
clearTimeout(ce);
|
|
21250
21263
|
};
|
|
21251
|
-
}, [r, i]), /* @__PURE__ */
|
|
21264
|
+
}, [r, i]), /* @__PURE__ */ Ce.jsx(
|
|
21252
21265
|
mn,
|
|
21253
21266
|
{
|
|
21254
21267
|
...t,
|
|
21255
21268
|
ref: e,
|
|
21256
21269
|
ignoreTlForVideo: !0,
|
|
21257
21270
|
pointerdown: H,
|
|
21258
|
-
pointerover:
|
|
21271
|
+
pointerover: de,
|
|
21259
21272
|
pointerout: Q,
|
|
21260
|
-
children: /* @__PURE__ */
|
|
21273
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: l, children: i && /* @__PURE__ */ Ce.jsx(
|
|
21261
21274
|
Bs,
|
|
21262
21275
|
{
|
|
21263
21276
|
texture: i,
|
|
@@ -21270,16 +21283,16 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21270
21283
|
alpha: E ? 1 : 0,
|
|
21271
21284
|
...!w && E && { interactive: !0, pointerdown: V },
|
|
21272
21285
|
filters: [
|
|
21273
|
-
|
|
21274
|
-
|
|
21275
|
-
|
|
21276
|
-
|
|
21286
|
+
he,
|
|
21287
|
+
pe,
|
|
21288
|
+
be,
|
|
21289
|
+
xe,
|
|
21277
21290
|
// conditionally add blur filter
|
|
21278
21291
|
...W > 0 ? [Se] : [],
|
|
21279
21292
|
// conditionally add vignette filter
|
|
21280
|
-
...j > 0 ? [
|
|
21293
|
+
...j > 0 ? [Be] : [],
|
|
21281
21294
|
// conditionally add noise filter
|
|
21282
|
-
...le > 0 ? [
|
|
21295
|
+
...le > 0 ? [ze] : []
|
|
21283
21296
|
]
|
|
21284
21297
|
}
|
|
21285
21298
|
) })
|
|
@@ -21291,7 +21304,7 @@ O5.whyDidYouRender = {
|
|
|
21291
21304
|
customName: "PixiVideoSprite"
|
|
21292
21305
|
};
|
|
21293
21306
|
const uU = te.forwardRef((t, e) => {
|
|
21294
|
-
const [r, n] = te.useState(), i =
|
|
21307
|
+
const [r, n] = te.useState(), i = me(null), a = me(null), {
|
|
21295
21308
|
visible: u,
|
|
21296
21309
|
disabled: l,
|
|
21297
21310
|
transformation: { x: h, y: p, width: m, height: c, colorCorrection: d = {} },
|
|
@@ -21321,7 +21334,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21321
21334
|
const re = er.Texture.from(x);
|
|
21322
21335
|
n(re);
|
|
21323
21336
|
}
|
|
21324
|
-
}, [x]), /* @__PURE__ */
|
|
21337
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21325
21338
|
mn,
|
|
21326
21339
|
{
|
|
21327
21340
|
...t,
|
|
@@ -21330,7 +21343,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21330
21343
|
pointerdown: w,
|
|
21331
21344
|
pointerover: O,
|
|
21332
21345
|
pointerout: I,
|
|
21333
|
-
children: /* @__PURE__ */
|
|
21346
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21334
21347
|
Bs,
|
|
21335
21348
|
{
|
|
21336
21349
|
texture: r,
|
|
@@ -21359,11 +21372,11 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21359
21372
|
}
|
|
21360
21373
|
);
|
|
21361
21374
|
}), lU = (t) => {
|
|
21362
|
-
const { startAt: e, endAt: r, uniqueId: n } = t, i =
|
|
21375
|
+
const { startAt: e, endAt: r, uniqueId: n } = t, i = me(null), a = me(null), u = me(null), l = me(null), h = me(!1), {
|
|
21363
21376
|
tl: p,
|
|
21364
21377
|
totalDuration: m = 0,
|
|
21365
21378
|
reverseModeRef: c
|
|
21366
|
-
} = Ui(qn), d = e < 0.2 ? "static" : "none", g =
|
|
21379
|
+
} = Ui(qn), d = e < 0.2 ? "static" : "none", g = me(1);
|
|
21367
21380
|
pt(Qe.COMPLETE, () => {
|
|
21368
21381
|
i.current && (i.current.eventMode = d);
|
|
21369
21382
|
}), pt(Qe.REVERSE_MODE_END, () => {
|
|
@@ -21403,13 +21416,13 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21403
21416
|
return () => {
|
|
21404
21417
|
l.current && (p.current.remove(l.current), l.current.progress(0).kill()), y.revert();
|
|
21405
21418
|
};
|
|
21406
|
-
}, [e, r, m, n]), /* @__PURE__ */
|
|
21419
|
+
}, [e, r, m, n]), /* @__PURE__ */ Ce.jsx(
|
|
21407
21420
|
wt,
|
|
21408
21421
|
{
|
|
21409
21422
|
ref: i,
|
|
21410
21423
|
alpha: e < 0.2 ? 1 : 0,
|
|
21411
21424
|
eventMode: e < 0.2 ? "static" : "none",
|
|
21412
|
-
children: /* @__PURE__ */
|
|
21425
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: u, children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, alpha: 1, children: t.children }) })
|
|
21413
21426
|
}
|
|
21414
21427
|
);
|
|
21415
21428
|
}, cU = (t) => {
|
|
@@ -21418,7 +21431,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21418
21431
|
n && n(Number(r) + 0.2);
|
|
21419
21432
|
}, [e, r]), t.children;
|
|
21420
21433
|
}, hU = te.forwardRef((t, e) => {
|
|
21421
|
-
const [r, n] = te.useState(), i =
|
|
21434
|
+
const [r, n] = te.useState(), i = me(null), a = me(null), {
|
|
21422
21435
|
visible: u,
|
|
21423
21436
|
disabled: l,
|
|
21424
21437
|
transformation: { x: h, y: p, width: m, height: c, colorCorrection: d = {} },
|
|
@@ -21448,7 +21461,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21448
21461
|
const re = er.Texture.from(x);
|
|
21449
21462
|
n(re);
|
|
21450
21463
|
}
|
|
21451
|
-
}, [x]), /* @__PURE__ */
|
|
21464
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21452
21465
|
mn,
|
|
21453
21466
|
{
|
|
21454
21467
|
...t,
|
|
@@ -21457,7 +21470,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21457
21470
|
pointerdown: w,
|
|
21458
21471
|
pointerover: O,
|
|
21459
21472
|
pointerout: I,
|
|
21460
|
-
children: /* @__PURE__ */
|
|
21473
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21461
21474
|
Bs,
|
|
21462
21475
|
{
|
|
21463
21476
|
texture: r,
|