reacthub-pixitweenjs 0.2.107-alpha.45 → 0.2.107-alpha.46
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 +983 -979
- package/dist/index.umd.js +32 -32
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import Jw, { useEffect as mn, useState as Fi, useRef as
|
|
1
|
+
import * as ee from "react";
|
|
2
|
+
import Jw, { useEffect as mn, useState as Fi, useRef as de, useLayoutEffect as cm, useCallback as zt, useContext as Gi, 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 hm } 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 = dm;
|
|
55
55
|
Ro.jsxs = dm;
|
|
56
56
|
fm.exports = Ro;
|
|
57
|
-
var
|
|
57
|
+
var Ce = fm.exports, Un = /* @__PURE__ */ ((t) => (t.BlackAndWhite = "BlackAndWhite", t.Sepia = "Sepia", t.RetroVintage = "RetroVintage", t.NightVision = "NightVision", t.Normal = "Normal", t.Vignette = "Vignette", t.None = "Normal", t))(Un || {});
|
|
58
58
|
let Jd;
|
|
59
59
|
function pm() {
|
|
60
60
|
return Jd = document.body, Jd;
|
|
@@ -88,7 +88,7 @@ function z5() {
|
|
|
88
88
|
t == null || t.dispatchEvent(i);
|
|
89
89
|
}, e;
|
|
90
90
|
}
|
|
91
|
-
const Yn =
|
|
91
|
+
const Yn = ee.createContext({}), Qe = {
|
|
92
92
|
STOP: "GSAP_STOP",
|
|
93
93
|
PAUSE: "GSAP_PAUSE",
|
|
94
94
|
PLAY: "GSAP_PLAY",
|
|
@@ -112,7 +112,7 @@ const Yn = te.createContext({}), Qe = {
|
|
|
112
112
|
}, V5 = ({
|
|
113
113
|
children: t
|
|
114
114
|
}) => {
|
|
115
|
-
const [e, r] = Fi(0), n =
|
|
115
|
+
const [e, r] = Fi(0), n = de(), i = de(), a = de(1e-3), u = de(!1), l = de(!1), [f, p] = Fi(!1);
|
|
116
116
|
cm(() => (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 Yn = te.createContext({}), Qe = {
|
|
|
183
183
|
Qe.SCRUBBER_PROGRESS_UPDATE,
|
|
184
184
|
(w) => {
|
|
185
185
|
}
|
|
186
|
-
), /* @__PURE__ */
|
|
186
|
+
), /* @__PURE__ */ Ce.jsx(
|
|
187
187
|
Yn.Provider,
|
|
188
188
|
{
|
|
189
189
|
value: {
|
|
@@ -219,22 +219,22 @@ const Yn = te.createContext({}), Qe = {
|
|
|
219
219
|
uniqueId: l = "",
|
|
220
220
|
isText: f = !1
|
|
221
221
|
}) => {
|
|
222
|
-
const p = er.utils.string2hex("#F3C409"), g = er.utils.string2hex("#F3C409"), c =
|
|
222
|
+
const p = er.utils.string2hex("#F3C409"), g = er.utils.string2hex("#F3C409"), c = ee.useRef({
|
|
223
223
|
isDragging: !1
|
|
224
|
-
}), d = 300, m =
|
|
224
|
+
}), d = 300, m = ee.useRef(0), _ = ee.useCallback(() => {
|
|
225
225
|
a && !c.current.isDragging && a(!0);
|
|
226
|
-
}, [a]), y =
|
|
226
|
+
}, [a]), y = ee.useCallback(() => {
|
|
227
227
|
a && !c.current.isDragging && a(!1);
|
|
228
|
-
}, [a]), b =
|
|
228
|
+
}, [a]), b = ee.useCallback(() => {
|
|
229
229
|
c.current.isDragging = !0;
|
|
230
230
|
const w = (/* @__PURE__ */ new Date()).getTime();
|
|
231
231
|
w - m.current < d && u && u(), m.current = w;
|
|
232
|
-
}, []), x =
|
|
232
|
+
}, []), x = ee.useCallback(
|
|
233
233
|
(w) => {
|
|
234
234
|
c.current.isDragging = !0, i && i(w), ys(Qe.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
|
|
235
235
|
},
|
|
236
236
|
[i]
|
|
237
|
-
), E =
|
|
237
|
+
), E = ee.useCallback(() => {
|
|
238
238
|
if (e.current === null)
|
|
239
239
|
return;
|
|
240
240
|
const w = e.current.x, I = e.current.y, O = e.current.width, F = e.current.height, N = e.current.rotation, L = [
|
|
@@ -254,9 +254,9 @@ const Yn = te.createContext({}), Qe = {
|
|
|
254
254
|
}
|
|
255
255
|
}), ys(Qe.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), c.current.isDragging = !1;
|
|
256
256
|
}, [n]);
|
|
257
|
-
return
|
|
257
|
+
return ee.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 fp = {
|
|
|
493
493
|
}
|
|
494
494
|
}, lC = (t) => {
|
|
495
495
|
const { overlay: e, width: r, height: n, x: i, y: a } = t, { src: u, blendmode: l } = fp[e] || fp.normal;
|
|
496
|
-
return /* @__PURE__ */
|
|
496
|
+
return /* @__PURE__ */ Ce.jsx(
|
|
497
497
|
tS,
|
|
498
498
|
{
|
|
499
499
|
image: u,
|
|
@@ -916,7 +916,7 @@ function XR(t, e) {
|
|
|
916
916
|
}
|
|
917
917
|
var WR = XR;
|
|
918
918
|
const jR = /* @__PURE__ */ qn(WR), qR = (t, e) => {
|
|
919
|
-
const r =
|
|
919
|
+
const r = de(!0), n = de(e);
|
|
920
920
|
mn(() => {
|
|
921
921
|
const i = n.current.every(
|
|
922
922
|
(a, u) => jR(a, e[u])
|
|
@@ -951,14 +951,14 @@ function eP(t, e, r, n, i, a, u, l, f) {
|
|
|
951
951
|
I > 1 && (r = fs(I) * r, n = fs(I) * n);
|
|
952
952
|
var O = r * r, F = n * n, N = (O * F - O * w - F * E) / (O * w + F * E);
|
|
953
953
|
N < 0 && (N = 0);
|
|
954
|
-
var L = (a === u ? -1 : 1) * fs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + f) / 2, X = Y + (g * D - c * V), G = se + (c * D + g * V),
|
|
954
|
+
var L = (a === u ? -1 : 1) * fs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + f) / 2, X = Y + (g * D - c * V), G = se + (c * D + g * V), re = (b - D) / r, ne = (x - V) / n, H = (-b - D) / r, Q = (-x - V) / n, pe = re * re + ne * ne, W = (ne < 0 ? -1 : 1) * Math.acos(re / fs(pe)), j = (re * Q - ne * H < 0 ? -1 : 1) * Math.acos((re * H + ne * Q) / fs(pe * (H * H + Q * Q)));
|
|
955
955
|
isNaN(j) && (j = d), !u && j > 0 ? j -= m : u && j < 0 && (j += m), W %= m, j %= m;
|
|
956
|
-
var
|
|
957
|
-
for (
|
|
958
|
-
i = W +
|
|
959
|
-
for (
|
|
960
|
-
b =
|
|
961
|
-
return
|
|
956
|
+
var ae = Math.ceil(xs(j) / (m / 4)), he = [], ge = j / ae, be = 4 / 3 * La(ge / 2) / (1 + ka(ge / 2)), Ae = g * r, ye = c * r, He = c * -n, je = g * n, Te;
|
|
957
|
+
for (Te = 0; Te < ae; Te++)
|
|
958
|
+
i = W + Te * ge, b = ka(i), x = La(i), re = ka(i += ge), ne = La(i), he.push(b - be * x, x + be * b, re + be * ne, ne - be * re, re, ne);
|
|
959
|
+
for (Te = 0; Te < he.length; Te += 2)
|
|
960
|
+
b = he[Te], x = he[Te + 1], he[Te] = b * Ae + x * He + X, he[Te + 1] = b * ye + x * je + G;
|
|
961
|
+
return he[Te - 2] = l, he[Te - 1] = f, he;
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
function tP(t) {
|
|
@@ -1195,10 +1195,7 @@ J.registerEffect({
|
|
|
1195
1195
|
duration: 2,
|
|
1196
1196
|
ease: "bounce.out",
|
|
1197
1197
|
y: -1500,
|
|
1198
|
-
alpha: 0
|
|
1199
|
-
onUpdate: () => {
|
|
1200
|
-
console.log("BOUNCE_IN_DOWN onUpdate", t);
|
|
1201
|
-
}
|
|
1198
|
+
alpha: 0
|
|
1202
1199
|
});
|
|
1203
1200
|
}
|
|
1204
1201
|
});
|
|
@@ -1357,131 +1354,138 @@ function lP(t, e, r) {
|
|
|
1357
1354
|
}, [e, t, r]), n;
|
|
1358
1355
|
}
|
|
1359
1356
|
var Mm = /* @__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))(Mm || {});
|
|
1360
|
-
const cP = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], vn =
|
|
1361
|
-
const [r, n] =
|
|
1362
|
-
uniqueId:
|
|
1363
|
-
visible:
|
|
1364
|
-
startAt:
|
|
1357
|
+
const cP = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], vn = ee.forwardRef((t, e) => {
|
|
1358
|
+
const [r, n] = ee.useState(!1), [i, a] = Fi(!1), [u, l] = Fi(!1), f = de(null), p = de(null), g = de(null), c = de(null), d = de(null), m = de(0), { tl: _ } = Gi(Yn), {
|
|
1359
|
+
uniqueId: y,
|
|
1360
|
+
visible: b,
|
|
1361
|
+
startAt: x,
|
|
1365
1362
|
transformation: {
|
|
1366
|
-
x,
|
|
1367
|
-
y:
|
|
1368
|
-
width:
|
|
1369
|
-
height:
|
|
1370
|
-
scale:
|
|
1371
|
-
rotation:
|
|
1372
|
-
effect:
|
|
1373
|
-
overlay:
|
|
1374
|
-
animation:
|
|
1363
|
+
x: E,
|
|
1364
|
+
y: w,
|
|
1365
|
+
width: I,
|
|
1366
|
+
height: O,
|
|
1367
|
+
scale: F = [1, 1],
|
|
1368
|
+
rotation: N = 0,
|
|
1369
|
+
effect: L,
|
|
1370
|
+
overlay: D,
|
|
1371
|
+
animation: V = Mm.NONE
|
|
1375
1372
|
},
|
|
1376
|
-
applyTransformer:
|
|
1377
|
-
disabled:
|
|
1378
|
-
pointerdown:
|
|
1379
|
-
pointerout:
|
|
1380
|
-
pointerover:
|
|
1381
|
-
isText:
|
|
1382
|
-
isDragging:
|
|
1383
|
-
isGif:
|
|
1384
|
-
onDoubleClick:
|
|
1385
|
-
isTextEditMode:
|
|
1386
|
-
} = t,
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1373
|
+
applyTransformer: Y,
|
|
1374
|
+
disabled: se,
|
|
1375
|
+
pointerdown: X,
|
|
1376
|
+
pointerout: G,
|
|
1377
|
+
pointerover: re,
|
|
1378
|
+
isText: ne,
|
|
1379
|
+
isDragging: H,
|
|
1380
|
+
isGif: Q,
|
|
1381
|
+
onDoubleClick: pe,
|
|
1382
|
+
isTextEditMode: W
|
|
1383
|
+
} = t, j = ee.useCallback(() => {
|
|
1384
|
+
d.current && (m.current = d.current.progress());
|
|
1385
|
+
}, []), ae = lP(f, V, {
|
|
1386
|
+
x: E,
|
|
1387
|
+
y: w,
|
|
1388
|
+
width: I,
|
|
1389
|
+
height: O,
|
|
1390
|
+
onUpdate: j
|
|
1391
1391
|
});
|
|
1392
1392
|
pt(Qe.COMPLETE, () => {
|
|
1393
1393
|
f.current;
|
|
1394
|
-
}),
|
|
1394
|
+
}), ee.useImperativeHandle(
|
|
1395
1395
|
e,
|
|
1396
1396
|
() => ({
|
|
1397
1397
|
getIsTransformerDragging: () => i,
|
|
1398
1398
|
getIsMouseOverTransformer: () => u
|
|
1399
1399
|
}),
|
|
1400
1400
|
[i, u]
|
|
1401
|
-
),
|
|
1401
|
+
), ee.useEffect(() => {
|
|
1402
1402
|
f.current && n(!0);
|
|
1403
|
-
}, []),
|
|
1404
|
-
if (
|
|
1405
|
-
console.log("running rect effect",
|
|
1406
|
-
let
|
|
1407
|
-
d.current && (
|
|
1403
|
+
}, []), ee.useEffect(() => {
|
|
1404
|
+
if (_.current) {
|
|
1405
|
+
console.log("running rect effect", _.current.progress());
|
|
1406
|
+
let ye = 0;
|
|
1407
|
+
d.current && (ye = d.current.progress(), console.log("nested anim progress", ye), console.log(
|
|
1408
|
+
"nested anim progress",
|
|
1409
|
+
d.current,
|
|
1410
|
+
m.current
|
|
1411
|
+
), _.current.remove(d.current), console.log("killing timeline"), d.current.kill()), _.current.add(ae, x), ae.progress(m.current), d.current = ae;
|
|
1408
1412
|
}
|
|
1409
1413
|
return () => {
|
|
1410
|
-
|
|
1414
|
+
_.current && (_.current.remove(ae), ae.progress(0).kill()), d.current && d.current.progress(0).kill();
|
|
1411
1415
|
};
|
|
1412
|
-
}, [
|
|
1413
|
-
const
|
|
1414
|
-
l(!0),
|
|
1415
|
-
}, []),
|
|
1416
|
+
}, [x, , ae]);
|
|
1417
|
+
const he = ee.useCallback(() => {
|
|
1418
|
+
l(!0), re && re();
|
|
1419
|
+
}, []), ge = ee.useCallback(() => {
|
|
1416
1420
|
a(!0);
|
|
1417
|
-
}, []),
|
|
1418
|
-
(
|
|
1419
|
-
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(
|
|
1421
|
+
}, []), be = ee.useCallback(
|
|
1422
|
+
(ye) => {
|
|
1423
|
+
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(ye), a(!1);
|
|
1420
1424
|
},
|
|
1421
1425
|
[]
|
|
1422
|
-
),
|
|
1426
|
+
), Ae = rS(wt, {
|
|
1423
1427
|
matrix: er.filters.ColorMatrixFilter
|
|
1424
1428
|
});
|
|
1425
|
-
return /* @__PURE__ */
|
|
1426
|
-
/* @__PURE__ */
|
|
1429
|
+
return /* @__PURE__ */ Ce.jsxs(wt, { ref: p, children: [
|
|
1430
|
+
/* @__PURE__ */ Ce.jsxs(
|
|
1427
1431
|
wt,
|
|
1428
1432
|
{
|
|
1429
1433
|
ref: f,
|
|
1430
|
-
position: [
|
|
1431
|
-
pivot: [
|
|
1432
|
-
width:
|
|
1433
|
-
height:
|
|
1434
|
-
scale:
|
|
1435
|
-
rotation:
|
|
1436
|
-
...!
|
|
1434
|
+
position: [E, w],
|
|
1435
|
+
pivot: [E, w],
|
|
1436
|
+
width: I,
|
|
1437
|
+
height: O,
|
|
1438
|
+
scale: F,
|
|
1439
|
+
rotation: N,
|
|
1440
|
+
...!se && b && !i && !H && {
|
|
1437
1441
|
interactive: !0,
|
|
1438
1442
|
buttonMode: !0,
|
|
1439
|
-
pointerdown:
|
|
1440
|
-
pointerover:
|
|
1441
|
-
pointerout:
|
|
1443
|
+
pointerdown: X,
|
|
1444
|
+
pointerover: re,
|
|
1445
|
+
pointerout: G
|
|
1442
1446
|
},
|
|
1443
1447
|
children: [
|
|
1444
|
-
!
|
|
1445
|
-
|
|
1448
|
+
!Q && /* @__PURE__ */ Ce.jsx(
|
|
1449
|
+
Ae,
|
|
1446
1450
|
{
|
|
1447
1451
|
scale: 1,
|
|
1448
|
-
apply: ({ matrix:
|
|
1449
|
-
|
|
1452
|
+
apply: ({ matrix: ye }) => {
|
|
1453
|
+
L === Un.BlackAndWhite ? ye.desaturate() : L === Un.Sepia ? ye.sepia() : L === Un.RetroVintage || L === Un.NightVision ? ye.negative() : L === Un.Normal && ye.reset();
|
|
1450
1454
|
},
|
|
1451
1455
|
matrix: {
|
|
1452
1456
|
enabled: !0,
|
|
1453
1457
|
// @ts-ignore
|
|
1454
1458
|
matrix: cP
|
|
1455
1459
|
},
|
|
1456
|
-
children: /* @__PURE__ */
|
|
1460
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: g, children: t.children })
|
|
1457
1461
|
}
|
|
1458
1462
|
),
|
|
1459
|
-
|
|
1460
|
-
!Hs(
|
|
1463
|
+
Q && /* @__PURE__ */ Ce.jsx(wt, { ref: g, children: t.children }),
|
|
1464
|
+
!Hs(D) && D !== cc.NONE && D !== cc.NORMAL && /* @__PURE__ */ Ce.jsx(
|
|
1461
1465
|
lC,
|
|
1462
1466
|
{
|
|
1463
|
-
overlay:
|
|
1464
|
-
width:
|
|
1465
|
-
height:
|
|
1466
|
-
x,
|
|
1467
|
-
y:
|
|
1467
|
+
overlay: D,
|
|
1468
|
+
width: I,
|
|
1469
|
+
height: O,
|
|
1470
|
+
x: E,
|
|
1471
|
+
y: w
|
|
1468
1472
|
}
|
|
1469
1473
|
)
|
|
1470
1474
|
]
|
|
1471
1475
|
}
|
|
1472
1476
|
),
|
|
1473
|
-
|
|
1477
|
+
Y && b && !W && /* @__PURE__ */ Ce.jsx(
|
|
1474
1478
|
dS,
|
|
1475
1479
|
{
|
|
1476
1480
|
pixiTransformerRef: c,
|
|
1477
1481
|
imageRef: f,
|
|
1478
1482
|
isMounted: r,
|
|
1479
|
-
transformCommit:
|
|
1480
|
-
transformChange:
|
|
1481
|
-
mouseoverEvent:
|
|
1482
|
-
uniqueId:
|
|
1483
|
-
isText:
|
|
1484
|
-
onDoubleClick:
|
|
1483
|
+
transformCommit: be,
|
|
1484
|
+
transformChange: ge,
|
|
1485
|
+
mouseoverEvent: he,
|
|
1486
|
+
uniqueId: y,
|
|
1487
|
+
isText: ne,
|
|
1488
|
+
onDoubleClick: pe
|
|
1485
1489
|
}
|
|
1486
1490
|
)
|
|
1487
1491
|
] });
|
|
@@ -1490,7 +1494,7 @@ vn.whyDidYouRender = {
|
|
|
1490
1494
|
logOnDifferentValues: !0,
|
|
1491
1495
|
customName: "AbstractContainer"
|
|
1492
1496
|
};
|
|
1493
|
-
var Kn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Kn || {}), Om = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Om || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}),
|
|
1497
|
+
var Kn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Kn || {}), Om = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Om || {}), 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 || {}), Ii = /* @__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))(Ii || {}), Be = /* @__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))(Be || {}), 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 || {}), Wn = /* @__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))(Wn || {}), _n = /* @__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))(_n || {}), Nn = /* @__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))(Nn || {}), Qc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Qc || {}), 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 || {});
|
|
1494
1498
|
const hP = {
|
|
1495
1499
|
createCanvas: (t, e) => {
|
|
1496
1500
|
const r = document.createElement("canvas");
|
|
@@ -1503,7 +1507,7 @@ const hP = {
|
|
|
1503
1507
|
getFontFaceSet: () => document.fonts,
|
|
1504
1508
|
fetch: (t, e) => fetch(t, e),
|
|
1505
1509
|
parseXML: (t) => new DOMParser().parseFromString(t, "text/xml")
|
|
1506
|
-
},
|
|
1510
|
+
}, Pe = {
|
|
1507
1511
|
ADAPTER: hP,
|
|
1508
1512
|
RESOLUTION: 1,
|
|
1509
1513
|
CREATE_IMAGE_BITMAP: !1,
|
|
@@ -1572,8 +1576,8 @@ function $p(t) {
|
|
|
1572
1576
|
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;
|
|
1573
1577
|
}
|
|
1574
1578
|
const dP = $p.default ?? $p, Ai = dP(globalThis.navigator);
|
|
1575
|
-
|
|
1576
|
-
|
|
1579
|
+
Pe.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
1580
|
+
Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
1577
1581
|
var Fm = { exports: {} };
|
|
1578
1582
|
(function(t) {
|
|
1579
1583
|
var e = Object.prototype.hasOwnProperty, r = "~";
|
|
@@ -1975,25 +1979,25 @@ vo.exports;
|
|
|
1975
1979
|
throw new RangeError(w[W]);
|
|
1976
1980
|
}
|
|
1977
1981
|
function D(W, j) {
|
|
1978
|
-
for (var
|
|
1979
|
-
|
|
1980
|
-
return
|
|
1982
|
+
for (var ae = W.length, he = []; ae--; )
|
|
1983
|
+
he[ae] = j(W[ae]);
|
|
1984
|
+
return he;
|
|
1981
1985
|
}
|
|
1982
1986
|
function V(W, j) {
|
|
1983
|
-
var
|
|
1984
|
-
|
|
1985
|
-
var
|
|
1986
|
-
return
|
|
1987
|
+
var ae = W.split("@"), he = "";
|
|
1988
|
+
ae.length > 1 && (he = ae[0] + "@", W = ae[1]), W = W.replace(E, ".");
|
|
1989
|
+
var ge = W.split("."), be = D(ge, j).join(".");
|
|
1990
|
+
return he + be;
|
|
1987
1991
|
}
|
|
1988
1992
|
function Y(W) {
|
|
1989
|
-
for (var j = [],
|
|
1990
|
-
|
|
1993
|
+
for (var j = [], ae = 0, he = W.length, ge, be; ae < he; )
|
|
1994
|
+
ge = W.charCodeAt(ae++), ge >= 55296 && ge <= 56319 && ae < he ? (be = W.charCodeAt(ae++), (be & 64512) == 56320 ? j.push(((ge & 1023) << 10) + (be & 1023) + 65536) : (j.push(ge), ae--)) : j.push(ge);
|
|
1991
1995
|
return j;
|
|
1992
1996
|
}
|
|
1993
1997
|
function se(W) {
|
|
1994
1998
|
return D(W, function(j) {
|
|
1995
|
-
var
|
|
1996
|
-
return j > 65535 && (j -= 65536,
|
|
1999
|
+
var ae = "";
|
|
2000
|
+
return j > 65535 && (j -= 65536, ae += F(j >>> 10 & 1023 | 55296), j = 56320 | j & 1023), ae += F(j), ae;
|
|
1997
2001
|
}).join("");
|
|
1998
2002
|
}
|
|
1999
2003
|
function X(W) {
|
|
@@ -2002,48 +2006,48 @@ vo.exports;
|
|
|
2002
2006
|
function G(W, j) {
|
|
2003
2007
|
return W + 22 + 75 * (W < 26) - ((j != 0) << 5);
|
|
2004
2008
|
}
|
|
2005
|
-
function
|
|
2006
|
-
var
|
|
2007
|
-
for (W =
|
|
2009
|
+
function re(W, j, ae) {
|
|
2010
|
+
var he = 0;
|
|
2011
|
+
for (W = ae ? O(W / d) : W >> 1, W += O(W / j); W > I * g >> 1; he += f)
|
|
2008
2012
|
W = O(W / I);
|
|
2009
|
-
return O(
|
|
2013
|
+
return O(he + (I + 1) * W / (W + c));
|
|
2010
2014
|
}
|
|
2011
|
-
function
|
|
2012
|
-
var j = [],
|
|
2013
|
-
for (
|
|
2015
|
+
function ne(W) {
|
|
2016
|
+
var j = [], ae = W.length, he, ge = 0, be = _, Ae = m, ye, He, je, Te, Ie, $e, Ke, Ee, ve;
|
|
2017
|
+
for (ye = W.lastIndexOf(y), ye < 0 && (ye = 0), He = 0; He < ye; ++He)
|
|
2014
2018
|
W.charCodeAt(He) >= 128 && L("not-basic"), j.push(W.charCodeAt(He));
|
|
2015
|
-
for (je =
|
|
2016
|
-
for (
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
+
for (je = ye > 0 ? ye + 1 : 0; je < ae; ) {
|
|
2020
|
+
for (Te = ge, Ie = 1, $e = f; je >= ae && L("invalid-input"), Ke = X(W.charCodeAt(je++)), (Ke >= f || Ke > O((l - ge) / Ie)) && L("overflow"), ge += Ke * Ie, Ee = $e <= Ae ? p : $e >= Ae + g ? g : $e - Ae, !(Ke < Ee); $e += f)
|
|
2021
|
+
ve = f - Ee, Ie > O(l / ve) && L("overflow"), Ie *= ve;
|
|
2022
|
+
he = j.length + 1, Ae = re(ge - Te, he, Te == 0), O(ge / he) > l - be && L("overflow"), be += O(ge / he), ge %= he, j.splice(ge++, 0, be);
|
|
2019
2023
|
}
|
|
2020
2024
|
return se(j);
|
|
2021
2025
|
}
|
|
2022
2026
|
function H(W) {
|
|
2023
|
-
var j,
|
|
2024
|
-
for (W = Y(W), Ke = W.length, j = _,
|
|
2025
|
-
|
|
2026
|
-
for (
|
|
2027
|
-
for (
|
|
2028
|
-
|
|
2029
|
-
for (
|
|
2030
|
-
if (
|
|
2031
|
-
for (He =
|
|
2032
|
-
rt = He -
|
|
2033
|
-
F(G(
|
|
2034
|
-
), He = O(rt /
|
|
2035
|
-
$e.push(F(G(He, 0))),
|
|
2027
|
+
var j, ae, he, ge, be, Ae, ye, He, je, Te, Ie, $e = [], Ke, Ee, ve, rt;
|
|
2028
|
+
for (W = Y(W), Ke = W.length, j = _, ae = 0, be = m, Ae = 0; Ae < Ke; ++Ae)
|
|
2029
|
+
Ie = W[Ae], Ie < 128 && $e.push(F(Ie));
|
|
2030
|
+
for (he = ge = $e.length, ge && $e.push(y); he < Ke; ) {
|
|
2031
|
+
for (ye = l, Ae = 0; Ae < Ke; ++Ae)
|
|
2032
|
+
Ie = W[Ae], Ie >= j && Ie < ye && (ye = Ie);
|
|
2033
|
+
for (Ee = he + 1, ye - j > O((l - ae) / Ee) && L("overflow"), ae += (ye - j) * Ee, j = ye, Ae = 0; Ae < Ke; ++Ae)
|
|
2034
|
+
if (Ie = W[Ae], Ie < j && ++ae > l && L("overflow"), Ie == j) {
|
|
2035
|
+
for (He = ae, je = f; Te = je <= be ? p : je >= be + g ? g : je - be, !(He < Te); je += f)
|
|
2036
|
+
rt = He - Te, ve = f - Te, $e.push(
|
|
2037
|
+
F(G(Te + rt % ve, 0))
|
|
2038
|
+
), He = O(rt / ve);
|
|
2039
|
+
$e.push(F(G(He, 0))), be = re(ae, Ee, he == ge), ae = 0, ++he;
|
|
2036
2040
|
}
|
|
2037
|
-
++
|
|
2041
|
+
++ae, ++j;
|
|
2038
2042
|
}
|
|
2039
2043
|
return $e.join("");
|
|
2040
2044
|
}
|
|
2041
2045
|
function Q(W) {
|
|
2042
2046
|
return V(W, function(j) {
|
|
2043
|
-
return b.test(j) ?
|
|
2047
|
+
return b.test(j) ? ne(j.slice(4).toLowerCase()) : j;
|
|
2044
2048
|
});
|
|
2045
2049
|
}
|
|
2046
|
-
function
|
|
2050
|
+
function pe(W) {
|
|
2047
2051
|
return V(W, function(j) {
|
|
2048
2052
|
return x.test(j) ? "xn--" + H(j) : j;
|
|
2049
2053
|
});
|
|
@@ -2066,9 +2070,9 @@ vo.exports;
|
|
|
2066
2070
|
decode: Y,
|
|
2067
2071
|
encode: se
|
|
2068
2072
|
},
|
|
2069
|
-
decode:
|
|
2073
|
+
decode: ne,
|
|
2070
2074
|
encode: H,
|
|
2071
|
-
toASCII:
|
|
2075
|
+
toASCII: pe,
|
|
2072
2076
|
toUnicode: Q
|
|
2073
2077
|
}, n && i)
|
|
2074
2078
|
if (t.exports == n)
|
|
@@ -2133,7 +2137,7 @@ var OP = vo.exports, FP = function() {
|
|
|
2133
2137
|
p.prototype = r.prototype, i.prototype = new p(), p.prototype = null;
|
|
2134
2138
|
}
|
|
2135
2139
|
return i;
|
|
2136
|
-
}, HP = GP, eh = Function.prototype.bind || HP, zP = eh, VP = zP.call(Function.call, Object.prototype.hasOwnProperty),
|
|
2140
|
+
}, HP = GP, eh = Function.prototype.bind || HP, zP = eh, VP = zP.call(Function.call, Object.prototype.hasOwnProperty), Oe, Ni = SyntaxError, Dm = Function, Ri = TypeError, Il = function(t) {
|
|
2137
2141
|
try {
|
|
2138
2142
|
return Dm('"use strict"; return (' + t + ").constructor;")();
|
|
2139
2143
|
} catch {
|
|
@@ -2159,22 +2163,22 @@ var Rl = function() {
|
|
|
2159
2163
|
}
|
|
2160
2164
|
}() : Rl, vi = LP(), WP = DP(), bt = Object.getPrototypeOf || (WP ? function(t) {
|
|
2161
2165
|
return t.__proto__;
|
|
2162
|
-
} : null), Ti = {}, jP = typeof Uint8Array > "u" || !bt ?
|
|
2163
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
2166
|
+
} : null), Ti = {}, jP = typeof Uint8Array > "u" || !bt ? Oe : bt(Uint8Array), Vn = {
|
|
2167
|
+
"%AggregateError%": typeof AggregateError > "u" ? Oe : AggregateError,
|
|
2164
2168
|
"%Array%": Array,
|
|
2165
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
2166
|
-
"%ArrayIteratorPrototype%": vi && bt ? bt([][Symbol.iterator]()) :
|
|
2167
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
2169
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? Oe : ArrayBuffer,
|
|
2170
|
+
"%ArrayIteratorPrototype%": vi && bt ? bt([][Symbol.iterator]()) : Oe,
|
|
2171
|
+
"%AsyncFromSyncIteratorPrototype%": Oe,
|
|
2168
2172
|
"%AsyncFunction%": Ti,
|
|
2169
2173
|
"%AsyncGenerator%": Ti,
|
|
2170
2174
|
"%AsyncGeneratorFunction%": Ti,
|
|
2171
2175
|
"%AsyncIteratorPrototype%": Ti,
|
|
2172
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
2173
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
2174
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
2175
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
2176
|
+
"%Atomics%": typeof Atomics > "u" ? Oe : Atomics,
|
|
2177
|
+
"%BigInt%": typeof BigInt > "u" ? Oe : BigInt,
|
|
2178
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? Oe : BigInt64Array,
|
|
2179
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? Oe : BigUint64Array,
|
|
2176
2180
|
"%Boolean%": Boolean,
|
|
2177
|
-
"%DataView%": typeof DataView > "u" ?
|
|
2181
|
+
"%DataView%": typeof DataView > "u" ? Oe : DataView,
|
|
2178
2182
|
"%Date%": Date,
|
|
2179
2183
|
"%decodeURI%": decodeURI,
|
|
2180
2184
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -2184,49 +2188,49 @@ var Rl = function() {
|
|
|
2184
2188
|
"%eval%": eval,
|
|
2185
2189
|
// eslint-disable-line no-eval
|
|
2186
2190
|
"%EvalError%": EvalError,
|
|
2187
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
2188
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
2189
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
2191
|
+
"%Float32Array%": typeof Float32Array > "u" ? Oe : Float32Array,
|
|
2192
|
+
"%Float64Array%": typeof Float64Array > "u" ? Oe : Float64Array,
|
|
2193
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? Oe : FinalizationRegistry,
|
|
2190
2194
|
"%Function%": Dm,
|
|
2191
2195
|
"%GeneratorFunction%": Ti,
|
|
2192
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
2193
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
2194
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
2196
|
+
"%Int8Array%": typeof Int8Array > "u" ? Oe : Int8Array,
|
|
2197
|
+
"%Int16Array%": typeof Int16Array > "u" ? Oe : Int16Array,
|
|
2198
|
+
"%Int32Array%": typeof Int32Array > "u" ? Oe : Int32Array,
|
|
2195
2199
|
"%isFinite%": isFinite,
|
|
2196
2200
|
"%isNaN%": isNaN,
|
|
2197
|
-
"%IteratorPrototype%": vi && bt ? bt(bt([][Symbol.iterator]())) :
|
|
2198
|
-
"%JSON%": typeof JSON == "object" ? JSON :
|
|
2199
|
-
"%Map%": typeof Map > "u" ?
|
|
2200
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !vi || !bt ?
|
|
2201
|
+
"%IteratorPrototype%": vi && bt ? bt(bt([][Symbol.iterator]())) : Oe,
|
|
2202
|
+
"%JSON%": typeof JSON == "object" ? JSON : Oe,
|
|
2203
|
+
"%Map%": typeof Map > "u" ? Oe : Map,
|
|
2204
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !vi || !bt ? Oe : bt((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2201
2205
|
"%Math%": Math,
|
|
2202
2206
|
"%Number%": Number,
|
|
2203
2207
|
"%Object%": Object,
|
|
2204
2208
|
"%parseFloat%": parseFloat,
|
|
2205
2209
|
"%parseInt%": parseInt,
|
|
2206
|
-
"%Promise%": typeof Promise > "u" ?
|
|
2207
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
2210
|
+
"%Promise%": typeof Promise > "u" ? Oe : Promise,
|
|
2211
|
+
"%Proxy%": typeof Proxy > "u" ? Oe : Proxy,
|
|
2208
2212
|
"%RangeError%": RangeError,
|
|
2209
2213
|
"%ReferenceError%": ReferenceError,
|
|
2210
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
2214
|
+
"%Reflect%": typeof Reflect > "u" ? Oe : Reflect,
|
|
2211
2215
|
"%RegExp%": RegExp,
|
|
2212
|
-
"%Set%": typeof Set > "u" ?
|
|
2213
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !vi || !bt ?
|
|
2214
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
2216
|
+
"%Set%": typeof Set > "u" ? Oe : Set,
|
|
2217
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !vi || !bt ? Oe : bt((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2218
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? Oe : SharedArrayBuffer,
|
|
2215
2219
|
"%String%": String,
|
|
2216
|
-
"%StringIteratorPrototype%": vi && bt ? bt(""[Symbol.iterator]()) :
|
|
2217
|
-
"%Symbol%": vi ? Symbol :
|
|
2220
|
+
"%StringIteratorPrototype%": vi && bt ? bt(""[Symbol.iterator]()) : Oe,
|
|
2221
|
+
"%Symbol%": vi ? Symbol : Oe,
|
|
2218
2222
|
"%SyntaxError%": Ni,
|
|
2219
2223
|
"%ThrowTypeError%": XP,
|
|
2220
2224
|
"%TypedArray%": jP,
|
|
2221
2225
|
"%TypeError%": Ri,
|
|
2222
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
2223
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
2224
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
2225
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
2226
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? Oe : Uint8Array,
|
|
2227
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? Oe : Uint8ClampedArray,
|
|
2228
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? Oe : Uint16Array,
|
|
2229
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? Oe : Uint32Array,
|
|
2226
2230
|
"%URIError%": URIError,
|
|
2227
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
2228
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
2229
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
2231
|
+
"%WeakMap%": typeof WeakMap > "u" ? Oe : WeakMap,
|
|
2232
|
+
"%WeakRef%": typeof WeakRef > "u" ? Oe : WeakRef,
|
|
2233
|
+
"%WeakSet%": typeof WeakSet > "u" ? Oe : WeakSet
|
|
2230
2234
|
};
|
|
2231
2235
|
if (bt)
|
|
2232
2236
|
try {
|
|
@@ -2446,12 +2450,12 @@ var _c = uM, eg = _c.custom, tg = Vm(eg) ? eg : null, _M = function t(e, r, n, i
|
|
|
2446
2450
|
i = [];
|
|
2447
2451
|
else if (Xm(i, e) >= 0)
|
|
2448
2452
|
return "[Circular]";
|
|
2449
|
-
function d(X, G,
|
|
2450
|
-
if (G && (i = vM.call(i), i.push(G)),
|
|
2451
|
-
var
|
|
2453
|
+
function d(X, G, re) {
|
|
2454
|
+
if (G && (i = vM.call(i), i.push(G)), re) {
|
|
2455
|
+
var ne = {
|
|
2452
2456
|
depth: a.depth
|
|
2453
2457
|
};
|
|
2454
|
-
return fn(a, "quoteStyle") && (
|
|
2458
|
+
return fn(a, "quoteStyle") && (ne.quoteStyle = a.quoteStyle), t(X, ne, n + 1, i);
|
|
2455
2459
|
}
|
|
2456
2460
|
return t(X, a, n + 1, i);
|
|
2457
2461
|
}
|
|
@@ -2959,8 +2963,8 @@ var sh = th, qi = sM, DM = _M, BM = sh("%TypeError%"), Ha = sh("%WeakMap%", !0),
|
|
|
2959
2963
|
}
|
|
2960
2964
|
typeof E.get(kl) > "u" && (w = 0);
|
|
2961
2965
|
}
|
|
2962
|
-
if (typeof f == "function" ? x = f(r, x) : x instanceof Date ? x = c(x) : n === "comma" && Zr(x) && (x = ro.maybeMap(x, function(
|
|
2963
|
-
return
|
|
2966
|
+
if (typeof f == "function" ? x = f(r, x) : x instanceof Date ? x = c(x) : n === "comma" && Zr(x) && (x = ro.maybeMap(x, function(ne) {
|
|
2967
|
+
return ne instanceof Date ? c(ne) : ne;
|
|
2964
2968
|
})), x === null) {
|
|
2965
2969
|
if (a)
|
|
2966
2970
|
return l && !_ ? l(r, Pt.encoder, y, "key", d) : r;
|
|
@@ -2990,8 +2994,8 @@ var sh = th, qi = sM, DM = _M, BM = sh("%TypeError%"), Ha = sh("%WeakMap%", !0),
|
|
|
2990
2994
|
if (!(u && X === null)) {
|
|
2991
2995
|
var G = Zr(x) ? typeof n == "function" ? n(V, se) : V : V + (g ? "." + se : "[" + se + "]");
|
|
2992
2996
|
b.set(e, w);
|
|
2993
|
-
var
|
|
2994
|
-
|
|
2997
|
+
var re = Ym();
|
|
2998
|
+
re.set(kl, b), Km(N, t(
|
|
2995
2999
|
X,
|
|
2996
3000
|
G,
|
|
2997
3001
|
n,
|
|
@@ -3007,7 +3011,7 @@ var sh = th, qi = sM, DM = _M, BM = sh("%TypeError%"), Ha = sh("%WeakMap%", !0),
|
|
|
3007
3011
|
m,
|
|
3008
3012
|
_,
|
|
3009
3013
|
y,
|
|
3010
|
-
|
|
3014
|
+
re
|
|
3011
3015
|
));
|
|
3012
3016
|
}
|
|
3013
3017
|
}
|
|
@@ -3301,10 +3305,10 @@ Sr.prototype.parse = function(t, e, r) {
|
|
|
3301
3305
|
G === X && (G = escape(X)), l = l.split(X).join(G);
|
|
3302
3306
|
}
|
|
3303
3307
|
}
|
|
3304
|
-
var
|
|
3305
|
-
|
|
3306
|
-
var
|
|
3307
|
-
if (
|
|
3308
|
+
var re = l.indexOf("#");
|
|
3309
|
+
re !== -1 && (this.hash = l.substr(re), l = l.slice(0, re));
|
|
3310
|
+
var ne = l.indexOf("?");
|
|
3311
|
+
if (ne !== -1 ? (this.search = l.substr(ne), this.query = l.substr(ne + 1), e && (this.query = Sc.parse(this.query)), l = l.slice(0, ne)) : e && (this.search = "", this.query = {}), l && (this.pathname = l), Pi[g] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
|
|
3308
3312
|
var Y = this.pathname || "", H = this.search || "";
|
|
3309
3313
|
this.path = Y + H;
|
|
3310
3314
|
}
|
|
@@ -3406,7 +3410,7 @@ const HO = {
|
|
|
3406
3410
|
format: GO,
|
|
3407
3411
|
resolve: $O
|
|
3408
3412
|
}, lg = {};
|
|
3409
|
-
function
|
|
3413
|
+
function ke(t, e, r = 3) {
|
|
3410
3414
|
if (lg[e])
|
|
3411
3415
|
return;
|
|
3412
3416
|
let n = new Error().stack;
|
|
@@ -3423,12 +3427,12 @@ function zO() {
|
|
|
3423
3427
|
var r;
|
|
3424
3428
|
const e = {
|
|
3425
3429
|
stencil: !0,
|
|
3426
|
-
failIfMajorPerformanceCaveat:
|
|
3430
|
+
failIfMajorPerformanceCaveat: Pe.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT
|
|
3427
3431
|
};
|
|
3428
3432
|
try {
|
|
3429
|
-
if (!
|
|
3433
|
+
if (!Pe.ADAPTER.getWebGLRenderingContext())
|
|
3430
3434
|
return !1;
|
|
3431
|
-
const n =
|
|
3435
|
+
const n = Pe.ADAPTER.createCanvas();
|
|
3432
3436
|
let i = n.getContext("webgl", e) || n.getContext("experimental-webgl", e);
|
|
3433
3437
|
const a = !!((r = i == null ? void 0 : i.getContextAttributes()) != null && r.stencil);
|
|
3434
3438
|
if (i) {
|
|
@@ -3768,16 +3772,16 @@ Mt.shared = new Mi();
|
|
|
3768
3772
|
Mt.temp = new Mi();
|
|
3769
3773
|
Mt.HEX_PATTERN = /^(#|0x)?(([a-f0-9]{3}){1,2}([a-f0-9]{2})?)$/i;
|
|
3770
3774
|
function $o(t, e = []) {
|
|
3771
|
-
return
|
|
3775
|
+
return ke("7.2.0", "utils.hex2rgb is deprecated, use Color#toRgbArray instead"), Mt.shared.setValue(t).toRgbArray(e);
|
|
3772
3776
|
}
|
|
3773
3777
|
function uh(t) {
|
|
3774
|
-
return
|
|
3778
|
+
return ke("7.2.0", "utils.rgb2hex is deprecated, use Color#toNumber instead"), Mt.shared.setValue(t).toNumber();
|
|
3775
3779
|
}
|
|
3776
3780
|
function JO() {
|
|
3777
3781
|
const t = [], e = [];
|
|
3778
3782
|
for (let n = 0; n < 32; n++)
|
|
3779
3783
|
t[n] = n, e[n] = n;
|
|
3780
|
-
t[
|
|
3784
|
+
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;
|
|
3781
3785
|
const r = [];
|
|
3782
3786
|
return r.push(e), r.push(t), r;
|
|
3783
3787
|
}
|
|
@@ -3830,10 +3834,10 @@ function rF(t, e = globalThis.location) {
|
|
|
3830
3834
|
}
|
|
3831
3835
|
function xg(t, e = 1) {
|
|
3832
3836
|
var n;
|
|
3833
|
-
const r = (n =
|
|
3837
|
+
const r = (n = Pe.RETINA_PREFIX) == null ? void 0 : n.exec(t);
|
|
3834
3838
|
return r ? parseFloat(r[1]) : e;
|
|
3835
3839
|
}
|
|
3836
|
-
var
|
|
3840
|
+
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 || {});
|
|
3837
3841
|
const Cc = (t) => {
|
|
3838
3842
|
if (typeof t == "function" || typeof t == "object" && t.extension) {
|
|
3839
3843
|
if (!t.extension)
|
|
@@ -3963,7 +3967,7 @@ function aF(t, e) {
|
|
|
3963
3967
|
const Gl = 0, Hl = 1, zl = 2, Vl = 3, Xl = 4, Wl = 5;
|
|
3964
3968
|
let Go = class r0 {
|
|
3965
3969
|
constructor() {
|
|
3966
|
-
this.data = 0, this.blendMode =
|
|
3970
|
+
this.data = 0, this.blendMode = fe.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
3967
3971
|
}
|
|
3968
3972
|
get blend() {
|
|
3969
3973
|
return !!(this.data & 1 << Gl);
|
|
@@ -4005,7 +4009,7 @@ let Go = class r0 {
|
|
|
4005
4009
|
return this._blendMode;
|
|
4006
4010
|
}
|
|
4007
4011
|
set blendMode(e) {
|
|
4008
|
-
this.blend = e !==
|
|
4012
|
+
this.blend = e !== fe.NONE, this._blendMode = e;
|
|
4009
4013
|
}
|
|
4010
4014
|
get polygonOffset() {
|
|
4011
4015
|
return this._polygonOffset;
|
|
@@ -4161,7 +4165,7 @@ const oF = {
|
|
|
4161
4165
|
resolution: d,
|
|
4162
4166
|
resourceOptions: m
|
|
4163
4167
|
} = e;
|
|
4164
|
-
t && !(t instanceof Ns) && (t = n0(t, m), t.internal = !0), this.resolution = d ||
|
|
4168
|
+
t && !(t instanceof Ns) && (t = n0(t, m), 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 = f, this._scaleMode = a, this.format = p, this.type = g, 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);
|
|
4165
4169
|
}
|
|
4166
4170
|
get realWidth() {
|
|
4167
4171
|
return Math.round(this.width * this.resolution);
|
|
@@ -4226,7 +4230,7 @@ const oF = {
|
|
|
4226
4230
|
castToBaseTexture() {
|
|
4227
4231
|
return this;
|
|
4228
4232
|
}
|
|
4229
|
-
static from(t, e, r =
|
|
4233
|
+
static from(t, e, r = Pe.STRICT_TEXTURE_CACHE) {
|
|
4230
4234
|
const n = typeof t == "string";
|
|
4231
4235
|
let i = null;
|
|
4232
4236
|
if (n)
|
|
@@ -4245,7 +4249,7 @@ const oF = {
|
|
|
4245
4249
|
}
|
|
4246
4250
|
static fromBuffer(t, e, r, n) {
|
|
4247
4251
|
t = t || new Float32Array(e * r * 4);
|
|
4248
|
-
const i = new lh(t, { width: e, height: r }), a = t instanceof Float32Array ?
|
|
4252
|
+
const i = new lh(t, { width: e, height: r }), a = t instanceof Float32Array ? Be.FLOAT : Be.UNSIGNED_BYTE;
|
|
4249
4253
|
return new wi(i, Object.assign({}, oF, n || { width: e, height: r, type: a }));
|
|
4250
4254
|
}
|
|
4251
4255
|
static addToCache(t, e) {
|
|
@@ -4266,8 +4270,8 @@ const oF = {
|
|
|
4266
4270
|
return null;
|
|
4267
4271
|
}
|
|
4268
4272
|
};
|
|
4269
|
-
let
|
|
4270
|
-
|
|
4273
|
+
let Ue = wi;
|
|
4274
|
+
Ue.defaultOptions = {
|
|
4271
4275
|
mipmap: Wn.POW2,
|
|
4272
4276
|
anisotropicLevel: 0,
|
|
4273
4277
|
scaleMode: Lr.LINEAR,
|
|
@@ -4275,9 +4279,9 @@ Be.defaultOptions = {
|
|
|
4275
4279
|
alphaMode: _n.UNPACK,
|
|
4276
4280
|
target: Ii.TEXTURE_2D,
|
|
4277
4281
|
format: K.RGBA,
|
|
4278
|
-
type:
|
|
4282
|
+
type: Be.UNSIGNED_BYTE
|
|
4279
4283
|
};
|
|
4280
|
-
|
|
4284
|
+
Ue._globalBatch = 0;
|
|
4281
4285
|
class Rc {
|
|
4282
4286
|
constructor() {
|
|
4283
4287
|
this.texArray = null, this.blend = 0, this.type = dn.TRIANGLES, this.start = 0, this.size = 0, this.data = null;
|
|
@@ -4308,7 +4312,7 @@ class kt {
|
|
|
4308
4312
|
}
|
|
4309
4313
|
}
|
|
4310
4314
|
class wo {
|
|
4311
|
-
constructor(e, r = 0, n = !1, i =
|
|
4315
|
+
constructor(e, r = 0, n = !1, i = Be.FLOAT, a, u, l, f = 1) {
|
|
4312
4316
|
this.buffer = e, this.size = r, this.normalized = n, this.type = i, this.stride = a, this.start = u, this.instance = l, this.divisor = f;
|
|
4313
4317
|
}
|
|
4314
4318
|
destroy() {
|
|
@@ -4455,7 +4459,7 @@ class Di {
|
|
|
4455
4459
|
}
|
|
4456
4460
|
class i0 extends Di {
|
|
4457
4461
|
constructor(e = !1) {
|
|
4458
|
-
super(), this._buffer = new kt(null, e, !1), this._indexBuffer = new kt(null, e, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1,
|
|
4462
|
+
super(), this._buffer = new kt(null, e, !1), this._indexBuffer = new kt(null, e, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1, Be.FLOAT).addAttribute("aTextureCoord", this._buffer, 2, !1, Be.FLOAT).addAttribute("aColor", this._buffer, 4, !0, Be.UNSIGNED_BYTE).addAttribute("aTextureId", this._buffer, 1, !0, Be.FLOAT).addIndex(this._indexBuffer);
|
|
4459
4463
|
}
|
|
4460
4464
|
}
|
|
4461
4465
|
const So = Math.PI * 2, dF = 180 / Math.PI, Ls = Math.PI / 180;
|
|
@@ -5342,9 +5346,9 @@ const l0 = {};
|
|
|
5342
5346
|
let _i = l0;
|
|
5343
5347
|
function bF() {
|
|
5344
5348
|
if (_i === l0 || _i != null && _i.isContextLost()) {
|
|
5345
|
-
const t =
|
|
5349
|
+
const t = Pe.ADAPTER.createCanvas();
|
|
5346
5350
|
let e;
|
|
5347
|
-
|
|
5351
|
+
Pe.PREFER_ENV >= Kn.WEBGL2 && (e = t.getContext("webgl2", {})), e || (e = t.getContext("webgl", {}) || t.getContext("experimental-webgl", {}), e ? e.getExtension("WEBGL_draw_buffers") : e = null), _i = e;
|
|
5348
5352
|
}
|
|
5349
5353
|
return _i;
|
|
5350
5354
|
}
|
|
@@ -5580,7 +5584,7 @@ function RF() {
|
|
|
5580
5584
|
}
|
|
5581
5585
|
function PF(t) {
|
|
5582
5586
|
let e = !0;
|
|
5583
|
-
const r =
|
|
5587
|
+
const r = Pe.ADAPTER.getNavigator();
|
|
5584
5588
|
if (Ai.tablet || Ai.phone) {
|
|
5585
5589
|
if (Ai.apple.device) {
|
|
5586
5590
|
const n = r.userAgent.match(/OS (\d+)_(\d+)?/);
|
|
@@ -5659,7 +5663,7 @@ const vr = class extends f0 {
|
|
|
5659
5663
|
this._canUploadSameBuffer = t;
|
|
5660
5664
|
}
|
|
5661
5665
|
get MAX_TEXTURES() {
|
|
5662
|
-
return
|
|
5666
|
+
return ke("7.1.0", "BatchRenderer#MAX_TEXTURES renamed to BatchRenderer#maxTextures"), this.maxTextures;
|
|
5663
5667
|
}
|
|
5664
5668
|
static get defaultVertexSrc() {
|
|
5665
5669
|
return OF;
|
|
@@ -5675,7 +5679,7 @@ const vr = class extends f0 {
|
|
|
5675
5679
|
}
|
|
5676
5680
|
contextChange() {
|
|
5677
5681
|
const t = this.renderer.gl;
|
|
5678
|
-
|
|
5682
|
+
Pe.PREFER_ENV === Kn.WEBGL_LEGACY ? this.maxTextures = 1 : (this.maxTextures = Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS), vr.defaultMaxTextures), this.maxTextures = aF(this.maxTextures, t)), this._shader = this.shaderGenerator.generateShader(this.maxTextures);
|
|
5679
5683
|
for (let e = 0; e < this._packedGeometryPoolSize; e++)
|
|
5680
5684
|
this._packedGeometries[e] = new this.geometryClass();
|
|
5681
5685
|
this.initFlushBuffers();
|
|
@@ -5703,7 +5707,7 @@ const vr = class extends f0 {
|
|
|
5703
5707
|
_bufferedTextures: t,
|
|
5704
5708
|
maxTextures: e
|
|
5705
5709
|
} = this, r = vr._textureArrayPool, n = this.renderer.batch, i = this._tempBoundTextures, a = this.renderer.textureGC.count;
|
|
5706
|
-
let u = ++
|
|
5710
|
+
let u = ++Ue._globalBatch, l = 0, f = r[0], p = 0;
|
|
5707
5711
|
n.copyBoundTextures(i, e);
|
|
5708
5712
|
for (let g = 0; g < this._bufferSize; ++g) {
|
|
5709
5713
|
const c = t[g];
|
|
@@ -5712,7 +5716,7 @@ const vr = class extends f0 {
|
|
|
5712
5716
|
f.count > 0 && (n.boundArray(f, i, u, e), this.buildDrawCalls(f, p, this._bufferSize), ++l, ++u);
|
|
5713
5717
|
for (let g = 0; g < i.length; g++)
|
|
5714
5718
|
i[g] = null;
|
|
5715
|
-
|
|
5719
|
+
Ue._globalBatch = u;
|
|
5716
5720
|
}
|
|
5717
5721
|
buildDrawCalls(t, e, r) {
|
|
5718
5722
|
const {
|
|
@@ -5792,7 +5796,7 @@ let xr = vr;
|
|
|
5792
5796
|
xr.defaultBatchSize = 4096;
|
|
5793
5797
|
xr.extension = {
|
|
5794
5798
|
name: "batch",
|
|
5795
|
-
type:
|
|
5799
|
+
type: Le.RendererPlugin
|
|
5796
5800
|
};
|
|
5797
5801
|
xr._drawCallPool = [];
|
|
5798
5802
|
xr._textureArrayPool = [];
|
|
@@ -5895,8 +5899,8 @@ Ho.defaultOptions = {
|
|
|
5895
5899
|
};
|
|
5896
5900
|
Ho.extension = {
|
|
5897
5901
|
type: [
|
|
5898
|
-
|
|
5899
|
-
|
|
5902
|
+
Le.RendererSystem,
|
|
5903
|
+
Le.CanvasRendererSystem
|
|
5900
5904
|
],
|
|
5901
5905
|
name: "background"
|
|
5902
5906
|
};
|
|
@@ -5944,7 +5948,7 @@ class d0 {
|
|
|
5944
5948
|
}
|
|
5945
5949
|
}
|
|
5946
5950
|
d0.extension = {
|
|
5947
|
-
type:
|
|
5951
|
+
type: Le.RendererSystem,
|
|
5948
5952
|
name: "batch"
|
|
5949
5953
|
};
|
|
5950
5954
|
We.add(d0);
|
|
@@ -5987,7 +5991,7 @@ class zo {
|
|
|
5987
5991
|
}
|
|
5988
5992
|
createContext(e, r) {
|
|
5989
5993
|
let n;
|
|
5990
|
-
if (
|
|
5994
|
+
if (Pe.PREFER_ENV >= Kn.WEBGL2 && (n = e.getContext("webgl2", r)), n)
|
|
5991
5995
|
this.webGLVersion = 2;
|
|
5992
5996
|
else if (this.webGLVersion = 1, n = e.getContext("webgl", r) || e.getContext("experimental-webgl", r), !n)
|
|
5993
5997
|
throw new Error("This browser does not support WebGL. Try using the canvas renderer");
|
|
@@ -6049,7 +6053,7 @@ zo.defaultOptions = {
|
|
|
6049
6053
|
powerPreference: "default"
|
|
6050
6054
|
};
|
|
6051
6055
|
zo.extension = {
|
|
6052
|
-
type:
|
|
6056
|
+
type: Le.RendererSystem,
|
|
6053
6057
|
name: "context"
|
|
6054
6058
|
};
|
|
6055
6059
|
We.add(zo);
|
|
@@ -6069,7 +6073,7 @@ class Oc {
|
|
|
6069
6073
|
return this.colorTextures[0];
|
|
6070
6074
|
}
|
|
6071
6075
|
addColorTexture(e = 0, r) {
|
|
6072
|
-
return this.colorTextures[e] = r || new
|
|
6076
|
+
return this.colorTextures[e] = r || new Ue(null, {
|
|
6073
6077
|
scaleMode: Lr.NEAREST,
|
|
6074
6078
|
resolution: 1,
|
|
6075
6079
|
mipmap: Wn.OFF,
|
|
@@ -6078,14 +6082,14 @@ class Oc {
|
|
|
6078
6082
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
6079
6083
|
}
|
|
6080
6084
|
addDepthTexture(e) {
|
|
6081
|
-
return this.depthTexture = e || new
|
|
6085
|
+
return this.depthTexture = e || new Ue(new LF(null, { width: this.width, height: this.height }), {
|
|
6082
6086
|
scaleMode: Lr.NEAREST,
|
|
6083
6087
|
resolution: 1,
|
|
6084
6088
|
width: this.width,
|
|
6085
6089
|
height: this.height,
|
|
6086
6090
|
mipmap: Wn.OFF,
|
|
6087
6091
|
format: K.DEPTH_COMPONENT,
|
|
6088
|
-
type:
|
|
6092
|
+
type: Be.UNSIGNED_SHORT
|
|
6089
6093
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
6090
6094
|
}
|
|
6091
6095
|
enableDepth() {
|
|
@@ -6114,7 +6118,7 @@ class Oc {
|
|
|
6114
6118
|
this.depthTexture && (this.depthTexture.destroy(), this.depthTexture = null, ++this.dirtyId, ++this.dirtyFormat);
|
|
6115
6119
|
}
|
|
6116
6120
|
}
|
|
6117
|
-
class p0 extends
|
|
6121
|
+
class p0 extends Ue {
|
|
6118
6122
|
constructor(e = {}) {
|
|
6119
6123
|
if (typeof e == "number") {
|
|
6120
6124
|
const r = arguments[0], n = arguments[1], i = arguments[2], a = arguments[3];
|
|
@@ -6174,7 +6178,7 @@ class g0 extends gn {
|
|
|
6174
6178
|
const n = new Image();
|
|
6175
6179
|
gn.crossOrigin(n, e, r.crossorigin), n.src = e, e = n;
|
|
6176
6180
|
}
|
|
6177
|
-
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 ??
|
|
6181
|
+
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();
|
|
6178
6182
|
}
|
|
6179
6183
|
load(e) {
|
|
6180
6184
|
return this._load ? this._load : (e !== void 0 && (this.createBitmap = e), this._load = new Promise((r, n) => {
|
|
@@ -6252,9 +6256,9 @@ function Za(t) {
|
|
|
6252
6256
|
}, t.emit = function() {
|
|
6253
6257
|
};
|
|
6254
6258
|
}
|
|
6255
|
-
class
|
|
6259
|
+
class De extends ko {
|
|
6256
6260
|
constructor(e, r, n, i, a, u, l) {
|
|
6257
|
-
if (super(), this.noFrame = !1, r || (this.noFrame = !0, r = new Ye(0, 0, 1, 1)), e instanceof
|
|
6261
|
+
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 = Ig, this.uvMatrix = null, this.orig = n || r, this._rotate = Number(a || 0), a === !0)
|
|
6258
6262
|
this._rotate = 2;
|
|
6259
6263
|
else if (this._rotate % 2 !== 0)
|
|
6260
6264
|
throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
|
|
@@ -6276,29 +6280,29 @@ class ke extends ko {
|
|
|
6276
6280
|
if (this.baseTexture) {
|
|
6277
6281
|
if (e) {
|
|
6278
6282
|
const { resource: r } = this.baseTexture;
|
|
6279
|
-
r != null && r.url && Fr[r.url] &&
|
|
6283
|
+
r != null && r.url && Fr[r.url] && De.removeFromCache(r.url), this.baseTexture.destroy();
|
|
6280
6284
|
}
|
|
6281
6285
|
this.baseTexture.off("loaded", this.onBaseTextureUpdated, this), this.baseTexture.off("update", this.onBaseTextureUpdated, this), this.baseTexture = null;
|
|
6282
6286
|
}
|
|
6283
|
-
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1,
|
|
6287
|
+
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, De.removeFromCache(this), this.textureCacheIds = null;
|
|
6284
6288
|
}
|
|
6285
6289
|
clone() {
|
|
6286
6290
|
var i;
|
|
6287
|
-
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new
|
|
6291
|
+
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);
|
|
6288
6292
|
return this.noFrame && (n._frame = e), n;
|
|
6289
6293
|
}
|
|
6290
6294
|
updateUvs() {
|
|
6291
6295
|
this._uvs === Ig && (this._uvs = new m0()), this._uvs.set(this._frame, this.baseTexture, this.rotate), this._updateID++;
|
|
6292
6296
|
}
|
|
6293
|
-
static from(e, r = {}, n =
|
|
6297
|
+
static from(e, r = {}, n = Pe.STRICT_TEXTURE_CACHE) {
|
|
6294
6298
|
const i = typeof e == "string";
|
|
6295
6299
|
let a = null;
|
|
6296
6300
|
if (i)
|
|
6297
6301
|
a = e;
|
|
6298
|
-
else if (e instanceof
|
|
6302
|
+
else if (e instanceof Ue) {
|
|
6299
6303
|
if (!e.cacheId) {
|
|
6300
6304
|
const l = (r == null ? void 0 : r.pixiIdPrefix) || "pixiid";
|
|
6301
|
-
e.cacheId = `${l}-${Fs()}`,
|
|
6305
|
+
e.cacheId = `${l}-${Fs()}`, Ue.addToCache(e, e.cacheId);
|
|
6302
6306
|
}
|
|
6303
6307
|
a = e.cacheId;
|
|
6304
6308
|
} else {
|
|
@@ -6311,23 +6315,23 @@ class ke extends ko {
|
|
|
6311
6315
|
let u = Fr[a];
|
|
6312
6316
|
if (i && n && !u)
|
|
6313
6317
|
throw new Error(`The cacheId "${a}" does not exist in TextureCache.`);
|
|
6314
|
-
return !u && !(e instanceof
|
|
6318
|
+
return !u && !(e instanceof Ue) ? (r.resolution || (r.resolution = xg(e)), u = new De(new Ue(e, r)), u.baseTexture.cacheId = a, Ue.addToCache(u.baseTexture, a), De.addToCache(u, a)) : !u && e instanceof Ue && (u = new De(e), De.addToCache(u, a)), u;
|
|
6315
6319
|
}
|
|
6316
6320
|
static fromURL(e, r) {
|
|
6317
|
-
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i =
|
|
6321
|
+
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;
|
|
6318
6322
|
return i.baseTexture.valid ? Promise.resolve(i) : a.load().then(() => Promise.resolve(i));
|
|
6319
6323
|
}
|
|
6320
6324
|
static fromBuffer(e, r, n, i) {
|
|
6321
|
-
return new
|
|
6325
|
+
return new De(Ue.fromBuffer(e, r, n, i));
|
|
6322
6326
|
}
|
|
6323
6327
|
static fromLoader(e, r, n, i) {
|
|
6324
|
-
const a = new
|
|
6325
|
-
scaleMode:
|
|
6328
|
+
const a = new Ue(e, Object.assign({
|
|
6329
|
+
scaleMode: Ue.defaultOptions.scaleMode,
|
|
6326
6330
|
resolution: xg(r)
|
|
6327
6331
|
}, i)), { resource: u } = a;
|
|
6328
6332
|
u instanceof g0 && (u.url = r);
|
|
6329
|
-
const l = new
|
|
6330
|
-
return n || (n = r),
|
|
6333
|
+
const l = new De(a);
|
|
6334
|
+
return n || (n = r), Ue.addToCache(l.baseTexture, n), De.addToCache(l, n), n !== r && (Ue.addToCache(l.baseTexture, r), De.addToCache(l, r)), l.baseTexture.valid ? Promise.resolve(l) : new Promise((f) => {
|
|
6331
6335
|
l.baseTexture.once("loaded", () => f(l));
|
|
6332
6336
|
});
|
|
6333
6337
|
}
|
|
@@ -6379,17 +6383,17 @@ class ke extends ko {
|
|
|
6379
6383
|
return this.baseTexture;
|
|
6380
6384
|
}
|
|
6381
6385
|
static get EMPTY() {
|
|
6382
|
-
return
|
|
6386
|
+
return De._EMPTY || (De._EMPTY = new De(new Ue()), Za(De._EMPTY), Za(De._EMPTY.baseTexture)), De._EMPTY;
|
|
6383
6387
|
}
|
|
6384
6388
|
static get WHITE() {
|
|
6385
|
-
if (!
|
|
6386
|
-
const e =
|
|
6387
|
-
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16),
|
|
6389
|
+
if (!De._WHITE) {
|
|
6390
|
+
const e = Pe.ADAPTER.createCanvas(16, 16), r = e.getContext("2d");
|
|
6391
|
+
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16), De._WHITE = new De(Ue.from(e)), Za(De._WHITE), Za(De._WHITE.baseTexture);
|
|
6388
6392
|
}
|
|
6389
|
-
return
|
|
6393
|
+
return De._WHITE;
|
|
6390
6394
|
}
|
|
6391
6395
|
}
|
|
6392
|
-
class Vo extends
|
|
6396
|
+
class Vo extends De {
|
|
6393
6397
|
constructor(e, r) {
|
|
6394
6398
|
super(e, r), this.valid = !0, this.filterFrame = null, this.filterPoolKey = null, this.updateUvs();
|
|
6395
6399
|
}
|
|
@@ -6642,7 +6646,7 @@ class _0 {
|
|
|
6642
6646
|
}
|
|
6643
6647
|
}
|
|
6644
6648
|
_0.extension = {
|
|
6645
|
-
type:
|
|
6649
|
+
type: Le.RendererSystem,
|
|
6646
6650
|
name: "filter"
|
|
6647
6651
|
};
|
|
6648
6652
|
We.add(_0);
|
|
@@ -6661,7 +6665,7 @@ class y0 {
|
|
|
6661
6665
|
const e = this.gl = this.renderer.gl;
|
|
6662
6666
|
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) {
|
|
6663
6667
|
let r = this.renderer.context.extensions.drawBuffers, n = this.renderer.context.extensions.depthTexture;
|
|
6664
|
-
|
|
6668
|
+
Pe.PREFER_ENV === Kn.WEBGL_LEGACY && (r = null, n = null), r ? e.drawBuffers = (i) => r.drawBuffersWEBGL(i) : (this.hasMRT = !1, e.drawBuffers = () => {
|
|
6665
6669
|
}), n || (this.writeDepthTexture = !1);
|
|
6666
6670
|
} else
|
|
6667
6671
|
this.msaaSamples = e.getInternalformatParameter(e.RENDERBUFFER, e.RGBA8, e.SAMPLES);
|
|
@@ -6794,7 +6798,7 @@ class y0 {
|
|
|
6794
6798
|
}
|
|
6795
6799
|
}
|
|
6796
6800
|
y0.extension = {
|
|
6797
|
-
type:
|
|
6801
|
+
type: Le.RendererSystem,
|
|
6798
6802
|
name: "framebuffer"
|
|
6799
6803
|
};
|
|
6800
6804
|
We.add(y0);
|
|
@@ -6808,7 +6812,7 @@ class x0 {
|
|
|
6808
6812
|
const e = this.gl = this.renderer.gl, r = this.renderer.context;
|
|
6809
6813
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, r.webGLVersion !== 2) {
|
|
6810
6814
|
let n = this.renderer.context.extensions.vertexArrayObject;
|
|
6811
|
-
|
|
6815
|
+
Pe.PREFER_ENV === Kn.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);
|
|
6812
6816
|
}
|
|
6813
6817
|
if (r.webGLVersion !== 2) {
|
|
6814
6818
|
const n = e.getExtension("ANGLE_instanced_arrays");
|
|
@@ -6930,7 +6934,7 @@ class x0 {
|
|
|
6930
6934
|
}
|
|
6931
6935
|
}
|
|
6932
6936
|
x0.extension = {
|
|
6933
|
-
type:
|
|
6937
|
+
type: Le.RendererSystem,
|
|
6934
6938
|
name: "geometry"
|
|
6935
6939
|
};
|
|
6936
6940
|
We.add(x0);
|
|
@@ -7132,7 +7136,7 @@ class b0 {
|
|
|
7132
7136
|
}
|
|
7133
7137
|
}
|
|
7134
7138
|
b0.extension = {
|
|
7135
|
-
type:
|
|
7139
|
+
type: Le.RendererSystem,
|
|
7136
7140
|
name: "mask"
|
|
7137
7141
|
};
|
|
7138
7142
|
We.add(b0);
|
|
@@ -7157,7 +7161,7 @@ class T0 {
|
|
|
7157
7161
|
}
|
|
7158
7162
|
const Pg = new Dt(), Mg = [], so = class extends T0 {
|
|
7159
7163
|
constructor(t) {
|
|
7160
|
-
super(t), this.glConst =
|
|
7164
|
+
super(t), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().SCISSOR_TEST;
|
|
7161
7165
|
}
|
|
7162
7166
|
getStackLength() {
|
|
7163
7167
|
const t = this.maskStack[this.maskStack.length - 1];
|
|
@@ -7203,13 +7207,13 @@ const Pg = new Dt(), Mg = [], so = class extends T0 {
|
|
|
7203
7207
|
};
|
|
7204
7208
|
let w0 = so;
|
|
7205
7209
|
w0.extension = {
|
|
7206
|
-
type:
|
|
7210
|
+
type: Le.RendererSystem,
|
|
7207
7211
|
name: "scissor"
|
|
7208
7212
|
};
|
|
7209
7213
|
We.add(w0);
|
|
7210
7214
|
class S0 extends T0 {
|
|
7211
7215
|
constructor(e) {
|
|
7212
|
-
super(e), this.glConst =
|
|
7216
|
+
super(e), this.glConst = Pe.ADAPTER.getWebGLRenderingContext().STENCIL_TEST;
|
|
7213
7217
|
}
|
|
7214
7218
|
getStackLength() {
|
|
7215
7219
|
const e = this.maskStack[this.maskStack.length - 1];
|
|
@@ -7236,7 +7240,7 @@ class S0 extends T0 {
|
|
|
7236
7240
|
}
|
|
7237
7241
|
}
|
|
7238
7242
|
S0.extension = {
|
|
7239
|
-
type:
|
|
7243
|
+
type: Le.RendererSystem,
|
|
7240
7244
|
name: "stencil"
|
|
7241
7245
|
};
|
|
7242
7246
|
We.add(S0);
|
|
@@ -7246,19 +7250,19 @@ class A0 {
|
|
|
7246
7250
|
extract: {
|
|
7247
7251
|
enumerable: !1,
|
|
7248
7252
|
get() {
|
|
7249
|
-
return
|
|
7253
|
+
return ke("7.0.0", "renderer.plugins.extract has moved to renderer.extract"), e.extract;
|
|
7250
7254
|
}
|
|
7251
7255
|
},
|
|
7252
7256
|
prepare: {
|
|
7253
7257
|
enumerable: !1,
|
|
7254
7258
|
get() {
|
|
7255
|
-
return
|
|
7259
|
+
return ke("7.0.0", "renderer.plugins.prepare has moved to renderer.prepare"), e.prepare;
|
|
7256
7260
|
}
|
|
7257
7261
|
},
|
|
7258
7262
|
interaction: {
|
|
7259
7263
|
enumerable: !1,
|
|
7260
7264
|
get() {
|
|
7261
|
-
return
|
|
7265
|
+
return ke("7.0.0", "renderer.plugins.interaction has been deprecated, use renderer.events"), e.events;
|
|
7262
7266
|
}
|
|
7263
7267
|
}
|
|
7264
7268
|
});
|
|
@@ -7275,8 +7279,8 @@ class A0 {
|
|
|
7275
7279
|
}
|
|
7276
7280
|
A0.extension = {
|
|
7277
7281
|
type: [
|
|
7278
|
-
|
|
7279
|
-
|
|
7282
|
+
Le.RendererSystem,
|
|
7283
|
+
Le.CanvasRendererSystem
|
|
7280
7284
|
],
|
|
7281
7285
|
name: "_plugin"
|
|
7282
7286
|
};
|
|
@@ -7301,7 +7305,7 @@ class E0 {
|
|
|
7301
7305
|
}
|
|
7302
7306
|
}
|
|
7303
7307
|
E0.extension = {
|
|
7304
|
-
type:
|
|
7308
|
+
type: Le.RendererSystem,
|
|
7305
7309
|
name: "projection"
|
|
7306
7310
|
};
|
|
7307
7311
|
We.add(E0);
|
|
@@ -7332,8 +7336,8 @@ class C0 {
|
|
|
7332
7336
|
}
|
|
7333
7337
|
C0.extension = {
|
|
7334
7338
|
type: [
|
|
7335
|
-
|
|
7336
|
-
|
|
7339
|
+
Le.RendererSystem,
|
|
7340
|
+
Le.CanvasRendererSystem
|
|
7337
7341
|
],
|
|
7338
7342
|
name: "textureGenerator"
|
|
7339
7343
|
};
|
|
@@ -7370,7 +7374,7 @@ class I0 {
|
|
|
7370
7374
|
}
|
|
7371
7375
|
}
|
|
7372
7376
|
I0.extension = {
|
|
7373
|
-
type:
|
|
7377
|
+
type: Le.RendererSystem,
|
|
7374
7378
|
name: "renderTexture"
|
|
7375
7379
|
};
|
|
7376
7380
|
We.add(I0);
|
|
@@ -7669,7 +7673,7 @@ class P0 {
|
|
|
7669
7673
|
}
|
|
7670
7674
|
}
|
|
7671
7675
|
P0.extension = {
|
|
7672
|
-
type:
|
|
7676
|
+
type: Le.RendererSystem,
|
|
7673
7677
|
name: "shader"
|
|
7674
7678
|
};
|
|
7675
7679
|
We.add(P0);
|
|
@@ -7689,18 +7693,18 @@ Xo.defaultOptions = {
|
|
|
7689
7693
|
};
|
|
7690
7694
|
Xo.extension = {
|
|
7691
7695
|
type: [
|
|
7692
|
-
|
|
7693
|
-
|
|
7696
|
+
Le.RendererSystem,
|
|
7697
|
+
Le.CanvasRendererSystem
|
|
7694
7698
|
],
|
|
7695
7699
|
name: "startup"
|
|
7696
7700
|
};
|
|
7697
7701
|
We.add(Xo);
|
|
7698
7702
|
function nN(t, e = []) {
|
|
7699
|
-
return e[
|
|
7703
|
+
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;
|
|
7700
7704
|
}
|
|
7701
7705
|
const iN = 0, sN = 1, aN = 2, oN = 3, uN = 4, lN = 5, Fc = class {
|
|
7702
7706
|
constructor() {
|
|
7703
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
7707
|
+
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode = fe.NONE, this._blendEq = !1, this.map = [], this.map[iN] = this.setBlend, this.map[sN] = this.setOffset, this.map[aN] = this.setCullFace, this.map[oN] = this.setDepthTest, this.map[uN] = this.setFrontFace, this.map[lN] = this.setDepthMask, this.checks = [], this.defaultState = new Go(), this.defaultState.blend = !0;
|
|
7704
7708
|
}
|
|
7705
7709
|
contextChange(t) {
|
|
7706
7710
|
this.gl = t, this.blendModes = nN(t), this.set(this.defaultState), this.reset();
|
|
@@ -7770,7 +7774,7 @@ const iN = 0, sN = 1, aN = 2, oN = 3, uN = 4, lN = 5, Fc = class {
|
|
|
7770
7774
|
};
|
|
7771
7775
|
let M0 = Fc;
|
|
7772
7776
|
M0.extension = {
|
|
7773
|
-
type:
|
|
7777
|
+
type: Le.RendererSystem,
|
|
7774
7778
|
name: "state"
|
|
7775
7779
|
};
|
|
7776
7780
|
We.add(M0);
|
|
@@ -7850,19 +7854,19 @@ br.defaultMode = Qc.AUTO;
|
|
|
7850
7854
|
br.defaultMaxIdle = 60 * 60;
|
|
7851
7855
|
br.defaultCheckCountMax = 60 * 10;
|
|
7852
7856
|
br.extension = {
|
|
7853
|
-
type:
|
|
7857
|
+
type: Le.RendererSystem,
|
|
7854
7858
|
name: "textureGC"
|
|
7855
7859
|
};
|
|
7856
7860
|
We.add(br);
|
|
7857
7861
|
class Kl {
|
|
7858
7862
|
constructor(e) {
|
|
7859
|
-
this.texture = e, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type =
|
|
7863
|
+
this.texture = e, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type = Be.UNSIGNED_BYTE, this.internalFormat = K.RGBA, this.samplerType = 0;
|
|
7860
7864
|
}
|
|
7861
7865
|
}
|
|
7862
7866
|
function hN(t) {
|
|
7863
7867
|
let e;
|
|
7864
7868
|
return "WebGL2RenderingContext" in globalThis && t instanceof globalThis.WebGL2RenderingContext ? e = {
|
|
7865
|
-
[
|
|
7869
|
+
[Be.UNSIGNED_BYTE]: {
|
|
7866
7870
|
[K.RGBA]: t.RGBA8,
|
|
7867
7871
|
[K.RGB]: t.RGB8,
|
|
7868
7872
|
[K.RG]: t.RG8,
|
|
@@ -7875,7 +7879,7 @@ function hN(t) {
|
|
|
7875
7879
|
[K.LUMINANCE]: t.LUMINANCE,
|
|
7876
7880
|
[K.LUMINANCE_ALPHA]: t.LUMINANCE_ALPHA
|
|
7877
7881
|
},
|
|
7878
|
-
[
|
|
7882
|
+
[Be.BYTE]: {
|
|
7879
7883
|
[K.RGBA]: t.RGBA8_SNORM,
|
|
7880
7884
|
[K.RGB]: t.RGB8_SNORM,
|
|
7881
7885
|
[K.RG]: t.RG8_SNORM,
|
|
@@ -7885,92 +7889,92 @@ function hN(t) {
|
|
|
7885
7889
|
[K.RG_INTEGER]: t.RG8I,
|
|
7886
7890
|
[K.RED_INTEGER]: t.R8I
|
|
7887
7891
|
},
|
|
7888
|
-
[
|
|
7892
|
+
[Be.UNSIGNED_SHORT]: {
|
|
7889
7893
|
[K.RGBA_INTEGER]: t.RGBA16UI,
|
|
7890
7894
|
[K.RGB_INTEGER]: t.RGB16UI,
|
|
7891
7895
|
[K.RG_INTEGER]: t.RG16UI,
|
|
7892
7896
|
[K.RED_INTEGER]: t.R16UI,
|
|
7893
7897
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT16
|
|
7894
7898
|
},
|
|
7895
|
-
[
|
|
7899
|
+
[Be.SHORT]: {
|
|
7896
7900
|
[K.RGBA_INTEGER]: t.RGBA16I,
|
|
7897
7901
|
[K.RGB_INTEGER]: t.RGB16I,
|
|
7898
7902
|
[K.RG_INTEGER]: t.RG16I,
|
|
7899
7903
|
[K.RED_INTEGER]: t.R16I
|
|
7900
7904
|
},
|
|
7901
|
-
[
|
|
7905
|
+
[Be.UNSIGNED_INT]: {
|
|
7902
7906
|
[K.RGBA_INTEGER]: t.RGBA32UI,
|
|
7903
7907
|
[K.RGB_INTEGER]: t.RGB32UI,
|
|
7904
7908
|
[K.RG_INTEGER]: t.RG32UI,
|
|
7905
7909
|
[K.RED_INTEGER]: t.R32UI,
|
|
7906
7910
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT24
|
|
7907
7911
|
},
|
|
7908
|
-
[
|
|
7912
|
+
[Be.INT]: {
|
|
7909
7913
|
[K.RGBA_INTEGER]: t.RGBA32I,
|
|
7910
7914
|
[K.RGB_INTEGER]: t.RGB32I,
|
|
7911
7915
|
[K.RG_INTEGER]: t.RG32I,
|
|
7912
7916
|
[K.RED_INTEGER]: t.R32I
|
|
7913
7917
|
},
|
|
7914
|
-
[
|
|
7918
|
+
[Be.FLOAT]: {
|
|
7915
7919
|
[K.RGBA]: t.RGBA32F,
|
|
7916
7920
|
[K.RGB]: t.RGB32F,
|
|
7917
7921
|
[K.RG]: t.RG32F,
|
|
7918
7922
|
[K.RED]: t.R32F,
|
|
7919
7923
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT32F
|
|
7920
7924
|
},
|
|
7921
|
-
[
|
|
7925
|
+
[Be.HALF_FLOAT]: {
|
|
7922
7926
|
[K.RGBA]: t.RGBA16F,
|
|
7923
7927
|
[K.RGB]: t.RGB16F,
|
|
7924
7928
|
[K.RG]: t.RG16F,
|
|
7925
7929
|
[K.RED]: t.R16F
|
|
7926
7930
|
},
|
|
7927
|
-
[
|
|
7931
|
+
[Be.UNSIGNED_SHORT_5_6_5]: {
|
|
7928
7932
|
[K.RGB]: t.RGB565
|
|
7929
7933
|
},
|
|
7930
|
-
[
|
|
7934
|
+
[Be.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7931
7935
|
[K.RGBA]: t.RGBA4
|
|
7932
7936
|
},
|
|
7933
|
-
[
|
|
7937
|
+
[Be.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7934
7938
|
[K.RGBA]: t.RGB5_A1
|
|
7935
7939
|
},
|
|
7936
|
-
[
|
|
7940
|
+
[Be.UNSIGNED_INT_2_10_10_10_REV]: {
|
|
7937
7941
|
[K.RGBA]: t.RGB10_A2,
|
|
7938
7942
|
[K.RGBA_INTEGER]: t.RGB10_A2UI
|
|
7939
7943
|
},
|
|
7940
|
-
[
|
|
7944
|
+
[Be.UNSIGNED_INT_10F_11F_11F_REV]: {
|
|
7941
7945
|
[K.RGB]: t.R11F_G11F_B10F
|
|
7942
7946
|
},
|
|
7943
|
-
[
|
|
7947
|
+
[Be.UNSIGNED_INT_5_9_9_9_REV]: {
|
|
7944
7948
|
[K.RGB]: t.RGB9_E5
|
|
7945
7949
|
},
|
|
7946
|
-
[
|
|
7950
|
+
[Be.UNSIGNED_INT_24_8]: {
|
|
7947
7951
|
[K.DEPTH_STENCIL]: t.DEPTH24_STENCIL8
|
|
7948
7952
|
},
|
|
7949
|
-
[
|
|
7953
|
+
[Be.FLOAT_32_UNSIGNED_INT_24_8_REV]: {
|
|
7950
7954
|
[K.DEPTH_STENCIL]: t.DEPTH32F_STENCIL8
|
|
7951
7955
|
}
|
|
7952
7956
|
} : e = {
|
|
7953
|
-
[
|
|
7957
|
+
[Be.UNSIGNED_BYTE]: {
|
|
7954
7958
|
[K.RGBA]: t.RGBA,
|
|
7955
7959
|
[K.RGB]: t.RGB,
|
|
7956
7960
|
[K.ALPHA]: t.ALPHA,
|
|
7957
7961
|
[K.LUMINANCE]: t.LUMINANCE,
|
|
7958
7962
|
[K.LUMINANCE_ALPHA]: t.LUMINANCE_ALPHA
|
|
7959
7963
|
},
|
|
7960
|
-
[
|
|
7964
|
+
[Be.UNSIGNED_SHORT_5_6_5]: {
|
|
7961
7965
|
[K.RGB]: t.RGB
|
|
7962
7966
|
},
|
|
7963
|
-
[
|
|
7967
|
+
[Be.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7964
7968
|
[K.RGBA]: t.RGBA
|
|
7965
7969
|
},
|
|
7966
|
-
[
|
|
7970
|
+
[Be.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7967
7971
|
[K.RGBA]: t.RGBA
|
|
7968
7972
|
}
|
|
7969
7973
|
}, e;
|
|
7970
7974
|
}
|
|
7971
7975
|
class O0 {
|
|
7972
7976
|
constructor(e) {
|
|
7973
|
-
this.renderer = e, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new
|
|
7977
|
+
this.renderer = e, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new Ue(), this.hasIntegerTextures = !1;
|
|
7974
7978
|
}
|
|
7975
7979
|
contextChange() {
|
|
7976
7980
|
const e = this.gl = this.renderer.gl;
|
|
@@ -8026,7 +8030,7 @@ class O0 {
|
|
|
8026
8030
|
}
|
|
8027
8031
|
initTextureType(e, r) {
|
|
8028
8032
|
var n;
|
|
8029
|
-
r.internalFormat = ((n = this.internalFormats[e.type]) == null ? void 0 : n[e.format]) ?? e.format, this.webGLVersion === 2 && e.type ===
|
|
8033
|
+
r.internalFormat = ((n = this.internalFormats[e.type]) == null ? void 0 : n[e.format]) ?? e.format, this.webGLVersion === 2 && e.type === Be.HALF_FLOAT ? r.type = this.gl.HALF_FLOAT : r.type = e.type;
|
|
8030
8034
|
}
|
|
8031
8035
|
updateTexture(e) {
|
|
8032
8036
|
var i;
|
|
@@ -8072,7 +8076,7 @@ class O0 {
|
|
|
8072
8076
|
}
|
|
8073
8077
|
}
|
|
8074
8078
|
O0.extension = {
|
|
8075
|
-
type:
|
|
8079
|
+
type: Le.RendererSystem,
|
|
8076
8080
|
name: "texture"
|
|
8077
8081
|
};
|
|
8078
8082
|
We.add(O0);
|
|
@@ -8127,7 +8131,7 @@ class F0 {
|
|
|
8127
8131
|
}
|
|
8128
8132
|
}
|
|
8129
8133
|
F0.extension = {
|
|
8130
|
-
type:
|
|
8134
|
+
type: Le.RendererSystem,
|
|
8131
8135
|
name: "transformFeedback"
|
|
8132
8136
|
};
|
|
8133
8137
|
We.add(F0);
|
|
@@ -8136,7 +8140,7 @@ class Wo {
|
|
|
8136
8140
|
this.renderer = e;
|
|
8137
8141
|
}
|
|
8138
8142
|
init(e) {
|
|
8139
|
-
this.screen = new Ye(0, 0, e.width, e.height), this.element = e.view ||
|
|
8143
|
+
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;
|
|
8140
8144
|
}
|
|
8141
8145
|
resizeView(e, r) {
|
|
8142
8146
|
this.element.width = Math.round(e * this.resolution), this.element.height = Math.round(r * this.resolution);
|
|
@@ -8151,61 +8155,61 @@ class Wo {
|
|
|
8151
8155
|
Wo.defaultOptions = {
|
|
8152
8156
|
width: 800,
|
|
8153
8157
|
height: 600,
|
|
8154
|
-
resolution:
|
|
8158
|
+
resolution: Pe.RESOLUTION,
|
|
8155
8159
|
autoDensity: !1
|
|
8156
8160
|
};
|
|
8157
8161
|
Wo.extension = {
|
|
8158
8162
|
type: [
|
|
8159
|
-
|
|
8160
|
-
|
|
8163
|
+
Le.RendererSystem,
|
|
8164
|
+
Le.CanvasRendererSystem
|
|
8161
8165
|
],
|
|
8162
8166
|
name: "_view"
|
|
8163
8167
|
};
|
|
8164
8168
|
We.add(Wo);
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8169
|
+
Pe.PREFER_ENV = Kn.WEBGL2;
|
|
8170
|
+
Pe.STRICT_TEXTURE_CACHE = !1;
|
|
8171
|
+
Pe.RENDER_OPTIONS = {
|
|
8168
8172
|
...zo.defaultOptions,
|
|
8169
8173
|
...Ho.defaultOptions,
|
|
8170
8174
|
...Wo.defaultOptions,
|
|
8171
8175
|
...Xo.defaultOptions
|
|
8172
8176
|
};
|
|
8173
|
-
Object.defineProperties(
|
|
8177
|
+
Object.defineProperties(Pe, {
|
|
8174
8178
|
WRAP_MODE: {
|
|
8175
8179
|
get() {
|
|
8176
|
-
return
|
|
8180
|
+
return Ue.defaultOptions.wrapMode;
|
|
8177
8181
|
},
|
|
8178
8182
|
set(t) {
|
|
8179
|
-
|
|
8183
|
+
ke("7.1.0", "settings.WRAP_MODE is deprecated, use BaseTexture.defaultOptions.wrapMode"), Ue.defaultOptions.wrapMode = t;
|
|
8180
8184
|
}
|
|
8181
8185
|
},
|
|
8182
8186
|
SCALE_MODE: {
|
|
8183
8187
|
get() {
|
|
8184
|
-
return
|
|
8188
|
+
return Ue.defaultOptions.scaleMode;
|
|
8185
8189
|
},
|
|
8186
8190
|
set(t) {
|
|
8187
|
-
|
|
8191
|
+
ke("7.1.0", "settings.SCALE_MODE is deprecated, use BaseTexture.defaultOptions.scaleMode"), Ue.defaultOptions.scaleMode = t;
|
|
8188
8192
|
}
|
|
8189
8193
|
},
|
|
8190
8194
|
MIPMAP_TEXTURES: {
|
|
8191
8195
|
get() {
|
|
8192
|
-
return
|
|
8196
|
+
return Ue.defaultOptions.mipmap;
|
|
8193
8197
|
},
|
|
8194
8198
|
set(t) {
|
|
8195
|
-
|
|
8199
|
+
ke("7.1.0", "settings.MIPMAP_TEXTURES is deprecated, use BaseTexture.defaultOptions.mipmap"), Ue.defaultOptions.mipmap = t;
|
|
8196
8200
|
}
|
|
8197
8201
|
},
|
|
8198
8202
|
ANISOTROPIC_LEVEL: {
|
|
8199
8203
|
get() {
|
|
8200
|
-
return
|
|
8204
|
+
return Ue.defaultOptions.anisotropicLevel;
|
|
8201
8205
|
},
|
|
8202
8206
|
set(t) {
|
|
8203
|
-
|
|
8207
|
+
ke("7.1.0", "settings.ANISOTROPIC_LEVEL is deprecated, use BaseTexture.defaultOptions.anisotropicLevel"), Ue.defaultOptions.anisotropicLevel = t;
|
|
8204
8208
|
}
|
|
8205
8209
|
},
|
|
8206
8210
|
FILTER_RESOLUTION: {
|
|
8207
8211
|
get() {
|
|
8208
|
-
return
|
|
8212
|
+
return ke("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"), Ve.defaultResolution;
|
|
8209
8213
|
},
|
|
8210
8214
|
set(t) {
|
|
8211
8215
|
Ve.defaultResolution = t;
|
|
@@ -8213,7 +8217,7 @@ Object.defineProperties(Ie, {
|
|
|
8213
8217
|
},
|
|
8214
8218
|
FILTER_MULTISAMPLE: {
|
|
8215
8219
|
get() {
|
|
8216
|
-
return
|
|
8220
|
+
return ke("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"), Ve.defaultMultisample;
|
|
8217
8221
|
},
|
|
8218
8222
|
set(t) {
|
|
8219
8223
|
Ve.defaultMultisample = t;
|
|
@@ -8224,7 +8228,7 @@ Object.defineProperties(Ie, {
|
|
|
8224
8228
|
return xr.defaultMaxTextures;
|
|
8225
8229
|
},
|
|
8226
8230
|
set(t) {
|
|
8227
|
-
|
|
8231
|
+
ke("7.1.0", "settings.SPRITE_MAX_TEXTURES is deprecated, use BatchRenderer.defaultMaxTextures"), xr.defaultMaxTextures = t;
|
|
8228
8232
|
}
|
|
8229
8233
|
},
|
|
8230
8234
|
SPRITE_BATCH_SIZE: {
|
|
@@ -8232,7 +8236,7 @@ Object.defineProperties(Ie, {
|
|
|
8232
8236
|
return xr.defaultBatchSize;
|
|
8233
8237
|
},
|
|
8234
8238
|
set(t) {
|
|
8235
|
-
|
|
8239
|
+
ke("7.1.0", "settings.SPRITE_BATCH_SIZE is deprecated, use BatchRenderer.defaultBatchSize"), xr.defaultBatchSize = t;
|
|
8236
8240
|
}
|
|
8237
8241
|
},
|
|
8238
8242
|
CAN_UPLOAD_SAME_BUFFER: {
|
|
@@ -8240,7 +8244,7 @@ Object.defineProperties(Ie, {
|
|
|
8240
8244
|
return xr.canUploadSameBuffer;
|
|
8241
8245
|
},
|
|
8242
8246
|
set(t) {
|
|
8243
|
-
|
|
8247
|
+
ke("7.1.0", "settings.CAN_UPLOAD_SAME_BUFFER is deprecated, use BatchRenderer.canUploadSameBuffer"), xr.canUploadSameBuffer = t;
|
|
8244
8248
|
}
|
|
8245
8249
|
},
|
|
8246
8250
|
GC_MODE: {
|
|
@@ -8248,7 +8252,7 @@ Object.defineProperties(Ie, {
|
|
|
8248
8252
|
return br.defaultMode;
|
|
8249
8253
|
},
|
|
8250
8254
|
set(t) {
|
|
8251
|
-
|
|
8255
|
+
ke("7.1.0", "settings.GC_MODE is deprecated, use TextureGCSystem.defaultMode"), br.defaultMode = t;
|
|
8252
8256
|
}
|
|
8253
8257
|
},
|
|
8254
8258
|
GC_MAX_IDLE: {
|
|
@@ -8256,7 +8260,7 @@ Object.defineProperties(Ie, {
|
|
|
8256
8260
|
return br.defaultMaxIdle;
|
|
8257
8261
|
},
|
|
8258
8262
|
set(t) {
|
|
8259
|
-
|
|
8263
|
+
ke("7.1.0", "settings.GC_MAX_IDLE is deprecated, use TextureGCSystem.defaultMaxIdle"), br.defaultMaxIdle = t;
|
|
8260
8264
|
}
|
|
8261
8265
|
},
|
|
8262
8266
|
GC_MAX_CHECK_COUNT: {
|
|
@@ -8264,7 +8268,7 @@ Object.defineProperties(Ie, {
|
|
|
8264
8268
|
return br.defaultCheckCountMax;
|
|
8265
8269
|
},
|
|
8266
8270
|
set(t) {
|
|
8267
|
-
|
|
8271
|
+
ke("7.1.0", "settings.GC_MAX_CHECK_COUNT is deprecated, use TextureGCSystem.defaultCheckCountMax"), br.defaultCheckCountMax = t;
|
|
8268
8272
|
}
|
|
8269
8273
|
},
|
|
8270
8274
|
PRECISION_VERTEX: {
|
|
@@ -8272,7 +8276,7 @@ Object.defineProperties(Ie, {
|
|
|
8272
8276
|
return Qr.defaultVertexPrecision;
|
|
8273
8277
|
},
|
|
8274
8278
|
set(t) {
|
|
8275
|
-
|
|
8279
|
+
ke("7.1.0", "settings.PRECISION_VERTEX is deprecated, use Program.defaultVertexPrecision"), Qr.defaultVertexPrecision = t;
|
|
8276
8280
|
}
|
|
8277
8281
|
},
|
|
8278
8282
|
PRECISION_FRAGMENT: {
|
|
@@ -8280,7 +8284,7 @@ Object.defineProperties(Ie, {
|
|
|
8280
8284
|
return Qr.defaultFragmentPrecision;
|
|
8281
8285
|
},
|
|
8282
8286
|
set(t) {
|
|
8283
|
-
|
|
8287
|
+
ke("7.1.0", "settings.PRECISION_FRAGMENT is deprecated, use Program.defaultFragmentPrecision"), Qr.defaultFragmentPrecision = t;
|
|
8284
8288
|
}
|
|
8285
8289
|
}
|
|
8286
8290
|
});
|
|
@@ -8429,13 +8433,13 @@ const Qt = class {
|
|
|
8429
8433
|
};
|
|
8430
8434
|
let Tr = Qt;
|
|
8431
8435
|
Tr.targetFPMS = 0.06;
|
|
8432
|
-
Object.defineProperties(
|
|
8436
|
+
Object.defineProperties(Pe, {
|
|
8433
8437
|
TARGET_FPMS: {
|
|
8434
8438
|
get() {
|
|
8435
8439
|
return Tr.targetFPMS;
|
|
8436
8440
|
},
|
|
8437
8441
|
set(t) {
|
|
8438
|
-
|
|
8442
|
+
ke("7.1.0", "settings.TARGET_FPMS is deprecated, use Ticker.targetFPMS"), Tr.targetFPMS = t;
|
|
8439
8443
|
}
|
|
8440
8444
|
}
|
|
8441
8445
|
});
|
|
@@ -8464,10 +8468,10 @@ class N0 {
|
|
|
8464
8468
|
}
|
|
8465
8469
|
}
|
|
8466
8470
|
}
|
|
8467
|
-
N0.extension =
|
|
8471
|
+
N0.extension = Le.Application;
|
|
8468
8472
|
We.add(N0);
|
|
8469
8473
|
const fN = [];
|
|
8470
|
-
We.handleByList(
|
|
8474
|
+
We.handleByList(Le.Renderer, fN);
|
|
8471
8475
|
class L0 {
|
|
8472
8476
|
constructor(e) {
|
|
8473
8477
|
this.renderer = e;
|
|
@@ -8487,7 +8491,7 @@ class L0 {
|
|
|
8487
8491
|
}
|
|
8488
8492
|
}
|
|
8489
8493
|
L0.extension = {
|
|
8490
|
-
type:
|
|
8494
|
+
type: Le.RendererSystem,
|
|
8491
8495
|
name: "_multisample"
|
|
8492
8496
|
};
|
|
8493
8497
|
We.add(L0);
|
|
@@ -8555,7 +8559,7 @@ class k0 {
|
|
|
8555
8559
|
}
|
|
8556
8560
|
}
|
|
8557
8561
|
k0.extension = {
|
|
8558
|
-
type:
|
|
8562
|
+
type: Le.RendererSystem,
|
|
8559
8563
|
name: "buffer"
|
|
8560
8564
|
};
|
|
8561
8565
|
We.add(k0);
|
|
@@ -8579,13 +8583,13 @@ class D0 {
|
|
|
8579
8583
|
}
|
|
8580
8584
|
}
|
|
8581
8585
|
D0.extension = {
|
|
8582
|
-
type:
|
|
8586
|
+
type: Le.RendererSystem,
|
|
8583
8587
|
name: "objectRenderer"
|
|
8584
8588
|
};
|
|
8585
8589
|
We.add(D0);
|
|
8586
8590
|
const Nc = class extends cN {
|
|
8587
8591
|
constructor(t) {
|
|
8588
|
-
super(), this.type = Om.WEBGL, t = Object.assign({},
|
|
8592
|
+
super(), this.type = Om.WEBGL, t = Object.assign({}, Pe.RENDER_OPTIONS, t), this.gl = null, this.CONTEXT_UID = 0, this.globalUniforms = new Er({
|
|
8589
8593
|
projectionMatrix: new Dt()
|
|
8590
8594
|
}, !0);
|
|
8591
8595
|
const e = {
|
|
@@ -8626,7 +8630,7 @@ const Nc = class extends cN {
|
|
|
8626
8630
|
"_multisample"
|
|
8627
8631
|
]
|
|
8628
8632
|
};
|
|
8629
|
-
this.setup(e), "useContextAlpha" in t && (
|
|
8633
|
+
this.setup(e), "useContextAlpha" in t && (ke("7.0.0", "options.useContextAlpha is deprecated, use options.premultipliedAlpha and options.backgroundAlpha instead"), t.premultipliedAlpha = t.useContextAlpha && t.useContextAlpha !== "notMultiplied", t.backgroundAlpha = t.useContextAlpha === !1 ? 1 : t.backgroundAlpha), this._plugin.rendererPlugins = Nc.__plugins, this.options = t, this.startup.run(this.options);
|
|
8630
8634
|
}
|
|
8631
8635
|
static test(t) {
|
|
8632
8636
|
return t != null && t.forceCanvas ? !1 : zO();
|
|
@@ -8685,28 +8689,28 @@ const Nc = class extends cN {
|
|
|
8685
8689
|
return `WebGL ${this.context.webGLVersion}`;
|
|
8686
8690
|
}
|
|
8687
8691
|
get clearBeforeRender() {
|
|
8688
|
-
return
|
|
8692
|
+
return ke("7.0.0", "renderer.clearBeforeRender has been deprecated, please use renderer.background.clearBeforeRender instead."), this.background.clearBeforeRender;
|
|
8689
8693
|
}
|
|
8690
8694
|
get useContextAlpha() {
|
|
8691
|
-
return
|
|
8695
|
+
return ke("7.0.0", "renderer.useContextAlpha has been deprecated, please use renderer.context.premultipliedAlpha instead."), this.context.useContextAlpha;
|
|
8692
8696
|
}
|
|
8693
8697
|
get preserveDrawingBuffer() {
|
|
8694
|
-
return
|
|
8698
|
+
return ke("7.0.0", "renderer.preserveDrawingBuffer has been deprecated, we cannot truly know this unless pixi created the context"), this.context.preserveDrawingBuffer;
|
|
8695
8699
|
}
|
|
8696
8700
|
get backgroundColor() {
|
|
8697
|
-
return
|
|
8701
|
+
return ke("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead."), this.background.color;
|
|
8698
8702
|
}
|
|
8699
8703
|
set backgroundColor(t) {
|
|
8700
|
-
|
|
8704
|
+
ke("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead."), this.background.color = t;
|
|
8701
8705
|
}
|
|
8702
8706
|
get backgroundAlpha() {
|
|
8703
|
-
return
|
|
8707
|
+
return ke("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead."), this.background.alpha;
|
|
8704
8708
|
}
|
|
8705
8709
|
set backgroundAlpha(t) {
|
|
8706
|
-
|
|
8710
|
+
ke("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead."), this.background.alpha = t;
|
|
8707
8711
|
}
|
|
8708
8712
|
get powerPreference() {
|
|
8709
|
-
return
|
|
8713
|
+
return ke("7.0.0", "renderer.powerPreference has been deprecated, we can only know this if pixi creates the context"), this.context.powerPreference;
|
|
8710
8714
|
}
|
|
8711
8715
|
generateTexture(t, e) {
|
|
8712
8716
|
return this.textureGenerator.generateTexture(t, e);
|
|
@@ -8714,20 +8718,20 @@ const Nc = class extends cN {
|
|
|
8714
8718
|
};
|
|
8715
8719
|
let Yi = Nc;
|
|
8716
8720
|
Yi.extension = {
|
|
8717
|
-
type:
|
|
8721
|
+
type: Le.Renderer,
|
|
8718
8722
|
priority: 1
|
|
8719
8723
|
};
|
|
8720
8724
|
Yi.__plugins = {};
|
|
8721
8725
|
Yi.__systems = {};
|
|
8722
|
-
We.handleByMap(
|
|
8723
|
-
We.handleByMap(
|
|
8726
|
+
We.handleByMap(Le.RendererPlugin, Yi.__plugins);
|
|
8727
|
+
We.handleByMap(Le.RendererSystem, Yi.__systems);
|
|
8724
8728
|
We.add(Yi);
|
|
8725
8729
|
class B0 extends Ns {
|
|
8726
8730
|
constructor(e, r) {
|
|
8727
8731
|
const { width: n, height: i } = r || {};
|
|
8728
8732
|
super(n, i), this.items = [], this.itemDirtyIds = [];
|
|
8729
8733
|
for (let a = 0; a < e; a++) {
|
|
8730
|
-
const u = new
|
|
8734
|
+
const u = new Ue();
|
|
8731
8735
|
this.items.push(u), this.itemDirtyIds.push(-2);
|
|
8732
8736
|
}
|
|
8733
8737
|
this.length = e, this._load = null, this.baseTexture = null;
|
|
@@ -8855,7 +8859,7 @@ class Ci extends gn {
|
|
|
8855
8859
|
return;
|
|
8856
8860
|
}
|
|
8857
8861
|
try {
|
|
8858
|
-
const n = await
|
|
8862
|
+
const n = await Pe.ADAPTER.fetch(this.url, {
|
|
8859
8863
|
mode: this.crossOrigin ? "cors" : "no-cors"
|
|
8860
8864
|
});
|
|
8861
8865
|
if (this.destroyed)
|
|
@@ -8886,12 +8890,12 @@ class Ci extends gn {
|
|
|
8886
8890
|
return !!globalThis.createImageBitmap && typeof ImageBitmap < "u" && (typeof e == "string" || e instanceof ImageBitmap);
|
|
8887
8891
|
}
|
|
8888
8892
|
static get EMPTY() {
|
|
8889
|
-
return Ci._EMPTY = Ci._EMPTY ??
|
|
8893
|
+
return Ci._EMPTY = Ci._EMPTY ?? Pe.ADAPTER.createCanvas(0, 0), Ci._EMPTY;
|
|
8890
8894
|
}
|
|
8891
8895
|
}
|
|
8892
8896
|
const oo = class extends gn {
|
|
8893
8897
|
constructor(t, e) {
|
|
8894
|
-
e = e || {}, super(
|
|
8898
|
+
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();
|
|
8895
8899
|
}
|
|
8896
8900
|
load() {
|
|
8897
8901
|
return this._load ? this._load : (this._load = new Promise((t) => {
|
|
@@ -9255,7 +9259,7 @@ void main() {
|
|
|
9255
9259
|
`;
|
|
9256
9260
|
const G0 = class extends Ve {
|
|
9257
9261
|
constructor(e) {
|
|
9258
|
-
super($0, SN), this.bloomScale = 1, this.brightness = 1, this._resolution =
|
|
9262
|
+
super($0, SN), this.bloomScale = 1, this.brightness = 1, this._resolution = Pe.FILTER_RESOLUTION, typeof e == "number" && (e = { threshold: e });
|
|
9259
9263
|
const r = Object.assign(G0.defaults, e);
|
|
9260
9264
|
this.bloomScale = r.bloomScale, this.brightness = r.brightness;
|
|
9261
9265
|
const { kernels: n, blur: i, quality: a, pixelSize: u, resolution: l } = r;
|
|
@@ -9305,7 +9309,7 @@ const G0 = class extends Ve {
|
|
|
9305
9309
|
}
|
|
9306
9310
|
};
|
|
9307
9311
|
let AN = G0;
|
|
9308
|
-
AN.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution:
|
|
9312
|
+
AN.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution: Pe.FILTER_RESOLUTION };
|
|
9309
9313
|
var EN = `attribute vec2 aVertexPosition;
|
|
9310
9314
|
attribute vec2 aTextureCoord;
|
|
9311
9315
|
|
|
@@ -9610,18 +9614,18 @@ Zn.parse = function() {
|
|
|
9610
9614
|
function a() {
|
|
9611
9615
|
return u("linear-gradient", t.linearGradient, f) || u("repeating-linear-gradient", t.repeatingLinearGradient, f) || u("radial-gradient", t.radialGradient, c) || u("repeating-radial-gradient", t.repeatingRadialGradient, c);
|
|
9612
9616
|
}
|
|
9613
|
-
function u(H, Q,
|
|
9617
|
+
function u(H, Q, pe) {
|
|
9614
9618
|
return l(Q, function(W) {
|
|
9615
|
-
var j =
|
|
9616
|
-
return j && (
|
|
9619
|
+
var j = pe();
|
|
9620
|
+
return j && (re(t.comma) || r("Missing comma before color stops")), { type: H, orientation: j, colorStops: w(I) };
|
|
9617
9621
|
});
|
|
9618
9622
|
}
|
|
9619
9623
|
function l(H, Q) {
|
|
9620
|
-
var
|
|
9621
|
-
if (
|
|
9622
|
-
|
|
9623
|
-
var W = Q(
|
|
9624
|
-
return
|
|
9624
|
+
var pe = re(H);
|
|
9625
|
+
if (pe) {
|
|
9626
|
+
re(t.startCall) || r("Missing (");
|
|
9627
|
+
var W = Q(pe);
|
|
9628
|
+
return re(t.endCall) || r("Missing )"), W;
|
|
9625
9629
|
}
|
|
9626
9630
|
}
|
|
9627
9631
|
function f() {
|
|
@@ -9634,8 +9638,8 @@ Zn.parse = function() {
|
|
|
9634
9638
|
return G("angular", t.angleValue, 1);
|
|
9635
9639
|
}
|
|
9636
9640
|
function c() {
|
|
9637
|
-
var H, Q = d(),
|
|
9638
|
-
return Q && (H = [], H.push(Q),
|
|
9641
|
+
var H, Q = d(), pe;
|
|
9642
|
+
return Q && (H = [], H.push(Q), pe = e, re(t.comma) && (Q = d(), Q ? H.push(Q) : e = pe)), H;
|
|
9639
9643
|
}
|
|
9640
9644
|
function d() {
|
|
9641
9645
|
var H = m() || _();
|
|
@@ -9645,8 +9649,8 @@ Zn.parse = function() {
|
|
|
9645
9649
|
var Q = y();
|
|
9646
9650
|
if (Q) {
|
|
9647
9651
|
H = Q;
|
|
9648
|
-
var
|
|
9649
|
-
|
|
9652
|
+
var pe = b();
|
|
9653
|
+
pe && (H.at = pe);
|
|
9650
9654
|
} else {
|
|
9651
9655
|
var W = x();
|
|
9652
9656
|
W && (H = { type: "default-radial", at: W });
|
|
@@ -9680,11 +9684,11 @@ Zn.parse = function() {
|
|
|
9680
9684
|
return { x: Y(), y: Y() };
|
|
9681
9685
|
}
|
|
9682
9686
|
function w(H) {
|
|
9683
|
-
var Q = H(),
|
|
9687
|
+
var Q = H(), pe = [];
|
|
9684
9688
|
if (Q)
|
|
9685
|
-
for (
|
|
9686
|
-
Q = H(), Q ?
|
|
9687
|
-
return
|
|
9689
|
+
for (pe.push(Q); re(t.comma); )
|
|
9690
|
+
Q = H(), Q ? pe.push(Q) : r("One extra comma");
|
|
9691
|
+
return pe;
|
|
9688
9692
|
}
|
|
9689
9693
|
function I() {
|
|
9690
9694
|
var H = O();
|
|
@@ -9710,7 +9714,7 @@ Zn.parse = function() {
|
|
|
9710
9714
|
});
|
|
9711
9715
|
}
|
|
9712
9716
|
function V() {
|
|
9713
|
-
return
|
|
9717
|
+
return re(t.number)[1];
|
|
9714
9718
|
}
|
|
9715
9719
|
function Y() {
|
|
9716
9720
|
return G("%", t.percentageValue, 1) || se() || X();
|
|
@@ -9721,16 +9725,16 @@ Zn.parse = function() {
|
|
|
9721
9725
|
function X() {
|
|
9722
9726
|
return G("px", t.pixelValue, 1) || G("em", t.emValue, 1);
|
|
9723
9727
|
}
|
|
9724
|
-
function G(H, Q,
|
|
9725
|
-
var W =
|
|
9728
|
+
function G(H, Q, pe) {
|
|
9729
|
+
var W = re(Q);
|
|
9726
9730
|
if (W)
|
|
9727
|
-
return { type: H, value: W[
|
|
9728
|
-
}
|
|
9729
|
-
function ie(H) {
|
|
9730
|
-
var Q, ge;
|
|
9731
|
-
return ge = /^[\n\r\t\s]+/.exec(e), ge && re(ge[0].length), Q = H.exec(e), Q && re(Q[0].length), Q;
|
|
9731
|
+
return { type: H, value: W[pe] };
|
|
9732
9732
|
}
|
|
9733
9733
|
function re(H) {
|
|
9734
|
+
var Q, pe;
|
|
9735
|
+
return pe = /^[\n\r\t\s]+/.exec(e), pe && ne(pe[0].length), Q = H.exec(e), Q && ne(Q[0].length), Q;
|
|
9736
|
+
}
|
|
9737
|
+
function ne(H) {
|
|
9734
9738
|
e = e.substr(H);
|
|
9735
9739
|
}
|
|
9736
9740
|
return function(H) {
|
|
@@ -10208,7 +10212,7 @@ void main(void){
|
|
|
10208
10212
|
};
|
|
10209
10213
|
const Dc = class extends Ve {
|
|
10210
10214
|
constructor(e) {
|
|
10211
|
-
super(), this.angle = 45, this._distance = 5, this._resolution =
|
|
10215
|
+
super(), this.angle = 45, this._distance = 5, this._resolution = Pe.FILTER_RESOLUTION;
|
|
10212
10216
|
const r = e ? Ug(Ug({}, Dc.defaults), e) : Dc.defaults, { kernels: n, blur: i, quality: a, pixelSize: u, resolution: l } = r;
|
|
10213
10217
|
this._offset = new Gn(this._updatePadding, this), this._tintFilter = new Ve(i3, s3), 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;
|
|
10214
10218
|
const { shadowOnly: f, rotation: p, distance: g, offset: c, alpha: d, color: m } = r;
|
|
@@ -10241,13 +10245,13 @@ const Dc = class extends Ve {
|
|
|
10241
10245
|
return this._distance;
|
|
10242
10246
|
}
|
|
10243
10247
|
set distance(e) {
|
|
10244
|
-
|
|
10248
|
+
ke("5.3.0", "DropShadowFilter distance is deprecated, use offset"), this._distance = e, this._updatePadding(), this._updateShift();
|
|
10245
10249
|
}
|
|
10246
10250
|
get rotation() {
|
|
10247
10251
|
return this.angle / Ls;
|
|
10248
10252
|
}
|
|
10249
10253
|
set rotation(e) {
|
|
10250
|
-
|
|
10254
|
+
ke("5.3.0", "DropShadowFilter rotation is deprecated, use offset"), this.angle = e * Ls, this._updateShift();
|
|
10251
10255
|
}
|
|
10252
10256
|
get alpha() {
|
|
10253
10257
|
return this._tintFilter.uniforms.alpha;
|
|
@@ -10287,7 +10291,7 @@ const Dc = class extends Ve {
|
|
|
10287
10291
|
}
|
|
10288
10292
|
};
|
|
10289
10293
|
let l3 = Dc;
|
|
10290
|
-
l3.defaults = { offset: { x: 4, y: 4 }, color: 0, alpha: 0.5, shadowOnly: !1, kernels: null, blur: 2, quality: 3, pixelSize: 1, resolution:
|
|
10294
|
+
l3.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 };
|
|
10291
10295
|
var c3 = `attribute vec2 aVertexPosition;
|
|
10292
10296
|
attribute vec2 aTextureCoord;
|
|
10293
10297
|
|
|
@@ -10398,7 +10402,7 @@ void main(void)
|
|
|
10398
10402
|
`;
|
|
10399
10403
|
const Bc = class extends Ve {
|
|
10400
10404
|
constructor(e) {
|
|
10401
|
-
super(c3, h3), 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 =
|
|
10405
|
+
super(c3, h3), 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);
|
|
10402
10406
|
}
|
|
10403
10407
|
apply(e, r, n, i) {
|
|
10404
10408
|
const { width: a, height: u } = r.filterFrame;
|
|
@@ -11512,7 +11516,7 @@ let Q0 = class extends Ve {
|
|
|
11512
11516
|
};
|
|
11513
11517
|
const J0 = class extends Ve {
|
|
11514
11518
|
constructor(e, r, n, i) {
|
|
11515
|
-
super(), typeof e == "number" && (
|
|
11519
|
+
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 N3(e), this.tiltShiftYFilter = new L3(e);
|
|
11516
11520
|
}
|
|
11517
11521
|
apply(e, r, n, i) {
|
|
11518
11522
|
const a = e.getFilterTexture();
|
|
@@ -11897,8 +11901,8 @@ const Qn = (t) => {
|
|
|
11897
11901
|
nightVisionFilter: t,
|
|
11898
11902
|
vignetteFilter: r
|
|
11899
11903
|
};
|
|
11900
|
-
}, j3 =
|
|
11901
|
-
const r =
|
|
11904
|
+
}, j3 = ee.forwardRef((t, e) => {
|
|
11905
|
+
const r = de(null), n = de(null), {
|
|
11902
11906
|
src: i,
|
|
11903
11907
|
visible: a,
|
|
11904
11908
|
disabled: u,
|
|
@@ -11927,9 +11931,9 @@ const Qn = (t) => {
|
|
|
11927
11931
|
noiseFilter: L
|
|
11928
11932
|
// outlineFilter,
|
|
11929
11933
|
} = Qn(d), { nightVisionFilter: D } = W3();
|
|
11930
|
-
return
|
|
11934
|
+
return ee.useEffect(() => (console.log("PixiImageSprite mounting"), () => {
|
|
11931
11935
|
console.log("PixiImageSprite unmounting");
|
|
11932
|
-
}), []), console.log("imageRef", r.current), /* @__PURE__ */
|
|
11936
|
+
}), []), console.log("imageRef", r.current), /* @__PURE__ */ Ce.jsx(vn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(
|
|
11933
11937
|
Bs,
|
|
11934
11938
|
{
|
|
11935
11939
|
image: i,
|
|
@@ -12203,36 +12207,36 @@ function Z3(t, e) {
|
|
|
12203
12207
|
f || (a.cap === Hn.ROUND ? d += On(x - N * (X - G) * 0.5, E - L * (X - G) * 0.5, x - N * X, E - L * X, x + N * G, E + L * G, g, !0) + 2 : a.cap === Hn.SQUARE && (d += Vg(x, E, N, L, X, G, !0, g))), g.push(x - N * X, E - L * X, x + N * G, E + L * G);
|
|
12204
12208
|
for (let H = 1; H < c - 1; ++H) {
|
|
12205
12209
|
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 *= _;
|
|
12206
|
-
const Q = w - x,
|
|
12207
|
-
if (Math.abs(
|
|
12208
|
-
g.push(w - N * X, I - L * X, w + N * G, I + L * G),
|
|
12210
|
+
const Q = w - x, pe = E - I, W = w - O, j = F - I, ae = Q * W + pe * j, he = pe * W - j * Q, ge = he < 0;
|
|
12211
|
+
if (Math.abs(he) < 1e-3 * Math.abs(ae)) {
|
|
12212
|
+
g.push(w - N * X, I - L * X, w + N * G, I + L * G), ae >= 0 && (a.join === yr.ROUND ? d += On(w, I, w - N * X, I - L * X, w - D * X, I - V * X, g, !1) + 4 : d += 2, g.push(w - D * G, I - V * G, w + D * X, I + V * X));
|
|
12209
12213
|
continue;
|
|
12210
12214
|
}
|
|
12211
|
-
const
|
|
12212
|
-
let
|
|
12213
|
-
if (
|
|
12214
|
-
switch (
|
|
12215
|
+
const be = (-N + x) * (-L + I) - (-N + w) * (-L + E), Ae = (-D + O) * (-V + I) - (-D + w) * (-V + F), ye = (Q * Ae - W * be) / he, He = (j * be - pe * Ae) / he, je = (ye - w) * (ye - w) + (He - I) * (He - I), Te = w + (ye - w) * X, Ie = I + (He - I) * X, $e = w - (ye - w) * G, Ke = I - (He - I) * G, Ee = Math.min(Q * Q + pe * pe, W * W + j * j), ve = ge ? X : G, rt = Ee + ve * ve * y, ce = je <= rt;
|
|
12216
|
+
let Fe = a.join;
|
|
12217
|
+
if (Fe === yr.MITER && je / y > b && (Fe = yr.BEVEL), ce)
|
|
12218
|
+
switch (Fe) {
|
|
12215
12219
|
case yr.MITER: {
|
|
12216
|
-
g.push(
|
|
12220
|
+
g.push(Te, Ie, $e, Ke);
|
|
12217
12221
|
break;
|
|
12218
12222
|
}
|
|
12219
12223
|
case yr.BEVEL: {
|
|
12220
|
-
|
|
12224
|
+
ge ? g.push(Te, Ie, w + N * G, I + L * G, Te, Ie, w + D * G, I + V * G) : g.push(w - N * X, I - L * X, $e, Ke, w - D * X, I - V * X, $e, Ke), d += 2;
|
|
12221
12225
|
break;
|
|
12222
12226
|
}
|
|
12223
12227
|
case yr.ROUND: {
|
|
12224
|
-
|
|
12228
|
+
ge ? (g.push(Te, Ie, w + N * G, I + L * G), d += On(w, I, w + N * G, I + L * G, w + D * G, I + V * G, g, !0) + 4, g.push(Te, Ie, w + D * G, I + V * G)) : (g.push(w - N * X, I - L * X, $e, Ke), d += On(w, I, w - N * X, I - L * X, w - D * X, I - V * X, g, !1) + 4, g.push(w - D * X, I - V * X, $e, Ke));
|
|
12225
12229
|
break;
|
|
12226
12230
|
}
|
|
12227
12231
|
}
|
|
12228
12232
|
else {
|
|
12229
|
-
switch (g.push(w - N * X, I - L * X, w + N * G, I + L * G),
|
|
12233
|
+
switch (g.push(w - N * X, I - L * X, w + N * G, I + L * G), Fe) {
|
|
12230
12234
|
case yr.MITER: {
|
|
12231
|
-
|
|
12235
|
+
ge ? g.push($e, Ke, $e, Ke) : g.push(Te, Ie, Te, Ie), d += 2;
|
|
12232
12236
|
break;
|
|
12233
12237
|
}
|
|
12234
12238
|
case yr.ROUND: {
|
|
12235
|
-
|
|
12239
|
+
ge ? d += On(w, I, w + N * G, I + L * G, w + D * G, I + V * G, g, !0) + 2 : d += On(w, I, w - N * X, I - L * X, w - D * X, I - V * X, g, !1) + 2;
|
|
12236
12240
|
break;
|
|
12237
12241
|
}
|
|
12238
12242
|
}
|
|
@@ -12240,9 +12244,9 @@ function Z3(t, e) {
|
|
|
12240
12244
|
}
|
|
12241
12245
|
}
|
|
12242
12246
|
x = n[(c - 2) * 2], E = n[(c - 2) * 2 + 1], w = n[(c - 1) * 2], I = n[(c - 1) * 2 + 1], N = -(E - I), L = x - w, Y = Math.sqrt(N * N + L * L), N /= Y, L /= Y, N *= _, L *= _, g.push(w - N * X, I - L * X, w + N * G, I + L * G), f || (a.cap === Hn.ROUND ? d += On(w - N * (X - G) * 0.5, I - L * (X - G) * 0.5, w - N * X, I - L * X, w + N * G, I + L * G, g, !1) + 2 : a.cap === Hn.SQUARE && (d += Vg(w, I, N, L, X, G, !1, g)));
|
|
12243
|
-
const
|
|
12247
|
+
const re = e.indices, ne = Bi.epsilon * Bi.epsilon;
|
|
12244
12248
|
for (let H = m; H < d + m - 2; ++H)
|
|
12245
|
-
x = g[H * 2], E = g[H * 2 + 1], w = g[(H + 1) * 2], I = g[(H + 1) * 2 + 1], O = g[(H + 2) * 2], F = g[(H + 2) * 2 + 1], !(Math.abs(x * (I - F) + w * (F - E) + O * (E - I)) <
|
|
12249
|
+
x = g[H * 2], E = g[H * 2 + 1], w = g[(H + 1) * 2], I = g[(H + 1) * 2 + 1], O = g[(H + 2) * 2], F = g[(H + 2) * 2 + 1], !(Math.abs(x * (I - F) + w * (F - E) + O * (E - I)) < ne) && re.push(H, H + 1, H + 2);
|
|
12246
12250
|
}
|
|
12247
12251
|
function Q3(t, e) {
|
|
12248
12252
|
let r = 0;
|
|
@@ -12705,13 +12709,13 @@ const $c = class extends Ui {
|
|
|
12705
12709
|
let $i = $c;
|
|
12706
12710
|
$i.defaultSortableChildren = !1;
|
|
12707
12711
|
$i.prototype.containerUpdateTransform = $i.prototype.updateTransform;
|
|
12708
|
-
Object.defineProperties(
|
|
12712
|
+
Object.defineProperties(Pe, {
|
|
12709
12713
|
SORTABLE_CHILDREN: {
|
|
12710
12714
|
get() {
|
|
12711
12715
|
return $i.defaultSortableChildren;
|
|
12712
12716
|
},
|
|
12713
12717
|
set(t) {
|
|
12714
|
-
|
|
12718
|
+
ke("7.1.0", "settings.SORTABLE_CHILDREN is deprecated, use Container.defaultSortableChildren"), $i.defaultSortableChildren = t;
|
|
12715
12719
|
}
|
|
12716
12720
|
}
|
|
12717
12721
|
});
|
|
@@ -12849,7 +12853,7 @@ const xi = new Je(), nv = class extends i0 {
|
|
|
12849
12853
|
return this.points.length < nv.BATCHABLE_SIZE * 2;
|
|
12850
12854
|
}
|
|
12851
12855
|
buildDrawCalls() {
|
|
12852
|
-
let t = ++
|
|
12856
|
+
let t = ++Ue._globalBatch;
|
|
12853
12857
|
for (let g = 0; g < this.drawCalls.length; g++)
|
|
12854
12858
|
this.drawCalls[g].texArray.clear(), to.push(this.drawCalls[g]);
|
|
12855
12859
|
this.drawCalls.length = 0;
|
|
@@ -12862,7 +12866,7 @@ const xi = new Je(), nv = class extends i0 {
|
|
|
12862
12866
|
const c = this.batches[g], d = 8, m = c.style, _ = m.texture.baseTexture;
|
|
12863
12867
|
l !== !!m.native && (l = !!m.native, f = l ? dn.LINES : dn.TRIANGLES, a = null, i = d, t++), a !== _ && (a = _, _._batchEnabled !== t && (i === d && (t++, i = 0, n.size > 0 && (n = to.pop(), n || (n = new Rc(), n.texArray = new Mc()), this.drawCalls.push(n)), n.start = p, n.size = 0, n.texArray.count = 0, n.type = f), _.touched = 1, _._batchEnabled = t, _._batchLocation = i, _.wrapMode = Rs.REPEAT, n.texArray.elements[n.texArray.count++] = _, i++)), n.size += c.size, p += c.size, u = _._batchLocation, this.addColors(e, m.color, m.alpha, c.attribSize, c.attribStart), this.addTextureIds(r, u, c.attribSize, c.attribStart);
|
|
12864
12868
|
}
|
|
12865
|
-
|
|
12869
|
+
Ue._globalBatch = t, this.packAttributes();
|
|
12866
12870
|
}
|
|
12867
12871
|
packAttributes() {
|
|
12868
12872
|
const t = this.points, e = this.uvs, r = this.colors, n = this.textureIds, i = new ArrayBuffer(t.length * 3 * 4), a = new Float32Array(i), u = new Uint32Array(i);
|
|
@@ -12934,14 +12938,14 @@ let iv = nv;
|
|
|
12934
12938
|
iv.BATCHABLE_SIZE = 100;
|
|
12935
12939
|
class jo {
|
|
12936
12940
|
constructor() {
|
|
12937
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12941
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1, this.reset();
|
|
12938
12942
|
}
|
|
12939
12943
|
clone() {
|
|
12940
12944
|
const e = new jo();
|
|
12941
12945
|
return e.color = this.color, e.alpha = this.alpha, e.texture = this.texture, e.matrix = this.matrix, e.visible = this.visible, e;
|
|
12942
12946
|
}
|
|
12943
12947
|
reset() {
|
|
12944
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12948
|
+
this.color = 16777215, this.alpha = 1, this.texture = De.WHITE, this.matrix = null, this.visible = !1;
|
|
12945
12949
|
}
|
|
12946
12950
|
destroy() {
|
|
12947
12951
|
this.texture = null, this.matrix = null;
|
|
@@ -12961,7 +12965,7 @@ class _h extends jo {
|
|
|
12961
12965
|
}
|
|
12962
12966
|
const tc = {}, lo = class extends $i {
|
|
12963
12967
|
constructor(t = null) {
|
|
12964
|
-
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new jo(), this._lineStyle = new _h(), this._matrix = null, this._holeMode = !1, this.state = Go.for2d(), this._geometry = t || new iv(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode =
|
|
12968
|
+
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new jo(), this._lineStyle = new _h(), this._matrix = null, this._holeMode = !1, this.state = Go.for2d(), this._geometry = t || new iv(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode = fe.NORMAL;
|
|
12965
12969
|
}
|
|
12966
12970
|
get geometry() {
|
|
12967
12971
|
return this._geometry;
|
|
@@ -12993,7 +12997,7 @@ const tc = {}, lo = class extends $i {
|
|
|
12993
12997
|
lineTextureStyle(t) {
|
|
12994
12998
|
const e = {
|
|
12995
12999
|
width: 0,
|
|
12996
|
-
texture:
|
|
13000
|
+
texture: De.WHITE,
|
|
12997
13001
|
color: t != null && t.texture ? 16777215 : 0,
|
|
12998
13002
|
matrix: null,
|
|
12999
13003
|
alignment: 0.5,
|
|
@@ -13059,7 +13063,7 @@ const tc = {}, lo = class extends $i {
|
|
|
13059
13063
|
return zg.arc(l, f, t, e, r, n, i, a, g), this;
|
|
13060
13064
|
}
|
|
13061
13065
|
beginFill(t = 0, e) {
|
|
13062
|
-
return this.beginTextureFill({ texture:
|
|
13066
|
+
return this.beginTextureFill({ texture: De.WHITE, color: t, alpha: e });
|
|
13063
13067
|
}
|
|
13064
13068
|
normalizeColor(t) {
|
|
13065
13069
|
const e = Mt.shared.setValue(t.color ?? 0);
|
|
@@ -13067,7 +13071,7 @@ const tc = {}, lo = class extends $i {
|
|
|
13067
13071
|
}
|
|
13068
13072
|
beginTextureFill(t) {
|
|
13069
13073
|
const e = {
|
|
13070
|
-
texture:
|
|
13074
|
+
texture: De.WHITE,
|
|
13071
13075
|
color: 16777215,
|
|
13072
13076
|
matrix: null
|
|
13073
13077
|
};
|
|
@@ -13362,15 +13366,15 @@ var rL = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
13362
13366
|
});
|
|
13363
13367
|
})(nL);
|
|
13364
13368
|
const iL = /^\s+/, sL = /\s+$/;
|
|
13365
|
-
function
|
|
13366
|
-
if (t = t || "", e = e || {}, t instanceof
|
|
13369
|
+
function ie(t, e) {
|
|
13370
|
+
if (t = t || "", e = e || {}, t instanceof ie)
|
|
13367
13371
|
return t;
|
|
13368
|
-
if (!(this instanceof
|
|
13369
|
-
return new
|
|
13372
|
+
if (!(this instanceof ie))
|
|
13373
|
+
return new ie(t, e);
|
|
13370
13374
|
var r = aL(t);
|
|
13371
13375
|
this._originalInput = t, this._r = r.r, this._g = r.g, this._b = r.b, this._a = r.a, this._roundA = Math.round(100 * this._a) / 100, this._format = e.format || r.format, this._gradientType = e.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = r.ok;
|
|
13372
13376
|
}
|
|
13373
|
-
|
|
13377
|
+
ie.prototype = {
|
|
13374
13378
|
isDark: function() {
|
|
13375
13379
|
return this.getBrightness() < 128;
|
|
13376
13380
|
},
|
|
@@ -13456,7 +13460,7 @@ ne.prototype = {
|
|
|
13456
13460
|
toFilter: function(t) {
|
|
13457
13461
|
var e = "#" + Kg(this._r, this._g, this._b, this._a), r = e, n = this._gradientType ? "GradientType = 1, " : "";
|
|
13458
13462
|
if (t) {
|
|
13459
|
-
var i =
|
|
13463
|
+
var i = ie(t);
|
|
13460
13464
|
r = "#" + Kg(i._r, i._g, i._b, i._a);
|
|
13461
13465
|
}
|
|
13462
13466
|
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + e + ",endColorstr=" + r + ")";
|
|
@@ -13468,7 +13472,7 @@ ne.prototype = {
|
|
|
13468
13472
|
return i ? t === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (t === "rgb" && (r = this.toRgbString()), t === "prgb" && (r = this.toPercentageRgbString()), (t === "hex" || t === "hex6") && (r = this.toHexString()), t === "hex3" && (r = this.toHexString(!0)), t === "hex4" && (r = this.toHex8String(!0)), t === "hex8" && (r = this.toHex8String()), t === "name" && (r = this.toName()), t === "hsl" && (r = this.toHslString()), t === "hsv" && (r = this.toHsvString()), r || this.toHexString());
|
|
13469
13473
|
},
|
|
13470
13474
|
clone: function() {
|
|
13471
|
-
return
|
|
13475
|
+
return ie(this.toString());
|
|
13472
13476
|
},
|
|
13473
13477
|
_applyModification: function(t, e) {
|
|
13474
13478
|
var r = t.apply(null, [this].concat([].slice.call(e)));
|
|
@@ -13521,14 +13525,14 @@ ne.prototype = {
|
|
|
13521
13525
|
return this._applyCombination(Zg, [4]);
|
|
13522
13526
|
}
|
|
13523
13527
|
};
|
|
13524
|
-
|
|
13528
|
+
ie.fromRatio = function(t, e) {
|
|
13525
13529
|
if (typeof t == "object") {
|
|
13526
13530
|
var r = {};
|
|
13527
13531
|
for (var n in t)
|
|
13528
13532
|
t.hasOwnProperty(n) && (n === "a" ? r[n] = t[n] : r[n] = _s(t[n]));
|
|
13529
13533
|
t = r;
|
|
13530
13534
|
}
|
|
13531
|
-
return
|
|
13535
|
+
return ie(t, e);
|
|
13532
13536
|
};
|
|
13533
13537
|
function aL(t) {
|
|
13534
13538
|
var e = { r: 0, g: 0, b: 0 }, r = 1, n = null, i = null, a = null, u = !1, l = !1;
|
|
@@ -13636,11 +13640,11 @@ function Kg(t, e, r, n) {
|
|
|
13636
13640
|
];
|
|
13637
13641
|
return i.join("");
|
|
13638
13642
|
}
|
|
13639
|
-
|
|
13640
|
-
return !t || !e ? !1 :
|
|
13643
|
+
ie.equals = function(t, e) {
|
|
13644
|
+
return !t || !e ? !1 : ie(t).toRgbString() == ie(e).toRgbString();
|
|
13641
13645
|
};
|
|
13642
|
-
|
|
13643
|
-
return
|
|
13646
|
+
ie.random = function() {
|
|
13647
|
+
return ie.fromRatio({
|
|
13644
13648
|
r: Math.random(),
|
|
13645
13649
|
g: Math.random(),
|
|
13646
13650
|
b: Math.random()
|
|
@@ -13648,84 +13652,84 @@ ne.random = function() {
|
|
|
13648
13652
|
};
|
|
13649
13653
|
function hL(t, e) {
|
|
13650
13654
|
e = e === 0 ? 0 : e || 10;
|
|
13651
|
-
var r =
|
|
13652
|
-
return r.s -= e / 100, r.s = qo(r.s),
|
|
13655
|
+
var r = ie(t).toHsl();
|
|
13656
|
+
return r.s -= e / 100, r.s = qo(r.s), ie(r);
|
|
13653
13657
|
}
|
|
13654
13658
|
function fL(t, e) {
|
|
13655
13659
|
e = e === 0 ? 0 : e || 10;
|
|
13656
|
-
var r =
|
|
13657
|
-
return r.s += e / 100, r.s = qo(r.s),
|
|
13660
|
+
var r = ie(t).toHsl();
|
|
13661
|
+
return r.s += e / 100, r.s = qo(r.s), ie(r);
|
|
13658
13662
|
}
|
|
13659
13663
|
function dL(t) {
|
|
13660
|
-
return
|
|
13664
|
+
return ie(t).desaturate(100);
|
|
13661
13665
|
}
|
|
13662
13666
|
function pL(t, e) {
|
|
13663
13667
|
e = e === 0 ? 0 : e || 10;
|
|
13664
|
-
var r =
|
|
13665
|
-
return r.l += e / 100, r.l = qo(r.l),
|
|
13668
|
+
var r = ie(t).toHsl();
|
|
13669
|
+
return r.l += e / 100, r.l = qo(r.l), ie(r);
|
|
13666
13670
|
}
|
|
13667
13671
|
function gL(t, e) {
|
|
13668
13672
|
e = e === 0 ? 0 : e || 10;
|
|
13669
|
-
var r =
|
|
13670
|
-
return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(e / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(e / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(e / 100)))),
|
|
13673
|
+
var r = ie(t).toRgb();
|
|
13674
|
+
return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(e / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(e / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(e / 100)))), ie(r);
|
|
13671
13675
|
}
|
|
13672
13676
|
function mL(t, e) {
|
|
13673
13677
|
e = e === 0 ? 0 : e || 10;
|
|
13674
|
-
var r =
|
|
13675
|
-
return r.l -= e / 100, r.l = qo(r.l),
|
|
13678
|
+
var r = ie(t).toHsl();
|
|
13679
|
+
return r.l -= e / 100, r.l = qo(r.l), ie(r);
|
|
13676
13680
|
}
|
|
13677
13681
|
function vL(t, e) {
|
|
13678
|
-
var r =
|
|
13679
|
-
return r.h = n < 0 ? 360 + n : n,
|
|
13682
|
+
var r = ie(t).toHsl(), n = (r.h + e) % 360;
|
|
13683
|
+
return r.h = n < 0 ? 360 + n : n, ie(r);
|
|
13680
13684
|
}
|
|
13681
13685
|
function _L(t) {
|
|
13682
|
-
var e =
|
|
13683
|
-
return e.h = (e.h + 180) % 360,
|
|
13686
|
+
var e = ie(t).toHsl();
|
|
13687
|
+
return e.h = (e.h + 180) % 360, ie(e);
|
|
13684
13688
|
}
|
|
13685
13689
|
function Zg(t, e) {
|
|
13686
13690
|
if (isNaN(e) || e <= 0)
|
|
13687
13691
|
throw new Error("Argument to polyad must be a positive number");
|
|
13688
|
-
for (var r =
|
|
13689
|
-
n.push(
|
|
13692
|
+
for (var r = ie(t).toHsl(), n = [ie(t)], i = 360 / e, a = 1; a < e; a++)
|
|
13693
|
+
n.push(ie({ h: (r.h + a * i) % 360, s: r.s, l: r.l }));
|
|
13690
13694
|
return n;
|
|
13691
13695
|
}
|
|
13692
13696
|
function yL(t) {
|
|
13693
|
-
var e =
|
|
13697
|
+
var e = ie(t).toHsl(), r = e.h;
|
|
13694
13698
|
return [
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13699
|
+
ie(t),
|
|
13700
|
+
ie({ h: (r + 72) % 360, s: e.s, l: e.l }),
|
|
13701
|
+
ie({ h: (r + 216) % 360, s: e.s, l: e.l })
|
|
13698
13702
|
];
|
|
13699
13703
|
}
|
|
13700
13704
|
function xL(t, e, r) {
|
|
13701
13705
|
e = e || 6, r = r || 30;
|
|
13702
|
-
var n =
|
|
13706
|
+
var n = ie(t).toHsl(), i = 360 / r, a = [ie(t)];
|
|
13703
13707
|
for (n.h = (n.h - (i * e >> 1) + 720) % 360; --e; )
|
|
13704
|
-
n.h = (n.h + i) % 360, a.push(
|
|
13708
|
+
n.h = (n.h + i) % 360, a.push(ie(n));
|
|
13705
13709
|
return a;
|
|
13706
13710
|
}
|
|
13707
13711
|
function bL(t, e) {
|
|
13708
13712
|
e = e || 6;
|
|
13709
|
-
for (var r =
|
|
13710
|
-
u.push(
|
|
13713
|
+
for (var r = ie(t).toHsv(), n = r.h, i = r.s, a = r.v, u = [], l = 1 / e; e--; )
|
|
13714
|
+
u.push(ie({ h: n, s: i, v: a })), a = (a + l) % 1;
|
|
13711
13715
|
return u;
|
|
13712
13716
|
}
|
|
13713
|
-
|
|
13717
|
+
ie.mix = function(t, e, r) {
|
|
13714
13718
|
r = r === 0 ? 0 : r || 50;
|
|
13715
|
-
var n =
|
|
13719
|
+
var n = ie(t).toRgb(), i = ie(e).toRgb(), a = r / 100, u = {
|
|
13716
13720
|
r: (i.r - n.r) * a + n.r,
|
|
13717
13721
|
g: (i.g - n.g) * a + n.g,
|
|
13718
13722
|
b: (i.b - n.b) * a + n.b,
|
|
13719
13723
|
a: (i.a - n.a) * a + n.a
|
|
13720
13724
|
};
|
|
13721
|
-
return
|
|
13725
|
+
return ie(u);
|
|
13722
13726
|
};
|
|
13723
|
-
|
|
13724
|
-
var r =
|
|
13727
|
+
ie.readability = function(t, e) {
|
|
13728
|
+
var r = ie(t), n = ie(e);
|
|
13725
13729
|
return (Math.max(r.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), n.getLuminance()) + 0.05);
|
|
13726
13730
|
};
|
|
13727
|
-
|
|
13728
|
-
var n =
|
|
13731
|
+
ie.isReadable = function(t, e, r) {
|
|
13732
|
+
var n = ie.readability(t, e), i, a;
|
|
13729
13733
|
switch (a = !1, i = CL(r), i.level + i.size) {
|
|
13730
13734
|
case "AAsmall":
|
|
13731
13735
|
case "AAAlarge":
|
|
@@ -13740,17 +13744,17 @@ ne.isReadable = function(t, e, r) {
|
|
|
13740
13744
|
}
|
|
13741
13745
|
return a;
|
|
13742
13746
|
};
|
|
13743
|
-
|
|
13747
|
+
ie.mostReadable = function(t, e, r) {
|
|
13744
13748
|
var n = null, i = 0, a, u, l, f;
|
|
13745
13749
|
r = r || {}, u = r.includeFallbackColors, l = r.level, f = r.size;
|
|
13746
13750
|
for (var p = 0; p < e.length; p++)
|
|
13747
|
-
a =
|
|
13748
|
-
return
|
|
13751
|
+
a = ie.readability(t, e[p]), a > i && (i = a, n = ie(e[p]));
|
|
13752
|
+
return ie.isReadable(t, n, {
|
|
13749
13753
|
level: l,
|
|
13750
13754
|
size: f
|
|
13751
|
-
}) || !u ? n : (r.includeFallbackColors = !1,
|
|
13755
|
+
}) || !u ? n : (r.includeFallbackColors = !1, ie.mostReadable(t, ["#fff", "#000"], r));
|
|
13752
13756
|
};
|
|
13753
|
-
var Hc =
|
|
13757
|
+
var Hc = ie.names = {
|
|
13754
13758
|
aliceblue: "f0f8ff",
|
|
13755
13759
|
antiquewhite: "faebd7",
|
|
13756
13760
|
aqua: "0ff",
|
|
@@ -13900,7 +13904,7 @@ var Hc = ne.names = {
|
|
|
13900
13904
|
whitesmoke: "f5f5f5",
|
|
13901
13905
|
yellow: "ff0",
|
|
13902
13906
|
yellowgreen: "9acd32"
|
|
13903
|
-
}, TL =
|
|
13907
|
+
}, TL = ie.hexNames = wL(Hc);
|
|
13904
13908
|
function wL(t) {
|
|
13905
13909
|
var e = {};
|
|
13906
13910
|
for (var r in t)
|
|
@@ -14064,8 +14068,8 @@ var IL = function() {
|
|
|
14064
14068
|
for (var se = 0; se < Y; se++)
|
|
14065
14069
|
_.push(RL(L, D)), L += D;
|
|
14066
14070
|
return _.map(function(X) {
|
|
14067
|
-
var G = rc(X[0], u, l, b, y, F, N),
|
|
14068
|
-
return { x1:
|
|
14071
|
+
var G = rc(X[0], u, l, b, y, F, N), re = G.x, ne = G.y, H = rc(X[1], u, l, b, y, F, N), Q = H.x, pe = H.y, W = rc(X[2], u, l, b, y, F, N), j = W.x, ae = W.y;
|
|
14072
|
+
return { x1: re, y1: ne, x2: Q, y2: pe, x: j, y: ae };
|
|
14069
14073
|
});
|
|
14070
14074
|
};
|
|
14071
14075
|
class ML extends yh {
|
|
@@ -14133,7 +14137,7 @@ class ML extends yh {
|
|
|
14133
14137
|
_hexToUint(e) {
|
|
14134
14138
|
if (e[0] === "#")
|
|
14135
14139
|
return e = e.substr(1), e.length === 3 && (e = e.replace(/([a-f0-9])/ig, "$1$1")), parseInt(e, 16);
|
|
14136
|
-
const { r, g: n, b: i } =
|
|
14140
|
+
const { r, g: n, b: i } = ie(e).toRgb();
|
|
14137
14141
|
return (r << 16) + (n << 8) + i;
|
|
14138
14142
|
}
|
|
14139
14143
|
/**
|
|
@@ -14897,8 +14901,8 @@ ut.prototype.unshort = function() {
|
|
|
14897
14901
|
}), this;
|
|
14898
14902
|
};
|
|
14899
14903
|
var rk = ut, nk = rk;
|
|
14900
|
-
const ik = /* @__PURE__ */ qn(nk), cU =
|
|
14901
|
-
const [r, n] =
|
|
14904
|
+
const ik = /* @__PURE__ */ qn(nk), cU = ee.forwardRef((t, e) => {
|
|
14905
|
+
const [r, n] = ee.useState(null), i = de(null), a = de(null), u = de(null), {
|
|
14902
14906
|
path: l,
|
|
14903
14907
|
visible: f,
|
|
14904
14908
|
disabled: p,
|
|
@@ -14924,15 +14928,15 @@ const ik = /* @__PURE__ */ qn(nk), cU = te.forwardRef((t, e) => {
|
|
|
14924
14928
|
adjustmentFilter: Y,
|
|
14925
14929
|
vignetteFilter: se,
|
|
14926
14930
|
noiseFilter: X
|
|
14927
|
-
} = Qn(w), { blurRadius: G = 0, vignette:
|
|
14928
|
-
return
|
|
14931
|
+
} = Qn(w), { blurRadius: G = 0, vignette: re = 0, noise: ne = 0 } = w;
|
|
14932
|
+
return ee.useEffect(() => {
|
|
14929
14933
|
const H = ik(l).scale(5).translate(0, 0).toString(), Q = `<svg xmlns="http://www.w3.org/2000/svg" width="${d}" height="${m}">
|
|
14930
14934
|
<path stroke="${x}" stroke-width="${E}" fill="${y || b}" d="${H}">
|
|
14931
14935
|
</path>
|
|
14932
|
-
</svg>`,
|
|
14936
|
+
</svg>`, pe = new ML(Q), W = F.renderer.generateTexture(pe);
|
|
14933
14937
|
return n(W), () => {
|
|
14934
14938
|
};
|
|
14935
|
-
}, [F, l, x, E, y, b]), /* @__PURE__ */
|
|
14939
|
+
}, [F, l, x, E, y, b]), /* @__PURE__ */ Ce.jsx(vn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: /* @__PURE__ */ Ce.jsx(wt, { ref: u, children: r && /* @__PURE__ */ Ce.jsx(
|
|
14936
14940
|
Bs,
|
|
14937
14941
|
{
|
|
14938
14942
|
texture: r,
|
|
@@ -14956,9 +14960,9 @@ const ik = /* @__PURE__ */ qn(nk), cU = te.forwardRef((t, e) => {
|
|
|
14956
14960
|
// conditionally add blur filter
|
|
14957
14961
|
...G > 0 ? [V] : [],
|
|
14958
14962
|
// conditionally add vignette filter
|
|
14959
|
-
...
|
|
14963
|
+
...re > 0 ? [se] : [],
|
|
14960
14964
|
// conditionally add noise filter
|
|
14961
|
-
...
|
|
14965
|
+
...ne > 0 ? [X] : []
|
|
14962
14966
|
]
|
|
14963
14967
|
}
|
|
14964
14968
|
) }) }) });
|
|
@@ -15330,8 +15334,8 @@ var uv = {};
|
|
|
15330
15334
|
c !== "__default" || x._loop ? m._endTimers[x._id] = setTimeout(m._ended.bind(m, x), O) : (m._endTimers[x._id] = function() {
|
|
15331
15335
|
m._ended(x), D.removeEventListener("ended", m._endTimers[x._id], !1);
|
|
15332
15336
|
}, D.addEventListener("ended", m._endTimers[x._id], !1));
|
|
15333
|
-
} catch (
|
|
15334
|
-
m._emit("playerror", x._id,
|
|
15337
|
+
} catch (re) {
|
|
15338
|
+
m._emit("playerror", x._id, re);
|
|
15335
15339
|
}
|
|
15336
15340
|
};
|
|
15337
15341
|
D.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (D.src = m._src, D.load());
|
|
@@ -16176,7 +16180,7 @@ const hU = (t) => {
|
|
|
16176
16180
|
loaded: !1,
|
|
16177
16181
|
size: { width: 50, height: 50 },
|
|
16178
16182
|
isDragging: !1
|
|
16179
|
-
}, [, r] =
|
|
16183
|
+
}, [, r] = ee.useState(!1), n = de(null), i = de(e), a = de(null), u = ee.useRef(null), { tl: l, dragModeRef: f } = Gi(Yn), {
|
|
16180
16184
|
uniqueId: p,
|
|
16181
16185
|
src: g,
|
|
16182
16186
|
startAt: c,
|
|
@@ -16195,7 +16199,7 @@ const hU = (t) => {
|
|
|
16195
16199
|
}), pt(Qe.SCRUBBER_CLICKED, () => {
|
|
16196
16200
|
var F;
|
|
16197
16201
|
n.current && u.current && ((F = u.current) == null || F.pause(), i.current.isPlaying = !1);
|
|
16198
|
-
}),
|
|
16202
|
+
}), ee.useEffect(() => {
|
|
16199
16203
|
u.current && (f.current ? (u.current.pause(), i.current.isPlaying = !1, i.current.isDragging = !0) : i.current.isDragging = !1);
|
|
16200
16204
|
}, [f]);
|
|
16201
16205
|
const E = (F, N) => {
|
|
@@ -16235,9 +16239,9 @@ const hU = (t) => {
|
|
|
16235
16239
|
return () => {
|
|
16236
16240
|
a.current && (a.current.kill(), J.killTweensOf(a.current)), F.revert();
|
|
16237
16241
|
};
|
|
16238
|
-
}, [c, d, y, b]),
|
|
16242
|
+
}, [c, d, y, b]), ee.useEffect(() => {
|
|
16239
16243
|
n.current && r(!0);
|
|
16240
|
-
}, []),
|
|
16244
|
+
}, []), ee.useEffect(() => (Hs(g) || (u.current = new uv.Howl({
|
|
16241
16245
|
src: [g],
|
|
16242
16246
|
// sprite: {
|
|
16243
16247
|
// [uniqueId]: [audioStartAt * 1000, (audioEndAt - audioStartAt) * 1000],
|
|
@@ -16273,10 +16277,10 @@ const hU = (t) => {
|
|
|
16273
16277
|
m,
|
|
16274
16278
|
x,
|
|
16275
16279
|
_
|
|
16276
|
-
]),
|
|
16280
|
+
]), ee.useEffect(() => {
|
|
16277
16281
|
u.current && (console.log("running updateEffect 2002", p, b), u.current.volume(!m && x ? 1 : 0), u.current.rate(_ || 1), i.current.isPlaying = !0);
|
|
16278
16282
|
}, [m, x, _]), // @ts-ignore
|
|
16279
|
-
/* @__PURE__ */
|
|
16283
|
+
/* @__PURE__ */ Ce.jsx(wt, { ref: n });
|
|
16280
16284
|
};
|
|
16281
16285
|
function sk(t, e) {
|
|
16282
16286
|
for (var r = -1, n = t == null ? 0 : t.length, i = Array(n); ++r < n; )
|
|
@@ -16943,7 +16947,7 @@ const r5 = (t) => ({
|
|
|
16943
16947
|
});
|
|
16944
16948
|
}), [r, e]), r.instance);
|
|
16945
16949
|
}, i5 = (t) => {
|
|
16946
|
-
const e =
|
|
16950
|
+
const e = de(t);
|
|
16947
16951
|
return mn(() => {
|
|
16948
16952
|
e.current = t;
|
|
16949
16953
|
}, [t]), e;
|
|
@@ -16977,15 +16981,15 @@ const r5 = (t) => ({
|
|
|
16977
16981
|
forwardRef: e,
|
|
16978
16982
|
...r
|
|
16979
16983
|
}) => {
|
|
16980
|
-
const n =
|
|
16981
|
-
return
|
|
16984
|
+
const n = ee.useRef(null);
|
|
16985
|
+
return ee.useImperativeHandle(e, () => n.current, [
|
|
16982
16986
|
n
|
|
16983
|
-
]),
|
|
16987
|
+
]), ee.useEffect(() => {
|
|
16984
16988
|
if (n.current === null)
|
|
16985
16989
|
return;
|
|
16986
16990
|
const i = n.current;
|
|
16987
16991
|
i[t ? "gotoAndPlay" : "gotoAndStop"](i.currentFrame);
|
|
16988
|
-
}, [t]), /* @__PURE__ */
|
|
16992
|
+
}, [t]), /* @__PURE__ */ Ce.jsx(
|
|
16989
16993
|
nS,
|
|
16990
16994
|
{
|
|
16991
16995
|
ref: n,
|
|
@@ -16993,7 +16997,7 @@ const r5 = (t) => ({
|
|
|
16993
16997
|
isPlaying: t
|
|
16994
16998
|
}
|
|
16995
16999
|
);
|
|
16996
|
-
}, l5 =
|
|
17000
|
+
}, l5 = ee.memo(u5);
|
|
16997
17001
|
var Io = { exports: {} };
|
|
16998
17002
|
/**
|
|
16999
17003
|
* @license
|
|
@@ -17006,7 +17010,7 @@ var Io = { exports: {} };
|
|
|
17006
17010
|
Io.exports;
|
|
17007
17011
|
(function(t, e) {
|
|
17008
17012
|
(function() {
|
|
17009
|
-
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`", f = "__lodash_hash_undefined__", p = 500, g = "__lodash_placeholder__", c = 1, d = 2, m = 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,
|
|
17013
|
+
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`", f = "__lodash_hash_undefined__", p = 500, g = "__lodash_placeholder__", c = 1, d = 2, m = 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, re = 2, ne = 3, H = 1 / 0, Q = 9007199254740991, pe = 17976931348623157e292, W = 0 / 0, j = 4294967295, ae = j - 1, he = j >>> 1, ge = [
|
|
17010
17014
|
["ary", N],
|
|
17011
17015
|
["bind", b],
|
|
17012
17016
|
["bindKey", x],
|
|
@@ -17016,7 +17020,7 @@ Io.exports;
|
|
|
17016
17020
|
["partial", O],
|
|
17017
17021
|
["partialRight", F],
|
|
17018
17022
|
["rearg", L]
|
|
17019
|
-
],
|
|
17023
|
+
], be = "[object Arguments]", Ae = "[object Array]", ye = "[object AsyncFunction]", He = "[object Boolean]", je = "[object Date]", Te = "[object DOMException]", Ie = "[object Error]", $e = "[object Function]", Ke = "[object GeneratorFunction]", Ee = "[object Map]", ve = "[object Number]", rt = "[object Null]", ce = "[object Object]", Fe = "[object Promise]", Xt = "[object Proxy]", Bt = "[object RegExp]", lt = "[object Set]", tr = "[object String]", Jn = "[object Symbol]", eu = "[object Undefined]", bn = "[object WeakMap]", fr = "[object WeakSet]", ei = "[object ArrayBuffer]", ti = "[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, wh = /&(?:amp|lt|gt|quot|#39);/g, Sh = /[&<>"']/g, wv = RegExp(wh.source), Sv = RegExp(Sh.source), Av = /<%-([\s\S]+?)%>/g, Ev = /<%([\s\S]+?)%>/g, Ah = /<%=([\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, Eh = /\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", Ch = Wv + jv + qv, Ih = "\\u2700-\\u27bf", Rh = "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", Ph = "A-Z\\xc0-\\xd6\\xd8-\\xde", Mh = "\\ufe0e\\ufe0f", Oh = Yv + Kv + Zv + Qv, fu = "['’]", Jv = "[" + js + "]", Fh = "[" + Oh + "]", qs = "[" + Ch + "]", Nh = "\\d+", e_ = "[" + Ih + "]", Lh = "[" + Rh + "]", kh = "[^" + js + Oh + Nh + Ih + Rh + Ph + "]", du = "\\ud83c[\\udffb-\\udfff]", t_ = "(?:" + qs + "|" + du + ")", Dh = "[^" + js + "]", pu = "(?:\\ud83c[\\udde6-\\uddff]){2}", gu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ri = "[" + Ph + "]", Bh = "\\u200d", Uh = "(?:" + Lh + "|" + kh + ")", r_ = "(?:" + ri + "|" + kh + ")", $h = "(?:" + fu + "(?:d|ll|m|re|s|t|ve))?", Gh = "(?:" + fu + "(?:D|LL|M|RE|S|T|VE))?", Hh = t_ + "?", zh = "[" + Mh + "]?", n_ = "(?:" + Bh + "(?:" + [Dh, pu, gu].join("|") + ")" + zh + Hh + ")*", i_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", s_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Vh = zh + Hh + n_, a_ = "(?:" + [e_, pu, gu].join("|") + ")" + Vh, o_ = "(?:" + [Dh + qs + "?", qs, pu, gu, Jv].join("|") + ")", u_ = RegExp(fu, "g"), l_ = RegExp(qs, "g"), mu = RegExp(du + "(?=" + du + ")|" + o_ + Vh, "g"), c_ = RegExp([
|
|
17020
17024
|
ri + "?" + Lh + "+" + $h + "(?=" + [Fh, ri, "$"].join("|") + ")",
|
|
17021
17025
|
r_ + "+" + Gh + "(?=" + [Fh, ri + Uh, "$"].join("|") + ")",
|
|
17022
17026
|
ri + "?" + Uh + "+" + $h,
|
|
@@ -17057,9 +17061,9 @@ Io.exports;
|
|
|
17057
17061
|
"parseInt",
|
|
17058
17062
|
"setTimeout"
|
|
17059
17063
|
], p_ = -1, et = {};
|
|
17060
|
-
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[
|
|
17064
|
+
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[be] = et[Ae] = et[ei] = et[He] = et[ti] = et[je] = et[Ie] = et[$e] = et[Ee] = et[ve] = et[ce] = et[Bt] = et[lt] = et[tr] = et[bn] = !1;
|
|
17061
17065
|
var Ze = {};
|
|
17062
|
-
Ze[
|
|
17066
|
+
Ze[be] = Ze[Ae] = Ze[ei] = Ze[ti] = Ze[He] = Ze[je] = Ze[tu] = Ze[ru] = Ze[nu] = Ze[iu] = Ze[su] = Ze[Ee] = Ze[ve] = Ze[ce] = Ze[Bt] = Ze[lt] = Ze[tr] = Ze[Jn] = Ze[au] = Ze[ou] = Ze[uu] = Ze[lu] = !0, Ze[Ie] = Ze[$e] = Ze[bn] = !1;
|
|
17063
17067
|
var g_ = {
|
|
17064
17068
|
// Latin-1 Supplement block.
|
|
17065
17069
|
À: "A",
|
|
@@ -17293,8 +17297,8 @@ Io.exports;
|
|
|
17293
17297
|
return P.apply(B, k);
|
|
17294
17298
|
}
|
|
17295
17299
|
function T_(P, B, k, Z) {
|
|
17296
|
-
for (var
|
|
17297
|
-
var mt = P[
|
|
17300
|
+
for (var me = -1, Ge = P == null ? 0 : P.length; ++me < Ge; ) {
|
|
17301
|
+
var mt = P[me];
|
|
17298
17302
|
B(Z, mt, k(mt), P);
|
|
17299
17303
|
}
|
|
17300
17304
|
return Z;
|
|
@@ -17316,9 +17320,9 @@ Io.exports;
|
|
|
17316
17320
|
return !0;
|
|
17317
17321
|
}
|
|
17318
17322
|
function en(P, B) {
|
|
17319
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17323
|
+
for (var k = -1, Z = P == null ? 0 : P.length, me = 0, Ge = []; ++k < Z; ) {
|
|
17320
17324
|
var mt = P[k];
|
|
17321
|
-
B(mt, k, P) && (Ge[
|
|
17325
|
+
B(mt, k, P) && (Ge[me++] = mt);
|
|
17322
17326
|
}
|
|
17323
17327
|
return Ge;
|
|
17324
17328
|
}
|
|
@@ -17327,31 +17331,31 @@ Io.exports;
|
|
|
17327
17331
|
return !!k && ni(P, B, 0) > -1;
|
|
17328
17332
|
}
|
|
17329
17333
|
function yu(P, B, k) {
|
|
17330
|
-
for (var Z = -1,
|
|
17334
|
+
for (var Z = -1, me = P == null ? 0 : P.length; ++Z < me; )
|
|
17331
17335
|
if (k(B, P[Z]))
|
|
17332
17336
|
return !0;
|
|
17333
17337
|
return !1;
|
|
17334
17338
|
}
|
|
17335
17339
|
function nt(P, B) {
|
|
17336
|
-
for (var k = -1, Z = P == null ? 0 : P.length,
|
|
17337
|
-
|
|
17338
|
-
return
|
|
17340
|
+
for (var k = -1, Z = P == null ? 0 : P.length, me = Array(Z); ++k < Z; )
|
|
17341
|
+
me[k] = B(P[k], k, P);
|
|
17342
|
+
return me;
|
|
17339
17343
|
}
|
|
17340
17344
|
function tn(P, B) {
|
|
17341
|
-
for (var k = -1, Z = B.length,
|
|
17342
|
-
P[
|
|
17345
|
+
for (var k = -1, Z = B.length, me = P.length; ++k < Z; )
|
|
17346
|
+
P[me + k] = B[k];
|
|
17343
17347
|
return P;
|
|
17344
17348
|
}
|
|
17345
17349
|
function xu(P, B, k, Z) {
|
|
17346
|
-
var
|
|
17347
|
-
for (Z && Ge && (k = P[++
|
|
17348
|
-
k = B(k, P[
|
|
17350
|
+
var me = -1, Ge = P == null ? 0 : P.length;
|
|
17351
|
+
for (Z && Ge && (k = P[++me]); ++me < Ge; )
|
|
17352
|
+
k = B(k, P[me], me, P);
|
|
17349
17353
|
return k;
|
|
17350
17354
|
}
|
|
17351
17355
|
function S_(P, B, k, Z) {
|
|
17352
|
-
var
|
|
17353
|
-
for (Z &&
|
|
17354
|
-
k = B(k, P[
|
|
17356
|
+
var me = P == null ? 0 : P.length;
|
|
17357
|
+
for (Z && me && (k = P[--me]); me--; )
|
|
17358
|
+
k = B(k, P[me], me, P);
|
|
17355
17359
|
return k;
|
|
17356
17360
|
}
|
|
17357
17361
|
function bu(P, B) {
|
|
@@ -17369,13 +17373,13 @@ Io.exports;
|
|
|
17369
17373
|
}
|
|
17370
17374
|
function ef(P, B, k) {
|
|
17371
17375
|
var Z;
|
|
17372
|
-
return k(P, function(
|
|
17373
|
-
if (B(
|
|
17376
|
+
return k(P, function(me, Ge, mt) {
|
|
17377
|
+
if (B(me, Ge, mt))
|
|
17374
17378
|
return Z = Ge, !1;
|
|
17375
17379
|
}), Z;
|
|
17376
17380
|
}
|
|
17377
17381
|
function Ks(P, B, k, Z) {
|
|
17378
|
-
for (var
|
|
17382
|
+
for (var me = P.length, Ge = k + (Z ? 1 : -1); Z ? Ge-- : ++Ge < me; )
|
|
17379
17383
|
if (B(P[Ge], Ge, P))
|
|
17380
17384
|
return Ge;
|
|
17381
17385
|
return -1;
|
|
@@ -17384,9 +17388,9 @@ Io.exports;
|
|
|
17384
17388
|
return B === B ? U_(P, B, k) : Ks(P, tf, k);
|
|
17385
17389
|
}
|
|
17386
17390
|
function I_(P, B, k, Z) {
|
|
17387
|
-
for (var
|
|
17388
|
-
if (Z(P[
|
|
17389
|
-
return
|
|
17391
|
+
for (var me = k - 1, Ge = P.length; ++me < Ge; )
|
|
17392
|
+
if (Z(P[me], B))
|
|
17393
|
+
return me;
|
|
17390
17394
|
return -1;
|
|
17391
17395
|
}
|
|
17392
17396
|
function tf(P) {
|
|
@@ -17406,8 +17410,8 @@ Io.exports;
|
|
|
17406
17410
|
return P == null ? r : P[B];
|
|
17407
17411
|
};
|
|
17408
17412
|
}
|
|
17409
|
-
function nf(P, B, k, Z,
|
|
17410
|
-
return
|
|
17413
|
+
function nf(P, B, k, Z, me) {
|
|
17414
|
+
return me(P, function(Ge, mt, qe) {
|
|
17411
17415
|
k = Z ? (Z = !1, Ge) : B(k, Ge, mt, qe);
|
|
17412
17416
|
}), k;
|
|
17413
17417
|
}
|
|
@@ -17418,7 +17422,7 @@ Io.exports;
|
|
|
17418
17422
|
return P;
|
|
17419
17423
|
}
|
|
17420
17424
|
function Su(P, B) {
|
|
17421
|
-
for (var k, Z = -1,
|
|
17425
|
+
for (var k, Z = -1, me = P.length; ++Z < me; ) {
|
|
17422
17426
|
var Ge = B(P[Z]);
|
|
17423
17427
|
Ge !== r && (k = k === r ? Ge : k + Ge);
|
|
17424
17428
|
}
|
|
@@ -17485,8 +17489,8 @@ Io.exports;
|
|
|
17485
17489
|
}
|
|
17486
17490
|
function Cu(P) {
|
|
17487
17491
|
var B = -1, k = Array(P.size);
|
|
17488
|
-
return P.forEach(function(Z,
|
|
17489
|
-
k[++B] = [
|
|
17492
|
+
return P.forEach(function(Z, me) {
|
|
17493
|
+
k[++B] = [me, Z];
|
|
17490
17494
|
}), k;
|
|
17491
17495
|
}
|
|
17492
17496
|
function uf(P, B) {
|
|
@@ -17495,9 +17499,9 @@ Io.exports;
|
|
|
17495
17499
|
};
|
|
17496
17500
|
}
|
|
17497
17501
|
function rn(P, B) {
|
|
17498
|
-
for (var k = -1, Z = P.length,
|
|
17502
|
+
for (var k = -1, Z = P.length, me = 0, Ge = []; ++k < Z; ) {
|
|
17499
17503
|
var mt = P[k];
|
|
17500
|
-
(mt === B || mt === g) && (P[k] = g, Ge[
|
|
17504
|
+
(mt === B || mt === g) && (P[k] = g, Ge[me++] = k);
|
|
17501
17505
|
}
|
|
17502
17506
|
return Ge;
|
|
17503
17507
|
}
|
|
@@ -17514,7 +17518,7 @@ Io.exports;
|
|
|
17514
17518
|
}), k;
|
|
17515
17519
|
}
|
|
17516
17520
|
function U_(P, B, k) {
|
|
17517
|
-
for (var Z = k - 1,
|
|
17521
|
+
for (var Z = k - 1, me = P.length; ++Z < me; )
|
|
17518
17522
|
if (P[Z] === B)
|
|
17519
17523
|
return Z;
|
|
17520
17524
|
return -1;
|
|
@@ -17550,7 +17554,7 @@ Io.exports;
|
|
|
17550
17554
|
}
|
|
17551
17555
|
var X_ = function P(B) {
|
|
17552
17556
|
B = B == null ? St : ai.defaults(St.Object(), B, ai.pick(St, d_));
|
|
17553
|
-
var k = B.Array, Z = B.Date,
|
|
17557
|
+
var k = B.Array, Z = B.Date, me = B.Error, Ge = B.Function, mt = B.Math, qe = B.Object, Iu = B.RegExp, W_ = B.String, ir = B.TypeError, Qs = k.prototype, j_ = Ge.prototype, oi = qe.prototype, Js = B["__core-js_shared__"], ea = j_.toString, Xe = oi.hasOwnProperty, q_ = 0, cf = function() {
|
|
17554
17558
|
var s = /[^.]+$/.exec(Js && Js.keys && Js.keys.IE_PROTO || "");
|
|
17555
17559
|
return s ? "Symbol(src)_1." + s : "";
|
|
17556
17560
|
}(), ta = oi.toString, Y_ = ea.call(qe), K_ = St._, Z_ = Iu(
|
|
@@ -17563,7 +17567,7 @@ Io.exports;
|
|
|
17563
17567
|
}
|
|
17564
17568
|
}(), 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, gf = B.isFinite, ry = Qs.join, ny = uf(qe.keys, qe), vt = mt.max, It = mt.min, iy = Z.now, sy = B.parseInt, mf = mt.random, ay = Qs.reverse, Pu = In(B, "DataView"), Qi = In(B, "Map"), Mu = In(B, "Promise"), ui = In(B, "Set"), Ji = In(B, "WeakMap"), es = In(qe, "create"), la = Ji && new Ji(), li = {}, oy = Rn(Pu), uy = Rn(Qi), ly = Rn(Mu), cy = Rn(ui), hy = Rn(Ji), ca = nn ? nn.prototype : r, ts = ca ? ca.valueOf : r, vf = ca ? ca.toString : r;
|
|
17565
17569
|
function S(s) {
|
|
17566
|
-
if (ct(s) && !
|
|
17570
|
+
if (ct(s) && !_e(s) && !(s instanceof Me)) {
|
|
17567
17571
|
if (s instanceof sr)
|
|
17568
17572
|
return s;
|
|
17569
17573
|
if (Xe.call(s, "__wrapped__"))
|
|
@@ -17634,32 +17638,32 @@ Io.exports;
|
|
|
17634
17638
|
_: S
|
|
17635
17639
|
}
|
|
17636
17640
|
}, S.prototype = ha.prototype, S.prototype.constructor = S, sr.prototype = ci(ha.prototype), sr.prototype.constructor = sr;
|
|
17637
|
-
function
|
|
17641
|
+
function Me(s) {
|
|
17638
17642
|
this.__wrapped__ = s, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = j, this.__views__ = [];
|
|
17639
17643
|
}
|
|
17640
17644
|
function fy() {
|
|
17641
|
-
var s = new
|
|
17645
|
+
var s = new Me(this.__wrapped__);
|
|
17642
17646
|
return s.__actions__ = Ut(this.__actions__), s.__dir__ = this.__dir__, s.__filtered__ = this.__filtered__, s.__iteratees__ = Ut(this.__iteratees__), s.__takeCount__ = this.__takeCount__, s.__views__ = Ut(this.__views__), s;
|
|
17643
17647
|
}
|
|
17644
17648
|
function dy() {
|
|
17645
17649
|
if (this.__filtered__) {
|
|
17646
|
-
var s = new
|
|
17650
|
+
var s = new Me(this);
|
|
17647
17651
|
s.__dir__ = -1, s.__filtered__ = !0;
|
|
17648
17652
|
} else
|
|
17649
17653
|
s = this.clone(), s.__dir__ *= -1;
|
|
17650
17654
|
return s;
|
|
17651
17655
|
}
|
|
17652
17656
|
function py() {
|
|
17653
|
-
var s = this.__wrapped__.value(), o = this.__dir__, h =
|
|
17654
|
-
if (!h || !v && T == M &&
|
|
17657
|
+
var s = this.__wrapped__.value(), o = this.__dir__, h = _e(s), v = o < 0, T = h ? s.length : 0, A = Ex(0, T, this.__views__), C = A.start, R = A.end, M = R - C, U = v ? R : C - 1, $ = this.__iteratees__, z = $.length, q = 0, te = It(M, this.__takeCount__);
|
|
17658
|
+
if (!h || !v && T == M && te == M)
|
|
17655
17659
|
return Gf(s, this.__actions__);
|
|
17656
17660
|
var ue = [];
|
|
17657
17661
|
e:
|
|
17658
|
-
for (; M-- && q <
|
|
17662
|
+
for (; M-- && q < te; ) {
|
|
17659
17663
|
U += o;
|
|
17660
|
-
for (var
|
|
17661
|
-
var
|
|
17662
|
-
if (Kt ==
|
|
17664
|
+
for (var we = -1, le = s[U]; ++we < z; ) {
|
|
17665
|
+
var Re = $[we], Ne = Re.iteratee, Kt = Re.type, Lt = Ne(le);
|
|
17666
|
+
if (Kt == re)
|
|
17663
17667
|
le = Lt;
|
|
17664
17668
|
else if (!Lt) {
|
|
17665
17669
|
if (Kt == G)
|
|
@@ -17671,7 +17675,7 @@ Io.exports;
|
|
|
17671
17675
|
}
|
|
17672
17676
|
return ue;
|
|
17673
17677
|
}
|
|
17674
|
-
|
|
17678
|
+
Me.prototype = ci(ha.prototype), Me.prototype.constructor = Me;
|
|
17675
17679
|
function Sn(s) {
|
|
17676
17680
|
var o = -1, h = s == null ? 0 : s.length;
|
|
17677
17681
|
for (this.clear(); ++o < h; ) {
|
|
@@ -17802,7 +17806,7 @@ Io.exports;
|
|
|
17802
17806
|
}
|
|
17803
17807
|
pr.prototype.clear = Oy, pr.prototype.delete = Fy, pr.prototype.get = Ny, pr.prototype.has = Ly, pr.prototype.set = ky;
|
|
17804
17808
|
function _f(s, o) {
|
|
17805
|
-
var h =
|
|
17809
|
+
var h = _e(s), v = !h && Pn(s), T = !h && !v && ln(s), A = !h && !v && !T && pi(s), C = h || v || T || A, R = C ? Au(s.length, W_) : [], M = R.length;
|
|
17806
17810
|
for (var U in s)
|
|
17807
17811
|
(o || Xe.call(s, U)) && !(C && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
17808
17812
|
(U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -17867,7 +17871,7 @@ Io.exports;
|
|
|
17867
17871
|
return C;
|
|
17868
17872
|
if (!st(s))
|
|
17869
17873
|
return s;
|
|
17870
|
-
var $ =
|
|
17874
|
+
var $ = _e(s);
|
|
17871
17875
|
if ($) {
|
|
17872
17876
|
if (C = Ix(s), !R)
|
|
17873
17877
|
return Ut(s, C);
|
|
@@ -17875,7 +17879,7 @@ Io.exports;
|
|
|
17875
17879
|
var z = Rt(s), q = z == $e || z == Ke;
|
|
17876
17880
|
if (ln(s))
|
|
17877
17881
|
return Vf(s, R);
|
|
17878
|
-
if (z ==
|
|
17882
|
+
if (z == ce || z == be || q && !T) {
|
|
17879
17883
|
if (C = M || q ? {} : ld(s), !R)
|
|
17880
17884
|
return M ? vx(s, $y(C, s)) : mx(s, xf(C, s));
|
|
17881
17885
|
} else {
|
|
@@ -17885,17 +17889,17 @@ Io.exports;
|
|
|
17885
17889
|
}
|
|
17886
17890
|
}
|
|
17887
17891
|
A || (A = new pr());
|
|
17888
|
-
var
|
|
17889
|
-
if (
|
|
17890
|
-
return
|
|
17892
|
+
var te = A.get(s);
|
|
17893
|
+
if (te)
|
|
17894
|
+
return te;
|
|
17891
17895
|
A.set(s, C), Bd(s) ? s.forEach(function(le) {
|
|
17892
17896
|
C.add(ar(le, o, h, le, s, A));
|
|
17893
|
-
}) : kd(s) && s.forEach(function(le,
|
|
17894
|
-
C.set(
|
|
17897
|
+
}) : kd(s) && s.forEach(function(le, Re) {
|
|
17898
|
+
C.set(Re, ar(le, o, h, Re, s, A));
|
|
17895
17899
|
});
|
|
17896
|
-
var ue = U ? M ? Ju : Qu : M ? Gt : yt,
|
|
17897
|
-
return nr(
|
|
17898
|
-
|
|
17900
|
+
var ue = U ? M ? Ju : Qu : M ? Gt : yt, we = $ ? r : ue(s);
|
|
17901
|
+
return nr(we || s, function(le, Re) {
|
|
17902
|
+
we && (Re = le, le = s[Re]), rs(C, Re, ar(le, o, h, Re, s, A));
|
|
17899
17903
|
}), C;
|
|
17900
17904
|
}
|
|
17901
17905
|
function Gy(s) {
|
|
@@ -17995,7 +17999,7 @@ Io.exports;
|
|
|
17995
17999
|
}
|
|
17996
18000
|
function Ef(s, o, h) {
|
|
17997
18001
|
var v = o(s);
|
|
17998
|
-
return
|
|
18002
|
+
return _e(s) ? v : tn(v, h(s));
|
|
17999
18003
|
}
|
|
18000
18004
|
function Ft(s) {
|
|
18001
18005
|
return s == null ? s === r ? eu : rt : wn && wn in qe(s) ? Ax(s) : Bx(s);
|
|
@@ -18021,14 +18025,14 @@ Io.exports;
|
|
|
18021
18025
|
var z = -1, q = R[0];
|
|
18022
18026
|
e:
|
|
18023
18027
|
for (; ++z < T && U.length < M; ) {
|
|
18024
|
-
var
|
|
18025
|
-
if (
|
|
18028
|
+
var te = $[z], ue = o ? o(te) : te;
|
|
18029
|
+
if (te = h || te !== 0 ? te : 0, !(q ? Ki(q, ue) : v(U, ue, h))) {
|
|
18026
18030
|
for (C = A; --C; ) {
|
|
18027
|
-
var
|
|
18028
|
-
if (!(
|
|
18031
|
+
var we = R[C];
|
|
18032
|
+
if (!(we ? Ki(we, ue) : v(s[C], ue, h)))
|
|
18029
18033
|
continue e;
|
|
18030
18034
|
}
|
|
18031
|
-
q && q.push(ue), U.push(
|
|
18035
|
+
q && q.push(ue), U.push(te);
|
|
18032
18036
|
}
|
|
18033
18037
|
}
|
|
18034
18038
|
return U;
|
|
@@ -18044,7 +18048,7 @@ Io.exports;
|
|
|
18044
18048
|
return v == null ? r : Wt(v, s, h);
|
|
18045
18049
|
}
|
|
18046
18050
|
function Cf(s) {
|
|
18047
|
-
return ct(s) && Ft(s) ==
|
|
18051
|
+
return ct(s) && Ft(s) == be;
|
|
18048
18052
|
}
|
|
18049
18053
|
function qy(s) {
|
|
18050
18054
|
return ct(s) && Ft(s) == ei;
|
|
@@ -18056,9 +18060,9 @@ Io.exports;
|
|
|
18056
18060
|
return s === o ? !0 : s == null || o == null || !ct(s) && !ct(o) ? s !== s && o !== o : Ky(s, o, h, v, ss, T);
|
|
18057
18061
|
}
|
|
18058
18062
|
function Ky(s, o, h, v, T, A) {
|
|
18059
|
-
var C =
|
|
18060
|
-
M = M ==
|
|
18061
|
-
var $ = M ==
|
|
18063
|
+
var C = _e(s), R = _e(o), M = C ? Ae : Rt(s), U = R ? Ae : Rt(o);
|
|
18064
|
+
M = M == be ? ce : M, U = U == be ? ce : U;
|
|
18065
|
+
var $ = M == ce, z = U == ce, q = M == U;
|
|
18062
18066
|
if (q && ln(s)) {
|
|
18063
18067
|
if (!ln(o))
|
|
18064
18068
|
return !1;
|
|
@@ -18067,16 +18071,16 @@ Io.exports;
|
|
|
18067
18071
|
if (q && !$)
|
|
18068
18072
|
return A || (A = new pr()), C || pi(s) ? ad(s, o, h, v, T, A) : wx(s, o, M, h, v, T, A);
|
|
18069
18073
|
if (!(h & _)) {
|
|
18070
|
-
var
|
|
18071
|
-
if (
|
|
18072
|
-
var
|
|
18073
|
-
return A || (A = new pr()), T(
|
|
18074
|
+
var te = $ && Xe.call(s, "__wrapped__"), ue = z && Xe.call(o, "__wrapped__");
|
|
18075
|
+
if (te || ue) {
|
|
18076
|
+
var we = te ? s.value() : s, le = ue ? o.value() : o;
|
|
18077
|
+
return A || (A = new pr()), T(we, le, h, v, A);
|
|
18074
18078
|
}
|
|
18075
18079
|
}
|
|
18076
18080
|
return q ? (A || (A = new pr()), Sx(s, o, h, v, T, A)) : !1;
|
|
18077
18081
|
}
|
|
18078
18082
|
function Zy(s) {
|
|
18079
|
-
return ct(s) && Rt(s) ==
|
|
18083
|
+
return ct(s) && Rt(s) == Ee;
|
|
18080
18084
|
}
|
|
18081
18085
|
function Bu(s, o, h, v) {
|
|
18082
18086
|
var T = h.length, A = T, C = !v;
|
|
@@ -18119,7 +18123,7 @@ Io.exports;
|
|
|
18119
18123
|
return ct(s) && Ma(s.length) && !!et[Ft(s)];
|
|
18120
18124
|
}
|
|
18121
18125
|
function Rf(s) {
|
|
18122
|
-
return typeof s == "function" ? s : s == null ? Ht : typeof s == "object" ?
|
|
18126
|
+
return typeof s == "function" ? s : s == null ? Ht : typeof s == "object" ? _e(s) ? Of(s[0], s[1]) : Mf(s) : Zd(s);
|
|
18123
18127
|
}
|
|
18124
18128
|
function Uu(s) {
|
|
18125
18129
|
if (!us(s))
|
|
@@ -18176,8 +18180,8 @@ Io.exports;
|
|
|
18176
18180
|
}
|
|
18177
18181
|
var $ = A ? A(R, M, h + "", s, o, C) : r, z = $ === r;
|
|
18178
18182
|
if (z) {
|
|
18179
|
-
var q =
|
|
18180
|
-
$ = M, q ||
|
|
18183
|
+
var q = _e(M), te = !q && ln(M), ue = !q && !te && pi(M);
|
|
18184
|
+
$ = M, q || te || ue ? _e(R) ? $ = R : ht(R) ? $ = Ut(R) : te ? (z = !1, $ = Vf(M, !0)) : ue ? (z = !1, $ = Xf(M, !0)) : $ = [] : cs(M) || Pn(M) ? ($ = R, Pn(R) ? $ = Gd(R) : (!st(R) || Xr(R)) && ($ = ld(M))) : z = !1;
|
|
18181
18185
|
}
|
|
18182
18186
|
z && (C.set(M, $), T($, M, v, A, C), C.delete(M)), Ou(s, h, $);
|
|
18183
18187
|
}
|
|
@@ -18188,12 +18192,12 @@ Io.exports;
|
|
|
18188
18192
|
}
|
|
18189
18193
|
function Nf(s, o, h) {
|
|
18190
18194
|
o.length ? o = nt(o, function(A) {
|
|
18191
|
-
return
|
|
18195
|
+
return _e(A) ? function(C) {
|
|
18192
18196
|
return Cn(C, A.length === 1 ? A[0] : A);
|
|
18193
18197
|
} : A;
|
|
18194
18198
|
}) : o = [Ht];
|
|
18195
18199
|
var v = -1;
|
|
18196
|
-
o = nt(o, jt(
|
|
18200
|
+
o = nt(o, jt(oe()));
|
|
18197
18201
|
var T = Pf(s, function(A, C, R) {
|
|
18198
18202
|
var M = nt(o, function(U) {
|
|
18199
18203
|
return U(A);
|
|
@@ -18255,7 +18259,7 @@ Io.exports;
|
|
|
18255
18259
|
while (o);
|
|
18256
18260
|
return h;
|
|
18257
18261
|
}
|
|
18258
|
-
function
|
|
18262
|
+
function Se(s, o) {
|
|
18259
18263
|
return al(fd(s, o, Ht), s + "");
|
|
18260
18264
|
}
|
|
18261
18265
|
function ax(s) {
|
|
@@ -18309,7 +18313,7 @@ Io.exports;
|
|
|
18309
18313
|
}
|
|
18310
18314
|
function ma(s, o, h) {
|
|
18311
18315
|
var v = 0, T = s == null ? v : s.length;
|
|
18312
|
-
if (typeof o == "number" && o === o && T <=
|
|
18316
|
+
if (typeof o == "number" && o === o && T <= he) {
|
|
18313
18317
|
for (; v < T; ) {
|
|
18314
18318
|
var A = v + T >>> 1, C = s[A];
|
|
18315
18319
|
C !== null && !Yt(C) && (h ? C <= o : C < o) ? v = A + 1 : T = A;
|
|
@@ -18324,14 +18328,14 @@ Io.exports;
|
|
|
18324
18328
|
return 0;
|
|
18325
18329
|
o = h(o);
|
|
18326
18330
|
for (var C = o !== o, R = o === null, M = Yt(o), U = o === r; T < A; ) {
|
|
18327
|
-
var $ = ua((T + A) / 2), z = h(s[$]), q = z !== r,
|
|
18331
|
+
var $ = ua((T + A) / 2), z = h(s[$]), q = z !== r, te = z === null, ue = z === z, we = Yt(z);
|
|
18328
18332
|
if (C)
|
|
18329
18333
|
var le = v || ue;
|
|
18330
18334
|
else
|
|
18331
|
-
U ? le = ue && (v || q) : R ? le = ue && q && (v || !
|
|
18335
|
+
U ? le = ue && (v || q) : R ? le = ue && q && (v || !te) : M ? le = ue && q && !te && (v || !we) : te || we ? le = !1 : le = v ? z <= o : z < o;
|
|
18332
18336
|
le ? T = $ + 1 : A = $;
|
|
18333
18337
|
}
|
|
18334
|
-
return It(A,
|
|
18338
|
+
return It(A, ae);
|
|
18335
18339
|
}
|
|
18336
18340
|
function Bf(s, o) {
|
|
18337
18341
|
for (var h = -1, v = s.length, T = 0, A = []; ++h < v; ) {
|
|
@@ -18349,7 +18353,7 @@ Io.exports;
|
|
|
18349
18353
|
function qt(s) {
|
|
18350
18354
|
if (typeof s == "string")
|
|
18351
18355
|
return s;
|
|
18352
|
-
if (
|
|
18356
|
+
if (_e(s))
|
|
18353
18357
|
return nt(s, qt) + "";
|
|
18354
18358
|
if (Yt(s))
|
|
18355
18359
|
return vf ? vf.call(s) : "";
|
|
@@ -18393,7 +18397,7 @@ Io.exports;
|
|
|
18393
18397
|
}
|
|
18394
18398
|
function Gf(s, o) {
|
|
18395
18399
|
var h = s;
|
|
18396
|
-
return h instanceof
|
|
18400
|
+
return h instanceof Me && (h = h.value()), xu(o, function(v, T) {
|
|
18397
18401
|
return T.func.apply(T.thisArg, tn([v], T.args));
|
|
18398
18402
|
}, h);
|
|
18399
18403
|
}
|
|
@@ -18420,9 +18424,9 @@ Io.exports;
|
|
|
18420
18424
|
return typeof s == "function" ? s : Ht;
|
|
18421
18425
|
}
|
|
18422
18426
|
function on(s, o) {
|
|
18423
|
-
return
|
|
18427
|
+
return _e(s) ? s : nl(s, o) ? [s] : vd(ze(s));
|
|
18424
18428
|
}
|
|
18425
|
-
var hx =
|
|
18429
|
+
var hx = Se;
|
|
18426
18430
|
function un(s, o, h) {
|
|
18427
18431
|
var v = s.length;
|
|
18428
18432
|
return h = h === r ? v : h, !o && h >= v ? s : or(s, o, h);
|
|
@@ -18489,10 +18493,10 @@ Io.exports;
|
|
|
18489
18493
|
function qf(s, o, h, v) {
|
|
18490
18494
|
for (var T = -1, A = s.length, C = -1, R = h.length, M = -1, U = o.length, $ = vt(A - R, 0), z = k($ + U), q = !v; ++T < $; )
|
|
18491
18495
|
z[T] = s[T];
|
|
18492
|
-
for (var
|
|
18493
|
-
z[
|
|
18496
|
+
for (var te = T; ++M < U; )
|
|
18497
|
+
z[te + M] = o[M];
|
|
18494
18498
|
for (; ++C < R; )
|
|
18495
|
-
(q || T < A) && (z[
|
|
18499
|
+
(q || T < A) && (z[te + h[C]] = s[T++]);
|
|
18496
18500
|
return z;
|
|
18497
18501
|
}
|
|
18498
18502
|
function Ut(s, o) {
|
|
@@ -18518,12 +18522,12 @@ Io.exports;
|
|
|
18518
18522
|
}
|
|
18519
18523
|
function _a(s, o) {
|
|
18520
18524
|
return function(h, v) {
|
|
18521
|
-
var T =
|
|
18522
|
-
return T(h, s,
|
|
18525
|
+
var T = _e(h) ? T_ : Uy, A = o ? o() : {};
|
|
18526
|
+
return T(h, s, oe(v, 2), A);
|
|
18523
18527
|
};
|
|
18524
18528
|
}
|
|
18525
18529
|
function hi(s) {
|
|
18526
|
-
return
|
|
18530
|
+
return Se(function(o, h) {
|
|
18527
18531
|
var v = -1, T = h.length, A = T > 1 ? h[T - 1] : r, C = T > 2 ? h[2] : r;
|
|
18528
18532
|
for (A = s.length > 3 && typeof A == "function" ? (T--, A) : r, C && Nt(h[0], h[1], C) && (A = T < 3 ? r : A, T = 1), o = qe(o); ++v < T; ) {
|
|
18529
18533
|
var R = h[v];
|
|
@@ -18626,7 +18630,7 @@ Io.exports;
|
|
|
18626
18630
|
return function(o, h, v) {
|
|
18627
18631
|
var T = qe(o);
|
|
18628
18632
|
if (!$t(o)) {
|
|
18629
|
-
var A =
|
|
18633
|
+
var A = oe(h, 3);
|
|
18630
18634
|
o = yt(o), h = function(R) {
|
|
18631
18635
|
return A(T[R], R, T);
|
|
18632
18636
|
};
|
|
@@ -18652,7 +18656,7 @@ Io.exports;
|
|
|
18652
18656
|
}
|
|
18653
18657
|
return function() {
|
|
18654
18658
|
var U = arguments, $ = U[0];
|
|
18655
|
-
if (C && U.length == 1 &&
|
|
18659
|
+
if (C && U.length == 1 && _e($))
|
|
18656
18660
|
return C.plant($).value();
|
|
18657
18661
|
for (var z = 0, q = h ? o[z].apply(this, U) : $; ++z < h; )
|
|
18658
18662
|
q = o[z].call(this, q);
|
|
@@ -18661,29 +18665,29 @@ Io.exports;
|
|
|
18661
18665
|
});
|
|
18662
18666
|
}
|
|
18663
18667
|
function ya(s, o, h, v, T, A, C, R, M, U) {
|
|
18664
|
-
var $ = o & N, z = o & b, q = o & x,
|
|
18668
|
+
var $ = o & N, z = o & b, q = o & x, te = o & (w | I), ue = o & D, we = q ? r : os(s);
|
|
18665
18669
|
function le() {
|
|
18666
|
-
for (var
|
|
18667
|
-
|
|
18668
|
-
if (
|
|
18669
|
-
var Lt = di(le), Zt = M_(
|
|
18670
|
-
if (v && (
|
|
18671
|
-
var ft = rn(
|
|
18670
|
+
for (var Re = arguments.length, Ne = k(Re), Kt = Re; Kt--; )
|
|
18671
|
+
Ne[Kt] = arguments[Kt];
|
|
18672
|
+
if (te)
|
|
18673
|
+
var Lt = di(le), Zt = M_(Ne, Lt);
|
|
18674
|
+
if (v && (Ne = jf(Ne, v, T, te)), A && (Ne = qf(Ne, A, C, te)), Re -= Zt, te && Re < U) {
|
|
18675
|
+
var ft = rn(Ne, Lt);
|
|
18672
18676
|
return rd(
|
|
18673
18677
|
s,
|
|
18674
18678
|
o,
|
|
18675
18679
|
ya,
|
|
18676
18680
|
le.placeholder,
|
|
18677
18681
|
h,
|
|
18678
|
-
|
|
18682
|
+
Ne,
|
|
18679
18683
|
ft,
|
|
18680
18684
|
R,
|
|
18681
18685
|
M,
|
|
18682
|
-
U -
|
|
18686
|
+
U - Re
|
|
18683
18687
|
);
|
|
18684
18688
|
}
|
|
18685
18689
|
var mr = z ? h : this, jr = q ? mr[s] : s;
|
|
18686
|
-
return
|
|
18690
|
+
return Re = Ne.length, R ? Ne = Ux(Ne, R) : ue && Re > 1 && Ne.reverse(), $ && M < Re && (Ne.length = M), this && this !== St && this instanceof le && (jr = we || os(jr)), jr.apply(mr, Ne);
|
|
18687
18691
|
}
|
|
18688
18692
|
return le;
|
|
18689
18693
|
}
|
|
@@ -18707,7 +18711,7 @@ Io.exports;
|
|
|
18707
18711
|
}
|
|
18708
18712
|
function Ku(s) {
|
|
18709
18713
|
return zr(function(o) {
|
|
18710
|
-
return o = nt(o, jt(
|
|
18714
|
+
return o = nt(o, jt(oe())), Se(function(h) {
|
|
18711
18715
|
var v = this;
|
|
18712
18716
|
return s(o, function(T) {
|
|
18713
18717
|
return Wt(T, v, h);
|
|
@@ -18745,21 +18749,21 @@ Io.exports;
|
|
|
18745
18749
|
};
|
|
18746
18750
|
}
|
|
18747
18751
|
function rd(s, o, h, v, T, A, C, R, M, U) {
|
|
18748
|
-
var $ = o & w, z = $ ? C : r, q = $ ? r : C,
|
|
18752
|
+
var $ = o & w, z = $ ? C : r, q = $ ? r : C, te = $ ? A : r, ue = $ ? r : A;
|
|
18749
18753
|
o |= $ ? O : F, o &= ~($ ? F : O), o & E || (o &= ~(b | x));
|
|
18750
|
-
var
|
|
18754
|
+
var we = [
|
|
18751
18755
|
s,
|
|
18752
18756
|
o,
|
|
18753
18757
|
T,
|
|
18754
|
-
|
|
18758
|
+
te,
|
|
18755
18759
|
z,
|
|
18756
18760
|
ue,
|
|
18757
18761
|
q,
|
|
18758
18762
|
R,
|
|
18759
18763
|
M,
|
|
18760
18764
|
U
|
|
18761
|
-
], le = h.apply(r,
|
|
18762
|
-
return il(s) && pd(le,
|
|
18765
|
+
], le = h.apply(r, we);
|
|
18766
|
+
return il(s) && pd(le, we), le.placeholder = v, gd(le, s, o);
|
|
18763
18767
|
}
|
|
18764
18768
|
function Zu(s) {
|
|
18765
18769
|
var o = mt[s];
|
|
@@ -18777,7 +18781,7 @@ Io.exports;
|
|
|
18777
18781
|
function nd(s) {
|
|
18778
18782
|
return function(o) {
|
|
18779
18783
|
var h = Rt(o);
|
|
18780
|
-
return h ==
|
|
18784
|
+
return h == Ee ? Cu(o) : h == lt ? B_(o) : P_(o, s(o));
|
|
18781
18785
|
};
|
|
18782
18786
|
}
|
|
18783
18787
|
function Hr(s, o, h, v, T, A, C, R) {
|
|
@@ -18789,7 +18793,7 @@ Io.exports;
|
|
|
18789
18793
|
var $ = v, z = T;
|
|
18790
18794
|
v = T = r;
|
|
18791
18795
|
}
|
|
18792
|
-
var q = M ? r : el(s),
|
|
18796
|
+
var q = M ? r : el(s), te = [
|
|
18793
18797
|
s,
|
|
18794
18798
|
o,
|
|
18795
18799
|
h,
|
|
@@ -18801,12 +18805,12 @@ Io.exports;
|
|
|
18801
18805
|
C,
|
|
18802
18806
|
R
|
|
18803
18807
|
];
|
|
18804
|
-
if (q && kx(
|
|
18808
|
+
if (q && kx(te, q), s = te[0], o = te[1], h = te[2], v = te[3], T = te[4], R = te[9] = te[9] === r ? M ? 0 : s.length : vt(te[9] - U, 0), !R && o & (w | I) && (o &= ~(w | I)), !o || o == b)
|
|
18805
18809
|
var ue = _x(s, o, h);
|
|
18806
18810
|
else
|
|
18807
|
-
o == w || o == I ? ue = yx(s, o, R) : (o == O || o == (b | O)) && !T.length ? ue = xx(s, o, h, v) : ue = ya.apply(r,
|
|
18808
|
-
var
|
|
18809
|
-
return gd(
|
|
18811
|
+
o == w || o == I ? ue = yx(s, o, R) : (o == O || o == (b | O)) && !T.length ? ue = xx(s, o, h, v) : ue = ya.apply(r, te);
|
|
18812
|
+
var we = q ? Df : pd;
|
|
18813
|
+
return gd(we(ue, te), s, o);
|
|
18810
18814
|
}
|
|
18811
18815
|
function id(s, o, h, v) {
|
|
18812
18816
|
return s === r || gr(s, oi[h]) && !Xe.call(v, h) ? o : s;
|
|
@@ -18824,26 +18828,26 @@ Io.exports;
|
|
|
18824
18828
|
var U = A.get(s), $ = A.get(o);
|
|
18825
18829
|
if (U && $)
|
|
18826
18830
|
return U == o && $ == s;
|
|
18827
|
-
var z = -1, q = !0,
|
|
18831
|
+
var z = -1, q = !0, te = h & y ? new An() : r;
|
|
18828
18832
|
for (A.set(s, o), A.set(o, s); ++z < R; ) {
|
|
18829
|
-
var ue = s[z],
|
|
18833
|
+
var ue = s[z], we = o[z];
|
|
18830
18834
|
if (v)
|
|
18831
|
-
var le = C ? v(
|
|
18835
|
+
var le = C ? v(we, ue, z, o, s, A) : v(ue, we, z, s, o, A);
|
|
18832
18836
|
if (le !== r) {
|
|
18833
18837
|
if (le)
|
|
18834
18838
|
continue;
|
|
18835
18839
|
q = !1;
|
|
18836
18840
|
break;
|
|
18837
18841
|
}
|
|
18838
|
-
if (
|
|
18839
|
-
if (!bu(o, function(
|
|
18840
|
-
if (!Ki(
|
|
18841
|
-
return
|
|
18842
|
+
if (te) {
|
|
18843
|
+
if (!bu(o, function(Re, Ne) {
|
|
18844
|
+
if (!Ki(te, Ne) && (ue === Re || T(ue, Re, h, v, A)))
|
|
18845
|
+
return te.push(Ne);
|
|
18842
18846
|
})) {
|
|
18843
18847
|
q = !1;
|
|
18844
18848
|
break;
|
|
18845
18849
|
}
|
|
18846
|
-
} else if (!(ue ===
|
|
18850
|
+
} else if (!(ue === we || T(ue, we, h, v, A))) {
|
|
18847
18851
|
q = !1;
|
|
18848
18852
|
break;
|
|
18849
18853
|
}
|
|
@@ -18860,14 +18864,14 @@ Io.exports;
|
|
|
18860
18864
|
return !(s.byteLength != o.byteLength || !A(new na(s), new na(o)));
|
|
18861
18865
|
case He:
|
|
18862
18866
|
case je:
|
|
18863
|
-
case
|
|
18867
|
+
case ve:
|
|
18864
18868
|
return gr(+s, +o);
|
|
18865
|
-
case
|
|
18869
|
+
case Ie:
|
|
18866
18870
|
return s.name == o.name && s.message == o.message;
|
|
18867
18871
|
case Bt:
|
|
18868
18872
|
case tr:
|
|
18869
18873
|
return s == o + "";
|
|
18870
|
-
case
|
|
18874
|
+
case Ee:
|
|
18871
18875
|
var R = Cu;
|
|
18872
18876
|
case lt:
|
|
18873
18877
|
var M = v & _;
|
|
@@ -18894,27 +18898,27 @@ Io.exports;
|
|
|
18894
18898
|
if (!(C ? q in o : Xe.call(o, q)))
|
|
18895
18899
|
return !1;
|
|
18896
18900
|
}
|
|
18897
|
-
var
|
|
18898
|
-
if (
|
|
18899
|
-
return
|
|
18900
|
-
var
|
|
18901
|
+
var te = A.get(s), ue = A.get(o);
|
|
18902
|
+
if (te && ue)
|
|
18903
|
+
return te == o && ue == s;
|
|
18904
|
+
var we = !0;
|
|
18901
18905
|
A.set(s, o), A.set(o, s);
|
|
18902
18906
|
for (var le = C; ++z < M; ) {
|
|
18903
18907
|
q = R[z];
|
|
18904
|
-
var
|
|
18908
|
+
var Re = s[q], Ne = o[q];
|
|
18905
18909
|
if (v)
|
|
18906
|
-
var Kt = C ? v(
|
|
18907
|
-
if (!(Kt === r ?
|
|
18908
|
-
|
|
18910
|
+
var Kt = C ? v(Ne, Re, q, o, s, A) : v(Re, Ne, q, s, o, A);
|
|
18911
|
+
if (!(Kt === r ? Re === Ne || T(Re, Ne, h, v, A) : Kt)) {
|
|
18912
|
+
we = !1;
|
|
18909
18913
|
break;
|
|
18910
18914
|
}
|
|
18911
18915
|
le || (le = q == "constructor");
|
|
18912
18916
|
}
|
|
18913
|
-
if (
|
|
18917
|
+
if (we && !le) {
|
|
18914
18918
|
var Lt = s.constructor, Zt = o.constructor;
|
|
18915
|
-
Lt != Zt && "constructor" in s && "constructor" in o && !(typeof Lt == "function" && Lt instanceof Lt && typeof Zt == "function" && Zt instanceof Zt) && (
|
|
18919
|
+
Lt != Zt && "constructor" in s && "constructor" in o && !(typeof Lt == "function" && Lt instanceof Lt && typeof Zt == "function" && Zt instanceof Zt) && (we = !1);
|
|
18916
18920
|
}
|
|
18917
|
-
return A.delete(s), A.delete(o),
|
|
18921
|
+
return A.delete(s), A.delete(o), we;
|
|
18918
18922
|
}
|
|
18919
18923
|
function zr(s) {
|
|
18920
18924
|
return al(fd(s, r, bd), s + "");
|
|
@@ -18940,7 +18944,7 @@ Io.exports;
|
|
|
18940
18944
|
var o = Xe.call(S, "placeholder") ? S : s;
|
|
18941
18945
|
return o.placeholder;
|
|
18942
18946
|
}
|
|
18943
|
-
function
|
|
18947
|
+
function oe() {
|
|
18944
18948
|
var s = S.iteratee || vl;
|
|
18945
18949
|
return s = s === vl ? Rf : s, arguments.length ? s(arguments[0], arguments[1]) : s;
|
|
18946
18950
|
}
|
|
@@ -18978,16 +18982,16 @@ Io.exports;
|
|
|
18978
18982
|
tn(o, rl(s)), s = ia(s);
|
|
18979
18983
|
return o;
|
|
18980
18984
|
} : xl, Rt = Ft;
|
|
18981
|
-
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ti || Qi && Rt(new Qi()) !=
|
|
18982
|
-
var o = Ft(s), h = o ==
|
|
18985
|
+
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ti || Qi && Rt(new Qi()) != Ee || Mu && Rt(Mu.resolve()) != Fe || ui && Rt(new ui()) != lt || Ji && Rt(new Ji()) != bn) && (Rt = function(s) {
|
|
18986
|
+
var o = Ft(s), h = o == ce ? s.constructor : r, v = h ? Rn(h) : "";
|
|
18983
18987
|
if (v)
|
|
18984
18988
|
switch (v) {
|
|
18985
18989
|
case oy:
|
|
18986
18990
|
return ti;
|
|
18987
18991
|
case uy:
|
|
18988
|
-
return
|
|
18992
|
+
return Ee;
|
|
18989
18993
|
case ly:
|
|
18990
|
-
return
|
|
18994
|
+
return Fe;
|
|
18991
18995
|
case cy:
|
|
18992
18996
|
return lt;
|
|
18993
18997
|
case hy:
|
|
@@ -19027,7 +19031,7 @@ Io.exports;
|
|
|
19027
19031
|
break;
|
|
19028
19032
|
s = s[C];
|
|
19029
19033
|
}
|
|
19030
|
-
return A || ++v != T ? A : (T = s == null ? 0 : s.length, !!T && Ma(T) && Vr(C, T) && (
|
|
19034
|
+
return A || ++v != T ? A : (T = s == null ? 0 : s.length, !!T && Ma(T) && Vr(C, T) && (_e(s) || Pn(s)));
|
|
19031
19035
|
}
|
|
19032
19036
|
function Ix(s) {
|
|
19033
19037
|
var o = s.length, h = new s.constructor(o);
|
|
@@ -19056,9 +19060,9 @@ Io.exports;
|
|
|
19056
19060
|
case uu:
|
|
19057
19061
|
case lu:
|
|
19058
19062
|
return Xf(s, h);
|
|
19059
|
-
case
|
|
19063
|
+
case Ee:
|
|
19060
19064
|
return new v();
|
|
19061
|
-
case
|
|
19065
|
+
case ve:
|
|
19062
19066
|
case tr:
|
|
19063
19067
|
return new v(s);
|
|
19064
19068
|
case Bt:
|
|
@@ -19079,7 +19083,7 @@ Io.exports;
|
|
|
19079
19083
|
`);
|
|
19080
19084
|
}
|
|
19081
19085
|
function Mx(s) {
|
|
19082
|
-
return
|
|
19086
|
+
return _e(s) || Pn(s) || !!(pf && s && s[pf]);
|
|
19083
19087
|
}
|
|
19084
19088
|
function Vr(s, o) {
|
|
19085
19089
|
var h = typeof s;
|
|
@@ -19092,7 +19096,7 @@ Io.exports;
|
|
|
19092
19096
|
return (v == "number" ? $t(h) && Vr(o, h.length) : v == "string" && o in h) ? gr(h[o], s) : !1;
|
|
19093
19097
|
}
|
|
19094
19098
|
function nl(s, o) {
|
|
19095
|
-
if (
|
|
19099
|
+
if (_e(s))
|
|
19096
19100
|
return !1;
|
|
19097
19101
|
var h = typeof s;
|
|
19098
19102
|
return h == "number" || h == "symbol" || h == "boolean" || s == null || Yt(s) ? !0 : Iv.test(s) || !Cv.test(s) || o != null && s in qe(o);
|
|
@@ -19103,7 +19107,7 @@ Io.exports;
|
|
|
19103
19107
|
}
|
|
19104
19108
|
function il(s) {
|
|
19105
19109
|
var o = wa(s), h = S[o];
|
|
19106
|
-
if (typeof h != "function" || !(o in
|
|
19110
|
+
if (typeof h != "function" || !(o in Me.prototype))
|
|
19107
19111
|
return !1;
|
|
19108
19112
|
if (s === h)
|
|
19109
19113
|
return !0;
|
|
@@ -19231,13 +19235,13 @@ Io.exports;
|
|
|
19231
19235
|
return "";
|
|
19232
19236
|
}
|
|
19233
19237
|
function $x(s, o) {
|
|
19234
|
-
return nr(
|
|
19238
|
+
return nr(ge, function(h) {
|
|
19235
19239
|
var v = "_." + h[0];
|
|
19236
19240
|
o & h[1] && !Ys(s, v) && s.push(v);
|
|
19237
19241
|
}), s.sort();
|
|
19238
19242
|
}
|
|
19239
19243
|
function _d(s) {
|
|
19240
|
-
if (s instanceof
|
|
19244
|
+
if (s instanceof Me)
|
|
19241
19245
|
return s.clone();
|
|
19242
19246
|
var o = new sr(s.__wrapped__, s.__chain__);
|
|
19243
19247
|
return o.__actions__ = Ut(s.__actions__), o.__index__ = s.__index__, o.__values__ = s.__values__, o;
|
|
@@ -19264,14 +19268,14 @@ Io.exports;
|
|
|
19264
19268
|
return [];
|
|
19265
19269
|
for (var o = k(s - 1), h = arguments[0], v = s; v--; )
|
|
19266
19270
|
o[v - 1] = arguments[v];
|
|
19267
|
-
return tn(
|
|
19271
|
+
return tn(_e(h) ? Ut(h) : [h], At(o, 1));
|
|
19268
19272
|
}
|
|
19269
|
-
var Vx =
|
|
19273
|
+
var Vx = Se(function(s, o) {
|
|
19270
19274
|
return ht(s) ? ns(s, At(o, 1, ht, !0)) : [];
|
|
19271
|
-
}), Xx =
|
|
19275
|
+
}), Xx = Se(function(s, o) {
|
|
19272
19276
|
var h = ur(o);
|
|
19273
|
-
return ht(h) && (h = r), ht(s) ? ns(s, At(o, 1, ht, !0),
|
|
19274
|
-
}), Wx =
|
|
19277
|
+
return ht(h) && (h = r), ht(s) ? ns(s, At(o, 1, ht, !0), oe(h, 2)) : [];
|
|
19278
|
+
}), Wx = Se(function(s, o) {
|
|
19275
19279
|
var h = ur(o);
|
|
19276
19280
|
return ht(h) && (h = r), ht(s) ? ns(s, At(o, 1, ht, !0), r, h) : [];
|
|
19277
19281
|
});
|
|
@@ -19284,10 +19288,10 @@ Io.exports;
|
|
|
19284
19288
|
return v ? (o = h || o === r ? 1 : xe(o), o = v - o, or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19285
19289
|
}
|
|
19286
19290
|
function Yx(s, o) {
|
|
19287
|
-
return s && s.length ? va(s,
|
|
19291
|
+
return s && s.length ? va(s, oe(o, 3), !0, !0) : [];
|
|
19288
19292
|
}
|
|
19289
19293
|
function Kx(s, o) {
|
|
19290
|
-
return s && s.length ? va(s,
|
|
19294
|
+
return s && s.length ? va(s, oe(o, 3), !0) : [];
|
|
19291
19295
|
}
|
|
19292
19296
|
function Zx(s, o, h, v) {
|
|
19293
19297
|
var T = s == null ? 0 : s.length;
|
|
@@ -19298,14 +19302,14 @@ Io.exports;
|
|
|
19298
19302
|
if (!v)
|
|
19299
19303
|
return -1;
|
|
19300
19304
|
var T = h == null ? 0 : xe(h);
|
|
19301
|
-
return T < 0 && (T = vt(v + T, 0)), Ks(s,
|
|
19305
|
+
return T < 0 && (T = vt(v + T, 0)), Ks(s, oe(o, 3), T);
|
|
19302
19306
|
}
|
|
19303
19307
|
function xd(s, o, h) {
|
|
19304
19308
|
var v = s == null ? 0 : s.length;
|
|
19305
19309
|
if (!v)
|
|
19306
19310
|
return -1;
|
|
19307
19311
|
var T = v - 1;
|
|
19308
|
-
return h !== r && (T = xe(h), T = h < 0 ? vt(v + T, 0) : It(T, v - 1)), Ks(s,
|
|
19312
|
+
return h !== r && (T = xe(h), T = h < 0 ? vt(v + T, 0) : It(T, v - 1)), Ks(s, oe(o, 3), T, !0);
|
|
19309
19313
|
}
|
|
19310
19314
|
function bd(s) {
|
|
19311
19315
|
var o = s == null ? 0 : s.length;
|
|
@@ -19340,13 +19344,13 @@ Io.exports;
|
|
|
19340
19344
|
var o = s == null ? 0 : s.length;
|
|
19341
19345
|
return o ? or(s, 0, -1) : [];
|
|
19342
19346
|
}
|
|
19343
|
-
var n1 =
|
|
19347
|
+
var n1 = Se(function(s) {
|
|
19344
19348
|
var o = nt(s, ju);
|
|
19345
19349
|
return o.length && o[0] === s[0] ? Du(o) : [];
|
|
19346
|
-
}), i1 =
|
|
19350
|
+
}), i1 = Se(function(s) {
|
|
19347
19351
|
var o = ur(s), h = nt(s, ju);
|
|
19348
|
-
return o === ur(h) ? o = r : h.pop(), h.length && h[0] === s[0] ? Du(h,
|
|
19349
|
-
}), s1 =
|
|
19352
|
+
return o === ur(h) ? o = r : h.pop(), h.length && h[0] === s[0] ? Du(h, oe(o, 2)) : [];
|
|
19353
|
+
}), s1 = Se(function(s) {
|
|
19350
19354
|
var o = ur(s), h = nt(s, ju);
|
|
19351
19355
|
return o = typeof o == "function" ? o : r, o && h.pop(), h.length && h[0] === s[0] ? Du(h, r, o) : [];
|
|
19352
19356
|
});
|
|
@@ -19367,12 +19371,12 @@ Io.exports;
|
|
|
19367
19371
|
function u1(s, o) {
|
|
19368
19372
|
return s && s.length ? Ff(s, xe(o)) : r;
|
|
19369
19373
|
}
|
|
19370
|
-
var l1 =
|
|
19374
|
+
var l1 = Se(wd);
|
|
19371
19375
|
function wd(s, o) {
|
|
19372
19376
|
return s && s.length && o && o.length ? Gu(s, o) : s;
|
|
19373
19377
|
}
|
|
19374
19378
|
function c1(s, o, h) {
|
|
19375
|
-
return s && s.length && o && o.length ? Gu(s, o,
|
|
19379
|
+
return s && s.length && o && o.length ? Gu(s, o, oe(h, 2)) : s;
|
|
19376
19380
|
}
|
|
19377
19381
|
function h1(s, o, h) {
|
|
19378
19382
|
return s && s.length && o && o.length ? Gu(s, o, r, h) : s;
|
|
@@ -19388,7 +19392,7 @@ Io.exports;
|
|
|
19388
19392
|
if (!(s && s.length))
|
|
19389
19393
|
return h;
|
|
19390
19394
|
var v = -1, T = [], A = s.length;
|
|
19391
|
-
for (o =
|
|
19395
|
+
for (o = oe(o, 3); ++v < A; ) {
|
|
19392
19396
|
var C = s[v];
|
|
19393
19397
|
o(C, v, s) && (h.push(C), T.push(v));
|
|
19394
19398
|
}
|
|
@@ -19405,7 +19409,7 @@ Io.exports;
|
|
|
19405
19409
|
return ma(s, o);
|
|
19406
19410
|
}
|
|
19407
19411
|
function m1(s, o, h) {
|
|
19408
|
-
return Vu(s, o,
|
|
19412
|
+
return Vu(s, o, oe(h, 2));
|
|
19409
19413
|
}
|
|
19410
19414
|
function v1(s, o) {
|
|
19411
19415
|
var h = s == null ? 0 : s.length;
|
|
@@ -19420,7 +19424,7 @@ Io.exports;
|
|
|
19420
19424
|
return ma(s, o, !0);
|
|
19421
19425
|
}
|
|
19422
19426
|
function y1(s, o, h) {
|
|
19423
|
-
return Vu(s, o,
|
|
19427
|
+
return Vu(s, o, oe(h, 2), !0);
|
|
19424
19428
|
}
|
|
19425
19429
|
function x1(s, o) {
|
|
19426
19430
|
var h = s == null ? 0 : s.length;
|
|
@@ -19435,7 +19439,7 @@ Io.exports;
|
|
|
19435
19439
|
return s && s.length ? Bf(s) : [];
|
|
19436
19440
|
}
|
|
19437
19441
|
function T1(s, o) {
|
|
19438
|
-
return s && s.length ? Bf(s,
|
|
19442
|
+
return s && s.length ? Bf(s, oe(o, 2)) : [];
|
|
19439
19443
|
}
|
|
19440
19444
|
function w1(s) {
|
|
19441
19445
|
var o = s == null ? 0 : s.length;
|
|
@@ -19449,17 +19453,17 @@ Io.exports;
|
|
|
19449
19453
|
return v ? (o = h || o === r ? 1 : xe(o), o = v - o, or(s, o < 0 ? 0 : o, v)) : [];
|
|
19450
19454
|
}
|
|
19451
19455
|
function E1(s, o) {
|
|
19452
|
-
return s && s.length ? va(s,
|
|
19456
|
+
return s && s.length ? va(s, oe(o, 3), !1, !0) : [];
|
|
19453
19457
|
}
|
|
19454
19458
|
function C1(s, o) {
|
|
19455
|
-
return s && s.length ? va(s,
|
|
19459
|
+
return s && s.length ? va(s, oe(o, 3)) : [];
|
|
19456
19460
|
}
|
|
19457
|
-
var I1 =
|
|
19461
|
+
var I1 = Se(function(s) {
|
|
19458
19462
|
return an(At(s, 1, ht, !0));
|
|
19459
|
-
}), R1 =
|
|
19463
|
+
}), R1 = Se(function(s) {
|
|
19460
19464
|
var o = ur(s);
|
|
19461
|
-
return ht(o) && (o = r), an(At(s, 1, ht, !0),
|
|
19462
|
-
}), P1 =
|
|
19465
|
+
return ht(o) && (o = r), an(At(s, 1, ht, !0), oe(o, 2));
|
|
19466
|
+
}), P1 = Se(function(s) {
|
|
19463
19467
|
var o = ur(s);
|
|
19464
19468
|
return o = typeof o == "function" ? o : r, an(At(s, 1, ht, !0), r, o);
|
|
19465
19469
|
});
|
|
@@ -19467,7 +19471,7 @@ Io.exports;
|
|
|
19467
19471
|
return s && s.length ? an(s) : [];
|
|
19468
19472
|
}
|
|
19469
19473
|
function O1(s, o) {
|
|
19470
|
-
return s && s.length ? an(s,
|
|
19474
|
+
return s && s.length ? an(s, oe(o, 2)) : [];
|
|
19471
19475
|
}
|
|
19472
19476
|
function F1(s, o) {
|
|
19473
19477
|
return o = typeof o == "function" ? o : r, s && s.length ? an(s, r, o) : [];
|
|
@@ -19491,24 +19495,24 @@ Io.exports;
|
|
|
19491
19495
|
return Wt(o, r, v);
|
|
19492
19496
|
});
|
|
19493
19497
|
}
|
|
19494
|
-
var N1 =
|
|
19498
|
+
var N1 = Se(function(s, o) {
|
|
19495
19499
|
return ht(s) ? ns(s, o) : [];
|
|
19496
|
-
}), L1 =
|
|
19500
|
+
}), L1 = Se(function(s) {
|
|
19497
19501
|
return Wu(en(s, ht));
|
|
19498
|
-
}), k1 =
|
|
19502
|
+
}), k1 = Se(function(s) {
|
|
19499
19503
|
var o = ur(s);
|
|
19500
|
-
return ht(o) && (o = r), Wu(en(s, ht),
|
|
19501
|
-
}), D1 =
|
|
19504
|
+
return ht(o) && (o = r), Wu(en(s, ht), oe(o, 2));
|
|
19505
|
+
}), D1 = Se(function(s) {
|
|
19502
19506
|
var o = ur(s);
|
|
19503
19507
|
return o = typeof o == "function" ? o : r, Wu(en(s, ht), r, o);
|
|
19504
|
-
}), B1 =
|
|
19508
|
+
}), B1 = Se(ul);
|
|
19505
19509
|
function U1(s, o) {
|
|
19506
19510
|
return Hf(s || [], o || [], rs);
|
|
19507
19511
|
}
|
|
19508
19512
|
function $1(s, o) {
|
|
19509
19513
|
return Hf(s || [], o || [], as);
|
|
19510
19514
|
}
|
|
19511
|
-
var G1 =
|
|
19515
|
+
var G1 = Se(function(s) {
|
|
19512
19516
|
var o = s.length, h = o > 1 ? s[o - 1] : r;
|
|
19513
19517
|
return h = typeof h == "function" ? (s.pop(), h) : r, Sd(s, h);
|
|
19514
19518
|
});
|
|
@@ -19526,7 +19530,7 @@ Io.exports;
|
|
|
19526
19530
|
var o = s.length, h = o ? s[0] : 0, v = this.__wrapped__, T = function(A) {
|
|
19527
19531
|
return Fu(A, s);
|
|
19528
19532
|
};
|
|
19529
|
-
return o > 1 || this.__actions__.length || !(v instanceof
|
|
19533
|
+
return o > 1 || this.__actions__.length || !(v instanceof Me) || !Vr(h) ? this.thru(T) : (v = v.slice(h, +h + (o ? 1 : 0)), v.__actions__.push({
|
|
19530
19534
|
func: Ea,
|
|
19531
19535
|
args: [T],
|
|
19532
19536
|
thisArg: r
|
|
@@ -19559,9 +19563,9 @@ Io.exports;
|
|
|
19559
19563
|
}
|
|
19560
19564
|
function Y1() {
|
|
19561
19565
|
var s = this.__wrapped__;
|
|
19562
|
-
if (s instanceof
|
|
19566
|
+
if (s instanceof Me) {
|
|
19563
19567
|
var o = s;
|
|
19564
|
-
return this.__actions__.length && (o = new
|
|
19568
|
+
return this.__actions__.length && (o = new Me(this)), o = o.reverse(), o.__actions__.push({
|
|
19565
19569
|
func: Ea,
|
|
19566
19570
|
args: [ol],
|
|
19567
19571
|
thisArg: r
|
|
@@ -19576,12 +19580,12 @@ Io.exports;
|
|
|
19576
19580
|
Xe.call(s, h) ? ++s[h] : Gr(s, h, 1);
|
|
19577
19581
|
});
|
|
19578
19582
|
function Q1(s, o, h) {
|
|
19579
|
-
var v =
|
|
19580
|
-
return h && Nt(s, o, h) && (o = r), v(s,
|
|
19583
|
+
var v = _e(s) ? Jh : Hy;
|
|
19584
|
+
return h && Nt(s, o, h) && (o = r), v(s, oe(o, 3));
|
|
19581
19585
|
}
|
|
19582
19586
|
function J1(s, o) {
|
|
19583
|
-
var h =
|
|
19584
|
-
return h(s,
|
|
19587
|
+
var h = _e(s) ? en : Sf;
|
|
19588
|
+
return h(s, oe(o, 3));
|
|
19585
19589
|
}
|
|
19586
19590
|
var eb = Qf(yd), tb = Qf(xd);
|
|
19587
19591
|
function rb(s, o) {
|
|
@@ -19594,12 +19598,12 @@ Io.exports;
|
|
|
19594
19598
|
return h = h === r ? 1 : xe(h), At(Ca(s, o), h);
|
|
19595
19599
|
}
|
|
19596
19600
|
function Ed(s, o) {
|
|
19597
|
-
var h =
|
|
19598
|
-
return h(s,
|
|
19601
|
+
var h = _e(s) ? nr : sn;
|
|
19602
|
+
return h(s, oe(o, 3));
|
|
19599
19603
|
}
|
|
19600
19604
|
function Cd(s, o) {
|
|
19601
|
-
var h =
|
|
19602
|
-
return h(s,
|
|
19605
|
+
var h = _e(s) ? w_ : wf;
|
|
19606
|
+
return h(s, oe(o, 3));
|
|
19603
19607
|
}
|
|
19604
19608
|
var sb = _a(function(s, o, h) {
|
|
19605
19609
|
Xe.call(s, h) ? s[h].push(o) : Gr(s, h, [o]);
|
|
@@ -19609,7 +19613,7 @@ Io.exports;
|
|
|
19609
19613
|
var T = s.length;
|
|
19610
19614
|
return h < 0 && (h = vt(T + h, 0)), Oa(s) ? h <= T && s.indexOf(o, h) > -1 : !!T && ni(s, o, h) > -1;
|
|
19611
19615
|
}
|
|
19612
|
-
var ob =
|
|
19616
|
+
var ob = Se(function(s, o, h) {
|
|
19613
19617
|
var v = -1, T = typeof o == "function", A = $t(s) ? k(s.length) : [];
|
|
19614
19618
|
return sn(s, function(C) {
|
|
19615
19619
|
A[++v] = T ? Wt(o, C, h) : is(C, o, h);
|
|
@@ -19618,11 +19622,11 @@ Io.exports;
|
|
|
19618
19622
|
Gr(s, h, o);
|
|
19619
19623
|
});
|
|
19620
19624
|
function Ca(s, o) {
|
|
19621
|
-
var h =
|
|
19622
|
-
return h(s,
|
|
19625
|
+
var h = _e(s) ? nt : Pf;
|
|
19626
|
+
return h(s, oe(o, 3));
|
|
19623
19627
|
}
|
|
19624
19628
|
function lb(s, o, h, v) {
|
|
19625
|
-
return s == null ? [] : (
|
|
19629
|
+
return s == null ? [] : (_e(o) || (o = o == null ? [] : [o]), h = v ? r : h, _e(h) || (h = h == null ? [] : [h]), Nf(s, o, h));
|
|
19626
19630
|
}
|
|
19627
19631
|
var cb = _a(function(s, o, h) {
|
|
19628
19632
|
s[h ? 0 : 1].push(o);
|
|
@@ -19630,28 +19634,28 @@ Io.exports;
|
|
|
19630
19634
|
return [[], []];
|
|
19631
19635
|
});
|
|
19632
19636
|
function hb(s, o, h) {
|
|
19633
|
-
var v =
|
|
19634
|
-
return v(s,
|
|
19637
|
+
var v = _e(s) ? xu : nf, T = arguments.length < 3;
|
|
19638
|
+
return v(s, oe(o, 4), h, T, sn);
|
|
19635
19639
|
}
|
|
19636
19640
|
function fb(s, o, h) {
|
|
19637
|
-
var v =
|
|
19638
|
-
return v(s,
|
|
19641
|
+
var v = _e(s) ? S_ : nf, T = arguments.length < 3;
|
|
19642
|
+
return v(s, oe(o, 4), h, T, wf);
|
|
19639
19643
|
}
|
|
19640
19644
|
function db(s, o) {
|
|
19641
|
-
var h =
|
|
19642
|
-
return h(s, Pa(
|
|
19645
|
+
var h = _e(s) ? en : Sf;
|
|
19646
|
+
return h(s, Pa(oe(o, 3)));
|
|
19643
19647
|
}
|
|
19644
19648
|
function pb(s) {
|
|
19645
|
-
var o =
|
|
19649
|
+
var o = _e(s) ? yf : ax;
|
|
19646
19650
|
return o(s);
|
|
19647
19651
|
}
|
|
19648
19652
|
function gb(s, o, h) {
|
|
19649
19653
|
(h ? Nt(s, o, h) : o === r) ? o = 1 : o = xe(o);
|
|
19650
|
-
var v =
|
|
19654
|
+
var v = _e(s) ? Dy : ox;
|
|
19651
19655
|
return v(s, o);
|
|
19652
19656
|
}
|
|
19653
19657
|
function mb(s) {
|
|
19654
|
-
var o =
|
|
19658
|
+
var o = _e(s) ? By : lx;
|
|
19655
19659
|
return o(s);
|
|
19656
19660
|
}
|
|
19657
19661
|
function vb(s) {
|
|
@@ -19660,13 +19664,13 @@ Io.exports;
|
|
|
19660
19664
|
if ($t(s))
|
|
19661
19665
|
return Oa(s) ? si(s) : s.length;
|
|
19662
19666
|
var o = Rt(s);
|
|
19663
|
-
return o ==
|
|
19667
|
+
return o == Ee || o == lt ? s.size : Uu(s).length;
|
|
19664
19668
|
}
|
|
19665
19669
|
function _b(s, o, h) {
|
|
19666
|
-
var v =
|
|
19667
|
-
return h && Nt(s, o, h) && (o = r), v(s,
|
|
19670
|
+
var v = _e(s) ? bu : cx;
|
|
19671
|
+
return h && Nt(s, o, h) && (o = r), v(s, oe(o, 3));
|
|
19668
19672
|
}
|
|
19669
|
-
var yb =
|
|
19673
|
+
var yb = Se(function(s, o) {
|
|
19670
19674
|
if (s == null)
|
|
19671
19675
|
return [];
|
|
19672
19676
|
var h = o.length;
|
|
@@ -19693,14 +19697,14 @@ Io.exports;
|
|
|
19693
19697
|
return --s > 0 && (h = o.apply(this, arguments)), s <= 1 && (o = r), h;
|
|
19694
19698
|
};
|
|
19695
19699
|
}
|
|
19696
|
-
var ll =
|
|
19700
|
+
var ll = Se(function(s, o, h) {
|
|
19697
19701
|
var v = b;
|
|
19698
19702
|
if (h.length) {
|
|
19699
19703
|
var T = rn(h, di(ll));
|
|
19700
19704
|
v |= O;
|
|
19701
19705
|
}
|
|
19702
19706
|
return Hr(s, v, o, h, T);
|
|
19703
|
-
}), Pd =
|
|
19707
|
+
}), Pd = Se(function(s, o, h) {
|
|
19704
19708
|
var v = b | x;
|
|
19705
19709
|
if (h.length) {
|
|
19706
19710
|
var T = rn(h, di(Pd));
|
|
@@ -19723,14 +19727,14 @@ Io.exports;
|
|
|
19723
19727
|
if (typeof s != "function")
|
|
19724
19728
|
throw new ir(u);
|
|
19725
19729
|
o = lr(o) || 0, st(h) && ($ = !!h.leading, z = "maxWait" in h, A = z ? vt(lr(h.maxWait) || 0, o) : A, q = "trailing" in h ? !!h.trailing : q);
|
|
19726
|
-
function
|
|
19730
|
+
function te(ft) {
|
|
19727
19731
|
var mr = v, jr = T;
|
|
19728
19732
|
return v = T = r, U = ft, C = s.apply(jr, mr), C;
|
|
19729
19733
|
}
|
|
19730
19734
|
function ue(ft) {
|
|
19731
|
-
return U = ft, R = ls(
|
|
19735
|
+
return U = ft, R = ls(Re, o), $ ? te(ft) : C;
|
|
19732
19736
|
}
|
|
19733
|
-
function
|
|
19737
|
+
function we(ft) {
|
|
19734
19738
|
var mr = ft - M, jr = ft - U, Qd = o - mr;
|
|
19735
19739
|
return z ? It(Qd, A - jr) : Qd;
|
|
19736
19740
|
}
|
|
@@ -19738,20 +19742,20 @@ Io.exports;
|
|
|
19738
19742
|
var mr = ft - M, jr = ft - U;
|
|
19739
19743
|
return M === r || mr >= o || mr < 0 || z && jr >= A;
|
|
19740
19744
|
}
|
|
19741
|
-
function
|
|
19745
|
+
function Re() {
|
|
19742
19746
|
var ft = Ia();
|
|
19743
19747
|
if (le(ft))
|
|
19744
|
-
return
|
|
19745
|
-
R = ls(
|
|
19748
|
+
return Ne(ft);
|
|
19749
|
+
R = ls(Re, we(ft));
|
|
19746
19750
|
}
|
|
19747
|
-
function
|
|
19748
|
-
return R = r, q && v ?
|
|
19751
|
+
function Ne(ft) {
|
|
19752
|
+
return R = r, q && v ? te(ft) : (v = T = r, C);
|
|
19749
19753
|
}
|
|
19750
19754
|
function Kt() {
|
|
19751
19755
|
R !== r && zf(R), U = 0, v = M = T = R = r;
|
|
19752
19756
|
}
|
|
19753
19757
|
function Lt() {
|
|
19754
|
-
return R === r ? C :
|
|
19758
|
+
return R === r ? C : Ne(Ia());
|
|
19755
19759
|
}
|
|
19756
19760
|
function Zt() {
|
|
19757
19761
|
var ft = Ia(), mr = le(ft);
|
|
@@ -19759,15 +19763,15 @@ Io.exports;
|
|
|
19759
19763
|
if (R === r)
|
|
19760
19764
|
return ue(M);
|
|
19761
19765
|
if (z)
|
|
19762
|
-
return zf(R), R = ls(
|
|
19766
|
+
return zf(R), R = ls(Re, o), te(M);
|
|
19763
19767
|
}
|
|
19764
|
-
return R === r && (R = ls(
|
|
19768
|
+
return R === r && (R = ls(Re, o)), C;
|
|
19765
19769
|
}
|
|
19766
19770
|
return Zt.cancel = Kt, Zt.flush = Lt, Zt;
|
|
19767
19771
|
}
|
|
19768
|
-
var bb =
|
|
19772
|
+
var bb = Se(function(s, o) {
|
|
19769
19773
|
return Tf(s, 1, o);
|
|
19770
|
-
}), Tb =
|
|
19774
|
+
}), Tb = Se(function(s, o, h) {
|
|
19771
19775
|
return Tf(s, lr(o) || 0, h);
|
|
19772
19776
|
});
|
|
19773
19777
|
function wb(s) {
|
|
@@ -19808,17 +19812,17 @@ Io.exports;
|
|
|
19808
19812
|
return Rd(2, s);
|
|
19809
19813
|
}
|
|
19810
19814
|
var Ab = hx(function(s, o) {
|
|
19811
|
-
o = o.length == 1 &&
|
|
19815
|
+
o = o.length == 1 && _e(o[0]) ? nt(o[0], jt(oe())) : nt(At(o, 1), jt(oe()));
|
|
19812
19816
|
var h = o.length;
|
|
19813
|
-
return
|
|
19817
|
+
return Se(function(v) {
|
|
19814
19818
|
for (var T = -1, A = It(v.length, h); ++T < A; )
|
|
19815
19819
|
v[T] = o[T].call(this, v[T]);
|
|
19816
19820
|
return Wt(s, this, v);
|
|
19817
19821
|
});
|
|
19818
|
-
}), cl =
|
|
19822
|
+
}), cl = Se(function(s, o) {
|
|
19819
19823
|
var h = rn(o, di(cl));
|
|
19820
19824
|
return Hr(s, O, r, o, h);
|
|
19821
|
-
}), Nd =
|
|
19825
|
+
}), Nd = Se(function(s, o) {
|
|
19822
19826
|
var h = rn(o, di(Nd));
|
|
19823
19827
|
return Hr(s, F, r, o, h);
|
|
19824
19828
|
}), Eb = zr(function(s, o) {
|
|
@@ -19827,12 +19831,12 @@ Io.exports;
|
|
|
19827
19831
|
function Cb(s, o) {
|
|
19828
19832
|
if (typeof s != "function")
|
|
19829
19833
|
throw new ir(u);
|
|
19830
|
-
return o = o === r ? o : xe(o),
|
|
19834
|
+
return o = o === r ? o : xe(o), Se(s, o);
|
|
19831
19835
|
}
|
|
19832
19836
|
function Ib(s, o) {
|
|
19833
19837
|
if (typeof s != "function")
|
|
19834
19838
|
throw new ir(u);
|
|
19835
|
-
return o = o == null ? 0 : vt(xe(o), 0),
|
|
19839
|
+
return o = o == null ? 0 : vt(xe(o), 0), Se(function(h) {
|
|
19836
19840
|
var v = h[o], T = un(h, 0, o);
|
|
19837
19841
|
return v && tn(T, v), Wt(s, this, T);
|
|
19838
19842
|
});
|
|
@@ -19857,7 +19861,7 @@ Io.exports;
|
|
|
19857
19861
|
if (!arguments.length)
|
|
19858
19862
|
return [];
|
|
19859
19863
|
var s = arguments[0];
|
|
19860
|
-
return
|
|
19864
|
+
return _e(s) ? s : [s];
|
|
19861
19865
|
}
|
|
19862
19866
|
function Fb(s) {
|
|
19863
19867
|
return ar(s, m);
|
|
@@ -19883,7 +19887,7 @@ Io.exports;
|
|
|
19883
19887
|
return arguments;
|
|
19884
19888
|
}()) ? Cf : function(s) {
|
|
19885
19889
|
return ct(s) && Xe.call(s, "callee") && !df.call(s, "callee");
|
|
19886
|
-
},
|
|
19890
|
+
}, _e = k.isArray, $b = jh ? jt(jh) : qy;
|
|
19887
19891
|
function $t(s) {
|
|
19888
19892
|
return s != null && Ma(s.length) && !Xr(s);
|
|
19889
19893
|
}
|
|
@@ -19900,10 +19904,10 @@ Io.exports;
|
|
|
19900
19904
|
function Vb(s) {
|
|
19901
19905
|
if (s == null)
|
|
19902
19906
|
return !0;
|
|
19903
|
-
if ($t(s) && (
|
|
19907
|
+
if ($t(s) && (_e(s) || typeof s == "string" || typeof s.splice == "function" || ln(s) || pi(s) || Pn(s)))
|
|
19904
19908
|
return !s.length;
|
|
19905
19909
|
var o = Rt(s);
|
|
19906
|
-
if (o ==
|
|
19910
|
+
if (o == Ee || o == lt)
|
|
19907
19911
|
return !s.size;
|
|
19908
19912
|
if (us(s))
|
|
19909
19913
|
return !Uu(s).length;
|
|
@@ -19924,7 +19928,7 @@ Io.exports;
|
|
|
19924
19928
|
if (!ct(s))
|
|
19925
19929
|
return !1;
|
|
19926
19930
|
var o = Ft(s);
|
|
19927
|
-
return o ==
|
|
19931
|
+
return o == Ie || o == Te || typeof s.message == "string" && typeof s.name == "string" && !cs(s);
|
|
19928
19932
|
}
|
|
19929
19933
|
function jb(s) {
|
|
19930
19934
|
return typeof s == "number" && gf(s);
|
|
@@ -19933,7 +19937,7 @@ Io.exports;
|
|
|
19933
19937
|
if (!st(s))
|
|
19934
19938
|
return !1;
|
|
19935
19939
|
var o = Ft(s);
|
|
19936
|
-
return o == $e || o == Ke || o ==
|
|
19940
|
+
return o == $e || o == Ke || o == ye || o == Xt;
|
|
19937
19941
|
}
|
|
19938
19942
|
function Ld(s) {
|
|
19939
19943
|
return typeof s == "number" && s == xe(s);
|
|
@@ -19960,7 +19964,7 @@ Io.exports;
|
|
|
19960
19964
|
}
|
|
19961
19965
|
function Zb(s) {
|
|
19962
19966
|
if (Nx(s))
|
|
19963
|
-
throw new
|
|
19967
|
+
throw new me(a);
|
|
19964
19968
|
return If(s);
|
|
19965
19969
|
}
|
|
19966
19970
|
function Qb(s) {
|
|
@@ -19970,10 +19974,10 @@ Io.exports;
|
|
|
19970
19974
|
return s == null;
|
|
19971
19975
|
}
|
|
19972
19976
|
function Dd(s) {
|
|
19973
|
-
return typeof s == "number" || ct(s) && Ft(s) ==
|
|
19977
|
+
return typeof s == "number" || ct(s) && Ft(s) == ve;
|
|
19974
19978
|
}
|
|
19975
19979
|
function cs(s) {
|
|
19976
|
-
if (!ct(s) || Ft(s) !=
|
|
19980
|
+
if (!ct(s) || Ft(s) != ce)
|
|
19977
19981
|
return !1;
|
|
19978
19982
|
var o = ia(s);
|
|
19979
19983
|
if (o === null)
|
|
@@ -19987,7 +19991,7 @@ Io.exports;
|
|
|
19987
19991
|
}
|
|
19988
19992
|
var Bd = Zh ? jt(Zh) : Jy;
|
|
19989
19993
|
function Oa(s) {
|
|
19990
|
-
return typeof s == "string" || !
|
|
19994
|
+
return typeof s == "string" || !_e(s) && ct(s) && Ft(s) == tr;
|
|
19991
19995
|
}
|
|
19992
19996
|
function Yt(s) {
|
|
19993
19997
|
return typeof s == "symbol" || ct(s) && Ft(s) == Jn;
|
|
@@ -20012,7 +20016,7 @@ Io.exports;
|
|
|
20012
20016
|
return Oa(s) ? dr(s) : Ut(s);
|
|
20013
20017
|
if (Zi && s[Zi])
|
|
20014
20018
|
return D_(s[Zi]());
|
|
20015
|
-
var o = Rt(s), h = o ==
|
|
20019
|
+
var o = Rt(s), h = o == Ee ? Cu : o == lt ? Zs : gi;
|
|
20016
20020
|
return h(s);
|
|
20017
20021
|
}
|
|
20018
20022
|
function Wr(s) {
|
|
@@ -20020,7 +20024,7 @@ Io.exports;
|
|
|
20020
20024
|
return s === 0 ? s : 0;
|
|
20021
20025
|
if (s = lr(s), s === H || s === -H) {
|
|
20022
20026
|
var o = s < 0 ? -1 : 1;
|
|
20023
|
-
return o *
|
|
20027
|
+
return o * pe;
|
|
20024
20028
|
}
|
|
20025
20029
|
return s === s ? s : 0;
|
|
20026
20030
|
}
|
|
@@ -20073,7 +20077,7 @@ Io.exports;
|
|
|
20073
20077
|
var h = ci(s);
|
|
20074
20078
|
return o == null ? h : xf(h, o);
|
|
20075
20079
|
}
|
|
20076
|
-
var hT =
|
|
20080
|
+
var hT = Se(function(s, o) {
|
|
20077
20081
|
s = qe(s);
|
|
20078
20082
|
var h = -1, v = o.length, T = v > 2 ? o[2] : r;
|
|
20079
20083
|
for (T && Nt(o[0], o[1], T) && (v = 1); ++h < v; )
|
|
@@ -20082,26 +20086,26 @@ Io.exports;
|
|
|
20082
20086
|
($ === r || gr($, oi[U]) && !Xe.call(s, U)) && (s[U] = A[U]);
|
|
20083
20087
|
}
|
|
20084
20088
|
return s;
|
|
20085
|
-
}), fT =
|
|
20089
|
+
}), fT = Se(function(s) {
|
|
20086
20090
|
return s.push(r, sd), Wt(zd, r, s);
|
|
20087
20091
|
});
|
|
20088
20092
|
function dT(s, o) {
|
|
20089
|
-
return ef(s,
|
|
20093
|
+
return ef(s, oe(o, 3), Ir);
|
|
20090
20094
|
}
|
|
20091
20095
|
function pT(s, o) {
|
|
20092
|
-
return ef(s,
|
|
20096
|
+
return ef(s, oe(o, 3), Lu);
|
|
20093
20097
|
}
|
|
20094
20098
|
function gT(s, o) {
|
|
20095
|
-
return s == null ? s : Nu(s,
|
|
20099
|
+
return s == null ? s : Nu(s, oe(o, 3), Gt);
|
|
20096
20100
|
}
|
|
20097
20101
|
function mT(s, o) {
|
|
20098
|
-
return s == null ? s : Af(s,
|
|
20102
|
+
return s == null ? s : Af(s, oe(o, 3), Gt);
|
|
20099
20103
|
}
|
|
20100
20104
|
function vT(s, o) {
|
|
20101
|
-
return s && Ir(s,
|
|
20105
|
+
return s && Ir(s, oe(o, 3));
|
|
20102
20106
|
}
|
|
20103
20107
|
function _T(s, o) {
|
|
20104
|
-
return s && Lu(s,
|
|
20108
|
+
return s && Lu(s, oe(o, 3));
|
|
20105
20109
|
}
|
|
20106
20110
|
function yT(s) {
|
|
20107
20111
|
return s == null ? [] : pa(s, yt(s));
|
|
@@ -20123,7 +20127,7 @@ Io.exports;
|
|
|
20123
20127
|
o != null && typeof o.toString != "function" && (o = ta.call(o)), s[o] = h;
|
|
20124
20128
|
}, ml(Ht)), wT = ed(function(s, o, h) {
|
|
20125
20129
|
o != null && typeof o.toString != "function" && (o = ta.call(o)), Xe.call(s, o) ? s[o].push(h) : s[o] = [h];
|
|
20126
|
-
},
|
|
20130
|
+
}, oe), ST = Se(is);
|
|
20127
20131
|
function yt(s) {
|
|
20128
20132
|
return $t(s) ? _f(s) : Uu(s);
|
|
20129
20133
|
}
|
|
@@ -20132,13 +20136,13 @@ Io.exports;
|
|
|
20132
20136
|
}
|
|
20133
20137
|
function AT(s, o) {
|
|
20134
20138
|
var h = {};
|
|
20135
|
-
return o =
|
|
20139
|
+
return o = oe(o, 3), Ir(s, function(v, T, A) {
|
|
20136
20140
|
Gr(h, o(v, T, A), v);
|
|
20137
20141
|
}), h;
|
|
20138
20142
|
}
|
|
20139
20143
|
function ET(s, o) {
|
|
20140
20144
|
var h = {};
|
|
20141
|
-
return o =
|
|
20145
|
+
return o = oe(o, 3), Ir(s, function(v, T, A) {
|
|
20142
20146
|
Gr(h, T, o(v, T, A));
|
|
20143
20147
|
}), h;
|
|
20144
20148
|
}
|
|
@@ -20159,7 +20163,7 @@ Io.exports;
|
|
|
20159
20163
|
return h;
|
|
20160
20164
|
});
|
|
20161
20165
|
function RT(s, o) {
|
|
20162
|
-
return Vd(s, Pa(
|
|
20166
|
+
return Vd(s, Pa(oe(o)));
|
|
20163
20167
|
}
|
|
20164
20168
|
var PT = zr(function(s, o) {
|
|
20165
20169
|
return s == null ? {} : nx(s, o);
|
|
@@ -20170,7 +20174,7 @@ Io.exports;
|
|
|
20170
20174
|
var h = nt(Ju(s), function(v) {
|
|
20171
20175
|
return [v];
|
|
20172
20176
|
});
|
|
20173
|
-
return o =
|
|
20177
|
+
return o = oe(o), Lf(s, h, function(v, T) {
|
|
20174
20178
|
return o(v, T[0]);
|
|
20175
20179
|
});
|
|
20176
20180
|
}
|
|
@@ -20191,8 +20195,8 @@ Io.exports;
|
|
|
20191
20195
|
}
|
|
20192
20196
|
var Xd = nd(yt), Wd = nd(Gt);
|
|
20193
20197
|
function NT(s, o, h) {
|
|
20194
|
-
var v =
|
|
20195
|
-
if (o =
|
|
20198
|
+
var v = _e(s), T = v || ln(s) || pi(s);
|
|
20199
|
+
if (o = oe(o, 4), h == null) {
|
|
20196
20200
|
var A = s && s.constructor;
|
|
20197
20201
|
T ? h = v ? new A() : [] : st(s) ? h = Xr(A) ? ci(ia(s)) : {} : h = {};
|
|
20198
20202
|
}
|
|
@@ -20305,15 +20309,15 @@ Io.exports;
|
|
|
20305
20309
|
var T = Fa({}, o.imports, v.imports, id), A = yt(T), C = Eu(T, A), R, M, U = 0, $ = o.interpolate || Ws, z = "__p += '", q = Iu(
|
|
20306
20310
|
(o.escape || Ws).source + "|" + $.source + "|" + ($ === Ah ? Bv : Ws).source + "|" + (o.evaluate || Ws).source + "|$",
|
|
20307
20311
|
"g"
|
|
20308
|
-
),
|
|
20312
|
+
), te = "//# sourceURL=" + (Xe.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++p_ + "]") + `
|
|
20309
20313
|
`;
|
|
20310
|
-
s.replace(q, function(le,
|
|
20311
|
-
return
|
|
20312
|
-
__e(` +
|
|
20314
|
+
s.replace(q, function(le, Re, Ne, Kt, Lt, Zt) {
|
|
20315
|
+
return Ne || (Ne = Kt), z += s.slice(U, Zt).replace(Xv, N_), Re && (R = !0, z += `' +
|
|
20316
|
+
__e(` + Re + `) +
|
|
20313
20317
|
'`), Lt && (M = !0, z += `';
|
|
20314
20318
|
` + Lt + `;
|
|
20315
|
-
__p += '`),
|
|
20316
|
-
((__t = (` +
|
|
20319
|
+
__p += '`), Ne && (z += `' +
|
|
20320
|
+
((__t = (` + Ne + `)) == null ? '' : __t) +
|
|
20317
20321
|
'`), U = Zt + le.length, le;
|
|
20318
20322
|
}), z += `';
|
|
20319
20323
|
`;
|
|
@@ -20324,7 +20328,7 @@ __p += '`), Fe && (z += `' +
|
|
|
20324
20328
|
}
|
|
20325
20329
|
`;
|
|
20326
20330
|
else if (kv.test(ue))
|
|
20327
|
-
throw new
|
|
20331
|
+
throw new me(l);
|
|
20328
20332
|
z = (M ? z.replace(xv, "") : z).replace(bv, "$1").replace(Tv, "$1;"), z = "function(" + (ue || "obj") + `) {
|
|
20329
20333
|
` + (ue ? "" : `obj || (obj = {});
|
|
20330
20334
|
`) + "var __t, __p = ''" + (R ? ", __e = _.escape" : "") + (M ? `, __j = Array.prototype.join;
|
|
@@ -20332,12 +20336,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20332
20336
|
` : `;
|
|
20333
20337
|
`) + z + `return __p
|
|
20334
20338
|
}`;
|
|
20335
|
-
var
|
|
20336
|
-
return Ge(A,
|
|
20339
|
+
var we = Kd(function() {
|
|
20340
|
+
return Ge(A, te + "return " + z).apply(r, C);
|
|
20337
20341
|
});
|
|
20338
|
-
if (
|
|
20339
|
-
throw
|
|
20340
|
-
return
|
|
20342
|
+
if (we.source = z, hl(we))
|
|
20343
|
+
throw we;
|
|
20344
|
+
return we;
|
|
20341
20345
|
}
|
|
20342
20346
|
function aw(s) {
|
|
20343
20347
|
return ze(s).toLowerCase();
|
|
@@ -20411,11 +20415,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20411
20415
|
function Yd(s, o, h) {
|
|
20412
20416
|
return s = ze(s), o = h ? r : o, o === r ? k_(s) ? V_(s) : C_(s) : s.match(o) || [];
|
|
20413
20417
|
}
|
|
20414
|
-
var Kd =
|
|
20418
|
+
var Kd = Se(function(s, o) {
|
|
20415
20419
|
try {
|
|
20416
20420
|
return Wt(s, r, o);
|
|
20417
20421
|
} catch (h) {
|
|
20418
|
-
return hl(h) ? h : new
|
|
20422
|
+
return hl(h) ? h : new me(h);
|
|
20419
20423
|
}
|
|
20420
20424
|
}), pw = zr(function(s, o) {
|
|
20421
20425
|
return nr(o, function(h) {
|
|
@@ -20423,12 +20427,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20423
20427
|
}), s;
|
|
20424
20428
|
});
|
|
20425
20429
|
function gw(s) {
|
|
20426
|
-
var o = s == null ? 0 : s.length, h =
|
|
20430
|
+
var o = s == null ? 0 : s.length, h = oe();
|
|
20427
20431
|
return s = o ? nt(s, function(v) {
|
|
20428
20432
|
if (typeof v[1] != "function")
|
|
20429
20433
|
throw new ir(u);
|
|
20430
20434
|
return [h(v[0]), v[1]];
|
|
20431
|
-
}) : [],
|
|
20435
|
+
}) : [], Se(function(v) {
|
|
20432
20436
|
for (var T = -1; ++T < o; ) {
|
|
20433
20437
|
var A = s[T];
|
|
20434
20438
|
if (Wt(A[0], this, v))
|
|
@@ -20460,11 +20464,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20460
20464
|
function bw(s, o) {
|
|
20461
20465
|
return Of(s, ar(o, c));
|
|
20462
20466
|
}
|
|
20463
|
-
var Tw =
|
|
20467
|
+
var Tw = Se(function(s, o) {
|
|
20464
20468
|
return function(h) {
|
|
20465
20469
|
return is(h, s, o);
|
|
20466
20470
|
};
|
|
20467
|
-
}), ww =
|
|
20471
|
+
}), ww = Se(function(s, o) {
|
|
20468
20472
|
return function(h) {
|
|
20469
20473
|
return is(s, h, o);
|
|
20470
20474
|
};
|
|
@@ -20491,7 +20495,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20491
20495
|
function yl() {
|
|
20492
20496
|
}
|
|
20493
20497
|
function Aw(s) {
|
|
20494
|
-
return s = xe(s),
|
|
20498
|
+
return s = xe(s), Se(function(o) {
|
|
20495
20499
|
return Ff(o, s);
|
|
20496
20500
|
});
|
|
20497
20501
|
}
|
|
@@ -20524,13 +20528,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20524
20528
|
if (s = xe(s), s < 1 || s > Q)
|
|
20525
20529
|
return [];
|
|
20526
20530
|
var h = j, v = It(s, j);
|
|
20527
|
-
o =
|
|
20531
|
+
o = oe(o), s -= j;
|
|
20528
20532
|
for (var T = Au(v, o); ++h < s; )
|
|
20529
20533
|
o(h);
|
|
20530
20534
|
return T;
|
|
20531
20535
|
}
|
|
20532
20536
|
function kw(s) {
|
|
20533
|
-
return
|
|
20537
|
+
return _e(s) ? nt(s, Pr) : Yt(s) ? [s] : Ut(vd(ze(s)));
|
|
20534
20538
|
}
|
|
20535
20539
|
function Dw(s) {
|
|
20536
20540
|
var o = ++q_;
|
|
@@ -20545,19 +20549,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20545
20549
|
return s && s.length ? da(s, Ht, ku) : r;
|
|
20546
20550
|
}
|
|
20547
20551
|
function zw(s, o) {
|
|
20548
|
-
return s && s.length ? da(s,
|
|
20552
|
+
return s && s.length ? da(s, oe(o, 2), ku) : r;
|
|
20549
20553
|
}
|
|
20550
20554
|
function Vw(s) {
|
|
20551
20555
|
return rf(s, Ht);
|
|
20552
20556
|
}
|
|
20553
20557
|
function Xw(s, o) {
|
|
20554
|
-
return rf(s,
|
|
20558
|
+
return rf(s, oe(o, 2));
|
|
20555
20559
|
}
|
|
20556
20560
|
function Ww(s) {
|
|
20557
20561
|
return s && s.length ? da(s, Ht, $u) : r;
|
|
20558
20562
|
}
|
|
20559
20563
|
function jw(s, o) {
|
|
20560
|
-
return s && s.length ? da(s,
|
|
20564
|
+
return s && s.length ? da(s, oe(o, 2), $u) : r;
|
|
20561
20565
|
}
|
|
20562
20566
|
var qw = xa(function(s, o) {
|
|
20563
20567
|
return s * o;
|
|
@@ -20568,9 +20572,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20568
20572
|
return s && s.length ? Su(s, Ht) : 0;
|
|
20569
20573
|
}
|
|
20570
20574
|
function Qw(s, o) {
|
|
20571
|
-
return s && s.length ? Su(s,
|
|
20575
|
+
return s && s.length ? Su(s, oe(o, 2)) : 0;
|
|
20572
20576
|
}
|
|
20573
|
-
return S.after = xb, S.ary = Id, S.assign = oT, S.assignIn = Hd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Rd, S.bind = ll, S.bindAll = pw, S.bindKey = Pd, S.castArray = Ob, S.chain = Ad, 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 = Md, S.curryRight = Od, S.debounce = Fd, 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 = bd, 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 = Gt, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = zd, 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 = Nd, S.partition = cb, S.pick = PT, S.pickBy = Vd, S.property = Zd, S.propertyOf = Rw, S.pull = l1, S.pullAll = wd, 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 = Ud, S.toPairs = Xd, S.toPairsIn = Wd, S.toPath = kw, S.toPlainObject = Gd, 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 = Sd, S.update = kT, S.updateWith = DT, S.values = gi, S.valuesIn = BT, S.without = N1, S.words = Yd, 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 = Xd, S.entriesIn = Wd, S.extend = Hd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Kd, S.camelCase = HT, S.capitalize = jd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = qd, 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 = yd, S.findKey = dT, S.findLast = tb, S.findLastIndex = xd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ed, S.forEachRight = Cd, 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 = Td, S.identity = Ht, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Pn, S.isArray =
|
|
20577
|
+
return S.after = xb, S.ary = Id, S.assign = oT, S.assignIn = Hd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Rd, S.bind = ll, S.bindAll = pw, S.bindKey = Pd, S.castArray = Ob, S.chain = Ad, 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 = Md, S.curryRight = Od, S.debounce = Fd, 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 = bd, 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 = Gt, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = zd, 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 = Nd, S.partition = cb, S.pick = PT, S.pickBy = Vd, S.property = Zd, S.propertyOf = Rw, S.pull = l1, S.pullAll = wd, 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 = Ud, S.toPairs = Xd, S.toPairsIn = Wd, S.toPath = kw, S.toPlainObject = Gd, 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 = Sd, S.update = kT, S.updateWith = DT, S.values = gi, S.valuesIn = BT, S.without = N1, S.words = Yd, 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 = Xd, S.entriesIn = Wd, S.extend = Hd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Kd, S.camelCase = HT, S.capitalize = jd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = qd, 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 = yd, S.findKey = dT, S.findLast = tb, S.findLastIndex = xd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ed, S.forEachRight = Cd, 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 = Td, S.identity = Ht, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Pn, S.isArray = _e, S.isArrayBuffer = $b, S.isArrayLike = $t, 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 = Ld, S.isLength = Ma, S.isMap = kd, S.isMatch = qb, S.isMatchWith = Yb, S.isNaN = Kb, S.isNative = Zb, S.isNil = Jb, S.isNull = Qb, S.isNumber = Dd, S.isObject = st, S.isObjectLike = ct, S.isPlainObject = cs, S.isRegExp = fl, S.isSafeInteger = eT, S.isSet = Bd, S.isString = Oa, S.isSymbol = Yt, S.isTypedArray = pi, 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 = xe, S.toLength = $d, S.toLower = aw, S.toNumber = lr, S.toSafeInteger = aT, S.toString = ze, 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 = Ed, S.eachRight = Cd, S.first = Td, _l(S, function() {
|
|
20574
20578
|
var s = {};
|
|
20575
20579
|
return Ir(S, function(o, h) {
|
|
20576
20580
|
Xe.call(S.prototype, h) || (s[h] = o);
|
|
@@ -20578,70 +20582,70 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20578
20582
|
}(), { chain: !1 }), S.VERSION = n, nr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(s) {
|
|
20579
20583
|
S[s].placeholder = S;
|
|
20580
20584
|
}), nr(["drop", "take"], function(s, o) {
|
|
20581
|
-
|
|
20585
|
+
Me.prototype[s] = function(h) {
|
|
20582
20586
|
h = h === r ? 1 : vt(xe(h), 0);
|
|
20583
|
-
var v = this.__filtered__ && !o ? new
|
|
20587
|
+
var v = this.__filtered__ && !o ? new Me(this) : this.clone();
|
|
20584
20588
|
return v.__filtered__ ? v.__takeCount__ = It(h, v.__takeCount__) : v.__views__.push({
|
|
20585
20589
|
size: It(h, j),
|
|
20586
20590
|
type: s + (v.__dir__ < 0 ? "Right" : "")
|
|
20587
20591
|
}), v;
|
|
20588
|
-
},
|
|
20592
|
+
}, Me.prototype[s + "Right"] = function(h) {
|
|
20589
20593
|
return this.reverse()[s](h).reverse();
|
|
20590
20594
|
};
|
|
20591
20595
|
}), nr(["filter", "map", "takeWhile"], function(s, o) {
|
|
20592
|
-
var h = o + 1, v = h == G || h ==
|
|
20593
|
-
|
|
20596
|
+
var h = o + 1, v = h == G || h == ne;
|
|
20597
|
+
Me.prototype[s] = function(T) {
|
|
20594
20598
|
var A = this.clone();
|
|
20595
20599
|
return A.__iteratees__.push({
|
|
20596
|
-
iteratee:
|
|
20600
|
+
iteratee: oe(T, 3),
|
|
20597
20601
|
type: h
|
|
20598
20602
|
}), A.__filtered__ = A.__filtered__ || v, A;
|
|
20599
20603
|
};
|
|
20600
20604
|
}), nr(["head", "last"], function(s, o) {
|
|
20601
20605
|
var h = "take" + (o ? "Right" : "");
|
|
20602
|
-
|
|
20606
|
+
Me.prototype[s] = function() {
|
|
20603
20607
|
return this[h](1).value()[0];
|
|
20604
20608
|
};
|
|
20605
20609
|
}), nr(["initial", "tail"], function(s, o) {
|
|
20606
20610
|
var h = "drop" + (o ? "" : "Right");
|
|
20607
|
-
|
|
20608
|
-
return this.__filtered__ ? new
|
|
20611
|
+
Me.prototype[s] = function() {
|
|
20612
|
+
return this.__filtered__ ? new Me(this) : this[h](1);
|
|
20609
20613
|
};
|
|
20610
|
-
}),
|
|
20614
|
+
}), Me.prototype.compact = function() {
|
|
20611
20615
|
return this.filter(Ht);
|
|
20612
|
-
},
|
|
20616
|
+
}, Me.prototype.find = function(s) {
|
|
20613
20617
|
return this.filter(s).head();
|
|
20614
|
-
},
|
|
20618
|
+
}, Me.prototype.findLast = function(s) {
|
|
20615
20619
|
return this.reverse().find(s);
|
|
20616
|
-
},
|
|
20617
|
-
return typeof s == "function" ? new
|
|
20620
|
+
}, Me.prototype.invokeMap = Se(function(s, o) {
|
|
20621
|
+
return typeof s == "function" ? new Me(this) : this.map(function(h) {
|
|
20618
20622
|
return is(h, s, o);
|
|
20619
20623
|
});
|
|
20620
|
-
}),
|
|
20621
|
-
return this.filter(Pa(
|
|
20622
|
-
},
|
|
20624
|
+
}), Me.prototype.reject = function(s) {
|
|
20625
|
+
return this.filter(Pa(oe(s)));
|
|
20626
|
+
}, Me.prototype.slice = function(s, o) {
|
|
20623
20627
|
s = xe(s);
|
|
20624
20628
|
var h = this;
|
|
20625
|
-
return h.__filtered__ && (s > 0 || o < 0) ? new
|
|
20626
|
-
},
|
|
20629
|
+
return h.__filtered__ && (s > 0 || o < 0) ? new Me(h) : (s < 0 ? h = h.takeRight(-s) : s && (h = h.drop(s)), o !== r && (o = xe(o), h = o < 0 ? h.dropRight(-o) : h.take(o - s)), h);
|
|
20630
|
+
}, Me.prototype.takeRightWhile = function(s) {
|
|
20627
20631
|
return this.reverse().takeWhile(s).reverse();
|
|
20628
|
-
},
|
|
20632
|
+
}, Me.prototype.toArray = function() {
|
|
20629
20633
|
return this.take(j);
|
|
20630
|
-
}, Ir(
|
|
20634
|
+
}, Ir(Me.prototype, function(s, o) {
|
|
20631
20635
|
var h = /^(?: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);
|
|
20632
20636
|
T && (S.prototype[o] = function() {
|
|
20633
|
-
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof
|
|
20634
|
-
var
|
|
20635
|
-
return v && q ?
|
|
20637
|
+
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof Me, U = R[0], $ = M || _e(C), z = function(Re) {
|
|
20638
|
+
var Ne = T.apply(S, tn([Re], R));
|
|
20639
|
+
return v && q ? Ne[0] : Ne;
|
|
20636
20640
|
};
|
|
20637
20641
|
$ && h && typeof U == "function" && U.length != 1 && (M = $ = !1);
|
|
20638
|
-
var q = this.__chain__,
|
|
20642
|
+
var q = this.__chain__, te = !!this.__actions__.length, ue = A && !q, we = M && !te;
|
|
20639
20643
|
if (!A && $) {
|
|
20640
|
-
C =
|
|
20644
|
+
C = we ? C : new Me(this);
|
|
20641
20645
|
var le = s.apply(C, R);
|
|
20642
20646
|
return le.__actions__.push({ func: Ea, args: [z], thisArg: r }), new sr(le, q);
|
|
20643
20647
|
}
|
|
20644
|
-
return ue &&
|
|
20648
|
+
return ue && we ? s.apply(this, R) : (le = this.thru(z), ue ? v ? le.value()[0] : le.value() : le);
|
|
20645
20649
|
});
|
|
20646
20650
|
}), nr(["pop", "push", "shift", "sort", "splice", "unshift"], function(s) {
|
|
20647
20651
|
var o = Qs[s], h = /^(?:push|sort|unshift)$/.test(s) ? "tap" : "thru", v = /^(?:pop|shift)$/.test(s);
|
|
@@ -20649,13 +20653,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20649
20653
|
var T = arguments;
|
|
20650
20654
|
if (v && !this.__chain__) {
|
|
20651
20655
|
var A = this.value();
|
|
20652
|
-
return o.apply(
|
|
20656
|
+
return o.apply(_e(A) ? A : [], T);
|
|
20653
20657
|
}
|
|
20654
20658
|
return this[h](function(C) {
|
|
20655
|
-
return o.apply(
|
|
20659
|
+
return o.apply(_e(C) ? C : [], T);
|
|
20656
20660
|
});
|
|
20657
20661
|
};
|
|
20658
|
-
}), Ir(
|
|
20662
|
+
}), Ir(Me.prototype, function(s, o) {
|
|
20659
20663
|
var h = S[o];
|
|
20660
20664
|
if (h) {
|
|
20661
20665
|
var v = h.name + "";
|
|
@@ -20664,7 +20668,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20664
20668
|
}), li[ya(r, x).name] = [{
|
|
20665
20669
|
name: "wrapper",
|
|
20666
20670
|
func: r
|
|
20667
|
-
}],
|
|
20671
|
+
}], 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, Zi && (S.prototype[Zi] = j1), S;
|
|
20668
20672
|
}, ai = X_();
|
|
20669
20673
|
Tn ? ((Tn.exports = ai)._ = ai, vu._ = ai) : St._ = ai;
|
|
20670
20674
|
}).call(Et);
|
|
@@ -20681,8 +20685,8 @@ const c5 = {
|
|
|
20681
20685
|
isDragging: !1,
|
|
20682
20686
|
totalFrames: 0,
|
|
20683
20687
|
totalDuration: 0
|
|
20684
|
-
}, h5 =
|
|
20685
|
-
const [r, n] =
|
|
20688
|
+
}, h5 = ee.forwardRef((t, e) => {
|
|
20689
|
+
const [r, n] = ee.useState([]), [, i] = ee.useState(0), [a, u] = ee.useState([]), [, l] = Fi(!1), [f, p] = JB({ autoPlay: !1 }), g = de(null), c = de(null), d = de(c5), m = de(), { tl: _, dragModeRef: y } = Gi(Yn), { frames: b, delays: x } = f, {
|
|
20686
20690
|
src: E,
|
|
20687
20691
|
startAt: w,
|
|
20688
20692
|
endAt: I,
|
|
@@ -20692,103 +20696,103 @@ const c5 = {
|
|
|
20692
20696
|
visible: L,
|
|
20693
20697
|
disabled: D,
|
|
20694
20698
|
transformation: { width: V = 0, height: Y = 0, x: se, y: X, colorCorrection: G = {} },
|
|
20695
|
-
pointerdown:
|
|
20699
|
+
pointerdown: re
|
|
20696
20700
|
} = t, {
|
|
20697
|
-
temperatureFilter:
|
|
20701
|
+
temperatureFilter: ne,
|
|
20698
20702
|
sharpnessFilter: H,
|
|
20699
20703
|
hueFilter: Q,
|
|
20700
|
-
blurFilter:
|
|
20704
|
+
blurFilter: pe,
|
|
20701
20705
|
adjustmentFilter: W,
|
|
20702
20706
|
vignetteFilter: j,
|
|
20703
|
-
noiseFilter:
|
|
20704
|
-
} = Qn(G), { blurRadius:
|
|
20707
|
+
noiseFilter: ae
|
|
20708
|
+
} = Qn(G), { blurRadius: he = 0, vignette: ge = 0, noise: be = 0 } = G, Ae = 0.1;
|
|
20705
20709
|
o5(E, p), pt(Qe.PAUSE, () => {
|
|
20706
20710
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20707
20711
|
}), pt(Qe.SEEK_END, () => {
|
|
20708
20712
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20709
20713
|
}), pt(Qe.SCRUBBER_CLICKED, () => {
|
|
20710
20714
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20711
|
-
}),
|
|
20715
|
+
}), ee.useEffect(() => {
|
|
20712
20716
|
d.current && g.current && (y.current ? (g.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
|
|
20713
|
-
}, [y]),
|
|
20717
|
+
}, [y]), ee.useEffect(() => {
|
|
20714
20718
|
if (!Hs(b)) {
|
|
20715
|
-
const
|
|
20716
|
-
const { data:
|
|
20719
|
+
const Ee = RB(b, (ce) => {
|
|
20720
|
+
const { data: Fe, width: Xt, height: Bt } = ce, lt = new Uint8Array(Fe);
|
|
20717
20721
|
return er.Texture.fromBuffer(lt, Xt, Bt);
|
|
20718
|
-
}),
|
|
20719
|
-
(
|
|
20720
|
-
texture:
|
|
20721
|
-
time: x[
|
|
20722
|
+
}), ve = Ee.map(
|
|
20723
|
+
(ce, Fe) => ({
|
|
20724
|
+
texture: ce,
|
|
20725
|
+
time: x[Fe]
|
|
20722
20726
|
})
|
|
20723
20727
|
);
|
|
20724
|
-
n(
|
|
20728
|
+
n(Ee), u(ve);
|
|
20725
20729
|
let rt = 0;
|
|
20726
|
-
x.forEach((
|
|
20727
|
-
rt +=
|
|
20730
|
+
x.forEach((ce) => {
|
|
20731
|
+
rt += ce * 10;
|
|
20728
20732
|
}), i(rt), d.current.totalDuration = rt, d.current.totalFrames = b.length;
|
|
20729
20733
|
}
|
|
20730
20734
|
}, [b, x]);
|
|
20731
|
-
const
|
|
20735
|
+
const ye = am.debounce((Ee) => {
|
|
20732
20736
|
if (g.current) {
|
|
20733
|
-
let
|
|
20734
|
-
|
|
20737
|
+
let ve = Ee === 0 ? 0 : Ee / Ae;
|
|
20738
|
+
ve = isNaN(ve) ? 0 : ve;
|
|
20735
20739
|
const rt = d.current.totalFrames;
|
|
20736
|
-
|
|
20740
|
+
ve = ve > rt ? rt : ve, ve >= rt ? (g.current.gotoAndStop(0), d.current.isPlaying = !1) : (g.current.gotoAndPlay(ve || 0), d.current.isPlaying = !0);
|
|
20737
20741
|
}
|
|
20738
20742
|
}, 20), He = am.debounce(() => {
|
|
20739
20743
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20740
|
-
}, 50), je = (
|
|
20744
|
+
}, 50), je = (Ee) => {
|
|
20741
20745
|
if (g.current) {
|
|
20742
|
-
let
|
|
20743
|
-
|
|
20746
|
+
let ve = Ee === 0 ? 0 : Ee / Ae;
|
|
20747
|
+
ve = isNaN(ve) ? 0 : ve;
|
|
20744
20748
|
const rt = d.current.totalFrames;
|
|
20745
|
-
|
|
20749
|
+
ve = ve > rt ? rt : ve, ve >= rt ? (g.current.gotoAndStop(0), d.current.isPlaying = !1) : (g.current.gotoAndPlay(ve || 0), d.current.isPlaying = !0);
|
|
20746
20750
|
}
|
|
20747
|
-
},
|
|
20751
|
+
}, Te = () => {
|
|
20748
20752
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20749
|
-
},
|
|
20753
|
+
}, Ie = () => {
|
|
20750
20754
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20751
|
-
}, $e = (
|
|
20755
|
+
}, $e = (Ee) => {
|
|
20752
20756
|
var rt;
|
|
20753
|
-
const
|
|
20754
|
-
g.current && y.current ? (
|
|
20757
|
+
const ve = Ee + ((rt = m.current) == null ? void 0 : rt.time());
|
|
20758
|
+
g.current && y.current ? (ye(ve), He(), d.current.isPlaying = !1) : m.current && g.current && !d.current.isPlaying && m.current.isActive() && _.current.isActive() && (ye(ve), d.current.isPlaying = !0);
|
|
20755
20759
|
}, Ke = () => {
|
|
20756
20760
|
l(!0);
|
|
20757
20761
|
};
|
|
20758
20762
|
return mn(() => {
|
|
20759
|
-
let
|
|
20763
|
+
let Ee = J.context(() => {
|
|
20760
20764
|
});
|
|
20761
20765
|
if (c.current && _.current) {
|
|
20762
|
-
const
|
|
20766
|
+
const ve = {
|
|
20763
20767
|
duration: Number(F) - Number(O),
|
|
20764
20768
|
onStart: je,
|
|
20765
|
-
onComplete:
|
|
20769
|
+
onComplete: Te,
|
|
20766
20770
|
onStartParams: [O, F],
|
|
20767
20771
|
onCompleteParams: [],
|
|
20768
|
-
onInterrupt:
|
|
20772
|
+
onInterrupt: Ie,
|
|
20769
20773
|
onUpdate: $e,
|
|
20770
20774
|
onUpdateParams: [O, F]
|
|
20771
20775
|
};
|
|
20772
|
-
m.current && m.current.kill(),
|
|
20776
|
+
m.current && m.current.kill(), Ee = J.context(() => {
|
|
20773
20777
|
m.current = J.from(
|
|
20774
20778
|
c.current,
|
|
20775
20779
|
// @ts-ignore
|
|
20776
|
-
|
|
20780
|
+
ve,
|
|
20777
20781
|
O
|
|
20778
20782
|
), _.current.add(m.current, w);
|
|
20779
20783
|
});
|
|
20780
20784
|
}
|
|
20781
20785
|
return () => {
|
|
20782
|
-
m.current && (m.current.kill(), J.killTweensOf(m.current)),
|
|
20786
|
+
m.current && (m.current.kill(), J.killTweensOf(m.current)), Ee.revert();
|
|
20783
20787
|
};
|
|
20784
|
-
}, [w, I, O, F]), /* @__PURE__ */
|
|
20788
|
+
}, [w, I, O, F]), /* @__PURE__ */ Ce.jsx(
|
|
20785
20789
|
vn,
|
|
20786
20790
|
{
|
|
20787
20791
|
...t,
|
|
20788
20792
|
ref: e,
|
|
20789
20793
|
ignoreTlForVideo: !0,
|
|
20790
20794
|
isGif: !0,
|
|
20791
|
-
children: /* @__PURE__ */
|
|
20795
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: c, children: r && r.length > 0 && /* @__PURE__ */ Ce.jsx(
|
|
20792
20796
|
l5,
|
|
20793
20797
|
{
|
|
20794
20798
|
x: se,
|
|
@@ -20802,18 +20806,18 @@ const c5 = {
|
|
|
20802
20806
|
onComplete: Ke,
|
|
20803
20807
|
anchor: 0.5,
|
|
20804
20808
|
forwardRef: g,
|
|
20805
|
-
...!D && L && { interactive: !0, pointerdown:
|
|
20809
|
+
...!D && L && { interactive: !0, pointerdown: re },
|
|
20806
20810
|
filters: [
|
|
20807
|
-
|
|
20811
|
+
ne,
|
|
20808
20812
|
H,
|
|
20809
20813
|
Q,
|
|
20810
20814
|
W,
|
|
20811
20815
|
// conditionally add blur filter
|
|
20812
|
-
...
|
|
20816
|
+
...he > 0 ? [pe] : [],
|
|
20813
20817
|
// conditionally add vignette filter
|
|
20814
|
-
...
|
|
20818
|
+
...ge > 0 ? [j] : [],
|
|
20815
20819
|
// conditionally add noise filter
|
|
20816
|
-
...
|
|
20820
|
+
...be > 0 ? [ae] : []
|
|
20817
20821
|
]
|
|
20818
20822
|
}
|
|
20819
20823
|
) })
|
|
@@ -20824,8 +20828,8 @@ h5.whyDidYouRender = {
|
|
|
20824
20828
|
logOnDifferentValues: !0,
|
|
20825
20829
|
customName: "PixiGifSprite"
|
|
20826
20830
|
};
|
|
20827
|
-
const fU =
|
|
20828
|
-
const n =
|
|
20831
|
+
const fU = ee.forwardRef((t, e) => {
|
|
20832
|
+
const n = de(null), i = de(0), a = de(null), u = de(null), l = de(16), f = de(null), {
|
|
20829
20833
|
visible: p,
|
|
20830
20834
|
text: g,
|
|
20831
20835
|
disabled: c,
|
|
@@ -20854,27 +20858,27 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20854
20858
|
dropShadowBlur: X = 0,
|
|
20855
20859
|
// multiline
|
|
20856
20860
|
wordWrapWidth: G = 5e7,
|
|
20857
|
-
leading:
|
|
20858
|
-
letterSpacing:
|
|
20861
|
+
leading: re = 0,
|
|
20862
|
+
letterSpacing: ne,
|
|
20859
20863
|
colorCorrection: H = {}
|
|
20860
20864
|
} = d, {
|
|
20861
20865
|
temperatureFilter: Q,
|
|
20862
|
-
sharpnessFilter:
|
|
20866
|
+
sharpnessFilter: pe,
|
|
20863
20867
|
hueFilter: W,
|
|
20864
20868
|
blurFilter: j,
|
|
20865
|
-
adjustmentFilter:
|
|
20866
|
-
} = Qn(H), { blurRadius:
|
|
20867
|
-
|
|
20869
|
+
adjustmentFilter: ae
|
|
20870
|
+
} = Qn(H), { blurRadius: he = 0 } = H;
|
|
20871
|
+
ee.useEffect(() => {
|
|
20868
20872
|
l.current = Number(I);
|
|
20869
20873
|
}, [I]);
|
|
20870
|
-
const
|
|
20874
|
+
const ge = ["italic", "oblique"].includes(w) ? w : void 0, be = ["small-caps"].includes(O), Ae = [
|
|
20871
20875
|
"bold",
|
|
20872
20876
|
"bolder",
|
|
20873
20877
|
"lighter",
|
|
20874
20878
|
"100",
|
|
20875
20879
|
"200",
|
|
20876
20880
|
"300"
|
|
20877
|
-
].includes(E) ? E : void 0,
|
|
20881
|
+
].includes(E) ? E : void 0, ye = Number(ne) > 0 ? ne : void 0, He = ee.useMemo(() => new er.TextStyle({
|
|
20878
20882
|
fontFamily: x,
|
|
20879
20883
|
fontSize: I,
|
|
20880
20884
|
fill: F || "white",
|
|
@@ -20883,16 +20887,16 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20883
20887
|
stroke: N,
|
|
20884
20888
|
strokeThickness: L
|
|
20885
20889
|
},
|
|
20886
|
-
...
|
|
20887
|
-
fontStyle:
|
|
20890
|
+
...ge && {
|
|
20891
|
+
fontStyle: ge
|
|
20888
20892
|
},
|
|
20889
|
-
...
|
|
20890
|
-
fontVariant:
|
|
20893
|
+
...be && {
|
|
20894
|
+
fontVariant: be
|
|
20891
20895
|
},
|
|
20892
|
-
...
|
|
20893
|
-
fontWeight:
|
|
20896
|
+
...Ae && {
|
|
20897
|
+
fontWeight: Ae
|
|
20894
20898
|
},
|
|
20895
|
-
...
|
|
20899
|
+
...ye && { letterSpacing: ye },
|
|
20896
20900
|
...V && {
|
|
20897
20901
|
dropShadow: !0,
|
|
20898
20902
|
dropShadowBlur: Number(D),
|
|
@@ -20910,7 +20914,7 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20910
20914
|
wordWrap: !0,
|
|
20911
20915
|
breakWords: !0,
|
|
20912
20916
|
wordWrapWidth: G || 500,
|
|
20913
|
-
leading:
|
|
20917
|
+
leading: re || 0
|
|
20914
20918
|
// lineHeight: lineHeight,
|
|
20915
20919
|
}), [
|
|
20916
20920
|
V,
|
|
@@ -20919,11 +20923,11 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20919
20923
|
x,
|
|
20920
20924
|
I,
|
|
20921
20925
|
w,
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
|
|
20926
|
+
re,
|
|
20927
|
+
ge,
|
|
20928
|
+
Ae,
|
|
20929
|
+
be,
|
|
20930
|
+
ye,
|
|
20927
20931
|
Y,
|
|
20928
20932
|
N,
|
|
20929
20933
|
L,
|
|
@@ -20931,25 +20935,25 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20931
20935
|
se,
|
|
20932
20936
|
X
|
|
20933
20937
|
]);
|
|
20934
|
-
|
|
20938
|
+
ee.useEffect(() => {
|
|
20935
20939
|
f.current = {
|
|
20936
20940
|
...d
|
|
20937
20941
|
};
|
|
20938
20942
|
}, [d]);
|
|
20939
20943
|
const je = () => {
|
|
20940
|
-
const
|
|
20941
|
-
|
|
20942
|
-
},
|
|
20944
|
+
const Ie = (/* @__PURE__ */ new Date()).getTime();
|
|
20945
|
+
Ie - i.current < 300 && _ ? _() : m && m(), i.current = Ie;
|
|
20946
|
+
}, Te = () => {
|
|
20943
20947
|
!c && _ && _();
|
|
20944
20948
|
};
|
|
20945
|
-
return /* @__PURE__ */
|
|
20949
|
+
return /* @__PURE__ */ Ce.jsx(
|
|
20946
20950
|
vn,
|
|
20947
20951
|
{
|
|
20948
20952
|
...t,
|
|
20949
20953
|
ref: e,
|
|
20950
20954
|
isText: !0,
|
|
20951
|
-
onDoubleClick:
|
|
20952
|
-
children: /* @__PURE__ */
|
|
20955
|
+
onDoubleClick: Te,
|
|
20956
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: n, children: /* @__PURE__ */ Ce.jsx(wt, { alpha: 1, ref: u, children: /* @__PURE__ */ Ce.jsx(
|
|
20953
20957
|
iS,
|
|
20954
20958
|
{
|
|
20955
20959
|
style: He,
|
|
@@ -20966,11 +20970,11 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20966
20970
|
ref: a,
|
|
20967
20971
|
filters: [
|
|
20968
20972
|
Q,
|
|
20969
|
-
|
|
20973
|
+
pe,
|
|
20970
20974
|
W,
|
|
20971
|
-
|
|
20975
|
+
ae,
|
|
20972
20976
|
// conditionally add blur filter
|
|
20973
|
-
...
|
|
20977
|
+
...he > 0 ? [j] : []
|
|
20974
20978
|
]
|
|
20975
20979
|
}
|
|
20976
20980
|
) }) })
|
|
@@ -21087,8 +21091,8 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21087
21091
|
size: { width: 50, height: 50 },
|
|
21088
21092
|
isDragging: !1,
|
|
21089
21093
|
timeDiff: 0
|
|
21090
|
-
}, D5 =
|
|
21091
|
-
const [r, n] =
|
|
21094
|
+
}, D5 = ee.forwardRef((t, e) => {
|
|
21095
|
+
const [r, n] = ee.useState(0), [i, a] = ee.useState(), u = de(null), l = de(null), f = de(null), p = de(k5), g = de(), {
|
|
21092
21096
|
uniqueId: c,
|
|
21093
21097
|
mute: d = !1,
|
|
21094
21098
|
src: m,
|
|
@@ -21106,17 +21110,17 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21106
21110
|
pointerover: se = () => {
|
|
21107
21111
|
},
|
|
21108
21112
|
fps: X = 0
|
|
21109
|
-
} = t, { tl: G, dragModeRef:
|
|
21110
|
-
temperatureFilter:
|
|
21111
|
-
sharpnessFilter:
|
|
21112
|
-
hueFilter:
|
|
21113
|
-
blurFilter:
|
|
21114
|
-
adjustmentFilter:
|
|
21113
|
+
} = t, { tl: G, dragModeRef: re, isRemotion: ne } = Gi(Yn), { onPointerDown: H, onPointerOut: Q, onPointerOver: pe } = Th(se, V, Y, 1), { blurRadius: W = 0, vignette: j = 0, noise: ae = 0 } = D, {
|
|
21114
|
+
temperatureFilter: he,
|
|
21115
|
+
sharpnessFilter: ge,
|
|
21116
|
+
hueFilter: be,
|
|
21117
|
+
blurFilter: Ae,
|
|
21118
|
+
adjustmentFilter: ye,
|
|
21115
21119
|
vignetteFilter: He,
|
|
21116
21120
|
noiseFilter: je
|
|
21117
|
-
} = Qn(D),
|
|
21118
|
-
const
|
|
21119
|
-
return
|
|
21121
|
+
} = Qn(D), Te = m || "", Ie = ee.useMemo(() => {
|
|
21122
|
+
const ce = document.createElement("video");
|
|
21123
|
+
return ce.src = m, ce.crossOrigin = "Anonymus", ce.autoplay = !1, ce.currentTime = b === 0 ? 1e-3 : b, ce;
|
|
21120
21124
|
}, [m, b]);
|
|
21121
21125
|
pt(Qe.PAUSE, () => {
|
|
21122
21126
|
f.current && (f.current.pause(), p.current.isPlaying = !1);
|
|
@@ -21125,56 +21129,56 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21125
21129
|
}), pt(Qe.REVERSE_MODE_END, () => {
|
|
21126
21130
|
f.current && (f.current.pause(), p.current.isPlaying = !1);
|
|
21127
21131
|
});
|
|
21128
|
-
const $e =
|
|
21132
|
+
const $e = ee.useCallback(
|
|
21129
21133
|
fo(() => {
|
|
21130
21134
|
if (f.current) {
|
|
21131
|
-
const
|
|
21132
|
-
|
|
21135
|
+
const ce = f.current;
|
|
21136
|
+
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && f.current.pause(), p.current.isPlaying = !1;
|
|
21133
21137
|
}
|
|
21134
21138
|
}, 400),
|
|
21135
21139
|
[f]
|
|
21136
21140
|
);
|
|
21137
|
-
|
|
21138
|
-
f.current && !
|
|
21139
|
-
}, [d,
|
|
21140
|
-
const Ke = (
|
|
21141
|
+
ee.useEffect(() => {
|
|
21142
|
+
f.current && !ne ? (re.current ? ($e(), p.current.isPlaying = !1, p.current.isDragging = !0) : p.current.isDragging = !1, f.current.muted = d) : p.current.isDragging = !1;
|
|
21143
|
+
}, [d, re, $e, f]);
|
|
21144
|
+
const Ke = (ce) => {
|
|
21141
21145
|
if (f.current) {
|
|
21142
|
-
if (f.current.currentTime = Number(
|
|
21143
|
-
const
|
|
21146
|
+
if (f.current.currentTime = Number(ce), !re.current) {
|
|
21147
|
+
const Fe = f.current, Xt = Fe.currentTime > 0 && !Fe.paused && !Fe.ended && Fe.readyState > Fe.HAVE_CURRENT_DATA;
|
|
21144
21148
|
G.current && G.current.isActive() && g.current && g.current.isActive() && (Xt || f.current.play(), p.current.isPlaying = !0, n((Bt) => Bt + 1));
|
|
21145
21149
|
}
|
|
21146
21150
|
p.current.progress = 0;
|
|
21147
21151
|
}
|
|
21148
|
-
},
|
|
21152
|
+
}, Ee = () => {
|
|
21149
21153
|
if (f.current) {
|
|
21150
|
-
const
|
|
21151
|
-
|
|
21154
|
+
const ce = f.current;
|
|
21155
|
+
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && f.current.pause(), p.current.isPlaying = !1, g.current && (p.current.progress = g.current.progress());
|
|
21152
21156
|
}
|
|
21153
|
-
},
|
|
21157
|
+
}, ve = () => {
|
|
21154
21158
|
}, rt = () => {
|
|
21155
|
-
var
|
|
21159
|
+
var ce, Fe;
|
|
21156
21160
|
if (g.current && (p.current.progress = g.current.progress()), f.current && g.current) {
|
|
21157
|
-
const Xt = b + ((
|
|
21161
|
+
const Xt = b + ((ce = g == null ? void 0 : g.current) == null ? void 0 : ce.time()), Bt = Math.abs(
|
|
21158
21162
|
f.current.currentTime - Xt
|
|
21159
21163
|
), lt = f.current, tr = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
|
|
21160
|
-
|
|
21164
|
+
re.current ? (f.current.currentTime = Xt, setTimeout(() => {
|
|
21161
21165
|
f.current && f.current.play().then(() => {
|
|
21162
21166
|
p.current.isPlaying = !1, f.current && f.current.pause();
|
|
21163
21167
|
});
|
|
21164
|
-
}, 100), p.current.isPlaying = !1) : (tr !== p.current.isPlaying || !tr) && p.current.progress > 0.01 && p.current.progress < 0.99 ? (
|
|
21168
|
+
}, 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() && g.current && g.current.isActive() && (tr || f.current.play(), p.current.isPlaying = !0) : Bt > 0.3 && p.current.progress > 0.01 && p.current.progress < 0.99 && (f.current.currentTime = Xt);
|
|
21165
21169
|
}
|
|
21166
21170
|
};
|
|
21167
21171
|
return mn(() => {
|
|
21168
|
-
let
|
|
21172
|
+
let ce = J.context(() => {
|
|
21169
21173
|
});
|
|
21170
21174
|
if (l.current && G.current) {
|
|
21171
|
-
const
|
|
21175
|
+
const Fe = {
|
|
21172
21176
|
duration: Number(x) - Number(b),
|
|
21173
21177
|
onStart: Ke,
|
|
21174
|
-
onComplete:
|
|
21178
|
+
onComplete: Ee,
|
|
21175
21179
|
onStartParams: [b, x],
|
|
21176
21180
|
onCompleteParams: [],
|
|
21177
|
-
onInterrupt:
|
|
21181
|
+
onInterrupt: ve,
|
|
21178
21182
|
onUpdate: rt,
|
|
21179
21183
|
onUpdateParams: [b, x],
|
|
21180
21184
|
onPause: () => {
|
|
@@ -21193,23 +21197,23 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21193
21197
|
console.log("onKill video sprite kill", c);
|
|
21194
21198
|
}
|
|
21195
21199
|
};
|
|
21196
|
-
|
|
21200
|
+
ce = J.context(() => {
|
|
21197
21201
|
g.current = J.from(
|
|
21198
21202
|
l.current,
|
|
21199
21203
|
// @ts-ignore
|
|
21200
|
-
|
|
21204
|
+
Fe,
|
|
21201
21205
|
b
|
|
21202
21206
|
), G.current.add(g.current, _);
|
|
21203
21207
|
});
|
|
21204
21208
|
}
|
|
21205
21209
|
return () => {
|
|
21206
|
-
g.current && (g.current.kill(), J.killTweensOf(g.current)),
|
|
21210
|
+
g.current && (g.current.kill(), J.killTweensOf(g.current)), ce.revert();
|
|
21207
21211
|
};
|
|
21208
|
-
}, [L, _, y, b, x]),
|
|
21212
|
+
}, [L, _, y, b, x]), ee.useEffect(() => {
|
|
21209
21213
|
f.current && (f.current.muted = d);
|
|
21210
|
-
}, [d]),
|
|
21211
|
-
const
|
|
21212
|
-
f.current && (f.current.currentTime =
|
|
21214
|
+
}, [d]), ee.useEffect(() => {
|
|
21215
|
+
const ce = Math.round((Number(b) + Number.EPSILON) * 100) / 100, Fe = function() {
|
|
21216
|
+
f.current && (f.current.currentTime = ce);
|
|
21213
21217
|
}, Xt = function() {
|
|
21214
21218
|
if (f.current) {
|
|
21215
21219
|
const fr = f.current;
|
|
@@ -21222,8 +21226,8 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21222
21226
|
p.current.isWaiting = !1, p.current.isStalled = !1;
|
|
21223
21227
|
}, tr = function() {
|
|
21224
21228
|
p.current.isWaiting = !1, p.current.isStalled = !0;
|
|
21225
|
-
}, Jn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, bn = `${
|
|
21226
|
-
return er.Texture.fromLoader(
|
|
21229
|
+
}, Jn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, bn = `${Te}#t=${Jn},${eu}`;
|
|
21230
|
+
return er.Texture.fromLoader(Ie, bn, c, {
|
|
21227
21231
|
pixiIdPrefix: c,
|
|
21228
21232
|
resourceOptions: {
|
|
21229
21233
|
autoPlay: !1,
|
|
@@ -21231,44 +21235,44 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21231
21235
|
updateFPS: X ? Math.max(120, Number(X)) : 30
|
|
21232
21236
|
}
|
|
21233
21237
|
}).then((fr) => {
|
|
21234
|
-
fr && (a(fr), f.current = fr.baseTexture.resource.source, f.current.id = c, f.current.addEventListener("loadedmetadata",
|
|
21238
|
+
fr && (a(fr), f.current = fr.baseTexture.resource.source, f.current.id = c, f.current.addEventListener("loadedmetadata", Fe), f.current.addEventListener("ended", Xt), f.current.addEventListener("loadstart", Bt), f.current.addEventListener("canplaythrough", lt), f.current.addEventListener("stalled", tr));
|
|
21235
21239
|
}), () => {
|
|
21236
|
-
f.current && (f.current.pause(), f.current.removeEventListener("loadedmetadata",
|
|
21240
|
+
f.current && (f.current.pause(), f.current.removeEventListener("loadedmetadata", Fe), f.current.removeEventListener("ended", Xt), f.current.removeEventListener("loadstart", Bt), f.current.removeEventListener(
|
|
21237
21241
|
"canplaythrough",
|
|
21238
21242
|
lt
|
|
21239
21243
|
), f.current.removeEventListener("stalled", tr));
|
|
21240
21244
|
};
|
|
21241
|
-
}, [
|
|
21242
|
-
const
|
|
21243
|
-
i && g.current && G.current && g.current.progress() < 0.1 && f.current && !g.current.isActive() && !
|
|
21245
|
+
}, [Te, c, b, x, Ie]), ee.useEffect(() => {
|
|
21246
|
+
const ce = setTimeout(() => {
|
|
21247
|
+
i && g.current && G.current && g.current.progress() < 0.1 && f.current && !g.current.isActive() && !ne && f.current.play().then(() => {
|
|
21244
21248
|
p.current.isPlaying = !1, f.current && f.current.pause();
|
|
21245
21249
|
});
|
|
21246
21250
|
}, 30);
|
|
21247
21251
|
return () => {
|
|
21248
|
-
clearTimeout(
|
|
21252
|
+
clearTimeout(ce);
|
|
21249
21253
|
};
|
|
21250
|
-
}, [i]),
|
|
21251
|
-
G.current && !G.current.isActive() && !
|
|
21252
|
-
const
|
|
21253
|
-
if (i && G.current && r > 0 && !
|
|
21254
|
+
}, [i]), ee.useEffect(() => {
|
|
21255
|
+
G.current && !G.current.isActive() && !ne && (p.current.isPlaying = !1, f.current && f.current.pause());
|
|
21256
|
+
const ce = setTimeout(() => {
|
|
21257
|
+
if (i && G.current && r > 0 && !ne) {
|
|
21254
21258
|
G.current.isActive() || (p.current.isPlaying = !1, f.current && f.current.pause());
|
|
21255
|
-
const
|
|
21256
|
-
|
|
21259
|
+
const Fe = f.current;
|
|
21260
|
+
Fe && G.current.isActive() && g.current && g.current.isActive() && (Fe.currentTime > 0 && !Fe.paused && !Fe.ended && Fe.readyState > Fe.HAVE_CURRENT_DATA || f.current.play(), p.current.isPlaying = !0);
|
|
21257
21261
|
}
|
|
21258
21262
|
}, 10);
|
|
21259
21263
|
return () => {
|
|
21260
|
-
clearTimeout(
|
|
21264
|
+
clearTimeout(ce);
|
|
21261
21265
|
};
|
|
21262
|
-
}, [r, i]), /* @__PURE__ */
|
|
21266
|
+
}, [r, i]), /* @__PURE__ */ Ce.jsx(
|
|
21263
21267
|
vn,
|
|
21264
21268
|
{
|
|
21265
21269
|
...t,
|
|
21266
21270
|
ref: e,
|
|
21267
21271
|
ignoreTlForVideo: !0,
|
|
21268
21272
|
pointerdown: H,
|
|
21269
|
-
pointerover:
|
|
21273
|
+
pointerover: pe,
|
|
21270
21274
|
pointerout: Q,
|
|
21271
|
-
children: /* @__PURE__ */
|
|
21275
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: l, children: i && /* @__PURE__ */ Ce.jsx(
|
|
21272
21276
|
Bs,
|
|
21273
21277
|
{
|
|
21274
21278
|
texture: i,
|
|
@@ -21281,16 +21285,16 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21281
21285
|
alpha: E ? 1 : 0,
|
|
21282
21286
|
...!w && E && { interactive: !0, pointerdown: V },
|
|
21283
21287
|
filters: [
|
|
21284
|
-
|
|
21285
|
-
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
+
he,
|
|
21289
|
+
ge,
|
|
21290
|
+
be,
|
|
21291
|
+
ye,
|
|
21288
21292
|
// conditionally add blur filter
|
|
21289
|
-
...W > 0 ? [
|
|
21293
|
+
...W > 0 ? [Ae] : [],
|
|
21290
21294
|
// conditionally add vignette filter
|
|
21291
21295
|
...j > 0 ? [He] : [],
|
|
21292
21296
|
// conditionally add noise filter
|
|
21293
|
-
...
|
|
21297
|
+
...ae > 0 ? [je] : []
|
|
21294
21298
|
]
|
|
21295
21299
|
}
|
|
21296
21300
|
) })
|
|
@@ -21301,8 +21305,8 @@ D5.whyDidYouRender = {
|
|
|
21301
21305
|
logOnDifferentValues: !0,
|
|
21302
21306
|
customName: "PixiVideoSprite"
|
|
21303
21307
|
};
|
|
21304
|
-
const dU =
|
|
21305
|
-
const [r, n] =
|
|
21308
|
+
const dU = ee.forwardRef((t, e) => {
|
|
21309
|
+
const [r, n] = ee.useState(), i = de(null), a = de(null), {
|
|
21306
21310
|
visible: u,
|
|
21307
21311
|
disabled: l,
|
|
21308
21312
|
transformation: { x: f, y: p, width: g, height: c, colorCorrection: d = {} },
|
|
@@ -21320,19 +21324,19 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21320
21324
|
blurFilter: se,
|
|
21321
21325
|
adjustmentFilter: X,
|
|
21322
21326
|
vignetteFilter: G,
|
|
21323
|
-
noiseFilter:
|
|
21327
|
+
noiseFilter: re
|
|
21324
21328
|
} = Qn(d);
|
|
21325
21329
|
return hm(() => {
|
|
21326
21330
|
if (i.current && i.current.texture) {
|
|
21327
|
-
const
|
|
21328
|
-
|
|
21331
|
+
const ne = i.current.texture.baseTexture;
|
|
21332
|
+
ne && ne.update(), a.current && E.renderer.render(a.current);
|
|
21329
21333
|
}
|
|
21330
|
-
}),
|
|
21334
|
+
}), ee.useEffect(() => {
|
|
21331
21335
|
if (!Hs(x)) {
|
|
21332
|
-
const
|
|
21333
|
-
n(
|
|
21336
|
+
const ne = er.Texture.from(x);
|
|
21337
|
+
n(ne);
|
|
21334
21338
|
}
|
|
21335
|
-
}, [x]), /* @__PURE__ */
|
|
21339
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21336
21340
|
vn,
|
|
21337
21341
|
{
|
|
21338
21342
|
...t,
|
|
@@ -21341,7 +21345,7 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21341
21345
|
pointerdown: w,
|
|
21342
21346
|
pointerover: O,
|
|
21343
21347
|
pointerout: I,
|
|
21344
|
-
children: /* @__PURE__ */
|
|
21348
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21345
21349
|
Bs,
|
|
21346
21350
|
{
|
|
21347
21351
|
texture: r,
|
|
@@ -21363,18 +21367,18 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21363
21367
|
// conditionally add vignette filter
|
|
21364
21368
|
...N > 0 ? [G] : [],
|
|
21365
21369
|
// conditionally add noise filter
|
|
21366
|
-
...L > 0 ? [
|
|
21370
|
+
...L > 0 ? [re] : []
|
|
21367
21371
|
]
|
|
21368
21372
|
}
|
|
21369
21373
|
) })
|
|
21370
21374
|
}
|
|
21371
21375
|
);
|
|
21372
21376
|
}), pU = (t) => {
|
|
21373
|
-
const { startAt: e, endAt: r, uniqueId: n } = t, i =
|
|
21377
|
+
const { startAt: e, endAt: r, uniqueId: n } = t, i = de(null), a = de(null), u = de(null), l = de(null), f = de(!1), {
|
|
21374
21378
|
tl: p,
|
|
21375
21379
|
totalDuration: g = 0,
|
|
21376
21380
|
reverseModeRef: c
|
|
21377
|
-
} = Gi(Yn), d = e < 0.2 ? "static" : "none", m =
|
|
21381
|
+
} = Gi(Yn), d = e < 0.2 ? "static" : "none", m = de(1);
|
|
21378
21382
|
pt(Qe.COMPLETE, () => {
|
|
21379
21383
|
i.current && (i.current.eventMode = d);
|
|
21380
21384
|
}), pt(Qe.REVERSE_MODE_END, () => {
|
|
@@ -21391,7 +21395,7 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21391
21395
|
}
|
|
21392
21396
|
};
|
|
21393
21397
|
return pt(Qe.COMPLETE, () => {
|
|
21394
|
-
}),
|
|
21398
|
+
}), ee.useEffect(() => {
|
|
21395
21399
|
const y = J.context(() => {
|
|
21396
21400
|
if (i.current && p.current) {
|
|
21397
21401
|
const b = J.to(i.current, {
|
|
@@ -21414,22 +21418,22 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21414
21418
|
return () => {
|
|
21415
21419
|
l.current && (p.current.remove(l.current), l.current.progress(0).kill()), y.revert();
|
|
21416
21420
|
};
|
|
21417
|
-
}, [e, r, g, n]), /* @__PURE__ */
|
|
21421
|
+
}, [e, r, g, n]), /* @__PURE__ */ Ce.jsx(
|
|
21418
21422
|
wt,
|
|
21419
21423
|
{
|
|
21420
21424
|
ref: i,
|
|
21421
21425
|
alpha: e < 0.2 ? 1 : 0,
|
|
21422
21426
|
eventMode: e < 0.2 ? "static" : "none",
|
|
21423
|
-
children: /* @__PURE__ */
|
|
21427
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: u, children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, alpha: 1, children: t.children }) })
|
|
21424
21428
|
}
|
|
21425
21429
|
);
|
|
21426
21430
|
}, gU = (t) => {
|
|
21427
21431
|
const { startAt: e, endAt: r } = t, { setTotalDuration: n } = Gi(Yn);
|
|
21428
|
-
return
|
|
21432
|
+
return ee.useEffect(() => {
|
|
21429
21433
|
n && n(Number(r) + 0.2);
|
|
21430
21434
|
}, [e, r]), t.children;
|
|
21431
|
-
}, mU =
|
|
21432
|
-
const [r, n] =
|
|
21435
|
+
}, mU = ee.forwardRef((t, e) => {
|
|
21436
|
+
const [r, n] = ee.useState(), i = de(null), a = de(null), {
|
|
21433
21437
|
visible: u,
|
|
21434
21438
|
disabled: l,
|
|
21435
21439
|
transformation: { x: f, y: p, width: g, height: c, colorCorrection: d = {} },
|
|
@@ -21447,19 +21451,19 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21447
21451
|
blurFilter: se,
|
|
21448
21452
|
adjustmentFilter: X,
|
|
21449
21453
|
vignetteFilter: G,
|
|
21450
|
-
noiseFilter:
|
|
21454
|
+
noiseFilter: re
|
|
21451
21455
|
} = Qn(d);
|
|
21452
21456
|
return hm(() => {
|
|
21453
21457
|
if (i.current && i.current.texture) {
|
|
21454
|
-
const
|
|
21455
|
-
|
|
21458
|
+
const ne = i.current.texture.baseTexture;
|
|
21459
|
+
ne && ne.update(), a.current && E.renderer.render(a.current);
|
|
21456
21460
|
}
|
|
21457
|
-
}),
|
|
21461
|
+
}), ee.useEffect(() => {
|
|
21458
21462
|
if (!Hs(x)) {
|
|
21459
|
-
const
|
|
21460
|
-
n(
|
|
21463
|
+
const ne = er.Texture.from(x);
|
|
21464
|
+
n(ne);
|
|
21461
21465
|
}
|
|
21462
|
-
}, [x]), /* @__PURE__ */
|
|
21466
|
+
}, [x]), /* @__PURE__ */ Ce.jsx(
|
|
21463
21467
|
vn,
|
|
21464
21468
|
{
|
|
21465
21469
|
...t,
|
|
@@ -21468,7 +21472,7 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21468
21472
|
pointerdown: w,
|
|
21469
21473
|
pointerover: O,
|
|
21470
21474
|
pointerout: I,
|
|
21471
|
-
children: /* @__PURE__ */
|
|
21475
|
+
children: /* @__PURE__ */ Ce.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ce.jsx(
|
|
21472
21476
|
Bs,
|
|
21473
21477
|
{
|
|
21474
21478
|
texture: r,
|
|
@@ -21490,7 +21494,7 @@ const dU = te.forwardRef((t, e) => {
|
|
|
21490
21494
|
// conditionally add vignette filter
|
|
21491
21495
|
...N > 0 ? [G] : [],
|
|
21492
21496
|
// conditionally add noise filter
|
|
21493
|
-
...L > 0 ? [
|
|
21497
|
+
...L > 0 ? [re] : []
|
|
21494
21498
|
]
|
|
21495
21499
|
}
|
|
21496
21500
|
) })
|