@camstack/addon-pipeline 0.1.20 → 0.2.0
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/audio-analyzer/index.js +736 -719
- package/dist/audio-analyzer/index.mjs +726 -679
- package/dist/audio-codec-nodeav/index.js +304 -461
- package/dist/audio-codec-nodeav/index.mjs +300 -462
- package/dist/chunk-BdkLduGY.mjs +5 -0
- package/dist/chunk-D6vf50IK.js +28 -0
- package/dist/codec-runtime-BOk-13PN.js +202 -0
- package/dist/codec-runtime-BsqlEjPi.mjs +197 -0
- package/dist/constants-B_b0a-6h.mjs +3119 -0
- package/dist/{index-CMcx_k6Y.js → constants-D65v6yp6.js} +3107 -2935
- package/dist/decoder-nodeav/index.js +1374 -1444
- package/dist/decoder-nodeav/index.mjs +1369 -1425
- package/dist/detection-pipeline/index.js +6462 -5613
- package/dist/detection-pipeline/index.mjs +6451 -5574
- package/dist/dist-7ewQjTle.js +22454 -0
- package/dist/dist-C5jnNl0n.mjs +22089 -0
- package/dist/motion-wasm/index.js +469 -467
- package/dist/motion-wasm/index.mjs +464 -446
- package/dist/pipeline-runner/index.js +2029 -1827
- package/dist/pipeline-runner/index.mjs +2025 -1811
- package/dist/recorder/index.js +2045 -2157
- package/dist/recorder/index.mjs +2042 -2156
- package/dist/stream-broker/_stub.js +1806 -1352
- package/dist/stream-broker/_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D4-DHanK.mjs +156 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Tf-HACFd.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-C9WX5HNw.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs +26 -0
- package/dist/stream-broker/dist-CYZr2fwk.mjs +2726 -0
- package/dist/stream-broker/hostInit-Di6vceAU.mjs +129 -0
- package/dist/stream-broker/index.js +17778 -15470
- package/dist/stream-broker/index.mjs +17769 -15465
- package/dist/stream-broker/remoteEntry.js +134 -2973
- package/dist/stream-broker/remoteEntry.ssr.js +33 -0
- package/dist/stream-broker/virtualExposes-dYNvIwoR.mjs +27 -0
- package/dist/stream-broker/virtual_mf-exposes-ssr___mfe_internal__addon_stream_broker_widgets__remoteEntry_js-Cmqfp4i_.mjs +10 -0
- package/embed-dist/assets/index-B8VlSD0-.js +150 -0
- package/embed-dist/assets/index-ZhDdp1Nd.css +2 -0
- package/embed-dist/index.html +13 -0
- package/package.json +25 -7
- package/wasm/assembly/index.ts +41 -16
- package/dist/audio-analyzer/index.js.map +0 -1
- package/dist/audio-analyzer/index.mjs.map +0 -1
- package/dist/audio-codec-nodeav/index.js.map +0 -1
- package/dist/audio-codec-nodeav/index.mjs.map +0 -1
- package/dist/decoder-nodeav/index.js.map +0 -1
- package/dist/decoder-nodeav/index.mjs.map +0 -1
- package/dist/detection-pipeline/index.js.map +0 -1
- package/dist/detection-pipeline/index.mjs.map +0 -1
- package/dist/index-5aYef068.mjs +0 -17514
- package/dist/index-5aYef068.mjs.map +0 -1
- package/dist/index-B36NMAdu.js +0 -17513
- package/dist/index-B36NMAdu.js.map +0 -1
- package/dist/index-CMcx_k6Y.js.map +0 -1
- package/dist/index-CYb7cFrv.mjs +0 -5790
- package/dist/index-CYb7cFrv.mjs.map +0 -1
- package/dist/motion-wasm/index.js.map +0 -1
- package/dist/motion-wasm/index.mjs.map +0 -1
- package/dist/pipeline-runner/index.js.map +0 -1
- package/dist/pipeline-runner/index.mjs.map +0 -1
- package/dist/recorder/index.js.map +0 -1
- package/dist/recorder/index.mjs.map +0 -1
- package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/FfmpegParamsField.d.ts +0 -41
- package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/GeometryBuilder.d.ts +0 -54
- package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/StreamBrokerPanel.d.ts +0 -21
- package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/format-ua.d.ts +0 -13
- package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/index.d.ts +0 -15
- package/dist/stream-broker/@mf-types/widgets.d.ts +0 -2
- package/dist/stream-broker/@mf-types.d.ts +0 -3
- package/dist/stream-broker/@mf-types.zip +0 -0
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-lantnv8e.mjs +0 -12
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-DJ3UNg7O.mjs +0 -30
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-CYXy_bhS.mjs +0 -21
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-U1EUeEPs.mjs +0 -104
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-DeouEaSs.mjs +0 -85
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-DHUwjbb9.mjs +0 -62
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs-CaDEYBIU.mjs +0 -89
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-D6EROtlA.mjs +0 -29
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-x6pP3Ghk.mjs +0 -36
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom__loadShare__.mjs-DYEKzzY-.mjs +0 -45
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CcnN6sbA.mjs +0 -6
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-DICOtMTl.mjs +0 -34
- package/dist/stream-broker/_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CL9DR49k.mjs +0 -156
- package/dist/stream-broker/client-BvTmMOQu.mjs +0 -9836
- package/dist/stream-broker/getErrorShape-BPSzUA7W-TlK8ipWe.mjs +0 -211
- package/dist/stream-broker/hostInit-ChmiMPS0.mjs +0 -168
- package/dist/stream-broker/index-BxsFuFmE.mjs +0 -2603
- package/dist/stream-broker/index-C-248uOU.mjs +0 -725
- package/dist/stream-broker/index-C05B6jqp.mjs +0 -185
- package/dist/stream-broker/index-CWkKuNLr.mjs +0 -232
- package/dist/stream-broker/index-DOJoSShD.mjs +0 -67784
- package/dist/stream-broker/index-DtOI1aTU.mjs +0 -18504
- package/dist/stream-broker/index-oMq6ilgR.mjs +0 -1641
- package/dist/stream-broker/index-vIWZQBIL.mjs +0 -435
- package/dist/stream-broker/index-xncRG7-x.mjs +0 -2713
- package/dist/stream-broker/index.js.map +0 -1
- package/dist/stream-broker/index.mjs.map +0 -1
- package/dist/stream-broker/jsx-runtime-BRT_HL0A.mjs +0 -55
- package/dist/stream-broker/schemas-B7L0qZtq.mjs +0 -3599
- package/dist/stream-broker/virtualExposes-pCd777Rp.mjs +0 -42
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { r as _, a as m } from "./__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-D6EROtlA.mjs";
|
|
2
|
-
function v(r, e) {
|
|
3
|
-
for (var t = 0; t < e.length; t++) {
|
|
4
|
-
const a = e[t];
|
|
5
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
-
for (const c in a)
|
|
7
|
-
if (c !== "default" && !(c in r)) {
|
|
8
|
-
const g = Object.getOwnPropertyDescriptor(a, c);
|
|
9
|
-
g && Object.defineProperty(r, c, g.get ? g : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => a[c]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var s = { exports: {} }, i = {};
|
|
19
|
-
/**
|
|
20
|
-
* @license React
|
|
21
|
-
* react-dom.production.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
var O = _;
|
|
29
|
-
function d(r) {
|
|
30
|
-
var e = "https://react.dev/errors/" + r;
|
|
31
|
-
if (1 < arguments.length) {
|
|
32
|
-
e += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
33
|
-
for (var t = 2; t < arguments.length; t++)
|
|
34
|
-
e += "&args[]=" + encodeURIComponent(arguments[t]);
|
|
35
|
-
}
|
|
36
|
-
return "Minified React error #" + r + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
37
|
-
}
|
|
38
|
-
function f() {
|
|
39
|
-
}
|
|
40
|
-
var n = {
|
|
41
|
-
d: {
|
|
42
|
-
f,
|
|
43
|
-
r: function() {
|
|
44
|
-
throw Error(d(522));
|
|
45
|
-
},
|
|
46
|
-
D: f,
|
|
47
|
-
C: f,
|
|
48
|
-
L: f,
|
|
49
|
-
m: f,
|
|
50
|
-
X: f,
|
|
51
|
-
S: f,
|
|
52
|
-
M: f
|
|
53
|
-
},
|
|
54
|
-
p: 0,
|
|
55
|
-
findDOMNode: null
|
|
56
|
-
}, S = Symbol.for("react.portal");
|
|
57
|
-
function E(r, e, t) {
|
|
58
|
-
var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
59
|
-
return {
|
|
60
|
-
$$typeof: S,
|
|
61
|
-
key: a == null ? null : "" + a,
|
|
62
|
-
children: r,
|
|
63
|
-
containerInfo: e,
|
|
64
|
-
implementation: t
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
var u = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
68
|
-
function y(r, e) {
|
|
69
|
-
if (r === "font") return "";
|
|
70
|
-
if (typeof e == "string")
|
|
71
|
-
return e === "use-credentials" ? e : "";
|
|
72
|
-
}
|
|
73
|
-
i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n;
|
|
74
|
-
i.createPortal = function(r, e) {
|
|
75
|
-
var t = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
76
|
-
if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
|
|
77
|
-
throw Error(d(299));
|
|
78
|
-
return E(r, e, null, t);
|
|
79
|
-
};
|
|
80
|
-
i.flushSync = function(r) {
|
|
81
|
-
var e = u.T, t = n.p;
|
|
82
|
-
try {
|
|
83
|
-
if (u.T = null, n.p = 2, r) return r();
|
|
84
|
-
} finally {
|
|
85
|
-
u.T = e, n.p = t, n.d.f();
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
i.preconnect = function(r, e) {
|
|
89
|
-
typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(r, e));
|
|
90
|
-
};
|
|
91
|
-
i.prefetchDNS = function(r) {
|
|
92
|
-
typeof r == "string" && n.d.D(r);
|
|
93
|
-
};
|
|
94
|
-
i.preinit = function(r, e) {
|
|
95
|
-
if (typeof r == "string" && e && typeof e.as == "string") {
|
|
96
|
-
var t = e.as, a = y(t, e.crossOrigin), c = typeof e.integrity == "string" ? e.integrity : void 0, g = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
|
|
97
|
-
t === "style" ? n.d.S(
|
|
98
|
-
r,
|
|
99
|
-
typeof e.precedence == "string" ? e.precedence : void 0,
|
|
100
|
-
{
|
|
101
|
-
crossOrigin: a,
|
|
102
|
-
integrity: c,
|
|
103
|
-
fetchPriority: g
|
|
104
|
-
}
|
|
105
|
-
) : t === "script" && n.d.X(r, {
|
|
106
|
-
crossOrigin: a,
|
|
107
|
-
integrity: c,
|
|
108
|
-
fetchPriority: g,
|
|
109
|
-
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
i.preinitModule = function(r, e) {
|
|
114
|
-
if (typeof r == "string")
|
|
115
|
-
if (typeof e == "object" && e !== null) {
|
|
116
|
-
if (e.as == null || e.as === "script") {
|
|
117
|
-
var t = y(
|
|
118
|
-
e.as,
|
|
119
|
-
e.crossOrigin
|
|
120
|
-
);
|
|
121
|
-
n.d.M(r, {
|
|
122
|
-
crossOrigin: t,
|
|
123
|
-
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
124
|
-
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
} else e == null && n.d.M(r);
|
|
128
|
-
};
|
|
129
|
-
i.preload = function(r, e) {
|
|
130
|
-
if (typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
|
|
131
|
-
var t = e.as, a = y(t, e.crossOrigin);
|
|
132
|
-
n.d.L(r, t, {
|
|
133
|
-
crossOrigin: a,
|
|
134
|
-
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
135
|
-
nonce: typeof e.nonce == "string" ? e.nonce : void 0,
|
|
136
|
-
type: typeof e.type == "string" ? e.type : void 0,
|
|
137
|
-
fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
|
|
138
|
-
referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
|
|
139
|
-
imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
|
|
140
|
-
imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
|
|
141
|
-
media: typeof e.media == "string" ? e.media : void 0
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
i.preloadModule = function(r, e) {
|
|
146
|
-
if (typeof r == "string")
|
|
147
|
-
if (e) {
|
|
148
|
-
var t = y(e.as, e.crossOrigin);
|
|
149
|
-
n.d.m(r, {
|
|
150
|
-
as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
|
|
151
|
-
crossOrigin: t,
|
|
152
|
-
integrity: typeof e.integrity == "string" ? e.integrity : void 0
|
|
153
|
-
});
|
|
154
|
-
} else n.d.m(r);
|
|
155
|
-
};
|
|
156
|
-
i.requestFormReset = function(r) {
|
|
157
|
-
n.d.r(r);
|
|
158
|
-
};
|
|
159
|
-
i.unstable_batchedUpdates = function(r, e) {
|
|
160
|
-
return r(e);
|
|
161
|
-
};
|
|
162
|
-
i.useFormState = function(r, e, t) {
|
|
163
|
-
return u.H.useFormState(r, e, t);
|
|
164
|
-
};
|
|
165
|
-
i.useFormStatus = function() {
|
|
166
|
-
return u.H.useHostTransitionStatus();
|
|
167
|
-
};
|
|
168
|
-
i.version = "19.2.5";
|
|
169
|
-
function l() {
|
|
170
|
-
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
|
|
171
|
-
try {
|
|
172
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l);
|
|
173
|
-
} catch (r) {
|
|
174
|
-
console.error(r);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
l(), s.exports = i;
|
|
178
|
-
var o = s.exports;
|
|
179
|
-
const T = /* @__PURE__ */ m(o), p = /* @__PURE__ */ v({
|
|
180
|
-
__proto__: null,
|
|
181
|
-
default: T
|
|
182
|
-
}, [o]);
|
|
183
|
-
export {
|
|
184
|
-
p as i
|
|
185
|
-
};
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
var N = { exports: {} }, z = {};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* scheduler.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
(function(l) {
|
|
12
|
-
function g(e, a) {
|
|
13
|
-
var n = e.length;
|
|
14
|
-
e.push(a);
|
|
15
|
-
e: for (; 0 < n; ) {
|
|
16
|
-
var u = n - 1 >>> 1, t = e[u];
|
|
17
|
-
if (0 < m(t, a))
|
|
18
|
-
e[u] = a, e[n] = t, n = u;
|
|
19
|
-
else break e;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function s(e) {
|
|
23
|
-
return e.length === 0 ? null : e[0];
|
|
24
|
-
}
|
|
25
|
-
function _(e) {
|
|
26
|
-
if (e.length === 0) return null;
|
|
27
|
-
var a = e[0], n = e.pop();
|
|
28
|
-
if (n !== a) {
|
|
29
|
-
e[0] = n;
|
|
30
|
-
e: for (var u = 0, t = e.length, P = t >>> 1; u < P; ) {
|
|
31
|
-
var T = 2 * (u + 1) - 1, U = e[T], o = T + 1, C = e[o];
|
|
32
|
-
if (0 > m(U, n))
|
|
33
|
-
o < t && 0 > m(C, U) ? (e[u] = C, e[o] = n, u = o) : (e[u] = U, e[T] = n, u = T);
|
|
34
|
-
else if (o < t && 0 > m(C, n))
|
|
35
|
-
e[u] = C, e[o] = n, u = o;
|
|
36
|
-
else break e;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return a;
|
|
40
|
-
}
|
|
41
|
-
function m(e, a) {
|
|
42
|
-
var n = e.sortIndex - a.sortIndex;
|
|
43
|
-
return n !== 0 ? n : e.id - a.id;
|
|
44
|
-
}
|
|
45
|
-
if (l.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
46
|
-
var A = performance;
|
|
47
|
-
l.unstable_now = function() {
|
|
48
|
-
return A.now();
|
|
49
|
-
};
|
|
50
|
-
} else {
|
|
51
|
-
var j = Date, G = j.now();
|
|
52
|
-
l.unstable_now = function() {
|
|
53
|
-
return j.now() - G;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
var c = [], i = [], J = 1, f = null, r = 3, H = !1, d = !1, y = !1, S = !1, q = typeof setTimeout == "function" ? setTimeout : null, F = typeof clearTimeout == "function" ? clearTimeout : null, Q = typeof setImmediate < "u" ? setImmediate : null;
|
|
57
|
-
function w(e) {
|
|
58
|
-
for (var a = s(i); a !== null; ) {
|
|
59
|
-
if (a.callback === null) _(i);
|
|
60
|
-
else if (a.startTime <= e)
|
|
61
|
-
_(i), a.sortIndex = a.expirationTime, g(c, a);
|
|
62
|
-
else break;
|
|
63
|
-
a = s(i);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function D(e) {
|
|
67
|
-
if (y = !1, w(e), !d)
|
|
68
|
-
if (s(c) !== null)
|
|
69
|
-
d = !0, b || (b = !0, v());
|
|
70
|
-
else {
|
|
71
|
-
var a = s(i);
|
|
72
|
-
a !== null && R(D, a.startTime - e);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
var b = !1, k = -1, Y = 5, B = -1;
|
|
76
|
-
function E() {
|
|
77
|
-
return S ? !0 : !(l.unstable_now() - B < Y);
|
|
78
|
-
}
|
|
79
|
-
function I() {
|
|
80
|
-
if (S = !1, b) {
|
|
81
|
-
var e = l.unstable_now();
|
|
82
|
-
B = e;
|
|
83
|
-
var a = !0;
|
|
84
|
-
try {
|
|
85
|
-
e: {
|
|
86
|
-
d = !1, y && (y = !1, F(k), k = -1), H = !0;
|
|
87
|
-
var n = r;
|
|
88
|
-
try {
|
|
89
|
-
n: {
|
|
90
|
-
for (w(e), f = s(c); f !== null && !(f.expirationTime > e && E()); ) {
|
|
91
|
-
var u = f.callback;
|
|
92
|
-
if (typeof u == "function") {
|
|
93
|
-
f.callback = null, r = f.priorityLevel;
|
|
94
|
-
var t = u(
|
|
95
|
-
f.expirationTime <= e
|
|
96
|
-
);
|
|
97
|
-
if (e = l.unstable_now(), typeof t == "function") {
|
|
98
|
-
f.callback = t, w(e), a = !0;
|
|
99
|
-
break n;
|
|
100
|
-
}
|
|
101
|
-
f === s(c) && _(c), w(e);
|
|
102
|
-
} else _(c);
|
|
103
|
-
f = s(c);
|
|
104
|
-
}
|
|
105
|
-
if (f !== null) a = !0;
|
|
106
|
-
else {
|
|
107
|
-
var P = s(i);
|
|
108
|
-
P !== null && R(
|
|
109
|
-
D,
|
|
110
|
-
P.startTime - e
|
|
111
|
-
), a = !1;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
break e;
|
|
115
|
-
} finally {
|
|
116
|
-
f = null, r = n, H = !1;
|
|
117
|
-
}
|
|
118
|
-
a = void 0;
|
|
119
|
-
}
|
|
120
|
-
} finally {
|
|
121
|
-
a ? v() : b = !1;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
var v;
|
|
126
|
-
if (typeof Q == "function")
|
|
127
|
-
v = function() {
|
|
128
|
-
Q(I);
|
|
129
|
-
};
|
|
130
|
-
else if (typeof MessageChannel < "u") {
|
|
131
|
-
var M = new MessageChannel(), K = M.port2;
|
|
132
|
-
M.port1.onmessage = I, v = function() {
|
|
133
|
-
K.postMessage(null);
|
|
134
|
-
};
|
|
135
|
-
} else
|
|
136
|
-
v = function() {
|
|
137
|
-
q(I, 0);
|
|
138
|
-
};
|
|
139
|
-
function R(e, a) {
|
|
140
|
-
k = q(function() {
|
|
141
|
-
e(l.unstable_now());
|
|
142
|
-
}, a);
|
|
143
|
-
}
|
|
144
|
-
l.unstable_IdlePriority = 5, l.unstable_ImmediatePriority = 1, l.unstable_LowPriority = 4, l.unstable_NormalPriority = 3, l.unstable_Profiling = null, l.unstable_UserBlockingPriority = 2, l.unstable_cancelCallback = function(e) {
|
|
145
|
-
e.callback = null;
|
|
146
|
-
}, l.unstable_forceFrameRate = function(e) {
|
|
147
|
-
0 > e || 125 < e ? console.error(
|
|
148
|
-
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
149
|
-
) : Y = 0 < e ? Math.floor(1e3 / e) : 5;
|
|
150
|
-
}, l.unstable_getCurrentPriorityLevel = function() {
|
|
151
|
-
return r;
|
|
152
|
-
}, l.unstable_next = function(e) {
|
|
153
|
-
switch (r) {
|
|
154
|
-
case 1:
|
|
155
|
-
case 2:
|
|
156
|
-
case 3:
|
|
157
|
-
var a = 3;
|
|
158
|
-
break;
|
|
159
|
-
default:
|
|
160
|
-
a = r;
|
|
161
|
-
}
|
|
162
|
-
var n = r;
|
|
163
|
-
r = a;
|
|
164
|
-
try {
|
|
165
|
-
return e();
|
|
166
|
-
} finally {
|
|
167
|
-
r = n;
|
|
168
|
-
}
|
|
169
|
-
}, l.unstable_requestPaint = function() {
|
|
170
|
-
S = !0;
|
|
171
|
-
}, l.unstable_runWithPriority = function(e, a) {
|
|
172
|
-
switch (e) {
|
|
173
|
-
case 1:
|
|
174
|
-
case 2:
|
|
175
|
-
case 3:
|
|
176
|
-
case 4:
|
|
177
|
-
case 5:
|
|
178
|
-
break;
|
|
179
|
-
default:
|
|
180
|
-
e = 3;
|
|
181
|
-
}
|
|
182
|
-
var n = r;
|
|
183
|
-
r = e;
|
|
184
|
-
try {
|
|
185
|
-
return a();
|
|
186
|
-
} finally {
|
|
187
|
-
r = n;
|
|
188
|
-
}
|
|
189
|
-
}, l.unstable_scheduleCallback = function(e, a, n) {
|
|
190
|
-
var u = l.unstable_now();
|
|
191
|
-
switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
|
|
192
|
-
case 1:
|
|
193
|
-
var t = -1;
|
|
194
|
-
break;
|
|
195
|
-
case 2:
|
|
196
|
-
t = 250;
|
|
197
|
-
break;
|
|
198
|
-
case 5:
|
|
199
|
-
t = 1073741823;
|
|
200
|
-
break;
|
|
201
|
-
case 4:
|
|
202
|
-
t = 1e4;
|
|
203
|
-
break;
|
|
204
|
-
default:
|
|
205
|
-
t = 5e3;
|
|
206
|
-
}
|
|
207
|
-
return t = n + t, e = {
|
|
208
|
-
id: J++,
|
|
209
|
-
callback: a,
|
|
210
|
-
priorityLevel: e,
|
|
211
|
-
startTime: n,
|
|
212
|
-
expirationTime: t,
|
|
213
|
-
sortIndex: -1
|
|
214
|
-
}, n > u ? (e.sortIndex = n, g(i, e), s(c) === null && e === s(i) && (y ? (F(k), k = -1) : y = !0, R(D, n - u))) : (e.sortIndex = t, g(c, e), d || H || (d = !0, b || (b = !0, v()))), e;
|
|
215
|
-
}, l.unstable_shouldYield = E, l.unstable_wrapCallback = function(e) {
|
|
216
|
-
var a = r;
|
|
217
|
-
return function() {
|
|
218
|
-
var n = r;
|
|
219
|
-
r = a;
|
|
220
|
-
try {
|
|
221
|
-
return e.apply(this, arguments);
|
|
222
|
-
} finally {
|
|
223
|
-
r = n;
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
})(z);
|
|
228
|
-
N.exports = z;
|
|
229
|
-
var O = N.exports;
|
|
230
|
-
export {
|
|
231
|
-
O as s
|
|
232
|
-
};
|