react-dom 19.1.0-canary-7b402084-20250107 → 19.1.0-canary-74ea0c73-20250109
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/cjs/react-dom-client.development.js +983 -964
- package/cjs/react-dom-client.production.js +624 -607
- package/cjs/react-dom-profiling.development.js +991 -972
- package/cjs/react-dom-profiling.profiling.js +638 -619
- package/cjs/react-dom-server-legacy.browser.development.js +3 -4
- package/cjs/react-dom-server-legacy.browser.production.js +3 -4
- package/cjs/react-dom-server-legacy.node.development.js +3 -4
- package/cjs/react-dom-server-legacy.node.production.js +3 -4
- package/cjs/react-dom-server.browser.development.js +5 -6
- package/cjs/react-dom-server.browser.production.js +5 -6
- package/cjs/react-dom-server.bun.development.js +5 -6
- package/cjs/react-dom-server.bun.production.js +5 -6
- package/cjs/react-dom-server.edge.development.js +5 -6
- package/cjs/react-dom-server.edge.production.js +5 -6
- package/cjs/react-dom-server.node.development.js +5 -6
- package/cjs/react-dom-server.node.production.js +5 -6
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -40,274 +40,6 @@ function isValidContainer(node) {
|
|
40
40
|
(1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)
|
41
41
|
);
|
42
42
|
}
|
43
|
-
var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
|
44
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
45
|
-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
46
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
47
|
-
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
48
|
-
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
49
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
50
|
-
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
51
|
-
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
52
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
53
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
54
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
55
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
56
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
57
|
-
Symbol.for("react.scope");
|
58
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
59
|
-
Symbol.for("react.legacy_hidden");
|
60
|
-
Symbol.for("react.tracing_marker");
|
61
|
-
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
62
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
63
|
-
function getIteratorFn(maybeIterable) {
|
64
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
65
|
-
maybeIterable =
|
66
|
-
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
67
|
-
maybeIterable["@@iterator"];
|
68
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
69
|
-
}
|
70
|
-
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
71
|
-
function getComponentNameFromType(type) {
|
72
|
-
if (null == type) return null;
|
73
|
-
if ("function" === typeof type)
|
74
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
75
|
-
? null
|
76
|
-
: type.displayName || type.name || null;
|
77
|
-
if ("string" === typeof type) return type;
|
78
|
-
switch (type) {
|
79
|
-
case REACT_FRAGMENT_TYPE:
|
80
|
-
return "Fragment";
|
81
|
-
case REACT_PORTAL_TYPE:
|
82
|
-
return "Portal";
|
83
|
-
case REACT_PROFILER_TYPE:
|
84
|
-
return "Profiler";
|
85
|
-
case REACT_STRICT_MODE_TYPE:
|
86
|
-
return "StrictMode";
|
87
|
-
case REACT_SUSPENSE_TYPE:
|
88
|
-
return "Suspense";
|
89
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
90
|
-
return "SuspenseList";
|
91
|
-
}
|
92
|
-
if ("object" === typeof type)
|
93
|
-
switch (type.$$typeof) {
|
94
|
-
case REACT_CONTEXT_TYPE:
|
95
|
-
return (type.displayName || "Context") + ".Provider";
|
96
|
-
case REACT_CONSUMER_TYPE:
|
97
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
98
|
-
case REACT_FORWARD_REF_TYPE:
|
99
|
-
var innerType = type.render;
|
100
|
-
type = type.displayName;
|
101
|
-
type ||
|
102
|
-
((type = innerType.displayName || innerType.name || ""),
|
103
|
-
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
104
|
-
return type;
|
105
|
-
case REACT_MEMO_TYPE:
|
106
|
-
return (
|
107
|
-
(innerType = type.displayName || null),
|
108
|
-
null !== innerType
|
109
|
-
? innerType
|
110
|
-
: getComponentNameFromType(type.type) || "Memo"
|
111
|
-
);
|
112
|
-
case REACT_LAZY_TYPE:
|
113
|
-
innerType = type._payload;
|
114
|
-
type = type._init;
|
115
|
-
try {
|
116
|
-
return getComponentNameFromType(type(innerType));
|
117
|
-
} catch (x) {}
|
118
|
-
}
|
119
|
-
return null;
|
120
|
-
}
|
121
|
-
var ReactSharedInternals =
|
122
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
123
|
-
assign = Object.assign,
|
124
|
-
prefix,
|
125
|
-
suffix;
|
126
|
-
function describeBuiltInComponentFrame(name) {
|
127
|
-
if (void 0 === prefix)
|
128
|
-
try {
|
129
|
-
throw Error();
|
130
|
-
} catch (x) {
|
131
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
132
|
-
prefix = (match && match[1]) || "";
|
133
|
-
suffix =
|
134
|
-
-1 < x.stack.indexOf("\n at")
|
135
|
-
? " (<anonymous>)"
|
136
|
-
: -1 < x.stack.indexOf("@")
|
137
|
-
? "@unknown:0:0"
|
138
|
-
: "";
|
139
|
-
}
|
140
|
-
return "\n" + prefix + name + suffix;
|
141
|
-
}
|
142
|
-
var reentry = !1;
|
143
|
-
function describeNativeComponentFrame(fn, construct) {
|
144
|
-
if (!fn || reentry) return "";
|
145
|
-
reentry = !0;
|
146
|
-
var previousPrepareStackTrace = Error.prepareStackTrace;
|
147
|
-
Error.prepareStackTrace = void 0;
|
148
|
-
try {
|
149
|
-
var RunInRootFrame = {
|
150
|
-
DetermineComponentFrameRoot: function () {
|
151
|
-
try {
|
152
|
-
if (construct) {
|
153
|
-
var Fake = function () {
|
154
|
-
throw Error();
|
155
|
-
};
|
156
|
-
Object.defineProperty(Fake.prototype, "props", {
|
157
|
-
set: function () {
|
158
|
-
throw Error();
|
159
|
-
}
|
160
|
-
});
|
161
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
162
|
-
try {
|
163
|
-
Reflect.construct(Fake, []);
|
164
|
-
} catch (x) {
|
165
|
-
var control = x;
|
166
|
-
}
|
167
|
-
Reflect.construct(fn, [], Fake);
|
168
|
-
} else {
|
169
|
-
try {
|
170
|
-
Fake.call();
|
171
|
-
} catch (x$0) {
|
172
|
-
control = x$0;
|
173
|
-
}
|
174
|
-
fn.call(Fake.prototype);
|
175
|
-
}
|
176
|
-
} else {
|
177
|
-
try {
|
178
|
-
throw Error();
|
179
|
-
} catch (x$1) {
|
180
|
-
control = x$1;
|
181
|
-
}
|
182
|
-
(Fake = fn()) &&
|
183
|
-
"function" === typeof Fake.catch &&
|
184
|
-
Fake.catch(function () {});
|
185
|
-
}
|
186
|
-
} catch (sample) {
|
187
|
-
if (sample && control && "string" === typeof sample.stack)
|
188
|
-
return [sample.stack, control.stack];
|
189
|
-
}
|
190
|
-
return [null, null];
|
191
|
-
}
|
192
|
-
};
|
193
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
194
|
-
"DetermineComponentFrameRoot";
|
195
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
196
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
197
|
-
"name"
|
198
|
-
);
|
199
|
-
namePropDescriptor &&
|
200
|
-
namePropDescriptor.configurable &&
|
201
|
-
Object.defineProperty(
|
202
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
203
|
-
"name",
|
204
|
-
{ value: "DetermineComponentFrameRoot" }
|
205
|
-
);
|
206
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
207
|
-
sampleStack = _RunInRootFrame$Deter[0],
|
208
|
-
controlStack = _RunInRootFrame$Deter[1];
|
209
|
-
if (sampleStack && controlStack) {
|
210
|
-
var sampleLines = sampleStack.split("\n"),
|
211
|
-
controlLines = controlStack.split("\n");
|
212
|
-
for (
|
213
|
-
namePropDescriptor = RunInRootFrame = 0;
|
214
|
-
RunInRootFrame < sampleLines.length &&
|
215
|
-
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
216
|
-
|
217
|
-
)
|
218
|
-
RunInRootFrame++;
|
219
|
-
for (
|
220
|
-
;
|
221
|
-
namePropDescriptor < controlLines.length &&
|
222
|
-
!controlLines[namePropDescriptor].includes(
|
223
|
-
"DetermineComponentFrameRoot"
|
224
|
-
);
|
225
|
-
|
226
|
-
)
|
227
|
-
namePropDescriptor++;
|
228
|
-
if (
|
229
|
-
RunInRootFrame === sampleLines.length ||
|
230
|
-
namePropDescriptor === controlLines.length
|
231
|
-
)
|
232
|
-
for (
|
233
|
-
RunInRootFrame = sampleLines.length - 1,
|
234
|
-
namePropDescriptor = controlLines.length - 1;
|
235
|
-
1 <= RunInRootFrame &&
|
236
|
-
0 <= namePropDescriptor &&
|
237
|
-
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
238
|
-
|
239
|
-
)
|
240
|
-
namePropDescriptor--;
|
241
|
-
for (
|
242
|
-
;
|
243
|
-
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
244
|
-
RunInRootFrame--, namePropDescriptor--
|
245
|
-
)
|
246
|
-
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
247
|
-
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
248
|
-
do
|
249
|
-
if (
|
250
|
-
(RunInRootFrame--,
|
251
|
-
namePropDescriptor--,
|
252
|
-
0 > namePropDescriptor ||
|
253
|
-
sampleLines[RunInRootFrame] !==
|
254
|
-
controlLines[namePropDescriptor])
|
255
|
-
) {
|
256
|
-
var frame =
|
257
|
-
"\n" +
|
258
|
-
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
259
|
-
fn.displayName &&
|
260
|
-
frame.includes("<anonymous>") &&
|
261
|
-
(frame = frame.replace("<anonymous>", fn.displayName));
|
262
|
-
return frame;
|
263
|
-
}
|
264
|
-
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
265
|
-
}
|
266
|
-
break;
|
267
|
-
}
|
268
|
-
}
|
269
|
-
} finally {
|
270
|
-
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
271
|
-
}
|
272
|
-
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
273
|
-
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
274
|
-
: "";
|
275
|
-
}
|
276
|
-
function describeFiber(fiber) {
|
277
|
-
switch (fiber.tag) {
|
278
|
-
case 26:
|
279
|
-
case 27:
|
280
|
-
case 5:
|
281
|
-
return describeBuiltInComponentFrame(fiber.type);
|
282
|
-
case 16:
|
283
|
-
return describeBuiltInComponentFrame("Lazy");
|
284
|
-
case 13:
|
285
|
-
return describeBuiltInComponentFrame("Suspense");
|
286
|
-
case 19:
|
287
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
288
|
-
case 0:
|
289
|
-
case 15:
|
290
|
-
return describeNativeComponentFrame(fiber.type, !1);
|
291
|
-
case 11:
|
292
|
-
return describeNativeComponentFrame(fiber.type.render, !1);
|
293
|
-
case 1:
|
294
|
-
return describeNativeComponentFrame(fiber.type, !0);
|
295
|
-
default:
|
296
|
-
return "";
|
297
|
-
}
|
298
|
-
}
|
299
|
-
function getStackByFiberInDevAndProd(workInProgress) {
|
300
|
-
try {
|
301
|
-
var info = "";
|
302
|
-
do
|
303
|
-
(info += describeFiber(workInProgress)),
|
304
|
-
(workInProgress = workInProgress.return);
|
305
|
-
while (workInProgress);
|
306
|
-
return info;
|
307
|
-
} catch (x) {
|
308
|
-
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
309
|
-
}
|
310
|
-
}
|
311
43
|
function getNearestMountedFiber(fiber) {
|
312
44
|
var node = fiber,
|
313
45
|
nearestMounted = fiber;
|
@@ -365,36 +97,36 @@ function findCurrentFiberUsingSlowPath(fiber) {
|
|
365
97
|
}
|
366
98
|
if (a.return !== b.return) (a = parentA), (b = parentB);
|
367
99
|
else {
|
368
|
-
for (var didFindChild = !1, child$
|
369
|
-
if (child$
|
100
|
+
for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {
|
101
|
+
if (child$0 === a) {
|
370
102
|
didFindChild = !0;
|
371
103
|
a = parentA;
|
372
104
|
b = parentB;
|
373
105
|
break;
|
374
106
|
}
|
375
|
-
if (child$
|
107
|
+
if (child$0 === b) {
|
376
108
|
didFindChild = !0;
|
377
109
|
b = parentA;
|
378
110
|
a = parentB;
|
379
111
|
break;
|
380
112
|
}
|
381
|
-
child$
|
113
|
+
child$0 = child$0.sibling;
|
382
114
|
}
|
383
115
|
if (!didFindChild) {
|
384
|
-
for (child$
|
385
|
-
if (child$
|
116
|
+
for (child$0 = parentB.child; child$0; ) {
|
117
|
+
if (child$0 === a) {
|
386
118
|
didFindChild = !0;
|
387
119
|
a = parentB;
|
388
120
|
b = parentA;
|
389
121
|
break;
|
390
122
|
}
|
391
|
-
if (child$
|
123
|
+
if (child$0 === b) {
|
392
124
|
didFindChild = !0;
|
393
125
|
b = parentB;
|
394
126
|
a = parentA;
|
395
127
|
break;
|
396
128
|
}
|
397
|
-
child$
|
129
|
+
child$0 = child$0.sibling;
|
398
130
|
}
|
399
131
|
if (!didFindChild) throw Error(formatProdErrorMessage(189));
|
400
132
|
}
|
@@ -414,7 +146,89 @@ function findCurrentHostFiberImpl(node) {
|
|
414
146
|
}
|
415
147
|
return null;
|
416
148
|
}
|
149
|
+
var assign = Object.assign,
|
150
|
+
REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
|
151
|
+
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
152
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
153
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
154
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
155
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
156
|
+
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
157
|
+
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
158
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
159
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
160
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
161
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
162
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
163
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
164
|
+
Symbol.for("react.scope");
|
165
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
166
|
+
Symbol.for("react.legacy_hidden");
|
167
|
+
Symbol.for("react.tracing_marker");
|
168
|
+
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
|
169
|
+
Symbol.for("react.view_transition");
|
170
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
171
|
+
function getIteratorFn(maybeIterable) {
|
172
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
173
|
+
maybeIterable =
|
174
|
+
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
175
|
+
maybeIterable["@@iterator"];
|
176
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
177
|
+
}
|
178
|
+
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
179
|
+
function getComponentNameFromType(type) {
|
180
|
+
if (null == type) return null;
|
181
|
+
if ("function" === typeof type)
|
182
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
183
|
+
? null
|
184
|
+
: type.displayName || type.name || null;
|
185
|
+
if ("string" === typeof type) return type;
|
186
|
+
switch (type) {
|
187
|
+
case REACT_FRAGMENT_TYPE:
|
188
|
+
return "Fragment";
|
189
|
+
case REACT_PORTAL_TYPE:
|
190
|
+
return "Portal";
|
191
|
+
case REACT_PROFILER_TYPE:
|
192
|
+
return "Profiler";
|
193
|
+
case REACT_STRICT_MODE_TYPE:
|
194
|
+
return "StrictMode";
|
195
|
+
case REACT_SUSPENSE_TYPE:
|
196
|
+
return "Suspense";
|
197
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
198
|
+
return "SuspenseList";
|
199
|
+
}
|
200
|
+
if ("object" === typeof type)
|
201
|
+
switch (type.$$typeof) {
|
202
|
+
case REACT_CONTEXT_TYPE:
|
203
|
+
return (type.displayName || "Context") + ".Provider";
|
204
|
+
case REACT_CONSUMER_TYPE:
|
205
|
+
return (type._context.displayName || "Context") + ".Consumer";
|
206
|
+
case REACT_FORWARD_REF_TYPE:
|
207
|
+
var innerType = type.render;
|
208
|
+
type = type.displayName;
|
209
|
+
type ||
|
210
|
+
((type = innerType.displayName || innerType.name || ""),
|
211
|
+
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
212
|
+
return type;
|
213
|
+
case REACT_MEMO_TYPE:
|
214
|
+
return (
|
215
|
+
(innerType = type.displayName || null),
|
216
|
+
null !== innerType
|
217
|
+
? innerType
|
218
|
+
: getComponentNameFromType(type.type) || "Memo"
|
219
|
+
);
|
220
|
+
case REACT_LAZY_TYPE:
|
221
|
+
innerType = type._payload;
|
222
|
+
type = type._init;
|
223
|
+
try {
|
224
|
+
return getComponentNameFromType(type(innerType));
|
225
|
+
} catch (x) {}
|
226
|
+
}
|
227
|
+
return null;
|
228
|
+
}
|
417
229
|
var isArrayImpl = Array.isArray,
|
230
|
+
ReactSharedInternals =
|
231
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
418
232
|
ReactDOMSharedInternals =
|
419
233
|
ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
420
234
|
sharedNotPendingObject = {
|
@@ -766,18 +580,18 @@ function markRootFinished(
|
|
766
580
|
0 < remainingLanes;
|
767
581
|
|
768
582
|
) {
|
769
|
-
var index$
|
770
|
-
lane = 1 << index$
|
771
|
-
entanglements[index$
|
772
|
-
expirationTimes[index$
|
773
|
-
var hiddenUpdatesForLane = hiddenUpdates[index$
|
583
|
+
var index$5 = 31 - clz32(remainingLanes),
|
584
|
+
lane = 1 << index$5;
|
585
|
+
entanglements[index$5] = 0;
|
586
|
+
expirationTimes[index$5] = -1;
|
587
|
+
var hiddenUpdatesForLane = hiddenUpdates[index$5];
|
774
588
|
if (null !== hiddenUpdatesForLane)
|
775
589
|
for (
|
776
|
-
hiddenUpdates[index$
|
777
|
-
index$
|
778
|
-
index$
|
590
|
+
hiddenUpdates[index$5] = null, index$5 = 0;
|
591
|
+
index$5 < hiddenUpdatesForLane.length;
|
592
|
+
index$5++
|
779
593
|
) {
|
780
|
-
var update = hiddenUpdatesForLane[index$
|
594
|
+
var update = hiddenUpdatesForLane[index$5];
|
781
595
|
null !== update && (update.lane &= -536870913);
|
782
596
|
}
|
783
597
|
remainingLanes &= ~lane;
|
@@ -802,10 +616,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
|
802
616
|
function markRootEntangled(root, entangledLanes) {
|
803
617
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
804
618
|
for (root = root.entanglements; rootEntangledLanes; ) {
|
805
|
-
var index$
|
806
|
-
lane = 1 << index$
|
807
|
-
(lane & entangledLanes) | (root[index$
|
808
|
-
(root[index$
|
619
|
+
var index$6 = 31 - clz32(rootEntangledLanes),
|
620
|
+
lane = 1 << index$6;
|
621
|
+
(lane & entangledLanes) | (root[index$6] & entangledLanes) &&
|
622
|
+
(root[index$6] |= entangledLanes);
|
809
623
|
rootEntangledLanes &= ~lane;
|
810
624
|
}
|
811
625
|
}
|
@@ -852,9 +666,9 @@ function getBumpedLaneForHydrationByLane(lane) {
|
|
852
666
|
function addFiberToLanesMap(root, fiber, lanes) {
|
853
667
|
if (isDevToolsPresent)
|
854
668
|
for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
|
855
|
-
var index$
|
856
|
-
lane = 1 << index$
|
857
|
-
root[index$
|
669
|
+
var index$8 = 31 - clz32(lanes),
|
670
|
+
lane = 1 << index$8;
|
671
|
+
root[index$8].add(fiber);
|
858
672
|
lanes &= ~lane;
|
859
673
|
}
|
860
674
|
}
|
@@ -866,16 +680,16 @@ function movePendingFibersToMemoized(root, lanes) {
|
|
866
680
|
0 < lanes;
|
867
681
|
|
868
682
|
) {
|
869
|
-
var index$
|
870
|
-
root = 1 << index$
|
871
|
-
index$
|
872
|
-
0 < index$
|
873
|
-
(index$
|
683
|
+
var index$9 = 31 - clz32(lanes);
|
684
|
+
root = 1 << index$9;
|
685
|
+
index$9 = pendingUpdatersLaneMap[index$9];
|
686
|
+
0 < index$9.size &&
|
687
|
+
(index$9.forEach(function (fiber) {
|
874
688
|
var alternate = fiber.alternate;
|
875
689
|
(null !== alternate && memoizedUpdaters.has(alternate)) ||
|
876
690
|
memoizedUpdaters.add(fiber);
|
877
691
|
}),
|
878
|
-
index$
|
692
|
+
index$9.clear());
|
879
693
|
lanes &= ~root;
|
880
694
|
}
|
881
695
|
}
|
@@ -1020,8 +834,8 @@ function setValueForAttribute(node, name, value) {
|
|
1020
834
|
node.removeAttribute(name);
|
1021
835
|
return;
|
1022
836
|
case "boolean":
|
1023
|
-
var prefix$
|
1024
|
-
if ("data-" !== prefix$
|
837
|
+
var prefix$10 = name.toLowerCase().slice(0, 5);
|
838
|
+
if ("data-" !== prefix$10 && "aria-" !== prefix$10) {
|
1025
839
|
node.removeAttribute(name);
|
1026
840
|
return;
|
1027
841
|
}
|
@@ -1043,18 +857,204 @@ function setValueForKnownAttribute(node, name, value) {
|
|
1043
857
|
node.setAttribute(name, "" + value);
|
1044
858
|
}
|
1045
859
|
}
|
1046
|
-
function setValueForNamespacedAttribute(node, namespace, name, value) {
|
1047
|
-
if (null === value) node.removeAttribute(name);
|
1048
|
-
else {
|
1049
|
-
switch (typeof value) {
|
1050
|
-
case "undefined":
|
1051
|
-
case "function":
|
1052
|
-
case "symbol":
|
1053
|
-
case "boolean":
|
1054
|
-
node.removeAttribute(name);
|
1055
|
-
return;
|
1056
|
-
}
|
1057
|
-
node.setAttributeNS(namespace, name, "" + value);
|
860
|
+
function setValueForNamespacedAttribute(node, namespace, name, value) {
|
861
|
+
if (null === value) node.removeAttribute(name);
|
862
|
+
else {
|
863
|
+
switch (typeof value) {
|
864
|
+
case "undefined":
|
865
|
+
case "function":
|
866
|
+
case "symbol":
|
867
|
+
case "boolean":
|
868
|
+
node.removeAttribute(name);
|
869
|
+
return;
|
870
|
+
}
|
871
|
+
node.setAttributeNS(namespace, name, "" + value);
|
872
|
+
}
|
873
|
+
}
|
874
|
+
var prefix, suffix;
|
875
|
+
function describeBuiltInComponentFrame(name) {
|
876
|
+
if (void 0 === prefix)
|
877
|
+
try {
|
878
|
+
throw Error();
|
879
|
+
} catch (x) {
|
880
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
881
|
+
prefix = (match && match[1]) || "";
|
882
|
+
suffix =
|
883
|
+
-1 < x.stack.indexOf("\n at")
|
884
|
+
? " (<anonymous>)"
|
885
|
+
: -1 < x.stack.indexOf("@")
|
886
|
+
? "@unknown:0:0"
|
887
|
+
: "";
|
888
|
+
}
|
889
|
+
return "\n" + prefix + name + suffix;
|
890
|
+
}
|
891
|
+
var reentry = !1;
|
892
|
+
function describeNativeComponentFrame(fn, construct) {
|
893
|
+
if (!fn || reentry) return "";
|
894
|
+
reentry = !0;
|
895
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
896
|
+
Error.prepareStackTrace = void 0;
|
897
|
+
try {
|
898
|
+
var RunInRootFrame = {
|
899
|
+
DetermineComponentFrameRoot: function () {
|
900
|
+
try {
|
901
|
+
if (construct) {
|
902
|
+
var Fake = function () {
|
903
|
+
throw Error();
|
904
|
+
};
|
905
|
+
Object.defineProperty(Fake.prototype, "props", {
|
906
|
+
set: function () {
|
907
|
+
throw Error();
|
908
|
+
}
|
909
|
+
});
|
910
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
911
|
+
try {
|
912
|
+
Reflect.construct(Fake, []);
|
913
|
+
} catch (x) {
|
914
|
+
var control = x;
|
915
|
+
}
|
916
|
+
Reflect.construct(fn, [], Fake);
|
917
|
+
} else {
|
918
|
+
try {
|
919
|
+
Fake.call();
|
920
|
+
} catch (x$11) {
|
921
|
+
control = x$11;
|
922
|
+
}
|
923
|
+
fn.call(Fake.prototype);
|
924
|
+
}
|
925
|
+
} else {
|
926
|
+
try {
|
927
|
+
throw Error();
|
928
|
+
} catch (x$12) {
|
929
|
+
control = x$12;
|
930
|
+
}
|
931
|
+
(Fake = fn()) &&
|
932
|
+
"function" === typeof Fake.catch &&
|
933
|
+
Fake.catch(function () {});
|
934
|
+
}
|
935
|
+
} catch (sample) {
|
936
|
+
if (sample && control && "string" === typeof sample.stack)
|
937
|
+
return [sample.stack, control.stack];
|
938
|
+
}
|
939
|
+
return [null, null];
|
940
|
+
}
|
941
|
+
};
|
942
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
943
|
+
"DetermineComponentFrameRoot";
|
944
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
945
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
946
|
+
"name"
|
947
|
+
);
|
948
|
+
namePropDescriptor &&
|
949
|
+
namePropDescriptor.configurable &&
|
950
|
+
Object.defineProperty(
|
951
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
952
|
+
"name",
|
953
|
+
{ value: "DetermineComponentFrameRoot" }
|
954
|
+
);
|
955
|
+
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
956
|
+
sampleStack = _RunInRootFrame$Deter[0],
|
957
|
+
controlStack = _RunInRootFrame$Deter[1];
|
958
|
+
if (sampleStack && controlStack) {
|
959
|
+
var sampleLines = sampleStack.split("\n"),
|
960
|
+
controlLines = controlStack.split("\n");
|
961
|
+
for (
|
962
|
+
namePropDescriptor = RunInRootFrame = 0;
|
963
|
+
RunInRootFrame < sampleLines.length &&
|
964
|
+
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
965
|
+
|
966
|
+
)
|
967
|
+
RunInRootFrame++;
|
968
|
+
for (
|
969
|
+
;
|
970
|
+
namePropDescriptor < controlLines.length &&
|
971
|
+
!controlLines[namePropDescriptor].includes(
|
972
|
+
"DetermineComponentFrameRoot"
|
973
|
+
);
|
974
|
+
|
975
|
+
)
|
976
|
+
namePropDescriptor++;
|
977
|
+
if (
|
978
|
+
RunInRootFrame === sampleLines.length ||
|
979
|
+
namePropDescriptor === controlLines.length
|
980
|
+
)
|
981
|
+
for (
|
982
|
+
RunInRootFrame = sampleLines.length - 1,
|
983
|
+
namePropDescriptor = controlLines.length - 1;
|
984
|
+
1 <= RunInRootFrame &&
|
985
|
+
0 <= namePropDescriptor &&
|
986
|
+
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
987
|
+
|
988
|
+
)
|
989
|
+
namePropDescriptor--;
|
990
|
+
for (
|
991
|
+
;
|
992
|
+
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
993
|
+
RunInRootFrame--, namePropDescriptor--
|
994
|
+
)
|
995
|
+
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
996
|
+
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
997
|
+
do
|
998
|
+
if (
|
999
|
+
(RunInRootFrame--,
|
1000
|
+
namePropDescriptor--,
|
1001
|
+
0 > namePropDescriptor ||
|
1002
|
+
sampleLines[RunInRootFrame] !==
|
1003
|
+
controlLines[namePropDescriptor])
|
1004
|
+
) {
|
1005
|
+
var frame =
|
1006
|
+
"\n" +
|
1007
|
+
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
1008
|
+
fn.displayName &&
|
1009
|
+
frame.includes("<anonymous>") &&
|
1010
|
+
(frame = frame.replace("<anonymous>", fn.displayName));
|
1011
|
+
return frame;
|
1012
|
+
}
|
1013
|
+
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
1014
|
+
}
|
1015
|
+
break;
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
} finally {
|
1019
|
+
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
1020
|
+
}
|
1021
|
+
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
1022
|
+
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
1023
|
+
: "";
|
1024
|
+
}
|
1025
|
+
function describeFiber(fiber) {
|
1026
|
+
switch (fiber.tag) {
|
1027
|
+
case 26:
|
1028
|
+
case 27:
|
1029
|
+
case 5:
|
1030
|
+
return describeBuiltInComponentFrame(fiber.type);
|
1031
|
+
case 16:
|
1032
|
+
return describeBuiltInComponentFrame("Lazy");
|
1033
|
+
case 13:
|
1034
|
+
return describeBuiltInComponentFrame("Suspense");
|
1035
|
+
case 19:
|
1036
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
1037
|
+
case 0:
|
1038
|
+
case 15:
|
1039
|
+
return describeNativeComponentFrame(fiber.type, !1);
|
1040
|
+
case 11:
|
1041
|
+
return describeNativeComponentFrame(fiber.type.render, !1);
|
1042
|
+
case 1:
|
1043
|
+
return describeNativeComponentFrame(fiber.type, !0);
|
1044
|
+
default:
|
1045
|
+
return "";
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
function getStackByFiberInDevAndProd(workInProgress) {
|
1049
|
+
try {
|
1050
|
+
var info = "";
|
1051
|
+
do
|
1052
|
+
(info += describeFiber(workInProgress)),
|
1053
|
+
(workInProgress = workInProgress.return);
|
1054
|
+
while (workInProgress);
|
1055
|
+
return info;
|
1056
|
+
} catch (x) {
|
1057
|
+
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
1058
1058
|
}
|
1059
1059
|
}
|
1060
1060
|
function getToStringValue(value) {
|
@@ -2096,19 +2096,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2096
2096
|
}
|
2097
2097
|
var isInputEventSupported = !1;
|
2098
2098
|
if (canUseDOM) {
|
2099
|
-
var JSCompiler_inline_result$jscomp$
|
2099
|
+
var JSCompiler_inline_result$jscomp$295;
|
2100
2100
|
if (canUseDOM) {
|
2101
|
-
var isSupported$jscomp$
|
2102
|
-
if (!isSupported$jscomp$
|
2103
|
-
var element$jscomp$
|
2104
|
-
element$jscomp$
|
2105
|
-
isSupported$jscomp$
|
2106
|
-
"function" === typeof element$jscomp$
|
2101
|
+
var isSupported$jscomp$inline_427 = "oninput" in document;
|
2102
|
+
if (!isSupported$jscomp$inline_427) {
|
2103
|
+
var element$jscomp$inline_428 = document.createElement("div");
|
2104
|
+
element$jscomp$inline_428.setAttribute("oninput", "return;");
|
2105
|
+
isSupported$jscomp$inline_427 =
|
2106
|
+
"function" === typeof element$jscomp$inline_428.oninput;
|
2107
2107
|
}
|
2108
|
-
JSCompiler_inline_result$jscomp$
|
2109
|
-
} else JSCompiler_inline_result$jscomp$
|
2108
|
+
JSCompiler_inline_result$jscomp$295 = isSupported$jscomp$inline_427;
|
2109
|
+
} else JSCompiler_inline_result$jscomp$295 = !1;
|
2110
2110
|
isInputEventSupported =
|
2111
|
-
JSCompiler_inline_result$jscomp$
|
2111
|
+
JSCompiler_inline_result$jscomp$295 &&
|
2112
2112
|
(!document.documentMode || 9 < document.documentMode);
|
2113
2113
|
}
|
2114
2114
|
function stopWatchingForValueChange() {
|
@@ -3005,113 +3005,6 @@ function releaseCache(cache) {
|
|
3005
3005
|
cache.controller.abort();
|
3006
3006
|
});
|
3007
3007
|
}
|
3008
|
-
function applyDerivedStateFromProps(
|
3009
|
-
workInProgress,
|
3010
|
-
ctor,
|
3011
|
-
getDerivedStateFromProps,
|
3012
|
-
nextProps
|
3013
|
-
) {
|
3014
|
-
ctor = workInProgress.memoizedState;
|
3015
|
-
getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);
|
3016
|
-
getDerivedStateFromProps =
|
3017
|
-
null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps
|
3018
|
-
? ctor
|
3019
|
-
: assign({}, ctor, getDerivedStateFromProps);
|
3020
|
-
workInProgress.memoizedState = getDerivedStateFromProps;
|
3021
|
-
0 === workInProgress.lanes &&
|
3022
|
-
(workInProgress.updateQueue.baseState = getDerivedStateFromProps);
|
3023
|
-
}
|
3024
|
-
var classComponentUpdater = {
|
3025
|
-
isMounted: function (component) {
|
3026
|
-
return (component = component._reactInternals)
|
3027
|
-
? getNearestMountedFiber(component) === component
|
3028
|
-
: !1;
|
3029
|
-
},
|
3030
|
-
enqueueSetState: function (inst, payload, callback) {
|
3031
|
-
inst = inst._reactInternals;
|
3032
|
-
var lane = requestUpdateLane(),
|
3033
|
-
update = createUpdate(lane);
|
3034
|
-
update.payload = payload;
|
3035
|
-
void 0 !== callback && null !== callback && (update.callback = callback);
|
3036
|
-
payload = enqueueUpdate(inst, update, lane);
|
3037
|
-
null !== payload &&
|
3038
|
-
(scheduleUpdateOnFiber(payload, inst, lane),
|
3039
|
-
entangleTransitions(payload, inst, lane));
|
3040
|
-
markStateUpdateScheduled(inst, lane);
|
3041
|
-
},
|
3042
|
-
enqueueReplaceState: function (inst, payload, callback) {
|
3043
|
-
inst = inst._reactInternals;
|
3044
|
-
var lane = requestUpdateLane(),
|
3045
|
-
update = createUpdate(lane);
|
3046
|
-
update.tag = 1;
|
3047
|
-
update.payload = payload;
|
3048
|
-
void 0 !== callback && null !== callback && (update.callback = callback);
|
3049
|
-
payload = enqueueUpdate(inst, update, lane);
|
3050
|
-
null !== payload &&
|
3051
|
-
(scheduleUpdateOnFiber(payload, inst, lane),
|
3052
|
-
entangleTransitions(payload, inst, lane));
|
3053
|
-
markStateUpdateScheduled(inst, lane);
|
3054
|
-
},
|
3055
|
-
enqueueForceUpdate: function (inst, callback) {
|
3056
|
-
inst = inst._reactInternals;
|
3057
|
-
var lane = requestUpdateLane(),
|
3058
|
-
update = createUpdate(lane);
|
3059
|
-
update.tag = 2;
|
3060
|
-
void 0 !== callback && null !== callback && (update.callback = callback);
|
3061
|
-
callback = enqueueUpdate(inst, update, lane);
|
3062
|
-
null !== callback &&
|
3063
|
-
(scheduleUpdateOnFiber(callback, inst, lane),
|
3064
|
-
entangleTransitions(callback, inst, lane));
|
3065
|
-
null !== injectedProfilingHooks &&
|
3066
|
-
"function" === typeof injectedProfilingHooks.markForceUpdateScheduled &&
|
3067
|
-
injectedProfilingHooks.markForceUpdateScheduled(inst, lane);
|
3068
|
-
}
|
3069
|
-
};
|
3070
|
-
function checkShouldComponentUpdate(
|
3071
|
-
workInProgress,
|
3072
|
-
ctor,
|
3073
|
-
oldProps,
|
3074
|
-
newProps,
|
3075
|
-
oldState,
|
3076
|
-
newState,
|
3077
|
-
nextContext
|
3078
|
-
) {
|
3079
|
-
workInProgress = workInProgress.stateNode;
|
3080
|
-
return "function" === typeof workInProgress.shouldComponentUpdate
|
3081
|
-
? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)
|
3082
|
-
: ctor.prototype && ctor.prototype.isPureReactComponent
|
3083
|
-
? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)
|
3084
|
-
: !0;
|
3085
|
-
}
|
3086
|
-
function callComponentWillReceiveProps(
|
3087
|
-
workInProgress,
|
3088
|
-
instance,
|
3089
|
-
newProps,
|
3090
|
-
nextContext
|
3091
|
-
) {
|
3092
|
-
workInProgress = instance.state;
|
3093
|
-
"function" === typeof instance.componentWillReceiveProps &&
|
3094
|
-
instance.componentWillReceiveProps(newProps, nextContext);
|
3095
|
-
"function" === typeof instance.UNSAFE_componentWillReceiveProps &&
|
3096
|
-
instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
|
3097
|
-
instance.state !== workInProgress &&
|
3098
|
-
classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
|
3099
|
-
}
|
3100
|
-
function resolveClassComponentProps(Component, baseProps) {
|
3101
|
-
var newProps = baseProps;
|
3102
|
-
if ("ref" in baseProps) {
|
3103
|
-
newProps = {};
|
3104
|
-
for (var propName in baseProps)
|
3105
|
-
"ref" !== propName && (newProps[propName] = baseProps[propName]);
|
3106
|
-
}
|
3107
|
-
if ((Component = Component.defaultProps)) {
|
3108
|
-
newProps === baseProps && (newProps = assign({}, newProps));
|
3109
|
-
for (var propName$30 in Component)
|
3110
|
-
void 0 === newProps[propName$30] &&
|
3111
|
-
(newProps[propName$30] = Component[propName$30]);
|
3112
|
-
}
|
3113
|
-
return newProps;
|
3114
|
-
}
|
3115
3008
|
var CapturedStacks = new WeakMap();
|
3116
3009
|
function createCapturedValueAtFiber(value, source) {
|
3117
3010
|
if ("object" === typeof value && null !== value) {
|
@@ -3358,6 +3251,108 @@ function queueHydrationError(error) {
|
|
3358
3251
|
? (hydrationErrors = [error])
|
3359
3252
|
: hydrationErrors.push(error);
|
3360
3253
|
}
|
3254
|
+
function applyDerivedStateFromProps(
|
3255
|
+
workInProgress,
|
3256
|
+
ctor,
|
3257
|
+
getDerivedStateFromProps,
|
3258
|
+
nextProps
|
3259
|
+
) {
|
3260
|
+
ctor = workInProgress.memoizedState;
|
3261
|
+
getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);
|
3262
|
+
getDerivedStateFromProps =
|
3263
|
+
null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps
|
3264
|
+
? ctor
|
3265
|
+
: assign({}, ctor, getDerivedStateFromProps);
|
3266
|
+
workInProgress.memoizedState = getDerivedStateFromProps;
|
3267
|
+
0 === workInProgress.lanes &&
|
3268
|
+
(workInProgress.updateQueue.baseState = getDerivedStateFromProps);
|
3269
|
+
}
|
3270
|
+
var classComponentUpdater = {
|
3271
|
+
enqueueSetState: function (inst, payload, callback) {
|
3272
|
+
inst = inst._reactInternals;
|
3273
|
+
var lane = requestUpdateLane(),
|
3274
|
+
update = createUpdate(lane);
|
3275
|
+
update.payload = payload;
|
3276
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
3277
|
+
payload = enqueueUpdate(inst, update, lane);
|
3278
|
+
null !== payload &&
|
3279
|
+
(scheduleUpdateOnFiber(payload, inst, lane),
|
3280
|
+
entangleTransitions(payload, inst, lane));
|
3281
|
+
markStateUpdateScheduled(inst, lane);
|
3282
|
+
},
|
3283
|
+
enqueueReplaceState: function (inst, payload, callback) {
|
3284
|
+
inst = inst._reactInternals;
|
3285
|
+
var lane = requestUpdateLane(),
|
3286
|
+
update = createUpdate(lane);
|
3287
|
+
update.tag = 1;
|
3288
|
+
update.payload = payload;
|
3289
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
3290
|
+
payload = enqueueUpdate(inst, update, lane);
|
3291
|
+
null !== payload &&
|
3292
|
+
(scheduleUpdateOnFiber(payload, inst, lane),
|
3293
|
+
entangleTransitions(payload, inst, lane));
|
3294
|
+
markStateUpdateScheduled(inst, lane);
|
3295
|
+
},
|
3296
|
+
enqueueForceUpdate: function (inst, callback) {
|
3297
|
+
inst = inst._reactInternals;
|
3298
|
+
var lane = requestUpdateLane(),
|
3299
|
+
update = createUpdate(lane);
|
3300
|
+
update.tag = 2;
|
3301
|
+
void 0 !== callback && null !== callback && (update.callback = callback);
|
3302
|
+
callback = enqueueUpdate(inst, update, lane);
|
3303
|
+
null !== callback &&
|
3304
|
+
(scheduleUpdateOnFiber(callback, inst, lane),
|
3305
|
+
entangleTransitions(callback, inst, lane));
|
3306
|
+
null !== injectedProfilingHooks &&
|
3307
|
+
"function" === typeof injectedProfilingHooks.markForceUpdateScheduled &&
|
3308
|
+
injectedProfilingHooks.markForceUpdateScheduled(inst, lane);
|
3309
|
+
}
|
3310
|
+
};
|
3311
|
+
function checkShouldComponentUpdate(
|
3312
|
+
workInProgress,
|
3313
|
+
ctor,
|
3314
|
+
oldProps,
|
3315
|
+
newProps,
|
3316
|
+
oldState,
|
3317
|
+
newState,
|
3318
|
+
nextContext
|
3319
|
+
) {
|
3320
|
+
workInProgress = workInProgress.stateNode;
|
3321
|
+
return "function" === typeof workInProgress.shouldComponentUpdate
|
3322
|
+
? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)
|
3323
|
+
: ctor.prototype && ctor.prototype.isPureReactComponent
|
3324
|
+
? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)
|
3325
|
+
: !0;
|
3326
|
+
}
|
3327
|
+
function callComponentWillReceiveProps(
|
3328
|
+
workInProgress,
|
3329
|
+
instance,
|
3330
|
+
newProps,
|
3331
|
+
nextContext
|
3332
|
+
) {
|
3333
|
+
workInProgress = instance.state;
|
3334
|
+
"function" === typeof instance.componentWillReceiveProps &&
|
3335
|
+
instance.componentWillReceiveProps(newProps, nextContext);
|
3336
|
+
"function" === typeof instance.UNSAFE_componentWillReceiveProps &&
|
3337
|
+
instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
|
3338
|
+
instance.state !== workInProgress &&
|
3339
|
+
classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
|
3340
|
+
}
|
3341
|
+
function resolveClassComponentProps(Component, baseProps) {
|
3342
|
+
var newProps = baseProps;
|
3343
|
+
if ("ref" in baseProps) {
|
3344
|
+
newProps = {};
|
3345
|
+
for (var propName in baseProps)
|
3346
|
+
"ref" !== propName && (newProps[propName] = baseProps[propName]);
|
3347
|
+
}
|
3348
|
+
if ((Component = Component.defaultProps)) {
|
3349
|
+
newProps === baseProps && (newProps = assign({}, newProps));
|
3350
|
+
for (var propName$32 in Component)
|
3351
|
+
void 0 === newProps[propName$32] &&
|
3352
|
+
(newProps[propName$32] = Component[propName$32]);
|
3353
|
+
}
|
3354
|
+
return newProps;
|
3355
|
+
}
|
3361
3356
|
var SuspenseException = Error(formatProdErrorMessage(460)),
|
3362
3357
|
SuspenseyCommitException = Error(formatProdErrorMessage(474)),
|
3363
3358
|
SuspenseActionException = Error(formatProdErrorMessage(542)),
|
@@ -4970,16 +4965,16 @@ function createChildReconciler(shouldTrackSideEffects) {
|
|
4970
4965
|
return (
|
4971
4966
|
(newIndex = newIndex.index),
|
4972
4967
|
newIndex < lastPlacedIndex
|
4973
|
-
? ((newFiber.flags |=
|
4968
|
+
? ((newFiber.flags |= 67108866), lastPlacedIndex)
|
4974
4969
|
: newIndex
|
4975
4970
|
);
|
4976
|
-
newFiber.flags |=
|
4971
|
+
newFiber.flags |= 67108866;
|
4977
4972
|
return lastPlacedIndex;
|
4978
4973
|
}
|
4979
4974
|
function placeSingleChild(newFiber) {
|
4980
4975
|
shouldTrackSideEffects &&
|
4981
4976
|
null === newFiber.alternate &&
|
4982
|
-
(newFiber.flags |=
|
4977
|
+
(newFiber.flags |= 67108866);
|
4983
4978
|
return newFiber;
|
4984
4979
|
}
|
4985
4980
|
function updateTextNode(returnFiber, current, textContent, lanes) {
|
@@ -6764,7 +6759,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6764
6759
|
children: nextProps.children
|
6765
6760
|
})),
|
6766
6761
|
(nextProps.subtreeFlags =
|
6767
|
-
JSCompiler_temp$jscomp$0.subtreeFlags &
|
6762
|
+
JSCompiler_temp$jscomp$0.subtreeFlags & 65011712),
|
6768
6763
|
null !== digest
|
6769
6764
|
? (showFallback = createWorkInProgress(digest, showFallback))
|
6770
6765
|
: ((showFallback = createFiberFromFragment(
|
@@ -8995,6 +8990,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8995
8990
|
((finishedWork.updateQueue = null),
|
8996
8991
|
attachSuspenseRetryListeners(finishedWork, flags)));
|
8997
8992
|
break;
|
8993
|
+
case 30:
|
8998
8994
|
case 21:
|
8999
8995
|
break;
|
9000
8996
|
default:
|
@@ -9362,6 +9358,7 @@ function commitPassiveMountOnFiber(
|
|
9362
9358
|
break;
|
9363
9359
|
case 22:
|
9364
9360
|
prevEffectDuration = finishedWork.stateNode;
|
9361
|
+
id = finishedWork.alternate;
|
9365
9362
|
null !== finishedWork.memoizedState
|
9366
9363
|
? prevEffectDuration._visibility & 4
|
9367
9364
|
? recursivelyTraversePassiveMountEffects(
|
@@ -9386,11 +9383,7 @@ function commitPassiveMountOnFiber(
|
|
9386
9383
|
committedTransitions,
|
9387
9384
|
0 !== (finishedWork.subtreeFlags & 10256)
|
9388
9385
|
));
|
9389
|
-
flags & 2048 &&
|
9390
|
-
commitOffscreenPassiveMountEffects(
|
9391
|
-
finishedWork.alternate,
|
9392
|
-
finishedWork
|
9393
|
-
);
|
9386
|
+
flags & 2048 && commitOffscreenPassiveMountEffects(id, finishedWork);
|
9394
9387
|
break;
|
9395
9388
|
case 24:
|
9396
9389
|
recursivelyTraversePassiveMountEffects(
|
@@ -9771,7 +9764,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9771
9764
|
(workInProgress.deletions = null),
|
9772
9765
|
(workInProgress.actualDuration = -0),
|
9773
9766
|
(workInProgress.actualStartTime = -1.1));
|
9774
|
-
workInProgress.flags = current.flags &
|
9767
|
+
workInProgress.flags = current.flags & 65011712;
|
9775
9768
|
workInProgress.childLanes = current.childLanes;
|
9776
9769
|
workInProgress.lanes = current.lanes;
|
9777
9770
|
workInProgress.child = current.child;
|
@@ -9792,7 +9785,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9792
9785
|
return workInProgress;
|
9793
9786
|
}
|
9794
9787
|
function resetWorkInProgress(workInProgress, renderLanes) {
|
9795
|
-
workInProgress.flags &=
|
9788
|
+
workInProgress.flags &= 65011714;
|
9796
9789
|
var current = workInProgress.alternate;
|
9797
9790
|
null === current
|
9798
9791
|
? ((workInProgress.childLanes = 0),
|
@@ -10046,8 +10039,8 @@ function bubbleProperties(completedWork) {
|
|
10046
10039
|
|
10047
10040
|
)
|
10048
10041
|
(newChildLanes |= child$144.lanes | child$144.childLanes),
|
10049
|
-
(subtreeFlags |= child$144.subtreeFlags &
|
10050
|
-
(subtreeFlags |= child$144.flags &
|
10042
|
+
(subtreeFlags |= child$144.subtreeFlags & 65011712),
|
10043
|
+
(subtreeFlags |= child$144.flags & 65011712),
|
10051
10044
|
(treeBaseDuration$143 += child$144.treeBaseDuration),
|
10052
10045
|
(child$144 = child$144.sibling);
|
10053
10046
|
completedWork.treeBaseDuration = treeBaseDuration$143;
|
@@ -10059,8 +10052,8 @@ function bubbleProperties(completedWork) {
|
|
10059
10052
|
)
|
10060
10053
|
(newChildLanes |=
|
10061
10054
|
treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
|
10062
|
-
(subtreeFlags |= treeBaseDuration$143.subtreeFlags &
|
10063
|
-
(subtreeFlags |= treeBaseDuration$143.flags &
|
10055
|
+
(subtreeFlags |= treeBaseDuration$143.subtreeFlags & 65011712),
|
10056
|
+
(subtreeFlags |= treeBaseDuration$143.flags & 65011712),
|
10064
10057
|
(treeBaseDuration$143.return = completedWork),
|
10065
10058
|
(treeBaseDuration$143 = treeBaseDuration$143.sibling);
|
10066
10059
|
else if (0 !== (completedWork.mode & 2)) {
|
@@ -10539,6 +10532,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10539
10532
|
);
|
10540
10533
|
case 25:
|
10541
10534
|
return null;
|
10535
|
+
case 30:
|
10536
|
+
return null;
|
10542
10537
|
}
|
10543
10538
|
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
10544
10539
|
}
|
@@ -10674,6 +10669,7 @@ var DefaultAsyncDispatcher = {
|
|
10674
10669
|
workInProgressSuspendedRetryLanes = 0,
|
10675
10670
|
workInProgressRootConcurrentErrors = null,
|
10676
10671
|
workInProgressRootRecoverableErrors = null,
|
10672
|
+
workInProgressAppearingViewTransitions = null,
|
10677
10673
|
workInProgressRootDidIncludeRecursiveRenderUpdate = !1,
|
10678
10674
|
globalMostRecentFallbackTime = 0,
|
10679
10675
|
workInProgressRootRenderTargetTime = Infinity,
|
@@ -10865,6 +10861,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10865
10861
|
forceSync,
|
10866
10862
|
workInProgressRootRecoverableErrors,
|
10867
10863
|
workInProgressTransitions,
|
10864
|
+
workInProgressAppearingViewTransitions,
|
10868
10865
|
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
10869
10866
|
lanes,
|
10870
10867
|
workInProgressDeferredLane,
|
@@ -10885,6 +10882,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10885
10882
|
forceSync,
|
10886
10883
|
workInProgressRootRecoverableErrors,
|
10887
10884
|
workInProgressTransitions,
|
10885
|
+
workInProgressAppearingViewTransitions,
|
10888
10886
|
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
10889
10887
|
lanes,
|
10890
10888
|
workInProgressDeferredLane,
|
@@ -10907,6 +10905,7 @@ function commitRootWhenReady(
|
|
10907
10905
|
finishedWork,
|
10908
10906
|
recoverableErrors,
|
10909
10907
|
transitions,
|
10908
|
+
appearingViewTransitions,
|
10910
10909
|
didIncludeRenderPhaseUpdate,
|
10911
10910
|
lanes,
|
10912
10911
|
spawnedLane,
|
@@ -10921,12 +10920,13 @@ function commitRootWhenReady(
|
|
10921
10920
|
root.timeoutHandle = -1;
|
10922
10921
|
suspendedCommitReason = finishedWork.subtreeFlags;
|
10923
10922
|
if (
|
10924
|
-
suspendedCommitReason
|
10925
|
-
|
10923
|
+
(suspendedCommitReason =
|
10924
|
+
suspendedCommitReason & 8192 ||
|
10925
|
+
16785408 === (suspendedCommitReason & 16785408))
|
10926
10926
|
)
|
10927
10927
|
if (
|
10928
10928
|
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop$1 }),
|
10929
|
-
accumulateSuspenseyCommitOnFiber(finishedWork),
|
10929
|
+
suspendedCommitReason && accumulateSuspenseyCommitOnFiber(finishedWork),
|
10930
10930
|
(suspendedCommitReason = waitForCommitToBeReady()),
|
10931
10931
|
null !== suspendedCommitReason)
|
10932
10932
|
) {
|
@@ -10938,6 +10938,7 @@ function commitRootWhenReady(
|
|
10938
10938
|
lanes,
|
10939
10939
|
recoverableErrors,
|
10940
10940
|
transitions,
|
10941
|
+
appearingViewTransitions,
|
10941
10942
|
didIncludeRenderPhaseUpdate,
|
10942
10943
|
spawnedLane,
|
10943
10944
|
updatedLanes,
|
@@ -10957,6 +10958,7 @@ function commitRootWhenReady(
|
|
10957
10958
|
lanes,
|
10958
10959
|
recoverableErrors,
|
10959
10960
|
transitions,
|
10961
|
+
appearingViewTransitions,
|
10960
10962
|
didIncludeRenderPhaseUpdate,
|
10961
10963
|
spawnedLane,
|
10962
10964
|
updatedLanes,
|
@@ -11010,9 +11012,9 @@ function markRootSuspended(
|
|
11010
11012
|
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
|
11011
11013
|
didAttemptEntireTree = root.expirationTimes;
|
11012
11014
|
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
11013
|
-
var index$
|
11014
|
-
lane = 1 << index$
|
11015
|
-
didAttemptEntireTree[index$
|
11015
|
+
var index$4 = 31 - clz32(lanes),
|
11016
|
+
lane = 1 << index$4;
|
11017
|
+
didAttemptEntireTree[index$4] = -1;
|
11016
11018
|
lanes &= ~lane;
|
11017
11019
|
}
|
11018
11020
|
0 !== spawnedLane &&
|
@@ -11066,6 +11068,7 @@ function prepareFreshStack(root, lanes) {
|
|
11066
11068
|
workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors =
|
11067
11069
|
null;
|
11068
11070
|
workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
|
11071
|
+
workInProgressAppearingViewTransitions = null;
|
11069
11072
|
0 !== (lanes & 8) && (lanes |= lanes & 32);
|
11070
11073
|
var allEntangledLanes = root.entangledLanes;
|
11071
11074
|
if (0 !== allEntangledLanes)
|
@@ -11074,9 +11077,9 @@ function prepareFreshStack(root, lanes) {
|
|
11074
11077
|
0 < allEntangledLanes;
|
11075
11078
|
|
11076
11079
|
) {
|
11077
|
-
var index$
|
11078
|
-
lane = 1 << index$
|
11079
|
-
lanes |= root[index$
|
11080
|
+
var index$2 = 31 - clz32(allEntangledLanes),
|
11081
|
+
lane = 1 << index$2;
|
11082
|
+
lanes |= root[index$2];
|
11080
11083
|
allEntangledLanes &= ~lane;
|
11081
11084
|
}
|
11082
11085
|
entangledRenderLanes = lanes;
|
@@ -11547,6 +11550,7 @@ function commitRoot(
|
|
11547
11550
|
lanes,
|
11548
11551
|
recoverableErrors,
|
11549
11552
|
transitions,
|
11553
|
+
appearingViewTransitions,
|
11550
11554
|
didIncludeRenderPhaseUpdate,
|
11551
11555
|
spawnedLane,
|
11552
11556
|
updatedLanes,
|
@@ -11591,25 +11595,31 @@ function commitRoot(
|
|
11591
11595
|
}))
|
11592
11596
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
11593
11597
|
commitStartTime = now();
|
11594
|
-
|
11595
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
11596
|
-
|
11598
|
+
recoverableErrors = 0 !== (finishedWork.flags & 13878);
|
11599
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || recoverableErrors) {
|
11600
|
+
recoverableErrors = ReactSharedInternals.T;
|
11597
11601
|
ReactSharedInternals.T = null;
|
11598
|
-
|
11602
|
+
transitions = ReactDOMSharedInternals.p;
|
11599
11603
|
ReactDOMSharedInternals.p = 2;
|
11600
|
-
|
11604
|
+
spawnedLane = executionContext;
|
11601
11605
|
executionContext |= 4;
|
11602
11606
|
try {
|
11603
|
-
commitBeforeMutationEffects(
|
11607
|
+
commitBeforeMutationEffects(
|
11608
|
+
root,
|
11609
|
+
finishedWork,
|
11610
|
+
lanes,
|
11611
|
+
appearingViewTransitions
|
11612
|
+
);
|
11604
11613
|
} finally {
|
11605
|
-
(executionContext =
|
11606
|
-
(ReactDOMSharedInternals.p =
|
11607
|
-
(ReactSharedInternals.T =
|
11614
|
+
(executionContext = spawnedLane),
|
11615
|
+
(ReactDOMSharedInternals.p = transitions),
|
11616
|
+
(ReactSharedInternals.T = recoverableErrors);
|
11608
11617
|
}
|
11609
11618
|
}
|
11610
11619
|
pendingEffectsStatus = 1;
|
11611
11620
|
flushMutationEffects();
|
11612
11621
|
flushLayoutEffects();
|
11622
|
+
flushSpawnedWork();
|
11613
11623
|
}
|
11614
11624
|
}
|
11615
11625
|
function flushMutationEffects() {
|
@@ -11744,7 +11754,6 @@ function flushLayoutEffects() {
|
|
11744
11754
|
var root = pendingEffectsRoot,
|
11745
11755
|
finishedWork = pendingFinishedWork,
|
11746
11756
|
lanes = pendingEffectsLanes,
|
11747
|
-
recoverableErrors = pendingRecoverableErrors,
|
11748
11757
|
rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
11749
11758
|
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
11750
11759
|
rootHasLayoutEffect = ReactSharedInternals.T;
|
@@ -11772,22 +11781,31 @@ function flushLayoutEffects() {
|
|
11772
11781
|
(ReactSharedInternals.T = rootHasLayoutEffect);
|
11773
11782
|
}
|
11774
11783
|
}
|
11784
|
+
pendingEffectsStatus = 3;
|
11785
|
+
}
|
11786
|
+
}
|
11787
|
+
function flushSpawnedWork() {
|
11788
|
+
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
11789
|
+
pendingEffectsStatus = 0;
|
11775
11790
|
requestPaint();
|
11791
|
+
var root = pendingEffectsRoot,
|
11792
|
+
finishedWork = pendingFinishedWork,
|
11793
|
+
lanes = pendingEffectsLanes,
|
11794
|
+
recoverableErrors = pendingRecoverableErrors;
|
11776
11795
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11777
11796
|
0 !== (finishedWork.flags & 10256)
|
11778
|
-
? (pendingEffectsStatus =
|
11797
|
+
? (pendingEffectsStatus = 5)
|
11779
11798
|
: ((pendingEffectsStatus = 0),
|
11780
11799
|
(pendingEffectsRoot = null),
|
11781
11800
|
releaseRootPooledCache(root, root.pendingLanes));
|
11782
|
-
|
11783
|
-
0 ===
|
11784
|
-
|
11785
|
-
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
11801
|
+
var remainingLanes = root.pendingLanes;
|
11802
|
+
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
11803
|
+
remainingLanes = lanesToEventPriority(lanes);
|
11786
11804
|
finishedWork = finishedWork.stateNode;
|
11787
11805
|
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
11788
11806
|
try {
|
11789
11807
|
var didError = 128 === (finishedWork.current.flags & 128);
|
11790
|
-
switch (
|
11808
|
+
switch (remainingLanes) {
|
11791
11809
|
case 2:
|
11792
11810
|
var schedulerPriority = ImmediatePriority;
|
11793
11811
|
break;
|
@@ -11835,8 +11853,8 @@ function flushLayoutEffects() {
|
|
11835
11853
|
}
|
11836
11854
|
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
11837
11855
|
ensureRootIsScheduled(root);
|
11838
|
-
|
11839
|
-
0 !== (lanes & 4194218) && 0 !== (
|
11856
|
+
remainingLanes = root.pendingLanes;
|
11857
|
+
0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)
|
11840
11858
|
? ((nestedUpdateScheduled = !0),
|
11841
11859
|
root === rootWithNestedUpdates
|
11842
11860
|
? nestedUpdateCount++
|
@@ -11855,10 +11873,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11855
11873
|
function flushPendingEffects(wasDelayedCommit) {
|
11856
11874
|
flushMutationEffects();
|
11857
11875
|
flushLayoutEffects();
|
11876
|
+
flushSpawnedWork();
|
11858
11877
|
return flushPassiveEffects(wasDelayedCommit);
|
11859
11878
|
}
|
11860
11879
|
function flushPassiveEffects() {
|
11861
|
-
if (
|
11880
|
+
if (5 !== pendingEffectsStatus) return !1;
|
11862
11881
|
var root = pendingEffectsRoot,
|
11863
11882
|
remainingLanes = pendingEffectsRemainingLanes;
|
11864
11883
|
pendingEffectsRemainingLanes = 0;
|
@@ -12054,14 +12073,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12054
12073
|
isFlushingWork = !0;
|
12055
12074
|
do {
|
12056
12075
|
var didPerformSomeWork = !1;
|
12057
|
-
for (var root$
|
12076
|
+
for (var root$186 = firstScheduledRoot; null !== root$186; ) {
|
12058
12077
|
if (!onlyLegacy)
|
12059
12078
|
if (0 !== syncTransitionLanes) {
|
12060
|
-
var pendingLanes = root$
|
12079
|
+
var pendingLanes = root$186.pendingLanes;
|
12061
12080
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
12062
12081
|
else {
|
12063
|
-
var suspendedLanes = root$
|
12064
|
-
pingedLanes = root$
|
12082
|
+
var suspendedLanes = root$186.suspendedLanes,
|
12083
|
+
pingedLanes = root$186.pingedLanes;
|
12065
12084
|
JSCompiler_inline_result =
|
12066
12085
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
12067
12086
|
JSCompiler_inline_result &=
|
@@ -12075,20 +12094,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12075
12094
|
}
|
12076
12095
|
0 !== JSCompiler_inline_result &&
|
12077
12096
|
((didPerformSomeWork = !0),
|
12078
|
-
performSyncWorkOnRoot(root$
|
12097
|
+
performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
|
12079
12098
|
} else
|
12080
12099
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
12081
12100
|
(JSCompiler_inline_result = getNextLanes(
|
12082
|
-
root$
|
12083
|
-
root$
|
12084
|
-
null !== root$
|
12085
|
-
-1 !== root$
|
12101
|
+
root$186,
|
12102
|
+
root$186 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
12103
|
+
null !== root$186.cancelPendingCommit ||
|
12104
|
+
-1 !== root$186.timeoutHandle
|
12086
12105
|
)),
|
12087
12106
|
0 === (JSCompiler_inline_result & 3) ||
|
12088
|
-
checkIfRootIsPrerendering(root$
|
12107
|
+
checkIfRootIsPrerendering(root$186, JSCompiler_inline_result) ||
|
12089
12108
|
((didPerformSomeWork = !0),
|
12090
|
-
performSyncWorkOnRoot(root$
|
12091
|
-
root$
|
12109
|
+
performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
|
12110
|
+
root$186 = root$186.next;
|
12092
12111
|
}
|
12093
12112
|
} while (didPerformSomeWork);
|
12094
12113
|
isFlushingWork = !1;
|
@@ -12132,12 +12151,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
12132
12151
|
0 < lanes;
|
12133
12152
|
|
12134
12153
|
) {
|
12135
|
-
var index$
|
12136
|
-
lane = 1 << index$
|
12137
|
-
expirationTime = expirationTimes[index$
|
12154
|
+
var index$3 = 31 - clz32(lanes),
|
12155
|
+
lane = 1 << index$3,
|
12156
|
+
expirationTime = expirationTimes[index$3];
|
12138
12157
|
if (-1 === expirationTime) {
|
12139
12158
|
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
|
12140
|
-
expirationTimes[index$
|
12159
|
+
expirationTimes[index$3] = computeExpirationTime(lane, currentTime);
|
12141
12160
|
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
12142
12161
|
lanes &= ~lane;
|
12143
12162
|
}
|
@@ -12197,7 +12216,7 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
12197
12216
|
}
|
12198
12217
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
12199
12218
|
nestedUpdateScheduled = currentUpdateIsNested = !1;
|
12200
|
-
if (0 !== pendingEffectsStatus &&
|
12219
|
+
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
12201
12220
|
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
12202
12221
|
var originalCallbackNode = root.callbackNode;
|
12203
12222
|
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
@@ -12331,20 +12350,20 @@ function extractEvents$1(
|
|
12331
12350
|
}
|
12332
12351
|
}
|
12333
12352
|
for (
|
12334
|
-
var i$jscomp$
|
12335
|
-
i$jscomp$
|
12336
|
-
i$jscomp$
|
12353
|
+
var i$jscomp$inline_1568 = 0;
|
12354
|
+
i$jscomp$inline_1568 < simpleEventPluginEvents.length;
|
12355
|
+
i$jscomp$inline_1568++
|
12337
12356
|
) {
|
12338
|
-
var eventName$jscomp$
|
12339
|
-
simpleEventPluginEvents[i$jscomp$
|
12340
|
-
domEventName$jscomp$
|
12341
|
-
eventName$jscomp$
|
12342
|
-
capitalizedEvent$jscomp$
|
12343
|
-
eventName$jscomp$
|
12344
|
-
eventName$jscomp$
|
12357
|
+
var eventName$jscomp$inline_1569 =
|
12358
|
+
simpleEventPluginEvents[i$jscomp$inline_1568],
|
12359
|
+
domEventName$jscomp$inline_1570 =
|
12360
|
+
eventName$jscomp$inline_1569.toLowerCase(),
|
12361
|
+
capitalizedEvent$jscomp$inline_1571 =
|
12362
|
+
eventName$jscomp$inline_1569[0].toUpperCase() +
|
12363
|
+
eventName$jscomp$inline_1569.slice(1);
|
12345
12364
|
registerSimpleEvent(
|
12346
|
-
domEventName$jscomp$
|
12347
|
-
"on" + capitalizedEvent$jscomp$
|
12365
|
+
domEventName$jscomp$inline_1570,
|
12366
|
+
"on" + capitalizedEvent$jscomp$inline_1571
|
12348
12367
|
);
|
12349
12368
|
}
|
12350
12369
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -13527,34 +13546,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
13527
13546
|
defaultChecked = null;
|
13528
13547
|
for (hasSrc in props)
|
13529
13548
|
if (props.hasOwnProperty(hasSrc)) {
|
13530
|
-
var propValue$
|
13531
|
-
if (null != propValue$
|
13549
|
+
var propValue$200 = props[hasSrc];
|
13550
|
+
if (null != propValue$200)
|
13532
13551
|
switch (hasSrc) {
|
13533
13552
|
case "name":
|
13534
|
-
hasSrcSet = propValue$
|
13553
|
+
hasSrcSet = propValue$200;
|
13535
13554
|
break;
|
13536
13555
|
case "type":
|
13537
|
-
propValue = propValue$
|
13556
|
+
propValue = propValue$200;
|
13538
13557
|
break;
|
13539
13558
|
case "checked":
|
13540
|
-
checked = propValue$
|
13559
|
+
checked = propValue$200;
|
13541
13560
|
break;
|
13542
13561
|
case "defaultChecked":
|
13543
|
-
defaultChecked = propValue$
|
13562
|
+
defaultChecked = propValue$200;
|
13544
13563
|
break;
|
13545
13564
|
case "value":
|
13546
|
-
propKey = propValue$
|
13565
|
+
propKey = propValue$200;
|
13547
13566
|
break;
|
13548
13567
|
case "defaultValue":
|
13549
|
-
defaultValue = propValue$
|
13568
|
+
defaultValue = propValue$200;
|
13550
13569
|
break;
|
13551
13570
|
case "children":
|
13552
13571
|
case "dangerouslySetInnerHTML":
|
13553
|
-
if (null != propValue$
|
13572
|
+
if (null != propValue$200)
|
13554
13573
|
throw Error(formatProdErrorMessage(137, tag));
|
13555
13574
|
break;
|
13556
13575
|
default:
|
13557
|
-
setProp(domElement, tag, hasSrc, propValue$
|
13576
|
+
setProp(domElement, tag, hasSrc, propValue$200, props, null);
|
13558
13577
|
}
|
13559
13578
|
}
|
13560
13579
|
initInput(
|
@@ -13691,14 +13710,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13691
13710
|
return;
|
13692
13711
|
default:
|
13693
13712
|
if (isCustomElement(tag)) {
|
13694
|
-
for (propValue$
|
13695
|
-
props.hasOwnProperty(propValue$
|
13696
|
-
((hasSrc = props[propValue$
|
13713
|
+
for (propValue$200 in props)
|
13714
|
+
props.hasOwnProperty(propValue$200) &&
|
13715
|
+
((hasSrc = props[propValue$200]),
|
13697
13716
|
void 0 !== hasSrc &&
|
13698
13717
|
setPropOnCustomElement(
|
13699
13718
|
domElement,
|
13700
13719
|
tag,
|
13701
|
-
propValue$
|
13720
|
+
propValue$200,
|
13702
13721
|
hasSrc,
|
13703
13722
|
props,
|
13704
13723
|
void 0
|
@@ -13746,14 +13765,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13746
13765
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13747
13766
|
}
|
13748
13767
|
}
|
13749
|
-
for (var propKey$
|
13750
|
-
var propKey = nextProps[propKey$
|
13751
|
-
lastProp = lastProps[propKey$
|
13768
|
+
for (var propKey$217 in nextProps) {
|
13769
|
+
var propKey = nextProps[propKey$217];
|
13770
|
+
lastProp = lastProps[propKey$217];
|
13752
13771
|
if (
|
13753
|
-
nextProps.hasOwnProperty(propKey$
|
13772
|
+
nextProps.hasOwnProperty(propKey$217) &&
|
13754
13773
|
(null != propKey || null != lastProp)
|
13755
13774
|
)
|
13756
|
-
switch (propKey$
|
13775
|
+
switch (propKey$217) {
|
13757
13776
|
case "type":
|
13758
13777
|
type = propKey;
|
13759
13778
|
break;
|
@@ -13782,7 +13801,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13782
13801
|
setProp(
|
13783
13802
|
domElement,
|
13784
13803
|
tag,
|
13785
|
-
propKey$
|
13804
|
+
propKey$217,
|
13786
13805
|
propKey,
|
13787
13806
|
nextProps,
|
13788
13807
|
lastProp
|
@@ -13801,7 +13820,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13801
13820
|
);
|
13802
13821
|
return;
|
13803
13822
|
case "select":
|
13804
|
-
propKey = value = defaultValue = propKey$
|
13823
|
+
propKey = value = defaultValue = propKey$217 = null;
|
13805
13824
|
for (type in lastProps)
|
13806
13825
|
if (
|
13807
13826
|
((lastDefaultValue = lastProps[type]),
|
@@ -13832,7 +13851,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13832
13851
|
)
|
13833
13852
|
switch (name) {
|
13834
13853
|
case "value":
|
13835
|
-
propKey$
|
13854
|
+
propKey$217 = type;
|
13836
13855
|
break;
|
13837
13856
|
case "defaultValue":
|
13838
13857
|
defaultValue = type;
|
@@ -13853,15 +13872,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13853
13872
|
tag = defaultValue;
|
13854
13873
|
lastProps = value;
|
13855
13874
|
nextProps = propKey;
|
13856
|
-
null != propKey$
|
13857
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13875
|
+
null != propKey$217
|
13876
|
+
? updateOptions(domElement, !!lastProps, propKey$217, !1)
|
13858
13877
|
: !!nextProps !== !!lastProps &&
|
13859
13878
|
(null != tag
|
13860
13879
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13861
13880
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13862
13881
|
return;
|
13863
13882
|
case "textarea":
|
13864
|
-
propKey = propKey$
|
13883
|
+
propKey = propKey$217 = null;
|
13865
13884
|
for (defaultValue in lastProps)
|
13866
13885
|
if (
|
13867
13886
|
((name = lastProps[defaultValue]),
|
@@ -13885,7 +13904,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13885
13904
|
)
|
13886
13905
|
switch (value) {
|
13887
13906
|
case "value":
|
13888
|
-
propKey$
|
13907
|
+
propKey$217 = name;
|
13889
13908
|
break;
|
13890
13909
|
case "defaultValue":
|
13891
13910
|
propKey = name;
|
@@ -13899,17 +13918,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13899
13918
|
name !== type &&
|
13900
13919
|
setProp(domElement, tag, value, name, nextProps, type);
|
13901
13920
|
}
|
13902
|
-
updateTextarea(domElement, propKey$
|
13921
|
+
updateTextarea(domElement, propKey$217, propKey);
|
13903
13922
|
return;
|
13904
13923
|
case "option":
|
13905
|
-
for (var propKey$
|
13924
|
+
for (var propKey$233 in lastProps)
|
13906
13925
|
if (
|
13907
|
-
((propKey$
|
13908
|
-
lastProps.hasOwnProperty(propKey$
|
13909
|
-
null != propKey$
|
13910
|
-
!nextProps.hasOwnProperty(propKey$
|
13926
|
+
((propKey$217 = lastProps[propKey$233]),
|
13927
|
+
lastProps.hasOwnProperty(propKey$233) &&
|
13928
|
+
null != propKey$217 &&
|
13929
|
+
!nextProps.hasOwnProperty(propKey$233))
|
13911
13930
|
)
|
13912
|
-
switch (propKey$
|
13931
|
+
switch (propKey$233) {
|
13913
13932
|
case "selected":
|
13914
13933
|
domElement.selected = !1;
|
13915
13934
|
break;
|
@@ -13917,33 +13936,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13917
13936
|
setProp(
|
13918
13937
|
domElement,
|
13919
13938
|
tag,
|
13920
|
-
propKey$
|
13939
|
+
propKey$233,
|
13921
13940
|
null,
|
13922
13941
|
nextProps,
|
13923
|
-
propKey$
|
13942
|
+
propKey$217
|
13924
13943
|
);
|
13925
13944
|
}
|
13926
13945
|
for (lastDefaultValue in nextProps)
|
13927
13946
|
if (
|
13928
|
-
((propKey$
|
13947
|
+
((propKey$217 = nextProps[lastDefaultValue]),
|
13929
13948
|
(propKey = lastProps[lastDefaultValue]),
|
13930
13949
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13931
|
-
propKey$
|
13932
|
-
(null != propKey$
|
13950
|
+
propKey$217 !== propKey &&
|
13951
|
+
(null != propKey$217 || null != propKey))
|
13933
13952
|
)
|
13934
13953
|
switch (lastDefaultValue) {
|
13935
13954
|
case "selected":
|
13936
13955
|
domElement.selected =
|
13937
|
-
propKey$
|
13938
|
-
"function" !== typeof propKey$
|
13939
|
-
"symbol" !== typeof propKey$
|
13956
|
+
propKey$217 &&
|
13957
|
+
"function" !== typeof propKey$217 &&
|
13958
|
+
"symbol" !== typeof propKey$217;
|
13940
13959
|
break;
|
13941
13960
|
default:
|
13942
13961
|
setProp(
|
13943
13962
|
domElement,
|
13944
13963
|
tag,
|
13945
13964
|
lastDefaultValue,
|
13946
|
-
propKey$
|
13965
|
+
propKey$217,
|
13947
13966
|
nextProps,
|
13948
13967
|
propKey
|
13949
13968
|
);
|
@@ -13964,24 +13983,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13964
13983
|
case "track":
|
13965
13984
|
case "wbr":
|
13966
13985
|
case "menuitem":
|
13967
|
-
for (var propKey$
|
13968
|
-
(propKey$
|
13969
|
-
lastProps.hasOwnProperty(propKey$
|
13970
|
-
null != propKey$
|
13971
|
-
!nextProps.hasOwnProperty(propKey$
|
13972
|
-
setProp(domElement, tag, propKey$
|
13986
|
+
for (var propKey$238 in lastProps)
|
13987
|
+
(propKey$217 = lastProps[propKey$238]),
|
13988
|
+
lastProps.hasOwnProperty(propKey$238) &&
|
13989
|
+
null != propKey$217 &&
|
13990
|
+
!nextProps.hasOwnProperty(propKey$238) &&
|
13991
|
+
setProp(domElement, tag, propKey$238, null, nextProps, propKey$217);
|
13973
13992
|
for (checked in nextProps)
|
13974
13993
|
if (
|
13975
|
-
((propKey$
|
13994
|
+
((propKey$217 = nextProps[checked]),
|
13976
13995
|
(propKey = lastProps[checked]),
|
13977
13996
|
nextProps.hasOwnProperty(checked) &&
|
13978
|
-
propKey$
|
13979
|
-
(null != propKey$
|
13997
|
+
propKey$217 !== propKey &&
|
13998
|
+
(null != propKey$217 || null != propKey))
|
13980
13999
|
)
|
13981
14000
|
switch (checked) {
|
13982
14001
|
case "children":
|
13983
14002
|
case "dangerouslySetInnerHTML":
|
13984
|
-
if (null != propKey$
|
14003
|
+
if (null != propKey$217)
|
13985
14004
|
throw Error(formatProdErrorMessage(137, tag));
|
13986
14005
|
break;
|
13987
14006
|
default:
|
@@ -13989,7 +14008,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13989
14008
|
domElement,
|
13990
14009
|
tag,
|
13991
14010
|
checked,
|
13992
|
-
propKey$
|
14011
|
+
propKey$217,
|
13993
14012
|
nextProps,
|
13994
14013
|
propKey
|
13995
14014
|
);
|
@@ -13997,49 +14016,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13997
14016
|
return;
|
13998
14017
|
default:
|
13999
14018
|
if (isCustomElement(tag)) {
|
14000
|
-
for (var propKey$
|
14001
|
-
(propKey$
|
14002
|
-
lastProps.hasOwnProperty(propKey$
|
14003
|
-
void 0 !== propKey$
|
14004
|
-
!nextProps.hasOwnProperty(propKey$
|
14019
|
+
for (var propKey$243 in lastProps)
|
14020
|
+
(propKey$217 = lastProps[propKey$243]),
|
14021
|
+
lastProps.hasOwnProperty(propKey$243) &&
|
14022
|
+
void 0 !== propKey$217 &&
|
14023
|
+
!nextProps.hasOwnProperty(propKey$243) &&
|
14005
14024
|
setPropOnCustomElement(
|
14006
14025
|
domElement,
|
14007
14026
|
tag,
|
14008
|
-
propKey$
|
14027
|
+
propKey$243,
|
14009
14028
|
void 0,
|
14010
14029
|
nextProps,
|
14011
|
-
propKey$
|
14030
|
+
propKey$217
|
14012
14031
|
);
|
14013
14032
|
for (defaultChecked in nextProps)
|
14014
|
-
(propKey$
|
14033
|
+
(propKey$217 = nextProps[defaultChecked]),
|
14015
14034
|
(propKey = lastProps[defaultChecked]),
|
14016
14035
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
14017
|
-
propKey$
|
14018
|
-
(void 0 === propKey$
|
14036
|
+
propKey$217 === propKey ||
|
14037
|
+
(void 0 === propKey$217 && void 0 === propKey) ||
|
14019
14038
|
setPropOnCustomElement(
|
14020
14039
|
domElement,
|
14021
14040
|
tag,
|
14022
14041
|
defaultChecked,
|
14023
|
-
propKey$
|
14042
|
+
propKey$217,
|
14024
14043
|
nextProps,
|
14025
14044
|
propKey
|
14026
14045
|
);
|
14027
14046
|
return;
|
14028
14047
|
}
|
14029
14048
|
}
|
14030
|
-
for (var propKey$
|
14031
|
-
(propKey$
|
14032
|
-
lastProps.hasOwnProperty(propKey$
|
14033
|
-
null != propKey$
|
14034
|
-
!nextProps.hasOwnProperty(propKey$
|
14035
|
-
setProp(domElement, tag, propKey$
|
14049
|
+
for (var propKey$248 in lastProps)
|
14050
|
+
(propKey$217 = lastProps[propKey$248]),
|
14051
|
+
lastProps.hasOwnProperty(propKey$248) &&
|
14052
|
+
null != propKey$217 &&
|
14053
|
+
!nextProps.hasOwnProperty(propKey$248) &&
|
14054
|
+
setProp(domElement, tag, propKey$248, null, nextProps, propKey$217);
|
14036
14055
|
for (lastProp in nextProps)
|
14037
|
-
(propKey$
|
14056
|
+
(propKey$217 = nextProps[lastProp]),
|
14038
14057
|
(propKey = lastProps[lastProp]),
|
14039
14058
|
!nextProps.hasOwnProperty(lastProp) ||
|
14040
|
-
propKey$
|
14041
|
-
(null == propKey$
|
14042
|
-
setProp(domElement, tag, lastProp, propKey$
|
14059
|
+
propKey$217 === propKey ||
|
14060
|
+
(null == propKey$217 && null == propKey) ||
|
14061
|
+
setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey);
|
14043
14062
|
}
|
14044
14063
|
var eventsEnabled = null,
|
14045
14064
|
selectionInformation = null;
|
@@ -14605,26 +14624,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14605
14624
|
"string" === typeof pendingProps.precedence
|
14606
14625
|
) {
|
14607
14626
|
type = getStyleKey(pendingProps.href);
|
14608
|
-
var styles$
|
14627
|
+
var styles$256 = getResourcesFromRoot(
|
14609
14628
|
JSCompiler_inline_result
|
14610
14629
|
).hoistableStyles,
|
14611
|
-
resource$
|
14612
|
-
resource$
|
14630
|
+
resource$257 = styles$256.get(type);
|
14631
|
+
resource$257 ||
|
14613
14632
|
((JSCompiler_inline_result =
|
14614
14633
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
14615
|
-
(resource$
|
14634
|
+
(resource$257 = {
|
14616
14635
|
type: "stylesheet",
|
14617
14636
|
instance: null,
|
14618
14637
|
count: 0,
|
14619
14638
|
state: { loading: 0, preload: null }
|
14620
14639
|
}),
|
14621
|
-
styles$
|
14622
|
-
(styles$
|
14640
|
+
styles$256.set(type, resource$257),
|
14641
|
+
(styles$256 = JSCompiler_inline_result.querySelector(
|
14623
14642
|
getStylesheetSelectorFromKey(type)
|
14624
14643
|
)) &&
|
14625
|
-
!styles$
|
14626
|
-
((resource$
|
14627
|
-
(resource$
|
14644
|
+
!styles$256._p &&
|
14645
|
+
((resource$257.instance = styles$256),
|
14646
|
+
(resource$257.state.loading = 5)),
|
14628
14647
|
preloadPropsMap.has(type) ||
|
14629
14648
|
((pendingProps = {
|
14630
14649
|
rel: "preload",
|
@@ -14637,16 +14656,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14637
14656
|
referrerPolicy: pendingProps.referrerPolicy
|
14638
14657
|
}),
|
14639
14658
|
preloadPropsMap.set(type, pendingProps),
|
14640
|
-
styles$
|
14659
|
+
styles$256 ||
|
14641
14660
|
preloadStylesheet(
|
14642
14661
|
JSCompiler_inline_result,
|
14643
14662
|
type,
|
14644
14663
|
pendingProps,
|
14645
|
-
resource$
|
14664
|
+
resource$257.state
|
14646
14665
|
)));
|
14647
14666
|
if (currentProps && null === currentResource)
|
14648
14667
|
throw Error(formatProdErrorMessage(528, ""));
|
14649
|
-
return resource$
|
14668
|
+
return resource$257;
|
14650
14669
|
}
|
14651
14670
|
if (currentProps && null !== currentResource)
|
14652
14671
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14743,37 +14762,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14743
14762
|
return (resource.instance = instance);
|
14744
14763
|
case "stylesheet":
|
14745
14764
|
styleProps = getStyleKey(props.href);
|
14746
|
-
var instance$
|
14765
|
+
var instance$262 = hoistableRoot.querySelector(
|
14747
14766
|
getStylesheetSelectorFromKey(styleProps)
|
14748
14767
|
);
|
14749
|
-
if (instance$
|
14768
|
+
if (instance$262)
|
14750
14769
|
return (
|
14751
14770
|
(resource.state.loading |= 4),
|
14752
|
-
(resource.instance = instance$
|
14753
|
-
markNodeAsHoistable(instance$
|
14754
|
-
instance$
|
14771
|
+
(resource.instance = instance$262),
|
14772
|
+
markNodeAsHoistable(instance$262),
|
14773
|
+
instance$262
|
14755
14774
|
);
|
14756
14775
|
instance = stylesheetPropsFromRawProps(props);
|
14757
14776
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14758
14777
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14759
|
-
instance$
|
14778
|
+
instance$262 = (
|
14760
14779
|
hoistableRoot.ownerDocument || hoistableRoot
|
14761
14780
|
).createElement("link");
|
14762
|
-
markNodeAsHoistable(instance$
|
14763
|
-
var linkInstance = instance$
|
14781
|
+
markNodeAsHoistable(instance$262);
|
14782
|
+
var linkInstance = instance$262;
|
14764
14783
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14765
14784
|
linkInstance.onload = resolve;
|
14766
14785
|
linkInstance.onerror = reject;
|
14767
14786
|
});
|
14768
|
-
setInitialProperties(instance$
|
14787
|
+
setInitialProperties(instance$262, "link", instance);
|
14769
14788
|
resource.state.loading |= 4;
|
14770
|
-
insertStylesheet(instance$
|
14771
|
-
return (resource.instance = instance$
|
14789
|
+
insertStylesheet(instance$262, props.precedence, hoistableRoot);
|
14790
|
+
return (resource.instance = instance$262);
|
14772
14791
|
case "script":
|
14773
|
-
instance$
|
14792
|
+
instance$262 = getScriptKey(props.src);
|
14774
14793
|
if (
|
14775
14794
|
(styleProps = hoistableRoot.querySelector(
|
14776
|
-
getScriptSelectorFromKey(instance$
|
14795
|
+
getScriptSelectorFromKey(instance$262)
|
14777
14796
|
))
|
14778
14797
|
)
|
14779
14798
|
return (
|
@@ -14782,7 +14801,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14782
14801
|
styleProps
|
14783
14802
|
);
|
14784
14803
|
instance = props;
|
14785
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14804
|
+
if ((styleProps = preloadPropsMap.get(instance$262)))
|
14786
14805
|
(instance = assign({}, props)),
|
14787
14806
|
adoptPreloadPropsForScript(instance, styleProps);
|
14788
14807
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15820,16 +15839,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15820
15839
|
0 === i && attemptExplicitHydrationTarget(target);
|
15821
15840
|
}
|
15822
15841
|
};
|
15823
|
-
var isomorphicReactPackageVersion$jscomp$
|
15842
|
+
var isomorphicReactPackageVersion$jscomp$inline_1817 = React.version;
|
15824
15843
|
if (
|
15825
|
-
"19.1.0-canary-
|
15826
|
-
isomorphicReactPackageVersion$jscomp$
|
15844
|
+
"19.1.0-canary-74ea0c73-20250109" !==
|
15845
|
+
isomorphicReactPackageVersion$jscomp$inline_1817
|
15827
15846
|
)
|
15828
15847
|
throw Error(
|
15829
15848
|
formatProdErrorMessage(
|
15830
15849
|
527,
|
15831
|
-
isomorphicReactPackageVersion$jscomp$
|
15832
|
-
"19.1.0-canary-
|
15850
|
+
isomorphicReactPackageVersion$jscomp$inline_1817,
|
15851
|
+
"19.1.0-canary-74ea0c73-20250109"
|
15833
15852
|
)
|
15834
15853
|
);
|
15835
15854
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15849,17 +15868,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15849
15868
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15850
15869
|
return componentOrElement;
|
15851
15870
|
};
|
15852
|
-
var internals$jscomp$
|
15871
|
+
var internals$jscomp$inline_1824 = {
|
15853
15872
|
bundleType: 0,
|
15854
|
-
version: "19.1.0-canary-
|
15873
|
+
version: "19.1.0-canary-74ea0c73-20250109",
|
15855
15874
|
rendererPackageName: "react-dom",
|
15856
15875
|
currentDispatcherRef: ReactSharedInternals,
|
15857
|
-
reconcilerVersion: "19.1.0-canary-
|
15876
|
+
reconcilerVersion: "19.1.0-canary-74ea0c73-20250109",
|
15858
15877
|
getLaneLabelMap: function () {
|
15859
15878
|
for (
|
15860
|
-
var map = new Map(), lane = 1, index$
|
15861
|
-
31 > index$
|
15862
|
-
index$
|
15879
|
+
var map = new Map(), lane = 1, index$279 = 0;
|
15880
|
+
31 > index$279;
|
15881
|
+
index$279++
|
15863
15882
|
) {
|
15864
15883
|
var label = getLabelForLane(lane);
|
15865
15884
|
map.set(lane, label);
|
@@ -15872,16 +15891,16 @@ var internals$jscomp$inline_1808 = {
|
|
15872
15891
|
}
|
15873
15892
|
};
|
15874
15893
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15875
|
-
var hook$jscomp$
|
15894
|
+
var hook$jscomp$inline_2254 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15876
15895
|
if (
|
15877
|
-
!hook$jscomp$
|
15878
|
-
hook$jscomp$
|
15896
|
+
!hook$jscomp$inline_2254.isDisabled &&
|
15897
|
+
hook$jscomp$inline_2254.supportsFiber
|
15879
15898
|
)
|
15880
15899
|
try {
|
15881
|
-
(rendererID = hook$jscomp$
|
15882
|
-
internals$jscomp$
|
15900
|
+
(rendererID = hook$jscomp$inline_2254.inject(
|
15901
|
+
internals$jscomp$inline_1824
|
15883
15902
|
)),
|
15884
|
-
(injectedHook = hook$jscomp$
|
15903
|
+
(injectedHook = hook$jscomp$inline_2254);
|
15885
15904
|
} catch (err) {}
|
15886
15905
|
}
|
15887
15906
|
function noop() {}
|
@@ -16136,7 +16155,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16136
16155
|
exports.useFormStatus = function () {
|
16137
16156
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16138
16157
|
};
|
16139
|
-
exports.version = "19.1.0-canary-
|
16158
|
+
exports.version = "19.1.0-canary-74ea0c73-20250109";
|
16140
16159
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16141
16160
|
"function" ===
|
16142
16161
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|