@jsenv/cli 0.3.1 → 0.3.4
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/package.json +3 -3
- package/template-node-package/package.json +4 -4
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +2 -2
- package/template-web/.jsenv/shape/index.html +1 -1
- package/template-web/.jsenv/shape/main.js +1 -1
- package/template-web/.jsenv/shape/main.nomodule7js_module_fallback=.js +1 -1
- package/template-web/dist/index.html +1 -1
- package/template-web/dist/js/main.nomodule.js +1 -1
- package/template-web/package.json +5 -5
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +2 -2
- package/template-web-components/.jsenv/shape/index.html +1 -1
- package/template-web-components/.jsenv/shape/main.js +1 -1
- package/template-web-components/.jsenv/shape/main.nomodule7js_module_fallback=.js +1 -1
- package/template-web-components/dist/index.html +1 -1
- package/template-web-components/dist/js/main.nomodule.js +1 -1
- package/template-web-components/package.json +5 -5
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +2 -2
- package/template-web-preact/.jsenv/shape/index.html +1 -1
- package/template-web-preact/.jsenv/shape/main.jsx +1 -1
- package/template-web-preact/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +1 -1
- package/template-web-preact/dist/index.html +1 -1
- package/template-web-preact/dist/js/main.nomodule.js +1 -1
- package/template-web-preact/package.json +6 -6
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime7cjs_as_js_module=.jsx +3 -3
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react7cjs_as_js_module=.jsx +14 -211
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +91 -288
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +2 -2
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +18 -225
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +104 -311
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/__compile_context__.json +1 -1
- package/template-web-react/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/vendors.js +1 -0
- package/template-web-react/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/vendors.nomodule7js_module_fallback=.js +1 -0
- package/template-web-react/.jsenv/shape/index.html +2 -2
- package/template-web-react/.jsenv/shape/main.jsx +1 -1
- package/template-web-react/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +1 -1
- package/template-web-react/dist/index.html +2 -2
- package/template-web-react/dist/js/main.nomodule.js +1 -1
- package/template-web-react/dist/js/vendors.nomodule.js +1 -1
- package/template-web-react/package.json +6 -6
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/computeKey.js +0 -38
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/computeKey.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/constants.js +0 -13
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/index.js +0 -210
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/index.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/catchError.js +0 -17
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/catchError.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/debounceRendering.js +0 -21
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/debounceRendering.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/signaturesForType.js +0 -2
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/unmount.js +0 -20
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/unmount.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/vnode.js +0 -68
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/vnode.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0 -3
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/@prefresh/utils/src/index.js +0 -43
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/debug/dist/debug.module.js +0 -2
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/debug/dist/debug.module.js.map +0 -181
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/devtools/dist/devtools.module.js +0 -2
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/devtools/dist/devtools.module.js.map +0 -29
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +0 -2
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js.map +0 -270
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js +0 -195
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js.map +0 -168
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +0 -2
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +0 -77
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/packages/internal/ast/src/html/html_src_set.js +0 -18
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/packages/internal/plugin-supervisor/src/client/supervisor.js +0 -1360
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/packages/related/plugin-preact/src/client/preact_refresh.js +0 -36
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/packages/related/plugin-preact/src/client/preact_refresh.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/src/plugins/autoreload/client/autoreload.js +0 -382
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/src/plugins/autoreload/client/autoreload.js.map +0 -11
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/src/plugins/import_meta_hot/client/import_meta_hot.js +0 -81
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/src/plugins/ribbon/client/ribbon.js +0 -93
- package/template-web-preact/.jsenv/chrome@131.00/@fs/Users/dmail/Documents/dev/core/src/plugins/server_events/client/server_events_client.js +0 -461
- package/template-web-preact/.jsenv/chrome@131.00/app/app.css +0 -43
- package/template-web-preact/.jsenv/chrome@131.00/app/app.jsx +0 -95
- package/template-web-preact/.jsenv/chrome@131.00/app/app.jsx.map +0 -44
- package/template-web-preact/.jsenv/chrome@131.00/app/counter.jsx +0 -45
- package/template-web-preact/.jsenv/chrome@131.00/app/counter.jsx.map +0 -33
- package/template-web-preact/.jsenv/chrome@131.00/index.html +0 -68
- package/template-web-preact/.jsenv/chrome@131.00/index.html@L11C7-L15C16.js +0 -5
- package/template-web-preact/.jsenv/chrome@131.00/index.html@L7C5-L21C13.css +0 -10
- package/template-web-preact/.jsenv/chrome@131.00/main.jsx +0 -10
- package/template-web-preact/.jsenv/chrome@131.00/main.jsx.map +0 -24
- package/template-web-preact/.jsenv/chrome@131.00/preact_logo.svg +0 -6
- package/template-web-react/.jsenv/shape/vendors.js +0 -1
- package/template-web-react/.jsenv/shape/vendors.nomodule7js_module_fallback=.js +0 -1
- /package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/independent/frontend/custom-elements-redefine/src/{main.js → @jsenv_custom-elements-redefine_main.js} +0 -0
- /package/template-web-preact/.jsenv/shape/{vendors.js → @fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/vendors.js} +0 -0
- /package/template-web-preact/.jsenv/shape/{vendors.nomodule7js_module_fallback=.js → @fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/vendors.nomodule7js_module_fallback=.js} +0 -0
|
@@ -6,213 +6,16 @@ var client = {
|
|
|
6
6
|
exports: {}
|
|
7
7
|
};
|
|
8
8
|
var global = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
|
|
9
|
-
|
|
10
|
-
// shim for using process in browser
|
|
11
|
-
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
12
|
-
|
|
13
|
-
function defaultSetTimout() {
|
|
14
|
-
throw new Error('setTimeout has not been defined');
|
|
15
|
-
}
|
|
16
|
-
function defaultClearTimeout() {
|
|
17
|
-
throw new Error('clearTimeout has not been defined');
|
|
18
|
-
}
|
|
19
|
-
var cachedSetTimeout = defaultSetTimout;
|
|
20
|
-
var cachedClearTimeout = defaultClearTimeout;
|
|
21
|
-
if (typeof global.setTimeout === 'function') {
|
|
22
|
-
cachedSetTimeout = setTimeout;
|
|
23
|
-
}
|
|
24
|
-
if (typeof global.clearTimeout === 'function') {
|
|
25
|
-
cachedClearTimeout = clearTimeout;
|
|
26
|
-
}
|
|
27
|
-
function runTimeout(fun) {
|
|
28
|
-
if (cachedSetTimeout === setTimeout) {
|
|
29
|
-
//normal enviroments in sane situations
|
|
30
|
-
return setTimeout(fun, 0);
|
|
31
|
-
}
|
|
32
|
-
// if setTimeout wasn't available but was latter defined
|
|
33
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
34
|
-
cachedSetTimeout = setTimeout;
|
|
35
|
-
return setTimeout(fun, 0);
|
|
36
|
-
}
|
|
37
|
-
try {
|
|
38
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
39
|
-
return cachedSetTimeout(fun, 0);
|
|
40
|
-
} catch (e) {
|
|
41
|
-
try {
|
|
42
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the globalThis object when called normally
|
|
43
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
44
|
-
} catch (e) {
|
|
45
|
-
// same as above but when it's a version of I.E. that must have the globalThis object for 'this', hopfully our context correct otherwise it will throw a globalThis error
|
|
46
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function runClearTimeout(marker) {
|
|
51
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
52
|
-
//normal enviroments in sane situations
|
|
53
|
-
return clearTimeout(marker);
|
|
54
|
-
}
|
|
55
|
-
// if clearTimeout wasn't available but was latter defined
|
|
56
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
57
|
-
cachedClearTimeout = clearTimeout;
|
|
58
|
-
return clearTimeout(marker);
|
|
59
|
-
}
|
|
60
|
-
try {
|
|
61
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
62
|
-
return cachedClearTimeout(marker);
|
|
63
|
-
} catch (e) {
|
|
64
|
-
try {
|
|
65
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the globalThis object when called normally
|
|
66
|
-
return cachedClearTimeout.call(null, marker);
|
|
67
|
-
} catch (e) {
|
|
68
|
-
// same as above but when it's a version of I.E. that must have the globalThis object for 'this', hopfully our context correct otherwise it will throw a globalThis error.
|
|
69
|
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
70
|
-
return cachedClearTimeout.call(this, marker);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
var queue = [];
|
|
75
|
-
var draining = false;
|
|
76
|
-
var currentQueue;
|
|
77
|
-
var queueIndex = -1;
|
|
78
|
-
function cleanUpNextTick() {
|
|
79
|
-
if (!draining || !currentQueue) {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
draining = false;
|
|
83
|
-
if (currentQueue.length) {
|
|
84
|
-
queue = currentQueue.concat(queue);
|
|
85
|
-
} else {
|
|
86
|
-
queueIndex = -1;
|
|
87
|
-
}
|
|
88
|
-
if (queue.length) {
|
|
89
|
-
drainQueue();
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function drainQueue() {
|
|
93
|
-
if (draining) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
97
|
-
draining = true;
|
|
98
|
-
var len = queue.length;
|
|
99
|
-
while (len) {
|
|
100
|
-
currentQueue = queue;
|
|
101
|
-
queue = [];
|
|
102
|
-
while (++queueIndex < len) {
|
|
103
|
-
if (currentQueue) {
|
|
104
|
-
currentQueue[queueIndex].run();
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
queueIndex = -1;
|
|
108
|
-
len = queue.length;
|
|
109
|
-
}
|
|
110
|
-
currentQueue = null;
|
|
111
|
-
draining = false;
|
|
112
|
-
runClearTimeout(timeout);
|
|
113
|
-
}
|
|
114
|
-
function nextTick(fun) {
|
|
115
|
-
var args = new Array(arguments.length - 1);
|
|
116
|
-
if (arguments.length > 1) {
|
|
117
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
118
|
-
args[i - 1] = arguments[i];
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
queue.push(new Item(fun, args));
|
|
122
|
-
if (queue.length === 1 && !draining) {
|
|
123
|
-
runTimeout(drainQueue);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
// v8 likes predictible objects
|
|
127
|
-
function Item(fun, array) {
|
|
128
|
-
this.fun = fun;
|
|
129
|
-
this.array = array;
|
|
130
|
-
}
|
|
131
|
-
Item.prototype.run = function () {
|
|
132
|
-
this.fun.apply(null, this.array);
|
|
133
|
-
};
|
|
134
|
-
var title = 'browser';
|
|
135
|
-
var platform = 'browser';
|
|
136
|
-
var browser = true;
|
|
137
|
-
var env = {};
|
|
138
|
-
var argv = [];
|
|
139
|
-
var version = ''; // empty string to avoid regexp issues
|
|
140
|
-
var versions = {};
|
|
141
|
-
var release = {};
|
|
142
|
-
var config = {};
|
|
143
9
|
function noop() {}
|
|
144
|
-
var on = noop;
|
|
145
|
-
var addListener = noop;
|
|
146
|
-
var once = noop;
|
|
147
|
-
var off = noop;
|
|
148
|
-
var removeListener = noop;
|
|
149
|
-
var removeAllListeners = noop;
|
|
150
10
|
var emit = noop;
|
|
151
|
-
function binding(name) {
|
|
152
|
-
throw new Error('process.binding is not supported');
|
|
153
|
-
}
|
|
154
|
-
function cwd() {
|
|
155
|
-
return '/';
|
|
156
|
-
}
|
|
157
|
-
function chdir(dir) {
|
|
158
|
-
throw new Error('process.chdir is not supported');
|
|
159
|
-
}
|
|
160
|
-
function umask() {
|
|
161
|
-
return 0;
|
|
162
|
-
}
|
|
163
11
|
|
|
164
12
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
165
13
|
var performance$1 = global.performance || {};
|
|
166
|
-
|
|
14
|
+
performance$1.now || performance$1.mozNow || performance$1.msNow || performance$1.oNow || performance$1.webkitNow || function () {
|
|
167
15
|
return new Date().getTime();
|
|
168
16
|
};
|
|
169
|
-
|
|
170
|
-
// generate timestamp or delta
|
|
171
|
-
// see http://nodejs.org/api/process.html#process_process_hrtime
|
|
172
|
-
function hrtime(previousTimestamp) {
|
|
173
|
-
var clocktime = performanceNow.call(performance$1) * 1e-3;
|
|
174
|
-
var seconds = Math.floor(clocktime);
|
|
175
|
-
var nanoseconds = Math.floor(clocktime % 1 * 1e9);
|
|
176
|
-
if (previousTimestamp) {
|
|
177
|
-
seconds = seconds - previousTimestamp[0];
|
|
178
|
-
nanoseconds = nanoseconds - previousTimestamp[1];
|
|
179
|
-
if (nanoseconds < 0) {
|
|
180
|
-
seconds--;
|
|
181
|
-
nanoseconds += 1e9;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
return [seconds, nanoseconds];
|
|
185
|
-
}
|
|
186
|
-
var startTime = new Date();
|
|
187
|
-
function uptime() {
|
|
188
|
-
var currentTime = new Date();
|
|
189
|
-
var dif = currentTime - startTime;
|
|
190
|
-
return dif / 1000;
|
|
191
|
-
}
|
|
192
17
|
var process = {
|
|
193
|
-
|
|
194
|
-
title: title,
|
|
195
|
-
browser: browser,
|
|
196
|
-
env: env,
|
|
197
|
-
argv: argv,
|
|
198
|
-
version: version,
|
|
199
|
-
versions: versions,
|
|
200
|
-
on: on,
|
|
201
|
-
addListener: addListener,
|
|
202
|
-
once: once,
|
|
203
|
-
off: off,
|
|
204
|
-
removeListener: removeListener,
|
|
205
|
-
removeAllListeners: removeAllListeners,
|
|
206
|
-
emit: emit,
|
|
207
|
-
binding: binding,
|
|
208
|
-
cwd: cwd,
|
|
209
|
-
chdir: chdir,
|
|
210
|
-
umask: umask,
|
|
211
|
-
hrtime: hrtime,
|
|
212
|
-
platform: platform,
|
|
213
|
-
release: release,
|
|
214
|
-
config: config,
|
|
215
|
-
uptime: uptime
|
|
18
|
+
emit: emit
|
|
216
19
|
};
|
|
217
20
|
var reactDomClient_production = {};
|
|
218
21
|
var scheduler = {
|
|
@@ -267,7 +70,7 @@ function requireScheduler_production() {
|
|
|
267
70
|
var diff = a.sortIndex - b.sortIndex;
|
|
268
71
|
return 0 !== diff ? diff : a.id - b.id;
|
|
269
72
|
}
|
|
270
|
-
exports.unstable_now =
|
|
73
|
+
exports.unstable_now = void 0;
|
|
271
74
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
272
75
|
var localPerformance = performance;
|
|
273
76
|
exports.unstable_now = function () {
|
|
@@ -546,7 +349,7 @@ function requireReactDom_production() {
|
|
|
546
349
|
},
|
|
547
350
|
REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
548
351
|
function createPortal$1(children, containerInfo, implementation) {
|
|
549
|
-
var key = 3 < arguments.length &&
|
|
352
|
+
var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
550
353
|
return {
|
|
551
354
|
$$typeof: REACT_PORTAL_TYPE,
|
|
552
355
|
key: null == key ? null : "" + key,
|
|
@@ -562,7 +365,7 @@ function requireReactDom_production() {
|
|
|
562
365
|
}
|
|
563
366
|
reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
|
564
367
|
reactDom_production.createPortal = function (children, container) {
|
|
565
|
-
var key = 2 < arguments.length &&
|
|
368
|
+
var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
566
369
|
if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
|
|
567
370
|
return createPortal$1(children, container, null, key);
|
|
568
371
|
};
|
|
@@ -576,7 +379,7 @@ function requireReactDom_production() {
|
|
|
576
379
|
}
|
|
577
380
|
};
|
|
578
381
|
reactDom_production.preconnect = function (href, options) {
|
|
579
|
-
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" :
|
|
382
|
+
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
|
|
580
383
|
};
|
|
581
384
|
reactDom_production.prefetchDNS = function (href) {
|
|
582
385
|
"string" === typeof href && Internals.d.D(href);
|
|
@@ -585,9 +388,9 @@ function requireReactDom_production() {
|
|
|
585
388
|
if ("string" === typeof href && options && "string" === typeof options.as) {
|
|
586
389
|
var as = options.as,
|
|
587
390
|
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
|
|
588
|
-
integrity = "string" === typeof options.integrity ? options.integrity :
|
|
589
|
-
fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority :
|
|
590
|
-
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence :
|
|
391
|
+
integrity = "string" === typeof options.integrity ? options.integrity : void 0,
|
|
392
|
+
fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
|
|
393
|
+
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
|
|
591
394
|
crossOrigin: crossOrigin,
|
|
592
395
|
integrity: integrity,
|
|
593
396
|
fetchPriority: fetchPriority
|
|
@@ -595,7 +398,7 @@ function requireReactDom_production() {
|
|
|
595
398
|
crossOrigin: crossOrigin,
|
|
596
399
|
integrity: integrity,
|
|
597
400
|
fetchPriority: fetchPriority,
|
|
598
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
401
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
599
402
|
});
|
|
600
403
|
}
|
|
601
404
|
};
|
|
@@ -605,8 +408,8 @@ function requireReactDom_production() {
|
|
|
605
408
|
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
606
409
|
Internals.d.M(href, {
|
|
607
410
|
crossOrigin: crossOrigin,
|
|
608
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
609
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
411
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
412
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
610
413
|
});
|
|
611
414
|
}
|
|
612
415
|
} else null == options && Internals.d.M(href);
|
|
@@ -617,14 +420,14 @@ function requireReactDom_production() {
|
|
|
617
420
|
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
|
|
618
421
|
Internals.d.L(href, as, {
|
|
619
422
|
crossOrigin: crossOrigin,
|
|
620
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
621
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
622
|
-
type: "string" === typeof options.type ? options.type :
|
|
623
|
-
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority :
|
|
624
|
-
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy :
|
|
625
|
-
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet :
|
|
626
|
-
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes :
|
|
627
|
-
media: "string" === typeof options.media ? options.media :
|
|
423
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
424
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0,
|
|
425
|
+
type: "string" === typeof options.type ? options.type : void 0,
|
|
426
|
+
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
|
|
427
|
+
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
|
|
428
|
+
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
|
|
429
|
+
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
|
|
430
|
+
media: "string" === typeof options.media ? options.media : void 0
|
|
628
431
|
});
|
|
629
432
|
}
|
|
630
433
|
};
|
|
@@ -632,9 +435,9 @@ function requireReactDom_production() {
|
|
|
632
435
|
if ("string" === typeof href) if (options) {
|
|
633
436
|
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
634
437
|
Internals.d.m(href, {
|
|
635
|
-
as: "string" === typeof options.as && "script" !== options.as ? options.as :
|
|
438
|
+
as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
|
|
636
439
|
crossOrigin: crossOrigin,
|
|
637
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
440
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0
|
|
638
441
|
});
|
|
639
442
|
} else Internals.d.m(href);
|
|
640
443
|
};
|
|
@@ -764,7 +567,7 @@ function requireReactDomClient_production() {
|
|
|
764
567
|
prefix,
|
|
765
568
|
suffix;
|
|
766
569
|
function describeBuiltInComponentFrame(name) {
|
|
767
|
-
if (
|
|
570
|
+
if (void 0 === prefix) try {
|
|
768
571
|
throw Error();
|
|
769
572
|
} catch (x) {
|
|
770
573
|
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
@@ -778,7 +581,7 @@ function requireReactDomClient_production() {
|
|
|
778
581
|
if (!fn || reentry) return "";
|
|
779
582
|
reentry = true;
|
|
780
583
|
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
781
|
-
Error.prepareStackTrace =
|
|
584
|
+
Error.prepareStackTrace = void 0;
|
|
782
585
|
try {
|
|
783
586
|
var RunInRootFrame = {
|
|
784
587
|
DetermineComponentFrameRoot: function () {
|
|
@@ -1264,7 +1067,7 @@ function requireReactDomClient_production() {
|
|
|
1264
1067
|
var updatePriority = ReactDOMSharedInternals.p;
|
|
1265
1068
|
if (0 !== updatePriority) return updatePriority;
|
|
1266
1069
|
updatePriority = window.event;
|
|
1267
|
-
return
|
|
1070
|
+
return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);
|
|
1268
1071
|
}
|
|
1269
1072
|
function runWithPriority(priority, fn) {
|
|
1270
1073
|
var previousPriority = ReactDOMSharedInternals.p;
|
|
@@ -1461,7 +1264,7 @@ function requireReactDomClient_production() {
|
|
|
1461
1264
|
return node !== lastValue ? (tracker.setValue(node), true) : false;
|
|
1462
1265
|
}
|
|
1463
1266
|
function getActiveElement(doc) {
|
|
1464
|
-
doc = doc || ("undefined" !== typeof document ? document :
|
|
1267
|
+
doc = doc || ("undefined" !== typeof document ? document : void 0);
|
|
1465
1268
|
if ("undefined" === typeof doc) return null;
|
|
1466
1269
|
try {
|
|
1467
1270
|
return doc.activeElement || doc.body;
|
|
@@ -1491,7 +1294,7 @@ function requireReactDomClient_production() {
|
|
|
1491
1294
|
function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating) {
|
|
1492
1295
|
null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (element.type = type);
|
|
1493
1296
|
if (null != value || null != defaultValue) {
|
|
1494
|
-
if (!("submit" !== type && "reset" !== type ||
|
|
1297
|
+
if (!("submit" !== type && "reset" !== type || void 0 !== value && null !== value)) return;
|
|
1495
1298
|
defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : "";
|
|
1496
1299
|
value = null != value ? "" + getToStringValue(value) : defaultValue;
|
|
1497
1300
|
isHydrating || value === element.value || (element.value = value);
|
|
@@ -1699,7 +1502,7 @@ function requireReactDomClient_production() {
|
|
|
1699
1502
|
for (start = 0; start < startLength && startValue[start] === endValue[start]; start++);
|
|
1700
1503
|
var minEnd = startLength - start;
|
|
1701
1504
|
for (end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++);
|
|
1702
|
-
return fallbackText = endValue.slice(start, 1 < end ? 1 - end :
|
|
1505
|
+
return fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0);
|
|
1703
1506
|
}
|
|
1704
1507
|
function getEventCharCode(nativeEvent) {
|
|
1705
1508
|
var keyCode = nativeEvent.keyCode;
|
|
@@ -1775,7 +1578,7 @@ function requireReactDomClient_production() {
|
|
|
1775
1578
|
button: 0,
|
|
1776
1579
|
buttons: 0,
|
|
1777
1580
|
relatedTarget: function (event) {
|
|
1778
|
-
return
|
|
1581
|
+
return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;
|
|
1779
1582
|
},
|
|
1780
1583
|
movementX: function (event) {
|
|
1781
1584
|
if ("movementX" in event) return event.movementX;
|
|
@@ -2125,7 +1928,7 @@ function requireReactDomClient_production() {
|
|
|
2125
1928
|
}
|
|
2126
1929
|
node = node.parentNode;
|
|
2127
1930
|
}
|
|
2128
|
-
node =
|
|
1931
|
+
node = void 0;
|
|
2129
1932
|
}
|
|
2130
1933
|
node = getLeafNode(node);
|
|
2131
1934
|
}
|
|
@@ -2155,11 +1958,11 @@ function requireReactDomClient_production() {
|
|
|
2155
1958
|
containerInfo = priorSelectionInformation.focusedElem;
|
|
2156
1959
|
var priorSelectionRange = priorSelectionInformation.selectionRange;
|
|
2157
1960
|
if (curFocusedElem !== containerInfo && containerInfo && containerInfo.ownerDocument && containsNode(containerInfo.ownerDocument.documentElement, containerInfo)) {
|
|
2158
|
-
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo)) if (priorSelectionInformation = priorSelectionRange.start, curFocusedElem = priorSelectionRange.end,
|
|
1961
|
+
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo)) if (priorSelectionInformation = priorSelectionRange.start, curFocusedElem = priorSelectionRange.end, void 0 === curFocusedElem && (curFocusedElem = priorSelectionInformation), "selectionStart" in containerInfo) containerInfo.selectionStart = priorSelectionInformation, containerInfo.selectionEnd = Math.min(curFocusedElem, containerInfo.value.length);else if (curFocusedElem = (priorSelectionInformation = containerInfo.ownerDocument || document) && priorSelectionInformation.defaultView || window, curFocusedElem.getSelection) {
|
|
2159
1962
|
curFocusedElem = curFocusedElem.getSelection();
|
|
2160
1963
|
var length = containerInfo.textContent.length,
|
|
2161
1964
|
start = Math.min(priorSelectionRange.start, length);
|
|
2162
|
-
priorSelectionRange =
|
|
1965
|
+
priorSelectionRange = void 0 === priorSelectionRange.end ? start : Math.min(priorSelectionRange.end, length);
|
|
2163
1966
|
!curFocusedElem.extend && start > priorSelectionRange && (length = priorSelectionRange, priorSelectionRange = start, start = length);
|
|
2164
1967
|
length = getNodeForCharacterOffset(containerInfo, start);
|
|
2165
1968
|
var endMarker = getNodeForCharacterOffset(containerInfo, priorSelectionRange);
|
|
@@ -2291,7 +2094,7 @@ function requireReactDomClient_production() {
|
|
|
2291
2094
|
function createCapturedValueAtFiber(value, source) {
|
|
2292
2095
|
if ("object" === typeof value && null !== value) {
|
|
2293
2096
|
var existing = CapturedStacks.get(value);
|
|
2294
|
-
if (
|
|
2097
|
+
if (void 0 !== existing) return existing;
|
|
2295
2098
|
source = {
|
|
2296
2099
|
value: value,
|
|
2297
2100
|
source: source,
|
|
@@ -2472,7 +2275,7 @@ function requireReactDomClient_production() {
|
|
|
2472
2275
|
function noop$3() {}
|
|
2473
2276
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
2474
2277
|
index = thenableState[index];
|
|
2475
|
-
|
|
2278
|
+
void 0 === index ? thenableState.push(thenable) : index !== thenable && (thenable.then(noop$3, noop$3), thenable = index);
|
|
2476
2279
|
switch (thenable.status) {
|
|
2477
2280
|
case "fulfilled":
|
|
2478
2281
|
return thenable.value;
|
|
@@ -2529,7 +2332,7 @@ function requireReactDomClient_production() {
|
|
|
2529
2332
|
}
|
|
2530
2333
|
function coerceRef(workInProgress, element) {
|
|
2531
2334
|
element = element.props.ref;
|
|
2532
|
-
workInProgress.ref =
|
|
2335
|
+
workInProgress.ref = void 0 !== element ? element : null;
|
|
2533
2336
|
}
|
|
2534
2337
|
function throwOnInvalidObjectType(returnFiber, newChild) {
|
|
2535
2338
|
if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error(formatProdErrorMessage(525));
|
|
@@ -2851,7 +2654,7 @@ function requireReactDomClient_production() {
|
|
|
2851
2654
|
if (13 === node.tag) {
|
|
2852
2655
|
var state = node.memoizedState;
|
|
2853
2656
|
if (null !== state && (state = state.dehydrated, null === state || "$?" === state.data || "$!" === state.data)) return node;
|
|
2854
|
-
} else if (19 === node.tag &&
|
|
2657
|
+
} else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {
|
|
2855
2658
|
if (0 !== (node.flags & 128)) return node;
|
|
2856
2659
|
} else if (null !== node.child) {
|
|
2857
2660
|
node.child.return = node;
|
|
@@ -2917,7 +2720,7 @@ function requireReactDomClient_production() {
|
|
|
2917
2720
|
currentEntangledLane = requestTransitionLane();
|
|
2918
2721
|
currentEntangledActionThenable = {
|
|
2919
2722
|
status: "pending",
|
|
2920
|
-
value:
|
|
2723
|
+
value: void 0,
|
|
2921
2724
|
then: function (resolve) {
|
|
2922
2725
|
entangledListeners.push(resolve);
|
|
2923
2726
|
}
|
|
@@ -2954,7 +2757,7 @@ function requireReactDomClient_production() {
|
|
|
2954
2757
|
}, function (error) {
|
|
2955
2758
|
thenableWithOverride.status = "rejected";
|
|
2956
2759
|
thenableWithOverride.reason = error;
|
|
2957
|
-
for (error = 0; error < listeners.length; error++) (0, listeners[error])(
|
|
2760
|
+
for (error = 0; error < listeners.length; error++) (0, listeners[error])(void 0);
|
|
2958
2761
|
});
|
|
2959
2762
|
return thenableWithOverride;
|
|
2960
2763
|
}
|
|
@@ -3156,7 +2959,7 @@ function requireReactDomClient_production() {
|
|
|
3156
2959
|
null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber$1.updateQueue = updateQueue);
|
|
3157
2960
|
updateQueue.memoCache = memoCache;
|
|
3158
2961
|
updateQueue = memoCache.data[memoCache.index];
|
|
3159
|
-
if (
|
|
2962
|
+
if (void 0 === updateQueue) for (updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++) updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;
|
|
3160
2963
|
memoCache.index++;
|
|
3161
2964
|
return updateQueue;
|
|
3162
2965
|
}
|
|
@@ -3259,7 +3062,7 @@ function requireReactDomClient_production() {
|
|
|
3259
3062
|
hook = updateWorkInProgressHook(),
|
|
3260
3063
|
isHydrating$jscomp$0 = isHydrating;
|
|
3261
3064
|
if (isHydrating$jscomp$0) {
|
|
3262
|
-
if (
|
|
3065
|
+
if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
|
|
3263
3066
|
getServerSnapshot = getServerSnapshot();
|
|
3264
3067
|
} else getServerSnapshot = getSnapshot();
|
|
3265
3068
|
var snapshotChanged = !objectIs((currentHook || hook).memoizedState, getServerSnapshot);
|
|
@@ -3269,7 +3072,7 @@ function requireReactDomClient_production() {
|
|
|
3269
3072
|
if (hook.getSnapshot !== getSnapshot || snapshotChanged || null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) {
|
|
3270
3073
|
fiber.flags |= 2048;
|
|
3271
3074
|
pushEffect(9, updateStoreInstance.bind(null, fiber, hook, getServerSnapshot, getSnapshot), {
|
|
3272
|
-
destroy:
|
|
3075
|
+
destroy: void 0
|
|
3273
3076
|
}, null);
|
|
3274
3077
|
if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));
|
|
3275
3078
|
isHydrating$jscomp$0 || 0 !== (renderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
|
@@ -3491,7 +3294,7 @@ function requireReactDomClient_production() {
|
|
|
3491
3294
|
actionQueue = actionQueueHook.queue,
|
|
3492
3295
|
dispatch = actionQueue.dispatch;
|
|
3493
3296
|
action !== actionQueueHook.memoizedState && (currentlyRenderingFiber$1.flags |= 2048, pushEffect(9, actionStateActionEffect.bind(null, actionQueue, action), {
|
|
3494
|
-
destroy:
|
|
3297
|
+
destroy: void 0
|
|
3495
3298
|
}, null));
|
|
3496
3299
|
return [currentStateHook, dispatch, stateHook];
|
|
3497
3300
|
}
|
|
@@ -3530,12 +3333,12 @@ function requireReactDomClient_production() {
|
|
|
3530
3333
|
var hook = mountWorkInProgressHook();
|
|
3531
3334
|
currentlyRenderingFiber$1.flags |= fiberFlags;
|
|
3532
3335
|
hook.memoizedState = pushEffect(1 | hookFlags, create, {
|
|
3533
|
-
destroy:
|
|
3534
|
-
},
|
|
3336
|
+
destroy: void 0
|
|
3337
|
+
}, void 0 === deps ? null : deps);
|
|
3535
3338
|
}
|
|
3536
3339
|
function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
|
|
3537
3340
|
var hook = updateWorkInProgressHook();
|
|
3538
|
-
deps =
|
|
3341
|
+
deps = void 0 === deps ? null : deps;
|
|
3539
3342
|
var inst = hook.memoizedState.inst;
|
|
3540
3343
|
null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? hook.memoizedState = pushEffect(hookFlags, create, inst, deps) : (currentlyRenderingFiber$1.flags |= fiberFlags, hook.memoizedState = pushEffect(1 | hookFlags, create, inst, deps));
|
|
3541
3344
|
}
|
|
@@ -3559,18 +3362,18 @@ function requireReactDomClient_production() {
|
|
|
3559
3362
|
"function" === typeof refCleanup ? refCleanup() : ref(null);
|
|
3560
3363
|
};
|
|
3561
3364
|
}
|
|
3562
|
-
if (null !== ref &&
|
|
3365
|
+
if (null !== ref && void 0 !== ref) return create = create(), ref.current = create, function () {
|
|
3563
3366
|
ref.current = null;
|
|
3564
3367
|
};
|
|
3565
3368
|
}
|
|
3566
3369
|
function updateImperativeHandle(ref, create, deps) {
|
|
3567
|
-
deps = null !== deps &&
|
|
3370
|
+
deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
|
|
3568
3371
|
updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);
|
|
3569
3372
|
}
|
|
3570
3373
|
function mountDebugValue() {}
|
|
3571
3374
|
function updateCallback(callback, deps) {
|
|
3572
3375
|
var hook = updateWorkInProgressHook();
|
|
3573
|
-
deps =
|
|
3376
|
+
deps = void 0 === deps ? null : deps;
|
|
3574
3377
|
var prevState = hook.memoizedState;
|
|
3575
3378
|
if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0];
|
|
3576
3379
|
hook.memoizedState = [callback, deps];
|
|
@@ -3578,7 +3381,7 @@ function requireReactDomClient_production() {
|
|
|
3578
3381
|
}
|
|
3579
3382
|
function updateMemo(nextCreate, deps) {
|
|
3580
3383
|
var hook = updateWorkInProgressHook();
|
|
3581
|
-
deps =
|
|
3384
|
+
deps = void 0 === deps ? null : deps;
|
|
3582
3385
|
var prevState = hook.memoizedState;
|
|
3583
3386
|
if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0];
|
|
3584
3387
|
prevState = nextCreate();
|
|
@@ -3594,7 +3397,7 @@ function requireReactDomClient_production() {
|
|
|
3594
3397
|
return prevState;
|
|
3595
3398
|
}
|
|
3596
3399
|
function mountDeferredValueImpl(hook, value, initialValue) {
|
|
3597
|
-
if (
|
|
3400
|
+
if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) return hook.memoizedState = value;
|
|
3598
3401
|
hook.memoizedState = initialValue;
|
|
3599
3402
|
hook = requestDeferredLane();
|
|
3600
3403
|
currentlyRenderingFiber$1.lanes |= hook;
|
|
@@ -3810,13 +3613,13 @@ function requireReactDomClient_production() {
|
|
|
3810
3613
|
readContext: readContext,
|
|
3811
3614
|
use: use,
|
|
3812
3615
|
useCallback: function (callback, deps) {
|
|
3813
|
-
mountWorkInProgressHook().memoizedState = [callback,
|
|
3616
|
+
mountWorkInProgressHook().memoizedState = [callback, void 0 === deps ? null : deps];
|
|
3814
3617
|
return callback;
|
|
3815
3618
|
},
|
|
3816
3619
|
useContext: readContext,
|
|
3817
3620
|
useEffect: mountEffect,
|
|
3818
3621
|
useImperativeHandle: function (ref, create, deps) {
|
|
3819
|
-
deps = null !== deps &&
|
|
3622
|
+
deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
|
|
3820
3623
|
mountEffectImpl(4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps);
|
|
3821
3624
|
},
|
|
3822
3625
|
useLayoutEffect: function (create, deps) {
|
|
@@ -3827,7 +3630,7 @@ function requireReactDomClient_production() {
|
|
|
3827
3630
|
},
|
|
3828
3631
|
useMemo: function (nextCreate, deps) {
|
|
3829
3632
|
var hook = mountWorkInProgressHook();
|
|
3830
|
-
deps =
|
|
3633
|
+
deps = void 0 === deps ? null : deps;
|
|
3831
3634
|
var nextValue = nextCreate();
|
|
3832
3635
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3833
3636
|
setIsStrictModeForDevtools(true);
|
|
@@ -3842,7 +3645,7 @@ function requireReactDomClient_production() {
|
|
|
3842
3645
|
},
|
|
3843
3646
|
useReducer: function (reducer, initialArg, init) {
|
|
3844
3647
|
var hook = mountWorkInProgressHook();
|
|
3845
|
-
if (
|
|
3648
|
+
if (void 0 !== init) {
|
|
3846
3649
|
var initialState = init(initialArg);
|
|
3847
3650
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3848
3651
|
setIsStrictModeForDevtools(true);
|
|
@@ -3894,7 +3697,7 @@ function requireReactDomClient_production() {
|
|
|
3894
3697
|
var fiber = currentlyRenderingFiber$1,
|
|
3895
3698
|
hook = mountWorkInProgressHook();
|
|
3896
3699
|
if (isHydrating) {
|
|
3897
|
-
if (
|
|
3700
|
+
if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
|
|
3898
3701
|
getServerSnapshot = getServerSnapshot();
|
|
3899
3702
|
} else {
|
|
3900
3703
|
getServerSnapshot = getSnapshot();
|
|
@@ -3910,7 +3713,7 @@ function requireReactDomClient_production() {
|
|
|
3910
3713
|
mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]);
|
|
3911
3714
|
fiber.flags |= 2048;
|
|
3912
3715
|
pushEffect(9, updateStoreInstance.bind(null, fiber, inst, getServerSnapshot, getSnapshot), {
|
|
3913
|
-
destroy:
|
|
3716
|
+
destroy: void 0
|
|
3914
3717
|
}, null);
|
|
3915
3718
|
return getServerSnapshot;
|
|
3916
3719
|
},
|
|
@@ -4030,7 +3833,7 @@ function requireReactDomClient_production() {
|
|
|
4030
3833
|
function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
|
|
4031
3834
|
ctor = workInProgress.memoizedState;
|
|
4032
3835
|
getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);
|
|
4033
|
-
getDerivedStateFromProps = null === getDerivedStateFromProps ||
|
|
3836
|
+
getDerivedStateFromProps = null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps ? ctor : assign({}, ctor, getDerivedStateFromProps);
|
|
4034
3837
|
workInProgress.memoizedState = getDerivedStateFromProps;
|
|
4035
3838
|
0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = getDerivedStateFromProps);
|
|
4036
3839
|
}
|
|
@@ -4043,7 +3846,7 @@ function requireReactDomClient_production() {
|
|
|
4043
3846
|
var lane = requestUpdateLane(),
|
|
4044
3847
|
update = createUpdate(lane);
|
|
4045
3848
|
update.payload = payload;
|
|
4046
|
-
|
|
3849
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
|
4047
3850
|
payload = enqueueUpdate(inst, update, lane);
|
|
4048
3851
|
null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane));
|
|
4049
3852
|
},
|
|
@@ -4053,7 +3856,7 @@ function requireReactDomClient_production() {
|
|
|
4053
3856
|
update = createUpdate(lane);
|
|
4054
3857
|
update.tag = 1;
|
|
4055
3858
|
update.payload = payload;
|
|
4056
|
-
|
|
3859
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
|
4057
3860
|
payload = enqueueUpdate(inst, update, lane);
|
|
4058
3861
|
null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane));
|
|
4059
3862
|
},
|
|
@@ -4062,7 +3865,7 @@ function requireReactDomClient_production() {
|
|
|
4062
3865
|
var lane = requestUpdateLane(),
|
|
4063
3866
|
update = createUpdate(lane);
|
|
4064
3867
|
update.tag = 2;
|
|
4065
|
-
|
|
3868
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
|
4066
3869
|
callback = enqueueUpdate(inst, update, lane);
|
|
4067
3870
|
null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
|
|
4068
3871
|
}
|
|
@@ -4085,7 +3888,7 @@ function requireReactDomClient_production() {
|
|
|
4085
3888
|
}
|
|
4086
3889
|
if (Component = Component.defaultProps) {
|
|
4087
3890
|
newProps === baseProps && (newProps = assign({}, newProps));
|
|
4088
|
-
for (var propName$67 in Component)
|
|
3891
|
+
for (var propName$67 in Component) void 0 === newProps[propName$67] && (newProps[propName$67] = Component[propName$67]);
|
|
4089
3892
|
}
|
|
4090
3893
|
return newProps;
|
|
4091
3894
|
}
|
|
@@ -4246,7 +4049,7 @@ function requireReactDomClient_production() {
|
|
|
4246
4049
|
function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
4247
4050
|
if (null === current) {
|
|
4248
4051
|
var type = Component.type;
|
|
4249
|
-
if ("function" === typeof type && !shouldConstruct(type) &&
|
|
4052
|
+
if ("function" === typeof type && !shouldConstruct(type) && void 0 === type.defaultProps && null === Component.compare) return workInProgress.tag = 15, workInProgress.type = type, updateSimpleMemoComponent(current, workInProgress, type, nextProps, renderLanes);
|
|
4250
4053
|
current = createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes);
|
|
4251
4054
|
current.ref = workInProgress.ref;
|
|
4252
4055
|
current.return = workInProgress;
|
|
@@ -4321,7 +4124,7 @@ function requireReactDomClient_production() {
|
|
|
4321
4124
|
}
|
|
4322
4125
|
function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
4323
4126
|
prepareToReadContext(workInProgress);
|
|
4324
|
-
Component = renderWithHooks(current, workInProgress, Component, nextProps,
|
|
4127
|
+
Component = renderWithHooks(current, workInProgress, Component, nextProps, void 0, renderLanes);
|
|
4325
4128
|
nextProps = checkDidRenderIdHook();
|
|
4326
4129
|
if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
|
|
4327
4130
|
isHydrating && nextProps && pushMaterializedTreeId(workInProgress);
|
|
@@ -4348,7 +4151,7 @@ function requireReactDomClient_production() {
|
|
|
4348
4151
|
contextType = Component.contextType;
|
|
4349
4152
|
"object" === typeof contextType && null !== contextType && (context = readContext(contextType));
|
|
4350
4153
|
context = new Component(nextProps, context);
|
|
4351
|
-
workInProgress.memoizedState = null !== context.state &&
|
|
4154
|
+
workInProgress.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null;
|
|
4352
4155
|
context.updater = classComponentUpdater;
|
|
4353
4156
|
workInProgress.stateNode = context;
|
|
4354
4157
|
context._reactInternals = workInProgress;
|
|
@@ -4664,7 +4467,7 @@ function requireReactDomClient_production() {
|
|
|
4664
4467
|
initSuspenseListRenderState(workInProgress, true, renderLanes, null, tailMode);
|
|
4665
4468
|
break;
|
|
4666
4469
|
case "together":
|
|
4667
|
-
initSuspenseListRenderState(workInProgress, false, null, null,
|
|
4470
|
+
initSuspenseListRenderState(workInProgress, false, null, null, void 0);
|
|
4668
4471
|
break;
|
|
4669
4472
|
default:
|
|
4670
4473
|
workInProgress.memoizedState = null;
|
|
@@ -4757,7 +4560,7 @@ function requireReactDomClient_production() {
|
|
|
4757
4560
|
lazyComponent = init(lazyComponent._payload);
|
|
4758
4561
|
workInProgress.type = lazyComponent;
|
|
4759
4562
|
if ("function" === typeof lazyComponent) shouldConstruct(lazyComponent) ? (current = resolveClassComponentProps(lazyComponent, current), workInProgress.tag = 1, workInProgress = updateClassComponent(null, workInProgress, lazyComponent, current, renderLanes)) : (workInProgress.tag = 0, workInProgress = updateFunctionComponent(null, workInProgress, lazyComponent, current, renderLanes));else {
|
|
4760
|
-
if (
|
|
4563
|
+
if (void 0 !== lazyComponent && null !== lazyComponent) if (init = lazyComponent.$$typeof, init === REACT_FORWARD_REF_TYPE) {
|
|
4761
4564
|
workInProgress.tag = 11;
|
|
4762
4565
|
workInProgress = updateForwardRef(null, workInProgress, lazyComponent, current, renderLanes);
|
|
4763
4566
|
break a;
|
|
@@ -5155,7 +4958,7 @@ function requireReactDomClient_production() {
|
|
|
5155
4958
|
case 0:
|
|
5156
4959
|
workInProgress = update.payload;
|
|
5157
4960
|
updateLane = "function" === typeof workInProgress ? workInProgress.call(instance, newState, updateLane) : workInProgress;
|
|
5158
|
-
if (null === updateLane ||
|
|
4961
|
+
if (null === updateLane || void 0 === updateLane) break a;
|
|
5159
4962
|
newState = assign({}, newState, updateLane);
|
|
5160
4963
|
break a;
|
|
5161
4964
|
case 2:
|
|
@@ -5345,7 +5148,7 @@ function requireReactDomClient_production() {
|
|
|
5345
5148
|
}
|
|
5346
5149
|
function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
|
5347
5150
|
var tag = node.tag;
|
|
5348
|
-
if (5 === tag || 6 === tag) node = node.stateNode, before ? 8 === parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 === parent.nodeType ? (before = parent.parentNode, before.insertBefore(node, parent)) : (before = parent, before.appendChild(node)), parent = parent._reactRootContainer, null !== parent &&
|
|
5151
|
+
if (5 === tag || 6 === tag) node = node.stateNode, before ? 8 === parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 === parent.nodeType ? (before = parent.parentNode, before.insertBefore(node, parent)) : (before = parent, before.appendChild(node)), parent = parent._reactRootContainer, null !== parent && void 0 !== parent || null !== before.onclick || (before.onclick = noop$1));else if (4 !== tag && 27 !== tag && (node = node.child, null !== node)) for (insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling; null !== node;) insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling;
|
|
5349
5152
|
}
|
|
5350
5153
|
function insertOrAppendPlacementNode(node, before, parent) {
|
|
5351
5154
|
var tag = node.tag;
|
|
@@ -5433,7 +5236,7 @@ function requireReactDomClient_production() {
|
|
|
5433
5236
|
break;
|
|
5434
5237
|
case 1:
|
|
5435
5238
|
if (0 !== (root & 1024) && null !== focusNode) {
|
|
5436
|
-
root =
|
|
5239
|
+
root = void 0;
|
|
5437
5240
|
JSCompiler_temp = firstChild;
|
|
5438
5241
|
anchorOffset = focusNode.memoizedProps;
|
|
5439
5242
|
focusNode = focusNode.memoizedState;
|
|
@@ -6829,7 +6632,7 @@ function requireReactDomClient_production() {
|
|
|
6829
6632
|
getCacheForType: function (resourceType) {
|
|
6830
6633
|
var cache = readContext(CacheContext),
|
|
6831
6634
|
cacheForType = cache.data.get(resourceType);
|
|
6832
|
-
|
|
6635
|
+
void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
|
|
6833
6636
|
return cacheForType;
|
|
6834
6637
|
}
|
|
6835
6638
|
},
|
|
@@ -7242,7 +7045,7 @@ function requireReactDomClient_production() {
|
|
|
7242
7045
|
switch (next.tag) {
|
|
7243
7046
|
case 15:
|
|
7244
7047
|
case 0:
|
|
7245
|
-
next = replayFunctionComponent(current, next, next.pendingProps, next.type,
|
|
7048
|
+
next = replayFunctionComponent(current, next, next.pendingProps, next.type, void 0, workInProgressRootRenderLanes);
|
|
7246
7049
|
break;
|
|
7247
7050
|
case 11:
|
|
7248
7051
|
next = replayFunctionComponent(current, next, next.pendingProps, next.type.render, next.ref, workInProgressRootRenderLanes);
|
|
@@ -7436,7 +7239,7 @@ function requireReactDomClient_production() {
|
|
|
7436
7239
|
pingCache = root.pingCache = new PossiblyWeakMap();
|
|
7437
7240
|
var threadIDs = new Set();
|
|
7438
7241
|
pingCache.set(wakeable, threadIDs);
|
|
7439
|
-
} else threadIDs = pingCache.get(wakeable),
|
|
7242
|
+
} else threadIDs = pingCache.get(wakeable), void 0 === threadIDs && (threadIDs = new Set(), pingCache.set(wakeable, threadIDs));
|
|
7440
7243
|
threadIDs.has(lanes) || (workInProgressRootDidAttachPingListener = true, threadIDs.add(lanes), root = pingSuspendedRoot.bind(null, root, wakeable, lanes), wakeable.then(root, root));
|
|
7441
7244
|
}
|
|
7442
7245
|
function pingSuspendedRoot(root, wakeable, pingedLanes) {
|
|
@@ -7675,7 +7478,7 @@ function requireReactDomClient_production() {
|
|
|
7675
7478
|
event = _dispatchQueue$i.event;
|
|
7676
7479
|
_dispatchQueue$i = _dispatchQueue$i.listeners;
|
|
7677
7480
|
a: {
|
|
7678
|
-
var previousInstance =
|
|
7481
|
+
var previousInstance = void 0;
|
|
7679
7482
|
if (eventSystemFlags) for (var i$jscomp$0 = _dispatchQueue$i.length - 1; 0 <= i$jscomp$0; i$jscomp$0--) {
|
|
7680
7483
|
var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],
|
|
7681
7484
|
instance = _dispatchListeners$i.instance,
|
|
@@ -7712,7 +7515,7 @@ function requireReactDomClient_production() {
|
|
|
7712
7515
|
}
|
|
7713
7516
|
function listenToNonDelegatedEvent(domEventName, targetElement) {
|
|
7714
7517
|
var JSCompiler_inline_result = targetElement[internalEventHandlersKey];
|
|
7715
|
-
|
|
7518
|
+
void 0 === JSCompiler_inline_result && (JSCompiler_inline_result = targetElement[internalEventHandlersKey] = new Set());
|
|
7716
7519
|
var listenerSetKey = domEventName + "__bubble";
|
|
7717
7520
|
JSCompiler_inline_result.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, false), JSCompiler_inline_result.add(listenerSetKey));
|
|
7718
7521
|
}
|
|
@@ -7744,12 +7547,12 @@ function requireReactDomClient_production() {
|
|
|
7744
7547
|
listenerWrapper = dispatchEvent;
|
|
7745
7548
|
}
|
|
7746
7549
|
eventSystemFlags = listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
|
|
7747
|
-
listenerWrapper =
|
|
7550
|
+
listenerWrapper = void 0;
|
|
7748
7551
|
!passiveBrowserEventsSupported || "touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName || (listenerWrapper = true);
|
|
7749
|
-
isCapturePhaseListener ?
|
|
7552
|
+
isCapturePhaseListener ? void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
|
|
7750
7553
|
capture: true,
|
|
7751
7554
|
passive: listenerWrapper
|
|
7752
|
-
}) : targetContainer.addEventListener(domEventName, eventSystemFlags, true) :
|
|
7555
|
+
}) : targetContainer.addEventListener(domEventName, eventSystemFlags, true) : void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
|
|
7753
7556
|
passive: listenerWrapper
|
|
7754
7557
|
}) : targetContainer.addEventListener(domEventName, eventSystemFlags, false);
|
|
7755
7558
|
}
|
|
@@ -8268,7 +8071,7 @@ function requireReactDomClient_production() {
|
|
|
8268
8071
|
break;
|
|
8269
8072
|
default:
|
|
8270
8073
|
if (!registrationNameDependencies.hasOwnProperty(key)) a: {
|
|
8271
|
-
if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 :
|
|
8074
|
+
if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 : void 0), prevValue = domElement[internalPropsKey] || null, prevValue = null != prevValue ? prevValue[key] : null, "function" === typeof prevValue && domElement.removeEventListener(tag, prevValue, props), "function" === typeof value)) {
|
|
8272
8075
|
"function" !== typeof prevValue && null !== prevValue && (key in domElement ? domElement[key] = null : domElement.hasAttribute(key) && domElement.removeAttribute(key));
|
|
8273
8076
|
domElement.addEventListener(tag, value, props);
|
|
8274
8077
|
break a;
|
|
@@ -8445,7 +8248,7 @@ function requireReactDomClient_production() {
|
|
|
8445
8248
|
return;
|
|
8446
8249
|
default:
|
|
8447
8250
|
if (isCustomElement(tag)) {
|
|
8448
|
-
for (propValue$186 in props) props.hasOwnProperty(propValue$186) && (hasSrc = props[propValue$186],
|
|
8251
|
+
for (propValue$186 in props) props.hasOwnProperty(propValue$186) && (hasSrc = props[propValue$186], void 0 !== hasSrc && setPropOnCustomElement(domElement, tag, propValue$186, hasSrc, props, void 0));
|
|
8449
8252
|
return;
|
|
8450
8253
|
}
|
|
8451
8254
|
}
|
|
@@ -8612,8 +8415,8 @@ function requireReactDomClient_production() {
|
|
|
8612
8415
|
return;
|
|
8613
8416
|
default:
|
|
8614
8417
|
if (isCustomElement(tag)) {
|
|
8615
|
-
for (var propKey$229 in lastProps) propKey$203 = lastProps[propKey$229], lastProps.hasOwnProperty(propKey$229) &&
|
|
8616
|
-
for (defaultChecked in nextProps) propKey$203 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || propKey$203 === propKey ||
|
|
8418
|
+
for (var propKey$229 in lastProps) propKey$203 = lastProps[propKey$229], lastProps.hasOwnProperty(propKey$229) && void 0 !== propKey$203 && !nextProps.hasOwnProperty(propKey$229) && setPropOnCustomElement(domElement, tag, propKey$229, void 0, nextProps, propKey$203);
|
|
8419
|
+
for (defaultChecked in nextProps) propKey$203 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || propKey$203 === propKey || void 0 === propKey$203 && void 0 === propKey || setPropOnCustomElement(domElement, tag, defaultChecked, propKey$203, nextProps, propKey);
|
|
8617
8420
|
return;
|
|
8618
8421
|
}
|
|
8619
8422
|
}
|
|
@@ -8660,9 +8463,9 @@ function requireReactDomClient_production() {
|
|
|
8660
8463
|
currentPopstateTransitionEvent = null;
|
|
8661
8464
|
return false;
|
|
8662
8465
|
}
|
|
8663
|
-
var scheduleTimeout = "function" === typeof setTimeout ? setTimeout :
|
|
8664
|
-
cancelTimeout = "function" === typeof clearTimeout ? clearTimeout :
|
|
8665
|
-
localPromise = "function" === typeof Promise ? Promise :
|
|
8466
|
+
var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0,
|
|
8467
|
+
cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0,
|
|
8468
|
+
localPromise = "function" === typeof Promise ? Promise : void 0,
|
|
8666
8469
|
scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function (callback) {
|
|
8667
8470
|
return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick);
|
|
8668
8471
|
} : scheduleTimeout;
|
|
@@ -8862,7 +8665,7 @@ function requireReactDomClient_production() {
|
|
|
8862
8665
|
}
|
|
8863
8666
|
preloadPropsMap.has(key) || (href = assign({
|
|
8864
8667
|
rel: "preload",
|
|
8865
|
-
href: "image" === as && options && options.imageSrcSet ?
|
|
8668
|
+
href: "image" === as && options && options.imageSrcSet ? void 0 : href,
|
|
8866
8669
|
as: as
|
|
8867
8670
|
}, options), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || "style" === as && ownerDocument.querySelector(getStylesheetSelectorFromKey(key)) || "script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key)) || (as = ownerDocument.createElement("link"), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as)));
|
|
8868
8671
|
}
|
|
@@ -9345,7 +9148,7 @@ function requireReactDomClient_production() {
|
|
|
9345
9148
|
container.payload = {
|
|
9346
9149
|
element: element
|
|
9347
9150
|
};
|
|
9348
|
-
callback =
|
|
9151
|
+
callback = void 0 === callback ? null : callback;
|
|
9349
9152
|
null !== callback && (container.callback = callback);
|
|
9350
9153
|
element = enqueueUpdate(rootFiber, container, lane);
|
|
9351
9154
|
null !== element && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));
|
|
@@ -9748,7 +9551,7 @@ function requireReactDomClient_production() {
|
|
|
9748
9551
|
if ("19.0.0" !== isomorphicReactPackageVersion$jscomp$inline_1686) throw Error(formatProdErrorMessage(527, isomorphicReactPackageVersion$jscomp$inline_1686, "19.0.0"));
|
|
9749
9552
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
9750
9553
|
var fiber = componentOrElement._reactInternals;
|
|
9751
|
-
if (
|
|
9554
|
+
if (void 0 === fiber) {
|
|
9752
9555
|
if ("function" === typeof componentOrElement.render) throw Error(formatProdErrorMessage(188));
|
|
9753
9556
|
componentOrElement = Object.keys(componentOrElement).join(",");
|
|
9754
9557
|
throw Error(formatProdErrorMessage(268, componentOrElement));
|
|
@@ -9780,7 +9583,7 @@ function requireReactDomClient_production() {
|
|
|
9780
9583
|
onCaughtError = defaultOnCaughtError,
|
|
9781
9584
|
onRecoverableError = defaultOnRecoverableError,
|
|
9782
9585
|
transitionCallbacks = null;
|
|
9783
|
-
null !== options &&
|
|
9586
|
+
null !== options && void 0 !== options && (true === options.unstable_strictMode && (isStrictMode = true), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks));
|
|
9784
9587
|
options = createFiberRoot(container, 1, false, null, null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, null);
|
|
9785
9588
|
container[internalContainerInstanceKey] = options.current;
|
|
9786
9589
|
listenToAllSupportedEvents(8 === container.nodeType ? container.parentNode : container);
|
|
@@ -9795,7 +9598,7 @@ function requireReactDomClient_production() {
|
|
|
9795
9598
|
onRecoverableError = defaultOnRecoverableError,
|
|
9796
9599
|
transitionCallbacks = null,
|
|
9797
9600
|
formState = null;
|
|
9798
|
-
null !== options &&
|
|
9601
|
+
null !== options && void 0 !== options && (true === options.unstable_strictMode && (isStrictMode = true), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks), void 0 !== options.formState && (formState = options.formState));
|
|
9799
9602
|
initialChildren = createFiberRoot(container, 1, true, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState);
|
|
9800
9603
|
initialChildren.context = getContextForSubtree(null);
|
|
9801
9604
|
options = initialChildren.current;
|
|
@@ -9843,5 +9646,5 @@ var clientExports = requireClient();
|
|
|
9843
9646
|
var __jsenv_default_import__ = /*@__PURE__*/getDefaultExportFromCjs(clientExports);
|
|
9844
9647
|
var createRoot = clientExports.createRoot;
|
|
9845
9648
|
var hydrateRoot = clientExports.hydrateRoot;
|
|
9846
|
-
var version
|
|
9847
|
-
export { createRoot, __jsenv_default_import__ as default, hydrateRoot, version
|
|
9649
|
+
var version = clientExports.version;
|
|
9650
|
+
export { createRoot, __jsenv_default_import__ as default, hydrateRoot, version };
|